(self.webpackChunklforms=self.webpackChunklforms||[]).push([[792],{2581(ne,le,R){"use strict";var F={};R.r(F),R.d(F,{decode:()=>Bv,encode:()=>Fz,format:()=>Uv,parse:()=>qv});var M={};R.r(M),R.d(M,{Any:()=>Yz,Cc:()=>jz,Cf:()=>mae,P:()=>Yv,S:()=>qz,Z:()=>$z});var Y={};R.r(Y),R.d(Y,{arrayReplaceAt:()=>Wz,assign:()=>J6,escapeHtml:()=>Nu,escapeRE:()=>Eae,fromCodePoint:()=>e8,has:()=>_ae,isMdAsciiPunct:()=>$h,isPunctChar:()=>jh,isSpace:()=>kr,isString:()=>jv,isValidEntityCode:()=>$v,isWhiteSpace:()=>Yh,lib:()=>Iae,normalizeReference:()=>t8,unescapeAll:()=>Td,unescapeMd:()=>Sae});var Q={};
/**
       * @license Angular v20.3.18
       * (c) 2010-2025 Google LLC. https://angular.dev/
       * License: MIT
       */
let $;function y(){return $}function g(e){const n=$;return $=e,n}R.r(Q),R.d(Q,{parseLinkDestination:()=>Aae,parseLinkLabel:()=>zae,parseLinkTitle:()=>Lae});const E=Symbol("NotFound");function D(e){return e===E||"\u0275NotFound"===e?.name}
/**
       * @license Angular v20.3.18
       * (c) 2010-2025 Google LLC. https://angular.dev/
       * License: MIT
       */Error;let z=null,O=!1,K=1;const q=Symbol("SIGNAL");function W(e){const n=z;return z=e,n}const be={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Oe(e){if(O)throw new Error("");if(null===z)return;z.consumerOnSignalRead(e);const n=z.producersTail;if(void 0!==n&&n.producer===e)return;let t;const i=z.recomputing;if(i&&(t=void 0!==n?n.nextProducer:z.producers,void 0!==t&&t.producer===e))return z.producersTail=t,void(t.lastReadVersion=e.version);const r=e.consumersTail;if(void 0!==r&&r.consumer===z&&(!i||function Ee(e,n){const t=n.producersTail;if(void 0!==t){let i=n.producers;do{if(i===e)return!0;if(i===t)break;i=i.nextProducer}while(void 0!==i)}return!1}(r,z)))return;const o=Pi(z),a={producer:e,consumer:z,nextProducer:t,prevConsumer:r,lastReadVersion:e.version,nextConsumer:void 0};z.producersTail=a,void 0!==n?n.nextProducer=a:z.producers=a,o&&vi(e,a)}function w(e){if((!Pi(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==K)){if(!e.producerMustRecompute(e)&&!vr(e))return void Rt(e);e.producerRecomputeValue(e),Rt(e)}}function qe(e){if(void 0===e.consumers)return;const n=O;O=!0;try{for(let t=e.consumers;void 0!==t;t=t.nextConsumer){const i=t.consumer;i.dirty||Tt(i)}}finally{O=n}}function Ue(){return!1!==z?.consumerAllowSignalWrites}function Tt(e){e.dirty=!0,qe(e),e.consumerMarkedDirty?.(e)}function Rt(e){e.dirty=!1,e.lastCleanEpoch=K}function vn(e){return e&&function yt(e){e.producersTail=void 0,e.recomputing=!0}(e),W(e)}function Vt(e,n){W(n),e&&function jn(e){e.recomputing=!1;const n=e.producersTail;let t=void 0!==n?n.nextProducer:e.producers;if(void 0!==t){if(Pi(e))do{t=Ln(t)}while(void 0!==t);void 0!==n?n.nextProducer=void 0:e.producers=void 0}}(e)}function vr(e){for(let n=e.producers;void 0!==n;n=n.nextProducer){const t=n.producer,i=n.lastReadVersion;if(i!==t.version||(w(t),i!==t.version))return!0}return!1}function Ei(e){if(Pi(e)){let n=e.producers;for(;void 0!==n;)n=Ln(n)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function vi(e,n){const t=e.consumersTail,i=Pi(e);if(void 0!==t?(n.nextConsumer=t.nextConsumer,t.nextConsumer=n):(n.nextConsumer=void 0,e.consumers=n),n.prevConsumer=t,e.consumersTail=n,!i)for(let r=e.producers;void 0!==r;r=r.nextProducer)vi(r.producer,r)}function Ln(e){const n=e.producer,t=e.nextProducer,i=e.nextConsumer,r=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,void 0!==i?i.prevConsumer=r:n.consumersTail=r,void 0!==r)r.nextConsumer=i;else if(n.consumers=i,!Pi(n)){let o=n.producers;for(;void 0!==o;)o=Ln(o)}return t}function Pi(e){return e.consumerIsAlwaysLive||void 0!==e.consumers}function Se(e,n){return Object.is(e,n)}function Ye(e,n){const t=Object.create(Fn);t.computation=e,void 0!==n&&(t.equal=n);const i=()=>{if(w(t),Oe(t),t.value===cn)throw t.error;return t.value};return i[q]=t,i}const Ct=Symbol("UNSET"),Qt=Symbol("COMPUTING"),cn=Symbol("ERRORED"),Fn={...be,value:Ct,dirty:!0,error:null,equal:Se,kind:"computed",producerMustRecompute:e=>e.value===Ct||e.value===Qt,producerRecomputeValue(e){if(e.value===Qt)throw new Error("");const n=e.value;e.value=Qt;const t=vn(e);let i,r=!1;try{i=e.computation(),W(null),r=n!==Ct&&n!==cn&&i!==cn&&e.equal(n,i)}catch(o){i=cn,e.error=o}finally{Vt(e,t)}r?e.value=n:(e.value=i,e.version++)}};let un=function It(){throw new Error};function Mt(e){un(e)}function ri(e,n){Ue()||Mt(e),e.equal(e.value,n)||(e.value=n,function zr(e){e.version++,function We(){K++}(),qe(e)}(e))}function Ii(e,n){Ue()||Mt(e),ri(e,n(e.value))}const Hr={...be,equal:Se,value:void 0,kind:"signal"};function zt(e){return"function"==typeof e}function ho(e){const t=e(i=>{Error.call(i),i.stack=(new Error).stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}const wt=ho(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((i,r)=>`${r+1}) ${i.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=t});function Rn(e,n){if(e){const t=e.indexOf(n);0<=t&&e.splice(t,1)}}class vt{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;const{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(const o of t)o.remove(this);else t.remove(this);const{initialTeardown:i}=this;if(zt(i))try{i()}catch(o){n=o instanceof wt?o.errors:[o]}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const o of r)try{Os(o)}catch(a){n=n??[],a instanceof wt?n=[...n,...a.errors]:n.push(a)}}if(n)throw new wt(n)}}add(n){var t;if(n&&n!==this)if(this.closed)Os(n);else{if(n instanceof vt){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=null!==(t=this._finalizers)&&void 0!==t?t:[]).push(n)}}_hasParent(n){const{_parentage:t}=this;return t===n||Array.isArray(t)&&t.includes(n)}_addParent(n){const{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(n),t):t?[t,n]:n}_removeParent(n){const{_parentage:t}=this;t===n?this._parentage=null:Array.isArray(t)&&Rn(t,n)}remove(n){const{_finalizers:t}=this;t&&Rn(t,n),n instanceof vt&&n._removeParent(this)}}vt.EMPTY=(()=>{const e=new vt;return e.closed=!0,e})();const Jo=vt.EMPTY;function Uo(e){return e instanceof vt||e&&"closed"in e&&zt(e.remove)&&zt(e.add)&&zt(e.unsubscribe)}function Os(e){zt(e)?e():e.unsubscribe()}const Ba={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},ns={setTimeout(e,n,...t){const{delegate:i}=ns;return i?.setTimeout?i.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){const{delegate:n}=ns;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function ea(e){ns.setTimeout(()=>{const{onUnhandledError:n}=Ba;if(!n)throw e;n(e)})}function zi(){}const Ma=Lt("C",void 0,void 0);function Lt(e,n,t){return{kind:e,value:n,error:t}}let Un=null;function di(e){if(Ba.useDeprecatedSynchronousErrorHandling){const n=!Un;if(n&&(Un={errorThrown:!1,error:null}),e(),n){const{errorThrown:t,error:i}=Un;if(Un=null,t)throw i}}else e()}class Jr extends vt{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,Uo(n)&&n.add(this)):this.destination=Ps}static create(n,t,i){return new br(n,t,i)}next(n){this.isStopped?Ua(function we(e){return Lt("N",e,void 0)}(n),this):this._next(n)}error(n){this.isStopped?Ua(function Ce(e){return Lt("E",void 0,e)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?Ua(Ma,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const ta=Function.prototype.bind;function dr(e,n){return ta.call(e,n)}class Zi{constructor(n){this.partialObserver=n}next(n){const{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(i){bo(i)}}error(n){const{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(i){bo(i)}else bo(n)}complete(){const{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){bo(t)}}}class br extends Jr{constructor(n,t,i){let r;if(super(),zt(n)||!n)r={next:n??void 0,error:t??void 0,complete:i??void 0};else{let o;this&&Ba.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe(),r={next:n.next&&dr(n.next,o),error:n.error&&dr(n.error,o),complete:n.complete&&dr(n.complete,o)}):r=n}this.destination=new Zi(r)}}function bo(e){Ba.useDeprecatedSynchronousErrorHandling?function rn(e){Ba.useDeprecatedSynchronousErrorHandling&&Un&&(Un.errorThrown=!0,Un.error=e)}(e):ea(e)}function Ua(e,n){const{onStoppedNotification:t}=Ba;t&&ns.setTimeout(()=>t(e,n))}const Ps={closed:!0,next:zi,error:function na(e){throw e},complete:zi},dt="function"==typeof Symbol&&Symbol.observable||"@@observable";function Vr(e){return e}function Cr(e){return 0===e.length?Vr:1===e.length?e[0]:function(t){return e.reduce((i,r)=>r(i),t)}}let On=(()=>{class e{constructor(t){t&&(this._subscribe=t)}lift(t){const i=new e;return i.source=this,i.operator=t,i}subscribe(t,i,r){const o=function wc(e){return e&&e instanceof Jr||function Ns(e){return e&&zt(e.next)&&zt(e.error)&&zt(e.complete)}(e)&&Uo(e)}(t)?t:new br(t,i,r);return di(()=>{const{operator:a,source:s}=this;o.add(a?a.call(o,s):s?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(t){try{return this._subscribe(t)}catch(i){t.error(i)}}forEach(t,i){return new(i=ei(i))((r,o)=>{const a=new br({next:s=>{try{t(s)}catch(l){o(l),a.unsubscribe()}},error:o,complete:r});this.subscribe(a)})}_subscribe(t){var i;return null===(i=this.source)||void 0===i?void 0:i.subscribe(t)}[dt](){return this}pipe(...t){return Cr(t)(this)}toPromise(t){return new(t=ei(t))((i,r)=>{let o;this.subscribe(a=>o=a,a=>r(a),()=>i(o))})}}return e.create=n=>new e(n),e})();function ei(e){var n;return null!==(n=e??Ba.Promise)&&void 0!==n?n:Promise}const Br=ho(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let Dt=(()=>{class e extends On{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const i=new Co(this,this);return i.operator=t,i}_throwIfClosed(){if(this.closed)throw new Br}next(t){di(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(t)}})}error(t){di(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;const{observers:i}=this;for(;i.length;)i.shift().error(t)}})}complete(){di(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return(null===(t=this.observers)||void 0===t?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){const{hasError:i,isStopped:r,observers:o}=this;return i||r?Jo:(this.currentObservers=null,o.push(t),new vt(()=>{this.currentObservers=null,Rn(o,t)}))}_checkFinalizedStatuses(t){const{hasError:i,thrownError:r,isStopped:o}=this;i?t.error(r):o&&t.complete()}asObservable(){const t=new On;return t.source=this,t}}return e.create=(n,t)=>new Co(n,t),e})();class Co extends Dt{constructor(n,t){super(),this.destination=n,this.source=t}next(n){var t,i;null===(i=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===i||i.call(t,n)}error(n){var t,i;null===(i=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===i||i.call(t,n)}complete(){var n,t;null===(t=null===(n=this.destination)||void 0===n?void 0:n.complete)||void 0===t||t.call(n)}_subscribe(n){var t,i;return null!==(i=null===(t=this.source)||void 0===t?void 0:t.subscribe(n))&&void 0!==i?i:Jo}}class on extends Dt{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){const t=super._subscribe(n);return!t.closed&&n.next(this._value),t}getValue(){const{hasError:n,thrownError:t,_value:i}=this;if(n)throw t;return this._throwIfClosed(),i}next(n){super.next(this._value=n)}}
/**
       * @license Angular v20.3.18
       * (c) 2010-2025 Google LLC. https://angular.dev/
       * License: MIT
       */const ms="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss";class ge extends Error{code;constructor(n,t){super(ti(n,t)),this.code=n}}function ti(e,n){return`${function Sc(e){return`NG0${Math.abs(e)}`}(e)}${n?": "+n:""}`}const bi=globalThis;function ni(e){for(let n in e)if(e[n]===ni)return n;throw Error("")}function g0(e,n){for(const t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function qo(e){if("string"==typeof e)return e;if(Array.isArray(e))return`[${e.map(qo).join(", ")}]`;if(null==e)return""+e;const n=e.overriddenName||e.name;if(n)return`${n}`;const t=e.toString();if(null==t)return""+t;const i=t.indexOf("\n");return i>=0?t.slice(0,i):t}function Mc(e,n){return e?n?`${e} ${n}`:e:n||""}const t2=ni({__forward_ref__:ni});function Hn(e){return e.__forward_ref__=Hn,e.toString=function(){return qo(this())},e}function yn(e){return il(e)?e():e}function il(e){return"function"==typeof e&&e.hasOwnProperty(t2)&&e.__forward_ref__===Hn}function Ke(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function $n(e){return{providers:e.providers||[],imports:e.imports||[]}}function ol(e){return function b0(e,n){return e.hasOwnProperty(n)&&e[n]||null}(e,au)}function xc(e){return e&&e.hasOwnProperty(Xu)?e[Xu]:null}const au=ni({\u0275prov:ni}),Xu=ni({\u0275inj:ni});class Ae{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(n,t){this._desc=n,this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=Ke({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function n1(e){return e&&!!e.\u0275providers}const i1=ni({\u0275cmp:ni}),c2=ni({\u0275dir:ni}),Bl=ni({\u0275pipe:ni}),Fi=ni({\u0275mod:ni}),ra=ni({\u0275fac:ni}),gs=ni({__NG_ELEMENT_ID__:ni}),M0=ni({__NG_ENV_ID__:ni});function hn(e){return"string"==typeof e?e:null==e?"":String(e)}const T=ni({ngErrorCode:ni}),H=ni({ngErrorMessage:ni}),V=ni({ngTokenPath:ni});function j(e,n){return Ze("",-200,n)}function De(e,n){throw new ge(-201,!1)}function Ze(e,n,t){const i=new ge(n,e);return i[T]=n,i[H]=e,t&&(i[V]=t),i}let Dn;function jr(){return Dn}function oi(e){const n=Dn;return Dn=e,n}function qa(e,n,t){const i=ol(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:8&t?null:void 0!==n?n:void De()}const oa={};class Sr{injector;constructor(n){this.injector=n}retrieve(n,t){const i=wo(t)||0;try{return this.injector.get(n,8&i?null:oa,i)}catch(r){if(D(r))return r;throw r}}}function is(e,n=0){const t=y();if(void 0===t)throw new ge(-203,!1);if(null===t)return qa(e,void 0,n);{const i=function Rs(e){return{optional:!!(8&e),host:!!(1&e),self:!!(2&e),skipSelf:!!(4&e)}}(n),r=t.retrieve(e,i);if(D(r)){if(i.optional)return null;throw r}return r}}function Ft(e,n=0){return(jr()||is)(yn(e),n)}function U(e,n){return Ft(e,wo(n))}function wo(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function rs(e){const n=[];for(let t=0;t<e.length;t++){const i=yn(e[t]);if(Array.isArray(i)){if(0===i.length)throw new ge(900,!1);let r,o=0;for(let a=0;a<i.length;a++){const s=i[a],l=r1(s);"number"==typeof l?-1===l?r=s.token:o|=l:r=s}n.push(Ft(r,o))}else n.push(Ft(i))}return n}function r1(e){return e.__NG_DI_FLAG__}function Mo(e,n){return e.hasOwnProperty(ra)?e[ra]:null}function _i(e,n){e.forEach(t=>Array.isArray(t)?_i(t,n):n(t))}function T0(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function ai(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function cu(e,n,t){let i=Ul(e,n);return i>=0?e[1|i]=t:(i=~i,function sl(e,n,t,i){let r=e.length;if(r==n)e.push(t,i);else if(1===r)e.push(i,e[0]),e[0]=t;else{for(r--,e.push(e[r-1],e[r]);r>n;)e[r]=e[r-2],r--;e[n]=t,e[n+1]=i}}(e,i,n,t)),i}function ll(e,n){const t=Ul(e,n);if(t>=0)return e[1|t]}function Ul(e,n){return function cl(e,n,t){let i=0,r=e.length>>t;for(;r!==i;){const o=i+(r-i>>1),a=e[o<<t];if(n===a)return o<<t;a>n?r=o:i=o+1}return~(r<<t)}(e,n,1)}const xa={},Vn=[],ka=new Ae(""),Vs=new Ae("",-1),ql=new Ae("");class Bs{get(n,t=oa){if(t===oa){const r=Ze("",-201);throw r.name="\u0275NotFound",r}return t}}function Ea(e){return e[Fi]||null}function Gn(e){return e[i1]||null}function po(e){return e[c2]||null}function Ya(e){return e[Bl]||null}function Yl(e){return{\u0275providers:e}}function fe(...e){return{\u0275providers:_e(0,e),\u0275fromNgModule:!0}}function _e(e,...n){const t=[],i=new Set;let r;const o=a=>{t.push(a)};return _i(n,a=>{const s=a;Le(s,o,[],i)&&(r||=[],r.push(s))}),void 0!==r&&Te(r,o),t}function Te(e,n){for(let t=0;t<e.length;t++){const{ngModule:i,providers:r}=e[t];pt(r,o=>{n(o,i)})}}function Le(e,n,t,i){if(!(e=yn(e)))return!1;let r=null,o=xc(e);const a=!o&&Gn(e);if(o||a){if(a&&!a.standalone)return!1;r=e}else{const l=e.ngModule;if(o=xc(l),!o)return!1;r=l}const s=i.has(r);if(a){if(s)return!1;if(i.add(r),a.dependencies){const l="function"==typeof a.dependencies?a.dependencies():a.dependencies;for(const c of l)Le(c,n,t,i)}}else{if(!o)return!1;{if(null!=o.imports&&!s){let c;i.add(r);try{_i(o.imports,h=>{Le(h,n,t,i)&&(c||=[],c.push(h))})}finally{}void 0!==c&&Te(c,n)}if(!s){const c=Mo(r)||(()=>new r);n({provide:r,useFactory:c,deps:Vn},r),n({provide:ql,useValue:r,multi:!0},r),n({provide:ka,useValue:()=>Ft(r),multi:!0},r)}const l=o.providers;if(null!=l&&!s){const c=e;pt(l,h=>{n(h,c)})}}}return r!==e&&void 0!==e.providers}function pt(e,n){for(let t of e)n1(t)&&(t=t.\u0275providers),Array.isArray(t)?pt(t,n):n(t)}const Ot=ni({provide:String,useValue:ni});function mt(e){return null!==e&&"object"==typeof e&&Ot in e}function qt(e){return"function"==typeof e}const Ut=new Ae(""),yi={},Po={};let to;function To(){return void 0===to&&(to=new Bs),to}class Ti{}class Ia extends Ti{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(n,t,i,r){super(),this.parent=t,this.source=i,this.scopes=r,u2(n,a=>this.processProvider(a)),this.records.set(Vs,du(void 0,this)),r.has("environment")&&this.records.set(Ti,du(void 0,this));const o=this.records.get(Ut);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(ql,Vn,{self:!0}))}retrieve(n,t){const i=wo(t)||0;try{return this.get(n,oa,i)}catch(r){if(D(r))return r;throw r}}destroy(){o1(this),this._destroyed=!0;const n=W(null);try{for(const i of this._ngOnDestroyHooks)i.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const i of t)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),W(n)}}onDestroy(n){return o1(this),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){o1(this);const t=g(this),i=oi(void 0);try{return n()}finally{g(t),oi(i)}}get(n,t=oa,i){if(o1(this),n.hasOwnProperty(M0))return n[M0](this);const r=wo(i),a=g(this),s=oi(void 0);try{if(!(4&r)){let c=this.records.get(n);if(void 0===c){const h=function dm(e){return"function"==typeof e||"object"==typeof e&&"InjectionToken"===e.ngMetadataName}(n)&&ol(n);c=h&&this.injectableDefInScope(h)?du(mo(n),yi):null,this.records.set(n,c)}if(null!=c)return this.hydrate(n,c,r)}return(2&r?To():this.parent).get(n,t=8&r&&t===oa?null:t)}catch(l){const c=function fn(e){return e[T]}(l);throw-200===c||-201===c?new ge(c,null):l}finally{oi(s),g(a)}}resolveInjectorInitializers(){const n=W(null),t=g(this),i=oi(void 0);try{const o=this.get(ka,Vn,{self:!0});for(const a of o)a()}finally{g(t),oi(i),W(n)}}toString(){const n=[],t=this.records;for(const i of t.keys())n.push(qo(i));return`R3Injector[${n.join(", ")}]`}processProvider(n){let t=qt(n=yn(n))?n:yn(n&&n.provide);const i=function lm(e){return mt(e)?du(void 0,e.useValue):du(r4(e),yi)}(n);if(!qt(n)&&!0===n.multi){let r=this.records.get(t);r||(r=du(void 0,yi,!0),r.factory=()=>rs(r.multi),this.records.set(t,r)),t=n,r.multi.push(n)}this.records.set(t,i)}hydrate(n,t,i){const r=W(null);try{if(t.value===Po)throw j(qo(n));return t.value===yi&&(t.value=Po,t.value=t.factory(void 0,i)),"object"==typeof t.value&&t.value&&function um(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{W(r)}}injectableDefInScope(n){if(!n.providedIn)return!1;const t=yn(n.providedIn);return"string"==typeof t?"any"===t||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(n){const t=this._onDestroyHooks.indexOf(n);-1!==t&&this._onDestroyHooks.splice(t,1)}}function mo(e){const n=ol(e),t=null!==n?n.factory:Mo(e);if(null!==t)return t;if(e instanceof Ae)throw new ge(204,!1);if(e instanceof Function)return function sm(e){if(e.length>0)throw new ge(204,!1);const t=function o2(e){return(e?.[au]??null)||null}(e);return null!==t?()=>t.factory(e):()=>new e}(e);throw new ge(204,!1)}function r4(e,n,t){let i;if(qt(e)){const r=yn(e);return Mo(r)||mo(r)}if(mt(e))i=()=>yn(e.useValue);else if(function Bt(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...rs(e.deps||[]));else if(function ln(e){return!(!e||!e.useExisting)}(e))i=(r,o)=>Ft(yn(e.useExisting),void 0!==o&&8&o?8:void 0);else{const r=yn(e&&(e.useClass||e.provide));if(!function cm(e){return!!e.deps}(e))return Mo(r)||mo(r);i=()=>new r(...rs(e.deps))}return i}function o1(e){if(e.destroyed)throw new ge(205,!1)}function du(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function u2(e,n){for(const t of e)Array.isArray(t)?u2(t,n):t&&n1(t)?u2(t.\u0275providers,n):n(t)}function ja(e,n){let t;e instanceof Ia?(o1(e),t=e):t=new Sr(e);const r=g(t),o=oi(void 0);try{return n()}finally{g(r),oi(o)}}function d2(){return void 0!==jr()||null!=y()}function Ar(e){return Array.isArray(e)&&"object"==typeof e[1]}function la(e){return Array.isArray(e)&&!0===e[1]}function a4(e){return!!(4&e.flags)}function fl(e){return e.componentOffset>-1}function pu(e){return!(1&~e.flags)}function Ga(e){return!!e.template}function qs(e){return!!(512&e[2])}function pl(e){return!(256&~e[2])}function xo(e){for(;Array.isArray(e);)e=e[0];return e}function Kn(e,n){return xo(n[e])}function Lr(e,n){return xo(n[e.index])}function Gl(e,n){return e.data[n]}function Pc(e,n){return e[n]}function ca(e,n){const t=n[e];return Ar(t)?t:t[0]}function _2(e){return!(128&~e[2])}function $o(e,n){return null==n?null:e[n]}function y2(e){e[17]=0}function b2(e){1024&e[2]||(e[2]|=1024,_2(e)&&Nc(e))}function mu(e){return!!(9216&e[2]||e[24]?.dirty)}function C2(e){e[10].changeDetectionScheduler?.notify(8),64&e[2]&&(e[2]|=1024),mu(e)&&Nc(e)}function Nc(e){e[10].changeDetectionScheduler?.notify(0);let n=vl(e);for(;null!==n&&!(8192&n[2])&&(n[2]|=8192,_2(n));)n=vl(n)}function gu(e,n){if(pl(e))throw new ge(911,!1);null===e[21]&&(e[21]=[]),e[21].push(n)}function vl(e){const n=e[3];return la(n)?n[3]:n}function Ys(e){return e[7]??=[]}function d4(e){return e.cleanup??=[]}const Cn={lFrame:tC(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let M2=!1;function h4(){Cn.lFrame.elementDepthCount--}function T2(){return Cn.bindingsEnabled}function f4(){return null!==Cn.skipHydrationRootTNode}function Kl(e){return Cn.skipHydrationRootTNode===e}function p4(){Cn.skipHydrationRootTNode=null}function Pe(){return Cn.lFrame.lView}function xn(){return Cn.lFrame.tView}function ce(e){return Cn.lFrame.contextLView=e,e[8]}function ue(e){return Cn.lFrame.contextLView=null,e}function Zt(){let e=Fc();for(;null!==e&&64===e.type;)e=e.parent;return e}function Fc(){return Cn.lFrame.currentTNode}function _l(e,n){const t=Cn.lFrame;t.currentTNode=e,t.isParent=n}function m4(){return Cn.lFrame.isParent}function g4(){Cn.lFrame.isParent=!1}function ii(){return M2}function d(e){const n=M2;return M2=e,n}function m(){const e=Cn.lFrame;let n=e.bindingRootIndex;return-1===n&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function x(){return Cn.lFrame.bindingIndex}function G(){return Cn.lFrame.bindingIndex++}function se(e){const n=Cn.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function Nn(e,n){const t=Cn.lFrame;t.bindingIndex=t.bindingRootIndex=e,No(n)}function No(e){Cn.lFrame.currentDirectiveIndex=e}function ys(e){const n=Cn.lFrame.currentDirectiveIndex;return-1===n?null:e[n]}function js(){return Cn.lFrame.currentQueryIndex}function y4(e){Cn.lFrame.currentQueryIndex=e}function lH(e){const n=e[1];return 2===n.type?n.declTNode:1===n.type?e[5]:null}function Jb(e,n,t){if(4&t){let r=n,o=e;for(;!(r=r.parent,null!==r||1&t||(r=lH(o),null===r||(o=o[14],10&r.type))););if(null===r)return!1;n=r,e=o}const i=Cn.lFrame=eC();return i.currentTNode=n,i.lView=e,!0}function wm(e){const n=eC(),t=e[1];Cn.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function eC(){const e=Cn.lFrame,n=null===e?null:e.child;return null===n?tC(e):n}function tC(e){const n={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=n),n}function nC(){const e=Cn.lFrame;return Cn.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const iC=nC;function Sm(){const e=nC();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function ua(){return Cn.lFrame.selectedIndex}function d1(e){Cn.lFrame.selectedIndex=e}function Ql(){const e=Cn.lFrame;return Gl(e.tView,e.selectedIndex)}let rC=!0;function b4(){return rC}function D2(e){rC=e}function oC(e,n=null,t=null,i){const r=aC(e,n,t,i);return r.resolveInjectorInitializers(),r}function aC(e,n=null,t=null,i,r=new Set){const o=[t||Vn,fe(e)];return i=i||("object"==typeof e?void 0:qo(e)),new Ia(o,n||To(),i||null,r)}class $r{static THROW_IF_NOT_FOUND=oa;static NULL=new Bs;static create(n,t){if(Array.isArray(n))return oC({name:""},t,n,"");{const i=n.name??"";return oC({name:i},n.parent,n.providers,i)}}static \u0275prov=Ke({token:$r,providedIn:"any",factory:()=>Ft(Vs)});static __NG_ELEMENT_ID__=-1}const Mr=new Ae("");let kn=(()=>class e{static __NG_ELEMENT_ID__=mH;static __NG_ENV_ID__=t=>t})();class sC extends kn{_lView;constructor(n){super(),this._lView=n}get destroyed(){return pl(this._lView)}onDestroy(n){const t=this._lView;return gu(t,n),()=>function w2(e,n){if(null===e[21])return;const t=e[21].indexOf(n);-1!==t&&e[21].splice(t,1)}(t,n)}}function mH(){return new sC(Pe())}class E0{_console=console;handleError(n){this._console.error("ERROR",n)}}const yl=new Ae("",{providedIn:"root",factory:()=>{const e=U(Ti);let n;return t=>{e.destroyed&&!n?setTimeout(()=>{throw t}):(n??=e.get(E0),n.handleError(t))}}}),gH={provide:ka,useValue:()=>{U(E0)},multi:!0};function C4(e){return"function"==typeof e&&void 0!==e[q]}function io(e,n){const[t,i,r]=function Ir(e,n){const t=Object.create(Hr);t.value=e,void 0!==n&&(t.equal=n);const i=()=>function yr(e){return Oe(e),e.value}(t);return i[q]=t,[i,a=>ri(t,a),a=>Ii(t,a)]}(e,n?.equal),o=t;return o.set=i,o.update=r,o.asReadonly=Mm.bind(o),o}function Mm(){const e=this[q];if(void 0===e.readonlyFn){const n=()=>this();n[q]=e,e.readonlyFn=n}return e.readonlyFn}function lC(e){return C4(e)&&"function"==typeof e.set}let Tm=(()=>class e{view;node;constructor(t,i){this.view=t,this.node=i}static __NG_ELEMENT_ID__=_H})();function _H(){return new Tm(Pe(),Zt())}class h1{}const cC=new Ae("",{providedIn:"root",factory:()=>!1}),uC=new Ae(""),dC=new Ae("");let _u=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new on(!1);get hasPendingTasks(){return!this.destroyed&&this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new On(t=>{t.next(!1),t.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);const t=this.taskId++;return this.pendingTasks.add(t),t}has(t){return this.pendingTasks.has(t)}remove(t){this.pendingTasks.delete(t),0===this.pendingTasks.size&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=Ke({token:e,providedIn:"root",factory:()=>new e})}return e})(),x2=(()=>{class e{internalPendingTasks=U(_u);scheduler=U(h1);errorHandler=U(yl);add(){const t=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(t)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(t))}}run(t){const i=this.add();t().catch(this.errorHandler).finally(i)}static \u0275prov=Ke({token:e,providedIn:"root",factory:()=>new e})}return e})();function k2(...e){}let hC=(()=>{class e{static \u0275prov=Ke({token:e,providedIn:"root",factory:()=>new yH})}return e})();class yH{dirtyEffectCount=0;queues=new Map;add(n){this.enqueue(n),this.schedule(n)}schedule(n){n.dirty&&this.dirtyEffectCount++}remove(n){const i=this.queues.get(n.zone);i.has(n)&&(i.delete(n),n.dirty&&this.dirtyEffectCount--)}enqueue(n){const t=n.zone;this.queues.has(t)||this.queues.set(t,new Set);const i=this.queues.get(t);i.has(n)||i.add(n)}flush(){for(;this.dirtyEffectCount>0;){let n=!1;for(const[t,i]of this.queues)n||=null===t?this.flushQueue(i):t.run(()=>this.flushQueue(i));n||(this.dirtyEffectCount=0)}}flushQueue(n){let t=!1;for(const i of n)i.dirty&&(this.dirtyEffectCount--,t=!0,i.run());return t}}
/**
       * @license Angular v20.3.18
       * (c) 2010-2025 Google LLC. https://angular.dev/
       * License: MIT
       */let fC=null;function yu(){return fC}class CH{}let pC=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(i){return new(i||e)};static \u0275prov=Ke({token:e,factory:()=>U(wH),providedIn:"platform"})}return e})(),wH=(()=>{class e extends pC{_location;_history;_doc=U(Mr);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return yu().getBaseHref(this._doc)}onPopState(t){const i=yu().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",t,!1),()=>i.removeEventListener("popstate",t)}onHashChange(t){const i=yu().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",t,!1),()=>i.removeEventListener("hashchange",t)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(t){this._location.pathname=t}pushState(t,i,r){this._history.pushState(t,i,r)}replaceState(t,i,r){this._history.replaceState(t,i,r)}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}static \u0275fac=function(i){return new(i||e)};static \u0275prov=Ke({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function mC(e,n){return e?n?e.endsWith("/")?n.startsWith("/")?e+n.slice(1):e+n:n.startsWith("/")?e+n:`${e}/${n}`:e:n}function gC(e){const n=e.search(/#|\?|$/);return"/"===e[n-1]?e.slice(0,n-1)+e.slice(n):e}function f1(e){return e&&"?"!==e[0]?`?${e}`:e}let w4=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(i){return new(i||e)};static \u0275prov=Ke({token:e,factory:()=>U(MH),providedIn:"root"})}return e})();const SH=new Ae("");let MH=(()=>{class e extends w4{_platformLocation;_baseHref;_removeListenerFns=[];constructor(t,i){super(),this._platformLocation=t,this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??U(Mr).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return mC(this._baseHref,t)}path(t=!1){const i=this._platformLocation.pathname+f1(this._platformLocation.search),r=this._platformLocation.hash;return r&&t?`${i}${r}`:i}pushState(t,i,r,o){const a=this.prepareExternalUrl(r+f1(o));this._platformLocation.pushState(t,i,a)}replaceState(t,i,r,o){const a=this.prepareExternalUrl(r+f1(o));this._platformLocation.replaceState(t,i,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static \u0275fac=function(i){return new(i||e)(Ft(pC),Ft(SH,8))};static \u0275prov=Ke({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),I0=(()=>{class e{_subject=new Dt;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(t){this._locationStrategy=t;const i=this._locationStrategy.getBaseHref();this._basePath=function xH(e){if(new RegExp("^(https?:)?//").test(e)){const[,t]=e.split(/\/\/[^\/]+/);return t}return e}
/**
       * @license Angular v20.3.18
       * (c) 2010-2025 Google LLC. https://angular.dev/
       * License: MIT
       */(gC(vC(i))),this._locationStrategy.onPopState(r=>{this._subject.next({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,i=""){return this.path()==this.normalize(t+f1(i))}normalize(t){return e.stripTrailingSlash(function DH(e,n){if(!e||!n.startsWith(e))return n;const t=n.substring(e.length);return""===t||["/",";","?","#"].includes(t[0])?t:n}(this._basePath,vC(t)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,i="",r=null){this._locationStrategy.pushState(r,"",t,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+f1(i)),r)}replaceState(t,i="",r=null){this._locationStrategy.replaceState(r,"",t,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+f1(i)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(t=0){this._locationStrategy.historyGo?.(t)}onUrlChange(t){return this._urlChangeListeners.push(t),this._urlChangeSubscription??=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)}),()=>{const i=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(i,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(t="",i){this._urlChangeListeners.forEach(r=>r(t,i))}subscribe(t,i,r){return this._subject.subscribe({next:t,error:i??void 0,complete:r??void 0})}static normalizeQueryParams=f1;static joinWithSlash=mC;static stripTrailingSlash=gC;static \u0275fac=function(i){return new(i||e)(Ft(w4))};static \u0275prov=Ke({token:e,factory:()=>function TH(){return new I0(Ft(w4))}(),providedIn:"root"})}return e})();function vC(e){return e.replace(/\/index.html$/,"")}function _C(e,n){n=encodeURIComponent(n);for(const t of e.split(";")){const i=t.indexOf("="),[r,o]=-1==i?[t,""]:[t.slice(0,i),t.slice(i+1)];if(r.trim()===n)return decodeURIComponent(o)}return null}class yC{}function CC(e){return zt(e?.lift)}function qr(e){return n=>{if(CC(n))return n.lift(function(t){try{return e(t,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function hr(e,n,t,i,r){return new kH(e,n,t,i,r)}class kH extends Jr{constructor(n,t,i,r,o,a){super(n),this.onFinalize=o,this.shouldUnsubscribe=a,this._next=t?function(s){try{t(s)}catch(l){n.error(l)}}:super._next,this._error=r?function(s){try{r(s)}catch(l){n.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(s){n.error(s)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:t}=this;super.unsubscribe(),!t&&(null===(n=this.onFinalize)||void 0===n||n.call(this))}}}function Wt(e,n){return qr((t,i)=>{let r=0;t.subscribe(hr(i,o=>{i.next(e.call(n,o,r++))}))})}
/**
       * @license Angular v20.3.18
       * (c) 2010-2025 Google LLC. https://angular.dev/
       * License: MIT
       */
function Rc(e){return{toString:e}.toString()}const AC=Function;class oV{previousValue;currentValue;firstChange;constructor(n,t,i){this.previousValue=n,this.currentValue=t,this.firstChange=i}isFirstChange(){return this.firstChange}}function LC(e,n,t,i){null!==n?n.applyValueToInputSignal(n,i):e[t]=i}const wn=(()=>{const e=()=>OC;return e.ngInherit=!0,e})();function OC(e){return e.type.prototype.ngOnChanges&&(e.setInput=sV),aV}function aV(){const e=NC(this),n=e?.current;if(n){const t=e.previous;if(t===xa)e.previous=n;else for(let i in n)t[i]=n[i];e.current=null,this.ngOnChanges(n)}}function sV(e,n,t,i,r){const o=this.declaredInputs[i],a=NC(e)||function lV(e,n){return e[PC]=n}(e,{previous:xa,current:null}),s=a.current||(a.current={}),l=a.previous,c=l[o];s[o]=new oV(c&&c.currentValue,t,l===xa),LC(e,n,r,t)}const PC="__ngSimpleChanges__";function NC(e){return e[PC]||null}const g1=[],Ji=function(e,n=null,t){for(let i=0;i<g1.length;i++)(0,g1[i])(e,n,t)};function FC(e,n){for(let t=n.directiveStart,i=n.directiveEnd;t<i;t++){const o=e.data[t].type.prototype,{ngAfterContentInit:a,ngAfterContentChecked:s,ngAfterViewInit:l,ngAfterViewChecked:c,ngOnDestroy:h}=o;a&&(e.contentHooks??=[]).push(-t,a),s&&((e.contentHooks??=[]).push(t,s),(e.contentCheckHooks??=[]).push(t,s)),l&&(e.viewHooks??=[]).push(-t,l),c&&((e.viewHooks??=[]).push(t,c),(e.viewCheckHooks??=[]).push(t,c)),null!=h&&(e.destroyHooks??=[]).push(t,h)}}function I4(e,n,t){RC(e,n,3,t)}function z4(e,n,t,i){(3&e[2])===t&&RC(e,n,t,i)}function Lm(e,n){let t=e[2];(3&t)===n&&(t&=16383,t+=1,e[2]=t)}function RC(e,n,t,i){const o=i??-1,a=n.length-1;let s=0;for(let l=void 0!==i?65535&e[17]:0;l<a;l++)if("number"==typeof n[l+1]){if(s=n[l],null!=i&&s>=i)break}else n[l]<0&&(e[17]+=65536),(s<o||-1==o)&&(fV(e,t,n,l),e[17]=(4294901760&e[17])+l+2),l++}function HC(e,n){Ji(4,e,n);const t=W(null);try{n.call(e)}finally{W(t),Ji(5,e,n)}}function fV(e,n,t,i){const r=t[i]<0,o=t[i+1],s=e[r?-t[i]:t[i]];r?e[2]>>14<e[17]>>16&&(3&e[2])===n&&(e[2]+=16384,HC(s,o)):HC(s,o)}class A2{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(n,t,i,r){this.factory=n,this.name=r,this.canSeeViewProviders=t,this.injectImpl=i}}function BC(e){return 3===e||4===e||6===e}function UC(e){return 64===e.charCodeAt(0)}function R0(e,n){if(null!==n&&0!==n.length)if(null===e||0===e.length)e=n.slice();else{let t=-1;for(let i=0;i<n.length;i++){const r=n[i];"number"==typeof r?t=r:0===t||qC(e,t,r,0,-1===t||2===t?n[++i]:null)}}return e}function qC(e,n,t,i,r){let o=0,a=e.length;if(-1===n)a=-1;else for(;o<e.length;){const s=e[o++];if("number"==typeof s){if(s===n){a=-1;break}if(s>n){a=o-1;break}}}for(;o<e.length;){const s=e[o];if("number"==typeof s)break;if(s===t)return void(null!==r&&(e[o+1]=r));o++,null!==r&&o++}-1!==a&&(e.splice(a,0,n),o=a+1),e.splice(o++,0,t),null!==r&&e.splice(o++,0,r)}function Pm(e){return-1!==e}function L2(e){return 32767&e}function O2(e,n){let t=function vV(e){return e>>16}(e),i=n;for(;t>0;)i=i[14],t--;return i}let Nm=!0;function A4(e){const n=Nm;return Nm=e,n}let _V=0;const Xl={};function L4(e,n){const t=$C(e,n);if(-1!==t)return t;const i=n[1];i.firstCreatePass&&(e.injectorIndex=n.length,Fm(i.data,e),Fm(n,null),Fm(i.blueprint,null));const r=O4(e,n),o=e.injectorIndex;if(Pm(r)){const a=L2(r),s=O2(r,n),l=s[1].data;for(let c=0;c<8;c++)n[o+c]=s[a+c]|l[a+c]}return n[o+8]=r,o}function Fm(e,n){e.push(0,0,0,0,0,0,0,0,n)}function $C(e,n){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===n[e.injectorIndex+8]?-1:e.injectorIndex}function O4(e,n){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let t=0,i=null,r=n;for(;null!==r;){if(i=JC(r),null===i)return-1;if(t++,r=r[14],-1!==i.injectorIndex)return i.injectorIndex|t<<16}return-1}function Rm(e,n,t){!function yV(e,n,t){let i;"string"==typeof t?i=t.charCodeAt(0)||0:t.hasOwnProperty(gs)&&(i=t[gs]),null==i&&(i=t[gs]=_V++);const r=255&i;n.data[e+(r>>5)]|=1<<r}(e,n,t)}function WC(e,n,t){if(8&t||void 0!==e)return e;De()}function GC(e,n,t,i){if(8&t&&void 0===i&&(i=null),!(3&t)){const r=e[9],o=oi(void 0);try{return r?r.get(n,i,8&t):qa(n,i,8&t)}finally{oi(o)}}return WC(i,0,t)}function KC(e,n,t,i=0,r){if(null!==e){if(2048&n[2]&&!(2&i)){const a=function MV(e,n,t,i,r){let o=e,a=n;for(;null!==o&&null!==a&&2048&a[2]&&!qs(a);){const s=QC(o,a,t,2|i,Xl);if(s!==Xl)return s;let l=o.parent;if(!l){const c=a[20];if(c){const h=c.get(t,Xl,i);if(h!==Xl)return h}l=JC(a),a=a[14]}o=l}return r}(e,n,t,i,Xl);if(a!==Xl)return a}const o=QC(e,n,t,i,Xl);if(o!==Xl)return o}return GC(n,t,i,r)}function QC(e,n,t,i,r){const o=function wV(e){if("string"==typeof e)return e.charCodeAt(0)||0;const n=e.hasOwnProperty(gs)?e[gs]:void 0;return"number"==typeof n?n>=0?255&n:SV:n}(t);if("function"==typeof o){if(!Jb(n,e,i))return 1&i?WC(r,0,i):GC(n,t,i,r);try{let a;if(a=o(i),null!=a||8&i)return a;De()}finally{iC()}}else if("number"==typeof o){let a=null,s=$C(e,n),l=-1,c=1&i?n[15][5]:null;for((-1===s||4&i)&&(l=-1===s?O4(e,n):n[s+8],-1!==l&&XC(i,!1)?(a=n[1],s=L2(l),n=O2(l,n)):s=-1);-1!==s;){const h=n[1];if(ZC(o,s,h.data)){const p=CV(s,n,t,a,i,c);if(p!==Xl)return p}l=n[s+8],-1!==l&&XC(i,n[1].data[s+8]===c)&&ZC(o,s,n)?(a=h,s=L2(l),n=O2(l,n)):s=-1}}return r}function CV(e,n,t,i,r,o){const a=n[1],s=a.data[e+8],h=P4(s,a,t,null==i?fl(s)&&Nm:i!=a&&!!(3&s.type),1&r&&o===s);return null!==h?P2(n,a,h,s,r):Xl}function P4(e,n,t,i,r){const o=e.providerIndexes,a=n.data,s=1048575&o,l=e.directiveStart,h=o>>20,S=r?s+h:e.directiveEnd;for(let v=i?s:s+h;v<S;v++){const C=a[v];if(v<l&&t===C||v>=l&&C.type===t)return v}if(r){const v=a[l];if(v&&Ga(v)&&v.type===t)return l}return null}function P2(e,n,t,i,r){let o=e[t];const a=n.data;if(o instanceof A2){const s=o;if(s.resolving)throw function u(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():hn(e)}(a[t]),j();const l=A4(s.canSeeViewProviders);s.resolving=!0;const p=s.injectImpl?oi(s.injectImpl):null;Jb(e,i,0);try{o=e[t]=s.factory(void 0,r,a,e,i),n.firstCreatePass&&t>=i.directiveStart&&function hV(e,n,t){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=n.type.prototype;if(i){const a=OC(n);(t.preOrderHooks??=[]).push(e,a),(t.preOrderCheckHooks??=[]).push(e,a)}r&&(t.preOrderHooks??=[]).push(0-e,r),o&&((t.preOrderHooks??=[]).push(e,o),(t.preOrderCheckHooks??=[]).push(e,o))}(t,a[t],n)}finally{null!==p&&oi(p),A4(l),s.resolving=!1,iC()}}return o}function ZC(e,n,t){return!!(t[n+(e>>5)]&1<<e)}function XC(e,n){return!(2&e||1&e&&n)}class ro{_tNode;_lView;constructor(n,t){this._tNode=n,this._lView=t}get(n,t,i){return KC(this._tNode,this._lView,n,wo(i),t)}}function SV(){return new ro(Zt(),Pe())}function Di(e){return Rc(()=>{const n=e.prototype.constructor,t=n[ra]||Hm(n),i=Object.prototype;let r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==i;){const o=r[ra]||Hm(r);if(o&&o!==t)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function Hm(e){return il(e)?()=>{const n=Hm(yn(e));return n&&n()}:Mo(e)}function JC(e){const n=e[1],t=n.type;return 2===t?n.declTNode:1===t?e[5]:null}function N2(e){return function bV(e,n){if("class"===n)return e.classes;if("style"===n)return e.styles;const t=e.attrs;if(t){const i=t.length;let r=0;for(;r<i;){const o=t[r];if(BC(o))break;if(0===o)r+=2;else if("number"==typeof o)for(r++;r<i&&"string"==typeof t[r];)r++;else{if(o===n)return t[r+1];r+=2}}}return null}(Zt(),e)}function AV(){return H0(Zt(),Pe())}function H0(e,n){return new pn(Lr(e,n))}let pn=(()=>class e{nativeElement;constructor(t){this.nativeElement=t}static __NG_ELEMENT_ID__=AV})();function rw(e){return e instanceof pn?e.nativeElement:e}function LV(){return this._results[Symbol.iterator]()}class V0{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new Dt}constructor(n=!1){this._emitDistinctChangesOnly=n}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,t){return this._results.reduce(n,t)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,t){this.dirty=!1;const i=function sa(e){return e.flat(Number.POSITIVE_INFINITY)}(n);(this._changesDetected=!function _s(e,n,t){if(e.length!==n.length)return!1;for(let i=0;i<e.length;i++){let r=e[i],o=n[i];if(t&&(r=t(r),o=t(o)),o!==r)return!1}return!0}(this._results,i,t))&&(this._results=i,this.length=i.length,this.last=i[this.length-1],this.first=i[0])}notifyOnChanges(){void 0!==this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(n){this._onDirty=n}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){void 0!==this._changes&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=LV}function F2(e){return!(128&~e.flags)}var F4=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(F4||{});const R4=new Map;let NV=0;function Um(e){R4.delete(e[19])}const Ym="__ngContext__";function ss(e,n){Ar(n)?(e[Ym]=n[19],function RV(e){R4.set(e[19],e)}(n)):e[Ym]=n}function mw(e){return vw(e[12])}function gw(e){return vw(e[4])}function vw(e){for(;null!==e&&!la(e);)e=e[4];return e}let jm;function wu(){if(void 0!==jm)return jm;if(typeof document<"u")return document;throw new ge(210,!1)}const B0=new Ae("",{providedIn:"root",factory:()=>aB}),aB="ng",Mw=new Ae(""),H2=new Ae("",{providedIn:"platform",factory:()=>"unknown"}),U0=new Ae(""),V2=new Ae("",{providedIn:"root",factory:()=>wu().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),pB=new Ae("",{providedIn:"root",factory:()=>!1});function q4(e){return!(32&~e.flags)}function Kw(e,n){const t=e.contentQueries;if(null!==t){const i=W(null);try{for(let r=0;r<t.length;r+=2){const a=t[r+1];if(-1!==a){const s=e.data[a];y4(t[r]),s.contentQueries(2,n[a],a)}}}finally{W(i)}}}function cg(e,n,t){y4(0);const i=W(null);try{n(e,t)}finally{W(i)}}function ug(e,n,t){if(a4(n)){const i=W(null);try{const o=n.directiveEnd;for(let a=n.directiveStart;a<o;a++){const s=e.data[a];s.contentQueries&&s.contentQueries(1,t[a],a)}}finally{W(i)}}}var Hc=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Hc||{});let Q4,Z4;function W0(e){return function Jw(){if(void 0===Q4&&(Q4=null,bi.trustedTypes))try{Q4=bi.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Q4}()?.createHTML(e)||e}function fg(){if(void 0===Z4&&(Z4=null,bi.trustedTypes))try{Z4=bi.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Z4}function eS(e){return fg()?.createHTML(e)||e}function nS(e){return fg()?.createScriptURL(e)||e}class _1{changingThisBreaksApplicationSecurity;constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${ms})`}}class $B extends _1{getTypeName(){return"HTML"}}class WB extends _1{getTypeName(){return"Style"}}class GB extends _1{getTypeName(){return"Script"}}class KB extends _1{getTypeName(){return"URL"}}class QB extends _1{getTypeName(){return"ResourceURL"}}function bs(e){return e instanceof _1?e.changingThisBreaksApplicationSecurity:e}function Jl(e,n){const t=function ZB(e){return e instanceof _1&&e.getTypeName()||null}(e);if(null!=t&&t!==n){if("ResourceURL"===t&&"URL"===n)return!0;throw new Error(`Required a safe ${n}, got a ${t} (see ${ms})`)}return t===n}class iU{inertDocumentHelper;constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{const t=(new window.DOMParser).parseFromString(W0(n),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(n):(t.firstChild?.remove(),t)}catch{return null}}}class rU{defaultDoc;inertDocument;constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){const t=this.inertDocument.createElement("template");return t.innerHTML=W0(n),t}}const aU=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function q2(e){return(e=String(e)).match(aU)?e:"unsafe:"+e}function ec(e){const n={};for(const t of e.split(","))n[t]=!0;return n}function G0(...e){const n={};for(const t of e)for(const i in t)t.hasOwnProperty(i)&&(n[i]=!0);return n}const rS=ec("area,br,col,hr,img,wbr"),oS=ec("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),aS=ec("rp,rt"),pg=G0(rS,G0(oS,ec("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),G0(aS,ec("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),G0(aS,oS)),mg=ec("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),gg=G0(mg,ec("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),ec("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),sU=ec("script,style,template");class lU{sanitizedSomething=!1;buf=[];sanitizeChildren(n){let t=n.firstChild,i=!0,r=[];for(;t;)if(t.nodeType===Node.ELEMENT_NODE?i=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,i&&t.firstChild)r.push(t),t=dU(t);else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let o=uU(t);if(o){t=o;break}t=r.pop()}return this.buf.join("")}startElement(n){const t=sS(n).toLowerCase();if(!pg.hasOwnProperty(t))return this.sanitizedSomething=!0,!sU.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const i=n.attributes;for(let r=0;r<i.length;r++){const o=i.item(r),a=o.name,s=a.toLowerCase();if(!gg.hasOwnProperty(s)){this.sanitizedSomething=!0;continue}let l=o.value;mg[s]&&(l=q2(l)),this.buf.push(" ",a,'="',cS(l),'"')}return this.buf.push(">"),!0}endElement(n){const t=sS(n).toLowerCase();pg.hasOwnProperty(t)&&!rS.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(n){this.buf.push(cS(n))}}function uU(e){const n=e.nextSibling;if(n&&e!==n.previousSibling)throw lS(n);return n}function dU(e){const n=e.firstChild;if(n&&function cU(e,n){return(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,n))throw lS(n);return n}function sS(e){const n=e.nodeName;return"string"==typeof n?n:"FORM"}function lS(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const hU=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,fU=/([^\#-~ |!])/g;function cS(e){return e.replace(/&/g,"&amp;").replace(hU,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(fU,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let X4;function uS(e,n){let t=null;try{X4=X4||function iS(e){const n=new rU(e);return function oU(){try{return!!(new window.DOMParser).parseFromString(W0(""),"text/html")}catch{return!1}}()?new iU(n):n}(e);let i=n?String(n):"";t=X4.getInertBodyElement(i);let r=5,o=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=t.innerHTML,t=X4.getInertBodyElement(i)}while(i!==o);return W0((new lU).sanitizeChildren(_g(t)||t))}finally{if(t){const i=_g(t)||t;for(;i.firstChild;)i.firstChild.remove()}}}function _g(e){return"content"in e&&function pU(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}const mU=/^>|^->|<!--|-->|--!>|<!-$/g,gU=/(<|>)/g;function bg(e,n){return e.createComment(function dS(e){return e.replace(mU,n=>n.replace(gU,"\u200b$1\u200b"))}(n))}function J4(e,n,t){return e.createElement(n,t)}function y1(e,n,t,i,r){e.insertBefore(n,t,i,r)}function fS(e,n,t){e.appendChild(n,t)}function pS(e,n,t,i,r){null!==i?y1(e,n,t,i,r):fS(e,n,t)}function Y2(e,n,t,i){e.removeChild(null,n,t,i)}function gS(e,n,t){const{mergedAttrs:i,classes:r,styles:o}=t;null!==i&&function gV(e,n,t){let i=0;for(;i<t.length;){const r=t[i];if("number"==typeof r){if(0!==r)break;i++;const o=t[i++],a=t[i++],s=t[i++];e.setAttribute(n,a,s,o)}else{const o=r,a=t[++i];UC(o)?e.setProperty(n,o,a):e.setAttribute(n,o,a),i++}}}(e,n,i),null!==r&&function yU(e,n,t){""===t?e.removeAttribute(n,"class"):e.setAttribute(n,"class",t)}(e,n,r),null!==o&&function _U(e,n,t){e.setAttribute(n,"style",t)}(e,n,o)}var Cs=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(Cs||{});function Fo(e){const n=$2();return n?eS(n.sanitize(Cs.HTML,e)||""):Jl(e,"HTML")?eS(bs(e)):uS(wu(),hn(e))}function j2(e){const n=$2();return n?n.sanitize(Cs.URL,e)||"":Jl(e,"URL")?bs(e):q2(hn(e))}function vS(e){const n=$2();if(n)return nS(n.sanitize(Cs.RESOURCE_URL,e)||"");if(Jl(e,"ResourceURL"))return nS(bs(e));throw new ge(904,!1)}const TU=new Set(["embed","frame","iframe","media","script"]),DU=new Set(["base","link","script"]);function _S(e,n,t){return function xU(e,n){return"src"===n&&TU.has(e)||"href"===n&&DU.has(e)||"xlink:href"===n&&"script"===e?vS:j2}(n,t)(e)}function $2(){const e=Pe();return e&&e[10].sanitizer}function tc(e){return e instanceof Function?e():e}function RU(e,n,t){let i=e.length;for(;;){const r=e.indexOf(n,t);if(-1===r)return r;if(0===r||e.charCodeAt(r-1)<=32){const o=n.length;if(r+o===i||e.charCodeAt(r+o)<=32)return r}t=r+1}}const SS="ng-template";function HU(e,n,t,i){let r=0;if(i){for(;r<n.length&&"string"==typeof n[r];r+=2)if("class"===n[r]&&-1!==RU(n[r+1].toLowerCase(),t,0))return!0}else if(Cg(e))return!1;if(r=n.indexOf(1,r),r>-1){let o;for(;++r<n.length&&"string"==typeof(o=n[r]);)if(o.toLowerCase()===t)return!0}return!1}function Cg(e){return 4===e.type&&e.value!==SS}function VU(e,n,t){return n===(4!==e.type||t?e.value:SS)}function BU(e,n,t){let i=4;const r=e.attrs,o=null!==r?function YU(e){for(let n=0;n<e.length;n++)if(BC(e[n]))return n;return e.length}(r):0;let a=!1;for(let s=0;s<n.length;s++){const l=n[s];if("number"!=typeof l){if(!a)if(4&i){if(i=2|1&i,""!==l&&!VU(e,l,t)||""===l&&1===n.length){if(bl(i))return!1;a=!0}}else if(8&i){if(null===r||!HU(e,r,l,t)){if(bl(i))return!1;a=!0}}else{const c=n[++s],h=UU(l,r,Cg(e),t);if(-1===h){if(bl(i))return!1;a=!0;continue}if(""!==c){let p;if(p=h>o?"":r[h+1].toLowerCase(),2&i&&c!==p){if(bl(i))return!1;a=!0}}}}else{if(!a&&!bl(i)&&!bl(l))return!1;if(a&&bl(l))continue;a=!1,i=l|1&i}}return bl(i)||a}function bl(e){return!(1&e)}function UU(e,n,t,i){if(null===n)return-1;let r=0;if(i||!t){let o=!1;for(;r<n.length;){const a=n[r];if(a===e)return r;if(3===a||6===a)o=!0;else{if(1===a||2===a){let s=n[++r];for(;"string"==typeof s;)s=n[++r];continue}if(4===a)break;if(0===a){r+=4;continue}}r+=o?1:2}return-1}return function jU(e,n){let t=e.indexOf(4);if(t>-1)for(t++;t<e.length;){const i=e[t];if("number"==typeof i)return-1;if(i===n)return t;t++}return-1}(n,e)}function MS(e,n,t=!1){for(let i=0;i<n.length;i++)if(BU(e,n[i],t))return!0;return!1}function $U(e,n){e:for(let t=0;t<n.length;t++){const i=n[t];if(e.length===i.length){for(let r=0;r<e.length;r++)if(e[r]!==i[r])continue e;return!0}}return!1}function TS(e,n){return e?":not("+n.trim()+")":n}function WU(e){let n=e[0],t=1,i=2,r="",o=!1;for(;t<e.length;){let a=e[t];if("string"==typeof a)if(2&i){const s=e[++t];r+="["+a+(s.length>0?'="'+s+'"':"")+"]"}else 8&i?r+="."+a:4&i&&(r+=" "+a);else""!==r&&!bl(a)&&(n+=TS(o,r),r=""),i=a,o=o||!bl(i);t++}return""!==r&&(n+=TS(o,r)),n}const qi={};function wg(e,n,t,i,r,o,a,s,l,c,h){const p=27+i,S=p+r,v=function QU(e,n){const t=[];for(let i=0;i<n;i++)t.push(i<e?null:qi);return t}(p,S),C="function"==typeof c?c():c;return v[1]={type:e,blueprint:v,template:t,queries:null,viewQuery:s,declTNode:n,data:v.slice().fill(null,p),bindingStartIndex:p,expandoStartIndex:S,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof o?o():o,pipeRegistry:"function"==typeof a?a():a,firstChild:null,schemas:l,consts:C,incompleteFirstPass:!1,ssrId:h}}function t3(e,n,t,i,r,o,a,s,l,c,h){const p=n.blueprint.slice();return p[0]=r,p[2]=1228|i,(null!==c||e&&2048&e[2])&&(p[2]|=2048),y2(p),p[3]=p[14]=e,p[8]=t,p[10]=a||e&&e[10],p[11]=s||e&&e[11],p[9]=l||e&&e[9]||null,p[5]=o,p[19]=function FV(){return NV++}(),p[6]=h,p[20]=c,p[15]=2==n.type?e[15]:p,p}function Sg(e){let n=16;return e.signals?n=4096:e.onPush&&(n=64),n}function W2(e,n,t,i){if(0===t)return-1;const r=n.length;for(let o=0;o<t;o++)n.push(i),e.blueprint.push(i),e.data.push(null);return r}function Mg(e,n){return e[12]?e[13][4]=n:e[12]=n,e[13]=n,n}function I(e=1){xS(xn(),Pe(),ua()+e,!1)}function xS(e,n,t,i){if(!i)if(3&~n[2]){const o=e.preOrderHooks;null!==o&&z4(n,o,0,t)}else{const o=e.preOrderCheckHooks;null!==o&&I4(n,o,t)}d1(t)}var n3=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(n3||{});function G2(e,n,t,i){const r=W(null);try{const[o,a,s]=e.inputs[t];let l=null;0!==(a&n3.SignalBased)&&(l=n[o][q]),null!==l&&void 0!==l.transformFn?i=l.transformFn(i):null!==s&&(i=s.call(n,i)),null!==e.setInput?e.setInput(n,l,i,t,o):LC(n,l,o,i)}finally{W(r)}}var Mu=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Mu||{});function Dg(e,n){return undefined(e,n)}const b1=new Set;var xg=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(xg||{});const K2=new Ae(""),zS=new Set;function Aa(e){zS.has(e)||(zS.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}const AS=!1,ht=class iq extends Dt{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(n=!1){super(),this.__isAsync=n,d2()&&(this.destroyRef=U(kn,{optional:!0})??void 0,this.pendingTasks=U(_u,{optional:!0})??void 0)}emit(n){const t=W(null);try{super.next(n)}finally{W(t)}}subscribe(n,t,i){let r=n,o=t||(()=>null),a=i;if(n&&"object"==typeof n){const l=n;r=l.next?.bind(l),o=l.error?.bind(l),a=l.complete?.bind(l)}this.__isAsync&&(o=this.wrapInTimeout(o),r&&(r=this.wrapInTimeout(r)),a&&(a=this.wrapInTimeout(a)));const s=super.subscribe({next:r,error:o,complete:a});return n instanceof vt&&n.add(s),s}wrapInTimeout(n){return t=>{const i=this.pendingTasks?.add();setTimeout(()=>{try{n(t)}finally{void 0!==i&&this.pendingTasks?.remove(i)}})}}};function LS(e){let n,t;function i(){e=k2;try{void 0!==t&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(t),void 0!==n&&clearTimeout(n)}catch{}}return n=setTimeout(()=>{e(),i()}),"function"==typeof requestAnimationFrame&&(t=requestAnimationFrame(()=>{e(),i()})),()=>i()}function OS(e){return queueMicrotask(()=>e()),()=>{e=k2}}const kg="isAngularZone",r3=kg+"_ID";let rq=0;class Gt{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new ht(!1);onMicrotaskEmpty=new ht(!1);onStable=new ht(!1);onError=new ht(!1);constructor(n){const{enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:r=!1,scheduleInRootZone:o=AS}=n;if(typeof Zone>"u")throw new ge(908,!1);Zone.assertZonePatched();const a=this;a._nesting=0,a._outer=a._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(a._inner=a._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(a._inner=a._inner.fork(Zone.longStackTraceZoneSpec)),a.shouldCoalesceEventChangeDetection=!r&&i,a.shouldCoalesceRunChangeDetection=r,a.callbackScheduled=!1,a.scheduleInRootZone=o,function sq(e){const n=()=>{!function aq(e){function n(){LS(()=>{e.callbackScheduled=!1,Ig(e),e.isCheckStableRunning=!0,Eg(e),e.isCheckStableRunning=!1})}e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,e.scheduleInRootZone?Zone.root.run(()=>{n()}):e._outer.run(()=>{n()}),Ig(e))}(e)},t=rq++;e._inner=e._inner.fork({name:"angular",properties:{[kg]:!0,[r3]:t,[r3+t]:!0},onInvokeTask:(i,r,o,a,s,l)=>{if(function lq(e){return FS(e,"__ignore_ng_zone__")}(l))return i.invokeTask(o,a,s,l);try{return PS(e),i.invokeTask(o,a,s,l)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===a.type||e.shouldCoalesceRunChangeDetection)&&n(),NS(e)}},onInvoke:(i,r,o,a,s,l,c)=>{try{return PS(e),i.invoke(o,a,s,l,c)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!function cq(e){return FS(e,"__scheduler_tick__")}(l)&&n(),NS(e)}},onHasTask:(i,r,o,a)=>{i.hasTask(o,a),r===o&&("microTask"==a.change?(e._hasPendingMicrotasks=a.microTask,Ig(e),Eg(e)):"macroTask"==a.change&&(e.hasPendingMacrotasks=a.macroTask))},onHandleError:(i,r,o,a)=>(i.handleError(o,a),e.runOutsideAngular(()=>e.onError.emit(a)),!1)})}(a)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(kg)}static assertInAngularZone(){if(!Gt.isInAngularZone())throw new ge(909,!1)}static assertNotInAngularZone(){if(Gt.isInAngularZone())throw new ge(909,!1)}run(n,t,i){return this._inner.run(n,t,i)}runTask(n,t,i,r){const o=this._inner,a=o.scheduleEventTask("NgZoneEvent: "+r,n,oq,k2,k2);try{return o.runTask(a,t,i)}finally{o.cancelTask(a)}}runGuarded(n,t,i){return this._inner.runGuarded(n,t,i)}runOutsideAngular(n){return this._outer.run(n)}}const oq={};function Eg(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Ig(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&!0===e.callbackScheduled)}function PS(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function NS(e){e._nesting--,Eg(e)}class zg{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new ht;onMicrotaskEmpty=new ht;onStable=new ht;onError=new ht;run(n,t,i){return n.apply(t,i)}runGuarded(n,t,i){return n.apply(t,i)}runOutsideAngular(n){return n()}runTask(n,t,i,r){return n.apply(t,i)}}function FS(e,n){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0]?.data?.[n]}let RS=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=Ke({token:e,providedIn:"root",factory:()=>new e})}return e})();const HS=[0,1,2,3];let dq=(()=>{class e{ngZone=U(Gt);scheduler=U(h1);errorHandler=U(E0,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){U(K2,{optional:!0})}execute(){const t=this.sequences.size>0;t&&Ji(16),this.executing=!0;for(const i of HS)for(const r of this.sequences)if(!r.erroredOrDestroyed&&r.hooks[i])try{r.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>(0,r.hooks[i])(r.pipelinedValue),r.snapshot))}catch(o){r.erroredOrDestroyed=!0,this.errorHandler?.handleError(o)}this.executing=!1;for(const i of this.sequences)i.afterRun(),i.once&&(this.sequences.delete(i),i.destroy());for(const i of this.deferredRegistrations)this.sequences.add(i);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),t&&Ji(17)}register(t){const{view:i}=t;void 0!==i?((i[25]??=[]).push(t),Nc(i),i[2]|=8192):this.executing?this.deferredRegistrations.add(t):this.addSequence(t)}addSequence(t){this.sequences.add(t),this.scheduler.notify(7)}unregister(t){this.executing&&this.sequences.has(t)?(t.erroredOrDestroyed=!0,t.pipelinedValue=void 0,t.once=!0):(this.sequences.delete(t),this.deferredRegistrations.delete(t))}maybeTrace(t,i){return i?i.run(xg.AFTER_NEXT_RENDER,t):t()}static \u0275prov=Ke({token:e,providedIn:"root",factory:()=>new e})}return e})();class VS{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(n,t,i,r,o,a=null){this.impl=n,this.hooks=t,this.view=i,this.once=r,this.snapshot=a,this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();const n=this.view?.[25];n&&(this.view[25]=n.filter(t=>t!==this))}}function Tu(e,n){const t=n?.injector??U($r);return Aa("NgAfterNextRender"),US(e,t,n,!0)}function US(e,n,t,i){const r=n.get(RS);r.impl??=n.get(dq);const o=n.get(K2,null,{optional:!0}),a=!0!==t?.manualCleanup?n.get(kn):null,s=n.get(Tm,null,{optional:!0}),l=new VS(r.impl,function hq(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}(e),s?.view,i,a,o?.snapshot(null));return r.impl.register(l),l}const o3=new Ae("",{providedIn:"root",factory:()=>({queue:new Set,isScheduled:!1,scheduler:null})});function qS(e,n,t){const i=e.get(o3);if(Array.isArray(n))for(const r of n)i.queue.add(r),t?.detachedLeaveAnimationFns?.push(r);else i.queue.add(n),t?.detachedLeaveAnimationFns?.push(n);i.scheduler&&i.scheduler(e)}function YS(e,n,t,i){const r=e?.[26]?.enter;null!==n&&r&&r.has(t.index)&&function Ag(e,n){for(const[t,i]of n)qS(e,i.animateFns)}(i,r)}function Z0(e,n,t,i,r,o,a,s){if(null!=r){let l,c=!1;la(r)?l=r:Ar(r)&&(c=!0,r=r[0]);const h=xo(r);0===e&&null!==i?(YS(s,i,o,t),null==a?fS(n,i,h):y1(n,i,h,a||null,!0)):1===e&&null!==i?(YS(s,i,o,t),y1(n,i,h,a||null,!0)):2===e?WS(s,o,t,p=>{Y2(n,h,c,p)}):3===e&&WS(s,o,t,()=>{n.destroyNode(h)}),null!=l&&function Cq(e,n,t,i,r,o,a){const s=i[7];s!==xo(i)&&Z0(n,e,t,o,s,r,a);for(let c=10;c<i.length;c++){const h=i[c];l3(h[1],h,e,n,o,s)}}(n,e,t,l,o,i,a)}}function $S(e,n){n[10].changeDetectionScheduler?.notify(9),l3(e,n,n[11],2,null,null)}function Lg(e,n){const t=e[9],i=t.indexOf(n);t.splice(i,1)}function Q2(e,n){if(pl(n))return;const t=n[11];t.destroyNode&&l3(e,n,t,3,null,null),function gq(e){let n=e[12];if(!n)return Og(e[1],e);for(;n;){let t=null;if(Ar(n))t=n[12];else{const i=n[10];i&&(t=i)}if(!t){for(;n&&!n[4]&&n!==e;)Ar(n)&&Og(n[1],n),n=n[3];null===n&&(n=e),Ar(n)&&Og(n[1],n),t=n&&n[4]}n=t}}(n)}function Og(e,n){if(pl(n))return;const t=W(null);try{n[2]&=-129,n[2]|=256,n[24]&&Ei(n[24]),function yq(e,n){let t;if(null!=e&&null!=(t=e.destroyHooks))for(let i=0;i<t.length;i+=2){const r=n[t[i]];if(!(r instanceof A2)){const o=t[i+1];if(Array.isArray(o))for(let a=0;a<o.length;a+=2){const s=r[o[a]],l=o[a+1];Ji(4,s,l);try{l.call(s)}finally{Ji(5,s,l)}}else{Ji(4,r,o);try{o.call(r)}finally{Ji(5,r,o)}}}}}(e,n),function _q(e,n){const t=e.cleanup,i=n[7];if(null!==t)for(let a=0;a<t.length-1;a+=2)if("string"==typeof t[a]){const s=t[a+3];s>=0?i[s]():i[-s].unsubscribe(),a+=2}else t[a].call(i[t[a+1]]);null!==i&&(n[7]=null);const r=n[21];if(null!==r){n[21]=null;for(let a=0;a<r.length;a++)(0,r[a])()}const o=n[23];if(null!==o){n[23]=null;for(const a of o)a.destroy()}}(e,n),1===n[1].type&&n[11].destroy();const i=n[16];if(null!==i&&la(n[3])){i!==n[3]&&Lg(i,n);const r=n[18];null!==r&&r.detachView(e)}Um(n)}finally{W(t)}}function WS(e,n,t,i){const r=e?.[26];if(null==r||null==r.leave||!r.leave.has(n.index))return i(!1);e&&b1.add(e),qS(t,()=>{if(r.leave&&r.leave.has(n.index)){const a=r.leave.get(n.index),s=[];if(a){for(let l=0;l<a.animateFns.length;l++){const c=a.animateFns[l],{promise:h}=c();s.push(h)}r.detachedLeaveAnimationFns=void 0}r.running=Promise.allSettled(s),function vq(e,n){const t=e[26]?.running;t?t.then(()=>{e[26].running=void 0,b1.delete(e),n(!0)}):n(!1)}(e,i)}else e&&b1.delete(e),i(!1)},r)}function Pg(e,n,t){return function GS(e,n,t){let i=n;for(;null!==i&&168&i.type;)i=(n=i).parent;if(null===i)return t[0];if(fl(i)){const{encapsulation:r}=e.data[i.directiveStart+i.componentOffset];if(r===Hc.None||r===Hc.Emulated)return null}return Lr(i,t)}(e,n.parent,t)}function KS(e,n,t){return ZS(e,n,t)}let ZS=function QS(e,n,t){return 40&e.type?Lr(e,t):null};function Fg(e,n,t,i){const r=Pg(e,i,n),o=n[11],s=KS(i.parent||n[5],i,n);if(null!=r)if(Array.isArray(t))for(let l=0;l<t.length;l++)pS(o,r,t[l],s,!1);else pS(o,r,t,s,!1)}function C1(e,n){if(null!==n){const t=n.type;if(3&t)return Lr(n,e);if(4&t)return s3(-1,e[n.index]);if(8&t){const i=n.child;if(null!==i)return C1(e,i);{const r=e[n.index];return la(r)?s3(-1,r):xo(r)}}if(128&t)return C1(e,n.next);if(32&t)return Dg(n,e)()||xo(e[n.index]);{const i=JS(e,n);return null!==i?Array.isArray(i)?i[0]:C1(vl(e[15]),i):C1(e,n.next)}}return null}function JS(e,n){return null!==n?e[15][5].projection[n.projection]:null}function s3(e,n){const t=10+e+1;if(t<n.length){const i=n[t],r=i[1].firstChild;if(null!==r)return C1(i,r)}return n[7]}function Rg(e,n,t,i,r,o,a){for(;null!=t;){const s=i[9];if(128===t.type){t=t.next;continue}const l=i[t.index],c=t.type;if(a&&0===n&&(l&&ss(xo(l),i),t.flags|=2),!q4(t))if(8&c)Rg(e,n,t.child,i,r,o,!1),Z0(n,e,s,r,l,t,o,i);else if(32&c){const h=Dg(t,i);let p;for(;p=h();)Z0(n,e,s,r,p,t,o,i);Z0(n,e,s,r,l,t,o,i)}else 16&c?eM(e,n,i,t,r,o):Z0(n,e,s,r,l,t,o,i);t=a?t.projectionNext:t.next}}function l3(e,n,t,i,r,o){Rg(t,i,e.firstChild,n,r,o,!1)}function eM(e,n,t,i,r,o){const a=t[15],l=a[5].projection[i.projection];if(Array.isArray(l))for(let c=0;c<l.length;c++)Z0(n,e,t[9],r,l[c],i,o,t);else{let c=l;const h=a[3];F2(i)&&(c.flags|=128),Rg(e,n,c,h,r,o,!0)}}function tM(e,n,t,i,r){const o=ua(),a=2&i;try{d1(-1),a&&n.length>27&&xS(e,n,27,!1),Ji(a?2:0,r,t),t(i,r)}finally{d1(o),Ji(a?3:1,r,t)}}function c3(e,n,t){(function xq(e,n,t){const i=t.directiveStart,r=t.directiveEnd;fl(t)&&function ZU(e,n,t){const i=Lr(n,e),r=function DS(e){const n=e.tView;return null===n||n.incompleteFirstPass?e.tView=wg(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):n}(t),o=e[10].rendererFactory,a=Mg(e,t3(e,r,null,Sg(t),i,n,null,o.createRenderer(i,t),null,null,null));e[n.index]=a}(n,t,e.data[i+t.componentOffset]),e.firstCreatePass||L4(t,n);const o=t.initialInputs;for(let a=i;a<r;a++){const s=e.data[a],l=P2(n,e,a,t);ss(l,n),null!==o&&zq(0,a-i,l,s,0,o),Ga(s)&&(ca(t.index,n)[8]=P2(n,e,a,t))}})(e,n,t),!(64&~t.flags)&&function kq(e,n,t){const i=t.directiveStart,r=t.directiveEnd,o=t.index,a=function Ri(){return Cn.lFrame.currentDirectiveIndex}();try{d1(o);for(let s=i;s<r;s++){const l=e.data[s],c=n[s];No(s),(null!==l.hostBindings||0!==l.hostVars||null!==l.hostAttrs)&&Eq(l,c)}}finally{d1(-1),No(a)}}(e,n,t)}function X0(e,n,t=Lr){const i=n.localNames;if(null!==i){let r=n.index+1;for(let o=0;o<i.length;o+=2){const a=i[o+1],s=-1===a?t(n,e):e[a];e[r++]=s}}}let nM=()=>null;function Hg(e,n,t,i,r,o){f3(e,n[1],n,t,i)?fl(e)&&function iM(e,n){const t=ca(n,e);16&t[2]||(t[2]|=64)}(n,e.index):(3&e.type&&(t=function Dq(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(t)),Vg(e,n,t,i,r,o))}function Vg(e,n,t,i,r,o){if(3&e.type){const a=Lr(e,n);i=null!=o?o(i,e.value||"",t):i,r.setProperty(a,t,i)}}function Eq(e,n){null!==e.hostBindings&&e.hostBindings(1,n)}function Bg(e,n){const t=e.directiveRegistry;let i=null;if(t)for(let r=0;r<t.length;r++){const o=t[r];MS(n,o.selectors,!1)&&(i??=[],Ga(o)?i.unshift(o):i.push(o))}return i}function zq(e,n,t,i,r,o){const a=o[n];if(null!==a)for(let s=0;s<a.length;s+=2)G2(i,t,a[s],a[s+1])}function d3(e,n,t,i,r){const o=27+t,a=n[1],s=r(a,n,e,i,t);n[o]=s,_l(e,!0);const l=2===e.type;return l?(gS(n[11],s,e),(0===function _m(){return Cn.lFrame.elementDepthCount}()||pu(e))&&ss(s,n),function ym(){Cn.lFrame.elementDepthCount++}()):ss(s,n),b4()&&(!l||!q4(e))&&Fg(a,n,s,e),e}function h3(e){let n=e;return m4()?g4():(n=n.parent,_l(n,!1)),n}function f3(e,n,t,i,r){const o=e.inputs?.[i],a=e.hostDirectiveInputs?.[i];let s=!1;if(a)for(let l=0;l<a.length;l+=2){const c=a[l];G2(n.data[c],t[c],a[l+1],r),s=!0}if(o)for(const l of o)G2(n.data[l],t[l],i,r),s=!0;return s}function Lq(e,n){const t=ca(n,e),i=t[1];!function Oq(e,n){for(let t=n.length;t<e.blueprint.length;t++)n.push(e.blueprint[t])}(i,t);const r=t[0];null!==r&&null===t[6]&&(t[6]=null),Ji(18),p3(i,t,t[8]),Ji(19,t[8])}function p3(e,n,t){wm(n);try{const i=e.viewQuery;null!==i&&cg(1,i,t);const r=e.template;null!==r&&tM(e,n,r,1,t),e.firstCreatePass&&(e.firstCreatePass=!1),n[18]?.finishViewCreation(e),e.staticContentQueries&&Kw(e,n),e.staticViewQueries&&cg(2,e.viewQuery,t);const o=e.components;null!==o&&function Pq(e,n){for(let t=0;t<n.length;t++)Lq(e,n[t])}(n,o)}catch(i){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),i}finally{n[2]&=-5,Sm()}}function J0(e,n,t,i){const r=W(null);try{const o=n.tView,l=t3(e,o,t,4096&e[2]?4096:16,null,n,null,null,i?.injector??null,i?.embeddedViewInjector??null,i?.dehydratedView??null);l[16]=e[n.index];const h=e[18];return null!==h&&(l[18]=h.createEmbeddedView(o)),p3(o,l,t),l}finally{W(r)}}function w1(e,n){return!n||null===n.firstChild||F2(e)}function Z2(e,n,t,i,r=!1){for(;null!==t;){if(128===t.type){t=r?t.projectionNext:t.next;continue}const o=n[t.index];null!==o&&i.push(xo(o)),la(o)&&Nq(o,i);const a=t.type;if(8&a)Z2(e,n,t.child,i);else if(32&a){const s=Dg(t,n);let l;for(;l=s();)i.push(l)}else if(16&a){const s=JS(n,t);if(Array.isArray(s))i.push(...s);else{const l=vl(n[15]);Z2(l[1],l,s,i,!0)}}t=r?t.projectionNext:t.next}return i}function Nq(e,n){for(let t=10;t<e.length;t++){const i=e[t],r=i[1].firstChild;null!==r&&Z2(i[1],i,r,n)}e[7]!==e[0]&&n.push(e[7])}function aM(e){if(null!==e[25]){for(const n of e[25])n.impl.addSequence(n);e[25].length=0}}let sM=[];const Vq={...be,consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Nc(e.lView)},consumerOnSignalRead(){this.lView[24]=this}},Uq={...be,consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let n=vl(e.lView);for(;n&&!lM(n[1]);)n=vl(n);n&&b2(n)},consumerOnSignalRead(){this.lView[24]=this}};function lM(e){return 2!==e.type}function cM(e){if(null===e[23])return;let n=!0;for(;n;){let t=!1;for(const i of e[23])i.dirty&&(t=!0,null===i.zone||Zone.current===i.zone?i.run():i.zone.run(()=>i.run()));n=t&&!!(8192&e[2])}}function m3(e,n=0){const i=e[10].rendererFactory;i.begin?.();try{!function Yq(e,n){const t=ii();try{d(!0),qg(e,n);let i=0;for(;mu(e);){if(100===i)throw new ge(103,!1);i++,qg(e,1)}}finally{d(t)}}(e,n)}finally{i.end?.()}}function uM(e,n,t,i){if(pl(n))return;const r=n[2];wm(n);let s=!0,l=null,c=null;lM(e)?(c=function Fq(e){return e[24]??function Rq(e){const n=sM.pop()??Object.create(Vq);return n.lView=e,n}(e)}(n),l=vn(c)):null===function X(){return z}()?(s=!1,c=function Bq(e){const n=e[24]??Object.create(Uq);return n.lView=e,n}(n),l=vn(c)):n[24]&&(Ei(n[24]),n[24]=null);try{y2(n),function N(e){return Cn.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==t&&tM(e,n,t,2,i);const h=!(3&~r);if(h){const v=e.preOrderCheckHooks;null!==v&&I4(n,v,null)}else{const v=e.preOrderHooks;null!==v&&z4(n,v,0,null),Lm(n,0)}if(function jq(e){for(let n=mw(e);null!==n;n=gw(n)){if(!(2&n[2]))continue;const t=n[9];for(let i=0;i<t.length;i++)b2(t[i])}}(n),cM(n),dM(n,0),null!==e.contentQueries&&Kw(e,n),h){const v=e.contentCheckHooks;null!==v&&I4(n,v)}else{const v=e.contentHooks;null!==v&&z4(n,v,1),Lm(n,1)}!function Wq(e,n){const t=e.hostBindingOpCodes;if(null!==t)try{for(let i=0;i<t.length;i++){const r=t[i];if(r<0)d1(~r);else{const o=r,a=t[++i],s=t[++i];Nn(a,o);const l=n[o];Ji(24,l),s(2,l),Ji(25,l)}}}finally{d1(-1)}}(e,n);const p=e.components;null!==p&&fM(n,p,0);const S=e.viewQuery;if(null!==S&&cg(2,S,i),h){const v=e.viewCheckHooks;null!==v&&I4(n,v)}else{const v=e.viewHooks;null!==v&&z4(n,v,2),Lm(n,2)}if(!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),n[22]){for(const v of n[22])v();n[22]=null}aM(n),n[2]&=-73}catch(h){throw Nc(n),h}finally{null!==c&&(Vt(c,l),s&&function Hq(e){e.lView[24]!==e&&(e.lView=null,sM.push(e))}(c)),Sm()}}function dM(e,n){for(let t=mw(e);null!==t;t=gw(t))for(let i=10;i<t.length;i++)hM(t[i],n)}function $q(e,n,t){Ji(18);const i=ca(n,e);hM(i,t),Ji(19,i[8])}function hM(e,n){_2(e)&&qg(e,n)}function qg(e,n){const i=e[1],r=e[2],o=e[24];let a=!!(0===n&&16&r);if(a||=!!(64&r&&0===n),a||=!!(1024&r),a||=!(!o?.dirty||!vr(o)),a||=!1,o&&(o.dirty=!1),e[2]&=-9217,a)uM(i,e,i.template,e[8]);else if(8192&r){const s=W(null);try{cM(e),dM(e,1);const l=i.components;null!==l&&fM(e,l,1),aM(e)}finally{W(s)}}}function fM(e,n,t){for(let i=0;i<n.length;i++)$q(e,n[i],t)}function ed(e,n){const t=ii()?64:1088;for(e[10].changeDetectionScheduler?.notify(n);e;){e[2]|=t;const i=vl(e);if(qs(e)&&!i)return e;e=i}return null}function pM(e,n,t,i){return[e,!0,0,n,null,i,null,t,null,null]}function mM(e,n){const t=10+n;if(t<e.length)return e[t]}function td(e,n,t,i=!0){const r=n[1];if(function Gq(e,n,t,i){const r=10+i,o=t.length;i>0&&(t[r-1][4]=n),i<o-10?(n[4]=t[r],T0(t,10+i,n)):(t.push(n),n[4]=null),n[3]=t;const a=n[16];null!==a&&t!==a&&gM(a,n);const s=n[18];null!==s&&s.insertView(e),C2(n),n[2]|=128}(r,n,e,t),i){const a=s3(t,e),s=n[11],l=s.parentNode(e[7]);null!==l&&function mq(e,n,t,i,r,o){i[0]=r,i[5]=n,l3(e,i,t,1,r,o)}(r,e[5],s,n,l,a)}const o=n[6];null!==o&&null!==o.firstChild&&(o.firstChild=null)}function Yg(e,n){const t=X2(e,n);return void 0!==t&&Q2(t[1],t),t}function X2(e,n){if(e.length<=10)return;const t=10+n,i=e[t];if(i){const r=i[16];null!==r&&r!==e&&Lg(r,i),n>0&&(e[t-1][4]=i[4]);const o=ai(e,10+n);!function jS(e,n){$S(e,n),n[0]=null,n[5]=null}(i[1],i);const a=o[18];null!==a&&a.detachView(o[1]),i[3]=null,i[4]=null,i[2]&=-129}return i}function gM(e,n){const t=e[9],i=n[3];(Ar(i)||n[15]!==i[3][15])&&(e[2]|=2),null===t?e[9]=[n]:t.push(n)}class J2{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){const n=this._lView,t=n[1];return Z2(t,n,t.firstChild,[])}constructor(n,t){this._lView=n,this._cdRefInjectingView=t}get context(){return this._lView[8]}set context(n){this._lView[8]=n}get destroyed(){return pl(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const n=this._lView[3];if(la(n)){const t=n[8],i=t?t.indexOf(this):-1;i>-1&&(X2(n,i),ai(t,i))}this._attachedToViewContainer=!1}Q2(this._lView[1],this._lView)}onDestroy(n){gu(this._lView,n)}markForCheck(){ed(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[2]&=-129}reattach(){C2(this._lView),this._lView[2]|=128}detectChanges(){this._lView[2]|=1024,m3(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new ge(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const n=qs(this._lView),t=this._lView[16];null!==t&&!n&&Lg(t,this._lView),$S(this._lView[1],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new ge(902,!1);this._appRef=n;const t=qs(this._lView),i=this._lView[16];null!==i&&!t&&gM(i,this._lView),C2(this._lView)}}let Wo=(()=>class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=Zq;constructor(t,i,r){this._declarationLView=t,this._declarationTContainer=i,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,i){return this.createEmbeddedViewImpl(t,i)}createEmbeddedViewImpl(t,i,r){const o=J0(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:i,dehydratedView:r});return new J2(o)}})();function Zq(){return g3(Zt(),Pe())}function g3(e,n){return 4&e.type?new Wo(n,e,H0(e,n)):null}function S1(e,n,t,i,r){let o=e.data[n];if(null===o)o=function Gg(e,n,t,i,r){const o=Fc(),a=m4(),l=e.data[n]=function aY(e,n,t,i,r,o){let a=n?n.injectorIndex:-1,s=0;return f4()&&(s|=128),{type:t,index:i,insertBeforeIndex:null,injectorIndex:a,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:s,providerIndexes:0,value:r,attrs:o,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,a?o:o&&o.parent,t,n,i,r);return function oY(e,n,t,i){null===e.firstChild&&(e.firstChild=n),null!==t&&(i?null==t.child&&null!==n.parent&&(t.child=n):null===t.next&&(t.next=n,n.prev=t))}(e,l,o,a),l}(e,n,t,i,r),function Ie(){return Cn.lFrame.inI18n}()&&(o.flags|=32);else if(64&o.type){o.type=t,o.value=i,o.attrs=r;const a=function l1(){const e=Cn.lFrame,n=e.currentTNode;return e.isParent?n:n.parent}();o.injectorIndex=null===a?-1:a.injectorIndex}return _l(o,!0),o}function PM(e,n){let t=0,i=e.firstChild;if(i){const r=e.data.r;for(;t<r;){const o=i.nextSibling;Y2(n,i,!1),i=o,t++}}}let UY=class{},BM=class{};class qY{resolveComponentFactory(n){throw new ge(917,!1)}}let id=class{static NULL=new qY};class Ws{}let oo=(()=>class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>function YY(){const e=Pe(),t=ca(Zt().index,e);return(Ar(t)?t:e)[11]}()})(),jY=(()=>{class e{static \u0275prov=Ke({token:e,providedIn:"root",factory:()=>null})}return e})();const n5={};class rd{injector;parentInjector;constructor(n,t){this.injector=n,this.parentInjector=t}get(n,t,i){const r=this.injector.get(n,n5,i);return r!==n5||t===n5?r:this.parentInjector.get(n,t,i)}}function T3(e,n,t){let i=t?e.styles:null,r=t?e.classes:null,o=0;if(null!==n)for(let a=0;a<n.length;a++){const s=n[a];"number"==typeof s?o=s:1==o?r=Mc(r,s):2==o&&(i=Mc(i,s+": "+n[++a]+";"))}t?e.styles=i:e.stylesWithoutHost=i,t?e.classes=r:e.classesWithoutHost=r}function xe(e,n=0){const t=Pe();return null===t?Ft(e,n):KC(Zt(),t,yn(e),n)}function qM(e,n,t,i,r){const o=null===i?null:{"":-1},a=r(e,t);if(null!==a){let s=a,l=null,c=null;for(const h of a)if(null!==h.resolveHostDirectives){[s,l,c]=h.resolveHostDirectives(a);break}!function XY(e,n,t,i,r,o,a){const s=i.length;let l=!1;for(let S=0;S<s;S++){const v=i[S];!l&&Ga(v)&&(l=!0,ZY(e,t,S)),Rm(L4(t,n),e,v.type)}!function rj(e,n,t){e.flags|=1,e.directiveStart=n,e.directiveEnd=n+t,e.providerIndexes=n}(t,e.data.length,s);for(let S=0;S<s;S++){const v=i[S];v.providersResolver&&v.providersResolver(v)}let c=!1,h=!1,p=W2(e,n,s,null);s>0&&(t.directiveToIndex=new Map);for(let S=0;S<s;S++){const v=i[S];if(t.mergedAttrs=R0(t.mergedAttrs,v.hostAttrs),ej(e,t,n,p,v),ij(p,v,r),null!==a&&a.has(v)){const[P,Z]=a.get(v);t.directiveToIndex.set(v.type,[p,P+t.directiveStart,Z+t.directiveStart])}else(null===o||!o.has(v))&&t.directiveToIndex.set(v.type,p);null!==v.contentQueries&&(t.flags|=4),(null!==v.hostBindings||null!==v.hostAttrs||0!==v.hostVars)&&(t.flags|=64);const C=v.type.prototype;!c&&(C.ngOnChanges||C.ngOnInit||C.ngDoCheck)&&((e.preOrderHooks??=[]).push(t.index),c=!0),!h&&(C.ngOnChanges||C.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(t.index),h=!0),p++}!function JY(e,n,t){for(let i=n.directiveStart;i<n.directiveEnd;i++){const r=e.data[i];if(null!==t&&t.has(r)){const o=t.get(r);jM(0,n,o,i),jM(1,n,o,i),WM(n,i,!0)}else YM(0,n,r,i),YM(1,n,r,i),WM(n,i,!1)}}(e,t,o)}(e,n,t,s,o,l,c)}null!==o&&null!==i&&function QY(e,n,t){const i=e.localNames=[];for(let r=0;r<n.length;r+=2){const o=t[n[r+1]];if(null==o)throw new ge(-301,!1);i.push(n[r],o)}}(t,i,o)}function ZY(e,n,t){n.componentOffset=t,(e.components??=[]).push(n.index)}function YM(e,n,t,i){const r=0===e?t.inputs:t.outputs;for(const o in r)if(r.hasOwnProperty(o)){let a;a=0===e?n.inputs??={}:n.outputs??={},a[o]??=[],a[o].push(i),$M(n,o)}}function jM(e,n,t,i){const r=0===e?t.inputs:t.outputs;for(const o in r)if(r.hasOwnProperty(o)){const a=r[o];let s;s=0===e?n.hostDirectiveInputs??={}:n.hostDirectiveOutputs??={},s[a]??=[],s[a].push(i,o),$M(n,a)}}function $M(e,n){"class"===n?e.flags|=8:"style"===n&&(e.flags|=16)}function WM(e,n,t){const{attrs:i,inputs:r,hostDirectiveInputs:o}=e;if(null===i||!t&&null===r||t&&null===o||Cg(e))return e.initialInputs??=[],void e.initialInputs.push(null);let a=null,s=0;for(;s<i.length;){const l=i[s];if(0!==l)if(5!==l){if("number"==typeof l)break;if(!t&&r.hasOwnProperty(l)){const c=r[l];for(const h of c)if(h===n){a??=[],a.push(l,i[s+1]);break}}else if(t&&o.hasOwnProperty(l)){const c=o[l];for(let h=0;h<c.length;h+=2)if(c[h]===n){a??=[],a.push(c[h+1],i[s+1]);break}}s+=2}else s+=2;else s+=4}e.initialInputs??=[],e.initialInputs.push(a)}function ej(e,n,t,i,r){e.data[i]=r;const o=r.factory||(r.factory=Mo(r.type)),a=new A2(o,Ga(r),xe,null);e.blueprint[i]=a,t[i]=a,function tj(e,n,t,i,r){const o=r.hostBindings;if(o){let a=e.hostBindingOpCodes;null===a&&(a=e.hostBindingOpCodes=[]);const s=~n.index;(function nj(e){let n=e.length;for(;n>0;){const t=e[--n];if("number"==typeof t&&t<0)return t}return 0})(a)!=s&&a.push(s),a.push(t,i,o)}}(e,n,i,W2(e,t,r.hostVars,qi),r)}function ij(e,n,t){if(t){if(n.exportAs)for(let i=0;i<n.exportAs.length;i++)t[n.exportAs[i]]=e;Ga(n)&&(t[""]=e)}}function i5(e,n,t,i,r,o,a,s){const l=n[1],c=l.consts,p=S1(l,e,t,i,$o(c,a));return o&&qM(l,n,p,$o(c,s),r),p.mergedAttrs=R0(p.mergedAttrs,p.attrs),null!==p.attrs&&T3(p,p.attrs,!1),null!==p.mergedAttrs&&T3(p,p.mergedAttrs,!0),null!==l.queries&&l.queries.elementStart(l,p),p}function r5(e,n){FC(e,n),a4(n)&&e.queries.elementEnd(n)}function D3(e){return!!o5(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function o5(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function nc(e,n,t){return e[n]=t}function Or(e,n,t){return t!==qi&&(!Object.is(e[n],t)&&(e[n]=t,!0))}function D1(e,n,t,i){const r=Or(e,n,t);return Or(e,n+1,i)||r}function uh(e,n,t){return function i(r){ed(fl(e)?ca(e.index,n):n,5);const a=n[8];let s=KM(n,a,t,r),l=i.__ngNextListenerFn__;for(;l;)s=KM(n,a,l,r)&&s,l=l.__ngNextListenerFn__;return s}}function KM(e,n,t,i){const r=W(null);try{return Ji(6,n,t),!1!==t(i)}catch(o){return function Ug(e,n){const t=e[9];if(!t)return;let i;try{i=t.get(yl,null)}catch{i=null}i?.(n)}(e,o),!1}finally{Ji(7,n,t),W(r)}}function QM(e,n,t,i,r,o,a,s){const l=pu(e);let c=!1,h=null;if(!i&&l&&(h=function cj(e,n,t,i){const r=e.cleanup;if(null!=r)for(let o=0;o<r.length-1;o+=2){const a=r[o];if(a===t&&r[o+1]===i){const s=n[7],l=r[o+2];return s&&s.length>l?s[l]:null}"string"==typeof a&&(o+=2)}return null}(n,t,o,e.index)),null!==h)(h.__ngLastListenerFn__||h).__ngNextListenerFn__=a,h.__ngLastListenerFn__=a,c=!0;else{const p=Lr(e,t),S=i?i(p):p,v=r.listen(S,o,s);(function lj(e){return e.startsWith("animation")||e.startsWith("transition")})(o)||ZM(i?P=>i(xo(P[e.index])):e.index,n,t,o,s,v,!1)}return c}function ZM(e,n,t,i,r,o,a){const s=n.firstCreatePass?d4(n):null,l=Ys(t),c=l.length;l.push(r,o),s&&s.push(i,e,c,(c+1)*(a?-1:1))}function k3(e,n,t,i,r,o){const s=n[1],p=n[t][s.data[t].outputs[i]].subscribe(o);ZM(e.index,s,n,r,o,p,!0)}
/*!
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.dev/license
       */
const xu=Symbol("BINDING");class XM extends id{ngModule;constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){const t=Gn(n);return new E3(t,this.ngModule)}}class E3 extends BM{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=function vj(e){return Object.keys(e).map(n=>{const[t,i,r]=e[n],o={propName:t,templateName:n,isSignal:0!==(i&n3.SignalBased)};return r&&(o.transform=r),o})}(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=function _j(e){return Object.keys(e).map(n=>({propName:e[n],templateName:n}))}(this.componentDef.outputs),this.cachedOutputs}constructor(n,t){super(),this.componentDef=n,this.ngModule=t,this.componentType=n.type,this.selector=function GU(e){return e.map(WU).join(",")}(n.selectors),this.ngContentSelectors=n.ngContentSelectors??[],this.isBoundToModule=!!t}create(n,t,i,r,o,a){Ji(22);const s=W(null);try{const l=this.componentDef,c=function Sj(e,n,t,i){const r=e?["ng-version","20.3.18"]:function KU(e){const n=[],t=[];let i=1,r=2;for(;i<e.length;){let o=e[i];if("string"==typeof o)2===r?""!==o&&n.push(o,e[++i]):8===r&&t.push(o);else{if(!bl(r))break;r=o}i++}return t.length&&n.push(1,...t),n}(n.selectors[0]);let o=null,a=null,s=0;if(t)for(const h of t)s+=h[xu].requiredVars,h.create&&(h.targetIdx=0,(o??=[]).push(h)),h.update&&(h.targetIdx=0,(a??=[]).push(h));if(i)for(let h=0;h<i.length;h++){const p=i[h];if("function"!=typeof p)for(const S of p.bindings){s+=S[xu].requiredVars;const v=h+1;S.create&&(S.targetIdx=v,(o??=[]).push(S)),S.update&&(S.targetIdx=v,(a??=[]).push(S))}}const l=[n];if(i)for(const h of i){const S=po("function"==typeof h?h:h.type);l.push(S)}return wg(0,null,function Mj(e,n){return e||n?t=>{if(1&t&&e)for(const i of e)i.create();if(2&t&&n)for(const i of n)i.update()}:null}(o,a),1,s,l,null,null,null,[r],null)}(i,l,a,o),h=function yj(e,n,t){let i=n instanceof Ti?n:n?.injector;return i&&null!==e.getStandaloneInjector&&(i=e.getStandaloneInjector(i)||i),i?new rd(t,i):t}(l,r||this.ngModule,n),p=function bj(e){const n=e.get(Ws,null);if(null===n)throw new ge(407,!1);return{rendererFactory:n,sanitizer:e.get(jY,null),changeDetectionScheduler:e.get(h1,null),ngReflect:!1}}(h),S=p.rendererFactory.createRenderer(null,l),v=i?function Sq(e,n,t,i){const o=i.get(pB,!1)||t===Hc.ShadowDom,a=e.selectRootElement(n,o);return function Mq(e){nM(e)}(a),a}(S,i,l.encapsulation,h):function Cj(e,n){const t=function wj(e){return(e.selectors[0][0]||"div").toLowerCase()}(e);return J4(n,t,"svg"===t?"svg":"math"===t?"math":null)}(l,S),C=a?.some(JM)||o?.some(re=>"function"!=typeof re&&re.bindings.some(JM)),P=t3(null,c,null,512|Sg(l),null,null,p,S,h,null,null);P[27]=v,wm(P);let Z=null;try{const re=i5(27,P,2,"#host",()=>c.directiveRegistry,!0,0);gS(S,v,re),ss(v,P),c3(c,P,re),ug(c,re,P),r5(c,re),void 0!==t&&function Dj(e,n,t){const i=e.projection=[];for(let r=0;r<n.length;r++){const o=t[r];i.push(null!=o&&o.length?Array.from(o):null)}}(re,this.ngContentSelectors,t),Z=ca(re.index,P),P[8]=Z[8],p3(c,P,null)}catch(re){throw null!==Z&&Um(Z),Um(P),re}finally{Ji(23),Sm()}return new Tj(this.componentType,P,!!C)}finally{W(s)}}}function JM(e){const n=e[xu].kind;return"input"===n||"twoWay"===n}class Tj extends UY{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(n,t,i){super(),this._rootLView=t,this._hasInputBindings=i,this._tNode=Gl(t[1],27),this.location=H0(this._tNode,t),this.instance=ca(this._tNode.index,t)[8],this.hostView=this.changeDetectorRef=new J2(t,void 0),this.componentType=n}setInput(n,t){const i=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(n)&&Object.is(this.previousInputValues.get(n),t))return;const r=this._rootLView;f3(i,r[1],r,n,t),this.previousInputValues.set(n,t),ed(ca(i.index,r),1)}get injector(){return new ro(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}}let La=(()=>class e{static __NG_ELEMENT_ID__=xj})();function xj(){return nT(Zt(),Pe())}const kj=La,eT=class extends kj{_lContainer;_hostTNode;_hostLView;constructor(n,t,i){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=i}get element(){return H0(this._hostTNode,this._hostLView)}get injector(){return new ro(this._hostTNode,this._hostLView)}get parentInjector(){const n=O4(this._hostTNode,this._hostLView);if(Pm(n)){const t=O2(n,this._hostLView),i=L2(n);return new ro(t[1].data[i+8],t)}return new ro(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const t=tT(this._lContainer);return null!==t&&t[n]||null}get length(){return this._lContainer.length-10}createEmbeddedView(n,t,i){let r,o;"number"==typeof i?r=i:null!=i&&(r=i.index,o=i.injector);const s=n.createEmbeddedViewImpl(t||{},o,null);return this.insertImpl(s,r,w1(this._hostTNode,null)),s}createComponent(n,t,i,r,o,a,s){const l=n&&!function z2(e){return"function"==typeof e}(n);let c;if(l)c=t;else{const Z=t||{};c=Z.index,i=Z.injector,r=Z.projectableNodes,o=Z.environmentInjector||Z.ngModuleRef,a=Z.directives,s=Z.bindings}const h=l?n:new E3(Gn(n)),p=i||this.parentInjector;if(!o&&null==h.ngModule){const re=(l?p:this.parentInjector).get(Ti,null);re&&(o=re)}Gn(h.componentType??{});const P=h.create(p,r,null,o,a,s);return this.insertImpl(P.hostView,c,w1(this._hostTNode,null)),P}insert(n,t){return this.insertImpl(n,t,!0)}insertImpl(n,t,i){const r=n._lView;if(function gl(e){return la(e[3])}(r)){const s=this.indexOf(n);if(-1!==s)this.detach(s);else{const l=r[3],c=new eT(l,l[5],l[3]);c.detach(c.indexOf(n))}}const o=this._adjustIndex(t),a=this._lContainer;return td(a,r,o,i),n.attachToViewContainerRef(),T0(a5(a),o,n),n}move(n,t){return this.insert(n,t)}indexOf(n){const t=tT(this._lContainer);return null!==t?t.indexOf(n):-1}remove(n){const t=this._adjustIndex(n,-1),i=X2(this._lContainer,t);i&&(ai(a5(this._lContainer),t),Q2(i[1],i))}detach(n){const t=this._adjustIndex(n,-1),i=X2(this._lContainer,t);return i&&null!=ai(a5(this._lContainer),t)?new J2(i):null}_adjustIndex(n,t=0){return n??this.length+t}};function tT(e){return e[8]}function a5(e){return e[8]||(e[8]=[])}function nT(e,n){let t;const i=n[e.index];return la(i)?t=i:(t=pM(i,n,null,e),n[e.index]=t,Mg(n,t)),iT(t,n,e,i),new eT(t,e,n)}let iT=function oT(e,n,t,i){if(e[7])return;let r;r=8&t.type?xo(i):function Ej(e,n){const t=e[11],i=t.createComment(""),r=Lr(n,e),o=t.parentNode(r);return y1(t,o,i,t.nextSibling(r),!1),i}(n,t),e[7]=r};class l5{queryList;matches=null;constructor(n){this.queryList=n}clone(){return new l5(this.queryList)}setDirty(){this.queryList.setDirty()}}class c5{queries;constructor(n=[]){this.queries=n}createEmbeddedView(n){const t=n.queries;if(null!==t){const i=null!==n.contentQueries?n.contentQueries[0]:t.length,r=[];for(let o=0;o<i;o++){const a=t.getByIndex(o);r.push(this.queries[a.indexInDeclarationView].clone())}return new c5(r)}return null}insertView(n){this.dirtyQueriesWithMatches(n)}detachView(n){this.dirtyQueriesWithMatches(n)}finishViewCreation(n){this.dirtyQueriesWithMatches(n)}dirtyQueriesWithMatches(n){for(let t=0;t<this.queries.length;t++)null!==p5(n,t).matches&&this.queries[t].setDirty()}}class aT{flags;read;predicate;constructor(n,t,i=null){this.flags=t,this.read=i,this.predicate="string"==typeof n?function Nj(e){return e.split(",").map(n=>n.trim())}(n):n}}class u5{queries;constructor(n=[]){this.queries=n}elementStart(n,t){for(let i=0;i<this.queries.length;i++)this.queries[i].elementStart(n,t)}elementEnd(n){for(let t=0;t<this.queries.length;t++)this.queries[t].elementEnd(n)}embeddedTView(n){let t=null;for(let i=0;i<this.length;i++){const r=null!==t?t.length:0,o=this.getByIndex(i).embeddedTView(n,r);o&&(o.indexInDeclarationView=i,null!==t?t.push(o):t=[o])}return null!==t?new u5(t):null}template(n,t){for(let i=0;i<this.queries.length;i++)this.queries[i].template(n,t)}getByIndex(n){return this.queries[n]}get length(){return this.queries.length}track(n){this.queries.push(n)}}class d5{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(n,t=-1){this.metadata=n,this._declarationNodeIndex=t}elementStart(n,t){this.isApplyingToNode(t)&&this.matchTNode(n,t)}elementEnd(n){this._declarationNodeIndex===n.index&&(this._appliesToNextNode=!1)}template(n,t){this.elementStart(n,t)}embeddedTView(n,t){return this.isApplyingToNode(n)?(this.crossesNgTemplate=!0,this.addMatch(-n.index,t),new d5(this.metadata)):null}isApplyingToNode(n){if(this._appliesToNextNode&&1&~this.metadata.flags){const t=this._declarationNodeIndex;let i=n.parent;for(;null!==i&&8&i.type&&i.index!==t;)i=i.parent;return t===(null!==i?i.index:-1)}return this._appliesToNextNode}matchTNode(n,t){const i=this.metadata.predicate;if(Array.isArray(i))for(let r=0;r<i.length;r++){const o=i[r];this.matchTNodeWithReadOption(n,t,Aj(t,o)),this.matchTNodeWithReadOption(n,t,P4(t,n,o,!1,!1))}else i===Wo?4&t.type&&this.matchTNodeWithReadOption(n,t,-1):this.matchTNodeWithReadOption(n,t,P4(t,n,i,!1,!1))}matchTNodeWithReadOption(n,t,i){if(null!==i){const r=this.metadata.read;if(null!==r)if(r===pn||r===La||r===Wo&&4&t.type)this.addMatch(t.index,-2);else{const o=P4(t,n,r,!1,!1);null!==o&&this.addMatch(t.index,o)}else this.addMatch(t.index,i)}}addMatch(n,t){null===this.matches?this.matches=[n,t]:this.matches.push(n,t)}}function Aj(e,n){const t=e.localNames;if(null!==t)for(let i=0;i<t.length;i+=2)if(t[i]===n)return t[i+1];return null}function Oj(e,n,t,i){return-1===t?function Lj(e,n){return 11&e.type?H0(e,n):4&e.type?g3(e,n):null}(n,e):-2===t?function Pj(e,n,t){return t===pn?H0(n,e):t===Wo?g3(n,e):t===La?nT(n,e):void 0}(e,n,i):P2(e,e[1],t,n)}function sT(e,n,t,i){const r=n[18].queries[i];if(null===r.matches){const o=e.data,a=t.matches,s=[];for(let l=0;null!==a&&l<a.length;l+=2){const c=a[l];s.push(c<0?null:Oj(n,o[c],a[l+1],t.metadata.read))}r.matches=s}return r.matches}function h5(e,n,t,i){const r=e.queries.getByIndex(t),o=r.matches;if(null!==o){const a=sT(e,n,r,t);for(let s=0;s<o.length;s+=2){const l=o[s];if(l>0)i.push(a[s/2]);else{const c=o[s+1],h=n[-l];for(let p=10;p<h.length;p++){const S=h[p];S[16]===S[3]&&h5(S[1],S,c,i)}if(null!==h[9]){const p=h[9];for(let S=0;S<p.length;S++){const v=p[S];h5(v[1],v,c,i)}}}}}return i}function f5(e,n){return e[18].queries[n].queryList}function lT(e,n,t){const i=new V0(!(4&~t));return function vm(e,n,t,i){const r=Ys(n);r.push(t),e.firstCreatePass&&d4(e).push(i,r.length-1)}(e,n,i,i.destroy),(n[18]??=new c5).queries.push(new l5(i))-1}function cT(e,n,t){const i=xn();return i.firstCreatePass&&(dT(i,new aT(e,n,t),-1),!(2&~n)&&(i.staticViewQueries=!0)),lT(i,Pe(),n)}function uT(e,n,t,i){const r=xn();if(r.firstCreatePass){const o=Zt();dT(r,new aT(n,t,i),o.index),function Fj(e,n){const t=e.contentQueries||(e.contentQueries=[]);n!==(t.length?t[t.length-1]:-1)&&t.push(e.queries.length-1,n)}(r,e),!(2&~t)&&(r.staticContentQueries=!0)}return lT(r,Pe(),t)}function dT(e,n,t){null===e.queries&&(e.queries=new u5),e.queries.track(new d5(n,t))}function p5(e,n){return e.queries.getByIndex(n)}function hT(e,n){const t=e[1],i=p5(t,n);return i.crossesNgTemplate?h5(t,e,n,[]):sT(t,e,i,n)}function m5(e,n,t){let i;const r=Ye(()=>{i._dirtyCounter();const o=function Hj(e,n){const t=e._lView,i=e._queryIndex;if(void 0===t||void 0===i||4&t[2])return n?void 0:Vn;const r=f5(t,i),o=hT(t,i);return r.reset(o,rw),n?r.first:r._changesDetected||void 0===e._flatValue?e._flatValue=r.toArray():e._flatValue}(i,e);if(n&&void 0===o)throw new ge(-951,!1);return o});return i=r[q],i._dirtyCounter=io(0),i._flatValue=void 0,r}function fT(e){return m5(!0,!1)}function pT(e){return m5(!0,!0)}function mT(e,n){const t=e[q];t._lView=Pe(),t._queryIndex=n,t._queryList=f5(t._lView,n),t._queryList.onDirty(()=>t._dirtyCounter.update(i=>i+1))}let ku=class{},yT=class{};class v5 extends ku{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new XM(this);constructor(n,t,i,r=!0){super(),this.ngModuleType=n,this._parent=t;const o=Ea(n);this._bootstrapComponents=tc(o.bootstrap),this._r3Injector=aC(n,t,[{provide:ku,useValue:this},{provide:id,useValue:this.componentFactoryResolver},...i],qo(n),new Set(["environment"])),r&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){const n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}}class bT extends yT{moduleType;constructor(n){super(),this.moduleType=n}create(n){return new v5(this.moduleType,n,[])}}class Kj extends ku{injector;componentFactoryResolver=new XM(this);instance=null;constructor(n){super();const t=new Ia([...n.providers,{provide:ku,useValue:this},{provide:id,useValue:this.componentFactoryResolver}],n.parent||To(),n.debugName,new Set(["environment"]));this.injector=t,n.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}}function _5(e,n,t=null){return new Kj({providers:e,parent:n,debugName:t,runEnvironmentInitializers:!0}).injector}let Qj=(()=>{class e{_injector;cachedInjectors=new Map;constructor(t){this._injector=t}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t)){const i=_e(0,t.type),r=i.length>0?_5([i],this._injector,`Standalone[${t.type.name}]`):null;this.cachedInjectors.set(t,r)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(const t of this.cachedInjectors.values())null!==t&&t.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=Ke({token:e,providedIn:"environment",factory:()=>new e(Ft(Ti))})}return e})();function bt(e){return Rc(()=>{const n=wT(e),t={...n,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===F4.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:n.standalone?r=>r.get(Qj).getOrCreateStandaloneInjector(t):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Hc.Emulated,styles:e.styles||Vn,_:null,schemas:e.schemas||null,tView:null,id:""};n.standalone&&Aa("NgStandalone"),ST(t);const i=e.dependencies;return t.directiveDefs=I3(i,CT),t.pipeDefs=I3(i,Ya),t.id=function e$(e){let n=0;const i=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,"function"==typeof e.consts?"":e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(const o of i.join("|"))n=Math.imul(31,n)+o.charCodeAt(0)|0;return n+=2147483648,"c"+n}(t),t})}function CT(e){return Gn(e)||po(e)}function Ci(e){return Rc(()=>({type:e.type,bootstrap:e.bootstrap||Vn,declarations:e.declarations||Vn,imports:e.imports||Vn,exports:e.exports||Vn,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Zj(e,n){if(null==e)return xa;const t={};for(const i in e)if(e.hasOwnProperty(i)){const r=e[i];let o,a,s,l;Array.isArray(r)?(s=r[0],o=r[1],a=r[2]??o,l=r[3]||null):(o=r,a=r,s=n3.None,l=null),t[o]=[i,s,l],n[o]=a}return t}function Xj(e){if(null==e)return xa;const n={};for(const t in e)e.hasOwnProperty(t)&&(n[e[t]]=t);return n}function _t(e){return Rc(()=>{const n=wT(e);return ST(n),n})}function Oa(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function wT(e){const n={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputConfig:e.inputs||xa,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:!0===e.signals,selectors:e.selectors||Vn,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:Zj(e.inputs,n),outputs:Xj(e.outputs),debugInfo:null}}function ST(e){e.features?.forEach(n=>n(e))}function I3(e,n){return e?()=>{const t="function"==typeof e?e():e,i=[];for(const r of t){const o=n(r);null!==o&&i.push(o)}return i}:null}function zn(e){let n=function MT(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),t=!0;const i=[e];for(;n;){let r;if(Ga(e))r=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new ge(903,!1);r=n.\u0275dir}if(r){if(t){i.push(r);const a=e;a.inputs=y5(e.inputs),a.declaredInputs=y5(e.declaredInputs),a.outputs=y5(e.outputs);const s=r.hostBindings;s&&o$(e,s);const l=r.viewQuery,c=r.contentQueries;if(l&&i$(e,l),c&&r$(e,c),t$(e,r),g0(e.outputs,r.outputs),Ga(r)&&r.data.animation){const h=e.data;h.animation=(h.animation||[]).concat(r.data.animation)}}const o=r.features;if(o)for(let a=0;a<o.length;a++){const s=o[a];s&&s.ngInherit&&s(e),s===zn&&(t=!1)}}n=Object.getPrototypeOf(n)}!function n$(e){let n=0,t=null;for(let i=e.length-1;i>=0;i--){const r=e[i];r.hostVars=n+=r.hostVars,r.hostAttrs=R0(r.hostAttrs,t=R0(t,r.hostAttrs))}}(i)}function t$(e,n){for(const t in n.inputs){if(!n.inputs.hasOwnProperty(t)||e.inputs.hasOwnProperty(t))continue;const i=n.inputs[t];void 0!==i&&(e.inputs[t]=i,e.declaredInputs[t]=n.declaredInputs[t])}}function y5(e){return e===xa?{}:e===Vn?[]:e}function i$(e,n){const t=e.viewQuery;e.viewQuery=t?(i,r)=>{n(i,r),t(i,r)}:n}function r$(e,n){const t=e.contentQueries;e.contentQueries=t?(i,r,o)=>{n(i,r,o),t(i,r,o)}:n}function o$(e,n){const t=e.hostBindings;e.hostBindings=t?(i,r)=>{n(i,r),t(i,r)}:n}function z3(e){const n=t=>{const i=Array.isArray(e);null===t.hostDirectives?(t.resolveHostDirectives=c$,t.hostDirectives=i?e.map(b5):[e]):i?t.hostDirectives.unshift(...e.map(b5)):t.hostDirectives.unshift(e)};return n.ngInherit=!0,n}function c$(e){const n=[];let t=!1,i=null,r=null;for(let o=0;o<e.length;o++){const a=e[o];if(null!==a.hostDirectives){const s=n.length;i??=new Map,r??=new Map,TT(a,n,i),r.set(a,[s,n.length-1])}0===o&&Ga(a)&&(t=!0,n.push(a))}for(let o=t?1:0;o<e.length;o++)n.push(e[o]);return[n,i,r]}function TT(e,n,t){if(null!==e.hostDirectives)for(const i of e.hostDirectives)if("function"==typeof i){const r=i();for(const o of r)DT(b5(o),n,t)}else DT(i,n,t)}function DT(e,n,t){const i=po(e.directive);(function u$(e,n){for(const t in n)n.hasOwnProperty(t)&&(e[n[t]]=e[t])})(i.declaredInputs,e.inputs),TT(i,n,t),t.set(i,e),n.push(i)}function b5(e){return"function"==typeof e?{directive:yn(e),inputs:xa,outputs:xa}:{directive:yn(e.directive),inputs:xT(e.inputs),outputs:xT(e.outputs)}}function xT(e){if(void 0===e||0===e.length)return xa;const n={};for(let t=0;t<e.length;t+=2)n[e[t]]=e[t+1];return n}function ET(e,n,t,i,r,o,a,s){if(t.firstCreatePass){e.mergedAttrs=R0(e.mergedAttrs,e.attrs);const h=e.tView=wg(2,e,r,o,a,t.directiveRegistry,t.pipeRegistry,null,t.schemas,t.consts,null);null!==t.queries&&(t.queries.template(t,e),h.queries=t.queries.embeddedTView(e))}s&&(e.flags|=s),_l(e,!1);const l=IT(t,n,e,i);b4()&&Fg(t,n,l,e),ss(l,n);const c=pM(l,n,l,e);n[i+27]=c,Mg(n,c)}function x1(e,n,t,i,r,o,a,s,l,c,h){const p=t+27;let S;if(n.firstCreatePass){if(S=S1(n,p,4,a||null,s||null),null!=c){const v=$o(n.consts,c);S.localNames=[];for(let C=0;C<v.length;C+=2)S.localNames.push(v[C],-1)}}else S=n.data[p];return ET(S,e,n,t,i,r,o,l),null!=c&&X0(e,S,h),S}function ve(e,n,t,i,r,o,a,s){const l=Pe(),c=xn();return function d$(e,n,t,i,r,o,a,s,l,c,h){const p=t+27;let S;n.firstCreatePass?(S=S1(n,p,4,a||null,s||null),T2()&&qM(n,e,S,$o(n.consts,c),Bg),FC(n,S)):S=n.data[p],ET(S,e,n,t,i,r,o,l),pu(S)&&c3(n,e,S),null!=c&&X0(e,S,h)}(l,c,e,n,t,i,r,$o(c.consts,o),void 0,a,s),ve}function C5(e,n,t,i,r,o,a,s){const l=Pe(),c=xn();return x1(l,c,e,n,t,i,r,$o(c.consts,o),void 0,a,s),C5}let IT=function zT(e,n,t,i){return D2(!0),n[11].createComment("")};let YT=(()=>{class e{log(t){console.log(t)}warn(t){console.warn(t)}static \u0275fac=function(i){return new(i||e)};static \u0275prov=Ke({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();const oD=new Ae(""),H3=new Ae("");let I5,k5=(()=>{class e{_ngZone;registry;_isZoneStable=!0;_callbacks=[];_taskTrackingZone=null;_destroyRef;constructor(t,i,r){this._ngZone=t,this.registry=i,d2()&&(this._destroyRef=U(kn,{optional:!0})??void 0),I5||(function yW(e){I5=e}(r),r.addToWindow(i)),this._watchAngularEvents(),t.run(()=>{this._taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){const t=this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),i=this._ngZone.runOutsideAngular(()=>this._ngZone.onStable.subscribe({next:()=>{Gt.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}}));this._destroyRef?.onDestroy(()=>{t.unsubscribe(),i.unsubscribe()})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb()}});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(t)||(clearTimeout(i.timeoutId),!1))}}getPendingTasks(){return this._taskTrackingZone?this._taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,i,r){let o=-1;i&&i>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==o),t()},i)),this._callbacks.push({doneCb:t,timeoutId:o,updateCb:r})}whenStable(t,i,r){if(r&&!this._taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(t,i,r),this._runCallbacksIfReady()}registerApplication(t){this.registry.registerApplication(t,this)}unregisterApplication(t){this.registry.unregisterApplication(t)}findProviders(t,i,r){return[]}static \u0275fac=function(i){return new(i||e)(Ft(Gt),Ft(E5),Ft(H3))};static \u0275prov=Ke({token:e,factory:e.\u0275fac})}return e})(),E5=(()=>{class e{_applications=new Map;registerApplication(t,i){this._applications.set(t,i)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,i=!0){return I5?.findTestabilityInTree(this,t,i)??null}static \u0275fac=function(i){return new(i||e)};static \u0275prov=Ke({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function gh(e){return!!e&&"function"==typeof e.then}function aD(e){return!!e&&"function"==typeof e.subscribe}const sD=new Ae("");let lD=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((t,i)=>{this.resolve=t,this.reject=i});appInits=U(sD,{optional:!0})??[];injector=U($r);constructor(){}runInitializers(){if(this.initialized)return;const t=[];for(const r of this.appInits){const o=ja(this.injector,r);if(gh(o))t.push(o);else if(aD(o)){const a=new Promise((s,l)=>{o.subscribe({complete:s,error:l})});t.push(a)}}const i=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{i()}).catch(r=>{this.reject(r)}),0===t.length&&i(),this.initialized=!0}static \u0275fac=function(i){return new(i||e)};static \u0275prov=Ke({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const bW=new Ae("");function cD(e,n){return Array.isArray(n)?n.reduce(cD,e):{...e,...n}}let Cl=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=U(yl);afterRenderManager=U(RS);zonelessEnabled=U(cC);rootEffectScheduler=U(hC);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new Dt;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=U(_u);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(Wt(t=>!t))}constructor(){U(K2,{optional:!0})}whenStable(){let t;return new Promise(i=>{t=this.isStable.subscribe({next:r=>{r&&i()}})}).finally(()=>{t.unsubscribe()})}_injector=U(Ti);_rendererFactory=null;get injector(){return this._injector}bootstrap(t,i){return this.bootstrapImpl(t,i)}bootstrapImpl(t,i,r=$r.NULL){return this._injector.get(Gt).run(()=>{Ji(10);const a=t instanceof BM;if(!this._injector.get(lD).done)throw new ge(405,"");let l;l=a?t:this._injector.get(id).resolveComponentFactory(t),this.componentTypes.push(l.componentType);const c=function wW(e){return e.isBoundToModule}(l)?void 0:this._injector.get(ku),p=l.create(r,[],i||l.selector,c),S=p.location.nativeElement,v=p.injector.get(oD,null);return v?.registerApplication(S),p.onDestroy(()=>{this.detachView(p.hostView),V3(this.components,p),v?.unregisterApplication(S)}),this._loadComponent(p),Ji(11,p),p})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){Ji(12),null!==this.tracingSnapshot?this.tracingSnapshot.run(xg.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new ge(101,!1);const t=W(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,W(t),this.afterTick.next(),Ji(13)}};synchronize(){null===this._rendererFactory&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Ws,null,{optional:!0}));let t=0;for(;0!==this.dirtyFlags&&t++<10;)Ji(14),this.synchronizeOnce(),Ji(15)}synchronizeOnce(){16&this.dirtyFlags&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let t=!1;if(7&this.dirtyFlags){const i=!!(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:r}of this.allViews)(i||mu(r))&&(m3(r,i&&!this.zonelessEnabled?0:1),t=!0);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),23&this.dirtyFlags)return}t||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),8&this.dirtyFlags&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){this.allViews.some(({_lView:t})=>mu(t))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(t){const i=t;this._views.push(i),i.attachToAppRef(this)}detachView(t){const i=t;V3(this._views,i),i.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView);try{this.tick()}catch(r){this.internalErrorHandler(r)}this.components.push(t),this._injector.get(bW,[]).forEach(r=>r(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>V3(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new ge(406,!1);const t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(i){return new(i||e)};static \u0275prov=Ke({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function V3(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function ft(e,n,t,i){const r=Pe();return Or(r,G(),n)&&(xn(),function Iq(e,n,t,i,r,o){const a=Lr(e,n);!function u3(e,n,t,i,r,o,a){if(null==o)e.removeAttribute(n,r,t);else{const s=null==a?hn(o):a(o,i||"",r);e.setAttribute(n,r,s,t)}}(n[11],a,o,e.value,t,i,r)}(Ql(),r,e,n,t,i)),ft}typeof document<"u"&&document;class yG{destroy(n){}updateValue(n,t){}swap(n,t){const i=Math.min(n,t),r=Math.max(n,t),o=this.detach(r);if(r-i>1){const a=this.detach(i);this.attach(i,o),this.attach(r,a)}else this.attach(i,o)}move(n,t){this.attach(t,this.detach(n))}}function B5(e,n,t,i,r){return e===t&&Object.is(n,i)?1:Object.is(r(e,n),r(t,i))?-1:0}function U5(e,n,t,i){return!(void 0===n||!n.has(i)||(e.attach(t,n.get(i)),n.delete(i),0))}function wD(e,n,t,i,r){if(U5(e,n,i,t(i,r)))e.updateValue(i,r);else{const o=e.create(i,r);e.attach(i,o)}}function SD(e,n,t,i){const r=new Set;for(let o=n;o<=t;o++)r.add(i(o,e.at(o)));return r}class MD{kvMap=new Map;_vMap=void 0;has(n){return this.kvMap.has(n)}delete(n){if(!this.has(n))return!1;const t=this.kvMap.get(n);return void 0!==this._vMap&&this._vMap.has(t)?(this.kvMap.set(n,this._vMap.get(t)),this._vMap.delete(t)):this.kvMap.delete(n),!0}get(n){return this.kvMap.get(n)}set(n,t){if(this.kvMap.has(n)){let i=this.kvMap.get(n);void 0===this._vMap&&(this._vMap=new Map);const r=this._vMap;for(;r.has(i);)i=r.get(i);r.set(i,t)}else this.kvMap.set(n,t)}forEach(n){for(let[t,i]of this.kvMap)if(n(i,t),void 0!==this._vMap){const r=this._vMap;for(;r.has(i);)i=r.get(i),n(i,t)}}}function lt(e,n,t,i,r,o,a,s){Aa("NgControlFlow");const l=Pe(),c=xn();return x1(l,c,e,n,t,i,r,$o(c.consts,o),256,a,s),q5}function q5(e,n,t,i,r,o,a,s){Aa("NgControlFlow");const l=Pe(),c=xn();return x1(l,c,e,n,t,i,r,$o(c.consts,o),512,a,s),q5}function ct(e,n){Aa("NgControlFlow");const t=Pe(),i=G(),r=t[i]!==qi?t[i]:-1,o=-1!==r?K3(t,27+r):void 0;if(Or(t,i,e)){const s=W(null);try{if(void 0!==o&&Yg(o,0),-1!==e){const l=27+e,c=K3(t,l),h=Y5(t[1],l),p=null;td(c,J0(t,h,n,{dehydratedView:p}),0,w1(h,p))}}finally{W(s)}}else if(void 0!==o){const s=mM(o,0);void 0!==s&&(s[8]=n)}}class CG{lContainer;$implicit;$index;constructor(n,t,i){this.lContainer=n,this.$implicit=t,this.$index=i}get $count(){return this.lContainer.length-10}}function Vc(e){return e}function P1(e,n){return n}class wG{hasEmptyBlock;trackByFn;liveCollection;constructor(n,t,i){this.hasEmptyBlock=n,this.trackByFn=t,this.liveCollection=i}}function Ai(e,n,t,i,r,o,a,s,l,c,h,p,S){Aa("NgControlFlow");const v=Pe(),C=xn(),P=void 0!==l,Z=Pe(),re=s?a.bind(Z[15][8]):a,ie=new wG(P,re);Z[27+e]=ie,x1(v,C,e+1,n,t,i,r,$o(C.consts,o),256),P&&x1(v,C,e+2,l,c,h,p,$o(C.consts,S),512)}class SG extends yG{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(n,t,i){super(),this.lContainer=n,this.hostLView=t,this.templateTNode=i}get length(){return this.lContainer.length-10}at(n){return this.getLView(n)[8].$implicit}attach(n,t){const i=t[6];this.needsIndexUpdate||=n!==this.length,td(this.lContainer,t,n,w1(this.templateTNode,i)),function MG(e,n){if(e.length<=10)return;const i=e[10+n],r=i?i[26]:void 0;i&&r&&r.detachedLeaveAnimationFns&&r.detachedLeaveAnimationFns.length>0&&(function fq(e,n){const t=e.get(o3);if(n.detachedLeaveAnimationFns){for(const i of n.detachedLeaveAnimationFns)t.queue.delete(i);n.detachedLeaveAnimationFns=void 0}}(i[9],r),b1.delete(i),r.detachedLeaveAnimationFns=void 0)}(this.lContainer,n)}detach(n){return this.needsIndexUpdate||=n!==this.length-1,function TG(e,n){if(e.length<=10)return;const i=e[10+n],r=i?i[26]:void 0;r&&r.leave&&r.leave.size>0&&(r.detachedLeaveAnimationFns=[])}(this.lContainer,n),function DG(e,n){return X2(e,n)}(this.lContainer,n)}create(n,t){const r=J0(this.hostLView,this.templateTNode,new CG(this.lContainer,t,n),{dehydratedView:null});return this.operationsCounter?.recordCreate(),r}destroy(n){Q2(n[1],n),this.operationsCounter?.recordDestroy()}updateValue(n,t){this.getLView(n)[8].$implicit=t}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n<this.length;n++)this.getLView(n)[8].$index=n}getLView(n){return function xG(e,n){return mM(e,n)}(this.lContainer,n)}}function Li(e){const n=W(null),t=ua();try{const i=Pe(),r=i[1],o=i[t],a=t+1,s=K3(i,a);if(void 0===o.liveCollection){const c=Y5(r,a);o.liveCollection=new SG(s,i,c)}else o.liveCollection.reset();const l=o.liveCollection;if(function bG(e,n,t){let i,r,o=0,a=e.length-1;if(Array.isArray(n)){let l=n.length-1;for(;o<=a&&o<=l;){const c=e.at(o),h=n[o],p=B5(o,c,o,h,t);if(0!==p){p<0&&e.updateValue(o,h),o++;continue}const S=e.at(a),v=n[l],C=B5(a,S,l,v,t);if(0!==C){C<0&&e.updateValue(a,v),a--,l--;continue}const P=t(o,c),Z=t(a,S),re=t(o,h);if(Object.is(re,Z)){const ie=t(l,v);Object.is(ie,P)?(e.swap(o,a),e.updateValue(a,v),l--,a--):e.move(a,o),e.updateValue(o,h),o++;continue}if(i??=new MD,r??=SD(e,o,a,t),U5(e,i,o,re))e.updateValue(o,h),o++,a++;else if(r.has(re))i.set(P,e.detach(o)),a--;else{const ie=e.create(o,n[o]);e.attach(o,ie),o++,a++}}for(;o<=l;)wD(e,i,t,o,n[o]),o++}else if(null!=n){const l=n[Symbol.iterator]();let c=l.next();for(;!c.done&&o<=a;){const h=e.at(o),p=c.value,S=B5(o,h,o,p,t);if(0!==S)S<0&&e.updateValue(o,p),o++,c=l.next();else{i??=new MD,r??=SD(e,o,a,t);const v=t(o,p);if(U5(e,i,o,v))e.updateValue(o,p),o++,a++,c=l.next();else if(r.has(v)){const C=t(o,h);i.set(C,e.detach(o)),a--}else e.attach(o,e.create(o,p)),o++,a++,c=l.next()}}for(;!c.done;)wD(e,i,t,e.length,c.value),c=l.next()}for(;o<=a;)e.destroy(e.detach(a--));i?.forEach(l=>{e.destroy(l)})}(l,e,o.trackByFn),l.updateIndexes(),o.hasEmptyBlock){const c=G(),h=0===l.length;if(Or(i,c,h)){const p=t+2,S=K3(i,p);if(h){const v=Y5(r,p),C=null;td(S,J0(i,v,void 0,{dehydratedView:C}),0,w1(v,C))}else r.firstUpdatePass&&function C3(e){const n=e[6]??[],i=e[3][11],r=[];for(const o of n)void 0!==o.data.di?r.push(o):PM(o,i);e[6]=r}(S),Yg(S,0)}}}finally{W(n)}}function K3(e,n){return e[n]}function Y5(e,n){return Gl(e,n)}function L(e,n,t){const i=Pe();return Or(i,G(),n)&&(xn(),Hg(Ql(),i,e,n,i[11],t)),L}function j5(e,n,t,i,r){f3(n,e,t,r?"class":"style",i)}function J(e,n,t,i){const r=Pe(),o=r[1],a=e+27,s=o.firstCreatePass?i5(a,r,2,n,Bg,T2(),t,i):o.data[a];if(d3(s,r,e,n,$5),pu(s)){const l=r[1];c3(l,r,s),ug(l,s,r)}return null!=i&&X0(r,s),J}function te(){const e=xn(),t=h3(Zt());return e.firstCreatePass&&r5(e,t),Kl(t)&&p4(),h4(),null!=t.classesWithoutHost&&function pV(e){return!!(8&e.flags)}(t)&&j5(e,t,Pe(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function mV(e){return!!(16&e.flags)}(t)&&j5(e,t,Pe(),t.stylesWithoutHost,!1),te}function ze(e,n,t,i){return J(e,n,t,i),te(),ze}function si(e,n,t,i){const r=Pe(),o=r[1],a=e+27,s=o.firstCreatePass?function GM(e,n,t,i,r,o){const a=n.consts,l=S1(n,e,t,i,$o(a,r));if(l.mergedAttrs=R0(l.mergedAttrs,l.attrs),null!=o){const c=$o(a,o);l.localNames=[];for(let h=0;h<c.length;h+=2)l.localNames.push(c[h],-1)}return null!==l.attrs&&T3(l,l.attrs,!1),null!==l.mergedAttrs&&T3(l,l.mergedAttrs,!0),null!==n.queries&&n.queries.elementStart(n,l),l}(a,o,2,n,t,i):o.data[a];return d3(s,r,e,n,$5),null!=i&&X0(r,s),si}function li(){return Kl(h3(Zt()))&&p4(),h4(),li}function Wr(e,n,t,i){return si(e,n,t,i),li(),Wr}let $5=(e,n,t,i,r)=>(D2(!0),J4(n[11],i,function pH(){return Cn.lFrame.currentNamespace}()));function $e(e,n,t){const i=Pe(),r=i[1],o=e+27,a=r.firstCreatePass?i5(o,i,8,"ng-container",Bg,T2(),n,t):r.data[o];if(d3(a,i,e,"ng-container",G5),pu(a)){const s=i[1];c3(s,i,a),ug(s,a,i)}return null!=t&&X0(i,a),$e}function je(){const e=xn(),t=h3(Zt());return e.firstCreatePass&&r5(e,t),je}function Ka(e,n,t){return $e(e,n,t),je(),Ka}let G5=(e,n,t,i,r)=>(D2(!0),bg(n[11],""));function nt(){return Pe()}function tr(e,n,t){const i=Pe();return Or(i,G(),n)&&(xn(),Vg(Ql(),i,e,n,i[11],t)),tr}function _h(e,n,t){const i=Pe();if(Or(i,G(),n)){const o=xn(),a=Ql();Vg(a,i,e,n,function oM(e,n,t){return(null===e||Ga(e))&&(t=function l4(e){for(;Array.isArray(e);){if("object"==typeof e[1])return e;e=e[0]}return null}(t[n.index])),t[11]}(ys(o.data),a,i),t)}return _h}const Q3=void 0;var zG=["en",[["a","p"],["AM","PM"]],[["AM","PM"]],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Q3,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Q3,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Q3,"{1} 'at' {0}",Q3],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function IG(e){const n=Math.floor(Math.abs(e)),t=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===t?1:5}];let pd={};function Qa(e){const n=function LG(e){return e.toLowerCase().replace(/_/g,"-")}(e);let t=kD(n);if(t)return t;const i=n.split("-")[0];if(t=kD(i),t)return t;if("en"===i)return zG;throw new ge(701,!1)}function kD(e){return e in pd||(pd[e]=bi.ng&&bi.ng.common&&bi.ng.common.locales&&bi.ng.common.locales[e]),pd[e]}var Pr=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(Pr||{});const Z3="en-US";let ED=Z3;function Fe(e,n,t){const i=Pe(),r=xn(),o=Zt();return Z5(r,i,i[11],o,e,n,t),Fe}function fr(e,n,t){const i=Pe(),r=xn(),o=Zt();return(3&o.type||t)&&QM(o,r,i,t,i[11],e,n,uh(o,i,n)),fr}function Z5(e,n,t,i,r,o,a){let s=!0,l=null;if((3&i.type||a)&&(l??=uh(i,n,o),QM(i,e,n,a,t,r,o,l)&&(s=!1)),s){const c=i.outputs?.[r],h=i.hostDirectiveOutputs?.[r];if(h&&h.length)for(let p=0;p<h.length;p+=2){const S=h[p],v=h[p+1];l??=uh(i,n,o),k3(i,n,S,v,r,l)}if(c&&c.length)for(const p of c)l??=uh(i,n,o),k3(i,n,p,r,r,l)}}function k(e=1){return function cH(e){return(Cn.lFrame.contextLView=function u4(e,n){for(;e>0;)n=n[14],e--;return n}(e,Cn.lFrame.contextLView))[8]}(e)}function yK(e,n){let t=null;const i=function qU(e){const n=e.attrs;if(null!=n){const t=n.indexOf(5);if(!(1&t))return n[t+1]}return null}(e);for(let r=0;r<n.length;r++){const o=n[r];if("*"!==o){if(null===i?MS(e,o,!0):$U(i,o))return r}else t=r}return t}function Pa(e){const n=Pe()[15][5];if(!n.projection){const i=n.projection=function Hs(e,n){const t=[];for(let i=0;i<e;i++)t.push(n);return t}(e?e.length:1,null),r=i.slice();let o=n.child;for(;null!==o;){if(128!==o.type){const a=e?yK(o,e):0;null!==a&&(r[a]?r[a].projectionNext=o:i[a]=o,r[a]=o)}o=o.next}}}function Ro(e,n=0,t,i,r,o){const a=Pe(),s=xn(),l=i?e+1:null;null!==l&&x1(a,s,l,i,r,o,null,t);const c=S1(s,27+e,16,null,t||null);null===c.projection&&(c.projection=n),g4();const p=!a[6]||f4();null===a[15][5].projection[c.projection]&&null!==l?function bK(e,n,t){const i=27+t,r=n.data[i],o=e[i];td(o,J0(e,r,void 0,{dehydratedView:null}),0,w1(r,null))}(a,s,l):p&&!q4(c)&&function bq(e,n,t){eM(n[11],0,n,t,Pg(e,t,n),KS(t.parent||n[5],t,n))}(s,a,c)}function Za(e,n,t,i){uT(e,n,t,i)}function Hi(e,n,t){cT(e,n,t)}function En(e){const n=Pe(),t=xn(),i=js();y4(i+1);const r=p5(t,i);if(e.dirty&&function gm(e){return!(4&~e[2])}(n)===!(2&~r.metadata.flags)){if(null===r.matches)e.reset([]);else{const o=hT(n,i);e.reset(o,rw),e.notifyOnChanges()}return!0}return!1}function In(){return f5(Pe(),js())}function X5(e,n,t,i,r){mT(n,uT(e,t,i,r))}function n6(e=1){y4(js()+e)}function Yi(e){return Pc(function v4(){return Cn.lFrame.contextLView}(),27+e)}function i6(e,n){return e<<17|n<<2}function N1(e){return e>>17&32767}function J5(e){return 2|e}function md(e){return(131068&e)>>2}function e7(e,n){return-131069&e|n<<2}function t7(e){return 1|e}function QD(e,n,t,i){const r=e[t+1],o=null===n;let a=i?N1(r):md(r),s=!1;for(;0!==a&&(!1===s||o);){const c=e[a+1];DK(e[a],n)&&(s=!0,e[a+1]=i?t7(c):J5(c)),a=i?N1(c):md(c)}s&&(e[t+1]=i?J5(r):t7(r))}function DK(e,n){return null===e||null==n||(Array.isArray(e)?e[1]:e)===n||!(!Array.isArray(e)||"string"!=typeof n)&&Ul(e,n)>=0}const Ho={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function ZD(e){return e.substring(Ho.key,Ho.keyEnd)}function xK(e){return e.substring(Ho.value,Ho.valueEnd)}function XD(e,n){const t=Ho.textEnd;return t===n?-1:(n=Ho.keyEnd=function IK(e,n,t){for(;n<t&&e.charCodeAt(n)>32;)n++;return n}(e,Ho.key=n,t),gd(e,n,t))}function JD(e,n){const t=Ho.textEnd;let i=Ho.key=gd(e,n,t);return t===i?-1:(i=Ho.keyEnd=function zK(e,n,t){let i;for(;n<t&&(45===(i=e.charCodeAt(n))||95===i||(-33&i)>=65&&(-33&i)<=90||i>=48&&i<=57);)n++;return n}(e,i,t),i=tx(e,i,t),i=Ho.value=gd(e,i,t),i=Ho.valueEnd=function AK(e,n,t){let i=-1,r=-1,o=-1,a=n,s=a;for(;a<t;){const l=e.charCodeAt(a++);if(59===l)return s;34===l||39===l?s=a=nx(e,l,a,t):n===a-4&&85===o&&82===r&&76===i&&40===l?s=a=nx(e,41,a,t):l>32&&(s=a),o=r,r=i,i=-33&l}return s}(e,i,t),tx(e,i,t))}function ex(e){Ho.key=0,Ho.keyEnd=0,Ho.value=0,Ho.valueEnd=0,Ho.textEnd=e.length}function gd(e,n,t){for(;n<t&&e.charCodeAt(n)<=32;)n++;return n}function tx(e,n,t,i){return(n=gd(e,n,t))<t&&n++,n}function nx(e,n,t,i){let r=-1,o=t;for(;o<i;){const a=e.charCodeAt(o++);if(a==n&&92!==r)return o;r=92==a&&92===r?0:a}throw new Error}function nr(e,n,t){return ix(e,n,t,!1),nr}function jt(e,n){return ix(e,n,null,!0),jt}function xi(e){rx(sx,LK,e,!1)}function LK(e,n){for(let t=function EK(e){return ex(e),JD(e,gd(e,0,Ho.textEnd))}(n);t>=0;t=JD(n,t))sx(e,ZD(n),xK(n))}function Re(e){rx(VK,OK,e,!0)}function OK(e,n){for(let t=function kK(e){return ex(e),XD(e,gd(e,0,Ho.textEnd))}(n);t>=0;t=XD(n,t))cu(e,ZD(n),!0)}function ix(e,n,t,i){const r=Pe(),o=xn(),a=se(2);o.firstUpdatePass&&ax(o,e,a,i),n!==qi&&Or(r,a,n)&&lx(o,o.data[ua()],r,r[11],e,r[a+1]=function UK(e,n){return null==e||""===e||("string"==typeof n?e+=n:"object"==typeof e&&(e=qo(bs(e)))),e}(n,t),i,a)}function rx(e,n,t,i){const r=xn(),o=se(2);r.firstUpdatePass&&ax(r,null,o,i);const a=Pe();if(t!==qi&&Or(a,o,t)){const s=r.data[ua()];if(ux(s,i)&&!ox(r,o)){let l=i?s.classesWithoutHost:s.stylesWithoutHost;null!==l&&(t=Mc(l,t||"")),j5(r,s,a,t,i)}else!function BK(e,n,t,i,r,o,a,s){r===qi&&(r=Vn);let l=0,c=0,h=0<r.length?r[0]:null,p=0<o.length?o[0]:null;for(;null!==h||null!==p;){const S=l<r.length?r[l+1]:void 0,v=c<o.length?o[c+1]:void 0;let P,C=null;h===p?(l+=2,c+=2,S!==v&&(C=p,P=v)):null===p||null!==h&&h<p?(l+=2,C=h):(c+=2,C=p,P=v),null!==C&&lx(e,n,t,i,C,P,a,s),h=l<r.length?r[l]:null,p=c<o.length?o[c]:null}}(r,s,a,a[11],a[o+1],a[o+1]=function HK(e,n,t){if(null==t||""===t)return Vn;const i=[],r=bs(t);if(Array.isArray(r))for(let o=0;o<r.length;o++)e(i,r[o],!0);else if("object"==typeof r)for(const o in r)r.hasOwnProperty(o)&&e(i,o,r[o]);else"string"==typeof r&&n(i,r);return i}(e,n,t),i,o)}}function ox(e,n){return n>=e.expandoStartIndex}function ax(e,n,t,i){const r=e.data;if(null===r[t+1]){const o=r[ua()],a=ox(e,t);ux(o,i)&&null===n&&!a&&(n=!1),n=function PK(e,n,t,i){const r=ys(e);let o=i?n.residualClasses:n.residualStyles;if(null===r)0===(i?n.classBindings:n.styleBindings)&&(t=Sh(t=n7(null,e,n,t,i),n.attrs,i),o=null);else{const a=n.directiveStylingLast;if(-1===a||e[a]!==r)if(t=n7(r,e,n,t,i),null===o){let l=function NK(e,n,t){const i=t?n.classBindings:n.styleBindings;if(0!==md(i))return e[N1(i)]}(e,n,i);void 0!==l&&Array.isArray(l)&&(l=n7(null,e,n,l[1],i),l=Sh(l,n.attrs,i),function FK(e,n,t,i){e[N1(t?n.classBindings:n.styleBindings)]=i}(e,n,i,l))}else o=function RK(e,n,t){let i;const r=n.directiveEnd;for(let o=1+n.directiveStylingLast;o<r;o++)i=Sh(i,e[o].hostAttrs,t);return Sh(i,n.attrs,t)}(e,n,i)}return void 0!==o&&(i?n.residualClasses=o:n.residualStyles=o),t}(r,o,n,i),function MK(e,n,t,i,r,o){let a=o?n.classBindings:n.styleBindings,s=N1(a),l=md(a);e[i]=t;let h,c=!1;if(Array.isArray(t)?(h=t[1],(null===h||Ul(t,h)>0)&&(c=!0)):h=t,r)if(0!==l){const S=N1(e[s+1]);e[i+1]=i6(S,s),0!==S&&(e[S+1]=e7(e[S+1],i)),e[s+1]=function wK(e,n){return 131071&e|n<<17}(e[s+1],i)}else e[i+1]=i6(s,0),0!==s&&(e[s+1]=e7(e[s+1],i)),s=i;else e[i+1]=i6(l,0),0===s?s=i:e[l+1]=e7(e[l+1],i),l=i;c&&(e[i+1]=J5(e[i+1])),QD(e,h,i,!0),QD(e,h,i,!1),function TK(e,n,t,i,r){const o=r?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof n&&Ul(o,n)>=0&&(t[i+1]=t7(t[i+1]))}(n,h,e,i,o),a=i6(s,l),o?n.classBindings=a:n.styleBindings=a}(r,o,n,t,a,i)}}function n7(e,n,t,i,r){let o=null;const a=t.directiveEnd;let s=t.directiveStylingLast;for(-1===s?s=t.directiveStart:s++;s<a&&(o=n[s],i=Sh(i,o.hostAttrs,r),o!==e);)s++;return null!==e&&(t.directiveStylingLast=s),i}function Sh(e,n,t){const i=t?1:2;let r=-1;if(null!==n)for(let o=0;o<n.length;o++){const a=n[o];"number"==typeof a?r=a:r===i&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),cu(e,a,!!t||n[++o]))}return void 0===e?null:e}function sx(e,n,t){cu(e,n,bs(t))}function VK(e,n,t){const i=String(n);""!==i&&!i.includes(" ")&&cu(e,i,t)}function lx(e,n,t,i,r,o,a,s){if(!(3&n.type))return;const l=e.data,c=l[s+1],h=function SK(e){return!(1&~e)}(c)?cx(l,n,t,r,md(c),a):void 0;r6(h)||(r6(o)||function CK(e){return!(2&~e)}(c)&&(o=cx(l,null,t,r,s,a)),function wq(e,n,t,i,r){if(n)r?e.addClass(t,i):e.removeClass(t,i);else{let o=-1===i.indexOf("-")?void 0:Mu.DashCase;null==r?e.removeStyle(t,i,o):("string"==typeof r&&r.endsWith("!important")&&(r=r.slice(0,-10),o|=Mu.Important),e.setStyle(t,i,r,o))}}(i,a,Kn(ua(),t),r,o))}function cx(e,n,t,i,r,o){const a=null===n;let s;for(;r>0;){const l=e[r],c=Array.isArray(l),h=c?l[1]:l,p=null===h;let S=t[r+1];S===qi&&(S=p?Vn:void 0);let v=p?ll(S,i):h===i?S:void 0;if(c&&!r6(v)&&(v=ll(l,i)),r6(v)&&(s=v,a))return s;const C=e[r+1];r=a?N1(C):md(C)}if(null!==n){let l=o?n.residualClasses:n.residualStyles;null!=l&&(s=ll(l,i))}return s}function r6(e){return void 0!==e}function ux(e,n){return!!(e.flags&(n?8:16))}function He(e,n=""){const t=Pe(),i=xn(),r=e+27,o=i.firstCreatePass?S1(i,r,1,n,null):i.data[r],a=dx(i,t,o,n,e);t[r]=a,b4()&&Fg(i,t,a,o),_l(o,!1)}let dx=(e,n,t,i,r)=>(D2(!0),function yg(e,n){return e.createText(n)}(n[11],i));function fx(e,n,t,i=""){return Or(e,G(),t)?n+hn(t)+i:qi}function gx(e,n,t,i,r,o,a,s,l,c=""){const p=function Gs(e,n,t,i,r,o){const a=D1(e,n,t,i);return D1(e,n+2,r,o)||a}(e,x(),t,r,a,l);return se(4),p?n+hn(t)+i+hn(r)+o+hn(a)+s+hn(l)+c:qi}function dn(e){return At("",e),dn}function At(e,n,t){const i=Pe(),r=fx(i,e,n,t);return r!==qi&&function Bc(e,n,t){const i=Kn(n,e);!function hS(e,n,t){e.setValue(n,t)}(e[11],i,t)}
/*!
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.dev/license
       */(i,ua(),r),At}function ji(e,n,t){lC(n)&&(n=n());const i=Pe();return Or(i,G(),n)&&(xn(),Hg(Ql(),i,e,n,i[11],t)),ji}function ir(e,n){const t=lC(e);return t&&e.set(n),t}function $i(e,n){const t=Pe(),i=xn(),r=Zt();return Z5(i,t,t[11],r,e,n),$i
/*!
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.dev/license
       */}
/*!
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.dev/license
       */
function St(e){return Or(Pe(),G(),e)?hn(e):qi}function de(e,n,t=""){return fx(Pe(),e,n,t)}function ic(e,n,t,i,r=""){return function px(e,n,t,i,r,o=""){const s=D1(e,x(),t,r);return se(2),s?n+hn(t)+i+hn(r)+o:qi}(Pe(),e,n,t,i,r)}function i7(e,n,t,i,r){if(e=yn(e),Array.isArray(e))for(let o=0;o<e.length;o++)i7(e[o],n,t,i,r);else{const o=xn(),a=Pe(),s=Zt();let l=qt(e)?e:yn(e.provide);const c=r4(e),h=1048575&s.providerIndexes,p=s.directiveStart,S=s.providerIndexes>>20;if(qt(e)||!e.multi){const v=new A2(c,r,xe,null),C=o7(l,n,r?h:h+S,p);-1===C?(Rm(L4(s,a),o,l),r7(o,e,n.length),n.push(l),s.directiveStart++,s.directiveEnd++,r&&(s.providerIndexes+=1048576),t.push(v),a.push(v)):(t[C]=v,a[C]=v)}else{const v=o7(l,n,h+S,p),C=o7(l,n,h,h+S),Z=C>=0&&t[C];if(r&&!Z||!r&&!(v>=0&&t[v])){Rm(L4(s,a),o,l);const re=function nQ(e,n,t,i,r){const a=new A2(e,t,xe,null);return a.multi=[],a.index=n,a.componentProviders=0,Ax(a,r,i&&!t),a}(r?tQ:eQ,t.length,r,i,c);!r&&Z&&(t[C].providerFactory=re),r7(o,e,n.length,0),n.push(l),s.directiveStart++,s.directiveEnd++,r&&(s.providerIndexes+=1048576),t.push(re),a.push(re)}else r7(o,e,v>-1?v:C,Ax(t[r?C:v],c,!r&&i));!r&&i&&Z&&t[C].componentProviders++}}}function r7(e,n,t,i){const r=qt(n),o=function Pn(e){return!!e.useClass}(n);if(r||o){const l=(o?yn(n.useClass):n).prototype.ngOnDestroy;if(l){const c=e.destroyHooks||(e.destroyHooks=[]);if(!r&&n.multi){const h=c.indexOf(t);-1===h?c.push(t,[i,l]):c[h+1].push(i,l)}else c.push(t,l)}}}function Ax(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function o7(e,n,t,i){for(let r=t;r<i;r++)if(n[r]===e)return r;return-1}function eQ(e,n,t,i,r){return a7(this.multi,[])}function tQ(e,n,t,i,r){const o=this.multi;let a;if(this.providerFactory){const s=this.providerFactory.componentProviders,l=P2(i,i[1],this.providerFactory.index,r);a=l.slice(0,s),a7(o,a);for(let c=s;c<l.length;c++)a.push(l[c])}else a=[],a7(o,a);return a}function a7(e,n){for(let t=0;t<e.length;t++)n.push((0,e[t])());return n}function Yn(e,n=[]){return t=>{t.providersResolver=(i,r)=>function JK(e,n,t){const i=xn();if(i.firstCreatePass){const r=Ga(e);i7(t,i.data,i.blueprint,r,!0),i7(n,i.data,i.blueprint,r,!1)}}(i,r?r(e):e,n)}}function Uc(e,n,t){const i=m()+e,r=Pe();return r[i]===qi?nc(r,i,t?n.call(t):n()):function ch(e,n){return e[n]}(r,i)}function Yr(e,n,t,i){return Px(Pe(),m(),e,n,t,i)}function Mh(e,n){const t=e[n];return t===qi?void 0:t}function Px(e,n,t,i,r,o){const a=n+t;return Or(e,a,r)?nc(e,a+1,o?i.call(o,r):i(r)):Mh(e,a+1)}function Vi(e,n){const t=xn();let i;const r=e+27;t.firstCreatePass?(i=function fQ(e,n){if(n)for(let t=n.length-1;t>=0;t--){const i=n[t];if(e===i.name)return i}}(n,t.pipeRegistry),t.data[r]=i,i.onDestroy&&(t.destroyHooks??=[]).push(r,i.onDestroy)):i=t.data[r];const o=i.factory||(i.factory=Mo(i.type)),s=oi(xe);try{const l=A4(!1),c=o();return A4(l),function v2(e,n,t,i){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=i}(t,Pe(),r,c),c}finally{oi(s)}}function pr(e,n,t){const i=e+27,r=Pe(),o=Pc(r,i);return Th(r,i)?Px(r,m(),n,o.transform,t,o):o.transform(t)}function a6(e,n,t,i){const r=e+27,o=Pe(),a=Pc(o,r);return Th(o,r)?function Nx(e,n,t,i,r,o,a){const s=n+t;return D1(e,s,r,o)?nc(e,s+2,a?i.call(a,r,o):i(r,o)):Mh(e,s+2)}(o,m(),n,a.transform,t,i,a):a.transform(t,i)}function Th(e,n){return e[1].data[n].pure}function Gr(e,n){return g3(e,n)}class YQ{ngModuleFactory;componentFactories;constructor(n,t){this.ngModuleFactory=n,this.componentFactories=t}}let jQ=(()=>{class e{compileModuleSync(t){return new bT(t)}compileModuleAsync(t){return Promise.resolve(this.compileModuleSync(t))}compileModuleAndAllComponentsSync(t){const i=this.compileModuleSync(t),o=tc(Ea(t).declarations).reduce((a,s)=>{const l=Gn(s);return l&&a.push(new E3(l)),a},[]);return new YQ(i,o)}compileModuleAndAllComponentsAsync(t){return Promise.resolve(this.compileModuleAndAllComponentsSync(t))}clearCache(){}clearCacheFor(t){}getModuleId(t){}static \u0275fac=function(i){return new(i||e)};static \u0275prov=Ke({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),WQ=(()=>{class e{zone=U(Gt);changeDetectionScheduler=U(h1);applicationRef=U(Cl);applicationErrorHandler=U(yl);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(t){this.applicationErrorHandler(t)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(i){return new(i||e)};static \u0275prov=Ke({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function ik({ngZoneFactory:e,ignoreChangesOutsideZone:n,scheduleInRootZone:t}){return e??=()=>new Gt({...d7(),scheduleInRootZone:t}),[{provide:Gt,useFactory:e},{provide:ka,multi:!0,useFactory:()=>{const i=U(WQ,{optional:!0});return()=>i.initialize()}},{provide:ka,multi:!0,useFactory:()=>{const i=U(KQ);return()=>{i.initialize()}}},!0===n?{provide:uC,useValue:!0}:[],{provide:dC,useValue:t??AS},{provide:yl,useFactory:()=>{const i=U(Gt),r=U(Ti);let o;return a=>{i.runOutsideAngular(()=>{r.destroyed&&!o?setTimeout(()=>{throw a}):(o??=r.get(E0),o.handleError(a))})}}}]}function d7(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}let KQ=(()=>{class e{subscription=new vt;initialized=!1;zone=U(Gt);pendingTasks=U(_u);initialize(){if(this.initialized)return;this.initialized=!0;let t=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(t=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Gt.assertNotInAngularZone(),queueMicrotask(()=>{null!==t&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(t),t=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Gt.assertInAngularZone(),t??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(i){return new(i||e)};static \u0275prov=Ke({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ak=(()=>{class e{applicationErrorHandler=U(yl);appRef=U(Cl);taskService=U(_u);ngZone=U(Gt);zonelessEnabled=U(cC);tracing=U(K2,{optional:!0});disableScheduling=U(uC,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new vt;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(r3):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(U(dC,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof zg||!this.zoneIsDefined)}notify(t){if(!this.zonelessEnabled&&5===t)return;let i=!1;switch(t){case 0:this.appRef.dirtyFlags|=2;break;case 3:case 2:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 6:case 13:this.appRef.dirtyFlags|=2,i=!0;break;case 12:this.appRef.dirtyFlags|=16,i=!0;break;case 11:i=!0;break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(i))return;const r=this.useMicrotaskScheduler?OS:LS;this.pendingRenderTaskId=this.taskService.add(),this.cancelScheduledCallback=this.scheduleInRootZone?Zone.root.run(()=>r(()=>this.tick())):this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(t){return!(this.disableScheduling&&!t||this.appRef.destroyed||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(r3+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(0===this.appRef.dirtyFlags)return void this.cleanup();!this.zonelessEnabled&&7&this.appRef.dirtyFlags&&(this.appRef.dirtyFlags|=1);const t=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(i){this.taskService.remove(t),this.applicationErrorHandler(i)}finally{this.cleanup()}this.useMicrotaskScheduler=!0,OS(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(t)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const t=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(t)}}static \u0275fac=function(i){return new(i||e)};static \u0275prov=Ke({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Au=new Ae("",{providedIn:"root",factory:()=>U(Au,{optional:!0,skipSelf:!0})||function QQ(){return typeof $localize<"u"&&$localize.locale||Z3}()}),uk="browser";function g7(e){return e===uk}
/**
       * @license Angular v20.3.18
       * (c) 2010-2025 Google LLC. https://angular.dev/
       * License: MIT
       */
const y6=Symbol("InputSignalNode#UNSET"),Jk={...Hr,transformFn:void 0,applyValueToInputSignal(e,n){ri(e,n)}};function eE(e,n){const t=Object.create(Jk);function i(){if(Oe(t),t.value===y6)throw new ge(-950,null);return t.value}return t.value=e,t.transformFn=n?.transform,i[q]=t,i}
/*!
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.dev/license
       */
class SJ{attributeName;constructor(n){this.attributeName=n}__NG_ELEMENT_ID__=()=>N2(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}}const tE=new Ae("");function nE(e,n){return eE(e,n)}tE.__NG_ELEMENT_ID__=e=>{const n=Zt();if(null===n)throw new ge(204,!1);if(2&n.type)return n.value;if(8&e)return null;throw new ge(204,!1)};const qc=(nE.required=function MJ(e){return eE(y6,e)},nE);function iE(e,n){return fT()}const DJ=(iE.required=function TJ(e,n){return pT()},iE);function rE(e,n){return fT()}const kJ=(rE.required=function xJ(e,n){return pT()},rE);const b6=new Ae(""),OJ=new Ae("");function Ah(e){return!e.moduleRef}let uE;function dE(){uE=PJ}function PJ(e,n){const t=e.injector.get(Cl);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(i=>t.bootstrap(i));else{if(!e.instance.ngDoBootstrap)throw new ge(-403,!1);e.instance.ngDoBootstrap(t)}n.push(e)}let hE=(()=>{class e{_injector;_modules=[];_destroyListeners=[];_destroyed=!1;constructor(t){this._injector=t}bootstrapModuleFactory(t,i){const r=i?.scheduleInRootZone,a=i?.ignoreChangesOutsideZone,s=[ik({ngZoneFactory:()=>function uq(e="zone.js",n){return"noop"===e?new zg:"zone.js"===e?new Gt(n):e}(i?.ngZone,{...d7({eventCoalescing:i?.ngZoneEventCoalescing,runCoalescing:i?.ngZoneRunCoalescing}),scheduleInRootZone:r}),ignoreChangesOutsideZone:a}),{provide:h1,useExisting:ak},gH],l=function Gj(e,n,t){return new v5(e,n,t,!1)}(t.moduleType,this.injector,s);return dE(),function cE(e){const n=Ah(e)?e.r3Injector:e.moduleRef.injector,t=n.get(Gt);return t.run(()=>{Ah(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();const i=n.get(yl);let r;if(t.runOutsideAngular(()=>{r=t.onError.subscribe({next:i})}),Ah(e)){const o=()=>n.destroy(),a=e.platformInjector.get(b6);a.add(o),n.onDestroy(()=>{r.unsubscribe(),a.delete(o)})}else{const o=()=>e.moduleRef.destroy(),a=e.platformInjector.get(b6);a.add(o),e.moduleRef.onDestroy(()=>{V3(e.allPlatformModules,e.moduleRef),r.unsubscribe(),a.delete(o)})}return function NJ(e,n,t){try{const i=t();return gh(i)?i.catch(r=>{throw n.runOutsideAngular(()=>e(r)),r}):i}catch(i){throw n.runOutsideAngular(()=>e(i)),i}}(i,t,()=>{const o=n.get(_u),a=o.add(),s=n.get(lD);return s.runInitializers(),s.donePromise.then(()=>{if(function FG(e){"string"==typeof e&&(ED=e.toLowerCase().replace(/_/g,"-"))}(n.get(Au,Z3)||Z3),!n.get(OJ,!0))return Ah(e)?n.get(Cl):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Ah(e)){const h=n.get(Cl);return void 0!==e.rootComponent&&h.bootstrap(e.rootComponent),h}return uE?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{o.remove(a)})})})}({moduleRef:l,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(t,i=[]){const r=cD({},i);return dE(),function IJ(e,n,t){const i=new bT(t);return Promise.resolve(i)}(0,0,t).then(o=>this.bootstrapModuleFactory(o,r))}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new ge(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const t=this._injector.get(b6,null);t&&(t.forEach(i=>i()),t.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static \u0275fac=function(i){return new(i||e)(Ft($r))};static \u0275prov=Ke({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),Cd=null;function fE(e,n,t=[]){const i=`Platform: ${n}`,r=new Ae(i);return(o=[])=>{let a=C6();if(!a){const s=[...t,...o,{provide:r,useValue:!0}];a=e?.(s)??function FJ(e){if(C6())throw new ge(400,!1);(function CW(){!function _n(e){un=e}(()=>{throw new ge(600,"")})})(),Cd=e;const n=e.get(hE);return function mE(e){const n=e.get(Mw,null);ja(e,()=>{n?.forEach(t=>t())})}(e),n}(function pE(e=[],n){return $r.create({name:n,providers:[{provide:Ut,useValue:"platform"},{provide:b6,useValue:new Set([()=>Cd=null])},...e]})}(s,i))}return function RJ(){const n=C6();if(!n)throw new ge(-401,!1);return n}()}}function C6(){return Cd?.get(hE)??null}let Tr=(()=>class e{static __NG_ELEMENT_ID__=VJ})();function VJ(e){return function BJ(e,n,t){if(fl(e)&&!t){const i=ca(e.index,n);return new J2(i,i)}return 175&e.type?new J2(n[15],n):null}(Zt(),Pe(),!(16&~e))}class _E{constructor(){}supports(n){return D3(n)}create(n){return new qJ(n)}}const UJ=(e,n)=>n;class qJ{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(n){this._trackByFn=n||UJ}forEachItem(n){let t;for(t=this._itHead;null!==t;t=t._next)n(t)}forEachOperation(n){let t=this._itHead,i=this._removalsHead,r=0,o=null;for(;t||i;){const a=!i||t&&t.currentIndex<bE(i,r,o)?t:i,s=bE(a,r,o),l=a.currentIndex;if(a===i)r--,i=i._nextRemoved;else if(t=t._next,null==a.previousIndex)r++;else{o||(o=[]);const c=s-r,h=l-r;if(c!=h){for(let S=0;S<c;S++){const v=S<o.length?o[S]:o[S]=0,C=v+S;h<=C&&C<c&&(o[S]=v+1)}o[a.previousIndex]=h-c}}s!==l&&n(a,s,l)}}forEachPreviousItem(n){let t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)n(t)}forEachAddedItem(n){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)n(t)}forEachMovedItem(n){let t;for(t=this._movesHead;null!==t;t=t._nextMoved)n(t)}forEachRemovedItem(n){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)n(t)}forEachIdentityChange(n){let t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)n(t)}diff(n){if(null==n&&(n=[]),!D3(n))throw new ge(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let r,o,a,t=this._itHead,i=!1;if(Array.isArray(n)){this.length=n.length;for(let s=0;s<this.length;s++)o=n[s],a=this._trackByFn(s,o),null!==t&&Object.is(t.trackById,a)?(i&&(t=this._verifyReinsertion(t,o,a,s)),Object.is(t.item,o)||this._addIdentityChange(t,o)):(t=this._mismatch(t,o,a,s),i=!0),t=t._next}else r=0,function aj(e,n){if(Array.isArray(e))for(let t=0;t<e.length;t++)n(e[t]);else{const t=e[Symbol.iterator]();let i;for(;!(i=t.next()).done;)n(i.value)}}(n,s=>{a=this._trackByFn(r,s),null!==t&&Object.is(t.trackById,a)?(i&&(t=this._verifyReinsertion(t,s,a,r)),Object.is(t.item,s)||this._addIdentityChange(t,s)):(t=this._mismatch(t,s,a,r),i=!0),t=t._next,r++}),this.length=r;return this._truncate(t),this.collection=n,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;null!==n;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;null!==n;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,t,i,r){let o;return null===n?o=this._itTail:(o=n._prev,this._remove(n)),null!==(n=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._reinsertAfter(n,o,r)):null!==(n=null===this._linkedRecords?null:this._linkedRecords.get(i,r))?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._moveAfter(n,o,r)):n=this._addAfter(new YJ(t,i),o,r),n}_verifyReinsertion(n,t,i,r){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==o?n=this._reinsertAfter(o,n._prev,r):n.currentIndex!=r&&(n.currentIndex=r,this._addToMoves(n,r)),n}_truncate(n){for(;null!==n;){const t=n._next;this._addToRemovals(this._unlink(n)),n=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(n,t,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(n);const r=n._prevRemoved,o=n._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(n,t,i),this._addToMoves(n,i),n}_moveAfter(n,t,i){return this._unlink(n),this._insertAfter(n,t,i),this._addToMoves(n,i),n}_addAfter(n,t,i){return this._insertAfter(n,t,i),this._additionsTail=null===this._additionsTail?this._additionsHead=n:this._additionsTail._nextAdded=n,n}_insertAfter(n,t,i){const r=null===t?this._itHead:t._next;return n._next=r,n._prev=t,null===r?this._itTail=n:r._prev=n,null===t?this._itHead=n:t._next=n,null===this._linkedRecords&&(this._linkedRecords=new yE),this._linkedRecords.put(n),n.currentIndex=i,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){null!==this._linkedRecords&&this._linkedRecords.remove(n);const t=n._prev,i=n._next;return null===t?this._itHead=i:t._next=i,null===i?this._itTail=t:i._prev=t,n}_addToMoves(n,t){return n.previousIndex===t||(this._movesTail=null===this._movesTail?this._movesHead=n:this._movesTail._nextMoved=n),n}_addToRemovals(n){return null===this._unlinkedRecords&&(this._unlinkedRecords=new yE),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,t){return n.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=n:this._identityChangesTail._nextIdentityChange=n,n}}class YJ{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(n,t){this.item=n,this.trackById=t}}class jJ{_head=null;_tail=null;add(n){null===this._head?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,t){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===t||t<=i.currentIndex)&&Object.is(i.trackById,n))return i;return null}remove(n){const t=n._prevDup,i=n._nextDup;return null===t?this._head=i:t._nextDup=i,null===i?this._tail=t:i._prevDup=t,null===this._head}}class yE{map=new Map;put(n){const t=n.trackById;let i=this.map.get(t);i||(i=new jJ,this.map.set(t,i)),i.add(n)}get(n,t){const r=this.map.get(n);return r?r.get(n,t):null}remove(n){const t=n.trackById;return this.map.get(t).remove(n)&&this.map.delete(t),n}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function bE(e,n,t){const i=e.previousIndex;if(null===i)return i;let r=0;return t&&i<t.length&&(r=t[i]),i+n+r}class CE{constructor(){}supports(n){return n instanceof Map||o5(n)}create(){return new $J}}class $J{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;_removalsTail=null;get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(n){let t;for(t=this._mapHead;null!==t;t=t._next)n(t)}forEachPreviousItem(n){let t;for(t=this._previousMapHead;null!==t;t=t._nextPrevious)n(t)}forEachChangedItem(n){let t;for(t=this._changesHead;null!==t;t=t._nextChanged)n(t)}forEachAddedItem(n){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)n(t)}forEachRemovedItem(n){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)n(t)}diff(n){if(n){if(!(n instanceof Map||o5(n)))throw new ge(900,!1)}else n=new Map;return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(n,(i,r)=>{if(t&&t.key===r)this._maybeAddToChanges(t,i),this._appendAfter=t,t=t._next;else{const o=this._getOrCreateRecordForKey(r,i);t=this._insertBeforeOrAppend(t,o)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let i=t;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(n,t){if(n){const i=n._prev;return t._next=n,t._prev=i,n._prev=t,i&&(i._next=t),n===this._mapHead&&(this._mapHead=t),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(n,t){if(this._records.has(n)){const r=this._records.get(n);this._maybeAddToChanges(r,t);const o=r._prev,a=r._next;return o&&(o._next=a),a&&(a._prev=o),r._next=null,r._prev=null,r}const i=new WJ(n);return this._records.set(n,i),i.currentValue=t,this._addToAdditions(i),i}_reset(){if(this.isDirty){let n;for(this._previousMapHead=this._mapHead,n=this._previousMapHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._changesHead;null!==n;n=n._nextChanged)n.previousValue=n.currentValue;for(n=this._additionsHead;null!=n;n=n._nextAdded)n.previousValue=n.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(n,t){Object.is(t,n.currentValue)||(n.previousValue=n.currentValue,n.currentValue=t,this._addToChanges(n))}_addToAdditions(n){null===this._additionsHead?this._additionsHead=this._additionsTail=n:(this._additionsTail._nextAdded=n,this._additionsTail=n)}_addToChanges(n){null===this._changesHead?this._changesHead=this._changesTail=n:(this._changesTail._nextChanged=n,this._changesTail=n)}_forEach(n,t){n instanceof Map?n.forEach(t):Object.keys(n).forEach(i=>t(n[i],i))}}class WJ{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(n){this.key=n}}function wE(){return new k7([new _E])}let k7=(()=>{class e{factories;static \u0275prov=Ke({token:e,providedIn:"root",factory:wE});constructor(t){this.factories=t}static create(t,i){if(null!=i){const r=i.factories.slice();t=t.concat(r)}return new e(t)}static extend(t){return{provide:e,useFactory:()=>{const i=U(e,{optional:!0,skipSelf:!0});return e.create(t,i||wE())}}}find(t){const i=this.factories.find(r=>r.supports(t));if(null!=i)return i;throw new ge(901,!1)}}return e})();function SE(){return new w6([new CE])}let w6=(()=>{class e{static \u0275prov=Ke({token:e,providedIn:"root",factory:SE});factories;constructor(t){this.factories=t}static create(t,i){if(i){const r=i.factories.slice();t=t.concat(r)}return new e(t)}static extend(t){return{provide:e,useFactory:()=>{const i=U(e,{optional:!0,skipSelf:!0});return e.create(t,i||SE())}}}find(t){const i=this.factories.find(r=>r.supports(t));if(i)return i;throw new ge(901,!1)}}return e})();const QJ=fE(null,"core",[]);let ZJ=(()=>{class e{constructor(t){}static \u0275fac=function(i){return new(i||e)(Ft(Cl))};static \u0275mod=Ci({type:e});static \u0275inj=$n({})}return e})();function Xe(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function Oh(e,n=NaN){return isNaN(parseFloat(e))||isNaN(Number(e))?n:Number(e)}function RE(e,n){const t=Gn(e),i=n.elementInjector||To();return new E3(t).create(i,n.projectableNodes,n.hostElement,n.environmentInjector,n.directives,n.bindings)}
/**
       * @license Angular v20.3.18
       * (c) 2010-2025 Google LLC. https://angular.dev/
       * License: MIT
       */
function HE(e,n,t){const i=Object.create(Dee);i.source=e,i.computation=n,null!=t&&(i.equal=t);const o=()=>{if(w(i),Oe(i),i.value===cn)throw i.error;return i.value};return o[q]=i,o}const Dee={...be,value:Ct,dirty:!0,error:null,equal:Se,kind:"linkedSignal",producerMustRecompute:e=>e.value===Ct||e.value===Qt,producerRecomputeValue(e){if(e.value===Qt)throw new Error("");const n=e.value;e.value=Qt;const t=vn(e);let i;try{const r=e.source();i=e.computation(r,n===Ct||n===cn?void 0:{source:e.sourceValue,value:n}),e.sourceValue=r}catch(r){i=cn,e.error=r}finally{Vt(e,t)}n!==Ct&&i!==cn&&e.equal(n,i)?e.value=n:(e.value=i,e.version++)}},kee={...be,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"};function or(e){return function xee(e){const n=W(null);try{return e()}finally{W(n)}}(e)}function ko(e,n){return Ye(e,n?.equal)}class Nee{[q];constructor(n){this[q]=n}destroy(){this[q].destroy()}}function A7(e,n){const t=n?.injector??U($r);let r,i=!0!==n?.manualCleanup?t.get(kn):null;const o=t.get(Tm,null,{optional:!0}),a=t.get(h1);return null!==o?(r=function Hee(e,n,t){const i=Object.create(Ree);return i.view=e,i.zone=typeof Zone<"u"?Zone.current:null,i.notifier=n,i.fn=qE(i,t),e[23]??=new Set,e[23].add(i),i.consumerMarkedDirty(i),i}(o.view,a,e),i instanceof sC&&i._lView===o.view&&(i=null)):r=function Vee(e,n,t){const i=Object.create(Fee);return i.fn=qE(i,e),i.scheduler=n,i.notifier=t,i.zone=typeof Zone<"u"?Zone.current:null,i.scheduler.add(i),i.notifier.notify(12),i}(e,t.get(hC),a),r.injector=t,null!==i&&(r.onDestroyFn=i.onDestroy(()=>r.destroy())),new Nee(r)}const UE={...kee,cleanupFns:void 0,zone:null,onDestroyFn:k2,run(){const e=d(!1);try{!function Eee(e){if(e.dirty=!1,e.version>0&&!vr(e))return;e.version++;const n=vn(e);try{e.cleanup(),e.fn()}finally{Vt(e,n)}}(this)}finally{d(e)}},cleanup(){if(!this.cleanupFns?.length)return;const e=W(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],W(e)}}},Fee={...UE,consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){Ei(this),this.onDestroyFn(),this.cleanup(),this.scheduler.remove(this)}},Ree={...UE,consumerMarkedDirty(){this.view[2]|=8192,Nc(this.view),this.notifier.notify(13)},destroy(){Ei(this),this.onDestroyFn(),this.cleanup(),this.view[23]?.delete(this)}};function qE(e,n){return()=>{n(t=>(e.cleanupFns??=[]).push(t))}}const Bee=e=>e;function YE(e,n){const t=e[q],i=e;return i.set=r=>function Mee(e,n){w(e),ri(e,n),Rt(e)}(t,r),i.update=r=>function Tee(e,n){w(e),Ii(e,n),Rt(e)}(t,r),i.asReadonly=Mm.bind(e),i}Error,Error;var x6=function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e}(x6||{}),vo=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}(vo||{}),wi=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}(wi||{}),Ss=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}(Ss||{});function U1(e,n,t){const i=Qa(e),o=Qs([i[Pr.DayPeriodsFormat],i[Pr.DayPeriodsStandalone]],n);return Qs(o,t)}function k6(e,n){return Qs(Qa(e)[Pr.DateFormat],n)}function E6(e,n){return Qs(Qa(e)[Pr.TimeFormat],n)}function I6(e,n){return Qs(Qa(e)[Pr.DateTimeFormat],n)}function Ks(e,n){const t=Qa(e),i=t[Pr.NumberSymbols][n];if(typeof i>"u"){if(12===n)return t[Pr.NumberSymbols][0];if(13===n)return t[Pr.NumberSymbols][1]}return i}function GE(e){if(!e[Pr.ExtraData])throw new ge(2303,!1)}function Qs(e,n){for(let t=n;t>-1;t--)if(typeof e[t]<"u")return e[t];throw new ge(2304,!1)}function N7(e){const[n,t]=e.split(":");return{hours:+n,minutes:+t}}const lte=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,z6={},cte=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;function KE(e,n,t,i){let r=function _te(e){if(XE(e))return e;if("number"==typeof e&&!isNaN(e))return new Date(e);if("string"==typeof e){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){const[r,o=1,a=1]=e.split("-").map(s=>+s);return A6(r,o-1,a)}const t=parseFloat(e);if(!isNaN(e-t))return new Date(t);let i;if(i=e.match(lte))return function yte(e){const n=new Date(0);let t=0,i=0;const r=e[8]?n.setUTCFullYear:n.setFullYear,o=e[8]?n.setUTCHours:n.setHours;e[9]&&(t=Number(e[9]+e[10]),i=Number(e[9]+e[11])),r.call(n,Number(e[1]),Number(e[2])-1,Number(e[3]));const a=Number(e[4]||0)-t,s=Number(e[5]||0)-i,l=Number(e[6]||0),c=Math.floor(1e3*parseFloat("0."+(e[7]||0)));return o.call(n,a,s,l,c),n}(i)}const n=new Date(e);if(!XE(n))throw new ge(2311,!1);return n}(e);n=Yc(t,n)||n;let s,a=[];for(;n;){if(s=cte.exec(n),!s){a.push(n);break}{a=a.concat(s.slice(1));const h=a.pop();if(!h)break;n=h}}let l=r.getTimezoneOffset();i&&(l=ZE(i,l),r=function vte(e,n){const r=e.getTimezoneOffset();return function gte(e,n){return(e=new Date(e.getTime())).setMinutes(e.getMinutes()+n),e}(e,-1*(ZE(n,r)-r))}(r,i));let c="";return a.forEach(h=>{const p=function mte(e){if(R7[e])return R7[e];let n;switch(e){case"G":case"GG":case"GGG":n=Dr(3,wi.Abbreviated);break;case"GGGG":n=Dr(3,wi.Wide);break;case"GGGGG":n=Dr(3,wi.Narrow);break;case"y":n=Io(0,1,0,!1,!0);break;case"yy":n=Io(0,2,0,!0,!0);break;case"yyy":n=Io(0,3,0,!1,!0);break;case"yyyy":n=Io(0,4,0,!1,!0);break;case"Y":n=N6(1);break;case"YY":n=N6(2,!0);break;case"YYY":n=N6(3);break;case"YYYY":n=N6(4);break;case"M":case"L":n=Io(1,1,1);break;case"MM":case"LL":n=Io(1,2,1);break;case"MMM":n=Dr(2,wi.Abbreviated);break;case"MMMM":n=Dr(2,wi.Wide);break;case"MMMMM":n=Dr(2,wi.Narrow);break;case"LLL":n=Dr(2,wi.Abbreviated,vo.Standalone);break;case"LLLL":n=Dr(2,wi.Wide,vo.Standalone);break;case"LLLLL":n=Dr(2,wi.Narrow,vo.Standalone);break;case"w":n=F7(1);break;case"ww":n=F7(2);break;case"W":n=F7(1,!0);break;case"d":n=Io(2,1);break;case"dd":n=Io(2,2);break;case"c":case"cc":n=Io(7,1);break;case"ccc":n=Dr(1,wi.Abbreviated,vo.Standalone);break;case"cccc":n=Dr(1,wi.Wide,vo.Standalone);break;case"ccccc":n=Dr(1,wi.Narrow,vo.Standalone);break;case"cccccc":n=Dr(1,wi.Short,vo.Standalone);break;case"E":case"EE":case"EEE":n=Dr(1,wi.Abbreviated);break;case"EEEE":n=Dr(1,wi.Wide);break;case"EEEEE":n=Dr(1,wi.Narrow);break;case"EEEEEE":n=Dr(1,wi.Short);break;case"a":case"aa":case"aaa":n=Dr(0,wi.Abbreviated);break;case"aaaa":n=Dr(0,wi.Wide);break;case"aaaaa":n=Dr(0,wi.Narrow);break;case"b":case"bb":case"bbb":n=Dr(0,wi.Abbreviated,vo.Standalone,!0);break;case"bbbb":n=Dr(0,wi.Wide,vo.Standalone,!0);break;case"bbbbb":n=Dr(0,wi.Narrow,vo.Standalone,!0);break;case"B":case"BB":case"BBB":n=Dr(0,wi.Abbreviated,vo.Format,!0);break;case"BBBB":n=Dr(0,wi.Wide,vo.Format,!0);break;case"BBBBB":n=Dr(0,wi.Narrow,vo.Format,!0);break;case"h":n=Io(3,1,-12);break;case"hh":n=Io(3,2,-12);break;case"H":n=Io(3,1);break;case"HH":n=Io(3,2);break;case"m":n=Io(4,1);break;case"mm":n=Io(4,2);break;case"s":n=Io(5,1);break;case"ss":n=Io(5,2);break;case"S":n=Io(6,1);break;case"SS":n=Io(6,2);break;case"SSS":n=Io(6,3);break;case"Z":case"ZZ":case"ZZZ":n=O6(0);break;case"ZZZZZ":n=O6(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":n=O6(1);break;case"OOOO":case"ZZZZ":case"zzzz":n=O6(2);break;default:return null}return R7[e]=n,n}(h);c+=p?p(r,t,l):"''"===h?"'":h.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function A6(e,n,t){const i=new Date(0);return i.setFullYear(e,n,t),i.setHours(0,0,0),i}function Yc(e,n){const t=function Zee(e){return Qa(e)[Pr.LocaleId]}(e);if(z6[t]??={},z6[t][n])return z6[t][n];let i="";switch(n){case"shortDate":i=k6(e,Ss.Short);break;case"mediumDate":i=k6(e,Ss.Medium);break;case"longDate":i=k6(e,Ss.Long);break;case"fullDate":i=k6(e,Ss.Full);break;case"shortTime":i=E6(e,Ss.Short);break;case"mediumTime":i=E6(e,Ss.Medium);break;case"longTime":i=E6(e,Ss.Long);break;case"fullTime":i=E6(e,Ss.Full);break;case"short":const r=Yc(e,"shortTime"),o=Yc(e,"shortDate");i=L6(I6(e,Ss.Short),[r,o]);break;case"medium":const a=Yc(e,"mediumTime"),s=Yc(e,"mediumDate");i=L6(I6(e,Ss.Medium),[a,s]);break;case"long":const l=Yc(e,"longTime"),c=Yc(e,"longDate");i=L6(I6(e,Ss.Long),[l,c]);break;case"full":const h=Yc(e,"fullTime"),p=Yc(e,"fullDate");i=L6(I6(e,Ss.Full),[h,p])}return i&&(z6[t][n]=i),i}function L6(e,n){return n&&(e=e.replace(/\{([^}]+)}/g,function(t,i){return null!=n&&i in n?n[i]:t})),e}function wl(e,n,t="-",i,r){let o="";(e<0||r&&e<=0)&&(r?e=1-e:(e=-e,o=t));let a=String(e);for(;a.length<n;)a="0"+a;return i&&(a=a.slice(a.length-n)),o+a}function Io(e,n,t=0,i=!1,r=!1){return function(o,a){let s=function dte(e,n){switch(e){case 0:return n.getFullYear();case 1:return n.getMonth();case 2:return n.getDate();case 3:return n.getHours();case 4:return n.getMinutes();case 5:return n.getSeconds();case 6:return n.getMilliseconds();case 7:return n.getDay();default:throw new ge(2301,!1)}}(e,o);if((t>0||s>-t)&&(s+=t),3===e)0===s&&-12===t&&(s=12);else if(6===e)return function ute(e,n){return wl(e,3).substring(0,n)}(s,n);const l=Ks(a,5);return wl(s,n,l,i,r)}}function Dr(e,n,t=vo.Format,i=!1){return function(r,o){return function hte(e,n,t,i,r,o){switch(t){case 2:return function Jee(e,n,t){const i=Qa(e),o=Qs([i[Pr.MonthsFormat],i[Pr.MonthsStandalone]],n);return Qs(o,t)}(n,r,i)[e.getMonth()];case 1:return function Xee(e,n,t){const i=Qa(e),o=Qs([i[Pr.DaysFormat],i[Pr.DaysStandalone]],n);return Qs(o,t)}(n,r,i)[e.getDay()];case 0:const a=e.getHours(),s=e.getMinutes();if(o){const c=function ite(e){const n=Qa(e);return GE(n),(n[Pr.ExtraData][2]||[]).map(i=>"string"==typeof i?N7(i):[N7(i[0]),N7(i[1])])}(n),h=function rte(e,n,t){const i=Qa(e);GE(i);const o=Qs([i[Pr.ExtraData][0],i[Pr.ExtraData][1]],n)||[];return Qs(o,t)||[]}(n,r,i),p=c.findIndex(S=>{if(Array.isArray(S)){const[v,C]=S,P=a>=v.hours&&s>=v.minutes,Z=a<C.hours||a===C.hours&&s<C.minutes;if(v.hours<C.hours){if(P&&Z)return!0}else if(P||Z)return!0}else if(S.hours===a&&S.minutes===s)return!0;return!1});if(-1!==p)return h[p]}return U1(n,r,i)[a<12?0:1];case 3:return function ete(e,n){return Qs(Qa(e)[Pr.Eras],n)}(n,i)[e.getFullYear()<=0?0:1];default:throw new ge(2302,!1)}}(r,o,e,n,t,i)}}function O6(e){return function(n,t,i){const r=-1*i,o=Ks(t,5),a=r>0?Math.floor(r/60):Math.ceil(r/60);switch(e){case 0:return(r>=0?"+":"")+wl(a,2,o)+wl(Math.abs(r%60),2,o);case 1:return"GMT"+(r>=0?"+":"")+wl(a,1,o);case 2:return"GMT"+(r>=0?"+":"")+wl(a,2,o)+":"+wl(Math.abs(r%60),2,o);case 3:return 0===i?"Z":(r>=0?"+":"")+wl(a,2,o)+":"+wl(Math.abs(r%60),2,o);default:throw new ge(2310,!1)}}}function QE(e){const n=e.getDay(),t=0===n?-3:4-n;return A6(e.getFullYear(),e.getMonth(),e.getDate()+t)}function F7(e,n=!1){return function(t,i){let r;if(n){const o=new Date(t.getFullYear(),t.getMonth(),1).getDay()-1,a=t.getDate();r=1+Math.floor((a+o)/7)}else{const o=QE(t),a=function pte(e){const n=A6(e,0,1).getDay();return A6(e,0,1+(n<=4?4:11)-n)}(o.getFullYear()),s=o.getTime()-a.getTime();r=1+Math.round(s/6048e5)}return wl(r,e,Ks(i,5))}}function N6(e,n=!1){return function(t,i){return wl(QE(t).getFullYear(),e,Ks(i,5),n)}}const R7={};function ZE(e,n){e=e.replace(/:/g,"");const t=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(t)?n:t}function XE(e){return e instanceof Date&&!isNaN(e.valueOf())}const bte=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function U7(e){const n=parseInt(e);if(isNaN(n))throw new ge(2305,!1);return n}const Y7=/\s+/,nI=[];let j7=(()=>{class e{_ngEl;_renderer;initialClasses=nI;rawClass;stateMap=new Map;constructor(t,i){this._ngEl=t,this._renderer=i}set klass(t){this.initialClasses=null!=t?t.trim().split(Y7):nI}set ngClass(t){this.rawClass="string"==typeof t?t.trim().split(Y7):t}ngDoCheck(){for(const i of this.initialClasses)this._updateState(i,!0);const t=this.rawClass;if(Array.isArray(t)||t instanceof Set)for(const i of t)this._updateState(i,!0);else if(null!=t)for(const i of Object.keys(t))this._updateState(i,!!t[i]);this._applyStateDiff()}_updateState(t,i){const r=this.stateMap.get(t);void 0!==r?(r.enabled!==i&&(r.changed=!0,r.enabled=i),r.touched=!0):this.stateMap.set(t,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(const t of this.stateMap){const i=t[0],r=t[1];r.changed?(this._toggleClass(i,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),r.touched=!1}}_toggleClass(t,i){(t=t.trim()).length>0&&t.split(Y7).forEach(r=>{i?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}static \u0275fac=function(i){return new(i||e)(xe(pn),xe(oo))};static \u0275dir=_t({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})();class Ate{$implicit;ngForOf;index;count;constructor(n,t,i,r){this.$implicit=n,this.ngForOf=t,this.index=i,this.count=r}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Zs=(()=>{class e{_viewContainer;_template;_differs;set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(t,i,r){this._viewContainer=t,this._template=i,this._differs=r}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const t=this._ngForOf;!this._differ&&t&&(this._differ=this._differs.find(t).create(this.ngForTrackBy))}if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const i=this._viewContainer;t.forEachOperation((r,o,a)=>{if(null==r.previousIndex)i.createEmbeddedView(this._template,new Ate(r.item,this._ngForOf,-1,-1),null===a?void 0:a);else if(null==a)i.remove(null===o?void 0:o);else if(null!==o){const s=i.get(o);i.move(s,a),rI(s,r)}});for(let r=0,o=i.length;r<o;r++){const s=i.get(r).context;s.index=r,s.count=o,s.ngForOf=this._ngForOf}t.forEachIdentityChange(r=>{rI(i.get(r.currentIndex),r)})}static ngTemplateContextGuard(t,i){return!0}static \u0275fac=function(i){return new(i||e)(xe(La),xe(Wo),xe(k7))};static \u0275dir=_t({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return e})();function rI(e,n){e.context.$implicit=n.item}let ar=(()=>{class e{_viewContainer;_context=new Lte;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(t,i){this._viewContainer=t,this._thenTemplateRef=i}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){oI(t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){oI(t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(t,i){return!0}static \u0275fac=function(i){return new(i||e)(xe(La),xe(Wo))};static \u0275dir=_t({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return e})();class Lte{$implicit=null;ngIf=null}function oI(e,n){if(e&&!e.createEmbeddedView)throw new ge(2020,!1)}class $7{_viewContainerRef;_templateRef;_created=!1;constructor(n,t){this._viewContainerRef=n,this._templateRef=t}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(n){n&&!this._created?this.create():!n&&this._created&&this.destroy()}}let Ms=(()=>{class e{_defaultViews=[];_defaultUsed=!1;_caseCount=0;_lastCaseCheckIndex=0;_lastCasesMatched=!1;_ngSwitch;set ngSwitch(t){this._ngSwitch=t,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(t){this._defaultViews.push(t)}_matchCase(t){const i=t===this._ngSwitch;return this._lastCasesMatched||=i,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),i}_updateDefaultCases(t){if(this._defaultViews.length>0&&t!==this._defaultUsed){this._defaultUsed=t;for(const i of this._defaultViews)i.enforceState(t)}}static \u0275fac=function(i){return new(i||e)};static \u0275dir=_t({type:e,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}})}return e})(),Sl=(()=>{class e{ngSwitch;_view;ngSwitchCase;constructor(t,i,r){this.ngSwitch=r,r._addCase(),this._view=new $7(t,i)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static \u0275fac=function(i){return new(i||e)(xe(La),xe(Wo),xe(Ms,9))};static \u0275dir=_t({type:e,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}})}return e})(),Rh=(()=>{class e{constructor(t,i,r){r._addDefault(new $7(t,i))}static \u0275fac=function(i){return new(i||e)(xe(La),xe(Wo),xe(Ms,9))};static \u0275dir=_t({type:e,selectors:[["","ngSwitchDefault",""]]})}return e})(),R6=(()=>{class e{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(t,i,r){this._ngEl=t,this._differs=i,this._renderer=r}set ngStyle(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())}ngDoCheck(){if(this._differ){const t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}}_setStyle(t,i){const[r,o]=t.split("."),a=-1===r.indexOf("-")?void 0:Mu.DashCase;null!=i?this._renderer.setStyle(this._ngEl.nativeElement,r,o?`${i}${o}`:i,a):this._renderer.removeStyle(this._ngEl.nativeElement,r,a)}_applyChanges(t){t.forEachRemovedItem(i=>this._setStyle(i.key,null)),t.forEachAddedItem(i=>this._setStyle(i.key,i.currentValue)),t.forEachChangedItem(i=>this._setStyle(i.key,i.currentValue))}static \u0275fac=function(i){return new(i||e)(xe(pn),xe(w6),xe(oo))};static \u0275dir=_t({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return e})(),Ml=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(t){this._viewContainerRef=t}ngOnChanges(t){if(this._shouldRecreateView(t)){const i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const r=this._createContextForwardProxy();this._viewRef=i.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(t){return!!t.ngTemplateOutlet||!!t.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(t,i,r)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,i,r),get:(t,i,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,i,r)}})}static \u0275fac=function(i){return new(i||e)(xe(La))};static \u0275dir=_t({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[wn]})}return e})();function Tl(e,n){return new ge(2100,!1)}class Pte{createSubscription(n,t,i){return or(()=>n.subscribe({next:t,error:i}))}dispose(n){or(()=>n.unsubscribe())}}class Nte{createSubscription(n,t,i){return n.then(r=>t?.(r),r=>i?.(r)),{unsubscribe:()=>{t=null,i=null}}}dispose(n){n.unsubscribe()}}const Fte=new Nte,Rte=new Pte;let sI=(()=>{class e{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;applicationErrorHandler=U(yl);constructor(t){this._ref=t}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(t){if(!this._obj){if(t)try{this.markForCheckOnValueUpdate=!1,this._subscribe(t)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return t!==this._obj?(this._dispose(),this.transform(t)):this._latestValue}_subscribe(t){this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,i=>this._updateLatestValue(t,i),i=>this.applicationErrorHandler(i))}_selectStrategy(t){if(gh(t))return Fte;if(aD(t))return Rte;throw Tl()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(t,i){t===this._obj&&(this._latestValue=i,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(i){return new(i||e)(xe(Tr,16))};static \u0275pipe=Oa({name:"async",type:e,pure:!1})}return e})(),lI=(()=>{class e{differs;constructor(t){this.differs=t}differ;keyValues=[];compareFn=cI;transform(t,i=cI){if(!t||!(t instanceof Map)&&"object"!=typeof t)return null;this.differ??=this.differs.find(t).create();const r=this.differ.diff(t),o=i!==this.compareFn;return r&&(this.keyValues=[],r.forEachItem(a=>{this.keyValues.push(function Zte(e,n){return{key:e,value:n}}(a.key,a.currentValue))})),(r||o)&&(i&&this.keyValues.sort(i),this.compareFn=i),this.keyValues}static \u0275fac=function(i){return new(i||e)(xe(w6,16))};static \u0275pipe=Oa({name:"keyvalue",type:e,pure:!1})}return e})();function cI(e,n){const t=e.key,i=n.key;if(t===i)return 0;if(null==t)return 1;if(null==i)return-1;if("string"==typeof t&&"string"==typeof i)return t<i?-1:1;if("number"==typeof t&&"number"==typeof i)return t-i;if("boolean"==typeof t&&"boolean"==typeof i)return t<i?-1:1;const r=String(t),o=String(i);return r==o?0:r<o?-1:1}let uI=(()=>{class e{_locale;constructor(t){this._locale=t}transform(t,i,r){if(!function W7(e){return!(null==e||""===e||e!=e)}(t))return null;r||=this._locale;try{return function Dte(e,n,t){return function V7(e,n,t,i,r,o,a=!1){let s="",l=!1;if(isFinite(e)){let c=function kte(e){let i,r,o,a,s,n=Math.abs(e)+"",t=0;for((r=n.indexOf("."))>-1&&(n=n.replace(".","")),(o=n.search(/e/i))>0?(r<0&&(r=o),r+=+n.slice(o+1),n=n.substring(0,o)):r<0&&(r=n.length),o=0;"0"===n.charAt(o);o++);if(o===(s=n.length))i=[0],r=1;else{for(s--;"0"===n.charAt(s);)s--;for(r-=o,i=[],a=0;o<=s;o++,a++)i[a]=Number(n.charAt(o))}return r>22&&(i=i.splice(0,21),t=r-1,r=1),{digits:i,exponent:t,integerLen:r}}(e);a&&(c=function xte(e){if(0===e.digits[0])return e;const n=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(0===n?e.digits.push(0,0):1===n&&e.digits.push(0),e.integerLen+=2),e}(c));let h=n.minInt,p=n.minFrac,S=n.maxFrac;if(o){const ie=o.match(bte);if(null===ie)throw new ge(2306,!1);const Me=ie[1],ke=ie[3],Be=ie[5];null!=Me&&(h=U7(Me)),null!=ke&&(p=U7(ke)),null!=Be?S=U7(Be):null!=ke&&p>S&&(S=p)}!function Ete(e,n,t){if(n>t)throw new ge(2307,!1);let i=e.digits,r=i.length-e.integerLen;const o=Math.min(Math.max(n,r),t);let a=o+e.integerLen,s=i[a];if(a>0){i.splice(Math.max(e.integerLen,a));for(let p=a;p<i.length;p++)i[p]=0}else{r=Math.max(0,r),e.integerLen=1,i.length=Math.max(1,a=o+1),i[0]=0;for(let p=1;p<a;p++)i[p]=0}if(s>=5)if(a-1<0){for(let p=0;p>a;p--)i.unshift(0),e.integerLen++;i.unshift(1),e.integerLen++}else i[a-1]++;for(;r<Math.max(0,o);r++)i.push(0);let l=0!==o;const c=n+e.integerLen,h=i.reduceRight(function(p,S,v,C){return C[v]=(S+=p)<10?S:S-10,l&&(0===C[v]&&v>=c?C.pop():l=!1),S>=10?1:0},0);h&&(i.unshift(h),e.integerLen++)}(c,p,S);let v=c.digits,C=c.integerLen;const P=c.exponent;let Z=[];for(l=v.every(ie=>!ie);C<h;C++)v.unshift(0);for(;C<0;C++)v.unshift(0);C>0?Z=v.splice(C,v.length):(Z=v,v=[0]);const re=[];for(v.length>=n.lgSize&&re.unshift(v.splice(-n.lgSize,v.length).join(""));v.length>n.gSize;)re.unshift(v.splice(-n.gSize,v.length).join(""));v.length&&re.unshift(v.join("")),s=re.join(Ks(t,i)),Z.length&&(s+=Ks(t,r)+Z.join("")),P&&(s+=Ks(t,6)+"+"+P)}else s=Ks(t,9);return s=e<0&&!l?n.negPre+s+n.negSuf:n.posPre+s+n.posSuf,s}(e,function B7(e,n="-"){const t={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},i=e.split(";"),r=i[0],o=i[1],a=-1!==r.indexOf(".")?r.split("."):[r.substring(0,r.lastIndexOf("0")+1),r.substring(r.lastIndexOf("0")+1)],s=a[0],l=a[1]||"";t.posPre=s.substring(0,s.indexOf("#"));for(let h=0;h<l.length;h++){const p=l.charAt(h);"0"===p?t.minFrac=t.maxFrac=h+1:"#"===p?t.maxFrac=h+1:t.posSuf+=p}const c=s.split(",");if(t.gSize=c[1]?c[1].length:0,t.lgSize=c[2]||c[1]?(c[2]||c[1]).length:0,o){const h=r.length-t.posPre.length-t.posSuf.length,p=o.indexOf("#");t.negPre=o.substring(0,p).replace(/'/g,""),t.negSuf=o.slice(p+h).replace(/'/g,"")}else t.negPre=n+t.posPre,t.negSuf=t.posSuf;return t}(function P7(e,n){return Qa(e)[Pr.NumberFormats][n]}(n,x6.Decimal),Ks(n,5)),n,1,0,t)}(function G7(e){if("string"==typeof e&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if("number"!=typeof e)throw new ge(2309,!1);return e}(t),r,i)}catch(o){throw Tl()}}static \u0275fac=function(i){return new(i||e)(xe(Au,16))};static \u0275pipe=Oa({name:"number",type:e,pure:!0})}return e})();let ene=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=Ci({type:e});static \u0275inj=$n({})}return e})();
/**
       * @license Angular v20.3.18
       * (c) 2010-2025 Google LLC. https://angular.dev/
       * License: MIT
       */class dI{_doc;constructor(n){this._doc=n}manager}let K7=(()=>{class e extends dI{constructor(t){super(t)}supports(t){return!0}addEventListener(t,i,r,o){return t.addEventListener(i,r,o),()=>this.removeEventListener(t,i,r,o)}removeEventListener(t,i,r,o){return t.removeEventListener(i,r,o)}static \u0275fac=function(i){return new(i||e)(Ft(Mr))};static \u0275prov=Ke({token:e,factory:e.\u0275fac})}return e})();const Q7=new Ae("");let hI=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(t,i){this._zone=i,t.forEach(a=>{a.manager=this});const r=t.filter(a=>!(a instanceof K7));this._plugins=r.slice().reverse();const o=t.find(a=>a instanceof K7);o&&this._plugins.push(o)}addEventListener(t,i,r,o){return this._findPluginFor(i).addEventListener(t,i,r,o)}getZone(){return this._zone}_findPluginFor(t){let i=this._eventNameToPlugin.get(t);if(i)return i;if(i=this._plugins.find(o=>o.supports(t)),!i)throw new ge(5101,!1);return this._eventNameToPlugin.set(t,i),i}static \u0275fac=function(i){return new(i||e)(Ft(Q7),Ft(Gt))};static \u0275prov=Ke({token:e,factory:e.\u0275fac})}return e})();const Z7="ng-app-id";function fI(e){for(const n of e)n.remove()}function pI(e,n){const t=n.createElement("style");return t.textContent=e,t}function X7(e,n){const t=n.createElement("link");return t.setAttribute("rel","stylesheet"),t.setAttribute("href",e),t}let mI=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(t,i,r,o={}){this.doc=t,this.appId=i,this.nonce=r,function tne(e,n,t,i){const r=e.head?.querySelectorAll(`style[${Z7}="${n}"],link[${Z7}="${n}"]`);if(r)for(const o of r)o.removeAttribute(Z7),o instanceof HTMLLinkElement?i.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&t.set(o.textContent,{usage:0,elements:[o]})}(t,i,this.inline,this.external),this.hosts.add(t.head)}addStyles(t,i){for(const r of t)this.addUsage(r,this.inline,pI);i?.forEach(r=>this.addUsage(r,this.external,X7))}removeStyles(t,i){for(const r of t)this.removeUsage(r,this.inline);i?.forEach(r=>this.removeUsage(r,this.external))}addUsage(t,i,r){const o=i.get(t);o?o.usage++:i.set(t,{usage:1,elements:[...this.hosts].map(a=>this.addElement(a,r(t,this.doc)))})}removeUsage(t,i){const r=i.get(t);r&&(r.usage--,r.usage<=0&&(fI(r.elements),i.delete(t)))}ngOnDestroy(){for(const[,{elements:t}]of[...this.inline,...this.external])fI(t);this.hosts.clear()}addHost(t){this.hosts.add(t);for(const[i,{elements:r}]of this.inline)r.push(this.addElement(t,pI(i,this.doc)));for(const[i,{elements:r}]of this.external)r.push(this.addElement(t,X7(i,this.doc)))}removeHost(t){this.hosts.delete(t)}addElement(t,i){return this.nonce&&i.setAttribute("nonce",this.nonce),t.appendChild(i)}static \u0275fac=function(i){return new(i||e)(Ft(Mr),Ft(B0),Ft(V2,8),Ft(H2))};static \u0275prov=Ke({token:e,factory:e.\u0275fac})}return e})();const J7={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},ev=/%COMP%/g,sne=new Ae("",{providedIn:"root",factory:()=>!0});function vI(e,n){return n.map(t=>t.replace(ev,e))}let tv=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(t,i,r,o,a,s,l=null,c=null){this.eventManager=t,this.sharedStylesHost=i,this.appId=r,this.removeStylesOnCompDestroy=o,this.doc=a,this.ngZone=s,this.nonce=l,this.tracingService=c,this.platformIsServer=!1,this.defaultRenderer=new nv(t,a,s,this.platformIsServer,this.tracingService)}createRenderer(t,i){if(!t||!i)return this.defaultRenderer;const r=this.getOrCreateRenderer(t,i);return r instanceof yI?r.applyToHost(t):r instanceof iv&&r.applyStyles(),r}getOrCreateRenderer(t,i){const r=this.rendererByCompId;let o=r.get(i.id);if(!o){const a=this.doc,s=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,h=this.removeStylesOnCompDestroy,p=this.platformIsServer,S=this.tracingService;switch(i.encapsulation){case Hc.Emulated:o=new yI(l,c,i,this.appId,h,a,s,p,S);break;case Hc.ShadowDom:return new dne(l,c,t,i,a,s,this.nonce,p,S);default:o=new iv(l,c,i,h,a,s,p,S)}r.set(i.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(t){this.rendererByCompId.delete(t)}static \u0275fac=function(i){return new(i||e)(Ft(hI),Ft(mI),Ft(B0),Ft(sne),Ft(Mr),Ft(Gt),Ft(V2),Ft(K2,8))};static \u0275prov=Ke({token:e,factory:e.\u0275fac})}return e})();class nv{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(n,t,i,r,o){this.eventManager=n,this.doc=t,this.ngZone=i,this.platformIsServer=r,this.tracingService=o}destroy(){}destroyNode=null;createElement(n,t){return t?this.doc.createElementNS(J7[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(_I(n)?n.content:n).appendChild(t)}insertBefore(n,t,i){n&&(_I(n)?n.content:n).insertBefore(t,i)}removeChild(n,t){t.remove()}selectRootElement(n,t){let i="string"==typeof n?this.doc.querySelector(n):n;if(!i)throw new ge(-5104,!1);return t||(i.textContent=""),i}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,t,i,r){if(r){t=r+":"+t;const o=J7[r];o?n.setAttributeNS(o,t,i):n.setAttribute(t,i)}else n.setAttribute(t,i)}removeAttribute(n,t,i){if(i){const r=J7[i];r?n.removeAttributeNS(r,t):n.removeAttribute(`${i}:${t}`)}else n.removeAttribute(t)}addClass(n,t){n.classList.add(t)}removeClass(n,t){n.classList.remove(t)}setStyle(n,t,i,r){r&(Mu.DashCase|Mu.Important)?n.style.setProperty(t,i,r&Mu.Important?"important":""):n.style[t]=i}removeStyle(n,t,i){i&Mu.DashCase?n.style.removeProperty(t):n.style[t]=""}setProperty(n,t,i){null!=n&&(n[t]=i)}setValue(n,t){n.nodeValue=t}listen(n,t,i,r){if("string"==typeof n&&!(n=yu().getGlobalEventTarget(this.doc,n)))throw new ge(5102,!1);let o=this.decoratePreventDefault(i);return this.tracingService?.wrapEventListener&&(o=this.tracingService.wrapEventListener(n,t,o)),this.eventManager.addEventListener(n,t,o,r)}decoratePreventDefault(n){return t=>{if("__ngUnwrap__"===t)return n;!1===n(t)&&t.preventDefault()}}}function _I(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class dne extends nv{sharedStylesHost;hostEl;shadowRoot;constructor(n,t,i,r,o,a,s,l,c){super(n,o,a,l,c),this.sharedStylesHost=t,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let h=r.styles;h=vI(r.id,h);for(const S of h){const v=document.createElement("style");s&&v.setAttribute("nonce",s),v.textContent=S,this.shadowRoot.appendChild(v)}const p=r.getExternalStyles?.();if(p)for(const S of p){const v=X7(S,o);s&&v.setAttribute("nonce",s),this.shadowRoot.appendChild(v)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,t){return super.appendChild(this.nodeOrShadowRoot(n),t)}insertBefore(n,t,i){return super.insertBefore(this.nodeOrShadowRoot(n),t,i)}removeChild(n,t){return super.removeChild(null,t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class iv extends nv{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(n,t,i,r,o,a,s,l,c){super(n,o,a,s,l),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=r;let h=i.styles;this.styles=c?vI(c,h):h,this.styleUrls=i.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&0===b1.size&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}}class yI extends iv{contentAttr;hostAttr;constructor(n,t,i,r,o,a,s,l,c){const h=r+"-"+i.id;super(n,t,i,o,a,s,l,c,h),this.contentAttr=function lne(e){return"_ngcontent-%COMP%".replace(ev,e)}(h),this.hostAttr=function cne(e){return"_nghost-%COMP%".replace(ev,e)}(h)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,t){const i=super.createElement(n,t);return super.setAttribute(i,this.contentAttr,""),i}}
/**
       * @license Angular v20.3.18
       * (c) 2010-2025 Google LLC. https://angular.dev/
       * License: MIT
       */
class rv extends CH{supportsDOMEvents=!0;static makeCurrent(){!function bH(e){fC??=e}(new rv)}onAndCancel(n,t,i,r){return n.addEventListener(t,i,r),()=>{n.removeEventListener(t,i,r)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.remove()}createElement(n,t){return(t=t||this.getDefaultDocument()).createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,t){return"window"===t?window:"document"===t?n:"body"===t?n.body:null}getBaseHref(n){const t=function hne(){return Hh=Hh||document.head.querySelector("base"),Hh?Hh.getAttribute("href"):null}();return null==t?null:function fne(e){return new URL(e,document.baseURI).pathname}(t)}resetBaseElement(){Hh=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return _C(document.cookie,n)}}let Hh=null,mne=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(i){return new(i||e)};static \u0275prov=Ke({token:e,factory:e.\u0275fac})}return e})();const CI=["alt","control","meta","shift"],gne={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},vne={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let _ne=(()=>{class e extends dI{constructor(t){super(t)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,i,r,o){const a=e.parseEventName(i),s=e.eventCallback(a.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>yu().onAndCancel(t,a.domEventName,s,o))}static parseEventName(t){const i=t.toLowerCase().split("."),r=i.shift();if(0===i.length||"keydown"!==r&&"keyup"!==r)return null;const o=e._normalizeKey(i.pop());let a="",s=i.indexOf("code");if(s>-1&&(i.splice(s,1),a="code."),CI.forEach(c=>{const h=i.indexOf(c);h>-1&&(i.splice(h,1),a+=c+".")}),a+=o,0!=i.length||0===o.length)return null;const l={};return l.domEventName=r,l.fullKey=a,l}static matchEventFullKeyCode(t,i){let r=gne[t.key]||t.key,o="";return i.indexOf("code.")>-1&&(r=t.code,o="code."),!(null==r||!r)&&(r=r.toLowerCase()," "===r?r="space":"."===r&&(r="dot"),CI.forEach(a=>{a!==r&&(0,vne[a])(t)&&(o+=a+".")}),o+=r,o===i)}static eventCallback(t,i,r){return o=>{e.matchEventFullKeyCode(o,t)&&r.runGuarded(()=>i(o))}}static _normalizeKey(t){return"esc"===t?"escape":t}static \u0275fac=function(i){return new(i||e)(Ft(Mr))};static \u0275prov=Ke({token:e,factory:e.\u0275fac})}return e})();const wne=fE(QJ,"browser",[{provide:H2,useValue:uk},{provide:Mw,useValue:function yne(){rv.makeCurrent()},multi:!0},{provide:Mr,useFactory:function Cne(){return function oB(e){jm=e}(document),document}}]),MI=[{provide:H3,useClass:class pne{addToWindow(n){bi.getAngularTestability=(i,r=!0)=>{const o=n.findTestabilityInTree(i,r);if(null==o)throw new ge(5103,!1);return o},bi.getAllAngularTestabilities=()=>n.getAllTestabilities(),bi.getAllAngularRootElements=()=>n.getAllRootElements(),bi.frameworkStabilizers||(bi.frameworkStabilizers=[]),bi.frameworkStabilizers.push(i=>{const r=bi.getAllAngularTestabilities();let o=r.length;const a=function(){o--,0==o&&i()};r.forEach(s=>{s.whenStable(a)})})}findTestabilityInTree(n,t,i){return null==t?null:n.getTestability(t)??(i?yu().isShadowRoot(t)?this.findTestabilityInTree(n,t.host,!0):this.findTestabilityInTree(n,t.parentElement,!0):null)}}},{provide:oD,useClass:k5,deps:[Gt,E5,H3]},{provide:k5,useClass:k5,deps:[Gt,E5,H3]}],TI=[{provide:Ut,useValue:"root"},{provide:E0,useFactory:function bne(){return new E0}},{provide:Q7,useClass:K7,multi:!0,deps:[Mr]},{provide:Q7,useClass:_ne,multi:!0,deps:[Mr]},tv,mI,hI,{provide:Ws,useExisting:tv},{provide:yC,useClass:mne},[]];let DI=(()=>{class e{constructor(){}static \u0275fac=function(i){return new(i||e)};static \u0275mod=Ci({type:e});static \u0275inj=$n({providers:[...TI,...MI],imports:[ene,ZJ]})}return e})();const ov={now:()=>(ov.delegate||Date).now(),delegate:void 0};class q1 extends Dt{constructor(n=1/0,t=1/0,i=ov){super(),this._bufferSize=n,this._windowTime=t,this._timestampProvider=i,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=t===1/0,this._bufferSize=Math.max(1,n),this._windowTime=Math.max(1,t)}next(n){const{isStopped:t,_buffer:i,_infiniteTimeWindow:r,_timestampProvider:o,_windowTime:a}=this;t||(i.push(n),!r&&i.push(o.now()+a)),this._trimBuffer(),super.next(n)}_subscribe(n){this._throwIfClosed(),this._trimBuffer();const t=this._innerSubscribe(n),{_infiniteTimeWindow:i,_buffer:r}=this,o=r.slice();for(let a=0;a<o.length&&!n.closed;a+=i?1:2)n.next(o[a]);return this._checkFinalizedStatuses(n),t}_trimBuffer(){const{_bufferSize:n,_timestampProvider:t,_buffer:i,_infiniteTimeWindow:r}=this,o=(r?1:2)*n;if(n<1/0&&o<i.length&&i.splice(0,i.length-o),!r){const a=t.now();let s=0;for(let l=1;l<i.length&&i[l]<=a;l+=2)s=l;s&&i.splice(0,s+1)}}}function mr(e,n,t,i,r,o){function a(re){if(void 0!==re&&"function"!=typeof re)throw new TypeError("Function expected");return re}for(var p,s=i.kind,l="getter"===s?"get":"setter"===s?"set":"value",c=!n&&e?i.static?e:e.prototype:null,h=n||(c?Object.getOwnPropertyDescriptor(c,i.name):{}),S=!1,v=t.length-1;v>=0;v--){var C={};for(var P in i)C[P]="access"===P?{}:i[P];for(var P in i.access)C.access[P]=i.access[P];C.addInitializer=function(re){if(S)throw new TypeError("Cannot add initializers after decoration has completed");o.push(a(re||null))};var Z=(0,t[v])("accessor"===s?{get:h.get,set:h.set}:h[l],C);if("accessor"===s){if(void 0===Z)continue;if(null===Z||"object"!=typeof Z)throw new TypeError("Object expected");(p=a(Z.get))&&(h.get=p),(p=a(Z.set))&&(h.set=p),(p=a(Z.init))&&r.unshift(p)}else(p=a(Z))&&("field"===s?r.unshift(p):h[l]=p)}c&&Object.defineProperty(c,i.name,h),S=!0}function sn(e,n,t){for(var i=arguments.length>2,r=0;r<n.length;r++)t=i?n[r].call(e,t):n[r].call(e);return i?t:void 0}function Ou(e){return this instanceof Ou?(this.v=e,this):new Ou(e)}function II(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=function cv(e){var n="function"==typeof Symbol&&Symbol.iterator,t=n&&e[n],i=0;if(t)return t.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),t={},i("next"),i("throw"),i("return"),t[Symbol.asyncIterator]=function(){return this},t);function i(o){t[o]=e[o]&&function(a){return new Promise(function(s,l){!function r(o,a,s,l){Promise.resolve(l).then(function(c){o({value:c,done:s})},a)}(s,l,(a=e[o](a)).done,a.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const dv=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function zI(e){return zt(e?.then)}function AI(e){return zt(e[dt])}function LI(e){return Symbol.asyncIterator&&zt(e?.[Symbol.asyncIterator])}function OI(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const PI=function Wne(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function NI(e){return zt(e?.[PI])}function FI(e){return function EI(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=t.apply(e,n||[]),o=[];return r=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),s("next"),s("throw"),s("return",function a(v){return function(C){return Promise.resolve(C).then(v,p)}}),r[Symbol.asyncIterator]=function(){return this},r;function s(v,C){i[v]&&(r[v]=function(P){return new Promise(function(Z,re){o.push([v,P,Z,re])>1||l(v,P)})},C&&(r[v]=C(r[v])))}function l(v,C){try{!function c(v){v.value instanceof Ou?Promise.resolve(v.value.v).then(h,p):S(o[0][2],v)}(i[v](C))}catch(P){S(o[0][3],P)}}function h(v){l("next",v)}function p(v){l("throw",v)}function S(v,C){v(C),o.shift(),o.length&&l(o[0][0],o[0][1])}}(this,arguments,function*(){const t=e.getReader();try{for(;;){const{value:i,done:r}=yield Ou(t.read());if(r)return yield Ou(void 0);yield yield Ou(i)}}finally{t.releaseLock()}})}function RI(e){return zt(e?.getReader)}function fa(e){if(e instanceof On)return e;if(null!=e){if(AI(e))return function Gne(e){return new On(n=>{const t=e[dt]();if(zt(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(dv(e))return function Kne(e){return new On(n=>{for(let t=0;t<e.length&&!n.closed;t++)n.next(e[t]);n.complete()})}(e);if(zI(e))return function Qne(e){return new On(n=>{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,ea)})}(e);if(LI(e))return HI(e);if(NI(e))return function Zne(e){return new On(n=>{for(const t of e)if(n.next(t),n.closed)return;n.complete()})}(e);if(RI(e))return function Xne(e){return HI(FI(e))}(e)}throw OI(e)}function HI(e){return new On(n=>{(function Jne(e,n){var t,i,r,o;return function xI(e,n,t,i){return new(t||(t=Promise))(function(o,a){function s(h){try{c(i.next(h))}catch(p){a(p)}}function l(h){try{c(i.throw(h))}catch(p){a(p)}}function c(h){h.done?o(h.value):function r(o){return o instanceof t?o:new t(function(a){a(o)})}(h.value).then(s,l)}c((i=i.apply(e,n||[])).next())})}(this,void 0,void 0,function*(){try{for(t=II(e);!(i=yield t.next()).done;)if(n.next(i.value),n.closed)return}catch(a){r={error:a}}finally{try{i&&!i.done&&(o=t.return)&&(yield o.call(t))}finally{if(r)throw r.error}}n.complete()})})(e,n).catch(t=>n.error(t))})}function jc(e,n,t,i=0,r=!1){const o=n.schedule(function(){t(),r?e.add(this.schedule(null,i)):this.unsubscribe()},i);if(e.add(o),!r)return o}function Go(e,n,t=1/0){return zt(n)?Go((i,r)=>Wt((o,a)=>n(i,o,r,a))(fa(e(i,r))),t):("number"==typeof n&&(t=n),qr((i,r)=>function eie(e,n,t,i,r,o,a,s){const l=[];let c=0,h=0,p=!1;const S=()=>{p&&!l.length&&!c&&n.complete()},v=P=>c<i?C(P):l.push(P),C=P=>{o&&n.next(P),c++;let Z=!1;fa(t(P,h++)).subscribe(hr(n,re=>{r?.(re),o?v(re):n.next(re)},()=>{Z=!0},void 0,()=>{if(Z)try{for(c--;l.length&&c<i;){const re=l.shift();a?jc(n,a,()=>C(re)):C(re)}S()}catch(re){n.error(re)}}))};return e.subscribe(hr(n,v,()=>{p=!0,S()})),()=>{s?.()}}(i,r,e,t)))}function H6(e=1/0){return Go(Vr,e)}const ds=new On(e=>e.complete());function VI(e){return e&&zt(e.schedule)}function hv(e){return e[e.length-1]}function fv(e){return zt(hv(e))?e.pop():void 0}function Vh(e){return VI(hv(e))?e.pop():void 0}function BI(e,n=0){return qr((t,i)=>{t.subscribe(hr(i,r=>jc(i,e,()=>i.next(r),n),()=>jc(i,e,()=>i.complete(),n),r=>jc(i,e,()=>i.error(r),n)))})}function UI(e,n=0){return qr((t,i)=>{i.add(e.schedule(()=>t.subscribe(i),n))})}function qI(e,n){if(!e)throw new Error("Iterable cannot be null");return new On(t=>{jc(t,n,()=>{const i=e[Symbol.asyncIterator]();jc(t,n,()=>{i.next().then(r=>{r.done?t.complete():t.next(r.value)})},0,!0)})})}function pa(e,n){return n?function cie(e,n){if(null!=e){if(AI(e))return function rie(e,n){return fa(e).pipe(UI(n),BI(n))}(e,n);if(dv(e))return function aie(e,n){return new On(t=>{let i=0;return n.schedule(function(){i===e.length?t.complete():(t.next(e[i++]),t.closed||this.schedule())})})}(e,n);if(zI(e))return function oie(e,n){return fa(e).pipe(UI(n),BI(n))}(e,n);if(LI(e))return qI(e,n);if(NI(e))return function sie(e,n){return new On(t=>{let i;return jc(t,n,()=>{i=e[PI](),jc(t,n,()=>{let r,o;try{({value:r,done:o}=i.next())}catch(a){return void t.error(a)}o?t.complete():t.next(r)},0,!0)}),()=>zt(i?.return)&&i.return()})}(e,n);if(RI(e))return function lie(e,n){return qI(FI(e),n)}(e,n)}throw OI(e)}(e,n):fa(e)}function Ts(...e){const n=Vh(e),t=function iie(e,n){return"number"==typeof hv(e)?e.pop():n}(e,1/0),i=e;return i.length?1===i.length?fa(i[0]):H6(t)(pa(i,n)):ds}function Na(e,n){return qr((t,i)=>{let r=null,o=0,a=!1;const s=()=>a&&!r&&i.complete();t.subscribe(hr(i,l=>{r?.unsubscribe();let c=0;const h=o++;fa(e(l,h)).subscribe(r=hr(i,p=>i.next(n?n(l,p,h,c++):p),()=>{r=null,s()}))},()=>{a=!0,s()}))})}
/**
       * @license Angular v20.3.18
       * (c) 2010-2025 Google LLC. https://angular.dev/
       * License: MIT
       */const uie={schedule(e,n){const t=setTimeout(e,n);return()=>clearTimeout(t)}};let pv;function vie(e,n,t){let i=t;return function hie(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}(e)&&n.some((r,o)=>!("*"===r||!function fie(e,n){if(!pv){const t=Element.prototype;pv=t.matches||t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE&&pv.call(e,n)}(e,r)||(i=o,0))),i}class yie{componentFactory;inputMap=new Map;constructor(n,t){this.componentFactory=t.get(id).resolveComponentFactory(n);for(const i of this.componentFactory.inputs)this.inputMap.set(i.propName,i.templateName)}create(n){return new bie(this.componentFactory,n,this.inputMap)}}class bie{componentFactory;injector;inputMap;eventEmitters=new q1(1);events=this.eventEmitters.pipe(Na(n=>Ts(...n)));componentRef=null;scheduledDestroyFn=null;initialInputValues=new Map;ngZone;elementZone;appRef;cdScheduler;constructor(n,t,i){this.componentFactory=n,this.injector=t,this.inputMap=i,this.ngZone=this.injector.get(Gt),this.appRef=this.injector.get(Cl),this.cdScheduler=t.get(h1),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(n){this.runInZone(()=>{if(null!==this.scheduledDestroyFn)return this.scheduledDestroyFn(),void(this.scheduledDestroyFn=null);null===this.componentRef&&this.initializeComponent(n)})}disconnect(){this.runInZone(()=>{null===this.componentRef||null!==this.scheduledDestroyFn||(this.scheduledDestroyFn=uie.schedule(()=>{null!==this.componentRef&&(this.componentRef.destroy(),this.componentRef=null)},10))})}getInputValue(n){return this.runInZone(()=>null===this.componentRef?this.initialInputValues.get(n):this.componentRef.instance[n])}setInputValue(n,t){null!==this.componentRef?this.runInZone(()=>{this.componentRef.setInput(this.inputMap.get(n)??n,t),function Kq(e){return mu(e._lView)||!!(64&e._lView[2])}(this.componentRef.hostView)&&(function Qq(e){b2(e._lView)}(this.componentRef.changeDetectorRef),this.cdScheduler.notify(6))}):this.initialInputValues.set(n,t)}initializeComponent(n){const t=$r.create({providers:[],parent:this.injector}),i=function gie(e,n){const t=e.childNodes,i=n.map(()=>[]);let r=-1;n.some((o,a)=>"*"===o&&(r=a,!0));for(let o=0,a=t.length;o<a;++o){const s=t[o],l=vie(s,n,r);-1!==l&&i[l].push(s)}return i}(n,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(t,i,n),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.appRef.attachView(this.componentRef.hostView),this.componentRef.hostView.detectChanges()}initializeInputs(){for(const[n,t]of this.initialInputValues)this.setInputValue(n,t);this.initialInputValues.clear()}initializeOutputs(n){const t=this.componentFactory.outputs.map(({propName:i,templateName:r})=>{const o=n.instance[i];return new On(a=>{const s=o.subscribe(l=>a.next({name:r,value:l}));return()=>s.unsubscribe()})});this.eventEmitters.next(t)}runInZone(n){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(n):n()}}class Cie extends HTMLElement{ngElementEventsSubscription=null}var Sie=R(5801),Mie=R(9545),V6=R.n(Mie),Tie=Function.prototype.toString,mv=Object.create,Die=Object.prototype.toString,xie=function(){function e(){this._keys=[],this._values=[]}return e.prototype.has=function(n){return!!~this._keys.indexOf(n)},e.prototype.get=function(n){return this._values[this._keys.indexOf(n)]},e.prototype.set=function(n,t){this._keys.push(n),this._values.push(t)},e}(),Iie=typeof WeakMap<"u"?function Eie(){return new WeakMap}:function kie(){return new xie};function gv(e){if(!e)return mv(null);var n=e.constructor;if(n===Object)return e===Object.prototype?{}:mv(e);if(n&&~Tie.call(n).indexOf("[native code]"))try{return new n}catch{}return mv(e)}var Lie="g"===/test/g.flags?function Aie(e){return e.flags}:function zie(e){var n="";return e.global&&(n+="g"),e.ignoreCase&&(n+="i"),e.multiline&&(n+="m"),e.unicode&&(n+="u"),e.sticky&&(n+="y"),n};function YI(e){var n=Die.call(e);return n.substring(8,n.length-1)}var Pie=typeof Symbol<"u"?function Oie(e){return e[Symbol.toStringTag]||YI(e)}:YI,Nie=Object.defineProperty,Fie=Object.getOwnPropertyDescriptor,jI=Object.getOwnPropertyNames,vv=Object.getOwnPropertySymbols,$I=Object.prototype,WI=$I.hasOwnProperty,Rie=$I.propertyIsEnumerable,GI="function"==typeof vv,Vie=GI?function Hie(e){return jI(e).concat(vv(e))}:jI;function B6(e,n,t){for(var i=Vie(e),r=0,o=i.length,a=void 0,s=void 0;r<o;++r)if("callee"!==(a=i[r])&&"caller"!==a){if(!(s=Fie(e,a))){n[a]=t.copier(e[a],t);continue}!s.get&&!s.set&&(s.value=t.copier(s.value,t));try{Nie(n,a,s)}catch{n[a]=s.value}}return n}function KI(e,n){return e.slice(0)}function QI(e,n){var t=new n.Constructor;return n.cache.set(e,t),e.forEach(function(i,r){t.set(r,n.copier(i,n))}),t}function _v(e,n){return new n.Constructor(e.valueOf())}function U6(e,n){return e}function ZI(e,n){var t=new n.Constructor;return n.cache.set(e,t),e.forEach(function(i){t.add(n.copier(i,n))}),t}var Jie=Array.isArray,yv=Object.assign,ere=Object.getPrototypeOf||function(e){return e.__proto__},XI={array:function Bie(e,n){var t=new n.Constructor;n.cache.set(e,t);for(var i=0,r=e.length;i<r;++i)t[i]=n.copier(e[i],n);return t},arrayBuffer:KI,blob:function qie(e,n){return e.slice(0,e.size,e.type)},dataView:function Yie(e,n){return new n.Constructor(KI(e.buffer))},date:function jie(e,n){return new n.Constructor(e.getTime())},error:U6,map:QI,object:GI?function Gie(e,n){var t=gv(n.prototype);for(var i in n.cache.set(e,t),e)WI.call(e,i)&&(t[i]=n.copier(e[i],n));for(var r=vv(e),o=0,a=r.length,s=void 0;o<a;++o)Rie.call(e,s=r[o])&&(t[s]=n.copier(e[s],n));return t}:function Wie(e,n){var t=gv(n.prototype);for(var i in n.cache.set(e,t),e)WI.call(e,i)&&(t[i]=n.copier(e[i],n));return t},regExp:function Zie(e,n){var t=new n.Constructor(e.source,Lie(e));return t.lastIndex=e.lastIndex,t},set:ZI},tre=yv({},XI,{array:function Uie(e,n){var t=new n.Constructor;return n.cache.set(e,t),B6(e,t,n)},map:function $ie(e,n){return B6(e,QI(e,n),n)},object:function Qie(e,n){var t=gv(n.prototype);return n.cache.set(e,t),B6(e,t,n)},set:function Xie(e,n){return B6(e,ZI(e,n),n)}});function JI(e){var t=function nre(e){return{Arguments:e.object,Array:e.array,ArrayBuffer:e.arrayBuffer,Blob:e.blob,Boolean:_v,DataView:e.dataView,Date:e.date,Error:e.error,Float32Array:e.arrayBuffer,Float64Array:e.arrayBuffer,Int8Array:e.arrayBuffer,Int16Array:e.arrayBuffer,Int32Array:e.arrayBuffer,Map:e.map,Number:_v,Object:e.object,Promise:U6,RegExp:e.regExp,Set:e.set,String:_v,WeakMap:U6,WeakSet:U6,Uint8Array:e.arrayBuffer,Uint8ClampedArray:e.arrayBuffer,Uint16Array:e.arrayBuffer,Uint32Array:e.arrayBuffer,Uint64Array:e.arrayBuffer}}(yv({},XI,e)),i=t.Array,r=t.Object;function o(a,s){if(s.prototype=s.Constructor=void 0,!a||"object"!=typeof a)return a;if(s.cache.has(a))return s.cache.get(a);if(s.prototype=ere(a),s.Constructor=s.prototype&&s.prototype.constructor,!s.Constructor||s.Constructor===Object)return r(a,s);if(Jie(a))return i(a,s);var l=t[Pie(a)];return l?l(a,s):"function"==typeof a.then?a:r(a,s)}return function(s){return o(s,{Constructor:void 0,cache:Iie(),copier:o,prototype:void 0})}}!function ire(e){JI(yv({},tre,e))}({});var Bh=JI({}),rre=R(9250),bv=R.n(rre);const Sn=JSON.parse('{"helpTitle":"Instruction","legalTitle":"legal","dateFormat":"MM/dd/yyyy","dateTimeFormat":"MM/dd/yyyy HH:mm:ss","timeFormat":"HH:mm:ss","decimalCharacter":".","decimalRegex":"^\\\\s*[\\\\+-]?([\\\\+-]?\\\\d+\\\\.?\\\\d*([eE]?[\\\\+|-]?\\\\d+)?|[\\\\+-]?\\\\d*\\\\.?\\\\d+[eE]?([\\\\+|-]?\\\\d+)?)\\\\s*$","placeholderSearchMultiOptionsOrString":"Search for or type values","placeholderSearchSingleOptionsOrString":"Search for or type a value","placeholderSelectMultiOptionsOrString":"Select one or more or type a value","placeholderSelectSingleOptionsOrString":"Select one or type a value","placeholderSearchMulti":"Search for values","placeholderSearchSingle":"Search for a value","placeholderSelectMulti":"Select one or more","placeholderSelectSingle":"Select one","placeholderDate":"MM/DD/YYYY","placeholderDateTime":"MM/DD/YYYY HH:MM:SS","placeholderTime":"HH:MM:SS","placeholderTypeANumber":"Type a number","placeholderTypeAValue":"Type a value","added":"Added ","removed":"Removed ","errorMessages":{"BL":"must be a boolean (true/false).","INT":"must be an integer number.","REAL":"must be a decimal number.","ST":"must be a string value.","TX":"must be a text value.","BIN":"must be a binary value.","DT":"must be a date value.","DTM":"must be a date and time value.","TM":"must be a time value.","RTO":"must be a ratio value.","QTY":"must be a decimal number.","NR":"must be two numeric values separated by a ^. One value can be omitted, but not the ^.","YEAR":"must be a numeric value of year.","MONTH":"must be a numeric value of month.","DAY":"must be a numeric value of day.","URL":"must be a valid URL.","EMAIL":"must be a valid email address.","PHONE":"must be a valid phone number."},"requiresAValue":"requires a value","mustBeGreater":"must be a value greater than {lformsParam}.","mustBeGreaterOrEqual":"must be a value greater than or equal to {lformsParam}.","mustBeLess":"must be a value less than {lformsParam}.","mustBeLessOrEqual":"must be a value less than or equal to {lformsParam}.","mustHaveTotalLength":"must have a total length of {lformsParam}.","mustHaveTotalLengthLessOrEqual":"must have a total length less than or equal to {lformsParam}.","mustHaveTotalLengthGreaterOrEqual":"must have a total length greater than or equal to {lformsParam}.","mustMatchRegex":"must match a RegExp pattern of {lformsParam}.","mustNotHaveMoreDecimalPlaces":"must not have more than {lformsParam} decimal places.","mustNotHaveMoreAnswers":"must not have more than {lformsParam} answers.","mustNotHaveLessAnswers":"must have at least {lformsParam} answers.","booleanYes":"Yes","booleanNo":"No","booleanNotAnswered":"Not Answered","pleaseEnterInfoForTheBlank":"Please enter info in the blank \\"{lformsParam}\\".","other":"Other","parsedDateFormats":["M/D/YYYY","M/D/YY","M/D","M-D-YYYY","M-D-YY","M-D","YYYY","YYYY-M-D","YYYY/M/D","M/D/YYYY HH:mm","M/D/YY HH:mm","M/D HH:mm","M-D-YYYY HH:mm","M-D-YY HH:mm","M-D HH:mm"]}'),tn={parseDateFormats:[...Sn.parsedDateFormats,V6().ISO_8601],intRegex:/^\s*(\+|-)?\d+\s*$/,decRegex:new RegExp(Sn.decimalRegex),areTwoAnswersSame:function(e,n,t){let i=["label","code","text","score","other"];if("object"!=typeof e)return!1;let o=!1;if(!e.system&&!n.system||e.system===(n.system?n.system:t.answerCodeSystem)){o=!0;let l=Object.keys(e);for(var a=0,s=l.length;a<s;a++)if(i.indexOf(l[a])>=0&&e[l[a]]!==n[l[a]]){o=!1;break}}return o},dateToDTStringISO:function(e){return e&&e instanceof Date&&!isNaN(e.getTime())?[(1e4+e.getFullYear()).toString().substr(1),(101+e.getMonth()).toString().substr(1),(100+e.getDate()).toString().substr(1)].join("-"):void 0},stringToDTDateISO:function(e){var n=new Date(e);return isNaN(n.getTime())?void 0:new Date(n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate())},dateToDTMString:function(e){return"string"==typeof e&&(e=this.stringToDate(e,!0)),e.toISOString()},stringToDate:function(e,n){if(!e||"string"!=typeof e)return e;if("t"===e.trim())return new Date;let t=V6()(e,this.parseDateFormats,!0);return n&&!t.isValid()&&(t=V6()(e)),t.isValid()?t.toDate():null},isValidDate:function(e){return!!this.stringToDate(e)},formatDate:function(e,n){return V6()(e).format(n)},getNextLetter:function(e){for(var t=[],i=e;i>0;){var r=i%26;t.push(r=0===r?25:r-1),i=Math.floor((i-1)/26)}for(var o="",a=t.length-1;a>=0;a--)o+="abcdefghijklmnopqrstuvqxyz".charAt(t[a]);return o},findObjectInArray:function(e,n,t,i,r){var o=r?[]:null;if(Array.isArray(e)){var a=0;i&&Math.abs(i)<e.length&&(a=i<0?e.length+i:i);for(var s=e.length,l=a;l<s;l++)if(e[l][n]===t){var c=e[l];if(!r){o=c;break}o.push(c)}}return o},_pruneObject:function(e,n,t){if("object"==typeof n)for(var i in n)if(i.match(e))delete n[i];else if(t&&i===t){var r=n[i];if(Array.isArray(r))for(var o=r.length,a=0;a<o;a++)this._pruneObject(e,r[a],t);else this._pruneObject(e,r,t)}},pruneNulls:function(e){if(Array.isArray(e))for(var n=e.length-1;n>=0;n--)null==e[n]?e.splice(n,1):"object"==typeof e[n]&&this.pruneNulls(e[n]);else e&&"object"==typeof e&&Object.keys(e).forEach(function(i){null==e[i]?delete e[i]:"object"==typeof e[i]&&this.pruneNulls(e[i])},this)},deepCopy:function(e){return Bh(e)},deepEqual:function(e,n){return bv()(e,n)},shallowEqual:function(e,n){var t=!0;if(typeof e!=typeof n)t=!1;else if("object"!=typeof e)e!==n&&(t=!1);else{var i=Object.keys(e),r=Object.keys(n);if(i.length!==r.length)t=!1;else for(var o=0,a=i.length;o<a;o++)if(e[i[o]]!==n[i[o]]){t=!1;break}}return t},showWarning:function(e,n){n&&(e='The question "'+n.text+'" produced the following warning:  '+e),console.log(e)},isInteger(e){return!!Number.isInteger(e)||"number"!=typeof e&&this.intRegex.test(e)},isDecimal(e){return"number"==typeof e||this.decRegex.test(e)}},ez={messages:{comparatorInQuantity:{en:"This item cannot accept a quantity with a comparator"},nonMatchingQuantityUnit:{en:"An attempt was made to assign a quantity with a non-matching unit."},MultipleValuesForNonRepeat:{en:"An attempt was made to assign multiple values to a non-repeating item."},invalidTagInHelpHTMLContent:{en:"Invalid HTML tags/attributes found in the help text."},invalidTagInLegalHTMLContent:{en:"Invalid HTML tags/attributes found in the legal text."},invalidTagInAnswerOptionHTMLContent:{en:"Invalid HTML tags/attributes found in answerOptions."},invalidTagInHTMLContent:{en:"Invalid HTML tags/attributes found in item text/prefix."},answerValueSetLoadingError:{en:"Unable to load the answer list for this question."},hasModifierExtension:{en:"One or more modifierExtensions are found in the Questionnaire resource. The rendered Questionnaire below is for display only and may not be correctly rendered, and the QuestionnaireResponse generated from it may not be valid."}},getMsg:function(e){const n=this.messages[e];if(!n)throw new Error('Unknown message ID "'+e+'"');const t=n[this.language];if(!t)throw new Error('Unknown language code "'+this.language+'" for message ID "'+e+'"');return t},addMsg:function(e,n){e[n]=this.getMsg(n)},setLanguage:function(e){this.language=e}},Je_DATA_CONTROL_CONSTRUCTION_ARRAY="ARRAY",Je_DATA_CONTROL_CONSTRUCTION_OBJECT="OBJECT",Je_DATA_CONTROL_CONSTRUCTION_SIMPLE="SIMPLE",Je_DATA_CONTROL_SOURCE_INTERNAL="INTERNAL",Je_SKIP_LOGIC_ACTION_ENABLE="show",Je_SKIP_LOGIC_ACTION_DISABLE="hide",Je_SKIP_LOGIC_STATUS_ENABLED="target-enabled",Je_SKIP_LOGIC_STATUS_DISABLED="target-disabled",Je_CALCULATION_METHOD_TOTALSCORE="TOTALSCORE",Je_DATA_TYPE_INT="INT",Je_DATA_TYPE_REAL="REAL",Je_DATA_TYPE_ST="ST",Je_DATA_TYPE_TX="TX",Je_DATA_TYPE_DT="DT",Je_DATA_TYPE_DTM="DTM",Je_DATA_TYPE_TM="TM",Je_DATA_TYPE_CNE="CNE",Je_DATA_TYPE_CWE="CWE",Je_DATA_TYPE_SECTION="SECTION",Je_DATA_TYPE_TITLE="TITLE",Je_DATA_TYPE_QTY="QTY",Je_DATA_TYPE_BL="BL",Je_DATA_TYPE_CODING="CODING",ore=new Uint16Array('\u1d41<\xd5\u0131\u028a\u049d\u057b\u05d0\u0675\u06de\u07a2\u07d6\u080f\u0a4a\u0a91\u0da1\u0e6d\u0f09\u0f26\u10ca\u1228\u12e1\u1415\u149d\u14c3\u14df\u1525\0\0\0\0\0\0\u156b\u16cd\u198d\u1c12\u1ddd\u1f7e\u2060\u21b0\u228d\u23c0\u23fb\u2442\u2824\u2912\u2d08\u2e48\u2fce\u3016\u32ba\u3639\u37ac\u38fe\u3a28\u3a71\u3ae0\u3b2e\u0800EMabcfglmnoprstu\\bfms\x7f\x84\x8b\x90\x95\x98\xa6\xb3\xb9\xc8\xcflig\u803b\xc6\u40c6P\u803b&\u4026cute\u803b\xc1\u40c1reve;\u4102\u0100iyx}rc\u803b\xc2\u40c2;\u4410r;\uc000\u{1d504}rave\u803b\xc0\u40c0pha;\u4391acr;\u4100d;\u6a53\u0100gp\x9d\xa1on;\u4104f;\uc000\u{1d538}plyFunction;\u6061ing\u803b\xc5\u40c5\u0100cs\xbe\xc3r;\uc000\u{1d49c}ign;\u6254ilde\u803b\xc3\u40c3ml\u803b\xc4\u40c4\u0400aceforsu\xe5\xfb\xfe\u0117\u011c\u0122\u0127\u012a\u0100cr\xea\xf2kslash;\u6216\u0176\xf6\xf8;\u6ae7ed;\u6306y;\u4411\u0180crt\u0105\u010b\u0114ause;\u6235noullis;\u612ca;\u4392r;\uc000\u{1d505}pf;\uc000\u{1d539}eve;\u42d8c\xf2\u0113mpeq;\u624e\u0700HOacdefhilorsu\u014d\u0151\u0156\u0180\u019e\u01a2\u01b5\u01b7\u01ba\u01dc\u0215\u0273\u0278\u027ecy;\u4427PY\u803b\xa9\u40a9\u0180cpy\u015d\u0162\u017aute;\u4106\u0100;i\u0167\u0168\u62d2talDifferentialD;\u6145leys;\u612d\u0200aeio\u0189\u018e\u0194\u0198ron;\u410cdil\u803b\xc7\u40c7rc;\u4108nint;\u6230ot;\u410a\u0100dn\u01a7\u01adilla;\u40b8terDot;\u40b7\xf2\u017fi;\u43a7rcle\u0200DMPT\u01c7\u01cb\u01d1\u01d6ot;\u6299inus;\u6296lus;\u6295imes;\u6297o\u0100cs\u01e2\u01f8kwiseContourIntegral;\u6232eCurly\u0100DQ\u0203\u020foubleQuote;\u601duote;\u6019\u0200lnpu\u021e\u0228\u0247\u0255on\u0100;e\u0225\u0226\u6237;\u6a74\u0180git\u022f\u0236\u023aruent;\u6261nt;\u622fourIntegral;\u622e\u0100fr\u024c\u024e;\u6102oduct;\u6210nterClockwiseContourIntegral;\u6233oss;\u6a2fcr;\uc000\u{1d49e}p\u0100;C\u0284\u0285\u62d3ap;\u624d\u0580DJSZacefios\u02a0\u02ac\u02b0\u02b4\u02b8\u02cb\u02d7\u02e1\u02e6\u0333\u048d\u0100;o\u0179\u02a5trahd;\u6911cy;\u4402cy;\u4405cy;\u440f\u0180grs\u02bf\u02c4\u02c7ger;\u6021r;\u61a1hv;\u6ae4\u0100ay\u02d0\u02d5ron;\u410e;\u4414l\u0100;t\u02dd\u02de\u6207a;\u4394r;\uc000\u{1d507}\u0100af\u02eb\u0327\u0100cm\u02f0\u0322ritical\u0200ADGT\u0300\u0306\u0316\u031ccute;\u40b4o\u0174\u030b\u030d;\u42d9bleAcute;\u42ddrave;\u4060ilde;\u42dcond;\u62c4ferentialD;\u6146\u0470\u033d\0\0\0\u0342\u0354\0\u0405f;\uc000\u{1d53b}\u0180;DE\u0348\u0349\u034d\u40a8ot;\u60dcqual;\u6250ble\u0300CDLRUV\u0363\u0372\u0382\u03cf\u03e2\u03f8ontourIntegra\xec\u0239o\u0274\u0379\0\0\u037b\xbb\u0349nArrow;\u61d3\u0100eo\u0387\u03a4ft\u0180ART\u0390\u0396\u03a1rrow;\u61d0ightArrow;\u61d4e\xe5\u02cang\u0100LR\u03ab\u03c4eft\u0100AR\u03b3\u03b9rrow;\u67f8ightArrow;\u67faightArrow;\u67f9ight\u0100AT\u03d8\u03derrow;\u61d2ee;\u62a8p\u0241\u03e9\0\0\u03efrrow;\u61d1ownArrow;\u61d5erticalBar;\u6225n\u0300ABLRTa\u0412\u042a\u0430\u045e\u047f\u037crrow\u0180;BU\u041d\u041e\u0422\u6193ar;\u6913pArrow;\u61f5reve;\u4311eft\u02d2\u043a\0\u0446\0\u0450ightVector;\u6950eeVector;\u695eector\u0100;B\u0459\u045a\u61bdar;\u6956ight\u01d4\u0467\0\u0471eeVector;\u695fector\u0100;B\u047a\u047b\u61c1ar;\u6957ee\u0100;A\u0486\u0487\u62a4rrow;\u61a7\u0100ct\u0492\u0497r;\uc000\u{1d49f}rok;\u4110\u0800NTacdfglmopqstux\u04bd\u04c0\u04c4\u04cb\u04de\u04e2\u04e7\u04ee\u04f5\u0521\u052f\u0536\u0552\u055d\u0560\u0565G;\u414aH\u803b\xd0\u40d0cute\u803b\xc9\u40c9\u0180aiy\u04d2\u04d7\u04dcron;\u411arc\u803b\xca\u40ca;\u442dot;\u4116r;\uc000\u{1d508}rave\u803b\xc8\u40c8ement;\u6208\u0100ap\u04fa\u04fecr;\u4112ty\u0253\u0506\0\0\u0512mallSquare;\u65fberySmallSquare;\u65ab\u0100gp\u0526\u052aon;\u4118f;\uc000\u{1d53c}silon;\u4395u\u0100ai\u053c\u0549l\u0100;T\u0542\u0543\u6a75ilde;\u6242librium;\u61cc\u0100ci\u0557\u055ar;\u6130m;\u6a73a;\u4397ml\u803b\xcb\u40cb\u0100ip\u056a\u056fsts;\u6203onentialE;\u6147\u0280cfios\u0585\u0588\u058d\u05b2\u05ccy;\u4424r;\uc000\u{1d509}lled\u0253\u0597\0\0\u05a3mallSquare;\u65fcerySmallSquare;\u65aa\u0370\u05ba\0\u05bf\0\0\u05c4f;\uc000\u{1d53d}All;\u6200riertrf;\u6131c\xf2\u05cb\u0600JTabcdfgorst\u05e8\u05ec\u05ef\u05fa\u0600\u0612\u0616\u061b\u061d\u0623\u066c\u0672cy;\u4403\u803b>\u403emma\u0100;d\u05f7\u05f8\u4393;\u43dcreve;\u411e\u0180eiy\u0607\u060c\u0610dil;\u4122rc;\u411c;\u4413ot;\u4120r;\uc000\u{1d50a};\u62d9pf;\uc000\u{1d53e}eater\u0300EFGLST\u0635\u0644\u064e\u0656\u065b\u0666qual\u0100;L\u063e\u063f\u6265ess;\u62dbullEqual;\u6267reater;\u6aa2ess;\u6277lantEqual;\u6a7eilde;\u6273cr;\uc000\u{1d4a2};\u626b\u0400Aacfiosu\u0685\u068b\u0696\u069b\u069e\u06aa\u06be\u06caRDcy;\u442a\u0100ct\u0690\u0694ek;\u42c7;\u405eirc;\u4124r;\u610clbertSpace;\u610b\u01f0\u06af\0\u06b2f;\u610dizontalLine;\u6500\u0100ct\u06c3\u06c5\xf2\u06a9rok;\u4126mp\u0144\u06d0\u06d8ownHum\xf0\u012fqual;\u624f\u0700EJOacdfgmnostu\u06fa\u06fe\u0703\u0707\u070e\u071a\u071e\u0721\u0728\u0744\u0778\u078b\u078f\u0795cy;\u4415lig;\u4132cy;\u4401cute\u803b\xcd\u40cd\u0100iy\u0713\u0718rc\u803b\xce\u40ce;\u4418ot;\u4130r;\u6111rave\u803b\xcc\u40cc\u0180;ap\u0720\u072f\u073f\u0100cg\u0734\u0737r;\u412ainaryI;\u6148lie\xf3\u03dd\u01f4\u0749\0\u0762\u0100;e\u074d\u074e\u622c\u0100gr\u0753\u0758ral;\u622bsection;\u62c2isible\u0100CT\u076c\u0772omma;\u6063imes;\u6062\u0180gpt\u077f\u0783\u0788on;\u412ef;\uc000\u{1d540}a;\u4399cr;\u6110ilde;\u4128\u01eb\u079a\0\u079ecy;\u4406l\u803b\xcf\u40cf\u0280cfosu\u07ac\u07b7\u07bc\u07c2\u07d0\u0100iy\u07b1\u07b5rc;\u4134;\u4419r;\uc000\u{1d50d}pf;\uc000\u{1d541}\u01e3\u07c7\0\u07ccr;\uc000\u{1d4a5}rcy;\u4408kcy;\u4404\u0380HJacfos\u07e4\u07e8\u07ec\u07f1\u07fd\u0802\u0808cy;\u4425cy;\u440cppa;\u439a\u0100ey\u07f6\u07fbdil;\u4136;\u441ar;\uc000\u{1d50e}pf;\uc000\u{1d542}cr;\uc000\u{1d4a6}\u0580JTaceflmost\u0825\u0829\u082c\u0850\u0863\u09b3\u09b8\u09c7\u09cd\u0a37\u0a47cy;\u4409\u803b<\u403c\u0280cmnpr\u0837\u083c\u0841\u0844\u084dute;\u4139bda;\u439bg;\u67ealacetrf;\u6112r;\u619e\u0180aey\u0857\u085c\u0861ron;\u413ddil;\u413b;\u441b\u0100fs\u0868\u0970t\u0500ACDFRTUVar\u087e\u08a9\u08b1\u08e0\u08e6\u08fc\u092f\u095b\u0390\u096a\u0100nr\u0883\u088fgleBracket;\u67e8row\u0180;BR\u0899\u089a\u089e\u6190ar;\u61e4ightArrow;\u61c6eiling;\u6308o\u01f5\u08b7\0\u08c3bleBracket;\u67e6n\u01d4\u08c8\0\u08d2eeVector;\u6961ector\u0100;B\u08db\u08dc\u61c3ar;\u6959loor;\u630aight\u0100AV\u08ef\u08f5rrow;\u6194ector;\u694e\u0100er\u0901\u0917e\u0180;AV\u0909\u090a\u0910\u62a3rrow;\u61a4ector;\u695aiangle\u0180;BE\u0924\u0925\u0929\u62b2ar;\u69cfqual;\u62b4p\u0180DTV\u0937\u0942\u094cownVector;\u6951eeVector;\u6960ector\u0100;B\u0956\u0957\u61bfar;\u6958ector\u0100;B\u0965\u0966\u61bcar;\u6952ight\xe1\u039cs\u0300EFGLST\u097e\u098b\u0995\u099d\u09a2\u09adqualGreater;\u62daullEqual;\u6266reater;\u6276ess;\u6aa1lantEqual;\u6a7dilde;\u6272r;\uc000\u{1d50f}\u0100;e\u09bd\u09be\u62d8ftarrow;\u61daidot;\u413f\u0180npw\u09d4\u0a16\u0a1bg\u0200LRlr\u09de\u09f7\u0a02\u0a10eft\u0100AR\u09e6\u09ecrrow;\u67f5ightArrow;\u67f7ightArrow;\u67f6eft\u0100ar\u03b3\u0a0aight\xe1\u03bfight\xe1\u03caf;\uc000\u{1d543}er\u0100LR\u0a22\u0a2ceftArrow;\u6199ightArrow;\u6198\u0180cht\u0a3e\u0a40\u0a42\xf2\u084c;\u61b0rok;\u4141;\u626a\u0400acefiosu\u0a5a\u0a5d\u0a60\u0a77\u0a7c\u0a85\u0a8b\u0a8ep;\u6905y;\u441c\u0100dl\u0a65\u0a6fiumSpace;\u605flintrf;\u6133r;\uc000\u{1d510}nusPlus;\u6213pf;\uc000\u{1d544}c\xf2\u0a76;\u439c\u0480Jacefostu\u0aa3\u0aa7\u0aad\u0ac0\u0b14\u0b19\u0d91\u0d97\u0d9ecy;\u440acute;\u4143\u0180aey\u0ab4\u0ab9\u0aberon;\u4147dil;\u4145;\u441d\u0180gsw\u0ac7\u0af0\u0b0eative\u0180MTV\u0ad3\u0adf\u0ae8ediumSpace;\u600bhi\u0100cn\u0ae6\u0ad8\xeb\u0ad9eryThi\xee\u0ad9ted\u0100GL\u0af8\u0b06reaterGreate\xf2\u0673essLes\xf3\u0a48Line;\u400ar;\uc000\u{1d511}\u0200Bnpt\u0b22\u0b28\u0b37\u0b3areak;\u6060BreakingSpace;\u40a0f;\u6115\u0680;CDEGHLNPRSTV\u0b55\u0b56\u0b6a\u0b7c\u0ba1\u0beb\u0c04\u0c5e\u0c84\u0ca6\u0cd8\u0d61\u0d85\u6aec\u0100ou\u0b5b\u0b64ngruent;\u6262pCap;\u626doubleVerticalBar;\u6226\u0180lqx\u0b83\u0b8a\u0b9bement;\u6209ual\u0100;T\u0b92\u0b93\u6260ilde;\uc000\u2242\u0338ists;\u6204reater\u0380;EFGLST\u0bb6\u0bb7\u0bbd\u0bc9\u0bd3\u0bd8\u0be5\u626fqual;\u6271ullEqual;\uc000\u2267\u0338reater;\uc000\u226b\u0338ess;\u6279lantEqual;\uc000\u2a7e\u0338ilde;\u6275ump\u0144\u0bf2\u0bfdownHump;\uc000\u224e\u0338qual;\uc000\u224f\u0338e\u0100fs\u0c0a\u0c27tTriangle\u0180;BE\u0c1a\u0c1b\u0c21\u62eaar;\uc000\u29cf\u0338qual;\u62ecs\u0300;EGLST\u0c35\u0c36\u0c3c\u0c44\u0c4b\u0c58\u626equal;\u6270reater;\u6278ess;\uc000\u226a\u0338lantEqual;\uc000\u2a7d\u0338ilde;\u6274ested\u0100GL\u0c68\u0c79reaterGreater;\uc000\u2aa2\u0338essLess;\uc000\u2aa1\u0338recedes\u0180;ES\u0c92\u0c93\u0c9b\u6280qual;\uc000\u2aaf\u0338lantEqual;\u62e0\u0100ei\u0cab\u0cb9verseElement;\u620cghtTriangle\u0180;BE\u0ccb\u0ccc\u0cd2\u62ebar;\uc000\u29d0\u0338qual;\u62ed\u0100qu\u0cdd\u0d0cuareSu\u0100bp\u0ce8\u0cf9set\u0100;E\u0cf0\u0cf3\uc000\u228f\u0338qual;\u62e2erset\u0100;E\u0d03\u0d06\uc000\u2290\u0338qual;\u62e3\u0180bcp\u0d13\u0d24\u0d4eset\u0100;E\u0d1b\u0d1e\uc000\u2282\u20d2qual;\u6288ceeds\u0200;EST\u0d32\u0d33\u0d3b\u0d46\u6281qual;\uc000\u2ab0\u0338lantEqual;\u62e1ilde;\uc000\u227f\u0338erset\u0100;E\u0d58\u0d5b\uc000\u2283\u20d2qual;\u6289ilde\u0200;EFT\u0d6e\u0d6f\u0d75\u0d7f\u6241qual;\u6244ullEqual;\u6247ilde;\u6249erticalBar;\u6224cr;\uc000\u{1d4a9}ilde\u803b\xd1\u40d1;\u439d\u0700Eacdfgmoprstuv\u0dbd\u0dc2\u0dc9\u0dd5\u0ddb\u0de0\u0de7\u0dfc\u0e02\u0e20\u0e22\u0e32\u0e3f\u0e44lig;\u4152cute\u803b\xd3\u40d3\u0100iy\u0dce\u0dd3rc\u803b\xd4\u40d4;\u441eblac;\u4150r;\uc000\u{1d512}rave\u803b\xd2\u40d2\u0180aei\u0dee\u0df2\u0df6cr;\u414cga;\u43a9cron;\u439fpf;\uc000\u{1d546}enCurly\u0100DQ\u0e0e\u0e1aoubleQuote;\u601cuote;\u6018;\u6a54\u0100cl\u0e27\u0e2cr;\uc000\u{1d4aa}ash\u803b\xd8\u40d8i\u016c\u0e37\u0e3cde\u803b\xd5\u40d5es;\u6a37ml\u803b\xd6\u40d6er\u0100BP\u0e4b\u0e60\u0100ar\u0e50\u0e53r;\u603eac\u0100ek\u0e5a\u0e5c;\u63deet;\u63b4arenthesis;\u63dc\u0480acfhilors\u0e7f\u0e87\u0e8a\u0e8f\u0e92\u0e94\u0e9d\u0eb0\u0efcrtialD;\u6202y;\u441fr;\uc000\u{1d513}i;\u43a6;\u43a0usMinus;\u40b1\u0100ip\u0ea2\u0eadncareplan\xe5\u069df;\u6119\u0200;eio\u0eb9\u0eba\u0ee0\u0ee4\u6abbcedes\u0200;EST\u0ec8\u0ec9\u0ecf\u0eda\u627aqual;\u6aaflantEqual;\u627cilde;\u627eme;\u6033\u0100dp\u0ee9\u0eeeuct;\u620fortion\u0100;a\u0225\u0ef9l;\u621d\u0100ci\u0f01\u0f06r;\uc000\u{1d4ab};\u43a8\u0200Ufos\u0f11\u0f16\u0f1b\u0f1fOT\u803b"\u4022r;\uc000\u{1d514}pf;\u611acr;\uc000\u{1d4ac}\u0600BEacefhiorsu\u0f3e\u0f43\u0f47\u0f60\u0f73\u0fa7\u0faa\u0fad\u1096\u10a9\u10b4\u10bearr;\u6910G\u803b\xae\u40ae\u0180cnr\u0f4e\u0f53\u0f56ute;\u4154g;\u67ebr\u0100;t\u0f5c\u0f5d\u61a0l;\u6916\u0180aey\u0f67\u0f6c\u0f71ron;\u4158dil;\u4156;\u4420\u0100;v\u0f78\u0f79\u611cerse\u0100EU\u0f82\u0f99\u0100lq\u0f87\u0f8eement;\u620builibrium;\u61cbpEquilibrium;\u696fr\xbb\u0f79o;\u43a1ght\u0400ACDFTUVa\u0fc1\u0feb\u0ff3\u1022\u1028\u105b\u1087\u03d8\u0100nr\u0fc6\u0fd2gleBracket;\u67e9row\u0180;BL\u0fdc\u0fdd\u0fe1\u6192ar;\u61e5eftArrow;\u61c4eiling;\u6309o\u01f5\u0ff9\0\u1005bleBracket;\u67e7n\u01d4\u100a\0\u1014eeVector;\u695dector\u0100;B\u101d\u101e\u61c2ar;\u6955loor;\u630b\u0100er\u102d\u1043e\u0180;AV\u1035\u1036\u103c\u62a2rrow;\u61a6ector;\u695biangle\u0180;BE\u1050\u1051\u1055\u62b3ar;\u69d0qual;\u62b5p\u0180DTV\u1063\u106e\u1078ownVector;\u694feeVector;\u695cector\u0100;B\u1082\u1083\u61bear;\u6954ector\u0100;B\u1091\u1092\u61c0ar;\u6953\u0100pu\u109b\u109ef;\u611dndImplies;\u6970ightarrow;\u61db\u0100ch\u10b9\u10bcr;\u611b;\u61b1leDelayed;\u69f4\u0680HOacfhimoqstu\u10e4\u10f1\u10f7\u10fd\u1119\u111e\u1151\u1156\u1161\u1167\u11b5\u11bb\u11bf\u0100Cc\u10e9\u10eeHcy;\u4429y;\u4428FTcy;\u442ccute;\u415a\u0280;aeiy\u1108\u1109\u110e\u1113\u1117\u6abcron;\u4160dil;\u415erc;\u415c;\u4421r;\uc000\u{1d516}ort\u0200DLRU\u112a\u1134\u113e\u1149ownArrow\xbb\u041eeftArrow\xbb\u089aightArrow\xbb\u0fddpArrow;\u6191gma;\u43a3allCircle;\u6218pf;\uc000\u{1d54a}\u0272\u116d\0\0\u1170t;\u621aare\u0200;ISU\u117b\u117c\u1189\u11af\u65a1ntersection;\u6293u\u0100bp\u118f\u119eset\u0100;E\u1197\u1198\u628fqual;\u6291erset\u0100;E\u11a8\u11a9\u6290qual;\u6292nion;\u6294cr;\uc000\u{1d4ae}ar;\u62c6\u0200bcmp\u11c8\u11db\u1209\u120b\u0100;s\u11cd\u11ce\u62d0et\u0100;E\u11cd\u11d5qual;\u6286\u0100ch\u11e0\u1205eeds\u0200;EST\u11ed\u11ee\u11f4\u11ff\u627bqual;\u6ab0lantEqual;\u627dilde;\u627fTh\xe1\u0f8c;\u6211\u0180;es\u1212\u1213\u1223\u62d1rset\u0100;E\u121c\u121d\u6283qual;\u6287et\xbb\u1213\u0580HRSacfhiors\u123e\u1244\u1249\u1255\u125e\u1271\u1276\u129f\u12c2\u12c8\u12d1ORN\u803b\xde\u40deADE;\u6122\u0100Hc\u124e\u1252cy;\u440by;\u4426\u0100bu\u125a\u125c;\u4009;\u43a4\u0180aey\u1265\u126a\u126fron;\u4164dil;\u4162;\u4422r;\uc000\u{1d517}\u0100ei\u127b\u1289\u01f2\u1280\0\u1287efore;\u6234a;\u4398\u0100cn\u128e\u1298kSpace;\uc000\u205f\u200aSpace;\u6009lde\u0200;EFT\u12ab\u12ac\u12b2\u12bc\u623cqual;\u6243ullEqual;\u6245ilde;\u6248pf;\uc000\u{1d54b}ipleDot;\u60db\u0100ct\u12d6\u12dbr;\uc000\u{1d4af}rok;\u4166\u0ae1\u12f7\u130e\u131a\u1326\0\u132c\u1331\0\0\0\0\0\u1338\u133d\u1377\u1385\0\u13ff\u1404\u140a\u1410\u0100cr\u12fb\u1301ute\u803b\xda\u40dar\u0100;o\u1307\u1308\u619fcir;\u6949r\u01e3\u1313\0\u1316y;\u440eve;\u416c\u0100iy\u131e\u1323rc\u803b\xdb\u40db;\u4423blac;\u4170r;\uc000\u{1d518}rave\u803b\xd9\u40d9acr;\u416a\u0100di\u1341\u1369er\u0100BP\u1348\u135d\u0100ar\u134d\u1350r;\u405fac\u0100ek\u1357\u1359;\u63dfet;\u63b5arenthesis;\u63ddon\u0100;P\u1370\u1371\u62c3lus;\u628e\u0100gp\u137b\u137fon;\u4172f;\uc000\u{1d54c}\u0400ADETadps\u1395\u13ae\u13b8\u13c4\u03e8\u13d2\u13d7\u13f3rrow\u0180;BD\u1150\u13a0\u13a4ar;\u6912ownArrow;\u61c5ownArrow;\u6195quilibrium;\u696eee\u0100;A\u13cb\u13cc\u62a5rrow;\u61a5own\xe1\u03f3er\u0100LR\u13de\u13e8eftArrow;\u6196ightArrow;\u6197i\u0100;l\u13f9\u13fa\u43d2on;\u43a5ing;\u416ecr;\uc000\u{1d4b0}ilde;\u4168ml\u803b\xdc\u40dc\u0480Dbcdefosv\u1427\u142c\u1430\u1433\u143e\u1485\u148a\u1490\u1496ash;\u62abar;\u6aeby;\u4412ash\u0100;l\u143b\u143c\u62a9;\u6ae6\u0100er\u1443\u1445;\u62c1\u0180bty\u144c\u1450\u147aar;\u6016\u0100;i\u144f\u1455cal\u0200BLST\u1461\u1465\u146a\u1474ar;\u6223ine;\u407ceparator;\u6758ilde;\u6240ThinSpace;\u600ar;\uc000\u{1d519}pf;\uc000\u{1d54d}cr;\uc000\u{1d4b1}dash;\u62aa\u0280cefos\u14a7\u14ac\u14b1\u14b6\u14bcirc;\u4174dge;\u62c0r;\uc000\u{1d51a}pf;\uc000\u{1d54e}cr;\uc000\u{1d4b2}\u0200fios\u14cb\u14d0\u14d2\u14d8r;\uc000\u{1d51b};\u439epf;\uc000\u{1d54f}cr;\uc000\u{1d4b3}\u0480AIUacfosu\u14f1\u14f5\u14f9\u14fd\u1504\u150f\u1514\u151a\u1520cy;\u442fcy;\u4407cy;\u442ecute\u803b\xdd\u40dd\u0100iy\u1509\u150drc;\u4176;\u442br;\uc000\u{1d51c}pf;\uc000\u{1d550}cr;\uc000\u{1d4b4}ml;\u4178\u0400Hacdefos\u1535\u1539\u153f\u154b\u154f\u155d\u1560\u1564cy;\u4416cute;\u4179\u0100ay\u1544\u1549ron;\u417d;\u4417ot;\u417b\u01f2\u1554\0\u155boWidt\xe8\u0ad9a;\u4396r;\u6128pf;\u6124cr;\uc000\u{1d4b5}\u0be1\u1583\u158a\u1590\0\u15b0\u15b6\u15bf\0\0\0\0\u15c6\u15db\u15eb\u165f\u166d\0\u1695\u169b\u16b2\u16b9\0\u16becute\u803b\xe1\u40e1reve;\u4103\u0300;Ediuy\u159c\u159d\u15a1\u15a3\u15a8\u15ad\u623e;\uc000\u223e\u0333;\u623frc\u803b\xe2\u40e2te\u80bb\xb4\u0306;\u4430lig\u803b\xe6\u40e6\u0100;r\xb2\u15ba;\uc000\u{1d51e}rave\u803b\xe0\u40e0\u0100ep\u15ca\u15d6\u0100fp\u15cf\u15d4sym;\u6135\xe8\u15d3ha;\u43b1\u0100ap\u15dfc\u0100cl\u15e4\u15e7r;\u4101g;\u6a3f\u0264\u15f0\0\0\u160a\u0280;adsv\u15fa\u15fb\u15ff\u1601\u1607\u6227nd;\u6a55;\u6a5clope;\u6a58;\u6a5a\u0380;elmrsz\u1618\u1619\u161b\u161e\u163f\u164f\u1659\u6220;\u69a4e\xbb\u1619sd\u0100;a\u1625\u1626\u6221\u0461\u1630\u1632\u1634\u1636\u1638\u163a\u163c\u163e;\u69a8;\u69a9;\u69aa;\u69ab;\u69ac;\u69ad;\u69ae;\u69aft\u0100;v\u1645\u1646\u621fb\u0100;d\u164c\u164d\u62be;\u699d\u0100pt\u1654\u1657h;\u6222\xbb\xb9arr;\u637c\u0100gp\u1663\u1667on;\u4105f;\uc000\u{1d552}\u0380;Eaeiop\u12c1\u167b\u167d\u1682\u1684\u1687\u168a;\u6a70cir;\u6a6f;\u624ad;\u624bs;\u4027rox\u0100;e\u12c1\u1692\xf1\u1683ing\u803b\xe5\u40e5\u0180cty\u16a1\u16a6\u16a8r;\uc000\u{1d4b6};\u402amp\u0100;e\u12c1\u16af\xf1\u0288ilde\u803b\xe3\u40e3ml\u803b\xe4\u40e4\u0100ci\u16c2\u16c8onin\xf4\u0272nt;\u6a11\u0800Nabcdefiklnoprsu\u16ed\u16f1\u1730\u173c\u1743\u1748\u1778\u177d\u17e0\u17e6\u1839\u1850\u170d\u193d\u1948\u1970ot;\u6aed\u0100cr\u16f6\u171ek\u0200ceps\u1700\u1705\u170d\u1713ong;\u624cpsilon;\u43f6rime;\u6035im\u0100;e\u171a\u171b\u623dq;\u62cd\u0176\u1722\u1726ee;\u62bded\u0100;g\u172c\u172d\u6305e\xbb\u172drk\u0100;t\u135c\u1737brk;\u63b6\u0100oy\u1701\u1741;\u4431quo;\u601e\u0280cmprt\u1753\u175b\u1761\u1764\u1768aus\u0100;e\u010a\u0109ptyv;\u69b0s\xe9\u170cno\xf5\u0113\u0180ahw\u176f\u1771\u1773;\u43b2;\u6136een;\u626cr;\uc000\u{1d51f}g\u0380costuvw\u178d\u179d\u17b3\u17c1\u17d5\u17db\u17de\u0180aiu\u1794\u1796\u179a\xf0\u0760rc;\u65efp\xbb\u1371\u0180dpt\u17a4\u17a8\u17adot;\u6a00lus;\u6a01imes;\u6a02\u0271\u17b9\0\0\u17becup;\u6a06ar;\u6605riangle\u0100du\u17cd\u17d2own;\u65bdp;\u65b3plus;\u6a04e\xe5\u1444\xe5\u14adarow;\u690d\u0180ako\u17ed\u1826\u1835\u0100cn\u17f2\u1823k\u0180lst\u17fa\u05ab\u1802ozenge;\u69ebriangle\u0200;dlr\u1812\u1813\u1818\u181d\u65b4own;\u65beeft;\u65c2ight;\u65b8k;\u6423\u01b1\u182b\0\u1833\u01b2\u182f\0\u1831;\u6592;\u65914;\u6593ck;\u6588\u0100eo\u183e\u184d\u0100;q\u1843\u1846\uc000=\u20e5uiv;\uc000\u2261\u20e5t;\u6310\u0200ptwx\u1859\u185e\u1867\u186cf;\uc000\u{1d553}\u0100;t\u13cb\u1863om\xbb\u13cctie;\u62c8\u0600DHUVbdhmptuv\u1885\u1896\u18aa\u18bb\u18d7\u18db\u18ec\u18ff\u1905\u190a\u1910\u1921\u0200LRlr\u188e\u1890\u1892\u1894;\u6557;\u6554;\u6556;\u6553\u0280;DUdu\u18a1\u18a2\u18a4\u18a6\u18a8\u6550;\u6566;\u6569;\u6564;\u6567\u0200LRlr\u18b3\u18b5\u18b7\u18b9;\u655d;\u655a;\u655c;\u6559\u0380;HLRhlr\u18ca\u18cb\u18cd\u18cf\u18d1\u18d3\u18d5\u6551;\u656c;\u6563;\u6560;\u656b;\u6562;\u655fox;\u69c9\u0200LRlr\u18e4\u18e6\u18e8\u18ea;\u6555;\u6552;\u6510;\u650c\u0280;DUdu\u06bd\u18f7\u18f9\u18fb\u18fd;\u6565;\u6568;\u652c;\u6534inus;\u629flus;\u629eimes;\u62a0\u0200LRlr\u1919\u191b\u191d\u191f;\u655b;\u6558;\u6518;\u6514\u0380;HLRhlr\u1930\u1931\u1933\u1935\u1937\u1939\u193b\u6502;\u656a;\u6561;\u655e;\u653c;\u6524;\u651c\u0100ev\u0123\u1942bar\u803b\xa6\u40a6\u0200ceio\u1951\u1956\u195a\u1960r;\uc000\u{1d4b7}mi;\u604fm\u0100;e\u171a\u171cl\u0180;bh\u1968\u1969\u196b\u405c;\u69c5sub;\u67c8\u016c\u1974\u197el\u0100;e\u1979\u197a\u6022t\xbb\u197ap\u0180;Ee\u012f\u1985\u1987;\u6aae\u0100;q\u06dc\u06db\u0ce1\u19a7\0\u19e8\u1a11\u1a15\u1a32\0\u1a37\u1a50\0\0\u1ab4\0\0\u1ac1\0\0\u1b21\u1b2e\u1b4d\u1b52\0\u1bfd\0\u1c0c\u0180cpr\u19ad\u19b2\u19ddute;\u4107\u0300;abcds\u19bf\u19c0\u19c4\u19ca\u19d5\u19d9\u6229nd;\u6a44rcup;\u6a49\u0100au\u19cf\u19d2p;\u6a4bp;\u6a47ot;\u6a40;\uc000\u2229\ufe00\u0100eo\u19e2\u19e5t;\u6041\xee\u0693\u0200aeiu\u19f0\u19fb\u1a01\u1a05\u01f0\u19f5\0\u19f8s;\u6a4don;\u410ddil\u803b\xe7\u40e7rc;\u4109ps\u0100;s\u1a0c\u1a0d\u6a4cm;\u6a50ot;\u410b\u0180dmn\u1a1b\u1a20\u1a26il\u80bb\xb8\u01adptyv;\u69b2t\u8100\xa2;e\u1a2d\u1a2e\u40a2r\xe4\u01b2r;\uc000\u{1d520}\u0180cei\u1a3d\u1a40\u1a4dy;\u4447ck\u0100;m\u1a47\u1a48\u6713ark\xbb\u1a48;\u43c7r\u0380;Ecefms\u1a5f\u1a60\u1a62\u1a6b\u1aa4\u1aaa\u1aae\u65cb;\u69c3\u0180;el\u1a69\u1a6a\u1a6d\u42c6q;\u6257e\u0261\u1a74\0\0\u1a88rrow\u0100lr\u1a7c\u1a81eft;\u61baight;\u61bb\u0280RSacd\u1a92\u1a94\u1a96\u1a9a\u1a9f\xbb\u0f47;\u64c8st;\u629birc;\u629aash;\u629dnint;\u6a10id;\u6aefcir;\u69c2ubs\u0100;u\u1abb\u1abc\u6663it\xbb\u1abc\u02ec\u1ac7\u1ad4\u1afa\0\u1b0aon\u0100;e\u1acd\u1ace\u403a\u0100;q\xc7\xc6\u026d\u1ad9\0\0\u1ae2a\u0100;t\u1ade\u1adf\u402c;\u4040\u0180;fl\u1ae8\u1ae9\u1aeb\u6201\xee\u1160e\u0100mx\u1af1\u1af6ent\xbb\u1ae9e\xf3\u024d\u01e7\u1afe\0\u1b07\u0100;d\u12bb\u1b02ot;\u6a6dn\xf4\u0246\u0180fry\u1b10\u1b14\u1b17;\uc000\u{1d554}o\xe4\u0254\u8100\xa9;s\u0155\u1b1dr;\u6117\u0100ao\u1b25\u1b29rr;\u61b5ss;\u6717\u0100cu\u1b32\u1b37r;\uc000\u{1d4b8}\u0100bp\u1b3c\u1b44\u0100;e\u1b41\u1b42\u6acf;\u6ad1\u0100;e\u1b49\u1b4a\u6ad0;\u6ad2dot;\u62ef\u0380delprvw\u1b60\u1b6c\u1b77\u1b82\u1bac\u1bd4\u1bf9arr\u0100lr\u1b68\u1b6a;\u6938;\u6935\u0270\u1b72\0\0\u1b75r;\u62dec;\u62dfarr\u0100;p\u1b7f\u1b80\u61b6;\u693d\u0300;bcdos\u1b8f\u1b90\u1b96\u1ba1\u1ba5\u1ba8\u622arcap;\u6a48\u0100au\u1b9b\u1b9ep;\u6a46p;\u6a4aot;\u628dr;\u6a45;\uc000\u222a\ufe00\u0200alrv\u1bb5\u1bbf\u1bde\u1be3rr\u0100;m\u1bbc\u1bbd\u61b7;\u693cy\u0180evw\u1bc7\u1bd4\u1bd8q\u0270\u1bce\0\0\u1bd2re\xe3\u1b73u\xe3\u1b75ee;\u62ceedge;\u62cfen\u803b\xa4\u40a4earrow\u0100lr\u1bee\u1bf3eft\xbb\u1b80ight\xbb\u1bbde\xe4\u1bdd\u0100ci\u1c01\u1c07onin\xf4\u01f7nt;\u6231lcty;\u632d\u0980AHabcdefhijlorstuwz\u1c38\u1c3b\u1c3f\u1c5d\u1c69\u1c75\u1c8a\u1c9e\u1cac\u1cb7\u1cfb\u1cff\u1d0d\u1d7b\u1d91\u1dab\u1dbb\u1dc6\u1dcdr\xf2\u0381ar;\u6965\u0200glrs\u1c48\u1c4d\u1c52\u1c54ger;\u6020eth;\u6138\xf2\u1133h\u0100;v\u1c5a\u1c5b\u6010\xbb\u090a\u016b\u1c61\u1c67arow;\u690fa\xe3\u0315\u0100ay\u1c6e\u1c73ron;\u410f;\u4434\u0180;ao\u0332\u1c7c\u1c84\u0100gr\u02bf\u1c81r;\u61catseq;\u6a77\u0180glm\u1c91\u1c94\u1c98\u803b\xb0\u40b0ta;\u43b4ptyv;\u69b1\u0100ir\u1ca3\u1ca8sht;\u697f;\uc000\u{1d521}ar\u0100lr\u1cb3\u1cb5\xbb\u08dc\xbb\u101e\u0280aegsv\u1cc2\u0378\u1cd6\u1cdc\u1ce0m\u0180;os\u0326\u1cca\u1cd4nd\u0100;s\u0326\u1cd1uit;\u6666amma;\u43ddin;\u62f2\u0180;io\u1ce7\u1ce8\u1cf8\u40f7de\u8100\xf7;o\u1ce7\u1cf0ntimes;\u62c7n\xf8\u1cf7cy;\u4452c\u026f\u1d06\0\0\u1d0arn;\u631eop;\u630d\u0280lptuw\u1d18\u1d1d\u1d22\u1d49\u1d55lar;\u4024f;\uc000\u{1d555}\u0280;emps\u030b\u1d2d\u1d37\u1d3d\u1d42q\u0100;d\u0352\u1d33ot;\u6251inus;\u6238lus;\u6214quare;\u62a1blebarwedg\xe5\xfan\u0180adh\u112e\u1d5d\u1d67ownarrow\xf3\u1c83arpoon\u0100lr\u1d72\u1d76ef\xf4\u1cb4igh\xf4\u1cb6\u0162\u1d7f\u1d85karo\xf7\u0f42\u026f\u1d8a\0\0\u1d8ern;\u631fop;\u630c\u0180cot\u1d98\u1da3\u1da6\u0100ry\u1d9d\u1da1;\uc000\u{1d4b9};\u4455l;\u69f6rok;\u4111\u0100dr\u1db0\u1db4ot;\u62f1i\u0100;f\u1dba\u1816\u65bf\u0100ah\u1dc0\u1dc3r\xf2\u0429a\xf2\u0fa6angle;\u69a6\u0100ci\u1dd2\u1dd5y;\u445fgrarr;\u67ff\u0900Dacdefglmnopqrstux\u1e01\u1e09\u1e19\u1e38\u0578\u1e3c\u1e49\u1e61\u1e7e\u1ea5\u1eaf\u1ebd\u1ee1\u1f2a\u1f37\u1f44\u1f4e\u1f5a\u0100Do\u1e06\u1d34o\xf4\u1c89\u0100cs\u1e0e\u1e14ute\u803b\xe9\u40e9ter;\u6a6e\u0200aioy\u1e22\u1e27\u1e31\u1e36ron;\u411br\u0100;c\u1e2d\u1e2e\u6256\u803b\xea\u40ealon;\u6255;\u444dot;\u4117\u0100Dr\u1e41\u1e45ot;\u6252;\uc000\u{1d522}\u0180;rs\u1e50\u1e51\u1e57\u6a9aave\u803b\xe8\u40e8\u0100;d\u1e5c\u1e5d\u6a96ot;\u6a98\u0200;ils\u1e6a\u1e6b\u1e72\u1e74\u6a99nters;\u63e7;\u6113\u0100;d\u1e79\u1e7a\u6a95ot;\u6a97\u0180aps\u1e85\u1e89\u1e97cr;\u4113ty\u0180;sv\u1e92\u1e93\u1e95\u6205et\xbb\u1e93p\u01001;\u1e9d\u1ea4\u0133\u1ea1\u1ea3;\u6004;\u6005\u6003\u0100gs\u1eaa\u1eac;\u414bp;\u6002\u0100gp\u1eb4\u1eb8on;\u4119f;\uc000\u{1d556}\u0180als\u1ec4\u1ece\u1ed2r\u0100;s\u1eca\u1ecb\u62d5l;\u69e3us;\u6a71i\u0180;lv\u1eda\u1edb\u1edf\u43b5on\xbb\u1edb;\u43f5\u0200csuv\u1eea\u1ef3\u1f0b\u1f23\u0100io\u1eef\u1e31rc\xbb\u1e2e\u0269\u1ef9\0\0\u1efb\xed\u0548ant\u0100gl\u1f02\u1f06tr\xbb\u1e5dess\xbb\u1e7a\u0180aei\u1f12\u1f16\u1f1als;\u403dst;\u625fv\u0100;D\u0235\u1f20D;\u6a78parsl;\u69e5\u0100Da\u1f2f\u1f33ot;\u6253rr;\u6971\u0180cdi\u1f3e\u1f41\u1ef8r;\u612fo\xf4\u0352\u0100ah\u1f49\u1f4b;\u43b7\u803b\xf0\u40f0\u0100mr\u1f53\u1f57l\u803b\xeb\u40ebo;\u60ac\u0180cip\u1f61\u1f64\u1f67l;\u4021s\xf4\u056e\u0100eo\u1f6c\u1f74ctatio\xee\u0559nential\xe5\u0579\u09e1\u1f92\0\u1f9e\0\u1fa1\u1fa7\0\0\u1fc6\u1fcc\0\u1fd3\0\u1fe6\u1fea\u2000\0\u2008\u205allingdotse\xf1\u1e44y;\u4444male;\u6640\u0180ilr\u1fad\u1fb3\u1fc1lig;\u8000\ufb03\u0269\u1fb9\0\0\u1fbdg;\u8000\ufb00ig;\u8000\ufb04;\uc000\u{1d523}lig;\u8000\ufb01lig;\uc000fj\u0180alt\u1fd9\u1fdc\u1fe1t;\u666dig;\u8000\ufb02ns;\u65b1of;\u4192\u01f0\u1fee\0\u1ff3f;\uc000\u{1d557}\u0100ak\u05bf\u1ff7\u0100;v\u1ffc\u1ffd\u62d4;\u6ad9artint;\u6a0d\u0100ao\u200c\u2055\u0100cs\u2011\u2052\u03b1\u201a\u2030\u2038\u2045\u2048\0\u2050\u03b2\u2022\u2025\u2027\u202a\u202c\0\u202e\u803b\xbd\u40bd;\u6153\u803b\xbc\u40bc;\u6155;\u6159;\u615b\u01b3\u2034\0\u2036;\u6154;\u6156\u02b4\u203e\u2041\0\0\u2043\u803b\xbe\u40be;\u6157;\u615c5;\u6158\u01b6\u204c\0\u204e;\u615a;\u615d8;\u615el;\u6044wn;\u6322cr;\uc000\u{1d4bb}\u0880Eabcdefgijlnorstv\u2082\u2089\u209f\u20a5\u20b0\u20b4\u20f0\u20f5\u20fa\u20ff\u2103\u2112\u2138\u0317\u213e\u2152\u219e\u0100;l\u064d\u2087;\u6a8c\u0180cmp\u2090\u2095\u209dute;\u41f5ma\u0100;d\u209c\u1cda\u43b3;\u6a86reve;\u411f\u0100iy\u20aa\u20aerc;\u411d;\u4433ot;\u4121\u0200;lqs\u063e\u0642\u20bd\u20c9\u0180;qs\u063e\u064c\u20c4lan\xf4\u0665\u0200;cdl\u0665\u20d2\u20d5\u20e5c;\u6aa9ot\u0100;o\u20dc\u20dd\u6a80\u0100;l\u20e2\u20e3\u6a82;\u6a84\u0100;e\u20ea\u20ed\uc000\u22db\ufe00s;\u6a94r;\uc000\u{1d524}\u0100;g\u0673\u061bmel;\u6137cy;\u4453\u0200;Eaj\u065a\u210c\u210e\u2110;\u6a92;\u6aa5;\u6aa4\u0200Eaes\u211b\u211d\u2129\u2134;\u6269p\u0100;p\u2123\u2124\u6a8arox\xbb\u2124\u0100;q\u212e\u212f\u6a88\u0100;q\u212e\u211bim;\u62e7pf;\uc000\u{1d558}\u0100ci\u2143\u2146r;\u610am\u0180;el\u066b\u214e\u2150;\u6a8e;\u6a90\u8300>;cdlqr\u05ee\u2160\u216a\u216e\u2173\u2179\u0100ci\u2165\u2167;\u6aa7r;\u6a7aot;\u62d7Par;\u6995uest;\u6a7c\u0280adels\u2184\u216a\u2190\u0656\u219b\u01f0\u2189\0\u218epro\xf8\u209er;\u6978q\u0100lq\u063f\u2196les\xf3\u2088i\xed\u066b\u0100en\u21a3\u21adrtneqq;\uc000\u2269\ufe00\xc5\u21aa\u0500Aabcefkosy\u21c4\u21c7\u21f1\u21f5\u21fa\u2218\u221d\u222f\u2268\u227dr\xf2\u03a0\u0200ilmr\u21d0\u21d4\u21d7\u21dbrs\xf0\u1484f\xbb\u2024il\xf4\u06a9\u0100dr\u21e0\u21e4cy;\u444a\u0180;cw\u08f4\u21eb\u21efir;\u6948;\u61adar;\u610firc;\u4125\u0180alr\u2201\u220e\u2213rts\u0100;u\u2209\u220a\u6665it\xbb\u220alip;\u6026con;\u62b9r;\uc000\u{1d525}s\u0100ew\u2223\u2229arow;\u6925arow;\u6926\u0280amopr\u223a\u223e\u2243\u225e\u2263rr;\u61fftht;\u623bk\u0100lr\u2249\u2253eftarrow;\u61a9ightarrow;\u61aaf;\uc000\u{1d559}bar;\u6015\u0180clt\u226f\u2274\u2278r;\uc000\u{1d4bd}as\xe8\u21f4rok;\u4127\u0100bp\u2282\u2287ull;\u6043hen\xbb\u1c5b\u0ae1\u22a3\0\u22aa\0\u22b8\u22c5\u22ce\0\u22d5\u22f3\0\0\u22f8\u2322\u2367\u2362\u237f\0\u2386\u23aa\u23b4cute\u803b\xed\u40ed\u0180;iy\u0771\u22b0\u22b5rc\u803b\xee\u40ee;\u4438\u0100cx\u22bc\u22bfy;\u4435cl\u803b\xa1\u40a1\u0100fr\u039f\u22c9;\uc000\u{1d526}rave\u803b\xec\u40ec\u0200;ino\u073e\u22dd\u22e9\u22ee\u0100in\u22e2\u22e6nt;\u6a0ct;\u622dfin;\u69dcta;\u6129lig;\u4133\u0180aop\u22fe\u231a\u231d\u0180cgt\u2305\u2308\u2317r;\u412b\u0180elp\u071f\u230f\u2313in\xe5\u078ear\xf4\u0720h;\u4131f;\u62b7ed;\u41b5\u0280;cfot\u04f4\u232c\u2331\u233d\u2341are;\u6105in\u0100;t\u2338\u2339\u621eie;\u69dddo\xf4\u2319\u0280;celp\u0757\u234c\u2350\u235b\u2361al;\u62ba\u0100gr\u2355\u2359er\xf3\u1563\xe3\u234darhk;\u6a17rod;\u6a3c\u0200cgpt\u236f\u2372\u2376\u237by;\u4451on;\u412ff;\uc000\u{1d55a}a;\u43b9uest\u803b\xbf\u40bf\u0100ci\u238a\u238fr;\uc000\u{1d4be}n\u0280;Edsv\u04f4\u239b\u239d\u23a1\u04f3;\u62f9ot;\u62f5\u0100;v\u23a6\u23a7\u62f4;\u62f3\u0100;i\u0777\u23aelde;\u4129\u01eb\u23b8\0\u23bccy;\u4456l\u803b\xef\u40ef\u0300cfmosu\u23cc\u23d7\u23dc\u23e1\u23e7\u23f5\u0100iy\u23d1\u23d5rc;\u4135;\u4439r;\uc000\u{1d527}ath;\u4237pf;\uc000\u{1d55b}\u01e3\u23ec\0\u23f1r;\uc000\u{1d4bf}rcy;\u4458kcy;\u4454\u0400acfghjos\u240b\u2416\u2422\u2427\u242d\u2431\u2435\u243bppa\u0100;v\u2413\u2414\u43ba;\u43f0\u0100ey\u241b\u2420dil;\u4137;\u443ar;\uc000\u{1d528}reen;\u4138cy;\u4445cy;\u445cpf;\uc000\u{1d55c}cr;\uc000\u{1d4c0}\u0b80ABEHabcdefghjlmnoprstuv\u2470\u2481\u2486\u248d\u2491\u250e\u253d\u255a\u2580\u264e\u265e\u2665\u2679\u267d\u269a\u26b2\u26d8\u275d\u2768\u278b\u27c0\u2801\u2812\u0180art\u2477\u247a\u247cr\xf2\u09c6\xf2\u0395ail;\u691barr;\u690e\u0100;g\u0994\u248b;\u6a8bar;\u6962\u0963\u24a5\0\u24aa\0\u24b1\0\0\0\0\0\u24b5\u24ba\0\u24c6\u24c8\u24cd\0\u24f9ute;\u413amptyv;\u69b4ra\xee\u084cbda;\u43bbg\u0180;dl\u088e\u24c1\u24c3;\u6991\xe5\u088e;\u6a85uo\u803b\xab\u40abr\u0400;bfhlpst\u0899\u24de\u24e6\u24e9\u24eb\u24ee\u24f1\u24f5\u0100;f\u089d\u24e3s;\u691fs;\u691d\xeb\u2252p;\u61abl;\u6939im;\u6973l;\u61a2\u0180;ae\u24ff\u2500\u2504\u6aabil;\u6919\u0100;s\u2509\u250a\u6aad;\uc000\u2aad\ufe00\u0180abr\u2515\u2519\u251drr;\u690crk;\u6772\u0100ak\u2522\u252cc\u0100ek\u2528\u252a;\u407b;\u405b\u0100es\u2531\u2533;\u698bl\u0100du\u2539\u253b;\u698f;\u698d\u0200aeuy\u2546\u254b\u2556\u2558ron;\u413e\u0100di\u2550\u2554il;\u413c\xec\u08b0\xe2\u2529;\u443b\u0200cqrs\u2563\u2566\u256d\u257da;\u6936uo\u0100;r\u0e19\u1746\u0100du\u2572\u2577har;\u6967shar;\u694bh;\u61b2\u0280;fgqs\u258b\u258c\u0989\u25f3\u25ff\u6264t\u0280ahlrt\u2598\u25a4\u25b7\u25c2\u25e8rrow\u0100;t\u0899\u25a1a\xe9\u24f6arpoon\u0100du\u25af\u25b4own\xbb\u045ap\xbb\u0966eftarrows;\u61c7ight\u0180ahs\u25cd\u25d6\u25derrow\u0100;s\u08f4\u08a7arpoon\xf3\u0f98quigarro\xf7\u21f0hreetimes;\u62cb\u0180;qs\u258b\u0993\u25falan\xf4\u09ac\u0280;cdgs\u09ac\u260a\u260d\u261d\u2628c;\u6aa8ot\u0100;o\u2614\u2615\u6a7f\u0100;r\u261a\u261b\u6a81;\u6a83\u0100;e\u2622\u2625\uc000\u22da\ufe00s;\u6a93\u0280adegs\u2633\u2639\u263d\u2649\u264bppro\xf8\u24c6ot;\u62d6q\u0100gq\u2643\u2645\xf4\u0989gt\xf2\u248c\xf4\u099bi\xed\u09b2\u0180ilr\u2655\u08e1\u265asht;\u697c;\uc000\u{1d529}\u0100;E\u099c\u2663;\u6a91\u0161\u2669\u2676r\u0100du\u25b2\u266e\u0100;l\u0965\u2673;\u696alk;\u6584cy;\u4459\u0280;acht\u0a48\u2688\u268b\u2691\u2696r\xf2\u25c1orne\xf2\u1d08ard;\u696bri;\u65fa\u0100io\u269f\u26a4dot;\u4140ust\u0100;a\u26ac\u26ad\u63b0che\xbb\u26ad\u0200Eaes\u26bb\u26bd\u26c9\u26d4;\u6268p\u0100;p\u26c3\u26c4\u6a89rox\xbb\u26c4\u0100;q\u26ce\u26cf\u6a87\u0100;q\u26ce\u26bbim;\u62e6\u0400abnoptwz\u26e9\u26f4\u26f7\u271a\u272f\u2741\u2747\u2750\u0100nr\u26ee\u26f1g;\u67ecr;\u61fdr\xeb\u08c1g\u0180lmr\u26ff\u270d\u2714eft\u0100ar\u09e6\u2707ight\xe1\u09f2apsto;\u67fcight\xe1\u09fdparrow\u0100lr\u2725\u2729ef\xf4\u24edight;\u61ac\u0180afl\u2736\u2739\u273dr;\u6985;\uc000\u{1d55d}us;\u6a2dimes;\u6a34\u0161\u274b\u274fst;\u6217\xe1\u134e\u0180;ef\u2757\u2758\u1800\u65cange\xbb\u2758ar\u0100;l\u2764\u2765\u4028t;\u6993\u0280achmt\u2773\u2776\u277c\u2785\u2787r\xf2\u08a8orne\xf2\u1d8car\u0100;d\u0f98\u2783;\u696d;\u600eri;\u62bf\u0300achiqt\u2798\u279d\u0a40\u27a2\u27ae\u27bbquo;\u6039r;\uc000\u{1d4c1}m\u0180;eg\u09b2\u27aa\u27ac;\u6a8d;\u6a8f\u0100bu\u252a\u27b3o\u0100;r\u0e1f\u27b9;\u601arok;\u4142\u8400<;cdhilqr\u082b\u27d2\u2639\u27dc\u27e0\u27e5\u27ea\u27f0\u0100ci\u27d7\u27d9;\u6aa6r;\u6a79re\xe5\u25f2mes;\u62c9arr;\u6976uest;\u6a7b\u0100Pi\u27f5\u27f9ar;\u6996\u0180;ef\u2800\u092d\u181b\u65c3r\u0100du\u2807\u280dshar;\u694ahar;\u6966\u0100en\u2817\u2821rtneqq;\uc000\u2268\ufe00\xc5\u281e\u0700Dacdefhilnopsu\u2840\u2845\u2882\u288e\u2893\u28a0\u28a5\u28a8\u28da\u28e2\u28e4\u0a83\u28f3\u2902Dot;\u623a\u0200clpr\u284e\u2852\u2863\u287dr\u803b\xaf\u40af\u0100et\u2857\u2859;\u6642\u0100;e\u285e\u285f\u6720se\xbb\u285f\u0100;s\u103b\u2868to\u0200;dlu\u103b\u2873\u2877\u287bow\xee\u048cef\xf4\u090f\xf0\u13d1ker;\u65ae\u0100oy\u2887\u288cmma;\u6a29;\u443cash;\u6014asuredangle\xbb\u1626r;\uc000\u{1d52a}o;\u6127\u0180cdn\u28af\u28b4\u28c9ro\u803b\xb5\u40b5\u0200;acd\u1464\u28bd\u28c0\u28c4s\xf4\u16a7ir;\u6af0ot\u80bb\xb7\u01b5us\u0180;bd\u28d2\u1903\u28d3\u6212\u0100;u\u1d3c\u28d8;\u6a2a\u0163\u28de\u28e1p;\u6adb\xf2\u2212\xf0\u0a81\u0100dp\u28e9\u28eeels;\u62a7f;\uc000\u{1d55e}\u0100ct\u28f8\u28fdr;\uc000\u{1d4c2}pos\xbb\u159d\u0180;lm\u2909\u290a\u290d\u43bctimap;\u62b8\u0c00GLRVabcdefghijlmoprstuvw\u2942\u2953\u297e\u2989\u2998\u29da\u29e9\u2a15\u2a1a\u2a58\u2a5d\u2a83\u2a95\u2aa4\u2aa8\u2b04\u2b07\u2b44\u2b7f\u2bae\u2c34\u2c67\u2c7c\u2ce9\u0100gt\u2947\u294b;\uc000\u22d9\u0338\u0100;v\u2950\u0bcf\uc000\u226b\u20d2\u0180elt\u295a\u2972\u2976ft\u0100ar\u2961\u2967rrow;\u61cdightarrow;\u61ce;\uc000\u22d8\u0338\u0100;v\u297b\u0c47\uc000\u226a\u20d2ightarrow;\u61cf\u0100Dd\u298e\u2993ash;\u62afash;\u62ae\u0280bcnpt\u29a3\u29a7\u29ac\u29b1\u29ccla\xbb\u02deute;\u4144g;\uc000\u2220\u20d2\u0280;Eiop\u0d84\u29bc\u29c0\u29c5\u29c8;\uc000\u2a70\u0338d;\uc000\u224b\u0338s;\u4149ro\xf8\u0d84ur\u0100;a\u29d3\u29d4\u666el\u0100;s\u29d3\u0b38\u01f3\u29df\0\u29e3p\u80bb\xa0\u0b37mp\u0100;e\u0bf9\u0c00\u0280aeouy\u29f4\u29fe\u2a03\u2a10\u2a13\u01f0\u29f9\0\u29fb;\u6a43on;\u4148dil;\u4146ng\u0100;d\u0d7e\u2a0aot;\uc000\u2a6d\u0338p;\u6a42;\u443dash;\u6013\u0380;Aadqsx\u0b92\u2a29\u2a2d\u2a3b\u2a41\u2a45\u2a50rr;\u61d7r\u0100hr\u2a33\u2a36k;\u6924\u0100;o\u13f2\u13f0ot;\uc000\u2250\u0338ui\xf6\u0b63\u0100ei\u2a4a\u2a4ear;\u6928\xed\u0b98ist\u0100;s\u0ba0\u0b9fr;\uc000\u{1d52b}\u0200Eest\u0bc5\u2a66\u2a79\u2a7c\u0180;qs\u0bbc\u2a6d\u0be1\u0180;qs\u0bbc\u0bc5\u2a74lan\xf4\u0be2i\xed\u0bea\u0100;r\u0bb6\u2a81\xbb\u0bb7\u0180Aap\u2a8a\u2a8d\u2a91r\xf2\u2971rr;\u61aear;\u6af2\u0180;sv\u0f8d\u2a9c\u0f8c\u0100;d\u2aa1\u2aa2\u62fc;\u62facy;\u445a\u0380AEadest\u2ab7\u2aba\u2abe\u2ac2\u2ac5\u2af6\u2af9r\xf2\u2966;\uc000\u2266\u0338rr;\u619ar;\u6025\u0200;fqs\u0c3b\u2ace\u2ae3\u2aeft\u0100ar\u2ad4\u2ad9rro\xf7\u2ac1ightarro\xf7\u2a90\u0180;qs\u0c3b\u2aba\u2aealan\xf4\u0c55\u0100;s\u0c55\u2af4\xbb\u0c36i\xed\u0c5d\u0100;r\u0c35\u2afei\u0100;e\u0c1a\u0c25i\xe4\u0d90\u0100pt\u2b0c\u2b11f;\uc000\u{1d55f}\u8180\xac;in\u2b19\u2b1a\u2b36\u40acn\u0200;Edv\u0b89\u2b24\u2b28\u2b2e;\uc000\u22f9\u0338ot;\uc000\u22f5\u0338\u01e1\u0b89\u2b33\u2b35;\u62f7;\u62f6i\u0100;v\u0cb8\u2b3c\u01e1\u0cb8\u2b41\u2b43;\u62fe;\u62fd\u0180aor\u2b4b\u2b63\u2b69r\u0200;ast\u0b7b\u2b55\u2b5a\u2b5flle\xec\u0b7bl;\uc000\u2afd\u20e5;\uc000\u2202\u0338lint;\u6a14\u0180;ce\u0c92\u2b70\u2b73u\xe5\u0ca5\u0100;c\u0c98\u2b78\u0100;e\u0c92\u2b7d\xf1\u0c98\u0200Aait\u2b88\u2b8b\u2b9d\u2ba7r\xf2\u2988rr\u0180;cw\u2b94\u2b95\u2b99\u619b;\uc000\u2933\u0338;\uc000\u219d\u0338ghtarrow\xbb\u2b95ri\u0100;e\u0ccb\u0cd6\u0380chimpqu\u2bbd\u2bcd\u2bd9\u2b04\u0b78\u2be4\u2bef\u0200;cer\u0d32\u2bc6\u0d37\u2bc9u\xe5\u0d45;\uc000\u{1d4c3}ort\u026d\u2b05\0\0\u2bd6ar\xe1\u2b56m\u0100;e\u0d6e\u2bdf\u0100;q\u0d74\u0d73su\u0100bp\u2beb\u2bed\xe5\u0cf8\xe5\u0d0b\u0180bcp\u2bf6\u2c11\u2c19\u0200;Ees\u2bff\u2c00\u0d22\u2c04\u6284;\uc000\u2ac5\u0338et\u0100;e\u0d1b\u2c0bq\u0100;q\u0d23\u2c00c\u0100;e\u0d32\u2c17\xf1\u0d38\u0200;Ees\u2c22\u2c23\u0d5f\u2c27\u6285;\uc000\u2ac6\u0338et\u0100;e\u0d58\u2c2eq\u0100;q\u0d60\u2c23\u0200gilr\u2c3d\u2c3f\u2c45\u2c47\xec\u0bd7lde\u803b\xf1\u40f1\xe7\u0c43iangle\u0100lr\u2c52\u2c5ceft\u0100;e\u0c1a\u2c5a\xf1\u0c26ight\u0100;e\u0ccb\u2c65\xf1\u0cd7\u0100;m\u2c6c\u2c6d\u43bd\u0180;es\u2c74\u2c75\u2c79\u4023ro;\u6116p;\u6007\u0480DHadgilrs\u2c8f\u2c94\u2c99\u2c9e\u2ca3\u2cb0\u2cb6\u2cd3\u2ce3ash;\u62adarr;\u6904p;\uc000\u224d\u20d2ash;\u62ac\u0100et\u2ca8\u2cac;\uc000\u2265\u20d2;\uc000>\u20d2nfin;\u69de\u0180Aet\u2cbd\u2cc1\u2cc5rr;\u6902;\uc000\u2264\u20d2\u0100;r\u2cca\u2ccd\uc000<\u20d2ie;\uc000\u22b4\u20d2\u0100At\u2cd8\u2cdcrr;\u6903rie;\uc000\u22b5\u20d2im;\uc000\u223c\u20d2\u0180Aan\u2cf0\u2cf4\u2d02rr;\u61d6r\u0100hr\u2cfa\u2cfdk;\u6923\u0100;o\u13e7\u13e5ear;\u6927\u1253\u1a95\0\0\0\0\0\0\0\0\0\0\0\0\0\u2d2d\0\u2d38\u2d48\u2d60\u2d65\u2d72\u2d84\u1b07\0\0\u2d8d\u2dab\0\u2dc8\u2dce\0\u2ddc\u2e19\u2e2b\u2e3e\u2e43\u0100cs\u2d31\u1a97ute\u803b\xf3\u40f3\u0100iy\u2d3c\u2d45r\u0100;c\u1a9e\u2d42\u803b\xf4\u40f4;\u443e\u0280abios\u1aa0\u2d52\u2d57\u01c8\u2d5alac;\u4151v;\u6a38old;\u69bclig;\u4153\u0100cr\u2d69\u2d6dir;\u69bf;\uc000\u{1d52c}\u036f\u2d79\0\0\u2d7c\0\u2d82n;\u42dbave\u803b\xf2\u40f2;\u69c1\u0100bm\u2d88\u0df4ar;\u69b5\u0200acit\u2d95\u2d98\u2da5\u2da8r\xf2\u1a80\u0100ir\u2d9d\u2da0r;\u69beoss;\u69bbn\xe5\u0e52;\u69c0\u0180aei\u2db1\u2db5\u2db9cr;\u414dga;\u43c9\u0180cdn\u2dc0\u2dc5\u01cdron;\u43bf;\u69b6pf;\uc000\u{1d560}\u0180ael\u2dd4\u2dd7\u01d2r;\u69b7rp;\u69b9\u0380;adiosv\u2dea\u2deb\u2dee\u2e08\u2e0d\u2e10\u2e16\u6228r\xf2\u1a86\u0200;efm\u2df7\u2df8\u2e02\u2e05\u6a5dr\u0100;o\u2dfe\u2dff\u6134f\xbb\u2dff\u803b\xaa\u40aa\u803b\xba\u40bagof;\u62b6r;\u6a56lope;\u6a57;\u6a5b\u0180clo\u2e1f\u2e21\u2e27\xf2\u2e01ash\u803b\xf8\u40f8l;\u6298i\u016c\u2e2f\u2e34de\u803b\xf5\u40f5es\u0100;a\u01db\u2e3as;\u6a36ml\u803b\xf6\u40f6bar;\u633d\u0ae1\u2e5e\0\u2e7d\0\u2e80\u2e9d\0\u2ea2\u2eb9\0\0\u2ecb\u0e9c\0\u2f13\0\0\u2f2b\u2fbc\0\u2fc8r\u0200;ast\u0403\u2e67\u2e72\u0e85\u8100\xb6;l\u2e6d\u2e6e\u40b6le\xec\u0403\u0269\u2e78\0\0\u2e7bm;\u6af3;\u6afdy;\u443fr\u0280cimpt\u2e8b\u2e8f\u2e93\u1865\u2e97nt;\u4025od;\u402eil;\u6030enk;\u6031r;\uc000\u{1d52d}\u0180imo\u2ea8\u2eb0\u2eb4\u0100;v\u2ead\u2eae\u43c6;\u43d5ma\xf4\u0a76ne;\u660e\u0180;tv\u2ebf\u2ec0\u2ec8\u43c0chfork\xbb\u1ffd;\u43d6\u0100au\u2ecf\u2edfn\u0100ck\u2ed5\u2eddk\u0100;h\u21f4\u2edb;\u610e\xf6\u21f4s\u0480;abcdemst\u2ef3\u2ef4\u1908\u2ef9\u2efd\u2f04\u2f06\u2f0a\u2f0e\u402bcir;\u6a23ir;\u6a22\u0100ou\u1d40\u2f02;\u6a25;\u6a72n\u80bb\xb1\u0e9dim;\u6a26wo;\u6a27\u0180ipu\u2f19\u2f20\u2f25ntint;\u6a15f;\uc000\u{1d561}nd\u803b\xa3\u40a3\u0500;Eaceinosu\u0ec8\u2f3f\u2f41\u2f44\u2f47\u2f81\u2f89\u2f92\u2f7e\u2fb6;\u6ab3p;\u6ab7u\xe5\u0ed9\u0100;c\u0ece\u2f4c\u0300;acens\u0ec8\u2f59\u2f5f\u2f66\u2f68\u2f7eppro\xf8\u2f43urlye\xf1\u0ed9\xf1\u0ece\u0180aes\u2f6f\u2f76\u2f7approx;\u6ab9qq;\u6ab5im;\u62e8i\xed\u0edfme\u0100;s\u2f88\u0eae\u6032\u0180Eas\u2f78\u2f90\u2f7a\xf0\u2f75\u0180dfp\u0eec\u2f99\u2faf\u0180als\u2fa0\u2fa5\u2faalar;\u632eine;\u6312urf;\u6313\u0100;t\u0efb\u2fb4\xef\u0efbrel;\u62b0\u0100ci\u2fc0\u2fc5r;\uc000\u{1d4c5};\u43c8ncsp;\u6008\u0300fiopsu\u2fda\u22e2\u2fdf\u2fe5\u2feb\u2ff1r;\uc000\u{1d52e}pf;\uc000\u{1d562}rime;\u6057cr;\uc000\u{1d4c6}\u0180aeo\u2ff8\u3009\u3013t\u0100ei\u2ffe\u3005rnion\xf3\u06b0nt;\u6a16st\u0100;e\u3010\u3011\u403f\xf1\u1f19\xf4\u0f14\u0a80ABHabcdefhilmnoprstux\u3040\u3051\u3055\u3059\u30e0\u310e\u312b\u3147\u3162\u3172\u318e\u3206\u3215\u3224\u3229\u3258\u326e\u3272\u3290\u32b0\u32b7\u0180art\u3047\u304a\u304cr\xf2\u10b3\xf2\u03ddail;\u691car\xf2\u1c65ar;\u6964\u0380cdenqrt\u3068\u3075\u3078\u307f\u308f\u3094\u30cc\u0100eu\u306d\u3071;\uc000\u223d\u0331te;\u4155i\xe3\u116emptyv;\u69b3g\u0200;del\u0fd1\u3089\u308b\u308d;\u6992;\u69a5\xe5\u0fd1uo\u803b\xbb\u40bbr\u0580;abcfhlpstw\u0fdc\u30ac\u30af\u30b7\u30b9\u30bc\u30be\u30c0\u30c3\u30c7\u30cap;\u6975\u0100;f\u0fe0\u30b4s;\u6920;\u6933s;\u691e\xeb\u225d\xf0\u272el;\u6945im;\u6974l;\u61a3;\u619d\u0100ai\u30d1\u30d5il;\u691ao\u0100;n\u30db\u30dc\u6236al\xf3\u0f1e\u0180abr\u30e7\u30ea\u30eer\xf2\u17e5rk;\u6773\u0100ak\u30f3\u30fdc\u0100ek\u30f9\u30fb;\u407d;\u405d\u0100es\u3102\u3104;\u698cl\u0100du\u310a\u310c;\u698e;\u6990\u0200aeuy\u3117\u311c\u3127\u3129ron;\u4159\u0100di\u3121\u3125il;\u4157\xec\u0ff2\xe2\u30fa;\u4440\u0200clqs\u3134\u3137\u313d\u3144a;\u6937dhar;\u6969uo\u0100;r\u020e\u020dh;\u61b3\u0180acg\u314e\u315f\u0f44l\u0200;ips\u0f78\u3158\u315b\u109cn\xe5\u10bbar\xf4\u0fa9t;\u65ad\u0180ilr\u3169\u1023\u316esht;\u697d;\uc000\u{1d52f}\u0100ao\u3177\u3186r\u0100du\u317d\u317f\xbb\u047b\u0100;l\u1091\u3184;\u696c\u0100;v\u318b\u318c\u43c1;\u43f1\u0180gns\u3195\u31f9\u31fcht\u0300ahlrst\u31a4\u31b0\u31c2\u31d8\u31e4\u31eerrow\u0100;t\u0fdc\u31ada\xe9\u30c8arpoon\u0100du\u31bb\u31bfow\xee\u317ep\xbb\u1092eft\u0100ah\u31ca\u31d0rrow\xf3\u0feaarpoon\xf3\u0551ightarrows;\u61c9quigarro\xf7\u30cbhreetimes;\u62ccg;\u42daingdotse\xf1\u1f32\u0180ahm\u320d\u3210\u3213r\xf2\u0feaa\xf2\u0551;\u600foust\u0100;a\u321e\u321f\u63b1che\xbb\u321fmid;\u6aee\u0200abpt\u3232\u323d\u3240\u3252\u0100nr\u3237\u323ag;\u67edr;\u61fer\xeb\u1003\u0180afl\u3247\u324a\u324er;\u6986;\uc000\u{1d563}us;\u6a2eimes;\u6a35\u0100ap\u325d\u3267r\u0100;g\u3263\u3264\u4029t;\u6994olint;\u6a12ar\xf2\u31e3\u0200achq\u327b\u3280\u10bc\u3285quo;\u603ar;\uc000\u{1d4c7}\u0100bu\u30fb\u328ao\u0100;r\u0214\u0213\u0180hir\u3297\u329b\u32a0re\xe5\u31f8mes;\u62cai\u0200;efl\u32aa\u1059\u1821\u32ab\u65b9tri;\u69celuhar;\u6968;\u611e\u0d61\u32d5\u32db\u32df\u332c\u3338\u3371\0\u337a\u33a4\0\0\u33ec\u33f0\0\u3428\u3448\u345a\u34ad\u34b1\u34ca\u34f1\0\u3616\0\0\u3633cute;\u415bqu\xef\u27ba\u0500;Eaceinpsy\u11ed\u32f3\u32f5\u32ff\u3302\u330b\u330f\u331f\u3326\u3329;\u6ab4\u01f0\u32fa\0\u32fc;\u6ab8on;\u4161u\xe5\u11fe\u0100;d\u11f3\u3307il;\u415frc;\u415d\u0180Eas\u3316\u3318\u331b;\u6ab6p;\u6abaim;\u62e9olint;\u6a13i\xed\u1204;\u4441ot\u0180;be\u3334\u1d47\u3335\u62c5;\u6a66\u0380Aacmstx\u3346\u334a\u3357\u335b\u335e\u3363\u336drr;\u61d8r\u0100hr\u3350\u3352\xeb\u2228\u0100;o\u0a36\u0a34t\u803b\xa7\u40a7i;\u403bwar;\u6929m\u0100in\u3369\xf0nu\xf3\xf1t;\u6736r\u0100;o\u3376\u2055\uc000\u{1d530}\u0200acoy\u3382\u3386\u3391\u33a0rp;\u666f\u0100hy\u338b\u338fcy;\u4449;\u4448rt\u026d\u3399\0\0\u339ci\xe4\u1464ara\xec\u2e6f\u803b\xad\u40ad\u0100gm\u33a8\u33b4ma\u0180;fv\u33b1\u33b2\u33b2\u43c3;\u43c2\u0400;deglnpr\u12ab\u33c5\u33c9\u33ce\u33d6\u33de\u33e1\u33e6ot;\u6a6a\u0100;q\u12b1\u12b0\u0100;E\u33d3\u33d4\u6a9e;\u6aa0\u0100;E\u33db\u33dc\u6a9d;\u6a9fe;\u6246lus;\u6a24arr;\u6972ar\xf2\u113d\u0200aeit\u33f8\u3408\u340f\u3417\u0100ls\u33fd\u3404lsetm\xe9\u336ahp;\u6a33parsl;\u69e4\u0100dl\u1463\u3414e;\u6323\u0100;e\u341c\u341d\u6aaa\u0100;s\u3422\u3423\u6aac;\uc000\u2aac\ufe00\u0180flp\u342e\u3433\u3442tcy;\u444c\u0100;b\u3438\u3439\u402f\u0100;a\u343e\u343f\u69c4r;\u633ff;\uc000\u{1d564}a\u0100dr\u344d\u0402es\u0100;u\u3454\u3455\u6660it\xbb\u3455\u0180csu\u3460\u3479\u349f\u0100au\u3465\u346fp\u0100;s\u1188\u346b;\uc000\u2293\ufe00p\u0100;s\u11b4\u3475;\uc000\u2294\ufe00u\u0100bp\u347f\u348f\u0180;es\u1197\u119c\u3486et\u0100;e\u1197\u348d\xf1\u119d\u0180;es\u11a8\u11ad\u3496et\u0100;e\u11a8\u349d\xf1\u11ae\u0180;af\u117b\u34a6\u05b0r\u0165\u34ab\u05b1\xbb\u117car\xf2\u1148\u0200cemt\u34b9\u34be\u34c2\u34c5r;\uc000\u{1d4c8}tm\xee\xf1i\xec\u3415ar\xe6\u11be\u0100ar\u34ce\u34d5r\u0100;f\u34d4\u17bf\u6606\u0100an\u34da\u34edight\u0100ep\u34e3\u34eapsilo\xee\u1ee0h\xe9\u2eafs\xbb\u2852\u0280bcmnp\u34fb\u355e\u1209\u358b\u358e\u0480;Edemnprs\u350e\u350f\u3511\u3515\u351e\u3523\u352c\u3531\u3536\u6282;\u6ac5ot;\u6abd\u0100;d\u11da\u351aot;\u6ac3ult;\u6ac1\u0100Ee\u3528\u352a;\u6acb;\u628alus;\u6abfarr;\u6979\u0180eiu\u353d\u3552\u3555t\u0180;en\u350e\u3545\u354bq\u0100;q\u11da\u350feq\u0100;q\u352b\u3528m;\u6ac7\u0100bp\u355a\u355c;\u6ad5;\u6ad3c\u0300;acens\u11ed\u356c\u3572\u3579\u357b\u3326ppro\xf8\u32faurlye\xf1\u11fe\xf1\u11f3\u0180aes\u3582\u3588\u331bppro\xf8\u331aq\xf1\u3317g;\u666a\u0680123;Edehlmnps\u35a9\u35ac\u35af\u121c\u35b2\u35b4\u35c0\u35c9\u35d5\u35da\u35df\u35e8\u35ed\u803b\xb9\u40b9\u803b\xb2\u40b2\u803b\xb3\u40b3;\u6ac6\u0100os\u35b9\u35bct;\u6abeub;\u6ad8\u0100;d\u1222\u35c5ot;\u6ac4s\u0100ou\u35cf\u35d2l;\u67c9b;\u6ad7arr;\u697bult;\u6ac2\u0100Ee\u35e4\u35e6;\u6acc;\u628blus;\u6ac0\u0180eiu\u35f4\u3609\u360ct\u0180;en\u121c\u35fc\u3602q\u0100;q\u1222\u35b2eq\u0100;q\u35e7\u35e4m;\u6ac8\u0100bp\u3611\u3613;\u6ad4;\u6ad6\u0180Aan\u361c\u3620\u362drr;\u61d9r\u0100hr\u3626\u3628\xeb\u222e\u0100;o\u0a2b\u0a29war;\u692alig\u803b\xdf\u40df\u0be1\u3651\u365d\u3660\u12ce\u3673\u3679\0\u367e\u36c2\0\0\0\0\0\u36db\u3703\0\u3709\u376c\0\0\0\u3787\u0272\u3656\0\0\u365bget;\u6316;\u43c4r\xeb\u0e5f\u0180aey\u3666\u366b\u3670ron;\u4165dil;\u4163;\u4442lrec;\u6315r;\uc000\u{1d531}\u0200eiko\u3686\u369d\u36b5\u36bc\u01f2\u368b\0\u3691e\u01004f\u1284\u1281a\u0180;sv\u3698\u3699\u369b\u43b8ym;\u43d1\u0100cn\u36a2\u36b2k\u0100as\u36a8\u36aeppro\xf8\u12c1im\xbb\u12acs\xf0\u129e\u0100as\u36ba\u36ae\xf0\u12c1rn\u803b\xfe\u40fe\u01ec\u031f\u36c6\u22e7es\u8180\xd7;bd\u36cf\u36d0\u36d8\u40d7\u0100;a\u190f\u36d5r;\u6a31;\u6a30\u0180eps\u36e1\u36e3\u3700\xe1\u2a4d\u0200;bcf\u0486\u36ec\u36f0\u36f4ot;\u6336ir;\u6af1\u0100;o\u36f9\u36fc\uc000\u{1d565}rk;\u6ada\xe1\u3362rime;\u6034\u0180aip\u370f\u3712\u3764d\xe5\u1248\u0380adempst\u3721\u374d\u3740\u3751\u3757\u375c\u375fngle\u0280;dlqr\u3730\u3731\u3736\u3740\u3742\u65b5own\xbb\u1dbbeft\u0100;e\u2800\u373e\xf1\u092e;\u625cight\u0100;e\u32aa\u374b\xf1\u105aot;\u65ecinus;\u6a3alus;\u6a39b;\u69cdime;\u6a3bezium;\u63e2\u0180cht\u3772\u377d\u3781\u0100ry\u3777\u377b;\uc000\u{1d4c9};\u4446cy;\u445brok;\u4167\u0100io\u378b\u378ex\xf4\u1777head\u0100lr\u3797\u37a0eftarro\xf7\u084fightarrow\xbb\u0f5d\u0900AHabcdfghlmoprstuw\u37d0\u37d3\u37d7\u37e4\u37f0\u37fc\u380e\u381c\u3823\u3834\u3851\u385d\u386b\u38a9\u38cc\u38d2\u38ea\u38f6r\xf2\u03edar;\u6963\u0100cr\u37dc\u37e2ute\u803b\xfa\u40fa\xf2\u1150r\u01e3\u37ea\0\u37edy;\u445eve;\u416d\u0100iy\u37f5\u37farc\u803b\xfb\u40fb;\u4443\u0180abh\u3803\u3806\u380br\xf2\u13adlac;\u4171a\xf2\u13c3\u0100ir\u3813\u3818sht;\u697e;\uc000\u{1d532}rave\u803b\xf9\u40f9\u0161\u3827\u3831r\u0100lr\u382c\u382e\xbb\u0957\xbb\u1083lk;\u6580\u0100ct\u3839\u384d\u026f\u383f\0\0\u384arn\u0100;e\u3845\u3846\u631cr\xbb\u3846op;\u630fri;\u65f8\u0100al\u3856\u385acr;\u416b\u80bb\xa8\u0349\u0100gp\u3862\u3866on;\u4173f;\uc000\u{1d566}\u0300adhlsu\u114b\u3878\u387d\u1372\u3891\u38a0own\xe1\u13b3arpoon\u0100lr\u3888\u388cef\xf4\u382digh\xf4\u382fi\u0180;hl\u3899\u389a\u389c\u43c5\xbb\u13faon\xbb\u389aparrows;\u61c8\u0180cit\u38b0\u38c4\u38c8\u026f\u38b6\0\0\u38c1rn\u0100;e\u38bc\u38bd\u631dr\xbb\u38bdop;\u630eng;\u416fri;\u65f9cr;\uc000\u{1d4ca}\u0180dir\u38d9\u38dd\u38e2ot;\u62f0lde;\u4169i\u0100;f\u3730\u38e8\xbb\u1813\u0100am\u38ef\u38f2r\xf2\u38a8l\u803b\xfc\u40fcangle;\u69a7\u0780ABDacdeflnoprsz\u391c\u391f\u3929\u392d\u39b5\u39b8\u39bd\u39df\u39e4\u39e8\u39f3\u39f9\u39fd\u3a01\u3a20r\xf2\u03f7ar\u0100;v\u3926\u3927\u6ae8;\u6ae9as\xe8\u03e1\u0100nr\u3932\u3937grt;\u699c\u0380eknprst\u34e3\u3946\u394b\u3952\u395d\u3964\u3996app\xe1\u2415othin\xe7\u1e96\u0180hir\u34eb\u2ec8\u3959op\xf4\u2fb5\u0100;h\u13b7\u3962\xef\u318d\u0100iu\u3969\u396dgm\xe1\u33b3\u0100bp\u3972\u3984setneq\u0100;q\u397d\u3980\uc000\u228a\ufe00;\uc000\u2acb\ufe00setneq\u0100;q\u398f\u3992\uc000\u228b\ufe00;\uc000\u2acc\ufe00\u0100hr\u399b\u399fet\xe1\u369ciangle\u0100lr\u39aa\u39afeft\xbb\u0925ight\xbb\u1051y;\u4432ash\xbb\u1036\u0180elr\u39c4\u39d2\u39d7\u0180;be\u2dea\u39cb\u39cfar;\u62bbq;\u625alip;\u62ee\u0100bt\u39dc\u1468a\xf2\u1469r;\uc000\u{1d533}tr\xe9\u39aesu\u0100bp\u39ef\u39f1\xbb\u0d1c\xbb\u0d59pf;\uc000\u{1d567}ro\xf0\u0efbtr\xe9\u39b4\u0100cu\u3a06\u3a0br;\uc000\u{1d4cb}\u0100bp\u3a10\u3a18n\u0100Ee\u3980\u3a16\xbb\u397en\u0100Ee\u3992\u3a1e\xbb\u3990igzag;\u699a\u0380cefoprs\u3a36\u3a3b\u3a56\u3a5b\u3a54\u3a61\u3a6airc;\u4175\u0100di\u3a40\u3a51\u0100bg\u3a45\u3a49ar;\u6a5fe\u0100;q\u15fa\u3a4f;\u6259erp;\u6118r;\uc000\u{1d534}pf;\uc000\u{1d568}\u0100;e\u1479\u3a66at\xe8\u1479cr;\uc000\u{1d4cc}\u0ae3\u178e\u3a87\0\u3a8b\0\u3a90\u3a9b\0\0\u3a9d\u3aa8\u3aab\u3aaf\0\0\u3ac3\u3ace\0\u3ad8\u17dc\u17dftr\xe9\u17d1r;\uc000\u{1d535}\u0100Aa\u3a94\u3a97r\xf2\u03c3r\xf2\u09f6;\u43be\u0100Aa\u3aa1\u3aa4r\xf2\u03b8r\xf2\u09eba\xf0\u2713is;\u62fb\u0180dpt\u17a4\u3ab5\u3abe\u0100fl\u3aba\u17a9;\uc000\u{1d569}im\xe5\u17b2\u0100Aa\u3ac7\u3acar\xf2\u03cer\xf2\u0a01\u0100cq\u3ad2\u17b8r;\uc000\u{1d4cd}\u0100pt\u17d6\u3adcr\xe9\u17d4\u0400acefiosu\u3af0\u3afd\u3b08\u3b0c\u3b11\u3b15\u3b1b\u3b21c\u0100uy\u3af6\u3afbte\u803b\xfd\u40fd;\u444f\u0100iy\u3b02\u3b06rc;\u4177;\u444bn\u803b\xa5\u40a5r;\uc000\u{1d536}cy;\u4457pf;\uc000\u{1d56a}cr;\uc000\u{1d4ce}\u0100cm\u3b26\u3b29y;\u444el\u803b\xff\u40ff\u0500acdefhiosw\u3b42\u3b48\u3b54\u3b58\u3b64\u3b69\u3b6d\u3b74\u3b7a\u3b80cute;\u417a\u0100ay\u3b4d\u3b52ron;\u417e;\u4437ot;\u417c\u0100et\u3b5d\u3b61tr\xe6\u155fa;\u43b6r;\uc000\u{1d537}cy;\u4436grarr;\u61ddpf;\uc000\u{1d56b}cr;\uc000\u{1d4cf}\u0100jn\u3b85\u3b87;\u600dj;\u600c'.split("").map(e=>e.charCodeAt(0))),are=new Uint16Array("\u0200aglq\t\x15\x18\x1b\u026d\x0f\0\0\x12p;\u4026os;\u4027t;\u403et;\u403cuot;\u4022".split("").map(e=>e.charCodeAt(0)));var Cv;const sre=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),wv=null!==(Cv=String.fromCodePoint)&&void 0!==Cv?Cv:function(e){let n="";return e>65535&&(e-=65536,n+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),n+=String.fromCharCode(e),n};var ma=function(e){return e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z",e}(ma||{}),Y1=function(e){return e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE",e}(Y1||{});function Sv(e){return e>=ma.ZERO&&e<=ma.NINE}function ure(e){return e>=ma.UPPER_A&&e<=ma.UPPER_F||e>=ma.LOWER_A&&e<=ma.LOWER_F}function hre(e){return e===ma.EQUALS||function dre(e){return e>=ma.UPPER_A&&e<=ma.UPPER_Z||e>=ma.LOWER_A&&e<=ma.LOWER_Z||Sv(e)}(e)}var ga=function(e){return e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity",e}(ga||{}),Ds=function(e){return e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute",e}(Ds||{});class nz{constructor(n,t,i){this.decodeTree=n,this.emitCodePoint=t,this.errors=i,this.state=ga.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Ds.Strict}startEntity(n){this.decodeMode=n,this.state=ga.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(n,t){switch(this.state){case ga.EntityStart:return n.charCodeAt(t)===ma.NUM?(this.state=ga.NumericStart,this.consumed+=1,this.stateNumericStart(n,t+1)):(this.state=ga.NamedEntity,this.stateNamedEntity(n,t));case ga.NumericStart:return this.stateNumericStart(n,t);case ga.NumericDecimal:return this.stateNumericDecimal(n,t);case ga.NumericHex:return this.stateNumericHex(n,t);case ga.NamedEntity:return this.stateNamedEntity(n,t)}}stateNumericStart(n,t){return t>=n.length?-1:(32|n.charCodeAt(t))===ma.LOWER_X?(this.state=ga.NumericHex,this.consumed+=1,this.stateNumericHex(n,t+1)):(this.state=ga.NumericDecimal,this.stateNumericDecimal(n,t))}addToNumericResult(n,t,i,r){if(t!==i){const o=i-t;this.result=this.result*Math.pow(r,o)+Number.parseInt(n.substr(t,o),r),this.consumed+=o}}stateNumericHex(n,t){const i=t;for(;t<n.length;){const r=n.charCodeAt(t);if(!Sv(r)&&!ure(r))return this.addToNumericResult(n,i,t,16),this.emitNumericEntity(r,3);t+=1}return this.addToNumericResult(n,i,t,16),-1}stateNumericDecimal(n,t){const i=t;for(;t<n.length;){const r=n.charCodeAt(t);if(!Sv(r))return this.addToNumericResult(n,i,t,10),this.emitNumericEntity(r,2);t+=1}return this.addToNumericResult(n,i,t,10),-1}emitNumericEntity(n,t){var i;if(this.consumed<=t)return null===(i=this.errors)||void 0===i||i.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(n===ma.SEMI)this.consumed+=1;else if(this.decodeMode===Ds.Strict)return 0;return this.emitCodePoint(function tz(e){var n;return e>=55296&&e<=57343||e>1114111?65533:null!==(n=sre.get(e))&&void 0!==n?n:e}(this.result),this.consumed),this.errors&&(n!==ma.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(n,t){const{decodeTree:i}=this;let r=i[this.treeIndex],o=(r&Y1.VALUE_LENGTH)>>14;for(;t<n.length;t++,this.excess++){const a=n.charCodeAt(t);if(this.treeIndex=fre(i,r,this.treeIndex+Math.max(1,o),a),this.treeIndex<0)return 0===this.result||this.decodeMode===Ds.Attribute&&(0===o||hre(a))?0:this.emitNotTerminatedNamedEntity();if(r=i[this.treeIndex],o=(r&Y1.VALUE_LENGTH)>>14,0!==o){if(a===ma.SEMI)return this.emitNamedEntityData(this.treeIndex,o,this.consumed+this.excess);this.decodeMode!==Ds.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var n;const{result:t,decodeTree:i}=this;return this.emitNamedEntityData(t,(i[t]&Y1.VALUE_LENGTH)>>14,this.consumed),null===(n=this.errors)||void 0===n||n.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(n,t,i){const{decodeTree:r}=this;return this.emitCodePoint(1===t?r[n]&~Y1.VALUE_LENGTH:r[n+1],i),3===t&&this.emitCodePoint(r[n+2],i),i}end(){var n;switch(this.state){case ga.NamedEntity:return 0===this.result||this.decodeMode===Ds.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity();case ga.NumericDecimal:return this.emitNumericEntity(0,2);case ga.NumericHex:return this.emitNumericEntity(0,3);case ga.NumericStart:return null===(n=this.errors)||void 0===n||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case ga.EntityStart:return 0}}}function fre(e,n,t,i){const r=(n&Y1.BRANCH_LENGTH)>>7,o=n&Y1.JUMP_TABLE;if(0===r)return 0!==o&&i===o?t:-1;if(o){const l=i-o;return l<0||l>=r?-1:e[t+l]-1}let a=t,s=a+r-1;for(;a<=s;){const l=a+s>>>1,c=e[l];if(c<i)a=l+1;else{if(!(c>i))return e[l+r];s=l-1}}return-1}var mn=function(e){return e[e.Tab=9]="Tab",e[e.NewLine=10]="NewLine",e[e.FormFeed=12]="FormFeed",e[e.CarriageReturn=13]="CarriageReturn",e[e.Space=32]="Space",e[e.ExclamationMark=33]="ExclamationMark",e[e.Number=35]="Number",e[e.Amp=38]="Amp",e[e.SingleQuote=39]="SingleQuote",e[e.DoubleQuote=34]="DoubleQuote",e[e.Dash=45]="Dash",e[e.Slash=47]="Slash",e[e.Zero=48]="Zero",e[e.Nine=57]="Nine",e[e.Semi=59]="Semi",e[e.Lt=60]="Lt",e[e.Eq=61]="Eq",e[e.Gt=62]="Gt",e[e.Questionmark=63]="Questionmark",e[e.UpperA=65]="UpperA",e[e.LowerA=97]="LowerA",e[e.UpperF=70]="UpperF",e[e.LowerF=102]="LowerF",e[e.UpperZ=90]="UpperZ",e[e.LowerZ=122]="LowerZ",e[e.LowerX=120]="LowerX",e[e.OpeningSquareBracket=91]="OpeningSquareBracket",e}(mn||{}),et=function(e){return e[e.Text=1]="Text",e[e.BeforeTagName=2]="BeforeTagName",e[e.InTagName=3]="InTagName",e[e.InSelfClosingTag=4]="InSelfClosingTag",e[e.BeforeClosingTagName=5]="BeforeClosingTagName",e[e.InClosingTagName=6]="InClosingTagName",e[e.AfterClosingTagName=7]="AfterClosingTagName",e[e.BeforeAttributeName=8]="BeforeAttributeName",e[e.InAttributeName=9]="InAttributeName",e[e.AfterAttributeName=10]="AfterAttributeName",e[e.BeforeAttributeValue=11]="BeforeAttributeValue",e[e.InAttributeValueDq=12]="InAttributeValueDq",e[e.InAttributeValueSq=13]="InAttributeValueSq",e[e.InAttributeValueNq=14]="InAttributeValueNq",e[e.BeforeDeclaration=15]="BeforeDeclaration",e[e.InDeclaration=16]="InDeclaration",e[e.InProcessingInstruction=17]="InProcessingInstruction",e[e.BeforeComment=18]="BeforeComment",e[e.CDATASequence=19]="CDATASequence",e[e.InSpecialComment=20]="InSpecialComment",e[e.InCommentLike=21]="InCommentLike",e[e.BeforeSpecialS=22]="BeforeSpecialS",e[e.BeforeSpecialT=23]="BeforeSpecialT",e[e.SpecialStartSequence=24]="SpecialStartSequence",e[e.InSpecialTag=25]="InSpecialTag",e[e.InEntity=26]="InEntity",e}(et||{});function $c(e){return e===mn.Space||e===mn.NewLine||e===mn.Tab||e===mn.FormFeed||e===mn.CarriageReturn}function q6(e){return e===mn.Slash||e===mn.Gt||$c(e)}var Wc=function(e){return e[e.NoValue=0]="NoValue",e[e.Unquoted=1]="Unquoted",e[e.Single=2]="Single",e[e.Double=3]="Double",e}(Wc||{});const zo={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97]),XmpEnd:new Uint8Array([60,47,120,109,112])};class gre{constructor({xmlMode:n=!1,decodeEntities:t=!0},i){this.cbs=i,this.state=et.Text,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=et.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.xmlMode=n,this.decodeEntities=t,this.entityDecoder=new nz(n?are:ore,(r,o)=>this.emitCodePoint(r,o))}reset(){this.state=et.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=et.Text,this.currentSequence=void 0,this.running=!0,this.offset=0}write(n){this.offset+=this.buffer.length,this.buffer=n,this.parse()}end(){this.running&&this.finish()}pause(){this.running=!1}resume(){this.running=!0,this.index<this.buffer.length+this.offset&&this.parse()}stateText(n){n===mn.Lt||!this.decodeEntities&&this.fastForwardTo(mn.Lt)?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=et.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&n===mn.Amp&&this.startEntity()}stateSpecialStartSequence(n){const t=this.sequenceIndex===this.currentSequence.length;if(t?q6(n):(32|n)===this.currentSequence[this.sequenceIndex]){if(!t)return void this.sequenceIndex++}else this.isSpecial=!1;this.sequenceIndex=0,this.state=et.InTagName,this.stateInTagName(n)}stateInSpecialTag(n){if(this.sequenceIndex===this.currentSequence.length){if(n===mn.Gt||$c(n)){const t=this.index-this.currentSequence.length;if(this.sectionStart<t){const i=this.index;this.index=t,this.cbs.ontext(this.sectionStart,t),this.index=i}return this.isSpecial=!1,this.sectionStart=t+2,void this.stateInClosingTagName(n)}this.sequenceIndex=0}(32|n)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:0===this.sequenceIndex?this.currentSequence===zo.TitleEnd?this.decodeEntities&&n===mn.Amp&&this.startEntity():this.fastForwardTo(mn.Lt)&&(this.sequenceIndex=1):this.sequenceIndex=+(n===mn.Lt)}stateCDATASequence(n){n===zo.Cdata[this.sequenceIndex]?++this.sequenceIndex===zo.Cdata.length&&(this.state=et.InCommentLike,this.currentSequence=zo.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=et.InDeclaration,this.stateInDeclaration(n))}fastForwardTo(n){for(;++this.index<this.buffer.length+this.offset;)if(this.buffer.charCodeAt(this.index-this.offset)===n)return!0;return this.index=this.buffer.length+this.offset-1,!1}stateInCommentLike(n){n===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===zo.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index,2):this.cbs.oncomment(this.sectionStart,this.index,2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=et.Text):0===this.sequenceIndex?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):n!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}isTagStartChar(n){return this.xmlMode?!q6(n):function mre(e){return e>=mn.LowerA&&e<=mn.LowerZ||e>=mn.UpperA&&e<=mn.UpperZ}(n)}startSpecial(n,t){this.isSpecial=!0,this.currentSequence=n,this.sequenceIndex=t,this.state=et.SpecialStartSequence}stateBeforeTagName(n){if(n===mn.ExclamationMark)this.state=et.BeforeDeclaration,this.sectionStart=this.index+1;else if(n===mn.Questionmark)this.state=et.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(n)){const t=32|n;this.sectionStart=this.index,this.state=this.xmlMode?et.InTagName:t===zo.ScriptEnd[2]?et.BeforeSpecialS:t===zo.TitleEnd[2]||t===zo.XmpEnd[2]?et.BeforeSpecialT:et.InTagName}else n===mn.Slash?this.state=et.BeforeClosingTagName:(this.state=et.Text,this.stateText(n))}stateInTagName(n){q6(n)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=et.BeforeAttributeName,this.stateBeforeAttributeName(n))}stateBeforeClosingTagName(n){$c(n)||(n===mn.Gt?this.state=et.Text:(this.state=this.isTagStartChar(n)?et.InClosingTagName:et.InSpecialComment,this.sectionStart=this.index))}stateInClosingTagName(n){(n===mn.Gt||$c(n))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=et.AfterClosingTagName,this.stateAfterClosingTagName(n))}stateAfterClosingTagName(n){(n===mn.Gt||this.fastForwardTo(mn.Gt))&&(this.state=et.Text,this.sectionStart=this.index+1)}stateBeforeAttributeName(n){n===mn.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=et.InSpecialTag,this.sequenceIndex=0):this.state=et.Text,this.sectionStart=this.index+1):n===mn.Slash?this.state=et.InSelfClosingTag:$c(n)||(this.state=et.InAttributeName,this.sectionStart=this.index)}stateInSelfClosingTag(n){n===mn.Gt?(this.cbs.onselfclosingtag(this.index),this.state=et.Text,this.sectionStart=this.index+1,this.isSpecial=!1):$c(n)||(this.state=et.BeforeAttributeName,this.stateBeforeAttributeName(n))}stateInAttributeName(n){(n===mn.Eq||q6(n))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=this.index,this.state=et.AfterAttributeName,this.stateAfterAttributeName(n))}stateAfterAttributeName(n){n===mn.Eq?this.state=et.BeforeAttributeValue:n===mn.Slash||n===mn.Gt?(this.cbs.onattribend(Wc.NoValue,this.sectionStart),this.sectionStart=-1,this.state=et.BeforeAttributeName,this.stateBeforeAttributeName(n)):$c(n)||(this.cbs.onattribend(Wc.NoValue,this.sectionStart),this.state=et.InAttributeName,this.sectionStart=this.index)}stateBeforeAttributeValue(n){n===mn.DoubleQuote?(this.state=et.InAttributeValueDq,this.sectionStart=this.index+1):n===mn.SingleQuote?(this.state=et.InAttributeValueSq,this.sectionStart=this.index+1):$c(n)||(this.sectionStart=this.index,this.state=et.InAttributeValueNq,this.stateInAttributeValueNoQuotes(n))}handleInAttributeValue(n,t){n===t||!this.decodeEntities&&this.fastForwardTo(t)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(t===mn.DoubleQuote?Wc.Double:Wc.Single,this.index+1),this.state=et.BeforeAttributeName):this.decodeEntities&&n===mn.Amp&&this.startEntity()}stateInAttributeValueDoubleQuotes(n){this.handleInAttributeValue(n,mn.DoubleQuote)}stateInAttributeValueSingleQuotes(n){this.handleInAttributeValue(n,mn.SingleQuote)}stateInAttributeValueNoQuotes(n){$c(n)||n===mn.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(Wc.Unquoted,this.index),this.state=et.BeforeAttributeName,this.stateBeforeAttributeName(n)):this.decodeEntities&&n===mn.Amp&&this.startEntity()}stateBeforeDeclaration(n){n===mn.OpeningSquareBracket?(this.state=et.CDATASequence,this.sequenceIndex=0):this.state=n===mn.Dash?et.BeforeComment:et.InDeclaration}stateInDeclaration(n){(n===mn.Gt||this.fastForwardTo(mn.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=et.Text,this.sectionStart=this.index+1)}stateInProcessingInstruction(n){(n===mn.Gt||this.fastForwardTo(mn.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=et.Text,this.sectionStart=this.index+1)}stateBeforeComment(n){n===mn.Dash?(this.state=et.InCommentLike,this.currentSequence=zo.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=et.InDeclaration}stateInSpecialComment(n){(n===mn.Gt||this.fastForwardTo(mn.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=et.Text,this.sectionStart=this.index+1)}stateBeforeSpecialS(n){const t=32|n;t===zo.ScriptEnd[3]?this.startSpecial(zo.ScriptEnd,4):t===zo.StyleEnd[3]?this.startSpecial(zo.StyleEnd,4):(this.state=et.InTagName,this.stateInTagName(n))}stateBeforeSpecialT(n){switch(32|n){case zo.TitleEnd[3]:this.startSpecial(zo.TitleEnd,4);break;case zo.TextareaEnd[3]:this.startSpecial(zo.TextareaEnd,4);break;case zo.XmpEnd[3]:this.startSpecial(zo.XmpEnd,4);break;default:this.state=et.InTagName,this.stateInTagName(n)}}startEntity(){this.baseState=this.state,this.state=et.InEntity,this.entityStart=this.index,this.entityDecoder.startEntity(this.xmlMode?Ds.Strict:this.baseState===et.Text||this.baseState===et.InSpecialTag?Ds.Legacy:Ds.Attribute)}stateInEntity(){const n=this.entityDecoder.write(this.buffer,this.index-this.offset);n>=0?(this.state=this.baseState,0===n&&(this.index=this.entityStart)):this.index=this.offset+this.buffer.length-1}cleanup(){this.running&&this.sectionStart!==this.index&&(this.state===et.Text||this.state===et.InSpecialTag&&0===this.sequenceIndex?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===et.InAttributeValueDq||this.state===et.InAttributeValueSq||this.state===et.InAttributeValueNq)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}shouldContinue(){return this.index<this.buffer.length+this.offset&&this.running}parse(){for(;this.shouldContinue();){const n=this.buffer.charCodeAt(this.index-this.offset);switch(this.state){case et.Text:this.stateText(n);break;case et.SpecialStartSequence:this.stateSpecialStartSequence(n);break;case et.InSpecialTag:this.stateInSpecialTag(n);break;case et.CDATASequence:this.stateCDATASequence(n);break;case et.InAttributeValueDq:this.stateInAttributeValueDoubleQuotes(n);break;case et.InAttributeName:this.stateInAttributeName(n);break;case et.InCommentLike:this.stateInCommentLike(n);break;case et.InSpecialComment:this.stateInSpecialComment(n);break;case et.BeforeAttributeName:this.stateBeforeAttributeName(n);break;case et.InTagName:this.stateInTagName(n);break;case et.InClosingTagName:this.stateInClosingTagName(n);break;case et.BeforeTagName:this.stateBeforeTagName(n);break;case et.AfterAttributeName:this.stateAfterAttributeName(n);break;case et.InAttributeValueSq:this.stateInAttributeValueSingleQuotes(n);break;case et.BeforeAttributeValue:this.stateBeforeAttributeValue(n);break;case et.BeforeClosingTagName:this.stateBeforeClosingTagName(n);break;case et.AfterClosingTagName:this.stateAfterClosingTagName(n);break;case et.BeforeSpecialS:this.stateBeforeSpecialS(n);break;case et.BeforeSpecialT:this.stateBeforeSpecialT(n);break;case et.InAttributeValueNq:this.stateInAttributeValueNoQuotes(n);break;case et.InSelfClosingTag:this.stateInSelfClosingTag(n);break;case et.InDeclaration:this.stateInDeclaration(n);break;case et.BeforeDeclaration:this.stateBeforeDeclaration(n);break;case et.BeforeComment:this.stateBeforeComment(n);break;case et.InProcessingInstruction:this.stateInProcessingInstruction(n);break;case et.InEntity:this.stateInEntity()}this.index++}this.cleanup()}finish(){this.state===et.InEntity&&(this.entityDecoder.end(),this.state=this.baseState),this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){const n=this.buffer.length+this.offset;this.sectionStart>=n||(this.state===et.InCommentLike?this.currentSequence===zo.CdataEnd?this.cbs.oncdata(this.sectionStart,n,0):this.cbs.oncomment(this.sectionStart,n,0):this.state===et.InTagName||this.state===et.BeforeAttributeName||this.state===et.BeforeAttributeValue||this.state===et.AfterAttributeName||this.state===et.InAttributeName||this.state===et.InAttributeValueSq||this.state===et.InAttributeValueDq||this.state===et.InAttributeValueNq||this.state===et.InClosingTagName||this.cbs.ontext(this.sectionStart,n))}emitCodePoint(n,t){this.baseState!==et.Text&&this.baseState!==et.InSpecialTag?(this.sectionStart<this.entityStart&&this.cbs.onattribdata(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+t,this.index=this.sectionStart-1,this.cbs.onattribentity(n)):(this.sectionStart<this.entityStart&&this.cbs.ontext(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+t,this.index=this.sectionStart-1,this.cbs.ontextentity(n,this.sectionStart))}}const Sd=new Set(["input","option","optgroup","select","button","datalist","textarea"]),sr=new Set(["p"]),iz=new Set(["thead","tbody"]),rz=new Set(["dd","dt"]),oz=new Set(["rt","rp"]),vre=new Map([["tr",new Set(["tr","th","td"])],["th",new Set(["th"])],["td",new Set(["thead","th","td"])],["body",new Set(["head","link","script"])],["li",new Set(["li"])],["p",sr],["h1",sr],["h2",sr],["h3",sr],["h4",sr],["h5",sr],["h6",sr],["select",Sd],["input",Sd],["output",Sd],["button",Sd],["datalist",Sd],["textarea",Sd],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",rz],["dt",rz],["address",sr],["article",sr],["aside",sr],["blockquote",sr],["details",sr],["div",sr],["dl",sr],["fieldset",sr],["figcaption",sr],["figure",sr],["footer",sr],["form",sr],["header",sr],["hr",sr],["main",sr],["nav",sr],["ol",sr],["pre",sr],["section",sr],["table",sr],["ul",sr],["rt",oz],["rp",oz],["tbody",iz],["tfoot",iz]]),_re=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),az=new Set(["math","svg"]),sz=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),yre=/\s|\//;class bre{constructor(n,t={}){var i,r,o,a,s,l;this.options=t,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.buffers=[],this.bufferOffset=0,this.writeIndex=0,this.ended=!1,this.cbs=n??{},this.htmlMode=!this.options.xmlMode,this.lowerCaseTagNames=null!==(i=t.lowerCaseTags)&&void 0!==i?i:this.htmlMode,this.lowerCaseAttributeNames=null!==(r=t.lowerCaseAttributeNames)&&void 0!==r?r:this.htmlMode,this.recognizeSelfClosing=null!==(o=t.recognizeSelfClosing)&&void 0!==o?o:!this.htmlMode,this.tokenizer=new(null!==(a=t.Tokenizer)&&void 0!==a?a:gre)(this.options,this),this.foreignContext=[!this.htmlMode],null===(l=(s=this.cbs).onparserinit)||void 0===l||l.call(s,this)}ontext(n,t){var i,r;const o=this.getSlice(n,t);this.endIndex=t-1,null===(r=(i=this.cbs).ontext)||void 0===r||r.call(i,o),this.startIndex=t}ontextentity(n,t){var i,r;this.endIndex=t-1,null===(r=(i=this.cbs).ontext)||void 0===r||r.call(i,wv(n)),this.startIndex=t}isVoidElement(n){return this.htmlMode&&_re.has(n)}onopentagname(n,t){this.endIndex=t;let i=this.getSlice(n,t);this.lowerCaseTagNames&&(i=i.toLowerCase()),this.emitOpenTag(i)}emitOpenTag(n){var t,i,r,o;this.openTagStart=this.startIndex,this.tagname=n;const a=this.htmlMode&&vre.get(n);if(a)for(;this.stack.length>0&&a.has(this.stack[0]);){const s=this.stack.shift();null===(i=(t=this.cbs).onclosetag)||void 0===i||i.call(t,s,!0)}this.isVoidElement(n)||(this.stack.unshift(n),this.htmlMode&&(az.has(n)?this.foreignContext.unshift(!0):sz.has(n)&&this.foreignContext.unshift(!1))),null===(o=(r=this.cbs).onopentagname)||void 0===o||o.call(r,n),this.cbs.onopentag&&(this.attribs={})}endOpenTag(n){var t,i;this.startIndex=this.openTagStart,this.attribs&&(null===(i=(t=this.cbs).onopentag)||void 0===i||i.call(t,this.tagname,this.attribs,n),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""}onopentagend(n){this.endIndex=n,this.endOpenTag(!1),this.startIndex=n+1}onclosetag(n,t){var i,r,o,a,s,l,c,h;this.endIndex=t;let p=this.getSlice(n,t);if(this.lowerCaseTagNames&&(p=p.toLowerCase()),this.htmlMode&&(az.has(p)||sz.has(p))&&this.foreignContext.shift(),this.isVoidElement(p))this.htmlMode&&"br"===p&&(null===(a=(o=this.cbs).onopentagname)||void 0===a||a.call(o,"br"),null===(l=(s=this.cbs).onopentag)||void 0===l||l.call(s,"br",{},!0),null===(h=(c=this.cbs).onclosetag)||void 0===h||h.call(c,"br",!1));else{const S=this.stack.indexOf(p);if(-1!==S)for(let v=0;v<=S;v++){const C=this.stack.shift();null===(r=(i=this.cbs).onclosetag)||void 0===r||r.call(i,C,v!==S)}else this.htmlMode&&"p"===p&&(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=t+1}onselfclosingtag(n){this.endIndex=n,this.recognizeSelfClosing||this.foreignContext[0]?(this.closeCurrentTag(!1),this.startIndex=n+1):this.onopentagend(n)}closeCurrentTag(n){var t,i;const r=this.tagname;this.endOpenTag(n),this.stack[0]===r&&(null===(i=(t=this.cbs).onclosetag)||void 0===i||i.call(t,r,!n),this.stack.shift())}onattribname(n,t){this.startIndex=n;const i=this.getSlice(n,t);this.attribname=this.lowerCaseAttributeNames?i.toLowerCase():i}onattribdata(n,t){this.attribvalue+=this.getSlice(n,t)}onattribentity(n){this.attribvalue+=wv(n)}onattribend(n,t){var i,r;this.endIndex=t,null===(r=(i=this.cbs).onattribute)||void 0===r||r.call(i,this.attribname,this.attribvalue,n===Wc.Double?'"':n===Wc.Single?"'":n===Wc.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""}getInstructionName(n){const t=n.search(yre);let i=t<0?n:n.substr(0,t);return this.lowerCaseTagNames&&(i=i.toLowerCase()),i}ondeclaration(n,t){this.endIndex=t;const i=this.getSlice(n,t);if(this.cbs.onprocessinginstruction){const r=this.getInstructionName(i);this.cbs.onprocessinginstruction(`!${r}`,`!${i}`)}this.startIndex=t+1}onprocessinginstruction(n,t){this.endIndex=t;const i=this.getSlice(n,t);if(this.cbs.onprocessinginstruction){const r=this.getInstructionName(i);this.cbs.onprocessinginstruction(`?${r}`,`?${i}`)}this.startIndex=t+1}oncomment(n,t,i){var r,o,a,s;this.endIndex=t,null===(o=(r=this.cbs).oncomment)||void 0===o||o.call(r,this.getSlice(n,t-i)),null===(s=(a=this.cbs).oncommentend)||void 0===s||s.call(a),this.startIndex=t+1}oncdata(n,t,i){var r,o,a,s,l,c,h,p,S,v;this.endIndex=t;const C=this.getSlice(n,t-i);!this.htmlMode||this.options.recognizeCDATA?(null===(o=(r=this.cbs).oncdatastart)||void 0===o||o.call(r),null===(s=(a=this.cbs).ontext)||void 0===s||s.call(a,C),null===(c=(l=this.cbs).oncdataend)||void 0===c||c.call(l)):(null===(p=(h=this.cbs).oncomment)||void 0===p||p.call(h,`[CDATA[${C}]]`),null===(v=(S=this.cbs).oncommentend)||void 0===v||v.call(S)),this.startIndex=t+1}onend(){var n,t;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(let i=0;i<this.stack.length;i++)this.cbs.onclosetag(this.stack[i],!0)}null===(t=(n=this.cbs).onend)||void 0===t||t.call(n)}reset(){var n,t,i,r;null===(t=(n=this.cbs).onreset)||void 0===t||t.call(n),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,null===(r=(i=this.cbs).onparserinit)||void 0===r||r.call(i,this),this.buffers.length=0,this.foreignContext.length=0,this.foreignContext.unshift(!this.htmlMode),this.bufferOffset=0,this.writeIndex=0,this.ended=!1}parseComplete(n){this.reset(),this.end(n)}getSlice(n,t){for(;n-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();let i=this.buffers[0].slice(n-this.bufferOffset,t-this.bufferOffset);for(;t-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),i+=this.buffers[0].slice(0,t-this.bufferOffset);return i}shiftBuffer(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()}write(n){var t,i;this.ended?null===(i=(t=this.cbs).onerror)||void 0===i||i.call(t,new Error(".write() after done!")):(this.buffers.push(n),this.tokenizer.running&&(this.tokenizer.write(n),this.writeIndex++))}end(n){var t,i;this.ended?null===(i=(t=this.cbs).onerror)||void 0===i||i.call(t,new Error(".end() after done!")):(n&&this.write(n),this.ended=!0,this.tokenizer.end())}pause(){this.tokenizer.pause()}resume(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex<this.buffers.length;)this.tokenizer.write(this.buffers[this.writeIndex++]);this.ended&&this.tokenizer.end()}parseChunk(n){this.write(n)}done(n){this.end(n)}}const Nre=new Uint16Array('\u1d41<\xd5\u0131\u028a\u049d\u057b\u05d0\u0675\u06de\u07a2\u07d6\u080f\u0a4a\u0a91\u0da1\u0e6d\u0f09\u0f26\u10ca\u1228\u12e1\u1415\u149d\u14c3\u14df\u1525\0\0\0\0\0\0\u156b\u16cd\u198d\u1c12\u1ddd\u1f7e\u2060\u21b0\u228d\u23c0\u23fb\u2442\u2824\u2912\u2d08\u2e48\u2fce\u3016\u32ba\u3639\u37ac\u38fe\u3a28\u3a71\u3ae0\u3b2e\u0800EMabcfglmnoprstu\\bfms\x7f\x84\x8b\x90\x95\x98\xa6\xb3\xb9\xc8\xcflig\u803b\xc6\u40c6P\u803b&\u4026cute\u803b\xc1\u40c1reve;\u4102\u0100iyx}rc\u803b\xc2\u40c2;\u4410r;\uc000\u{1d504}rave\u803b\xc0\u40c0pha;\u4391acr;\u4100d;\u6a53\u0100gp\x9d\xa1on;\u4104f;\uc000\u{1d538}plyFunction;\u6061ing\u803b\xc5\u40c5\u0100cs\xbe\xc3r;\uc000\u{1d49c}ign;\u6254ilde\u803b\xc3\u40c3ml\u803b\xc4\u40c4\u0400aceforsu\xe5\xfb\xfe\u0117\u011c\u0122\u0127\u012a\u0100cr\xea\xf2kslash;\u6216\u0176\xf6\xf8;\u6ae7ed;\u6306y;\u4411\u0180crt\u0105\u010b\u0114ause;\u6235noullis;\u612ca;\u4392r;\uc000\u{1d505}pf;\uc000\u{1d539}eve;\u42d8c\xf2\u0113mpeq;\u624e\u0700HOacdefhilorsu\u014d\u0151\u0156\u0180\u019e\u01a2\u01b5\u01b7\u01ba\u01dc\u0215\u0273\u0278\u027ecy;\u4427PY\u803b\xa9\u40a9\u0180cpy\u015d\u0162\u017aute;\u4106\u0100;i\u0167\u0168\u62d2talDifferentialD;\u6145leys;\u612d\u0200aeio\u0189\u018e\u0194\u0198ron;\u410cdil\u803b\xc7\u40c7rc;\u4108nint;\u6230ot;\u410a\u0100dn\u01a7\u01adilla;\u40b8terDot;\u40b7\xf2\u017fi;\u43a7rcle\u0200DMPT\u01c7\u01cb\u01d1\u01d6ot;\u6299inus;\u6296lus;\u6295imes;\u6297o\u0100cs\u01e2\u01f8kwiseContourIntegral;\u6232eCurly\u0100DQ\u0203\u020foubleQuote;\u601duote;\u6019\u0200lnpu\u021e\u0228\u0247\u0255on\u0100;e\u0225\u0226\u6237;\u6a74\u0180git\u022f\u0236\u023aruent;\u6261nt;\u622fourIntegral;\u622e\u0100fr\u024c\u024e;\u6102oduct;\u6210nterClockwiseContourIntegral;\u6233oss;\u6a2fcr;\uc000\u{1d49e}p\u0100;C\u0284\u0285\u62d3ap;\u624d\u0580DJSZacefios\u02a0\u02ac\u02b0\u02b4\u02b8\u02cb\u02d7\u02e1\u02e6\u0333\u048d\u0100;o\u0179\u02a5trahd;\u6911cy;\u4402cy;\u4405cy;\u440f\u0180grs\u02bf\u02c4\u02c7ger;\u6021r;\u61a1hv;\u6ae4\u0100ay\u02d0\u02d5ron;\u410e;\u4414l\u0100;t\u02dd\u02de\u6207a;\u4394r;\uc000\u{1d507}\u0100af\u02eb\u0327\u0100cm\u02f0\u0322ritical\u0200ADGT\u0300\u0306\u0316\u031ccute;\u40b4o\u0174\u030b\u030d;\u42d9bleAcute;\u42ddrave;\u4060ilde;\u42dcond;\u62c4ferentialD;\u6146\u0470\u033d\0\0\0\u0342\u0354\0\u0405f;\uc000\u{1d53b}\u0180;DE\u0348\u0349\u034d\u40a8ot;\u60dcqual;\u6250ble\u0300CDLRUV\u0363\u0372\u0382\u03cf\u03e2\u03f8ontourIntegra\xec\u0239o\u0274\u0379\0\0\u037b\xbb\u0349nArrow;\u61d3\u0100eo\u0387\u03a4ft\u0180ART\u0390\u0396\u03a1rrow;\u61d0ightArrow;\u61d4e\xe5\u02cang\u0100LR\u03ab\u03c4eft\u0100AR\u03b3\u03b9rrow;\u67f8ightArrow;\u67faightArrow;\u67f9ight\u0100AT\u03d8\u03derrow;\u61d2ee;\u62a8p\u0241\u03e9\0\0\u03efrrow;\u61d1ownArrow;\u61d5erticalBar;\u6225n\u0300ABLRTa\u0412\u042a\u0430\u045e\u047f\u037crrow\u0180;BU\u041d\u041e\u0422\u6193ar;\u6913pArrow;\u61f5reve;\u4311eft\u02d2\u043a\0\u0446\0\u0450ightVector;\u6950eeVector;\u695eector\u0100;B\u0459\u045a\u61bdar;\u6956ight\u01d4\u0467\0\u0471eeVector;\u695fector\u0100;B\u047a\u047b\u61c1ar;\u6957ee\u0100;A\u0486\u0487\u62a4rrow;\u61a7\u0100ct\u0492\u0497r;\uc000\u{1d49f}rok;\u4110\u0800NTacdfglmopqstux\u04bd\u04c0\u04c4\u04cb\u04de\u04e2\u04e7\u04ee\u04f5\u0521\u052f\u0536\u0552\u055d\u0560\u0565G;\u414aH\u803b\xd0\u40d0cute\u803b\xc9\u40c9\u0180aiy\u04d2\u04d7\u04dcron;\u411arc\u803b\xca\u40ca;\u442dot;\u4116r;\uc000\u{1d508}rave\u803b\xc8\u40c8ement;\u6208\u0100ap\u04fa\u04fecr;\u4112ty\u0253\u0506\0\0\u0512mallSquare;\u65fberySmallSquare;\u65ab\u0100gp\u0526\u052aon;\u4118f;\uc000\u{1d53c}silon;\u4395u\u0100ai\u053c\u0549l\u0100;T\u0542\u0543\u6a75ilde;\u6242librium;\u61cc\u0100ci\u0557\u055ar;\u6130m;\u6a73a;\u4397ml\u803b\xcb\u40cb\u0100ip\u056a\u056fsts;\u6203onentialE;\u6147\u0280cfios\u0585\u0588\u058d\u05b2\u05ccy;\u4424r;\uc000\u{1d509}lled\u0253\u0597\0\0\u05a3mallSquare;\u65fcerySmallSquare;\u65aa\u0370\u05ba\0\u05bf\0\0\u05c4f;\uc000\u{1d53d}All;\u6200riertrf;\u6131c\xf2\u05cb\u0600JTabcdfgorst\u05e8\u05ec\u05ef\u05fa\u0600\u0612\u0616\u061b\u061d\u0623\u066c\u0672cy;\u4403\u803b>\u403emma\u0100;d\u05f7\u05f8\u4393;\u43dcreve;\u411e\u0180eiy\u0607\u060c\u0610dil;\u4122rc;\u411c;\u4413ot;\u4120r;\uc000\u{1d50a};\u62d9pf;\uc000\u{1d53e}eater\u0300EFGLST\u0635\u0644\u064e\u0656\u065b\u0666qual\u0100;L\u063e\u063f\u6265ess;\u62dbullEqual;\u6267reater;\u6aa2ess;\u6277lantEqual;\u6a7eilde;\u6273cr;\uc000\u{1d4a2};\u626b\u0400Aacfiosu\u0685\u068b\u0696\u069b\u069e\u06aa\u06be\u06caRDcy;\u442a\u0100ct\u0690\u0694ek;\u42c7;\u405eirc;\u4124r;\u610clbertSpace;\u610b\u01f0\u06af\0\u06b2f;\u610dizontalLine;\u6500\u0100ct\u06c3\u06c5\xf2\u06a9rok;\u4126mp\u0144\u06d0\u06d8ownHum\xf0\u012fqual;\u624f\u0700EJOacdfgmnostu\u06fa\u06fe\u0703\u0707\u070e\u071a\u071e\u0721\u0728\u0744\u0778\u078b\u078f\u0795cy;\u4415lig;\u4132cy;\u4401cute\u803b\xcd\u40cd\u0100iy\u0713\u0718rc\u803b\xce\u40ce;\u4418ot;\u4130r;\u6111rave\u803b\xcc\u40cc\u0180;ap\u0720\u072f\u073f\u0100cg\u0734\u0737r;\u412ainaryI;\u6148lie\xf3\u03dd\u01f4\u0749\0\u0762\u0100;e\u074d\u074e\u622c\u0100gr\u0753\u0758ral;\u622bsection;\u62c2isible\u0100CT\u076c\u0772omma;\u6063imes;\u6062\u0180gpt\u077f\u0783\u0788on;\u412ef;\uc000\u{1d540}a;\u4399cr;\u6110ilde;\u4128\u01eb\u079a\0\u079ecy;\u4406l\u803b\xcf\u40cf\u0280cfosu\u07ac\u07b7\u07bc\u07c2\u07d0\u0100iy\u07b1\u07b5rc;\u4134;\u4419r;\uc000\u{1d50d}pf;\uc000\u{1d541}\u01e3\u07c7\0\u07ccr;\uc000\u{1d4a5}rcy;\u4408kcy;\u4404\u0380HJacfos\u07e4\u07e8\u07ec\u07f1\u07fd\u0802\u0808cy;\u4425cy;\u440cppa;\u439a\u0100ey\u07f6\u07fbdil;\u4136;\u441ar;\uc000\u{1d50e}pf;\uc000\u{1d542}cr;\uc000\u{1d4a6}\u0580JTaceflmost\u0825\u0829\u082c\u0850\u0863\u09b3\u09b8\u09c7\u09cd\u0a37\u0a47cy;\u4409\u803b<\u403c\u0280cmnpr\u0837\u083c\u0841\u0844\u084dute;\u4139bda;\u439bg;\u67ealacetrf;\u6112r;\u619e\u0180aey\u0857\u085c\u0861ron;\u413ddil;\u413b;\u441b\u0100fs\u0868\u0970t\u0500ACDFRTUVar\u087e\u08a9\u08b1\u08e0\u08e6\u08fc\u092f\u095b\u0390\u096a\u0100nr\u0883\u088fgleBracket;\u67e8row\u0180;BR\u0899\u089a\u089e\u6190ar;\u61e4ightArrow;\u61c6eiling;\u6308o\u01f5\u08b7\0\u08c3bleBracket;\u67e6n\u01d4\u08c8\0\u08d2eeVector;\u6961ector\u0100;B\u08db\u08dc\u61c3ar;\u6959loor;\u630aight\u0100AV\u08ef\u08f5rrow;\u6194ector;\u694e\u0100er\u0901\u0917e\u0180;AV\u0909\u090a\u0910\u62a3rrow;\u61a4ector;\u695aiangle\u0180;BE\u0924\u0925\u0929\u62b2ar;\u69cfqual;\u62b4p\u0180DTV\u0937\u0942\u094cownVector;\u6951eeVector;\u6960ector\u0100;B\u0956\u0957\u61bfar;\u6958ector\u0100;B\u0965\u0966\u61bcar;\u6952ight\xe1\u039cs\u0300EFGLST\u097e\u098b\u0995\u099d\u09a2\u09adqualGreater;\u62daullEqual;\u6266reater;\u6276ess;\u6aa1lantEqual;\u6a7dilde;\u6272r;\uc000\u{1d50f}\u0100;e\u09bd\u09be\u62d8ftarrow;\u61daidot;\u413f\u0180npw\u09d4\u0a16\u0a1bg\u0200LRlr\u09de\u09f7\u0a02\u0a10eft\u0100AR\u09e6\u09ecrrow;\u67f5ightArrow;\u67f7ightArrow;\u67f6eft\u0100ar\u03b3\u0a0aight\xe1\u03bfight\xe1\u03caf;\uc000\u{1d543}er\u0100LR\u0a22\u0a2ceftArrow;\u6199ightArrow;\u6198\u0180cht\u0a3e\u0a40\u0a42\xf2\u084c;\u61b0rok;\u4141;\u626a\u0400acefiosu\u0a5a\u0a5d\u0a60\u0a77\u0a7c\u0a85\u0a8b\u0a8ep;\u6905y;\u441c\u0100dl\u0a65\u0a6fiumSpace;\u605flintrf;\u6133r;\uc000\u{1d510}nusPlus;\u6213pf;\uc000\u{1d544}c\xf2\u0a76;\u439c\u0480Jacefostu\u0aa3\u0aa7\u0aad\u0ac0\u0b14\u0b19\u0d91\u0d97\u0d9ecy;\u440acute;\u4143\u0180aey\u0ab4\u0ab9\u0aberon;\u4147dil;\u4145;\u441d\u0180gsw\u0ac7\u0af0\u0b0eative\u0180MTV\u0ad3\u0adf\u0ae8ediumSpace;\u600bhi\u0100cn\u0ae6\u0ad8\xeb\u0ad9eryThi\xee\u0ad9ted\u0100GL\u0af8\u0b06reaterGreate\xf2\u0673essLes\xf3\u0a48Line;\u400ar;\uc000\u{1d511}\u0200Bnpt\u0b22\u0b28\u0b37\u0b3areak;\u6060BreakingSpace;\u40a0f;\u6115\u0680;CDEGHLNPRSTV\u0b55\u0b56\u0b6a\u0b7c\u0ba1\u0beb\u0c04\u0c5e\u0c84\u0ca6\u0cd8\u0d61\u0d85\u6aec\u0100ou\u0b5b\u0b64ngruent;\u6262pCap;\u626doubleVerticalBar;\u6226\u0180lqx\u0b83\u0b8a\u0b9bement;\u6209ual\u0100;T\u0b92\u0b93\u6260ilde;\uc000\u2242\u0338ists;\u6204reater\u0380;EFGLST\u0bb6\u0bb7\u0bbd\u0bc9\u0bd3\u0bd8\u0be5\u626fqual;\u6271ullEqual;\uc000\u2267\u0338reater;\uc000\u226b\u0338ess;\u6279lantEqual;\uc000\u2a7e\u0338ilde;\u6275ump\u0144\u0bf2\u0bfdownHump;\uc000\u224e\u0338qual;\uc000\u224f\u0338e\u0100fs\u0c0a\u0c27tTriangle\u0180;BE\u0c1a\u0c1b\u0c21\u62eaar;\uc000\u29cf\u0338qual;\u62ecs\u0300;EGLST\u0c35\u0c36\u0c3c\u0c44\u0c4b\u0c58\u626equal;\u6270reater;\u6278ess;\uc000\u226a\u0338lantEqual;\uc000\u2a7d\u0338ilde;\u6274ested\u0100GL\u0c68\u0c79reaterGreater;\uc000\u2aa2\u0338essLess;\uc000\u2aa1\u0338recedes\u0180;ES\u0c92\u0c93\u0c9b\u6280qual;\uc000\u2aaf\u0338lantEqual;\u62e0\u0100ei\u0cab\u0cb9verseElement;\u620cghtTriangle\u0180;BE\u0ccb\u0ccc\u0cd2\u62ebar;\uc000\u29d0\u0338qual;\u62ed\u0100qu\u0cdd\u0d0cuareSu\u0100bp\u0ce8\u0cf9set\u0100;E\u0cf0\u0cf3\uc000\u228f\u0338qual;\u62e2erset\u0100;E\u0d03\u0d06\uc000\u2290\u0338qual;\u62e3\u0180bcp\u0d13\u0d24\u0d4eset\u0100;E\u0d1b\u0d1e\uc000\u2282\u20d2qual;\u6288ceeds\u0200;EST\u0d32\u0d33\u0d3b\u0d46\u6281qual;\uc000\u2ab0\u0338lantEqual;\u62e1ilde;\uc000\u227f\u0338erset\u0100;E\u0d58\u0d5b\uc000\u2283\u20d2qual;\u6289ilde\u0200;EFT\u0d6e\u0d6f\u0d75\u0d7f\u6241qual;\u6244ullEqual;\u6247ilde;\u6249erticalBar;\u6224cr;\uc000\u{1d4a9}ilde\u803b\xd1\u40d1;\u439d\u0700Eacdfgmoprstuv\u0dbd\u0dc2\u0dc9\u0dd5\u0ddb\u0de0\u0de7\u0dfc\u0e02\u0e20\u0e22\u0e32\u0e3f\u0e44lig;\u4152cute\u803b\xd3\u40d3\u0100iy\u0dce\u0dd3rc\u803b\xd4\u40d4;\u441eblac;\u4150r;\uc000\u{1d512}rave\u803b\xd2\u40d2\u0180aei\u0dee\u0df2\u0df6cr;\u414cga;\u43a9cron;\u439fpf;\uc000\u{1d546}enCurly\u0100DQ\u0e0e\u0e1aoubleQuote;\u601cuote;\u6018;\u6a54\u0100cl\u0e27\u0e2cr;\uc000\u{1d4aa}ash\u803b\xd8\u40d8i\u016c\u0e37\u0e3cde\u803b\xd5\u40d5es;\u6a37ml\u803b\xd6\u40d6er\u0100BP\u0e4b\u0e60\u0100ar\u0e50\u0e53r;\u603eac\u0100ek\u0e5a\u0e5c;\u63deet;\u63b4arenthesis;\u63dc\u0480acfhilors\u0e7f\u0e87\u0e8a\u0e8f\u0e92\u0e94\u0e9d\u0eb0\u0efcrtialD;\u6202y;\u441fr;\uc000\u{1d513}i;\u43a6;\u43a0usMinus;\u40b1\u0100ip\u0ea2\u0eadncareplan\xe5\u069df;\u6119\u0200;eio\u0eb9\u0eba\u0ee0\u0ee4\u6abbcedes\u0200;EST\u0ec8\u0ec9\u0ecf\u0eda\u627aqual;\u6aaflantEqual;\u627cilde;\u627eme;\u6033\u0100dp\u0ee9\u0eeeuct;\u620fortion\u0100;a\u0225\u0ef9l;\u621d\u0100ci\u0f01\u0f06r;\uc000\u{1d4ab};\u43a8\u0200Ufos\u0f11\u0f16\u0f1b\u0f1fOT\u803b"\u4022r;\uc000\u{1d514}pf;\u611acr;\uc000\u{1d4ac}\u0600BEacefhiorsu\u0f3e\u0f43\u0f47\u0f60\u0f73\u0fa7\u0faa\u0fad\u1096\u10a9\u10b4\u10bearr;\u6910G\u803b\xae\u40ae\u0180cnr\u0f4e\u0f53\u0f56ute;\u4154g;\u67ebr\u0100;t\u0f5c\u0f5d\u61a0l;\u6916\u0180aey\u0f67\u0f6c\u0f71ron;\u4158dil;\u4156;\u4420\u0100;v\u0f78\u0f79\u611cerse\u0100EU\u0f82\u0f99\u0100lq\u0f87\u0f8eement;\u620builibrium;\u61cbpEquilibrium;\u696fr\xbb\u0f79o;\u43a1ght\u0400ACDFTUVa\u0fc1\u0feb\u0ff3\u1022\u1028\u105b\u1087\u03d8\u0100nr\u0fc6\u0fd2gleBracket;\u67e9row\u0180;BL\u0fdc\u0fdd\u0fe1\u6192ar;\u61e5eftArrow;\u61c4eiling;\u6309o\u01f5\u0ff9\0\u1005bleBracket;\u67e7n\u01d4\u100a\0\u1014eeVector;\u695dector\u0100;B\u101d\u101e\u61c2ar;\u6955loor;\u630b\u0100er\u102d\u1043e\u0180;AV\u1035\u1036\u103c\u62a2rrow;\u61a6ector;\u695biangle\u0180;BE\u1050\u1051\u1055\u62b3ar;\u69d0qual;\u62b5p\u0180DTV\u1063\u106e\u1078ownVector;\u694feeVector;\u695cector\u0100;B\u1082\u1083\u61bear;\u6954ector\u0100;B\u1091\u1092\u61c0ar;\u6953\u0100pu\u109b\u109ef;\u611dndImplies;\u6970ightarrow;\u61db\u0100ch\u10b9\u10bcr;\u611b;\u61b1leDelayed;\u69f4\u0680HOacfhimoqstu\u10e4\u10f1\u10f7\u10fd\u1119\u111e\u1151\u1156\u1161\u1167\u11b5\u11bb\u11bf\u0100Cc\u10e9\u10eeHcy;\u4429y;\u4428FTcy;\u442ccute;\u415a\u0280;aeiy\u1108\u1109\u110e\u1113\u1117\u6abcron;\u4160dil;\u415erc;\u415c;\u4421r;\uc000\u{1d516}ort\u0200DLRU\u112a\u1134\u113e\u1149ownArrow\xbb\u041eeftArrow\xbb\u089aightArrow\xbb\u0fddpArrow;\u6191gma;\u43a3allCircle;\u6218pf;\uc000\u{1d54a}\u0272\u116d\0\0\u1170t;\u621aare\u0200;ISU\u117b\u117c\u1189\u11af\u65a1ntersection;\u6293u\u0100bp\u118f\u119eset\u0100;E\u1197\u1198\u628fqual;\u6291erset\u0100;E\u11a8\u11a9\u6290qual;\u6292nion;\u6294cr;\uc000\u{1d4ae}ar;\u62c6\u0200bcmp\u11c8\u11db\u1209\u120b\u0100;s\u11cd\u11ce\u62d0et\u0100;E\u11cd\u11d5qual;\u6286\u0100ch\u11e0\u1205eeds\u0200;EST\u11ed\u11ee\u11f4\u11ff\u627bqual;\u6ab0lantEqual;\u627dilde;\u627fTh\xe1\u0f8c;\u6211\u0180;es\u1212\u1213\u1223\u62d1rset\u0100;E\u121c\u121d\u6283qual;\u6287et\xbb\u1213\u0580HRSacfhiors\u123e\u1244\u1249\u1255\u125e\u1271\u1276\u129f\u12c2\u12c8\u12d1ORN\u803b\xde\u40deADE;\u6122\u0100Hc\u124e\u1252cy;\u440by;\u4426\u0100bu\u125a\u125c;\u4009;\u43a4\u0180aey\u1265\u126a\u126fron;\u4164dil;\u4162;\u4422r;\uc000\u{1d517}\u0100ei\u127b\u1289\u01f2\u1280\0\u1287efore;\u6234a;\u4398\u0100cn\u128e\u1298kSpace;\uc000\u205f\u200aSpace;\u6009lde\u0200;EFT\u12ab\u12ac\u12b2\u12bc\u623cqual;\u6243ullEqual;\u6245ilde;\u6248pf;\uc000\u{1d54b}ipleDot;\u60db\u0100ct\u12d6\u12dbr;\uc000\u{1d4af}rok;\u4166\u0ae1\u12f7\u130e\u131a\u1326\0\u132c\u1331\0\0\0\0\0\u1338\u133d\u1377\u1385\0\u13ff\u1404\u140a\u1410\u0100cr\u12fb\u1301ute\u803b\xda\u40dar\u0100;o\u1307\u1308\u619fcir;\u6949r\u01e3\u1313\0\u1316y;\u440eve;\u416c\u0100iy\u131e\u1323rc\u803b\xdb\u40db;\u4423blac;\u4170r;\uc000\u{1d518}rave\u803b\xd9\u40d9acr;\u416a\u0100di\u1341\u1369er\u0100BP\u1348\u135d\u0100ar\u134d\u1350r;\u405fac\u0100ek\u1357\u1359;\u63dfet;\u63b5arenthesis;\u63ddon\u0100;P\u1370\u1371\u62c3lus;\u628e\u0100gp\u137b\u137fon;\u4172f;\uc000\u{1d54c}\u0400ADETadps\u1395\u13ae\u13b8\u13c4\u03e8\u13d2\u13d7\u13f3rrow\u0180;BD\u1150\u13a0\u13a4ar;\u6912ownArrow;\u61c5ownArrow;\u6195quilibrium;\u696eee\u0100;A\u13cb\u13cc\u62a5rrow;\u61a5own\xe1\u03f3er\u0100LR\u13de\u13e8eftArrow;\u6196ightArrow;\u6197i\u0100;l\u13f9\u13fa\u43d2on;\u43a5ing;\u416ecr;\uc000\u{1d4b0}ilde;\u4168ml\u803b\xdc\u40dc\u0480Dbcdefosv\u1427\u142c\u1430\u1433\u143e\u1485\u148a\u1490\u1496ash;\u62abar;\u6aeby;\u4412ash\u0100;l\u143b\u143c\u62a9;\u6ae6\u0100er\u1443\u1445;\u62c1\u0180bty\u144c\u1450\u147aar;\u6016\u0100;i\u144f\u1455cal\u0200BLST\u1461\u1465\u146a\u1474ar;\u6223ine;\u407ceparator;\u6758ilde;\u6240ThinSpace;\u600ar;\uc000\u{1d519}pf;\uc000\u{1d54d}cr;\uc000\u{1d4b1}dash;\u62aa\u0280cefos\u14a7\u14ac\u14b1\u14b6\u14bcirc;\u4174dge;\u62c0r;\uc000\u{1d51a}pf;\uc000\u{1d54e}cr;\uc000\u{1d4b2}\u0200fios\u14cb\u14d0\u14d2\u14d8r;\uc000\u{1d51b};\u439epf;\uc000\u{1d54f}cr;\uc000\u{1d4b3}\u0480AIUacfosu\u14f1\u14f5\u14f9\u14fd\u1504\u150f\u1514\u151a\u1520cy;\u442fcy;\u4407cy;\u442ecute\u803b\xdd\u40dd\u0100iy\u1509\u150drc;\u4176;\u442br;\uc000\u{1d51c}pf;\uc000\u{1d550}cr;\uc000\u{1d4b4}ml;\u4178\u0400Hacdefos\u1535\u1539\u153f\u154b\u154f\u155d\u1560\u1564cy;\u4416cute;\u4179\u0100ay\u1544\u1549ron;\u417d;\u4417ot;\u417b\u01f2\u1554\0\u155boWidt\xe8\u0ad9a;\u4396r;\u6128pf;\u6124cr;\uc000\u{1d4b5}\u0be1\u1583\u158a\u1590\0\u15b0\u15b6\u15bf\0\0\0\0\u15c6\u15db\u15eb\u165f\u166d\0\u1695\u169b\u16b2\u16b9\0\u16becute\u803b\xe1\u40e1reve;\u4103\u0300;Ediuy\u159c\u159d\u15a1\u15a3\u15a8\u15ad\u623e;\uc000\u223e\u0333;\u623frc\u803b\xe2\u40e2te\u80bb\xb4\u0306;\u4430lig\u803b\xe6\u40e6\u0100;r\xb2\u15ba;\uc000\u{1d51e}rave\u803b\xe0\u40e0\u0100ep\u15ca\u15d6\u0100fp\u15cf\u15d4sym;\u6135\xe8\u15d3ha;\u43b1\u0100ap\u15dfc\u0100cl\u15e4\u15e7r;\u4101g;\u6a3f\u0264\u15f0\0\0\u160a\u0280;adsv\u15fa\u15fb\u15ff\u1601\u1607\u6227nd;\u6a55;\u6a5clope;\u6a58;\u6a5a\u0380;elmrsz\u1618\u1619\u161b\u161e\u163f\u164f\u1659\u6220;\u69a4e\xbb\u1619sd\u0100;a\u1625\u1626\u6221\u0461\u1630\u1632\u1634\u1636\u1638\u163a\u163c\u163e;\u69a8;\u69a9;\u69aa;\u69ab;\u69ac;\u69ad;\u69ae;\u69aft\u0100;v\u1645\u1646\u621fb\u0100;d\u164c\u164d\u62be;\u699d\u0100pt\u1654\u1657h;\u6222\xbb\xb9arr;\u637c\u0100gp\u1663\u1667on;\u4105f;\uc000\u{1d552}\u0380;Eaeiop\u12c1\u167b\u167d\u1682\u1684\u1687\u168a;\u6a70cir;\u6a6f;\u624ad;\u624bs;\u4027rox\u0100;e\u12c1\u1692\xf1\u1683ing\u803b\xe5\u40e5\u0180cty\u16a1\u16a6\u16a8r;\uc000\u{1d4b6};\u402amp\u0100;e\u12c1\u16af\xf1\u0288ilde\u803b\xe3\u40e3ml\u803b\xe4\u40e4\u0100ci\u16c2\u16c8onin\xf4\u0272nt;\u6a11\u0800Nabcdefiklnoprsu\u16ed\u16f1\u1730\u173c\u1743\u1748\u1778\u177d\u17e0\u17e6\u1839\u1850\u170d\u193d\u1948\u1970ot;\u6aed\u0100cr\u16f6\u171ek\u0200ceps\u1700\u1705\u170d\u1713ong;\u624cpsilon;\u43f6rime;\u6035im\u0100;e\u171a\u171b\u623dq;\u62cd\u0176\u1722\u1726ee;\u62bded\u0100;g\u172c\u172d\u6305e\xbb\u172drk\u0100;t\u135c\u1737brk;\u63b6\u0100oy\u1701\u1741;\u4431quo;\u601e\u0280cmprt\u1753\u175b\u1761\u1764\u1768aus\u0100;e\u010a\u0109ptyv;\u69b0s\xe9\u170cno\xf5\u0113\u0180ahw\u176f\u1771\u1773;\u43b2;\u6136een;\u626cr;\uc000\u{1d51f}g\u0380costuvw\u178d\u179d\u17b3\u17c1\u17d5\u17db\u17de\u0180aiu\u1794\u1796\u179a\xf0\u0760rc;\u65efp\xbb\u1371\u0180dpt\u17a4\u17a8\u17adot;\u6a00lus;\u6a01imes;\u6a02\u0271\u17b9\0\0\u17becup;\u6a06ar;\u6605riangle\u0100du\u17cd\u17d2own;\u65bdp;\u65b3plus;\u6a04e\xe5\u1444\xe5\u14adarow;\u690d\u0180ako\u17ed\u1826\u1835\u0100cn\u17f2\u1823k\u0180lst\u17fa\u05ab\u1802ozenge;\u69ebriangle\u0200;dlr\u1812\u1813\u1818\u181d\u65b4own;\u65beeft;\u65c2ight;\u65b8k;\u6423\u01b1\u182b\0\u1833\u01b2\u182f\0\u1831;\u6592;\u65914;\u6593ck;\u6588\u0100eo\u183e\u184d\u0100;q\u1843\u1846\uc000=\u20e5uiv;\uc000\u2261\u20e5t;\u6310\u0200ptwx\u1859\u185e\u1867\u186cf;\uc000\u{1d553}\u0100;t\u13cb\u1863om\xbb\u13cctie;\u62c8\u0600DHUVbdhmptuv\u1885\u1896\u18aa\u18bb\u18d7\u18db\u18ec\u18ff\u1905\u190a\u1910\u1921\u0200LRlr\u188e\u1890\u1892\u1894;\u6557;\u6554;\u6556;\u6553\u0280;DUdu\u18a1\u18a2\u18a4\u18a6\u18a8\u6550;\u6566;\u6569;\u6564;\u6567\u0200LRlr\u18b3\u18b5\u18b7\u18b9;\u655d;\u655a;\u655c;\u6559\u0380;HLRhlr\u18ca\u18cb\u18cd\u18cf\u18d1\u18d3\u18d5\u6551;\u656c;\u6563;\u6560;\u656b;\u6562;\u655fox;\u69c9\u0200LRlr\u18e4\u18e6\u18e8\u18ea;\u6555;\u6552;\u6510;\u650c\u0280;DUdu\u06bd\u18f7\u18f9\u18fb\u18fd;\u6565;\u6568;\u652c;\u6534inus;\u629flus;\u629eimes;\u62a0\u0200LRlr\u1919\u191b\u191d\u191f;\u655b;\u6558;\u6518;\u6514\u0380;HLRhlr\u1930\u1931\u1933\u1935\u1937\u1939\u193b\u6502;\u656a;\u6561;\u655e;\u653c;\u6524;\u651c\u0100ev\u0123\u1942bar\u803b\xa6\u40a6\u0200ceio\u1951\u1956\u195a\u1960r;\uc000\u{1d4b7}mi;\u604fm\u0100;e\u171a\u171cl\u0180;bh\u1968\u1969\u196b\u405c;\u69c5sub;\u67c8\u016c\u1974\u197el\u0100;e\u1979\u197a\u6022t\xbb\u197ap\u0180;Ee\u012f\u1985\u1987;\u6aae\u0100;q\u06dc\u06db\u0ce1\u19a7\0\u19e8\u1a11\u1a15\u1a32\0\u1a37\u1a50\0\0\u1ab4\0\0\u1ac1\0\0\u1b21\u1b2e\u1b4d\u1b52\0\u1bfd\0\u1c0c\u0180cpr\u19ad\u19b2\u19ddute;\u4107\u0300;abcds\u19bf\u19c0\u19c4\u19ca\u19d5\u19d9\u6229nd;\u6a44rcup;\u6a49\u0100au\u19cf\u19d2p;\u6a4bp;\u6a47ot;\u6a40;\uc000\u2229\ufe00\u0100eo\u19e2\u19e5t;\u6041\xee\u0693\u0200aeiu\u19f0\u19fb\u1a01\u1a05\u01f0\u19f5\0\u19f8s;\u6a4don;\u410ddil\u803b\xe7\u40e7rc;\u4109ps\u0100;s\u1a0c\u1a0d\u6a4cm;\u6a50ot;\u410b\u0180dmn\u1a1b\u1a20\u1a26il\u80bb\xb8\u01adptyv;\u69b2t\u8100\xa2;e\u1a2d\u1a2e\u40a2r\xe4\u01b2r;\uc000\u{1d520}\u0180cei\u1a3d\u1a40\u1a4dy;\u4447ck\u0100;m\u1a47\u1a48\u6713ark\xbb\u1a48;\u43c7r\u0380;Ecefms\u1a5f\u1a60\u1a62\u1a6b\u1aa4\u1aaa\u1aae\u65cb;\u69c3\u0180;el\u1a69\u1a6a\u1a6d\u42c6q;\u6257e\u0261\u1a74\0\0\u1a88rrow\u0100lr\u1a7c\u1a81eft;\u61baight;\u61bb\u0280RSacd\u1a92\u1a94\u1a96\u1a9a\u1a9f\xbb\u0f47;\u64c8st;\u629birc;\u629aash;\u629dnint;\u6a10id;\u6aefcir;\u69c2ubs\u0100;u\u1abb\u1abc\u6663it\xbb\u1abc\u02ec\u1ac7\u1ad4\u1afa\0\u1b0aon\u0100;e\u1acd\u1ace\u403a\u0100;q\xc7\xc6\u026d\u1ad9\0\0\u1ae2a\u0100;t\u1ade\u1adf\u402c;\u4040\u0180;fl\u1ae8\u1ae9\u1aeb\u6201\xee\u1160e\u0100mx\u1af1\u1af6ent\xbb\u1ae9e\xf3\u024d\u01e7\u1afe\0\u1b07\u0100;d\u12bb\u1b02ot;\u6a6dn\xf4\u0246\u0180fry\u1b10\u1b14\u1b17;\uc000\u{1d554}o\xe4\u0254\u8100\xa9;s\u0155\u1b1dr;\u6117\u0100ao\u1b25\u1b29rr;\u61b5ss;\u6717\u0100cu\u1b32\u1b37r;\uc000\u{1d4b8}\u0100bp\u1b3c\u1b44\u0100;e\u1b41\u1b42\u6acf;\u6ad1\u0100;e\u1b49\u1b4a\u6ad0;\u6ad2dot;\u62ef\u0380delprvw\u1b60\u1b6c\u1b77\u1b82\u1bac\u1bd4\u1bf9arr\u0100lr\u1b68\u1b6a;\u6938;\u6935\u0270\u1b72\0\0\u1b75r;\u62dec;\u62dfarr\u0100;p\u1b7f\u1b80\u61b6;\u693d\u0300;bcdos\u1b8f\u1b90\u1b96\u1ba1\u1ba5\u1ba8\u622arcap;\u6a48\u0100au\u1b9b\u1b9ep;\u6a46p;\u6a4aot;\u628dr;\u6a45;\uc000\u222a\ufe00\u0200alrv\u1bb5\u1bbf\u1bde\u1be3rr\u0100;m\u1bbc\u1bbd\u61b7;\u693cy\u0180evw\u1bc7\u1bd4\u1bd8q\u0270\u1bce\0\0\u1bd2re\xe3\u1b73u\xe3\u1b75ee;\u62ceedge;\u62cfen\u803b\xa4\u40a4earrow\u0100lr\u1bee\u1bf3eft\xbb\u1b80ight\xbb\u1bbde\xe4\u1bdd\u0100ci\u1c01\u1c07onin\xf4\u01f7nt;\u6231lcty;\u632d\u0980AHabcdefhijlorstuwz\u1c38\u1c3b\u1c3f\u1c5d\u1c69\u1c75\u1c8a\u1c9e\u1cac\u1cb7\u1cfb\u1cff\u1d0d\u1d7b\u1d91\u1dab\u1dbb\u1dc6\u1dcdr\xf2\u0381ar;\u6965\u0200glrs\u1c48\u1c4d\u1c52\u1c54ger;\u6020eth;\u6138\xf2\u1133h\u0100;v\u1c5a\u1c5b\u6010\xbb\u090a\u016b\u1c61\u1c67arow;\u690fa\xe3\u0315\u0100ay\u1c6e\u1c73ron;\u410f;\u4434\u0180;ao\u0332\u1c7c\u1c84\u0100gr\u02bf\u1c81r;\u61catseq;\u6a77\u0180glm\u1c91\u1c94\u1c98\u803b\xb0\u40b0ta;\u43b4ptyv;\u69b1\u0100ir\u1ca3\u1ca8sht;\u697f;\uc000\u{1d521}ar\u0100lr\u1cb3\u1cb5\xbb\u08dc\xbb\u101e\u0280aegsv\u1cc2\u0378\u1cd6\u1cdc\u1ce0m\u0180;os\u0326\u1cca\u1cd4nd\u0100;s\u0326\u1cd1uit;\u6666amma;\u43ddin;\u62f2\u0180;io\u1ce7\u1ce8\u1cf8\u40f7de\u8100\xf7;o\u1ce7\u1cf0ntimes;\u62c7n\xf8\u1cf7cy;\u4452c\u026f\u1d06\0\0\u1d0arn;\u631eop;\u630d\u0280lptuw\u1d18\u1d1d\u1d22\u1d49\u1d55lar;\u4024f;\uc000\u{1d555}\u0280;emps\u030b\u1d2d\u1d37\u1d3d\u1d42q\u0100;d\u0352\u1d33ot;\u6251inus;\u6238lus;\u6214quare;\u62a1blebarwedg\xe5\xfan\u0180adh\u112e\u1d5d\u1d67ownarrow\xf3\u1c83arpoon\u0100lr\u1d72\u1d76ef\xf4\u1cb4igh\xf4\u1cb6\u0162\u1d7f\u1d85karo\xf7\u0f42\u026f\u1d8a\0\0\u1d8ern;\u631fop;\u630c\u0180cot\u1d98\u1da3\u1da6\u0100ry\u1d9d\u1da1;\uc000\u{1d4b9};\u4455l;\u69f6rok;\u4111\u0100dr\u1db0\u1db4ot;\u62f1i\u0100;f\u1dba\u1816\u65bf\u0100ah\u1dc0\u1dc3r\xf2\u0429a\xf2\u0fa6angle;\u69a6\u0100ci\u1dd2\u1dd5y;\u445fgrarr;\u67ff\u0900Dacdefglmnopqrstux\u1e01\u1e09\u1e19\u1e38\u0578\u1e3c\u1e49\u1e61\u1e7e\u1ea5\u1eaf\u1ebd\u1ee1\u1f2a\u1f37\u1f44\u1f4e\u1f5a\u0100Do\u1e06\u1d34o\xf4\u1c89\u0100cs\u1e0e\u1e14ute\u803b\xe9\u40e9ter;\u6a6e\u0200aioy\u1e22\u1e27\u1e31\u1e36ron;\u411br\u0100;c\u1e2d\u1e2e\u6256\u803b\xea\u40ealon;\u6255;\u444dot;\u4117\u0100Dr\u1e41\u1e45ot;\u6252;\uc000\u{1d522}\u0180;rs\u1e50\u1e51\u1e57\u6a9aave\u803b\xe8\u40e8\u0100;d\u1e5c\u1e5d\u6a96ot;\u6a98\u0200;ils\u1e6a\u1e6b\u1e72\u1e74\u6a99nters;\u63e7;\u6113\u0100;d\u1e79\u1e7a\u6a95ot;\u6a97\u0180aps\u1e85\u1e89\u1e97cr;\u4113ty\u0180;sv\u1e92\u1e93\u1e95\u6205et\xbb\u1e93p\u01001;\u1e9d\u1ea4\u0133\u1ea1\u1ea3;\u6004;\u6005\u6003\u0100gs\u1eaa\u1eac;\u414bp;\u6002\u0100gp\u1eb4\u1eb8on;\u4119f;\uc000\u{1d556}\u0180als\u1ec4\u1ece\u1ed2r\u0100;s\u1eca\u1ecb\u62d5l;\u69e3us;\u6a71i\u0180;lv\u1eda\u1edb\u1edf\u43b5on\xbb\u1edb;\u43f5\u0200csuv\u1eea\u1ef3\u1f0b\u1f23\u0100io\u1eef\u1e31rc\xbb\u1e2e\u0269\u1ef9\0\0\u1efb\xed\u0548ant\u0100gl\u1f02\u1f06tr\xbb\u1e5dess\xbb\u1e7a\u0180aei\u1f12\u1f16\u1f1als;\u403dst;\u625fv\u0100;D\u0235\u1f20D;\u6a78parsl;\u69e5\u0100Da\u1f2f\u1f33ot;\u6253rr;\u6971\u0180cdi\u1f3e\u1f41\u1ef8r;\u612fo\xf4\u0352\u0100ah\u1f49\u1f4b;\u43b7\u803b\xf0\u40f0\u0100mr\u1f53\u1f57l\u803b\xeb\u40ebo;\u60ac\u0180cip\u1f61\u1f64\u1f67l;\u4021s\xf4\u056e\u0100eo\u1f6c\u1f74ctatio\xee\u0559nential\xe5\u0579\u09e1\u1f92\0\u1f9e\0\u1fa1\u1fa7\0\0\u1fc6\u1fcc\0\u1fd3\0\u1fe6\u1fea\u2000\0\u2008\u205allingdotse\xf1\u1e44y;\u4444male;\u6640\u0180ilr\u1fad\u1fb3\u1fc1lig;\u8000\ufb03\u0269\u1fb9\0\0\u1fbdg;\u8000\ufb00ig;\u8000\ufb04;\uc000\u{1d523}lig;\u8000\ufb01lig;\uc000fj\u0180alt\u1fd9\u1fdc\u1fe1t;\u666dig;\u8000\ufb02ns;\u65b1of;\u4192\u01f0\u1fee\0\u1ff3f;\uc000\u{1d557}\u0100ak\u05bf\u1ff7\u0100;v\u1ffc\u1ffd\u62d4;\u6ad9artint;\u6a0d\u0100ao\u200c\u2055\u0100cs\u2011\u2052\u03b1\u201a\u2030\u2038\u2045\u2048\0\u2050\u03b2\u2022\u2025\u2027\u202a\u202c\0\u202e\u803b\xbd\u40bd;\u6153\u803b\xbc\u40bc;\u6155;\u6159;\u615b\u01b3\u2034\0\u2036;\u6154;\u6156\u02b4\u203e\u2041\0\0\u2043\u803b\xbe\u40be;\u6157;\u615c5;\u6158\u01b6\u204c\0\u204e;\u615a;\u615d8;\u615el;\u6044wn;\u6322cr;\uc000\u{1d4bb}\u0880Eabcdefgijlnorstv\u2082\u2089\u209f\u20a5\u20b0\u20b4\u20f0\u20f5\u20fa\u20ff\u2103\u2112\u2138\u0317\u213e\u2152\u219e\u0100;l\u064d\u2087;\u6a8c\u0180cmp\u2090\u2095\u209dute;\u41f5ma\u0100;d\u209c\u1cda\u43b3;\u6a86reve;\u411f\u0100iy\u20aa\u20aerc;\u411d;\u4433ot;\u4121\u0200;lqs\u063e\u0642\u20bd\u20c9\u0180;qs\u063e\u064c\u20c4lan\xf4\u0665\u0200;cdl\u0665\u20d2\u20d5\u20e5c;\u6aa9ot\u0100;o\u20dc\u20dd\u6a80\u0100;l\u20e2\u20e3\u6a82;\u6a84\u0100;e\u20ea\u20ed\uc000\u22db\ufe00s;\u6a94r;\uc000\u{1d524}\u0100;g\u0673\u061bmel;\u6137cy;\u4453\u0200;Eaj\u065a\u210c\u210e\u2110;\u6a92;\u6aa5;\u6aa4\u0200Eaes\u211b\u211d\u2129\u2134;\u6269p\u0100;p\u2123\u2124\u6a8arox\xbb\u2124\u0100;q\u212e\u212f\u6a88\u0100;q\u212e\u211bim;\u62e7pf;\uc000\u{1d558}\u0100ci\u2143\u2146r;\u610am\u0180;el\u066b\u214e\u2150;\u6a8e;\u6a90\u8300>;cdlqr\u05ee\u2160\u216a\u216e\u2173\u2179\u0100ci\u2165\u2167;\u6aa7r;\u6a7aot;\u62d7Par;\u6995uest;\u6a7c\u0280adels\u2184\u216a\u2190\u0656\u219b\u01f0\u2189\0\u218epro\xf8\u209er;\u6978q\u0100lq\u063f\u2196les\xf3\u2088i\xed\u066b\u0100en\u21a3\u21adrtneqq;\uc000\u2269\ufe00\xc5\u21aa\u0500Aabcefkosy\u21c4\u21c7\u21f1\u21f5\u21fa\u2218\u221d\u222f\u2268\u227dr\xf2\u03a0\u0200ilmr\u21d0\u21d4\u21d7\u21dbrs\xf0\u1484f\xbb\u2024il\xf4\u06a9\u0100dr\u21e0\u21e4cy;\u444a\u0180;cw\u08f4\u21eb\u21efir;\u6948;\u61adar;\u610firc;\u4125\u0180alr\u2201\u220e\u2213rts\u0100;u\u2209\u220a\u6665it\xbb\u220alip;\u6026con;\u62b9r;\uc000\u{1d525}s\u0100ew\u2223\u2229arow;\u6925arow;\u6926\u0280amopr\u223a\u223e\u2243\u225e\u2263rr;\u61fftht;\u623bk\u0100lr\u2249\u2253eftarrow;\u61a9ightarrow;\u61aaf;\uc000\u{1d559}bar;\u6015\u0180clt\u226f\u2274\u2278r;\uc000\u{1d4bd}as\xe8\u21f4rok;\u4127\u0100bp\u2282\u2287ull;\u6043hen\xbb\u1c5b\u0ae1\u22a3\0\u22aa\0\u22b8\u22c5\u22ce\0\u22d5\u22f3\0\0\u22f8\u2322\u2367\u2362\u237f\0\u2386\u23aa\u23b4cute\u803b\xed\u40ed\u0180;iy\u0771\u22b0\u22b5rc\u803b\xee\u40ee;\u4438\u0100cx\u22bc\u22bfy;\u4435cl\u803b\xa1\u40a1\u0100fr\u039f\u22c9;\uc000\u{1d526}rave\u803b\xec\u40ec\u0200;ino\u073e\u22dd\u22e9\u22ee\u0100in\u22e2\u22e6nt;\u6a0ct;\u622dfin;\u69dcta;\u6129lig;\u4133\u0180aop\u22fe\u231a\u231d\u0180cgt\u2305\u2308\u2317r;\u412b\u0180elp\u071f\u230f\u2313in\xe5\u078ear\xf4\u0720h;\u4131f;\u62b7ed;\u41b5\u0280;cfot\u04f4\u232c\u2331\u233d\u2341are;\u6105in\u0100;t\u2338\u2339\u621eie;\u69dddo\xf4\u2319\u0280;celp\u0757\u234c\u2350\u235b\u2361al;\u62ba\u0100gr\u2355\u2359er\xf3\u1563\xe3\u234darhk;\u6a17rod;\u6a3c\u0200cgpt\u236f\u2372\u2376\u237by;\u4451on;\u412ff;\uc000\u{1d55a}a;\u43b9uest\u803b\xbf\u40bf\u0100ci\u238a\u238fr;\uc000\u{1d4be}n\u0280;Edsv\u04f4\u239b\u239d\u23a1\u04f3;\u62f9ot;\u62f5\u0100;v\u23a6\u23a7\u62f4;\u62f3\u0100;i\u0777\u23aelde;\u4129\u01eb\u23b8\0\u23bccy;\u4456l\u803b\xef\u40ef\u0300cfmosu\u23cc\u23d7\u23dc\u23e1\u23e7\u23f5\u0100iy\u23d1\u23d5rc;\u4135;\u4439r;\uc000\u{1d527}ath;\u4237pf;\uc000\u{1d55b}\u01e3\u23ec\0\u23f1r;\uc000\u{1d4bf}rcy;\u4458kcy;\u4454\u0400acfghjos\u240b\u2416\u2422\u2427\u242d\u2431\u2435\u243bppa\u0100;v\u2413\u2414\u43ba;\u43f0\u0100ey\u241b\u2420dil;\u4137;\u443ar;\uc000\u{1d528}reen;\u4138cy;\u4445cy;\u445cpf;\uc000\u{1d55c}cr;\uc000\u{1d4c0}\u0b80ABEHabcdefghjlmnoprstuv\u2470\u2481\u2486\u248d\u2491\u250e\u253d\u255a\u2580\u264e\u265e\u2665\u2679\u267d\u269a\u26b2\u26d8\u275d\u2768\u278b\u27c0\u2801\u2812\u0180art\u2477\u247a\u247cr\xf2\u09c6\xf2\u0395ail;\u691barr;\u690e\u0100;g\u0994\u248b;\u6a8bar;\u6962\u0963\u24a5\0\u24aa\0\u24b1\0\0\0\0\0\u24b5\u24ba\0\u24c6\u24c8\u24cd\0\u24f9ute;\u413amptyv;\u69b4ra\xee\u084cbda;\u43bbg\u0180;dl\u088e\u24c1\u24c3;\u6991\xe5\u088e;\u6a85uo\u803b\xab\u40abr\u0400;bfhlpst\u0899\u24de\u24e6\u24e9\u24eb\u24ee\u24f1\u24f5\u0100;f\u089d\u24e3s;\u691fs;\u691d\xeb\u2252p;\u61abl;\u6939im;\u6973l;\u61a2\u0180;ae\u24ff\u2500\u2504\u6aabil;\u6919\u0100;s\u2509\u250a\u6aad;\uc000\u2aad\ufe00\u0180abr\u2515\u2519\u251drr;\u690crk;\u6772\u0100ak\u2522\u252cc\u0100ek\u2528\u252a;\u407b;\u405b\u0100es\u2531\u2533;\u698bl\u0100du\u2539\u253b;\u698f;\u698d\u0200aeuy\u2546\u254b\u2556\u2558ron;\u413e\u0100di\u2550\u2554il;\u413c\xec\u08b0\xe2\u2529;\u443b\u0200cqrs\u2563\u2566\u256d\u257da;\u6936uo\u0100;r\u0e19\u1746\u0100du\u2572\u2577har;\u6967shar;\u694bh;\u61b2\u0280;fgqs\u258b\u258c\u0989\u25f3\u25ff\u6264t\u0280ahlrt\u2598\u25a4\u25b7\u25c2\u25e8rrow\u0100;t\u0899\u25a1a\xe9\u24f6arpoon\u0100du\u25af\u25b4own\xbb\u045ap\xbb\u0966eftarrows;\u61c7ight\u0180ahs\u25cd\u25d6\u25derrow\u0100;s\u08f4\u08a7arpoon\xf3\u0f98quigarro\xf7\u21f0hreetimes;\u62cb\u0180;qs\u258b\u0993\u25falan\xf4\u09ac\u0280;cdgs\u09ac\u260a\u260d\u261d\u2628c;\u6aa8ot\u0100;o\u2614\u2615\u6a7f\u0100;r\u261a\u261b\u6a81;\u6a83\u0100;e\u2622\u2625\uc000\u22da\ufe00s;\u6a93\u0280adegs\u2633\u2639\u263d\u2649\u264bppro\xf8\u24c6ot;\u62d6q\u0100gq\u2643\u2645\xf4\u0989gt\xf2\u248c\xf4\u099bi\xed\u09b2\u0180ilr\u2655\u08e1\u265asht;\u697c;\uc000\u{1d529}\u0100;E\u099c\u2663;\u6a91\u0161\u2669\u2676r\u0100du\u25b2\u266e\u0100;l\u0965\u2673;\u696alk;\u6584cy;\u4459\u0280;acht\u0a48\u2688\u268b\u2691\u2696r\xf2\u25c1orne\xf2\u1d08ard;\u696bri;\u65fa\u0100io\u269f\u26a4dot;\u4140ust\u0100;a\u26ac\u26ad\u63b0che\xbb\u26ad\u0200Eaes\u26bb\u26bd\u26c9\u26d4;\u6268p\u0100;p\u26c3\u26c4\u6a89rox\xbb\u26c4\u0100;q\u26ce\u26cf\u6a87\u0100;q\u26ce\u26bbim;\u62e6\u0400abnoptwz\u26e9\u26f4\u26f7\u271a\u272f\u2741\u2747\u2750\u0100nr\u26ee\u26f1g;\u67ecr;\u61fdr\xeb\u08c1g\u0180lmr\u26ff\u270d\u2714eft\u0100ar\u09e6\u2707ight\xe1\u09f2apsto;\u67fcight\xe1\u09fdparrow\u0100lr\u2725\u2729ef\xf4\u24edight;\u61ac\u0180afl\u2736\u2739\u273dr;\u6985;\uc000\u{1d55d}us;\u6a2dimes;\u6a34\u0161\u274b\u274fst;\u6217\xe1\u134e\u0180;ef\u2757\u2758\u1800\u65cange\xbb\u2758ar\u0100;l\u2764\u2765\u4028t;\u6993\u0280achmt\u2773\u2776\u277c\u2785\u2787r\xf2\u08a8orne\xf2\u1d8car\u0100;d\u0f98\u2783;\u696d;\u600eri;\u62bf\u0300achiqt\u2798\u279d\u0a40\u27a2\u27ae\u27bbquo;\u6039r;\uc000\u{1d4c1}m\u0180;eg\u09b2\u27aa\u27ac;\u6a8d;\u6a8f\u0100bu\u252a\u27b3o\u0100;r\u0e1f\u27b9;\u601arok;\u4142\u8400<;cdhilqr\u082b\u27d2\u2639\u27dc\u27e0\u27e5\u27ea\u27f0\u0100ci\u27d7\u27d9;\u6aa6r;\u6a79re\xe5\u25f2mes;\u62c9arr;\u6976uest;\u6a7b\u0100Pi\u27f5\u27f9ar;\u6996\u0180;ef\u2800\u092d\u181b\u65c3r\u0100du\u2807\u280dshar;\u694ahar;\u6966\u0100en\u2817\u2821rtneqq;\uc000\u2268\ufe00\xc5\u281e\u0700Dacdefhilnopsu\u2840\u2845\u2882\u288e\u2893\u28a0\u28a5\u28a8\u28da\u28e2\u28e4\u0a83\u28f3\u2902Dot;\u623a\u0200clpr\u284e\u2852\u2863\u287dr\u803b\xaf\u40af\u0100et\u2857\u2859;\u6642\u0100;e\u285e\u285f\u6720se\xbb\u285f\u0100;s\u103b\u2868to\u0200;dlu\u103b\u2873\u2877\u287bow\xee\u048cef\xf4\u090f\xf0\u13d1ker;\u65ae\u0100oy\u2887\u288cmma;\u6a29;\u443cash;\u6014asuredangle\xbb\u1626r;\uc000\u{1d52a}o;\u6127\u0180cdn\u28af\u28b4\u28c9ro\u803b\xb5\u40b5\u0200;acd\u1464\u28bd\u28c0\u28c4s\xf4\u16a7ir;\u6af0ot\u80bb\xb7\u01b5us\u0180;bd\u28d2\u1903\u28d3\u6212\u0100;u\u1d3c\u28d8;\u6a2a\u0163\u28de\u28e1p;\u6adb\xf2\u2212\xf0\u0a81\u0100dp\u28e9\u28eeels;\u62a7f;\uc000\u{1d55e}\u0100ct\u28f8\u28fdr;\uc000\u{1d4c2}pos\xbb\u159d\u0180;lm\u2909\u290a\u290d\u43bctimap;\u62b8\u0c00GLRVabcdefghijlmoprstuvw\u2942\u2953\u297e\u2989\u2998\u29da\u29e9\u2a15\u2a1a\u2a58\u2a5d\u2a83\u2a95\u2aa4\u2aa8\u2b04\u2b07\u2b44\u2b7f\u2bae\u2c34\u2c67\u2c7c\u2ce9\u0100gt\u2947\u294b;\uc000\u22d9\u0338\u0100;v\u2950\u0bcf\uc000\u226b\u20d2\u0180elt\u295a\u2972\u2976ft\u0100ar\u2961\u2967rrow;\u61cdightarrow;\u61ce;\uc000\u22d8\u0338\u0100;v\u297b\u0c47\uc000\u226a\u20d2ightarrow;\u61cf\u0100Dd\u298e\u2993ash;\u62afash;\u62ae\u0280bcnpt\u29a3\u29a7\u29ac\u29b1\u29ccla\xbb\u02deute;\u4144g;\uc000\u2220\u20d2\u0280;Eiop\u0d84\u29bc\u29c0\u29c5\u29c8;\uc000\u2a70\u0338d;\uc000\u224b\u0338s;\u4149ro\xf8\u0d84ur\u0100;a\u29d3\u29d4\u666el\u0100;s\u29d3\u0b38\u01f3\u29df\0\u29e3p\u80bb\xa0\u0b37mp\u0100;e\u0bf9\u0c00\u0280aeouy\u29f4\u29fe\u2a03\u2a10\u2a13\u01f0\u29f9\0\u29fb;\u6a43on;\u4148dil;\u4146ng\u0100;d\u0d7e\u2a0aot;\uc000\u2a6d\u0338p;\u6a42;\u443dash;\u6013\u0380;Aadqsx\u0b92\u2a29\u2a2d\u2a3b\u2a41\u2a45\u2a50rr;\u61d7r\u0100hr\u2a33\u2a36k;\u6924\u0100;o\u13f2\u13f0ot;\uc000\u2250\u0338ui\xf6\u0b63\u0100ei\u2a4a\u2a4ear;\u6928\xed\u0b98ist\u0100;s\u0ba0\u0b9fr;\uc000\u{1d52b}\u0200Eest\u0bc5\u2a66\u2a79\u2a7c\u0180;qs\u0bbc\u2a6d\u0be1\u0180;qs\u0bbc\u0bc5\u2a74lan\xf4\u0be2i\xed\u0bea\u0100;r\u0bb6\u2a81\xbb\u0bb7\u0180Aap\u2a8a\u2a8d\u2a91r\xf2\u2971rr;\u61aear;\u6af2\u0180;sv\u0f8d\u2a9c\u0f8c\u0100;d\u2aa1\u2aa2\u62fc;\u62facy;\u445a\u0380AEadest\u2ab7\u2aba\u2abe\u2ac2\u2ac5\u2af6\u2af9r\xf2\u2966;\uc000\u2266\u0338rr;\u619ar;\u6025\u0200;fqs\u0c3b\u2ace\u2ae3\u2aeft\u0100ar\u2ad4\u2ad9rro\xf7\u2ac1ightarro\xf7\u2a90\u0180;qs\u0c3b\u2aba\u2aealan\xf4\u0c55\u0100;s\u0c55\u2af4\xbb\u0c36i\xed\u0c5d\u0100;r\u0c35\u2afei\u0100;e\u0c1a\u0c25i\xe4\u0d90\u0100pt\u2b0c\u2b11f;\uc000\u{1d55f}\u8180\xac;in\u2b19\u2b1a\u2b36\u40acn\u0200;Edv\u0b89\u2b24\u2b28\u2b2e;\uc000\u22f9\u0338ot;\uc000\u22f5\u0338\u01e1\u0b89\u2b33\u2b35;\u62f7;\u62f6i\u0100;v\u0cb8\u2b3c\u01e1\u0cb8\u2b41\u2b43;\u62fe;\u62fd\u0180aor\u2b4b\u2b63\u2b69r\u0200;ast\u0b7b\u2b55\u2b5a\u2b5flle\xec\u0b7bl;\uc000\u2afd\u20e5;\uc000\u2202\u0338lint;\u6a14\u0180;ce\u0c92\u2b70\u2b73u\xe5\u0ca5\u0100;c\u0c98\u2b78\u0100;e\u0c92\u2b7d\xf1\u0c98\u0200Aait\u2b88\u2b8b\u2b9d\u2ba7r\xf2\u2988rr\u0180;cw\u2b94\u2b95\u2b99\u619b;\uc000\u2933\u0338;\uc000\u219d\u0338ghtarrow\xbb\u2b95ri\u0100;e\u0ccb\u0cd6\u0380chimpqu\u2bbd\u2bcd\u2bd9\u2b04\u0b78\u2be4\u2bef\u0200;cer\u0d32\u2bc6\u0d37\u2bc9u\xe5\u0d45;\uc000\u{1d4c3}ort\u026d\u2b05\0\0\u2bd6ar\xe1\u2b56m\u0100;e\u0d6e\u2bdf\u0100;q\u0d74\u0d73su\u0100bp\u2beb\u2bed\xe5\u0cf8\xe5\u0d0b\u0180bcp\u2bf6\u2c11\u2c19\u0200;Ees\u2bff\u2c00\u0d22\u2c04\u6284;\uc000\u2ac5\u0338et\u0100;e\u0d1b\u2c0bq\u0100;q\u0d23\u2c00c\u0100;e\u0d32\u2c17\xf1\u0d38\u0200;Ees\u2c22\u2c23\u0d5f\u2c27\u6285;\uc000\u2ac6\u0338et\u0100;e\u0d58\u2c2eq\u0100;q\u0d60\u2c23\u0200gilr\u2c3d\u2c3f\u2c45\u2c47\xec\u0bd7lde\u803b\xf1\u40f1\xe7\u0c43iangle\u0100lr\u2c52\u2c5ceft\u0100;e\u0c1a\u2c5a\xf1\u0c26ight\u0100;e\u0ccb\u2c65\xf1\u0cd7\u0100;m\u2c6c\u2c6d\u43bd\u0180;es\u2c74\u2c75\u2c79\u4023ro;\u6116p;\u6007\u0480DHadgilrs\u2c8f\u2c94\u2c99\u2c9e\u2ca3\u2cb0\u2cb6\u2cd3\u2ce3ash;\u62adarr;\u6904p;\uc000\u224d\u20d2ash;\u62ac\u0100et\u2ca8\u2cac;\uc000\u2265\u20d2;\uc000>\u20d2nfin;\u69de\u0180Aet\u2cbd\u2cc1\u2cc5rr;\u6902;\uc000\u2264\u20d2\u0100;r\u2cca\u2ccd\uc000<\u20d2ie;\uc000\u22b4\u20d2\u0100At\u2cd8\u2cdcrr;\u6903rie;\uc000\u22b5\u20d2im;\uc000\u223c\u20d2\u0180Aan\u2cf0\u2cf4\u2d02rr;\u61d6r\u0100hr\u2cfa\u2cfdk;\u6923\u0100;o\u13e7\u13e5ear;\u6927\u1253\u1a95\0\0\0\0\0\0\0\0\0\0\0\0\0\u2d2d\0\u2d38\u2d48\u2d60\u2d65\u2d72\u2d84\u1b07\0\0\u2d8d\u2dab\0\u2dc8\u2dce\0\u2ddc\u2e19\u2e2b\u2e3e\u2e43\u0100cs\u2d31\u1a97ute\u803b\xf3\u40f3\u0100iy\u2d3c\u2d45r\u0100;c\u1a9e\u2d42\u803b\xf4\u40f4;\u443e\u0280abios\u1aa0\u2d52\u2d57\u01c8\u2d5alac;\u4151v;\u6a38old;\u69bclig;\u4153\u0100cr\u2d69\u2d6dir;\u69bf;\uc000\u{1d52c}\u036f\u2d79\0\0\u2d7c\0\u2d82n;\u42dbave\u803b\xf2\u40f2;\u69c1\u0100bm\u2d88\u0df4ar;\u69b5\u0200acit\u2d95\u2d98\u2da5\u2da8r\xf2\u1a80\u0100ir\u2d9d\u2da0r;\u69beoss;\u69bbn\xe5\u0e52;\u69c0\u0180aei\u2db1\u2db5\u2db9cr;\u414dga;\u43c9\u0180cdn\u2dc0\u2dc5\u01cdron;\u43bf;\u69b6pf;\uc000\u{1d560}\u0180ael\u2dd4\u2dd7\u01d2r;\u69b7rp;\u69b9\u0380;adiosv\u2dea\u2deb\u2dee\u2e08\u2e0d\u2e10\u2e16\u6228r\xf2\u1a86\u0200;efm\u2df7\u2df8\u2e02\u2e05\u6a5dr\u0100;o\u2dfe\u2dff\u6134f\xbb\u2dff\u803b\xaa\u40aa\u803b\xba\u40bagof;\u62b6r;\u6a56lope;\u6a57;\u6a5b\u0180clo\u2e1f\u2e21\u2e27\xf2\u2e01ash\u803b\xf8\u40f8l;\u6298i\u016c\u2e2f\u2e34de\u803b\xf5\u40f5es\u0100;a\u01db\u2e3as;\u6a36ml\u803b\xf6\u40f6bar;\u633d\u0ae1\u2e5e\0\u2e7d\0\u2e80\u2e9d\0\u2ea2\u2eb9\0\0\u2ecb\u0e9c\0\u2f13\0\0\u2f2b\u2fbc\0\u2fc8r\u0200;ast\u0403\u2e67\u2e72\u0e85\u8100\xb6;l\u2e6d\u2e6e\u40b6le\xec\u0403\u0269\u2e78\0\0\u2e7bm;\u6af3;\u6afdy;\u443fr\u0280cimpt\u2e8b\u2e8f\u2e93\u1865\u2e97nt;\u4025od;\u402eil;\u6030enk;\u6031r;\uc000\u{1d52d}\u0180imo\u2ea8\u2eb0\u2eb4\u0100;v\u2ead\u2eae\u43c6;\u43d5ma\xf4\u0a76ne;\u660e\u0180;tv\u2ebf\u2ec0\u2ec8\u43c0chfork\xbb\u1ffd;\u43d6\u0100au\u2ecf\u2edfn\u0100ck\u2ed5\u2eddk\u0100;h\u21f4\u2edb;\u610e\xf6\u21f4s\u0480;abcdemst\u2ef3\u2ef4\u1908\u2ef9\u2efd\u2f04\u2f06\u2f0a\u2f0e\u402bcir;\u6a23ir;\u6a22\u0100ou\u1d40\u2f02;\u6a25;\u6a72n\u80bb\xb1\u0e9dim;\u6a26wo;\u6a27\u0180ipu\u2f19\u2f20\u2f25ntint;\u6a15f;\uc000\u{1d561}nd\u803b\xa3\u40a3\u0500;Eaceinosu\u0ec8\u2f3f\u2f41\u2f44\u2f47\u2f81\u2f89\u2f92\u2f7e\u2fb6;\u6ab3p;\u6ab7u\xe5\u0ed9\u0100;c\u0ece\u2f4c\u0300;acens\u0ec8\u2f59\u2f5f\u2f66\u2f68\u2f7eppro\xf8\u2f43urlye\xf1\u0ed9\xf1\u0ece\u0180aes\u2f6f\u2f76\u2f7approx;\u6ab9qq;\u6ab5im;\u62e8i\xed\u0edfme\u0100;s\u2f88\u0eae\u6032\u0180Eas\u2f78\u2f90\u2f7a\xf0\u2f75\u0180dfp\u0eec\u2f99\u2faf\u0180als\u2fa0\u2fa5\u2faalar;\u632eine;\u6312urf;\u6313\u0100;t\u0efb\u2fb4\xef\u0efbrel;\u62b0\u0100ci\u2fc0\u2fc5r;\uc000\u{1d4c5};\u43c8ncsp;\u6008\u0300fiopsu\u2fda\u22e2\u2fdf\u2fe5\u2feb\u2ff1r;\uc000\u{1d52e}pf;\uc000\u{1d562}rime;\u6057cr;\uc000\u{1d4c6}\u0180aeo\u2ff8\u3009\u3013t\u0100ei\u2ffe\u3005rnion\xf3\u06b0nt;\u6a16st\u0100;e\u3010\u3011\u403f\xf1\u1f19\xf4\u0f14\u0a80ABHabcdefhilmnoprstux\u3040\u3051\u3055\u3059\u30e0\u310e\u312b\u3147\u3162\u3172\u318e\u3206\u3215\u3224\u3229\u3258\u326e\u3272\u3290\u32b0\u32b7\u0180art\u3047\u304a\u304cr\xf2\u10b3\xf2\u03ddail;\u691car\xf2\u1c65ar;\u6964\u0380cdenqrt\u3068\u3075\u3078\u307f\u308f\u3094\u30cc\u0100eu\u306d\u3071;\uc000\u223d\u0331te;\u4155i\xe3\u116emptyv;\u69b3g\u0200;del\u0fd1\u3089\u308b\u308d;\u6992;\u69a5\xe5\u0fd1uo\u803b\xbb\u40bbr\u0580;abcfhlpstw\u0fdc\u30ac\u30af\u30b7\u30b9\u30bc\u30be\u30c0\u30c3\u30c7\u30cap;\u6975\u0100;f\u0fe0\u30b4s;\u6920;\u6933s;\u691e\xeb\u225d\xf0\u272el;\u6945im;\u6974l;\u61a3;\u619d\u0100ai\u30d1\u30d5il;\u691ao\u0100;n\u30db\u30dc\u6236al\xf3\u0f1e\u0180abr\u30e7\u30ea\u30eer\xf2\u17e5rk;\u6773\u0100ak\u30f3\u30fdc\u0100ek\u30f9\u30fb;\u407d;\u405d\u0100es\u3102\u3104;\u698cl\u0100du\u310a\u310c;\u698e;\u6990\u0200aeuy\u3117\u311c\u3127\u3129ron;\u4159\u0100di\u3121\u3125il;\u4157\xec\u0ff2\xe2\u30fa;\u4440\u0200clqs\u3134\u3137\u313d\u3144a;\u6937dhar;\u6969uo\u0100;r\u020e\u020dh;\u61b3\u0180acg\u314e\u315f\u0f44l\u0200;ips\u0f78\u3158\u315b\u109cn\xe5\u10bbar\xf4\u0fa9t;\u65ad\u0180ilr\u3169\u1023\u316esht;\u697d;\uc000\u{1d52f}\u0100ao\u3177\u3186r\u0100du\u317d\u317f\xbb\u047b\u0100;l\u1091\u3184;\u696c\u0100;v\u318b\u318c\u43c1;\u43f1\u0180gns\u3195\u31f9\u31fcht\u0300ahlrst\u31a4\u31b0\u31c2\u31d8\u31e4\u31eerrow\u0100;t\u0fdc\u31ada\xe9\u30c8arpoon\u0100du\u31bb\u31bfow\xee\u317ep\xbb\u1092eft\u0100ah\u31ca\u31d0rrow\xf3\u0feaarpoon\xf3\u0551ightarrows;\u61c9quigarro\xf7\u30cbhreetimes;\u62ccg;\u42daingdotse\xf1\u1f32\u0180ahm\u320d\u3210\u3213r\xf2\u0feaa\xf2\u0551;\u600foust\u0100;a\u321e\u321f\u63b1che\xbb\u321fmid;\u6aee\u0200abpt\u3232\u323d\u3240\u3252\u0100nr\u3237\u323ag;\u67edr;\u61fer\xeb\u1003\u0180afl\u3247\u324a\u324er;\u6986;\uc000\u{1d563}us;\u6a2eimes;\u6a35\u0100ap\u325d\u3267r\u0100;g\u3263\u3264\u4029t;\u6994olint;\u6a12ar\xf2\u31e3\u0200achq\u327b\u3280\u10bc\u3285quo;\u603ar;\uc000\u{1d4c7}\u0100bu\u30fb\u328ao\u0100;r\u0214\u0213\u0180hir\u3297\u329b\u32a0re\xe5\u31f8mes;\u62cai\u0200;efl\u32aa\u1059\u1821\u32ab\u65b9tri;\u69celuhar;\u6968;\u611e\u0d61\u32d5\u32db\u32df\u332c\u3338\u3371\0\u337a\u33a4\0\0\u33ec\u33f0\0\u3428\u3448\u345a\u34ad\u34b1\u34ca\u34f1\0\u3616\0\0\u3633cute;\u415bqu\xef\u27ba\u0500;Eaceinpsy\u11ed\u32f3\u32f5\u32ff\u3302\u330b\u330f\u331f\u3326\u3329;\u6ab4\u01f0\u32fa\0\u32fc;\u6ab8on;\u4161u\xe5\u11fe\u0100;d\u11f3\u3307il;\u415frc;\u415d\u0180Eas\u3316\u3318\u331b;\u6ab6p;\u6abaim;\u62e9olint;\u6a13i\xed\u1204;\u4441ot\u0180;be\u3334\u1d47\u3335\u62c5;\u6a66\u0380Aacmstx\u3346\u334a\u3357\u335b\u335e\u3363\u336drr;\u61d8r\u0100hr\u3350\u3352\xeb\u2228\u0100;o\u0a36\u0a34t\u803b\xa7\u40a7i;\u403bwar;\u6929m\u0100in\u3369\xf0nu\xf3\xf1t;\u6736r\u0100;o\u3376\u2055\uc000\u{1d530}\u0200acoy\u3382\u3386\u3391\u33a0rp;\u666f\u0100hy\u338b\u338fcy;\u4449;\u4448rt\u026d\u3399\0\0\u339ci\xe4\u1464ara\xec\u2e6f\u803b\xad\u40ad\u0100gm\u33a8\u33b4ma\u0180;fv\u33b1\u33b2\u33b2\u43c3;\u43c2\u0400;deglnpr\u12ab\u33c5\u33c9\u33ce\u33d6\u33de\u33e1\u33e6ot;\u6a6a\u0100;q\u12b1\u12b0\u0100;E\u33d3\u33d4\u6a9e;\u6aa0\u0100;E\u33db\u33dc\u6a9d;\u6a9fe;\u6246lus;\u6a24arr;\u6972ar\xf2\u113d\u0200aeit\u33f8\u3408\u340f\u3417\u0100ls\u33fd\u3404lsetm\xe9\u336ahp;\u6a33parsl;\u69e4\u0100dl\u1463\u3414e;\u6323\u0100;e\u341c\u341d\u6aaa\u0100;s\u3422\u3423\u6aac;\uc000\u2aac\ufe00\u0180flp\u342e\u3433\u3442tcy;\u444c\u0100;b\u3438\u3439\u402f\u0100;a\u343e\u343f\u69c4r;\u633ff;\uc000\u{1d564}a\u0100dr\u344d\u0402es\u0100;u\u3454\u3455\u6660it\xbb\u3455\u0180csu\u3460\u3479\u349f\u0100au\u3465\u346fp\u0100;s\u1188\u346b;\uc000\u2293\ufe00p\u0100;s\u11b4\u3475;\uc000\u2294\ufe00u\u0100bp\u347f\u348f\u0180;es\u1197\u119c\u3486et\u0100;e\u1197\u348d\xf1\u119d\u0180;es\u11a8\u11ad\u3496et\u0100;e\u11a8\u349d\xf1\u11ae\u0180;af\u117b\u34a6\u05b0r\u0165\u34ab\u05b1\xbb\u117car\xf2\u1148\u0200cemt\u34b9\u34be\u34c2\u34c5r;\uc000\u{1d4c8}tm\xee\xf1i\xec\u3415ar\xe6\u11be\u0100ar\u34ce\u34d5r\u0100;f\u34d4\u17bf\u6606\u0100an\u34da\u34edight\u0100ep\u34e3\u34eapsilo\xee\u1ee0h\xe9\u2eafs\xbb\u2852\u0280bcmnp\u34fb\u355e\u1209\u358b\u358e\u0480;Edemnprs\u350e\u350f\u3511\u3515\u351e\u3523\u352c\u3531\u3536\u6282;\u6ac5ot;\u6abd\u0100;d\u11da\u351aot;\u6ac3ult;\u6ac1\u0100Ee\u3528\u352a;\u6acb;\u628alus;\u6abfarr;\u6979\u0180eiu\u353d\u3552\u3555t\u0180;en\u350e\u3545\u354bq\u0100;q\u11da\u350feq\u0100;q\u352b\u3528m;\u6ac7\u0100bp\u355a\u355c;\u6ad5;\u6ad3c\u0300;acens\u11ed\u356c\u3572\u3579\u357b\u3326ppro\xf8\u32faurlye\xf1\u11fe\xf1\u11f3\u0180aes\u3582\u3588\u331bppro\xf8\u331aq\xf1\u3317g;\u666a\u0680123;Edehlmnps\u35a9\u35ac\u35af\u121c\u35b2\u35b4\u35c0\u35c9\u35d5\u35da\u35df\u35e8\u35ed\u803b\xb9\u40b9\u803b\xb2\u40b2\u803b\xb3\u40b3;\u6ac6\u0100os\u35b9\u35bct;\u6abeub;\u6ad8\u0100;d\u1222\u35c5ot;\u6ac4s\u0100ou\u35cf\u35d2l;\u67c9b;\u6ad7arr;\u697bult;\u6ac2\u0100Ee\u35e4\u35e6;\u6acc;\u628blus;\u6ac0\u0180eiu\u35f4\u3609\u360ct\u0180;en\u121c\u35fc\u3602q\u0100;q\u1222\u35b2eq\u0100;q\u35e7\u35e4m;\u6ac8\u0100bp\u3611\u3613;\u6ad4;\u6ad6\u0180Aan\u361c\u3620\u362drr;\u61d9r\u0100hr\u3626\u3628\xeb\u222e\u0100;o\u0a2b\u0a29war;\u692alig\u803b\xdf\u40df\u0be1\u3651\u365d\u3660\u12ce\u3673\u3679\0\u367e\u36c2\0\0\0\0\0\u36db\u3703\0\u3709\u376c\0\0\0\u3787\u0272\u3656\0\0\u365bget;\u6316;\u43c4r\xeb\u0e5f\u0180aey\u3666\u366b\u3670ron;\u4165dil;\u4163;\u4442lrec;\u6315r;\uc000\u{1d531}\u0200eiko\u3686\u369d\u36b5\u36bc\u01f2\u368b\0\u3691e\u01004f\u1284\u1281a\u0180;sv\u3698\u3699\u369b\u43b8ym;\u43d1\u0100cn\u36a2\u36b2k\u0100as\u36a8\u36aeppro\xf8\u12c1im\xbb\u12acs\xf0\u129e\u0100as\u36ba\u36ae\xf0\u12c1rn\u803b\xfe\u40fe\u01ec\u031f\u36c6\u22e7es\u8180\xd7;bd\u36cf\u36d0\u36d8\u40d7\u0100;a\u190f\u36d5r;\u6a31;\u6a30\u0180eps\u36e1\u36e3\u3700\xe1\u2a4d\u0200;bcf\u0486\u36ec\u36f0\u36f4ot;\u6336ir;\u6af1\u0100;o\u36f9\u36fc\uc000\u{1d565}rk;\u6ada\xe1\u3362rime;\u6034\u0180aip\u370f\u3712\u3764d\xe5\u1248\u0380adempst\u3721\u374d\u3740\u3751\u3757\u375c\u375fngle\u0280;dlqr\u3730\u3731\u3736\u3740\u3742\u65b5own\xbb\u1dbbeft\u0100;e\u2800\u373e\xf1\u092e;\u625cight\u0100;e\u32aa\u374b\xf1\u105aot;\u65ecinus;\u6a3alus;\u6a39b;\u69cdime;\u6a3bezium;\u63e2\u0180cht\u3772\u377d\u3781\u0100ry\u3777\u377b;\uc000\u{1d4c9};\u4446cy;\u445brok;\u4167\u0100io\u378b\u378ex\xf4\u1777head\u0100lr\u3797\u37a0eftarro\xf7\u084fightarrow\xbb\u0f5d\u0900AHabcdfghlmoprstuw\u37d0\u37d3\u37d7\u37e4\u37f0\u37fc\u380e\u381c\u3823\u3834\u3851\u385d\u386b\u38a9\u38cc\u38d2\u38ea\u38f6r\xf2\u03edar;\u6963\u0100cr\u37dc\u37e2ute\u803b\xfa\u40fa\xf2\u1150r\u01e3\u37ea\0\u37edy;\u445eve;\u416d\u0100iy\u37f5\u37farc\u803b\xfb\u40fb;\u4443\u0180abh\u3803\u3806\u380br\xf2\u13adlac;\u4171a\xf2\u13c3\u0100ir\u3813\u3818sht;\u697e;\uc000\u{1d532}rave\u803b\xf9\u40f9\u0161\u3827\u3831r\u0100lr\u382c\u382e\xbb\u0957\xbb\u1083lk;\u6580\u0100ct\u3839\u384d\u026f\u383f\0\0\u384arn\u0100;e\u3845\u3846\u631cr\xbb\u3846op;\u630fri;\u65f8\u0100al\u3856\u385acr;\u416b\u80bb\xa8\u0349\u0100gp\u3862\u3866on;\u4173f;\uc000\u{1d566}\u0300adhlsu\u114b\u3878\u387d\u1372\u3891\u38a0own\xe1\u13b3arpoon\u0100lr\u3888\u388cef\xf4\u382digh\xf4\u382fi\u0180;hl\u3899\u389a\u389c\u43c5\xbb\u13faon\xbb\u389aparrows;\u61c8\u0180cit\u38b0\u38c4\u38c8\u026f\u38b6\0\0\u38c1rn\u0100;e\u38bc\u38bd\u631dr\xbb\u38bdop;\u630eng;\u416fri;\u65f9cr;\uc000\u{1d4ca}\u0180dir\u38d9\u38dd\u38e2ot;\u62f0lde;\u4169i\u0100;f\u3730\u38e8\xbb\u1813\u0100am\u38ef\u38f2r\xf2\u38a8l\u803b\xfc\u40fcangle;\u69a7\u0780ABDacdeflnoprsz\u391c\u391f\u3929\u392d\u39b5\u39b8\u39bd\u39df\u39e4\u39e8\u39f3\u39f9\u39fd\u3a01\u3a20r\xf2\u03f7ar\u0100;v\u3926\u3927\u6ae8;\u6ae9as\xe8\u03e1\u0100nr\u3932\u3937grt;\u699c\u0380eknprst\u34e3\u3946\u394b\u3952\u395d\u3964\u3996app\xe1\u2415othin\xe7\u1e96\u0180hir\u34eb\u2ec8\u3959op\xf4\u2fb5\u0100;h\u13b7\u3962\xef\u318d\u0100iu\u3969\u396dgm\xe1\u33b3\u0100bp\u3972\u3984setneq\u0100;q\u397d\u3980\uc000\u228a\ufe00;\uc000\u2acb\ufe00setneq\u0100;q\u398f\u3992\uc000\u228b\ufe00;\uc000\u2acc\ufe00\u0100hr\u399b\u399fet\xe1\u369ciangle\u0100lr\u39aa\u39afeft\xbb\u0925ight\xbb\u1051y;\u4432ash\xbb\u1036\u0180elr\u39c4\u39d2\u39d7\u0180;be\u2dea\u39cb\u39cfar;\u62bbq;\u625alip;\u62ee\u0100bt\u39dc\u1468a\xf2\u1469r;\uc000\u{1d533}tr\xe9\u39aesu\u0100bp\u39ef\u39f1\xbb\u0d1c\xbb\u0d59pf;\uc000\u{1d567}ro\xf0\u0efbtr\xe9\u39b4\u0100cu\u3a06\u3a0br;\uc000\u{1d4cb}\u0100bp\u3a10\u3a18n\u0100Ee\u3980\u3a16\xbb\u397en\u0100Ee\u3992\u3a1e\xbb\u3990igzag;\u699a\u0380cefoprs\u3a36\u3a3b\u3a56\u3a5b\u3a54\u3a61\u3a6airc;\u4175\u0100di\u3a40\u3a51\u0100bg\u3a45\u3a49ar;\u6a5fe\u0100;q\u15fa\u3a4f;\u6259erp;\u6118r;\uc000\u{1d534}pf;\uc000\u{1d568}\u0100;e\u1479\u3a66at\xe8\u1479cr;\uc000\u{1d4cc}\u0ae3\u178e\u3a87\0\u3a8b\0\u3a90\u3a9b\0\0\u3a9d\u3aa8\u3aab\u3aaf\0\0\u3ac3\u3ace\0\u3ad8\u17dc\u17dftr\xe9\u17d1r;\uc000\u{1d535}\u0100Aa\u3a94\u3a97r\xf2\u03c3r\xf2\u09f6;\u43be\u0100Aa\u3aa1\u3aa4r\xf2\u03b8r\xf2\u09eba\xf0\u2713is;\u62fb\u0180dpt\u17a4\u3ab5\u3abe\u0100fl\u3aba\u17a9;\uc000\u{1d569}im\xe5\u17b2\u0100Aa\u3ac7\u3acar\xf2\u03cer\xf2\u0a01\u0100cq\u3ad2\u17b8r;\uc000\u{1d4cd}\u0100pt\u17d6\u3adcr\xe9\u17d4\u0400acefiosu\u3af0\u3afd\u3b08\u3b0c\u3b11\u3b15\u3b1b\u3b21c\u0100uy\u3af6\u3afbte\u803b\xfd\u40fd;\u444f\u0100iy\u3b02\u3b06rc;\u4177;\u444bn\u803b\xa5\u40a5r;\uc000\u{1d536}cy;\u4457pf;\uc000\u{1d56a}cr;\uc000\u{1d4ce}\u0100cm\u3b26\u3b29y;\u444el\u803b\xff\u40ff\u0500acdefhiosw\u3b42\u3b48\u3b54\u3b58\u3b64\u3b69\u3b6d\u3b74\u3b7a\u3b80cute;\u417a\u0100ay\u3b4d\u3b52ron;\u417e;\u4437ot;\u417c\u0100et\u3b5d\u3b61tr\xe6\u155fa;\u43b6r;\uc000\u{1d537}cy;\u4436grarr;\u61ddpf;\uc000\u{1d56b}cr;\uc000\u{1d4cf}\u0100jn\u3b85\u3b87;\u600dj;\u600c'.split("").map(e=>e.charCodeAt(0))),Fre=new Uint16Array("\u0200aglq\t\x15\x18\x1b\u026d\x0f\0\0\x12p;\u4026os;\u4027t;\u403et;\u403cuot;\u4022".split("").map(e=>e.charCodeAt(0)));var Iv;const Rre=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),fz=null!==(Iv=String.fromCodePoint)&&void 0!==Iv?Iv:function(e){let n="";return e>65535&&(e-=65536,n+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),n+=String.fromCharCode(e),n};var va=function(e){return e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z",e}(va||{}),j1=function(e){return e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE",e}(j1||{});function zv(e){return e>=va.ZERO&&e<=va.NINE}function Vre(e){return e>=va.UPPER_A&&e<=va.UPPER_F||e>=va.LOWER_A&&e<=va.LOWER_F}function Ure(e){return e===va.EQUALS||function Bre(e){return e>=va.UPPER_A&&e<=va.UPPER_Z||e>=va.LOWER_A&&e<=va.LOWER_Z||zv(e)}(e)}var _a=function(e){return e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity",e}(_a||{}),rc=function(e){return e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute",e}(rc||{});class qre{constructor(n,t,i){this.decodeTree=n,this.emitCodePoint=t,this.errors=i,this.state=_a.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=rc.Strict}startEntity(n){this.decodeMode=n,this.state=_a.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(n,t){switch(this.state){case _a.EntityStart:return n.charCodeAt(t)===va.NUM?(this.state=_a.NumericStart,this.consumed+=1,this.stateNumericStart(n,t+1)):(this.state=_a.NamedEntity,this.stateNamedEntity(n,t));case _a.NumericStart:return this.stateNumericStart(n,t);case _a.NumericDecimal:return this.stateNumericDecimal(n,t);case _a.NumericHex:return this.stateNumericHex(n,t);case _a.NamedEntity:return this.stateNamedEntity(n,t)}}stateNumericStart(n,t){return t>=n.length?-1:(32|n.charCodeAt(t))===va.LOWER_X?(this.state=_a.NumericHex,this.consumed+=1,this.stateNumericHex(n,t+1)):(this.state=_a.NumericDecimal,this.stateNumericDecimal(n,t))}addToNumericResult(n,t,i,r){if(t!==i){const o=i-t;this.result=this.result*Math.pow(r,o)+parseInt(n.substr(t,o),r),this.consumed+=o}}stateNumericHex(n,t){const i=t;for(;t<n.length;){const r=n.charCodeAt(t);if(!zv(r)&&!Vre(r))return this.addToNumericResult(n,i,t,16),this.emitNumericEntity(r,3);t+=1}return this.addToNumericResult(n,i,t,16),-1}stateNumericDecimal(n,t){const i=t;for(;t<n.length;){const r=n.charCodeAt(t);if(!zv(r))return this.addToNumericResult(n,i,t,10),this.emitNumericEntity(r,2);t+=1}return this.addToNumericResult(n,i,t,10),-1}emitNumericEntity(n,t){var i;if(this.consumed<=t)return null===(i=this.errors)||void 0===i||i.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(n===va.SEMI)this.consumed+=1;else if(this.decodeMode===rc.Strict)return 0;return this.emitCodePoint(function pz(e){var n;return e>=55296&&e<=57343||e>1114111?65533:null!==(n=Rre.get(e))&&void 0!==n?n:e}(this.result),this.consumed),this.errors&&(n!==va.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(n,t){const{decodeTree:i}=this;let r=i[this.treeIndex],o=(r&j1.VALUE_LENGTH)>>14;for(;t<n.length;t++,this.excess++){const a=n.charCodeAt(t);if(this.treeIndex=Yre(i,r,this.treeIndex+Math.max(1,o),a),this.treeIndex<0)return 0===this.result||this.decodeMode===rc.Attribute&&(0===o||Ure(a))?0:this.emitNotTerminatedNamedEntity();if(r=i[this.treeIndex],o=(r&j1.VALUE_LENGTH)>>14,0!==o){if(a===va.SEMI)return this.emitNamedEntityData(this.treeIndex,o,this.consumed+this.excess);this.decodeMode!==rc.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var n;const{result:t,decodeTree:i}=this;return this.emitNamedEntityData(t,(i[t]&j1.VALUE_LENGTH)>>14,this.consumed),null===(n=this.errors)||void 0===n||n.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(n,t,i){const{decodeTree:r}=this;return this.emitCodePoint(1===t?r[n]&~j1.VALUE_LENGTH:r[n+1],i),3===t&&this.emitCodePoint(r[n+2],i),i}end(){var n;switch(this.state){case _a.NamedEntity:return 0===this.result||this.decodeMode===rc.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity();case _a.NumericDecimal:return this.emitNumericEntity(0,2);case _a.NumericHex:return this.emitNumericEntity(0,3);case _a.NumericStart:return null===(n=this.errors)||void 0===n||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case _a.EntityStart:return 0}}}function mz(e){let n="";const t=new qre(e,i=>n+=fz(i));return function(r,o){let a=0,s=0;for(;(s=r.indexOf("&",s))>=0;){n+=r.slice(a,s),t.startEntity(o);const c=t.write(r,s+1);if(c<0){a=s+t.end();break}a=s+c,s=0===c?a+1:a}const l=n+r.slice(a);return n="",l}}function Yre(e,n,t,i){const r=(n&j1.BRANCH_LENGTH)>>7,o=n&j1.JUMP_TABLE;if(0===r)return 0!==o&&i===o?t:-1;if(o){const l=i-o;return l<0||l>=r?-1:e[t+l]-1}let a=t,s=a+r-1;for(;a<=s;){const l=a+s>>>1,c=e[l];if(c<i)a=l+1;else{if(!(c>i))return e[l+r];s=l-1}}return-1}const Av=mz(Nre);function gz(e,n=rc.Legacy){return Av(e,n)}function j6(e){for(let n=1;n<e.length;n++)e[n][0]+=e[n-1][0]+1;return e}mz(Fre),new Map(j6([[9,"&Tab;"],[0,"&NewLine;"],[22,"&excl;"],[0,"&quot;"],[0,"&num;"],[0,"&dollar;"],[0,"&percnt;"],[0,"&amp;"],[0,"&apos;"],[0,"&lpar;"],[0,"&rpar;"],[0,"&ast;"],[0,"&plus;"],[0,"&comma;"],[1,"&period;"],[0,"&sol;"],[10,"&colon;"],[0,"&semi;"],[0,{v:"&lt;",n:8402,o:"&nvlt;"}],[0,{v:"&equals;",n:8421,o:"&bne;"}],[0,{v:"&gt;",n:8402,o:"&nvgt;"}],[0,"&quest;"],[0,"&commat;"],[26,"&lbrack;"],[0,"&bsol;"],[0,"&rbrack;"],[0,"&Hat;"],[0,"&lowbar;"],[0,"&DiacriticalGrave;"],[5,{n:106,o:"&fjlig;"}],[20,"&lbrace;"],[0,"&verbar;"],[0,"&rbrace;"],[34,"&nbsp;"],[0,"&iexcl;"],[0,"&cent;"],[0,"&pound;"],[0,"&curren;"],[0,"&yen;"],[0,"&brvbar;"],[0,"&sect;"],[0,"&die;"],[0,"&copy;"],[0,"&ordf;"],[0,"&laquo;"],[0,"&not;"],[0,"&shy;"],[0,"&circledR;"],[0,"&macr;"],[0,"&deg;"],[0,"&PlusMinus;"],[0,"&sup2;"],[0,"&sup3;"],[0,"&acute;"],[0,"&micro;"],[0,"&para;"],[0,"&centerdot;"],[0,"&cedil;"],[0,"&sup1;"],[0,"&ordm;"],[0,"&raquo;"],[0,"&frac14;"],[0,"&frac12;"],[0,"&frac34;"],[0,"&iquest;"],[0,"&Agrave;"],[0,"&Aacute;"],[0,"&Acirc;"],[0,"&Atilde;"],[0,"&Auml;"],[0,"&angst;"],[0,"&AElig;"],[0,"&Ccedil;"],[0,"&Egrave;"],[0,"&Eacute;"],[0,"&Ecirc;"],[0,"&Euml;"],[0,"&Igrave;"],[0,"&Iacute;"],[0,"&Icirc;"],[0,"&Iuml;"],[0,"&ETH;"],[0,"&Ntilde;"],[0,"&Ograve;"],[0,"&Oacute;"],[0,"&Ocirc;"],[0,"&Otilde;"],[0,"&Ouml;"],[0,"&times;"],[0,"&Oslash;"],[0,"&Ugrave;"],[0,"&Uacute;"],[0,"&Ucirc;"],[0,"&Uuml;"],[0,"&Yacute;"],[0,"&THORN;"],[0,"&szlig;"],[0,"&agrave;"],[0,"&aacute;"],[0,"&acirc;"],[0,"&atilde;"],[0,"&auml;"],[0,"&aring;"],[0,"&aelig;"],[0,"&ccedil;"],[0,"&egrave;"],[0,"&eacute;"],[0,"&ecirc;"],[0,"&euml;"],[0,"&igrave;"],[0,"&iacute;"],[0,"&icirc;"],[0,"&iuml;"],[0,"&eth;"],[0,"&ntilde;"],[0,"&ograve;"],[0,"&oacute;"],[0,"&ocirc;"],[0,"&otilde;"],[0,"&ouml;"],[0,"&div;"],[0,"&oslash;"],[0,"&ugrave;"],[0,"&uacute;"],[0,"&ucirc;"],[0,"&uuml;"],[0,"&yacute;"],[0,"&thorn;"],[0,"&yuml;"],[0,"&Amacr;"],[0,"&amacr;"],[0,"&Abreve;"],[0,"&abreve;"],[0,"&Aogon;"],[0,"&aogon;"],[0,"&Cacute;"],[0,"&cacute;"],[0,"&Ccirc;"],[0,"&ccirc;"],[0,"&Cdot;"],[0,"&cdot;"],[0,"&Ccaron;"],[0,"&ccaron;"],[0,"&Dcaron;"],[0,"&dcaron;"],[0,"&Dstrok;"],[0,"&dstrok;"],[0,"&Emacr;"],[0,"&emacr;"],[2,"&Edot;"],[0,"&edot;"],[0,"&Eogon;"],[0,"&eogon;"],[0,"&Ecaron;"],[0,"&ecaron;"],[0,"&Gcirc;"],[0,"&gcirc;"],[0,"&Gbreve;"],[0,"&gbreve;"],[0,"&Gdot;"],[0,"&gdot;"],[0,"&Gcedil;"],[1,"&Hcirc;"],[0,"&hcirc;"],[0,"&Hstrok;"],[0,"&hstrok;"],[0,"&Itilde;"],[0,"&itilde;"],[0,"&Imacr;"],[0,"&imacr;"],[2,"&Iogon;"],[0,"&iogon;"],[0,"&Idot;"],[0,"&imath;"],[0,"&IJlig;"],[0,"&ijlig;"],[0,"&Jcirc;"],[0,"&jcirc;"],[0,"&Kcedil;"],[0,"&kcedil;"],[0,"&kgreen;"],[0,"&Lacute;"],[0,"&lacute;"],[0,"&Lcedil;"],[0,"&lcedil;"],[0,"&Lcaron;"],[0,"&lcaron;"],[0,"&Lmidot;"],[0,"&lmidot;"],[0,"&Lstrok;"],[0,"&lstrok;"],[0,"&Nacute;"],[0,"&nacute;"],[0,"&Ncedil;"],[0,"&ncedil;"],[0,"&Ncaron;"],[0,"&ncaron;"],[0,"&napos;"],[0,"&ENG;"],[0,"&eng;"],[0,"&Omacr;"],[0,"&omacr;"],[2,"&Odblac;"],[0,"&odblac;"],[0,"&OElig;"],[0,"&oelig;"],[0,"&Racute;"],[0,"&racute;"],[0,"&Rcedil;"],[0,"&rcedil;"],[0,"&Rcaron;"],[0,"&rcaron;"],[0,"&Sacute;"],[0,"&sacute;"],[0,"&Scirc;"],[0,"&scirc;"],[0,"&Scedil;"],[0,"&scedil;"],[0,"&Scaron;"],[0,"&scaron;"],[0,"&Tcedil;"],[0,"&tcedil;"],[0,"&Tcaron;"],[0,"&tcaron;"],[0,"&Tstrok;"],[0,"&tstrok;"],[0,"&Utilde;"],[0,"&utilde;"],[0,"&Umacr;"],[0,"&umacr;"],[0,"&Ubreve;"],[0,"&ubreve;"],[0,"&Uring;"],[0,"&uring;"],[0,"&Udblac;"],[0,"&udblac;"],[0,"&Uogon;"],[0,"&uogon;"],[0,"&Wcirc;"],[0,"&wcirc;"],[0,"&Ycirc;"],[0,"&ycirc;"],[0,"&Yuml;"],[0,"&Zacute;"],[0,"&zacute;"],[0,"&Zdot;"],[0,"&zdot;"],[0,"&Zcaron;"],[0,"&zcaron;"],[19,"&fnof;"],[34,"&imped;"],[63,"&gacute;"],[65,"&jmath;"],[142,"&circ;"],[0,"&caron;"],[16,"&breve;"],[0,"&DiacriticalDot;"],[0,"&ring;"],[0,"&ogon;"],[0,"&DiacriticalTilde;"],[0,"&dblac;"],[51,"&DownBreve;"],[127,"&Alpha;"],[0,"&Beta;"],[0,"&Gamma;"],[0,"&Delta;"],[0,"&Epsilon;"],[0,"&Zeta;"],[0,"&Eta;"],[0,"&Theta;"],[0,"&Iota;"],[0,"&Kappa;"],[0,"&Lambda;"],[0,"&Mu;"],[0,"&Nu;"],[0,"&Xi;"],[0,"&Omicron;"],[0,"&Pi;"],[0,"&Rho;"],[1,"&Sigma;"],[0,"&Tau;"],[0,"&Upsilon;"],[0,"&Phi;"],[0,"&Chi;"],[0,"&Psi;"],[0,"&ohm;"],[7,"&alpha;"],[0,"&beta;"],[0,"&gamma;"],[0,"&delta;"],[0,"&epsi;"],[0,"&zeta;"],[0,"&eta;"],[0,"&theta;"],[0,"&iota;"],[0,"&kappa;"],[0,"&lambda;"],[0,"&mu;"],[0,"&nu;"],[0,"&xi;"],[0,"&omicron;"],[0,"&pi;"],[0,"&rho;"],[0,"&sigmaf;"],[0,"&sigma;"],[0,"&tau;"],[0,"&upsi;"],[0,"&phi;"],[0,"&chi;"],[0,"&psi;"],[0,"&omega;"],[7,"&thetasym;"],[0,"&Upsi;"],[2,"&phiv;"],[0,"&piv;"],[5,"&Gammad;"],[0,"&digamma;"],[18,"&kappav;"],[0,"&rhov;"],[3,"&epsiv;"],[0,"&backepsilon;"],[10,"&IOcy;"],[0,"&DJcy;"],[0,"&GJcy;"],[0,"&Jukcy;"],[0,"&DScy;"],[0,"&Iukcy;"],[0,"&YIcy;"],[0,"&Jsercy;"],[0,"&LJcy;"],[0,"&NJcy;"],[0,"&TSHcy;"],[0,"&KJcy;"],[1,"&Ubrcy;"],[0,"&DZcy;"],[0,"&Acy;"],[0,"&Bcy;"],[0,"&Vcy;"],[0,"&Gcy;"],[0,"&Dcy;"],[0,"&IEcy;"],[0,"&ZHcy;"],[0,"&Zcy;"],[0,"&Icy;"],[0,"&Jcy;"],[0,"&Kcy;"],[0,"&Lcy;"],[0,"&Mcy;"],[0,"&Ncy;"],[0,"&Ocy;"],[0,"&Pcy;"],[0,"&Rcy;"],[0,"&Scy;"],[0,"&Tcy;"],[0,"&Ucy;"],[0,"&Fcy;"],[0,"&KHcy;"],[0,"&TScy;"],[0,"&CHcy;"],[0,"&SHcy;"],[0,"&SHCHcy;"],[0,"&HARDcy;"],[0,"&Ycy;"],[0,"&SOFTcy;"],[0,"&Ecy;"],[0,"&YUcy;"],[0,"&YAcy;"],[0,"&acy;"],[0,"&bcy;"],[0,"&vcy;"],[0,"&gcy;"],[0,"&dcy;"],[0,"&iecy;"],[0,"&zhcy;"],[0,"&zcy;"],[0,"&icy;"],[0,"&jcy;"],[0,"&kcy;"],[0,"&lcy;"],[0,"&mcy;"],[0,"&ncy;"],[0,"&ocy;"],[0,"&pcy;"],[0,"&rcy;"],[0,"&scy;"],[0,"&tcy;"],[0,"&ucy;"],[0,"&fcy;"],[0,"&khcy;"],[0,"&tscy;"],[0,"&chcy;"],[0,"&shcy;"],[0,"&shchcy;"],[0,"&hardcy;"],[0,"&ycy;"],[0,"&softcy;"],[0,"&ecy;"],[0,"&yucy;"],[0,"&yacy;"],[1,"&iocy;"],[0,"&djcy;"],[0,"&gjcy;"],[0,"&jukcy;"],[0,"&dscy;"],[0,"&iukcy;"],[0,"&yicy;"],[0,"&jsercy;"],[0,"&ljcy;"],[0,"&njcy;"],[0,"&tshcy;"],[0,"&kjcy;"],[1,"&ubrcy;"],[0,"&dzcy;"],[7074,"&ensp;"],[0,"&emsp;"],[0,"&emsp13;"],[0,"&emsp14;"],[1,"&numsp;"],[0,"&puncsp;"],[0,"&ThinSpace;"],[0,"&hairsp;"],[0,"&NegativeMediumSpace;"],[0,"&zwnj;"],[0,"&zwj;"],[0,"&lrm;"],[0,"&rlm;"],[0,"&dash;"],[2,"&ndash;"],[0,"&mdash;"],[0,"&horbar;"],[0,"&Verbar;"],[1,"&lsquo;"],[0,"&CloseCurlyQuote;"],[0,"&lsquor;"],[1,"&ldquo;"],[0,"&CloseCurlyDoubleQuote;"],[0,"&bdquo;"],[1,"&dagger;"],[0,"&Dagger;"],[0,"&bull;"],[2,"&nldr;"],[0,"&hellip;"],[9,"&permil;"],[0,"&pertenk;"],[0,"&prime;"],[0,"&Prime;"],[0,"&tprime;"],[0,"&backprime;"],[3,"&lsaquo;"],[0,"&rsaquo;"],[3,"&oline;"],[2,"&caret;"],[1,"&hybull;"],[0,"&frasl;"],[10,"&bsemi;"],[7,"&qprime;"],[7,{v:"&MediumSpace;",n:8202,o:"&ThickSpace;"}],[0,"&NoBreak;"],[0,"&af;"],[0,"&InvisibleTimes;"],[0,"&ic;"],[72,"&euro;"],[46,"&tdot;"],[0,"&DotDot;"],[37,"&complexes;"],[2,"&incare;"],[4,"&gscr;"],[0,"&hamilt;"],[0,"&Hfr;"],[0,"&Hopf;"],[0,"&planckh;"],[0,"&hbar;"],[0,"&imagline;"],[0,"&Ifr;"],[0,"&lagran;"],[0,"&ell;"],[1,"&naturals;"],[0,"&numero;"],[0,"&copysr;"],[0,"&weierp;"],[0,"&Popf;"],[0,"&Qopf;"],[0,"&realine;"],[0,"&real;"],[0,"&reals;"],[0,"&rx;"],[3,"&trade;"],[1,"&integers;"],[2,"&mho;"],[0,"&zeetrf;"],[0,"&iiota;"],[2,"&bernou;"],[0,"&Cayleys;"],[1,"&escr;"],[0,"&Escr;"],[0,"&Fouriertrf;"],[1,"&Mellintrf;"],[0,"&order;"],[0,"&alefsym;"],[0,"&beth;"],[0,"&gimel;"],[0,"&daleth;"],[12,"&CapitalDifferentialD;"],[0,"&dd;"],[0,"&ee;"],[0,"&ii;"],[10,"&frac13;"],[0,"&frac23;"],[0,"&frac15;"],[0,"&frac25;"],[0,"&frac35;"],[0,"&frac45;"],[0,"&frac16;"],[0,"&frac56;"],[0,"&frac18;"],[0,"&frac38;"],[0,"&frac58;"],[0,"&frac78;"],[49,"&larr;"],[0,"&ShortUpArrow;"],[0,"&rarr;"],[0,"&darr;"],[0,"&harr;"],[0,"&updownarrow;"],[0,"&nwarr;"],[0,"&nearr;"],[0,"&LowerRightArrow;"],[0,"&LowerLeftArrow;"],[0,"&nlarr;"],[0,"&nrarr;"],[1,{v:"&rarrw;",n:824,o:"&nrarrw;"}],[0,"&Larr;"],[0,"&Uarr;"],[0,"&Rarr;"],[0,"&Darr;"],[0,"&larrtl;"],[0,"&rarrtl;"],[0,"&LeftTeeArrow;"],[0,"&mapstoup;"],[0,"&map;"],[0,"&DownTeeArrow;"],[1,"&hookleftarrow;"],[0,"&hookrightarrow;"],[0,"&larrlp;"],[0,"&looparrowright;"],[0,"&harrw;"],[0,"&nharr;"],[1,"&lsh;"],[0,"&rsh;"],[0,"&ldsh;"],[0,"&rdsh;"],[1,"&crarr;"],[0,"&cularr;"],[0,"&curarr;"],[2,"&circlearrowleft;"],[0,"&circlearrowright;"],[0,"&leftharpoonup;"],[0,"&DownLeftVector;"],[0,"&RightUpVector;"],[0,"&LeftUpVector;"],[0,"&rharu;"],[0,"&DownRightVector;"],[0,"&dharr;"],[0,"&dharl;"],[0,"&RightArrowLeftArrow;"],[0,"&udarr;"],[0,"&LeftArrowRightArrow;"],[0,"&leftleftarrows;"],[0,"&upuparrows;"],[0,"&rightrightarrows;"],[0,"&ddarr;"],[0,"&leftrightharpoons;"],[0,"&Equilibrium;"],[0,"&nlArr;"],[0,"&nhArr;"],[0,"&nrArr;"],[0,"&DoubleLeftArrow;"],[0,"&DoubleUpArrow;"],[0,"&DoubleRightArrow;"],[0,"&dArr;"],[0,"&DoubleLeftRightArrow;"],[0,"&DoubleUpDownArrow;"],[0,"&nwArr;"],[0,"&neArr;"],[0,"&seArr;"],[0,"&swArr;"],[0,"&lAarr;"],[0,"&rAarr;"],[1,"&zigrarr;"],[6,"&larrb;"],[0,"&rarrb;"],[15,"&DownArrowUpArrow;"],[7,"&loarr;"],[0,"&roarr;"],[0,"&hoarr;"],[0,"&forall;"],[0,"&comp;"],[0,{v:"&part;",n:824,o:"&npart;"}],[0,"&exist;"],[0,"&nexist;"],[0,"&empty;"],[1,"&Del;"],[0,"&Element;"],[0,"&NotElement;"],[1,"&ni;"],[0,"&notni;"],[2,"&prod;"],[0,"&coprod;"],[0,"&sum;"],[0,"&minus;"],[0,"&MinusPlus;"],[0,"&dotplus;"],[1,"&Backslash;"],[0,"&lowast;"],[0,"&compfn;"],[1,"&radic;"],[2,"&prop;"],[0,"&infin;"],[0,"&angrt;"],[0,{v:"&ang;",n:8402,o:"&nang;"}],[0,"&angmsd;"],[0,"&angsph;"],[0,"&mid;"],[0,"&nmid;"],[0,"&DoubleVerticalBar;"],[0,"&NotDoubleVerticalBar;"],[0,"&and;"],[0,"&or;"],[0,{v:"&cap;",n:65024,o:"&caps;"}],[0,{v:"&cup;",n:65024,o:"&cups;"}],[0,"&int;"],[0,"&Int;"],[0,"&iiint;"],[0,"&conint;"],[0,"&Conint;"],[0,"&Cconint;"],[0,"&cwint;"],[0,"&ClockwiseContourIntegral;"],[0,"&awconint;"],[0,"&there4;"],[0,"&becaus;"],[0,"&ratio;"],[0,"&Colon;"],[0,"&dotminus;"],[1,"&mDDot;"],[0,"&homtht;"],[0,{v:"&sim;",n:8402,o:"&nvsim;"}],[0,{v:"&backsim;",n:817,o:"&race;"}],[0,{v:"&ac;",n:819,o:"&acE;"}],[0,"&acd;"],[0,"&VerticalTilde;"],[0,"&NotTilde;"],[0,{v:"&eqsim;",n:824,o:"&nesim;"}],[0,"&sime;"],[0,"&NotTildeEqual;"],[0,"&cong;"],[0,"&simne;"],[0,"&ncong;"],[0,"&ap;"],[0,"&nap;"],[0,"&ape;"],[0,{v:"&apid;",n:824,o:"&napid;"}],[0,"&backcong;"],[0,{v:"&asympeq;",n:8402,o:"&nvap;"}],[0,{v:"&bump;",n:824,o:"&nbump;"}],[0,{v:"&bumpe;",n:824,o:"&nbumpe;"}],[0,{v:"&doteq;",n:824,o:"&nedot;"}],[0,"&doteqdot;"],[0,"&efDot;"],[0,"&erDot;"],[0,"&Assign;"],[0,"&ecolon;"],[0,"&ecir;"],[0,"&circeq;"],[1,"&wedgeq;"],[0,"&veeeq;"],[1,"&triangleq;"],[2,"&equest;"],[0,"&ne;"],[0,{v:"&Congruent;",n:8421,o:"&bnequiv;"}],[0,"&nequiv;"],[1,{v:"&le;",n:8402,o:"&nvle;"}],[0,{v:"&ge;",n:8402,o:"&nvge;"}],[0,{v:"&lE;",n:824,o:"&nlE;"}],[0,{v:"&gE;",n:824,o:"&ngE;"}],[0,{v:"&lnE;",n:65024,o:"&lvertneqq;"}],[0,{v:"&gnE;",n:65024,o:"&gvertneqq;"}],[0,{v:"&ll;",n:new Map(j6([[824,"&nLtv;"],[7577,"&nLt;"]]))}],[0,{v:"&gg;",n:new Map(j6([[824,"&nGtv;"],[7577,"&nGt;"]]))}],[0,"&between;"],[0,"&NotCupCap;"],[0,"&nless;"],[0,"&ngt;"],[0,"&nle;"],[0,"&nge;"],[0,"&lesssim;"],[0,"&GreaterTilde;"],[0,"&nlsim;"],[0,"&ngsim;"],[0,"&LessGreater;"],[0,"&gl;"],[0,"&NotLessGreater;"],[0,"&NotGreaterLess;"],[0,"&pr;"],[0,"&sc;"],[0,"&prcue;"],[0,"&sccue;"],[0,"&PrecedesTilde;"],[0,{v:"&scsim;",n:824,o:"&NotSucceedsTilde;"}],[0,"&NotPrecedes;"],[0,"&NotSucceeds;"],[0,{v:"&sub;",n:8402,o:"&NotSubset;"}],[0,{v:"&sup;",n:8402,o:"&NotSuperset;"}],[0,"&nsub;"],[0,"&nsup;"],[0,"&sube;"],[0,"&supe;"],[0,"&NotSubsetEqual;"],[0,"&NotSupersetEqual;"],[0,{v:"&subne;",n:65024,o:"&varsubsetneq;"}],[0,{v:"&supne;",n:65024,o:"&varsupsetneq;"}],[1,"&cupdot;"],[0,"&UnionPlus;"],[0,{v:"&sqsub;",n:824,o:"&NotSquareSubset;"}],[0,{v:"&sqsup;",n:824,o:"&NotSquareSuperset;"}],[0,"&sqsube;"],[0,"&sqsupe;"],[0,{v:"&sqcap;",n:65024,o:"&sqcaps;"}],[0,{v:"&sqcup;",n:65024,o:"&sqcups;"}],[0,"&CirclePlus;"],[0,"&CircleMinus;"],[0,"&CircleTimes;"],[0,"&osol;"],[0,"&CircleDot;"],[0,"&circledcirc;"],[0,"&circledast;"],[1,"&circleddash;"],[0,"&boxplus;"],[0,"&boxminus;"],[0,"&boxtimes;"],[0,"&dotsquare;"],[0,"&RightTee;"],[0,"&dashv;"],[0,"&DownTee;"],[0,"&bot;"],[1,"&models;"],[0,"&DoubleRightTee;"],[0,"&Vdash;"],[0,"&Vvdash;"],[0,"&VDash;"],[0,"&nvdash;"],[0,"&nvDash;"],[0,"&nVdash;"],[0,"&nVDash;"],[0,"&prurel;"],[1,"&LeftTriangle;"],[0,"&RightTriangle;"],[0,{v:"&LeftTriangleEqual;",n:8402,o:"&nvltrie;"}],[0,{v:"&RightTriangleEqual;",n:8402,o:"&nvrtrie;"}],[0,"&origof;"],[0,"&imof;"],[0,"&multimap;"],[0,"&hercon;"],[0,"&intcal;"],[0,"&veebar;"],[1,"&barvee;"],[0,"&angrtvb;"],[0,"&lrtri;"],[0,"&bigwedge;"],[0,"&bigvee;"],[0,"&bigcap;"],[0,"&bigcup;"],[0,"&diam;"],[0,"&sdot;"],[0,"&sstarf;"],[0,"&divideontimes;"],[0,"&bowtie;"],[0,"&ltimes;"],[0,"&rtimes;"],[0,"&leftthreetimes;"],[0,"&rightthreetimes;"],[0,"&backsimeq;"],[0,"&curlyvee;"],[0,"&curlywedge;"],[0,"&Sub;"],[0,"&Sup;"],[0,"&Cap;"],[0,"&Cup;"],[0,"&fork;"],[0,"&epar;"],[0,"&lessdot;"],[0,"&gtdot;"],[0,{v:"&Ll;",n:824,o:"&nLl;"}],[0,{v:"&Gg;",n:824,o:"&nGg;"}],[0,{v:"&leg;",n:65024,o:"&lesg;"}],[0,{v:"&gel;",n:65024,o:"&gesl;"}],[2,"&cuepr;"],[0,"&cuesc;"],[0,"&NotPrecedesSlantEqual;"],[0,"&NotSucceedsSlantEqual;"],[0,"&NotSquareSubsetEqual;"],[0,"&NotSquareSupersetEqual;"],[2,"&lnsim;"],[0,"&gnsim;"],[0,"&precnsim;"],[0,"&scnsim;"],[0,"&nltri;"],[0,"&NotRightTriangle;"],[0,"&nltrie;"],[0,"&NotRightTriangleEqual;"],[0,"&vellip;"],[0,"&ctdot;"],[0,"&utdot;"],[0,"&dtdot;"],[0,"&disin;"],[0,"&isinsv;"],[0,"&isins;"],[0,{v:"&isindot;",n:824,o:"&notindot;"}],[0,"&notinvc;"],[0,"&notinvb;"],[1,{v:"&isinE;",n:824,o:"&notinE;"}],[0,"&nisd;"],[0,"&xnis;"],[0,"&nis;"],[0,"&notnivc;"],[0,"&notnivb;"],[6,"&barwed;"],[0,"&Barwed;"],[1,"&lceil;"],[0,"&rceil;"],[0,"&LeftFloor;"],[0,"&rfloor;"],[0,"&drcrop;"],[0,"&dlcrop;"],[0,"&urcrop;"],[0,"&ulcrop;"],[0,"&bnot;"],[1,"&profline;"],[0,"&profsurf;"],[1,"&telrec;"],[0,"&target;"],[5,"&ulcorn;"],[0,"&urcorn;"],[0,"&dlcorn;"],[0,"&drcorn;"],[2,"&frown;"],[0,"&smile;"],[9,"&cylcty;"],[0,"&profalar;"],[7,"&topbot;"],[6,"&ovbar;"],[1,"&solbar;"],[60,"&angzarr;"],[51,"&lmoustache;"],[0,"&rmoustache;"],[2,"&OverBracket;"],[0,"&bbrk;"],[0,"&bbrktbrk;"],[37,"&OverParenthesis;"],[0,"&UnderParenthesis;"],[0,"&OverBrace;"],[0,"&UnderBrace;"],[2,"&trpezium;"],[4,"&elinters;"],[59,"&blank;"],[164,"&circledS;"],[55,"&boxh;"],[1,"&boxv;"],[9,"&boxdr;"],[3,"&boxdl;"],[3,"&boxur;"],[3,"&boxul;"],[3,"&boxvr;"],[7,"&boxvl;"],[7,"&boxhd;"],[7,"&boxhu;"],[7,"&boxvh;"],[19,"&boxH;"],[0,"&boxV;"],[0,"&boxdR;"],[0,"&boxDr;"],[0,"&boxDR;"],[0,"&boxdL;"],[0,"&boxDl;"],[0,"&boxDL;"],[0,"&boxuR;"],[0,"&boxUr;"],[0,"&boxUR;"],[0,"&boxuL;"],[0,"&boxUl;"],[0,"&boxUL;"],[0,"&boxvR;"],[0,"&boxVr;"],[0,"&boxVR;"],[0,"&boxvL;"],[0,"&boxVl;"],[0,"&boxVL;"],[0,"&boxHd;"],[0,"&boxhD;"],[0,"&boxHD;"],[0,"&boxHu;"],[0,"&boxhU;"],[0,"&boxHU;"],[0,"&boxvH;"],[0,"&boxVh;"],[0,"&boxVH;"],[19,"&uhblk;"],[3,"&lhblk;"],[3,"&block;"],[8,"&blk14;"],[0,"&blk12;"],[0,"&blk34;"],[13,"&square;"],[8,"&blacksquare;"],[0,"&EmptyVerySmallSquare;"],[1,"&rect;"],[0,"&marker;"],[2,"&fltns;"],[1,"&bigtriangleup;"],[0,"&blacktriangle;"],[0,"&triangle;"],[2,"&blacktriangleright;"],[0,"&rtri;"],[3,"&bigtriangledown;"],[0,"&blacktriangledown;"],[0,"&dtri;"],[2,"&blacktriangleleft;"],[0,"&ltri;"],[6,"&loz;"],[0,"&cir;"],[32,"&tridot;"],[2,"&bigcirc;"],[8,"&ultri;"],[0,"&urtri;"],[0,"&lltri;"],[0,"&EmptySmallSquare;"],[0,"&FilledSmallSquare;"],[8,"&bigstar;"],[0,"&star;"],[7,"&phone;"],[49,"&female;"],[1,"&male;"],[29,"&spades;"],[2,"&clubs;"],[1,"&hearts;"],[0,"&diamondsuit;"],[3,"&sung;"],[2,"&flat;"],[0,"&natural;"],[0,"&sharp;"],[163,"&check;"],[3,"&cross;"],[8,"&malt;"],[21,"&sext;"],[33,"&VerticalSeparator;"],[25,"&lbbrk;"],[0,"&rbbrk;"],[84,"&bsolhsub;"],[0,"&suphsol;"],[28,"&LeftDoubleBracket;"],[0,"&RightDoubleBracket;"],[0,"&lang;"],[0,"&rang;"],[0,"&Lang;"],[0,"&Rang;"],[0,"&loang;"],[0,"&roang;"],[7,"&longleftarrow;"],[0,"&longrightarrow;"],[0,"&longleftrightarrow;"],[0,"&DoubleLongLeftArrow;"],[0,"&DoubleLongRightArrow;"],[0,"&DoubleLongLeftRightArrow;"],[1,"&longmapsto;"],[2,"&dzigrarr;"],[258,"&nvlArr;"],[0,"&nvrArr;"],[0,"&nvHarr;"],[0,"&Map;"],[6,"&lbarr;"],[0,"&bkarow;"],[0,"&lBarr;"],[0,"&dbkarow;"],[0,"&drbkarow;"],[0,"&DDotrahd;"],[0,"&UpArrowBar;"],[0,"&DownArrowBar;"],[2,"&Rarrtl;"],[2,"&latail;"],[0,"&ratail;"],[0,"&lAtail;"],[0,"&rAtail;"],[0,"&larrfs;"],[0,"&rarrfs;"],[0,"&larrbfs;"],[0,"&rarrbfs;"],[2,"&nwarhk;"],[0,"&nearhk;"],[0,"&hksearow;"],[0,"&hkswarow;"],[0,"&nwnear;"],[0,"&nesear;"],[0,"&seswar;"],[0,"&swnwar;"],[8,{v:"&rarrc;",n:824,o:"&nrarrc;"}],[1,"&cudarrr;"],[0,"&ldca;"],[0,"&rdca;"],[0,"&cudarrl;"],[0,"&larrpl;"],[2,"&curarrm;"],[0,"&cularrp;"],[7,"&rarrpl;"],[2,"&harrcir;"],[0,"&Uarrocir;"],[0,"&lurdshar;"],[0,"&ldrushar;"],[2,"&LeftRightVector;"],[0,"&RightUpDownVector;"],[0,"&DownLeftRightVector;"],[0,"&LeftUpDownVector;"],[0,"&LeftVectorBar;"],[0,"&RightVectorBar;"],[0,"&RightUpVectorBar;"],[0,"&RightDownVectorBar;"],[0,"&DownLeftVectorBar;"],[0,"&DownRightVectorBar;"],[0,"&LeftUpVectorBar;"],[0,"&LeftDownVectorBar;"],[0,"&LeftTeeVector;"],[0,"&RightTeeVector;"],[0,"&RightUpTeeVector;"],[0,"&RightDownTeeVector;"],[0,"&DownLeftTeeVector;"],[0,"&DownRightTeeVector;"],[0,"&LeftUpTeeVector;"],[0,"&LeftDownTeeVector;"],[0,"&lHar;"],[0,"&uHar;"],[0,"&rHar;"],[0,"&dHar;"],[0,"&luruhar;"],[0,"&ldrdhar;"],[0,"&ruluhar;"],[0,"&rdldhar;"],[0,"&lharul;"],[0,"&llhard;"],[0,"&rharul;"],[0,"&lrhard;"],[0,"&udhar;"],[0,"&duhar;"],[0,"&RoundImplies;"],[0,"&erarr;"],[0,"&simrarr;"],[0,"&larrsim;"],[0,"&rarrsim;"],[0,"&rarrap;"],[0,"&ltlarr;"],[1,"&gtrarr;"],[0,"&subrarr;"],[1,"&suplarr;"],[0,"&lfisht;"],[0,"&rfisht;"],[0,"&ufisht;"],[0,"&dfisht;"],[5,"&lopar;"],[0,"&ropar;"],[4,"&lbrke;"],[0,"&rbrke;"],[0,"&lbrkslu;"],[0,"&rbrksld;"],[0,"&lbrksld;"],[0,"&rbrkslu;"],[0,"&langd;"],[0,"&rangd;"],[0,"&lparlt;"],[0,"&rpargt;"],[0,"&gtlPar;"],[0,"&ltrPar;"],[3,"&vzigzag;"],[1,"&vangrt;"],[0,"&angrtvbd;"],[6,"&ange;"],[0,"&range;"],[0,"&dwangle;"],[0,"&uwangle;"],[0,"&angmsdaa;"],[0,"&angmsdab;"],[0,"&angmsdac;"],[0,"&angmsdad;"],[0,"&angmsdae;"],[0,"&angmsdaf;"],[0,"&angmsdag;"],[0,"&angmsdah;"],[0,"&bemptyv;"],[0,"&demptyv;"],[0,"&cemptyv;"],[0,"&raemptyv;"],[0,"&laemptyv;"],[0,"&ohbar;"],[0,"&omid;"],[0,"&opar;"],[1,"&operp;"],[1,"&olcross;"],[0,"&odsold;"],[1,"&olcir;"],[0,"&ofcir;"],[0,"&olt;"],[0,"&ogt;"],[0,"&cirscir;"],[0,"&cirE;"],[0,"&solb;"],[0,"&bsolb;"],[3,"&boxbox;"],[3,"&trisb;"],[0,"&rtriltri;"],[0,{v:"&LeftTriangleBar;",n:824,o:"&NotLeftTriangleBar;"}],[0,{v:"&RightTriangleBar;",n:824,o:"&NotRightTriangleBar;"}],[11,"&iinfin;"],[0,"&infintie;"],[0,"&nvinfin;"],[4,"&eparsl;"],[0,"&smeparsl;"],[0,"&eqvparsl;"],[5,"&blacklozenge;"],[8,"&RuleDelayed;"],[1,"&dsol;"],[9,"&bigodot;"],[0,"&bigoplus;"],[0,"&bigotimes;"],[1,"&biguplus;"],[1,"&bigsqcup;"],[5,"&iiiint;"],[0,"&fpartint;"],[2,"&cirfnint;"],[0,"&awint;"],[0,"&rppolint;"],[0,"&scpolint;"],[0,"&npolint;"],[0,"&pointint;"],[0,"&quatint;"],[0,"&intlarhk;"],[10,"&pluscir;"],[0,"&plusacir;"],[0,"&simplus;"],[0,"&plusdu;"],[0,"&plussim;"],[0,"&plustwo;"],[1,"&mcomma;"],[0,"&minusdu;"],[2,"&loplus;"],[0,"&roplus;"],[0,"&Cross;"],[0,"&timesd;"],[0,"&timesbar;"],[1,"&smashp;"],[0,"&lotimes;"],[0,"&rotimes;"],[0,"&otimesas;"],[0,"&Otimes;"],[0,"&odiv;"],[0,"&triplus;"],[0,"&triminus;"],[0,"&tritime;"],[0,"&intprod;"],[2,"&amalg;"],[0,"&capdot;"],[1,"&ncup;"],[0,"&ncap;"],[0,"&capand;"],[0,"&cupor;"],[0,"&cupcap;"],[0,"&capcup;"],[0,"&cupbrcap;"],[0,"&capbrcup;"],[0,"&cupcup;"],[0,"&capcap;"],[0,"&ccups;"],[0,"&ccaps;"],[2,"&ccupssm;"],[2,"&And;"],[0,"&Or;"],[0,"&andand;"],[0,"&oror;"],[0,"&orslope;"],[0,"&andslope;"],[1,"&andv;"],[0,"&orv;"],[0,"&andd;"],[0,"&ord;"],[1,"&wedbar;"],[6,"&sdote;"],[3,"&simdot;"],[2,{v:"&congdot;",n:824,o:"&ncongdot;"}],[0,"&easter;"],[0,"&apacir;"],[0,{v:"&apE;",n:824,o:"&napE;"}],[0,"&eplus;"],[0,"&pluse;"],[0,"&Esim;"],[0,"&Colone;"],[0,"&Equal;"],[1,"&ddotseq;"],[0,"&equivDD;"],[0,"&ltcir;"],[0,"&gtcir;"],[0,"&ltquest;"],[0,"&gtquest;"],[0,{v:"&leqslant;",n:824,o:"&nleqslant;"}],[0,{v:"&geqslant;",n:824,o:"&ngeqslant;"}],[0,"&lesdot;"],[0,"&gesdot;"],[0,"&lesdoto;"],[0,"&gesdoto;"],[0,"&lesdotor;"],[0,"&gesdotol;"],[0,"&lap;"],[0,"&gap;"],[0,"&lne;"],[0,"&gne;"],[0,"&lnap;"],[0,"&gnap;"],[0,"&lEg;"],[0,"&gEl;"],[0,"&lsime;"],[0,"&gsime;"],[0,"&lsimg;"],[0,"&gsiml;"],[0,"&lgE;"],[0,"&glE;"],[0,"&lesges;"],[0,"&gesles;"],[0,"&els;"],[0,"&egs;"],[0,"&elsdot;"],[0,"&egsdot;"],[0,"&el;"],[0,"&eg;"],[2,"&siml;"],[0,"&simg;"],[0,"&simlE;"],[0,"&simgE;"],[0,{v:"&LessLess;",n:824,o:"&NotNestedLessLess;"}],[0,{v:"&GreaterGreater;",n:824,o:"&NotNestedGreaterGreater;"}],[1,"&glj;"],[0,"&gla;"],[0,"&ltcc;"],[0,"&gtcc;"],[0,"&lescc;"],[0,"&gescc;"],[0,"&smt;"],[0,"&lat;"],[0,{v:"&smte;",n:65024,o:"&smtes;"}],[0,{v:"&late;",n:65024,o:"&lates;"}],[0,"&bumpE;"],[0,{v:"&PrecedesEqual;",n:824,o:"&NotPrecedesEqual;"}],[0,{v:"&sce;",n:824,o:"&NotSucceedsEqual;"}],[2,"&prE;"],[0,"&scE;"],[0,"&precneqq;"],[0,"&scnE;"],[0,"&prap;"],[0,"&scap;"],[0,"&precnapprox;"],[0,"&scnap;"],[0,"&Pr;"],[0,"&Sc;"],[0,"&subdot;"],[0,"&supdot;"],[0,"&subplus;"],[0,"&supplus;"],[0,"&submult;"],[0,"&supmult;"],[0,"&subedot;"],[0,"&supedot;"],[0,{v:"&subE;",n:824,o:"&nsubE;"}],[0,{v:"&supE;",n:824,o:"&nsupE;"}],[0,"&subsim;"],[0,"&supsim;"],[2,{v:"&subnE;",n:65024,o:"&varsubsetneqq;"}],[0,{v:"&supnE;",n:65024,o:"&varsupsetneqq;"}],[2,"&csub;"],[0,"&csup;"],[0,"&csube;"],[0,"&csupe;"],[0,"&subsup;"],[0,"&supsub;"],[0,"&subsub;"],[0,"&supsup;"],[0,"&suphsub;"],[0,"&supdsub;"],[0,"&forkv;"],[0,"&topfork;"],[0,"&mlcp;"],[8,"&Dashv;"],[1,"&Vdashl;"],[0,"&Barv;"],[0,"&vBar;"],[0,"&vBarv;"],[1,"&Vbar;"],[0,"&Not;"],[0,"&bNot;"],[0,"&rnmid;"],[0,"&cirmid;"],[0,"&midcir;"],[0,"&topcir;"],[0,"&nhpar;"],[0,"&parsim;"],[9,{v:"&parsl;",n:8421,o:"&nparsl;"}],[44343,{n:new Map(j6([[56476,"&Ascr;"],[1,"&Cscr;"],[0,"&Dscr;"],[2,"&Gscr;"],[2,"&Jscr;"],[0,"&Kscr;"],[2,"&Nscr;"],[0,"&Oscr;"],[0,"&Pscr;"],[0,"&Qscr;"],[1,"&Sscr;"],[0,"&Tscr;"],[0,"&Uscr;"],[0,"&Vscr;"],[0,"&Wscr;"],[0,"&Xscr;"],[0,"&Yscr;"],[0,"&Zscr;"],[0,"&ascr;"],[0,"&bscr;"],[0,"&cscr;"],[0,"&dscr;"],[1,"&fscr;"],[1,"&hscr;"],[0,"&iscr;"],[0,"&jscr;"],[0,"&kscr;"],[0,"&lscr;"],[0,"&mscr;"],[0,"&nscr;"],[1,"&pscr;"],[0,"&qscr;"],[0,"&rscr;"],[0,"&sscr;"],[0,"&tscr;"],[0,"&uscr;"],[0,"&vscr;"],[0,"&wscr;"],[0,"&xscr;"],[0,"&yscr;"],[0,"&zscr;"],[52,"&Afr;"],[0,"&Bfr;"],[1,"&Dfr;"],[0,"&Efr;"],[0,"&Ffr;"],[0,"&Gfr;"],[2,"&Jfr;"],[0,"&Kfr;"],[0,"&Lfr;"],[0,"&Mfr;"],[0,"&Nfr;"],[0,"&Ofr;"],[0,"&Pfr;"],[0,"&Qfr;"],[1,"&Sfr;"],[0,"&Tfr;"],[0,"&Ufr;"],[0,"&Vfr;"],[0,"&Wfr;"],[0,"&Xfr;"],[0,"&Yfr;"],[1,"&afr;"],[0,"&bfr;"],[0,"&cfr;"],[0,"&dfr;"],[0,"&efr;"],[0,"&ffr;"],[0,"&gfr;"],[0,"&hfr;"],[0,"&ifr;"],[0,"&jfr;"],[0,"&kfr;"],[0,"&lfr;"],[0,"&mfr;"],[0,"&nfr;"],[0,"&ofr;"],[0,"&pfr;"],[0,"&qfr;"],[0,"&rfr;"],[0,"&sfr;"],[0,"&tfr;"],[0,"&ufr;"],[0,"&vfr;"],[0,"&wfr;"],[0,"&xfr;"],[0,"&yfr;"],[0,"&zfr;"],[0,"&Aopf;"],[0,"&Bopf;"],[1,"&Dopf;"],[0,"&Eopf;"],[0,"&Fopf;"],[0,"&Gopf;"],[1,"&Iopf;"],[0,"&Jopf;"],[0,"&Kopf;"],[0,"&Lopf;"],[0,"&Mopf;"],[1,"&Oopf;"],[3,"&Sopf;"],[0,"&Topf;"],[0,"&Uopf;"],[0,"&Vopf;"],[0,"&Wopf;"],[0,"&Xopf;"],[0,"&Yopf;"],[1,"&aopf;"],[0,"&bopf;"],[0,"&copf;"],[0,"&dopf;"],[0,"&eopf;"],[0,"&fopf;"],[0,"&gopf;"],[0,"&hopf;"],[0,"&iopf;"],[0,"&jopf;"],[0,"&kopf;"],[0,"&lopf;"],[0,"&mopf;"],[0,"&nopf;"],[0,"&oopf;"],[0,"&popf;"],[0,"&qopf;"],[0,"&ropf;"],[0,"&sopf;"],[0,"&topf;"],[0,"&uopf;"],[0,"&vopf;"],[0,"&wopf;"],[0,"&xopf;"],[0,"&yopf;"],[0,"&zopf;"]]))}],[8906,"&fflig;"],[0,"&filig;"],[0,"&fllig;"],[0,"&ffilig;"],[0,"&ffllig;"]]));function Lv(e,n){return function(i){let r,o=0,a="";for(;r=e.exec(i);)o!==r.index&&(a+=i.substring(o,r.index)),a+=n.get(r[0].charCodeAt(0)),o=r.index+1;return a+i.substring(o)}}Lv(/[&<>'"]/g,new Map([[34,"&quot;"],[38,"&amp;"],[39,"&apos;"],[60,"&lt;"],[62,"&gt;"]])),Lv(/["&\u00A0]/g,new Map([[34,"&quot;"],[38,"&amp;"],[160,"&nbsp;"]])),Lv(/[&<>\u00A0]/g,new Map([[38,"&amp;"],[60,"&lt;"],[62,"&gt;"],[160,"&nbsp;"]])),new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),new Map(["definitionURL","attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e]));var zz=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,$oe=/\n/g,Woe=/^\s*/,Goe=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,Koe=/^:\s*/,Qoe=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,Zoe=/^[;\s]*/,Xoe=/^\s+|\s+$/g;function Oz(e){return e?e.replace(Xoe,""):""}function iae(e,n){let t=null;if(!e||"string"!=typeof e)return t;const i=function nae(e,n){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];n=n||{};var t=1,i=1;function r(C){var P=C.match($oe);P&&(t+=P.length);var Z=C.lastIndexOf("\n");i=~Z?C.length-Z:i+C.length}function o(){var C={line:t,column:i};return function(P){return P.position=new a(C),c(),P}}function a(C){this.start=C,this.end={line:t,column:i},this.source=n.source}function s(C){var P=new Error(n.source+":"+t+":"+i+": "+C);if(P.reason=C,P.filename=n.source,P.line=t,P.column=i,P.source=e,!n.silent)throw P}function l(C){var P=C.exec(e);if(P){var Z=P[0];return r(Z),e=e.slice(Z.length),P}}function c(){l(Woe)}function h(C){var P;for(C=C||[];P=p();)!1!==P&&C.push(P);return C}function p(){var C=o();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var P=2;""!=e.charAt(P)&&("*"!=e.charAt(P)||"/"!=e.charAt(P+1));)++P;if(""===e.charAt((P+=2)-1))return s("End of comment missing");var Z=e.slice(2,P-2);return i+=2,r(Z),e=e.slice(P),i+=2,C({type:"comment",comment:Z})}}function S(){var C=o(),P=l(Goe);if(P){if(p(),!l(Koe))return s("property missing ':'");var Z=l(Qoe),re=C({type:"declaration",property:Oz(P[0].replace(zz,"")),value:Z?Oz(Z[0].replace(zz,"")):""});return l(Zoe),re}}return a.prototype.content=e,c(),function v(){var P,C=[];for(h(C);P=S();)!1!==P&&(C.push(P),h(C));return C}()}(e),r="function"==typeof n;return i.forEach(o=>{if("declaration"!==o.type)return;const{property:a,value:s}=o;r?n(a,s,o):s&&(t=t||{},t[a]=s)}),t}const Pz={};function Q6(e,n){"string"!=typeof n&&(n=Q6.defaultChars);const t=function rae(e){let n=Pz[e];if(n)return n;n=Pz[e]=[];for(let t=0;t<128;t++){const i=String.fromCharCode(t);n.push(i)}for(let t=0;t<e.length;t++){const i=e.charCodeAt(t);n[i]="%"+("0"+i.toString(16).toUpperCase()).slice(-2)}return n}(n);return e.replace(/(%[a-f0-9]{2})+/gi,function(i){let r="";for(let o=0,a=i.length;o<a;o+=3){const s=parseInt(i.slice(o+1,o+3),16);if(s<128)r+=t[s];else{if(192==(224&s)&&o+3<a){const l=parseInt(i.slice(o+4,o+6),16);if(128==(192&l)){const c=s<<6&1984|63&l;r+=c<128?"\ufffd\ufffd":String.fromCharCode(c),o+=3;continue}}if(224==(240&s)&&o+6<a){const l=parseInt(i.slice(o+4,o+6),16),c=parseInt(i.slice(o+7,o+9),16);if(128==(192&l)&&128==(192&c)){const h=s<<12&61440|l<<6&4032|63&c;r+=h<2048||h>=55296&&h<=57343?"\ufffd\ufffd\ufffd":String.fromCharCode(h),o+=6;continue}}if(240==(248&s)&&o+9<a){const l=parseInt(i.slice(o+4,o+6),16),c=parseInt(i.slice(o+7,o+9),16),h=parseInt(i.slice(o+10,o+12),16);if(128==(192&l)&&128==(192&c)&&128==(192&h)){let p=s<<18&1835008|l<<12&258048|c<<6&4032|63&h;p<65536||p>1114111?r+="\ufffd\ufffd\ufffd\ufffd":(p-=65536,r+=String.fromCharCode(55296+(p>>10),56320+(1023&p))),o+=9;continue}}r+="\ufffd"}}return r})}Q6.defaultChars=";/?:@&=+$,#",Q6.componentChars="";const Bv=Q6,Nz={};function Z6(e,n,t){"string"!=typeof n&&(t=n,n=Z6.defaultChars),typeof t>"u"&&(t=!0);const i=function oae(e){let n=Nz[e];if(n)return n;n=Nz[e]=[];for(let t=0;t<128;t++){const i=String.fromCharCode(t);/^[0-9a-z]$/i.test(i)?n.push(i):n.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2))}for(let t=0;t<e.length;t++)n[e.charCodeAt(t)]=e[t];return n}(n);let r="";for(let o=0,a=e.length;o<a;o++){const s=e.charCodeAt(o);if(t&&37===s&&o+2<a&&/^[0-9a-f]{2}$/i.test(e.slice(o+1,o+3)))r+=e.slice(o,o+3),o+=2;else if(s<128)r+=i[s];else if(s>=55296&&s<=57343){if(s>=55296&&s<=56319&&o+1<a){const l=e.charCodeAt(o+1);if(l>=56320&&l<=57343){r+=encodeURIComponent(e[o]+e[o+1]),o++;continue}}r+="%EF%BF%BD"}else r+=encodeURIComponent(e[o])}return r}Z6.defaultChars=";/?:@&=+$,-_.!~*'()#",Z6.componentChars="-_.!~*'()";const Fz=Z6;function Uv(e){let n="";return n+=e.protocol||"",n+=e.slashes?"//":"",n+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?n+="["+e.hostname+"]":n+=e.hostname||"",n+=e.port?":"+e.port:"",n+=e.pathname||"",n+=e.search||"",n+=e.hash||"",n}function X6(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}const aae=/^([a-z0-9.+-]+:)/i,sae=/:[0-9]*$/,lae=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,uae=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),dae=["'"].concat(uae),Rz=["%","/","?",";","#"].concat(dae),Hz=["/","?","#"],Vz=/^[+a-z0-9A-Z_-]{0,63}$/,fae=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Bz={javascript:!0,"javascript:":!0},Uz={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};X6.prototype.parse=function(e,n){let t,i,r,o=e;if(o=o.trim(),!n&&1===e.split("#").length){const c=lae.exec(o);if(c)return this.pathname=c[1],c[2]&&(this.search=c[2]),this}let a=aae.exec(o);if(a&&(a=a[0],t=a.toLowerCase(),this.protocol=a,o=o.substr(a.length)),(n||a||o.match(/^\/\/[^@\/]+@[^@\/]+/))&&(r="//"===o.substr(0,2),r&&!(a&&Bz[a])&&(o=o.substr(2),this.slashes=!0)),!Bz[a]&&(r||a&&!Uz[a])){let h,p,c=-1;for(let C=0;C<Hz.length;C++)i=o.indexOf(Hz[C]),-1!==i&&(-1===c||i<c)&&(c=i);p=-1===c?o.lastIndexOf("@"):o.lastIndexOf("@",c),-1!==p&&(h=o.slice(0,p),o=o.slice(p+1),this.auth=h),c=-1;for(let C=0;C<Rz.length;C++)i=o.indexOf(Rz[C]),-1!==i&&(-1===c||i<c)&&(c=i);-1===c&&(c=o.length),":"===o[c-1]&&c--;const S=o.slice(0,c);o=o.slice(c),this.parseHost(S),this.hostname=this.hostname||"";const v="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!v){const C=this.hostname.split(/\./);for(let P=0,Z=C.length;P<Z;P++){const re=C[P];if(re&&!re.match(Vz)){let ie="";for(let Me=0,ke=re.length;Me<ke;Me++)re.charCodeAt(Me)>127?ie+="x":ie+=re[Me];if(!ie.match(Vz)){const Me=C.slice(0,P),ke=C.slice(P+1),Be=re.match(fae);Be&&(Me.push(Be[1]),ke.unshift(Be[2])),ke.length&&(o=ke.join(".")+o),this.hostname=Me.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),v&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const s=o.indexOf("#");-1!==s&&(this.hash=o.substr(s),o=o.slice(0,s));const l=o.indexOf("?");return-1!==l&&(this.search=o.substr(l),o=o.slice(0,l)),o&&(this.pathname=o),Uz[t]&&this.hostname&&!this.pathname&&(this.pathname=""),this},X6.prototype.parseHost=function(e){let n=sae.exec(e);n&&(n=n[0],":"!==n&&(this.port=n.substr(1)),e=e.substr(0,e.length-n.length)),e&&(this.hostname=e)};const qv=function pae(e,n){if(e&&e instanceof X6)return e;const t=new X6;return t.parse(e,n),t},Yv=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,qz=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,Yz=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,jz=/[\0-\x1F\x7F-\x9F]/,mae=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,$z=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/;function jv(e){return"[object String]"===function gae(e){return Object.prototype.toString.call(e)}(e)}const vae=Object.prototype.hasOwnProperty;function _ae(e,n){return vae.call(e,n)}function J6(e){return Array.prototype.slice.call(arguments,1).forEach(function(t){if(t){if("object"!=typeof t)throw new TypeError(t+"must be object");Object.keys(t).forEach(function(i){e[i]=t[i]})}}),e}function Wz(e,n,t){return[].concat(e.slice(0,n),t,e.slice(n+1))}function $v(e){return!(e>=55296&&e<=57343||e>=64976&&e<=65007||!(65535&~e)||65534==(65535&e)||e>=0&&e<=8||11===e||e>=14&&e<=31||e>=127&&e<=159||e>1114111)}function e8(e){return e>65535?(e-=65536,String.fromCharCode(55296+(e>>10),56320+(1023&e))):String.fromCharCode(e)}const Gz=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,bae=new RegExp(Gz.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),Cae=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function Sae(e){return e.indexOf("\\")<0?e:e.replace(Gz,"$1")}function Td(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(bae,function(n,t,i){return t||function wae(e,n){if(35===n.charCodeAt(0)&&Cae.test(n)){const i="x"===n[1].toLowerCase()?parseInt(n.slice(2),16):parseInt(n.slice(1),10);return $v(i)?e8(i):e}const t=gz(e);return t!==e?t:e}(n,i)})}const Mae=/[&<>"]/,Tae=/[&<>"]/g,Dae={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function xae(e){return Dae[e]}function Nu(e){return Mae.test(e)?e.replace(Tae,xae):e}const kae=/[.?*+^$[\]\\(){}|-]/g;function Eae(e){return e.replace(kae,"\\$&")}function kr(e){switch(e){case 9:case 32:return!0}return!1}function Yh(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function jh(e){return Yv.test(e)||qz.test(e)}function $h(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function t8(e){return e=e.trim().replace(/\s+/g," "),"\u1e7e"==="\u1e9e".toLowerCase()&&(e=e.replace(/\u1e9e/g,"\xdf")),e.toLowerCase().toUpperCase()}const Iae={mdurl:F,ucmicro:M};function zae(e,n,t){let i,r,o,a;const s=e.posMax,l=e.pos;for(e.pos=n+1,i=1;e.pos<s;){if(o=e.src.charCodeAt(e.pos),93===o&&(i--,0===i)){r=!0;break}if(a=e.pos,e.md.inline.skipToken(e),91===o)if(a===e.pos-1)i++;else if(t)return e.pos=l,-1}let c=-1;return r&&(c=e.pos),e.pos=l,c}function Aae(e,n,t){let i,r=n;const o={ok:!1,pos:0,str:""};if(60===e.charCodeAt(r)){for(r++;r<t;){if(i=e.charCodeAt(r),10===i||60===i)return o;if(62===i)return o.pos=r+1,o.str=Td(e.slice(n+1,r)),o.ok=!0,o;92===i&&r+1<t?r+=2:r++}return o}let a=0;for(;r<t&&(i=e.charCodeAt(r),!(32===i||i<32||127===i));)if(92===i&&r+1<t){if(32===e.charCodeAt(r+1))break;r+=2}else{if(40===i&&(a++,a>32))return o;if(41===i){if(0===a)break;a--}r++}return n===r||0!==a||(o.str=Td(e.slice(n,r)),o.pos=r,o.ok=!0),o}function Lae(e,n,t,i){let r,o=n;const a={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(i)a.str=i.str,a.marker=i.marker;else{if(o>=t)return a;let s=e.charCodeAt(o);if(34!==s&&39!==s&&40!==s)return a;n++,o++,40===s&&(s=41),a.marker=s}for(;o<t;){if(r=e.charCodeAt(o),r===a.marker)return a.pos=o+1,a.str+=Td(e.slice(n,o)),a.ok=!0,a;if(40===r&&41===a.marker)return a;92===r&&o+1<t&&o++,o++}return a.can_continue=!0,a.str+=Td(e.slice(n,o)),a}const ac={};function Dd(){this.rules=J6({},ac)}ac.code_inline=function(e,n,t,i,r){const o=e[n];return"<code"+r.renderAttrs(o)+">"+Nu(o.content)+"</code>"},ac.code_block=function(e,n,t,i,r){return"<pre"+r.renderAttrs(e[n])+"><code>"+Nu(e[n].content)+"</code></pre>\n"},ac.fence=function(e,n,t,i,r){const o=e[n],a=o.info?Td(o.info).trim():"";let c,s="",l="";if(a){const h=a.split(/(\s+)/g);s=h[0],l=h.slice(2).join("")}if(c=t.highlight&&t.highlight(o.content,s,l)||Nu(o.content),0===c.indexOf("<pre"))return c+"\n";if(a){const h=o.attrIndex("class"),p=o.attrs?o.attrs.slice():[];return h<0?p.push(["class",t.langPrefix+s]):(p[h]=p[h].slice(),p[h][1]+=" "+t.langPrefix+s),`<pre><code${r.renderAttrs({attrs:p})}>${c}</code></pre>\n`}return`<pre><code${r.renderAttrs(o)}>${c}</code></pre>\n`},ac.image=function(e,n,t,i,r){const o=e[n];return o.attrs[o.attrIndex("alt")][1]=r.renderInlineAsText(o.children,t,i),r.renderToken(e,n,t)},ac.hardbreak=function(e,n,t){return t.xhtmlOut?"<br />\n":"<br>\n"},ac.softbreak=function(e,n,t){return t.breaks?t.xhtmlOut?"<br />\n":"<br>\n":"\n"},ac.text=function(e,n){return Nu(e[n].content)},ac.html_block=function(e,n){return e[n].content},ac.html_inline=function(e,n){return e[n].content},Dd.prototype.renderAttrs=function(n){let t,i,r;if(!n.attrs)return"";for(r="",t=0,i=n.attrs.length;t<i;t++)r+=" "+Nu(n.attrs[t][0])+'="'+Nu(n.attrs[t][1])+'"';return r},Dd.prototype.renderToken=function(n,t,i){const r=n[t];let o="";if(r.hidden)return"";r.block&&-1!==r.nesting&&t&&n[t-1].hidden&&(o+="\n"),o+=(-1===r.nesting?"</":"<")+r.tag,o+=this.renderAttrs(r),0===r.nesting&&i.xhtmlOut&&(o+=" /");let a=!1;if(r.block&&(a=!0,1===r.nesting&&t+1<n.length)){const s=n[t+1];("inline"===s.type||s.hidden||-1===s.nesting&&s.tag===r.tag)&&(a=!1)}return o+=a?">\n":">",o},Dd.prototype.renderInline=function(e,n,t){let i="";const r=this.rules;for(let o=0,a=e.length;o<a;o++){const s=e[o].type;i+=typeof r[s]<"u"?r[s](e,o,n,t,this):this.renderToken(e,o,n)}return i},Dd.prototype.renderInlineAsText=function(e,n,t){let i="";for(let r=0,o=e.length;r<o;r++)switch(e[r].type){case"text":case"html_inline":case"html_block":i+=e[r].content;break;case"image":i+=this.renderInlineAsText(e[r].children,n,t);break;case"softbreak":case"hardbreak":i+="\n"}return i},Dd.prototype.render=function(e,n,t){let i="";const r=this.rules;for(let o=0,a=e.length;o<a;o++){const s=e[o].type;i+="inline"===s?this.renderInline(e[o].children,n,t):typeof r[s]<"u"?r[s](e,o,n,t,this):this.renderToken(e,o,n,t)}return i};const Oae=Dd;function Dl(){this.__rules__=[],this.__cache__=null}Dl.prototype.__find__=function(e){for(let n=0;n<this.__rules__.length;n++)if(this.__rules__[n].name===e)return n;return-1},Dl.prototype.__compile__=function(){const e=this,n=[""];e.__rules__.forEach(function(t){t.enabled&&t.alt.forEach(function(i){n.indexOf(i)<0&&n.push(i)})}),e.__cache__={},n.forEach(function(t){e.__cache__[t]=[],e.__rules__.forEach(function(i){i.enabled&&(t&&i.alt.indexOf(t)<0||e.__cache__[t].push(i.fn))})})},Dl.prototype.at=function(e,n,t){const i=this.__find__(e),r=t||{};if(-1===i)throw new Error("Parser rule not found: "+e);this.__rules__[i].fn=n,this.__rules__[i].alt=r.alt||[],this.__cache__=null},Dl.prototype.before=function(e,n,t,i){const r=this.__find__(e),o=i||{};if(-1===r)throw new Error("Parser rule not found: "+e);this.__rules__.splice(r,0,{name:n,enabled:!0,fn:t,alt:o.alt||[]}),this.__cache__=null},Dl.prototype.after=function(e,n,t,i){const r=this.__find__(e),o=i||{};if(-1===r)throw new Error("Parser rule not found: "+e);this.__rules__.splice(r+1,0,{name:n,enabled:!0,fn:t,alt:o.alt||[]}),this.__cache__=null},Dl.prototype.push=function(e,n,t){this.__rules__.push({name:e,enabled:!0,fn:n,alt:(t||{}).alt||[]}),this.__cache__=null},Dl.prototype.enable=function(e,n){Array.isArray(e)||(e=[e]);const t=[];return e.forEach(function(i){const r=this.__find__(i);if(r<0){if(n)return;throw new Error("Rules manager: invalid rule name "+i)}this.__rules__[r].enabled=!0,t.push(i)},this),this.__cache__=null,t},Dl.prototype.enableOnly=function(e,n){Array.isArray(e)||(e=[e]),this.__rules__.forEach(function(t){t.enabled=!1}),this.enable(e,n)},Dl.prototype.disable=function(e,n){Array.isArray(e)||(e=[e]);const t=[];return e.forEach(function(i){const r=this.__find__(i);if(r<0){if(n)return;throw new Error("Rules manager: invalid rule name "+i)}this.__rules__[r].enabled=!1,t.push(i)},this),this.__cache__=null,t},Dl.prototype.getRules=function(e){return null===this.__cache__&&this.__compile__(),this.__cache__[e]||[]};const n8=Dl;function xd(e,n,t){this.type=e,this.tag=n,this.attrs=null,this.map=null,this.nesting=t,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}xd.prototype.attrIndex=function(n){if(!this.attrs)return-1;const t=this.attrs;for(let i=0,r=t.length;i<r;i++)if(t[i][0]===n)return i;return-1},xd.prototype.attrPush=function(n){this.attrs?this.attrs.push(n):this.attrs=[n]},xd.prototype.attrSet=function(n,t){const i=this.attrIndex(n),r=[n,t];i<0?this.attrPush(r):this.attrs[i]=r},xd.prototype.attrGet=function(n){const t=this.attrIndex(n);let i=null;return t>=0&&(i=this.attrs[t][1]),i},xd.prototype.attrJoin=function(n,t){const i=this.attrIndex(n);i<0?this.attrPush([n,t]):this.attrs[i][1]=this.attrs[i][1]+" "+t};const kd=xd;function Kz(e,n,t){this.src=e,this.env=t,this.tokens=[],this.inlineMode=!1,this.md=n}Kz.prototype.Token=kd;const Pae=Kz,Nae=/\r\n?|\n/g,Fae=/\0/g;function Bae(e){return/^<a[>\s]/i.test(e)}function Uae(e){return/^<\/a\s*>/i.test(e)}const Qz=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,Yae=/\((c|tm|r)\)/i,jae=/\((c|tm|r)\)/gi,$ae={c:"\xa9",r:"\xae",tm:"\u2122"};function Wae(e,n){return $ae[n.toLowerCase()]}function Gae(e){let n=0;for(let t=e.length-1;t>=0;t--){const i=e[t];"text"===i.type&&!n&&(i.content=i.content.replace(jae,Wae)),"link_open"===i.type&&"auto"===i.info&&n--,"link_close"===i.type&&"auto"===i.info&&n++}}function Kae(e){let n=0;for(let t=e.length-1;t>=0;t--){const i=e[t];"text"===i.type&&!n&&Qz.test(i.content)&&(i.content=i.content.replace(/\+-/g,"\xb1").replace(/\.{2,}/g,"\u2026").replace(/([?!])\u2026/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/gm,"$1\u2014").replace(/(^|\s)--(?=\s|$)/gm,"$1\u2013").replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,"$1\u2013")),"link_open"===i.type&&"auto"===i.info&&n--,"link_close"===i.type&&"auto"===i.info&&n++}}const Zae=/['"]/,Zz=/['"]/g;function i8(e,n,t){return e.slice(0,n)+t+e.slice(n+1)}function Xae(e,n){let t;const i=[];for(let r=0;r<e.length;r++){const o=e[r],a=e[r].level;for(t=i.length-1;t>=0&&!(i[t].level<=a);t--);if(i.length=t+1,"text"!==o.type)continue;let s=o.content,l=0,c=s.length;e:for(;l<c;){Zz.lastIndex=l;const h=Zz.exec(s);if(!h)break;let p=!0,S=!0;l=h.index+1;const v="'"===h[0];let C=32;if(h.index-1>=0)C=s.charCodeAt(h.index-1);else for(t=r-1;t>=0&&"softbreak"!==e[t].type&&"hardbreak"!==e[t].type;t--)if(e[t].content){C=e[t].content.charCodeAt(e[t].content.length-1);break}let P=32;if(l<c)P=s.charCodeAt(l);else for(t=r+1;t<e.length&&"softbreak"!==e[t].type&&"hardbreak"!==e[t].type;t++)if(e[t].content){P=e[t].content.charCodeAt(0);break}const Z=$h(C)||jh(String.fromCharCode(C)),re=$h(P)||jh(String.fromCharCode(P)),ie=Yh(C),Me=Yh(P);if(Me?p=!1:re&&(ie||Z||(p=!1)),ie?S=!1:Z&&(Me||re||(S=!1)),34===P&&'"'===h[0]&&C>=48&&C<=57&&(S=p=!1),p&&S&&(p=Z,S=re),p||S){if(S)for(t=i.length-1;t>=0;t--){let ke=i[t];if(i[t].level<a)break;if(ke.single===v&&i[t].level===a){let Be,it;ke=i[t],v?(Be=n.md.options.quotes[2],it=n.md.options.quotes[3]):(Be=n.md.options.quotes[0],it=n.md.options.quotes[1]),o.content=i8(o.content,h.index,it),e[ke.token].content=i8(e[ke.token].content,ke.pos,Be),l+=it.length-1,ke.token===r&&(l+=Be.length-1),s=o.content,c=s.length,i.length=t;continue e}}p?i.push({token:r,pos:h.index,single:v,level:a}):S&&v&&(o.content=i8(o.content,h.index,"\u2019"))}else v&&(o.content=i8(o.content,h.index,"\u2019"))}}}const Wv=[["normalize",function Rae(e){let n;n=e.src.replace(Nae,"\n"),n=n.replace(Fae,"\ufffd"),e.src=n}],["block",function Hae(e){let n;e.inlineMode?(n=new e.Token("inline","",0),n.content=e.src,n.map=[0,1],n.children=[],e.tokens.push(n)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}],["inline",function Vae(e){const n=e.tokens;for(let t=0,i=n.length;t<i;t++){const r=n[t];"inline"===r.type&&e.md.inline.parse(r.content,e.md,e.env,r.children)}}],["linkify",function qae(e){const n=e.tokens;if(e.md.options.linkify)for(let t=0,i=n.length;t<i;t++){if("inline"!==n[t].type||!e.md.linkify.pretest(n[t].content))continue;let r=n[t].children,o=0;for(let a=r.length-1;a>=0;a--){const s=r[a];if("link_close"!==s.type){if("html_inline"===s.type&&(Bae(s.content)&&o>0&&o--,Uae(s.content)&&o++),!(o>0)&&"text"===s.type&&e.md.linkify.test(s.content)){const l=s.content;let c=e.md.linkify.match(l);const h=[];let p=s.level,S=0;c.length>0&&0===c[0].index&&a>0&&"text_special"===r[a-1].type&&(c=c.slice(1));for(let v=0;v<c.length;v++){const P=e.md.normalizeLink(c[v].url);if(!e.md.validateLink(P))continue;let Z=c[v].text;Z=c[v].schema?"mailto:"!==c[v].schema||/^mailto:/i.test(Z)?e.md.normalizeLinkText(Z):e.md.normalizeLinkText("mailto:"+Z).replace(/^mailto:/,""):e.md.normalizeLinkText("http://"+Z).replace(/^http:\/\//,"");const re=c[v].index;if(re>S){const Be=new e.Token("text","",0);Be.content=l.slice(S,re),Be.level=p,h.push(Be)}const ie=new e.Token("link_open","a",1);ie.attrs=[["href",P]],ie.level=p++,ie.markup="linkify",ie.info="auto",h.push(ie);const Me=new e.Token("text","",0);Me.content=Z,Me.level=p,h.push(Me);const ke=new e.Token("link_close","a",-1);ke.level=--p,ke.markup="linkify",ke.info="auto",h.push(ke),S=c[v].lastIndex}if(S<l.length){const v=new e.Token("text","",0);v.content=l.slice(S),v.level=p,h.push(v)}n[t].children=r=Wz(r,a,h)}}else for(a--;r[a].level!==s.level&&"link_open"!==r[a].type;)a--}}}],["replacements",function Qae(e){let n;if(e.md.options.typographer)for(n=e.tokens.length-1;n>=0;n--)"inline"===e.tokens[n].type&&(Yae.test(e.tokens[n].content)&&Gae(e.tokens[n].children),Qz.test(e.tokens[n].content)&&Kae(e.tokens[n].children))}],["smartquotes",function Jae(e){if(e.md.options.typographer)for(let n=e.tokens.length-1;n>=0;n--)"inline"!==e.tokens[n].type||!Zae.test(e.tokens[n].content)||Xae(e.tokens[n].children,e)}],["text_join",function ese(e){let n,t;const i=e.tokens,r=i.length;for(let o=0;o<r;o++){if("inline"!==i[o].type)continue;const a=i[o].children,s=a.length;for(n=0;n<s;n++)"text_special"===a[n].type&&(a[n].type="text");for(n=t=0;n<s;n++)"text"===a[n].type&&n+1<s&&"text"===a[n+1].type?a[n+1].content=a[n].content+a[n+1].content:(n!==t&&(a[t]=a[n]),t++);n!==t&&(a.length=t)}}]];function Gv(){this.ruler=new n8;for(let e=0;e<Wv.length;e++)this.ruler.push(Wv[e][0],Wv[e][1])}Gv.prototype.process=function(e){const n=this.ruler.getRules("");for(let t=0,i=n.length;t<i;t++)n[t](e)},Gv.prototype.State=Pae;const tse=Gv;function sc(e,n,t,i){this.src=e,this.md=n,this.env=t,this.tokens=i,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0;const r=this.src;for(let o=0,a=0,s=0,l=0,c=r.length,h=!1;a<c;a++){const p=r.charCodeAt(a);if(!h){if(kr(p)){s++,9===p?l+=4-l%4:l++;continue}h=!0}(10===p||a===c-1)&&(10!==p&&a++,this.bMarks.push(o),this.eMarks.push(a),this.tShift.push(s),this.sCount.push(l),this.bsCount.push(0),h=!1,s=0,l=0,o=a+1)}this.bMarks.push(r.length),this.eMarks.push(r.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}sc.prototype.push=function(e,n,t){const i=new kd(e,n,t);return i.block=!0,t<0&&this.level--,i.level=this.level,t>0&&this.level++,this.tokens.push(i),i},sc.prototype.isEmpty=function(n){return this.bMarks[n]+this.tShift[n]>=this.eMarks[n]},sc.prototype.skipEmptyLines=function(n){for(let t=this.lineMax;n<t&&!(this.bMarks[n]+this.tShift[n]<this.eMarks[n]);n++);return n},sc.prototype.skipSpaces=function(n){for(let t=this.src.length;n<t&&kr(this.src.charCodeAt(n));n++);return n},sc.prototype.skipSpacesBack=function(n,t){if(n<=t)return n;for(;n>t;)if(!kr(this.src.charCodeAt(--n)))return n+1;return n},sc.prototype.skipChars=function(n,t){for(let i=this.src.length;n<i&&this.src.charCodeAt(n)===t;n++);return n},sc.prototype.skipCharsBack=function(n,t,i){if(n<=i)return n;for(;n>i;)if(t!==this.src.charCodeAt(--n))return n+1;return n},sc.prototype.getLines=function(n,t,i,r){if(n>=t)return"";const o=new Array(t-n);for(let a=0,s=n;s<t;s++,a++){let l=0;const c=this.bMarks[s];let p,h=c;for(p=s+1<t||r?this.eMarks[s]+1:this.eMarks[s];h<p&&l<i;){const S=this.src.charCodeAt(h);if(kr(S))9===S?l+=4-(l+this.bsCount[s])%4:l++;else{if(!(h-c<this.tShift[s]))break;l++}h++}o[a]=l>i?new Array(l-i+1).join(" ")+this.src.slice(h,p):this.src.slice(h,p)}return o.join("")},sc.prototype.Token=kd;const nse=sc;function Kv(e,n){return e.src.slice(e.bMarks[n]+e.tShift[n],e.eMarks[n])}function Jz(e){const n=[],t=e.length;let i=0,r=e.charCodeAt(i),o=!1,a=0,s="";for(;i<t;)124===r&&(o?(s+=e.substring(a,i-1),a=i):(n.push(s+e.substring(a,i)),s="",a=i+1)),o=92===r,i++,r=e.charCodeAt(i);return n.push(s+e.substring(a)),n}function eA(e,n){const t=e.eMarks[n];let i=e.bMarks[n]+e.tShift[n];const r=e.src.charCodeAt(i++);return 42!==r&&45!==r&&43!==r||i<t&&!kr(e.src.charCodeAt(i))?-1:i}function tA(e,n){const t=e.bMarks[n]+e.tShift[n],i=e.eMarks[n];let r=t;if(r+1>=i)return-1;let o=e.src.charCodeAt(r++);if(o<48||o>57)return-1;for(;;){if(r>=i)return-1;if(o=e.src.charCodeAt(r++),!(o>=48&&o<=57)){if(41===o||46===o)break;return-1}if(r-t>=10)return-1}return r<i&&(o=e.src.charCodeAt(r),!kr(o))?-1:r}const nA="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",iA="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",yse=new RegExp("^(?:"+nA+"|"+iA+"|\x3c!---?>|\x3c!--(?:[^-]|-[^-]|--[^>])*--\x3e|<[?][\\s\\S]*?[?]>|<![A-Za-z][^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)"),bse=new RegExp("^(?:"+nA+"|"+iA+")"),Ed=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"].join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(bse.source+"\\s*$"),/^$/,!1]],r8=[["table",function rse(e,n,t,i){if(n+2>t)return!1;let r=n+1;if(e.sCount[r]<e.blkIndent||e.sCount[r]-e.blkIndent>=4)return!1;let o=e.bMarks[r]+e.tShift[r];if(o>=e.eMarks[r])return!1;const a=e.src.charCodeAt(o++);if(124!==a&&45!==a&&58!==a||o>=e.eMarks[r])return!1;const s=e.src.charCodeAt(o++);if(124!==s&&45!==s&&58!==s&&!kr(s)||45===a&&kr(s))return!1;for(;o<e.eMarks[r];){const ke=e.src.charCodeAt(o);if(124!==ke&&45!==ke&&58!==ke&&!kr(ke))return!1;o++}let l=Kv(e,n+1),c=l.split("|");const h=[];for(let ke=0;ke<c.length;ke++){const Be=c[ke].trim();if(!Be){if(0===ke||ke===c.length-1)continue;return!1}if(!/^:?-+:?$/.test(Be))return!1;58===Be.charCodeAt(Be.length-1)?h.push(58===Be.charCodeAt(0)?"center":"right"):58===Be.charCodeAt(0)?h.push("left"):h.push("")}if(l=Kv(e,n).trim(),-1===l.indexOf("|")||e.sCount[n]-e.blkIndent>=4)return!1;c=Jz(l),c.length&&""===c[0]&&c.shift(),c.length&&""===c[c.length-1]&&c.pop();const p=c.length;if(0===p||p!==h.length)return!1;if(i)return!0;const S=e.parentType;e.parentType="table";const v=e.md.block.ruler.getRules("blockquote"),P=[n,0];e.push("table_open","table",1).map=P,e.push("thead_open","thead",1).map=[n,n+1],e.push("tr_open","tr",1).map=[n,n+1];for(let ke=0;ke<c.length;ke++){const Be=e.push("th_open","th",1);h[ke]&&(Be.attrs=[["style","text-align:"+h[ke]]]);const it=e.push("inline","",0);it.content=c[ke].trim(),it.children=[],e.push("th_close","th",-1)}e.push("tr_close","tr",-1),e.push("thead_close","thead",-1);let ie,Me=0;for(r=n+2;r<t&&!(e.sCount[r]<e.blkIndent);r++){let ke=!1;for(let it=0,Et=v.length;it<Et;it++)if(v[it](e,r,t,!0)){ke=!0;break}if(ke||(l=Kv(e,r).trim(),!l)||e.sCount[r]-e.blkIndent>=4||(c=Jz(l),c.length&&""===c[0]&&c.shift(),c.length&&""===c[c.length-1]&&c.pop(),Me+=p-c.length,Me>65536))break;r===n+2&&(e.push("tbody_open","tbody",1).map=ie=[n+2,0]),e.push("tr_open","tr",1).map=[r,r+1];for(let it=0;it<p;it++){const Et=e.push("td_open","td",1);h[it]&&(Et.attrs=[["style","text-align:"+h[it]]]);const Jt=e.push("inline","",0);Jt.content=c[it]?c[it].trim():"",Jt.children=[],e.push("td_close","td",-1)}e.push("tr_close","tr",-1)}return ie&&(e.push("tbody_close","tbody",-1),ie[1]=r),e.push("table_close","table",-1),P[1]=r,e.parentType=S,e.line=r,!0},["paragraph","reference"]],["code",function ose(e,n,t){if(e.sCount[n]-e.blkIndent<4)return!1;let i=n+1,r=i;for(;i<t;)if(e.isEmpty(i))i++;else{if(!(e.sCount[i]-e.blkIndent>=4))break;i++,r=i}e.line=r;const o=e.push("code_block","code",0);return o.content=e.getLines(n,r,4+e.blkIndent,!1)+"\n",o.map=[n,e.line],!0}],["fence",function ase(e,n,t,i){let r=e.bMarks[n]+e.tShift[n],o=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4||r+3>o)return!1;const a=e.src.charCodeAt(r);if(126!==a&&96!==a)return!1;let s=r;r=e.skipChars(r,a);let l=r-s;if(l<3)return!1;const c=e.src.slice(s,r),h=e.src.slice(r,o);if(96===a&&h.indexOf(String.fromCharCode(a))>=0)return!1;if(i)return!0;let p=n,S=!1;for(;p++,!(p>=t||(r=s=e.bMarks[p]+e.tShift[p],o=e.eMarks[p],r<o&&e.sCount[p]<e.blkIndent));)if(!(e.src.charCodeAt(r)!==a||e.sCount[p]-e.blkIndent>=4||(r=e.skipChars(r,a),r-s<l||(r=e.skipSpaces(r),r<o)))){S=!0;break}l=e.sCount[n],e.line=p+(S?1:0);const v=e.push("fence","code",0);return v.info=h,v.content=e.getLines(n+1,p,l,!0),v.markup=c,v.map=[n,e.line],!0},["paragraph","reference","blockquote","list"]],["blockquote",function sse(e,n,t,i){let r=e.bMarks[n]+e.tShift[n],o=e.eMarks[n];const a=e.lineMax;if(e.sCount[n]-e.blkIndent>=4||62!==e.src.charCodeAt(r))return!1;if(i)return!0;const s=[],l=[],c=[],h=[],p=e.md.block.ruler.getRules("blockquote"),S=e.parentType;e.parentType="blockquote";let C,v=!1;for(C=n;C<t;C++){const Me=e.sCount[C]<e.blkIndent;if(r=e.bMarks[C]+e.tShift[C],o=e.eMarks[C],r>=o)break;if(62===e.src.charCodeAt(r++)&&!Me){let it,Et,Be=e.sCount[C]+1;32===e.src.charCodeAt(r)?(r++,Be++,Et=!1,it=!0):9===e.src.charCodeAt(r)?(it=!0,(e.bsCount[C]+Be)%4==3?(r++,Be++,Et=!1):Et=!0):it=!1;let Jt=Be;for(s.push(e.bMarks[C]),e.bMarks[C]=r;r<o;){const $t=e.src.charCodeAt(r);if(!kr($t))break;9===$t?Jt+=4-(Jt+e.bsCount[C]+(Et?1:0))%4:Jt++,r++}v=r>=o,l.push(e.bsCount[C]),e.bsCount[C]=e.sCount[C]+1+(it?1:0),c.push(e.sCount[C]),e.sCount[C]=Jt-Be,h.push(e.tShift[C]),e.tShift[C]=r-e.bMarks[C];continue}if(v)break;let ke=!1;for(let Be=0,it=p.length;Be<it;Be++)if(p[Be](e,C,t,!0)){ke=!0;break}if(ke){e.lineMax=C,0!==e.blkIndent&&(s.push(e.bMarks[C]),l.push(e.bsCount[C]),h.push(e.tShift[C]),c.push(e.sCount[C]),e.sCount[C]-=e.blkIndent);break}s.push(e.bMarks[C]),l.push(e.bsCount[C]),h.push(e.tShift[C]),c.push(e.sCount[C]),e.sCount[C]=-1}const P=e.blkIndent;e.blkIndent=0;const Z=e.push("blockquote_open","blockquote",1);Z.markup=">";const re=[n,0];Z.map=re,e.md.block.tokenize(e,n,C),e.push("blockquote_close","blockquote",-1).markup=">",e.lineMax=a,e.parentType=S,re[1]=e.line;for(let Me=0;Me<h.length;Me++)e.bMarks[Me+n]=s[Me],e.tShift[Me+n]=h[Me],e.sCount[Me+n]=c[Me],e.bsCount[Me+n]=l[Me];return e.blkIndent=P,!0},["paragraph","reference","blockquote","list"]],["hr",function lse(e,n,t,i){const r=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4)return!1;let o=e.bMarks[n]+e.tShift[n];const a=e.src.charCodeAt(o++);if(42!==a&&45!==a&&95!==a)return!1;let s=1;for(;o<r;){const c=e.src.charCodeAt(o++);if(c!==a&&!kr(c))return!1;c===a&&s++}if(s<3)return!1;if(i)return!0;e.line=n+1;const l=e.push("hr","hr",0);return l.map=[n,e.line],l.markup=Array(s+1).join(String.fromCharCode(a)),!0},["paragraph","reference","blockquote","list"]],["list",function use(e,n,t,i){let r,o,a,s,l=n,c=!0;if(e.sCount[l]-e.blkIndent>=4||e.listIndent>=0&&e.sCount[l]-e.listIndent>=4&&e.sCount[l]<e.blkIndent)return!1;let p,S,v,h=!1;if(i&&"paragraph"===e.parentType&&e.sCount[l]>=e.blkIndent&&(h=!0),(v=tA(e,l))>=0){if(p=!0,a=e.bMarks[l]+e.tShift[l],S=Number(e.src.slice(a,v-1)),h&&1!==S)return!1}else{if(!((v=eA(e,l))>=0))return!1;p=!1}if(h&&e.skipSpaces(v)>=e.eMarks[l])return!1;if(i)return!0;const C=e.src.charCodeAt(v-1),P=e.tokens.length;p?(s=e.push("ordered_list_open","ol",1),1!==S&&(s.attrs=[["start",S]])):s=e.push("bullet_list_open","ul",1);const Z=[l,0];s.map=Z,s.markup=String.fromCharCode(C);let re=!1;const ie=e.md.block.ruler.getRules("list"),Me=e.parentType;for(e.parentType="list";l<t;){o=v,r=e.eMarks[l];const ke=e.sCount[l]+v-(e.bMarks[l]+e.tShift[l]);let Be=ke;for(;o<r;){const gi=e.src.charCodeAt(o);if(9===gi)Be+=4-(Be+e.bsCount[l])%4;else{if(32!==gi)break;Be++}o++}const it=o;let Et;Et=it>=r?1:Be-ke,Et>4&&(Et=1);const Jt=ke+Et;s=e.push("list_item_open","li",1),s.markup=String.fromCharCode(C);const $t=[l,0];s.map=$t,p&&(s.info=e.src.slice(a,v-1));const Bn=e.tight,Rr=e.tShift[l],Qi=e.sCount[l],Vo=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=Jt,e.tight=!0,e.tShift[l]=it-e.bMarks[l],e.sCount[l]=Be,it>=r&&e.isEmpty(l+1)?e.line=Math.min(e.line+2,t):e.md.block.tokenize(e,l,t,!0),(!e.tight||re)&&(c=!1),re=e.line-l>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=Vo,e.tShift[l]=Rr,e.sCount[l]=Qi,e.tight=Bn,s=e.push("list_item_close","li",-1),s.markup=String.fromCharCode(C),l=e.line,$t[1]=l,l>=t||e.sCount[l]<e.blkIndent||e.sCount[l]-e.blkIndent>=4)break;let wa=!1;for(let gi=0,at=ie.length;gi<at;gi++)if(ie[gi](e,l,t,!0)){wa=!0;break}if(wa)break;if(p){if(v=tA(e,l),v<0)break;a=e.bMarks[l]+e.tShift[l]}else if(v=eA(e,l),v<0)break;if(C!==e.src.charCodeAt(v-1))break}return s=p?e.push("ordered_list_close","ol",-1):e.push("bullet_list_close","ul",-1),s.markup=String.fromCharCode(C),Z[1]=l,e.line=l,e.parentType=Me,c&&function cse(e,n){const t=e.level+2;for(let i=n+2,r=e.tokens.length-2;i<r;i++)e.tokens[i].level===t&&"paragraph_open"===e.tokens[i].type&&(e.tokens[i+2].hidden=!0,e.tokens[i].hidden=!0,i+=2)}(e,P),!0},["paragraph","reference","blockquote"]],["reference",function dse(e,n,t,i){let r=e.bMarks[n]+e.tShift[n],o=e.eMarks[n],a=n+1;if(e.sCount[n]-e.blkIndent>=4||91!==e.src.charCodeAt(r))return!1;function s(ie){const Me=e.lineMax;if(ie>=Me||e.isEmpty(ie))return null;let ke=!1;if(e.sCount[ie]-e.blkIndent>3&&(ke=!0),e.sCount[ie]<0&&(ke=!0),!ke){const Et=e.md.block.ruler.getRules("reference"),Jt=e.parentType;e.parentType="reference";let $t=!1;for(let Bn=0,Rr=Et.length;Bn<Rr;Bn++)if(Et[Bn](e,ie,Me,!0)){$t=!0;break}if(e.parentType=Jt,$t)return null}return e.src.slice(e.bMarks[ie]+e.tShift[ie],e.eMarks[ie]+1)}let l=e.src.slice(r,o+1);o=l.length;let c=-1;for(r=1;r<o;r++){const ie=l.charCodeAt(r);if(91===ie)return!1;if(93===ie){c=r;break}if(10===ie){const Me=s(a);null!==Me&&(l+=Me,o=l.length,a++)}else if(92===ie&&(r++,r<o&&10===l.charCodeAt(r))){const Me=s(a);null!==Me&&(l+=Me,o=l.length,a++)}}if(c<0||58!==l.charCodeAt(c+1))return!1;for(r=c+2;r<o;r++){const ie=l.charCodeAt(r);if(10===ie){const Me=s(a);null!==Me&&(l+=Me,o=l.length,a++)}else if(!kr(ie))break}const h=e.md.helpers.parseLinkDestination(l,r,o);if(!h.ok)return!1;const p=e.md.normalizeLink(h.str);if(!e.md.validateLink(p))return!1;r=h.pos;const S=r,v=a,C=r;for(;r<o;r++){const ie=l.charCodeAt(r);if(10===ie){const Me=s(a);null!==Me&&(l+=Me,o=l.length,a++)}else if(!kr(ie))break}let Z,P=e.md.helpers.parseLinkTitle(l,r,o);for(;P.can_continue;){const ie=s(a);if(null===ie)break;l+=ie,r=o,o=l.length,a++,P=e.md.helpers.parseLinkTitle(l,r,o,P)}for(r<o&&C!==r&&P.ok?(Z=P.str,r=P.pos):(Z="",r=S,a=v);r<o&&kr(l.charCodeAt(r));)r++;if(r<o&&10!==l.charCodeAt(r)&&Z)for(Z="",r=S,a=v;r<o&&kr(l.charCodeAt(r));)r++;if(r<o&&10!==l.charCodeAt(r))return!1;const re=t8(l.slice(1,c));return!!re&&(i||(typeof e.env.references>"u"&&(e.env.references={}),typeof e.env.references[re]>"u"&&(e.env.references[re]={title:Z,href:p}),e.line=a),!0)}],["html_block",function Cse(e,n,t,i){let r=e.bMarks[n]+e.tShift[n],o=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4||!e.md.options.html||60!==e.src.charCodeAt(r))return!1;let a=e.src.slice(r,o),s=0;for(;s<Ed.length&&!Ed[s][0].test(a);s++);if(s===Ed.length)return!1;if(i)return Ed[s][2];let l=n+1;if(!Ed[s][1].test(a))for(;l<t&&!(e.sCount[l]<e.blkIndent);l++)if(r=e.bMarks[l]+e.tShift[l],o=e.eMarks[l],a=e.src.slice(r,o),Ed[s][1].test(a)){0!==a.length&&l++;break}e.line=l;const c=e.push("html_block","",0);return c.map=[n,l],c.content=e.getLines(n,l,e.blkIndent,!0),!0},["paragraph","reference","blockquote"]],["heading",function wse(e,n,t,i){let r=e.bMarks[n]+e.tShift[n],o=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4)return!1;let a=e.src.charCodeAt(r);if(35!==a||r>=o)return!1;let s=1;for(a=e.src.charCodeAt(++r);35===a&&r<o&&s<=6;)s++,a=e.src.charCodeAt(++r);if(s>6||r<o&&!kr(a))return!1;if(i)return!0;o=e.skipSpacesBack(o,r);const l=e.skipCharsBack(o,35,r);l>r&&kr(e.src.charCodeAt(l-1))&&(o=l),e.line=n+1;const c=e.push("heading_open","h"+String(s),1);c.markup="########".slice(0,s),c.map=[n,e.line];const h=e.push("inline","",0);return h.content=e.src.slice(r,o).trim(),h.map=[n,e.line],h.children=[],e.push("heading_close","h"+String(s),-1).markup="########".slice(0,s),!0},["paragraph","reference","blockquote"]],["lheading",function Sse(e,n,t){const i=e.md.block.ruler.getRules("paragraph");if(e.sCount[n]-e.blkIndent>=4)return!1;const r=e.parentType;e.parentType="paragraph";let a,o=0,s=n+1;for(;s<t&&!e.isEmpty(s);s++){if(e.sCount[s]-e.blkIndent>3)continue;if(e.sCount[s]>=e.blkIndent){let v=e.bMarks[s]+e.tShift[s];const C=e.eMarks[s];if(v<C&&(a=e.src.charCodeAt(v),(45===a||61===a)&&(v=e.skipChars(v,a),v=e.skipSpaces(v),v>=C))){o=61===a?1:2;break}}if(e.sCount[s]<0)continue;let S=!1;for(let v=0,C=i.length;v<C;v++)if(i[v](e,s,t,!0)){S=!0;break}if(S)break}if(!o)return!1;const l=e.getLines(n,s,e.blkIndent,!1).trim();e.line=s+1;const c=e.push("heading_open","h"+String(o),1);c.markup=String.fromCharCode(a),c.map=[n,e.line];const h=e.push("inline","",0);return h.content=l,h.map=[n,e.line-1],h.children=[],e.push("heading_close","h"+String(o),-1).markup=String.fromCharCode(a),e.parentType=r,!0}],["paragraph",function Mse(e,n,t){const i=e.md.block.ruler.getRules("paragraph"),r=e.parentType;let o=n+1;for(e.parentType="paragraph";o<t&&!e.isEmpty(o);o++){if(e.sCount[o]-e.blkIndent>3||e.sCount[o]<0)continue;let c=!1;for(let h=0,p=i.length;h<p;h++)if(i[h](e,o,t,!0)){c=!0;break}if(c)break}const a=e.getLines(n,o,e.blkIndent,!1).trim();e.line=o,e.push("paragraph_open","p",1).map=[n,e.line];const l=e.push("inline","",0);return l.content=a,l.map=[n,e.line],l.children=[],e.push("paragraph_close","p",-1),e.parentType=r,!0}]];function o8(){this.ruler=new n8;for(let e=0;e<r8.length;e++)this.ruler.push(r8[e][0],r8[e][1],{alt:(r8[e][2]||[]).slice()})}o8.prototype.tokenize=function(e,n,t){const i=this.ruler.getRules(""),r=i.length,o=e.md.options.maxNesting;let a=n,s=!1;for(;a<t&&(e.line=a=e.skipEmptyLines(a),!(a>=t||e.sCount[a]<e.blkIndent));){if(e.level>=o){e.line=t;break}const l=e.line;let c=!1;for(let h=0;h<r;h++)if(c=i[h](e,a,t,!1),c){if(l>=e.line)throw new Error("block rule didn't increment state.line");break}if(!c)throw new Error("none of the block rules matched");e.tight=!s,e.isEmpty(e.line-1)&&(s=!0),a=e.line,a<t&&e.isEmpty(a)&&(s=!0,a++,e.line=a)}},o8.prototype.parse=function(e,n,t,i){if(!e)return;const r=new this.State(e,n,t,i);this.tokenize(r,r.line,r.lineMax)},o8.prototype.State=nse;const Tse=o8;function Wh(e,n,t,i){this.src=e,this.env=t,this.md=n,this.tokens=i,this.tokens_meta=Array(i.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1,this.linkLevel=0}Wh.prototype.pushPending=function(){const e=new kd("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e},Wh.prototype.push=function(e,n,t){this.pending&&this.pushPending();const i=new kd(e,n,t);let r=null;return t<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),i.level=this.level,t>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],r={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(i),this.tokens_meta.push(r),i},Wh.prototype.scanDelims=function(e,n){const t=this.posMax,i=this.src.charCodeAt(e),r=e>0?this.src.charCodeAt(e-1):32;let o=e;for(;o<t&&this.src.charCodeAt(o)===i;)o++;const a=o-e,s=o<t?this.src.charCodeAt(o):32,l=$h(r)||jh(String.fromCharCode(r)),c=$h(s)||jh(String.fromCharCode(s)),h=Yh(r),p=Yh(s),S=!p&&(!c||h||l),v=!h&&(!l||p||c);return{can_open:S&&(n||!v||l),can_close:v&&(n||!S||c),length:a}},Wh.prototype.Token=kd;const Dse=Wh;function xse(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}const Ese=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i,Qv=[];for(let e=0;e<256;e++)Qv.push(0);function rA(e,n){let t;const i=[],r=n.length;for(let o=0;o<r;o++){const a=n[o];if(126!==a.marker||-1===a.end)continue;const s=n[a.end];t=e.tokens[a.token],t.type="s_open",t.tag="s",t.nesting=1,t.markup="~~",t.content="",t=e.tokens[s.token],t.type="s_close",t.tag="s",t.nesting=-1,t.markup="~~",t.content="","text"===e.tokens[s.token-1].type&&"~"===e.tokens[s.token-1].content&&i.push(s.token-1)}for(;i.length;){const o=i.pop();let a=o+1;for(;a<e.tokens.length&&"s_close"===e.tokens[a].type;)a++;a--,o!==a&&(t=e.tokens[a],e.tokens[a]=e.tokens[o],e.tokens[o]=t)}}"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(e){Qv[e.charCodeAt(0)]=1});const oA={tokenize:function Ose(e,n){const i=e.src.charCodeAt(e.pos);if(n||126!==i)return!1;const r=e.scanDelims(e.pos,!0);let o=r.length;const a=String.fromCharCode(i);if(o<2)return!1;let s;o%2&&(s=e.push("text","",0),s.content=a,o--);for(let l=0;l<o;l+=2)s=e.push("text","",0),s.content=a+a,e.delimiters.push({marker:i,length:0,token:e.tokens.length-1,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0},postProcess:function Pse(e){const n=e.tokens_meta,t=e.tokens_meta.length;rA(e,e.delimiters);for(let i=0;i<t;i++)n[i]&&n[i].delimiters&&rA(e,n[i].delimiters)}};function aA(e,n){for(let i=n.length-1;i>=0;i--){const r=n[i];if(95!==r.marker&&42!==r.marker||-1===r.end)continue;const o=n[r.end],a=i>0&&n[i-1].end===r.end+1&&n[i-1].marker===r.marker&&n[i-1].token===r.token-1&&n[r.end+1].token===o.token+1,s=String.fromCharCode(r.marker),l=e.tokens[r.token];l.type=a?"strong_open":"em_open",l.tag=a?"strong":"em",l.nesting=1,l.markup=a?s+s:s,l.content="";const c=e.tokens[o.token];c.type=a?"strong_close":"em_close",c.tag=a?"strong":"em",c.nesting=-1,c.markup=a?s+s:s,c.content="",a&&(e.tokens[n[i-1].token].content="",e.tokens[n[r.end+1].token].content="",i--)}}const sA={tokenize:function Nse(e,n){const i=e.src.charCodeAt(e.pos);if(n||95!==i&&42!==i)return!1;const r=e.scanDelims(e.pos,42===i);for(let o=0;o<r.length;o++)e.push("text","",0).content=String.fromCharCode(i),e.delimiters.push({marker:i,length:r.length,token:e.tokens.length-1,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0},postProcess:function Fse(e){const n=e.tokens_meta,t=e.tokens_meta.length;aA(e,e.delimiters);for(let i=0;i<t;i++)n[i]&&n[i].delimiters&&aA(e,n[i].delimiters)}},Vse=/^([a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,Bse=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/,Wse=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,Gse=/^&([a-z][a-z0-9]{1,31});/i;function lA(e){const n={},t=e.length;if(!t)return;let i=0,r=-2;const o=[];for(let a=0;a<t;a++){const s=e[a];if(o.push(0),(e[i].marker!==s.marker||r!==s.token-1)&&(i=a),r=s.token,s.length=s.length||0,!s.close)continue;n.hasOwnProperty(s.marker)||(n[s.marker]=[-1,-1,-1,-1,-1,-1]);const l=n[s.marker][(s.open?3:0)+s.length%3];let c=i-o[i]-1,h=c;for(;c>l;c-=o[c]+1){const p=e[c];if(p.marker===s.marker&&p.open&&p.end<0){let S=!1;if((p.close||s.open)&&(p.length+s.length)%3==0&&(p.length%3!=0||s.length%3!=0)&&(S=!0),!S){const v=c>0&&!e[c-1].open?o[c-1]+1:0;o[a]=a-c+v,o[c]=v,s.open=!1,p.end=a,p.close=!1,h=-1,r=-2;break}}}-1!==h&&(n[s.marker][(s.open?3:0)+(s.length||0)%3]=h)}}const Zv=[["text",function kse(e,n){let t=e.pos;for(;t<e.posMax&&!xse(e.src.charCodeAt(t));)t++;return t!==e.pos&&(n||(e.pending+=e.src.slice(e.pos,t)),e.pos=t,!0)}],["linkify",function Ise(e,n){if(!e.md.options.linkify||e.linkLevel>0)return!1;const t=e.pos;if(t+3>e.posMax||58!==e.src.charCodeAt(t)||47!==e.src.charCodeAt(t+1)||47!==e.src.charCodeAt(t+2))return!1;const r=e.pending.match(Ese);if(!r)return!1;const o=r[1],a=e.md.linkify.matchAtStart(e.src.slice(t-o.length));if(!a)return!1;let s=a.url;if(s.length<=o.length)return!1;let l=s.length;for(;l>0&&42===s.charCodeAt(l-1);)l--;l!==s.length&&(s=s.slice(0,l));const c=e.md.normalizeLink(s);if(!e.md.validateLink(c))return!1;if(!n){e.pending=e.pending.slice(0,-o.length);const h=e.push("link_open","a",1);h.attrs=[["href",c]],h.markup="linkify",h.info="auto",e.push("text","",0).content=e.md.normalizeLinkText(s);const S=e.push("link_close","a",-1);S.markup="linkify",S.info="auto"}return e.pos+=s.length-o.length,!0}],["newline",function zse(e,n){let t=e.pos;if(10!==e.src.charCodeAt(t))return!1;const i=e.pending.length-1,r=e.posMax;if(!n)if(i>=0&&32===e.pending.charCodeAt(i))if(i>=1&&32===e.pending.charCodeAt(i-1)){let o=i-1;for(;o>=1&&32===e.pending.charCodeAt(o-1);)o--;e.pending=e.pending.slice(0,o),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(t++;t<r&&kr(e.src.charCodeAt(t));)t++;return e.pos=t,!0}],["escape",function Ase(e,n){let t=e.pos;const i=e.posMax;if(92!==e.src.charCodeAt(t)||(t++,t>=i))return!1;let r=e.src.charCodeAt(t);if(10===r){for(n||e.push("hardbreak","br",0),t++;t<i&&(r=e.src.charCodeAt(t),kr(r));)t++;return e.pos=t,!0}let o=e.src[t];if(r>=55296&&r<=56319&&t+1<i){const s=e.src.charCodeAt(t+1);s>=56320&&s<=57343&&(o+=e.src[t+1],t++)}const a="\\"+o;if(!n){const s=e.push("text_special","",0);s.content=r<256&&0!==Qv[r]?o:a,s.markup=a,s.info="escape"}return e.pos=t+1,!0}],["backticks",function Lse(e,n){let t=e.pos;if(96!==e.src.charCodeAt(t))return!1;const r=t;t++;const o=e.posMax;for(;t<o&&96===e.src.charCodeAt(t);)t++;const a=e.src.slice(r,t),s=a.length;if(e.backticksScanned&&(e.backticks[s]||0)<=r)return n||(e.pending+=a),e.pos+=s,!0;let c,l=t;for(;-1!==(c=e.src.indexOf("`",l));){for(l=c+1;l<o&&96===e.src.charCodeAt(l);)l++;const h=l-c;if(h===s){if(!n){const p=e.push("code_inline","code",0);p.markup=a,p.content=e.src.slice(t,c).replace(/\n/g," ").replace(/^ (.+) $/,"$1")}return e.pos=l,!0}e.backticks[h]=c}return e.backticksScanned=!0,n||(e.pending+=a),e.pos+=s,!0}],["strikethrough",oA.tokenize],["emphasis",sA.tokenize],["link",function Rse(e,n){let t,i,r,o,a="",s="",l=e.pos,c=!0;if(91!==e.src.charCodeAt(e.pos))return!1;const h=e.pos,p=e.posMax,S=e.pos+1,v=e.md.helpers.parseLinkLabel(e,e.pos,!0);if(v<0)return!1;let C=v+1;if(C<p&&40===e.src.charCodeAt(C)){for(c=!1,C++;C<p&&(t=e.src.charCodeAt(C),kr(t)||10===t);C++);if(C>=p)return!1;if(l=C,r=e.md.helpers.parseLinkDestination(e.src,C,e.posMax),r.ok){for(a=e.md.normalizeLink(r.str),e.md.validateLink(a)?C=r.pos:a="",l=C;C<p&&(t=e.src.charCodeAt(C),kr(t)||10===t);C++);if(r=e.md.helpers.parseLinkTitle(e.src,C,e.posMax),C<p&&l!==C&&r.ok)for(s=r.str,C=r.pos;C<p&&(t=e.src.charCodeAt(C),kr(t)||10===t);C++);}(C>=p||41!==e.src.charCodeAt(C))&&(c=!0),C++}if(c){if(typeof e.env.references>"u")return!1;if(C<p&&91===e.src.charCodeAt(C)?(l=C+1,C=e.md.helpers.parseLinkLabel(e,C),C>=0?i=e.src.slice(l,C++):C=v+1):C=v+1,i||(i=e.src.slice(S,v)),o=e.env.references[t8(i)],!o)return e.pos=h,!1;a=o.href,s=o.title}if(!n){e.pos=S,e.posMax=v;const Z=[["href",a]];e.push("link_open","a",1).attrs=Z,s&&Z.push(["title",s]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)}return e.pos=C,e.posMax=p,!0}],["image",function Hse(e,n){let t,i,r,o,a,s,l,c,h="";const p=e.pos,S=e.posMax;if(33!==e.src.charCodeAt(e.pos)||91!==e.src.charCodeAt(e.pos+1))return!1;const v=e.pos+2,C=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(C<0)return!1;if(o=C+1,o<S&&40===e.src.charCodeAt(o)){for(o++;o<S&&(t=e.src.charCodeAt(o),kr(t)||10===t);o++);if(o>=S)return!1;for(c=o,s=e.md.helpers.parseLinkDestination(e.src,o,e.posMax),s.ok&&(h=e.md.normalizeLink(s.str),e.md.validateLink(h)?o=s.pos:h=""),c=o;o<S&&(t=e.src.charCodeAt(o),kr(t)||10===t);o++);if(s=e.md.helpers.parseLinkTitle(e.src,o,e.posMax),o<S&&c!==o&&s.ok)for(l=s.str,o=s.pos;o<S&&(t=e.src.charCodeAt(o),kr(t)||10===t);o++);else l="";if(o>=S||41!==e.src.charCodeAt(o))return e.pos=p,!1;o++}else{if(typeof e.env.references>"u")return!1;if(o<S&&91===e.src.charCodeAt(o)?(c=o+1,o=e.md.helpers.parseLinkLabel(e,o),o>=0?r=e.src.slice(c,o++):o=C+1):o=C+1,r||(r=e.src.slice(v,C)),a=e.env.references[t8(r)],!a)return e.pos=p,!1;h=a.href,l=a.title}if(!n){i=e.src.slice(v,C);const P=[];e.md.inline.parse(i,e.md,e.env,P);const Z=e.push("image","img",0),re=[["src",h],["alt",""]];Z.attrs=re,Z.children=P,Z.content=i,l&&re.push(["title",l])}return e.pos=o,e.posMax=S,!0}],["autolink",function Use(e,n){let t=e.pos;if(60!==e.src.charCodeAt(t))return!1;const i=e.pos,r=e.posMax;for(;;){if(++t>=r)return!1;const a=e.src.charCodeAt(t);if(60===a)return!1;if(62===a)break}const o=e.src.slice(i+1,t);if(Bse.test(o)){const a=e.md.normalizeLink(o);if(!e.md.validateLink(a))return!1;if(!n){const s=e.push("link_open","a",1);s.attrs=[["href",a]],s.markup="autolink",s.info="auto",e.push("text","",0).content=e.md.normalizeLinkText(o);const c=e.push("link_close","a",-1);c.markup="autolink",c.info="auto"}return e.pos+=o.length+2,!0}if(Vse.test(o)){const a=e.md.normalizeLink("mailto:"+o);if(!e.md.validateLink(a))return!1;if(!n){const s=e.push("link_open","a",1);s.attrs=[["href",a]],s.markup="autolink",s.info="auto",e.push("text","",0).content=e.md.normalizeLinkText(o);const c=e.push("link_close","a",-1);c.markup="autolink",c.info="auto"}return e.pos+=o.length+2,!0}return!1}],["html_inline",function $se(e,n){if(!e.md.options.html)return!1;const t=e.posMax,i=e.pos;if(60!==e.src.charCodeAt(i)||i+2>=t)return!1;const r=e.src.charCodeAt(i+1);if(33!==r&&63!==r&&47!==r&&!function jse(e){const n=32|e;return n>=97&&n<=122}(r))return!1;const o=e.src.slice(i).match(yse);if(!o)return!1;if(!n){const a=e.push("html_inline","",0);a.content=o[0],function qse(e){return/^<a[>\s]/i.test(e)}(a.content)&&e.linkLevel++,function Yse(e){return/^<\/a\s*>/i.test(e)}(a.content)&&e.linkLevel--}return e.pos+=o[0].length,!0}],["entity",function Kse(e,n){const t=e.pos,i=e.posMax;if(38!==e.src.charCodeAt(t)||t+1>=i)return!1;if(35===e.src.charCodeAt(t+1)){const o=e.src.slice(t).match(Wse);if(o){if(!n){const a="x"===o[1][0].toLowerCase()?parseInt(o[1].slice(1),16):parseInt(o[1],10),s=e.push("text_special","",0);s.content=$v(a)?e8(a):e8(65533),s.markup=o[0],s.info="entity"}return e.pos+=o[0].length,!0}}else{const o=e.src.slice(t).match(Gse);if(o){const a=gz(o[0]);if(a!==o[0]){if(!n){const s=e.push("text_special","",0);s.content=a,s.markup=o[0],s.info="entity"}return e.pos+=o[0].length,!0}}}return!1}]],Xv=[["balance_pairs",function Qse(e){const n=e.tokens_meta,t=e.tokens_meta.length;lA(e.delimiters);for(let i=0;i<t;i++)n[i]&&n[i].delimiters&&lA(n[i].delimiters)}],["strikethrough",oA.postProcess],["emphasis",sA.postProcess],["fragments_join",function Zse(e){let n,t,i=0;const r=e.tokens,o=e.tokens.length;for(n=t=0;n<o;n++)r[n].nesting<0&&i--,r[n].level=i,r[n].nesting>0&&i++,"text"===r[n].type&&n+1<o&&"text"===r[n+1].type?r[n+1].content=r[n].content+r[n+1].content:(n!==t&&(r[t]=r[n]),t++);n!==t&&(r.length=t)}]];function Gh(){this.ruler=new n8;for(let e=0;e<Zv.length;e++)this.ruler.push(Zv[e][0],Zv[e][1]);this.ruler2=new n8;for(let e=0;e<Xv.length;e++)this.ruler2.push(Xv[e][0],Xv[e][1])}Gh.prototype.skipToken=function(e){const n=e.pos,t=this.ruler.getRules(""),i=t.length,r=e.md.options.maxNesting,o=e.cache;if(typeof o[n]<"u")return void(e.pos=o[n]);let a=!1;if(e.level<r){for(let s=0;s<i;s++)if(e.level++,a=t[s](e,!0),e.level--,a){if(n>=e.pos)throw new Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;a||e.pos++,o[n]=e.pos},Gh.prototype.tokenize=function(e){const n=this.ruler.getRules(""),t=n.length,i=e.posMax,r=e.md.options.maxNesting;for(;e.pos<i;){const o=e.pos;let a=!1;if(e.level<r)for(let s=0;s<t;s++)if(a=n[s](e,!1),a){if(o>=e.pos)throw new Error("inline rule didn't increment state.pos");break}if(a){if(e.pos>=i)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},Gh.prototype.parse=function(e,n,t,i){const r=new this.State(e,n,t,i);this.tokenize(r);const o=this.ruler2.getRules(""),a=o.length;for(let s=0;s<a;s++)o[s](r)},Gh.prototype.State=Dse;const Xse=Gh;function Jv(e){return Array.prototype.slice.call(arguments,1).forEach(function(t){t&&Object.keys(t).forEach(function(i){e[i]=t[i]})}),e}function a8(e){return Object.prototype.toString.call(e)}function cA(e){return"[object Function]"===a8(e)}function ile(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}const uA={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1},ole={"http:":{validate:function(e,n,t){const i=e.slice(n);return t.re.http||(t.re.http=new RegExp("^\\/\\/"+t.re.src_auth+t.re.src_host_port_strict+t.re.src_path,"i")),t.re.http.test(i)?i.match(t.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,n,t){const i=e.slice(n);return t.re.no_http||(t.re.no_http=new RegExp("^"+t.re.src_auth+"(?:localhost|(?:(?:"+t.re.src_domain+")\\.)+"+t.re.src_domain_root+")"+t.re.src_port+t.re.src_host_terminator+t.re.src_path,"i")),t.re.no_http.test(i)?n>=3&&":"===e[n-3]||n>=3&&"/"===e[n-3]?0:i.match(t.re.no_http)[0].length:0}},"mailto:":{validate:function(e,n,t){const i=e.slice(n);return t.re.mailto||(t.re.mailto=new RegExp("^"+t.re.src_email_name+"@"+t.re.src_host_strict,"i")),t.re.mailto.test(i)?i.match(t.re.mailto)[0].length:0}}},sle="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|\u0440\u0444".split("|");function s8(e){const n=e.re=function Jse(e){const n={};e=e||{},n.src_Any=Yz.source,n.src_Cc=jz.source,n.src_Z=$z.source,n.src_P=Yv.source,n.src_ZPCc=[n.src_Z,n.src_P,n.src_Cc].join("|"),n.src_ZCc=[n.src_Z,n.src_Cc].join("|");return n.src_pseudo_letter="(?:(?![><\uff5c]|"+n.src_ZPCc+")"+n.src_Any+")",n.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",n.src_auth="(?:(?:(?!"+n.src_ZCc+"|[@/\\[\\]()]).)+@)?",n.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",n.src_host_terminator="(?=$|[><\uff5c]|"+n.src_ZPCc+")(?!"+(e["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+n.src_ZPCc+"))",n.src_path="(?:[/?#](?:(?!"+n.src_ZCc+"|[><\uff5c]|[()[\\]{}.,\"'?!\\-;]).|\\[(?:(?!"+n.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+n.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+n.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+n.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+n.src_ZCc+"|[']).)+\\'|\\'(?="+n.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+n.src_ZCc+"|[.]|$)|"+(e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+n.src_ZCc+"|$)|;(?!"+n.src_ZCc+"|$)|\\!+(?!"+n.src_ZCc+"|[!]|$)|\\?(?!"+n.src_ZCc+"|[?]|$))+|\\/)?",n.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',n.src_xn="xn--[a-z0-9\\-]{1,59}",n.src_domain_root="(?:"+n.src_xn+"|"+n.src_pseudo_letter+"{1,63})",n.src_domain="(?:"+n.src_xn+"|(?:"+n.src_pseudo_letter+")|(?:"+n.src_pseudo_letter+"(?:-|"+n.src_pseudo_letter+"){0,61}"+n.src_pseudo_letter+"))",n.src_host="(?:(?:(?:(?:"+n.src_domain+")\\.)*"+n.src_domain+"))",n.tpl_host_fuzzy="(?:"+n.src_ip4+"|(?:(?:(?:"+n.src_domain+")\\.)+(?:%TLDS%)))",n.tpl_host_no_ip_fuzzy="(?:(?:(?:"+n.src_domain+")\\.)+(?:%TLDS%))",n.src_host_strict=n.src_host+n.src_host_terminator,n.tpl_host_fuzzy_strict=n.tpl_host_fuzzy+n.src_host_terminator,n.src_host_port_strict=n.src_host+n.src_port+n.src_host_terminator,n.tpl_host_port_fuzzy_strict=n.tpl_host_fuzzy+n.src_port+n.src_host_terminator,n.tpl_host_port_no_ip_fuzzy_strict=n.tpl_host_no_ip_fuzzy+n.src_port+n.src_host_terminator,n.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+n.src_ZPCc+"|>|$))",n.tpl_email_fuzzy='(^|[><\uff5c]|"|\\(|'+n.src_ZCc+")("+n.src_email_name+"@"+n.tpl_host_fuzzy_strict+")",n.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|\uff5c]|"+n.src_ZPCc+"))((?![$+<=>^`|\uff5c])"+n.tpl_host_port_fuzzy_strict+n.src_path+")",n.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|\uff5c]|"+n.src_ZPCc+"))((?![$+<=>^`|\uff5c])"+n.tpl_host_port_no_ip_fuzzy_strict+n.src_path+")",n}(e.__opts__),t=e.__tlds__.slice();function i(s){return s.replace("%TLDS%",n.src_tlds)}e.onCompile(),e.__tlds_replaced__||t.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),t.push(n.src_xn),n.src_tlds=t.join("|"),n.email_fuzzy=RegExp(i(n.tpl_email_fuzzy),"i"),n.link_fuzzy=RegExp(i(n.tpl_link_fuzzy),"i"),n.link_no_ip_fuzzy=RegExp(i(n.tpl_link_no_ip_fuzzy),"i"),n.host_fuzzy_test=RegExp(i(n.tpl_host_fuzzy_test),"i");const r=[];function o(s,l){throw new Error('(LinkifyIt) Invalid schema "'+s+'": '+l)}e.__compiled__={},Object.keys(e.__schemas__).forEach(function(s){const l=e.__schemas__[s];if(null===l)return;const c={validate:null,link:null};if(e.__compiled__[s]=c,function tle(e){return"[object Object]"===a8(e)}(l))return function nle(e){return"[object RegExp]"===a8(e)}(l.validate)?c.validate=function cle(e){return function(n,t){const i=n.slice(t);return e.test(i)?i.match(e)[0].length:0}}(l.validate):cA(l.validate)?c.validate=l.validate:o(s,l),void(cA(l.normalize)?c.normalize=l.normalize:l.normalize?o(s,l):c.normalize=function(e,n){n.normalize(e)});!function ele(e){return"[object String]"===a8(e)}(l)?o(s,l):r.push(s)}),r.forEach(function(s){e.__compiled__[e.__schemas__[s]]&&(e.__compiled__[s].validate=e.__compiled__[e.__schemas__[s]].validate,e.__compiled__[s].normalize=e.__compiled__[e.__schemas__[s]].normalize)}),e.__compiled__[""]={validate:null,normalize:function(e,n){n.normalize(e)}};const a=Object.keys(e.__compiled__).filter(function(s){return s.length>0&&e.__compiled__[s]}).map(ile).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><\uff5c]|"+n.src_ZPCc+"))("+a+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><\uff5c]|"+n.src_ZPCc+"))("+a+")","ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),function lle(e){e.__index__=-1,e.__text_cache__=""}(e)}function ule(e,n){const t=e.__index__,i=e.__last_index__,r=e.__text_cache__.slice(t,i);this.schema=e.__schema__.toLowerCase(),this.index=t+n,this.lastIndex=i+n,this.raw=r,this.text=r,this.url=r}function e9(e,n){const t=new ule(e,n);return e.__compiled__[t.schema].normalize(t,e),t}function xs(e,n){if(!(this instanceof xs))return new xs(e,n);n||function rle(e){return Object.keys(e||{}).reduce(function(n,t){return n||uA.hasOwnProperty(t)},!1)}(e)&&(n=e,e={}),this.__opts__=Jv({},uA,n),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=Jv({},ole,e),this.__compiled__={},this.__tlds__=sle,this.__tlds_replaced__=!1,this.re={},s8(this)}xs.prototype.add=function(n,t){return this.__schemas__[n]=t,s8(this),this},xs.prototype.set=function(n){return this.__opts__=Jv(this.__opts__,n),this},xs.prototype.test=function(n){if(this.__text_cache__=n,this.__index__=-1,!n.length)return!1;let t,i,r,o,a,s,l,c,h;if(this.re.schema_test.test(n))for(l=this.re.schema_search,l.lastIndex=0;null!==(t=l.exec(n));)if(o=this.testSchemaAt(n,t[2],l.lastIndex),o){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+o;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(c=n.search(this.re.host_fuzzy_test),c>=0&&(this.__index__<0||c<this.__index__)&&null!==(i=n.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(a=i.index+i[1].length,(this.__index__<0||a<this.__index__)&&(this.__schema__="",this.__index__=a,this.__last_index__=i.index+i[0].length))),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&(h=n.indexOf("@"),h>=0&&null!==(r=n.match(this.re.email_fuzzy))&&(a=r.index+r[1].length,s=r.index+r[0].length,(this.__index__<0||a<this.__index__||a===this.__index__&&s>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=a,this.__last_index__=s))),this.__index__>=0},xs.prototype.pretest=function(n){return this.re.pretest.test(n)},xs.prototype.testSchemaAt=function(n,t,i){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(n,i,this):0},xs.prototype.match=function(n){const t=[];let i=0;this.__index__>=0&&this.__text_cache__===n&&(t.push(e9(this,i)),i=this.__last_index__);let r=i?n.slice(i):n;for(;this.test(r);)t.push(e9(this,i)),r=r.slice(this.__last_index__),i+=this.__last_index__;return t.length?t:null},xs.prototype.matchAtStart=function(n){if(this.__text_cache__=n,this.__index__=-1,!n.length)return null;const t=this.re.schema_at_start.exec(n);if(!t)return null;const i=this.testSchemaAt(n,t[2],t[0].length);return i?(this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+i,e9(this,0)):null},xs.prototype.tlds=function(n,t){return n=Array.isArray(n)?n:[n],t?(this.__tlds__=this.__tlds__.concat(n).sort().filter(function(i,r,o){return i!==o[r-1]}).reverse(),s8(this),this):(this.__tlds__=n.slice(),this.__tlds_replaced__=!0,s8(this),this)},xs.prototype.normalize=function(n){n.schema||(n.url="http://"+n.url),"mailto:"===n.schema&&!/^mailto:/i.test(n.url)&&(n.url="mailto:"+n.url)},xs.prototype.onCompile=function(){};const dle=xs,Id=2147483647,ple=/^xn--/,mle=/[^\0-\x7F]/,gle=/[\x2E\u3002\uFF0E\uFF61]/g,vle={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},cc=Math.floor,i9=String.fromCharCode;function Fu(e){throw new RangeError(vle[e])}function mA(e,n){const t=e.split("@");let i="";t.length>1&&(i=t[0]+"@",e=t[1]);const o=function _le(e,n){const t=[];let i=e.length;for(;i--;)t[i]=n(e[i]);return t}((e=e.replace(gle,".")).split("."),n).join(".");return i+o}const ble=function(e){return e>=48&&e<58?e-48+26:e>=65&&e<91?e-65:e>=97&&e<123?e-97:36},vA=function(e,n){return e+22+75*(e<26)-((0!=n)<<5)},_A=function(e,n,t){let i=0;for(e=t?cc(e/700):e>>1,e+=cc(e/n);e>455;i+=36)e=cc(e/35);return cc(i+36*e/(e+38))},CA_toASCII=function(e){return mA(e,function(n){return mle.test(n)?"xn--"+function(e){const n=[],t=(e=function gA(e){const n=[];let t=0;const i=e.length;for(;t<i;){const r=e.charCodeAt(t++);if(r>=55296&&r<=56319&&t<i){const o=e.charCodeAt(t++);56320==(64512&o)?n.push(((1023&r)<<10)+(1023&o)+65536):(n.push(r),t--)}else n.push(r)}return n}(e)).length;let i=128,r=0,o=72;for(const l of e)l<128&&n.push(i9(l));const a=n.length;let s=a;for(a&&n.push("-");s<t;){let l=Id;for(const h of e)h>=i&&h<l&&(l=h);const c=s+1;l-i>cc((Id-r)/c)&&Fu("overflow"),r+=(l-i)*c,i=l;for(const h of e)if(h<i&&++r>Id&&Fu("overflow"),h===i){let p=r;for(let S=36;;S+=36){const v=S<=o?1:S>=o+26?26:S-o;if(p<v)break;const C=p-v,P=36-v;n.push(i9(vA(v+C%P,0))),p=cc(C/P)}n.push(i9(vA(p,0))),o=_A(r,c,s===a),r=0,++s}++r,++i}return n.join("")}(n):n})},CA_toUnicode=function(e){return mA(e,function(n){return ple.test(n)?function(e){const n=[],t=e.length;let i=0,r=128,o=72,a=e.lastIndexOf("-");a<0&&(a=0);for(let s=0;s<a;++s)e.charCodeAt(s)>=128&&Fu("not-basic"),n.push(e.charCodeAt(s));for(let s=a>0?a+1:0;s<t;){const l=i;for(let h=1,p=36;;p+=36){s>=t&&Fu("invalid-input");const S=ble(e.charCodeAt(s++));S>=36&&Fu("invalid-input"),S>cc((Id-i)/h)&&Fu("overflow"),i+=S*h;const v=p<=o?1:p>=o+26?26:p-o;if(S<v)break;const C=36-v;h>cc(Id/C)&&Fu("overflow"),h*=C}const c=n.length+1;o=_A(i-l,c,0==l),cc(i/c)>Id-r&&Fu("overflow"),r+=cc(i/c),i%=c,n.splice(i++,0,r)}return String.fromCodePoint(...n)}(n.slice(4).toLowerCase()):n})},Cle={default:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"\u201c\u201d\u2018\u2019",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},zero:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"\u201c\u201d\u2018\u2019",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}},commonmark:{options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"\u201c\u201d\u2018\u2019",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}}},wle=/^(vbscript|javascript|file|data):/,Sle=/^data:image\/(gif|png|jpeg|webp);/;function Mle(e){const n=e.trim().toLowerCase();return!wle.test(n)||Sle.test(n)}const wA=["http:","https:","mailto:"];function Tle(e){const n=qv(e,!0);if(n.hostname&&(!n.protocol||wA.indexOf(n.protocol)>=0))try{n.hostname=CA_toASCII(n.hostname)}catch{}return Fz(Uv(n))}function Dle(e){const n=qv(e,!0);if(n.hostname&&(!n.protocol||wA.indexOf(n.protocol)>=0))try{n.hostname=CA_toUnicode(n.hostname)}catch{}return Bv(Uv(n),Bv.defaultChars+"%")}function Xs(e,n){if(!(this instanceof Xs))return new Xs(e,n);n||jv(e)||(n=e||{},e="default"),this.inline=new Xse,this.block=new Tse,this.core=new tse,this.renderer=new Oae,this.linkify=new dle,this.validateLink=Mle,this.normalizeLink=Tle,this.normalizeLinkText=Dle,this.utils=Y,this.helpers=J6({},Q),this.options={},this.configure(e),n&&this.set(n)}Xs.prototype.set=function(e){return J6(this.options,e),this},Xs.prototype.configure=function(e){const n=this;if(jv(e)){const t=e;if(!(e=Cle[t]))throw new Error('Wrong `markdown-it` preset "'+t+'", check name')}if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&n.set(e.options),e.components&&Object.keys(e.components).forEach(function(t){e.components[t].rules&&n[t].ruler.enableOnly(e.components[t].rules),e.components[t].rules2&&n[t].ruler2.enableOnly(e.components[t].rules2)}),this},Xs.prototype.enable=function(e,n){let t=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(r){t=t.concat(this[r].ruler.enable(e,!0))},this),t=t.concat(this.inline.ruler2.enable(e,!0));const i=e.filter(function(r){return t.indexOf(r)<0});if(i.length&&!n)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+i);return this},Xs.prototype.disable=function(e,n){let t=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(r){t=t.concat(this[r].ruler.disable(e,!0))},this),t=t.concat(this.inline.ruler2.disable(e,!0));const i=e.filter(function(r){return t.indexOf(r)<0});if(i.length&&!n)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+i);return this},Xs.prototype.use=function(e){const n=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,n),this},Xs.prototype.parse=function(e,n){if("string"!=typeof e)throw new Error("Input data should be a String");const t=new this.core.State(e,this,n);return this.core.process(t),t.tokens},Xs.prototype.render=function(e,n){return this.renderer.render(this.parse(e,n=n||{}),this.options,n)},Xs.prototype.parseInline=function(e,n){const t=new this.core.State(e,this,n);return t.inlineMode=!0,this.core.process(t),t.tokens},Xs.prototype.renderInline=function(e,n){return this.renderer.render(this.parseInline(e,n=n||{}),this.options,n)};const SA=Xs("commonmark",{html:!1}),ki={assignValueToItem:function(e,n,t){var i=!1;if(t=t||n&&n._type,n&&"Quantity"===t){e.value!==n.value&&(e.value=n.value,i=!0);var r={name:n.name};n.code&&(r.code=n.code,n.system&&(r.system=n.system)),tn.deepEqual(e.unit,r)||(e.unit=r,i=!0)}else tn.deepEqual(e.value,n)||(e.value=n,i=!0);return i},modelForOffListUnit:function(e){return e?{name:e,_displayUnit:e}:void 0},setAnswerTextHTML:function(e,n,t,i,r){if(e.textHTML=n.valueString,t){i&&e.textHTML.match(/img/)&&e.textHTML.match(/src/)&&(e.textHTML=this._getHtmlStringWithContainedImages(i,e.textHTML)||e.textHTML);let o=this.checkForInvalidHtmlTags(e.textHTML);if(o&&o.length>0){e._hasInvalidHTMLTagInText=!0;let a={};this.errorMessages.addMsg(a,"invalidTagInAnswerOptionHTMLContent");let s=[{errors:a}];this.printInvalidHtmlToConsole(o),this.setItemMessagesArray(r,s,"setAnswerTextHTML")}}},setAnswerTextMarkdown:function(e,n){e.textMarkdown=SA.render(n.valueString)},checkForInvalidHtmlTags:function(e,n=!1){let t=[];const o=["html","head","body","ref","script","form","base","link","xlink","iframe","object"].concat(["applet","basefont","blink","center","dir","embed","font","frame","frameset","isindex","noframes","marquee","menu","plaintext","s","strike","u"]),a=/^(?:data:|#|\/)/i,l=["background","background-image","border","border-image","border-image-source","content","cursor","filter","list-style","list-style-image","mask","mask-image","offset-path","clip-path"],c={a:["href"],area:["href"],blockquote:["cite"],del:["cite"],img:["langdesc","src","usemap"],input:["src","usemap"],ins:["cite"],q:["cite"],audio:["src"],button:["formaction"],input:["formaction"],source:["src"],tract:["src"],video:["poster","src"]},h={img:"srcset",source:"srcset"};let p=this;const S=new bre({onopentag(v,C){o.forEach(P=>{v.toLocaleLowerCase()===P&&t.push({tag:P})});for(const[P,Z]of Object.entries(c))if(v.toLocaleLowerCase()===P)for(const[re,ie]of Object.entries(C))Z.forEach(Me=>{re===Me&&!ie.match(a)&&("href"!==Me||!n)&&t.push({tag:P,attribute:Me})});for(const[P,Z]of Object.entries(h))if(v.toLocaleLowerCase()===P)for(const[re,ie]of Object.entries(C))re===Z&&ie.split(",").forEach(ke=>{ke.trim().match(a)||t.push({tag:P,attribute:Z})});for(const[P,Z]of Object.entries(C))if("style"===P){let re=iae(Z);for(const[ie,Me]of Object.entries(re))l.forEach(ke=>{ie.toLocaleLowerCase()===ke&&p._hasForbiddenCssUrl(Me).forEach(it=>{t.push({tag:v.toLocaleLowerCase(),attribute:"style",cssPropertyValue:ke+" : "+it})})})}}});return S.write(e),S.end(),t},_hasForbiddenCssUrl:function(e){let n=[],i=e.match(/url\(\s*["']?(.*?)["']?\s*\)/g);const r=/^url\(\s*[\\"']?[A-Za-z0-9]*\:\/\//;if(i)for(let o=0;o<i.length;o++){let a=i[o];a.match(r)&&n.push(a)}return n},printInvalidHtmlToConsole:function(e){console.log("Possible invalid HTML tags/attributes:"),e.forEach(n=>{n.attributeValue?console.log("  - Attribute value: "+n.attributeValue+" of "+n.attribute+" in "+n.tag):n.attribute?console.log("  - Attribute: "+n.attribute+" in "+n.tag):n.tag&&console.log("  - Element: "+n.tag)})},setItemMessagesArray:function(e,n,t){let i,r;for(let o of n)if(o){i||(i={errors:{},warnings:{},info:{}},r=Object.keys(i));for(let a of r)o[a]&&Object.assign(i[a],o[a])}this.setItemMessages(e,i,t)},setItemMessages:function(e,n,t){n?(e.messages||(e.messages={}),e.messages[t]=n):e.messages&&(delete e.messages[t],Object.keys(e.messages).length||delete e.messages)},addItemWarning:function(e,n,t){t||(t="Other message source");let i=e.messages;i||(i=e.messages={});let r=i[t];r||(r=i[t]={});let o=r.warnings;o||(o=r.warnings={}),o[n]=ez.getMsg(n),console.log(JSON.stringify(e.messages))},removeItemWarning:function(e,n,t){let i,r,o;t||(t="Other message source"),(i=e.messages)&&(r=i[t])&&(o=r.warnings)&&delete o[n]},hasAnswerList:function(e){return"CODING"===e.dataType||e.answers&&("ST"===e.dataType||"INT"===e.dataType||"DT"===e.dataType||"TM"===e.dataType)},_getHtmlStringWithContainedImages:function(e,n){if(e){let i=(new DOMParser).parseFromString(n,"text/html"),r=i.getElementsByTagName("img");for(let o=0;o<r.length;o++){let a=r[o].getAttribute("src");if(a&&a.match(/^#/)){let l=e[a.substring(1)];l&&r[o].setAttribute("src",l)}}return i.body.innerHTML}return""},targetEnabled:function(e){return!1!==e._enableWhenExpVal&&e._skipLogicStatus!==Je_SKIP_LOGIC_STATUS_DISABLED},targetDisabledAndProtected:function(e){return"protected"===e._disabledDisplayStatus&&!this.targetEnabled(e)},targetShown:function(e){return"protected"===e._disabledDisplayStatus||this.targetEnabled(e)},isCheckboxWithSubItems:function(e){return e.displayControl&&e.displayControl.answerLayout&&"RADIO_CHECKBOX"===e.displayControl.answerLayout.type&&e._multipleAnswers&&e.items&&e.items.length>0},getItemAnswerId(e,n){let t;const i=e._elementId;return t="string"!=typeof n?i+"|"+(n.system?n.system.replaceAll("\\","\\\\").replaceAll("|","\\|"):"")+"|"+(n.code||n.text.toString()).replaceAll("%","%25").replaceAll(" ","%20").replaceAll("\\","\\\\").replaceAll("|","\\|"):i.replaceAll("\\","\\\\").replaceAll("|","\\|")+"|"+n,t}};ki.errorMessages=ez,ki.errorMessages.setLanguage("en"),ki.md=SA;const xle=JSON.parse('{"itemControl":["list","table","gtable","inline","autocomplete","drop-down","check-box","lookup","radio-button"]}'),kle=new RegExp("http://hl7.org/fhir/(\\d+.\\d+)([.\\d]+)?/StructureDefinition/Questionnaire"),Ele=new RegExp("http://hl7.org/fhir/u./sdc/StructureDefinition/sdc-questionnaire\\|(\\d+.\\d+)(.\\d+)?"),MA={STU3:1,R4:2,R4B:3,R5:4},TA={addFormToPage:function(e,i,t){i="string"==typeof i?document.getElementById(i):i,"string"==typeof e&&(e=e.indexOf("{")>=0?JSON.parse(e):window[e]);var r=e.resourceType,o=t&&t.fhirVersion;if(r&&"Questionnaire"!==r)throw new Error("Only Questionnaire FHIR content is supported in addFormToPage.");this.pageFormID_||(this.pageFormID_=0),LForms.addedFormDefs||(LForms.addedFormDefs=[]),LForms.addedFormDefs.push(e);for(var a=t&&!0===t.prepopulate;i.firstChild;)i.removeChild(i.lastChild);const s=document.createElement("wc-lhc-form");return i.appendChild(s),new Promise(function(c,h){try{s.questionnaire=e,s.options=t,s.prepop=a,s.fhirVersion=o,s.addEventListener("onFormReady",function(p){c()}),s.addEventListener("onError",function(p){h(p.detail)})}catch(p){h(p)}})},removeFormsFromPage:function(n){for(n="string"==typeof n?document.getElementById(n):n;n.firstChild;)n.removeChild(n.lastChild)},getUserData:function(e,n,t,i){var r=this._getFormObjectInScope(e);return r?r.getUserData(n,t,i):null},getFormData:function(e,n,t,i){var r=this._getFormObjectInScope(e);return r?r.getFormData(n,t,!1,i):null},getFormHL7Data:function(e){var n=this._getFormObjectInScope(e);return n?LForms.HL7.toHL7Segments(n):null},getFormFHIRData:function(e,n,t,i){return(!t||t instanceof HTMLElement||"string"==typeof t)&&(t=this._getFormObjectInScope(t)),this._convertLFormsToFHIRData(e,n,t,i)},checkValidity:function(e){var n=this._getFormObjectInScope(e);return n?n.checkValidity():null},validateQuestionnaireOnFHIRServer:function(e,n){if(!e||"Questionnaire"!==e.resourceType)throw new Error("The provided resource is not a Questionnaire.");if(!n)throw new Error("FHIR server base URL is required for validating the Questionnaire.");let t;try{n.endsWith("/")||(n+="/"),t=new URL("Questionnaire/$validate",n)}catch{throw new Error("The URL was malformed!")}return fetch(t.href,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)}).then(function(i){if(!i.ok)throw new Error(`Server returned ${i.status}: ${i.statusText}`);return i.json()}).then(function(i){let r=null;if("OperationOutcome"===i.resourceType){const o=i.issue?.filter(a=>"error"===a.severity||"fatal"===a.severity);o&&o.length&&(r=o.map(a=>a.diagnostics).join(" | "))}return r}).catch(function(i){throw new Error("Fetch error: "+i.message||0)})},_convertLFormsToFHIRData:function(e,n,t,i){i||(i={}),t instanceof LForms.LFormsData||(t=new LForms.LFormsData(t));var r=this.validateFHIRVersion(n),o=LForms.FHIR[r],a=null;if(t)switch(e){case"DiagnosticReport":var s=i?i.bundleType:void 0;a=o.DiagnosticReport.createDiagnosticReport(t,i.subject,null!=s,s);break;case"Questionnaire":a=o.SDC.convertLFormsToQuestionnaire(t,i.noExtensions);break;case"QuestionnaireResponse":a=i.extract?o.SDC.convertLFormsToQRAndExtractFHIRData(t,i.noExtensions,i.subject):o.SDC.convertLFormsToQuestionnaireResponse(t,i.noExtensions,i.subject)}return a},convertFHIRQuestionnaireToLForms:function(e,n){var t=null;return e&&(n=this._requireValidFHIRVersion(n,e),t=LForms.FHIR[n].SDC.convertQuestionnaireToLForms(e)),t},mergeFHIRDataIntoLForms:function(e,n,t){if("string"==typeof e&&(e=n,n=t,t=arguments[3]),e){let r=Bh(e);t=this._requireValidFHIRVersion(t,r);var i=LForms.FHIR[t];switch(r.resourceType){case"DiagnosticReport":(n=i.DiagnosticReport.mergeDiagnosticReportToLForms(n,r)).hasSavedData=!0;break;case"Bundle":"searchset"===r.type&&r.entry.find(o=>"DiagnosticReport"===o.resource.resourceType)&&((n=i.DiagnosticReport.mergeDiagnosticReportToLForms(n,r)).hasSavedData=!0);break;case"QuestionnaireResponse":(n=i.SDC.mergeQuestionnaireResponseToLForms(n,r)).hasSavedData=!0}}return n},_requireValidFHIRVersion:function(e,n){if(e||(e=this.detectFHIRVersion(n)||this.guessFHIRVersion(n)),!e)throw new Error("Could not determine the FHIR version for this resource.  Please make sure it is specified via meta.profile (see http://build.fhir.org/versioning.html#mp-version and https://www.hl7.org/fhir/references.html#canonical).  Example 1:  http://hl7.org/fhir/4.0/StructureDefinition/Questionnaire (for Questionnaire version 4.0, a.k.a. R4).Example 2:  http://hl7.org/fhir/3.0/StructureDefinition/Questionnaire (for Questionnaire version 3.0, a.k.a. STU3).Example 3:  http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire|2.7  (for SDC Questionnaire version 2.7).");return this.validateFHIRVersion(e)},setFHIRContext:function(e,n){if(!LForms.FHIR)throw new Error("LHC-Forms FHIR support files have not been loaded.See http://lhncbc.github.io/lforms/#fhirScripts");LForms.fhirContext={client:e,vars:n},LForms.fhirCapabilities={},delete LForms._serverFHIRReleaseID},_fhirVersionToRelease:function(e){let n=e,t=e.match(/^\d+(\.\d+)/);if(t){const i=parseFloat(t[0]);n=i>=5&&i<6||4.2==i||i>=4.4&i<=4.6?"R5":4.1==i||4.3==i?"R4B":i>3&&i<=4?"R4":i>=1.1&&i<=3?"STU3":e}return n},getServerFHIRReleaseID:function(e){if(!LForms.fhirContext)throw new Error("setFHIRContext needs to be called before getFHIRReleaseID");if(!LForms.fhirContext.client)throw new Error("setFHIRContext was called, but no server connection was provided");if(LForms._serverFHIRReleaseID)setTimeout(function(){e(LForms._serverFHIRReleaseID)});else try{LForms.fhirContext.client.getFhirVersion().then(function(t){LForms._serverFHIRReleaseID=LForms.Util._fhirVersionToRelease(t),console.log("Server FHIR version is "+LForms._serverFHIRReleaseID+" ("+t+")"),e(LForms._serverFHIRReleaseID)},function(t){console.log("Error retrieving server's CompatibilityStatement:"),console.log(t),e()})}catch(t){throw setTimeout(function(){e()}),t}},validateFHIRVersion:function(e){if(!LForms.Util.FHIRSupport[e])throw new Error("Version "+e+" of FHIR is not supported.");if(!LForms.FHIR)throw new Error("The FHIR support files for LHC-Forms do not appear to have been loaded.  Please consult the documentation at http://lhncbc.github.io/lforms/#fhirSupport.");if(!LForms.FHIR[e])throw new Error("Version "+e+" of FHIR is supported, but the supporting code was not loaded.");return e},detectFHIRVersion:function(e){let n=null;return e.meta&&e.meta.profile&&(n=this.detectFHIRVersionFromProfiles(e.meta.profile)),n},detectFHIRVersionFromProfiles(e){if(!e||!e.length)return null;let n=null;for(let i=0;i<e.length;i++){var t=e[i].match(kle);let r;if(t?r=t[1]:(t=e[i].match(Ele))&&(r=t[1],"2.0"===r?r="3.0":parseFloat(r)>=2.1&&(r="4.0")),r){const o=this._fhirVersionToRelease(r);(!n||MA[o]>MA[n])&&(n=o)}}return n},guessFHIRVersion:function(e){var n=null;return"Questionnaire"==e.resourceType?n=this._testValues(e,"item",function(o){let a=!!(o.option||o.options||o.initialBoolean||o.initialDecimal||o.initialInteger||o.initialDate||o.initialDateTime||o.initialTime||o.initialString||o.initialUri||o.initialAttachment||o.initialQuantity||o.initialReference);return!a&&o.enableWhen?.length&&(a=o.enableWhen.some(s=>"hasAnswer"in s)),a})?"STU3":this._testValues(e,"item",function(o){return!(!o.disabledDisplay&&!o.answerConstraint&&"coding"!==o.type)})?"R5":"R4":"QuestionnaireResponse"==e.resourceType&&(n=e.parent||this._testValues(e,"item",function(a){return!!a.subject})?"STU3":"R4"),n},_testValues:function(e,n,t){var i=!1;if(e instanceof Array)for(var r=0,o=e.length;!i&&r<o;++r)i=this._testValues(e[r],n,t);else if("object"==typeof e)for(var a=Object.keys(e),s=0,l=a.length;!i&&s<l;++s){var c=a[s],h=e[c];if(c===n)if(h instanceof Array)for(var p=0,S=h.length;!i&&p<S;++p)i=t(h[p]);else i=t(h);i||(i=this._testValues(h,n,t))}return i},_getFormObjectInScope:function(e){var n,t;if("string"==typeof e&&(e=document.querySelector(e)),e)t=e.getElementsByTagName("wc-lhc-form");else{var i=document.getElementsByTagName("body");t=i&&i.length>0?(e=i[0]).getElementsByTagName("wc-lhc-form"):document.getElementsByTagName("wc-lhc-form")}for(let r of t){n=r.lhcFormData;break}return n},isItemValueEmpty:function(e){var n=!0;if(null!=e&&""!==e&&"function"!=typeof e)if("string"==typeof e||e instanceof String)n=""===e.trim();else if(Array.isArray(e)){for(var t=0;t<e.length;++t)if(!this.isItemValueEmpty(e[t])){n=!1;break}}else if("object"==typeof e){var i=Object.keys(e);if(i.length>0){t=0;for(var r=i.length;t<r;t++)if(!this.isItemValueEmpty(e[i[t]])){n=!1;break}}else e.constructor!==Object&&(n=!1)}else n=!1;return n},findItem:function(e,n,t){var i=null;if(e)for(var r=0;!i&&r<e.length;++r){var o=e[r];o[n]===t?i=o:Array.isArray(o.items)&&(i=this.findItem(o.items,n,t))}return i},initializeCodes:function(e){var n=e.question||e.questionCode,t=n?e.questionCode:e.code,r=n?e.question:e.name,o=this.getCodeSystem(n?e.questionCodeSystem:e.codeSystem);if(t){e.codeList||(e.codeList=[]);for(var a=e.codeList,s=!1,l=0;l<a.length;l++)if(t===a[l].code&&(!o&&!a[l].system||o===a[l].system)){s=!0;break}s||"LinkId"===o||(t={code:t,display:r},o&&(t.system=o),a.unshift(t))}else e.codeList&&e.codeList.length>0&&(n?(e.questionCode=e.codeList[0].code,e.questionCodeSystem=e.codeList[0].system):(e.code=e.codeList[0].code,e.codeSystem=e.codeList[0].system));return e},createLocalFHIRReference:function(e){var n={reference:e.resourceType+"/"+e.id};if("Patient"===e.resourceType&&e.name&&e.name.length>0){var t=e.name[0];t.text?n.display=t.text:(t.given&&t.given.length>0&&(n.display=t.given[0]),t.family&&(n.display=n.display?n.display+" "+t.family:t.family))}return n},getCodeSystem:function(e){return"LOINC"===e?"http://loinc.org":e},removeObjectsFromArray:function(e,n,t,i,r){var o=r?[]:null,a=r?[]:null;if(Array.isArray(e)){var s=0;i&&Math.abs(i)<e.length&&(s=i<0?e.length+i:i);for(var l=e.length,c=s;c<l;c++)if(e[c][n]===t){var h=e[c];if(!r){o=c,a=h;break}o.push(c),a.push(h)}if(Array.isArray(o))for(c=o.length-1;c>=0;c--)e.splice(o[c],1);else null!==o&&e.splice(o,1)}return a},baseFormDef:function(){return{lformsVersion:LForms.lformsVersion}},getAnswersResourceStatus:function(e){return(!e||e instanceof HTMLElement||"string"==typeof e)&&(e=this._getFormObjectInScope(e)),e.checkAnswersResourceStatus()},loadScript:function(e){return new Promise(function(n,t){var i=document.createElement("script");i.onreadystatechange=n,i.onload=n,i.onerror=t,i.src=e,document.body.appendChild(i)})},loadFHIRLibs:function(e,n){return Promise.all([this.loadScript(e),this.loadScript(n)])},_hasMultipleAnswers:function(e){return e.answerCardinality&&e.answerCardinality.max&&("*"===e.answerCardinality.max||parseInt(e.answerCardinality.max)>1)},escapeAttribute:function(e){return e.replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")},getSupportedFeatures:function(){return xle}};TA._internalUtil=ki;const fs={...tn,...TA},l8={_timeout:1500,_restrictionKeys:["minExclusive","minInclusive","maxExclusive","maxInclusive","totalDigits","fractionDigits","length","minLength","maxLength","enumeration","whiteSpace","pattern"],_dataTypes:["BL","INT","REAL","ST","TX","BIN","DT","DTM","TM","CODING","RTO","QTY","NR","YEAR","MONTH","DAY","URL","EMAIL","PHONE",""],_errorMessages:Sn.errorMessages,checkRequired:function(e,n,t){var i=!0;return e&&(null==n||""===n||Array.isArray(n)&&0===n.length)&&(i=!1,t.push(Sn.requiresAValue)),i},checkDataType:function(e,n,t){var i=!0;if(null!=n&&""!==n)switch(e){case"BL":!0!==n&&!1!==n&&(i=!1);break;case"INT":i=tn.isInteger(n);break;case"REAL":case"QTY":i=tn.isDecimal(n);break;case"PHONE":i=/(((^\s*(\d\d){0,1}\s*(-?|\.)\s*(\(?\d\d\d\)?\s*(-?|\.?)){0,1}\s*\d\d\d\s*(-?|\.?)\s*\d{4}\b)|(^\s*\+\(?(\d{1,4}\)?(-?|\.?))(\s*\(?\d{2,}\)?\s*(-?|\.?)\s*\d{2,}\s*(-?|\.?)(\s*\d*\s*(-|\.?)){0,3})))(\s*(x|ext|X)\s*\d+){0,1}$)/.test(n);break;case"EMAIL":i=/^\s*((\w+)(\.\w+)*)@((\w+)(\.\w+)+)$/.test(n);break;case"URL":i=/^(https?|ftp):\/\/[\w-]+(\.[\w-]+)+([\w.,@?^=%&amp;:\/~+#-]*[\w@?^=%&amp;\/~+#-])?$/.test(n);break;case"TM":i=/^\s*(((\d|[0-1]\d|2[0-4]):([0-5]\d))|(\d|0\d|1[0-2]):([0-5]\d)\s*([aApP][mM]))\s*$/.test(n);break;case"YEAR":i=/^\d{1,4}$/.test(n);break;case"MONTH":i=/^(0?[1-9]|1[012])$/.test(n);break;case"DAY":i=/^(0?[1-9]|[12]\d|3[01])$/.test(n);break;case"NR":i=/^(\-?\d+(\.\d*)?)?\s*\^\s*(\-?\d+(\.\d*)?)?$/.test(n);break;case"DT":i=tn.isValidDate(n);break;default:i=!0}return Array.isArray(t)&&!i&&t.push(this._errorMessages[e]),i},checkRestrictions:function(e,n,t){var i=!0;if(null!=n&&""!==n)for(var r in e){var o=!0,a=e[r];switch(r){case"minExclusive":parseFloat(n)>parseFloat(a)?o=!0:(o=!1,t.push(Sn.mustBeGreater.replace("{lformsParam}",a)));break;case"minInclusive":parseFloat(n)>=parseFloat(a)?o=!0:(o=!1,t.push(Sn.mustBeGreaterOrEqual.replace("{lformsParam}",a)));break;case"maxExclusive":parseFloat(n)<parseFloat(a)?o=!0:(o=!1,t.push(Sn.mustBeLess.replace("{lformsParam}",a)));break;case"maxInclusive":parseFloat(n)<=parseFloat(a)?o=!0:(o=!1,t.push(Sn.mustBeLessOrEqual.replace("{lformsParam}",a)));break;case"totalDigits":case"fractionDigits":break;case"length":n.length==parseInt(a)?o=!0:(o=!1,t.push(Sn.mustHaveTotalLength.replace("{lformsParam}",a)));break;case"maxLength":n.length<=parseInt(a)?o=!0:(o=!1,t.push(Sn.mustHaveTotalLengthLessOrEqual.replace("{lformsParam}",a)));break;case"minLength":n.length>=parseInt(a)?o=!0:(o=!1,t.push(Sn.mustHaveTotalLengthGreaterOrEqual.replace("{lformsParam}",a)));break;case"pattern":var c,h,s=a.indexOf("/"),l=a.lastIndexOf("/");0===s&&l>0?(c=a.slice(s+1,l),h=a.slice(l+1)):c=a,new RegExp(c,h).test(n)?o=!0:(o=!1,t.push(Sn.mustMatchRegex.replace("{lformsParam}",a)));break;case"maxDecimalPlaces":const S=n.toString().split(/[eE]/),v=parseInt(S[1])||0;(S[0].split(".")[1]?.length||0)-v<=a?o=!0:(o=!1,t.push(Sn.mustNotHaveMoreDecimalPlaces.replace("{lformsParam}",a)));break;case"maxOccurs":Array.isArray(n)&&n.length<=parseInt(a)?o=!0:Array.isArray(n)&&(o=!1,t.push(Sn.mustNotHaveMoreAnswers.replace("{lformsParam}",a)));break;case"minOccurs":Array.isArray(n)&&n.length>=parseInt(a)?o=!0:Array.isArray(n)&&(o=!1,t.push(Sn.mustNotHaveLessAnswers.replace("{lformsParam}",a)));break;default:o=!0}i=i&&o}return i}};let Ile={getValueInStandardUnit:function(e,n){return(e*this.units_[n]).toFixed(this.precision_)},getStandardUnit:function(){},precision_:4,units_:{kg:1,kgs:1,kilograms:1,pounds:.453592,lbs:.453592,cm:1,cms:1,centimeters:1,feet:30.48,ft:30.48,inches:2.54,"[in_i]":2.54,meters:100,"ft-inches":2.54}},zle={calculations_:{precision_:2,TOTALSCORE:function(e){for(var n=0,t=0,i=e.length;t<i;t++)n+=parseFloat(e[t]);return n},BMI:function(e){var n="",t=parseFloat(e[0]),i=parseFloat(e[1]);return t&&""!=t&&i&&""!=i&&"0"!=i&&(n=(n=t/Math.pow(i/100,2)).toFixed(this.precision_)),n},BSA:function(e){var n="",t=parseFloat(e[0]),i=parseFloat(e[1]);return t&&""!=t&&i&&""!=i&&(n=(n=Math.sqrt(i*t/3600)).toFixed(this.precision_)),n}}};const r9=ki.errorMessages;class xA{code=null;codeList=null;identifier=null;name=null;templateOptions={};items=[];PATH_DELIMITER="/";hasSavedData=!1;_invalidData=!1;_repeatableItems={};_opt={};_actionLogs=[];_activeItem=null;_totalLevelsOfHierarchy=0;_defaultTemplateOptions={showQuestionCode:!1,showCodingInstruction:!1,allowMultipleEmptyRepeatingItems:!1,allowHTML:!1,allowMarkdown:!1,displayControl:{questionLayout:"vertical"},viewMode:"auto",defaultAnswerLayout:{answerLayout:{type:"COMBO_BOX",columns:"0"}},hideTreeLine:"auto",hideIndentation:!1,hideRepetitionNumber:!0,displayScoreWithAnswerText:!0,displayInvalidHTML:!1,messageLevel:"error",allowExternalURL:!1,readonlyMode:!1};lformsVersion="41.1.0";_packageStore=null;_variableExt=null;_codePath="";_idPath="";_displayLevel=0;_formReady;_horizontalTableInfo={};itemList;itemHash;_asyncChangeListeners;fhirVersion;_fhir;_hasInitialExpr;extension;codeSystem;template;answerLists;_expressionProcessor;_fhirVariables;_hasResponsiveExpr;copyrightNotice;url;version;type;_showErrors;_showWarnings;_showInfo;contained;_containedImages;_containedImageHtmlMap=new Map;constructor(n,t=null){if(t&&(this._packageStore=t),n&&n._initializeInternalData){const i=Object.getOwnPropertyNames(n);for(let r=0;r<i.length;r++)i[r]&&!i[r].startsWith("_")&&"function"!=typeof n[i[r]]&&(this[i[r]]=n[i[r]]);n._variableExt&&(this._variableExt=n._variableExt)}else Object.assign(this,n),this.templateOptions=n.templateOptions||{},this.PATH_DELIMITER=n.PATH_DELIMITER||"/";LForms.FHIR&&n.fhirVersion&&this._initializeFormFHIRData(n),n.contained&&this._fhir&&(this._containedImages=this._fhir.SDC.buildContainedImageMap(n.contained)),this._initializeInternalData()}setMessageLevel(n){this._showInfo="info"==n,this._showWarnings=this._showInfo||"warning"==n,this._showErrors=this._showWarnings||"error"==n}_getResourcesFromPackageStore(n,t){let i=null;if(this._packageStore&&t&&n){const r=t.split("|"),o=r[0],a=r[1];for(let s=0,l=this._packageStore.length;s<l;s++){const c=this._packageStore[s];if(c.resourceType===n&&c.url===o&&(a&&c.version===a||!a)){i=JSON.parse(JSON.stringify(c));break}}}return i}checkAnswersResourceStatus(){const n=[];for(let t=0,i=this.itemList.length;t<i;t++){const r=this.itemList[t];r.answerValueSet&&!r.answers&&!r.externallyDefined&&!r.isSearchAutocomplete&&n.push("Value set not loaded: "+r.answerValueSet)}return n}addAsyncChangeListener(n){this._asyncChangeListeners||(this._asyncChangeListeners=[]),this._asyncChangeListeners.push(n)}_notifyAsyncChangeListeners(){if(this._asyncChangeListeners)for(let n=0,t=this._asyncChangeListeners.length;n<t;++n)this._asyncChangeListeners[n]()}_initializeFormFHIRData(n){this.fhirVersion=n.fhirVersion,this._fhir=LForms.FHIR[this.fhirVersion],this._expressionProcessor=new this._fhir.SDC.ExpressionProcessor(this),this._fhirVariables={},this.extension=n.extension?n.extension.slice(0):null,n.extension&&(this._fhir.SDC.buildExtensionMap(this),this._hasResponsiveExpr=this._hasResponsiveExpr||this._fhir.SDC.hasResponsiveExpression(this),this._hasInitialExpr=this._hasInitialExpr||this._fhir.SDC.hasInitialExpression(this)),this._fhir.SDC.processExtensions(this,"obj_title")}_getFHIRSupport(){let n=this._fhir;if(!n){const t=Object.keys(LForms.FHIR);if(t.length>0&&(n=LForms.FHIR[t[0]]),!n)throw new Error("The LHC-Forms FHIR support file was not loaded.");this._fhir=n}return n}loadFHIRResources(n){const t=this,i=this._fhir.SDC,r=i._getTerminologyServer(this);!LForms.fhirContext&&!r&&console.log("Warning: FHIR resources might not be loaded, because loadFHIRResources() was called before LForms.Util.setFHIRContext()");let o=LForms.fhirContext?i.loadLaunchContext(this):[];return o=o.concat(i.loadAnswerValueSets(this)),n&&o.push(i.requestLinkedObs(this)),this._resolveAllPromises(o).then(function(){t._notifyAsyncChangeListeners()})}_resolveAllPromises(n){return Promise.allSettled(n).then(t=>{const i=[],r=t.length;for(let o=0;o<r;o++)"fulfilled"!==t[o].status&&i.push(t[o].reason);if(i.length>0)return Promise.reject(i)})}_buildURL(n,t){let i=n.map(r=>encodeURIComponent(r)).join("/");return t&&(i+="?"+Object.keys(t).map(r=>r+"="+encodeURIComponent(t[r])).join("&")),i}_loadAnswerValueSetsFromPackage(n){if(n.answerValueSet){const t=this._getResourcesFromPackageStore("ValueSet",n.answerValueSet);if(t&&this._fhir){const i=this._fhir.SDC.answersFromVS(t.fileContent);i&&(n.answers=i)}}}_checkFHIRVarName(n){if(this._fhir.reservedVarNames[n])throw'The "'+n+'" variable name is reserved; Questionnaires may not assign a value to it.'}_initializeInternalData(){this._setDefaultValues(),fs.initializeCodes(this),this._repeatableItems={},this._setTreeNodes(this.items,this),this._updateLastRepeatingItemsStatus(this.items),this._updateItemDisabledDisplayStatus(this.items),this.itemList=[],this.itemHash={},this._updateItemReferenceList(this.items),this._standardizeScoreRule(this.itemList),this._resetHorizontalTableInfo(),this._adjustLastSiblingListForHorizontalLayout(),this._setUpAnswerAndUnitAutoComp(this.itemList),this._setupSourceToTargetMap(),this._checkFormControls()}_resetInternalData(){this._updateTreeNodes(this.items,this),this._updateLastRepeatingItemsStatus(this.items),this._updateItemDisabledDisplayStatus(this.items),this.itemList=[],this.itemHash={},this._updateItemReferenceList(this.items),this._standardizeScoreRule(this.itemList),this._resetHorizontalTableInfo(),this._adjustLastSiblingListForHorizontalLayout(),this._setUpAnswerAndUnitAutoComp(this.itemList),this._setupSourceToTargetMap(),this._checkFormControls()}updateSkipLogicControlledItems(n,t){let i=!1;if(n._skipLogicTargets)for(let r=0,o=n._skipLogicTargets.length;r<o;r++){const a=n._skipLogicTargets[r];i=this._updateItemSkipLogicStatus(a,null)||i,i&&this.updateSkipLogicControlledItems(a,t)}return i=t(n)||i,i}updateOnSourceItemChange(n){const t=this;let i=!0;for(;i;)i=this.updateSkipLogicControlledItems(n,function(r){let o=!1;if(r._formulaTargets)for(var a=0,s=r._formulaTargets.length;a<s;a++)o=t._processItemFormula(r._formulaTargets[a])||o;if(r._dataControlTargets)for(a=0,s=r._dataControlTargets.length;a<s;a++)o=t._processItemDataControl(r._dataControlTargets[a])||o;return o});if(this._updateTreeNodes(this.items,this),this._updateLastRepeatingItemsStatus(this.items),this._resetHorizontalTableInfo(),this._adjustLastSiblingListForHorizontalLayout(),this._checkFormControls(),LForms.FHIR&&this._hasResponsiveExpr){const r=this;setTimeout(function(){r._expressionProcessor.runCalculations(!1).then(()=>{r._checkFormControls()})})}}_checkValidations(n){if(n._hasValidation){const t=[];l8.checkRequired(n._answerRequired,n.value,t),l8.checkDataType(n.dataType,n.value,t),l8.checkRestrictions(n.restrictions,n.value,t),n._validationErrors=t}}_checkConstraints(n,t){if(n._hasValidation&&n.constraints&&n.constraints.length>0)for(let i=0;i<n.constraints.length;i++){const r=n.constraints[i].extension,o=r.find(a=>"expression"===a.url).valueExpression.expression;if(o&&(this._expressionProcessor._regenerateQuestionnaireResp(),!1===this._expressionProcessor._evaluateFHIRPathAgainstContext(n,o,n))){const s=r.find(S=>"human"===S.url).valueString,l=r.find(S=>"key"===S.url).valueId,c=l?`${s} The targetConstraint key is: ${l}.`:s;t.push(c);const h=r.find(S=>"location"===S.url).valueString,p=this._expressionProcessor._evaluateFHIRPathAgainstContext(n,h,n);setTimeout(()=>{let S=this._findItemByLinkId(n,p.linkId);S._validationErrors=[...S._validationErrors||[],c]},1)}}}_checkFormControls(){let n=!0;for(;n;){n=!1;for(let t=0,i=this.itemList.length;t<i;t++){const r=this.itemList[t];r.calculationMethod&&(n=this._processItemFormula(r)||n),r.dataControl&&(n=this._processItemDataControl(r)||n),r.skipLogic&&(n=this._updateItemSkipLogicStatus(r,null)||n)}}this._updateSubItemsHiddenFromView(this,!1),this._updateTreeNodes(this.items,this),this._updateLastRepeatingItemsStatus(this.items),this._resetHorizontalTableInfo(),this._adjustLastSiblingListForHorizontalLayout()}_updateSubItemsHiddenFromView(n,t){if(n.items&&n.items.length>0)for(let i=0,r=n.items.length;i<r;i++){const o=n.items[i],a=t||this.isItemHidden(o)||ki.isCheckboxWithSubItems(n)&&!o.isSubGroupForCheckbox;o._isHiddenFromView=a,this._updateSubItemsHiddenFromView(o,a)}}_setupSourceToTargetMap(){for(let r=0,o=this.itemList.length;r<o;r++){const a=this.itemList[r];if(a.calculationMethod&&a.calculationMethod.name){const s=this._getFormulaSourceItems(a,a.calculationMethod.value);for(var n=0,t=s.length;n<t;n++)s[n]._formulaTargets?s[n]._formulaTargets.push(a):s[n]._formulaTargets=[a]}if(a.dataControl&&Array.isArray(a.dataControl))for(n=0,t=a.dataControl.length;n<t;n++){const c=a.dataControl[n].source;if(c&&(!c.sourceType||c.sourceType===Je_DATA_CONTROL_SOURCE_INTERNAL)&&c.sourceLinkId){if(!(i=this._findItemByLinkId(a,c.sourceLinkId)))throw new Error("Data control for item '"+a.question+"' refers to source item '"+c.sourceLinkId+"' which was not found as a sibling, ancestor, or ancestor sibling.");i._dataControlTargets?i._dataControlTargets.push(a):i._dataControlTargets=[a]}}if(a.skipLogic)for(n=0,t=a.skipLogic.conditions.length;n<t;n++){var i;(i=this._getSkipLogicSourceItem(a,a.skipLogic.conditions[n].source))._skipLogicTargets?i._skipLogicTargets.push(a):i._skipLogicTargets=[a]}}}_updateItemSkipLogicStatus(n,t){let r,i=!1;if(!t&&n?._parentItem?._skipLogicStatus===Je_SKIP_LOGIC_STATUS_DISABLED&&(t=!0),t)i=this._setSkipLogicStatusValue(n,Je_SKIP_LOGIC_STATUS_DISABLED)||i,r=!0;else{if(n.skipLogic){const a=this._checkSkipLogic(n);n.skipLogic.action&&n.skipLogic.action!==Je_SKIP_LOGIC_ACTION_ENABLE?n.skipLogic.action===Je_SKIP_LOGIC_ACTION_DISABLE&&(i=this._setSkipLogicStatusValue(n,a?Je_SKIP_LOGIC_STATUS_DISABLED:Je_SKIP_LOGIC_STATUS_ENABLED)||i):i=this._setSkipLogicStatusValue(n,a?Je_SKIP_LOGIC_STATUS_ENABLED:Je_SKIP_LOGIC_STATUS_DISABLED)||i}else n._skipLogicStatus===Je_SKIP_LOGIC_STATUS_DISABLED&&(i=this._setSkipLogicStatusValue(n,Je_SKIP_LOGIC_STATUS_ENABLED)||i);r=n._skipLogicStatus===Je_SKIP_LOGIC_STATUS_DISABLED}if(n.items&&n.items.length>0)for(let a=0,s=n.items.length;a<s;a++)i=this._updateItemSkipLogicStatus(n.items[a],r)||i;return i}_presetSkipLogicStatus(n,t){if(n.skipLogic||t){this._setSkipLogicStatusValue(n,Je_SKIP_LOGIC_STATUS_DISABLED,!0);const i=!0;if(n.items)for(let r=0,o=n.items.length;r<o;r++)this._presetSkipLogicStatus(n.items[r],i)}}_setSkipLogicStatusValue(n,t,i=!1){let r=!1;return n._skipLogicStatus!==t&&(n._skipLogicStatus&&(i||this._actionLogs.push(t===Je_SKIP_LOGIC_STATUS_DISABLED?"Hiding "+n._text:"Showing "+n._text)),n._skipLogicStatus=t,r=!0),r}_updateItemReferenceList(n){for(let t=0,i=n.length;t<i;t++){const r=n[t];this.itemList.push(r),this.itemHash[r._elementId]=r,r.items&&r.items.length>0&&this._updateItemReferenceList(r.items)}}_updateItemDisabledDisplayStatus(n,t=null){for(let i=0,r=n.length;i<r;i++){const o=n[i],a=o.disabledDisplay||t;a&&(o._disabledDisplayStatus=a,o.items&&o.items.length>0&&this._updateItemDisabledDisplayStatus(o.items,a))}}_findItemsWithScore(){const n={};for(let t=0,i=this.itemList.length;t<i;t++){const r=this.itemList[t];if(r.dataType===Je_DATA_TYPE_CODING&&r.answers&&Array.isArray(r.answers)&&r.answers.length>0)for(let o=0,a=r.answers.length;o<a;o++){const s=r.answers[o];if(s&&s.hasOwnProperty("score")&&!isNaN(s.score)){n[r.linkId]=r;break}}}return Object.keys(n)}_standardizeScoreRule(n){for(let t=0,i=n.length;t<i;t++){const r=n[t];if(r.calculationMethod&&(r.calculationMethod.name===Je_CALCULATION_METHOD_TOTALSCORE||r.calculationMethod===Je_CALCULATION_METHOD_TOTALSCORE)){r.calculationMethod={name:Je_CALCULATION_METHOD_TOTALSCORE,value:[]};const o=this._findItemsWithScore();r.calculationMethod.value=o}}}_setDefaultValues(){this._codePath="",this._idPath="",this._displayLevel=0,this._totalLevelsOfHierarchy=0,this._activeItem=null,(!this.template||0==this.template.length||"form-view-a"===this.template||"form-view-b"===this.template)&&(this.template="table");const n=tn.deepCopy(this.templateOptions),t=tn.deepCopy(this._defaultTemplateOptions);this.setTemplateOptions(n,t)}_mergeTwoArrays(n,t){for(let i=0,r=t.length;i<r;i++)if(t[i]){const o=Object.keys(t[i]);for(let a=0,s=o.length;a<s;a++)(null!==t[i][o[a]]||void 0!==t[i][o[a]])&&(n[i][o[a]]=t[i][o[a]])}}setTemplateOptions(n,t=null){if(n&&n.hasOwnProperty("allowHTMLInInstructions")&&!n.hasOwnProperty("allowHTML")&&(n.allowHTML=n.allowHTMLInInstructions,delete n.allowHTMLInInstructions),n){t||(t=tn.deepCopy(this.templateOptions));const i=void 0!==n.displayScoreWithAnswerText&&n.displayScoreWithAnswerText!==t.displayScoreWithAnswerText,r=void 0!==n.allowHTML&&n.allowHTML!==t.allowHTML,o=void 0!==n.displayInvalidHTML&&n.displayInvalidHTML!==t.displayInvalidHTML,a=void 0!==n.allowMarkdown&&n.allowMarkdown!==t.allowMarkdown,s=void 0!==n.readonlyMode&&n.readonlyMode!==t.readonlyMode;if(this.templateOptions=Object.assign({},t,n),s&&this.itemList)for(let l=0,c=this.itemList.length;l<c;l++)this._updateItemAttrs(this.itemList[l]);if((i||r||o||a)&&this.itemList)for(let l=0,c=this.itemList.length;l<c;l++){const h=this.itemList[l];h._hasAnswerList&&(r||o||a||h._hasScoreInAnswer)&&this._updateAutocompOptions(h)}if(this.templateOptions.allowHTML&&this.itemList)for(let l=0,c=this.itemList.length;l<c;l++){const h=this.itemList[l];if(["_displayTextHTML","_prefixHTML"].forEach(p=>{if(h[p]){if(this._containedImages&&h[p].match(/img/)&&h[p].match(/src/)){const P=p+"Original";this._containedImageHtmlMap.has(h[P])?h[p]=this._containedImageHtmlMap.get(h[P]):(h[P]=h[p],h[p]=ki._getHtmlStringWithContainedImages(this._containedImages,h[P]),this._containedImageHtmlMap.set(h[P],h[p]))}let S,v;const C=LForms.Util._internalUtil.checkForInvalidHtmlTags(h[p],this.templateOptions.allowExternalURL);C&&C.length>0&&("_displayHTML"===p?h._hasInvalidHTMLTagInText=!0:"_prefixHTML"===p&&(h._hasInvalidHTMLTagInPrefix=!0),S={},r9.addMsg(S,"invalidTagInHTMLContent"),v=[{errors:S}],ki.printInvalidHtmlToConsole(C),ki.setItemMessagesArray(h,v,"setTemplateOptions"))}}),h.codingInstructions&&h.codingInstructions.length>0&&"html"===h.codingInstructionsFormat){let p,S;this._containedImages&&h.codingInstructions.match(/img/)&&h.codingInstructions.match(/src/)&&(h._codingInstructionsWithContainedImages=ki._getHtmlStringWithContainedImages(this._containedImages,h.codingInstructions));const C=LForms.Util._internalUtil.checkForInvalidHtmlTags(h._codingInstructionsWithContainedImages||h.codingInstructions,this.templateOptions.allowExternalURL);C&&C.length>0&&(h.codingInstructionsHasInvalidHtmlTag=!0,p={},r9.addMsg(p,"invalidTagInHelpHTMLContent"),S=[{errors:p}],ki.printInvalidHtmlToConsole(C),ki.setItemMessagesArray(h,S,"_processCodingInstructionsAndLegal"))}if(h.legal&&h.legal.length>0&&"html"===h.legalFormat){let p,S;this._containedImages&&h.legal.match(/img/)&&h.legal.match(/src/)&&(h._legalWithContainedImages=ki._getHtmlStringWithContainedImages(this._containedImages,h.legal));const C=LForms.Util._internalUtil.checkForInvalidHtmlTags(h._legalWithContainedImages||h.legal,this.templateOptions.allowExternalURL);C&&C.length>0&&(h.legalHasInvalidHtmlTag=!0,p={},r9.addMsg(p,"invalidTagInLegalHTMLContent"),S=[{errors:p}],ki.printInvalidHtmlToConsole(C),ki.setItemMessagesArray(h,S,"_processCodingInstructionsAndLegal"))}}this.setMessageLevel(this.templateOptions.messageLevel)}}_lfItemValueFromDefaultAnswer(n){let t=n.defaultAnswer;if(null==t||""===t)return!1;!n._hasAnswerList&&(n.dataType===Je_DATA_TYPE_DTM||n.dataType===Je_DATA_TYPE_DT)&&"string"==typeof t&&(t=tn.stringToDate(t),t||console.error(n.defaultAnswer+": Invalid date/datetime string as defaultAnswer for "+n.questionCode)),ki.assignValueToItem(n,t)}_setTreeNodes(n,t){const i=n.length,r=i-1;let o=null,a=1;for(let s=0;s<i;s++){const l=n[s];if(l.dataType===Je_DATA_TYPE_CNE?l.dataType=Je_DATA_TYPE_CODING:l.dataType===Je_DATA_TYPE_CWE&&(l.dataType=Je_DATA_TYPE_CODING,l.answerConstraint="optionsOrString"),fs.initializeCodes(l),l._text=l.prefix?l.prefix+" "+l.question:l.question,l.header?l.dataType!==Je_DATA_TYPE_TITLE&&(l.dataType=Je_DATA_TYPE_SECTION):l.units&&!l.dataType?l.dataType=Je_DATA_TYPE_REAL:l.dataType||(l.dataType=Je_DATA_TYPE_ST),("string"==typeof l.answers||"number"==typeof l.answers)&&this.answerLists&&Array.isArray(this.answerLists[l.answers])&&(l.answers=this.answerLists[l.answers]),this._packageStore&&this._loadAnswerValueSetsFromPackage(l),l._hasAnswerList=ki.hasAnswerList(l),"SECTION"===l.dataType?l.displayControl?l.displayControl.questionLayout||(l.displayControl.questionLayout="vertical"):(l.displayControl={questionLayout:"vertical"},l.layout&&(l.displayControl.questionLayout=l.layout,delete l.layout)):l._hasAnswerList&&(l.displayControl?l.displayControl.answerLayout||(l.displayControl.answerLayout=tn.deepCopy(this.templateOptions.defaultAnswerLayout.answerLayout)):l.displayControl=tn.deepCopy(this.templateOptions.defaultAnswerLayout)),l.extension&&this._fhir&&(this._fhir.SDC.buildExtensionMap(l),this._hasResponsiveExpr=this._hasResponsiveExpr||this._fhir.SDC.hasResponsiveExpression(l),this._hasInitialExpr=this._hasInitialExpr||this._fhir.SDC.hasInitialExpression(l),l._hasListExpr=this._fhir.SDC.hasListExpression(l)),this._updateItemAttrs(l),l._hasAnswerList?this._resetItemValueWithAnswers(l):!this.hasSavedData&&null!=l.defaultAnswer&&null==l.value&&this._lfItemValueFromDefaultAnswer(l),l._questionRepeatable&&o&&o.linkId===l.linkId?a+=1:a=1,l._id=a,l._idPath=t._idPath+this.PATH_DELIMITER+l._id,!l.linkId)throw new Error("linkId is missing for item '"+l.question+"', but it is a required field for items.");if(l._elementId=l.linkId.replaceAll("\\","\\\\").replaceAll(this.PATH_DELIMITER,"\\"+this.PATH_DELIMITER)+l._idPath,l._displayLevel=t._displayLevel+1,l._displayLevel>this._totalLevelsOfHierarchy&&(this._totalLevelsOfHierarchy=l._displayLevel),l._lastSibling=s===r,l._firstSibling=0===s,this._setupInFieldPlaceholders(l),l.value&&!l._hasAnswerList&&(l.dataType===Je_DATA_TYPE_DT||l.dataType===Je_DATA_TYPE_DTM)&&(l.value=tn.stringToDate(l.value)),!l._hasAnswerList&&(l.dataType===Je_DATA_TYPE_INT||l.dataType===Je_DATA_TYPE_REAL||l.dataType===Je_DATA_TYPE_QTY)&&"number"==typeof l.value&&(l.value=l.value+""),(l._answerRequired||l.restrictions||l.dataType!==Je_DATA_TYPE_ST&&l.dataType!==Je_DATA_TYPE_TX&&l.dataType!==Je_DATA_TYPE_DTM&&l.dataType!==Je_DATA_TYPE_DT&&l.dataType!==Je_DATA_TYPE_TM&&!l._hasAnswerList)&&(l._hasValidation=!0),l.items&&l.items.length>0&&this._setTreeNodes(l.items,l),l._questionRepeatable&&1===l._id){delete l._parentItem;const c=tn.deepCopy(l);this._removeUserDataAndRepeatingSubItems(c),this._repeatableItems[l.linkId]=c}l._parentItem=t,o=l}}_setupInFieldPlaceholders(n){if(!n._readOnly)if(n._entryFormat)n._placeholder=n._entryFormat;else if(n._hasAnswerList)n._placeholder="optionsOrString"===n.answerConstraint?n.externallyDefined?n._multipleAnswers?Sn.placeholderSearchMultiOptionsOrString:Sn.placeholderSearchSingleOptionsOrString:n._multipleAnswers?Sn.placeholderSelectMultiOptionsOrString:Sn.placeholderSelectSingleOptionsOrString:n.externallyDefined?n._multipleAnswers?Sn.placeholderSearchMulti:Sn.placeholderSearchSingle:n._multipleAnswers?Sn.placeholderSelectMulti:Sn.placeholderSelectSingle;else switch(n.dataType){case Je_DATA_TYPE_DT:n._placeholder=Sn.placeholderDate;break;case Je_DATA_TYPE_DTM:n._placeholder=Sn.placeholderDateTime;break;case Je_DATA_TYPE_TM:n._placeholder=Sn.placeholderTime;break;case Je_DATA_TYPE_CODING:n.answerConstaint&&"optionsOnly"!==n.answerConstraint?"optionsOrString"===n.answerConstraint&&(n._placeholder=n.externallyDefined?n._multipleAnswers?Sn.placeholderSearchMultiOptionsOrString:Sn.placeholderSearchSingleOptionsOrString:n._multipleAnswers?Sn.placeholderSelectMultiOptionsOrString:Sn.placeholderSelectSingleOptionsOrString):n._placeholder=n.externallyDefined?n._multipleAnswers?"Search for values":"Search for value":n._multipleAnswers?"Select one or more":"Select one";break;case"SECTION":case"TITLE":case"":n._placeholder="";break;case Je_DATA_TYPE_INT:case Je_DATA_TYPE_REAL:case Je_DATA_TYPE_QTY:n._placeholder=Sn.placeholderTypeANumber;break;default:n._placeholder=Sn.placeholderTypeAValue}}_removeUserDataAndRepeatingSubItems(n){if(n.value=null,n.unit=null,n.items&&n.items.length>0)for(let t=0;t<n.items.length;t++){const i=n.items[t];i._questionRepeatable&&1!=i._id?(n.items.splice(t,1),t--):this._removeUserDataAndRepeatingSubItems(i)}}_updateItemAttrs(n){if(n.questionCardinality||(n.questionCardinality={min:"1",max:"1"}),n.answerCardinality||(n.answerCardinality={min:"0",max:"1"}),!Array.isArray(n.answers)&&""!==n.answers&&this.answerLists&&(n.answers=this.answerLists[n.answers]),this._containedImages&&n.codingInstructions&&n.codingInstructions.length>0&&this.templateOptions.allowHTML&&"html"===n.codingInstructionsFormat&&n.codingInstructions.match(/img/)&&n.codingInstructions.match(/src/)&&(n._codingInstructionsWithContainedImages=ki._getHtmlStringWithContainedImages(this._containedImages,n.codingInstructions)),Array.isArray(n.answers)&&n.dataType===Je_DATA_TYPE_CODING){const t=n.answerCodeSystem?fs.getCodeSystem(n.answerCodeSystem):null;for(let i=0,r=n.answers.length;i<r;i++){const o=n.answers[i];o.system?o.system=fs.getCodeSystem(o.system):o.codeSystem?(o.system=fs.getCodeSystem(o.codeSystem),delete o.codeSystem):t&&(o.system=t)}}n._questionRepeatable=n.questionCardinality.max&&("*"===n.questionCardinality.max||parseInt(n.questionCardinality.max)>1),n._answerRequired=n.answerCardinality.min&&n.answerCardinality.min&&parseInt(n.answerCardinality.min)>=1,n._multipleAnswers=fs._hasMultipleAnswers(n),n._readOnly=this.templateOptions.readonlyMode||"0"===n.editable||!!n.calculationMethod||ki.targetDisabledAndProtected(n),this._fhir&&(this._fhir.SDC.processExtensions(n,"obj_text"),this._fhir.SDC.processExtensions(n,"obj_prefix"))}isItemHidden(n){return(n._skipLogicStatus===Je_SKIP_LOGIC_STATUS_DISABLED||!1===n._enableWhenExpVal)&&"protected"!==n._disabledDisplayStatus||n.isHiddenInDef}_updateTreeNodes(n,t){let i=n.length,r=i-1,o=!1;for(var a=i-1;a>=0;a--){if((s=n[a])._id||(s._id=1),s._idPath=t._idPath+this.PATH_DELIMITER+s._id,s._elementId=s.linkId+s._idPath,s._displayLevel=t._displayLevel+1,s._displayLevel>this._totalLevelsOfHierarchy&&(this._totalLevelsOfHierarchy=s._displayLevel),s._parentItem=t,s._repeatingSectionList=null,this._updateItemAttrs(s),s._lastSibling=a===r,o||(this.isItemHidden(s)||s._isHiddenFromView?(s._lastSibling=!1,r-=1):(s._lastSibling=!0,o=!0)),s._questionRepeatable&&1===s._id&&!this._repeatableItems[s.linkId]){delete s._parentItem;const h=tn.deepCopy(s);this._removeUserDataAndRepeatingSubItems(h),this._repeatableItems[s.linkId]=h}s._parentItem=t,s.items&&s.items.length>0&&this._updateTreeNodes(s.items,s)}let l=!1,c=0;for(a=0;a<i;a++){var s;(s=n[a])._firstSibling=a===c,l||(s._skipLogicStatus===Je_SKIP_LOGIC_STATUS_DISABLED?(s._firstSibling=!1,c+=1):(s._firstSibling=!0,l=!0))}}getFormData(n,t,i,r){const o=this.getUserData(!1,n,t,i,r);let a=!1;for(let l=0,c=this.itemList.length;l<c;l++)if(!fs.isItemValueEmpty(this.itemList[l].value)){a=!0;break}const s={lformsVersion:this.lformsVersion,PATH_DELIMITER:this.PATH_DELIMITER,code:this.code,codeList:this.codeList,identifier:this.identifier,codeSystem:this.codeSystem,name:this.name,type:this.type,template:this.template,copyrightNotice:this.copyrightNotice,url:this.url,version:this.version,items:o.itemsData,templateOptions:tn.deepCopy(this.templateOptions)};return this.extension&&this.extension.length>0&&(s.extension=this.extension),a&&(s.hasSavedData=!0),this.fhirVersion&&(s.fhirVersion=this.fhirVersion),s}getUserData(n,t,i,r,o){const a={};return this._invalidData=!1,this._checkSubTreeValues(this.items),a.itemsData=this._processDataInItems(this.items,n,t,i,r,o),tn.deepCopy(a)}checkValidity(){const n=[],t=this.itemList.length;for(let i=0;i<t;i++){const r=this.itemList[i];if(r._skipLogicStatus!==Je_SKIP_LOGIC_STATUS_DISABLED&&(this._checkValidations(r),this._checkConstraints(r,r._validationErrors),void 0!==r._validationErrors&&r._validationErrors.length)){const o=r._validationErrors.map(a=>`${r.question} ${a}`);Array.prototype.push.apply(n,o)}}return n.length?n:null}_checkSubTreeValues(n){for(let t=0,i=n.length;t<i;t++)this._setSubTreeHasValue(n[t])}_setSubTreeHasValue(n){let t=!1;if(fs.isItemValueEmpty(n.value)||(t=!0),n.items&&n.items.length>0)for(let i=0,r=n.items.length;i<r;i++)this._setSubTreeHasValue(n.items[i])&&(t=!0);return n._itemOrSubtreeHasValue=t,t}_processDataInItems(n,t,i,r,o,a){const s=[];for(let l=0,c=n.length;l<c;l++){const h=n[l];if(!a&&h.isSubGroupForCheckbox)continue;const p={};if(!(r&&h._skipLogicStatus===Je_SKIP_LOGIC_STATUS_DISABLED||r&&!1===h._enableWhenExpVal||i&&!h._itemOrSubtreeHasValue&&h.dataType!==Je_DATA_TYPE_SECTION&&h.dataType!==Je_DATA_TYPE_TITLE)){if(t)p.questionCode=h.questionCode,h.dataType!==Je_DATA_TYPE_SECTION&&h.dataType!==Je_DATA_TYPE_TITLE&&(void 0!==h.value&&(p.value=this._getOriginalValue(h,h.value,h.dataType,h._hasAnswerList)),h.unit&&(p.unit=this._getOriginalValue(h,h.unit)));else{h.extension&&h.extension.length>0&&(p.extension=h.extension);for(const S in h)"value"===S?p[S]=this._getOriginalValue(h,h[S],h.dataType,h._hasAnswerList):"unit"===S?p[S]=this._getOriginalValue(h,h[S]):!S.match(/^[_\$]/)&&"extension"!==S&&(p[S]=h[S]),o&&(p._id=h._id)}h.items&&h.items.length>0&&(p.items=this._processDataInItems(h.items,t,i,r,o,a)),(!i||p.items&&0!==p.items.length||h._itemOrSubtreeHasValue)&&s.push(p)}}return s}_filterInternalData(n,t){let i={};if(t&&n._notOnList&&!n.code&&!n.system)i=n.text;else for(const r in n)r.match(/^[_\$]/)||(i[r]=n[r]);return i}getItemValues(n){let t;if(n._questionRepeatable){t=[];const i=n._parentItem.items,r=n.linkId;let o=!1;for(let a=0,s=i.length;a<s;++a){const l=i[a];if(l.linkId===r)fs.isItemValueEmpty(l.value)||t.push(l.value),o=!0;else if(o)break}}else{const i=n.value;t=fs.isItemValueEmpty(i)?[]:n._multipleAnswers?i:[i]}return t}_getObjectValue(n,t=!1){let i=null;if(n)if(Array.isArray(n)){const r=[];for(let o=0,a=n.length;o<a;o++)r.push("object"==typeof n[o]?this._filterInternalData(n[o],t):n[o]);i=r}else"object"==typeof n&&(i=this._filterInternalData(n,t));return i}_getOriginalValue(n,t,i=null,r=!1){let o;if(null!=t)if(i)switch(i){case Je_DATA_TYPE_INT:r?n.answerConstraint&&"optionsOnly"!==n.answerConstraint?"optionsOrString"===n.answerConstraint&&(o=this._getObjectValue(t,!0)):o=this._getObjectValue(t):Array.isArray(t)?o=t.map(a=>(tn.isInteger(a)||(this._invalidData=!0),parseInt(a))):(tn.isInteger(t)||(this._invalidData=!0),o=parseInt(t));break;case Je_DATA_TYPE_REAL:case Je_DATA_TYPE_QTY:tn.isDecimal(t)||(this._invalidData=!0),"string"==typeof t&&(t=t.replace(Sn.decimalCharacter,".")),o=parseFloat(t);break;case Je_DATA_TYPE_DT:r?n.answerConstraint&&"optionsOnly"!==n.answerConstraint?"optionsOrString"===n.answerConstraint&&(o=this._getObjectValue(t,!0)):o=this._getObjectValue(t):o=Array.isArray(t)?t.map(a=>tn.dateToDTStringISO(a)):tn.dateToDTStringISO(t);break;case Je_DATA_TYPE_DTM:o=tn.dateToDTMString(t);break;case Je_DATA_TYPE_CODING:n.answerConstraint&&"optionsOnly"!==n.answerConstraint?"optionsOrString"===n.answerConstraint&&(o=this._getObjectValue(t,!0)):o=this._getObjectValue(t);break;case Je_DATA_TYPE_BL:o=!!t;break;case Je_DATA_TYPE_ST:case Je_DATA_TYPE_TM:r?n.answerConstraint&&"optionsOnly"!==n.answerConstraint?"optionsOrString"===n.answerConstraint&&(o=this._getObjectValue(t,!0)):o=this._getObjectValue(t):o=t;break;default:o=t}else o=this._getObjectValue(t);return o}getRepeatingItemMaxId(n){let t=n._id;if(n._parentItem&&Array.isArray(n._parentItem.items))for(let i=0,r=n._parentItem.items.length;i<r;i++)n._parentItem.items[i].linkId===n.linkId&&n._parentItem.items[i]._id>t&&(t=n._parentItem.items[i]._id);return t}getRepeatingItemCount(n){let t=0;if(n._parentItem&&Array.isArray(n._parentItem.items))for(let i=0,r=n._parentItem.items.length;i<r;i++)n._parentItem.items[i].linkId===n.linkId&&t++;return t}_updateLastRepeatingItemsStatus(n){if(!n||0===n.length)return;const t=n.length;let i="",r=1;for(let o=0;o<t;o++){const a=n[o];""!==i?(n[o-1]._lastRepeatingItem=!(i===a.linkId||!n[o-1]._questionRepeatable||!("*"===n[o-1].questionCardinality.max||parseInt(n[o-1].questionCardinality.max)>r)),n[o-1]._minOccursNotMet=!!(n[o-1]._lastRepeatingItem&&parseInt(n[o-1].questionCardinality.min)>r),n[o-1]._maxOccursExcceeded=!!(i!==a.linkId&&n[o-1]._questionRepeatable&&parseInt(n[o-1].questionCardinality.max)<r),i===a.linkId?r++:r=1):r=1,i=a.linkId,a.items&&a.items.length>0&&this._updateLastRepeatingItemsStatus(a.items)}n[t-1]._lastRepeatingItem=!(!n[t-1]._questionRepeatable||!("*"===n[t-1].questionCardinality.max||parseInt(n[t-1].questionCardinality.max)>r)),n[t-1]._minOccursNotMet=!!(n[t-1]._lastRepeatingItem&&parseInt(n[t-1].questionCardinality.min)>r),n[t-1]._maxOccursExcceeded=!!(n[t-1]._questionRepeatable&&parseInt(n[t-1].questionCardinality.max)<r),n[t-1].items&&n[t-1].items.length>0&&this._updateLastRepeatingItemsStatus(n[t-1].items)}_getLastSubItem(n){let t=n;if(n&&Array.isArray(n.items)&&n.items.length>0){let i,r=n.items.length,o=!1;do{i=n.items[--r],i._skipLogicStatus!==Je_SKIP_LOGIC_STATUS_DISABLED&&(o=!0)}while(!o);o&&(t=this._getLastSubItem(i))}return t}_resetHorizontalTableInfo(){this._horizontalTableInfo={};let n=null,t=null;for(let o=0,a=this.itemList.length;o<a;o++){const s=this.itemList[o];if(s.dataType===Je_DATA_TYPE_SECTION&&s.displayControl&&"horizontal"==s.displayControl.questionLayout){let l=[];const c=[];s._inHorizontalTable=!0;const h=s.linkId+s._parentItem._idPath;if(t=s._elementId,null===n||n!==h){n=h,s._horizontalTableHeader=!0,s._horizontalTableId=n,l=s.items;for(var i=0,r=l.length;i<r;i++){const p=l[i];c.push({item:p,id:"col"+p._elementId,displayControl:p.displayControl}),l[i]._inHorizontalTable=!0}this._horizontalTableInfo[n]={tableStartIndex:o,tableEndIndex:o+l.length,columnHeaders:c,tableRows:[{header:s,cells:l}],tableHeaders:[s]},this._horizontalTableInfo[n].lastHeaderId=t}else if(n===h){for(s._horizontalTableHeader=!1,l=s.items,i=0,r=l.length;i<r;i++)l[i]._inHorizontalTable=!0;this._horizontalTableInfo[n].tableRows.push({header:s,cells:l}),this._horizontalTableInfo[n].tableHeaders.push(s),this._horizontalTableInfo[n].tableEndIndex=o+l.length,this._horizontalTableInfo[n].lastHeaderId=t}}}}_adjustLastSiblingListForHorizontalLayout(){const n=this._horizontalTableInfo;for(const t in n){const i=n[t].tableHeaders;i.length>1&&(i[0]._lastSibling=i[i.length-1]._lastSibling)}}addRepeatingItems(n){const t=this.getRepeatingItemMaxId(n),i=this._repeatableItems[n.linkId];this._fillAnswersInRepeatItem(i,n);const r=tn.deepCopy(i);if(r._id=t+1,n._parentItem&&Array.isArray(n._parentItem.items)){let a=0;for(let s=0,l=n._parentItem.items.length;s<l;s++)if(n._parentItem.items[s].linkId===n.linkId&&n._parentItem.items[s]._id===n._id){a=s;break}n._parentItem.items.splice(a+1,0,r),r._parentItem=n._parentItem,this._presetSkipLogicStatus(r,!1)}this._resetInternalData();const o=Sn.added+this.itemDescription(n);return this._actionLogs.push(o),LForms.FHIR&&this._hasResponsiveExpr&&this._expressionProcessor.runCalculations(!1).then(()=>{}),r}_fillAnswersInRepeatItem(n,t){n.items&&Array.isArray(n.items)&&n.items.length>0&&n.items.forEach(i=>{const r=t.items.find(o=>o.linkId===i.linkId);r&&(!i.answers&&r.answers&&(i.answers=r.answers),this._fillAnswersInRepeatItem(i,r))})}_findIndexForNewRepetition(n){let t=0,i=!1;for(var r=0,o=n._parentItem.items.length;r<o;r++)if(n._parentItem.items[r].linkId===n.linkId&&(i=!0),i&&n._parentItem.items[r].linkId!==n.linkId){t=r;break}return i&&r===o&&(t=r),t}appendRepeatingItems(n){const t=this.getRepeatingItemMaxId(n),i=tn.deepCopy(this._repeatableItems[n.linkId]);if(i._id=t+1,n._parentItem&&Array.isArray(n._parentItem.items)){const o=this._findIndexForNewRepetition(n);n._parentItem.items.splice(o,0,i),i._parentItem=n._parentItem,this._presetSkipLogicStatus(i,!1)}this._resetInternalData();const r=Sn.added+this.itemDescription(n);return this._actionLogs.push(r),i}getLinkIdForCheckboxSubGroup(n){return"checkbox-subgroup|"+(n.system||"")+"|"+(n.code||n.text)}addSubItemsForCheckbox(n,t){const i=this.getLinkIdForCheckboxSubGroup(t);let r=tn.deepCopy(n.items.filter(s=>!s.isSubGroupForCheckbox)),o={isSubGroupForCheckbox:!0,checkboxOption:t,header:!0,dataType:"SECTION",displayControl:{questionLayout:"vertical"},question:"",linkId:"",_id:"",items:[]};o.question=t._displayText,o.linkId=i,o._id=i,o.items=r,this._updateSubItemsHiddenFromView(o,!1),n.items.unshift(o),this._resetInternalData(),this._actionLogs.push(Sn.added+o.question)}deleteSubItemsForCheckbox(n,t){const i=this.getLinkIdForCheckboxSubGroup(t);n.items=n.items.filter(o=>o.linkId!==i),this._resetInternalData(),this._actionLogs.push(`${Sn.removed} Sub items for checkbox option: ${t._displayText}`)}updateCheckboxSubGroupProperties(n,t,i){const r=n.items.find(o=>!0===o.isSubGroupForCheckbox&&o.linkId===i);r&&!r.question&&(r.question=t._displayText,r.checkboxOption=t,this._resetInternalData())}areAnyRepeatingItemsEmpty(n){let t=!1;const i=this._getRepeatingItems(n);for(let r=0,o=i.length;r<o;r++)i[r]._showUnusedItemWarning=!1,this._isRepeatingItemEmpty(i[r])&&(t=!0);return t&&(n._showUnusedItemWarning=!0),t}_isRepeatingItemEmpty(n){let t=!0;if(n.dataType!==Je_DATA_TYPE_SECTION){if(null==n.value||""===n.value)return t;if(n._skipLogicStatus!==Je_SKIP_LOGIC_STATUS_DISABLED)if(Array.isArray(n.value)&&n.value.length>0){let i=!1;for(let r=0,o=n.value.length;r<o&&(n.value[r].text&&(i=null!=n.value[r].text&&""!==n.value[r].text),!i);r++);t=!i}else if("object"==typeof n.value){const i=n.value;t=!(null!=i.data||i.url||i.text||i instanceof Date)}else null!=n.value&&""!==n.value&&(t=!1)}if(t&&n.items)for(let i=0,r=n.items.length;i<r&&(t=this._isRepeatingItemEmpty(n.items[i]),t);i++);return t}_getRepeatingItems(n){const t=[];if(n._questionRepeatable&&n._parentItem&&Array.isArray(n._parentItem.items)){const i=n._parentItem.items;for(let r=0,o=i.length;r<o;r++)i[r].linkId===n.linkId&&t.push(i[r])}return t}getPrevRepeatingItem(n){const t=this._getRepeatingItems(n),r=t.map(function(o){return o._elementId}).indexOf(n._elementId);return r>0?t[r-1]:null}getNextRepeatingItem(n){const t=this._getRepeatingItems(n),r=t.map(function(o){return o._elementId}).indexOf(n._elementId);return r<t.length-1?t[r+1]:null}getFirstRepeatingItem(n){return this._getRepeatingItems(n)[0]}getLastRepeatingItem(n){const t=this._getRepeatingItems(n);return t[t.length-1]}removeRepeatingItems(n){if(n._parentItem&&Array.isArray(n._parentItem.items))for(let i=0,r=n._parentItem.items.length;i<r;i++)if(n._parentItem.items[i].linkId==n.linkId&&n._parentItem.items[i]._id==n._id){n._parentItem.items.splice(i,1);break}this._resetInternalData();const t=Sn.removed+this.itemDescription(n);this._actionLogs.push(t),LForms.FHIR&&this._hasResponsiveExpr&&this._expressionProcessor.runCalculations(!1).then(()=>{})}setRepeatingItems(n,t,i,r){let a,o=!1,s=!1,l=!1;if(tn.deepEqual(n._lastComputedMessages,i)||(n._lastComputedRepeatingMessages=i,s=!0),n._questionRepeatable){if(n._parentItem&&Array.isArray(n._parentItem.items)){a=this._getRepeatingItems(n);let C,P,v=t.length-a.length;if(o=0!==v,v<0&&(P=this._findIndexForNewRepetition(n)+v,n._parentItem.items.splice(P,-v),a.splice(v),0===t.length&&(v=1,C=0)),v>0){void 0===P&&(P=this._findIndexForNewRepetition(n),C=this.getRepeatingItemMaxId(n));const Z=n._parentItem._skipLogicStatus===Je_SKIP_LOGIC_STATUS_DISABLED;for(var c=0;c<v;++c){const re=tn.deepCopy(this._repeatableItems[n.linkId]);re._id=C+c+1,n._parentItem.items.splice(P+c,0,re),re._parentItem=n._parentItem,a.push(re),this._presetSkipLogicStatus(re,Z)}}c=0;for(var h=t.length;c<h;++c)l=ki.assignValueToItem(a[c],t[c])||l,s&&ki.setItemMessages(a[c],i[c],r)}}else n._multipleAnswers?n.value=t:(l=ki.assignValueToItem(n,t[0])||l,t.length>1?(ki.addItemWarning(n,"MultipleValuesForNonRepeat"),console.log(JSON.stringify(t))):ki.removeItemWarning(n,"MultipleValuesForNonRepeat")),s&&ki.setItemMessagesArray(n,i,r);o&&this._resetInternalData();const p="Set values for "+this.itemDescription(n);return this._actionLogs.push(p),l&&this.updateOnSourceItemChange(n),o?a[a.length-1]:void 0}setRepeatingItemMessages(n,t,i){if(!tn.deepEqual(n._lastComputedMessages,t))if(n._lastComputedRepeatingMessages=t,n._questionRepeatable){if(n._parentItem&&Array.isArray(n._parentItem.items)){const r=this._getRepeatingItems(n);for(let o=0,a=r.length;o<a;++o)ki.setItemMessages(r[o],t[o],i)}}else ki.setItemMessagesArray(n,t,i)}itemDescription(n){return n._inHorizontalTable?"row":n.dataType===Je_DATA_TYPE_SECTION?"section":"question"}_getScores(n,t){const i=[],r=this._getFormulaSourceItems(n,t.value);for(let o=0,a=r.length;o<a;o++){let l=0;(n=r[o])&&n.value&&n.value.score&&n._skipLogicStatus!==Je_SKIP_LOGIC_STATUS_DISABLED&&(l=n.value.score),i.push(l)}return i}_getFormulaSourceItems(n,t){const i=[];for(let r=0,o=t.length;r<o;r++){const s=this._findItemByLinkId(n,t[r]);i.push(s)}return i}_getValuesInStandardUnit(n,t){const i=[],r=this._getFormulaSourceItems(n,t.value);for(let o=0,a=r.length;o<a;o++){let s=null;(n=r[o]).value&&n._skipLogicStatus!==Je_SKIP_LOGIC_STATUS_DISABLED&&(s=n.unit&&n.unit.name?Ile.getValueInStandardUnit(parseFloat(n.value),n.unit.name):parseFloat(n.value)),i.push(s)}return i}getFormulaResult(n){let t="",i=[];if(n.calculationMethod){const r=n.calculationMethod;i=r.name===Je_CALCULATION_METHOD_TOTALSCORE?this._getScores(n,r):this._getValuesInStandardUnit(n,r),t=zle.calculations_[r.name](i)}return t}_processItemFormula(n){let t=!1;if(n.calculationMethod&&n.calculationMethod.name){const i=this.getFormulaResult(n);tn.deepEqual(i,n.value)||(n.value=i,t=!0)}return t}_processItemDataControl(n){let t=!1;return n.dataControl&&Array.isArray(n.dataControl)&&(t=this._updateDataByDataControl(n),t&&(this._updateAutocompOptions(n),this._updateUnitAutocompOptions(n))),t}_constructObjectByDataFormat(n,t){const i={};if("object"==typeof n){const r=Object.keys(n);for(let o=0,a=r.length;o<a;o++)i[r[o]]=this._getDataFromNestedAttributes(n[r[o]],t)}return i}_constructArrayByDataFormat(n,t){let i=[],r=!1;if("object"==typeof n){const a=Object.keys(n),s={},l=a.length;let c=-1;for(var o=0;o<l;o++){const h=s[a[o]]=this._getDataFromNestedAttributes(n[a[o]],t);if(!Array.isArray(h)){r=!0;break}if(-1===c)c=h.length;else if(c!==h.length){r=!0;break}}if(!r)for(let h=0;h<c;h++){const p={};for(o=0;o<l;o++)p[a[o]]=s[a[o]][h];i.push(p)}}return i}_updateDataByDataControl(n){let t=!1;for(let i=0,r=n.dataControl.length;i<r;i++){let o=n.dataControl[i].source,a=n.dataControl[i].onAttribute,s=n.dataControl[i].construction,l=n.dataControl[i].dataFormat;if(a||(a="value"),s||(s=Je_DATA_CONTROL_CONSTRUCTION_SIMPLE),l||(l="value"),o){let c=o.sourceType;if(c||(c=Je_DATA_CONTROL_SOURCE_INTERNAL),c===Je_DATA_CONTROL_SOURCE_INTERNAL&&o.sourceLinkId){const h=this._findItemByLinkId(n,o.sourceLinkId);if(h&&h._skipLogicStatus!==Je_SKIP_LOGIC_STATUS_DISABLED){let p;s===Je_DATA_CONTROL_CONSTRUCTION_ARRAY?p=this._constructArrayByDataFormat(l,h):s===Je_DATA_CONTROL_CONSTRUCTION_OBJECT?p=this._constructObjectByDataFormat(l,h):s===Je_DATA_CONTROL_CONSTRUCTION_SIMPLE&&(p=this._getDataFromNestedAttributes(l,h)),tn.deepEqual(n[a],p)||(n[a]=tn.deepCopy(p),t=!0)}}}}return t}_getDataFromNestedAttributes(n,t){const i=n.trim().split(".");for(var r=t,o=i.length,a=0;a<o&&r;a++){const s=i[a];if(!s)break;{const l=s.match(/^(.+)\[(\d+)\]$/);if(l){r=r[l[1]];const h=parseInt(l[2]);if(!Number.isInteger(h))break;r=r[h]}else r=r[s]}}return a===o&&r?r:null}_setUpAnswerAndUnitAutoComp(n){for(let t=0,i=n.length;t<i;t++){const r=n[t];r._hasAnswerList&&this._updateAutocompOptions(r),this._updateUnitAutocompOptions(r)}}_setUnitDisplay(n){n._displayUnit=n.name?n.name:n.code?n.code:null}_updateUnitAutocompOptions(n){if(n.units&&!n._hasAnswerList){n.unit&&this._setUnitDisplay(n.unit),n._unitAutocompOptions=null;const t=[],i=n.units;let r;for(let o=0,a=i.length;o<a;o++){const s=tn.deepCopy(i[o]);this._setUnitDisplay(s),i[o].default&&(r=s),s._displayUnit&&t.push(s)}if((n.dataType===Je_DATA_TYPE_INT||n.dataType===Je_DATA_TYPE_REAL)&&(n.units&&n.units.length>1?(console.log('Form definition warning: Data types of INT or REAL may only have one unit.  Question "'+n.question+'" has '+n.units.length+" units.  For multiple units, use type QTY instead."),n.dataType=Je_DATA_TYPE_QTY):(n._unitReadonly=!0,n.unit||(n.unit=t[0]))),n.dataType===Je_DATA_TYPE_QTY){const o={listItems:t,matchListValue:n.units&&(!n._unitOpen||"optionsOrString"!=n._unitOpen)||!n.units&&"optionsOnly"==n._unitOpen,autoFill:!0,display:"_displayUnit"};void 0!==r?o.defaultValue=r:1===t.length&&(o.defaultValue=t[0]),tn.deepEqual(n._unitAutocompOptions,o)||(n._unitAutocompOptions=o)}}}_resetItemValueWithAnswers(n){if(n._hasAnswerList){let t=null;const i=this.hasSavedData?n.value:n.value||n.defaultAnswer;if(i){t=[];const r=n._multipleAnswers&&Array.isArray(i)?i:[i];if("optionsOrString"!==n.answerConstraint)t=r;else for(let o=0,a=r.length;o<a;++o)"string"==typeof r[o]||"number"==typeof r[o]?(t.push({text:r[o],_notOnList:!0}),n._answerOther=r[o],n._answerOtherChecked=!0):t.push(r[o])}if(t){let r=[];for(let a=0,s=t.length;a<s;++a){const l=t[a];let c=!1;if(n.externallyDefined)r=t;else if(Array.isArray(n.answers)){for(let h=0,p=n.answers.length;!c&&h<p;++h)tn.areTwoAnswersSame(l,n.answers[h],n)&&(r.push(n.answers[h]),c=!0);!c&&"optionsOrString"===n.answerConstraint&&l&&(l._notOnList=!0,r.push(l))}else r.push(l)}n.value=n._multipleAnswers?r:r[0]}}}_fhirClientSearchByValueSetID(n,t,i){return LForms.fhirContext.client.request(this._buildURL(["ValueSet",n,"$expand"],{count:i,filter:t}))}_findValueSetIDAndSearch(n,t,i){const r="Could not retrieve the ValueSet definition for "+n.answerValueSet,o=LForms.fhirContext.client;LForms._valueSetUrlToID||(LForms._valueSetUrlToID={});const a=LForms._valueSetUrlToID[n.answerValueSet];if(a)return this._fhirClientSearchByValueSetID(a,t,i);{const s=this;return o.request(this._buildURL(["ValueSet"],{url:n.answerValueSet,_total:"accurate"})).then(function(l){if(1===l.total){const h=l.entry[0].resource.id;return LForms._valueSetUrlToID[n.answerValueSet]=h,s._fhirClientSearchByValueSetID(h,t,i)}return console.log(r),Promise.reject(r)},function(l){return console.log(r),Promise.reject(r)})}}_updateAutocompOptions(n){if(n._hasAnswerList){let r=n.answerCardinality?n.answerCardinality.max:1;"*"!==r&&"string"==typeof r&&(r=parseInt(r));const o={matchListValue:"optionsOrString"!==n.answerConstraint,maxSelect:r,autoFill:!1},a=n.externallyDefined;if(a){if(o.url=a,o.autocomp=!0,o.nonMatchSuggestions=!1,o.tableFormat=!0,o.valueCols=[0],o.colHeaders=n.displayControl.listColHeaders,o.colHeaders){const s=o.colHeaders;for(var t=0,i=s.length;t<i;++t)s[t]=s[t].replace(/</g,"&lt;")}o.url.startsWith("https://snowstorm.ihtsdotools.org/")&&(o.frequency=.5)}else if(n.isSearchAutocomplete&&n.answerValueSet){const l=this._getFHIRSupport().SDC._getExpansionURL(n);if(l)o.url=l,o.fhir=!0;else{if(!LForms.fhirContext?.client)throw new Error('Cannot properly initialize the list for field "'+n.question+'" because it requires either a terminology server to be specified or LForms.Util.setFHIRContext(...) to have been called to provide access to a FHIR server.');{const c=this;o.fhir={search:function(h,p){return LForms.fhirCapabilities.urlExpandBroken?c._findValueSetIDAndSearch(n,h,p):LForms.fhirContext.client.request(c._buildURL(["ValueSet","$expand"],{count:p,filter:h,url:n.answerValueSet})).catch(v=>(LForms.fhirCapabilities.urlExpandBroken=!0,c._findValueSetIDAndSearch(n,h,p)))}},o.url?.startsWith("https://snowstorm.ihtsdotools.org/")&&(o.frequency=.5)}}}else{[o.listItems,o.addSeqNum]=this._getAnswerDisplayTextWithLabelAndScore(this.templateOptions.displayScoreWithAnswerText,n),o.display="_displayText",o.listItemsForModel=n.answers;const s=o.listItems;let l=!0;for(t=0,i=s.length;t<i&&l;++t)l=!!s[t].parentAnswerCode;if(!l){const c=[],h={};for(t=0,i=s.length;t<i;++t){const v=s[t];c.push(v.code),v.parentAnswerCode&&(h[v.code]=v.parentAnswerCode)}o.codes=c,o.itemToHeading=h}if(!n.displayControl||!n.displayControl.answerLayout||"RADIO_CHECKBOX"!==n.displayControl.answerLayout.type){o.isListHTML=s.some(c=>"html"===c._displayType||"markdown"===c._displayType);for(let c=0;c<s.length;++c)"html"===s[c]._displayType?s[c]._displayText=s[c]._displayTextHTML:"escaped"===s[c]._displayType?s[c]._displayText=LForms.Util.escapeAttribute(s[c]._displayTextHTML):"markdown"===s[c]._displayType?s[c]._displayText=s[c]._displayTextMarkdown:o.isListHTML&&(s[c]._displayText=LForms.Util.escapeAttribute(s[c]._displayText))}}tn.deepEqual(o,n._autocompOptions)||(n._autocompOptions=o)}}getTextDisplayType(n){let t="plain";return n._displayTextHTML&&n._displayTextHTML.length>0&&this.templateOptions.allowHTML?t=n._hasInvalidHTMLTagInText?this.templateOptions.displayInvalidHTML?"escaped":"plain":"html":n._displayTextMarkdown&&n._displayTextMarkdown.length>0&&this.templateOptions.allowMarkdown&&(t="markdown"),t}getPrefixDisplayType(n){let t="plain";return n._prefixHTML&&n._prefixHTML.length>0&&this.templateOptions.allowHTML?t=n._hasInvalidHTMLTagInPrefix?this.templateOptions.displayInvalidHTML?"escaped":"plain":"html":n._prefixMarkdown&&n._prefixMarkdown.length>0&&this.templateOptions.allowMarkdown&&(t="markdown"),t}_getAnswerDisplayTextWithLabelAndScore(n,t){const i=[];let r=!1,o=!1;const a=t.answers;if(a&&Array.isArray(a))for(let l=0,c=a.length;l<c;l++){const h=tn.deepCopy(a[l]);let p=(h.text||h.code)+"",S=h.textHTML,v=h.textMarkdown;h.label?(p=h.label+". "+p,r=!0,S&&(S=h.label+". "+S),v&&(v=h.label+". "+v)):!o&&!isNaN(h.text)&&(o=!0),null!=h.score&&(t._hasScoreInAnswer=!0,n&&(p=p+" - "+h.score,S&&(S=S+" - "+h.score),v&&(v=v+" - "+h.score))),h._displayText=p,h._displayTextHTML=S,h._displayTextMarkdown=v,h._displayType=this.getTextDisplayType(h),i.push(h)}return[i,!r&&!o]}_inRange(n,t){let i=!1;if(n&&!isNaN(t)){const r=Object.keys(n);if(1==r.length)switch(r[0]){case"minInclusive":i=n.minInclusive<=t;break;case"minExclusive":i=n.minExclusive<t;break;case"maxInclusive":i=n.maxInclusive>=t;break;case"maxExclusive":i=n.maxExclusive>t}else 2==r.length&&(n.hasOwnProperty("minInclusive")?i=n.minInclusive<=t:n.hasOwnProperty("minExclusive")&&(i=n.minExclusive<t),i&&(n.hasOwnProperty("maxInclusive")?i=n.maxInclusive>=t:n.hasOwnProperty("maxExclusive")&&(i=n.maxExclusive>t)))}return i}_objectEqual(n,t){return tn.shallowEqual(n,t)}_findItemByLinkId(n,t){let i=null,r=n._parentItem,o=!1;for(;!o&&r;)r.linkId===t&&(i=r,o=!0),r=r._parentItem;let a=null;if(!i){for(let s=0,l=this.itemList.length;s<l;s++)if(n._elementId===this.itemList[s]._elementId){a=s;break}if(null!==a){for(let s=a-1;s>=0;s--)if(this.itemList[s].linkId===t){i=this.itemList[s];break}if(!i)for(let s=a+1,l=this.itemList.length;s<l;s++)if(this.itemList[s].linkId===t){i=this.itemList[s];break}}}return i}_getSkipLogicSourceItem(n,t){return this._findItemByLinkId(n,t)}_codingsEqual(n,t){let i=!1;const r=o=>null!=o&&""!==o;return(n.system===t.system||!n.system&&!t.system)&&(i=r(n.code)||r(t.code)?n.code===t.code:n.text&&t.text&&n.text===t.text),!!i}_checkSkipLogicCondition(n,t){let i=!1;const r=n&&null!=n.value&&""!==n.value&&n._skipLogicStatus!==Je_SKIP_LOGIC_STATUS_DISABLED;if(t.hasOwnProperty("exists"))i=t.exists&&r||!t.exists&&!r;else if(r){const c=n.value;if(n._hasAnswerList)switch(n.dataType){case Je_DATA_TYPE_CODING:case Je_DATA_TYPE_INT:case Je_DATA_TYPE_ST:case Je_DATA_TYPE_DT:case Je_DATA_TYPE_TM:var o=t.hasOwnProperty("value")?t.value:t.hasOwnProperty("notEqual")?t.notEqual:null,a=Array.isArray(c)?c:[c],s=!1;for(let h=0,p=a.length;h<p;h++){let S=a[h];if(n.dataType===Je_DATA_TYPE_CODING){if(n.answerCodeSystem&&(S=Object.assign({system:n.answerCodeSystem},S)),this._codingsEqual(o,S)){s=!0;break}}else if(o===S.text){s=!0;break}}t.hasOwnProperty("value")?s&&(i=!0):t.hasOwnProperty("notEqual")&&(s||(i=!0))}else switch(n.dataType){case Je_DATA_TYPE_INT:case Je_DATA_TYPE_REAL:case Je_DATA_TYPE_QTY:var l=parseFloat(c);t.hasOwnProperty("value")?t.value===l&&(i=!0):t.hasOwnProperty("notEqual")?t.notEqual!=l&&(i=!0):this._inRange(t,l)&&(i=!0);break;case Je_DATA_TYPE_ST:case Je_DATA_TYPE_TX:case Je_DATA_TYPE_BL:t.hasOwnProperty("value")?t.value===c&&(i=!0):t.hasOwnProperty("notEqual")&&t.notEqual!=c&&(i=!0)}}else t.hasOwnProperty("notEqual")&&null!=t.notEqual&&""!==t.notEqual&&(i=!0);return i}_checkSkipLogic(n){let t=!1;if(n.skipLogic){const i="ALL"===n.skipLogic.logic,r=!n.skipLogic.logic||"ANY"===n.skipLogic.logic;t=i;for(let o=0,a=n.skipLogic.conditions.length;o<a;o++){const s=n.skipLogic.conditions[o],l=this._getSkipLogicSourceItem(n,s.source),c=this._checkSkipLogicCondition(l,s.trigger);if(i&&!c){t=!1;break}if(r&&c){t=!0;break}}}return t}getSkipLogicClass(n){return n._skipLogicStatus}needExtra(n){let t=!1;return n&&n.value&&!Array.isArray(n.value)&&n.value.other&&(t=!0),t}setActiveRow(n){this._activeItem=n}getActiveRowClass(n){let t="";return this._activeItem&&this._activeItem._elementId===n._elementId&&(t="lhc-active-row"),t}}const Ale={LOINC_URI:"http://loinc.org",LOINC_CS:"LN",obrFieldNum:43,obxFieldNum:17,DataType:{ST:"String",TX:"Text data",FT:"Formatted text",CQ:"Composite quantity with units",MO:"Money",NM:"Numeric",SI:"Sequence ID",SN:"Structured numeric",ID:"Coded values for HL7 tables",IS:"Coded values for user-defined tables",HD:"Hierarchic designator",EI:"Entity identifier",RP:"Reference pointer",PL:"Person location",PT:"Processing type",DT:"Date",DTM:"Date/Time",TM:"Time",TS:"Time stamp",CE:"Coded element",CF:"Coded element with formatted values",CK:"Composite ID with check digit",CN:"Composite ID number and name",CX:"Extended composite ID with check digit",XCN:"Extended composite ID number and name",CM:"Composite",AD:"Address",PN:"Person name",TN:"Telephone number",XAD:"Extended address",XPN:"Extended person name",XON:"Extended composite name and ID number for organizations",XTN:"Extended telecommunications number",CD:"Channel definition",MA:"Multiplexed array",NA:"Numeric array",ED:"Encapsulated data",CP:"Composite price",FC:"Financial class",QSC:"Query selection criteria",QIP:"Query input parameter list",RCD:"Row column definition",DLN:"Driver\u2019s license number",JCC:"Job code/class",VH:"Visiting hours",PPN:"Performing person time stamp",DR:"Date/time range",RI:"Repeat interval",SCV:"Scheduling class value pair",TQ:"Timing/quantity"},delimiters:{segment:"\r",field:"|",component:"^",subcomponent:"&",repetition:"~",escape:"\\"},OBX:[{seq:1,len:4,dt:"SI",opt:"O",name:"Set ID"},{seq:2,len:2,dt:"ID",opt:"R",name:"Value Type"},{seq:3,len:590,dt:"CE",opt:"R",name:"Observation Identifier"},{seq:4,len:20,dt:"ST",opt:"O",name:"Observation Sub-ID"},{seq:5,len:65536,dt:"ST",opt:"O",name:"Observation Value"},{seq:6,len:60,dt:"CE",opt:"O",name:"Units"},{seq:7,len:10,dt:"ST",opt:"O",name:"Reference Range"},{seq:8,len:5,dt:"ID",opt:"O",name:"Abnormal Flags"},{seq:9,len:5,dt:"NM",opt:"O",name:"Probability"},{seq:10,len:2,dt:"ID",opt:"O",name:"Nature of Abnormal Test"},{seq:11,len:1,dt:"ID",opt:"R",name:"Observation Result Status"},{seq:12,len:26,dt:"TS",opt:"O",name:"Date Last Obs Normal Values"},{seq:13,len:20,dt:"ST",opt:"O",name:"User Defined Access Checks"},{seq:14,len:26,dt:"TS",opt:"O",name:"Date/Time of the Observation"},{seq:15,len:60,dt:"CE",opt:"O",name:"Producer's ID"},{seq:16,len:80,dt:"XCN",opt:"O",name:"Responsible Observer"},{seq:17,len:80,dt:"CE",opt:"O",name:"Observation Method"}],OBR:[{seq:1,len:4,dt:"SI",opt:"C",name:"Set ID - OBR"},{seq:2,len:75,dt:"EI",opt:"C",name:"Placer Order Number"},{seq:3,len:75,dt:"EI",opt:"C",name:"Filler Order Number"},{seq:4,len:200,dt:"CE",opt:"R",name:"Universal Service ID"},{seq:5,len:2,dt:"ID",opt:"B",name:"Priority"},{seq:6,len:26,dt:"TS",opt:"B",name:"Requested Date/time"},{seq:7,len:26,dt:"TS",opt:"C",name:"Observation Date/Time"},{seq:8,len:26,dt:"TS",opt:"O",name:"Observation End Date/Time"},{seq:9,len:20,dt:"CQ",opt:"O",name:"Collection Volume"},{seq:10,len:60,dt:"XCN",opt:"O",name:"Collector Identifier"},{seq:11,len:1,dt:"ID",opt:"O",name:"Specimen Action Code"},{seq:12,len:60,dt:"CE",opt:"O",name:"Danger Code"},{seq:13,len:300,dt:"ST",opt:"O",name:"Relevant Clinical Info."},{seq:14,len:26,dt:"TS",opt:"C",name:"Specimen Received Date/Time"},{seq:15,len:300,dt:"CM",opt:"O",name:"Specimen Source"},{seq:16,len:80,dt:"XCN",opt:"O",name:"Ordering Provider"},{seq:17,len:40,dt:"XTN",opt:"O",name:"Order Callback Phone Number"},{seq:18,len:60,dt:"ST",opt:"O",name:"Placer field 1"},{seq:19,len:60,dt:"ST",opt:"O",name:"Placer field 2"},{seq:20,len:60,dt:"ST",opt:"O",name:"Filler Field 1"},{seq:21,len:60,dt:"ST",opt:"O",name:"Filler Field 2"},{seq:22,len:26,dt:"TS",opt:"C",name:"Results Rpt/Status Chng - Date/Time"},{seq:23,len:40,dt:"CM",opt:"O",name:"Charge to Practice"},{seq:24,len:10,dt:"ID",opt:"O",name:"Diagnostic Serv Sect ID"},{seq:25,len:1,dt:"ID",opt:"C",name:"Result Status"},{seq:26,len:400,dt:"CM",opt:"O",name:"Parent Result"},{seq:27,len:200,dt:"TQ",opt:"O",name:"Quantity/Timing"},{seq:28,len:150,dt:"XCN",opt:"O",name:"Result Copies To"},{seq:29,len:150,dt:"CM",opt:"O",name:"Parent"},{seq:30,len:20,dt:"ID",opt:"O",name:"Transportation Mode"},{seq:31,len:300,dt:"CE",opt:"O",name:"Reason for Study"},{seq:32,len:200,dt:"CM",opt:"O",name:"Principal Result Interpreter"},{seq:33,len:200,dt:"CM",opt:"O",name:"Assistant Result Interpreter"},{seq:34,len:200,dt:"CM",opt:"O",name:"Technician"},{seq:35,len:200,dt:"CM",opt:"O",name:"Transcriptionist"},{seq:36,len:26,dt:"TS",opt:"O",name:"Scheduled Date/Time"},{seq:37,len:4,dt:"NM",opt:"O",name:"Number of Sample Containers"},{seq:38,len:60,dt:"CE",opt:"O",name:"Transport Logistics of Collected Sample"},{seq:39,len:200,dt:"CE",opt:"O",name:"Collector\u2019s Comment"},{seq:40,len:60,dt:"CE",opt:"O",name:"Transport Arrangement Responsibility"},{seq:41,len:30,dt:"ID",opt:"O",name:"Transport Arranged"},{seq:42,len:1,dt:"ID",opt:"O",name:"Escort Required"},{seq:43,len:200,dt:"CE",opt:"O",name:"Planned Patient Transport Comment"}],getHL7V2DataType:function(e){var t,n=e.dataType;switch(n){case"INT":case"REAL":case"QTY":t="NM";break;case"NR":case"TX":case"DT":case"DTM":case"TM":t=n;break;case"CODING":e.answerConstraint&&"optionsOnly"!==e.answerConstraint?"optionsOrString"===e.answerConstraint&&(t="CWE"):t="CNE";break;default:t="ST"}return t},toHL7Segments:function(e){var n="",t={obrIndex:1,obxIndex:1},i=e.getFormData(!1,!0);this._generateOBX4(i);var r=new Array(this.obrFieldNum);r[0]="OBR",r[1]="1",r[4]=i.code+this.delimiters.component+i.name+this.delimiters.component+this.LOINC_CS;for(var a=this.obrFieldNum-1;a>=0;a--)void 0===r[a]||(void 0!==r[a]?n=r[a]+this.delimiters.field+n:n+=this.delimiters.field);if(n+=this.delimiters.segment,i.items)for(var l=0,c=i.items.length;l<c;l++)"TITLE"!==i.items[l].dataType&&(n+=this._itemToHL7v2(i.items[l],t));return n},_generateOBX4:function(e){e&&e.items&&this._precessOBX4AtOneLevel("",e.items)},_precessOBX4AtOneLevel:function(e,n){for(var t=0,i=1,r=null,o=0,a=n.length;o<a;o++){var l,s=n[o];if("SECTION"===s.dataType)if((l=s.questionCardinality.max)&&("*"===l||parseInt(l)>1)){if(this._isSectionEmpty(s))continue;!r||r&&r.questionCode!==s.questionCode?(i=1,t+=1):i+=1;var c=tn.getNextLetter(i);s._obx4=e?e+"."+t+c:t+c,this._precessOBX4AtOneLevel(s._obx4,s.items)}else i=1,t+=1,s._obx4=e?e+"."+t:t,this._precessOBX4AtOneLevel(s._obx4,s.items);else if((l=s.questionCardinality.max)&&("*"===l||parseInt(l)>1)){if(fs.isItemValueEmpty(s.value))continue;!r||r&&r.questionCode!==s.questionCode?i=1:i+=1,c=tn.getNextLetter(i),s._obx4=e?e+"."+c:c}else s._obx4=e||"",i=1;r=s}},_generateOBX5:function(e,n,t){var r=e.code;return"CWE"!==n||r||0===r?r+this.delimiters.component+e.text+this.delimiters.component+(e.system?"LOINC"===e.system||e.system===this.LOINC_URI?this.LOINC_CS:e.system:""):this.delimiters.component.repeat(8)+e.text},_DT_FMT:"YYYYMMDD",_DTM_FMT:"YYYYMMDDHHmmss",_itemToHL7v2:function(e,n){var t="",i=this.LOINC_CS;if("TITLE"!==e.dataType){var r=new Array(this.obrFieldNum);if(e.header){var o="";r[0]="OBR",r[1]=++n.obrIndex,r[4]=e.questionCode+this.delimiters.component+e.question+this.delimiters.component+i;for(var s=this.obrFieldNum-1;s>=0;s--)void 0===r[s]||(void 0!==r[s]?o=r[s]+this.delimiters.field+o:o+=this.delimiters.field);if(o+=this.delimiters.segment,e.items)for(var c=0,h=e.items.length;c<h;c++)t+=this._itemToHL7v2(e.items[c],n)}else if(!fs.isItemValueEmpty(e.value)){var p=Array.isArray(e.value),S=p?e.value:[e.value],v=this.getHL7V2DataType(e),C=[];if(C[0]="OBX",C[1]=n.obxIndex++,C[2]=v,C[3]=e.questionCode+this.delimiters.component+e.question+this.delimiters.component+i,e.unit){var P="";void 0!==e.unit.name&&(P=e.unit.name),C[6]=P+this.delimiters.component+P+this.delimiters.component+this.LOINC_CS}s=0;for(var Z=S.length;s<Z;++s){var re=S[s];if(C[4]=e._obx4,p&&(""!==e._obx4&&(C[4]+="."),C[4]+=tn.getNextLetter(s+1)),"CNE"===v||"CWE"===v)C[5]=this._generateOBX5(re,v);else if("DT"===e.dataType||"DTM"===e.dataType){var ie="string"==typeof re?tn.stringToDate(re):re;C[5]=tn.formatDate(ie,"DT"===e.dataType?this._DT_FMT:this._DTM_FMT)}else C[5]=re.toString();t+=C.join(this.delimiters.field)+this.delimiters.field+this.delimiters.segment}}}return t},_isSectionEmpty:function(e){var n=!0;if(e.items)for(var t=0,i=e.items.length;t<i&&n;t++){var r=e.items[t];n="SECTION"===r.dataType?!0===r._emptySection||!1===r._emptySection?r._emptySection:this._isSectionEmpty(r):fs.isItemValueEmpty(r.value)}return e._emptySection=n,n}};var Lle=R(3224),kA=R.n(Lle);window.LForms={externalJQuery:window.jQuery,jQuery:kA()},window.jQuery=kA();var Ole=R(9339),c8=R.n(Ole),Ple=R(4527);const Js=window.LForms;Js.LFormsData=xA,Js.HL7=Ale,Js.ucumPkg=Sie,Js.Util=fs,Js.Def=c8(),Js.Validations=l8,Js.lformsVersion="41.1.0",Js.Util.FHIRSupport=Ple,Js.externalJQuery?window.jQuery=Js.externalJQuery:delete window.jQuery,delete Js.externalJQuery;const{isArray:Nle}=Array,{getPrototypeOf:Fle,prototype:Rle,keys:Hle}=Object;function EA(e){if(1===e.length){const n=e[0];if(Nle(n))return{args:n,keys:null};if(function Vle(e){return e&&"object"==typeof e&&Fle(e)===Rle}(n)){const t=Hle(n);return{args:t.map(i=>n[i]),keys:t}}}return{args:e,keys:null}}const{isArray:Ble}=Array;function o9(e){return Wt(n=>function Ule(e,n){return Ble(n)?e(...n):e(n)}(e,n))}function IA(e,n){return e.reduce((t,i,r)=>(t[i]=n[r],t),{})}
/**
       * @license Angular v20.3.18
       * (c) 2010-2025 Google LLC. https://angular.dev/
       * License: MIT
       */
let zA=(()=>{class e{_renderer;_elementRef;onChange=t=>{};onTouched=()=>{};constructor(t,i){this._renderer=t,this._elementRef=i}setProperty(t,i){this._renderer.setProperty(this._elementRef.nativeElement,t,i)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}static \u0275fac=function(i){return new(i||e)(xe(oo),xe(pn))};static \u0275dir=_t({type:e})}return e})(),W1=(()=>{class e extends zA{static \u0275fac=(()=>{let t;return function(r){return(t||(t=Di(e)))(r||e)}})();static \u0275dir=_t({type:e,features:[zn]})}return e})();const Ko=new Ae(""),Yle={provide:Ko,useExisting:Hn(()=>u8),multi:!0};let u8=(()=>{class e extends W1{writeValue(t){this.setProperty("checked",t)}static \u0275fac=(()=>{let t;return function(r){return(t||(t=Di(e)))(r||e)}})();static \u0275dir=_t({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(i,r){1&i&&Fe("change",function(a){return r.onChange(a.target.checked)})("blur",function(){return r.onTouched()})},standalone:!1,features:[Yn([Yle]),zn]})}return e})();const jle={provide:Ko,useExisting:Hn(()=>xl),multi:!0},Wle=new Ae("");let xl=(()=>{class e extends zA{_compositionMode;_composing=!1;constructor(t,i,r){super(t,i),this._compositionMode=r,null==this._compositionMode&&(this._compositionMode=!function $le(){const e=yu()?yu().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(t){this.setProperty("value",t??"")}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}static \u0275fac=function(i){return new(i||e)(xe(oo),xe(pn),xe(Wle,8))};static \u0275dir=_t({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(i,r){1&i&&Fe("input",function(a){return r._handleInput(a.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(a){return r._compositionEnd(a.target.value)})},standalone:!1,features:[Yn([jle]),zn]})}return e})();const Fa=new Ae(""),Ru=new Ae("");function VA(e){return null!=e}function BA(e){return gh(e)?pa(e):e}function UA(e){let n={};return e.forEach(t=>{n=null!=t?{...n,...t}:n}),0===Object.keys(n).length?null:n}function qA(e,n){return n.map(t=>t(e))}function YA(e){return e.map(n=>function Kle(e){return!e.validate}(n)?n:t=>n.validate(t))}function l9(e){return null!=e?function jA(e){if(!e)return null;const n=e.filter(VA);return 0==n.length?null:function(t){return UA(qA(t,n))}}(YA(e)):null}function c9(e){return null!=e?function $A(e){if(!e)return null;const n=e.filter(VA);return 0==n.length?null:function(t){return function qle(...e){const n=fv(e),{args:t,keys:i}=EA(e),r=new On(o=>{const{length:a}=t;if(!a)return void o.complete();const s=new Array(a);let l=a,c=a;for(let h=0;h<a;h++){let p=!1;fa(t[h]).subscribe(hr(o,S=>{p||(p=!0,c--),s[h]=S},()=>l--,void 0,()=>{(!l||!p)&&(c||o.next(i?IA(i,s):s),o.complete())}))}});return n?r.pipe(o9(n)):r}(qA(t,n).map(BA)).pipe(Wt(UA))}}(YA(e)):null}function WA(e,n){return null===e?[n]:Array.isArray(e)?[...e,n]:[e,n]}function u9(e){return e?Array.isArray(e)?e:[e]:[]}function h8(e,n){return Array.isArray(e)?e.includes(n):e===n}function QA(e,n){const t=u9(n);return u9(e).forEach(r=>{h8(t,r)||t.push(r)}),t}function ZA(e,n){return u9(n).filter(t=>!h8(e,t))}class XA{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=l9(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=c9(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control&&this.control.reset(n)}hasError(n,t){return!!this.control&&this.control.hasError(n,t)}getError(n,t){return this.control?this.control.getError(n,t):null}}class Xa extends XA{name;get formDirective(){return null}get path(){return null}}class Hu extends XA{_parent=null;name=null;valueAccessor=null}class JA{_cd;constructor(n){this._cd=n}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}}let Ja=(()=>{class e extends JA{constructor(t){super(t)}static \u0275fac=function(i){return new(i||e)(xe(Hu,2))};static \u0275dir=_t({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,r){2&i&&jt("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},standalone:!1,features:[zn]})}return e})(),eL=(()=>{class e extends JA{constructor(t){super(t)}static \u0275fac=function(i){return new(i||e)(xe(Xa,10))};static \u0275dir=_t({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(i,r){2&i&&jt("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)("ng-submitted",r.isSubmitted)},standalone:!1,features:[zn]})}return e})();const Qh="VALID",p8="INVALID",zd="PENDING",Zh="DISABLED";class Ad{}class nL extends Ad{value;source;constructor(n,t){super(),this.value=n,this.source=t}}class f9 extends Ad{pristine;source;constructor(n,t){super(),this.pristine=n,this.source=t}}class p9 extends Ad{touched;source;constructor(n,t){super(),this.touched=n,this.source=t}}class m8 extends Ad{status;source;constructor(n,t){super(),this.status=n,this.source=t}}class iL extends Ad{source;constructor(n){super(),this.source=n}}class m9 extends Ad{source;constructor(n){super(),this.source=n}}function g9(e){return(g8(e)?e.validators:e)||null}function v9(e,n){return(g8(n)?n.asyncValidators:e)||null}function g8(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class _9{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(n,t){this._assignValidators(n),this._assignAsyncValidators(t)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get status(){return or(this.statusReactive)}set status(n){or(()=>this.statusReactive.set(n))}_status=ko(()=>this.statusReactive());statusReactive=io(void 0);get valid(){return this.status===Qh}get invalid(){return this.status===p8}get pending(){return this.status==zd}get disabled(){return this.status===Zh}get enabled(){return this.status!==Zh}errors;get pristine(){return or(this.pristineReactive)}set pristine(n){or(()=>this.pristineReactive.set(n))}_pristine=ko(()=>this.pristineReactive());pristineReactive=io(!0);get dirty(){return!this.pristine}get touched(){return or(this.touchedReactive)}set touched(n){or(()=>this.touchedReactive.set(n))}_touched=ko(()=>this.touchedReactive());touchedReactive=io(!1);get untouched(){return!this.touched}_events=new Dt;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(QA(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(QA(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(ZA(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(ZA(n,this._rawAsyncValidators))}hasValidator(n){return h8(this._rawValidators,n)}hasAsyncValidator(n){return h8(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){const t=!1===this.touched;this.touched=!0;const i=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsTouched({...n,sourceControl:i}),t&&!1!==n.emitEvent&&this._events.next(new p9(!0,i))}markAllAsDirty(n={}){this.markAsDirty({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(t=>t.markAllAsDirty(n))}markAllAsTouched(n={}){this.markAsTouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(t=>t.markAllAsTouched(n))}markAsUntouched(n={}){const t=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const i=n.sourceControl??this;this._forEachChild(r=>{r.markAsUntouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:i})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,i),t&&!1!==n.emitEvent&&this._events.next(new p9(!1,i))}markAsDirty(n={}){const t=!0===this.pristine;this.pristine=!1;const i=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsDirty({...n,sourceControl:i}),t&&!1!==n.emitEvent&&this._events.next(new f9(!1,i))}markAsPristine(n={}){const t=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const i=n.sourceControl??this;this._forEachChild(r=>{r.markAsPristine({onlySelf:!0,emitEvent:n.emitEvent})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n,i),t&&!1!==n.emitEvent&&this._events.next(new f9(!0,i))}markAsPending(n={}){this.status=zd;const t=n.sourceControl??this;!1!==n.emitEvent&&(this._events.next(new m8(this.status,t)),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.markAsPending({...n,sourceControl:t})}disable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=Zh,this.errors=null,this._forEachChild(r=>{r.disable({...n,onlySelf:!0})}),this._updateValue();const i=n.sourceControl??this;!1!==n.emitEvent&&(this._events.next(new nL(this.value,i)),this._events.next(new m8(this.status,i)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...n,skipPristineCheck:t},this),this._onDisabledChange.forEach(r=>r(!0))}enable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=Qh,this._forEachChild(i=>{i.enable({...n,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors({...n,skipPristineCheck:t},this),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(n,t){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine({},t),this._parent._updateTouched({},t))}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const i=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Qh||this.status===zd)&&this._runAsyncValidator(i,n.emitEvent)}const t=n.sourceControl??this;!1!==n.emitEvent&&(this._events.next(new nL(this.value,t)),this._events.next(new m8(this.status,t)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity({...n,sourceControl:t})}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Zh:Qh}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n,t){if(this.asyncValidator){this.status=zd,this._hasOwnPendingAsyncValidator={emitEvent:!1!==t,shouldHaveEmitted:!1!==n};const i=BA(this.asyncValidator(this));this._asyncValidationSubscription=i.subscribe(r=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(r,{emitEvent:t,shouldHaveEmitted:n})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const n=(this._hasOwnPendingAsyncValidator?.emitEvent||this._hasOwnPendingAsyncValidator?.shouldHaveEmitted)??!1;return this._hasOwnPendingAsyncValidator=null,n}return!1}setErrors(n,t={}){this.errors=n,this._updateControlsErrors(!1!==t.emitEvent,this,t.shouldHaveEmitted)}get(n){let t=n;return null==t||(Array.isArray(t)||(t=t.split(".")),0===t.length)?null:t.reduce((i,r)=>i&&i._find(r),this)}getError(n,t){const i=t?this.get(t):this;return i&&i.errors?i.errors[n]:null}hasError(n,t){return!!this.getError(n,t)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n,t,i){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),(n||i)&&this._events.next(new m8(this.status,t)),this._parent&&this._parent._updateControlsErrors(n,t,i)}_initObservables(){this.valueChanges=new ht,this.statusChanges=new ht}_calculateStatus(){return this._allControlsDisabled()?Zh:this.errors?p8:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(zd)?zd:this._anyControlsHaveStatus(p8)?p8:Qh}_anyControlsHaveStatus(n){return this._anyControls(t=>t.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n,t){const i=!this._anyControlsDirty(),r=this.pristine!==i;this.pristine=i,this._parent&&!n.onlySelf&&this._parent._updatePristine(n,t),r&&this._events.next(new f9(this.pristine,t))}_updateTouched(n={},t){this.touched=this._anyControlsTouched(),this._events.next(new p9(this.touched,t)),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,t)}_onDisabledChange=[];_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){g8(n)&&null!=n.updateOn&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=function nce(e){return Array.isArray(e)?l9(e):e||null}(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=function ice(e){return Array.isArray(e)?c9(e):e||null}(this._rawAsyncValidators)}}class y9 extends _9{constructor(n,t,i){super(g9(t),v9(i,t)),this.controls=n,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(n,t){return this.controls[n]?this.controls[n]:(this.controls[n]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(n,t,i={}){this.registerControl(n,t),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(n,t={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}setControl(n,t,i={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],t&&this.registerControl(n,t),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,t={}){(function oL(e,n,t){e._forEachChild((i,r)=>{if(void 0===t[r])throw new ge(1002,"")})})(this,0,n),Object.keys(n).forEach(i=>{(function rL(e,n,t){const i=e.controls;if(!(n?Object.keys(i):i).length)throw new ge(1e3,"");if(!i[t])throw new ge(1001,"")})(this,!0,i),this.controls[i].setValue(n[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(n,t={}){null!=n&&(Object.keys(n).forEach(i=>{const r=this.controls[i];r&&r.patchValue(n[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(n={},t={}){this._forEachChild((i,r)=>{i.reset(n?n[r]:null,{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t,this),this._updateTouched(t,this),this.updateValueAndValidity(t),!1!==t?.emitEvent&&this._events.next(new m9(this))}getRawValue(){return this._reduceChildren({},(n,t,i)=>(n[i]=t.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(t,i)=>!!i._syncPendingControls()||t);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(t=>{const i=this.controls[t];i&&n(i,t)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(const[t,i]of Object.entries(this.controls))if(this.contains(t)&&n(i))return!0;return!1}_reduceValue(){return this._reduceChildren({},(t,i,r)=>((i.enabled||this.disabled)&&(t[r]=i.value),t))}_reduceChildren(n,t){let i=n;return this._forEachChild((r,o)=>{i=t(i,r,o)}),i}_allControlsDisabled(){for(const n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}}const G1=new Ae("",{providedIn:"root",factory:()=>Xh}),Xh="always";function Jh(e,n,t=Xh){b9(e,n),n.valueAccessor.writeValue(e.value),(e.disabled||"always"===t)&&n.valueAccessor.setDisabledState?.(e.disabled),function ace(e,n){n.valueAccessor.registerOnChange(t=>{e._pendingValue=t,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&aL(e,n)})}(e,n),function lce(e,n){const t=(i,r)=>{n.valueAccessor.writeValue(i),r&&n.viewToModelUpdate(i)};e.registerOnChange(t),n._registerOnDestroy(()=>{e._unregisterOnChange(t)})}(e,n),function sce(e,n){n.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&aL(e,n),"submit"!==e.updateOn&&e.markAsTouched()})}(e,n),function oce(e,n){if(n.valueAccessor.setDisabledState){const t=i=>{n.valueAccessor.setDisabledState(i)};e.registerOnDisabledChange(t),n._registerOnDestroy(()=>{e._unregisterOnDisabledChange(t)})}}(e,n)}function y8(e,n){e.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(n)})}function b9(e,n){const t=function GA(e){return e._rawValidators}(e);null!==n.validator?e.setValidators(WA(t,n.validator)):"function"==typeof t&&e.setValidators([t]);const i=function KA(e){return e._rawAsyncValidators}(e);null!==n.asyncValidator?e.setAsyncValidators(WA(i,n.asyncValidator)):"function"==typeof i&&e.setAsyncValidators([i]);const r=()=>e.updateValueAndValidity();y8(n._rawValidators,r),y8(n._rawAsyncValidators,r)}function aL(e,n){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}const fce={provide:Xa,useExisting:Hn(()=>tf)},ef=Promise.resolve();let tf=(()=>{class e extends Xa{callSetDisabledState;get submitted(){return or(this.submittedReactive)}_submitted=ko(()=>this.submittedReactive());submittedReactive=io(!1);_directives=new Set;form;ngSubmit=new ht;options;constructor(t,i,r){super(),this.callSetDisabledState=r,this.form=new y9({},l9(t),c9(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){ef.then(()=>{const i=this._findContainer(t.path);t.control=i.registerControl(t.name,t.control),Jh(t.control,t,this.callSetDisabledState),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){ef.then(()=>{const i=this._findContainer(t.path);i&&i.removeControl(t.name),this._directives.delete(t)})}addFormGroup(t){ef.then(()=>{const i=this._findContainer(t.path),r=new y9({});(function sL(e,n){b9(e,n)})(r,t),i.registerControl(t.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){ef.then(()=>{const i=this._findContainer(t.path);i&&i.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,i){ef.then(()=>{this.form.get(t.path).setValue(i)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submittedReactive.set(!0),function lL(e,n){e._syncPendingControls(),n.forEach(t=>{const i=t.control;"submit"===i.updateOn&&i._pendingChange&&(t.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}(this.form,this._directives),this.ngSubmit.emit(t),this.form._events.next(new iL(this.control)),"dialog"===t?.target?.method}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}static \u0275fac=function(i){return new(i||e)(xe(Fa,10),xe(Ru,10),xe(G1,8))};static \u0275dir=_t({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(i,r){1&i&&Fe("submit",function(a){return r.onSubmit(a)})("reset",function(){return r.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[Yn([fce]),zn]})}return e})();function cL(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function uL(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}const dL=class extends _9{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(n=null,t,i){super(g9(t),v9(i,t)),this._applyFormState(n),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),g8(t)&&(t.nonNullable||t.initialValueIsDefault)&&(this.defaultValue=uL(n)?n.value:n)}setValue(n,t={}){this.value=this._pendingValue=n,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(i=>i(this.value,!1!==t.emitViewToModelChange)),this.updateValueAndValidity(t)}patchValue(n,t={}){this.setValue(n,t)}reset(n=this.defaultValue,t={}){this._applyFormState(n),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1,!1!==t?.emitEvent&&this._events.next(new m9(this))}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){cL(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){cL(this._onDisabledChange,n)}_forEachChild(n){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(n){uL(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}},_ce={provide:Hu,useExisting:Hn(()=>Ra)},hL=Promise.resolve();let Ra=(()=>{class e extends Hu{_changeDetectorRef;callSetDisabledState;control=new dL;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new ht;constructor(t,i,r,o,a,s){super(),this._changeDetectorRef=a,this.callSetDisabledState=s,this._parent=t,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=function S9(e,n){if(!n)return null;let t,i,r;return Array.isArray(n),n.forEach(o=>{o.constructor===xl?t=o:function dce(e){return Object.getPrototypeOf(e.constructor)===W1}(o)?i=o:r=o}),r||i||t||null}(0,o)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){const i=t.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),function w9(e,n){if(!e.hasOwnProperty("model"))return!1;const t=e.model;return!!t.isFirstChange()||!Object.is(n,t.currentValue)}(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Jh(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._checkName()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(t){hL.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){const i=t.isDisabled.currentValue,r=0!==i&&Xe(i);hL.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?function v8(e,n){return[...n.path,e]}(t,this._parent):[t]}static \u0275fac=function(i){return new(i||e)(xe(Xa,9),xe(Fa,10),xe(Ru,10),xe(Ko,10),xe(Tr,8),xe(G1,8))};static \u0275dir=_t({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],standalone:!1,features:[Yn([_ce]),zn,wn]})}return e})(),fL=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275dir=_t({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1})}return e})();const bce={provide:Ko,useExisting:Hn(()=>M9),multi:!0};let Cce=(()=>{class e{_accessors=[];add(t,i){this._accessors.push([t,i])}remove(t){for(let i=this._accessors.length-1;i>=0;--i)if(this._accessors[i][1]===t)return void this._accessors.splice(i,1)}select(t){this._accessors.forEach(i=>{this._isSameGroup(i,t)&&i[1]!==t&&i[1].fireUncheck(t.value)})}_isSameGroup(t,i){return!!t[0].control&&t[0]._parent===i._control._parent&&t[1].name===i.name}static \u0275fac=function(i){return new(i||e)};static \u0275prov=Ke({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),M9=(()=>{class e extends W1{_registry;_injector;_state;_control;_fn;setDisabledStateFired=!1;onChange=()=>{};name;formControlName;value;callSetDisabledState=U(G1,{optional:!0})??Xh;constructor(t,i,r,o){super(t,i),this._registry=r,this._injector=o}ngOnInit(){this._control=this._injector.get(Hu),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(t){this._state=t===this.value,this.setProperty("checked",this._state)}registerOnChange(t){this._fn=t,this.onChange=()=>{t(this.value),this._registry.select(this)}}setDisabledState(t){(this.setDisabledStateFired||t||"whenDisabledForLegacyCode"===this.callSetDisabledState)&&this.setProperty("disabled",t),this.setDisabledStateFired=!0}fireUncheck(t){this.writeValue(t)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}static \u0275fac=function(i){return new(i||e)(xe(oo),xe(pn),xe(Cce),xe($r))};static \u0275dir=_t({type:e,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(i,r){1&i&&Fe("change",function(){return r.onChange()})("blur",function(){return r.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},standalone:!1,features:[Yn([bce]),zn]})}return e})();const T9=new Ae("");let IL=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=Ci({type:e});static \u0275inj=$n({})}return e})(),rf=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:G1,useValue:t.callSetDisabledState??Xh}]}}static \u0275fac=function(i){return new(i||e)};static \u0275mod=Ci({type:e});static \u0275inj=$n({imports:[IL]})}return e})(),qce=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:T9,useValue:t.warnOnNgModelWithFormControl??"always"},{provide:G1,useValue:t.callSetDisabledState??Xh}]}}static \u0275fac=function(i){return new(i||e)};static \u0275mod=Ci({type:e});static \u0275inj=$n({imports:[IL]})}return e})();function of(e,n){return zt(n)?Go(e,n,1):Go(e,1)}function gr(e,n){return qr((t,i)=>{let r=0;t.subscribe(hr(i,o=>e.call(n,o,r++)&&i.next(o)))})}function Vu(e){return qr((n,t)=>{try{n.subscribe(t)}finally{t.add(e)}})}function Kt(...e){return pa(e,Vh(e))}
/**
       * @license Angular v20.3.18
       * (c) 2010-2025 Google LLC. https://angular.dev/
       * License: MIT
       */
class T8{}class af{}class kl{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(n){n?"string"==typeof n?this.lazyInit=()=>{this.headers=new Map,n.split("\n").forEach(t=>{const i=t.indexOf(":");if(i>0){const r=t.slice(0,i),o=t.slice(i+1).trim();this.addHeaderEntry(r,o)}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((t,i)=>{this.addHeaderEntry(i,t)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([t,i])=>{this.setHeaderEntries(t,i)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();const t=this.headers.get(n.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,t){return this.clone({name:n,value:t,op:"a"})}set(n,t){return this.clone({name:n,value:t,op:"s"})}delete(n,t){return this.clone({name:n,value:t,op:"d"})}maybeSetNormalizedName(n,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,n)}init(){this.lazyInit&&(this.lazyInit instanceof kl?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(t=>{this.headers.set(t,n.headers.get(t)),this.normalizedNames.set(t,n.normalizedNames.get(t))})}clone(n){const t=new kl;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof kl?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([n]),t}applyUpdate(n){const t=n.name.toLowerCase();switch(n.op){case"a":case"s":let i=n.value;if("string"==typeof i&&(i=[i]),0===i.length)return;this.maybeSetNormalizedName(n.name,t);const r=("a"===n.op?this.headers.get(t):void 0)||[];r.push(...i),this.headers.set(t,r);break;case"d":const o=n.value;if(o){let a=this.headers.get(t);if(!a)return;a=a.filter(s=>-1===o.indexOf(s)),0===a.length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,a)}else this.headers.delete(t),this.normalizedNames.delete(t)}}addHeaderEntry(n,t){const i=n.toLowerCase();this.maybeSetNormalizedName(n,i),this.headers.has(i)?this.headers.get(i).push(t):this.headers.set(i,[t])}setHeaderEntries(n,t){const i=(Array.isArray(t)?t:[t]).map(o=>o.toString()),r=n.toLowerCase();this.headers.set(r,i),this.maybeSetNormalizedName(n,r)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>n(this.normalizedNames.get(t),this.headers.get(t)))}}class Yce{encodeKey(n){return AL(n)}encodeValue(n){return AL(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}}const $ce=/%(\d[a-f0-9])/gi,Wce={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function AL(e){return encodeURIComponent(e).replace($ce,(n,t)=>Wce[t]??n)}function D8(e){return`${e}`}class Bu{map;encoder;updates=null;cloneFrom=null;constructor(n={}){if(this.encoder=n.encoder||new Yce,n.fromString){if(n.fromObject)throw new ge(2805,!1);this.map=function jce(e,n){const t=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(r=>{const o=r.indexOf("="),[a,s]=-1==o?[n.decodeKey(r),""]:[n.decodeKey(r.slice(0,o)),n.decodeValue(r.slice(o+1))],l=t.get(a)||[];l.push(s),t.set(a,l)}),t}(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(t=>{const i=n.fromObject[t],r=Array.isArray(i)?i.map(D8):[D8(i)];this.map.set(t,r)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();const t=this.map.get(n);return t?t[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,t){return this.clone({param:n,value:t,op:"a"})}appendAll(n){const t=[];return Object.keys(n).forEach(i=>{const r=n[i];Array.isArray(r)?r.forEach(o=>{t.push({param:i,value:o,op:"a"})}):t.push({param:i,value:r,op:"a"})}),this.clone(t)}set(n,t){return this.clone({param:n,value:t,op:"s"})}delete(n,t){return this.clone({param:n,value:t,op:"d"})}toString(){return this.init(),this.keys().map(n=>{const t=this.encoder.encodeKey(n);return this.map.get(n).map(i=>t+"="+this.encoder.encodeValue(i)).join("&")}).filter(n=>""!==n).join("&")}clone(n){const t=new Bu({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(n),t}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":const t=("a"===n.op?this.map.get(n.param):void 0)||[];t.push(D8(n.value)),this.map.set(n.param,t);break;case"d":if(void 0===n.value){this.map.delete(n.param);break}{let i=this.map.get(n.param)||[];const r=i.indexOf(D8(n.value));-1!==r&&i.splice(r,1),i.length>0?this.map.set(n.param,i):this.map.delete(n.param)}}}),this.cloneFrom=this.updates=null)}}class Gce{map=new Map;set(n,t){return this.map.set(n,t),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}}function LL(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function OL(e){return typeof Blob<"u"&&e instanceof Blob}function PL(e){return typeof FormData<"u"&&e instanceof FormData}const sf="Content-Type",E9="X-Request-URL",NL="text/plain",FL="application/json",RL=`${FL}, ${NL}, */*`;class lf{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(n,t,i,r){let o;if(this.url=t,this.method=n.toUpperCase(),function Kce(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==i?i:null,o=r):o=i,o){if(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,this.keepalive=!!o.keepalive,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),o.priority&&(this.priority=o.priority),o.cache&&(this.cache=o.cache),o.credentials&&(this.credentials=o.credentials),"number"==typeof o.timeout){if(o.timeout<1||!Number.isInteger(o.timeout))throw new ge(2822,"");this.timeout=o.timeout}o.mode&&(this.mode=o.mode),o.redirect&&(this.redirect=o.redirect),o.integrity&&(this.integrity=o.integrity),o.referrer&&(this.referrer=o.referrer),this.transferCache=o.transferCache}if(this.headers??=new kl,this.context??=new Gce,this.params){const a=this.params.toString();if(0===a.length)this.urlWithParams=t;else{const s=t.indexOf("?");this.urlWithParams=t+(-1===s?"?":s<t.length-1?"&":"")+a}}else this.params=new Bu,this.urlWithParams=t}serializeBody(){return null===this.body?null:"string"==typeof this.body||LL(this.body)||OL(this.body)||PL(this.body)||function Qce(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}(this.body)?this.body:this.body instanceof Bu?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||PL(this.body)?null:OL(this.body)?this.body.type||null:LL(this.body)?null:"string"==typeof this.body?NL:this.body instanceof Bu?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?FL:null}clone(n={}){const t=n.method||this.method,i=n.url||this.url,r=n.responseType||this.responseType,o=n.keepalive??this.keepalive,a=n.priority||this.priority,s=n.cache||this.cache,l=n.mode||this.mode,c=n.redirect||this.redirect,h=n.credentials||this.credentials,p=n.referrer||this.referrer,S=n.integrity||this.integrity,v=n.transferCache??this.transferCache,C=n.timeout??this.timeout,P=void 0!==n.body?n.body:this.body,Z=n.withCredentials??this.withCredentials,re=n.reportProgress??this.reportProgress;let ie=n.headers||this.headers,Me=n.params||this.params;const ke=n.context??this.context;return void 0!==n.setHeaders&&(ie=Object.keys(n.setHeaders).reduce((Be,it)=>Be.set(it,n.setHeaders[it]),ie)),n.setParams&&(Me=Object.keys(n.setParams).reduce((Be,it)=>Be.set(it,n.setParams[it]),Me)),new lf(t,i,P,{params:Me,headers:ie,context:ke,reportProgress:re,responseType:r,withCredentials:Z,transferCache:v,keepalive:o,cache:s,priority:a,timeout:C,mode:l,redirect:c,credentials:h,referrer:p,integrity:S})}}var Uu=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}(Uu||{});class I9{headers;status;statusText;url;ok;type;redirected;constructor(n,t=200,i="OK"){this.headers=n.headers||new kl,this.status=void 0!==n.status?n.status:t,this.statusText=n.statusText||i,this.url=n.url||null,this.redirected=n.redirected,this.ok=this.status>=200&&this.status<300}}class k8 extends I9{constructor(n={}){super(n)}type=Uu.ResponseHeader;clone(n={}){return new k8({headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class cf extends I9{body;constructor(n={}){super(n),this.body=void 0!==n.body?n.body:null}type=Uu.Response;clone(n={}){return new cf({body:void 0!==n.body?n.body:this.body,headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0,redirected:n.redirected??this.redirected})}}class Q1 extends I9{name="HttpErrorResponse";message;error;ok=!1;constructor(n){super(n,0,"Unknown Error"),this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${n.url||"(unknown url)"}`:`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}}function z9(e,n){return{body:n,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,credentials:e.credentials,transferCache:e.transferCache,timeout:e.timeout,keepalive:e.keepalive,priority:e.priority,cache:e.cache,mode:e.mode,redirect:e.redirect,integrity:e.integrity,referrer:e.referrer}}let VL=(()=>{class e{handler;constructor(t){this.handler=t}request(t,i,r={}){let o;if(t instanceof lf)o=t;else{let l,c;l=r.headers instanceof kl?r.headers:new kl(r.headers),r.params&&(c=r.params instanceof Bu?r.params:new Bu({fromObject:r.params})),o=new lf(t,i,void 0!==r.body?r.body:null,{headers:l,context:r.context,params:c,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials,transferCache:r.transferCache,keepalive:r.keepalive,priority:r.priority,cache:r.cache,mode:r.mode,redirect:r.redirect,credentials:r.credentials,referrer:r.referrer,integrity:r.integrity,timeout:r.timeout})}const a=Kt(o).pipe(of(l=>this.handler.handle(l)));if(t instanceof lf||"events"===r.observe)return a;const s=a.pipe(gr(l=>l instanceof cf));switch(r.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return s.pipe(Wt(l=>{if(null!==l.body&&!(l.body instanceof ArrayBuffer))throw new ge(2806,!1);return l.body}));case"blob":return s.pipe(Wt(l=>{if(null!==l.body&&!(l.body instanceof Blob))throw new ge(2807,!1);return l.body}));case"text":return s.pipe(Wt(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new ge(2808,!1);return l.body}));default:return s.pipe(Wt(l=>l.body))}case"response":return s;default:throw new ge(2809,!1)}}delete(t,i={}){return this.request("DELETE",t,i)}get(t,i={}){return this.request("GET",t,i)}head(t,i={}){return this.request("HEAD",t,i)}jsonp(t,i){return this.request("JSONP",t,{params:(new Bu).append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,i={}){return this.request("OPTIONS",t,i)}patch(t,i,r={}){return this.request("PATCH",t,z9(r,i))}post(t,i,r={}){return this.request("POST",t,z9(r,i))}put(t,i,r={}){return this.request("PUT",t,z9(r,i))}static \u0275fac=function(i){return new(i||e)(Ft(T8))};static \u0275prov=Ke({token:e,factory:e.\u0275fac})}return e})();const UL=new Ae("");function qL(e,n){return n(e)}function nue(e,n){return(t,i)=>n.intercept(t,{handle:r=>e(r,i)})}const rue=new Ae(""),uf=new Ae(""),oue=new Ae(""),YL=new Ae("",{providedIn:"root",factory:()=>!0});function aue(){let e=null;return(n,t)=>{null===e&&(e=(U(rue,{optional:!0})??[]).reduceRight(nue,qL));const i=U(x2);if(U(YL)){const o=i.add();return e(n,t).pipe(Vu(o))}return e(n,t)}}let jL=(()=>{class e extends T8{backend;injector;chain=null;pendingTasks=U(x2);contributeToStability=U(YL);constructor(t,i){super(),this.backend=t,this.injector=i}handle(t){if(null===this.chain){const i=Array.from(new Set([...this.injector.get(uf),...this.injector.get(oue,[])]));this.chain=i.reduceRight((r,o)=>function iue(e,n,t){return(i,r)=>ja(t,()=>n(i,o=>e(o,r)))}(r,o,this.injector),qL)}if(this.contributeToStability){const i=this.pendingTasks.add();return this.chain(t,r=>this.backend.handle(r)).pipe(Vu(i))}return this.chain(t,i=>this.backend.handle(i))}static \u0275fac=function(i){return new(i||e)(Ft(af),Ft(Ti))};static \u0275prov=Ke({token:e,factory:e.\u0275fac})}return e})();const uue=/^\)\]\}',?\n/,due=RegExp(`^${E9}:`,"m");let WL=(()=>{class e{xhrFactory;constructor(t){this.xhrFactory=t}handle(t){if("JSONP"===t.method)throw new ge(-2800,!1);const i=this.xhrFactory;return Kt(null).pipe(Na(()=>new On(o=>{const a=i.build();if(a.open(t.method,t.urlWithParams),t.withCredentials&&(a.withCredentials=!0),t.headers.forEach((Z,re)=>a.setRequestHeader(Z,re.join(","))),t.headers.has("Accept")||a.setRequestHeader("Accept",RL),!t.headers.has(sf)){const Z=t.detectContentTypeHeader();null!==Z&&a.setRequestHeader(sf,Z)}if(t.timeout&&(a.timeout=t.timeout),t.responseType){const Z=t.responseType.toLowerCase();a.responseType="json"!==Z?Z:"text"}const s=t.serializeBody();let l=null;const c=()=>{if(null!==l)return l;const Z=a.statusText||"OK",re=new kl(a.getAllResponseHeaders()),ie=function hue(e){return"responseURL"in e&&e.responseURL?e.responseURL:due.test(e.getAllResponseHeaders())?e.getResponseHeader(E9):null}(a)||t.url;return l=new k8({headers:re,status:a.status,statusText:Z,url:ie}),l},h=()=>{let{headers:Z,status:re,statusText:ie,url:Me}=c(),ke=null;204!==re&&(ke=typeof a.response>"u"?a.responseText:a.response),0===re&&(re=ke?200:0);let Be=re>=200&&re<300;if("json"===t.responseType&&"string"==typeof ke){const it=ke;ke=ke.replace(uue,"");try{ke=""!==ke?JSON.parse(ke):null}catch(Et){ke=it,Be&&(Be=!1,ke={error:Et,text:ke})}}Be?(o.next(new cf({body:ke,headers:Z,status:re,statusText:ie,url:Me||void 0})),o.complete()):o.error(new Q1({error:ke,headers:Z,status:re,statusText:ie,url:Me||void 0}))},p=Z=>{const{url:re}=c(),ie=new Q1({error:Z,status:a.status||0,statusText:a.statusText||"Unknown Error",url:re||void 0});o.error(ie)};let S=p;t.timeout&&(S=Z=>{const{url:re}=c(),ie=new Q1({error:new DOMException("Request timed out","TimeoutError"),status:a.status||0,statusText:a.statusText||"Request timeout",url:re||void 0});o.error(ie)});let v=!1;const C=Z=>{v||(o.next(c()),v=!0);let re={type:Uu.DownloadProgress,loaded:Z.loaded};Z.lengthComputable&&(re.total=Z.total),"text"===t.responseType&&a.responseText&&(re.partialText=a.responseText),o.next(re)},P=Z=>{let re={type:Uu.UploadProgress,loaded:Z.loaded};Z.lengthComputable&&(re.total=Z.total),o.next(re)};return a.addEventListener("load",h),a.addEventListener("error",p),a.addEventListener("timeout",S),a.addEventListener("abort",p),t.reportProgress&&(a.addEventListener("progress",C),null!==s&&a.upload&&a.upload.addEventListener("progress",P)),a.send(s),o.next({type:Uu.Sent}),()=>{a.removeEventListener("error",p),a.removeEventListener("abort",p),a.removeEventListener("load",h),a.removeEventListener("timeout",S),t.reportProgress&&(a.removeEventListener("progress",C),null!==s&&a.upload&&a.upload.removeEventListener("progress",P)),a.readyState!==a.DONE&&a.abort()}})))}static \u0275fac=function(i){return new(i||e)(Ft(yC))};static \u0275prov=Ke({token:e,factory:e.\u0275fac})}return e})();const O9=new Ae(""),GL=new Ae("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),KL=new Ae("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class QL{}let mue=(()=>{class e{doc;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(t,i){this.doc=t,this.cookieName=i}getToken(){const t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=_C(t,this.cookieName),this.lastCookieString=t),this.lastToken}static \u0275fac=function(i){return new(i||e)(Ft(Mr),Ft(GL))};static \u0275prov=Ke({token:e,factory:e.\u0275fac})}return e})();const gue=/^(?:https?:)?\/\//i;function vue(e,n){if(!U(O9)||"GET"===e.method||"HEAD"===e.method||gue.test(e.url))return n(e);const t=U(QL).getToken(),i=U(KL);return null!=t&&!e.headers.has(i)&&(e=e.clone({headers:e.headers.set(i,t)})),n(e)}var qu=function(e){return e[e.Interceptors=0]="Interceptors",e[e.LegacyInterceptors=1]="LegacyInterceptors",e[e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",e[e.NoXsrfProtection=3]="NoXsrfProtection",e[e.JsonpSupport=4]="JsonpSupport",e[e.RequestsMadeViaParent=5]="RequestsMadeViaParent",e[e.Fetch=6]="Fetch",e}(qu||{});function _ue(...e){const n=[VL,WL,jL,{provide:T8,useExisting:jL},{provide:af,useFactory:()=>U(UL,{optional:!0})??U(WL)},{provide:uf,useValue:vue,multi:!0},{provide:O9,useValue:!0},{provide:QL,useClass:mue}];for(const t of e)n.push(...t.\u0275providers);return Yl(n)}const ZL=new Ae("");function yue(){return function Z1(e,n){return{\u0275kind:e,\u0275providers:n}}(qu.LegacyInterceptors,[{provide:ZL,useFactory:aue},{provide:uf,useExisting:ZL,multi:!0}])}
/**
       * @license Angular v20.3.18
       * (c) 2010-2025 Google LLC. https://angular.dev/
       * License: MIT
       */
var Tn=function(e){return e[e.State=0]="State",e[e.Transition=1]="Transition",e[e.Sequence=2]="Sequence",e[e.Group=3]="Group",e[e.Animate=4]="Animate",e[e.Keyframes=5]="Keyframes",e[e.Style=6]="Style",e[e.Trigger=7]="Trigger",e[e.Reference=8]="Reference",e[e.AnimateChild=9]="AnimateChild",e[e.AnimateRef=10]="AnimateRef",e[e.Query=11]="Query",e[e.Stagger=12]="Stagger",e}(Tn||{});const Kc="*";function ks(e,n){return{type:Tn.Trigger,name:e,definitions:n,options:{}}}function Bi(e,n=null){return{type:Tn.Animate,styles:n,timings:e}}function Xt(e){return{type:Tn.Style,styles:e,offset:null}}function es(e,n,t){return{type:Tn.State,name:e,styles:n,options:t}}function Wi(e,n,t=null){return{type:Tn.Transition,expr:e,animation:n,options:t}}function XL(e,n,t=null){return{type:Tn.Query,selector:e,animation:n,options:t}}function JL(e,n){return{type:Tn.Stagger,timings:e,animation:n}}class df{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(n=0,t=0){this.totalTime=n+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(n=>n()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(n){this._position=this.totalTime?n*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(n){const t="start"==n?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}}class eO{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(n){this.players=n;let t=0,i=0,r=0;const o=this.players.length;0==o?queueMicrotask(()=>this._onFinish()):this.players.forEach(a=>{a.onDone(()=>{++t==o&&this._onFinish()}),a.onDestroy(()=>{++i==o&&this._onDestroy()}),a.onStart(()=>{++r==o&&this._onStart()})}),this.totalTime=this.players.reduce((a,s)=>Math.max(a,s.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this.players.forEach(n=>n.init())}onStart(n){this._onStartFns.push(n)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(n=>n()),this._onStartFns=[])}onDone(n){this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(n=>n.play())}pause(){this.players.forEach(n=>n.pause())}restart(){this.players.forEach(n=>n.restart())}finish(){this._onFinish(),this.players.forEach(n=>n.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(n=>n.destroy()),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this.players.forEach(n=>n.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(n){const t=n*this.totalTime;this.players.forEach(i=>{const r=i.totalTime?Math.min(1,t/i.totalTime):1;i.setPosition(r)})}getPosition(){const n=this.players.reduce((t,i)=>null===t||i.totalTime>t.totalTime?i:t,null);return null!=n?n.getPosition():0}beforeDestroy(){this.players.forEach(n=>{n.beforeDestroy&&n.beforeDestroy()})}triggerCallback(n){const t="start"==n?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}}function nO(e){return new ge(3e3,!1)}function Iue(e){return new ge(3002,!1)}function Yu(e){switch(e.length){case 0:return new df;case 1:return e[0];default:return new eO(e)}}function iO(e,n,t=new Map,i=new Map){const r=[],o=[];let a=-1,s=null;if(n.forEach(l=>{const c=l.get("offset"),h=c==a,p=h&&s||new Map;l.forEach((S,v)=>{let C=v,P=S;if("offset"!==v)switch(C=e.normalizePropertyName(C,r),P){case"!":P=t.get(v);break;case Kc:P=i.get(v);break;default:P=e.normalizeStyleValue(v,C,P,r)}p.set(C,P)}),h||o.push(p),s=p,a=c}),r.length)throw function Bue(){return new ge(3502,!1)}();return o}function N9(e,n,t,i){switch(n){case"start":e.onStart(()=>i(t&&F9(t,"start",e)));break;case"done":e.onDone(()=>i(t&&F9(t,"done",e)));break;case"destroy":e.onDestroy(()=>i(t&&F9(t,"destroy",e)))}}function F9(e,n,t){const o=R9(e.element,e.triggerName,e.fromState,e.toState,n||e.phaseName,t.totalTime??e.totalTime,!!t.disabled),a=e._data;return null!=a&&(o._data=a),o}function R9(e,n,t,i,r="",o=0,a){return{element:e,triggerName:n,fromState:t,toState:i,phaseName:r,totalTime:o,disabled:!!a}}function Es(e,n,t){let i=e.get(n);return i||e.set(n,i=t),i}function rO(e){const n=e.indexOf(":");return[e.substring(1,n),e.slice(n+1)]}const Jue=typeof document>"u"?null:document.documentElement;function H9(e){const n=e.parentNode||e.host||null;return n===Jue?null:n}let X1=null,oO=!1;function aO(e,n){for(;n;){if(n===e)return!0;n=H9(n)}return!1}function sO(e,n,t){if(t)return Array.from(e.querySelectorAll(n));const i=e.querySelector(n);return i?[i]:[]}const cO="ng-enter",V9="ng-leave",E8="ng-trigger",I8=".ng-trigger",uO="ng-animating",B9=".ng-animating";function Qc(e){if("number"==typeof e)return e;const n=e.match(/^(-?[\.\d]+)(m?s)/);return!n||n.length<2?0:U9(parseFloat(n[1]),n[2])}function U9(e,n){return"s"===n?1e3*e:e}function z8(e,n,t){return e.hasOwnProperty("duration")?e:function a1e(e,n,t){let i,r=0,o="";if("string"==typeof e){const a=e.match(o1e);if(null===a)return n.push(nO()),{duration:0,delay:0,easing:""};i=U9(parseFloat(a[1]),a[2]);const s=a[3];null!=s&&(r=U9(parseFloat(s),a[4]));const l=a[5];l&&(o=l)}else i=e;if(!t){let a=!1,s=n.length;i<0&&(n.push(function Cue(){return new ge(3100,!1)}()),a=!0),r<0&&(n.push(function wue(){return new ge(3101,!1)}()),a=!0),a&&n.splice(s,0,nO())}return{duration:i,delay:r,easing:o}}(e,n,t)}const o1e=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i;function uc(e,n,t){n.forEach((i,r)=>{const o=Y9(r);t&&!t.has(r)&&t.set(r,e.style[o]),e.style[o]=i})}function J1(e,n){n.forEach((t,i)=>{const r=Y9(i);e.style[r]=""})}function hf(e){return Array.isArray(e)?1==e.length?e[0]:function bue(e,n=null){return{type:Tn.Sequence,steps:e,options:n}}(e):e}const q9=new RegExp("{{\\s*(.+?)\\s*}}","g");function dO(e){let n=[];if("string"==typeof e){let t;for(;t=q9.exec(e);)n.push(t[1]);q9.lastIndex=0}return n}function ff(e,n,t){const i=`${e}`,r=i.replace(q9,(o,a)=>{let s=n[a];return null==s&&(t.push(function Mue(){return new ge(3003,!1)}()),s=""),s.toString()});return r==i?e:r}const c1e=/-+([a-z0-9])/g;function Y9(e){return e.replace(c1e,(...n)=>n[1].toUpperCase())}function Is(e,n,t){switch(n.type){case Tn.Trigger:return e.visitTrigger(n,t);case Tn.State:return e.visitState(n,t);case Tn.Transition:return e.visitTransition(n,t);case Tn.Sequence:return e.visitSequence(n,t);case Tn.Group:return e.visitGroup(n,t);case Tn.Animate:return e.visitAnimate(n,t);case Tn.Keyframes:return e.visitKeyframes(n,t);case Tn.Style:return e.visitStyle(n,t);case Tn.Reference:return e.visitReference(n,t);case Tn.AnimateChild:return e.visitAnimateChild(n,t);case Tn.AnimateRef:return e.visitAnimateRef(n,t);case Tn.Query:return e.visitQuery(n,t);case Tn.Stagger:return e.visitStagger(n,t);default:throw function Tue(){return new ge(3004,!1)}()}}function j9(e,n){return window.getComputedStyle(e)[n]}
/**
       * @license Angular v20.3.18
       * (c) 2010-2025 Google LLC. https://angular.dev/
       * License: MIT
       */
let $9=(()=>{class e{validateStyleProperty(t){return function t1e(e){X1||(X1=function n1e(){return typeof document<"u"?document.body:null}()||{},oO=!!X1.style&&"WebkitAppearance"in X1.style);let n=!0;return X1.style&&!function e1e(e){return"ebkit"==e.substring(1,6)}(e)&&(n=e in X1.style,!n&&oO&&(n="Webkit"+e.charAt(0).toUpperCase()+e.slice(1)in X1.style)),n}(t)}containsElement(t,i){return aO(t,i)}getParentElement(t){return H9(t)}query(t,i,r){return sO(t,i,r)}computeStyle(t,i,r){return r||""}animate(t,i,r,o,a,s=[],l){return new df(r,o)}static \u0275fac=function(i){return new(i||e)};static \u0275prov=Ke({token:e,factory:e.\u0275fac})}return e})();class W9{static NOOP=new $9}class G9{}const v1e=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class fO extends G9{normalizePropertyName(n,t){return Y9(n)}normalizeStyleValue(n,t,i,r){let o="";const a=i.toString().trim();if(v1e.has(t)&&0!==i&&"0"!==i)if("number"==typeof i)o="px";else{const s=i.match(/^[+-]?[\d\.]+([a-z]*)$/);s&&0==s[1].length&&r.push(function Due(){return new ge(3005,!1)}())}return a+o}}const L8=new Set(["true","1"]),O8=new Set(["false","0"]);function pO(e,n){const t=L8.has(e)||O8.has(e),i=L8.has(n)||O8.has(n);return(r,o)=>{let a="*"==e||e==r,s="*"==n||n==o;return!a&&t&&"boolean"==typeof r&&(a=r?L8.has(e):O8.has(e)),!s&&i&&"boolean"==typeof o&&(s=o?L8.has(n):O8.has(n)),a&&s}}const C1e=new RegExp("s*:selfs*,?","g");function Q9(e,n,t,i){return new w1e(e).build(n,t,i)}class w1e{_driver;constructor(n){this._driver=n}build(n,t,i){const r=new T1e(t);return this._resetContextStyleTimingState(r),Is(this,hf(n),r)}_resetContextStyleTimingState(n){n.currentQuerySelector="",n.collectedStyles=new Map,n.collectedStyles.set("",new Map),n.currentTime=0}visitTrigger(n,t){let i=t.queryCount=0,r=t.depCount=0;const o=[],a=[];return"@"==n.name.charAt(0)&&t.errors.push(function xue(){return new ge(3006,!1)}()),n.definitions.forEach(s=>{if(this._resetContextStyleTimingState(t),s.type==Tn.State){const l=s,c=l.name;c.toString().split(/\s*,\s*/).forEach(h=>{l.name=h,o.push(this.visitState(l,t))}),l.name=c}else if(s.type==Tn.Transition){const l=this.visitTransition(s,t);i+=l.queryCount,r+=l.depCount,a.push(l)}else t.errors.push(function kue(){return new ge(3007,!1)}())}),{type:Tn.Trigger,name:n.name,states:o,transitions:a,queryCount:i,depCount:r,options:null}}visitState(n,t){const i=this.visitStyle(n.styles,t),r=n.options&&n.options.params||null;if(i.containsDynamicStyles){const o=new Set,a=r||{};i.styles.forEach(s=>{s instanceof Map&&s.forEach(l=>{dO(l).forEach(c=>{a.hasOwnProperty(c)||o.add(c)})})}),o.size&&t.errors.push(function Eue(){return new ge(3008,!1)}(0,o.values()))}return{type:Tn.State,name:n.name,style:i,options:r?{params:r}:null}}visitTransition(n,t){t.queryCount=0,t.depCount=0;const i=Is(this,hf(n.animation),t),r=function _1e(e,n){const t=[];return"string"==typeof e?e.split(/\s*,\s*/).forEach(i=>function y1e(e,n,t){if(":"==e[0]){const l=function b1e(e,n){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,i)=>parseFloat(i)>parseFloat(t);case":decrement":return(t,i)=>parseFloat(i)<parseFloat(t);default:return n.push(function Hue(){return new ge(3016,!1)}()),"* => *"}}(e,t);if("function"==typeof l)return void n.push(l);e=l}const i=e.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return t.push(function Rue(){return new ge(3015,!1)}()),n;const r=i[1],o=i[2],a=i[3];n.push(pO(r,a)),"<"==o[0]&&("*"!=r||"*"!=a)&&n.push(pO(a,r))}(i,t,n)):t.push(e),t}(n.expr,t.errors);return{type:Tn.Transition,matchers:r,animation:i,queryCount:t.queryCount,depCount:t.depCount,options:e0(n.options)}}visitSequence(n,t){return{type:Tn.Sequence,steps:n.steps.map(i=>Is(this,i,t)),options:e0(n.options)}}visitGroup(n,t){const i=t.currentTime;let r=0;const o=n.steps.map(a=>{t.currentTime=i;const s=Is(this,a,t);return r=Math.max(r,t.currentTime),s});return t.currentTime=r,{type:Tn.Group,steps:o,options:e0(n.options)}}visitAnimate(n,t){const i=function x1e(e,n){if(e.hasOwnProperty("duration"))return e;if("number"==typeof e)return Z9(z8(e,n).duration,0,"");const t=e;if(t.split(/\s+/).some(o=>"{"==o.charAt(0)&&"{"==o.charAt(1))){const o=Z9(0,0,"");return o.dynamic=!0,o.strValue=t,o}const r=z8(t,n);return Z9(r.duration,r.delay,r.easing)}(n.timings,t.errors);t.currentAnimateTimings=i;let r,o=n.styles?n.styles:Xt({});if(o.type==Tn.Keyframes)r=this.visitKeyframes(o,t);else{let a=n.styles,s=!1;if(!a){s=!0;const c={};i.easing&&(c.easing=i.easing),a=Xt(c)}t.currentTime+=i.duration+i.delay;const l=this.visitStyle(a,t);l.isEmptyStep=s,r=l}return t.currentAnimateTimings=null,{type:Tn.Animate,timings:i,style:r,options:null}}visitStyle(n,t){const i=this._makeStyleAst(n,t);return this._validateStyleAst(i,t),i}_makeStyleAst(n,t){const i=[],r=Array.isArray(n.styles)?n.styles:[n.styles];for(let s of r)"string"==typeof s?s===Kc?i.push(s):t.errors.push(Iue()):i.push(new Map(Object.entries(s)));let o=!1,a=null;return i.forEach(s=>{if(s instanceof Map&&(s.has("easing")&&(a=s.get("easing"),s.delete("easing")),!o))for(let l of s.values())if(l.toString().indexOf("{{")>=0){o=!0;break}}),{type:Tn.Style,styles:i,easing:a,offset:n.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(n,t){const i=t.currentAnimateTimings;let r=t.currentTime,o=t.currentTime;i&&o>0&&(o-=i.duration+i.delay),n.styles.forEach(a=>{"string"!=typeof a&&a.forEach((s,l)=>{const c=t.collectedStyles.get(t.currentQuerySelector),h=c.get(l);let p=!0;h&&(o!=r&&o>=h.startTime&&r<=h.endTime&&(t.errors.push(function zue(){return new ge(3010,!1)}()),p=!1),o=h.startTime),p&&c.set(l,{startTime:o,endTime:r}),t.options&&function l1e(e,n,t){const i=n.params||{},r=dO(e);r.length&&r.forEach(o=>{i.hasOwnProperty(o)||t.push(function Sue(){return new ge(3001,!1)}())})}(s,t.options,t.errors)})})}visitKeyframes(n,t){const i={type:Tn.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(function Aue(){return new ge(3011,!1)}()),i;let o=0;const a=[];let s=!1,l=!1,c=0;const h=n.steps.map(re=>{const ie=this._makeStyleAst(re,t);let Me=null!=ie.offset?ie.offset:function D1e(e){if("string"==typeof e)return null;let n=null;if(Array.isArray(e))e.forEach(t=>{if(t instanceof Map&&t.has("offset")){const i=t;n=parseFloat(i.get("offset")),i.delete("offset")}});else if(e instanceof Map&&e.has("offset")){const t=e;n=parseFloat(t.get("offset")),t.delete("offset")}return n}(ie.styles),ke=0;return null!=Me&&(o++,ke=ie.offset=Me),l=l||ke<0||ke>1,s=s||ke<c,c=ke,a.push(ke),ie});l&&t.errors.push(function Lue(){return new ge(3012,!1)}()),s&&t.errors.push(function Oue(){return new ge(3200,!1)}());const p=n.steps.length;let S=0;o>0&&o<p?t.errors.push(function Pue(){return new ge(3202,!1)}()):0==o&&(S=1/(p-1));const v=p-1,C=t.currentTime,P=t.currentAnimateTimings,Z=P.duration;return h.forEach((re,ie)=>{const Me=S>0?ie==v?1:S*ie:a[ie],ke=Me*Z;t.currentTime=C+P.delay+ke,P.duration=ke,this._validateStyleAst(re,t),re.offset=Me,i.styles.push(re)}),i}visitReference(n,t){return{type:Tn.Reference,animation:Is(this,hf(n.animation),t),options:e0(n.options)}}visitAnimateChild(n,t){return t.depCount++,{type:Tn.AnimateChild,options:e0(n.options)}}visitAnimateRef(n,t){return{type:Tn.AnimateRef,animation:this.visitReference(n.animation,t),options:e0(n.options)}}visitQuery(n,t){const i=t.currentQuerySelector,r=n.options||{};t.queryCount++,t.currentQuery=n;const[o,a]=function S1e(e){const n=!!e.split(/\s*,\s*/).find(t=>":self"==t);return n&&(e=e.replace(C1e,"")),e=e.replace(/@\*/g,I8).replace(/@\w+/g,t=>I8+"-"+t.slice(1)).replace(/:animating/g,B9),[e,n]}(n.selector);t.currentQuerySelector=i.length?i+" "+o:o,Es(t.collectedStyles,t.currentQuerySelector,new Map);const s=Is(this,hf(n.animation),t);return t.currentQuery=null,t.currentQuerySelector=i,{type:Tn.Query,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:a,animation:s,originalSelector:n.selector,options:e0(n.options)}}visitStagger(n,t){t.currentQuery||t.errors.push(function Nue(){return new ge(3013,!1)}());const i="full"===n.timings?{duration:0,delay:0,easing:"full"}:z8(n.timings,t.errors,!0);return{type:Tn.Stagger,animation:Is(this,hf(n.animation),t),timings:i,options:null}}}class T1e{errors;queryCount=0;depCount=0;currentTransition=null;currentQuery=null;currentQuerySelector=null;currentAnimateTimings=null;currentTime=0;collectedStyles=new Map;options=null;unsupportedCSSPropertiesFound=new Set;constructor(n){this.errors=n}}function e0(e){return e?(e={...e}).params&&(e.params=function M1e(e){return e?{...e}:null}(e.params)):e={},e}function Z9(e,n,t){return{duration:e,delay:n,easing:t}}function X9(e,n,t,i,r,o,a=null,s=!1){return{type:1,element:e,keyframes:n,preStyleProps:t,postStyleProps:i,duration:r,delay:o,totalTime:r+o,easing:a,subTimeline:s}}class P8{_map=new Map;get(n){return this._map.get(n)||[]}append(n,t){let i=this._map.get(n);i||this._map.set(n,i=[]),i.push(...t)}has(n){return this._map.has(n)}clear(){this._map.clear()}}const I1e=new RegExp(":enter","g"),A1e=new RegExp(":leave","g");function J9(e,n,t,i,r,o=new Map,a=new Map,s,l,c=[]){return(new L1e).buildKeyframes(e,n,t,i,r,o,a,s,l,c)}class L1e{buildKeyframes(n,t,i,r,o,a,s,l,c,h=[]){c=c||new P8;const p=new e_(n,t,c,r,o,h,[]);p.options=l;const S=l.delay?Qc(l.delay):0;p.currentTimeline.delayNextStep(S),p.currentTimeline.setStyles([a],null,p.errors,l),Is(this,i,p);const v=p.timelines.filter(C=>C.containsAnimation());if(v.length&&s.size){let C;for(let P=v.length-1;P>=0;P--){const Z=v[P];if(Z.element===t){C=Z;break}}C&&!C.allowOnlyTimelineStyles()&&C.setStyles([s],null,p.errors,l)}return v.length?v.map(C=>C.buildKeyframes()):[X9(t,[],[],[],0,S,"",!1)]}visitTrigger(n,t){}visitState(n,t){}visitTransition(n,t){}visitAnimateChild(n,t){const i=t.subInstructions.get(t.element);if(i){const r=t.createSubContext(n.options),o=t.currentTimeline.currentTime,a=this._visitSubInstructions(i,r,r.options);o!=a&&t.transformIntoNewTimeline(a)}t.previousNode=n}visitAnimateRef(n,t){const i=t.createSubContext(n.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([n.options,n.animation.options],t,i),this.visitReference(n.animation,i),t.transformIntoNewTimeline(i.currentTimeline.currentTime),t.previousNode=n}_applyAnimationRefDelays(n,t,i){for(const r of n){const o=r?.delay;if(o){const a="number"==typeof o?o:Qc(ff(o,r?.params??{},t.errors));i.delayNextStep(a)}}}_visitSubInstructions(n,t,i){let o=t.currentTimeline.currentTime;const a=null!=i.duration?Qc(i.duration):null,s=null!=i.delay?Qc(i.delay):null;return 0!==a&&n.forEach(l=>{const c=t.appendInstructionToTimeline(l,a,s);o=Math.max(o,c.duration+c.delay)}),o}visitReference(n,t){t.updateOptions(n.options,!0),Is(this,n.animation,t),t.previousNode=n}visitSequence(n,t){const i=t.subContextCount;let r=t;const o=n.options;if(o&&(o.params||o.delay)&&(r=t.createSubContext(o),r.transformIntoNewTimeline(),null!=o.delay)){r.previousNode.type==Tn.Style&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=N8);const a=Qc(o.delay);r.delayNextStep(a)}n.steps.length&&(n.steps.forEach(a=>Is(this,a,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),t.previousNode=n}visitGroup(n,t){const i=[];let r=t.currentTimeline.currentTime;const o=n.options&&n.options.delay?Qc(n.options.delay):0;n.steps.forEach(a=>{const s=t.createSubContext(n.options);o&&s.delayNextStep(o),Is(this,a,s),r=Math.max(r,s.currentTimeline.currentTime),i.push(s.currentTimeline)}),i.forEach(a=>t.currentTimeline.mergeTimelineCollectedStyles(a)),t.transformIntoNewTimeline(r),t.previousNode=n}_visitTiming(n,t){if(n.dynamic){const i=n.strValue;return z8(t.params?ff(i,t.params,t.errors):i,t.errors)}return{duration:n.duration,delay:n.delay,easing:n.easing}}visitAnimate(n,t){const i=t.currentAnimateTimings=this._visitTiming(n.timings,t),r=t.currentTimeline;i.delay&&(t.incrementTime(i.delay),r.snapshotCurrentStyles());const o=n.style;o.type==Tn.Keyframes?this.visitKeyframes(o,t):(t.incrementTime(i.duration),this.visitStyle(o,t),r.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=n}visitStyle(n,t){const i=t.currentTimeline,r=t.currentAnimateTimings;!r&&i.hasCurrentStyleProperties()&&i.forwardFrame();const o=r&&r.easing||n.easing;n.isEmptyStep?i.applyEmptyStep(o):i.setStyles(n.styles,o,t.errors,t.options),t.previousNode=n}visitKeyframes(n,t){const i=t.currentAnimateTimings,r=t.currentTimeline.duration,o=i.duration,s=t.createSubContext().currentTimeline;s.easing=i.easing,n.styles.forEach(l=>{s.forwardTime((l.offset||0)*o),s.setStyles(l.styles,l.easing,t.errors,t.options),s.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(s),t.transformIntoNewTimeline(r+o),t.previousNode=n}visitQuery(n,t){const i=t.currentTimeline.currentTime,r=n.options||{},o=r.delay?Qc(r.delay):0;o&&(t.previousNode.type===Tn.Style||0==i&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=N8);let a=i;const s=t.invokeQuery(n.selector,n.originalSelector,n.limit,n.includeSelf,!!r.optional,t.errors);t.currentQueryTotal=s.length;let l=null;s.forEach((c,h)=>{t.currentQueryIndex=h;const p=t.createSubContext(n.options,c);o&&p.delayNextStep(o),c===t.element&&(l=p.currentTimeline),Is(this,n.animation,p),p.currentTimeline.applyStylesToKeyframe(),a=Math.max(a,p.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(a),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=n}visitStagger(n,t){const i=t.parentContext,r=t.currentTimeline,o=n.timings,a=Math.abs(o.duration),s=a*(t.currentQueryTotal-1);let l=a*t.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":l=s-l;break;case"full":l=i.currentStaggerTime}const h=t.currentTimeline;l&&h.delayNextStep(l);const p=h.currentTime;Is(this,n.animation,t),t.previousNode=n,i.currentStaggerTime=r.currentTime-p+(r.startTime-i.currentTimeline.startTime)}}const N8={};class e_{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=N8;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(n,t,i,r,o,a,s,l){this._driver=n,this.element=t,this.subInstructions=i,this._enterClassName=r,this._leaveClassName=o,this.errors=a,this.timelines=s,this.currentTimeline=l||new F8(this._driver,t,0),s.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(n,t){if(!n)return;const i=n;let r=this.options;null!=i.duration&&(r.duration=Qc(i.duration)),null!=i.delay&&(r.delay=Qc(i.delay));const o=i.params;if(o){let a=r.params;a||(a=this.options.params={}),Object.keys(o).forEach(s=>{(!t||!a.hasOwnProperty(s))&&(a[s]=ff(o[s],a,this.errors))})}}_copyOptions(){const n={};if(this.options){const t=this.options.params;if(t){const i=n.params={};Object.keys(t).forEach(r=>{i[r]=t[r]})}}return n}createSubContext(n=null,t,i){const r=t||this.element,o=new e_(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,i||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(n),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(n){return this.previousNode=N8,this.currentTimeline=this.currentTimeline.fork(this.element,n),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(n,t,i){const r={duration:t??n.duration,delay:this.currentTimeline.currentTime+(i??0)+n.delay,easing:""},o=new O1e(this._driver,n.element,n.keyframes,n.preStyleProps,n.postStyleProps,r,n.stretchStartingKeyframe);return this.timelines.push(o),r}incrementTime(n){this.currentTimeline.forwardTime(this.currentTimeline.duration+n)}delayNextStep(n){n>0&&this.currentTimeline.delayNextStep(n)}invokeQuery(n,t,i,r,o,a){let s=[];if(r&&s.push(this.element),n.length>0){n=(n=n.replace(I1e,"."+this._enterClassName)).replace(A1e,"."+this._leaveClassName);let c=this._driver.query(this.element,n,1!=i);0!==i&&(c=i<0?c.slice(c.length+i,c.length):c.slice(0,i)),s.push(...c)}return!o&&0==s.length&&a.push(function Fue(){return new ge(3014,!1)}()),s}}class F8{_driver;element;startTime;_elementTimelineStylesLookup;duration=0;easing=null;_previousKeyframe=new Map;_currentKeyframe=new Map;_keyframes=new Map;_styleSummary=new Map;_localTimelineStyles=new Map;_globalTimelineStyles;_pendingStyles=new Map;_backFill=new Map;_currentEmptyStepKeyframe=null;constructor(n,t,i,r){this._driver=n,this.element=t,this.startTime=i,this._elementTimelineStylesLookup=r,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(n){const t=1===this._keyframes.size&&this._pendingStyles.size;this.duration||t?(this.forwardTime(this.currentTime+n),t&&this.snapshotCurrentStyles()):this.startTime+=n}fork(n,t){return this.applyStylesToKeyframe(),new F8(this._driver,n,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(n){this.applyStylesToKeyframe(),this.duration=n,this._loadKeyframe()}_updateStyle(n,t){this._localTimelineStyles.set(n,t),this._globalTimelineStyles.set(n,t),this._styleSummary.set(n,{time:this.currentTime,value:t})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(n){n&&this._previousKeyframe.set("easing",n);for(let[t,i]of this._globalTimelineStyles)this._backFill.set(t,i||Kc),this._currentKeyframe.set(t,Kc);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(n,t,i,r){t&&this._previousKeyframe.set("easing",t);const o=r&&r.params||{},a=function P1e(e,n){const t=new Map;let i;return e.forEach(r=>{if("*"===r){i??=n.keys();for(let o of i)t.set(o,Kc)}else for(let[o,a]of r)t.set(o,a)}),t}(n,this._globalTimelineStyles);for(let[s,l]of a){const c=ff(l,o,i);this._pendingStyles.set(s,c),this._localTimelineStyles.has(s)||this._backFill.set(s,this._globalTimelineStyles.get(s)??Kc),this._updateStyle(s,c)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((n,t)=>{this._currentKeyframe.set(t,n)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((n,t)=>{this._currentKeyframe.has(t)||this._currentKeyframe.set(t,n)}))}snapshotCurrentStyles(){for(let[n,t]of this._localTimelineStyles)this._pendingStyles.set(n,t),this._updateStyle(n,t)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const n=[];for(let t in this._currentKeyframe)n.push(t);return n}mergeTimelineCollectedStyles(n){n._styleSummary.forEach((t,i)=>{const r=this._styleSummary.get(i);(!r||t.time>r.time)&&this._updateStyle(i,t.value)})}buildKeyframes(){this.applyStylesToKeyframe();const n=new Set,t=new Set,i=1===this._keyframes.size&&0===this.duration;let r=[];this._keyframes.forEach((s,l)=>{const c=new Map([...this._backFill,...s]);c.forEach((h,p)=>{"!"===h?n.add(p):h===Kc&&t.add(p)}),i||c.set("offset",l/this.duration),r.push(c)});const o=[...n.values()],a=[...t.values()];if(i){const s=r[0],l=new Map(s);s.set("offset",0),l.set("offset",1),r=[s,l]}return X9(this.element,r,o,a,this.duration,this.startTime,this.easing,!1)}}class O1e extends F8{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(n,t,i,r,o,a,s=!1){super(n,t,a.delay),this.keyframes=i,this.preStyleProps=r,this.postStyleProps=o,this._stretchStartingKeyframe=s,this.timings={duration:a.duration,delay:a.delay,easing:a.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let n=this.keyframes,{delay:t,duration:i,easing:r}=this.timings;if(this._stretchStartingKeyframe&&t){const o=[],a=i+t,s=t/a,l=new Map(n[0]);l.set("offset",0),o.push(l);const c=new Map(n[0]);c.set("offset",vO(s)),o.push(c);const h=n.length-1;for(let p=1;p<=h;p++){let S=new Map(n[p]);const v=S.get("offset");S.set("offset",vO((t+v*i)/a)),o.push(S)}i=a,t=0,r="",n=o}return X9(this.element,n,this.preStyleProps,this.postStyleProps,i,t,r,!0)}}function vO(e,n=3){const t=Math.pow(10,n-1);return Math.round(e*t)/t}function _O(e,n,t,i,r,o,a,s,l,c,h,p,S){return{type:0,element:e,triggerName:n,isRemovalTransition:r,fromState:t,fromStyles:o,toState:i,toStyles:a,timelines:s,queriedElements:l,preStyleProps:c,postStyleProps:h,totalTime:p,errors:S}}const t_={};class yO{_triggerName;ast;_stateStyles;constructor(n,t,i){this._triggerName=n,this.ast=t,this._stateStyles=i}match(n,t,i,r){return function N1e(e,n,t,i,r){return e.some(o=>o(n,t,i,r))}(this.ast.matchers,n,t,i,r)}buildStyles(n,t,i){let r=this._stateStyles.get("*");return void 0!==n&&(r=this._stateStyles.get(n?.toString())||r),r?r.buildStyles(t,i):new Map}build(n,t,i,r,o,a,s,l,c,h){const p=[],S=this.ast.options&&this.ast.options.params||t_,C=this.buildStyles(i,s&&s.params||t_,p),P=l&&l.params||t_,Z=this.buildStyles(r,P,p),re=new Set,ie=new Map,Me=new Map,ke="void"===r,Be={params:bO(P,S),delay:this.ast.options?.delay},it=h?[]:J9(n,t,this.ast.animation,o,a,C,Z,Be,c,p);let Et=0;return it.forEach(Jt=>{Et=Math.max(Jt.duration+Jt.delay,Et)}),p.length?_O(t,this._triggerName,i,r,ke,C,Z,[],[],ie,Me,Et,p):(it.forEach(Jt=>{const $t=Jt.element,Bn=Es(ie,$t,new Set);Jt.preStyleProps.forEach(Qi=>Bn.add(Qi));const Rr=Es(Me,$t,new Set);Jt.postStyleProps.forEach(Qi=>Rr.add(Qi)),$t!==t&&re.add($t)}),_O(t,this._triggerName,i,r,ke,C,Z,it,[...re.values()],ie,Me,Et))}}function bO(e,n){const t={...n};return Object.entries(e).forEach(([i,r])=>{null!=r&&(t[i]=r)}),t}class F1e{styles;defaultParams;normalizer;constructor(n,t,i){this.styles=n,this.defaultParams=t,this.normalizer=i}buildStyles(n,t){const i=new Map,r=bO(n,this.defaultParams);return this.styles.styles.forEach(o=>{"string"!=typeof o&&o.forEach((a,s)=>{a&&(a=ff(a,r,t));const l=this.normalizer.normalizePropertyName(s,t);a=this.normalizer.normalizeStyleValue(s,l,a,t),i.set(s,a)})}),i}}class H1e{name;ast;_normalizer;transitionFactories=[];fallbackTransition;states=new Map;constructor(n,t,i){this.name=n,this.ast=t,this._normalizer=i,t.states.forEach(r=>{this.states.set(r.name,new F1e(r.style,r.options&&r.options.params||{},i))}),CO(this.states,"true","1"),CO(this.states,"false","0"),t.transitions.forEach(r=>{this.transitionFactories.push(new yO(n,r,this.states))}),this.fallbackTransition=function V1e(e,n){return new yO(e,{type:Tn.Transition,animation:{type:Tn.Sequence,steps:[],options:null},matchers:[(a,s)=>!0],options:null,queryCount:0,depCount:0},n)}(n,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(n,t,i,r){return this.transitionFactories.find(a=>a.match(n,t,i,r))||null}matchStyles(n,t,i){return this.fallbackTransition.buildStyles(n,t,i)}}function CO(e,n,t){e.has(n)?e.has(t)||e.set(t,e.get(n)):e.has(t)&&e.set(n,e.get(t))}const B1e=new P8;class U1e{bodyNode;_driver;_normalizer;_animations=new Map;_playersById=new Map;players=[];constructor(n,t,i){this.bodyNode=n,this._driver=t,this._normalizer=i}register(n,t){const i=[],o=Q9(this._driver,t,i,[]);if(i.length)throw function Uue(){return new ge(3503,!1)}();this._animations.set(n,o)}_buildPlayer(n,t,i){const r=n.element,o=iO(this._normalizer,n.keyframes,t,i);return this._driver.animate(r,o,n.duration,n.delay,n.easing,[],!0)}create(n,t,i={}){const r=[],o=this._animations.get(n);let a;const s=new Map;if(o?(a=J9(this._driver,t,o,cO,V9,new Map,new Map,i,B1e,r),a.forEach(h=>{const p=Es(s,h.element,new Map);h.postStyleProps.forEach(S=>p.set(S,null))})):(r.push(function que(){return new ge(3300,!1)}()),a=[]),r.length)throw function Yue(){return new ge(3504,!1)}();s.forEach((h,p)=>{h.forEach((S,v)=>{h.set(v,this._driver.computeStyle(p,v,Kc))})});const c=Yu(a.map(h=>{const p=s.get(h.element);return this._buildPlayer(h,new Map,p)}));return this._playersById.set(n,c),c.onDestroy(()=>this.destroy(n)),this.players.push(c),c}destroy(n){const t=this._getPlayer(n);t.destroy(),this._playersById.delete(n);const i=this.players.indexOf(t);i>=0&&this.players.splice(i,1)}_getPlayer(n){const t=this._playersById.get(n);if(!t)throw function jue(){return new ge(3301,!1)}();return t}listen(n,t,i,r){const o=R9(t,"","","");return N9(this._getPlayer(n),i,o,r),()=>{}}command(n,t,i,r){if("register"==i)return void this.register(n,r[0]);if("create"==i)return void this.create(n,t,r[0]||{});const o=this._getPlayer(n);switch(i){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(n)}}}const wO="ng-animate-queued",n_="ng-animate-disabled",W1e=[],SO={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},G1e={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},El="__ng_removed";class i_{namespaceId;value;options;get params(){return this.options.params}constructor(n,t=""){this.namespaceId=t;const i=n&&n.hasOwnProperty("value");if(this.value=function X1e(e){return e??null}(i?n.value:n),i){const{value:o,...a}=n;this.options=a}else this.options={};this.options.params||(this.options.params={})}absorbOptions(n){const t=n.params;if(t){const i=this.options.params;Object.keys(t).forEach(r=>{null==i[r]&&(i[r]=t[r])})}}}const pf="void",r_=new i_(pf);class K1e{id;hostElement;_engine;players=[];_triggers=new Map;_queue=[];_elementListeners=new Map;_hostClassName;constructor(n,t,i){this.id=n,this.hostElement=t,this._engine=i,this._hostClassName="ng-tns-"+n,el(t,this._hostClassName)}listen(n,t,i,r){if(!this._triggers.has(t))throw function $ue(){return new ge(3302,!1)}();if(null==i||0==i.length)throw function Wue(){return new ge(3303,!1)}();if(!function J1e(e){return"start"==e||"done"==e}(i))throw function Gue(){return new ge(3400,!1)}();const o=Es(this._elementListeners,n,[]),a={name:t,phase:i,callback:r};o.push(a);const s=Es(this._engine.statesByElement,n,new Map);return s.has(t)||(el(n,E8),el(n,E8+"-"+t),s.set(t,r_)),()=>{this._engine.afterFlush(()=>{const l=o.indexOf(a);l>=0&&o.splice(l,1),this._triggers.has(t)||s.delete(t)})}}register(n,t){return!this._triggers.has(n)&&(this._triggers.set(n,t),!0)}_getTrigger(n){const t=this._triggers.get(n);if(!t)throw function Kue(){return new ge(3401,!1)}();return t}trigger(n,t,i,r=!0){const o=this._getTrigger(t),a=new o_(this.id,t,n);let s=this._engine.statesByElement.get(n);s||(el(n,E8),el(n,E8+"-"+t),this._engine.statesByElement.set(n,s=new Map));let l=s.get(t);const c=new i_(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),s.set(t,c),l||(l=r_),c.value!==pf&&l.value===c.value){if(!function n0e(e,n){const t=Object.keys(e),i=Object.keys(n);if(t.length!=i.length)return!1;for(let r=0;r<t.length;r++){const o=t[r];if(!n.hasOwnProperty(o)||e[o]!==n[o])return!1}return!0}(l.params,c.params)){const P=[],Z=o.matchStyles(l.value,l.params,P),re=o.matchStyles(c.value,c.params,P);P.length?this._engine.reportError(P):this._engine.afterFlush(()=>{J1(n,Z),uc(n,re)})}return}const S=Es(this._engine.playersByElement,n,[]);S.forEach(P=>{P.namespaceId==this.id&&P.triggerName==t&&P.queued&&P.destroy()});let v=o.matchTransition(l.value,c.value,n,c.params),C=!1;if(!v){if(!r)return;v=o.fallbackTransition,C=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:t,transition:v,fromState:l,toState:c,player:a,isFallbackTransition:C}),C||(el(n,wO),a.onStart(()=>{Ld(n,wO)})),a.onDone(()=>{let P=this.players.indexOf(a);P>=0&&this.players.splice(P,1);const Z=this._engine.playersByElement.get(n);if(Z){let re=Z.indexOf(a);re>=0&&Z.splice(re,1)}}),this.players.push(a),S.push(a),a}deregister(n){this._triggers.delete(n),this._engine.statesByElement.forEach(t=>t.delete(n)),this._elementListeners.forEach((t,i)=>{this._elementListeners.set(i,t.filter(r=>r.name!=n))})}clearElementCache(n){this._engine.statesByElement.delete(n),this._elementListeners.delete(n);const t=this._engine.playersByElement.get(n);t&&(t.forEach(i=>i.destroy()),this._engine.playersByElement.delete(n))}_signalRemovalForInnerTriggers(n,t){const i=this._engine.driver.query(n,I8,!0);i.forEach(r=>{if(r[El])return;const o=this._engine.fetchNamespacesByElement(r);o.size?o.forEach(a=>a.triggerLeaveAnimation(r,t,!1,!0)):this.clearElementCache(r)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(r=>this.clearElementCache(r)))}triggerLeaveAnimation(n,t,i,r){const o=this._engine.statesByElement.get(n),a=new Map;if(o){const s=[];if(o.forEach((l,c)=>{if(a.set(c,l.value),this._triggers.has(c)){const h=this.trigger(n,c,pf,r);h&&s.push(h)}}),s.length)return this._engine.markElementAsRemoved(this.id,n,!0,t,a),i&&Yu(s).onDone(()=>this._engine.processLeaveNode(n)),!0}return!1}prepareLeaveAnimationListeners(n){const t=this._elementListeners.get(n),i=this._engine.statesByElement.get(n);if(t&&i){const r=new Set;t.forEach(o=>{const a=o.name;if(r.has(a))return;r.add(a);const l=this._triggers.get(a).fallbackTransition,c=i.get(a)||r_,h=new i_(pf),p=new o_(this.id,a,n);this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:a,transition:l,fromState:c,toState:h,player:p,isFallbackTransition:!0})})}}removeNode(n,t){const i=this._engine;if(n.childElementCount&&this._signalRemovalForInnerTriggers(n,t),this.triggerLeaveAnimation(n,t,!0))return;let r=!1;if(i.totalAnimations){const o=i.players.length?i.playersByQueriedElement.get(n):[];if(o&&o.length)r=!0;else{let a=n;for(;a=a.parentNode;)if(i.statesByElement.get(a)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(n),r)i.markElementAsRemoved(this.id,n,!1,t);else{const o=n[El];(!o||o===SO)&&(i.afterFlush(()=>this.clearElementCache(n)),i.destroyInnerAnimations(n),i._onRemovalComplete(n,t))}}insertNode(n,t){el(n,this._hostClassName)}drainQueuedTransitions(n){const t=[];return this._queue.forEach(i=>{const r=i.player;if(r.destroyed)return;const o=i.element,a=this._elementListeners.get(o);a&&a.forEach(s=>{if(s.name==i.triggerName){const l=R9(o,i.triggerName,i.fromState.value,i.toState.value);l._data=n,N9(i.player,s.phase,l,s.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):t.push(i)}),this._queue=[],t.sort((i,r)=>{const o=i.transition.ast.depCount,a=r.transition.ast.depCount;return 0==o||0==a?o-a:this._engine.driver.containsElement(i.element,r.element)?1:-1})}destroy(n){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,n)}}class Q1e{bodyNode;driver;_normalizer;players=[];newHostElements=new Map;playersByElement=new Map;playersByQueriedElement=new Map;statesByElement=new Map;disabledNodes=new Set;totalAnimations=0;totalQueuedPlayers=0;_namespaceLookup={};_namespaceList=[];_flushFns=[];_whenQuietFns=[];namespacesByHostElement=new Map;collectedEnterElements=[];collectedLeaveElements=[];onRemovalComplete=(n,t)=>{};_onRemovalComplete(n,t){this.onRemovalComplete(n,t)}constructor(n,t,i){this.bodyNode=n,this.driver=t,this._normalizer=i}get queuedPlayers(){const n=[];return this._namespaceList.forEach(t=>{t.players.forEach(i=>{i.queued&&n.push(i)})}),n}createNamespace(n,t){const i=new K1e(n,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(i,t):(this.newHostElements.set(t,i),this.collectEnterElement(t)),this._namespaceLookup[n]=i}_balanceNamespaceList(n,t){const i=this._namespaceList,r=this.namespacesByHostElement;if(i.length-1>=0){let a=!1,s=this.driver.getParentElement(t);for(;s;){const l=r.get(s);if(l){const c=i.indexOf(l);i.splice(c+1,0,n),a=!0;break}s=this.driver.getParentElement(s)}a||i.unshift(n)}else i.push(n);return r.set(t,n),n}register(n,t){let i=this._namespaceLookup[n];return i||(i=this.createNamespace(n,t)),i}registerTrigger(n,t,i){let r=this._namespaceLookup[n];r&&r.register(t,i)&&this.totalAnimations++}destroy(n,t){n&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const i=this._fetchNamespace(n);this.namespacesByHostElement.delete(i.hostElement);const r=this._namespaceList.indexOf(i);r>=0&&this._namespaceList.splice(r,1),i.destroy(t),delete this._namespaceLookup[n]}))}_fetchNamespace(n){return this._namespaceLookup[n]}fetchNamespacesByElement(n){const t=new Set,i=this.statesByElement.get(n);if(i)for(let r of i.values())if(r.namespaceId){const o=this._fetchNamespace(r.namespaceId);o&&t.add(o)}return t}trigger(n,t,i,r){if(R8(t)){const o=this._fetchNamespace(n);if(o)return o.trigger(t,i,r),!0}return!1}insertNode(n,t,i,r){if(!R8(t))return;const o=t[El];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;const a=this.collectedLeaveElements.indexOf(t);a>=0&&this.collectedLeaveElements.splice(a,1)}if(n){const a=this._fetchNamespace(n);a&&a.insertNode(t,i)}r&&this.collectEnterElement(t)}collectEnterElement(n){this.collectedEnterElements.push(n)}markElementAsDisabled(n,t){t?this.disabledNodes.has(n)||(this.disabledNodes.add(n),el(n,n_)):this.disabledNodes.has(n)&&(this.disabledNodes.delete(n),Ld(n,n_))}removeNode(n,t,i){if(R8(t)){const r=n?this._fetchNamespace(n):null;r?r.removeNode(t,i):this.markElementAsRemoved(n,t,!1,i);const o=this.namespacesByHostElement.get(t);o&&o.id!==n&&o.removeNode(t,i)}else this._onRemovalComplete(t,i)}markElementAsRemoved(n,t,i,r,o){this.collectedLeaveElements.push(t),t[El]={namespaceId:n,setForRemoval:r,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:o}}listen(n,t,i,r,o){return R8(t)?this._fetchNamespace(n).listen(t,i,r,o):()=>{}}_buildInstruction(n,t,i,r,o){return n.transition.build(this.driver,n.element,n.fromState.value,n.toState.value,i,r,n.fromState.options,n.toState.options,t,o)}destroyInnerAnimations(n){let t=this.driver.query(n,I8,!0);t.forEach(i=>this.destroyActiveAnimationsForElement(i)),0!=this.playersByQueriedElement.size&&(t=this.driver.query(n,B9,!0),t.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(n){const t=this.playersByElement.get(n);t&&t.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(n){const t=this.playersByQueriedElement.get(n);t&&t.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(n=>{if(this.players.length)return Yu(this.players).onDone(()=>n());n()})}processLeaveNode(n){const t=n[El];if(t&&t.setForRemoval){if(n[El]=SO,t.namespaceId){this.destroyInnerAnimations(n);const i=this._fetchNamespace(t.namespaceId);i&&i.clearElementCache(n)}this._onRemovalComplete(n,t.setForRemoval)}n.classList?.contains(n_)&&this.markElementAsDisabled(n,!1),this.driver.query(n,".ng-animate-disabled",!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(n=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,r)=>this._balanceNamespaceList(i,r)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;i<this.collectedEnterElements.length;i++)el(this.collectedEnterElements[i],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const i=[];try{t=this._flushAnimations(i,n)}finally{for(let r=0;r<i.length;r++)i[r]()}}else for(let i=0;i<this.collectedLeaveElements.length;i++)this.processLeaveNode(this.collectedLeaveElements[i]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(i=>i()),this._flushFns=[],this._whenQuietFns.length){const i=this._whenQuietFns;this._whenQuietFns=[],t.length?Yu(t).onDone(()=>{i.forEach(r=>r())}):i.forEach(r=>r())}}reportError(n){throw function Que(){return new ge(3402,!1)}()}_flushAnimations(n,t){const i=new P8,r=[],o=new Map,a=[],s=new Map,l=new Map,c=new Map,h=new Set;this.disabledNodes.forEach(at=>{h.add(at);const Pt=this.driver.query(at,".ng-animate-queued",!0);for(let nn=0;nn<Pt.length;nn++)h.add(Pt[nn])});const p=this.bodyNode,S=Array.from(this.statesByElement.keys()),v=DO(S,this.collectedEnterElements),C=new Map;let P=0;v.forEach((at,Pt)=>{const nn=cO+P++;C.set(Pt,nn),at.forEach(Qn=>el(Qn,nn))});const Z=[],re=new Set,ie=new Set;for(let at=0;at<this.collectedLeaveElements.length;at++){const Pt=this.collectedLeaveElements[at],nn=Pt[El];nn&&nn.setForRemoval&&(Z.push(Pt),re.add(Pt),nn.hasAnimation?this.driver.query(Pt,".ng-star-inserted",!0).forEach(Qn=>re.add(Qn)):ie.add(Pt))}const Me=new Map,ke=DO(S,Array.from(re));ke.forEach((at,Pt)=>{const nn=V9+P++;Me.set(Pt,nn),at.forEach(Qn=>el(Qn,nn))}),n.push(()=>{v.forEach((at,Pt)=>{const nn=C.get(Pt);at.forEach(Qn=>Ld(Qn,nn))}),ke.forEach((at,Pt)=>{const nn=Me.get(Pt);at.forEach(Qn=>Ld(Qn,nn))}),Z.forEach(at=>{this.processLeaveNode(at)})});const Be=[],it=[];for(let at=this._namespaceList.length-1;at>=0;at--)this._namespaceList[at].drainQueuedTransitions(t).forEach(nn=>{const Qn=nn.player,Xr=nn.element;if(Be.push(Qn),this.collectedEnterElements.length){const Jn=Xr[El];if(Jn&&Jn.setForMove){if(Jn.previousTriggersValues&&Jn.previousTriggersValues.has(nn.triggerName)){const ui=Jn.previousTriggersValues.get(nn.triggerName),gn=this.statesByElement.get(nn.element);if(gn&&gn.has(nn.triggerName)){const Bo=gn.get(nn.triggerName);Bo.value=ui,gn.set(nn.triggerName,Bo)}}return void Qn.destroy()}}const Sa=!p||!this.driver.containsElement(p,Xr),uo=Me.get(Xr),Pl=C.get(Xr),Ge=this._buildInstruction(nn,i,Pl,uo,Sa);if(Ge.errors&&Ge.errors.length)return void it.push(Ge);if(Sa)return Qn.onStart(()=>J1(Xr,Ge.fromStyles)),Qn.onDestroy(()=>uc(Xr,Ge.toStyles)),void r.push(Qn);if(nn.isFallbackTransition)return Qn.onStart(()=>J1(Xr,Ge.fromStyles)),Qn.onDestroy(()=>uc(Xr,Ge.toStyles)),void r.push(Qn);const Ve=[];Ge.timelines.forEach(Jn=>{Jn.stretchStartingKeyframe=!0,this.disabledNodes.has(Jn.element)||Ve.push(Jn)}),Ge.timelines=Ve,i.append(Xr,Ge.timelines),a.push({instruction:Ge,player:Qn,element:Xr}),Ge.queriedElements.forEach(Jn=>Es(s,Jn,[]).push(Qn)),Ge.preStyleProps.forEach((Jn,ui)=>{if(Jn.size){let gn=l.get(ui);gn||l.set(ui,gn=new Set),Jn.forEach((Bo,Nl)=>gn.add(Nl))}}),Ge.postStyleProps.forEach((Jn,ui)=>{let gn=c.get(ui);gn||c.set(ui,gn=new Set),Jn.forEach((Bo,Nl)=>gn.add(Nl))})});if(it.length){const at=[];it.forEach(Pt=>{at.push(function Zue(){return new ge(3505,!1)}())}),Be.forEach(Pt=>Pt.destroy()),this.reportError(at)}const Et=new Map,Jt=new Map;a.forEach(at=>{const Pt=at.element;i.has(Pt)&&(Jt.set(Pt,Pt),this._beforeAnimationBuild(at.player.namespaceId,at.instruction,Et))}),r.forEach(at=>{const Pt=at.element;this._getPreviousPlayers(Pt,!1,at.namespaceId,at.triggerName,null).forEach(Qn=>{Es(Et,Pt,[]).push(Qn),Qn.destroy()})});const $t=Z.filter(at=>kO(at,l,c)),Bn=new Map;TO(Bn,this.driver,ie,c,Kc).forEach(at=>{kO(at,l,c)&&$t.push(at)});const Qi=new Map;v.forEach((at,Pt)=>{TO(Qi,this.driver,new Set(at),l,"!")}),$t.forEach(at=>{const Pt=Bn.get(at),nn=Qi.get(at);Bn.set(at,new Map([...Pt?.entries()??[],...nn?.entries()??[]]))});const Vo=[],wa=[],gi={};a.forEach(at=>{const{element:Pt,player:nn,instruction:Qn}=at;if(i.has(Pt)){if(h.has(Pt))return nn.onDestroy(()=>uc(Pt,Qn.toStyles)),nn.disabled=!0,nn.overrideTotalTime(Qn.totalTime),void r.push(nn);let Xr=gi;if(Jt.size>1){let uo=Pt;const Pl=[];for(;uo=uo.parentNode;){const Ge=Jt.get(uo);if(Ge){Xr=Ge;break}Pl.push(uo)}Pl.forEach(Ge=>Jt.set(Ge,Xr))}const Sa=this._buildAnimation(nn.namespaceId,Qn,Et,o,Qi,Bn);if(nn.setRealPlayer(Sa),Xr===gi)Vo.push(nn);else{const uo=this.playersByElement.get(Xr);uo&&uo.length&&(nn.parentPlayer=Yu(uo)),r.push(nn)}}else J1(Pt,Qn.fromStyles),nn.onDestroy(()=>uc(Pt,Qn.toStyles)),wa.push(nn),h.has(Pt)&&r.push(nn)}),wa.forEach(at=>{const Pt=o.get(at.element);if(Pt&&Pt.length){const nn=Yu(Pt);at.setRealPlayer(nn)}}),r.forEach(at=>{at.parentPlayer?at.syncPlayerEvents(at.parentPlayer):at.destroy()});for(let at=0;at<Z.length;at++){const Pt=Z[at],nn=Pt[El];if(Ld(Pt,V9),nn&&nn.hasAnimation)continue;let Qn=[];if(s.size){let Sa=s.get(Pt);Sa&&Sa.length&&Qn.push(...Sa);let uo=this.driver.query(Pt,B9,!0);for(let Pl=0;Pl<uo.length;Pl++){let Ge=s.get(uo[Pl]);Ge&&Ge.length&&Qn.push(...Ge)}}const Xr=Qn.filter(Sa=>!Sa.destroyed);Xr.length?e0e(this,Pt,Xr):this.processLeaveNode(Pt)}return Z.length=0,Vo.forEach(at=>{this.players.push(at),at.onDone(()=>{at.destroy();const Pt=this.players.indexOf(at);this.players.splice(Pt,1)}),at.play()}),Vo}afterFlush(n){this._flushFns.push(n)}afterFlushAnimationsDone(n){this._whenQuietFns.push(n)}_getPreviousPlayers(n,t,i,r,o){let a=[];if(t){const s=this.playersByQueriedElement.get(n);s&&(a=s)}else{const s=this.playersByElement.get(n);if(s){const l=!o||o==pf;s.forEach(c=>{c.queued||!l&&c.triggerName!=r||a.push(c)})}}return(i||r)&&(a=a.filter(s=>!(i&&i!=s.namespaceId||r&&r!=s.triggerName))),a}_beforeAnimationBuild(n,t,i){const o=t.element,a=t.isRemovalTransition?void 0:n,s=t.isRemovalTransition?void 0:t.triggerName;for(const l of t.timelines){const c=l.element,h=c!==o,p=Es(i,c,[]);this._getPreviousPlayers(c,h,a,s,t.toState).forEach(v=>{const C=v.getRealPlayer();C.beforeDestroy&&C.beforeDestroy(),v.destroy(),p.push(v)})}J1(o,t.fromStyles)}_buildAnimation(n,t,i,r,o,a){const s=t.triggerName,l=t.element,c=[],h=new Set,p=new Set,S=t.timelines.map(C=>{const P=C.element;h.add(P);const Z=P[El];if(Z&&Z.removedBeforeQueried)return new df(C.duration,C.delay);const re=P!==l,ie=function t0e(e){const n=[];return xO(e,n),n}((i.get(P)||W1e).map(Et=>Et.getRealPlayer())).filter(Et=>!!Et.element&&Et.element===P),Me=o.get(P),ke=a.get(P),Be=iO(this._normalizer,C.keyframes,Me,ke),it=this._buildPlayer(C,Be,ie);if(C.subTimeline&&r&&p.add(P),re){const Et=new o_(n,s,P);Et.setRealPlayer(it),c.push(Et)}return it});c.forEach(C=>{Es(this.playersByQueriedElement,C.element,[]).push(C),C.onDone(()=>function Z1e(e,n,t){let i=e.get(n);if(i){if(i.length){const r=i.indexOf(t);i.splice(r,1)}0==i.length&&e.delete(n)}return i}(this.playersByQueriedElement,C.element,C))}),h.forEach(C=>el(C,uO));const v=Yu(S);return v.onDestroy(()=>{h.forEach(C=>Ld(C,uO)),uc(l,t.toStyles)}),p.forEach(C=>{Es(r,C,[]).push(v)}),v}_buildPlayer(n,t,i){return t.length>0?this.driver.animate(n.element,t,n.duration,n.delay,n.easing,i):new df(n.duration,n.delay)}}class o_{namespaceId;triggerName;element;_player=new df;_containsRealPlayer=!1;_queuedCallbacks=new Map;destroyed=!1;parentPlayer=null;markedForDestroy=!1;disabled=!1;queued=!0;totalTime=0;constructor(n,t,i){this.namespaceId=n,this.triggerName=t,this.element=i}setRealPlayer(n){this._containsRealPlayer||(this._player=n,this._queuedCallbacks.forEach((t,i)=>{t.forEach(r=>N9(n,i,void 0,r))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(n.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(n){this.totalTime=n}syncPlayerEvents(n){const t=this._player;t.triggerCallback&&n.onStart(()=>t.triggerCallback("start")),n.onDone(()=>this.finish()),n.onDestroy(()=>this.destroy())}_queueEvent(n,t){Es(this._queuedCallbacks,n,[]).push(t)}onDone(n){this.queued&&this._queueEvent("done",n),this._player.onDone(n)}onStart(n){this.queued&&this._queueEvent("start",n),this._player.onStart(n)}onDestroy(n){this.queued&&this._queueEvent("destroy",n),this._player.onDestroy(n)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(n){this.queued||this._player.setPosition(n)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(n){const t=this._player;t.triggerCallback&&t.triggerCallback(n)}}function R8(e){return e&&1===e.nodeType}function MO(e,n){const t=e.style.display;return e.style.display=n??"none",t}function TO(e,n,t,i,r){const o=[];t.forEach(l=>o.push(MO(l)));const a=[];i.forEach((l,c)=>{const h=new Map;l.forEach(p=>{const S=n.computeStyle(c,p,r);h.set(p,S),(!S||0==S.length)&&(c[El]=G1e,a.push(c))}),e.set(c,h)});let s=0;return t.forEach(l=>MO(l,o[s++])),a}function DO(e,n){const t=new Map;if(e.forEach(s=>t.set(s,[])),0==n.length)return t;const r=new Set(n),o=new Map;function a(s){if(!s)return 1;let l=o.get(s);if(l)return l;const c=s.parentNode;return l=t.has(c)?c:r.has(c)?1:a(c),o.set(s,l),l}return n.forEach(s=>{const l=a(s);1!==l&&t.get(l).push(s)}),t}function el(e,n){e.classList?.add(n)}function Ld(e,n){e.classList?.remove(n)}function e0e(e,n,t){Yu(t).onDone(()=>e.processLeaveNode(n))}function xO(e,n){for(let t=0;t<e.length;t++){const i=e[t];i instanceof eO?xO(i.players,n):n.push(i)}}function kO(e,n,t){const i=t.get(e);if(!i)return!1;let r=n.get(e);return r?i.forEach(o=>r.add(o)):n.set(e,i),t.delete(e),!0}class mf{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(n,t)=>{};constructor(n,t,i){this._driver=t,this._normalizer=i,this._transitionEngine=new Q1e(n.body,t,i),this._timelineEngine=new U1e(n.body,t,i),this._transitionEngine.onRemovalComplete=(r,o)=>this.onRemovalComplete(r,o)}registerTrigger(n,t,i,r,o){const a=n+"-"+r;let s=this._triggerCache[a];if(!s){const l=[],h=Q9(this._driver,o,l,[]);if(l.length)throw function Vue(){return new ge(3404,!1)}();s=function R1e(e,n,t){return new H1e(e,n,t)}(r,h,this._normalizer),this._triggerCache[a]=s}this._transitionEngine.registerTrigger(t,r,s)}register(n,t){this._transitionEngine.register(n,t)}destroy(n,t){this._transitionEngine.destroy(n,t)}onInsert(n,t,i,r){this._transitionEngine.insertNode(n,t,i,r)}onRemove(n,t,i){this._transitionEngine.removeNode(n,t,i)}disableAnimations(n,t){this._transitionEngine.markElementAsDisabled(n,t)}process(n,t,i,r){if("@"==i.charAt(0)){const[o,a]=rO(i);this._timelineEngine.command(o,t,a,r)}else this._transitionEngine.trigger(n,t,i,r)}listen(n,t,i,r,o){if("@"==i.charAt(0)){const[a,s]=rO(i);return this._timelineEngine.listen(a,t,s,o)}return this._transitionEngine.listen(n,t,i,r,o)}flush(n=-1){this._transitionEngine.flush(n)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(n){this._transitionEngine.afterFlushAnimationsDone(n)}}let r0e=(()=>{class e{_element;_startStyles;_endStyles;static initialStylesByElement=new WeakMap;_state=0;_initialStyles;constructor(t,i,r){this._element=t,this._startStyles=i,this._endStyles=r;let o=e.initialStylesByElement.get(t);o||e.initialStylesByElement.set(t,o=new Map),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&uc(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(uc(this._element,this._initialStyles),this._endStyles&&(uc(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(e.initialStylesByElement.delete(this._element),this._startStyles&&(J1(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(J1(this._element,this._endStyles),this._endStyles=null),uc(this._element,this._initialStyles),this._state=3)}}return e})();function a_(e){let n=null;return e.forEach((t,i)=>{(function o0e(e){return"display"===e||"position"===e})(i)&&(n=n||new Map,n.set(i,t))}),n}class EO{element;keyframes;options;_specialStyles;_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_duration;_delay;_initialized=!1;_finished=!1;_started=!1;_destroyed=!1;_finalKeyframe;_originalOnDoneFns=[];_originalOnStartFns=[];domPlayer=null;time=0;parentPlayer=null;currentSnapshot=new Map;constructor(n,t,i,r){this.element=n,this.keyframes=t,this.options=i,this._specialStyles=r,this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this._buildPlayer()&&this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return this.domPlayer;this._initialized=!0;const n=this.keyframes,t=this._triggerWebAnimation(this.element,n,this.options);if(!t)return this._onFinish(),null;this.domPlayer=t,this._finalKeyframe=n.length?n[n.length-1]:new Map;const i=()=>this._onFinish();return t.addEventListener("finish",i),this.onDestroy(()=>{t.removeEventListener("finish",i)}),t}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer?.pause()}_convertKeyframesToObject(n){const t=[];return n.forEach(i=>{t.push(Object.fromEntries(i))}),t}_triggerWebAnimation(n,t,i){const r=this._convertKeyframesToObject(t);try{return n.animate(r,i)}catch{return null}}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}play(){const n=this._buildPlayer();n&&(this.hasStarted()||(this._onStartFns.forEach(t=>t()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),n.play())}pause(){this.init(),this.domPlayer?.pause()}finish(){this.init(),this.domPlayer&&(this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish())}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer?.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}setPosition(n){this.domPlayer||this.init(),this.domPlayer&&(this.domPlayer.currentTime=n*this.time)}getPosition(){return this.domPlayer?+(this.domPlayer.currentTime??0)/this.time:this._initialized?1:0}get totalTime(){return this._delay+this._duration}beforeDestroy(){const n=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,r)=>{"offset"!==r&&n.set(r,this._finished?i:j9(this.element,r))}),this.currentSnapshot=n}triggerCallback(n){const t="start"===n?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}}class IO{validateStyleProperty(n){return!0}validateAnimatableStyleProperty(n){return!0}containsElement(n,t){return aO(n,t)}getParentElement(n){return H9(n)}query(n,t,i){return sO(n,t,i)}computeStyle(n,t,i){return j9(n,t)}animate(n,t,i,r,o,a=[]){const l={duration:i,delay:r,fill:0==r?"both":"forwards"};o&&(l.easing=o);const c=new Map,h=a.filter(v=>v instanceof EO);(function u1e(e,n){return 0===e||0===n})(i,r)&&h.forEach(v=>{v.currentSnapshot.forEach((C,P)=>c.set(P,C))});let p=function s1e(e){return e.length?e[0]instanceof Map?e:e.map(n=>new Map(Object.entries(n))):[]}(t).map(v=>new Map(v));p=function d1e(e,n,t){if(t.size&&n.length){let i=n[0],r=[];if(t.forEach((o,a)=>{i.has(a)||r.push(a),i.set(a,o)}),r.length)for(let o=1;o<n.length;o++){let a=n[o];r.forEach(s=>a.set(s,j9(e,s)))}}return n}(n,p,c);const S=function i0e(e,n){let t=null,i=null;return Array.isArray(n)&&n.length?(t=a_(n[0]),n.length>1&&(i=a_(n[n.length-1]))):n instanceof Map&&(t=a_(n)),t||i?new r0e(e,t,i):null}(n,p);return new EO(n,p,l,S)}}const zO="@.disabled";class AO{namespaceId;delegate;engine;_onDestroy;\u0275type=0;constructor(n,t,i,r){this.namespaceId=n,this.delegate=t,this.engine=i,this._onDestroy=r}get data(){return this.delegate.data}destroyNode(n){this.delegate.destroyNode?.(n)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(n,t){return this.delegate.createElement(n,t)}createComment(n){return this.delegate.createComment(n)}createText(n){return this.delegate.createText(n)}appendChild(n,t){this.delegate.appendChild(n,t),this.engine.onInsert(this.namespaceId,t,n,!1)}insertBefore(n,t,i,r=!0){this.delegate.insertBefore(n,t,i),this.engine.onInsert(this.namespaceId,t,n,r)}removeChild(n,t,i,r){r?this.delegate.removeChild(n,t,i,r):this.parentNode(t)&&this.engine.onRemove(this.namespaceId,t,this.delegate)}selectRootElement(n,t){return this.delegate.selectRootElement(n,t)}parentNode(n){return this.delegate.parentNode(n)}nextSibling(n){return this.delegate.nextSibling(n)}setAttribute(n,t,i,r){this.delegate.setAttribute(n,t,i,r)}removeAttribute(n,t,i){this.delegate.removeAttribute(n,t,i)}addClass(n,t){this.delegate.addClass(n,t)}removeClass(n,t){this.delegate.removeClass(n,t)}setStyle(n,t,i,r){this.delegate.setStyle(n,t,i,r)}removeStyle(n,t,i){this.delegate.removeStyle(n,t,i)}setProperty(n,t,i){"@"==t.charAt(0)&&t==zO?this.disableAnimations(n,!!i):this.delegate.setProperty(n,t,i)}setValue(n,t){this.delegate.setValue(n,t)}listen(n,t,i,r){return this.delegate.listen(n,t,i,r)}disableAnimations(n,t){this.engine.disableAnimations(n,t)}}class a0e extends AO{factory;constructor(n,t,i,r,o){super(t,i,r,o),this.factory=n,this.namespaceId=t}setProperty(n,t,i){"@"==t.charAt(0)?"."==t.charAt(1)&&t==zO?this.disableAnimations(n,i=void 0===i||!!i):this.engine.process(this.namespaceId,n,t.slice(1),i):this.delegate.setProperty(n,t,i)}listen(n,t,i,r){if("@"==t.charAt(0)){const o=function s0e(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}(n);let a=t.slice(1),s="";return"@"!=a.charAt(0)&&([a,s]=function l0e(e){const n=e.indexOf(".");return[e.substring(0,n),e.slice(n+1)]}(a)),this.engine.listen(this.namespaceId,o,a,s,l=>{this.factory.scheduleListenerCallback(l._data||-1,i,l)})}return this.delegate.listen(n,t,i,r)}}class c0e{delegate;engine;_zone;_currentId=0;_microtaskId=1;_animationCallbacksBuffer=[];_rendererCache=new Map;_cdRecurDepth=0;constructor(n,t,i){this.delegate=n,this.engine=t,this._zone=i,t.onRemovalComplete=(r,o)=>{o?.removeChild(null,r)}}createRenderer(n,t){const r=this.delegate.createRenderer(n,t);if(!n||!t?.data?.animation){const c=this._rendererCache;let h=c.get(r);return h||(h=new AO("",r,this.engine,()=>c.delete(r)),c.set(r,h)),h}const o=t.id,a=t.id+"-"+this._currentId;this._currentId++,this.engine.register(a,n);const s=c=>{Array.isArray(c)?c.forEach(s):this.engine.registerTrigger(o,a,n,c.name,c)};return t.data.animation.forEach(s),new a0e(this,a,r,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(n,t,i){if(n>=0&&n<this._microtaskId)return void this._zone.run(()=>t(i));const r=this._animationCallbacksBuffer;0==r.length&&queueMicrotask(()=>{this._zone.run(()=>{r.forEach(o=>{const[a,s]=o;a(s)}),this._animationCallbacksBuffer=[]})}),r.push([t,i])}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}componentReplaced(n){this.engine.flush(),this.delegate.componentReplaced?.(n)}}const LO=[{provide:G9,useFactory:function h0e(){return new fO}},{provide:mf,useClass:(()=>{class e extends mf{constructor(t,i,r){super(t,i,r)}ngOnDestroy(){this.flush()}static \u0275fac=function(i){return new(i||e)(Ft(Mr),Ft(W9),Ft(G9))};static \u0275prov=Ke({token:e,factory:e.\u0275fac})}return e})()},{provide:Ws,useFactory:function f0e(e,n,t){return new c0e(e,n,t)},deps:[tv,mf,Gt]}],OO=[{provide:W9,useClass:$9},{provide:U0,useValue:"NoopAnimations"},...LO],s_=[{provide:W9,useFactory:()=>new IO},{provide:U0,useFactory:()=>"BrowserAnimations"},...LO];let p0e=(()=>{class e{static withConfig(t){return{ngModule:e,providers:t.disableAnimations?OO:s_}}static \u0275fac=function(i){return new(i||e)};static \u0275mod=Ci({type:e});static \u0275inj=$n({providers:s_,imports:[DI]})}return e})();const gf="[NG-ZORRO]:";const t0=(...e)=>{};function Zc(e){return(Zc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(e)}function Ht(e,n){if(n.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+n.length+" present")}function Mn(e){Ht(1,arguments);var n=Object.prototype.toString.call(e);return e instanceof Date||"object"===Zc(e)&&"[object Date]"===n?new Date(e.getTime()):"number"==typeof e||"[object Number]"===n?new Date(e):(("string"==typeof e||"[object String]"===n)&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn((new Error).stack)),new Date(NaN))}function Kr(e){if(null===e||!0===e||!1===e)return NaN;var n=Number(e);return isNaN(n)?n:n<0?Math.ceil(n):Math.floor(n)}var FO={};function ju(){return FO}function RO(e,n){var t,i,r,o,a,s,l,c;Ht(1,arguments);var h=ju(),p=Kr(null!==(t=null!==(i=null!==(r=null!==(o=n?.weekStartsOn)&&void 0!==o?o:null==n||null===(a=n.locale)||void 0===a||null===(s=a.options)||void 0===s?void 0:s.weekStartsOn)&&void 0!==r?r:h.weekStartsOn)&&void 0!==i?i:null===(l=h.locale)||void 0===l||null===(c=l.options)||void 0===c?void 0:c.weekStartsOn)&&void 0!==t?t:0);if(!(p>=0&&p<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var S=Mn(e),v=S.getDay(),C=(v<p?7:0)+v-p;return S.setDate(S.getDate()-C),S.setHours(0,0,0,0),S}function V8(e){return Ht(1,arguments),RO(e,{weekStartsOn:1})}function Od(e){if(Ht(1,arguments),!function S0e(e){return Ht(1,arguments),e instanceof Date||"object"===Zc(e)&&"[object Date]"===Object.prototype.toString.call(e)}(e)&&"number"!=typeof e)return!1;var n=Mn(e);return!isNaN(Number(n))}function HO(e,n){return Ht(2,arguments),function M0e(e,n){Ht(2,arguments);var t=Mn(e).getTime(),i=Kr(n);return new Date(t+i)}(e,-Kr(n))}function Pd(e){Ht(1,arguments);var t=Mn(e),i=t.getUTCDay(),r=(i<1?7:0)+i-1;return t.setUTCDate(t.getUTCDate()-r),t.setUTCHours(0,0,0,0),t}function VO(e){Ht(1,arguments);var n=Mn(e),t=n.getUTCFullYear(),i=new Date(0);i.setUTCFullYear(t+1,0,4),i.setUTCHours(0,0,0,0);var r=Pd(i),o=new Date(0);o.setUTCFullYear(t,0,4),o.setUTCHours(0,0,0,0);var a=Pd(o);return n.getTime()>=r.getTime()?t+1:n.getTime()>=a.getTime()?t:t-1}function BO(e){Ht(1,arguments);var n=Mn(e),t=Pd(n).getTime()-function x0e(e){Ht(1,arguments);var n=VO(e),t=new Date(0);return t.setUTCFullYear(n,0,4),t.setUTCHours(0,0,0,0),Pd(t)}(n).getTime();return Math.round(t/6048e5)+1}function n0(e,n){var t,i,r,o,a,s,l,c;Ht(1,arguments);var h=ju(),p=Kr(null!==(t=null!==(i=null!==(r=null!==(o=n?.weekStartsOn)&&void 0!==o?o:null==n||null===(a=n.locale)||void 0===a||null===(s=a.options)||void 0===s?void 0:s.weekStartsOn)&&void 0!==r?r:h.weekStartsOn)&&void 0!==i?i:null===(l=h.locale)||void 0===l||null===(c=l.options)||void 0===c?void 0:c.weekStartsOn)&&void 0!==t?t:0);if(!(p>=0&&p<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var S=Mn(e),v=S.getUTCDay(),C=(v<p?7:0)+v-p;return S.setUTCDate(S.getUTCDate()-C),S.setUTCHours(0,0,0,0),S}function l_(e,n){var t,i,r,o,a,s,l,c;Ht(1,arguments);var h=Mn(e),p=h.getUTCFullYear(),S=ju(),v=Kr(null!==(t=null!==(i=null!==(r=null!==(o=n?.firstWeekContainsDate)&&void 0!==o?o:null==n||null===(a=n.locale)||void 0===a||null===(s=a.options)||void 0===s?void 0:s.firstWeekContainsDate)&&void 0!==r?r:S.firstWeekContainsDate)&&void 0!==i?i:null===(l=S.locale)||void 0===l||null===(c=l.options)||void 0===c?void 0:c.firstWeekContainsDate)&&void 0!==t?t:1);if(!(v>=1&&v<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var C=new Date(0);C.setUTCFullYear(p+1,0,v),C.setUTCHours(0,0,0,0);var P=n0(C,n),Z=new Date(0);Z.setUTCFullYear(p,0,v),Z.setUTCHours(0,0,0,0);var re=n0(Z,n);return h.getTime()>=P.getTime()?p+1:h.getTime()>=re.getTime()?p:p-1}function UO(e,n){Ht(1,arguments);var t=Mn(e),i=n0(t,n).getTime()-function E0e(e,n){var t,i,r,o,a,s,l,c;Ht(1,arguments);var h=ju(),p=Kr(null!==(t=null!==(i=null!==(r=null!==(o=n?.firstWeekContainsDate)&&void 0!==o?o:null==n||null===(a=n.locale)||void 0===a||null===(s=a.options)||void 0===s?void 0:s.firstWeekContainsDate)&&void 0!==r?r:h.firstWeekContainsDate)&&void 0!==i?i:null===(l=h.locale)||void 0===l||null===(c=l.options)||void 0===c?void 0:c.firstWeekContainsDate)&&void 0!==t?t:1),S=l_(e,n),v=new Date(0);return v.setUTCFullYear(S,0,p),v.setUTCHours(0,0,0,0),n0(v,n)}(t,n).getTime();return Math.round(i/6048e5)+1}function Gi(e,n){for(var t=e<0?"-":"",i=Math.abs(e).toString();i.length<n;)i="0"+i;return t+i}const $u_y=function(n,t){var i=n.getUTCFullYear(),r=i>0?i:1-i;return Gi("yy"===t?r%100:r,t.length)},$u_M=function(n,t){var i=n.getUTCMonth();return"M"===t?String(i+1):Gi(i+1,2)},$u_d=function(n,t){return Gi(n.getUTCDate(),t.length)},$u_h=function(n,t){return Gi(n.getUTCHours()%12||12,t.length)},$u_H=function(n,t){return Gi(n.getUTCHours(),t.length)},$u_m=function(n,t){return Gi(n.getUTCMinutes(),t.length)},$u_s=function(n,t){return Gi(n.getUTCSeconds(),t.length)},$u_S=function(n,t){var i=t.length,r=n.getUTCMilliseconds();return Gi(Math.floor(r*Math.pow(10,i-3)),t.length)};var A0e={G:function(n,t,i){var r=n.getUTCFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return i.era(r,{width:"abbreviated"});case"GGGGG":return i.era(r,{width:"narrow"});default:return i.era(r,{width:"wide"})}},y:function(n,t,i){if("yo"===t){var r=n.getUTCFullYear();return i.ordinalNumber(r>0?r:1-r,{unit:"year"})}return $u_y(n,t)},Y:function(n,t,i,r){var o=l_(n,r),a=o>0?o:1-o;return"YY"===t?Gi(a%100,2):"Yo"===t?i.ordinalNumber(a,{unit:"year"}):Gi(a,t.length)},R:function(n,t){return Gi(VO(n),t.length)},u:function(n,t){return Gi(n.getUTCFullYear(),t.length)},Q:function(n,t,i){var r=Math.ceil((n.getUTCMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return Gi(r,2);case"Qo":return i.ordinalNumber(r,{unit:"quarter"});case"QQQ":return i.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return i.quarter(r,{width:"narrow",context:"formatting"});default:return i.quarter(r,{width:"wide",context:"formatting"})}},q:function(n,t,i){var r=Math.ceil((n.getUTCMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return Gi(r,2);case"qo":return i.ordinalNumber(r,{unit:"quarter"});case"qqq":return i.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return i.quarter(r,{width:"narrow",context:"standalone"});default:return i.quarter(r,{width:"wide",context:"standalone"})}},M:function(n,t,i){var r=n.getUTCMonth();switch(t){case"M":case"MM":return $u_M(n,t);case"Mo":return i.ordinalNumber(r+1,{unit:"month"});case"MMM":return i.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return i.month(r,{width:"narrow",context:"formatting"});default:return i.month(r,{width:"wide",context:"formatting"})}},L:function(n,t,i){var r=n.getUTCMonth();switch(t){case"L":return String(r+1);case"LL":return Gi(r+1,2);case"Lo":return i.ordinalNumber(r+1,{unit:"month"});case"LLL":return i.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return i.month(r,{width:"narrow",context:"standalone"});default:return i.month(r,{width:"wide",context:"standalone"})}},w:function(n,t,i,r){var o=UO(n,r);return"wo"===t?i.ordinalNumber(o,{unit:"week"}):Gi(o,t.length)},I:function(n,t,i){var r=BO(n);return"Io"===t?i.ordinalNumber(r,{unit:"week"}):Gi(r,t.length)},d:function(n,t,i){return"do"===t?i.ordinalNumber(n.getUTCDate(),{unit:"date"}):$u_d(n,t)},D:function(n,t,i){var r=function D0e(e){Ht(1,arguments);var n=Mn(e),t=n.getTime();n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0);var i=n.getTime();return Math.floor((t-i)/864e5)+1}(n);return"Do"===t?i.ordinalNumber(r,{unit:"dayOfYear"}):Gi(r,t.length)},E:function(n,t,i){var r=n.getUTCDay();switch(t){case"E":case"EE":case"EEE":return i.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return i.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return i.day(r,{width:"short",context:"formatting"});default:return i.day(r,{width:"wide",context:"formatting"})}},e:function(n,t,i,r){var o=n.getUTCDay(),a=(o-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(a);case"ee":return Gi(a,2);case"eo":return i.ordinalNumber(a,{unit:"day"});case"eee":return i.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return i.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return i.day(o,{width:"short",context:"formatting"});default:return i.day(o,{width:"wide",context:"formatting"})}},c:function(n,t,i,r){var o=n.getUTCDay(),a=(o-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(a);case"cc":return Gi(a,t.length);case"co":return i.ordinalNumber(a,{unit:"day"});case"ccc":return i.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return i.day(o,{width:"narrow",context:"standalone"});case"cccccc":return i.day(o,{width:"short",context:"standalone"});default:return i.day(o,{width:"wide",context:"standalone"})}},i:function(n,t,i){var r=n.getUTCDay(),o=0===r?7:r;switch(t){case"i":return String(o);case"ii":return Gi(o,t.length);case"io":return i.ordinalNumber(o,{unit:"day"});case"iii":return i.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return i.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return i.day(r,{width:"short",context:"formatting"});default:return i.day(r,{width:"wide",context:"formatting"})}},a:function(n,t,i){var o=n.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return i.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"aaa":return i.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return i.dayPeriod(o,{width:"narrow",context:"formatting"});default:return i.dayPeriod(o,{width:"wide",context:"formatting"})}},b:function(n,t,i){var o,r=n.getUTCHours();switch(o=12===r?"noon":0===r?"midnight":r/12>=1?"pm":"am",t){case"b":case"bb":return i.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return i.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return i.dayPeriod(o,{width:"narrow",context:"formatting"});default:return i.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(n,t,i){var o,r=n.getUTCHours();switch(o=r>=17?"evening":r>=12?"afternoon":r>=4?"morning":"night",t){case"B":case"BB":case"BBB":return i.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return i.dayPeriod(o,{width:"narrow",context:"formatting"});default:return i.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(n,t,i){if("ho"===t){var r=n.getUTCHours()%12;return 0===r&&(r=12),i.ordinalNumber(r,{unit:"hour"})}return $u_h(n,t)},H:function(n,t,i){return"Ho"===t?i.ordinalNumber(n.getUTCHours(),{unit:"hour"}):$u_H(n,t)},K:function(n,t,i){var r=n.getUTCHours()%12;return"Ko"===t?i.ordinalNumber(r,{unit:"hour"}):Gi(r,t.length)},k:function(n,t,i){var r=n.getUTCHours();return 0===r&&(r=24),"ko"===t?i.ordinalNumber(r,{unit:"hour"}):Gi(r,t.length)},m:function(n,t,i){return"mo"===t?i.ordinalNumber(n.getUTCMinutes(),{unit:"minute"}):$u_m(n,t)},s:function(n,t,i){return"so"===t?i.ordinalNumber(n.getUTCSeconds(),{unit:"second"}):$u_s(n,t)},S:function(n,t){return $u_S(n,t)},X:function(n,t,i,r){var a=(r._originalDate||n).getTimezoneOffset();if(0===a)return"Z";switch(t){case"X":return YO(a);case"XXXX":case"XX":return i0(a);default:return i0(a,":")}},x:function(n,t,i,r){var a=(r._originalDate||n).getTimezoneOffset();switch(t){case"x":return YO(a);case"xxxx":case"xx":return i0(a);default:return i0(a,":")}},O:function(n,t,i,r){var a=(r._originalDate||n).getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+qO(a,":");default:return"GMT"+i0(a,":")}},z:function(n,t,i,r){var a=(r._originalDate||n).getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+qO(a,":");default:return"GMT"+i0(a,":")}},t:function(n,t,i,r){return Gi(Math.floor((r._originalDate||n).getTime()/1e3),t.length)},T:function(n,t,i,r){return Gi((r._originalDate||n).getTime(),t.length)}};function qO(e,n){var t=e>0?"-":"+",i=Math.abs(e),r=Math.floor(i/60),o=i%60;if(0===o)return t+String(r);var a=n||"";return t+String(r)+a+Gi(o,2)}function YO(e,n){return e%60==0?(e>0?"-":"+")+Gi(Math.abs(e)/60,2):i0(e,n)}function i0(e,n){var t=n||"",i=e>0?"-":"+",r=Math.abs(e);return i+Gi(Math.floor(r/60),2)+t+Gi(r%60,2)}const L0e=A0e;var jO=function(n,t){switch(n){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},$O=function(n,t){switch(n){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}};const c_={p:$O,P:function(n,t){var a,i=n.match(/(P+)(p+)?/)||[],r=i[1],o=i[2];if(!o)return jO(n,t);switch(r){case"P":a=t.dateTime({width:"short"});break;case"PP":a=t.dateTime({width:"medium"});break;case"PPP":a=t.dateTime({width:"long"});break;default:a=t.dateTime({width:"full"})}return a.replace("{{date}}",jO(r,t)).replace("{{time}}",$O(o,t))}};function B8(e){var n=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return n.setUTCFullYear(e.getFullYear()),e.getTime()-n.getTime()}var N0e=["D","DD"],F0e=["YY","YYYY"];function WO(e){return-1!==N0e.indexOf(e)}function GO(e){return-1!==F0e.indexOf(e)}function U8(e,n,t){if("YYYY"===e)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(n,"`) for formatting years to the input `").concat(t,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("YY"===e)throw new RangeError("Use `yy` instead of `YY` (in `".concat(n,"`) for formatting years to the input `").concat(t,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("D"===e)throw new RangeError("Use `d` instead of `D` (in `".concat(n,"`) for formatting days of the month to the input `").concat(t,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("DD"===e)throw new RangeError("Use `dd` instead of `DD` (in `".concat(n,"`) for formatting days of the month to the input `").concat(t,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var R0e={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function u_(e){return function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=n.width?String(n.width):e.defaultWidth;return e.formats[t]||e.formats[e.defaultWidth]}}const j0e={date:u_({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:u_({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:u_({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})};var $0e={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function vf(e){return function(n,t){var r;if("formatting"===(null!=t&&t.context?String(t.context):"standalone")&&e.formattingValues){var o=e.defaultFormattingWidth||e.defaultWidth,a=null!=t&&t.width?String(t.width):o;r=e.formattingValues[a]||e.formattingValues[o]}else{var s=e.defaultWidth,l=null!=t&&t.width?String(t.width):e.defaultWidth;r=e.values[l]||e.values[s]}return r[e.argumentCallback?e.argumentCallback(n):n]}}const ide={ordinalNumber:function(n,t){var i=Number(n),r=i%100;if(r>20||r<10)switch(r%10){case 1:return i+"st";case 2:return i+"nd";case 3:return i+"rd"}return i+"th"},era:vf({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:vf({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(n){return n-1}}),month:vf({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:vf({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:vf({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})};function _f(e){return function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=t.width,o=n.match(i&&e.matchPatterns[i]||e.matchPatterns[e.defaultMatchWidth]);if(!o)return null;var c,a=o[0],s=i&&e.parsePatterns[i]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(s)?function ode(e,n){for(var t=0;t<e.length;t++)if(n(e[t]))return t}(s,function(p){return p.test(a)}):function rde(e,n){for(var t in e)if(e.hasOwnProperty(t)&&n(e[t]))return t}(s,function(p){return p.test(a)});return c=e.valueCallback?e.valueCallback(l):l,{value:c=t.valueCallback?t.valueCallback(c):c,rest:n.slice(a.length)}}}var yde={ordinalNumber:function ade(e){return function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=n.match(e.matchPattern);if(!i)return null;var r=i[0],o=n.match(e.parsePattern);if(!o)return null;var a=e.valueCallback?e.valueCallback(o[0]):o[0];return{value:a=t.valueCallback?t.valueCallback(a):a,rest:n.slice(r.length)}}}({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(n){return parseInt(n,10)}}),era:_f({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:_f({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(n){return n+1}}),month:_f({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:_f({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:_f({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})};const KO={code:"en-US",formatDistance:function(n,t,i){var r,o=R0e[n];return r="string"==typeof o?o:1===t?o.one:o.other.replace("{{count}}",t.toString()),null!=i&&i.addSuffix?i.comparison&&i.comparison>0?"in "+r:r+" ago":r},formatLong:j0e,formatRelative:function(n,t,i,r){return $0e[n]},localize:ide,match:yde,options:{weekStartsOn:0,firstWeekContainsDate:1}};var Cde=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,wde=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Sde=/^'([^]*?)'?$/,Mde=/''/g,Tde=/[a-zA-Z]/;function QO(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,i=Array(n);t<n;t++)i[t]=e[t];return i}function ZO(e,n){var t=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=function kde(e,n){if(e){if("string"==typeof e)return QO(e,n);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?QO(e,n):void 0}}(e))||n&&e&&"number"==typeof e.length){t&&(e=t);var i=0,r=function(){};return{s:r,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(c){throw c},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){t=t.call(e)},n:function(){var c=t.next();return a=c.done,c},e:function(c){s=!0,o=c},f:function(){try{a||null==t.return||t.return()}finally{if(s)throw o}}}}function Ede(e,n){if(null==e)throw new TypeError("assign requires that input parameter not be null or undefined");for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t]);return e}function xt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d_(e,n){return(d_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,i){return t.__proto__=i,t})(e,n)}function Si(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&d_(e,n)}function q8(e){return(q8=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)})(e)}function XO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(XO=function(){return!!e})()}function Mi(e){var n=XO();return function(){var t,i=q8(e);if(n){var r=q8(this).constructor;t=Reflect.construct(i,arguments,r)}else t=i.apply(this,arguments);return function Ide(e,n){if(n&&("object"==Zc(n)||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return xt(e)}(this,t)}}function fi(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function JO(e){var n=function zde(e,n){if("object"!=Zc(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var i=t.call(e,n||"default");if("object"!=Zc(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(e,"string");return"symbol"==Zc(n)?n:n+""}function eP(e,n){for(var t=0;t<n.length;t++){var i=n[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,JO(i.key),i)}}function pi(e,n,t){return n&&eP(e.prototype,n),t&&eP(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function st(e,n,t){return(n=JO(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var tP=function(){function e(){fi(this,e),st(this,"priority",void 0),st(this,"subPriority",0)}return pi(e,[{key:"validate",value:function(t,i){return!0}}]),e}(),Lde=function(e){Si(t,e);var n=Mi(t);function t(i,r,o,a,s){var l;return fi(this,t),(l=n.call(this)).value=i,l.validateValue=r,l.setValue=o,l.priority=a,s&&(l.subPriority=s),l}return pi(t,[{key:"validate",value:function(r,o){return this.validateValue(r,this.value,o)}},{key:"set",value:function(r,o,a){return this.setValue(r,o,this.value,a)}}]),t}(tP),Ode=function(e){Si(t,e);var n=Mi(t);function t(){var i;fi(this,t);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return st(xt(i=n.call.apply(n,[this].concat(o))),"priority",10),st(xt(i),"subPriority",-1),i}return pi(t,[{key:"set",value:function(r,o){if(o.timestampIsSet)return r;var a=new Date(0);return a.setFullYear(r.getUTCFullYear(),r.getUTCMonth(),r.getUTCDate()),a.setHours(r.getUTCHours(),r.getUTCMinutes(),r.getUTCSeconds(),r.getUTCMilliseconds()),a}}]),t}(tP),Oi=function(){function e(){fi(this,e),st(this,"incompatibleTokens",void 0),st(this,"priority",void 0),st(this,"subPriority",void 0)}return pi(e,[{key:"run",value:function(t,i,r,o){var a=this.parse(t,i,r,o);return a?{setter:new Lde(a.value,this.validate,this.set,this.priority,this.subPriority),rest:a.rest}:null}},{key:"validate",value:function(t,i,r){return!0}}]),e}(),Pde=function(e){Si(t,e);var n=Mi(t);function t(){var i;fi(this,t);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return st(xt(i=n.call.apply(n,[this].concat(o))),"priority",140),st(xt(i),"incompatibleTokens",["R","u","t","T"]),i}return pi(t,[{key:"parse",value:function(r,o,a){switch(o){case"G":case"GG":case"GGG":return a.era(r,{width:"abbreviated"})||a.era(r,{width:"narrow"});case"GGGGG":return a.era(r,{width:"narrow"});default:return a.era(r,{width:"wide"})||a.era(r,{width:"abbreviated"})||a.era(r,{width:"narrow"})}}},{key:"set",value:function(r,o,a){return o.era=a,r.setUTCFullYear(a,0,1),r.setUTCHours(0,0,0,0),r}}]),t}(Oi),_o_month=(Math.pow(10,8),/^(1[0-2]|0?\d)/),_o_date=/^(3[0-1]|[0-2]?\d)/,_o_dayOfYear=/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,_o_week=/^(5[0-3]|[0-4]?\d)/,_o_hour23h=/^(2[0-3]|[0-1]?\d)/,_o_hour24h=/^(2[0-4]|[0-1]?\d)/,_o_hour11h=/^(1[0-1]|0?\d)/,_o_hour12h=/^(1[0-2]|0?\d)/,_o_minute=/^[0-5]?\d/,_o_second=/^[0-5]?\d/,_o_singleDigit=/^\d/,_o_twoDigits=/^\d{1,2}/,_o_threeDigits=/^\d{1,3}/,_o_fourDigits=/^\d{1,4}/,_o_anyDigitsSigned=/^-?\d+/,_o_singleDigitSigned=/^-?\d/,_o_twoDigitsSigned=/^-?\d{1,2}/,_o_threeDigitsSigned=/^-?\d{1,3}/,_o_fourDigitsSigned=/^-?\d{1,4}/,dc_basicOptionalMinutes=/^([+-])(\d{2})(\d{2})?|Z/,dc_basic=/^([+-])(\d{2})(\d{2})|Z/,dc_basicOptionalSeconds=/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,dc_extended=/^([+-])(\d{2}):(\d{2})|Z/,dc_extendedOptionalSeconds=/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/;function yo(e,n){return e&&{value:n(e.value),rest:e.rest}}function Qr(e,n){var t=n.match(e);return t?{value:parseInt(t[0],10),rest:n.slice(t[0].length)}:null}function hc(e,n){var t=n.match(e);return t?"Z"===t[0]?{value:0,rest:n.slice(1)}:{value:("+"===t[1]?1:-1)*(36e5*(t[2]?parseInt(t[2],10):0)+6e4*(t[3]?parseInt(t[3],10):0)+1e3*(t[5]?parseInt(t[5],10):0)),rest:n.slice(t[0].length)}:null}function oP(e){return Qr(_o_anyDigitsSigned,e)}function lo(e,n){switch(e){case 1:return Qr(_o_singleDigit,n);case 2:return Qr(_o_twoDigits,n);case 3:return Qr(_o_threeDigits,n);case 4:return Qr(_o_fourDigits,n);default:return Qr(new RegExp("^\\d{1,"+e+"}"),n)}}function Y8(e,n){switch(e){case 1:return Qr(_o_singleDigitSigned,n);case 2:return Qr(_o_twoDigitsSigned,n);case 3:return Qr(_o_threeDigitsSigned,n);case 4:return Qr(_o_fourDigitsSigned,n);default:return Qr(new RegExp("^-?\\d{1,"+e+"}"),n)}}function h_(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;default:return 0}}function aP(e,n){var r,t=n>0,i=t?n:1-n;if(i<=50)r=e||100;else{var o=i+50;r=e+100*Math.floor(o/100)-(e>=o%100?100:0)}return t?r:1-r}function sP(e){return e%400==0||e%4==0&&e%100!=0}var Ude=function(e){Si(t,e);var n=Mi(t);function t(){var i;fi(this,t);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return st(xt(i=n.call.apply(n,[this].concat(o))),"priority",130),st(xt(i),"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"]),i}return pi(t,[{key:"parse",value:function(r,o,a){var s=function(c){return{year:c,isTwoDigitYear:"yy"===o}};switch(o){case"y":return yo(lo(4,r),s);case"yo":return yo(a.ordinalNumber(r,{unit:"year"}),s);default:return yo(lo(o.length,r),s)}}},{key:"validate",value:function(r,o){return o.isTwoDigitYear||o.year>0}},{key:"set",value:function(r,o,a){var s=r.getUTCFullYear();if(a.isTwoDigitYear){var l=aP(a.year,s);return r.setUTCFullYear(l,0,1),r.setUTCHours(0,0,0,0),r}return r.setUTCFullYear("era"in o&&1!==o.era?1-a.year:a.year,0,1),r.setUTCHours(0,0,0,0),r}}]),t}(Oi),qde=function(e){Si(t,e);var n=Mi(t);function t(){var i;fi(this,t);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return st(xt(i=n.call.apply(n,[this].concat(o))),"priority",130),st(xt(i),"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"]),i}return pi(t,[{key:"parse",value:function(r,o,a){var s=function(c){return{year:c,isTwoDigitYear:"YY"===o}};switch(o){case"Y":return yo(lo(4,r),s);case"Yo":return yo(a.ordinalNumber(r,{unit:"year"}),s);default:return yo(lo(o.length,r),s)}}},{key:"validate",value:function(r,o){return o.isTwoDigitYear||o.year>0}},{key:"set",value:function(r,o,a,s){var l=l_(r,s);if(a.isTwoDigitYear){var c=aP(a.year,l);return r.setUTCFullYear(c,0,s.firstWeekContainsDate),r.setUTCHours(0,0,0,0),n0(r,s)}return r.setUTCFullYear("era"in o&&1!==o.era?1-a.year:a.year,0,s.firstWeekContainsDate),r.setUTCHours(0,0,0,0),n0(r,s)}}]),t}(Oi),Yde=function(e){Si(t,e);var n=Mi(t);function t(){var i;fi(this,t);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return st(xt(i=n.call.apply(n,[this].concat(o))),"priority",130),st(xt(i),"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]),i}return pi(t,[{key:"parse",value:function(r,o){return Y8("R"===o?4:o.length,r)}},{key:"set",value:function(r,o,a){var s=new Date(0);return s.setUTCFullYear(a,0,4),s.setUTCHours(0,0,0,0),Pd(s)}}]),t}(Oi),jde=function(e){Si(t,e);var n=Mi(t);function t(){var i;fi(this,t);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return st(xt(i=n.call.apply(n,[this].concat(o))),"priority",130),st(xt(i),"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"]),i}return pi(t,[{key:"parse",value:function(r,o){return Y8("u"===o?4:o.length,r)}},{key:"set",value:function(r,o,a){return r.setUTCFullYear(a,0,1),r.setUTCHours(0,0,0,0),r}}]),t}(Oi),$de=function(e){Si(t,e);var n=Mi(t);function t(){var i;fi(this,t);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return st(xt(i=n.call.apply(n,[this].concat(o))),"priority",120),st(xt(i),"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]),i}return pi(t,[{key:"parse",value:function(r,o,a){switch(o){case"Q":case"QQ":return lo(o.length,r);case"Qo":return a.ordinalNumber(r,{unit:"quarter"});case"QQQ":return a.quarter(r,{width:"abbreviated",context:"formatting"})||a.quarter(r,{width:"narrow",context:"formatting"});case"QQQQQ":return a.quarter(r,{width:"narrow",context:"formatting"});default:return a.quarter(r,{width:"wide",context:"formatting"})||a.quarter(r,{width:"abbreviated",context:"formatting"})||a.quarter(r,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(r,o){return o>=1&&o<=4}},{key:"set",value:function(r,o,a){return r.setUTCMonth(3*(a-1),1),r.setUTCHours(0,0,0,0),r}}]),t}(Oi),Wde=function(e){Si(t,e);var n=Mi(t);function t(){var i;fi(this,t);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return st(xt(i=n.call.apply(n,[this].concat(o))),"priority",120),st(xt(i),"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]),i}return pi(t,[{key:"parse",value:function(r,o,a){switch(o){case"q":case"qq":return lo(o.length,r);case"qo":return a.ordinalNumber(r,{unit:"quarter"});case"qqq":return a.quarter(r,{width:"abbreviated",context:"standalone"})||a.quarter(r,{width:"narrow",context:"standalone"});case"qqqqq":return a.quarter(r,{width:"narrow",context:"standalone"});default:return a.quarter(r,{width:"wide",context:"standalone"})||a.quarter(r,{width:"abbreviated",context:"standalone"})||a.quarter(r,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(r,o){return o>=1&&o<=4}},{key:"set",value:function(r,o,a){return r.setUTCMonth(3*(a-1),1),r.setUTCHours(0,0,0,0),r}}]),t}(Oi),Gde=function(e){Si(t,e);var n=Mi(t);function t(){var i;fi(this,t);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return st(xt(i=n.call.apply(n,[this].concat(o))),"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]),st(xt(i),"priority",110),i}return pi(t,[{key:"parse",value:function(r,o,a){var s=function(c){return c-1};switch(o){case"M":return yo(Qr(_o_month,r),s);case"MM":return yo(lo(2,r),s);case"Mo":return yo(a.ordinalNumber(r,{unit:"month"}),s);case"MMM":return a.month(r,{width:"abbreviated",context:"formatting"})||a.month(r,{width:"narrow",context:"formatting"});case"MMMMM":return a.month(r,{width:"narrow",context:"formatting"});default:return a.month(r,{width:"wide",context:"formatting"})||a.month(r,{width:"abbreviated",context:"formatting"})||a.month(r,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(r,o){return o>=0&&o<=11}},{key:"set",value:function(r,o,a){return r.setUTCMonth(a,1),r.setUTCHours(0,0,0,0),r}}]),t}(Oi),Kde=function(e){Si(t,e);var n=Mi(t);function t(){var i;fi(this,t);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return st(xt(i=n.call.apply(n,[this].concat(o))),"priority",110),st(xt(i),"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]),i}return pi(t,[{key:"parse",value:function(r,o,a){var s=function(c){return c-1};switch(o){case"L":return yo(Qr(_o_month,r),s);case"LL":return yo(lo(2,r),s);case"Lo":return yo(a.ordinalNumber(r,{unit:"month"}),s);case"LLL":return a.month(r,{width:"abbreviated",context:"standalone"})||a.month(r,{width:"narrow",context:"standalone"});case"LLLLL":return a.month(r,{width:"narrow",context:"standalone"});default:return a.month(r,{width:"wide",context:"standalone"})||a.month(r,{width:"abbreviated",context:"standalone"})||a.month(r,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(r,o){return o>=0&&o<=11}},{key:"set",value:function(r,o,a){return r.setUTCMonth(a,1),r.setUTCHours(0,0,0,0),r}}]),t}(Oi),Zde=function(e){Si(t,e);var n=Mi(t);function t(){var i;fi(this,t);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return st(xt(i=n.call.apply(n,[this].concat(o))),"priority",100),st(xt(i),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"]),i}return pi(t,[{key:"parse",value:function(r,o,a){switch(o){case"w":return Qr(_o_week,r);case"wo":return a.ordinalNumber(r,{unit:"week"});default:return lo(o.length,r)}}},{key:"validate",value:function(r,o){return o>=1&&o<=53}},{key:"set",value:function(r,o,a,s){return n0(function Qde(e,n,t){Ht(2,arguments);var i=Mn(e),r=Kr(n),o=UO(i,t)-r;return i.setUTCDate(i.getUTCDate()-7*o),i}(r,a,s),s)}}]),t}(Oi),Jde=function(e){Si(t,e);var n=Mi(t);function t(){var i;fi(this,t);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return st(xt(i=n.call.apply(n,[this].concat(o))),"priority",100),st(xt(i),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]),i}return pi(t,[{key:"parse",value:function(r,o,a){switch(o){case"I":return Qr(_o_week,r);case"Io":return a.ordinalNumber(r,{unit:"week"});default:return lo(o.length,r)}}},{key:"validate",value:function(r,o){return o>=1&&o<=53}},{key:"set",value:function(r,o,a){return Pd(function Xde(e,n){Ht(2,arguments);var t=Mn(e),i=Kr(n),r=BO(t)-i;return t.setUTCDate(t.getUTCDate()-7*r),t}(r,a))}}]),t}(Oi),e2e=[31,28,31,30,31,30,31,31,30,31,30,31],t2e=[31,29,31,30,31,30,31,31,30,31,30,31],n2e=function(e){Si(t,e);var n=Mi(t);function t(){var i;fi(this,t);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return st(xt(i=n.call.apply(n,[this].concat(o))),"priority",90),st(xt(i),"subPriority",1),st(xt(i),"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"]),i}return pi(t,[{key:"parse",value:function(r,o,a){switch(o){case"d":return Qr(_o_date,r);case"do":return a.ordinalNumber(r,{unit:"date"});default:return lo(o.length,r)}}},{key:"validate",value:function(r,o){var s=sP(r.getUTCFullYear()),l=r.getUTCMonth();return s?o>=1&&o<=t2e[l]:o>=1&&o<=e2e[l]}},{key:"set",value:function(r,o,a){return r.setUTCDate(a),r.setUTCHours(0,0,0,0),r}}]),t}(Oi),i2e=function(e){Si(t,e);var n=Mi(t);function t(){var i;fi(this,t);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return st(xt(i=n.call.apply(n,[this].concat(o))),"priority",90),st(xt(i),"subpriority",1),st(xt(i),"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]),i}return pi(t,[{key:"parse",value:function(r,o,a){switch(o){case"D":case"DD":return Qr(_o_dayOfYear,r);case"Do":return a.ordinalNumber(r,{unit:"date"});default:return lo(o.length,r)}}},{key:"validate",value:function(r,o){return sP(r.getUTCFullYear())?o>=1&&o<=366:o>=1&&o<=365}},{key:"set",value:function(r,o,a){return r.setUTCMonth(0,a),r.setUTCHours(0,0,0,0),r}}]),t}(Oi);function f_(e,n,t){var i,r,o,a,s,l,c,h;Ht(2,arguments);var p=ju(),S=Kr(null!==(i=null!==(r=null!==(o=null!==(a=t?.weekStartsOn)&&void 0!==a?a:null==t||null===(s=t.locale)||void 0===s||null===(l=s.options)||void 0===l?void 0:l.weekStartsOn)&&void 0!==o?o:p.weekStartsOn)&&void 0!==r?r:null===(c=p.locale)||void 0===c||null===(h=c.options)||void 0===h?void 0:h.weekStartsOn)&&void 0!==i?i:0);if(!(S>=0&&S<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var v=Mn(e),C=Kr(n),ie=((C%7+7)%7<S?7:0)+C-v.getUTCDay();return v.setUTCDate(v.getUTCDate()+ie),v}var r2e=function(e){Si(t,e);var n=Mi(t);function t(){var i;fi(this,t);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return st(xt(i=n.call.apply(n,[this].concat(o))),"priority",90),st(xt(i),"incompatibleTokens",["D","i","e","c","t","T"]),i}return pi(t,[{key:"parse",value:function(r,o,a){switch(o){case"E":case"EE":case"EEE":return a.day(r,{width:"abbreviated",context:"formatting"})||a.day(r,{width:"short",context:"formatting"})||a.day(r,{width:"narrow",context:"formatting"});case"EEEEE":return a.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return a.day(r,{width:"short",context:"formatting"})||a.day(r,{width:"narrow",context:"formatting"});default:return a.day(r,{width:"wide",context:"formatting"})||a.day(r,{width:"abbreviated",context:"formatting"})||a.day(r,{width:"short",context:"formatting"})||a.day(r,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(r,o){return o>=0&&o<=6}},{key:"set",value:function(r,o,a,s){return(r=f_(r,a,s)).setUTCHours(0,0,0,0),r}}]),t}(Oi),o2e=function(e){Si(t,e);var n=Mi(t);function t(){var i;fi(this,t);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return st(xt(i=n.call.apply(n,[this].concat(o))),"priority",90),st(xt(i),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]),i}return pi(t,[{key:"parse",value:function(r,o,a,s){var l=function(h){var p=7*Math.floor((h-1)/7);return(h+s.weekStartsOn+6)%7+p};switch(o){case"e":case"ee":return yo(lo(o.length,r),l);case"eo":return yo(a.ordinalNumber(r,{unit:"day"}),l);case"eee":return a.day(r,{width:"abbreviated",context:"formatting"})||a.day(r,{width:"short",context:"formatting"})||a.day(r,{width:"narrow",context:"formatting"});case"eeeee":return a.day(r,{width:"narrow",context:"formatting"});case"eeeeee":return a.day(r,{width:"short",context:"formatting"})||a.day(r,{width:"narrow",context:"formatting"});default:return a.day(r,{width:"wide",context:"formatting"})||a.day(r,{width:"abbreviated",context:"formatting"})||a.day(r,{width:"short",context:"formatting"})||a.day(r,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(r,o){return o>=0&&o<=6}},{key:"set",value:function(r,o,a,s){return(r=f_(r,a,s)).setUTCHours(0,0,0,0),r}}]),t}(Oi),a2e=function(e){Si(t,e);var n=Mi(t);function t(){var i;fi(this,t);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return st(xt(i=n.call.apply(n,[this].concat(o))),"priority",90),st(xt(i),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]),i}return pi(t,[{key:"parse",value:function(r,o,a,s){var l=function(h){var p=7*Math.floor((h-1)/7);return(h+s.weekStartsOn+6)%7+p};switch(o){case"c":case"cc":return yo(lo(o.length,r),l);case"co":return yo(a.ordinalNumber(r,{unit:"day"}),l);case"ccc":return a.day(r,{width:"abbreviated",context:"standalone"})||a.day(r,{width:"short",context:"standalone"})||a.day(r,{width:"narrow",context:"standalone"});case"ccccc":return a.day(r,{width:"narrow",context:"standalone"});case"cccccc":return a.day(r,{width:"short",context:"standalone"})||a.day(r,{width:"narrow",context:"standalone"});default:return a.day(r,{width:"wide",context:"standalone"})||a.day(r,{width:"abbreviated",context:"standalone"})||a.day(r,{width:"short",context:"standalone"})||a.day(r,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(r,o){return o>=0&&o<=6}},{key:"set",value:function(r,o,a,s){return(r=f_(r,a,s)).setUTCHours(0,0,0,0),r}}]),t}(Oi),l2e=function(e){Si(t,e);var n=Mi(t);function t(){var i;fi(this,t);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return st(xt(i=n.call.apply(n,[this].concat(o))),"priority",90),st(xt(i),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]),i}return pi(t,[{key:"parse",value:function(r,o,a){var s=function(c){return 0===c?7:c};switch(o){case"i":case"ii":return lo(o.length,r);case"io":return a.ordinalNumber(r,{unit:"day"});case"iii":return yo(a.day(r,{width:"abbreviated",context:"formatting"})||a.day(r,{width:"short",context:"formatting"})||a.day(r,{width:"narrow",context:"formatting"}),s);case"iiiii":return yo(a.day(r,{width:"narrow",context:"formatting"}),s);case"iiiiii":return yo(a.day(r,{width:"short",context:"formatting"})||a.day(r,{width:"narrow",context:"formatting"}),s);default:return yo(a.day(r,{width:"wide",context:"formatting"})||a.day(r,{width:"abbreviated",context:"formatting"})||a.day(r,{width:"short",context:"formatting"})||a.day(r,{width:"narrow",context:"formatting"}),s)}}},{key:"validate",value:function(r,o){return o>=1&&o<=7}},{key:"set",value:function(r,o,a){return r=function s2e(e,n){Ht(2,arguments);var t=Kr(n);t%7==0&&(t-=7);var r=Mn(e),l=((t%7+7)%7<1?7:0)+t-r.getUTCDay();return r.setUTCDate(r.getUTCDate()+l),r}(r,a),r.setUTCHours(0,0,0,0),r}}]),t}(Oi),c2e=function(e){Si(t,e);var n=Mi(t);function t(){var i;fi(this,t);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return st(xt(i=n.call.apply(n,[this].concat(o))),"priority",80),st(xt(i),"incompatibleTokens",["b","B","H","k","t","T"]),i}return pi(t,[{key:"parse",value:function(r,o,a){switch(o){case"a":case"aa":case"aaa":return a.dayPeriod(r,{width:"abbreviated",context:"formatting"})||a.dayPeriod(r,{width:"narrow",context:"formatting"});case"aaaaa":return a.dayPeriod(r,{width:"narrow",context:"formatting"});default:return a.dayPeriod(r,{width:"wide",context:"formatting"})||a.dayPeriod(r,{width:"abbreviated",context:"formatting"})||a.dayPeriod(r,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(r,o,a){return r.setUTCHours(h_(a),0,0,0),r}}]),t}(Oi),u2e=function(e){Si(t,e);var n=Mi(t);function t(){var i;fi(this,t);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return st(xt(i=n.call.apply(n,[this].concat(o))),"priority",80),st(xt(i),"incompatibleTokens",["a","B","H","k","t","T"]),i}return pi(t,[{key:"parse",value:function(r,o,a){switch(o){case"b":case"bb":case"bbb":return a.dayPeriod(r,{width:"abbreviated",context:"formatting"})||a.dayPeriod(r,{width:"narrow",context:"formatting"});case"bbbbb":return a.dayPeriod(r,{width:"narrow",context:"formatting"});default:return a.dayPeriod(r,{width:"wide",context:"formatting"})||a.dayPeriod(r,{width:"abbreviated",context:"formatting"})||a.dayPeriod(r,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(r,o,a){return r.setUTCHours(h_(a),0,0,0),r}}]),t}(Oi),d2e=function(e){Si(t,e);var n=Mi(t);function t(){var i;fi(this,t);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return st(xt(i=n.call.apply(n,[this].concat(o))),"priority",80),st(xt(i),"incompatibleTokens",["a","b","t","T"]),i}return pi(t,[{key:"parse",value:function(r,o,a){switch(o){case"B":case"BB":case"BBB":return a.dayPeriod(r,{width:"abbreviated",context:"formatting"})||a.dayPeriod(r,{width:"narrow",context:"formatting"});case"BBBBB":return a.dayPeriod(r,{width:"narrow",context:"formatting"});default:return a.dayPeriod(r,{width:"wide",context:"formatting"})||a.dayPeriod(r,{width:"abbreviated",context:"formatting"})||a.dayPeriod(r,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(r,o,a){return r.setUTCHours(h_(a),0,0,0),r}}]),t}(Oi),h2e=function(e){Si(t,e);var n=Mi(t);function t(){var i;fi(this,t);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return st(xt(i=n.call.apply(n,[this].concat(o))),"priority",70),st(xt(i),"incompatibleTokens",["H","K","k","t","T"]),i}return pi(t,[{key:"parse",value:function(r,o,a){switch(o){case"h":return Qr(_o_hour12h,r);case"ho":return a.ordinalNumber(r,{unit:"hour"});default:return lo(o.length,r)}}},{key:"validate",value:function(r,o){return o>=1&&o<=12}},{key:"set",value:function(r,o,a){var s=r.getUTCHours()>=12;return r.setUTCHours(s&&a<12?a+12:s||12!==a?a:0,0,0,0),r}}]),t}(Oi),f2e=function(e){Si(t,e);var n=Mi(t);function t(){var i;fi(this,t);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return st(xt(i=n.call.apply(n,[this].concat(o))),"priority",70),st(xt(i),"incompatibleTokens",["a","b","h","K","k","t","T"]),i}return pi(t,[{key:"parse",value:function(r,o,a){switch(o){case"H":return Qr(_o_hour23h,r);case"Ho":return a.ordinalNumber(r,{unit:"hour"});default:return lo(o.length,r)}}},{key:"validate",value:function(r,o){return o>=0&&o<=23}},{key:"set",value:function(r,o,a){return r.setUTCHours(a,0,0,0),r}}]),t}(Oi),p2e=function(e){Si(t,e);var n=Mi(t);function t(){var i;fi(this,t);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return st(xt(i=n.call.apply(n,[this].concat(o))),"priority",70),st(xt(i),"incompatibleTokens",["h","H","k","t","T"]),i}return pi(t,[{key:"parse",value:function(r,o,a){switch(o){case"K":return Qr(_o_hour11h,r);case"Ko":return a.ordinalNumber(r,{unit:"hour"});default:return lo(o.length,r)}}},{key:"validate",value:function(r,o){return o>=0&&o<=11}},{key:"set",value:function(r,o,a){var s=r.getUTCHours()>=12;return r.setUTCHours(s&&a<12?a+12:a,0,0,0),r}}]),t}(Oi),m2e=function(e){Si(t,e);var n=Mi(t);function t(){var i;fi(this,t);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return st(xt(i=n.call.apply(n,[this].concat(o))),"priority",70),st(xt(i),"incompatibleTokens",["a","b","h","H","K","t","T"]),i}return pi(t,[{key:"parse",value:function(r,o,a){switch(o){case"k":return Qr(_o_hour24h,r);case"ko":return a.ordinalNumber(r,{unit:"hour"});default:return lo(o.length,r)}}},{key:"validate",value:function(r,o){return o>=1&&o<=24}},{key:"set",value:function(r,o,a){return r.setUTCHours(a<=24?a%24:a,0,0,0),r}}]),t}(Oi),g2e=function(e){Si(t,e);var n=Mi(t);function t(){var i;fi(this,t);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return st(xt(i=n.call.apply(n,[this].concat(o))),"priority",60),st(xt(i),"incompatibleTokens",["t","T"]),i}return pi(t,[{key:"parse",value:function(r,o,a){switch(o){case"m":return Qr(_o_minute,r);case"mo":return a.ordinalNumber(r,{unit:"minute"});default:return lo(o.length,r)}}},{key:"validate",value:function(r,o){return o>=0&&o<=59}},{key:"set",value:function(r,o,a){return r.setUTCMinutes(a,0,0),r}}]),t}(Oi),v2e=function(e){Si(t,e);var n=Mi(t);function t(){var i;fi(this,t);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return st(xt(i=n.call.apply(n,[this].concat(o))),"priority",50),st(xt(i),"incompatibleTokens",["t","T"]),i}return pi(t,[{key:"parse",value:function(r,o,a){switch(o){case"s":return Qr(_o_second,r);case"so":return a.ordinalNumber(r,{unit:"second"});default:return lo(o.length,r)}}},{key:"validate",value:function(r,o){return o>=0&&o<=59}},{key:"set",value:function(r,o,a){return r.setUTCSeconds(a,0),r}}]),t}(Oi),_2e=function(e){Si(t,e);var n=Mi(t);function t(){var i;fi(this,t);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return st(xt(i=n.call.apply(n,[this].concat(o))),"priority",30),st(xt(i),"incompatibleTokens",["t","T"]),i}return pi(t,[{key:"parse",value:function(r,o){return yo(lo(o.length,r),function(l){return Math.floor(l*Math.pow(10,3-o.length))})}},{key:"set",value:function(r,o,a){return r.setUTCMilliseconds(a),r}}]),t}(Oi),y2e=function(e){Si(t,e);var n=Mi(t);function t(){var i;fi(this,t);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return st(xt(i=n.call.apply(n,[this].concat(o))),"priority",10),st(xt(i),"incompatibleTokens",["t","T","x"]),i}return pi(t,[{key:"parse",value:function(r,o){switch(o){case"X":return hc(dc_basicOptionalMinutes,r);case"XX":return hc(dc_basic,r);case"XXXX":return hc(dc_basicOptionalSeconds,r);case"XXXXX":return hc(dc_extendedOptionalSeconds,r);default:return hc(dc_extended,r)}}},{key:"set",value:function(r,o,a){return o.timestampIsSet?r:new Date(r.getTime()-a)}}]),t}(Oi),b2e=function(e){Si(t,e);var n=Mi(t);function t(){var i;fi(this,t);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return st(xt(i=n.call.apply(n,[this].concat(o))),"priority",10),st(xt(i),"incompatibleTokens",["t","T","X"]),i}return pi(t,[{key:"parse",value:function(r,o){switch(o){case"x":return hc(dc_basicOptionalMinutes,r);case"xx":return hc(dc_basic,r);case"xxxx":return hc(dc_basicOptionalSeconds,r);case"xxxxx":return hc(dc_extendedOptionalSeconds,r);default:return hc(dc_extended,r)}}},{key:"set",value:function(r,o,a){return o.timestampIsSet?r:new Date(r.getTime()-a)}}]),t}(Oi),C2e=function(e){Si(t,e);var n=Mi(t);function t(){var i;fi(this,t);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return st(xt(i=n.call.apply(n,[this].concat(o))),"priority",40),st(xt(i),"incompatibleTokens","*"),i}return pi(t,[{key:"parse",value:function(r){return oP(r)}},{key:"set",value:function(r,o,a){return[new Date(1e3*a),{timestampIsSet:!0}]}}]),t}(Oi),w2e=function(e){Si(t,e);var n=Mi(t);function t(){var i;fi(this,t);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return st(xt(i=n.call.apply(n,[this].concat(o))),"priority",20),st(xt(i),"incompatibleTokens","*"),i}return pi(t,[{key:"parse",value:function(r){return oP(r)}},{key:"set",value:function(r,o,a){return[new Date(a),{timestampIsSet:!0}]}}]),t}(Oi),S2e={G:new Pde,y:new Ude,Y:new qde,R:new Yde,u:new jde,Q:new $de,q:new Wde,M:new Gde,L:new Kde,w:new Zde,I:new Jde,d:new n2e,D:new i2e,E:new r2e,e:new o2e,c:new a2e,i:new l2e,a:new c2e,b:new u2e,B:new d2e,h:new h2e,H:new f2e,K:new p2e,k:new m2e,m:new g2e,s:new v2e,S:new _2e,X:new y2e,x:new b2e,t:new C2e,T:new w2e},M2e=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,T2e=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,D2e=/^'([^]*?)'?$/,x2e=/''/g,k2e=/\S/,E2e=/[a-zA-Z]/;function j8(e){Ht(1,arguments);var n=Mn(e);return Math.floor(n.getMonth()/3)+1}function lP(e,n){Ht(2,arguments);var t=Mn(e),i=Kr(n);if(isNaN(i))return new Date(NaN);if(!i)return t;var r=t.getDate(),o=new Date(t.getTime());return o.setMonth(t.getMonth()+i+1,0),r>=o.getDate()?o:(t.setFullYear(o.getFullYear(),o.getMonth(),r),t)}function cP(e,n){Ht(2,arguments);var t=Mn(e),i=Kr(n),r=t.getFullYear(),o=t.getDate(),a=new Date(0);a.setFullYear(r,i,15),a.setHours(0,0,0,0);var s=function P2e(e){Ht(1,arguments);var n=Mn(e),t=n.getFullYear(),i=n.getMonth(),r=new Date(0);return r.setFullYear(t,i+1,0),r.setHours(0,0,0,0),r.getDate()}(a);return t.setMonth(i,Math.min(o,s)),t}function H2e(e,n){Ht(2,arguments);var t=Mn(e),i=Mn(n);return t.getFullYear()===i.getFullYear()}function p_(e){Ht(1,arguments);var n=Mn(e),t=n.getMonth();return n.setMonth(t-t%3,1),n.setHours(0,0,0,0),n}function V2e(e,n){Ht(2,arguments);var t=p_(e),i=p_(n);return t.getTime()===i.getTime()}function B2e(e,n){Ht(2,arguments);var t=Mn(e),i=Mn(n);return t.getFullYear()===i.getFullYear()&&t.getMonth()===i.getMonth()}function $8(e){Ht(1,arguments);var n=Mn(e);return n.setHours(0,0,0,0),n}function m_(e,n){Ht(2,arguments);var t=$8(e),i=$8(n);return t.getTime()===i.getTime()}function uP(e){Ht(1,arguments);var n=Mn(e);return n.setMinutes(0,0,0),n}function U2e(e,n){Ht(2,arguments);var t=uP(e),i=uP(n);return t.getTime()===i.getTime()}function dP(e){Ht(1,arguments);var n=Mn(e);return n.setSeconds(0,0),n}function q2e(e,n){Ht(2,arguments);var t=dP(e),i=dP(n);return t.getTime()===i.getTime()}function hP(e){Ht(1,arguments);var n=Mn(e);return n.setMilliseconds(0),n}function Y2e(e,n){Ht(2,arguments);var t=hP(e),i=hP(n);return t.getTime()===i.getTime()}function j2e(e,n){Ht(2,arguments);var t=Mn(e),i=Mn(n);return t.getFullYear()-i.getFullYear()}function $2e(e,n){Ht(2,arguments);var t=Mn(e),i=Mn(n);return 4*(t.getFullYear()-i.getFullYear())+(j8(t)-j8(i))}function W2e(e,n){Ht(2,arguments);var t=Mn(e),i=Mn(n);return 12*(t.getFullYear()-i.getFullYear())+(t.getMonth()-i.getMonth())}function fP(e,n){Ht(2,arguments);var t=$8(e),i=$8(n),r=t.getTime()-B8(t),o=i.getTime()-B8(i);return Math.round((r-o)/864e5)}function g_(e,n){return Ht(2,arguments),Mn(e).getTime()-Mn(n).getTime()}var pP={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(n){return n<0?Math.ceil(n):Math.floor(n)}};function v_(e){return e?pP[e]:pP.trunc}function Q2e(e,n,t){Ht(2,arguments);var i=g_(e,n)/36e5;return v_(t?.roundingMethod)(i)}function Z2e(e,n,t){Ht(2,arguments);var i=g_(e,n)/6e4;return v_(t?.roundingMethod)(i)}function X2e(e,n,t){Ht(2,arguments);var i=g_(e,n)/1e3;return v_(t?.roundingMethod)(i)}function mP(e){return!!e&&(e instanceof On||zt(e.lift)&&zt(e.subscribe))}const ohe=["addListener","removeListener"],ahe=["addEventListener","removeEventListener"],she=["on","off"];function Fd(e,n,t,i){if(zt(t)&&(i=t,t=void 0),i)return Fd(e,n,t).pipe(o9(i));const[r,o]=function uhe(e){return zt(e.addEventListener)&&zt(e.removeEventListener)}(e)?ahe.map(a=>s=>e[a](n,s,t)):function lhe(e){return zt(e.addListener)&&zt(e.removeListener)}(e)?ohe.map(gP(e,n)):function che(e){return zt(e.on)&&zt(e.off)}(e)?she.map(gP(e,n)):[];if(!r&&dv(e))return Go(a=>Fd(a,n,t))(fa(e));if(!r)throw new TypeError("Invalid event target");return new On(a=>{const s=(...l)=>a.next(1<l.length?l:l[0]);return r(s),()=>o(s)})}function gP(e,n){return t=>i=>e[t](n,i)}function Zr(e){return typeof e<"u"&&null!==e}function _P(e){return typeof e>"u"||null===e}function W8(e){return e instanceof Wo}function __(e){return function rhe(e){return null!=e&&"false"!=`${e}`}(e)}function ghe(e){return Oh(e,0)}function Xc(e,...n){return"function"==typeof e?e(...n):e}function wP(e){return mP(e)?e:function Che(e){return!!e&&"function"==typeof e.then&&"function"==typeof e.catch}(e)?new On(n=>{Promise.resolve(e).then(t=>{n.next(t),n.complete()}).catch(t=>n.error(t))}):Kt(e)}function SP(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function MP({mark:e}={}){return e?e.startsWith("data-")?e:`data-${e}`:"rc-util-key"}function T_(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function TP(e,n={}){if(!SP())return null;const t=document.createElement("style");n.cspNonce&&(t.nonce=n.cspNonce),t.innerHTML=e;const i=T_(n),{firstChild:r}=i;return n.prepend&&i.prepend?i.prepend(t):n.prepend&&r?i.insertBefore(t,r):i.appendChild(t),t}typeof window<"u"&&window;const D_=new Map;function xP(e,n,t){return{[`${e}-status-success`]:"success"===n,[`${e}-status-warning`]:"warning"===n,[`${e}-status-error`]:"error"===n,[`${e}-status-validating`]:"validating"===n,[`${e}-has-feedback`]:t}}function zs(e,n,t){return e?new On(i=>function zhe(e){return typeof Zone<"u"?Zone.root.run(e):e()}(()=>Fd(e,n,t).subscribe(i))):ds}function kP(e){const[n,t]=e;return!!n&&!!t&&t.isBeforeDay(n)}function yf(e){return Array.isArray(e)?e.map(n=>n instanceof ci?n.clone():null):e instanceof ci?e.clone():null}class ci{nativeDate;constructor(n){if(n)if(n instanceof Date)this.nativeDate=n;else{if("string"!=typeof n&&"number"!=typeof n)throw new Error('The input date type is not supported ("Date" is now recommended)');this.nativeDate=new Date(n)}else this.nativeDate=new Date}calendarStart(n){return new ci(RO(function A2e(e){Ht(1,arguments);var n=Mn(e);return n.setDate(1),n.setHours(0,0,0,0),n}(this.nativeDate),n))}getYear(){return this.nativeDate.getFullYear()}getMonth(){return this.nativeDate.getMonth()}getDay(){return this.nativeDate.getDay()}getTime(){return this.nativeDate.getTime()}getDate(){return this.nativeDate.getDate()}getHours(){return this.nativeDate.getHours()}getMinutes(){return this.nativeDate.getMinutes()}getSeconds(){return this.nativeDate.getSeconds()}getMilliseconds(){return this.nativeDate.getMilliseconds()}clone(){return new ci(new Date(this.nativeDate))}setHms(n,t,i){const r=new Date(this.nativeDate.setHours(n,t,i));return new ci(r)}setYear(n){return new ci(function L2e(e,n){Ht(2,arguments);var t=Mn(e),i=Kr(n);return isNaN(t.getTime())?new Date(NaN):(t.setFullYear(i),t)}(this.nativeDate,n))}addYears(n){return new ci(function O2e(e,n){return Ht(2,arguments),lP(e,12*Kr(n))}(this.nativeDate,n))}setMonth(n){return new ci(cP(this.nativeDate,n))}addMonths(n){return new ci(lP(this.nativeDate,n))}setDay(n,t){return new ci(function F2e(e,n,t){var i,r,o,a,s,l,c,h;Ht(2,arguments);var p=ju(),S=Kr(null!==(i=null!==(r=null!==(o=null!==(a=t?.weekStartsOn)&&void 0!==a?a:null==t||null===(s=t.locale)||void 0===s||null===(l=s.options)||void 0===l?void 0:l.weekStartsOn)&&void 0!==o?o:p.weekStartsOn)&&void 0!==r?r:null===(c=p.locale)||void 0===c||null===(h=c.options)||void 0===h?void 0:h.weekStartsOn)&&void 0!==i?i:0);if(!(S>=0&&S<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var v=Mn(e),C=Kr(n),P=v.getDay(),ie=7-S;return function N2e(e,n){Ht(2,arguments);var t=Mn(e),i=Kr(n);return isNaN(i)?new Date(NaN):(i&&t.setDate(t.getDate()+i),t)}(v,C<0||C>6?C-(P+ie)%7:((C%7+7)%7+ie)%7-(P+ie)%7)}(this.nativeDate,n,t))}setDate(n){const t=new Date(this.nativeDate);return t.setDate(n),new ci(t)}getQuarter(){return j8(this.nativeDate)}setQuarter(n){return new ci(function R2e(e,n){Ht(2,arguments);var t=Mn(e),o=Kr(n)-(Math.floor(t.getMonth()/3)+1);return cP(t,t.getMonth()+3*o)}(this.nativeDate,n))}addDays(n){return this.setDate(this.getDate()+n)}add(n,t){switch(t){case"decade":return this.addYears(10*n);case"year":return this.addYears(n);default:return this.addMonths(n)}}isSame(n,t="day"){let i;switch(t){case"decade":i=(r,o)=>Math.abs(r.getFullYear()-o.getFullYear())<11;break;case"year":i=H2e;break;case"quarter":i=V2e;break;case"month":i=B2e;break;case"day":default:i=m_;break;case"hour":i=U2e;break;case"minute":i=q2e;break;case"second":i=Y2e}return i(this.nativeDate,this.toNativeDate(n))}isSameYear(n){return this.isSame(n,"year")}isSameQuarter(n){return this.isSame(n,"quarter")}isSameMonth(n){return this.isSame(n,"month")}isSameDay(n){return this.isSame(n,"day")}isSameHour(n){return this.isSame(n,"hour")}isSameMinute(n){return this.isSame(n,"minute")}isSameSecond(n){return this.isSame(n,"second")}isBefore(n,t="day"){if(null===n)return!1;let i;switch(t){case"year":i=j2e;break;case"quarter":i=$2e;break;case"month":i=W2e;break;case"day":default:i=fP;break;case"hour":i=Q2e;break;case"minute":i=Z2e;break;case"second":i=X2e}return i(this.nativeDate,this.toNativeDate(n))<0}isBeforeYear(n){return this.isBefore(n,"year")}isBeforeQuarter(n){return this.isBefore(n,"quarter")}isBeforeMonth(n){return this.isBefore(n,"month")}isBeforeDay(n){return this.isBefore(n,"day")}isToday(){return function J2e(e){return Ht(1,arguments),m_(e,Date.now())}(this.nativeDate)}isValid(){return Od(this.nativeDate)}isFirstDayOfMonth(){return function ehe(e){return Ht(1,arguments),1===Mn(e).getDate()}(this.nativeDate)}isLastDayOfMonth(){return function ihe(e){Ht(1,arguments);var n=Mn(e);return function the(e){Ht(1,arguments);var n=Mn(e);return n.setHours(23,59,59,999),n}(n).getTime()===function nhe(e){Ht(1,arguments);var n=Mn(e),t=n.getMonth();return n.setFullYear(n.getFullYear(),t+1,0),n.setHours(23,59,59,999),n}(n).getTime()}(this.nativeDate)}toNativeDate(n){return n instanceof ci?n.nativeDate:n}}class Phe{format;localeId;regex=null;matchMap={hour:null,minute:null,second:null,periodNarrow:null,periodWide:null,periodAbbreviated:null};constructor(n,t){this.format=n,this.localeId=t,this.genRegexp()}toDate(n){const t=this.getTimeResult(n),i=new Date;return Zr(t?.hour)&&i.setHours(t.hour),Zr(t?.minute)&&i.setMinutes(t.minute),Zr(t?.second)&&i.setSeconds(t.second),1===t?.period&&i.getHours()<12&&i.setHours(i.getHours()+12),i}getTimeResult(n){const t=this.regex.exec(n);let i=null;return t?(Zr(this.matchMap.periodNarrow)&&(i=U1(this.localeId,vo.Format,wi.Narrow).indexOf(t[this.matchMap.periodNarrow+1])),Zr(this.matchMap.periodWide)&&(i=U1(this.localeId,vo.Format,wi.Wide).indexOf(t[this.matchMap.periodWide+1])),Zr(this.matchMap.periodAbbreviated)&&(i=U1(this.localeId,vo.Format,wi.Abbreviated).indexOf(t[this.matchMap.periodAbbreviated+1])),{hour:Zr(this.matchMap.hour)?Number.parseInt(t[this.matchMap.hour+1],10):null,minute:Zr(this.matchMap.minute)?Number.parseInt(t[this.matchMap.minute+1],10):null,second:Zr(this.matchMap.second)?Number.parseInt(t[this.matchMap.second+1],10):null,period:i}):null}genRegexp(){let n=this.format.replace(/([.*+?^=!:${}()|[\]/\\])/g,"\\$&");const t=/h{1,2}/i,i=/m{1,2}/,r=/s{1,2}/,o=/aaaaa/,a=/aaaa/,s=/a{1,3}/,l=t.exec(this.format),c=i.exec(this.format),h=r.exec(this.format),p=o.exec(this.format);let S=null,v=null;p||(S=a.exec(this.format)),!S&&!p&&(v=s.exec(this.format)),[l,c,h,p,S,v].filter(P=>!!P).sort((P,Z)=>P.index-Z.index).forEach((P,Z)=>{switch(P){case l:this.matchMap.hour=Z,n=n.replace(t,"(\\d{1,2})");break;case c:this.matchMap.minute=Z,n=n.replace(i,"(\\d{1,2})");break;case h:this.matchMap.second=Z,n=n.replace(r,"(\\d{1,2})");break;case p:{this.matchMap.periodNarrow=Z;const re=U1(this.localeId,vo.Format,wi.Narrow).join("|");n=n.replace(o,`(${re})`);break}case S:{this.matchMap.periodWide=Z;const re=U1(this.localeId,vo.Format,wi.Wide).join("|");n=n.replace(a,`(${re})`);break}case v:{this.matchMap.periodAbbreviated=Z;const re=U1(this.localeId,vo.Format,wi.Abbreviated).join("|");n=n.replace(s,`(${re})`);break}}}),this.regex=new RegExp(n)}}var EP={locale:"en",Pagination:{items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"},DatePicker:{lang:{placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"],locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"Ok",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"},timePickerLocale:{placeholder:"Select time",rangePlaceholder:["Start time","End time"]}},TimePicker:{placeholder:"Select time",rangePlaceholder:["Start time","End time"]},Calendar:{lang:{placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"],locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"Ok",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"},timePickerLocale:{placeholder:"Select time",rangePlaceholder:["Start time","End time"]}},global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",selectNone:"Clear all data"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No Data"},Form:{optional:"(optional)"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand"},PageHeader:{back:"Back"},Image:{preview:"Preview"},CronExpression:{cronError:"Invalid cron expression",second:"second",minute:"minute",hour:"hour",day:"day",month:"month",week:"week"},QRCode:{expired:"QR code expired",refresh:"Refresh",scanned:"Scanned"},CheckList:{checkList:"Check List",checkListFinish:"You have successfully completed the list!",checkListClose:"Close",checkListFooter:"Check list is no longer required",checkListCheck:"Do you want to close the list?",ok:"OK",cancel:"Cancel",checkListCheckOther:"No longer required to show"}},Fhe={locale:"zh-cn",Pagination:{items_per_page:"\u6761/\u9875",jump_to:"\u8df3\u81f3",jump_to_confirm:"\u786e\u5b9a",page:"\u9875",prev_page:"\u4e0a\u4e00\u9875",next_page:"\u4e0b\u4e00\u9875",prev_5:"\u5411\u524d 5 \u9875",next_5:"\u5411\u540e 5 \u9875",prev_3:"\u5411\u524d 3 \u9875",next_3:"\u5411\u540e 3 \u9875",page_size:"\u9875\u7801"},DatePicker:{lang:{placeholder:"\u8bf7\u9009\u62e9\u65e5\u671f",yearPlaceholder:"\u8bf7\u9009\u62e9\u5e74\u4efd",quarterPlaceholder:"\u8bf7\u9009\u62e9\u5b63\u5ea6",monthPlaceholder:"\u8bf7\u9009\u62e9\u6708\u4efd",weekPlaceholder:"\u8bf7\u9009\u62e9\u5468",rangePlaceholder:["\u5f00\u59cb\u65e5\u671f","\u7ed3\u675f\u65e5\u671f"],rangeYearPlaceholder:["\u5f00\u59cb\u5e74\u4efd","\u7ed3\u675f\u5e74\u4efd"],rangeQuarterPlaceholder:["\u5f00\u59cb\u5b63\u5ea6","\u7ed3\u675f\u5b63\u5ea6"],rangeMonthPlaceholder:["\u5f00\u59cb\u6708\u4efd","\u7ed3\u675f\u6708\u4efd"],rangeWeekPlaceholder:["\u5f00\u59cb\u5468","\u7ed3\u675f\u5468"],locale:"zh_CN",today:"\u4eca\u5929",now:"\u6b64\u523b",backToToday:"\u8fd4\u56de\u4eca\u5929",ok:"\u786e\u5b9a",timeSelect:"\u9009\u62e9\u65f6\u95f4",dateSelect:"\u9009\u62e9\u65e5\u671f",weekSelect:"\u9009\u62e9\u5468",clear:"\u6e05\u9664",month:"\u6708",year:"\u5e74",previousMonth:"\u4e0a\u4e2a\u6708 (\u7ffb\u9875\u4e0a\u952e)",nextMonth:"\u4e0b\u4e2a\u6708 (\u7ffb\u9875\u4e0b\u952e)",monthSelect:"\u9009\u62e9\u6708\u4efd",yearSelect:"\u9009\u62e9\u5e74\u4efd",decadeSelect:"\u9009\u62e9\u5e74\u4ee3",yearFormat:"YYYY\u5e74",dayFormat:"D\u65e5",dateFormat:"YYYY\u5e74M\u6708D\u65e5",dateTimeFormat:"YYYY\u5e74M\u6708D\u65e5 HH\u65f6mm\u5206ss\u79d2",previousYear:"\u4e0a\u4e00\u5e74 (Control\u952e\u52a0\u5de6\u65b9\u5411\u952e)",nextYear:"\u4e0b\u4e00\u5e74 (Control\u952e\u52a0\u53f3\u65b9\u5411\u952e)",previousDecade:"\u4e0a\u4e00\u5e74\u4ee3",nextDecade:"\u4e0b\u4e00\u5e74\u4ee3",previousCentury:"\u4e0a\u4e00\u4e16\u7eaa",nextCentury:"\u4e0b\u4e00\u4e16\u7eaa"},timePickerLocale:{placeholder:"\u8bf7\u9009\u62e9\u65f6\u95f4",rangePlaceholder:["\u5f00\u59cb\u65f6\u95f4","\u7ed3\u675f\u65f6\u95f4"]}},TimePicker:{placeholder:"\u8bf7\u9009\u62e9\u65f6\u95f4",rangePlaceholder:["\u5f00\u59cb\u65f6\u95f4","\u7ed3\u675f\u65f6\u95f4"]},Calendar:{lang:{placeholder:"\u8bf7\u9009\u62e9\u65e5\u671f",yearPlaceholder:"\u8bf7\u9009\u62e9\u5e74\u4efd",quarterPlaceholder:"\u8bf7\u9009\u62e9\u5b63\u5ea6",monthPlaceholder:"\u8bf7\u9009\u62e9\u6708\u4efd",weekPlaceholder:"\u8bf7\u9009\u62e9\u5468",rangePlaceholder:["\u5f00\u59cb\u65e5\u671f","\u7ed3\u675f\u65e5\u671f"],rangeYearPlaceholder:["\u5f00\u59cb\u5e74\u4efd","\u7ed3\u675f\u5e74\u4efd"],rangeMonthPlaceholder:["\u5f00\u59cb\u6708\u4efd","\u7ed3\u675f\u6708\u4efd"],rangeWeekPlaceholder:["\u5f00\u59cb\u5468","\u7ed3\u675f\u5468"],locale:"zh_CN",today:"\u4eca\u5929",now:"\u6b64\u523b",backToToday:"\u8fd4\u56de\u4eca\u5929",ok:"\u786e\u5b9a",timeSelect:"\u9009\u62e9\u65f6\u95f4",dateSelect:"\u9009\u62e9\u65e5\u671f",weekSelect:"\u9009\u62e9\u5468",clear:"\u6e05\u9664",month:"\u6708",year:"\u5e74",previousMonth:"\u4e0a\u4e2a\u6708 (\u7ffb\u9875\u4e0a\u952e)",nextMonth:"\u4e0b\u4e2a\u6708 (\u7ffb\u9875\u4e0b\u952e)",monthSelect:"\u9009\u62e9\u6708\u4efd",yearSelect:"\u9009\u62e9\u5e74\u4efd",decadeSelect:"\u9009\u62e9\u5e74\u4ee3",yearFormat:"YYYY\u5e74",dayFormat:"D\u65e5",dateFormat:"YYYY\u5e74M\u6708D\u65e5",dateTimeFormat:"YYYY\u5e74M\u6708D\u65e5 HH\u65f6mm\u5206ss\u79d2",previousYear:"\u4e0a\u4e00\u5e74 (Control\u952e\u52a0\u5de6\u65b9\u5411\u952e)",nextYear:"\u4e0b\u4e00\u5e74 (Control\u952e\u52a0\u53f3\u65b9\u5411\u952e)",previousDecade:"\u4e0a\u4e00\u5e74\u4ee3",nextDecade:"\u4e0b\u4e00\u5e74\u4ee3",previousCentury:"\u4e0a\u4e00\u4e16\u7eaa",nextCentury:"\u4e0b\u4e00\u4e16\u7eaa"},timePickerLocale:{placeholder:"\u8bf7\u9009\u62e9\u65f6\u95f4",rangePlaceholder:["\u5f00\u59cb\u65f6\u95f4","\u7ed3\u675f\u65f6\u95f4"]}},global:{placeholder:"\u8bf7\u9009\u62e9"},Table:{filterTitle:"\u7b5b\u9009",filterConfirm:"\u786e\u5b9a",filterReset:"\u91cd\u7f6e",filterEmptyText:"\u65e0\u7b5b\u9009\u9879",selectAll:"\u5168\u9009\u5f53\u9875",selectInvert:"\u53cd\u9009\u5f53\u9875",selectionAll:"\u5168\u9009\u6240\u6709",sortTitle:"\u6392\u5e8f",expand:"\u5c55\u5f00\u884c",collapse:"\u5173\u95ed\u884c",triggerDesc:"\u70b9\u51fb\u964d\u5e8f",triggerAsc:"\u70b9\u51fb\u5347\u5e8f",cancelSort:"\u53d6\u6d88\u6392\u5e8f",filterCheckall:"\u5168\u9009",filterSearchPlaceholder:"\u5728\u7b5b\u9009\u9879\u4e2d\u641c\u7d22",selectNone:"\u6e05\u7a7a\u6240\u6709"},Modal:{okText:"\u786e\u5b9a",cancelText:"\u53d6\u6d88",justOkText:"\u77e5\u9053\u4e86"},Popconfirm:{cancelText:"\u53d6\u6d88",okText:"\u786e\u5b9a"},Transfer:{searchPlaceholder:"\u8bf7\u8f93\u5165\u641c\u7d22\u5185\u5bb9",itemUnit:"\u9879",itemsUnit:"\u9879",remove:"\u5220\u9664",selectCurrent:"\u5168\u9009\u5f53\u9875",removeCurrent:"\u5220\u9664\u5f53\u9875",selectAll:"\u5168\u9009\u6240\u6709",removeAll:"\u5220\u9664\u5168\u90e8",selectInvert:"\u53cd\u9009\u5f53\u9875"},Upload:{uploading:"\u6587\u4ef6\u4e0a\u4f20\u4e2d",removeFile:"\u5220\u9664\u6587\u4ef6",uploadError:"\u4e0a\u4f20\u9519\u8bef",previewFile:"\u9884\u89c8\u6587\u4ef6",downloadFile:"\u4e0b\u8f7d\u6587\u4ef6"},Empty:{description:"\u6682\u65e0\u6570\u636e"},Form:{optional:"(\u53ef\u9009)"},Icon:{icon:"\u56fe\u6807"},Text:{edit:"\u7f16\u8f91",copy:"\u590d\u5236",copied:"\u590d\u5236\u6210\u529f",expand:"\u5c55\u5f00"},PageHeader:{back:"\u8fd4\u56de"},Image:{preview:"\u9884\u89c8"},CronExpression:{cronError:"cron \u8868\u8fbe\u5f0f\u4e0d\u5408\u6cd5",second:"\u79d2",minute:"\u5206\u949f",hour:"\u5c0f\u65f6",day:"\u65e5",month:"\u6708",week:"\u5468"},QRCode:{expired:"\u4e8c\u7ef4\u7801\u8fc7\u671f",refresh:"\u70b9\u51fb\u5237\u65b0",scanned:"\u5df2\u626b\u63cf"},CheckList:{checkList:"\u4efb\u52a1\u6e05\u5355",checkListFinish:"\u4f60\u5df2\u6210\u529f\u5b8c\u6210\u4efb\u52a1\u6e05\u5355\uff01",checkListClose:"\u5173\u95ed",checkListFooter:"\u4e0d\u9700\u8981\u64cd\u4f5c\u6307\u5f15",checkListCheck:"\u4f60\u8981\u5173\u95ed\u64cd\u4f5c\u6e05\u5355\u5417",ok:"\u786e\u5b9a",cancel:"\u53d6\u6d88",checkListCheckOther:"\u4ee5\u540e\u4e0d\u518d\u9700\u8981\u64cd\u4f5c\u6e05\u5355"}};const K8=new Ae(""),Rhe=new Ae("");let Rd=(()=>{class e{_locale;_change=new on(this._locale);dateLocale;get localeChange(){return this._change.asObservable()}constructor(){this.setLocale(U(K8,{optional:!0})||Fhe),this.setDateLocale(U(Rhe,{optional:!0}))}translate(t,i){let r=this._getObjectPath(this._locale,t);return"string"==typeof r?(i&&Object.keys(i).forEach(o=>r=r.replace(new RegExp(`%${o}%`,"g"),i[o])),r):t}setLocale(t){this._locale&&this._locale.locale===t.locale||(this._locale=t,this._change.next(t))}getLocale(){return this._locale}getLocaleId(){return this._locale?this._locale.locale:""}setDateLocale(t){this.dateLocale=t}getDateLocale(){return this.dateLocale}getLocaleData(t,i){const r=t?this._getObjectPath(this._locale,t):this._locale;return r||i||this._getObjectPath(EP,t)||{}}_getObjectPath(t,i){let r=t;const o=i.split("."),a=o.length;let s=0;for(;r&&s<a;)r=r[o[s++]];return s===a?r:null}static \u0275fac=function(i){return new(i||e)};static \u0275prov=Ke({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Hhe=(()=>{class e{_locale=U(Rd);transform(t,i){return this._locale.translate(t,i)}static \u0275fac=function(i){return new(i||e)};static \u0275pipe=Oa({name:"nzI18n",type:e,pure:!0})}return e})(),Vhe=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=Ci({type:e});static \u0275inj=$n({})}return e})();const Bhe=new Ae(""),Uhe={firstDayOfWeek:void 0};let As=(()=>{class e{i18n;config=function qhe(e){return{...Uhe,...e}}(U(Bhe,{optional:!0}));constructor(t){this.i18n=t}static \u0275fac=function(i){return new(i||e)(Ft(Rd))};static \u0275prov=Ke({token:e,factory:()=>function Yhe(){const e=U(Rd);return e.getDateLocale()?new jhe(e):new $he(e)}(),providedIn:"root"})}return e})();class jhe extends As{getISOWeek(n){return function w0e(e){Ht(1,arguments);var n=Mn(e),t=V8(n).getTime()-function b0e(e){Ht(1,arguments);var n=function y0e(e){Ht(1,arguments);var n=Mn(e),t=n.getFullYear(),i=new Date(0);i.setFullYear(t+1,0,4),i.setHours(0,0,0,0);var r=V8(i),o=new Date(0);o.setFullYear(t,0,4),o.setHours(0,0,0,0);var a=V8(o);return n.getTime()>=r.getTime()?t+1:n.getTime()>=a.getTime()?t:t-1}(e),t=new Date(0);return t.setFullYear(n,0,4),t.setHours(0,0,0,0),V8(t)}(n).getTime();return Math.round(t/6048e5)+1}(n)}getFirstDayOfWeek(){let n;try{n=this.i18n.getDateLocale().options.weekStartsOn}catch{n=1}return null==this.config.firstDayOfWeek?n:this.config.firstDayOfWeek}format(n,t){return n?function Dde(e,n,t){var i,r,o,a,s,l,c,h,p,S,v,C,P,Z,re,ie,Me,ke;Ht(2,arguments);var Be=String(n),it=ju(),Et=null!==(i=null!==(r=t?.locale)&&void 0!==r?r:it.locale)&&void 0!==i?i:KO,Jt=Kr(null!==(o=null!==(a=null!==(s=null!==(l=t?.firstWeekContainsDate)&&void 0!==l?l:null==t||null===(c=t.locale)||void 0===c||null===(h=c.options)||void 0===h?void 0:h.firstWeekContainsDate)&&void 0!==s?s:it.firstWeekContainsDate)&&void 0!==a?a:null===(p=it.locale)||void 0===p||null===(S=p.options)||void 0===S?void 0:S.firstWeekContainsDate)&&void 0!==o?o:1);if(!(Jt>=1&&Jt<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var $t=Kr(null!==(v=null!==(C=null!==(P=null!==(Z=t?.weekStartsOn)&&void 0!==Z?Z:null==t||null===(re=t.locale)||void 0===re||null===(ie=re.options)||void 0===ie?void 0:ie.weekStartsOn)&&void 0!==P?P:it.weekStartsOn)&&void 0!==C?C:null===(Me=it.locale)||void 0===Me||null===(ke=Me.options)||void 0===ke?void 0:ke.weekStartsOn)&&void 0!==v?v:0);if(!($t>=0&&$t<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!Et.localize)throw new RangeError("locale must contain localize property");if(!Et.formatLong)throw new RangeError("locale must contain formatLong property");var Bn=Mn(e);if(!Od(Bn))throw new RangeError("Invalid time value");var Qi=HO(Bn,B8(Bn)),Vo={firstWeekContainsDate:Jt,weekStartsOn:$t,locale:Et,_originalDate:Bn},wa=Be.match(wde).map(function(gi){var at=gi[0];return"p"===at||"P"===at?(0,c_[at])(gi,Et.formatLong):gi}).join("").match(Cde).map(function(gi){if("''"===gi)return"'";var at=gi[0];if("'"===at)return function xde(e){var n=e.match(Sde);return n?n[1].replace(Mde,"'"):e}(gi);var Pt=L0e[at];if(Pt)return!(null!=t&&t.useAdditionalWeekYearTokens)&&GO(gi)&&U8(gi,n,String(e)),!(null!=t&&t.useAdditionalDayOfYearTokens)&&WO(gi)&&U8(gi,n,String(e)),Pt(Qi,gi,Et.localize,Vo);if(at.match(Tde))throw new RangeError("Format string contains an unescaped latin alphabet character `"+at+"`");return gi}).join("");return wa}(n,t,{locale:this.i18n.getDateLocale()}):""}parseDate(n,t){return function I2e(e,n,t,i){var r,o,a,s,l,c,h,p,S,v,C,P,Z,re,ie,Me,ke,Be;Ht(3,arguments);var it=String(e),Et=String(n),Jt=ju(),$t=null!==(r=null!==(o=i?.locale)&&void 0!==o?o:Jt.locale)&&void 0!==r?r:KO;if(!$t.match)throw new RangeError("locale must contain match property");var Bn=Kr(null!==(a=null!==(s=null!==(l=null!==(c=i?.firstWeekContainsDate)&&void 0!==c?c:null==i||null===(h=i.locale)||void 0===h||null===(p=h.options)||void 0===p?void 0:p.firstWeekContainsDate)&&void 0!==l?l:Jt.firstWeekContainsDate)&&void 0!==s?s:null===(S=Jt.locale)||void 0===S||null===(v=S.options)||void 0===v?void 0:v.firstWeekContainsDate)&&void 0!==a?a:1);if(!(Bn>=1&&Bn<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var Rr=Kr(null!==(C=null!==(P=null!==(Z=null!==(re=i?.weekStartsOn)&&void 0!==re?re:null==i||null===(ie=i.locale)||void 0===ie||null===(Me=ie.options)||void 0===Me?void 0:Me.weekStartsOn)&&void 0!==Z?Z:Jt.weekStartsOn)&&void 0!==P?P:null===(ke=Jt.locale)||void 0===ke||null===(Be=ke.options)||void 0===Be?void 0:Be.weekStartsOn)&&void 0!==C?C:0);if(!(Rr>=0&&Rr<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(""===Et)return""===it?Mn(t):new Date(NaN);var Pt,Qi={firstWeekContainsDate:Bn,weekStartsOn:Rr,locale:$t},Vo=[new Ode],wa=Et.match(T2e).map(function(ui){var gn=ui[0];return gn in c_?(0,c_[gn])(ui,$t.formatLong):ui}).join("").match(M2e),gi=[],at=ZO(wa);try{var nn=function(){var gn=Pt.value;!(null!=i&&i.useAdditionalWeekYearTokens)&&GO(gn)&&U8(gn,Et,e),(null==i||!i.useAdditionalDayOfYearTokens)&&WO(gn)&&U8(gn,Et,e);var Bo=gn[0],Nl=S2e[Bo];if(Nl){var oH=Nl.incompatibleTokens;if(Array.isArray(oH)){var aH=gi.find(function(sH){return oH.includes(sH.token)||sH.token===Bo});if(aH)throw new RangeError("The format string mustn't contain `".concat(aH.fullToken,"` and `").concat(gn,"` at the same time"))}else if("*"===Nl.incompatibleTokens&&gi.length>0)throw new RangeError("The format string mustn't contain `".concat(gn,"` and any other token at the same time"));gi.push({token:Bo,fullToken:gn});var Ob=Nl.run(it,gn,$t.match,Qi);if(!Ob)return{v:new Date(NaN)};Vo.push(Ob.setter),it=Ob.rest}else{if(Bo.match(E2e))throw new RangeError("Format string contains an unescaped latin alphabet character `"+Bo+"`");if("''"===gn?gn="'":"'"===Bo&&(gn=function z2e(e){return e.match(D2e)[1].replace(x2e,"'")}(gn)),0!==it.indexOf(gn))return{v:new Date(NaN)};it=it.slice(gn.length)}};for(at.s();!(Pt=at.n()).done;){var Qn=nn();if("object"===Zc(Qn))return Qn.v}}catch(ui){at.e(ui)}finally{at.f()}if(it.length>0&&k2e.test(it))return new Date(NaN);var Xr=Vo.map(function(ui){return ui.priority}).sort(function(ui,gn){return gn-ui}).filter(function(ui,gn,Bo){return Bo.indexOf(ui)===gn}).map(function(ui){return Vo.filter(function(gn){return gn.priority===ui}).sort(function(gn,Bo){return Bo.subPriority-gn.subPriority})}).map(function(ui){return ui[0]}),Sa=Mn(t);if(isNaN(Sa.getTime()))return new Date(NaN);var Ve,uo=HO(Sa,B8(Sa)),Pl={},Ge=ZO(Xr);try{for(Ge.s();!(Ve=Ge.n()).done;){var ut=Ve.value;if(!ut.validate(uo,Qi))return new Date(NaN);var Jn=ut.set(uo,Pl,Qi);Array.isArray(Jn)?(uo=Jn[0],Ede(Pl,Jn[1])):uo=Jn}}catch(ui){Ge.e(ui)}finally{Ge.f()}return uo}(n,t,new Date,{locale:this.i18n.getDateLocale(),weekStartsOn:this.getFirstDayOfWeek()})}parseTime(n,t){return this.parseDate(n,t)}}class $he extends As{getISOWeek(n){return+this.format(n,"w")}getFirstDayOfWeek(){if(void 0===this.config.firstDayOfWeek){const n=this.i18n.getLocaleId();return n&&["zh-cn","zh-tw"].indexOf(n.toLowerCase())>-1?1:0}return this.config.firstDayOfWeek}format(n,t){return n?this.replaceQuarter(KE(n,t,this.i18n.getLocaleId()),n):""}parseDate(n){return new Date(n)}parseTime(n,t){return new Phe(t,this.i18n.getLocaleId()).toDate(n)}replaceQuarter(n,t){const i=j8(t).toString(),r={Q:i,QQ:`0${i}`,QQQ:`Q${i}`};return n.replace(/Q+(?![^[]*])/g,o=>r[o]??i).replace(/\[(Q+)]/g,"$1")}}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.dev/license
       */
const Q8=void 0,Ghe=["en",[["a","p"],["AM","PM"]],[["AM","PM"]],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Q8,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Q8,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Q8,"{1} 'at' {0}",Q8],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function Whe(e){const t=Math.floor(Math.abs(e)),i=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===i?1:5}],Khe=new Ae("cdk-dir-doc",{providedIn:"root",factory:function Qhe(){return U(Mr)}}),Zhe=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let A_,L_,co=(()=>{class e{get value(){return this.valueSignal()}valueSignal=io("ltr");change=new ht;constructor(){const t=U(Khe,{optional:!0});t&&this.valueSignal.set(function Xhe(e){const n=e?.toLowerCase()||"";return"auto"===n&&typeof navigator<"u"&&navigator?.language?Zhe.test(navigator.language)?"rtl":"ltr":"rtl"===n?"rtl":"ltr"}((t.body?t.body.dir:null)||(t.documentElement?t.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static \u0275fac=function(i){return new(i||e)};static \u0275prov=Ke({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function bf(e){return qr((n,t)=>{fa(e).subscribe(hr(t,()=>t.complete(),zi)),!t.closed&&n.subscribe(t)})}
/**
       * @license Angular v20.3.18
       * (c) 2010-2025 Google LLC. https://angular.dev/
       * License: MIT
       */
function gt(e){e||(e=U(kn));const n=new On(t=>{if(!e.destroyed)return e.onDestroy(t.next.bind(t));t.next()});return t=>t.pipe(bf(n))}function OP(e,n){const i=n?.manualCleanup?null:n?.injector?.get(kn)??U(kn),r=function sfe(e=Object.is){return(n,t)=>1===n.kind&&1===t.kind&&e(n.value,t.value)}(n?.equal);let o,a;o=io(n?.requireSync?{kind:0}:{kind:1,value:n?.initialValue},{equal:r});const s=e.subscribe({next:l=>o.set({kind:1,value:l}),error:l=>{o.set({kind:2,error:l}),a?.()},complete:()=>{a?.()}});if(n?.requireSync&&0===o().kind)throw new ge(601,!1);return a=i?.onDestroy(s.unsubscribe.bind(s)),ko(()=>{const l=o();switch(l.kind){case 1:return l.value;case 2:throw l.error;case 0:throw new ge(601,!1)}},{equal:n?.equal})}function PP(e){return gr((n,t)=>e<=t)}function Wu(e,n=Vr){return e=e??lfe,qr((t,i)=>{let r,o=!0;t.subscribe(hr(i,a=>{const s=n(a);(o||!e(r,s))&&(o=!1,r=s,i.next(a))}))})}function lfe(e,n){return e===n}function fc(e){return e.composedPath?e.composedPath()[0]:e.target}try{L_=typeof Intl<"u"&&Intl.v8BreakIterator}catch{L_=!1}let Cf,Ha=(()=>{class e{_platformId=U(H2);isBrowser=this._platformId?g7(this._platformId):"object"==typeof document&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!(!window.chrome&&!L_)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;constructor(){}static \u0275fac=function(i){return new(i||e)};static \u0275prov=Ke({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function kfe(e){return function xfe(){if(null==Cf&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Cf=!0}))}finally{Cf=Cf||!1}return Cf}()?e:!!e.capture}function RP(e,n=0){return function Efe(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}(e)?Number(e):2===arguments.length?n:0}function wf(e){return e instanceof pn?e.nativeElement:e}const Ife=new Ae("cdk-input-modality-detector-options"),zfe={ignoreKeys:[18,17,224,91,16]},O_={passive:!0,capture:!0};let Afe=(()=>{class e{_platform=U(Ha);_listenerCleanups;modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new on(null);_options;_lastTouchMs=0;_onKeydown=t=>{this._options?.ignoreKeys?.some(i=>i===t.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=fc(t))};_onMousedown=t=>{Date.now()-this._lastTouchMs<650||(this._modality.next(function cfe(e){return 0===e.buttons||0===e.detail}(t)?"keyboard":"mouse"),this._mostRecentTarget=fc(t))};_onTouchstart=t=>{!function ufe(e){const n=e.touches&&e.touches[0]||e.changedTouches&&e.changedTouches[0];return!(!n||-1!==n.identifier||null!=n.radiusX&&1!==n.radiusX||null!=n.radiusY&&1!==n.radiusY)}(t)?(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=fc(t)):this._modality.next("keyboard")};constructor(){const t=U(Gt),i=U(Mr),r=U(Ife,{optional:!0});if(this._options={...zfe,...r},this.modalityDetected=this._modality.pipe(PP(1)),this.modalityChanged=this.modalityDetected.pipe(Wu()),this._platform.isBrowser){const o=U(Ws).createRenderer(null,null);this._listenerCleanups=t.runOutsideAngular(()=>[o.listen(i,"keydown",this._onKeydown,O_),o.listen(i,"mousedown",this._onMousedown,O_),o.listen(i,"touchstart",this._onTouchstart,O_)])}}ngOnDestroy(){this._modality.complete(),this._listenerCleanups?.forEach(t=>t())}static \u0275fac=function(i){return new(i||e)};static \u0275prov=Ke({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var J8=function(e){return e[e.IMMEDIATE=0]="IMMEDIATE",e[e.EVENTUAL=1]="EVENTUAL",e}(J8||{});const Lfe=new Ae("cdk-focus-monitor-default-options"),ep=kfe({passive:!0,capture:!0});let Sf=(()=>{class e{_ngZone=U(Gt);_platform=U(Ha);_inputModalityDetector=U(Afe);_origin=null;_lastFocusOrigin;_windowFocused=!1;_windowFocusTimeoutId;_originTimeoutId;_originFromTouchInteraction=!1;_elementInfo=new Map;_monitoredElementCount=0;_rootNodeFocusListenerCount=new Map;_detectionMode;_windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)};_document=U(Mr);_stopInputModalityDetector=new Dt;constructor(){const t=U(Lfe,{optional:!0});this._detectionMode=t?.detectionMode||J8.IMMEDIATE}_rootNodeFocusAndBlurListener=t=>{for(let r=fc(t);r;r=r.parentElement)"focus"===t.type?this._onFocus(t,r):this._onBlur(t,r)};monitor(t,i=!1){const r=wf(t);if(!this._platform.isBrowser||1!==r.nodeType)return Kt();const o=function Dfe(e){if(function Tfe(){if(null==A_){const e=typeof document<"u"?document.head:null;A_=!(!e||!e.createShadowRoot&&!e.attachShadow)}return A_}()){const n=e.getRootNode?e.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&n instanceof ShadowRoot)return n}return null}(r)||this._document,a=this._elementInfo.get(r);if(a)return i&&(a.checkChildren=!0),a.subject;const s={checkChildren:i,subject:new Dt,rootNode:o};return this._elementInfo.set(r,s),this._registerGlobalListeners(s),s.subject}stopMonitoring(t){const i=wf(t),r=this._elementInfo.get(i);r&&(r.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(r))}focusVia(t,i,r){const o=wf(t);o===this._document.activeElement?this._getClosestElementsInfo(o).forEach(([s,l])=>this._originChanged(s,i,l)):(this._setOrigin(i),"function"==typeof o.focus&&o.focus(r))}ngOnDestroy(){this._elementInfo.forEach((t,i)=>this.stopMonitoring(i))}_getWindow(){return this._document.defaultView||window}_getFocusOrigin(t){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(t)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:t&&this._isLastInteractionFromInputLabel(t)?"mouse":"program"}_shouldBeAttributedToTouch(t){return this._detectionMode===J8.EVENTUAL||!!t?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(t,i){t.classList.toggle("cdk-focused",!!i),t.classList.toggle("cdk-touch-focused","touch"===i),t.classList.toggle("cdk-keyboard-focused","keyboard"===i),t.classList.toggle("cdk-mouse-focused","mouse"===i),t.classList.toggle("cdk-program-focused","program"===i)}_setOrigin(t,i=!1){this._ngZone.runOutsideAngular(()=>{this._origin=t,this._originFromTouchInteraction="touch"===t&&i,this._detectionMode===J8.IMMEDIATE&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(t,i){const r=this._elementInfo.get(i),o=fc(t);!r||!r.checkChildren&&i!==o||this._originChanged(i,this._getFocusOrigin(o),r)}_onBlur(t,i){const r=this._elementInfo.get(i);!r||r.checkChildren&&t.relatedTarget instanceof Node&&i.contains(t.relatedTarget)||(this._setClasses(i),this._emitOrigin(r,null))}_emitOrigin(t,i){t.subject.observers.length&&this._ngZone.run(()=>t.subject.next(i))}_registerGlobalListeners(t){if(!this._platform.isBrowser)return;const i=t.rootNode,r=this._rootNodeFocusListenerCount.get(i)||0;r||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,ep),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,ep)}),this._rootNodeFocusListenerCount.set(i,r+1),1===++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(bf(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!0)}))}_removeGlobalListeners(t){const i=t.rootNode;if(this._rootNodeFocusListenerCount.has(i)){const r=this._rootNodeFocusListenerCount.get(i);r>1?this._rootNodeFocusListenerCount.set(i,r-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,ep),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,ep),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(t,i,r){this._setClasses(t,i),this._emitOrigin(r,i),this._lastFocusOrigin=i}_getClosestElementsInfo(t){const i=[];return this._elementInfo.forEach((r,o)=>{(o===t||r.checkChildren&&o.contains(t))&&i.push([o,r])}),i}_isLastInteractionFromInputLabel(t){const{_mostRecentTarget:i,mostRecentModality:r}=this._inputModalityDetector;if("mouse"!==r||!i||i===t||"INPUT"!==t.nodeName&&"TEXTAREA"!==t.nodeName||t.disabled)return!1;const o=t.labels;if(o)for(let a=0;a<o.length;a++)if(o[a].contains(i))return!0;return!1}static \u0275fac=function(i){return new(i||e)};static \u0275prov=Ke({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Ofe=(()=>{class e{_elementRef=U(pn);_focusMonitor=U(Sf);_monitorSubscription;_focusOrigin=null;cdkFocusChange=new ht;constructor(){}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const t=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(t,1===t.nodeType&&t.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(i=>{this._focusOrigin=i,this.cdkFocusChange.emit(i)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}static \u0275fac=function(i){return new(i||e)};static \u0275dir=_t({type:e,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}return e})();class Pfe extends vt{constructor(n,t){super()}schedule(n,t=0){return this}}const tp={setInterval(e,n,...t){const{delegate:i}=tp;return i?.setInterval?i.setInterval(e,n,...t):setInterval(e,n,...t)},clearInterval(e){const{delegate:n}=tp;return(n?.clearInterval||clearInterval)(e)},delegate:void 0};class P_ extends Pfe{constructor(n,t){super(n,t),this.scheduler=n,this.work=t,this.pending=!1}schedule(n,t=0){var i;if(this.closed)return this;this.state=n;const r=this.id,o=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(o,r,t)),this.pending=!0,this.delay=t,this.id=null!==(i=this.id)&&void 0!==i?i:this.requestAsyncId(o,this.id,t),this}requestAsyncId(n,t,i=0){return tp.setInterval(n.flush.bind(n,this),i)}recycleAsyncId(n,t,i=0){if(null!=i&&this.delay===i&&!1===this.pending)return t;null!=t&&tp.clearInterval(t)}execute(n,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(n,t);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,t){let r,i=!1;try{this.work(n)}catch(o){i=!0,r=o||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),r}unsubscribe(){if(!this.closed){const{id:n,scheduler:t}=this,{actions:i}=t;this.work=this.state=this.scheduler=null,this.pending=!1,Rn(i,this),null!=n&&(this.id=this.recycleAsyncId(t,n,null)),this.delay=null,super.unsubscribe()}}}class Mf{constructor(n,t=Mf.now){this.schedulerActionCtor=n,this.now=t}schedule(n,t=0,i){return new this.schedulerActionCtor(this,n).schedule(i,t)}}Mf.now=ov.now;class N_ extends Mf{constructor(n,t=Mf.now){super(n,t),this.actions=[],this._active=!1}flush(n){const{actions:t}=this;if(this._active)return void t.push(n);let i;this._active=!0;do{if(i=n.execute(n.state,n.delay))break}while(n=t.shift());if(this._active=!1,i){for(;n=t.shift();)n.unsubscribe();throw i}}}const np=new N_(P_),Nfe=np;function ip(e,n=np){return qr((t,i)=>{let r=null,o=null,a=null;const s=()=>{if(r){r.unsubscribe(),r=null;const c=o;o=null,i.next(c)}};function l(){const c=a+e,h=n.now();if(h<c)return r=this.schedule(void 0,c-h),void i.add(r);s()}t.subscribe(hr(i,c=>{o=c,a=n.now(),r||(r=n.schedule(l,e),i.add(r))},()=>{s(),i.complete()},void 0,()=>{o=r=null}))})}const Tf={schedule(e){let n=requestAnimationFrame,t=cancelAnimationFrame;const{delegate:i}=Tf;i&&(n=i.requestAnimationFrame,t=i.cancelAnimationFrame);const r=n(o=>{t=void 0,e(o)});return new vt(()=>t?.(r))},requestAnimationFrame(...e){const{delegate:n}=Tf;return(n?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){const{delegate:n}=Tf;return(n?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0},F_=new class Rfe extends N_{flush(n){let t;this._active=!0,n?t=n.id:(t=this._scheduled,this._scheduled=void 0);const{actions:i}=this;let r;n=n||i.shift();do{if(r=n.execute(n.state,n.delay))break}while((n=i[0])&&n.id===t&&i.shift());if(this._active=!1,r){for(;(n=i[0])&&n.id===t&&i.shift();)n.unsubscribe();throw r}}}(class Ffe extends P_{constructor(n,t){super(n,t),this.scheduler=n,this.work=t}requestAsyncId(n,t,i=0){return null!==i&&i>0?super.requestAsyncId(n,t,i):(n.actions.push(this),n._scheduled||(n._scheduled=Tf.requestAnimationFrame(()=>n.flush(void 0))))}recycleAsyncId(n,t,i=0){var r;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(n,t,i);const{actions:o}=n;null!=t&&t===n._scheduled&&(null===(r=o[o.length-1])||void 0===r?void 0:r.id)!==t&&(Tf.cancelAnimationFrame(t),n._scheduled=void 0)}});let R_,Hfe=1;const rp={};function VP(e){return e in rp&&(delete rp[e],!0)}const Vfe={setImmediate(e){const n=Hfe++;return rp[n]=!0,R_||(R_=Promise.resolve()),R_.then(()=>VP(n)&&e()),n},clearImmediate(e){VP(e)}},{setImmediate:Bfe,clearImmediate:Ufe}=Vfe,op={setImmediate(...e){const{delegate:n}=op;return(n?.setImmediate||Bfe)(...e)},clearImmediate(e){const{delegate:n}=op;return(n?.clearImmediate||Ufe)(e)},delegate:void 0},ap=new class Yfe extends N_{flush(n){this._active=!0;const t=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let r;n=n||i.shift();do{if(r=n.execute(n.state,n.delay))break}while((n=i[0])&&n.id===t&&i.shift());if(this._active=!1,r){for(;(n=i[0])&&n.id===t&&i.shift();)n.unsubscribe();throw r}}}(class qfe extends P_{constructor(n,t){super(n,t),this.scheduler=n,this.work=t}requestAsyncId(n,t,i=0){return null!==i&&i>0?super.requestAsyncId(n,t,i):(n.actions.push(this),n._scheduled||(n._scheduled=op.setImmediate(n.flush.bind(n,void 0))))}recycleAsyncId(n,t,i=0){var r;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(n,t,i);const{actions:o}=n;null!=t&&(null===(r=o[o.length-1])||void 0===r?void 0:r.id)!==t&&(op.clearImmediate(t),n._scheduled===t&&(n._scheduled=void 0))}});let e4e=(()=>{class e{_doc;constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}static \u0275fac=function(i){return new(i||e)(Ft(Mr))};static \u0275prov=Ke({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),H_=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275prov=Ke({token:e,factory:function(i){let r=null;return r=i?new(i||e):Ft(r4e),r},providedIn:"root"})}return e})(),r4e=(()=>{class e extends H_{_doc;constructor(t){super(),this._doc=t}sanitize(t,i){if(null==i)return null;switch(t){case Cs.NONE:return i;case Cs.HTML:return Jl(i,"HTML")?bs(i):uS(this._doc,String(i)).toString();case Cs.STYLE:return Jl(i,"Style")?bs(i):i;case Cs.SCRIPT:if(Jl(i,"Script"))return bs(i);throw new ge(5200,!1);case Cs.URL:return Jl(i,"URL")?bs(i):q2(String(i));case Cs.RESOURCE_URL:if(Jl(i,"ResourceURL"))return bs(i);throw new ge(5201,!1);default:throw new ge(5202,!1)}}bypassSecurityTrustHtml(t){return function XB(e){return new $B(e)}(t)}bypassSecurityTrustStyle(t){return function JB(e){return new WB(e)}(t)}bypassSecurityTrustScript(t){return function eU(e){return new GB(e)}(t)}bypassSecurityTrustUrl(t){return function tU(e){return new KB(e)}(t)}bypassSecurityTrustResourceUrl(t){return function nU(e){return new QB(e)}(t)}static \u0275fac=function(i){return new(i||e)(Ft(Mr))};static \u0275prov=Ke({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Qo(e,n,t){const i=zt(e)||n||t?{next:e,error:n,complete:t}:e;return i?qr((r,o)=>{var a;null===(a=i.subscribe)||void 0===a||a.call(i);let s=!0;r.subscribe(hr(o,l=>{var c;null===(c=i.next)||void 0===c||c.call(i,l),o.next(l)},()=>{var l;s=!1,null===(l=i.complete)||void 0===l||l.call(i),o.complete()},l=>{var c;s=!1,null===(c=i.error)||void 0===c||c.call(i,l),o.error(l)},()=>{var l,c;s&&(null===(l=i.unsubscribe)||void 0===l||l.call(i)),null===(c=i.finalize)||void 0===c||c.call(i)}))}):Vr}function r0(e){return qr((n,t)=>{let o,i=null,r=!1;i=n.subscribe(hr(t,void 0,void 0,a=>{o=fa(e(a,r0(e)(n))),i?(i.unsubscribe(),i=null,o.subscribe(t)):r=!0})),r&&(i.unsubscribe(),i=null,o.subscribe(t))})}function V_(e,n,...t){if(!0===n)return void e();if(!1===n)return;const i=new br({next:()=>{i.unsubscribe(),e()}});return fa(n(...t)).subscribe(i)}function pc(e){return e<=0?()=>ds:qr((n,t)=>{let i=0;n.subscribe(hr(t,r=>{++i<=e&&(t.next(r),e<=i&&t.complete())}))})}const Zo=Math.round;function B_(e,n){const t=e.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],i=t.map(r=>parseFloat(r));for(let r=0;r<3;r+=1)i[r]=n(i[r]||0,t[r]||"",r);return i[3]=t[3]?t[3].includes("%")?i[3]/100:i[3]:1,i}const KP=(e,n,t)=>0===t?e:e/100;function kf(e,n){const t=n||255;return e>t?t:e<0?0:e}class Hd{constructor(n){function t(i){return i[0]in n&&i[1]in n&&i[2]in n}if(st(this,"isValid",!0),st(this,"r",0),st(this,"g",0),st(this,"b",0),st(this,"a",1),st(this,"_h",void 0),st(this,"_s",void 0),st(this,"_l",void 0),st(this,"_v",void 0),st(this,"_max",void 0),st(this,"_min",void 0),st(this,"_brightness",void 0),n)if("string"==typeof n){let r=function(o){return i.startsWith(o)};const i=n.trim();/^#?[A-F\d]{3,8}$/i.test(i)?this.fromHexString(i):r("rgb")?this.fromRgbString(i):r("hsl")?this.fromHslString(i):(r("hsv")||r("hsb"))&&this.fromHsvString(i)}else if(n instanceof Hd)this.r=n.r,this.g=n.g,this.b=n.b,this.a=n.a,this._h=n._h,this._s=n._s,this._l=n._l,this._v=n._v;else if(t("rgb"))this.r=kf(n.r),this.g=kf(n.g),this.b=kf(n.b),this.a="number"==typeof n.a?kf(n.a,1):1;else if(t("hsl"))this.fromHsl(n);else{if(!t("hsv"))throw new Error("@ant-design/fast-color: unsupported input "+JSON.stringify(n));this.fromHsv(n)}}setR(n){return this._sc("r",n)}setG(n){return this._sc("g",n)}setB(n){return this._sc("b",n)}setA(n){return this._sc("a",n,1)}setHue(n){const t=this.toHsv();return t.h=n,this._c(t)}getLuminance(){function n(o){const a=o/255;return a<=.03928?a/12.92:Math.pow((a+.055)/1.055,2.4)}return.2126*n(this.r)+.7152*n(this.g)+.0722*n(this.b)}getHue(){if(typeof this._h>"u"){const n=this.getMax()-this.getMin();this._h=0===n?0:Zo(60*(this.r===this.getMax()?(this.g-this.b)/n+(this.g<this.b?6:0):this.g===this.getMax()?(this.b-this.r)/n+2:(this.r-this.g)/n+4))}return this._h}getSaturation(){if(typeof this._s>"u"){const n=this.getMax()-this.getMin();this._s=0===n?0:n/this.getMax()}return this._s}getLightness(){return typeof this._l>"u"&&(this._l=(this.getMax()+this.getMin())/510),this._l}getValue(){return typeof this._v>"u"&&(this._v=this.getMax()/255),this._v}getBrightness(){return typeof this._brightness>"u"&&(this._brightness=(299*this.r+587*this.g+114*this.b)/1e3),this._brightness}darken(n=10){const t=this.getHue(),i=this.getSaturation();let r=this.getLightness()-n/100;return r<0&&(r=0),this._c({h:t,s:i,l:r,a:this.a})}lighten(n=10){const t=this.getHue(),i=this.getSaturation();let r=this.getLightness()+n/100;return r>1&&(r=1),this._c({h:t,s:i,l:r,a:this.a})}mix(n,t=50){const i=this._c(n),r=t/100,o=s=>(i[s]-this[s])*r+this[s],a={r:Zo(o("r")),g:Zo(o("g")),b:Zo(o("b")),a:Zo(100*o("a"))/100};return this._c(a)}tint(n=10){return this.mix({r:255,g:255,b:255,a:1},n)}shade(n=10){return this.mix({r:0,g:0,b:0,a:1},n)}onBackground(n){const t=this._c(n),i=this.a+t.a*(1-this.a),r=o=>Zo((this[o]*this.a+t[o]*t.a*(1-this.a))/i);return this._c({r:r("r"),g:r("g"),b:r("b"),a:i})}isDark(){return this.getBrightness()<128}isLight(){return this.getBrightness()>=128}equals(n){return this.r===n.r&&this.g===n.g&&this.b===n.b&&this.a===n.a}clone(){return this._c(this)}toHexString(){let n="#";const t=(this.r||0).toString(16);n+=2===t.length?t:"0"+t;const i=(this.g||0).toString(16);n+=2===i.length?i:"0"+i;const r=(this.b||0).toString(16);if(n+=2===r.length?r:"0"+r,"number"==typeof this.a&&this.a>=0&&this.a<1){const o=Zo(255*this.a).toString(16);n+=2===o.length?o:"0"+o}return n}toHsl(){return{h:this.getHue(),s:this.getSaturation(),l:this.getLightness(),a:this.a}}toHslString(){const n=this.getHue(),t=Zo(100*this.getSaturation()),i=Zo(100*this.getLightness());return 1!==this.a?`hsla(${n},${t}%,${i}%,${this.a})`:`hsl(${n},${t}%,${i}%)`}toHsv(){return{h:this.getHue(),s:this.getSaturation(),v:this.getValue(),a:this.a}}toRgb(){return{r:this.r,g:this.g,b:this.b,a:this.a}}toRgbString(){return 1!==this.a?`rgba(${this.r},${this.g},${this.b},${this.a})`:`rgb(${this.r},${this.g},${this.b})`}toString(){return this.toRgbString()}_sc(n,t,i){const r=this.clone();return r[n]=kf(t,i),r}_c(n){return new this.constructor(n)}getMax(){return typeof this._max>"u"&&(this._max=Math.max(this.r,this.g,this.b)),this._max}getMin(){return typeof this._min>"u"&&(this._min=Math.min(this.r,this.g,this.b)),this._min}fromHexString(n){const t=n.replace("#","");function i(r,o){return parseInt(t[r]+t[o||r],16)}t.length<6?(this.r=i(0),this.g=i(1),this.b=i(2),this.a=t[3]?i(3)/255:1):(this.r=i(0,1),this.g=i(2,3),this.b=i(4,5),this.a=t[6]?i(6,7)/255:1)}fromHsl({h:n,s:t,l:i,a:r}){if(this._h=n%360,this._s=t,this._l=i,this.a="number"==typeof r?r:1,t<=0){const S=Zo(255*i);this.r=S,this.g=S,this.b=S}let o=0,a=0,s=0;const l=n/60,c=(1-Math.abs(2*i-1))*t,h=c*(1-Math.abs(l%2-1));l>=0&&l<1?(o=c,a=h):l>=1&&l<2?(o=h,a=c):l>=2&&l<3?(a=c,s=h):l>=3&&l<4?(a=h,s=c):l>=4&&l<5?(o=h,s=c):l>=5&&l<6&&(o=c,s=h);const p=i-c/2;this.r=Zo(255*(o+p)),this.g=Zo(255*(a+p)),this.b=Zo(255*(s+p))}fromHsv({h:n,s:t,v:i,a:r}){this._h=n%360,this._s=t,this._v=i,this.a="number"==typeof r?r:1;const o=Zo(255*i);if(this.r=o,this.g=o,this.b=o,t<=0)return;const a=n/60,s=Math.floor(a),l=a-s,c=Zo(i*(1-t)*255),h=Zo(i*(1-t*l)*255),p=Zo(i*(1-t*(1-l))*255);switch(s){case 0:this.g=p,this.b=c;break;case 1:this.r=h,this.b=c;break;case 2:this.r=c,this.b=p;break;case 3:this.r=c,this.g=h;break;case 4:this.r=p,this.g=c;break;default:this.g=c,this.b=h}}fromHsvString(n){const t=B_(n,KP);this.fromHsv({h:t[0],s:t[1],v:t[2],a:t[3]})}fromHslString(n){const t=B_(n,KP);this.fromHsl({h:t[0],s:t[1],l:t[2],a:t[3]})}fromRgbString(n){const t=B_(n,(i,r)=>r.includes("%")?Zo(i/100*255):i);this.r=t[0],this.g=t[1],this.b=t[2],this.a=t[3]}}var c4e=[{index:7,amount:15},{index:6,amount:25},{index:5,amount:30},{index:5,amount:45},{index:5,amount:65},{index:5,amount:85},{index:4,amount:90},{index:3,amount:95},{index:2,amount:97},{index:1,amount:98}];function JP(e,n,t){var i;return(i=Math.round(e.h)>=60&&Math.round(e.h)<=240?t?Math.round(e.h)-2*n:Math.round(e.h)+2*n:t?Math.round(e.h)+2*n:Math.round(e.h)-2*n)<0?i+=360:i>=360&&(i-=360),i}function eN(e,n,t){return 0===e.h&&0===e.s?e.s:((i=t?e.s-.16*n:4===n?e.s+.16:e.s+.05*n)>1&&(i=1),t&&5===n&&i>.1&&(i=.1),i<.06&&(i=.06),Math.round(100*i)/100);var i}function tN(e,n,t){var i;return i=t?e.v+.05*n:e.v-.15*n,i=Math.max(0,Math.min(1,i)),Math.round(100*i)/100}var U_=["#fff1f0","#ffccc7","#ffa39e","#ff7875","#ff4d4f","#f5222d","#cf1322","#a8071a","#820014","#5c0011"];U_.primary=U_[5];var q_=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];q_.primary=q_[5];var Y_=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];Y_.primary=Y_[5];var j_=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];j_.primary=j_[5];var $_=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];$_.primary=$_[5];var W_=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];W_.primary=W_[5];var G_=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];G_.primary=G_[5];var K_=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];K_.primary=K_[5];var Q_=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];Q_.primary=Q_[5];var Z_=["#f0f5ff","#d6e4ff","#adc6ff","#85a5ff","#597ef7","#2f54eb","#1d39c4","#10239e","#061178","#030852"];Z_.primary=Z_[5];var X_=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];X_.primary=X_[5];var J_=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];J_.primary=J_[5];var ey=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];ey.primary=ey[5];var ty=["#2a1215","#431418","#58181c","#791a1f","#a61d24","#d32029","#e84749","#f37370","#f89f9a","#fac8c3"];ty.primary=ty[5];var ny=["#2b1611","#441d12","#592716","#7c3118","#aa3e19","#d84a1b","#e87040","#f3956a","#f8b692","#fad4bc"];ny.primary=ny[5];var iy=["#2b1d11","#442a11","#593815","#7c4a15","#aa6215","#d87a16","#e89a3c","#f3b765","#f8cf8d","#fae3b7"];iy.primary=iy[5];var ry=["#2b2111","#443111","#594214","#7c5914","#aa7714","#d89614","#e8b339","#f3cc62","#f8df8b","#faedb5"];ry.primary=ry[5];var oy=["#2b2611","#443b11","#595014","#7c6e14","#aa9514","#d8bd14","#e8d639","#f3ea62","#f8f48b","#fafab5"];oy.primary=oy[5];var ay=["#1f2611","#2e3c10","#3e4f13","#536d13","#6f9412","#8bbb11","#a9d134","#c9e75d","#e4f88b","#f0fab5"];ay.primary=ay[5];var sy=["#162312","#1d3712","#274916","#306317","#3c8618","#49aa19","#6abe39","#8fd460","#b2e58b","#d5f2bb"];sy.primary=sy[5];var ly=["#112123","#113536","#144848","#146262","#138585","#13a8a8","#33bcb7","#58d1c9","#84e2d8","#b2f1e8"];ly.primary=ly[5];var cy=["#111a2c","#112545","#15325b","#15417e","#1554ad","#1668dc","#3c89e8","#65a9f3","#8dc5f8","#b7dcfa"];cy.primary=cy[5];var uy=["#131629","#161d40","#1c2755","#203175","#263ea0","#2b4acb","#5273e0","#7f9ef3","#a8c1f8","#d2e0fa"];uy.primary=uy[5];var dy=["#1a1325","#24163a","#301c4d","#3e2069","#51258f","#642ab5","#854eca","#ab7ae0","#cda8f0","#ebd7fa"];dy.primary=dy[5];var hy=["#291321","#40162f","#551c3b","#75204f","#a02669","#cb2b83","#e0529c","#f37fb7","#f8a8cc","#fad2e3"];hy.primary=hy[5];var fy=["#151515","#1f1f1f","#2d2d2d","#393939","#494949","#5a5a5a","#6a6a6a","#7b7b7b","#888888","#969696"];fy.primary=fy[5];const Jc="[@ant-design/icons-angular]:";function iN(e){return function u4e(e){for(var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=[],i=new Hd(e),r=i.toHsv(),o=5;o>0;o-=1){var a=new Hd({h:JP(r,o,!0),s:eN(r,o,!0),v:tN(r,o,!0)});t.push(a)}t.push(i);for(var s=1;s<=4;s+=1){var l=new Hd({h:JP(r,s),s:eN(r,s),v:tN(r,s)});t.push(l)}return"dark"===n.theme?c4e.map(function(c){var h=c.index,p=c.amount;return new Hd(n.backgroundColor||"#141414").mix(t[h],p).toHexString()}):t.map(function(c){return c.toHexString()})}(e)[0]}function lp(e,n){switch(n){case"fill":return`${e}-fill`;case"outline":return`${e}-o`;case"twotone":return`${e}-twotone`;case void 0:return e;default:throw new Error(`${Jc}Theme "${n}" is not a recognized theme!`)}}function rN(e){return"object"==typeof e&&"string"==typeof e.name&&("string"==typeof e.theme||void 0===e.theme)&&"string"==typeof e.icon}function cp(e){const n=e.split(":");switch(n.length){case 1:return[e,""];case 2:return[n[1],n[0]];default:throw new Error(`${Jc}The icon type ${e} is not valid!`)}}function oN(e){return new Error(`${Jc}the icon ${e} does not exist or is not registered.`)}function S4e(){return new Error(`${Jc}<svg> tag not found.`)}const aN=new Ae("ant_icons");let sN=(()=>{class e{set twoToneColor({primaryColor:t,secondaryColor:i}){this._twoToneColorPalette.primaryColor=t,this._twoToneColorPalette.secondaryColor=i||iN(t)}get twoToneColor(){return{...this._twoToneColorPalette}}get _disableDynamicLoading(){return!1}constructor(t){this._antIcons=t,this.defaultTheme="outline",this._svgDefinitions=new Map,this._svgRenderedDefinitions=new Map,this._inProgressFetches=new Map,this._assetsUrlRoot="",this._twoToneColorPalette={primaryColor:"#333333",secondaryColor:"#E6E6E6"},this._enableJsonpLoading=!1,this._jsonpIconLoad$=new Dt,this._rendererFactory=U(Ws),this._handler=U(af,{optional:!0}),this._document=U(Mr),this.sanitizer=U(H_),this._renderer=this._rendererFactory.createRenderer(null,null),this._handler&&(this._http=new VL(this._handler)),this._antIcons&&this.addIcon(...this._antIcons)}useJsonpLoading(){this._enableJsonpLoading||(this._enableJsonpLoading=!0,window.__ant_icon_load=t=>{this._jsonpIconLoad$.next(t)})}changeAssetsSource(t){this._assetsUrlRoot=t.endsWith("/")?t:t+"/"}addIcon(...t){t.forEach(i=>{this._svgDefinitions.set(lp(i.name,i.theme),i)})}addIconLiteral(t,i){const[r,o]=cp(t);if(!o)throw function b4e(){return new Error(`${Jc}Type should have a namespace. Try "namespace:${name}".`)}();this.addIcon({name:t,icon:i})}clear(){this._svgDefinitions.clear(),this._svgRenderedDefinitions.clear()}getRenderedContent(t,i){const r=rN(t)?t:this._svgDefinitions.get(t)||null;if(!r&&this._disableDynamicLoading)throw oN(t);return(r?Kt(r):this._loadIconDynamically(t)).pipe(Wt(a=>{if(!a)throw oN(t);return this._loadSVGFromCacheOrCreateNew(a,i)}))}getCachedIcons(){return this._svgDefinitions}_loadIconDynamically(t){if(!this._http&&!this._enableJsonpLoading)return Kt(function C4e(){return function h4e(e){console.error(`${Jc} ${e}.`)}('you need to import "HttpClientModule" to use dynamic importing.'),null}());let i=this._inProgressFetches.get(t);if(!i){const[r,o]=cp(t),a=o?{name:t,icon:""}:function g4e(e){const n=e.split("-"),t=function p4e(e){return"o"===e?"outline":e}(n.splice(n.length-1,1)[0]);return{name:n.join("-"),theme:t,icon:""}}(r),l=(o?`${this._assetsUrlRoot}assets/${o}/${r}`:`${this._assetsUrlRoot}assets/${a.theme}/${a.name}`)+(this._enableJsonpLoading?".js":".svg"),c=this.sanitizer.sanitize(Cs.URL,l);if(!c)throw function w4e(e){return new Error(`${Jc}The url "${e}" is unsafe.`)}(l);i=(this._enableJsonpLoading?this._loadIconDynamicallyWithJsonp(a,c):this._http.get(c,{responseType:"text"}).pipe(Wt(p=>({...a,icon:p})))).pipe(Qo(p=>this.addIcon(p)),Vu(()=>this._inProgressFetches.delete(t)),r0(()=>Kt(null)),function o4e(e={}){const{connector:n=()=>new Dt,resetOnError:t=!0,resetOnComplete:i=!0,resetOnRefCountZero:r=!0}=e;return o=>{let a,s,l,c=0,h=!1,p=!1;const S=()=>{s?.unsubscribe(),s=void 0},v=()=>{S(),a=l=void 0,h=p=!1},C=()=>{const P=a;v(),P?.unsubscribe()};return qr((P,Z)=>{c++,!p&&!h&&S();const re=l=l??n();Z.add(()=>{c--,0===c&&!p&&!h&&(s=V_(C,r))}),re.subscribe(Z),!a&&c>0&&(a=new br({next:ie=>re.next(ie),error:ie=>{p=!0,S(),s=V_(v,t,ie),re.error(ie)},complete:()=>{h=!0,S(),s=V_(v,i),re.complete()}}),fa(P).subscribe(a))})(o)}}()),this._inProgressFetches.set(t,i)}return i}_loadIconDynamicallyWithJsonp(t,i){return new On(r=>{const o=this._document.createElement("script"),a=setTimeout(()=>{s(),r.error(function M4e(){return new Error(`${Jc}Importing timeout error.`)}())},6e3);function s(){o.parentNode.removeChild(o),clearTimeout(a)}o.src=i,this._document.body.appendChild(o),this._jsonpIconLoad$.pipe(gr(l=>l.name===t.name&&l.theme===t.theme),pc(1)).subscribe(l=>{r.next(l),s()})})}_loadSVGFromCacheOrCreateNew(t,i){let r;const o=i||this._twoToneColorPalette.primaryColor,a=iN(o)||this._twoToneColorPalette.secondaryColor,s="twotone"===t.theme?function f4e(e,n,t,i){return`${lp(e,n)}-${t}-${i}`}(t.name,t.theme,o,a):void 0===t.theme?t.name:lp(t.name,t.theme),l=this._svgRenderedDefinitions.get(s);return l?r=l.icon:(r=this._setSVGAttribute(this._colorizeSVGIcon(this._createSVGElementFromString(function y4e(e){return""!==cp(e)[1]}(t.name)?t.icon:function _4e(e){return e.replace(/['"]#333['"]/g,'"primaryColor"').replace(/['"]#E6E6E6['"]/g,'"secondaryColor"').replace(/['"]#D9D9D9['"]/g,'"secondaryColor"').replace(/['"]#D8D8D8['"]/g,'"secondaryColor"')}(t.icon)),"twotone"===t.theme,o,a)),this._svgRenderedDefinitions.set(s,{...t,icon:r})),function v4e(e){return e.cloneNode(!0)}(r)}_createSVGElementFromString(t){const i=this._document.createElement("div");i.innerHTML=t;const r=i.querySelector("svg");if(!r)throw S4e;return r}_setSVGAttribute(t){return this._renderer.setAttribute(t,"width","1em"),this._renderer.setAttribute(t,"height","1em"),t}_colorizeSVGIcon(t,i,r,o){if(i){const a=t.childNodes,s=a.length;for(let l=0;l<s;l++){const c=a[l];"secondaryColor"===c.getAttribute("fill")?this._renderer.setAttribute(c,"fill",o):this._renderer.setAttribute(c,"fill",r)}}return this._renderer.setAttribute(t,"fill","currentColor"),t}static{this.\u0275fac=function(i){return new(i||e)(Ft(aN,8))}}static{this.\u0275prov=Ke({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),x4e=(()=>{class e{constructor(t){this._iconService=t,this._elementRef=U(pn),this._renderer=U(oo)}ngOnChanges(t){(t.type||t.theme||t.twoToneColor)&&this._changeIcon()}_changeIcon(){return new Promise(t=>{if(!this.type)return this._clearSVGElement(),void t(null);const i=this._getSelfRenderMeta();this._iconService.getRenderedContent(this._parseIconType(this.type,this.theme),this.twoToneColor).subscribe(r=>{const o=this._getSelfRenderMeta();!function D4e(e,n){return e.type===n.type&&e.theme===n.theme&&e.twoToneColor===n.twoToneColor}(i,o)?t(null):(this._setSVGElement(r),t(r))})})}_getSelfRenderMeta(){return{type:this.type,theme:this.theme,twoToneColor:this.twoToneColor}}_parseIconType(t,i){if(rN(t))return t;{const[r,o]=cp(t);return o?t:function m4e(e){return e.endsWith("-fill")||e.endsWith("-o")||e.endsWith("-twotone")}(r)?r:lp(r,i||this._iconService.defaultTheme)}}_setSVGElement(t){this._clearSVGElement(),this._renderer.appendChild(this._elementRef.nativeElement,t)}_clearSVGElement(){const t=this._elementRef.nativeElement,i=t.childNodes;for(let o=i.length-1;o>=0;o--){const a=i[o];"svg"===a.tagName?.toLowerCase()&&this._renderer.removeChild(t,a)}}static{this.\u0275fac=function(i){return new(i||e)(xe(sN))}}static{this.\u0275dir=_t({type:e,selectors:[["","antIcon",""]],inputs:{type:"type",theme:"theme",twoToneColor:"twoToneColor"},features:[wn]})}}return e})();function ya(e,n){(function k4e(e){return"string"==typeof e&&-1!==e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var t=function E4e(e){return"string"==typeof e&&-1!==e.indexOf("%")}(e);return e=360===n?e:Math.min(n,Math.max(0,parseFloat(e))),t&&(e=parseInt(String(e*n),10)/100),Math.abs(e-n)<1e-6?1:e=360===n?(e<0?e%n+n:e%n)/parseFloat(String(n)):e%n/parseFloat(String(n))}function up(e){return Math.min(1,Math.max(0,e))}function lN(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function dp(e){return e<=1?"".concat(100*Number(e),"%"):e}function o0(e){return 1===e.length?"0"+e:String(e)}function cN(e,n,t){e=ya(e,255),n=ya(n,255),t=ya(t,255);var i=Math.max(e,n,t),r=Math.min(e,n,t),o=0,a=0,s=(i+r)/2;if(i===r)a=0,o=0;else{var l=i-r;switch(a=s>.5?l/(2-i-r):l/(i+r),i){case e:o=(n-t)/l+(n<t?6:0);break;case n:o=(t-e)/l+2;break;case t:o=(e-n)/l+4}o/=6}return{h:o,s:a,l:s}}function py(e,n,t){return t<0&&(t+=1),t>1&&(t-=1),t<1/6?e+6*t*(n-e):t<.5?n:t<2/3?e+(n-e)*(2/3-t)*6:e}function my(e,n,t){e=ya(e,255),n=ya(n,255),t=ya(t,255);var i=Math.max(e,n,t),r=Math.min(e,n,t),o=0,a=i,s=i-r,l=0===i?0:s/i;if(i===r)o=0;else{switch(i){case e:o=(n-t)/s+(n<t?6:0);break;case n:o=(t-e)/s+2;break;case t:o=(e-n)/s+4}o/=6}return{h:o,s:l,v:a}}function gy(e,n,t,i){var r=[o0(Math.round(e).toString(16)),o0(Math.round(n).toString(16)),o0(Math.round(t).toString(16))];return i&&r[0].startsWith(r[0].charAt(1))&&r[1].startsWith(r[1].charAt(1))&&r[2].startsWith(r[2].charAt(1))?r[0].charAt(0)+r[1].charAt(0)+r[2].charAt(0):r.join("")}function uN(e){return Math.round(255*parseFloat(e)).toString(16)}function dN(e){return Ls(e)/255}function Ls(e){return parseInt(e,16)}var vy={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function Vd(e){var n={r:0,g:0,b:0},t=1,i=null,r=null,o=null,a=!1,s=!1;return"string"==typeof e&&(e=function F4e(e){if(0===(e=e.trim().toLowerCase()).length)return!1;var n=!1;if(vy[e])e=vy[e],n=!0;else if("transparent"===e)return{r:0,g:0,b:0,a:0,format:"name"};var t=Il.rgb.exec(e);return t?{r:t[1],g:t[2],b:t[3]}:(t=Il.rgba.exec(e))?{r:t[1],g:t[2],b:t[3],a:t[4]}:(t=Il.hsl.exec(e))?{h:t[1],s:t[2],l:t[3]}:(t=Il.hsla.exec(e))?{h:t[1],s:t[2],l:t[3],a:t[4]}:(t=Il.hsv.exec(e))?{h:t[1],s:t[2],v:t[3]}:(t=Il.hsva.exec(e))?{h:t[1],s:t[2],v:t[3],a:t[4]}:(t=Il.hex8.exec(e))?{r:Ls(t[1]),g:Ls(t[2]),b:Ls(t[3]),a:dN(t[4]),format:n?"name":"hex8"}:(t=Il.hex6.exec(e))?{r:Ls(t[1]),g:Ls(t[2]),b:Ls(t[3]),format:n?"name":"hex"}:(t=Il.hex4.exec(e))?{r:Ls(t[1]+t[1]),g:Ls(t[2]+t[2]),b:Ls(t[3]+t[3]),a:dN(t[4]+t[4]),format:n?"name":"hex8"}:!!(t=Il.hex3.exec(e))&&{r:Ls(t[1]+t[1]),g:Ls(t[2]+t[2]),b:Ls(t[3]+t[3]),format:n?"name":"hex"}}(e)),"object"==typeof e&&(eu(e.r)&&eu(e.g)&&eu(e.b)?(n=function I4e(e,n,t){return{r:255*ya(e,255),g:255*ya(n,255),b:255*ya(t,255)}}(e.r,e.g,e.b),a=!0,s="%"===String(e.r).substr(-1)?"prgb":"rgb"):eu(e.h)&&eu(e.s)&&eu(e.v)?(i=dp(e.s),r=dp(e.v),n=function A4e(e,n,t){e=6*ya(e,360),n=ya(n,100),t=ya(t,100);var i=Math.floor(e),r=e-i,o=t*(1-n),a=t*(1-r*n),s=t*(1-(1-r)*n),l=i%6;return{r:255*[t,a,o,o,s,t][l],g:255*[s,t,t,a,o,o][l],b:255*[o,o,s,t,t,a][l]}}(e.h,i,r),a=!0,s="hsv"):eu(e.h)&&eu(e.s)&&eu(e.l)&&(i=dp(e.s),o=dp(e.l),n=function z4e(e,n,t){var i,r,o;if(e=ya(e,360),n=ya(n,100),t=ya(t,100),0===n)r=t,o=t,i=t;else{var a=t<.5?t*(1+n):t+n-t*n,s=2*t-a;i=py(s,a,e+1/3),r=py(s,a,e),o=py(s,a,e-1/3)}return{r:255*i,g:255*r,b:255*o}}(e.h,i,o),a=!0,s="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(t=e.a)),t=lN(t),{ok:a,format:e.format||s,r:Math.min(255,Math.max(n.r,0)),g:Math.min(255,Math.max(n.g,0)),b:Math.min(255,Math.max(n.b,0)),a:t}}var Ku="(?:".concat("[-\\+]?\\d*\\.\\d+%?",")|(?:").concat("[-\\+]?\\d+%?",")"),_y="[\\s|\\(]+(".concat(Ku,")[,|\\s]+(").concat(Ku,")[,|\\s]+(").concat(Ku,")\\s*\\)?"),yy="[\\s|\\(]+(".concat(Ku,")[,|\\s]+(").concat(Ku,")[,|\\s]+(").concat(Ku,")[,|\\s]+(").concat(Ku,")\\s*\\)?"),Il={CSS_UNIT:new RegExp(Ku),rgb:new RegExp("rgb"+_y),rgba:new RegExp("rgba"+yy),hsl:new RegExp("hsl"+_y),hsla:new RegExp("hsla"+yy),hsv:new RegExp("hsv"+_y),hsva:new RegExp("hsva"+yy),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function eu(e){return!!Il.CSS_UNIT.exec(String(e))}var fp=function(){function e(n,t){var i;if(void 0===n&&(n=""),void 0===t&&(t={}),n instanceof e)return n;"number"==typeof n&&(n=function O4e(e){return{r:e>>16,g:(65280&e)>>8,b:255&e}}(n)),this.originalInput=n;var r=Vd(n);this.originalInput=n,this.r=r.r,this.g=r.g,this.b=r.b,this.a=r.a,this.roundA=Math.round(100*this.a)/100,this.format=null!==(i=t.format)&&void 0!==i?i:r.format,this.gradientType=t.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=r.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var n=this.toRgb();return(299*n.r+587*n.g+114*n.b)/1e3},e.prototype.getLuminance=function(){var n=this.toRgb(),o=n.r/255,a=n.g/255,s=n.b/255;return.2126*(o<=.03928?o/12.92:Math.pow((o+.055)/1.055,2.4))+.7152*(a<=.03928?a/12.92:Math.pow((a+.055)/1.055,2.4))+.0722*(s<=.03928?s/12.92:Math.pow((s+.055)/1.055,2.4))},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(n){return this.a=lN(n),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){return 0===this.toHsl().s},e.prototype.toHsv=function(){var n=my(this.r,this.g,this.b);return{h:360*n.h,s:n.s,v:n.v,a:this.a}},e.prototype.toHsvString=function(){var n=my(this.r,this.g,this.b),t=Math.round(360*n.h),i=Math.round(100*n.s),r=Math.round(100*n.v);return 1===this.a?"hsv(".concat(t,", ").concat(i,"%, ").concat(r,"%)"):"hsva(".concat(t,", ").concat(i,"%, ").concat(r,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var n=cN(this.r,this.g,this.b);return{h:360*n.h,s:n.s,l:n.l,a:this.a}},e.prototype.toHslString=function(){var n=cN(this.r,this.g,this.b),t=Math.round(360*n.h),i=Math.round(100*n.s),r=Math.round(100*n.l);return 1===this.a?"hsl(".concat(t,", ").concat(i,"%, ").concat(r,"%)"):"hsla(".concat(t,", ").concat(i,"%, ").concat(r,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(n){return void 0===n&&(n=!1),gy(this.r,this.g,this.b,n)},e.prototype.toHexString=function(n){return void 0===n&&(n=!1),"#"+this.toHex(n)},e.prototype.toHex8=function(n){return void 0===n&&(n=!1),function L4e(e,n,t,i,r){var o=[o0(Math.round(e).toString(16)),o0(Math.round(n).toString(16)),o0(Math.round(t).toString(16)),o0(uN(i))];return r&&o[0].startsWith(o[0].charAt(1))&&o[1].startsWith(o[1].charAt(1))&&o[2].startsWith(o[2].charAt(1))&&o[3].startsWith(o[3].charAt(1))?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0):o.join("")}(this.r,this.g,this.b,this.a,n)},e.prototype.toHex8String=function(n){return void 0===n&&(n=!1),"#"+this.toHex8(n)},e.prototype.toHexShortString=function(n){return void 0===n&&(n=!1),1===this.a?this.toHexString(n):this.toHex8String(n)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var n=Math.round(this.r),t=Math.round(this.g),i=Math.round(this.b);return 1===this.a?"rgb(".concat(n,", ").concat(t,", ").concat(i,")"):"rgba(".concat(n,", ").concat(t,", ").concat(i,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var n=function(t){return"".concat(Math.round(100*ya(t,255)),"%")};return{r:n(this.r),g:n(this.g),b:n(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var n=function(t){return Math.round(100*ya(t,255))};return 1===this.a?"rgb(".concat(n(this.r),"%, ").concat(n(this.g),"%, ").concat(n(this.b),"%)"):"rgba(".concat(n(this.r),"%, ").concat(n(this.g),"%, ").concat(n(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(0===this.a)return"transparent";if(this.a<1)return!1;for(var n="#"+gy(this.r,this.g,this.b,!1),t=0,i=Object.entries(vy);t<i.length;t++){var r=i[t];if(n===r[1])return r[0]}return!1},e.prototype.toString=function(n){var t=!!n;n=n??this.format;var i=!1;return!t&&this.a<1&&this.a>=0&&(n.startsWith("hex")||"name"===n)?"name"===n&&0===this.a?this.toName():this.toRgbString():("rgb"===n&&(i=this.toRgbString()),"prgb"===n&&(i=this.toPercentageRgbString()),("hex"===n||"hex6"===n)&&(i=this.toHexString()),"hex3"===n&&(i=this.toHexString(!0)),"hex4"===n&&(i=this.toHex8String(!0)),"hex8"===n&&(i=this.toHex8String()),"name"===n&&(i=this.toName()),"hsl"===n&&(i=this.toHslString()),"hsv"===n&&(i=this.toHsvString()),i||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(n){void 0===n&&(n=10);var t=this.toHsl();return t.l+=n/100,t.l=up(t.l),new e(t)},e.prototype.brighten=function(n){void 0===n&&(n=10);var t=this.toRgb();return t.r=Math.max(0,Math.min(255,t.r-Math.round(-n/100*255))),t.g=Math.max(0,Math.min(255,t.g-Math.round(-n/100*255))),t.b=Math.max(0,Math.min(255,t.b-Math.round(-n/100*255))),new e(t)},e.prototype.darken=function(n){void 0===n&&(n=10);var t=this.toHsl();return t.l-=n/100,t.l=up(t.l),new e(t)},e.prototype.tint=function(n){return void 0===n&&(n=10),this.mix("white",n)},e.prototype.shade=function(n){return void 0===n&&(n=10),this.mix("black",n)},e.prototype.desaturate=function(n){void 0===n&&(n=10);var t=this.toHsl();return t.s-=n/100,t.s=up(t.s),new e(t)},e.prototype.saturate=function(n){void 0===n&&(n=10);var t=this.toHsl();return t.s+=n/100,t.s=up(t.s),new e(t)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(n){var t=this.toHsl(),i=(t.h+n)%360;return t.h=i<0?360+i:i,new e(t)},e.prototype.mix=function(n,t){void 0===t&&(t=50);var i=this.toRgb(),r=new e(n).toRgb(),o=t/100;return new e({r:(r.r-i.r)*o+i.r,g:(r.g-i.g)*o+i.g,b:(r.b-i.b)*o+i.b,a:(r.a-i.a)*o+i.a})},e.prototype.analogous=function(n,t){void 0===n&&(n=6),void 0===t&&(t=30);var i=this.toHsl(),r=360/t,o=[this];for(i.h=(i.h-(r*n>>1)+720)%360;--n;)i.h=(i.h+r)%360,o.push(new e(i));return o},e.prototype.complement=function(){var n=this.toHsl();return n.h=(n.h+180)%360,new e(n)},e.prototype.monochromatic=function(n){void 0===n&&(n=6);for(var t=this.toHsv(),i=t.h,r=t.s,o=t.v,a=[],s=1/n;n--;)a.push(new e({h:i,s:r,v:o})),o=(o+s)%1;return a},e.prototype.splitcomplement=function(){var n=this.toHsl(),t=n.h;return[this,new e({h:(t+72)%360,s:n.s,l:n.l}),new e({h:(t+216)%360,s:n.s,l:n.l})]},e.prototype.onBackground=function(n){var t=this.toRgb(),i=new e(n).toRgb(),r=t.a+i.a*(1-t.a);return new e({r:(t.r*t.a+i.r*i.a*(1-t.a))/r,g:(t.g*t.a+i.g*i.a*(1-t.a))/r,b:(t.b*t.a+i.b*i.a*(1-t.a))/r,a:r})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(n){for(var t=this.toHsl(),i=t.h,r=[this],o=360/n,a=1;a<n;a++)r.push(new e({h:(i+a*o)%360,s:t.s,l:t.l}));return r},e.prototype.equals=function(n){return this.toRgbString()===new e(n).toRgbString()},e}();const H4e=["pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime"],Y4e=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function mN({r:e,g:n,b:t}){const i=my(e,n,t);return{h:360*i.h,s:i.s,v:i.v}}function mp({r:e,g:n,b:t}){return`#${gy(e,n,t,!1)}`}function gN(e,n,t){let i;return i=Math.round(e.h)>=60&&Math.round(e.h)<=240?t?Math.round(e.h)-2*n:Math.round(e.h)+2*n:t?Math.round(e.h)+2*n:Math.round(e.h)-2*n,i<0?i+=360:i>=360&&(i-=360),i}function vN(e,n,t){if(0===e.h&&0===e.s)return e.s;let i;return i=t?e.s-.16*n:4===n?e.s+.16:e.s+.05*n,i>1&&(i=1),t&&5===n&&i>.1&&(i=.1),i<.06&&(i=.06),Number(i.toFixed(2))}function _N(e,n,t){let i;return i=t?e.v+.05*n:e.v-.15*n,i>1&&(i=1),Number(i.toFixed(2))}function yN(e,n={}){const t=[],i=Vd(e);for(let r=5;r>0;r-=1){const o=mN(i),a=mp(Vd({h:gN(o,r,!0),s:vN(o,r,!0),v:_N(o,r,!0)}));t.push(a)}t.push(mp(i));for(let r=1;r<=4;r+=1){const o=mN(i),a=mp(Vd({h:gN(o,r),s:vN(o,r),v:_N(o,r)}));t.push(a)}return"dark"===n.theme?Y4e.map(({index:r,opacity:o})=>mp(function j4e(e,n,t){const i=t/100;return{r:(n.r-e.r)*i+e.r,g:(n.g-e.g)*i+e.g,b:(n.b-e.b)*i+e.b}}(Vd(n.backgroundColor||"#141414"),Vd(t[r]),100*o))):t}const bN=new Ae(""),Q4e=`-ant-${Date.now()}-${Math.random()}`;function CN(e,n,t){const i=function Z4e(e,n){const t={},i=(a,s)=>{let l=a.clone();return l=s?.(l)||l,l.toRgbString()},r=(a,s)=>{const l=new fp(a),c=yN(l.toRgbString());t[`${s}-color`]=i(l),t[`${s}-color-disabled`]=c[1],t[`${s}-color-hover`]=c[4],t[`${s}-color-active`]=c[7],t[`${s}-color-outline`]=l.clone().setAlpha(.2).toRgbString(),t[`${s}-color-deprecated-bg`]=c[1],t[`${s}-color-deprecated-border`]=c[3]};if(n.primaryColor){r(n.primaryColor,"primary");const a=new fp(n.primaryColor),s=yN(a.toRgbString());s.forEach((c,h)=>{t[`primary-${h+1}`]=c}),t["primary-color-deprecated-l-35"]=i(a,c=>c.lighten(35)),t["primary-color-deprecated-l-20"]=i(a,c=>c.lighten(20)),t["primary-color-deprecated-t-20"]=i(a,c=>c.tint(20)),t["primary-color-deprecated-t-50"]=i(a,c=>c.tint(50)),t["primary-color-deprecated-f-12"]=i(a,c=>c.setAlpha(.12*c.getAlpha()));const l=new fp(s[0]);t["primary-color-active-deprecated-f-30"]=i(l,c=>c.setAlpha(.3*c.getAlpha())),t["primary-color-active-deprecated-d-02"]=i(l,c=>c.darken(2))}return n.successColor&&r(n.successColor,"success"),n.warningColor&&r(n.warningColor,"warning"),n.errorColor&&r(n.errorColor,"error"),n.infoColor&&r(n.infoColor,"info"),`\n  :root {\n    ${Object.keys(t).map(a=>`--${e}-${a}: ${t[a]};`).join("\n")}\n  }\n  `.trim()}(e,n);SP()&&function Ihe(e,n,t={}){const i=T_(t);if(!D_.has(i)){const a=TP("",t),{parentNode:s}=a;D_.set(i,s),s.removeChild(a)}const r=function DP(e,n={}){const t=T_(n);return Array.from(D_.get(t)?.children||[]).find(i=>"STYLE"===i.tagName&&i.getAttribute(MP(n))===e)}(n,t);if(r)return t.cspNonce&&r.nonce!==t.cspNonce&&(r.nonce=t.cspNonce),r.innerHTML!==e&&(r.innerHTML=e),r;const o=TP(e,t);o?.setAttribute(MP(t),n)}(i,`${Q4e}-dynamic-theme`,{cspNonce:t})}function gp(e){return void 0!==e}let zl=(()=>{class e{configUpdated$=new Dt;_configMap=new Map;config=U(bN,{optional:!0})||{};cspNonce=U(V2,{optional:!0});constructor(){this.config.theme&&CN(this.getConfig().prefixCls?.prefixCls||"ant",this.config.theme,this.cspNonce)}_getConfigValue(t){let i=this._configMap.get(t);return i||(i=io(this.config[t]),this._configMap.set(t,i),i)}getConfig(){return this.config}getConfigForComponent(t){return this.config[t]}getConfigChangeEventForComponent(t){return this.configUpdated$.pipe(gr(i=>i===t),Wt(()=>{}))}set(t,i){this.config[t]={...this.config[t],...i},this._configMap.get(t)?.set(this.config[t]),"theme"===t&&this.config.theme&&CN(this.getConfig().prefixCls?.prefixCls||"ant",this.config.theme,this.cspNonce),this.configUpdated$.next(t)}static \u0275fac=function(i){return new(i||e)};static \u0275prov=Ke({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function SN(e,n){const t=U(kn),i=U(zl);let r=null;const o=Tu(()=>{r=i.getConfigChangeEventForComponent(e).pipe(gt(t)).subscribe(n)});return()=>{o.destroy(),r?.unsubscribe()}}function Er(){return function(e,n){n.addInitializer(function(){const t=U(zl),i=this[n.name];let r,o=!1;Object.defineProperty(this,n.name,{get:()=>{const a=t.getConfigForComponent(this._nzModuleName)?.[n.name];return o?r:gp(a)?a:i},set:a=>{o=gp(a),r=a},enumerable:!0,configurable:!0})})}}const MN={name:"star",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z" /></svg>'},j3e=[{name:"bars",theme:"outline",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z" /></svg>'},{name:"calendar",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z" /></svg>'},{name:"caret-up",theme:"fill",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z" /></svg>'},{name:"caret-up",theme:"outline",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z" /></svg>'},{name:"caret-down",theme:"fill",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z" /></svg>'},{name:"caret-down",theme:"outline",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z" /></svg>'},{name:"check-circle",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z" /></svg>'},{name:"check-circle",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z" /><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /></svg>'},{name:"check",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z" /></svg>'},{name:"clock-circle",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /><path d="M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z" /></svg>'},{name:"close-circle",theme:"outline",icon:'<svg fill-rule="evenodd" viewBox="64 64 896 896" focusable="false"><path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm0 76c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm128.01 198.83c.03 0 .05.01.09.06l45.02 45.01a.2.2 0 01.05.09.12.12 0 010 .07c0 .02-.01.04-.05.08L557.25 512l127.87 127.86a.27.27 0 01.05.06v.02a.12.12 0 010 .07c0 .03-.01.05-.05.09l-45.02 45.02a.2.2 0 01-.09.05.12.12 0 01-.07 0c-.02 0-.04-.01-.08-.05L512 557.25 384.14 685.12c-.04.04-.06.05-.08.05a.12.12 0 01-.07 0c-.03 0-.05-.01-.09-.05l-45.02-45.02a.2.2 0 01-.05-.09.12.12 0 010-.07c0-.02.01-.04.06-.08L466.75 512 338.88 384.14a.27.27 0 01-.05-.06l-.01-.02a.12.12 0 010-.07c0-.03.01-.05.05-.09l45.02-45.02a.2.2 0 01.09-.05.12.12 0 01.07 0c.02 0 .04.01.08.06L512 466.75l127.86-127.86c.04-.05.06-.06.08-.06a.12.12 0 01.07 0z" /></svg>'},{name:"close-circle",theme:"fill",icon:'<svg fill-rule="evenodd" viewBox="64 64 896 896" focusable="false"><path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /></svg>'},{name:"close",theme:"outline",icon:'<svg fill-rule="evenodd" viewBox="64 64 896 896" focusable="false"><path d="M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z" /></svg>'},{name:"copy",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" /></svg>'},{name:"delete",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z" /></svg>'},{name:"double-left",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z" /></svg>'},{name:"double-right",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z" /></svg>'},{name:"down",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /></svg>'},{name:"edit",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z" /></svg>'},{name:"ellipsis",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z" /></svg>'},{name:"exclamation-circle",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z" /></svg>'},{name:"exclamation-circle",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /><path d="M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z" /></svg>'},{name:"eye",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z" /></svg>'},{name:"eye-invisible",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z" /><path d="M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z" /></svg>'},{name:"file",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2z" /></svg>'},{name:"file",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z" /></svg>'},{name:"filter",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z" /></svg>'},{name:"info-circle",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z" /></svg>'},{name:"info-circle",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /><path d="M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z" /></svg>'},{name:"left",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z" /></svg>'},{name:"loading",theme:"outline",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z" /></svg>'},{name:"paper-clip",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z" /></svg>'},{name:"question-circle",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /><path d="M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z" /></svg>'},{name:"right",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z" /></svg>'},{name:"rotate-right",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><defs><style /></defs><path d="M480.5 251.2c13-1.6 25.9-2.4 38.8-2.5v63.9c0 6.5 7.5 10.1 12.6 6.1L660 217.6c4-3.2 4-9.2 0-12.3l-128-101c-5.1-4-12.6-.4-12.6 6.1l-.2 64c-118.6.5-235.8 53.4-314.6 154.2A399.75 399.75 0 00123.5 631h74.9c-.9-5.3-1.7-10.7-2.4-16.1-5.1-42.1-2.1-84.1 8.9-124.8 11.4-42.2 31-81.1 58.1-115.8 27.2-34.7 60.3-63.2 98.4-84.3 37-20.6 76.9-33.6 119.1-38.8z" /><path d="M880 418H352c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H396V494h440v326z" /></svg>'},{name:"rotate-left",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><defs><style /></defs><path d="M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z" /><path d="M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z" /></svg>'},MN,{name:"search",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z" /></svg>'},MN,{name:"upload",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z" /></svg>'},{name:"vertical-align-top",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M859.9 168H164.1c-4.5 0-8.1 3.6-8.1 8v60c0 4.4 3.6 8 8.1 8h695.8c4.5 0 8.1-3.6 8.1-8v-60c0-4.4-3.6-8-8.1-8zM518.3 355a8 8 0 00-12.6 0l-112 141.7a7.98 7.98 0 006.3 12.9h73.9V848c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V509.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 355z" /></svg>'},{name:"up",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z" /></svg>'},{name:"swap",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z" /></svg>'},{name:"swap-right",theme:"outline",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z" /></svg>'},{name:"zoom-in",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z" /></svg>'},{name:"zoom-out",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z" /></svg>'}],TN=new Ae(""),DN="#1890ff";let xN=(()=>{class e extends sN{nzConfigService=U(zl);platform=U(Ha);configUpdated$=new Dt;get _disableDynamicLoading(){return!this.platform.isBrowser}iconfontCache=new Set;normalizeSvgElement(t){t.getAttribute("viewBox")||this._renderer.setAttribute(t,"viewBox","0 0 1024 1024"),(!t.getAttribute("width")||!t.getAttribute("height"))&&(this._renderer.setAttribute(t,"width","1em"),this._renderer.setAttribute(t,"height","1em")),t.getAttribute("fill")||this._renderer.setAttribute(t,"fill","currentColor")}fetchFromIconfont(t){const{scriptUrl:i}=t;if(this._document&&!this.iconfontCache.has(i)){const r=this._renderer.createElement("script");this._renderer.setAttribute(r,"src",i),this._renderer.setAttribute(r,"data-namespace",i.replace(/^(https?|http):/g,"")),this._renderer.appendChild(this._document.body,r),this.iconfontCache.add(i)}}createIconfontIcon(t){return this._createSVGElementFromString(`<svg><use xlink:href="${t}"></svg>`)}constructor(){super([...j3e,...U(TN,{optional:!0})||[]]),this.onConfigChange(),this.configDefaultTwotoneColor(),this.configDefaultTheme()}onConfigChange(){SN("icon",()=>{this.configDefaultTwotoneColor(),this.configDefaultTheme(),this.configUpdated$.next()})}configDefaultTheme(){const t=this.getConfig();this.defaultTheme=t.nzTheme||"outline"}configDefaultTwotoneColor(){const i=this.getConfig().nzTwotoneColor||DN;let r=DN;i&&i.startsWith("#")&&(r=i),this.twoToneColor={primaryColor:r}}getConfig(){return this.nzConfigService.getConfigForComponent("icon")||{}}static \u0275fac=function(i){return new(i||e)};static \u0275prov=Ke({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const kN=new Ae("nz_icons_patch");let EN=(()=>{class e{rootIconService;patched=!1;extraIcons=U(kN,{self:!0});constructor(t){this.rootIconService=t}doPatch(){this.patched||(this.extraIcons.forEach(t=>this.rootIconService.addIcon(t)),this.patched=!0)}static \u0275fac=function(i){return new(i||e)(Ft(xN))};static \u0275prov=Ke({token:e,factory:e.\u0275fac})}return e})(),Va=(()=>{class e extends x4e{iconService;ngZone=U(Gt);changeDetectorRef=U(Tr);renderer=U(oo);destroyRef=U(kn);pendingTasks=U(x2);isBrowser=g7(U(H2));nzSpin=!1;nzRotate=0;set nzType(t){this.type=t}set nzTheme(t){this.theme=t}set nzTwotoneColor(t){this.twoToneColor=t}set nzIconfont(t){this.iconfont=t}hostClass;el;iconfont;constructor(t){super(t),this.iconService=t,U(EN,{optional:!0})?.doPatch(),this.el=this._elementRef.nativeElement}ngOnChanges(t){const{nzType:i,nzTwotoneColor:r,nzTheme:o,nzRotate:a}=t;i||r||o?this.ngZone.runOutsideAngular(()=>this.changeIcon2()):a?this.handleRotate(this.el.firstChild):this._setSVGElement(this.iconService.createIconfontIcon(`#${this.iconfont}`))}ngAfterContentChecked(){if(!this.type){const t=this.el.children;let i=t.length;if(!this.type&&t.length)for(;i--;){const r=t[i];"svg"===r.tagName.toLowerCase()&&this.iconService.normalizeSvgElement(r)}}}changeIcon2(){const t=this.pendingTasks.add();wP(this._changeIcon()).pipe(ip(0,this.isBrowser?F_:ap),gt(this.destroyRef),Vu(t)).subscribe({next:r=>{this.ngZone.run(()=>{this.changeDetectorRef.detectChanges(),r&&(this.setSVGData(r),this.handleRotate(r))})},error:t0})}handleRotate(t){this.nzRotate?this.renderer.setAttribute(t,"style",`transform: rotate(${this.nzRotate}deg)`):this.renderer.removeAttribute(t,"style")}setSVGData(t){this.renderer.setAttribute(t,"data-icon",this.type),this.renderer.setAttribute(t,"aria-hidden","true")}static \u0275fac=function(i){return new(i||e)(xe(xN))};static \u0275dir=_t({type:e,selectors:[["nz-icon"],["","nz-icon",""]],hostAttrs:["role","img",1,"anticon"],hostVars:5,hostBindings:function(i,r){2&i&&(ft("aria-label",r.type),Re("anticon-"+r.type),jt("anticon-spin",r.nzSpin||"loading"===r.type))},inputs:{nzSpin:[2,"nzSpin","nzSpin",Xe],nzRotate:[2,"nzRotate","nzRotate",Oh],nzType:"nzType",nzTheme:"nzTheme",nzTwotoneColor:"nzTwotoneColor",nzIconfont:"nzIconfont"},exportAs:["nzIcon"],features:[zn,wn]})}return e})();const $3e=e=>Yl([{provide:TN,useValue:e}]),W3e=e=>[EN,{provide:kN,useValue:e}];let mc=(()=>{class e{static forRoot(t){return{ngModule:e,providers:[$3e(t)]}}static forChild(t){return{ngModule:e,providers:[W3e(t)]}}static \u0275fac=function(i){return new(i||e)};static \u0275mod=Ci({type:e});static \u0275inj=$n({})}return e})();function G3e(e,n){1&e&&ze(0,"nz-icon",0),2&e&&L("nzType",k().iconType)}let vp=(()=>{class e{formStatusChanges=new q1(1);static \u0275fac=function(i){return new(i||e)};static \u0275prov=Ke({token:e,factory:e.\u0275fac})}return e})(),IN=(()=>{class e{noFormStatus=new on(!1);static \u0275fac=function(i){return new(i||e)};static \u0275prov=Ke({token:e,factory:e.\u0275fac})}return e})();const K3e={error:"close-circle-fill",validating:"loading",success:"check-circle-fill",warning:"exclamation-circle-fill"};let zN=(()=>{class e{cdr=U(Tr);status="";iconType=null;ngOnChanges(t){this.updateIcon()}updateIcon(){this.iconType=this.status?K3e[this.status]:null,this.cdr.markForCheck()}static \u0275fac=function(i){return new(i||e)};static \u0275cmp=bt({type:e,selectors:[["nz-form-item-feedback-icon"]],hostAttrs:[1,"ant-form-item-feedback-icon"],hostVars:8,hostBindings:function(i,r){2&i&&jt("ant-form-item-feedback-icon-error","error"===r.status)("ant-form-item-feedback-icon-warning","warning"===r.status)("ant-form-item-feedback-icon-success","success"===r.status)("ant-form-item-feedback-icon-validating","validating"===r.status)},inputs:{status:"status"},exportAs:["nzFormFeedbackIcon"],features:[wn],decls:1,vars:1,consts:[[3,"nzType"]],template:function(i,r){1&i&&lt(0,G3e,1,1,"nz-icon",0),2&i&&ct(r.iconType?0:-1)},dependencies:[mc,Va],encapsulation:2,changeDetection:0})}return e})();const AN=["*"],Q3e=["inputElement"],Z3e=["nz-radio",""];let by=(()=>{class e{selected$=new q1(1);touched$=new Dt;disabled$=new q1(1);name$=new q1(1);touch(){this.touched$.next()}select(t){this.selected$.next(t)}setDisabled(t){this.disabled$.next(t)}setName(t){this.name$.next(t)}static \u0275fac=function(i){return new(i||e)};static \u0275prov=Ke({token:e,factory:e.\u0275fac})}return e})(),LN=(()=>{class e{cdr=U(Tr);nzRadioService=U(by);directionality=U(co);destroyRef=U(kn);value=null;isNzDisableFirstChange=!0;onChange=()=>{};onTouched=()=>{};nzDisabled=!1;nzButtonStyle="outline";nzSize="default";nzName=null;dir="ltr";ngOnInit(){this.nzRadioService.selected$.pipe(gt(this.destroyRef)).subscribe(t=>{this.value!==t&&(this.value=t,this.onChange(this.value))}),this.nzRadioService.touched$.pipe(gt(this.destroyRef)).subscribe(()=>{Promise.resolve().then(()=>this.onTouched())}),this.directionality.change?.pipe(gt(this.destroyRef)).subscribe(t=>{this.dir=t,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnChanges(t){const{nzDisabled:i,nzName:r}=t;i&&this.nzRadioService.setDisabled(this.nzDisabled),r&&this.nzRadioService.setName(this.nzName)}writeValue(t){this.value=t,this.nzRadioService.select(t),this.cdr.markForCheck()}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||t,this.isNzDisableFirstChange=!1,this.nzRadioService.setDisabled(this.nzDisabled),this.cdr.markForCheck()}static \u0275fac=function(i){return new(i||e)};static \u0275cmp=bt({type:e,selectors:[["nz-radio-group"]],hostAttrs:[1,"ant-radio-group"],hostVars:8,hostBindings:function(i,r){2&i&&jt("ant-radio-group-large","large"===r.nzSize)("ant-radio-group-small","small"===r.nzSize)("ant-radio-group-solid","solid"===r.nzButtonStyle)("ant-radio-group-rtl","rtl"===r.dir)},inputs:{nzDisabled:[2,"nzDisabled","nzDisabled",Xe],nzButtonStyle:"nzButtonStyle",nzSize:"nzSize",nzName:"nzName"},exportAs:["nzRadioGroup"],features:[Yn([by,{provide:Ko,useExisting:Hn(()=>e),multi:!0}]),wn],ngContentSelectors:AN,decls:1,vars:0,template:function(i,r){1&i&&(Pa(),Ro(0))},encapsulation:2,changeDetection:0})}return e})(),ON=(()=>{class e{directionality=U(co);nzRadioService=U(by,{optional:!0});ngZone=U(Gt);elementRef=U(pn);cdr=U(Tr);focusMonitor=U(Sf);destroyRef=U(kn);nzFormStatusService=U(vp,{optional:!0});isNgModel=!1;isNzDisableFirstChange=!0;isChecked=!1;name=null;onChange=()=>{};onTouched=()=>{};inputElement;nzValue=null;nzDisabled=!1;nzAutoFocus=!1;isRadioButton=!1;dir="ltr";focus(){this.focusMonitor.focusVia(this.inputElement,"keyboard")}blur(){this.inputElement.nativeElement.blur()}constructor(){this.destroyRef.onDestroy(()=>{this.focusMonitor.stopMonitoring(this.elementRef)})}setDisabledState(t){this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||t,this.isNzDisableFirstChange=!1,this.cdr.markForCheck()}writeValue(t){this.isChecked=t,this.cdr.markForCheck()}registerOnChange(t){this.isNgModel=!0,this.onChange=t}registerOnTouched(t){this.onTouched=t}ngOnInit(){this.nzRadioService&&(this.nzRadioService.name$.pipe(gt(this.destroyRef)).subscribe(t=>{this.name=t,this.cdr.markForCheck()}),this.nzRadioService.disabled$.pipe(gt(this.destroyRef)).subscribe(t=>{this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||t,this.isNzDisableFirstChange=!1,this.cdr.markForCheck()}),this.nzRadioService.selected$.pipe(gt(this.destroyRef)).subscribe(t=>{const i=this.isChecked;this.isChecked=this.nzValue===t,this.isNgModel&&i!==this.isChecked&&!1===this.isChecked&&this.onChange(!1),this.cdr.markForCheck()})),this.focusMonitor.monitor(this.elementRef,!0).pipe(gt(this.destroyRef)).subscribe(t=>{t||(Promise.resolve().then(()=>this.onTouched()),this.nzRadioService&&this.nzRadioService.touch())}),this.directionality.change.pipe(gt(this.destroyRef)).subscribe(t=>{this.dir=t,this.cdr.detectChanges()}),this.dir=this.directionality.value,this.setupClickListener()}ngAfterViewInit(){this.nzAutoFocus&&this.focus()}setupClickListener(){zs(this.elementRef.nativeElement,"click").pipe(gt(this.destroyRef)).subscribe(t=>{t.stopPropagation(),t.preventDefault(),!this.nzDisabled&&!this.isChecked&&this.ngZone.run(()=>{this.focus(),this.nzRadioService?.select(this.nzValue),this.isNgModel&&(this.isChecked=!0,this.onChange(!0)),this.cdr.markForCheck()})})}static \u0275fac=function(i){return new(i||e)};static \u0275cmp=bt({type:e,selectors:[["","nz-radio",""],["","nz-radio-button",""]],viewQuery:function(i,r){if(1&i&&Hi(Q3e,7),2&i){let o;En(o=In())&&(r.inputElement=o.first)}},hostVars:18,hostBindings:function(i,r){2&i&&jt("ant-radio-wrapper-in-form-item",!!r.nzFormStatusService)("ant-radio-wrapper",!r.isRadioButton)("ant-radio-button-wrapper",r.isRadioButton)("ant-radio-wrapper-checked",r.isChecked&&!r.isRadioButton)("ant-radio-button-wrapper-checked",r.isChecked&&r.isRadioButton)("ant-radio-wrapper-disabled",r.nzDisabled&&!r.isRadioButton)("ant-radio-button-wrapper-disabled",r.nzDisabled&&r.isRadioButton)("ant-radio-wrapper-rtl",!r.isRadioButton&&"rtl"===r.dir)("ant-radio-button-wrapper-rtl",r.isRadioButton&&"rtl"===r.dir)},inputs:{nzValue:"nzValue",nzDisabled:[2,"nzDisabled","nzDisabled",Xe],nzAutoFocus:[2,"nzAutoFocus","nzAutoFocus",Xe],isRadioButton:[2,"nz-radio-button","isRadioButton",Xe]},exportAs:["nzRadio"],features:[Yn([{provide:Ko,useExisting:Hn(()=>e),multi:!0}])],attrs:Z3e,ngContentSelectors:AN,decls:6,vars:24,consts:[["inputElement",""],["type","radio",3,"disabled","checked"]],template:function(i,r){1&i&&(Pa(),si(0,"span"),Wr(1,"input",1,0)(3,"span"),li(),si(4,"span"),Ro(5),li()),2&i&&(jt("ant-radio",!r.isRadioButton)("ant-radio-checked",r.isChecked&&!r.isRadioButton)("ant-radio-disabled",r.nzDisabled&&!r.isRadioButton)("ant-radio-button",r.isRadioButton)("ant-radio-button-checked",r.isChecked&&r.isRadioButton)("ant-radio-button-disabled",r.nzDisabled&&r.isRadioButton),I(),jt("ant-radio-input",!r.isRadioButton)("ant-radio-button-input",r.isRadioButton),tr("disabled",r.nzDisabled)("checked",r.isChecked),ft("autofocus",r.nzAutoFocus?"autofocus":null)("name",r.name),I(2),jt("ant-radio-inner",!r.isRadioButton)("ant-radio-button-inner",r.isRadioButton))},encapsulation:2,changeDetection:0})}return e})(),X3e=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=Ci({type:e});static \u0275inj=$n({})}return e})();const Cy=["*"],J3e=["inputElement"],e6e=["nz-checkbox",""],t6e=(e,n)=>n.value;function n6e(e,n){if(1&e&&(J(0,"label",0),He(1),te()),2&e){const t=n.$implicit,i=k(2);L("nzValue",t.value)("nzName",i.nzName())("nzDisabled",t.disabled||i.finalDisabled()),I(),At(" ",t.label," ")}}function i6e(e,n){1&e&&Ai(0,n6e,2,4,"label",0,t6e),2&e&&Li(k().normalizedOptions())}let PN=(()=>{class e{nzOnChange=new ht;checkboxList=[];addCheckbox(t){this.checkboxList.push(t)}removeCheckbox(t){this.checkboxList.splice(this.checkboxList.indexOf(t),1)}onChange(){const t=this.checkboxList.filter(i=>i.nzChecked).map(i=>i.nzValue);this.nzOnChange.emit(t)}static \u0275fac=function(i){return new(i||e)};static \u0275cmp=bt({type:e,selectors:[["nz-checkbox-wrapper"]],hostAttrs:[1,"ant-checkbox-group"],outputs:{nzOnChange:"nzOnChange"},exportAs:["nzCheckboxWrapper"],ngContentSelectors:Cy,decls:1,vars:0,template:function(i,r){1&i&&(Pa(),Ro(0))},encapsulation:2,changeDetection:0})}return e})();const NN=new Ae("");let wy=(()=>{class e{ngZone=U(Gt);elementRef=U(pn);cdr=U(Tr);focusMonitor=U(Sf);directionality=U(co);destroyRef=U(kn);checkboxGroupComponent=U(NN,{optional:!0});nzFormStatusService=U(vp,{optional:!0});nzCheckboxWrapperComponent=U(PN,{optional:!0});dir="ltr";destroy$=new Dt;isNzDisableFirstChange=!0;onChange=()=>{};onTouched=()=>{};inputElement;nzCheckedChange=new ht;nzValue=null;nzAutoFocus=!1;nzDisabled=!1;nzIndeterminate=!1;nzChecked=!1;nzId=null;nzName=null;innerCheckedChange(t){!this.nzDisabled&&!this.checkboxGroupComponent?.finalDisabled()&&(this.setValue(t),this.nzCheckboxWrapperComponent?.onChange(),this.checkboxGroupComponent?.onCheckedChange(this.nzValue,t))}writeValue(t){this.nzChecked=t,this.cdr.markForCheck()}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||t,this.isNzDisableFirstChange=!1,this.cdr.markForCheck()}focus(){this.focusMonitor.focusVia(this.inputElement,"keyboard")}blur(){this.inputElement.nativeElement.blur()}constructor(){this.destroyRef.onDestroy(()=>{this.focusMonitor.stopMonitoring(this.elementRef),this.nzCheckboxWrapperComponent?.removeCheckbox(this)}),this.checkboxGroupComponent&&A7(()=>{const t=this.checkboxGroupComponent.value()||[];this.setValue(t.includes(this.nzValue)),this.cdr.markForCheck()})}ngOnInit(){this.focusMonitor.monitor(this.elementRef,!0).pipe(gt(this.destroyRef)).subscribe(t=>{t||Promise.resolve().then(()=>this.onTouched())}),this.nzCheckboxWrapperComponent?.addCheckbox(this),this.directionality.change.pipe(gt(this.destroyRef)).subscribe(t=>{this.dir=t,this.cdr.detectChanges()}),this.dir=this.directionality.value,zs(this.elementRef.nativeElement,"click").pipe(gt(this.destroyRef)).subscribe(t=>{t.preventDefault(),this.focus(),!this.nzDisabled&&this.ngZone.run(()=>{this.innerCheckedChange(!this.nzChecked),this.cdr.markForCheck()})}),zs(this.inputElement.nativeElement,"click").pipe(gt(this.destroyRef)).subscribe(t=>t.stopPropagation())}ngAfterViewInit(){this.nzAutoFocus&&this.focus()}setValue(t){this.nzChecked=t,this.onChange(t),this.nzCheckedChange.emit(t)}static \u0275fac=function(i){return new(i||e)};static \u0275cmp=bt({type:e,selectors:[["","nz-checkbox",""]],viewQuery:function(i,r){if(1&i&&Hi(J3e,7),2&i){let o;En(o=In())&&(r.inputElement=o.first)}},hostAttrs:[1,"ant-checkbox-wrapper"],hostVars:10,hostBindings:function(i,r){2&i&&jt("ant-checkbox-group-item",!!r.checkboxGroupComponent)("ant-checkbox-wrapper-in-form-item",!!r.nzFormStatusService)("ant-checkbox-wrapper-checked",r.nzChecked)("ant-checkbox-wrapper-disabled",r.nzDisabled||(null==r.checkboxGroupComponent?null:r.checkboxGroupComponent.finalDisabled()))("ant-checkbox-rtl","rtl"===r.dir)},inputs:{nzValue:"nzValue",nzAutoFocus:[2,"nzAutoFocus","nzAutoFocus",Xe],nzDisabled:[2,"nzDisabled","nzDisabled",Xe],nzIndeterminate:[2,"nzIndeterminate","nzIndeterminate",Xe],nzChecked:[2,"nzChecked","nzChecked",Xe],nzId:"nzId",nzName:"nzName"},outputs:{nzCheckedChange:"nzCheckedChange"},exportAs:["nzCheckbox"],features:[Yn([{provide:Ko,useExisting:Hn(()=>e),multi:!0}])],attrs:e6e,ngContentSelectors:Cy,decls:6,vars:12,consts:[["inputElement",""],[1,"ant-checkbox"],["type","checkbox",1,"ant-checkbox-input",3,"ngModelChange","checked","ngModel","disabled"],[1,"ant-checkbox-inner"]],template:function(i,r){if(1&i){const o=nt();Pa(),J(0,"span",1)(1,"input",2,0),Fe("ngModelChange",function(s){return ce(o),ue(r.innerCheckedChange(s))}),te(),ze(3,"span",3),te(),J(4,"span"),Ro(5),te()}2&i&&(jt("ant-checkbox-checked",r.nzChecked&&!r.nzIndeterminate)("ant-checkbox-disabled",r.nzDisabled||(null==r.checkboxGroupComponent?null:r.checkboxGroupComponent.finalDisabled()))("ant-checkbox-indeterminate",r.nzIndeterminate),I(),L("checked",r.nzChecked)("ngModel",r.nzChecked)("disabled",r.nzDisabled||((null==r.checkboxGroupComponent?null:r.checkboxGroupComponent.finalDisabled())??!1)),ft("autofocus",r.nzAutoFocus?"autofocus":null)("id",r.nzId)("name",r.nzName||(null==r.checkboxGroupComponent?null:r.checkboxGroupComponent.nzName())))},dependencies:[rf,u8,Ja,Ra],encapsulation:2,changeDetection:0})}return e})(),r6e=(()=>{class e{onChange=()=>{};onTouched=()=>{};isDisabledFirstChange=!0;directionality=U(co);nzName=qc(null);nzDisabled=qc(!1,{transform:Xe});nzOptions=qc([]);value=io(null);finalDisabled=function L7(e,n){return YE("function"==typeof e?HE(e,Bee,n?.equal):HE(e.source,e.computation,e.equal))}(()=>this.nzDisabled());dir=OP(this.directionality.change,{initialValue:this.directionality.value});normalizedOptions=ko(()=>function o6e(e){return e.map(n=>"string"==typeof n||"number"==typeof n?{label:`${n}`,value:n}:n)}(this.nzOptions()));constructor(){const t=U(pn),i=U(Sf),r=U(kn);Tu(()=>{i.monitor(t,!0).pipe(gt(r)).subscribe(o=>{o||this.onTouched()}),r.onDestroy(()=>{i.stopMonitoring(t)})})}writeValue(t){or(()=>{this.value.set(t)})}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){or(()=>{this.finalDisabled.set(this.isDisabledFirstChange&&this.nzDisabled()||t)}),this.isDisabledFirstChange=!1}onCheckedChange(t,i){this.finalDisabled()||(this.value.update(r=>i?r?.concat(t)||[t]:r?.filter(o=>o!==t)||[]),this.onChange(this.value()))}static \u0275fac=function(i){return new(i||e)};static \u0275cmp=bt({type:e,selectors:[["nz-checkbox-group"]],hostAttrs:[1,"ant-checkbox-group"],hostVars:2,hostBindings:function(i,r){2&i&&jt("ant-checkbox-group-rtl","rtl"===r.dir())},inputs:{nzName:[1,"nzName"],nzDisabled:[1,"nzDisabled"],nzOptions:[1,"nzOptions"]},exportAs:["nzCheckboxGroup"],features:[Yn([{provide:Ko,useExisting:Hn(()=>e),multi:!0},{provide:NN,useExisting:Hn(()=>e)}])],ngContentSelectors:Cy,decls:2,vars:0,consts:[["nz-checkbox","",3,"nzValue","nzName","nzDisabled"]],template:function(i,r){1&i&&(Pa(),Ro(0,0,null,i6e,2,0))},dependencies:[wy],encapsulation:2,changeDetection:0})}return e})(),a6e=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=Ci({type:e});static \u0275inj=$n({imports:[wy,r6e]})}return e})();function Ef(...e){return function s6e(){return H6(1)}()(pa(e,Vh(e)))}function tu(...e){const n=Vh(e);return qr((t,i)=>{(n?Ef(e,t,n):Ef(e,t)).subscribe(i)})}let Xo=(()=>{class e{viewContainer=U(La);templateRef=U(Wo);embeddedViewRef=null;context=new l6e;nzStringTemplateOutletContext=null;nzStringTemplateOutlet=null;static ngTemplateContextGuard(t,i){return!0}recreateView(){this.viewContainer.clear(),this.embeddedViewRef=W8(this.nzStringTemplateOutlet)?this.viewContainer.createEmbeddedView(this.nzStringTemplateOutlet,this.nzStringTemplateOutletContext):this.viewContainer.createEmbeddedView(this.templateRef,this.context)}updateContext(){const t=W8(this.nzStringTemplateOutlet)?this.nzStringTemplateOutletContext:this.context,i=this.embeddedViewRef.context;if(t)for(const r of Object.keys(t))i[r]=t[r]}ngOnChanges(t){const{nzStringTemplateOutletContext:i,nzStringTemplateOutlet:r}=t;r&&(this.context.$implicit=r.currentValue),(()=>{let s=!1;return r&&(s=r.firstChange||W8(r.previousValue)||W8(r.currentValue)),i&&(h=>{const p=Object.keys(h.previousValue||{}),S=Object.keys(h.currentValue||{});if(p.length===S.length){for(const v of S)if(-1===p.indexOf(v))return!0;return!1}return!0})(i)||s})()?this.recreateView():this.updateContext()}static \u0275fac=function(i){return new(i||e)};static \u0275dir=_t({type:e,selectors:[["","nzStringTemplateOutlet",""]],inputs:{nzStringTemplateOutletContext:"nzStringTemplateOutletContext",nzStringTemplateOutlet:"nzStringTemplateOutlet"},exportAs:["nzStringTemplateOutlet"],features:[wn]})}return e})();class l6e{$implicit}let Al=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=Ci({type:e});static \u0275inj=$n({})}return e})();const FN=["*"],c6e=e=>({$implicit:e});function u6e(e,n){1&e&&He(0),2&e&&dn(k(3).nzSplit)}function d6e(e,n){if(1&e&&(J(0,"span",2),ve(1,u6e,1,1,"ng-template",3),te()),2&e){const t=k().$index,i=k();I(),L("nzStringTemplateOutlet",i.nzSplit)("nzStringTemplateOutletContext",Yr(2,c6e,t))}}function h6e(e,n){if(1&e&&(J(0,"div",0),Ka(1,1),te(),lt(2,d6e,2,4,"span",2)),2&e){const t=n.$implicit,i=n.$index,r=n.$count,o=k();I(),L("ngTemplateOutlet",t),I(),ct(o.nzSplit&&i!==r-1?2:-1)}}const _p=new Ae(""),RN=new Ae(""),yp=new Ae("");let f6e=(()=>{class e{nzBlock=qc(!1,{transform:Xe});nzDirection=qc("horizontal");nzSize=qc("default");elementRef=U(pn);static \u0275fac=function(i){return new(i||e)};static \u0275cmp=bt({type:e,selectors:[["nz-space-compact"]],hostAttrs:[1,"ant-space-compact"],hostVars:4,hostBindings:function(i,r){2&i&&jt("ant-space-compact-block",r.nzBlock())("ant-space-compact-vertical","vertical"===r.nzDirection())},inputs:{nzBlock:[1,"nzBlock"],nzDirection:[1,"nzDirection"],nzSize:[1,"nzSize"]},exportAs:["nzSpaceCompact"],features:[Yn([{provide:_p,useFactory:()=>U(e).nzSize},{provide:RN,useFactory:()=>io([])}])],ngContentSelectors:FN,decls:1,vars:0,template:function(i,r){1&i&&(Pa(),Ro(0))},encapsulation:2,changeDetection:0})}return e})(),Sy=(()=>{class e{spaceCompactCmp=U(f6e,{host:!0,optional:!0});items=U(RN,{host:!0,optional:!0});type=U(yp);elementRef=U(pn);directionality=U(co);dir=OP(this.directionality.change,{initialValue:this.directionality.value});get parentElement(){return this.elementRef.nativeElement?.parentElement}class=ko(()=>{if(!this.spaceCompactCmp||!this.items||this.parentElement!==this.spaceCompactCmp.elementRef.nativeElement)return null;const t=this.items(),i=this.spaceCompactCmp.nzDirection(),r=[p6e(this.type,i,"rtl"===this.dir())],o=t.indexOf(this);return o===t.findIndex(s=>s)&&r.push(function m6e(e,n){return My(e,n,"first-item")}(this.type,i)),o===t.length-1&&r.push(function g6e(e,n){return My(e,n,"last-item")}(this.type,i)),r});constructor(){!this.spaceCompactCmp||!this.items||(Tu(()=>{if(this.parentElement===this.spaceCompactCmp.elementRef.nativeElement){const t=Array.from(this.parentElement.children).indexOf(this.elementRef.nativeElement);this.items.update(i=>{const r=i.slice();return r.splice(t,0,this),r})}}),U(kn).onDestroy(()=>{this.items?.update(t=>t.filter(i=>i!==this))}))}static \u0275fac=function(i){return new(i||e)};static \u0275dir=_t({type:e,hostVars:2,hostBindings:function(i,r){2&i&&Re(r.class())},exportAs:["nzSpaceCompactItem"]})}return e})();function My(e,n,t){return`ant-${e}-compact-${"vertical"===n?"vertical-":""}${t}`}function p6e(e,n,t){const i=t?"-rtl":"";return`${My(e,n,"item")}${i}`}let v6e=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275dir=_t({type:e,selectors:[["","nzSpaceItem",""]]})}return e})();const y6e={small:8,middle:16,large:24};(()=>{let e,n=[],t=[];(class Pb{static{const r="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;e=[Er()],mr(null,null,e,{kind:"field",name:"nzSize",static:!1,private:!1,access:{has:o=>"nzSize"in o,get:o=>o.nzSize,set:(o,a)=>{o.nzSize=a}},metadata:r},n,t),r&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:r})}_nzModuleName="space";nzConfigService=U(zl);cdr=U(Tr);destroyRef=U(kn);nzDirection="horizontal";nzAlign;nzSplit=null;nzWrap=!1;nzSize=sn(this,n,"small");items=sn(this,t);mergedAlign;horizontalSize;verticalSize;constructor(){this.updateSpaceSize()}ngOnChanges(r){const{nzSize:o}=r;o&&this.updateSpaceSize(),this.mergedAlign=void 0===this.nzAlign&&"horizontal"===this.nzDirection?"center":this.nzAlign}ngAfterContentInit(){this.items.changes.pipe(gt(this.destroyRef)).subscribe(()=>{this.cdr.markForCheck()})}updateSpaceSize(){const{horizontalSize:r,verticalSize:o}=function b6e(e){const[n,t]=(Array.isArray(e)?e:[e,e]).map(i=>"number"==typeof i?i:y6e[i]);return{horizontalSize:n,verticalSize:t}}(this.nzSize);this.horizontalSize=r,this.verticalSize=o}static \u0275fac=function(o){return new(o||Pb)};static \u0275cmp=bt({type:Pb,selectors:[["nz-space"],["","nz-space",""]],contentQueries:function(o,a,s){if(1&o&&Za(s,v6e,4,Wo),2&o){let l;En(l=In())&&(a.items=l)}},hostAttrs:[1,"ant-space"],hostVars:18,hostBindings:function(o,a){2&o&&(nr("flex-wrap",a.nzWrap?"wrap":null)("column-gap",a.horizontalSize,"px")("row-gap",a.verticalSize,"px"),jt("ant-space-horizontal","horizontal"===a.nzDirection)("ant-space-vertical","vertical"===a.nzDirection)("ant-space-align-start","start"===a.mergedAlign)("ant-space-align-end","end"===a.mergedAlign)("ant-space-align-center","center"===a.mergedAlign)("ant-space-align-baseline","baseline"===a.mergedAlign))},inputs:{nzDirection:"nzDirection",nzAlign:"nzAlign",nzSplit:"nzSplit",nzWrap:[2,"nzWrap","nzWrap",Xe],nzSize:"nzSize"},exportAs:["nzSpace"],features:[wn],ngContentSelectors:FN,decls:3,vars:0,consts:[[1,"ant-space-item"],[3,"ngTemplateOutlet"],[1,"ant-space-split"],[3,"nzStringTemplateOutlet","nzStringTemplateOutletContext"]],template:function(o,a){1&o&&(Pa(),Ro(0),Ai(1,h6e,3,2,null,null,P1)),2&o&&(I(),Li(a.items))},dependencies:[Ml,Xo],encapsulation:2,changeDetection:0})})})();let HN=(()=>{class e{elementRef=U(pn);renderer=U(oo);hidden=null;setHiddenAttribute(){this.hidden?this.renderer.setAttribute(this.elementRef.nativeElement,"hidden","string"==typeof this.hidden?this.hidden:""):this.renderer.removeAttribute(this.elementRef.nativeElement,"hidden")}constructor(){this.renderer.setAttribute(this.elementRef.nativeElement,"hidden","")}ngOnChanges(){this.setHiddenAttribute()}ngAfterViewInit(){this.setHiddenAttribute()}static \u0275fac=function(i){return new(i||e)};static \u0275dir=_t({type:e,selectors:[["","nz-button",""],["","nz-icon",""],["nz-icon"],["","nz-menu-item",""],["","nz-submenu",""],["nz-select-top-control"],["nz-select-placeholder"],["nz-input-group"]],inputs:{hidden:"hidden"},features:[wn]})}return e})(),C6e=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=Ci({type:e});static \u0275inj=$n({})}return e})();class w6e{triggerElement;ngZone;insertExtraNode;platform;cspNonce;waveTransitionDuration=400;styleForPseudo=null;extraNode=null;lastTime=0;clickHandler;get waveAttributeName(){return this.insertExtraNode?"ant-click-animating":"ant-click-animating-without-extra-node"}constructor(n,t,i,r,o){this.triggerElement=n,this.ngZone=t,this.insertExtraNode=i,this.platform=r,this.cspNonce=o,this.clickHandler=this.onClick.bind(this),this.bindTriggerEvent()}onClick=n=>{!this.triggerElement||!this.triggerElement.getAttribute||this.triggerElement.getAttribute("disabled")||"INPUT"===n.target.tagName||this.triggerElement.className.indexOf("disabled")>=0||this.fadeOutWave()};bindTriggerEvent(){this.platform.isBrowser&&this.ngZone.runOutsideAngular(()=>{this.removeTriggerEvent(),this.triggerElement&&this.triggerElement.addEventListener("click",this.clickHandler,!0)})}removeTriggerEvent(){this.triggerElement&&this.triggerElement.removeEventListener("click",this.clickHandler,!0)}removeStyleAndExtraNode(){this.styleForPseudo&&document.body.contains(this.styleForPseudo)&&(document.body.removeChild(this.styleForPseudo),this.styleForPseudo=null),this.insertExtraNode&&this.triggerElement.contains(this.extraNode)&&this.triggerElement.removeChild(this.extraNode)}destroy(){this.removeTriggerEvent(),this.removeStyleAndExtraNode()}fadeOutWave(){const n=this.triggerElement,t=this.getWaveColor(n);n.setAttribute(this.waveAttributeName,"true"),!(Date.now()<this.lastTime+this.waveTransitionDuration)&&(this.isValidColor(t)&&(this.styleForPseudo||(this.styleForPseudo=document.createElement("style"),this.cspNonce&&(this.styleForPseudo.nonce=this.cspNonce)),this.styleForPseudo.innerHTML=`\n      [ant-click-animating-without-extra-node='true']::after, .ant-click-animating-node {\n        --antd-wave-shadow-color: ${t};\n      }`,document.body.appendChild(this.styleForPseudo)),this.insertExtraNode&&(this.extraNode||(this.extraNode=document.createElement("div")),this.extraNode.className="ant-click-animating-node",n.appendChild(this.extraNode)),this.lastTime=Date.now(),this.runTimeoutOutsideZone(()=>{n.removeAttribute(this.waveAttributeName),this.removeStyleAndExtraNode()},this.waveTransitionDuration))}isValidColor(n){return!!n&&"#ffffff"!==n&&"rgb(255, 255, 255)"!==n&&this.isNotGrey(n)&&!/rgba\(\d*, \d*, \d*, 0\)/.test(n)&&"transparent"!==n}isNotGrey(n){const t=n.match(/rgba?\((\d*), (\d*), (\d*)(, [.\d]*)?\)/);return!(t&&t[1]&&t[2]&&t[3]&&t[1]===t[2]&&t[2]===t[3])}getWaveColor(n){const t=getComputedStyle(n);return t.getPropertyValue("border-top-color")||t.getPropertyValue("border-color")||t.getPropertyValue("background-color")}runTimeoutOutsideZone(n,t){this.ngZone.runOutsideAngular(()=>setTimeout(n,t))}}const S6e={disabled:!1},VN=new Ae("");function M6e(e){return Yl([{provide:VN,useValue:e}])}let Ty=(()=>{class e{nzWaveExtraNode=!1;waveRenderer;waveDisabled=!1;get disabled(){return this.waveDisabled}get rendererRef(){return this.waveRenderer}cspNonce=U(V2,{optional:!0});platform=U(Ha);config=U(VN,{optional:!0});animationType=U(U0,{optional:!0});ngZone=U(Gt);elementRef=U(pn);constructor(){this.waveDisabled=this.isConfigDisabled()}isConfigDisabled(){let t=!1;return this.config&&"boolean"==typeof this.config.disabled&&(t=this.config.disabled),"NoopAnimations"===this.animationType&&(t=!0),t}ngOnDestroy(){this.waveRenderer&&this.waveRenderer.destroy()}ngOnInit(){this.renderWaveIfEnabled()}renderWaveIfEnabled(){!this.waveDisabled&&this.elementRef.nativeElement&&(this.waveRenderer=new w6e(this.elementRef.nativeElement,this.ngZone,this.nzWaveExtraNode,this.platform,this.cspNonce))}disable(){this.waveDisabled=!0,this.waveRenderer&&(this.waveRenderer.removeTriggerEvent(),this.waveRenderer.removeStyleAndExtraNode())}enable(){this.waveDisabled=this.isConfigDisabled()||!1,this.waveRenderer&&this.waveRenderer.bindTriggerEvent()}static \u0275fac=function(i){return new(i||e)};static \u0275dir=_t({type:e,selectors:[["","nz-wave",""],["button","nz-button","",3,"nzType","link",3,"nzType","text"]],inputs:{nzWaveExtraNode:"nzWaveExtraNode"},exportAs:["nzWave"]})}return e})(),BN=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=Ci({type:e});static \u0275inj=$n({providers:[M6e(S6e)]})}return e})();const T6e=["nz-button",""],D6e=["*"];function x6e(e,n){1&e&&(J(0,"span",0),ze(1,"nz-icon",1),te())}let Dy=(()=>{let e,n=[],t=[];return class Nb{static{const r="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;e=[Er()],mr(null,null,e,{kind:"field",name:"nzSize",static:!1,private:!1,access:{has:o=>"nzSize"in o,get:o=>o.nzSize,set:(o,a)=>{o.nzSize=a}},metadata:r},n,t),r&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:r})}elementRef=U(pn);cdr=U(Tr);renderer=U(oo);directionality=U(co);destroyRef=U(kn);_nzModuleName="button";nzIconDirectiveElement;nzBlock=!1;nzGhost=!1;nzSearch=!1;nzLoading=!1;nzDanger=!1;disabled=!1;tabIndex=null;nzType=null;nzShape=null;nzSize=sn(this,n,"default");dir=(sn(this,t),"ltr");elementOnly=io(!1);size=io(this.nzSize);compactSize=U(_p,{optional:!0});loading$=new Dt;finalSize=ko(()=>this.compactSize?this.compactSize():this.size());iconDir=kJ(Va);loadingIconDir=DJ(Va);iconOnly=ko(()=>this.elementOnly()&&(!!this.iconDir()||!!this.loadingIconDir()));constructor(){SN("button",()=>{this.size.set(this.nzSize),this.cdr.markForCheck()}),function BS(e,n){const t=n?.injector??U($r);return Aa("NgAfterRender"),US(e,t,n,!1)}({read:()=>{const{children:r}=this.elementRef.nativeElement,o=Array.from(r).filter(a=>"none"!==a.style.display);this.elementOnly.set(1===o.length)}})}ngOnInit(){this.size.set(this.nzSize),this.directionality.change?.pipe(gt(this.destroyRef)).subscribe(r=>{this.dir=r,this.cdr.detectChanges()}),this.dir=this.directionality.value,zs(this.elementRef.nativeElement,"click",{capture:!0}).pipe(gt(this.destroyRef)).subscribe(r=>{(this.disabled&&"A"===r.target?.tagName||this.nzLoading)&&(r.preventDefault(),r.stopImmediatePropagation())})}ngOnChanges({nzLoading:r,nzSize:o}){r&&this.loading$.next(this.nzLoading),o&&this.size.set(o.currentValue)}ngAfterViewInit(){this.insertSpan()}ngAfterContentInit(){this.loading$.pipe(tu(this.nzLoading),gr(()=>!!this.nzIconDirectiveElement),gt(this.destroyRef)).subscribe(r=>{const o=this.nzIconDirectiveElement.nativeElement;r?this.renderer.setStyle(o,"display","none"):this.renderer.removeStyle(o,"display")})}insertSpan(){this.elementRef.nativeElement.childNodes.forEach(r=>{if(r.nodeType===Node.TEXT_NODE&&r.textContent.trim().length>0){const o=this.renderer.createElement("span"),a=this.renderer.parentNode(r);this.renderer.insertBefore(a,o,r),this.renderer.appendChild(o,r)}})}static \u0275fac=function(o){return new(o||Nb)};static \u0275cmp=bt({type:Nb,selectors:[["button","nz-button",""],["a","nz-button",""]],contentQueries:function(o,a,s){if(1&o&&(X5(s,a.iconDir,Va,5),Za(s,Va,5,pn)),2&o){let l;n6(),En(l=In())&&(a.nzIconDirectiveElement=l.first)}},viewQuery:function(o,a){1&o&&function KD(e,n,t,i){mT(e,cT(n,t,i))}(a.loadingIconDir,Va,5),2&o&&n6()},hostAttrs:[1,"ant-btn"],hostVars:34,hostBindings:function(o,a){2&o&&(ft("tabindex",a.disabled?-1:null===a.tabIndex?null:a.tabIndex)("disabled",a.disabled||null),jt("ant-btn-default","default"===a.nzType)("ant-btn-primary","primary"===a.nzType)("ant-btn-dashed","dashed"===a.nzType)("ant-btn-link","link"===a.nzType)("ant-btn-text","text"===a.nzType)("ant-btn-circle","circle"===a.nzShape)("ant-btn-round","round"===a.nzShape)("ant-btn-lg","large"===a.finalSize())("ant-btn-sm","small"===a.finalSize())("ant-btn-dangerous",a.nzDanger)("ant-btn-loading",a.nzLoading)("ant-btn-background-ghost",a.nzGhost)("ant-btn-block",a.nzBlock)("ant-input-search-button",a.nzSearch)("ant-btn-rtl","rtl"===a.dir)("ant-btn-icon-only",a.iconOnly()))},inputs:{nzBlock:[2,"nzBlock","nzBlock",Xe],nzGhost:[2,"nzGhost","nzGhost",Xe],nzSearch:[2,"nzSearch","nzSearch",Xe],nzLoading:[2,"nzLoading","nzLoading",Xe],nzDanger:[2,"nzDanger","nzDanger",Xe],disabled:[2,"disabled","disabled",Xe],tabIndex:"tabIndex",nzType:"nzType",nzShape:"nzShape",nzSize:"nzSize"},exportAs:["nzButton"],features:[Yn([{provide:yp,useValue:"btn"}]),z3([Sy]),wn],attrs:T6e,ngContentSelectors:D6e,decls:2,vars:1,consts:[[1,"ant-btn-icon","ant-btn-loading-icon"],["nzType","loading"]],template:function(o,a){1&o&&(Pa(),lt(0,x6e,2,0,"span",0),Ro(1)),2&o&&ct(a.nzLoading?0:-1)},dependencies:[mc,Va],encapsulation:2,changeDetection:0})}})(),qN=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=Ci({type:e});static \u0275inj=$n({imports:[Dy,C6e,BN]})}return e})();function YN(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}const bp=new WeakMap;let jN=(()=>{class e{_appRef;_injector=U($r);_environmentInjector=U(Ti);load(t){const i=this._appRef=this._appRef||this._injector.get(Cl);let r=bp.get(i);r||(r={loaders:new Set,refs:[]},bp.set(i,r),i.onDestroy(()=>{bp.get(i)?.refs.forEach(o=>o.destroy()),bp.delete(i)})),r.loaders.has(t)||(r.loaders.add(t),r.refs.push(RE(t,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(i){return new(i||e)};static \u0275prov=Ke({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Ao(e){return null==e?"":"string"==typeof e?e:`${e}px`}function Cp(e){return Array.isArray(e)?e:[e]}function $N(e=0,n,t=Nfe){let i=-1;return null!=n&&(VI(n)?t=n:i=n),new On(r=>{let o=function E6e(e){return e instanceof Date&&!isNaN(e)}(e)?+e-t.now():e;o<0&&(o=0);let a=0;return t.schedule(function(){r.closed||(r.next(a++),0<=i?this.schedule(void 0,i):r.complete())},o)})}function Bd(e,n=np){return function k6e(e){return qr((n,t)=>{let i=!1,r=null,o=null,a=!1;const s=()=>{if(o?.unsubscribe(),o=null,i){i=!1;const c=r;r=null,t.next(c)}a&&t.complete()},l=()=>{o=null,a&&t.complete()};n.subscribe(hr(t,c=>{i=!0,r=c,o||fa(e(c)).subscribe(o=hr(t,s,l))},()=>{a=!0,(!i||!o||o.closed)&&t.complete()}))})}(()=>$N(e,n))}let xy=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=Ci({type:e});static \u0275inj=$n({})}return e})(),WN=(()=>{class e{_ngZone=U(Gt);_platform=U(Ha);_renderer=U(Ws).createRenderer(null,null);_cleanupGlobalListener;constructor(){}_scrolled=new Dt;_scrolledCount=0;scrollContainers=new Map;register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){const i=this.scrollContainers.get(t);i&&(i.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=20){return this._platform.isBrowser?new On(i=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));const r=t>0?this._scrolled.pipe(Bd(t)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||(this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0)}}):Kt()}ngOnDestroy(){this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((t,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(t,i){const r=this.getAncestorScrollContainers(t);return this.scrolled(i).pipe(gr(o=>!o||r.indexOf(o)>-1))}getAncestorScrollContainers(t){const i=[];return this.scrollContainers.forEach((r,o)=>{this._scrollableContainsElement(o,t)&&i.push(o)}),i}_scrollableContainsElement(t,i){let r=wf(i),o=t.getElementRef().nativeElement;do{if(r==o)return!0}while(r=r.parentElement);return!1}static \u0275fac=function(i){return new(i||e)};static \u0275prov=Ke({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),If=(()=>{class e{_platform=U(Ha);_listeners;_viewportSize;_change=new Dt;_document=U(Mr);constructor(){const t=U(Gt),i=U(Ws).createRenderer(null,null);t.runOutsideAngular(()=>{if(this._platform.isBrowser){const r=o=>this._change.next(o);this._listeners=[i.listen("window","resize",r),i.listen("window","orientationchange",r)]}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){this._listeners?.forEach(t=>t()),this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){const t=this.getViewportScrollPosition(),{width:i,height:r}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+r,right:t.left+i,height:r,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const t=this._document,i=this._getWindow(),r=t.documentElement,o=r.getBoundingClientRect();return{top:-o.top||t.body.scrollTop||i.scrollY||r.scrollTop||0,left:-o.left||t.body.scrollLeft||i.scrollX||r.scrollLeft||0}}change(t=20){return t>0?this._change.pipe(Bd(t)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}static \u0275fac=function(i){return new(i||e)};static \u0275prov=Ke({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),GN=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=Ci({type:e});static \u0275inj=$n({})}return e})(),KN=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=Ci({type:e});static \u0275inj=$n({imports:[xy,GN,xy,GN]})}return e})();class ky{_attachedHost;attach(n){return this._attachedHost=n,n.attach(this)}detach(){let n=this._attachedHost;null!=n&&(this._attachedHost=null,n.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(n){this._attachedHost=n}}class O6e extends ky{component;viewContainerRef;injector;projectableNodes;constructor(n,t,i,r){super(),this.component=n,this.viewContainerRef=t,this.injector=i,this.projectableNodes=r}}class Ey extends ky{templateRef;viewContainerRef;context;injector;constructor(n,t,i,r){super(),this.templateRef=n,this.viewContainerRef=t,this.context=i,this.injector=r}get origin(){return this.templateRef.elementRef}attach(n,t=this.context){return this.context=t,super.attach(n)}detach(){return this.context=void 0,super.detach()}}class P6e extends ky{element;constructor(n){super(),this.element=n instanceof pn?n.nativeElement:n}}class N6e{_attachedPortal;_disposeFn;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(n){return n instanceof O6e?(this._attachedPortal=n,this.attachComponentPortal(n)):n instanceof Ey?(this._attachedPortal=n,this.attachTemplatePortal(n)):this.attachDomPortal&&n instanceof P6e?(this._attachedPortal=n,this.attachDomPortal(n)):void 0}attachDomPortal=null;detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(n){this._disposeFn=n}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class F6e extends N6e{outletElement;_appRef;_defaultInjector;constructor(n,t,i){super(),this.outletElement=n,this._appRef=t,this._defaultInjector=i}attachComponentPortal(n){let t;if(n.viewContainerRef){const i=n.injector||n.viewContainerRef.injector,r=i.get(ku,null,{optional:!0})||void 0;t=n.viewContainerRef.createComponent(n.component,{index:n.viewContainerRef.length,injector:i,ngModuleRef:r,projectableNodes:n.projectableNodes||void 0}),this.setDisposeFn(()=>t.destroy())}else{const i=this._appRef,r=n.injector||this._defaultInjector||$r.NULL,o=r.get(Ti,i.injector);t=RE(n.component,{elementInjector:r,environmentInjector:o,projectableNodes:n.projectableNodes||void 0}),i.attachView(t.hostView),this.setDisposeFn(()=>{i.viewCount>0&&i.detachView(t.hostView),t.destroy()})}return this.outletElement.appendChild(this._getComponentRootNode(t)),this._attachedPortal=n,t}attachTemplatePortal(n){let t=n.viewContainerRef,i=t.createEmbeddedView(n.templateRef,n.context,{injector:n.injector});return i.rootNodes.forEach(r=>this.outletElement.appendChild(r)),i.detectChanges(),this.setDisposeFn(()=>{let r=t.indexOf(i);-1!==r&&t.remove(r)}),this._attachedPortal=n,i}attachDomPortal=n=>{const t=n.element,i=this.outletElement.ownerDocument.createComment("dom-portal");t.parentNode.insertBefore(i,t),this.outletElement.appendChild(t),this._attachedPortal=n,super.setDisposeFn(()=>{i.parentNode&&i.parentNode.replaceChild(t,i)})};dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(n){return n.hostView.rootNodes[0]}}let a0,R6e=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=Ci({type:e});static \u0275inj=$n({})}return e})();function H6e(){if(null==a0){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return a0=!1,a0;if(document.documentElement?.style&&"scrollBehavior"in document.documentElement.style)a0=!0;else{const e=Element.prototype.scrollTo;a0=!!e&&!/\{\s*\[native code\]\s*\}/.test(e.toString())}}return a0}const Iy={};let B6e=(()=>{class e{_appId=U(B0);getId(t){return"ng"!==this._appId&&(t+=this._appId),Iy.hasOwnProperty(t)||(Iy[t]=0),`${t}${Iy[t]++}`}static \u0275fac=function(i){return new(i||e)};static \u0275prov=Ke({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Sp(e,...n){return n.length?n.some(t=>e[t]):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}const QN=H6e();class q6e{_viewportRuler;_previousHTMLStyles={top:"",left:""};_previousScrollPosition;_isEnabled=!1;_document;constructor(n,t){this._viewportRuler=n,this._document=t}attach(){}enable(){if(this._canBeEnabled()){const n=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=n.style.left||"",this._previousHTMLStyles.top=n.style.top||"",n.style.left=Ao(-this._previousScrollPosition.left),n.style.top=Ao(-this._previousScrollPosition.top),n.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const n=this._document.documentElement,i=n.style,r=this._document.body.style,o=i.scrollBehavior||"",a=r.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,n.classList.remove("cdk-global-scrollblock"),QN&&(i.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),QN&&(i.scrollBehavior=o,r.scrollBehavior=a)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const t=this._document.documentElement,i=this._viewportRuler.getViewportSize();return t.scrollHeight>i.height||t.scrollWidth>i.width}}class j6e{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;constructor(n,t,i,r){this._scrollDispatcher=n,this._ngZone=t,this._viewportRuler=i,this._config=r}attach(n){this._overlayRef=n}enable(){if(this._scrollSubscription)return;const n=this._scrollDispatcher.scrolled(0).pipe(gr(t=>!t||!this._overlayRef.overlayElement.contains(t.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=n.subscribe(()=>{const t=this._viewportRuler.getViewportScrollPosition().top;Math.abs(t-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=n.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}_detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}class zy{enable(){}disable(){}attach(){}}function Ay(e,n){return n.some(t=>e.bottom<t.top||e.top>t.bottom||e.right<t.left||e.left>t.right)}function ZN(e,n){return n.some(t=>e.top<t.top||e.bottom>t.bottom||e.left<t.left||e.right>t.right)}function Mp(e,n){return new $6e(e.get(WN),e.get(If),e.get(Gt),n)}class $6e{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(n,t,i,r){this._scrollDispatcher=n,this._viewportRuler=t,this._ngZone=i,this._config=r}attach(n){this._overlayRef=n}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const t=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:r}=this._viewportRuler.getViewportSize();Ay(t,[{width:i,height:r,bottom:r,right:i,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let W6e=(()=>{class e{_injector=U($r);constructor(){}noop=()=>new zy;close=t=>function Y6e(e,n){return new j6e(e.get(WN),e.get(Gt),e.get(If),n)}(this._injector,t);block=()=>function U6e(e){return new q6e(e.get(If),e.get(Mr))}(this._injector);reposition=t=>Mp(this._injector,t);static \u0275fac=function(i){return new(i||e)};static \u0275prov=Ke({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class XN{positionStrategy;scrollStrategy=new zy;panelClass="";hasBackdrop=!1;backdropClass="cdk-overlay-dark-backdrop";disableAnimations;width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=!1;constructor(n){if(n){const t=Object.keys(n);for(const i of t)void 0!==n[i]&&(this[i]=n[i])}}}class Nr{offsetX;offsetY;panelClass;originX;originY;overlayX;overlayY;constructor(n,t,i,r,o){this.offsetX=i,this.offsetY=r,this.panelClass=o,this.originX=n.originX,this.originY=n.originY,this.overlayX=t.overlayX,this.overlayY=t.overlayY}}class G6e{connectionPair;scrollableViewProperties;constructor(n,t){this.connectionPair=n,this.scrollableViewProperties=t}}let JN=(()=>{class e{_attachedOverlays=[];_document=U(Mr);_isAttached;constructor(){}ngOnDestroy(){this.detach()}add(t){this.remove(t),this._attachedOverlays.push(t)}remove(t){const i=this._attachedOverlays.indexOf(t);i>-1&&this._attachedOverlays.splice(i,1),0===this._attachedOverlays.length&&this.detach()}static \u0275fac=function(i){return new(i||e)};static \u0275prov=Ke({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),K6e=(()=>{class e extends JN{_ngZone=U(Gt);_renderer=U(Ws).createRenderer(null,null);_cleanupKeydown;add(t){super.add(t),this._isAttached||(this._ngZone.runOutsideAngular(()=>{this._cleanupKeydown=this._renderer.listen("body","keydown",this._keydownListener)}),this._isAttached=!0)}detach(){this._isAttached&&(this._cleanupKeydown?.(),this._isAttached=!1)}_keydownListener=t=>{const i=this._attachedOverlays;for(let r=i.length-1;r>-1;r--)if(i[r]._keydownEvents.observers.length>0){this._ngZone.run(()=>i[r]._keydownEvents.next(t));break}};static \u0275fac=(()=>{let t;return function(r){return(t||(t=Di(e)))(r||e)}})();static \u0275prov=Ke({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Q6e=(()=>{class e extends JN{_platform=U(Ha);_ngZone=U(Gt);_renderer=U(Ws).createRenderer(null,null);_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget;_cleanups;add(t){if(super.add(t),!this._isAttached){const i=this._document.body,r={capture:!0},o=this._renderer;this._cleanups=this._ngZone.runOutsideAngular(()=>[o.listen(i,"pointerdown",this._pointerDownListener,r),o.listen(i,"click",this._clickListener,r),o.listen(i,"auxclick",this._clickListener,r),o.listen(i,"contextmenu",this._clickListener,r)]),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){this._isAttached&&(this._cleanups?.forEach(t=>t()),this._cleanups=void 0,this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}_pointerDownListener=t=>{this._pointerDownEventTarget=fc(t)};_clickListener=t=>{const i=fc(t),r="click"===t.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:i;this._pointerDownEventTarget=null;const o=this._attachedOverlays.slice();for(let a=o.length-1;a>-1;a--){const s=o[a];if(s._outsidePointerEvents.observers.length<1||!s.hasAttached())continue;if(eF(s.overlayElement,i)||eF(s.overlayElement,r))break;const l=s._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>l.next(t)):l.next(t)}};static \u0275fac=(()=>{let t;return function(r){return(t||(t=Di(e)))(r||e)}})();static \u0275prov=Ke({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function eF(e,n){const t=typeof ShadowRoot<"u"&&ShadowRoot;let i=n;for(;i;){if(i===e)return!0;i=t&&i instanceof ShadowRoot?i.host:i.parentNode}return!1}let tF=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275cmp=bt({type:e,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(i,r){},styles:[".cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed}@layer cdk-overlay{.cdk-overlay-container{z-index:1000}}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute}@layer cdk-overlay{.cdk-global-overlay-wrapper{z-index:1000}}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;max-width:100%;max-height:100%}@layer cdk-overlay{.cdk-overlay-pane{z-index:1000}}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);opacity:0;touch-action:manipulation}@layer cdk-overlay{.cdk-overlay-backdrop{z-index:1000;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}}@media(prefers-reduced-motion){.cdk-overlay-backdrop{transition-duration:1ms}}.cdk-overlay-backdrop-showing{opacity:1}@media(forced-colors: active){.cdk-overlay-backdrop-showing{opacity:.6}}@layer cdk-overlay{.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,.cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;display:flex;flex-direction:column;min-width:1px;min-height:1px}@layer cdk-overlay{.cdk-overlay-connected-position-bounding-box{z-index:1000}}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}\n"],encapsulation:2,changeDetection:0})}return e})(),nF=(()=>{class e{_platform=U(Ha);_containerElement;_document=U(Mr);_styleLoader=U(jN);constructor(){}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const t="cdk-overlay-container";if(this._platform.isBrowser||YN()){const r=this._document.querySelectorAll(`.${t}[platform="server"], .${t}[platform="test"]`);for(let o=0;o<r.length;o++)r[o].remove()}const i=this._document.createElement("div");i.classList.add(t),YN()?i.setAttribute("platform","test"):this._platform.isBrowser||i.setAttribute("platform","server"),this._document.body.appendChild(i),this._containerElement=i}_loadStyles(){this._styleLoader.load(tF)}static \u0275fac=function(i){return new(i||e)};static \u0275prov=Ke({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class Z6e{_renderer;_ngZone;element;_cleanupClick;_cleanupTransitionEnd;_fallbackTimeout;constructor(n,t,i,r){this._renderer=t,this._ngZone=i,this.element=n.createElement("div"),this.element.classList.add("cdk-overlay-backdrop"),this._cleanupClick=t.listen(this.element,"click",r)}detach(){this._ngZone.runOutsideAngular(()=>{const n=this.element;clearTimeout(this._fallbackTimeout),this._cleanupTransitionEnd?.(),this._cleanupTransitionEnd=this._renderer.listen(n,"transitionend",this.dispose),this._fallbackTimeout=setTimeout(this.dispose,500),n.style.pointerEvents="none",n.classList.remove("cdk-overlay-backdrop-showing")})}dispose=()=>{clearTimeout(this._fallbackTimeout),this._cleanupClick?.(),this._cleanupTransitionEnd?.(),this._cleanupClick=this._cleanupTransitionEnd=this._fallbackTimeout=void 0,this.element.remove()}}class X6e{_portalOutlet;_host;_pane;_config;_ngZone;_keyboardDispatcher;_document;_location;_outsideClickDispatcher;_animationsDisabled;_injector;_renderer;_backdropClick=new Dt;_attachments=new Dt;_detachments=new Dt;_positionStrategy;_scrollStrategy;_locationChanges=vt.EMPTY;_backdropRef=null;_detachContentMutationObserver;_detachContentAfterRenderRef;_previousHostParent;_keydownEvents=new Dt;_outsidePointerEvents=new Dt;_afterNextRenderRef;constructor(n,t,i,r,o,a,s,l,c,h=!1,p,S){this._portalOutlet=n,this._host=t,this._pane=i,this._config=r,this._ngZone=o,this._keyboardDispatcher=a,this._document=s,this._location=l,this._outsideClickDispatcher=c,this._animationsDisabled=h,this._injector=p,this._renderer=S,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropRef?.element||null}get hostElement(){return this._host}attach(n){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const t=this._portalOutlet.attach(n);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=Tu(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._completeDetachContent(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof t?.onDestroy&&t.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),t}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const n=this._portalOutlet.detach();return this._detachments.next(),this._completeDetachContent(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),n}dispose(){const n=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._backdropRef?.dispose(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._afterNextRenderRef?.destroy(),this._previousHostParent=this._pane=this._host=this._backdropRef=null,n&&this._detachments.next(),this._detachments.complete(),this._completeDetachContent()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(n){n!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=n,this.hasAttached()&&(n.attach(this),this.updatePosition()))}updateSize(n){this._config={...this._config,...n},this._updateElementSize()}setDirection(n){this._config={...this._config,direction:n},this._updateElementDirection()}addPanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!0)}removePanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!1)}getDirection(){const n=this._config.direction;return n?"string"==typeof n?n:n.value:"ltr"}updateScrollStrategy(n){n!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=n,this.hasAttached()&&(n.attach(this),n.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const n=this._pane.style;n.width=Ao(this._config.width),n.height=Ao(this._config.height),n.minWidth=Ao(this._config.minWidth),n.minHeight=Ao(this._config.minHeight),n.maxWidth=Ao(this._config.maxWidth),n.maxHeight=Ao(this._config.maxHeight)}_togglePointerEvents(n){this._pane.style.pointerEvents=n?"":"none"}_attachBackdrop(){const n="cdk-overlay-backdrop-showing";this._backdropRef?.dispose(),this._backdropRef=new Z6e(this._document,this._renderer,this._ngZone,t=>{this._backdropClick.next(t)}),this._animationsDisabled&&this._backdropRef.element.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropRef.element,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropRef.element,this._host),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._backdropRef?.element.classList.add(n))}):this._backdropRef.element.classList.add(n)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){this._animationsDisabled?(this._backdropRef?.dispose(),this._backdropRef=null):this._backdropRef?.detach()}_toggleClasses(n,t,i){const r=Cp(t||[]).filter(o=>!!o);r.length&&(i?n.classList.add(...r):n.classList.remove(...r))}_detachContentWhenEmpty(){let n=!1;try{this._detachContentAfterRenderRef=Tu(()=>{n=!0,this._detachContent()},{injector:this._injector})}catch(t){if(n)throw t;this._detachContent()}globalThis.MutationObserver&&this._pane&&(this._detachContentMutationObserver||=new globalThis.MutationObserver(()=>{this._detachContent()}),this._detachContentMutationObserver.observe(this._pane,{childList:!0}))}_detachContent(){(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),this._completeDetachContent())}_completeDetachContent(){this._detachContentAfterRenderRef?.destroy(),this._detachContentAfterRenderRef=void 0,this._detachContentMutationObserver?.disconnect()}_disposeScrollStrategy(){const n=this._scrollStrategy;n?.disable(),n?.detach?.()}}const iF="cdk-overlay-connected-position-bounding-box",J6e=/([A-Za-z%]+)$/;function Ly(e,n){return new e8e(n,e.get(If),e.get(Mr),e.get(Ha),e.get(nF))}class e8e{_viewportRuler;_document;_platform;_overlayContainer;_overlayRef;_isInitialRender;_lastBoundingBoxSize={width:0,height:0};_isPushed=!1;_canPush=!0;_growAfterOpen=!1;_hasFlexibleDimensions=!0;_positionLocked=!1;_originRect;_overlayRect;_viewportRect;_containerRect;_viewportMargin=0;_scrollables=[];_preferredPositions=[];_origin;_pane;_isDisposed;_boundingBox;_lastPosition;_lastScrollVisibility;_positionChanges=new Dt;_resizeSubscription=vt.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount;positionChanges=this._positionChanges;get positions(){return this._preferredPositions}constructor(n,t,i,r,o){this._viewportRuler=t,this._document=i,this._platform=r,this._overlayContainer=o,this.setOrigin(n)}attach(n){this._validatePositions(),n.hostElement.classList.add(iF),this._overlayRef=n,this._boundingBox=n.hostElement,this._pane=n.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const n=this._originRect,t=this._overlayRect,i=this._viewportRect,r=this._containerRect,o=[];let a;for(let s of this._preferredPositions){let l=this._getOriginPoint(n,r,s),c=this._getOverlayPoint(l,t,s),h=this._getOverlayFit(c,t,i,s);if(h.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(s,l);this._canFitWithFlexibleDimensions(h,c,i)?o.push({position:s,origin:l,overlayRect:t,boundingBoxRect:this._calculateBoundingBoxRect(l,s)}):(!a||a.overlayFit.visibleArea<h.visibleArea)&&(a={overlayFit:h,overlayPoint:c,originPoint:l,position:s,overlayRect:t})}if(o.length){let s=null,l=-1;for(const c of o){const h=c.boundingBoxRect.width*c.boundingBoxRect.height*(c.position.weight||1);h>l&&(l=h,s=c)}return this._isPushed=!1,void this._applyPosition(s.position,s.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(a.position,a.originPoint);this._applyPosition(a.position,a.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&s0(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(iF),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const n=this._lastPosition;if(n){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const t=this._getOriginPoint(this._originRect,this._containerRect,n);this._applyPosition(n,t)}else this.apply()}withScrollableContainers(n){return this._scrollables=n,this}withPositions(n){return this._preferredPositions=n,-1===n.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(n){return this._viewportMargin=n,this}withFlexibleDimensions(n=!0){return this._hasFlexibleDimensions=n,this}withGrowAfterOpen(n=!0){return this._growAfterOpen=n,this}withPush(n=!0){return this._canPush=n,this}withLockedPosition(n=!0){return this._positionLocked=n,this}setOrigin(n){return this._origin=n,this}withDefaultOffsetX(n){return this._offsetX=n,this}withDefaultOffsetY(n){return this._offsetY=n,this}withTransformOriginOn(n){return this._transformOriginSelector=n,this}_getOriginPoint(n,t,i){let r,o;if("center"==i.originX)r=n.left+n.width/2;else{const a=this._isRtl()?n.right:n.left,s=this._isRtl()?n.left:n.right;r="start"==i.originX?a:s}return t.left<0&&(r-=t.left),o="center"==i.originY?n.top+n.height/2:"top"==i.originY?n.top:n.bottom,t.top<0&&(o-=t.top),{x:r,y:o}}_getOverlayPoint(n,t,i){let r,o;return r="center"==i.overlayX?-t.width/2:"start"===i.overlayX?this._isRtl()?-t.width:0:this._isRtl()?0:-t.width,o="center"==i.overlayY?-t.height/2:"top"==i.overlayY?0:-t.height,{x:n.x+r,y:n.y+o}}_getOverlayFit(n,t,i,r){const o=oF(t);let{x:a,y:s}=n,l=this._getOffset(r,"x"),c=this._getOffset(r,"y");l&&(a+=l),c&&(s+=c);let S=0-s,v=s+o.height-i.height,C=this._subtractOverflows(o.width,0-a,a+o.width-i.width),P=this._subtractOverflows(o.height,S,v),Z=C*P;return{visibleArea:Z,isCompletelyWithinViewport:o.width*o.height===Z,fitsInViewportVertically:P===o.height,fitsInViewportHorizontally:C==o.width}}_canFitWithFlexibleDimensions(n,t,i){if(this._hasFlexibleDimensions){const r=i.bottom-t.y,o=i.right-t.x,a=rF(this._overlayRef.getConfig().minHeight),s=rF(this._overlayRef.getConfig().minWidth);return(n.fitsInViewportVertically||null!=a&&a<=r)&&(n.fitsInViewportHorizontally||null!=s&&s<=o)}return!1}_pushOverlayOnScreen(n,t,i){if(this._previousPushAmount&&this._positionLocked)return{x:n.x+this._previousPushAmount.x,y:n.y+this._previousPushAmount.y};const r=oF(t),o=this._viewportRect,a=Math.max(n.x+r.width-o.width,0),s=Math.max(n.y+r.height-o.height,0),l=Math.max(o.top-i.top-n.y,0),c=Math.max(o.left-i.left-n.x,0);let h=0,p=0;return h=r.width<=o.width?c||-a:n.x<this._viewportMargin?o.left-i.left-n.x:0,p=r.height<=o.height?l||-s:n.y<this._viewportMargin?o.top-i.top-n.y:0,this._previousPushAmount={x:h,y:p},{x:n.x+h,y:n.y+p}}_applyPosition(n,t){if(this._setTransformOrigin(n),this._setOverlayElementStyles(t,n),this._setBoundingBoxStyles(t,n),n.panelClass&&this._addPanelClasses(n.panelClass),this._positionChanges.observers.length){const i=this._getScrollVisibility();if(n!==this._lastPosition||!this._lastScrollVisibility||!function t8e(e,n){return e===n||e.isOriginClipped===n.isOriginClipped&&e.isOriginOutsideView===n.isOriginOutsideView&&e.isOverlayClipped===n.isOverlayClipped&&e.isOverlayOutsideView===n.isOverlayOutsideView}(this._lastScrollVisibility,i)){const r=new G6e(n,i);this._positionChanges.next(r)}this._lastScrollVisibility=i}this._lastPosition=n,this._isInitialRender=!1}_setTransformOrigin(n){if(!this._transformOriginSelector)return;const t=this._boundingBox.querySelectorAll(this._transformOriginSelector);let i,r=n.overlayY;i="center"===n.overlayX?"center":this._isRtl()?"start"===n.overlayX?"right":"left":"start"===n.overlayX?"left":"right";for(let o=0;o<t.length;o++)t[o].style.transformOrigin=`${i} ${r}`}_calculateBoundingBoxRect(n,t){const i=this._viewportRect,r=this._isRtl();let o,a,s,h,p,S;if("top"===t.overlayY)a=n.y,o=i.height-a+this._viewportMargin;else if("bottom"===t.overlayY)s=i.height-n.y+2*this._viewportMargin,o=i.height-s+this._viewportMargin;else{const v=Math.min(i.bottom-n.y+i.top,n.y),C=this._lastBoundingBoxSize.height;o=2*v,a=n.y-v,o>C&&!this._isInitialRender&&!this._growAfterOpen&&(a=n.y-C/2)}if("end"===t.overlayX&&!r||"start"===t.overlayX&&r)S=i.width-n.x+2*this._viewportMargin,h=n.x-this._viewportMargin;else if("start"===t.overlayX&&!r||"end"===t.overlayX&&r)p=n.x,h=i.right-n.x;else{const v=Math.min(i.right-n.x+i.left,n.x),C=this._lastBoundingBoxSize.width;h=2*v,p=n.x-v,h>C&&!this._isInitialRender&&!this._growAfterOpen&&(p=n.x-C/2)}return{top:a,left:p,bottom:s,right:S,width:h,height:o}}_setBoundingBoxStyles(n,t){const i=this._calculateBoundingBoxRect(n,t);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));const r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right=r.maxHeight=r.maxWidth="",r.width=r.height="100%";else{const o=this._overlayRef.getConfig().maxHeight,a=this._overlayRef.getConfig().maxWidth;r.height=Ao(i.height),r.top=Ao(i.top),r.bottom=Ao(i.bottom),r.width=Ao(i.width),r.left=Ao(i.left),r.right=Ao(i.right),r.alignItems="center"===t.overlayX?"center":"end"===t.overlayX?"flex-end":"flex-start",r.justifyContent="center"===t.overlayY?"center":"bottom"===t.overlayY?"flex-end":"flex-start",o&&(r.maxHeight=Ao(o)),a&&(r.maxWidth=Ao(a))}this._lastBoundingBoxSize=i,s0(this._boundingBox.style,r)}_resetBoundingBoxStyles(){s0(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){s0(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(n,t){const i={},r=this._hasExactPosition(),o=this._hasFlexibleDimensions,a=this._overlayRef.getConfig();if(r){const h=this._viewportRuler.getViewportScrollPosition();s0(i,this._getExactOverlayY(t,n,h)),s0(i,this._getExactOverlayX(t,n,h))}else i.position="static";let s="",l=this._getOffset(t,"x"),c=this._getOffset(t,"y");l&&(s+=`translateX(${l}px) `),c&&(s+=`translateY(${c}px)`),i.transform=s.trim(),a.maxHeight&&(r?i.maxHeight=Ao(a.maxHeight):o&&(i.maxHeight="")),a.maxWidth&&(r?i.maxWidth=Ao(a.maxWidth):o&&(i.maxWidth="")),s0(this._pane.style,i)}_getExactOverlayY(n,t,i){let r={top:"",bottom:""},o=this._getOverlayPoint(t,this._overlayRect,n);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),"bottom"===n.overlayY?r.bottom=this._document.documentElement.clientHeight-(o.y+this._overlayRect.height)+"px":r.top=Ao(o.y),r}_getExactOverlayX(n,t,i){let a,r={left:"",right:""},o=this._getOverlayPoint(t,this._overlayRect,n);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),a=this._isRtl()?"end"===n.overlayX?"left":"right":"end"===n.overlayX?"right":"left","right"===a?r.right=this._document.documentElement.clientWidth-(o.x+this._overlayRect.width)+"px":r.left=Ao(o.x),r}_getScrollVisibility(){const n=this._getOriginRect(),t=this._pane.getBoundingClientRect(),i=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:ZN(n,i),isOriginOutsideView:Ay(n,i),isOverlayClipped:ZN(t,i),isOverlayOutsideView:Ay(t,i)}}_subtractOverflows(n,...t){return t.reduce((i,r)=>i-Math.max(r,0),n)}_getNarrowedViewportRect(){const n=this._document.documentElement.clientWidth,t=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+n-this._viewportMargin,bottom:i.top+t-this._viewportMargin,width:n-2*this._viewportMargin,height:t-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(n,t){return"x"===t?null==n.offsetX?this._offsetX:n.offsetX:null==n.offsetY?this._offsetY:n.offsetY}_validatePositions(){}_addPanelClasses(n){this._pane&&Cp(n).forEach(t=>{""!==t&&-1===this._appliedPanelClasses.indexOf(t)&&(this._appliedPanelClasses.push(t),this._pane.classList.add(t))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(n=>{this._pane.classList.remove(n)}),this._appliedPanelClasses=[])}_getOriginRect(){const n=this._origin;if(n instanceof pn)return n.nativeElement.getBoundingClientRect();if(n instanceof Element)return n.getBoundingClientRect();const t=n.width||0,i=n.height||0;return{top:n.y,bottom:n.y+i,left:n.x,right:n.x+t,height:i,width:t}}}function s0(e,n){for(let t in n)n.hasOwnProperty(t)&&(e[t]=n[t]);return e}function rF(e){if("number"!=typeof e&&null!=e){const[n,t]=e.split(J6e);return t&&"px"!==t?null:parseFloat(n)}return e||null}function oF(e){return{top:Math.floor(e.top),right:Math.floor(e.right),bottom:Math.floor(e.bottom),left:Math.floor(e.left),width:Math.floor(e.width),height:Math.floor(e.height)}}const aF="cdk-global-overlay-wrapper";class i8e{_overlayRef;_cssPosition="static";_topOffset="";_bottomOffset="";_alignItems="";_xPosition="";_xOffset="";_width="";_height="";_isDisposed=!1;attach(n){const t=n.getConfig();this._overlayRef=n,this._width&&!t.width&&n.updateSize({width:this._width}),this._height&&!t.height&&n.updateSize({height:this._height}),n.hostElement.classList.add(aF),this._isDisposed=!1}top(n=""){return this._bottomOffset="",this._topOffset=n,this._alignItems="flex-start",this}left(n=""){return this._xOffset=n,this._xPosition="left",this}bottom(n=""){return this._topOffset="",this._bottomOffset=n,this._alignItems="flex-end",this}right(n=""){return this._xOffset=n,this._xPosition="right",this}start(n=""){return this._xOffset=n,this._xPosition="start",this}end(n=""){return this._xOffset=n,this._xPosition="end",this}width(n=""){return this._overlayRef?this._overlayRef.updateSize({width:n}):this._width=n,this}height(n=""){return this._overlayRef?this._overlayRef.updateSize({height:n}):this._height=n,this}centerHorizontally(n=""){return this.left(n),this._xPosition="center",this}centerVertically(n=""){return this.top(n),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const n=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:r,height:o,maxWidth:a,maxHeight:s}=i,l=!("100%"!==r&&"100vw"!==r||a&&"100%"!==a&&"100vw"!==a),c=!("100%"!==o&&"100vh"!==o||s&&"100%"!==s&&"100vh"!==s),h=this._xPosition,p=this._xOffset,S="rtl"===this._overlayRef.getConfig().direction;let v="",C="",P="";l?P="flex-start":"center"===h?(P="center",S?C=p:v=p):S?"left"===h||"end"===h?(P="flex-end",v=p):("right"===h||"start"===h)&&(P="flex-start",C=p):"left"===h||"start"===h?(P="flex-start",v=p):("right"===h||"end"===h)&&(P="flex-end",C=p),n.position=this._cssPosition,n.marginLeft=l?"0":v,n.marginTop=c?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=l?"0":C,t.justifyContent=P,t.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const n=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,i=t.style;t.classList.remove(aF),i.justifyContent=i.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}}let r8e=(()=>{class e{_injector=U($r);constructor(){}global(){return function n8e(){return new i8e}()}flexibleConnectedTo(t){return Ly(this._injector,t)}static \u0275fac=function(i){return new(i||e)};static \u0275prov=Ke({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Oy(e,n){e.get(jN).load(tF);const t=e.get(nF),i=e.get(Mr),r=e.get(B6e),o=e.get(Cl),a=e.get(co),s=i.createElement("div"),l=i.createElement("div");l.id=r.getId("cdk-overlay-"),l.classList.add("cdk-overlay-pane"),s.appendChild(l),t.getContainerElement().appendChild(s);const c=new F6e(l,o,e),h=new XN(n),p=e.get(oo,null,{optional:!0})||e.get(Ws).createRenderer(null,null);return h.direction=h.direction||a.value,new X6e(c,s,l,h,e.get(Gt),e.get(K6e),i,e.get(I0),e.get(Q6e),n?.disableAnimations??"NoopAnimations"===e.get(U0,null,{optional:!0}),e.get(Ti),p)}let o8e=(()=>{class e{scrollStrategies=U(W6e);_positionBuilder=U(r8e);_injector=U($r);constructor(){}create(t){return Oy(this._injector,t)}position(){return this._positionBuilder}static \u0275fac=function(i){return new(i||e)};static \u0275prov=Ke({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const a8e=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],sF=new Ae("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{const e=U($r);return()=>Mp(e)}});let Af=(()=>{class e{elementRef=U(pn);constructor(){}static \u0275fac=function(i){return new(i||e)};static \u0275dir=_t({type:e,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]})}return e})(),l0=(()=>{class e{_dir=U(co,{optional:!0});_injector=U($r);_overlayRef;_templatePortal;_backdropSubscription=vt.EMPTY;_attachSubscription=vt.EMPTY;_detachSubscription=vt.EMPTY;_positionSubscription=vt.EMPTY;_offsetX;_offsetY;_position;_scrollStrategyFactory=U(sF);_disposeOnNavigation=!1;_ngZone=U(Gt);origin;positions;positionStrategy;get offsetX(){return this._offsetX}set offsetX(t){this._offsetX=t,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(t){this._offsetY=t,this._position&&this._updatePositionStrategy(this._position)}width;height;minWidth;minHeight;backdropClass;panelClass;viewportMargin=0;scrollStrategy;open=!1;disableClose=!1;transformOriginSelector;hasBackdrop=!1;lockPosition=!1;flexibleDimensions=!1;growAfterOpen=!1;push=!1;get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(t){this._disposeOnNavigation=t}backdropClick=new ht;positionChange=new ht;attach=new ht;detach=new ht;overlayKeydown=new ht;overlayOutsideClick=new ht;constructor(){const t=U(Wo),i=U(La);this._templatePortal=new Ey(t,i),this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef?.dispose()}ngOnChanges(t){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef?.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),t.origin&&this.open&&this._position.apply()),t.open&&(this.open?this.attachOverlay():this.detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=a8e);const t=this._overlayRef=Oy(this._injector,this._buildConfig());this._attachSubscription=t.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=t.detachments().subscribe(()=>this.detach.emit()),t.keydownEvents().subscribe(i=>{this.overlayKeydown.next(i),27===i.keyCode&&!this.disableClose&&!Sp(i)&&(i.preventDefault(),this.detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(i=>{const r=this._getOriginElement(),o=fc(i);(!r||r!==o&&!r.contains(o))&&this.overlayOutsideClick.next(i)})}_buildConfig(){const t=this._position=this.positionStrategy||this._createPositionStrategy(),i=new XN({direction:this._dir||"ltr",positionStrategy:t,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||0===this.width)&&(i.width=this.width),(this.height||0===this.height)&&(i.height=this.height),(this.minWidth||0===this.minWidth)&&(i.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(i.minHeight=this.minHeight),this.backdropClass&&(i.backdropClass=this.backdropClass),this.panelClass&&(i.panelClass=this.panelClass),i}_updatePositionStrategy(t){const i=this.positions.map(r=>({originX:r.originX,originY:r.originY,overlayX:r.overlayX,overlayY:r.overlayY,offsetX:r.offsetX||this.offsetX,offsetY:r.offsetY||this.offsetY,panelClass:r.panelClass||void 0}));return t.setOrigin(this._getOrigin()).withPositions(i).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const t=Ly(this._injector,this._getOrigin());return this._updatePositionStrategy(t),t}_getOrigin(){return this.origin instanceof Af?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof Af?this.origin.elementRef.nativeElement:this.origin instanceof pn?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(t=>{this.backdropClick.emit(t)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function V6e(e,n=!1){return qr((t,i)=>{let r=0;t.subscribe(hr(i,o=>{const a=e(o,r++);(a||n)&&i.next(o),!a&&i.complete()}))})}(()=>this.positionChange.observers.length>0)).subscribe(t=>{this._ngZone.run(()=>this.positionChange.emit(t)),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()})),this.open=!0}detachOverlay(){this._overlayRef?.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.open=!1}static \u0275fac=function(i){return new(i||e)};static \u0275dir=_t({type:e,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[0,"cdkConnectedOverlayOrigin","origin"],positions:[0,"cdkConnectedOverlayPositions","positions"],positionStrategy:[0,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[0,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[0,"cdkConnectedOverlayOffsetY","offsetY"],width:[0,"cdkConnectedOverlayWidth","width"],height:[0,"cdkConnectedOverlayHeight","height"],minWidth:[0,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[0,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[0,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[0,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[0,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[0,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[0,"cdkConnectedOverlayOpen","open"],disableClose:[0,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[0,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[2,"cdkConnectedOverlayHasBackdrop","hasBackdrop",Xe],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",Xe],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",Xe],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",Xe],push:[2,"cdkConnectedOverlayPush","push",Xe],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",Xe]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[wn]})}return e})();const l8e={provide:sF,useFactory:function s8e(e){const n=U($r);return()=>Mp(n)}};let Tp=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=Ci({type:e});static \u0275inj=$n({providers:[o8e,l8e],imports:[xy,R6e,KN,KN]})}return e})();function lF(...e){const n=fv(e);return qr((t,i)=>{const r=e.length,o=new Array(r);let a=e.map(()=>!1),s=!1;for(let l=0;l<r;l++)fa(e[l]).subscribe(hr(i,c=>{o[l]=c,!s&&!a[l]&&(a[l]=!0,(s=a.every(Vr))&&(a=null))},zi));t.subscribe(hr(i,l=>{if(s){const c=[l,...o];i.next(n?n(...c):c)}}))})}let c8e=(()=>{class e{create(t){return typeof ResizeObserver>"u"?null:new ResizeObserver(t)}static \u0275fac=function(i){return new(i||e)};static \u0275prov=Ke({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),cF=(()=>{class e{nzResizeObserverFactory=U(c8e);destroyRef=U(kn);observedElements=new Map;constructor(){this.destroyRef.onDestroy(()=>this.observedElements.forEach((t,i)=>this.cleanupObserver(i)))}observe(t){const i=wf(t);return new On(r=>{const a=this.observeElement(i).subscribe(r);return()=>{a.unsubscribe(),this.unobserveElement(i)}})}observeElement(t){if(this.observedElements.has(t))this.observedElements.get(t).count++;else{const i=new Dt,r=this.nzResizeObserverFactory.create(o=>i.next(o));r&&r.observe(t),this.observedElements.set(t,{observer:r,stream:i,count:1})}return this.observedElements.get(t).stream}unobserveElement(t){this.observedElements.has(t)&&(this.observedElements.get(t).count--,this.observedElements.get(t).count||this.cleanupObserver(t))}cleanupObserver(t){if(this.observedElements.has(t)){const{observer:i,stream:r}=this.observedElements.get(t);i&&i.disconnect(),r.complete(),this.observedElements.delete(t)}}static \u0275fac=function(i){return new(i||e)};static \u0275prov=Ke({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ba=(()=>class e{static SLOW="0.3s";static BASE="0.2s";static FAST="0.1s"})(),Ca=(()=>class e{static EASE_BASE_OUT="cubic-bezier(0.7, 0.3, 0.1, 1)";static EASE_BASE_IN="cubic-bezier(0.9, 0, 0.3, 0.7)";static EASE_OUT="cubic-bezier(0.215, 0.61, 0.355, 1)";static EASE_IN="cubic-bezier(0.55, 0.055, 0.675, 0.19)";static EASE_IN_OUT="cubic-bezier(0.645, 0.045, 0.355, 1)";static EASE_OUT_BACK="cubic-bezier(0.12, 0.4, 0.29, 1.46)";static EASE_IN_BACK="cubic-bezier(0.71, -0.46, 0.88, 0.6)";static EASE_IN_OUT_BACK="cubic-bezier(0.71, -0.46, 0.29, 1.46)";static EASE_OUT_CIRC="cubic-bezier(0.08, 0.82, 0.17, 1)";static EASE_IN_CIRC="cubic-bezier(0.6, 0.04, 0.98, 0.34)";static EASE_IN_OUT_CIRC="cubic-bezier(0.78, 0.14, 0.15, 0.86)";static EASE_OUT_QUINT="cubic-bezier(0.23, 1, 0.32, 1)";static EASE_IN_QUINT="cubic-bezier(0.755, 0.05, 0.855, 0.06)";static EASE_IN_OUT_QUINT="cubic-bezier(0.86, 0, 0.07, 1)"})();const u8e=ks("collapseMotion",[es("expanded",Xt({height:"*"})),es("collapsed",Xt({height:0,overflow:"hidden"})),es("hidden",Xt({height:0,overflow:"hidden",borderTopWidth:"0"})),Wi("expanded => collapsed",Bi(`150ms ${Ca.EASE_IN_OUT}`)),Wi("expanded => hidden",Bi(`150ms ${Ca.EASE_IN_OUT}`)),Wi("collapsed => expanded",Bi(`150ms ${Ca.EASE_IN_OUT}`)),Wi("hidden => expanded",Bi(`150ms ${Ca.EASE_IN_OUT}`))]),d8e=(ks("treeCollapseMotion",[Wi("* => *",[XL("nz-tree-node:leave,nz-tree-builtin-node:leave",[Xt({overflow:"hidden"}),JL(0,[Bi(`150ms ${Ca.EASE_IN_OUT}`,Xt({height:0,opacity:0,"padding-bottom":0}))])],{optional:!0}),XL("nz-tree-node:enter,nz-tree-builtin-node:enter",[Xt({overflow:"hidden",height:0,opacity:0,"padding-bottom":0}),JL(0,[Bi(`150ms ${Ca.EASE_IN_OUT}`,Xt({overflow:"hidden",height:"*",opacity:"*","padding-bottom":"*"}))])],{optional:!0})])]),ks("drawerMaskMotion",[Wi(":enter",[Xt({opacity:0}),Bi(`${ba.SLOW}`,Xt({opacity:1}))]),Wi(":leave",[Xt({opacity:1}),Bi(`${ba.SLOW}`,Xt({opacity:0}))])]),ks("fadeMotion",[Wi("* => enter",[Xt({opacity:0}),Bi(`${ba.BASE}`,Xt({opacity:1}))]),Wi("* => leave, :leave",[Xt({opacity:1}),Bi(`${ba.BASE}`,Xt({opacity:0}))])]),ks("helpMotion",[Wi(":enter",[Xt({opacity:0,transform:"translateY(-5px)"}),Bi(`${ba.SLOW} ${Ca.EASE_IN_OUT}`,Xt({opacity:1,transform:"translateY(0)"}))]),Wi(":leave",[Xt({opacity:1,transform:"translateY(0)"}),Bi(`${ba.SLOW} ${Ca.EASE_IN_OUT}`,Xt({opacity:0,transform:"translateY(-5px)"}))])]),ks("moveUpMotion",[Wi("* => enter",[Xt({transformOrigin:"0 0",transform:"translateY(-100%)",opacity:0}),Bi(`${ba.BASE}`,Xt({transformOrigin:"0 0",transform:"translateY(0%)",opacity:1}))]),Wi("* => leave",[Xt({transformOrigin:"0 0",transform:"translateY(0%)",opacity:1}),Bi(`${ba.BASE}`,Xt({transformOrigin:"0 0",transform:"translateY(-100%)",opacity:0}))])]),ks("notificationMotion",[es("enterRight",Xt({opacity:1,transform:"translateX(0)"})),Wi("* => enterRight",[Xt({opacity:0,transform:"translateX(5%)"}),Bi("100ms linear")]),es("enterLeft",Xt({opacity:1,transform:"translateX(0)"})),Wi("* => enterLeft",[Xt({opacity:0,transform:"translateX(-5%)"}),Bi("100ms linear")]),es("enterTop",Xt({opacity:1,transform:"translateY(0)"})),Wi("* => enterTop",[Xt({opacity:0,transform:"translateY(-5%)"}),Bi("100ms linear")]),es("enterBottom",Xt({opacity:1,transform:"translateY(0)"})),Wi("* => enterBottom",[Xt({opacity:0,transform:"translateY(5%)"}),Bi("100ms linear")]),es("leave",Xt({opacity:0,transform:"scaleY(0.8)",transformOrigin:"0% 0%"})),Wi("* => leave",[Xt({opacity:1,transform:"scaleY(1)",transformOrigin:"0% 0%"}),Bi("100ms linear")])]),`${ba.BASE} ${Ca.EASE_OUT_QUINT}`),h8e=`${ba.BASE} ${Ca.EASE_IN_QUINT}`,Dp=ks("slideMotion",[es("void",Xt({opacity:0,transform:"scaleY(0.8)"})),es("enter",Xt({opacity:1,transform:"scaleY(1)"})),Wi("void => *",[Bi(d8e)]),Wi("* => void",[Bi(h8e)])]),f8e=(ks("slideAlertMotion",[Wi(":leave",[Xt({opacity:1,transform:"scaleY(1)",transformOrigin:"0% 0%"}),Bi(`${ba.SLOW} ${Ca.EASE_IN_OUT_CIRC}`,Xt({opacity:0,transform:"scaleY(0)",transformOrigin:"0% 0%"}))])]),ks("tabSwitchMotion",[es("leave",Xt({display:"none"})),Wi("* => enter",[Xt({display:"block",opacity:0}),Bi(ba.SLOW)]),Wi("* => leave, :leave",[Xt({position:"absolute",top:0,left:0,width:"100%"}),Bi(ba.SLOW,Xt({opacity:0})),Xt({display:"none"})])])),Py=(ks("thumbMotion",[es("from",Xt({transform:"translateX({{ transform }}px)",width:"{{ width }}px"}),{params:{transform:0,width:0}}),es("to",Xt({transform:"translateX({{ transform }}px)",width:"{{ width }}px"}),{params:{transform:100,width:0}}),es("fromVertical",Xt({transform:"translateY({{ transform }}px)",width:"{{ width }}px",height:"{{ height }}px"}),{params:{transform:0,width:0,height:0}}),es("toVertical",Xt({transform:"translateY({{ transform }}px)",width:"{{ width }}px",height:"{{ height }}px"}),{params:{transform:100,width:0,height:0}}),Wi("from => to",Bi(`300ms ${Ca.EASE_IN_OUT}`)),Wi("fromVertical => toVertical",Bi(`300ms ${Ca.EASE_IN_OUT}`))]),ks("zoomBigMotion",[Wi("void => active",[Xt({opacity:0,transform:"scale(0.8)"}),Bi(`${ba.BASE} ${Ca.EASE_OUT_CIRC}`,Xt({opacity:1,transform:"scale(1)"}))]),Wi("active => void",[Xt({opacity:1,transform:"scale(1)"}),Bi(`${ba.BASE} ${Ca.EASE_IN_OUT_CIRC}`,Xt({opacity:0,transform:"scale(0.8)"}))])]));ks("zoomBadgeMotion",[Wi(":enter",[Xt({opacity:0,transform:"scale(0) translate(50%, -50%)"}),Bi(`${ba.SLOW} ${Ca.EASE_OUT_BACK}`,Xt({opacity:1,transform:"scale(1) translate(50%, -50%)"}))]),Wi(":leave",[Xt({opacity:1,transform:"scale(1) translate(50%, -50%)"}),Bi(`${ba.SLOW} ${Ca.EASE_IN_BACK}`,Xt({opacity:0,transform:"scale(0) translate(50%, -50%)"}))])]);let gc=(()=>{class e{animationType=U(U0,{optional:!0});nzNoAnimation=!1;static \u0275fac=function(i){return new(i||e)};static \u0275dir=_t({type:e,selectors:[["","nzNoAnimation",""]],hostVars:2,hostBindings:function(i,r){2&i&&jt("nz-animate-disabled",r.nzNoAnimation||"NoopAnimations"===r.animationType)},inputs:{nzNoAnimation:[2,"nzNoAnimation","nzNoAnimation",Xe]},exportAs:["nzNoAnimation"]})}return e})();const lr={top:new Nr({originX:"center",originY:"top"},{overlayX:"center",overlayY:"bottom"}),topCenter:new Nr({originX:"center",originY:"top"},{overlayX:"center",overlayY:"bottom"}),topLeft:new Nr({originX:"start",originY:"top"},{overlayX:"start",overlayY:"bottom"}),topRight:new Nr({originX:"end",originY:"top"},{overlayX:"end",overlayY:"bottom"}),right:new Nr({originX:"end",originY:"center"},{overlayX:"start",overlayY:"center"}),rightTop:new Nr({originX:"end",originY:"top"},{overlayX:"start",overlayY:"top"}),rightBottom:new Nr({originX:"end",originY:"bottom"},{overlayX:"start",overlayY:"bottom"}),bottom:new Nr({originX:"center",originY:"bottom"},{overlayX:"center",overlayY:"top"}),bottomCenter:new Nr({originX:"center",originY:"bottom"},{overlayX:"center",overlayY:"top"}),bottomLeft:new Nr({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"top"}),bottomRight:new Nr({originX:"end",originY:"bottom"},{overlayX:"end",overlayY:"top"}),left:new Nr({originX:"start",originY:"center"},{overlayX:"end",overlayY:"center"}),leftTop:new Nr({originX:"start",originY:"top"},{overlayX:"end",overlayY:"top"}),leftBottom:new Nr({originX:"start",originY:"bottom"},{overlayX:"end",overlayY:"bottom"})},Ud=((e=12)=>({top:[0,-e],topCenter:[0,-e],topLeft:[0,-e],topRight:[0,-e],right:[e,0],rightTop:[e,0],rightBottom:[e,0],bottom:[0,e],bottomCenter:[0,e],bottomLeft:[0,e],bottomRight:[0,e],left:[-e,0],leftTop:[-e,0],leftBottom:[-e,0]}))(),uF=[qd(lr.top,Ud.top),qd(lr.right,Ud.right),qd(lr.bottom,Ud.bottom),qd(lr.left,Ud.left)];function xp(e){for(const n in lr)if(e.connectionPair.originX===lr[n].originX&&e.connectionPair.originY===lr[n].originY&&e.connectionPair.overlayX===lr[n].overlayX&&e.connectionPair.overlayY===lr[n].overlayY)return n}new Nr({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"bottom"}),new Nr({originX:"start",originY:"bottom"},{overlayX:"end",overlayY:"bottom"}),new Nr({originX:"start",originY:"bottom"},{overlayX:"end",overlayY:"top"});const Lf={bottomLeft:new Nr({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"top"},void 0,2),topLeft:new Nr({originX:"start",originY:"top"},{overlayX:"start",overlayY:"bottom"},void 0,-2),bottomRight:new Nr({originX:"end",originY:"bottom"},{overlayX:"end",overlayY:"top"},void 0,2),topRight:new Nr({originX:"end",originY:"top"},{overlayX:"end",overlayY:"bottom"},void 0,-2)},dF=[Lf.bottomLeft,Lf.topLeft,Lf.bottomRight,Lf.topRight];function qd(e,n){const[t,i]=function p8e(e){return Array.isArray(e)?e:[e,e]}(n);return{...e,offsetX:t,offsetY:i}}let kp=(()=>{class e{cdkConnectedOverlay=U(l0);nzArrowPointAtCenter=!1;constructor(){this.cdkConnectedOverlay.backdropClass="nz-overlay-transparent-backdrop",this.cdkConnectedOverlay.positionChange.pipe(gt()).subscribe(t=>{this.nzArrowPointAtCenter&&this.updateArrowPosition(t)})}updateArrowPosition(t){const i=this.getOriginRect(),r=xp(t);let o=0,a=0;"topLeft"===r||"bottomLeft"===r?o=i.width/2-14:"topRight"===r||"bottomRight"===r?o=-(i.width/2-14):"leftTop"===r||"rightTop"===r?a=i.height/2-10:("leftBottom"===r||"rightBottom"===r)&&(a=-(i.height/2-10)),(this.cdkConnectedOverlay.offsetX!==o||this.cdkConnectedOverlay.offsetY!==a)&&(this.cdkConnectedOverlay.offsetY=a,this.cdkConnectedOverlay.offsetX=o,this.cdkConnectedOverlay.overlayRef.updatePosition())}getFlexibleConnectedPositionStrategyOrigin(){return this.cdkConnectedOverlay.origin instanceof Af?this.cdkConnectedOverlay.origin.elementRef:this.cdkConnectedOverlay.origin}getOriginRect(){const t=this.getFlexibleConnectedPositionStrategyOrigin();if(t instanceof pn)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();const i=t.width||0,r=t.height||0;return{top:t.y,bottom:t.y+r,left:t.x,right:t.x+i,height:r,width:i}}static \u0275fac=function(i){return new(i||e)};static \u0275dir=_t({type:e,selectors:[["","cdkConnectedOverlay","","nzConnectedOverlay",""]],inputs:{nzArrowPointAtCenter:[2,"nzArrowPointAtCenter","nzArrowPointAtCenter",Xe]},exportAs:["nzConnectedOverlay"]})}return e})(),Ep=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=Ci({type:e});static \u0275inj=$n({})}return e})();const Ip="function"==typeof globalThis.requestAnimationFrame?globalThis.requestAnimationFrame:globalThis.setTimeout,m8e=(globalThis,globalThis,["hourListElement"]),g8e=["minuteListElement"],v8e=["secondListElement"],_8e=["use12HoursListElement"];function y8e(e,n){if(1&e&&(J(0,"div",4)(1,"div",8),He(2),te()()),2&e){const t=k();I(2),dn(t.dateHelper.format(null==t.time?null:t.time.value,t.format)||"\xa0")}}function b8e(e,n){if(1&e){const t=nt();J(0,"li",10),Fe("click",function(){ce(t);const r=k().$implicit;return ue(k(2).selectHour(r))}),J(1,"div",11),He(2),Vi(3,"number"),te()()}if(2&e){const t=k().$implicit;jt("ant-picker-time-panel-cell-selected",k(2).isSelectedHour(t))("ant-picker-time-panel-cell-disabled",t.disabled),I(2),dn(a6(3,5,t.index,"2.0-0"))}}function C8e(e,n){if(1&e&&lt(0,b8e,4,8,"li",9),2&e){const t=n.$implicit;ct(k(2).nzHideDisabledOptions&&t.disabled?-1:0)}}function w8e(e,n){if(1&e&&(J(0,"ul",6,0),Ai(2,C8e,1,1,null,null,Vc),te()),2&e){const t=k();I(2),Li(t.hourRange)}}function S8e(e,n){if(1&e){const t=nt();J(0,"li",10),Fe("click",function(){ce(t);const r=k().$implicit;return ue(k(2).selectMinute(r))}),J(1,"div",11),He(2),Vi(3,"number"),te()()}if(2&e){const t=k().$implicit;jt("ant-picker-time-panel-cell-selected",k(2).isSelectedMinute(t))("ant-picker-time-panel-cell-disabled",t.disabled),I(2),dn(a6(3,5,t.index,"2.0-0"))}}function M8e(e,n){if(1&e&&lt(0,S8e,4,8,"li",9),2&e){const t=n.$implicit;ct(k(2).nzHideDisabledOptions&&t.disabled?-1:0)}}function T8e(e,n){if(1&e&&(J(0,"ul",6,1),Ai(2,M8e,1,1,null,null,Vc),te()),2&e){const t=k();I(2),Li(t.minuteRange)}}function D8e(e,n){if(1&e){const t=nt();J(0,"li",10),Fe("click",function(){ce(t);const r=k().$implicit;return ue(k(2).selectSecond(r))}),J(1,"div",11),He(2),Vi(3,"number"),te()()}if(2&e){const t=k().$implicit;jt("ant-picker-time-panel-cell-selected",k(2).isSelectedSecond(t))("ant-picker-time-panel-cell-disabled",t.disabled),I(2),dn(a6(3,5,t.index,"2.0-0"))}}function x8e(e,n){if(1&e&&lt(0,D8e,4,8,"li",9),2&e){const t=n.$implicit;ct(k(2).nzHideDisabledOptions&&t.disabled?-1:0)}}function k8e(e,n){if(1&e&&(J(0,"ul",6,2),Ai(2,x8e,1,1,null,null,Vc),te()),2&e){const t=k();I(2),Li(t.secondRange)}}function E8e(e,n){if(1&e){const t=nt();J(0,"li",10),Fe("click",function(){const r=ce(t).$implicit;return ue(k(2).select12Hours(r))}),J(1,"div",11),He(2),te()()}if(2&e){const t=n.$implicit;jt("ant-picker-time-panel-cell-selected",k(2).isSelected12Hours(t)),I(2),dn(t.value)}}function I8e(e,n){if(1&e&&(J(0,"ul",6,3),Ai(2,E8e,3,3,"li",12,P1),te()),2&e){const t=k();I(2),Li(t.use12HoursRange)}}function z8e(e,n){}function A8e(e,n){if(1&e&&(J(0,"div",13),ve(1,z8e,0,0,"ng-template",19),te()),2&e){const t=k(2);I(),L("ngTemplateOutlet",t.nzAddOn)}}function L8e(e,n){if(1&e){const t=nt();J(0,"div",7),lt(1,A8e,2,1,"div",13),J(2,"ul",14)(3,"li",15)(4,"a",16),Fe("click",function(){return ce(t),ue(k().onClickNow())}),He(5),Vi(6,"nzI18n"),te()(),J(7,"li",17)(8,"button",18),Fe("click",function(){return ce(t),ue(k().onClickOk())}),He(9),Vi(10,"nzI18n"),te()()()()}if(2&e){const t=k();I(),ct(t.nzAddOn?1:-1),I(4),At(" ",t.nzNowText||pr(6,3,"Calendar.lang.now")," "),I(4),At(" ",t.nzOkText||pr(10,5,"Calendar.lang.ok")," ")}}const O8e=["inputElement"];function P8e(e,n){if(1&e&&($e(0),ze(1,"nz-icon",8),je()),2&e){const t=n.$implicit;I(),L("nzType",t)}}function N8e(e,n){1&e&&ze(0,"nz-form-item-feedback-icon",5),2&e&&L("status",k().status)}function F8e(e,n){if(1&e){const t=nt();J(0,"span",9),Fe("click",function(r){return ce(t),ue(k().onClickClearBtn(r))}),ze(1,"nz-icon",10),te()}if(2&e){const t=k();I(),ft("aria-label",t.nzClearText)("title",t.nzClearText)}}function R8e(e,n){if(1&e){const t=nt();J(0,"div",11)(1,"div",12)(2,"div",13)(3,"nz-time-picker-panel",14),Vi(4,"async"),$i("ngModelChange",function(r){ce(t);const o=k();return ir(o.value,r)||(o.value=r),ue(r)}),Fe("ngModelChange",function(r){return ce(t),ue(k().onPanelValueChange(r))})("closePanel",function(){return ce(t),ue(k().closePanel())}),te()()()()}if(2&e){const t=k();L("@slideMotion","enter"),I(3),Re(t.nzPopupClassName),L("format",t.nzFormat)("nzHourStep",t.nzHourStep)("nzMinuteStep",t.nzMinuteStep)("nzSecondStep",t.nzSecondStep)("nzDisabledHours",t.nzDisabledHours)("nzDisabledMinutes",t.nzDisabledMinutes)("nzDisabledSeconds",t.nzDisabledSeconds)("nzPlaceHolder",t.nzPlaceHolder||pr(4,20,t.i18nPlaceHolder$))("nzHideDisabledOptions",t.nzHideDisabledOptions)("nzUse12Hours",t.nzUse12Hours)("nzDefaultOpenValue",t.nzDefaultOpenValue)("nzAddOn",t.nzAddOn)("nzClearText",t.nzClearText)("nzNowText",t.nzNowText)("nzOkText",t.nzOkText)("nzAllowEmpty",t.nzAllowEmpty),ji("ngModel",t.value)}}class H8e{selected12Hours=void 0;_value;_use12Hours=!1;_defaultOpenValue;_changes=new Dt;setMinutes(n,t){return t||(this.initValue(),this.value.setMinutes(n),this.update()),this}setHours(n,t){return t||(this.initValue(),this.value.setHours(this._use12Hours?"PM"===this.selected12Hours&&12!==n?n+12:"AM"===this.selected12Hours&&12===n?0:n:n),this.update()),this}setSeconds(n,t){return t||(this.initValue(),this.value.setSeconds(n),this.update()),this}setUse12Hours(n){return this._use12Hours=n,this}get changes(){return this._changes.asObservable()}setValue(n,t){return Zr(t)&&(this._use12Hours=t),n!==this.value&&(this._value=n,Zr(this.value)?this._use12Hours&&Zr(this.hours)&&(this.selected12Hours=this.hours>=12?"PM":"AM"):this._clear()),this}initValue(){_P(this.value)&&this.setValue(new Date,this._use12Hours)}clear(){this._clear(),this.update()}get isEmpty(){return!(Zr(this.hours)||Zr(this.minutes)||Zr(this.seconds))}_clear(){this._value=void 0,this.selected12Hours=void 0}update(){this.isEmpty?this._value=void 0:(Zr(this.hours)&&this.value.setHours(this.hours),Zr(this.minutes)&&this.value.setMinutes(this.minutes),Zr(this.seconds)&&this.value.setSeconds(this.seconds),this._use12Hours&&("PM"===this.selected12Hours&&this.hours<12&&this.value.setHours(this.hours+12),"AM"===this.selected12Hours&&this.hours>=12&&this.value.setHours(this.hours-12))),this.changed()}changed(){this._changes.next(this.value)}get viewHours(){return this._use12Hours&&Zr(this.hours)?this.calculateViewHour(this.hours):this.hours}setSelected12Hours(n){n.toUpperCase()!==this.selected12Hours&&(this.selected12Hours=n.toUpperCase(),this.update())}get value(){return this._value||this._defaultOpenValue}get hours(){return this.value?.getHours()}get minutes(){return this.value?.getMinutes()}get seconds(){return this.value?.getSeconds()}setDefaultOpenValue(n){return this._defaultOpenValue=n,this}calculateViewHour(n){const t=this.selected12Hours;return"PM"===t&&n>12?n-12:"AM"===t&&0===n?12:n}}function Ny(e,n=1,t=0){return new Array(Math.ceil(e/n)).fill(0).map((i,r)=>(r+t)*n)}let Fy=(()=>{class e{dateHelper=U(As);ngZone=U(Gt);cdr=U(Tr);elementRef=U(pn);destroyRef=U(kn);_nzHourStep=1;_nzMinuteStep=1;_nzSecondStep=1;onChange;onTouch;_format="HH:mm:ss";_disabledHours=()=>[];_disabledMinutes=()=>[];_disabledSeconds=()=>[];_allowEmpty=!0;time=new H8e;hourEnabled=!0;minuteEnabled=!0;secondEnabled=!0;firstScrolled=!1;enabledColumns=3;hourRange;minuteRange;secondRange;use12HoursRange;hourListElement;minuteListElement;secondListElement;use12HoursListElement;nzInDatePicker=!1;nzAddOn;nzHideDisabledOptions=!1;nzClearText;nzNowText;nzOkText;nzPlaceHolder;nzUse12Hours=!1;nzDefaultOpenValue;closePanel=new ht;set nzAllowEmpty(t){this._allowEmpty=t}get nzAllowEmpty(){return this._allowEmpty}set nzDisabledHours(t){this._disabledHours=t,this._disabledHours&&this.buildHours()}get nzDisabledHours(){return this._disabledHours}set nzDisabledMinutes(t){Zr(t)&&(this._disabledMinutes=t,this.buildMinutes())}get nzDisabledMinutes(){return this._disabledMinutes}set nzDisabledSeconds(t){Zr(t)&&(this._disabledSeconds=t,this.buildSeconds())}get nzDisabledSeconds(){return this._disabledSeconds}set format(t){if(Zr(t)){this._format=t,this.enabledColumns=0;const i=new Set(t);this.hourEnabled=i.has("H")||i.has("h"),this.minuteEnabled=i.has("m"),this.secondEnabled=i.has("s"),this.hourEnabled&&this.enabledColumns++,this.minuteEnabled&&this.enabledColumns++,this.secondEnabled&&this.enabledColumns++,this.nzUse12Hours&&this.build12Hours()}}get format(){return this._format}set nzHourStep(t){this._nzHourStep=t||1,this.buildHours()}get nzHourStep(){return this._nzHourStep}set nzMinuteStep(t){this._nzMinuteStep=t||1,this.buildMinutes()}get nzMinuteStep(){return this._nzMinuteStep}set nzSecondStep(t){this._nzSecondStep=t||1,this.buildSeconds()}get nzSecondStep(){return this._nzSecondStep}buildHours(){let t=24,i=this.nzDisabledHours?.(),r=0;if(this.nzUse12Hours&&(t=12,i&&(i="PM"===this.time.selected12Hours?i.filter(o=>o>=12).map(o=>o>12?o-12:o):i.filter(o=>o<12||24===o).map(o=>24===o||0===o?12:o)),r=1),this.hourRange=Ny(t,this.nzHourStep,r).map(o=>({index:o,disabled:!!i&&-1!==i.indexOf(o)})),this.nzUse12Hours&&12===this.hourRange[this.hourRange.length-1].index){const o=[...this.hourRange];o.unshift(o[o.length-1]),o.splice(o.length-1,1),this.hourRange=o}}buildMinutes(){this.minuteRange=Ny(60,this.nzMinuteStep).map(t=>({index:t,disabled:!!this.nzDisabledMinutes&&-1!==this.nzDisabledMinutes(this.time.hours).indexOf(t)}))}buildSeconds(){this.secondRange=Ny(60,this.nzSecondStep).map(t=>({index:t,disabled:!!this.nzDisabledSeconds&&-1!==this.nzDisabledSeconds(this.time.hours,this.time.minutes).indexOf(t)}))}build12Hours(){const t=this._format.includes("A");this.use12HoursRange=[{index:0,value:t?"AM":"am"},{index:1,value:t?"PM":"pm"}]}buildTimes(){this.buildHours(),this.buildMinutes(),this.buildSeconds(),this.build12Hours()}scrollToTime(t=0){this.hourEnabled&&this.hourListElement&&this.scrollToSelected(this.hourListElement.nativeElement,this.time.viewHours,t,"hour"),this.minuteEnabled&&this.minuteListElement&&this.scrollToSelected(this.minuteListElement.nativeElement,this.time.minutes,t,"minute"),this.secondEnabled&&this.secondListElement&&this.scrollToSelected(this.secondListElement.nativeElement,this.time.seconds,t,"second"),this.nzUse12Hours&&this.use12HoursListElement&&this.scrollToSelected(this.use12HoursListElement.nativeElement,"AM"===this.time.selected12Hours?0:1,t,"12-hour")}selectHour(t){this.time.setHours(t.index,t.disabled),this._disabledMinutes&&this.buildMinutes(),(this._disabledSeconds||this._disabledMinutes)&&this.buildSeconds()}selectMinute(t){this.time.setMinutes(t.index,t.disabled),this._disabledSeconds&&this.buildSeconds()}selectSecond(t){this.time.setSeconds(t.index,t.disabled)}select12Hours(t){this.time.setSelected12Hours(t.value),this._disabledHours&&this.buildHours(),this._disabledMinutes&&this.buildMinutes(),this._disabledSeconds&&this.buildSeconds()}scrollToSelected(t,i,r=0,o){if(!t)return;const a=this.translateIndex(i,o);this.scrollTo(t,(t.children[a]||t.children[0]).offsetTop,r)}translateIndex(t,i){return"hour"===i?this.calcIndex(this.nzDisabledHours?.(),this.hourRange.map(r=>r.index).indexOf(t)):"minute"===i?this.calcIndex(this.nzDisabledMinutes?.(this.time.hours),this.minuteRange.map(r=>r.index).indexOf(t)):"second"===i?this.calcIndex(this.nzDisabledSeconds?.(this.time.hours,this.time.minutes),this.secondRange.map(r=>r.index).indexOf(t)):this.calcIndex([],this.use12HoursRange.map(r=>r.index).indexOf(t))}scrollTo(t,i,r){if(r<=0)return void(t.scrollTop=i);const a=(i-t.scrollTop)/r*10;this.ngZone.runOutsideAngular(()=>{Ip(()=>{t.scrollTop=t.scrollTop+a,t.scrollTop!==i&&this.scrollTo(t,i,r-10)})})}calcIndex(t,i){return t?.length&&this.nzHideDisabledOptions?i-t.reduce((r,o)=>r+(o<i?1:0),0):i}changed(){this.onChange&&this.onChange(this.time.value)}touched(){this.onTouch&&this.onTouch()}timeDisabled(t){const i=t.getHours(),r=t.getMinutes(),o=t.getSeconds();return(this.nzDisabledHours?.().indexOf(i)??-1)>-1||(this.nzDisabledMinutes?.(i).indexOf(r)??-1)>-1||(this.nzDisabledSeconds?.(i,r).indexOf(o)??-1)>-1}onClickNow(){const t=new Date;this.timeDisabled(t)||(this.time.setValue(t),this.changed(),this.closePanel.emit())}onClickOk(){this.time.setValue(this.time.value,this.nzUse12Hours),this.changed(),this.closePanel.emit()}isSelectedHour(t){return t.index===this.time.viewHours}isSelectedMinute(t){return t.index===this.time.minutes}isSelectedSecond(t){return t.index===this.time.seconds}isSelected12Hours(t){return t.value.toUpperCase()===this.time.selected12Hours}ngOnInit(){this.time.changes.pipe(gt(this.destroyRef)).subscribe(()=>{this.changed(),this.touched(),this.scrollToTime(120)}),this.buildTimes(),this.ngZone.runOutsideAngular(()=>{setTimeout(()=>{this.scrollToTime(),this.firstScrolled=!0})}),zs(this.elementRef.nativeElement,"mousedown").pipe(gt(this.destroyRef)).subscribe(t=>{t.preventDefault()})}ngOnChanges(t){const{nzUse12Hours:i,nzDefaultOpenValue:r}=t;!i?.previousValue&&i?.currentValue&&(this.build12Hours(),this.enabledColumns++),r?.currentValue&&this.time.setDefaultOpenValue(this.nzDefaultOpenValue||new Date)}writeValue(t){this.time.setValue(t,this.nzUse12Hours),this.buildTimes(),t&&this.firstScrolled&&this.scrollToTime(120),this.cdr.markForCheck()}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouch=t}static \u0275fac=function(i){return new(i||e)};static \u0275cmp=bt({type:e,selectors:[["nz-time-picker-panel"]],viewQuery:function(i,r){if(1&i&&(Hi(m8e,5),Hi(g8e,5),Hi(v8e,5),Hi(_8e,5)),2&i){let o;En(o=In())&&(r.hourListElement=o.first),En(o=In())&&(r.minuteListElement=o.first),En(o=In())&&(r.secondListElement=o.first),En(o=In())&&(r.use12HoursListElement=o.first)}},hostAttrs:[1,"ant-picker-time-panel"],hostVars:12,hostBindings:function(i,r){2&i&&jt("ant-picker-time-panel-column-0",0===r.enabledColumns&&!r.nzInDatePicker)("ant-picker-time-panel-column-1",1===r.enabledColumns&&!r.nzInDatePicker)("ant-picker-time-panel-column-2",2===r.enabledColumns&&!r.nzInDatePicker)("ant-picker-time-panel-column-3",3===r.enabledColumns&&!r.nzInDatePicker)("ant-picker-time-panel-narrow",r.enabledColumns<3)("ant-picker-time-panel-placement-bottomLeft",!r.nzInDatePicker)},inputs:{nzInDatePicker:[2,"nzInDatePicker","nzInDatePicker",Xe],nzAddOn:"nzAddOn",nzHideDisabledOptions:"nzHideDisabledOptions",nzClearText:"nzClearText",nzNowText:"nzNowText",nzOkText:"nzOkText",nzPlaceHolder:"nzPlaceHolder",nzUse12Hours:[2,"nzUse12Hours","nzUse12Hours",Xe],nzDefaultOpenValue:"nzDefaultOpenValue",nzAllowEmpty:[2,"nzAllowEmpty","nzAllowEmpty",Xe],nzDisabledHours:"nzDisabledHours",nzDisabledMinutes:"nzDisabledMinutes",nzDisabledSeconds:"nzDisabledSeconds",format:"format",nzHourStep:[2,"nzHourStep","nzHourStep",Oh],nzMinuteStep:[2,"nzMinuteStep","nzMinuteStep",Oh],nzSecondStep:[2,"nzSecondStep","nzSecondStep",Oh]},outputs:{closePanel:"closePanel"},exportAs:["nzTimePickerPanel"],features:[Yn([{provide:Ko,useExisting:Hn(()=>e),multi:!0}]),wn],decls:7,vars:6,consts:[["hourListElement",""],["minuteListElement",""],["secondListElement",""],["use12HoursListElement",""],[1,"ant-picker-header"],[1,"ant-picker-content"],[1,"ant-picker-time-panel-column",2,"position","relative"],[1,"ant-picker-footer"],[1,"ant-picker-header-view"],[1,"ant-picker-time-panel-cell",3,"ant-picker-time-panel-cell-selected","ant-picker-time-panel-cell-disabled"],[1,"ant-picker-time-panel-cell",3,"click"],[1,"ant-picker-time-panel-cell-inner"],[1,"ant-picker-time-panel-cell",3,"ant-picker-time-panel-cell-selected"],[1,"ant-picker-footer-extra"],[1,"ant-picker-ranges"],[1,"ant-picker-now"],[3,"click"],[1,"ant-picker-ok"],["nz-button","","type","button","nzSize","small","nzType","primary",3,"click"],[3,"ngTemplateOutlet"]],template:function(i,r){1&i&&(lt(0,y8e,3,1,"div",4),J(1,"div",5),lt(2,w8e,4,0,"ul",6),lt(3,T8e,4,0,"ul",6),lt(4,k8e,4,0,"ul",6),lt(5,I8e,4,0,"ul",6),te(),lt(6,L8e,11,7,"div",7)),2&i&&(ct(r.nzInDatePicker?0:-1),I(2),ct(r.hourEnabled?2:-1),I(),ct(r.minuteEnabled?3:-1),I(),ct(r.secondEnabled?4:-1),I(),ct(r.nzUse12Hours?5:-1),I(),ct(r.nzInDatePicker?-1:6))},dependencies:[Ml,Vhe,qN,Dy,HN,Ty,uI,Hhe],encapsulation:2,changeDetection:0})}return e})(),hF=(()=>{let e,i,a,c,S,P,ie,Be,Jt,Rr,wa,Pt,Xr,n=[],t=[],r=[],o=[],s=[],l=[],h=[],p=[],v=[],C=[],Z=[],re=[],Me=[],ke=[],it=[],Et=[],$t=[],Bn=[],Qi=[],Vo=[],gi=[],at=[],nn=[],Qn=[],Sa=[],uo=[];return class im{static{const Ge="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;e=[Er()],i=[Er()],a=[Er()],c=[Er()],S=[Er()],P=[Er()],ie=[Er()],Be=[Er()],Jt=[Er()],Rr=[Er()],wa=[Er()],Pt=[Er()],Xr=[Er()],mr(null,null,e,{kind:"field",name:"nzVariant",static:!1,private:!1,access:{has:Ve=>"nzVariant"in Ve,get:Ve=>Ve.nzVariant,set:(Ve,ut)=>{Ve.nzVariant=ut}},metadata:Ge},n,t),mr(null,null,i,{kind:"field",name:"nzHourStep",static:!1,private:!1,access:{has:Ve=>"nzHourStep"in Ve,get:Ve=>Ve.nzHourStep,set:(Ve,ut)=>{Ve.nzHourStep=ut}},metadata:Ge},r,o),mr(null,null,a,{kind:"field",name:"nzMinuteStep",static:!1,private:!1,access:{has:Ve=>"nzMinuteStep"in Ve,get:Ve=>Ve.nzMinuteStep,set:(Ve,ut)=>{Ve.nzMinuteStep=ut}},metadata:Ge},s,l),mr(null,null,c,{kind:"field",name:"nzSecondStep",static:!1,private:!1,access:{has:Ve=>"nzSecondStep"in Ve,get:Ve=>Ve.nzSecondStep,set:(Ve,ut)=>{Ve.nzSecondStep=ut}},metadata:Ge},h,p),mr(null,null,S,{kind:"field",name:"nzClearText",static:!1,private:!1,access:{has:Ve=>"nzClearText"in Ve,get:Ve=>Ve.nzClearText,set:(Ve,ut)=>{Ve.nzClearText=ut}},metadata:Ge},v,C),mr(null,null,P,{kind:"field",name:"nzNowText",static:!1,private:!1,access:{has:Ve=>"nzNowText"in Ve,get:Ve=>Ve.nzNowText,set:(Ve,ut)=>{Ve.nzNowText=ut}},metadata:Ge},Z,re),mr(null,null,ie,{kind:"field",name:"nzOkText",static:!1,private:!1,access:{has:Ve=>"nzOkText"in Ve,get:Ve=>Ve.nzOkText,set:(Ve,ut)=>{Ve.nzOkText=ut}},metadata:Ge},Me,ke),mr(null,null,Be,{kind:"field",name:"nzPopupClassName",static:!1,private:!1,access:{has:Ve=>"nzPopupClassName"in Ve,get:Ve=>Ve.nzPopupClassName,set:(Ve,ut)=>{Ve.nzPopupClassName=ut}},metadata:Ge},it,Et),mr(null,null,Jt,{kind:"field",name:"nzFormat",static:!1,private:!1,access:{has:Ve=>"nzFormat"in Ve,get:Ve=>Ve.nzFormat,set:(Ve,ut)=>{Ve.nzFormat=ut}},metadata:Ge},$t,Bn),mr(null,null,Rr,{kind:"field",name:"nzUse12Hours",static:!1,private:!1,access:{has:Ve=>"nzUse12Hours"in Ve,get:Ve=>Ve.nzUse12Hours,set:(Ve,ut)=>{Ve.nzUse12Hours=ut}},metadata:Ge},Qi,Vo),mr(null,null,wa,{kind:"field",name:"nzSuffixIcon",static:!1,private:!1,access:{has:Ve=>"nzSuffixIcon"in Ve,get:Ve=>Ve.nzSuffixIcon,set:(Ve,ut)=>{Ve.nzSuffixIcon=ut}},metadata:Ge},gi,at),mr(null,null,Pt,{kind:"field",name:"nzAllowEmpty",static:!1,private:!1,access:{has:Ve=>"nzAllowEmpty"in Ve,get:Ve=>Ve.nzAllowEmpty,set:(Ve,ut)=>{Ve.nzAllowEmpty=ut}},metadata:Ge},nn,Qn),mr(null,null,Xr,{kind:"field",name:"nzBackdrop",static:!1,private:!1,access:{has:Ve=>"nzBackdrop"in Ve,get:Ve=>Ve.nzBackdrop,set:(Ve,ut)=>{Ve.nzBackdrop=ut}},metadata:Ge},Sa,uo),Ge&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:Ge})}_nzModuleName="timePicker";nzConfigService=U(zl);i18n=U(Rd);elementRef=U(pn);renderer=U(oo);cdr=U(Tr);dateHelper=U(As);platform=U(Ha);directionality=U(co);destroyRef=U(kn);_onChange;_onTouched;isNzDisableFirstChange=!0;isInit=!1;focused=!1;inputValue="";value=null;preValue=null;inputSize;i18nPlaceHolder$=Kt(void 0);overlayPositions=[{offsetY:3,originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{offsetY:-3,originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{offsetY:3,originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{offsetY:-3,originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"}];dir="ltr";prefixCls="ant-picker";statusCls={};status="";hasFeedback=!1;get origin(){return this.elementRef}inputRef;nzId=null;nzSize="default";nzStatus="";nzVariant=sn(this,n,"outlined");nzHourStep=(sn(this,t),sn(this,r,1));nzMinuteStep=(sn(this,o),sn(this,s,1));nzSecondStep=(sn(this,l),sn(this,h,1));nzClearText=(sn(this,p),sn(this,v,"clear"));nzNowText=(sn(this,C),sn(this,Z,""));nzOkText=(sn(this,re),sn(this,Me,""));nzPopupClassName=(sn(this,ke),sn(this,it,""));nzPlaceHolder=(sn(this,Et),"");nzAddOn;nzDefaultOpenValue;nzDisabledHours;nzDisabledMinutes;nzDisabledSeconds;nzFormat=sn(this,$t,"HH:mm:ss");nzOpen=(sn(this,Bn),!1);nzUse12Hours=sn(this,Qi,!1);nzSuffixIcon=(sn(this,Vo),sn(this,gi,"clock-circle"));nzOpenChange=(sn(this,at),new ht);nzHideDisabledOptions=!1;nzAllowEmpty=sn(this,nn,!0);nzDisabled=(sn(this,Qn),!1);nzAutoFocus=!1;nzBackdrop=sn(this,Sa,!1);nzBorderless=(sn(this,uo),!1);nzInputReadOnly=!1;emitValue(Ge){this.setValue(Ge,!0),this._onChange&&this._onChange(this.value),this._onTouched&&this._onTouched()}setValue(Ge,Ve=!1){Ve&&(this.preValue=Od(Ge)?new Date(Ge):null),this.value=Od(Ge)?new Date(Ge):null,this.inputValue=this.dateHelper.format(Ge,this.nzFormat),this.cdr.markForCheck()}open(){this.nzDisabled||this.nzOpen||(this.focus(),this.nzOpen=!0,this.nzOpenChange.emit(this.nzOpen))}close(){this.nzOpen=!1,this.cdr.markForCheck(),this.nzOpenChange.emit(this.nzOpen)}updateAutoFocus(){this.isInit&&!this.nzDisabled&&(this.nzAutoFocus?this.renderer.setAttribute(this.inputRef.nativeElement,"autofocus","autofocus"):this.renderer.removeAttribute(this.inputRef.nativeElement,"autofocus"))}onClickClearBtn(Ge){Ge.stopPropagation(),this.emitValue(null)}onClickOutside(Ge){const Ve=fc(Ge);this.elementRef.nativeElement.contains(Ve)||this.setCurrentValueAndClose()}onFocus(Ge){this.focused=Ge,Ge||(this.checkTimeValid(this.value)?this.setCurrentValueAndClose():(this.setValue(this.preValue),this.close()))}focus(){this.inputRef.nativeElement&&this.inputRef.nativeElement.focus()}blur(){this.inputRef.nativeElement&&this.inputRef.nativeElement.blur()}onKeyupEsc(){this.setValue(this.preValue)}onKeyupEnter(){this.nzOpen&&Od(this.value)?this.setCurrentValueAndClose():this.nzOpen||this.open()}onInputChange(Ge){!this.platform.TRIDENT&&document.activeElement===this.inputRef.nativeElement&&(this.open(),this.parseTimeString(Ge))}onPanelValueChange(Ge){this.setValue(Ge),this.focus()}closePanel(){this.inputRef.nativeElement.blur()}setCurrentValueAndClose(){this.emitValue(this.value),this.close()}finalSize=ko(()=>this.compactSize?this.compactSize():this.size());size=io(this.nzSize);compactSize=U(_p,{optional:!0});nzFormStatusService=U(vp,{optional:!0});nzFormNoStatusService=U(IN,{optional:!0});ngOnInit(){this.nzFormStatusService?.formStatusChanges.pipe(Wu((Ge,Ve)=>Ge.status===Ve.status&&Ge.hasFeedback===Ve.hasFeedback),lF(this.nzFormNoStatusService?this.nzFormNoStatusService.noFormStatus:Kt(!1)),Wt(([{status:Ge,hasFeedback:Ve},ut])=>({status:ut?"":Ge,hasFeedback:Ve})),gt(this.destroyRef)).subscribe(({status:Ge,hasFeedback:Ve})=>{this.setStatusStyles(Ge,Ve)}),this.inputSize=Math.max(8,this.nzFormat.length)+2,this.i18nPlaceHolder$=this.i18n.localeChange.pipe(Wt(Ge=>Ge.TimePicker.placeholder)),this.dir=this.directionality.value,this.directionality.change?.pipe(gt(this.destroyRef)).subscribe(Ge=>{this.dir=Ge})}ngOnChanges({nzUse12Hours:Ge,nzFormat:Ve,nzDisabled:ut,nzAutoFocus:Jn,nzStatus:ui,nzSize:gn}){if(Ge&&!Ge.previousValue&&Ge.currentValue&&!Ve&&(this.nzFormat="h:mm:ss a"),ut){const Nl=this.inputRef.nativeElement;ut.currentValue?this.renderer.setAttribute(Nl,"disabled",""):this.renderer.removeAttribute(Nl,"disabled")}Jn&&this.updateAutoFocus(),ui&&this.setStatusStyles(this.nzStatus,this.hasFeedback),gn&&this.size.set(gn.currentValue)}parseTimeString(Ge){const Ve=this.dateHelper.parseTime(Ge,this.nzFormat)||null;Od(Ve)&&(this.value=Ve,this.cdr.markForCheck())}ngAfterViewInit(){this.isInit=!0,this.updateAutoFocus()}writeValue(Ge){let Ve;Ve=Ge instanceof Date?Ge:_P(Ge)?null:new Date(Ge),this.setValue(Ve,!0)}registerOnChange(Ge){this._onChange=Ge}registerOnTouched(Ge){this._onTouched=Ge}setDisabledState(Ge){this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||Ge,this.isNzDisableFirstChange=!1,this.cdr.markForCheck()}checkTimeValid(Ge){if(!Ge)return!0;const Ve=this.nzDisabledHours?.(),ut=this.nzDisabledMinutes?.(Ge.getHours()),Jn=this.nzDisabledSeconds?.(Ge.getHours(),Ge.getMinutes());return!(Ve?.includes(Ge.getHours())||ut?.includes(Ge.getMinutes())||Jn?.includes(Ge.getSeconds()))}setStatusStyles(Ge,Ve){this.status=Ge,this.hasFeedback=Ve,this.cdr.markForCheck(),this.statusCls=xP(this.prefixCls,Ge,Ve),Object.keys(this.statusCls).forEach(ut=>{this.statusCls[ut]?this.renderer.addClass(this.elementRef.nativeElement,ut):this.renderer.removeClass(this.elementRef.nativeElement,ut)})}static \u0275fac=function(Ve){return new(Ve||im)};static \u0275cmp=bt({type:im,selectors:[["nz-time-picker"]],viewQuery:function(Ve,ut){if(1&Ve&&Hi(O8e,7),2&Ve){let Jn;En(Jn=In())&&(ut.inputRef=Jn.first)}},hostAttrs:[1,"ant-picker"],hostVars:16,hostBindings:function(Ve,ut){1&Ve&&Fe("click",function(){return ut.open()}),2&Ve&&jt("ant-picker-large","large"===ut.finalSize())("ant-picker-small","small"===ut.finalSize())("ant-picker-disabled",ut.nzDisabled)("ant-picker-focused",ut.focused)("ant-picker-rtl","rtl"===ut.dir)("ant-picker-borderless","borderless"===ut.nzVariant||"outlined"===ut.nzVariant&&ut.nzBorderless)("ant-picker-filled","filled"===ut.nzVariant)("ant-picker-underlined","underlined"===ut.nzVariant)},inputs:{nzId:"nzId",nzSize:"nzSize",nzStatus:"nzStatus",nzVariant:"nzVariant",nzHourStep:"nzHourStep",nzMinuteStep:"nzMinuteStep",nzSecondStep:"nzSecondStep",nzClearText:"nzClearText",nzNowText:"nzNowText",nzOkText:"nzOkText",nzPopupClassName:"nzPopupClassName",nzPlaceHolder:"nzPlaceHolder",nzAddOn:"nzAddOn",nzDefaultOpenValue:"nzDefaultOpenValue",nzDisabledHours:"nzDisabledHours",nzDisabledMinutes:"nzDisabledMinutes",nzDisabledSeconds:"nzDisabledSeconds",nzFormat:"nzFormat",nzOpen:"nzOpen",nzUse12Hours:[2,"nzUse12Hours","nzUse12Hours",Xe],nzSuffixIcon:"nzSuffixIcon",nzHideDisabledOptions:[2,"nzHideDisabledOptions","nzHideDisabledOptions",Xe],nzAllowEmpty:[2,"nzAllowEmpty","nzAllowEmpty",Xe],nzDisabled:[2,"nzDisabled","nzDisabled",Xe],nzAutoFocus:[2,"nzAutoFocus","nzAutoFocus",Xe],nzBackdrop:"nzBackdrop",nzBorderless:[2,"nzBorderless","nzBorderless",Xe],nzInputReadOnly:[2,"nzInputReadOnly","nzInputReadOnly",Xe]},outputs:{nzOpenChange:"nzOpenChange"},exportAs:["nzTimePicker"],features:[Yn([{provide:Ko,useExisting:Hn(()=>im),multi:!0},{provide:yp,useValue:"picker"}]),z3([Sy]),wn],decls:9,vars:16,consts:[["inputElement",""],[1,"ant-picker-input"],["type","text","autocomplete","off",3,"ngModelChange","focus","blur","keyup.enter","keyup.escape","size","placeholder","ngModel","disabled","readOnly"],[1,"ant-picker-suffix"],[4,"nzStringTemplateOutlet"],[3,"status"],[1,"ant-picker-clear"],["cdkConnectedOverlay","","nzConnectedOverlay","",3,"detach","overlayOutsideClick","cdkConnectedOverlayHasBackdrop","cdkConnectedOverlayPositions","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayTransformOriginOn"],[3,"nzType"],[1,"ant-picker-clear",3,"click"],["nzType","close-circle","nzTheme","fill"],[1,"ant-picker-dropdown",2,"position","relative"],[1,"ant-picker-panel-container"],["tabindex","-1",1,"ant-picker-panel"],[3,"ngModelChange","closePanel","format","nzHourStep","nzMinuteStep","nzSecondStep","nzDisabledHours","nzDisabledMinutes","nzDisabledSeconds","nzPlaceHolder","nzHideDisabledOptions","nzUse12Hours","nzDefaultOpenValue","nzAddOn","nzClearText","nzNowText","nzOkText","nzAllowEmpty","ngModel"]],template:function(Ve,ut){if(1&Ve){const Jn=nt();J(0,"div",1)(1,"input",2,0),Vi(3,"async"),$i("ngModelChange",function(gn){return ce(Jn),ir(ut.inputValue,gn)||(ut.inputValue=gn),ue(gn)}),Fe("focus",function(){return ce(Jn),ue(ut.onFocus(!0))})("blur",function(){return ce(Jn),ue(ut.onFocus(!1))})("keyup.enter",function(){return ce(Jn),ue(ut.onKeyupEnter())})("keyup.escape",function(){return ce(Jn),ue(ut.onKeyupEsc())})("ngModelChange",function(gn){return ce(Jn),ue(ut.onInputChange(gn))}),te(),J(4,"span",3),ve(5,P8e,2,1,"ng-container",4),lt(6,N8e,1,1,"nz-form-item-feedback-icon",5),te(),lt(7,F8e,2,2,"span",6),te(),ve(8,R8e,5,22,"ng-template",7),Fe("detach",function(){return ce(Jn),ue(ut.close())})("overlayOutsideClick",function(gn){return ce(Jn),ue(ut.onClickOutside(gn))})}2&Ve&&(I(),L("size",ut.inputSize)("placeholder",ut.nzPlaceHolder||pr(3,14,ut.i18nPlaceHolder$)),ji("ngModel",ut.inputValue),L("disabled",ut.nzDisabled)("readOnly",ut.nzInputReadOnly),ft("id",ut.nzId),I(4),L("nzStringTemplateOutlet",ut.nzSuffixIcon),I(),ct(ut.hasFeedback&&ut.status?6:-1),I(),ct(ut.nzAllowEmpty&&!ut.nzDisabled&&ut.value?7:-1),I(),L("cdkConnectedOverlayHasBackdrop",ut.nzBackdrop)("cdkConnectedOverlayPositions",ut.overlayPositions)("cdkConnectedOverlayOrigin",ut.origin)("cdkConnectedOverlayOpen",ut.nzOpen)("cdkConnectedOverlayTransformOriginOn",".ant-picker-dropdown"))},dependencies:[rf,xl,Ja,Ra,Al,Xo,mc,Va,zN,Fy,Ep,kp,Tp,l0,sI],encapsulation:2,data:{animation:[Dp]},changeDetection:0})}})(),fF=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=Ci({type:e});static \u0275inj=$n({imports:[hF,Fy]})}return e})();function B8e(e,n){1&e&&He(0),2&e&&dn(k(2).extraFooter)}function U8e(e,n){if(1&e&&(J(0,"div"),ve(1,B8e,1,1,"ng-template",2),te()),2&e){const t=k();Re(de("",t.prefixCls,"-footer-extra")),I(),L("nzStringTemplateOutlet",t.extraFooter)}}function q8e(e,n){if(1&e){const t=nt();J(0,"a",3),Fe("click",function(){ce(t);const r=k();return ue(r.isTodayDisabled?null:r.onClickToday())}),He(1),te()}if(2&e){const t=k();Re(ic("",t.prefixCls,"-today-btn ",t.isTodayDisabled?t.prefixCls+"-today-btn-disabled":"")),L("title",St(t.todayTitle)),I(),At(" ",t.locale.today," ")}}function Y8e(e,n){1&e&&Ka(0)}function j8e(e,n){if(1&e){const t=nt();J(0,"li")(1,"a",5),Fe("click",function(){ce(t);const r=k(2);return ue(r.isTodayDisabled?null:r.onClickToday())}),He(2),te()()}if(2&e){const t=k(2);Re(de("",t.prefixCls,"-now")),I(),Re(de("",t.prefixCls,"-now-btn")),I(),At(" ",t.locale.now," ")}}function $8e(e,n){if(1&e){const t=nt();J(0,"li")(1,"button",6),Fe("click",function(){ce(t);const r=k(2);return ue(r.okDisabled?null:r.clickOk.emit())}),He(2),te()()}if(2&e){const t=k(2);Re(de("",t.prefixCls,"-ok")),I(),L("disabled",t.okDisabled),I(),At(" ",t.locale.ok," ")}}function W8e(e,n){if(1&e&&(J(0,"ul"),ve(1,Y8e,1,0,"ng-container",4),lt(2,j8e,3,7,"li",0),lt(3,$8e,3,5,"li",0),te()),2&e){const t=k();Re(de("",t.prefixCls,"-ranges")),I(),L("ngTemplateOutlet",t.rangeQuickSelector),I(),ct(t.showNow?2:-1),I(),ct(t.hasTimePicker?3:-1)}}function Of(e,n){return this.trackBySelector(n)}function G8e(e,n){if(1&e){const t=nt();si(0,"button",6),fr("click",function(){return ue(ce(t).$implicit.onClick())}),He(1),li()}if(2&e){const t=n.$implicit;Re(t.className),tr("title",St(t.title||null)),I(),At(" ",t.label," ")}}const ts=e=>({$implicit:e}),vc=(e,n)=>n.trackByIndex;function K8e(e,n){1&e&&ze(0,"th",3)}function Q8e(e,n){if(1&e&&(J(0,"th",4),He(1),te()),2&e){const t=n.$implicit;L("title",t.title),I(),At(" ",t.content)}}function Z8e(e,n){if(1&e&&(J(0,"thead")(1,"tr",2),lt(2,K8e,1,0,"th",3),Ai(3,Q8e,2,2,"th",4,Vc),te()()),2&e){const t=k();I(2),ct(t.showWeek?2:-1),I(),Li(t.headRow)}}function X8e(e,n){if(1&e&&(J(0,"td",7),He(1),te()),2&e){const t=k().$implicit;Re(de("",k().prefixCls,"-cell-week")),I(),At(" ",t.weekNum)}}function J8e(e,n){1&e&&He(0),2&e&&At(" ",k(3).$implicit.cellRender," ")}function epe(e,n){if(1&e&&ve(0,J8e,1,1,"ng-template",10),2&e){const t=k(2).$implicit;L("nzStringTemplateOutlet",t.cellRender)("nzStringTemplateOutletContext",Yr(2,ts,t.value))}}function tpe(e,n){if(1&e&&(J(0,"div"),He(1),te()),2&e){const t=k(2).$implicit;Re(de("",k(2).prefixCls,"-cell-inner")),ft("aria-selected",t.isSelected)("aria-disabled",t.isDisabled),I(),At(" ",t.content," ")}}function npe(e,n){1&e&&lt(0,epe,1,4,null,10)(1,tpe,2,6,"div",11),2&e&&ct(k().$implicit.cellRender?0:1)}function ipe(e,n){if(1&e&&($e(0),He(1),je()),2&e){const t=k(3).$implicit;I(),At(" ",t.fullCellRender," ")}}function rpe(e,n){if(1&e&&ve(0,ipe,2,1,"ng-container",12),2&e){const t=k(2).$implicit;L("nzStringTemplateOutlet",t.fullCellRender)("nzStringTemplateOutletContext",Yr(2,ts,t.value))}}function ope(e,n){if(1&e&&($e(0),He(1),je()),2&e){const t=k(3).$implicit;I(),At(" ",t.cellRender," ")}}function ape(e,n){if(1&e&&(J(0,"div"),He(1),te(),J(2,"div"),ve(3,ope,2,1,"ng-container",12),te()),2&e){const t=k(2).$implicit,i=k(2);Re(de("",i.prefixCls,"-date-value")),I(),dn(t.content),I(),Re(de("",i.prefixCls,"-date-content")),I(),L("nzStringTemplateOutlet",t.cellRender)("nzStringTemplateOutletContext",Yr(9,ts,t.value))}}function spe(e,n){if(1&e&&(J(0,"div"),lt(1,rpe,1,4,"ng-container")(2,ape,4,11),te()),2&e){const t=k().$implicit;Re(de("",k(2).prefixCls,"-date ant-picker-cell-inner")),jt("ant-picker-calendar-date-today",t.isToday),I(),ct(t.fullCellRender?1:2)}}function lpe(e,n){if(1&e){const t=nt();J(0,"td",8),Fe("click",function(){const r=ce(t).$implicit;return ue(r.isDisabled?null:r.onClick())})("mouseenter",function(){return ue(ce(t).$implicit.onMouseEnter())}),lt(1,npe,2,1)(2,spe,3,6,"div",9),te()}if(2&e){let t;const i=n.$implicit,r=k(2);Re(i.classMap),L("title",i.title),I(),ct("ant-picker"===(t=r.prefixCls)?1:"ant-picker-calendar"===t?2:-1)}}function cpe(e,n){if(1&e&&(J(0,"tr",2),lt(1,X8e,2,4,"td",5),Ai(2,lpe,3,4,"td",6,vc),te()),2&e){const t=n.$implicit;Re(t.classMap),I(),ct(t.weekNum?1:-1),I(),Li(t.dateCells)}}function upe(e,n){if(1&e){const t=nt();si(0,"button",6),fr("click",function(){return ue(ce(t).$implicit.onClick())}),He(1),li()}if(2&e){const t=n.$implicit;Re(t.className),tr("title",St(t.title||null)),I(),At(" ",t.label," ")}}function dpe(e,n){1&e&&ze(0,"th",3)}function hpe(e,n){if(1&e&&(J(0,"th",4),He(1),te()),2&e){const t=n.$implicit;L("title",t.title),I(),At(" ",t.content)}}function fpe(e,n){if(1&e&&(J(0,"thead")(1,"tr",2),lt(2,dpe,1,0,"th",3),Ai(3,hpe,2,2,"th",4,Vc),te()()),2&e){const t=k();I(2),ct(t.showWeek?2:-1),I(),Li(t.headRow)}}function ppe(e,n){if(1&e&&(J(0,"td",7),He(1),te()),2&e){const t=k().$implicit;Re(de("",k().prefixCls,"-cell-week")),I(),At(" ",t.weekNum)}}function mpe(e,n){1&e&&He(0),2&e&&At(" ",k(3).$implicit.cellRender," ")}function gpe(e,n){if(1&e&&ve(0,mpe,1,1,"ng-template",10),2&e){const t=k(2).$implicit;L("nzStringTemplateOutlet",t.cellRender)("nzStringTemplateOutletContext",Yr(2,ts,t.value))}}function vpe(e,n){if(1&e&&(J(0,"div"),He(1),te()),2&e){const t=k(2).$implicit;Re(de("",k(2).prefixCls,"-cell-inner")),ft("aria-selected",t.isSelected)("aria-disabled",t.isDisabled),I(),At(" ",t.content," ")}}function _pe(e,n){1&e&&lt(0,gpe,1,4,null,10)(1,vpe,2,6,"div",11),2&e&&ct(k().$implicit.cellRender?0:1)}function ype(e,n){if(1&e&&($e(0),He(1),je()),2&e){const t=k(3).$implicit;I(),At(" ",t.fullCellRender," ")}}function bpe(e,n){if(1&e&&ve(0,ype,2,1,"ng-container",12),2&e){const t=k(2).$implicit;L("nzStringTemplateOutlet",t.fullCellRender)("nzStringTemplateOutletContext",Yr(2,ts,t.value))}}function Cpe(e,n){if(1&e&&($e(0),He(1),je()),2&e){const t=k(3).$implicit;I(),At(" ",t.cellRender," ")}}function wpe(e,n){if(1&e&&(J(0,"div"),He(1),te(),J(2,"div"),ve(3,Cpe,2,1,"ng-container",12),te()),2&e){const t=k(2).$implicit,i=k(2);Re(de("",i.prefixCls,"-date-value")),I(),dn(t.content),I(),Re(de("",i.prefixCls,"-date-content")),I(),L("nzStringTemplateOutlet",t.cellRender)("nzStringTemplateOutletContext",Yr(9,ts,t.value))}}function Spe(e,n){if(1&e&&(J(0,"div"),lt(1,bpe,1,4,"ng-container")(2,wpe,4,11),te()),2&e){const t=k().$implicit;Re(de("",k(2).prefixCls,"-date ant-picker-cell-inner")),jt("ant-picker-calendar-date-today",t.isToday),I(),ct(t.fullCellRender?1:2)}}function Mpe(e,n){if(1&e){const t=nt();J(0,"td",8),Fe("click",function(){const r=ce(t).$implicit;return ue(r.isDisabled?null:r.onClick())})("mouseenter",function(){return ue(ce(t).$implicit.onMouseEnter())}),lt(1,_pe,2,1)(2,Spe,3,6,"div",9),te()}if(2&e){let t;const i=n.$implicit,r=k(2);Re(i.classMap),L("title",i.title),I(),ct("ant-picker"===(t=r.prefixCls)?1:"ant-picker-calendar"===t?2:-1)}}function Tpe(e,n){if(1&e&&(J(0,"tr",2),lt(1,ppe,2,4,"td",5),Ai(2,Mpe,3,4,"td",6,vc),te()),2&e){const t=n.$implicit;Re(t.classMap),I(),ct(t.weekNum?1:-1),I(),Li(t.dateCells)}}function Dpe(e,n){if(1&e){const t=nt();si(0,"button",6),fr("click",function(){return ue(ce(t).$implicit.onClick())}),He(1),li()}if(2&e){const t=n.$implicit;Re(t.className),tr("title",St(t.title||null)),I(),At(" ",t.label," ")}}function xpe(e,n){1&e&&ze(0,"th",3)}function kpe(e,n){if(1&e&&(J(0,"th",4),He(1),te()),2&e){const t=n.$implicit;L("title",t.title),I(),At(" ",t.content)}}function Epe(e,n){if(1&e&&(J(0,"thead")(1,"tr",2),lt(2,xpe,1,0,"th",3),Ai(3,kpe,2,2,"th",4,Vc),te()()),2&e){const t=k();I(2),ct(t.showWeek?2:-1),I(),Li(t.headRow)}}function Ipe(e,n){if(1&e&&(J(0,"td",7),He(1),te()),2&e){const t=k().$implicit;Re(de("",k().prefixCls,"-cell-week")),I(),At(" ",t.weekNum)}}function zpe(e,n){1&e&&He(0),2&e&&At(" ",k(3).$implicit.cellRender," ")}function Ape(e,n){if(1&e&&ve(0,zpe,1,1,"ng-template",10),2&e){const t=k(2).$implicit;L("nzStringTemplateOutlet",t.cellRender)("nzStringTemplateOutletContext",Yr(2,ts,t.value))}}function Lpe(e,n){if(1&e&&(J(0,"div"),He(1),te()),2&e){const t=k(2).$implicit;Re(de("",k(2).prefixCls,"-cell-inner")),ft("aria-selected",t.isSelected)("aria-disabled",t.isDisabled),I(),At(" ",t.content," ")}}function Ope(e,n){1&e&&lt(0,Ape,1,4,null,10)(1,Lpe,2,6,"div",11),2&e&&ct(k().$implicit.cellRender?0:1)}function Ppe(e,n){if(1&e&&($e(0),He(1),je()),2&e){const t=k(3).$implicit;I(),At(" ",t.fullCellRender," ")}}function Npe(e,n){if(1&e&&ve(0,Ppe,2,1,"ng-container",12),2&e){const t=k(2).$implicit;L("nzStringTemplateOutlet",t.fullCellRender)("nzStringTemplateOutletContext",Yr(2,ts,t.value))}}function Fpe(e,n){if(1&e&&($e(0),He(1),je()),2&e){const t=k(3).$implicit;I(),At(" ",t.cellRender," ")}}function Rpe(e,n){if(1&e&&(J(0,"div"),He(1),te(),J(2,"div"),ve(3,Fpe,2,1,"ng-container",12),te()),2&e){const t=k(2).$implicit,i=k(2);Re(de("",i.prefixCls,"-date-value")),I(),dn(t.content),I(),Re(de("",i.prefixCls,"-date-content")),I(),L("nzStringTemplateOutlet",t.cellRender)("nzStringTemplateOutletContext",Yr(9,ts,t.value))}}function Hpe(e,n){if(1&e&&(J(0,"div"),lt(1,Npe,1,4,"ng-container")(2,Rpe,4,11),te()),2&e){const t=k().$implicit;Re(de("",k(2).prefixCls,"-date ant-picker-cell-inner")),jt("ant-picker-calendar-date-today",t.isToday),I(),ct(t.fullCellRender?1:2)}}function Vpe(e,n){if(1&e){const t=nt();J(0,"td",8),Fe("click",function(){const r=ce(t).$implicit;return ue(r.isDisabled?null:r.onClick())})("mouseenter",function(){return ue(ce(t).$implicit.onMouseEnter())}),lt(1,Ope,2,1)(2,Hpe,3,6,"div",9),te()}if(2&e){let t;const i=n.$implicit,r=k(2);Re(i.classMap),L("title",i.title),I(),ct("ant-picker"===(t=r.prefixCls)?1:"ant-picker-calendar"===t?2:-1)}}function Bpe(e,n){if(1&e&&(J(0,"tr",2),lt(1,Ipe,2,4,"td",5),Ai(2,Vpe,3,4,"td",6,vc),te()),2&e){const t=n.$implicit;Re(t.classMap),I(),ct(t.weekNum?1:-1),I(),Li(t.dateCells)}}function Upe(e,n){if(1&e){const t=nt();si(0,"button",6),fr("click",function(){return ue(ce(t).$implicit.onClick())}),He(1),li()}if(2&e){const t=n.$implicit;Re(t.className),tr("title",St(t.title||null)),I(),At(" ",t.label," ")}}function qpe(e,n){1&e&&ze(0,"th",3)}function Ype(e,n){if(1&e&&(J(0,"th",4),He(1),te()),2&e){const t=n.$implicit;L("title",t.title),I(),At(" ",t.content)}}function jpe(e,n){if(1&e&&(J(0,"thead")(1,"tr",2),lt(2,qpe,1,0,"th",3),Ai(3,Ype,2,2,"th",4,Vc),te()()),2&e){const t=k();I(2),ct(t.showWeek?2:-1),I(),Li(t.headRow)}}function $pe(e,n){if(1&e&&(J(0,"td",7),He(1),te()),2&e){const t=k().$implicit;Re(de("",k().prefixCls,"-cell-week")),I(),At(" ",t.weekNum)}}function Wpe(e,n){1&e&&He(0),2&e&&At(" ",k(3).$implicit.cellRender," ")}function Gpe(e,n){if(1&e&&ve(0,Wpe,1,1,"ng-template",10),2&e){const t=k(2).$implicit;L("nzStringTemplateOutlet",t.cellRender)("nzStringTemplateOutletContext",Yr(2,ts,t.value))}}function Kpe(e,n){if(1&e&&(J(0,"div"),He(1),te()),2&e){const t=k(2).$implicit;Re(de("",k(2).prefixCls,"-cell-inner")),ft("aria-selected",t.isSelected)("aria-disabled",t.isDisabled),I(),At(" ",t.content," ")}}function Qpe(e,n){1&e&&lt(0,Gpe,1,4,null,10)(1,Kpe,2,6,"div",11),2&e&&ct(k().$implicit.cellRender?0:1)}function Zpe(e,n){if(1&e&&($e(0),He(1),je()),2&e){const t=k(3).$implicit;I(),At(" ",t.fullCellRender," ")}}function Xpe(e,n){if(1&e&&ve(0,Zpe,2,1,"ng-container",12),2&e){const t=k(2).$implicit;L("nzStringTemplateOutlet",t.fullCellRender)("nzStringTemplateOutletContext",Yr(2,ts,t.value))}}function Jpe(e,n){if(1&e&&($e(0),He(1),je()),2&e){const t=k(3).$implicit;I(),At(" ",t.cellRender," ")}}function eme(e,n){if(1&e&&(J(0,"div"),He(1),te(),J(2,"div"),ve(3,Jpe,2,1,"ng-container",12),te()),2&e){const t=k(2).$implicit,i=k(2);Re(de("",i.prefixCls,"-date-value")),I(),dn(t.content),I(),Re(de("",i.prefixCls,"-date-content")),I(),L("nzStringTemplateOutlet",t.cellRender)("nzStringTemplateOutletContext",Yr(9,ts,t.value))}}function tme(e,n){if(1&e&&(J(0,"div"),lt(1,Xpe,1,4,"ng-container")(2,eme,4,11),te()),2&e){const t=k().$implicit;Re(de("",k(2).prefixCls,"-date ant-picker-cell-inner")),jt("ant-picker-calendar-date-today",t.isToday),I(),ct(t.fullCellRender?1:2)}}function nme(e,n){if(1&e){const t=nt();J(0,"td",8),Fe("click",function(){const r=ce(t).$implicit;return ue(r.isDisabled?null:r.onClick())})("mouseenter",function(){return ue(ce(t).$implicit.onMouseEnter())}),lt(1,Qpe,2,1)(2,tme,3,6,"div",9),te()}if(2&e){let t;const i=n.$implicit,r=k(2);Re(i.classMap),L("title",i.title),I(),ct("ant-picker"===(t=r.prefixCls)?1:"ant-picker-calendar"===t?2:-1)}}function ime(e,n){if(1&e&&(J(0,"tr",2),lt(1,$pe,2,4,"td",5),Ai(2,nme,3,4,"td",6,vc),te()),2&e){const t=n.$implicit;Re(t.classMap),I(),ct(t.weekNum?1:-1),I(),Li(t.dateCells)}}function rme(e,n){if(1&e){const t=nt();si(0,"button",6),fr("click",function(){return ue(ce(t).$implicit.onClick())}),He(1),li()}if(2&e){const t=n.$implicit;Re(t.className),tr("title",St(t.title||null)),I(),At(" ",t.label," ")}}function ome(e,n){1&e&&ze(0,"th",3)}function ame(e,n){if(1&e&&(J(0,"th",4),He(1),te()),2&e){const t=n.$implicit;L("title",t.title),I(),At(" ",t.content)}}function sme(e,n){if(1&e&&(J(0,"thead")(1,"tr",2),lt(2,ome,1,0,"th",3),Ai(3,ame,2,2,"th",4,Vc),te()()),2&e){const t=k();I(2),ct(t.showWeek?2:-1),I(),Li(t.headRow)}}function lme(e,n){if(1&e&&(J(0,"td",7),He(1),te()),2&e){const t=k().$implicit;Re(de("",k().prefixCls,"-cell-week")),I(),At(" ",t.weekNum)}}function cme(e,n){1&e&&He(0),2&e&&At(" ",k(3).$implicit.cellRender," ")}function ume(e,n){if(1&e&&ve(0,cme,1,1,"ng-template",10),2&e){const t=k(2).$implicit;L("nzStringTemplateOutlet",t.cellRender)("nzStringTemplateOutletContext",Yr(2,ts,t.value))}}function dme(e,n){if(1&e&&(J(0,"div"),He(1),te()),2&e){const t=k(2).$implicit;Re(de("",k(2).prefixCls,"-cell-inner")),ft("aria-selected",t.isSelected)("aria-disabled",t.isDisabled),I(),At(" ",t.content," ")}}function hme(e,n){1&e&&lt(0,ume,1,4,null,10)(1,dme,2,6,"div",11),2&e&&ct(k().$implicit.cellRender?0:1)}function fme(e,n){if(1&e&&($e(0),He(1),je()),2&e){const t=k(3).$implicit;I(),At(" ",t.fullCellRender," ")}}function pme(e,n){if(1&e&&ve(0,fme,2,1,"ng-container",12),2&e){const t=k(2).$implicit;L("nzStringTemplateOutlet",t.fullCellRender)("nzStringTemplateOutletContext",Yr(2,ts,t.value))}}function mme(e,n){if(1&e&&($e(0),He(1),je()),2&e){const t=k(3).$implicit;I(),At(" ",t.cellRender," ")}}function gme(e,n){if(1&e&&(J(0,"div"),He(1),te(),J(2,"div"),ve(3,mme,2,1,"ng-container",12),te()),2&e){const t=k(2).$implicit,i=k(2);Re(de("",i.prefixCls,"-date-value")),I(),dn(t.content),I(),Re(de("",i.prefixCls,"-date-content")),I(),L("nzStringTemplateOutlet",t.cellRender)("nzStringTemplateOutletContext",Yr(9,ts,t.value))}}function vme(e,n){if(1&e&&(J(0,"div"),lt(1,pme,1,4,"ng-container")(2,gme,4,11),te()),2&e){const t=k().$implicit;Re(de("",k(2).prefixCls,"-date ant-picker-cell-inner")),jt("ant-picker-calendar-date-today",t.isToday),I(),ct(t.fullCellRender?1:2)}}function _me(e,n){if(1&e){const t=nt();J(0,"td",8),Fe("click",function(){const r=ce(t).$implicit;return ue(r.isDisabled?null:r.onClick())})("mouseenter",function(){return ue(ce(t).$implicit.onMouseEnter())}),lt(1,hme,2,1)(2,vme,3,6,"div",9),te()}if(2&e){let t;const i=n.$implicit,r=k(2);Re(i.classMap),L("title",i.title),I(),ct("ant-picker"===(t=r.prefixCls)?1:"ant-picker-calendar"===t?2:-1)}}function yme(e,n){if(1&e&&(J(0,"tr",2),lt(1,lme,2,4,"td",5),Ai(2,_me,3,4,"td",6,vc),te()),2&e){const t=n.$implicit;Re(t.classMap),I(),ct(t.weekNum?1:-1),I(),Li(t.dateCells)}}function bme(e,n){if(1&e){const t=nt();J(0,"decade-header",2),$i("valueChange",function(r){ce(t);const o=k();return ir(o.activeDate,r)||(o.activeDate=r),ue(r)}),Fe("panelChange",function(r){return ce(t),ue(k().panelChange.emit(r))})("valueChange",function(r){return ce(t),ue(k().headerChange.emit(r))}),te(),J(1,"div")(2,"decade-table",3),Fe("valueChange",function(r){return ce(t),ue(k().onChooseDecade(r))}),te()()}if(2&e){const t=k();ji("value",t.activeDate),L("locale",t.locale)("showSuperPreBtn",t.enablePrevNext("prev","decade"))("showSuperNextBtn",t.enablePrevNext("next","decade"))("showNextBtn",!1)("showPreBtn",!1),I(),Re(de("",t.prefixCls,"-body")),I(),L("activeDate",t.activeDate)("value",t.value)("locale",t.locale)("disabledDate",t.disabledDate)}}function Cme(e,n){if(1&e){const t=nt();J(0,"year-header",2),$i("valueChange",function(r){ce(t);const o=k();return ir(o.activeDate,r)||(o.activeDate=r),ue(r)}),Fe("panelChange",function(r){return ce(t),ue(k().panelChange.emit(r))})("valueChange",function(r){return ce(t),ue(k().headerChange.emit(r))}),te(),J(1,"div")(2,"year-table",4),Fe("valueChange",function(r){return ce(t),ue(k().onChooseYear(r))})("cellHover",function(r){return ce(t),ue(k().cellHover.emit(r))}),te()()}if(2&e){const t=k();ji("value",t.activeDate),L("locale",t.locale)("showSuperPreBtn",t.enablePrevNext("prev","year"))("showSuperNextBtn",t.enablePrevNext("next","year"))("showNextBtn",!1)("showPreBtn",!1),I(),Re(de("",t.prefixCls,"-body")),I(),L("activeDate",t.activeDate)("value",t.value)("locale",t.locale)("disabledDate",t.disabledDate)("selectedValue",t.selectedValue)("hoverValue",t.hoverValue)}}function wme(e,n){if(1&e){const t=nt();J(0,"month-header",2),$i("valueChange",function(r){ce(t);const o=k();return ir(o.activeDate,r)||(o.activeDate=r),ue(r)}),Fe("panelChange",function(r){return ce(t),ue(k().panelChange.emit(r))})("valueChange",function(r){return ce(t),ue(k().headerChange.emit(r))}),te(),J(1,"div")(2,"month-table",5),Fe("valueChange",function(r){return ce(t),ue(k().onChooseMonth(r))})("cellHover",function(r){return ce(t),ue(k().cellHover.emit(r))}),te()()}if(2&e){const t=k();ji("value",t.activeDate),L("locale",t.locale)("showSuperPreBtn",t.enablePrevNext("prev","month"))("showSuperNextBtn",t.enablePrevNext("next","month"))("showNextBtn",!1)("showPreBtn",!1),I(),Re(de("",t.prefixCls,"-body")),I(),L("value",t.value)("activeDate",t.activeDate)("locale",t.locale)("disabledDate",t.disabledDate)("selectedValue",t.selectedValue)("hoverValue",t.hoverValue)}}function Sme(e,n){if(1&e){const t=nt();J(0,"quarter-header",2),$i("valueChange",function(r){ce(t);const o=k();return ir(o.activeDate,r)||(o.activeDate=r),ue(r)}),Fe("panelChange",function(r){return ce(t),ue(k().panelChange.emit(r))})("valueChange",function(r){return ce(t),ue(k().headerChange.emit(r))}),te(),J(1,"div")(2,"quarter-table",6),Fe("valueChange",function(r){return ce(t),ue(k().onChooseQuarter(r))})("cellHover",function(r){return ce(t),ue(k().cellHover.emit(r))}),te()()}if(2&e){const t=k();ji("value",t.activeDate),L("locale",t.locale)("showSuperPreBtn",t.enablePrevNext("prev","month"))("showSuperNextBtn",t.enablePrevNext("next","month"))("showNextBtn",!1)("showPreBtn",!1),I(),Re(de("",t.prefixCls,"-body")),I(),L("value",t.value)("activeDate",t.activeDate)("locale",t.locale)("disabledDate",t.disabledDate)("selectedValue",t.selectedValue)("hoverValue",t.hoverValue)("cellRender",t.dateRender)}}function Mme(e,n){if(1&e){const t=nt();J(0,"date-header",7),$i("valueChange",function(r){ce(t);const o=k();return ir(o.activeDate,r)||(o.activeDate=r),ue(r)}),Fe("panelChange",function(r){return ce(t),ue(k().panelChange.emit(r))})("valueChange",function(r){return ce(t),ue(k().headerChange.emit(r))}),te(),J(1,"div")(2,"date-table",8),Fe("valueChange",function(r){return ce(t),ue(k().onSelectDate(r))})("cellHover",function(r){return ce(t),ue(k().cellHover.emit(r))}),te()()}if(2&e){const t=k();ji("value",t.activeDate),L("locale",t.locale)("showSuperPreBtn",t.enablePrevNext("prev","week"===t.panelMode?"week":"date"))("showSuperNextBtn",t.enablePrevNext("next","week"===t.panelMode?"week":"date"))("showPreBtn",t.enablePrevNext("prev","week"===t.panelMode?"week":"date"))("showNextBtn",t.enablePrevNext("next","week"===t.panelMode?"week":"date")),I(),Re(de("",t.prefixCls,"-body")),I(),L("locale",t.locale)("showWeek",t.showWeek)("value",t.value)("activeDate",t.activeDate)("disabledDate",t.disabledDate)("cellRender",t.dateRender)("selectedValue",t.selectedValue)("hoverValue",t.hoverValue)("canSelectWeek","week"===t.panelMode)("format",t.format)}}function Tme(e,n){if(1&e){const t=nt();J(0,"nz-time-picker-panel",9),Fe("ngModelChange",function(r){return ce(t),ue(k().onSelectTime(r))}),te()}if(2&e){const t=k();L("nzInDatePicker",!0)("ngModel",null==t.value?null:t.value.nativeDate)("format",t.timeOptions.nzFormat)("nzHourStep",t.timeOptions.nzHourStep)("nzMinuteStep",t.timeOptions.nzMinuteStep)("nzSecondStep",t.timeOptions.nzSecondStep)("nzDisabledHours",t.timeOptions.nzDisabledHours)("nzDisabledMinutes",t.timeOptions.nzDisabledMinutes)("nzDisabledSeconds",t.timeOptions.nzDisabledSeconds)("nzHideDisabledOptions",!!t.timeOptions.nzHideDisabledOptions)("nzDefaultOpenValue",t.timeOptions.nzDefaultOpenValue)("nzUse12Hours",!!t.timeOptions.nzUse12Hours)("nzAddOn",t.timeOptions.nzAddOn)}}const Dme=e=>({partType:e}),pF=()=>({partType:"left"}),mF=()=>({partType:"right"});function xme(e,n){1&e&&Ka(0)}function kme(e,n){if(1&e&&ve(0,xme,1,0,"ng-container",5),2&e){const t=k(2);L("ngTemplateOutlet",Yi(3))("ngTemplateOutletContext",Yr(2,Dme,t.datePickerService.activeInput))}}function Eme(e,n){1&e&&Ka(0)}function Ime(e,n){1&e&&Ka(0)}function zme(e,n){if(1&e&&ve(0,Eme,1,0,"ng-container",5)(1,Ime,1,0,"ng-container",5),2&e){k(2);const t=Yi(3);L("ngTemplateOutlet",t)("ngTemplateOutletContext",Uc(4,pF)),I(),L("ngTemplateOutlet",t)("ngTemplateOutletContext",Uc(5,mF))}}function Ame(e,n){1&e&&Ka(0)}function Lme(e,n){if(1&e&&(J(0,"div"),ze(1,"div"),J(2,"div")(3,"div"),lt(4,kme,1,4,"ng-container")(5,zme,2,6),te(),ve(6,Ame,1,0,"ng-container",4),te()()),2&e){const t=k(),i=Yi(5);Re(ic("",t.prefixCls,"-range-wrapper ",t.prefixCls,"-date-range-wrapper")),I(),xi(t.arrowPosition),Re(de("",t.prefixCls,"-range-arrow")),I(),Re(ic("",t.prefixCls,"-panel-container ",t.showWeek?t.prefixCls+"-week-number":"")),I(),Re(de("",t.prefixCls,"-panels")),I(),ct(t.hasTimePicker?4:5),I(2),L("ngTemplateOutlet",i)}}function Ome(e,n){1&e&&Ka(0)}function Pme(e,n){1&e&&Ka(0)}function Nme(e,n){if(1&e&&(J(0,"div")(1,"div",6),ve(2,Ome,1,0,"ng-container",4)(3,Pme,1,0,"ng-container",4),te()()),2&e){const t=k(),i=Yi(3),r=Yi(5);Re(function zx(e,n,t,i,r,o,a,s,l=""){return gx(Pe(),e,n,t,i,r,o,a,s,l)}("",t.prefixCls,"-panel-container ",t.showWeek?t.prefixCls+"-week-number":""," ",t.hasTimePicker?t.prefixCls+"-time":""," ",t.isRange?t.prefixCls+"-range":"")),I(),Re(de("",t.prefixCls,"-panel")),jt("ant-picker-panel-rtl","rtl"===t.dir),I(),L("ngTemplateOutlet",i),I(),L("ngTemplateOutlet",r)}}function Fme(e,n){if(1&e){const t=nt();J(0,"div")(1,"inner-popup",7),Fe("panelChange",function(r){const o=ce(t).partType;return ue(k().onPanelModeChange(r,o))})("cellHover",function(r){return ce(t),ue(k().onCellHover(r))})("selectDate",function(r){ce(t);const o=k();return ue(o.changeValueFromSelect(r,!o.showTime))})("selectTime",function(r){const o=ce(t).partType;return ue(k().onSelectTime(r,o))})("headerChange",function(r){const o=ce(t).partType;return ue(k().onActiveDateChange(r,o))}),te()()}if(2&e){const t=n.partType,i=k();Re(de("",i.prefixCls,"-panel")),jt("ant-picker-panel-rtl","rtl"===i.dir),I(),L("showWeek",i.showWeek)("endPanelMode",i.getPanelMode(i.endPanelMode,t))("partType",t)("locale",i.locale)("showTimePicker",i.hasTimePicker)("timeOptions",i.getTimeOptions(t))("panelMode",i.getPanelMode(i.panelMode,t))("activeDate",i.getActiveDate(t))("value",i.getValue(t))("disabledDate",i.disabledDate)("dateRender",i.dateRender)("selectedValue",null==i.datePickerService?null:i.datePickerService.value)("hoverValue",i.hoverValue)("format",i.format)}}function Rme(e,n){if(1&e){const t=nt();J(0,"calendar-footer",9),Fe("clickOk",function(){return ce(t),ue(k(2).onClickOk())})("clickToday",function(r){return ce(t),ue(k(2).onClickToday(r))}),te()}if(2&e){const t=k(2),i=Yi(7);L("locale",t.locale)("isRange",t.isRange)("showToday",t.showToday)("showNow",t.showNow)("hasTimePicker",t.hasTimePicker)("okDisabled",!t.isAllowed(null==t.datePickerService?null:t.datePickerService.value))("extraFooter",t.extraFooter)("rangeQuickSelector",t.ranges?i:null)}}function Hme(e,n){1&e&&lt(0,Rme,1,8,"calendar-footer",8),2&e&&ct(k().hasFooter?0:-1)}function Vme(e,n){if(1&e){const t=nt();J(0,"li",10),Fe("click",function(){const r=ce(t).$implicit,o=k(2);return ue(o.onClickPresetRange(o.ranges[r]))})("mouseenter",function(){const r=ce(t).$implicit,o=k(2);return ue(o.onHoverPresetRange(o.ranges[r]))})("mouseleave",function(){return ce(t),ue(k(2).onPresetRangeMouseLeave())}),J(1,"span",11),He(2),te()()}if(2&e){const t=n.$implicit;Re(de("",k(2).prefixCls,"-preset")),I(2),dn(t)}}function Bme(e,n){if(1&e&&Ai(0,Vme,3,4,"li",3,P1),2&e){const t=k();Li(t.getObjectKeys(t.ranges))}}const Ume=["separatorElement"],qme=["pickerInput"],Yme=["rangePickerInput"];function jme(e,n){1&e&&Ka(0)}function $me(e,n){if(1&e){const t=nt();J(0,"div")(1,"input",9,3),$i("ngModelChange",function(r){ce(t);const o=k(2);return ir(o.inputValue,r)||(o.inputValue=r),ue(r)}),Fe("focus",function(r){return ce(t),ue(k(2).onFocus(r))})("focusout",function(r){return ce(t),ue(k(2).onFocusout(r))})("ngModelChange",function(r){return ce(t),ue(k(2).onInputChange(r))})("keyup.enter",function(r){return ce(t),ue(k(2).onKeyupEnter(r))}),te(),ve(3,jme,1,0,"ng-container",10),te()}if(2&e){const t=k(2),i=Yi(5);Re(de("",t.prefixCls,"-input")),I(),jt("ant-input-disabled",t.nzDisabled),L("placeholder",St(t.getPlaceholder()))("disabled",t.nzDisabled)("readOnly",t.nzInputReadOnly),ji("ngModel",t.inputValue),L("size",t.inputSize),ft("id",t.nzId),I(2),L("ngTemplateOutlet",i)}}function Wme(e,n){1&e&&Ka(0)}function Gme(e,n){1&e&&He(0),2&e&&At(" ",k(4).nzSeparator," ")}function Kme(e,n){1&e&&ze(0,"nz-icon",13)}function Qme(e,n){if(1&e&&($e(0),lt(1,Gme,1,1)(2,Kme,1,0,"nz-icon",13),je()),2&e){const t=k(3);I(),ct(t.nzSeparator?1:2)}}function Zme(e,n){1&e&&Ka(0)}function Xme(e,n){1&e&&Ka(0)}function Jme(e,n){if(1&e&&(J(0,"div"),ve(1,Wme,1,0,"ng-container",11),te(),J(2,"div",null,4)(4,"span"),ve(5,Qme,3,1,"ng-container",12),te()(),J(6,"div"),ve(7,Zme,1,0,"ng-container",11),te(),ve(8,Xme,1,0,"ng-container",10)),2&e){const t=k(2),i=Yi(3),r=Yi(5);Re(de("",t.prefixCls,"-input")),I(),L("ngTemplateOutlet",i)("ngTemplateOutletContext",Uc(18,pF)),I(),Re(de("",t.prefixCls,"-range-separator")),I(2),Re(de("",t.prefixCls,"-separator")),I(),L("nzStringTemplateOutlet",t.nzSeparator),I(),Re(de("",t.prefixCls,"-input")),I(),L("ngTemplateOutlet",i)("ngTemplateOutletContext",Uc(19,mF)),I(),L("ngTemplateOutlet",r)}}function ege(e,n){1&e&&lt(0,$me,4,13,"div",8)(1,Jme,9,20),2&e&&ct(k().isRange?1:0)}function tge(e,n){}function nge(e,n){1&e&&ve(0,tge,0,0,"ng-template",6),2&e&&(k(),L("ngTemplateOutlet",Yi(7)))}function ige(e,n){if(1&e){const t=nt();J(0,"input",14,5),Fe("click",function(r){return ce(t),ue(k().onClickInputBox(r))})("focusout",function(r){return ce(t),ue(k().onFocusout(r))})("focus",function(r){const o=ce(t).partType;return ue(k().onFocus(r,o))})("keyup.enter",function(r){return ce(t),ue(k().onKeyupEnter(r))}),$i("ngModelChange",function(r){const o=ce(t).partType,a=k();return ir(a.inputValue[a.datePickerService.getActiveIndex(o)],r)||(a.inputValue[a.datePickerService.getActiveIndex(o)]=r),ue(r)}),Fe("ngModelChange",function(r){return ce(t),ue(k().onInputChange(r))}),te()}if(2&e){const t=n.partType,i=k();L("placeholder",St(i.getPlaceholder(t)))("disabled",i.nzDisabled)("readOnly",i.nzInputReadOnly)("size",i.inputSize),ji("ngModel",i.inputValue[i.datePickerService.getActiveIndex(t)]),ft("id",i.nzId)}}function rge(e,n){if(1&e){const t=nt();J(0,"span",16),Fe("click",function(r){return ce(t),ue(k(2).onClickClear(r))}),ze(1,"nz-icon",17),te()}2&e&&Re(de("",k(2).prefixCls,"-clear"))}function oge(e,n){if(1&e&&($e(0),ze(1,"nz-icon",18),je()),2&e){const t=n.$implicit;I(),L("nzType",t)}}function age(e,n){1&e&&ze(0,"nz-form-item-feedback-icon",15),2&e&&L("status",k(2).status)}function sge(e,n){if(1&e&&(ze(0,"div"),lt(1,rge,2,3,"span",8),J(2,"span"),ve(3,oge,2,1,"ng-container",12),lt(4,age,1,1,"nz-form-item-feedback-icon",15),te()),2&e){const t=k();xi(t.activeBarStyle),Re(de("",t.prefixCls,"-active-bar")),I(),ct(t.showClear?1:-1),I(),Re(de("",t.prefixCls,"-suffix")),I(),L("nzStringTemplateOutlet",t.nzSuffixIcon),I(),ct(t.hasFeedback&&t.status?4:-1)}}function lge(e,n){if(1&e){const t=nt();J(0,"div")(1,"date-range-popup",19),Fe("panelModeChange",function(r){return ce(t),ue(k().onPanelModeChange(r))})("calendarChange",function(r){return ce(t),ue(k().onCalendarChange(r))})("resultOk",function(){return ce(t),ue(k().onResultOk())}),te()()}if(2&e){const t=k();xi(t.nzPopupStyle),Re(ic("",t.prefixCls,"-dropdown ",t.nzDropdownClassName)),jt("ant-picker-dropdown-rtl","rtl"===t.dir)("ant-picker-dropdown-placement-bottomLeft","bottom"===t.currentPositionY&&"start"===t.currentPositionX)("ant-picker-dropdown-placement-topLeft","top"===t.currentPositionY&&"start"===t.currentPositionX)("ant-picker-dropdown-placement-bottomRight","bottom"===t.currentPositionY&&"end"===t.currentPositionX)("ant-picker-dropdown-placement-topRight","top"===t.currentPositionY&&"end"===t.currentPositionX)("ant-picker-dropdown-range",t.isRange)("ant-picker-active-left","left"===t.datePickerService.activeInput)("ant-picker-active-right","right"===t.datePickerService.activeInput),I(),L("isRange",t.isRange)("inline",t.nzInline)("defaultPickerValue",t.nzDefaultPickerValue)("showWeek",t.nzShowWeekNumber||"week"===t.nzMode)("panelMode",t.panelMode)("locale",null==t.nzLocale?null:t.nzLocale.lang)("showToday","date"===t.nzMode&&t.nzShowToday&&!t.isRange&&!t.nzShowTime)("showNow","date"===t.nzMode&&t.nzShowNow&&!t.isRange&&!!t.nzShowTime)("showTime",t.nzShowTime)("dateRender",t.nzDateRender)("disabledDate",t.nzDisabledDate)("disabledTime",t.nzDisabledTime)("extraFooter",t.extraFooter)("ranges",t.nzRanges)("dir",t.dir)("format",t.nzFormat)}}function cge(e,n){1&e&&Ka(0)}function uge(e,n){if(1&e&&(J(0,"div",20),ve(1,cge,1,0,"ng-container",10),te()),2&e){const t=k(),i=Yi(7);nr("position","relative"),L("nzNoAnimation",!(null==t.noAnimation||!t.noAnimation.nzNoAnimation))("@slideMotion","enter"),I(),L("ngTemplateOutlet",i)}}const zp="ant-picker",dge={nzDisabledHours:()=>[],nzDisabledMinutes:()=>[],nzDisabledSeconds:()=>[]};function gF(e,n){let t=n?n(e&&e.nativeDate):{};return t={...dge,...t},t}function Ap(e,n,t){return!(!e||n&&n(e.nativeDate)||t&&!function fge(e,n){return function hge(e,n){let t=!1;if(e){const i=e.getHours(),r=e.getMinutes(),o=e.getSeconds();t=-1!==n.nzDisabledHours().indexOf(i)||-1!==n.nzDisabledMinutes(i).indexOf(r)||-1!==n.nzDisabledSeconds(i,r).indexOf(o)}return!t}(e,gF(e,n))}(e,t))}function Pf(e){return e&&e.replace(/Y/g,"y").replace(/D/g,"d")}let vF=(()=>{class e{dateHelper=U(As);locale;showToday=!1;showNow=!1;hasTimePicker=!1;isRange=!1;okDisabled=!1;disabledDate;extraFooter;rangeQuickSelector=null;clickOk=new ht;clickToday=new ht;prefixCls=zp;isTodayDisabled=!1;todayTitle="";ngOnChanges(t){const i=new Date;if(t.disabledDate&&(this.isTodayDisabled=!(!this.disabledDate||!this.disabledDate(i))),t.locale){const r=Pf(this.locale.dateFormat);this.todayTitle=this.dateHelper.format(i,r)}}onClickToday(){const t=new ci;this.clickToday.emit(t.clone())}static \u0275fac=function(i){return new(i||e)};static \u0275cmp=bt({type:e,selectors:[["calendar-footer"]],inputs:{locale:"locale",showToday:[2,"showToday","showToday",Xe],showNow:[2,"showNow","showNow",Xe],hasTimePicker:[2,"hasTimePicker","hasTimePicker",Xe],isRange:[2,"isRange","isRange",Xe],okDisabled:[2,"okDisabled","okDisabled",Xe],disabledDate:"disabledDate",extraFooter:"extraFooter",rangeQuickSelector:"rangeQuickSelector"},outputs:{clickOk:"clickOk",clickToday:"clickToday"},features:[wn],decls:4,vars:6,consts:[[3,"class"],["role","button",3,"class","title"],[3,"nzStringTemplateOutlet"],["role","button",3,"click","title"],[4,"ngTemplateOutlet"],[3,"click"],["nz-button","","type","button","nzType","primary","nzSize","small",3,"click","disabled"]],template:function(i,r){1&i&&(J(0,"div"),lt(1,U8e,2,4,"div",0),lt(2,q8e,2,7,"a",1),lt(3,W8e,4,6,"ul",0),te()),2&i&&(Re(de("",r.prefixCls,"-footer")),I(),ct(r.extraFooter?1:-1),I(),ct(r.showToday?2:-1),I(),ct(r.hasTimePicker||r.rangeQuickSelector?3:-1))},dependencies:[Ml,qN,Dy,HN,Ty,Xo],encapsulation:2,changeDetection:0})}return e})(),Ry=(()=>{class e{initialValue;value;activeDate;activeInput="left";arrowLeft=0;isRange=!1;valueChange$=new q1(1);emitValue$=new Dt;inputPartChange$=new Dt;initValue(t=!1){t&&(this.initialValue=this.isRange?[]:null),this.setValue(this.initialValue)}hasValue(t=this.value){return Array.isArray(t)?!!t[0]||!!t[1]:!!t}makeValue(t){return this.isRange?t?t.map(i=>new ci(i)):[]:t?new ci(t):null}setActiveDate(t,i=!1,r="month"){this.activeDate=this.isRange?function Ohe(e,n,t="month",i="left"){const[r,o]=e;let a=r||new ci,s=o||(n?a:a.add(1,t));return r&&!o?(a=r,s=n?r:r.add(1,t)):!r&&o?(a=n?o:o.add(-1,t),s=o):r&&o&&!n&&(r.isSame(o,t)||"left"===i?s=a.add(1,t):a=s.add(-1,t)),[a,s]}(t,i,{date:"month",month:"year",quarter:"year",year:"decade"}[r],this.activeInput):yf(t)}setValue(t){this.value=t,this.valueChange$.next(this.value)}getActiveIndex(t=this.activeInput){return{left:0,right:1}[t]}ngOnDestroy(){this.valueChange$.complete(),this.emitValue$.complete(),this.inputPartChange$.complete()}static \u0275fac=function(i){return new(i||e)};static \u0275prov=Ke({token:e,factory:e.\u0275fac})}return e})(),Nf=(()=>{class e{prefixCls="ant-picker-header";selectors=[];mode;value;locale;showSuperPreBtn=!0;showSuperNextBtn=!0;showPreBtn=!0;showNextBtn=!0;panelChange=new ht;valueChange=new ht;superPreviousTitle(){return this.locale.previousYear}previousTitle(){return this.locale.previousMonth}superNextTitle(){return this.locale.nextYear}nextTitle(){return this.locale.nextMonth}superPrevious(){this.changeValue(this.value.addYears(-1))}superNext(){this.changeValue(this.value.addYears(1))}previous(){this.changeValue(this.value.addMonths(-1))}next(){this.changeValue(this.value.addMonths(1))}changeValue(t){this.value!==t&&(this.value=t,this.valueChange.emit(this.value),this.changeMode(this.mode),this.render())}changeMode(t){this.panelChange.emit({mode:t,date:this.value.nativeDate})}render(){this.value&&(this.selectors=this.getSelectors())}ngOnInit(){this.value||(this.value=new ci),this.selectors=this.getSelectors()}ngOnChanges(t){(t.value||t.locale)&&this.render()}trackBySelector(t){return`${t.title}-${t.label}`}static \u0275fac=function(i){return new(i||e)};static \u0275dir=_t({type:e,inputs:{value:"value",locale:"locale",showSuperPreBtn:[2,"showSuperPreBtn","showSuperPreBtn",Xe],showSuperNextBtn:[2,"showSuperNextBtn","showSuperNextBtn",Xe],showPreBtn:[2,"showPreBtn","showPreBtn",Xe],showNextBtn:[2,"showNextBtn","showNextBtn",Xe]},outputs:{panelChange:"panelChange",valueChange:"valueChange"},features:[wn]})}return e})(),pge=(()=>{class e extends Nf{previous(){}next(){}mode="decade";get startYear(){return 100*parseInt(""+this.value.getYear()/100,10)}get endYear(){return this.startYear+99}superPrevious(){this.changeValue(this.value.addYears(-100))}superNext(){this.changeValue(this.value.addYears(100))}getSelectors(){return[{className:`${this.prefixCls}-decade-btn`,title:"",onClick:()=>{},label:`${this.startYear}-${this.endYear}`}]}static \u0275fac=(()=>{let t;return function(r){return(t||(t=Di(e)))(r||e)}})();static \u0275cmp=bt({type:e,selectors:[["decade-header"]],features:[zn],decls:12,vars:33,consts:[["role","button","type","button","tabindex","-1",3,"click","title"],[1,"ant-picker-super-prev-icon"],[1,"ant-picker-prev-icon"],["role","button","type","button",3,"class","title"],[1,"ant-picker-next-icon"],[1,"ant-picker-super-next-icon"],["role","button","type","button",3,"click","title"]],template:function(i,r){1&i&&(si(0,"div")(1,"button",0),fr("click",function(){return r.superPrevious()}),Wr(2,"span",1),li(),si(3,"button",0),fr("click",function(){return r.previous()}),Wr(4,"span",2),li(),si(5,"div"),Ai(6,G8e,2,5,"button",3,Of,!0),li(),si(8,"button",0),fr("click",function(){return r.next()}),Wr(9,"span",4),li(),si(10,"button",0),fr("click",function(){return r.superNext()}),Wr(11,"span",5),li()()),2&i&&(Re(r.prefixCls),I(),Re(de("",r.prefixCls,"-super-prev-btn")),nr("visibility",r.showSuperPreBtn?"visible":"hidden"),tr("title",St(r.superPreviousTitle())),I(2),Re(de("",r.prefixCls,"-prev-btn")),nr("visibility",r.showPreBtn?"visible":"hidden"),tr("title",St(r.previousTitle())),I(2),Re(de("",r.prefixCls,"-view")),I(),Li(r.selectors),I(2),Re(de("",r.prefixCls,"-next-btn")),nr("visibility",r.showNextBtn?"visible":"hidden"),tr("title",St(r.nextTitle())),I(2),Re(de("",r.prefixCls,"-super-next-btn")),nr("visibility",r.showSuperNextBtn?"visible":"hidden"),tr("title",St(r.superNextTitle())))},encapsulation:2,changeDetection:0})}return e})(),Ff=(()=>{class e{headRow=[];bodyRows=[];MAX_ROW=6;MAX_COL=7;prefixCls="ant-picker";value;locale;activeDate=new ci;showWeek=!1;selectedValue=[];hoverValue=[];disabledDate;cellRender;fullCellRender;canSelectWeek=!1;valueChange=new ht;cellHover=new ht;render(){this.activeDate&&(this.headRow=this.makeHeadRow(),this.bodyRows=this.makeBodyRows())}hasRangeValue(){return this.selectedValue?.length>0||this.hoverValue?.length>0}getClassMap(t){return{"ant-picker-cell":!0,"ant-picker-cell-in-view":!0,"ant-picker-cell-selected":t.isSelected,"ant-picker-cell-disabled":t.isDisabled,"ant-picker-cell-in-range":!!t.isInSelectedRange,"ant-picker-cell-range-start":!!t.isSelectedStart,"ant-picker-cell-range-end":!!t.isSelectedEnd,"ant-picker-cell-range-start-single":!!t.isStartSingle,"ant-picker-cell-range-end-single":!!t.isEndSingle,"ant-picker-cell-range-hover":!!t.isInHoverRange,"ant-picker-cell-range-hover-start":!!t.isHoverStart,"ant-picker-cell-range-hover-end":!!t.isHoverEnd,"ant-picker-cell-range-hover-edge-start":!!t.isFirstCellInPanel,"ant-picker-cell-range-hover-edge-end":!!t.isLastCellInPanel,"ant-picker-cell-range-start-near-hover":!!t.isRangeStartNearHover,"ant-picker-cell-range-end-near-hover":!!t.isRangeEndNearHover}}ngOnInit(){this.render()}ngOnChanges(t){t.activeDate&&!t.activeDate.currentValue&&(this.activeDate=new ci),(t.disabledDate||t.locale||t.showWeek||t.selectWeek||this.isDateRealChange(t.activeDate)||this.isDateRealChange(t.value)||this.isDateRealChange(t.selectedValue)||this.isDateRealChange(t.hoverValue))&&this.render()}isDateRealChange(t){if(t){const i=t.previousValue,r=t.currentValue;return Array.isArray(r)?!Array.isArray(i)||r.length!==i.length||r.some((o,a)=>{const s=i[a];return s instanceof ci?s.isSameDay(o):s!==o}):!this.isSameDate(i,r)}return!1}isSameDate(t,i){return!t&&!i||t&&i&&i.isSameDay(t)}static \u0275fac=function(i){return new(i||e)};static \u0275dir=_t({type:e,inputs:{prefixCls:"prefixCls",value:"value",locale:"locale",activeDate:"activeDate",showWeek:[2,"showWeek","showWeek",Xe],selectedValue:"selectedValue",hoverValue:"hoverValue",disabledDate:"disabledDate",cellRender:"cellRender",fullCellRender:"fullCellRender",canSelectWeek:[2,"canSelectWeek","canSelectWeek",Xe]},outputs:{valueChange:"valueChange",cellHover:"cellHover"},features:[wn]})}return e})(),vge=(()=>{class e extends Ff{get startYear(){return 100*parseInt(""+this.activeDate.getYear()/100,10)}get endYear(){return this.startYear+99}makeHeadRow(){return[]}makeBodyRows(){const t=[],i=this.value&&this.value.getYear(),r=this.startYear,o=this.endYear,a=r-10;let s=0;for(let l=0;l<4;l++){const c={dateCells:[],trackByIndex:l};for(let h=0;h<3;h++){const p=a+10*s,S=a+10*s+9,v=`${p}-${S}`,C={trackByIndex:h,value:this.activeDate.setYear(p).nativeDate,content:v,title:v,isDisabled:!1,isSelected:i>=p&&i<=S,isLowerThanStart:S<r,isBiggerThanEnd:p>o,classMap:{},onClick(){},onMouseEnter(){}};C.classMap=this.getClassMap(C),C.onClick=()=>this.chooseDecade(p),s++,c.dateCells.push(C)}t.push(c)}return t}getClassMap(t){return{[`${this.prefixCls}-cell`]:!0,[`${this.prefixCls}-cell-in-view`]:!t.isBiggerThanEnd&&!t.isLowerThanStart,[`${this.prefixCls}-cell-selected`]:t.isSelected,[`${this.prefixCls}-cell-disabled`]:t.isDisabled}}chooseDecade(t){this.value=this.activeDate.setYear(t),this.valueChange.emit(this.value)}static \u0275fac=(()=>{let t;return function(r){return(t||(t=Di(e)))(r||e)}})();static \u0275cmp=bt({type:e,selectors:[["decade-table"]],features:[zn],decls:5,vars:1,consts:[["cellspacing","0","role","grid",1,"ant-picker-content"],["role","row",3,"class"],["role","row"],["role","columnheader"],["role","columnheader",3,"title"],["role","gridcell",3,"class"],["role","gridcell",3,"title","class"],["role","gridcell"],["role","gridcell",3,"click","mouseenter","title"],[3,"class","ant-picker-calendar-date-today"],[3,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],[3,"class"],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"]],template:function(i,r){1&i&&(J(0,"table",0),lt(1,Z8e,5,1,"thead"),J(2,"tbody"),Ai(3,cpe,4,3,"tr",1,vc),te()()),2&i&&(I(),ct(r.headRow&&r.headRow.length>0?1:-1),I(2),Li(r.bodyRows))},dependencies:[Xo],encapsulation:2,changeDetection:0})}return e})(),_ge=(()=>{class e extends Nf{mode="year";get startYear(){return 10*parseInt(""+this.value.getYear()/10,10)}get endYear(){return this.startYear+9}superPrevious(){this.changeValue(this.value.addYears(-10))}superNext(){this.changeValue(this.value.addYears(10))}getSelectors(){return[{className:`${this.prefixCls}-year-btn`,title:"",onClick:()=>{this.mode="decade",this.changeMode("decade")},label:`${this.startYear}-${this.endYear}`}]}static \u0275fac=(()=>{let t;return function(r){return(t||(t=Di(e)))(r||e)}})();static \u0275cmp=bt({type:e,selectors:[["year-header"]],features:[zn],decls:12,vars:33,consts:[["role","button","type","button","tabindex","-1",3,"click","title"],[1,"ant-picker-super-prev-icon"],[1,"ant-picker-prev-icon"],["role","button","type","button",3,"class","title"],[1,"ant-picker-next-icon"],[1,"ant-picker-super-next-icon"],["role","button","type","button",3,"click","title"]],template:function(i,r){1&i&&(si(0,"div")(1,"button",0),fr("click",function(){return r.superPrevious()}),Wr(2,"span",1),li(),si(3,"button",0),fr("click",function(){return r.previous()}),Wr(4,"span",2),li(),si(5,"div"),Ai(6,upe,2,5,"button",3,Of,!0),li(),si(8,"button",0),fr("click",function(){return r.next()}),Wr(9,"span",4),li(),si(10,"button",0),fr("click",function(){return r.superNext()}),Wr(11,"span",5),li()()),2&i&&(Re(r.prefixCls),I(),Re(de("",r.prefixCls,"-super-prev-btn")),nr("visibility",r.showSuperPreBtn?"visible":"hidden"),tr("title",St(r.superPreviousTitle())),I(2),Re(de("",r.prefixCls,"-prev-btn")),nr("visibility",r.showPreBtn?"visible":"hidden"),tr("title",St(r.previousTitle())),I(2),Re(de("",r.prefixCls,"-view")),I(),Li(r.selectors),I(2),Re(de("",r.prefixCls,"-next-btn")),nr("visibility",r.showNextBtn?"visible":"hidden"),tr("title",St(r.nextTitle())),I(2),Re(de("",r.prefixCls,"-super-next-btn")),nr("visibility",r.showSuperNextBtn?"visible":"hidden"),tr("title",St(r.superNextTitle())))},encapsulation:2,changeDetection:0})}return e})(),yge=(()=>{class e extends Ff{dateHelper=U(As);MAX_ROW=4;MAX_COL=3;makeHeadRow(){return[]}makeBodyRows(){const t=this.activeDate&&this.activeDate.getYear(),i=10*parseInt(""+t/10,10),r=i+9,o=i-1,a=[];let s=0;for(let l=0;l<this.MAX_ROW;l++){const c={dateCells:[],trackByIndex:l};for(let h=0;h<this.MAX_COL;h++){const p=o+s,S=this.activeDate.setYear(p),v=this.dateHelper.format(S.nativeDate,"yyyy"),C=this.isDisabledYear(S),P={trackByIndex:h,value:S.nativeDate,isDisabled:C,isSameDecade:p>=i&&p<=r,isSelected:p===(this.value&&this.value.getYear()),content:v,title:v,classMap:{},isLastCellInPanel:S.getYear()===r,isFirstCellInPanel:S.getYear()===i,cellRender:Xc(this.cellRender,S),fullCellRender:Xc(this.fullCellRender,S),onClick:()=>this.chooseYear(P.value.getFullYear()),onMouseEnter:()=>this.cellHover.emit(S)};this.addCellProperty(P,S),c.dateCells.push(P),s++}a.push(c)}return a}getClassMap(t){return{...super.getClassMap(t),"ant-picker-cell-in-view":!!t.isSameDecade}}isDisabledYear(t){if(!this.disabledDate)return!1;for(let r=t.setMonth(0).setDate(1);r.getYear()===t.getYear();r=r.addDays(1))if(!this.disabledDate(r.nativeDate))return!1;return!0}addCellProperty(t,i){if(this.hasRangeValue()){const[r,o]=this.hoverValue,[a,s]=this.selectedValue;a?.isSameYear(i)&&(t.isSelectedStart=!0,t.isSelected=!0),s?.isSameYear(i)&&(t.isSelectedEnd=!0,t.isSelected=!0),r&&o&&(t.isHoverStart=r.isSameYear(i),t.isHoverEnd=o.isSameYear(i),t.isInHoverRange=r.isBeforeYear(i)&&i.isBeforeYear(o)),t.isStartSingle=a&&!s,t.isEndSingle=!a&&s,t.isInSelectedRange=a?.isBeforeYear(i)&&i?.isBeforeYear(s),t.isRangeStartNearHover=a&&t.isInHoverRange,t.isRangeEndNearHover=s&&t.isInHoverRange}else i.isSameYear(this.value)&&(t.isSelected=!0);t.classMap=this.getClassMap(t)}chooseYear(t){this.value=this.activeDate.setYear(t),this.valueChange.emit(this.value),this.render()}static \u0275fac=(()=>{let t;return function(r){return(t||(t=Di(e)))(r||e)}})();static \u0275cmp=bt({type:e,selectors:[["year-table"]],features:[zn],decls:5,vars:1,consts:[["cellspacing","0","role","grid",1,"ant-picker-content"],["role","row",3,"class"],["role","row"],["role","columnheader"],["role","columnheader",3,"title"],["role","gridcell",3,"class"],["role","gridcell",3,"title","class"],["role","gridcell"],["role","gridcell",3,"click","mouseenter","title"],[3,"class","ant-picker-calendar-date-today"],[3,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],[3,"class"],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"]],template:function(i,r){1&i&&(J(0,"table",0),lt(1,fpe,5,1,"thead"),J(2,"tbody"),Ai(3,Tpe,4,3,"tr",1,vc),te()()),2&i&&(I(),ct(r.headRow&&r.headRow.length>0?1:-1),I(2),Li(r.bodyRows))},dependencies:[Xo],encapsulation:2,changeDetection:0})}return e})(),bge=(()=>{class e extends Nf{dateHelper=U(As);mode="quarter";getSelectors(){return[{className:`${this.prefixCls}-quarter-btn`,title:this.locale.yearSelect,onClick:()=>{this.mode="year",this.changeMode("year")},label:this.dateHelper.format(this.value.nativeDate,Pf(this.locale.yearFormat))}]}static \u0275fac=(()=>{let t;return function(r){return(t||(t=Di(e)))(r||e)}})();static \u0275cmp=bt({type:e,selectors:[["quarter-header"]],features:[zn],decls:12,vars:33,consts:[["role","button","type","button","tabindex","-1",3,"click","title"],[1,"ant-picker-super-prev-icon"],[1,"ant-picker-prev-icon"],["role","button","type","button",3,"class","title"],[1,"ant-picker-next-icon"],[1,"ant-picker-super-next-icon"],["role","button","type","button",3,"click","title"]],template:function(i,r){1&i&&(si(0,"div")(1,"button",0),fr("click",function(){return r.superPrevious()}),Wr(2,"span",1),li(),si(3,"button",0),fr("click",function(){return r.previous()}),Wr(4,"span",2),li(),si(5,"div"),Ai(6,Dpe,2,5,"button",3,Of,!0),li(),si(8,"button",0),fr("click",function(){return r.next()}),Wr(9,"span",4),li(),si(10,"button",0),fr("click",function(){return r.superNext()}),Wr(11,"span",5),li()()),2&i&&(Re(r.prefixCls),I(),Re(de("",r.prefixCls,"-super-prev-btn")),nr("visibility",r.showSuperPreBtn?"visible":"hidden"),tr("title",St(r.superPreviousTitle())),I(2),Re(de("",r.prefixCls,"-prev-btn")),nr("visibility",r.showPreBtn?"visible":"hidden"),tr("title",St(r.previousTitle())),I(2),Re(de("",r.prefixCls,"-view")),I(),Li(r.selectors),I(2),Re(de("",r.prefixCls,"-next-btn")),nr("visibility",r.showNextBtn?"visible":"hidden"),tr("title",St(r.nextTitle())),I(2),Re(de("",r.prefixCls,"-super-next-btn")),nr("visibility",r.showSuperNextBtn?"visible":"hidden"),tr("title",St(r.superNextTitle())))},encapsulation:2,changeDetection:0})}return e})(),Cge=(()=>{class e extends Ff{dateHelper=U(As);MAX_ROW=1;MAX_COL=4;changeValueFromInside(t){this.activeDate=t.clone(),this.valueChange.emit(this.activeDate),this.activeDate.isSameQuarter(this.value)||this.render()}makeHeadRow(){return[]}makeBodyRows(){const t=[],i=[{dateCells:t,trackByIndex:0}];let r=1;for(let o=1;o<=this.MAX_COL;o++,r++){const a=this.activeDate.setQuarter(r),s=this.isDisabledQuarter(a),l=this.dateHelper.format(a.nativeDate,"[Q]Q"),c={trackByIndex:o,value:a.nativeDate,isDisabled:s,isSelected:a.isSameQuarter(this.value),content:l,title:l,classMap:{},cellRender:Xc(this.cellRender,a),fullCellRender:Xc(this.fullCellRender,a),onClick:()=>this.changeValueFromInside(a),onMouseEnter:()=>this.cellHover.emit(a)};this.addCellProperty(c,a),t.push(c)}return i}isDisabledQuarter(t){if(!this.disabledDate)return!1;for(let r=new ci(p_(t.nativeDate));r.getQuarter()===t.getQuarter();r=r.addMonths(1))if(!this.disabledDate(r.nativeDate))return!1;return!0}addCellProperty(t,i){if(this.hasRangeValue()){const[r,o]=this.hoverValue,[a,s]=this.selectedValue;a?.isSameQuarter(i)&&(t.isSelectedStart=!0,t.isSelected=!0),s?.isSameQuarter(i)&&(t.isSelectedEnd=!0,t.isSelected=!0),r&&o&&(t.isHoverStart=r.isSameQuarter(i),t.isHoverEnd=o.isSameQuarter(i),t.isLastCellInPanel=4===i.getQuarter(),t.isFirstCellInPanel=1===i.getQuarter(),t.isInHoverRange=r.isBeforeQuarter(i)&&i.isBeforeQuarter(o)),t.isStartSingle=a&&!s,t.isEndSingle=!a&&s,t.isInSelectedRange=a?.isBeforeQuarter(i)&&i?.isBeforeQuarter(s),t.isRangeStartNearHover=a&&t.isInHoverRange,t.isRangeEndNearHover=s&&t.isInHoverRange}else i.isSameQuarter(this.value)&&(t.isSelected=!0);t.classMap=this.getClassMap(t)}static \u0275fac=(()=>{let t;return function(r){return(t||(t=Di(e)))(r||e)}})();static \u0275cmp=bt({type:e,selectors:[["quarter-table"]],features:[zn],decls:5,vars:1,consts:[["cellspacing","0","role","grid",1,"ant-picker-content"],["role","row",3,"class"],["role","row"],["role","columnheader"],["role","columnheader",3,"title"],["role","gridcell",3,"class"],["role","gridcell",3,"title","class"],["role","gridcell"],["role","gridcell",3,"click","mouseenter","title"],[3,"class","ant-picker-calendar-date-today"],[3,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],[3,"class"],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"]],template:function(i,r){1&i&&(J(0,"table",0),lt(1,Epe,5,1,"thead"),J(2,"tbody"),Ai(3,Bpe,4,3,"tr",1,vc),te()()),2&i&&(I(),ct(r.headRow&&r.headRow.length>0?1:-1),I(2),Li(r.bodyRows))},dependencies:[Xo],encapsulation:2,changeDetection:0})}return e})(),wge=(()=>{class e extends Nf{dateHelper=U(As);mode="month";getSelectors(){return[{className:`${this.prefixCls}-month-btn`,title:this.locale.yearSelect,onClick:()=>{this.mode="year",this.changeMode("year")},label:this.dateHelper.format(this.value.nativeDate,Pf(this.locale.yearFormat))}]}static \u0275fac=(()=>{let t;return function(r){return(t||(t=Di(e)))(r||e)}})();static \u0275cmp=bt({type:e,selectors:[["month-header"]],features:[zn],decls:12,vars:33,consts:[["role","button","type","button","tabindex","-1",3,"click","title"],[1,"ant-picker-super-prev-icon"],[1,"ant-picker-prev-icon"],["role","button","type","button",3,"class","title"],[1,"ant-picker-next-icon"],[1,"ant-picker-super-next-icon"],["role","button","type","button",3,"click","title"]],template:function(i,r){1&i&&(si(0,"div")(1,"button",0),fr("click",function(){return r.superPrevious()}),Wr(2,"span",1),li(),si(3,"button",0),fr("click",function(){return r.previous()}),Wr(4,"span",2),li(),si(5,"div"),Ai(6,Upe,2,5,"button",3,Of,!0),li(),si(8,"button",0),fr("click",function(){return r.next()}),Wr(9,"span",4),li(),si(10,"button",0),fr("click",function(){return r.superNext()}),Wr(11,"span",5),li()()),2&i&&(Re(r.prefixCls),I(),Re(de("",r.prefixCls,"-super-prev-btn")),nr("visibility",r.showSuperPreBtn?"visible":"hidden"),tr("title",St(r.superPreviousTitle())),I(2),Re(de("",r.prefixCls,"-prev-btn")),nr("visibility",r.showPreBtn?"visible":"hidden"),tr("title",St(r.previousTitle())),I(2),Re(de("",r.prefixCls,"-view")),I(),Li(r.selectors),I(2),Re(de("",r.prefixCls,"-next-btn")),nr("visibility",r.showNextBtn?"visible":"hidden"),tr("title",St(r.nextTitle())),I(2),Re(de("",r.prefixCls,"-super-next-btn")),nr("visibility",r.showSuperNextBtn?"visible":"hidden"),tr("title",St(r.superNextTitle())))},encapsulation:2,changeDetection:0})}return e})(),Sge=(()=>{class e extends Ff{dateHelper=U(As);MAX_ROW=4;MAX_COL=3;makeHeadRow(){return[]}makeBodyRows(){const t=[];let i=0;for(let r=0;r<this.MAX_ROW;r++){const o={dateCells:[],trackByIndex:r};for(let a=0;a<this.MAX_COL;a++){const s=this.activeDate.setMonth(i),l=this.isDisabledMonth(s),c=this.dateHelper.format(s.nativeDate,"MMM"),h={trackByIndex:a,value:s.nativeDate,isDisabled:l,isSelected:s.isSameMonth(this.value),content:c,title:c,classMap:{},cellRender:Xc(this.cellRender,s),fullCellRender:Xc(this.fullCellRender,s),onClick:()=>this.chooseMonth(h.value.getMonth()),onMouseEnter:()=>this.cellHover.emit(s)};this.addCellProperty(h,s),o.dateCells.push(h),i++}t.push(o)}return t}isDisabledMonth(t){if(!this.disabledDate)return!1;for(let r=t.setDate(1);r.getMonth()===t.getMonth();r=r.addDays(1))if(!this.disabledDate(r.nativeDate))return!1;return!0}addCellProperty(t,i){if(this.hasRangeValue()){const[r,o]=this.hoverValue,[a,s]=this.selectedValue;a?.isSameMonth(i)&&(t.isSelectedStart=!0,t.isSelected=!0),s?.isSameMonth(i)&&(t.isSelectedEnd=!0,t.isSelected=!0),r&&o&&(t.isHoverStart=r.isSameMonth(i),t.isHoverEnd=o.isSameMonth(i),t.isLastCellInPanel=11===i.getMonth(),t.isFirstCellInPanel=0===i.getMonth(),t.isInHoverRange=r.isBeforeMonth(i)&&i.isBeforeMonth(o)),t.isStartSingle=a&&!s,t.isEndSingle=!a&&s,t.isInSelectedRange=a?.isBeforeMonth(i)&&i?.isBeforeMonth(s),t.isRangeStartNearHover=a&&t.isInHoverRange,t.isRangeEndNearHover=s&&t.isInHoverRange}else i.isSameMonth(this.value)&&(t.isSelected=!0);t.classMap=this.getClassMap(t)}chooseMonth(t){this.value=this.activeDate.setMonth(t),this.valueChange.emit(this.value)}static \u0275fac=(()=>{let t;return function(r){return(t||(t=Di(e)))(r||e)}})();static \u0275cmp=bt({type:e,selectors:[["month-table"]],features:[zn],decls:5,vars:1,consts:[["cellspacing","0","role","grid",1,"ant-picker-content"],["role","row",3,"class"],["role","row"],["role","columnheader"],["role","columnheader",3,"title"],["role","gridcell",3,"class"],["role","gridcell",3,"title","class"],["role","gridcell"],["role","gridcell",3,"click","mouseenter","title"],[3,"class","ant-picker-calendar-date-today"],[3,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],[3,"class"],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"]],template:function(i,r){1&i&&(J(0,"table",0),lt(1,jpe,5,1,"thead"),J(2,"tbody"),Ai(3,ime,4,3,"tr",1,vc),te()()),2&i&&(I(),ct(r.headRow&&r.headRow.length>0?1:-1),I(2),Li(r.bodyRows))},dependencies:[Xo],encapsulation:2,changeDetection:0})}return e})(),Mge=(()=>{class e extends Nf{dateHelper=U(As);mode="date";getSelectors(){return[{className:`${this.prefixCls}-year-btn`,title:this.locale.yearSelect,onClick:()=>{this.mode="year",this.changeMode("year")},label:this.dateHelper.format(this.value.nativeDate,Pf(this.locale.yearFormat))},{className:`${this.prefixCls}-month-btn`,title:this.locale.monthSelect,onClick:()=>{this.mode="month",this.changeMode("month")},label:this.dateHelper.format(this.value.nativeDate,this.locale.monthFormat||"MMM")}]}static \u0275fac=(()=>{let t;return function(r){return(t||(t=Di(e)))(r||e)}})();static \u0275cmp=bt({type:e,selectors:[["date-header"]],features:[zn],decls:12,vars:33,consts:[["role","button","type","button","tabindex","-1",3,"click","title"],[1,"ant-picker-super-prev-icon"],[1,"ant-picker-prev-icon"],["role","button","type","button",3,"class","title"],[1,"ant-picker-next-icon"],[1,"ant-picker-super-next-icon"],["role","button","type","button",3,"click","title"]],template:function(i,r){1&i&&(si(0,"div")(1,"button",0),fr("click",function(){return r.superPrevious()}),Wr(2,"span",1),li(),si(3,"button",0),fr("click",function(){return r.previous()}),Wr(4,"span",2),li(),si(5,"div"),Ai(6,rme,2,5,"button",3,Of,!0),li(),si(8,"button",0),fr("click",function(){return r.next()}),Wr(9,"span",4),li(),si(10,"button",0),fr("click",function(){return r.superNext()}),Wr(11,"span",5),li()()),2&i&&(Re(r.prefixCls),I(),Re(de("",r.prefixCls,"-super-prev-btn")),nr("visibility",r.showSuperPreBtn?"visible":"hidden"),tr("title",St(r.superPreviousTitle())),I(2),Re(de("",r.prefixCls,"-prev-btn")),nr("visibility",r.showPreBtn?"visible":"hidden"),tr("title",St(r.previousTitle())),I(2),Re(de("",r.prefixCls,"-view")),I(),Li(r.selectors),I(2),Re(de("",r.prefixCls,"-next-btn")),nr("visibility",r.showNextBtn?"visible":"hidden"),tr("title",St(r.nextTitle())),I(2),Re(de("",r.prefixCls,"-super-next-btn")),nr("visibility",r.showSuperNextBtn?"visible":"hidden"),tr("title",St(r.superNextTitle())))},encapsulation:2,changeDetection:0})}return e})(),Tge=(()=>{class e extends Ff{format;i18n=U(Rd);dateHelper=U(As);changeValueFromInside(t){this.activeDate=this.activeDate.setYear(t.getYear()).setMonth(t.getMonth()).setDate(t.getDate()),this.valueChange.emit(this.activeDate),this.activeDate.isSameMonth(this.value)||this.render()}makeHeadRow(){const t=[],i=this.activeDate.calendarStart({weekStartsOn:this.dateHelper.getFirstDayOfWeek()});for(let r=0;r<this.MAX_COL;r++){const o=i.addDays(r);t.push({trackByIndex:null,value:o.nativeDate,title:this.dateHelper.format(o.nativeDate,"E"),content:this.dateHelper.format(o.nativeDate,this.getVeryShortWeekFormat()),isSelected:!1,isDisabled:!1,onClick(){},onMouseEnter(){}})}return t}getVeryShortWeekFormat(){return 0===this.i18n.getLocaleId().toLowerCase().indexOf("zh")?"EEEEE":"EEEEEE"}makeBodyRows(){const t=[],i=this.activeDate.calendarStart({weekStartsOn:this.dateHelper.getFirstDayOfWeek()});for(let r=0;r<this.MAX_ROW;r++){const o=i.addDays(7*r),a={isActive:!1,dateCells:[],trackByIndex:r};for(let s=0;s<7;s++){const l=o.addDays(s),c=Pf(this.format??this.i18n.getLocaleData("DatePicker.lang.dateFormat","YYYY-MM-DD")),h=this.dateHelper.format(l.nativeDate,c),p=this.dateHelper.format(l.nativeDate,"dd"),S={trackByIndex:s,value:l.nativeDate,label:p,isSelected:!1,isDisabled:!1,isToday:!1,title:h,cellRender:Xc(this.cellRender,l),fullCellRender:Xc(this.fullCellRender,l),content:`${l.getDate()}`,onClick:()=>this.changeValueFromInside(l),onMouseEnter:()=>this.cellHover.emit(l)};this.addCellProperty(S,l),this.showWeek&&!a.weekNum&&(a.weekNum=this.dateHelper.getISOWeek(l.nativeDate)),l.isSameDay(this.value)&&(a.isActive=l.isSameDay(this.value)),a.dateCells.push(S)}a.classMap={"ant-picker-week-panel-row":this.canSelectWeek,"ant-picker-week-panel-row-selected":this.canSelectWeek&&a.isActive},t.push(a)}return t}addCellProperty(t,i){if(this.hasRangeValue()&&!this.canSelectWeek){const[r,o]=this.hoverValue,[a,s]=this.selectedValue;a?.isSameDay(i)&&(t.isSelectedStart=!0,t.isSelected=!0),s?.isSameDay(i)&&(t.isSelectedEnd=!0,t.isSelected=!0),r&&o&&(t.isHoverStart=r.isSameDay(i),t.isHoverEnd=o.isSameDay(i),t.isLastCellInPanel=i.isLastDayOfMonth(),t.isFirstCellInPanel=i.isFirstDayOfMonth(),t.isInHoverRange=r.isBeforeDay(i)&&i.isBeforeDay(o)),t.isStartSingle=a&&!s,t.isEndSingle=!a&&s,t.isInSelectedRange=a?.isBeforeDay(i)&&i.isBeforeDay(s),t.isRangeStartNearHover=a&&t.isInHoverRange,t.isRangeEndNearHover=s&&t.isInHoverRange}t.isToday=i.isToday(),t.isSelected=i.isSameDay(this.value),t.isDisabled=!!this.disabledDate?.(i.nativeDate),t.classMap=this.getClassMap(t)}getClassMap(t){const i=new ci(t.value);return{...super.getClassMap(t),"ant-picker-cell-today":!!t.isToday,"ant-picker-cell-in-view":i.isSameMonth(this.activeDate)}}static \u0275fac=(()=>{let t;return function(r){return(t||(t=Di(e)))(r||e)}})();static \u0275cmp=bt({type:e,selectors:[["date-table"]],inputs:{format:"format"},features:[zn],decls:5,vars:1,consts:[["cellspacing","0","role","grid",1,"ant-picker-content"],["role","row",3,"class"],["role","row"],["role","columnheader"],["role","columnheader",3,"title"],["role","gridcell",3,"class"],["role","gridcell",3,"title","class"],["role","gridcell"],["role","gridcell",3,"click","mouseenter","title"],[3,"class","ant-picker-calendar-date-today"],[3,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],[3,"class"],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"]],template:function(i,r){1&i&&(J(0,"table",0),lt(1,sme,5,1,"thead"),J(2,"tbody"),Ai(3,yme,4,3,"tr",1,vc),te()()),2&i&&(I(),ct(r.headRow&&r.headRow.length>0?1:-1),I(2),Li(r.bodyRows))},dependencies:[Xo],encapsulation:2,changeDetection:0})}return e})(),Dge=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=Ci({type:e});static \u0275inj=$n({})}return e})(),_F=(()=>{class e{activeDate;endPanelMode;panelMode;showWeek;locale;showTimePicker;timeOptions;disabledDate;dateRender;selectedValue;hoverValue;value;partType;format;panelChange=new ht;headerChange=new ht;selectDate=new ht;selectTime=new ht;cellHover=new ht;prefixCls=zp;enablePrevNext(t,i){return!(!this.showTimePicker&&i===this.endPanelMode&&("left"===this.partType&&"next"===t||"right"===this.partType&&"prev"===t))}onLeave(){this.cellHover.emit(null)}onSelectTime(t){this.selectTime.emit(new ci(t))}onSelectDate(t){const i=t instanceof ci?t:new ci(t),r=this.timeOptions&&this.timeOptions.nzDefaultOpenValue;!this.value&&r&&i.setHms(r.getHours(),r.getMinutes(),r.getSeconds()),this.selectDate.emit(i)}onChooseMonth(t){this.activeDate=this.activeDate.setMonth(t.getMonth()),"month"===this.endPanelMode?(this.value=t,this.selectDate.emit(t)):(this.headerChange.emit(t),this.panelChange.emit({mode:this.endPanelMode,date:t.nativeDate}))}onChooseQuarter(t){this.activeDate=this.activeDate.setQuarter(t.getQuarter()),this.value=t,this.selectDate.emit(t)}onChooseYear(t){this.activeDate=this.activeDate.setYear(t.getYear()),"year"===this.endPanelMode?(this.value=t,this.selectDate.emit(t)):(this.headerChange.emit(t),this.panelChange.emit({mode:this.endPanelMode,date:t.nativeDate}))}onChooseDecade(t){this.activeDate=this.activeDate.setYear(t.getYear()),"decade"===this.endPanelMode?(this.value=t,this.selectDate.emit(t)):(this.headerChange.emit(t),this.panelChange.emit({mode:"year",date:t.nativeDate}))}ngOnChanges(t){t.activeDate&&!t.activeDate.currentValue&&(this.activeDate=new ci),t.panelMode&&"time"===t.panelMode.currentValue&&(this.panelMode="date")}static \u0275fac=function(i){return new(i||e)};static \u0275cmp=bt({type:e,selectors:[["inner-popup"]],inputs:{activeDate:"activeDate",endPanelMode:"endPanelMode",panelMode:"panelMode",showWeek:[2,"showWeek","showWeek",Xe],locale:"locale",showTimePicker:[2,"showTimePicker","showTimePicker",Xe],timeOptions:"timeOptions",disabledDate:"disabledDate",dateRender:"dateRender",selectedValue:"selectedValue",hoverValue:"hoverValue",value:"value",partType:"partType",format:"format"},outputs:{panelChange:"panelChange",headerChange:"headerChange",selectDate:"selectDate",selectTime:"selectTime",cellHover:"cellHover"},features:[wn],decls:8,vars:8,consts:[[3,"mouseleave"],[3,"nzInDatePicker","ngModel","format","nzHourStep","nzMinuteStep","nzSecondStep","nzDisabledHours","nzDisabledMinutes","nzDisabledSeconds","nzHideDisabledOptions","nzDefaultOpenValue","nzUse12Hours","nzAddOn"],[3,"valueChange","panelChange","value","locale","showSuperPreBtn","showSuperNextBtn","showNextBtn","showPreBtn"],[3,"valueChange","activeDate","value","locale","disabledDate"],[3,"valueChange","cellHover","activeDate","value","locale","disabledDate","selectedValue","hoverValue"],[3,"valueChange","cellHover","value","activeDate","locale","disabledDate","selectedValue","hoverValue"],[3,"valueChange","cellHover","value","activeDate","locale","disabledDate","selectedValue","hoverValue","cellRender"],[3,"valueChange","panelChange","value","locale","showSuperPreBtn","showSuperNextBtn","showPreBtn","showNextBtn"],[3,"valueChange","cellHover","locale","showWeek","value","activeDate","disabledDate","cellRender","selectedValue","hoverValue","canSelectWeek","format"],[3,"ngModelChange","nzInDatePicker","ngModel","format","nzHourStep","nzMinuteStep","nzSecondStep","nzDisabledHours","nzDisabledMinutes","nzDisabledSeconds","nzHideDisabledOptions","nzDefaultOpenValue","nzUse12Hours","nzAddOn"]],template:function(i,r){if(1&i&&(J(0,"div",0),Fe("mouseleave",function(){return r.onLeave()}),J(1,"div"),lt(2,bme,3,13)(3,Cme,3,15)(4,wme,3,15)(5,Sme,3,16)(6,Mme,3,19),te(),lt(7,Tme,1,13,"nz-time-picker-panel",1),te()),2&i){let o;jt("ant-picker-datetime-panel",r.showTimePicker),I(),Re(ic("",r.prefixCls,"-",r.panelMode,"-panel")),I(),ct("decade"===(o=r.panelMode)?2:"year"===o?3:"month"===o?4:"quarter"===o?5:6),I(5),ct(r.showTimePicker&&r.timeOptions?7:-1)}},dependencies:[Dge,Mge,Tge,pge,vge,wge,Sge,_ge,yge,bge,Cge,fF,Fy,rf,Ja,Ra],encapsulation:2,changeDetection:0})}return e})(),Hy=(()=>{class e{datePickerService=U(Ry);cdr=U(Tr);host=U(pn);destroyRef=U(kn);isRange;inline=!1;showWeek;locale;disabledDate;disabledTime;showToday;showNow;showTime;extraFooter;ranges;dateRender;panelMode;defaultPickerValue;dir="ltr";format;panelModeChange=new ht;calendarChange=new ht;resultOk=new ht;prefixCls=zp;endPanelMode="date";timeOptions=null;hoverValue=[];checkedPartArr=[!1,!1];get hasTimePicker(){return!!this.showTime}get hasFooter(){return this.showToday||this.hasTimePicker||!!this.extraFooter||!!this.ranges}get arrowPosition(){return"rtl"===this.dir?{right:`${this.datePickerService?.arrowLeft}px`}:{left:`${this.datePickerService?.arrowLeft}px`}}ngOnInit(){Ts(this.datePickerService.valueChange$,this.datePickerService.inputPartChange$).pipe(gt(this.destroyRef)).subscribe(()=>{this.updateActiveDate(),this.cdr.markForCheck()}),zs(this.host.nativeElement,"mousedown").pipe(gt(this.destroyRef)).subscribe(t=>t.preventDefault())}ngOnChanges(t){(t.showTime||t.disabledTime)&&this.showTime&&this.buildTimeOptions(),t.panelMode&&(this.endPanelMode=this.panelMode),t.defaultPickerValue&&this.updateActiveDate()}updateActiveDate(){const t=this.datePickerService.hasValue()?this.datePickerService.value:this.datePickerService.makeValue(this.defaultPickerValue);this.datePickerService.setActiveDate(t,this.hasTimePicker,this.getPanelMode(this.endPanelMode))}onClickOk(){this.changeValueFromSelect(this.isRange?this.datePickerService.value[{left:0,right:1}[this.datePickerService.activeInput]]:this.datePickerService.value),this.resultOk.emit()}onClickToday(t){this.changeValueFromSelect(t,!this.showTime)}onCellHover(t){if(!this.isRange)return;if(null===t)return void(this.hoverValue=[]);const r=this.datePickerService.value[{left:1,right:0}[this.datePickerService.activeInput]];r&&(this.hoverValue=r.isBeforeDay(t)?[r,t]:[t,r])}onPanelModeChange(t,i){this.isRange?(this.panelMode=0===this.datePickerService.getActiveIndex(i)?[t.mode,this.panelMode[1]]:[this.panelMode[0],t.mode],this.panelModeChange.emit({mode:this.panelMode,date:this.datePickerService.activeDate.map(o=>o.nativeDate)})):(this.panelMode=t.mode,this.panelModeChange.emit({mode:this.panelMode,date:t.date}))}onActiveDateChange(t,i){if(this.isRange){const r=[];r[this.datePickerService.getActiveIndex(i)]=t,this.datePickerService.setActiveDate(r,this.hasTimePicker,this.getPanelMode(this.endPanelMode,i))}else this.datePickerService.setActiveDate(t)}onSelectTime(t,i){if(this.isRange){const r=yf(this.datePickerService.value),o=this.datePickerService.getActiveIndex(i);r[o]=this.overrideHms(t,r[o]),this.datePickerService.setValue(r)}else{const r=this.overrideHms(t,this.datePickerService.value);this.datePickerService.setValue(r)}this.datePickerService.inputPartChange$.next(null),this.buildTimeOptions()}changeValueFromSelect(t,i=!0){if(this.isRange){const r=yf(this.datePickerService.value),o=this.datePickerService.activeInput;let a=o;r[this.datePickerService.getActiveIndex(o)]=t,this.checkedPartArr[this.datePickerService.getActiveIndex(o)]=!0,this.hoverValue=r,i?this.inline?(a=this.reversedPart(o),"right"===a&&(r[this.datePickerService.getActiveIndex(a)]=null,this.checkedPartArr[this.datePickerService.getActiveIndex(a)]=!1),this.datePickerService.setValue(r),this.calendarChange.emit(r),this.isBothAllowed(r)&&this.checkedPartArr[0]&&this.checkedPartArr[1]&&(this.clearHoverValue(),this.datePickerService.emitValue$.next())):(kP(r)&&(a=this.reversedPart(o),r[this.datePickerService.getActiveIndex(a)]=null,this.checkedPartArr[this.datePickerService.getActiveIndex(a)]=!1),this.datePickerService.setValue(r),this.isBothAllowed(r)&&this.checkedPartArr[0]&&this.checkedPartArr[1]?(this.calendarChange.emit(r),this.clearHoverValue(),this.datePickerService.emitValue$.next()):this.isAllowed(r)&&(a=this.reversedPart(o),this.calendarChange.emit([t.clone()]))):this.datePickerService.setValue(r),this.datePickerService.inputPartChange$.next(a)}else this.datePickerService.setValue(t),this.datePickerService.inputPartChange$.next(null),i&&this.isAllowed(t)&&this.datePickerService.emitValue$.next();this.buildTimeOptions()}reversedPart(t){return"left"===t?"right":"left"}getPanelMode(t,i){return this.isRange?t[this.datePickerService.getActiveIndex(i)]:t}getValue(t){return this.isRange?(this.datePickerService.value||[])[this.datePickerService.getActiveIndex(t)]:this.datePickerService.value}getActiveDate(t){return this.isRange?this.datePickerService.activeDate[this.datePickerService.getActiveIndex(t)]:this.datePickerService.activeDate}disabledStartTime=t=>this.disabledTime&&this.disabledTime(t,"start");disabledEndTime=t=>this.disabledTime&&this.disabledTime(t,"end");isOneAllowed(t){const i=this.datePickerService.getActiveIndex();return Ap(t[i],this.disabledDate,[this.disabledStartTime,this.disabledEndTime][i])}isBothAllowed(t){return Ap(t[0],this.disabledDate,this.disabledStartTime)&&Ap(t[1],this.disabledDate,this.disabledEndTime)}isAllowed(t,i=!1){return this.isRange?i?this.isBothAllowed(t):this.isOneAllowed(t):Ap(t,this.disabledDate,this.disabledTime)}getTimeOptions(t){return this.showTime&&this.timeOptions?this.timeOptions instanceof Array?this.timeOptions[this.datePickerService.getActiveIndex(t)]:this.timeOptions:null}onClickPresetRange(t){const i="function"==typeof t?t():t;i&&(this.datePickerService.setValue([new ci(i[0]),new ci(i[1])]),this.datePickerService.emitValue$.next())}onPresetRangeMouseLeave(){this.clearHoverValue()}onHoverPresetRange(t){"function"!=typeof t&&(this.hoverValue=[new ci(t[0]),new ci(t[1])])}getObjectKeys(t){return t?Object.keys(t):[]}show(t){return!(this.showTime&&this.isRange&&this.datePickerService.activeInput!==t)}clearHoverValue(){this.hoverValue=[]}buildTimeOptions(){if(this.showTime){const t="object"==typeof this.showTime?this.showTime:{};if(this.isRange){const i=this.datePickerService.value;this.timeOptions=[this.overrideTimeOptions(t,i[0],"start"),this.overrideTimeOptions(t,i[1],"end")]}else this.timeOptions=this.overrideTimeOptions(t,this.datePickerService.value)}else this.timeOptions=null}overrideTimeOptions(t,i,r){let o;return o=r?"start"===r?this.disabledStartTime:this.disabledEndTime:this.disabledTime,{...t,...gF(i,o)}}overrideHms(t,i){return t=t||new ci,(i=i||new ci).setHms(t.getHours(),t.getMinutes(),t.getSeconds())}static \u0275fac=function(i){return new(i||e)};static \u0275cmp=bt({type:e,selectors:[["date-range-popup"]],inputs:{isRange:[2,"isRange","isRange",Xe],inline:[2,"inline","inline",Xe],showWeek:[2,"showWeek","showWeek",Xe],locale:"locale",disabledDate:"disabledDate",disabledTime:"disabledTime",showToday:[2,"showToday","showToday",Xe],showNow:[2,"showNow","showNow",Xe],showTime:"showTime",extraFooter:"extraFooter",ranges:"ranges",dateRender:"dateRender",panelMode:"panelMode",defaultPickerValue:"defaultPickerValue",dir:"dir",format:"format"},outputs:{panelModeChange:"panelModeChange",calendarChange:"calendarChange",resultOk:"resultOk"},features:[wn],decls:8,vars:1,consts:[["tplInnerPopup",""],["tplFooter",""],["tplRangeQuickSelector",""],[3,"class"],[4,"ngTemplateOutlet"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["tabindex","-1"],[3,"panelChange","cellHover","selectDate","selectTime","headerChange","showWeek","endPanelMode","partType","locale","showTimePicker","timeOptions","panelMode","activeDate","value","disabledDate","dateRender","selectedValue","hoverValue","format"],[3,"locale","isRange","showToday","showNow","hasTimePicker","okDisabled","extraFooter","rangeQuickSelector"],[3,"clickOk","clickToday","locale","isRange","showToday","showNow","hasTimePicker","okDisabled","extraFooter","rangeQuickSelector"],[3,"click","mouseenter","mouseleave"],[1,"ant-tag","ant-tag-blue"]],template:function(i,r){1&i&&(lt(0,Lme,7,18,"div",3)(1,Nme,4,13,"div",3),ve(2,Fme,2,19,"ng-template",null,0,Gr)(4,Hme,1,1,"ng-template",null,1,Gr)(6,Bme,2,0,"ng-template",null,2,Gr)),2&i&&ct(r.isRange?0:1)},dependencies:[_F,Ml,vF],encapsulation:2,changeDetection:0})}return e})();const Vy={position:"relative"};let By=(()=>{let e,i,a,c,n=[],t=[],r=[],o=[],s=[],l=[],h=[],p=[];return class rm{static{const v="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;e=[Er()],i=[Er()],a=[Er()],c=[Er()],mr(null,null,e,{kind:"field",name:"nzVariant",static:!1,private:!1,access:{has:C=>"nzVariant"in C,get:C=>C.nzVariant,set:(C,P)=>{C.nzVariant=P}},metadata:v},n,t),mr(null,null,i,{kind:"field",name:"nzSeparator",static:!1,private:!1,access:{has:C=>"nzSeparator"in C,get:C=>C.nzSeparator,set:(C,P)=>{C.nzSeparator=P}},metadata:v},r,o),mr(null,null,a,{kind:"field",name:"nzSuffixIcon",static:!1,private:!1,access:{has:C=>"nzSuffixIcon"in C,get:C=>C.nzSuffixIcon,set:(C,P)=>{C.nzSuffixIcon=P}},metadata:v},s,l),mr(null,null,c,{kind:"field",name:"nzBackdrop",static:!1,private:!1,access:{has:C=>"nzBackdrop"in C,get:C=>C.nzBackdrop,set:(C,P)=>{C.nzBackdrop=P}},metadata:v},h,p),v&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:v})}nzConfigService=U(zl);datePickerService=U(Ry);i18n=U(Rd);cdr=U(Tr);renderer=U(oo);elementRef=U(pn);dateHelper=U(As);nzResizeObserver=U(cF);platform=U(Ha);directionality=U(co);destroyRef=U(kn);_nzModuleName="datePicker";static ngAcceptInputType_nzShowTime;static ngAcceptInputType_nzMode;isRange=!1;extraFooter;dir="ltr";statusCls={};status="";hasFeedback=!1;panelMode="date";isCustomPlaceHolder=!1;isCustomFormat=!1;showTime=!1;isNzDisableFirstChange=!0;nzAllowClear=!0;nzAutoFocus=!1;nzDisabled=!1;nzBorderless=!1;nzInputReadOnly=!1;nzInline=!1;nzOpen;nzDisabledDate;nzLocale;nzPlaceHolder="";nzPopupStyle=Vy;nzDropdownClassName;nzSize="default";nzStatus="";nzFormat;nzVariant=sn(this,n,"outlined");nzDateRender=sn(this,t);nzDisabledTime;nzRenderExtraFooter;nzShowToday=!0;nzMode="date";nzShowNow=!0;nzRanges;nzDefaultPickerValue=null;nzSeparator=sn(this,r,void 0);nzSuffixIcon=(sn(this,o),sn(this,s,"calendar"));nzBackdrop=(sn(this,l),sn(this,h,!1));nzId=(sn(this,p),null);nzPlacement="bottomLeft";nzShowWeekNumber=!1;nzOnPanelChange=new ht;nzOnCalendarChange=new ht;nzOnOk=new ht;nzOnOpenChange=new ht;get nzShowTime(){return this.showTime}set nzShowTime(v){this.showTime="object"==typeof v?v:__(v)}cdkConnectedOverlay;panel;separatorElement;pickerInput;rangePickerInputs;get origin(){return this.elementRef}inputSize=12;inputWidth;prefixCls=zp;inputValue;activeBarStyle={};overlayOpen=!1;overlayPositions=[...dF];currentPositionX="start";currentPositionY="bottom";get realOpenState(){return this.isOpenHandledByUser()?!!this.nzOpen:this.overlayOpen}finalSize=ko(()=>this.compactSize?this.compactSize():this.size());size=io(this.nzSize);compactSize=U(_p,{optional:!0});document=U(Mr);ngAfterViewInit(){this.nzAutoFocus&&this.focus(),this.isRange&&this.platform.isBrowser&&this.nzResizeObserver.observe(this.elementRef).pipe(gt(this.destroyRef)).subscribe(()=>{this.updateInputWidthAndArrowLeft()}),this.datePickerService.inputPartChange$.pipe(gt(this.destroyRef)).subscribe(v=>{v&&(this.datePickerService.activeInput=v),this.focus(),this.updateInputWidthAndArrowLeft()}),this.platform.isBrowser&&zs(this.elementRef.nativeElement,"mousedown").pipe(gt(this.destroyRef)).subscribe(v=>{"input"!==v.target.tagName.toLowerCase()&&v.preventDefault()})}updateInputWidthAndArrowLeft(){this.inputWidth=this.rangePickerInputs?.first?.nativeElement.offsetWidth||0;const v={position:"absolute",width:`${this.inputWidth}px`};this.datePickerService.arrowLeft="left"===this.datePickerService.activeInput?0:this.inputWidth+this.separatorElement?.nativeElement.offsetWidth||0,this.activeBarStyle="rtl"===this.dir?{...v,right:`${this.datePickerService.arrowLeft}px`}:{...v,left:`${this.datePickerService.arrowLeft}px`},this.cdr.markForCheck()}getInput(v){if(!this.nzInline)return this.isRange?"left"===v?this.rangePickerInputs?.first.nativeElement:this.rangePickerInputs?.last.nativeElement:this.pickerInput.nativeElement}focus(){const v=this.getInput(this.datePickerService.activeInput);this.document.activeElement!==v&&v?.focus()}onFocus(v,C){v.preventDefault(),C&&this.datePickerService.inputPartChange$.next(C),this.renderClass(!0)}onFocusout(v){v.preventDefault(),this.onTouchedFn(),this.elementRef.nativeElement.contains(v.relatedTarget)||this.checkAndClose(),this.renderClass(!1)}open(){this.nzInline||!this.realOpenState&&!this.nzDisabled&&(this.updateInputWidthAndArrowLeft(),this.overlayOpen=!0,this.nzOnOpenChange.emit(!0),this.focus(),this.cdr.markForCheck())}close(){this.nzInline||this.realOpenState&&(this.overlayOpen=!1,this.nzOnOpenChange.emit(!1))}get showClear(){return!this.nzDisabled&&!this.isEmptyValue(this.datePickerService.value)&&this.nzAllowClear}checkAndClose(){if(this.realOpenState)if(this.panel.isAllowed(this.datePickerService.value,!0)){if(Array.isArray(this.datePickerService.value)&&kP(this.datePickerService.value)){const v=this.datePickerService.getActiveIndex();return void this.panel.changeValueFromSelect(this.datePickerService.value[v],!0)}this.updateInputValue(),this.datePickerService.emitValue$.next()}else this.datePickerService.setValue(this.datePickerService.initialValue),this.close()}onClickInputBox(v){v.stopPropagation(),this.focus(),this.isOpenHandledByUser()||this.open()}onOverlayKeydown(v){27===v.keyCode&&this.datePickerService.initValue()}onPositionChange(v){this.currentPositionX=v.connectionPair.originX,this.currentPositionY=v.connectionPair.originY,this.cdr.detectChanges()}onClickClear(v){v.preventDefault(),v.stopPropagation(),this.datePickerService.initValue(!0),this.datePickerService.emitValue$.next()}updateInputValue(){const v=this.datePickerService.value;this.inputValue=this.isRange?v?v.map(C=>this.formatValue(C)):["",""]:this.formatValue(v),this.cdr.markForCheck()}formatValue(v){return this.dateHelper.format(v&&v.nativeDate,this.nzFormat)}onInputChange(v,C=!1){if(!this.platform.TRIDENT&&this.document.activeElement===this.getInput(this.datePickerService.activeInput)&&!this.realOpenState)return void this.open();const P=this.checkValidDate(v);P&&this.realOpenState&&this.panel.changeValueFromSelect(P,C)}onKeyupEnter(v){this.onInputChange(v.target.value,!0)}checkValidDate(v){const C=new ci(this.dateHelper.parseDate(v,this.nzFormat));return C.isValid()&&v===this.dateHelper.format(C.nativeDate,this.nzFormat)?C:null}getPlaceholder(v){return this.isRange?this.nzPlaceHolder[this.datePickerService.getActiveIndex(v)]:this.nzPlaceHolder}isEmptyValue(v){return null===v||(this.isRange?!v||!Array.isArray(v)||v.every(C=>!C):!v)}isOpenHandledByUser(){return void 0!==this.nzOpen}noAnimation=U(gc,{host:!0,optional:!0});nzFormStatusService=U(vp,{optional:!0});nzFormNoStatusService=U(IN,{optional:!0});ngOnInit(){this.nzFormStatusService?.formStatusChanges.pipe(Wu((v,C)=>v.status===C.status&&v.hasFeedback===C.hasFeedback),lF(this.nzFormNoStatusService?this.nzFormNoStatusService.noFormStatus:Kt(!1)),Wt(([{status:v,hasFeedback:C},P])=>({status:P?"":v,hasFeedback:C})),gt(this.destroyRef)).subscribe(({status:v,hasFeedback:C})=>{this.setStatusStyles(v,C)}),this.nzLocale||this.i18n.localeChange.pipe(gt(this.destroyRef)).subscribe(()=>this.setLocale()),this.datePickerService.isRange=this.isRange,this.datePickerService.initValue(!0),this.datePickerService.emitValue$.pipe(gt(this.destroyRef)).subscribe(()=>{const v=this.showTime?"second":"day",C=this.datePickerService.value,P=this.datePickerService.initialValue;if(!this.isRange&&C?.isSame(P?.nativeDate,v))return this.onTouchedFn(),this.close();if(this.isRange){const[Z,re]=P,[ie,Me]=C;if(Z?.isSame(ie?.nativeDate,v)&&re?.isSame(Me?.nativeDate,v))return this.onTouchedFn(),this.close()}if(this.datePickerService.initialValue=yf(C),this.isRange){const Z=C;this.onChangeFn(Z.length?[Z[0]?.nativeDate??null,Z[1]?.nativeDate??null]:[])}else this.onChangeFn(C?C.nativeDate:null);this.onTouchedFn(),this.close()}),this.directionality.change?.pipe(gt(this.destroyRef)).subscribe(v=>{this.dir=v,this.cdr.detectChanges()}),this.dir=this.directionality.value,this.inputValue=this.isRange?["",""]:"",this.setModeAndFormat(),this.datePickerService.valueChange$.pipe(gt(this.destroyRef)).subscribe(()=>{this.updateInputValue()})}ngOnChanges({nzStatus:v,nzPlacement:C,nzPopupStyle:P,nzPlaceHolder:Z,nzLocale:re,nzFormat:ie,nzRenderExtraFooter:Me,nzMode:ke,nzSize:Be}){P&&(this.nzPopupStyle=this.nzPopupStyle?{...this.nzPopupStyle,...Vy}:Vy),Z?.currentValue&&(this.isCustomPlaceHolder=!0),ie?.currentValue&&(this.isCustomFormat=!0,this.updateInputValue()),re&&this.setDefaultPlaceHolder(),Me&&(this.extraFooter=Xc(this.nzRenderExtraFooter)),ke&&(this.setDefaultPlaceHolder(),this.setModeAndFormat()),v&&this.setStatusStyles(this.nzStatus,this.hasFeedback),C&&this.setPlacement(this.nzPlacement),Be&&this.size.set(Be.currentValue)}setModeAndFormat(){const v={year:"yyyy",quarter:"yyyy-[Q]Q",month:"yyyy-MM",week:"YYYY-ww",date:this.nzShowTime?"yyyy-MM-dd HH:mm:ss":"yyyy-MM-dd"};this.nzMode||(this.nzMode="date"),this.panelMode=this.isRange?[this.nzMode,this.nzMode]:this.nzMode,this.isCustomFormat||(this.nzFormat=v[this.nzMode]),this.inputSize=Math.max(10,this.nzFormat.length)+2,this.updateInputValue()}onOpenChange(v){this.nzOnOpenChange.emit(v)}onChangeFn=()=>{};onTouchedFn=()=>{};writeValue(v){this.setValue(v),this.cdr.markForCheck()}registerOnChange(v){this.onChangeFn=v}registerOnTouched(v){this.onTouchedFn=v}setDisabledState(v){this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||v,this.cdr.markForCheck(),this.isNzDisableFirstChange=!1}setLocale(){this.nzLocale=this.i18n.getLocaleData("DatePicker",{}),this.setDefaultPlaceHolder(),this.cdr.markForCheck()}setDefaultPlaceHolder(){if(!this.isCustomPlaceHolder&&this.nzLocale){const v={year:this.getPropertyOfLocale("yearPlaceholder"),quarter:this.getPropertyOfLocale("quarterPlaceholder"),month:this.getPropertyOfLocale("monthPlaceholder"),week:this.getPropertyOfLocale("weekPlaceholder"),date:this.getPropertyOfLocale("placeholder")},C={year:this.getPropertyOfLocale("rangeYearPlaceholder"),quarter:this.getPropertyOfLocale("rangeQuarterPlaceholder"),month:this.getPropertyOfLocale("rangeMonthPlaceholder"),week:this.getPropertyOfLocale("rangeWeekPlaceholder"),date:this.getPropertyOfLocale("rangePlaceholder")};this.nzPlaceHolder=this.isRange?C[this.nzMode]:v[this.nzMode]}}getPropertyOfLocale(v){return this.nzLocale.lang[v]||this.i18n.getLocaleData(`DatePicker.lang.${v}`)}setValue(v){const C=this.datePickerService.makeValue(v);this.datePickerService.setValue(C),this.datePickerService.initialValue=yf(C),this.cdr.detectChanges()}renderClass(v){v?this.renderer.addClass(this.elementRef.nativeElement,"ant-picker-focused"):this.renderer.removeClass(this.elementRef.nativeElement,"ant-picker-focused")}onPanelModeChange(v){this.nzOnPanelChange.emit(v)}onCalendarChange(v){if(this.isRange&&Array.isArray(v)){const C=v.filter(P=>P instanceof ci).map(P=>P.nativeDate);this.nzOnCalendarChange.emit(C)}}onResultOk(){if(this.isRange){const v=this.datePickerService.value;this.nzOnOk.emit(v.length?[v[0]?.nativeDate||null,v[1]?.nativeDate||null]:[])}else this.nzOnOk.emit(this.datePickerService.value?this.datePickerService.value.nativeDate:null)}setStatusStyles(v,C){this.status=v,this.hasFeedback=C,this.cdr.markForCheck(),this.statusCls=xP(this.prefixCls,v,C),Object.keys(this.statusCls).forEach(P=>{this.statusCls[P]?this.renderer.addClass(this.elementRef.nativeElement,P):this.renderer.removeClass(this.elementRef.nativeElement,P)})}setPlacement(v){const C=Lf[v];this.overlayPositions=[C,...dF],this.currentPositionX=C.originX,this.currentPositionY=C.originY}static \u0275fac=function(C){return new(C||rm)};static \u0275cmp=bt({type:rm,selectors:[["nz-date-picker"],["nz-week-picker"],["nz-month-picker"],["nz-quarter-picker"],["nz-year-picker"],["nz-range-picker"]],viewQuery:function(C,P){if(1&C&&(Hi(l0,5),Hi(Hy,5),Hi(Ume,5),Hi(qme,5),Hi(Yme,5)),2&C){let Z;En(Z=In())&&(P.cdkConnectedOverlay=Z.first),En(Z=In())&&(P.panel=Z.first),En(Z=In())&&(P.separatorElement=Z.first),En(Z=In())&&(P.pickerInput=Z.first),En(Z=In())&&(P.rangePickerInputs=Z)}},hostVars:20,hostBindings:function(C,P){1&C&&Fe("click",function(re){return P.onClickInputBox(re)}),2&C&&jt("ant-picker",!0)("ant-picker-range",P.isRange)("ant-picker-large","large"===P.finalSize())("ant-picker-small","small"===P.finalSize())("ant-picker-disabled",P.nzDisabled)("ant-picker-rtl","rtl"===P.dir)("ant-picker-borderless","borderless"===P.nzVariant||"outlined"===P.nzVariant&&P.nzBorderless)("ant-picker-filled","filled"===P.nzVariant)("ant-picker-underlined","underlined"===P.nzVariant)("ant-picker-inline",P.nzInline)},inputs:{nzAllowClear:[2,"nzAllowClear","nzAllowClear",Xe],nzAutoFocus:[2,"nzAutoFocus","nzAutoFocus",Xe],nzDisabled:[2,"nzDisabled","nzDisabled",Xe],nzBorderless:[2,"nzBorderless","nzBorderless",Xe],nzInputReadOnly:[2,"nzInputReadOnly","nzInputReadOnly",Xe],nzInline:[2,"nzInline","nzInline",Xe],nzOpen:[2,"nzOpen","nzOpen",Xe],nzDisabledDate:"nzDisabledDate",nzLocale:"nzLocale",nzPlaceHolder:"nzPlaceHolder",nzPopupStyle:"nzPopupStyle",nzDropdownClassName:"nzDropdownClassName",nzSize:"nzSize",nzStatus:"nzStatus",nzFormat:"nzFormat",nzVariant:"nzVariant",nzDateRender:"nzDateRender",nzDisabledTime:"nzDisabledTime",nzRenderExtraFooter:"nzRenderExtraFooter",nzShowToday:[2,"nzShowToday","nzShowToday",Xe],nzMode:"nzMode",nzShowNow:[2,"nzShowNow","nzShowNow",Xe],nzRanges:"nzRanges",nzDefaultPickerValue:"nzDefaultPickerValue",nzSeparator:"nzSeparator",nzSuffixIcon:"nzSuffixIcon",nzBackdrop:"nzBackdrop",nzId:"nzId",nzPlacement:"nzPlacement",nzShowWeekNumber:[2,"nzShowWeekNumber","nzShowWeekNumber",Xe],nzShowTime:"nzShowTime"},outputs:{nzOnPanelChange:"nzOnPanelChange",nzOnCalendarChange:"nzOnCalendarChange",nzOnOk:"nzOnOk",nzOnOpenChange:"nzOnOpenChange"},exportAs:["nzDatePicker"],features:[Yn([Ry,{provide:yp,useValue:"picker"},{provide:Ko,multi:!0,useExisting:Hn(()=>rm)}]),z3([Sy]),wn],decls:9,vars:6,consts:[["tplRangeInput",""],["tplRightRest",""],["inlineMode",""],["pickerInput",""],["separatorElement",""],["rangePickerInput",""],[3,"ngTemplateOutlet"],["cdkConnectedOverlay","","nzConnectedOverlay","",3,"positionChange","detach","overlayKeydown","cdkConnectedOverlayHasBackdrop","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayTransformOriginOn"],[3,"class"],["autocomplete","off",3,"ngModelChange","focus","focusout","keyup.enter","disabled","readOnly","ngModel","placeholder","size"],[4,"ngTemplateOutlet"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[4,"nzStringTemplateOutlet"],["nzType","swap-right","nzTheme","outline"],["autocomplete","off",3,"click","focusout","focus","keyup.enter","ngModelChange","disabled","readOnly","size","ngModel","placeholder"],[3,"status"],[3,"click"],["nzType","close-circle","nzTheme","fill"],[3,"nzType"],[3,"panelModeChange","calendarChange","resultOk","isRange","inline","defaultPickerValue","showWeek","panelMode","locale","showToday","showNow","showTime","dateRender","disabledDate","disabledTime","extraFooter","ranges","dir","format"],[1,"ant-picker-wrapper",3,"nzNoAnimation"]],template:function(C,P){if(1&C){const Z=nt();lt(0,ege,2,1)(1,nge,1,1,null,6),ve(2,ige,2,7,"ng-template",null,0,Gr)(4,sge,5,11,"ng-template",null,1,Gr)(6,lge,2,38,"ng-template",null,2,Gr)(8,uge,2,5,"ng-template",7),Fe("positionChange",function(ie){return ce(Z),ue(P.onPositionChange(ie))})("detach",function(){return ce(Z),ue(P.close())})("overlayKeydown",function(ie){return ce(Z),ue(P.onOverlayKeydown(ie))})}2&C&&(ct(P.nzInline?1:0),I(8),L("cdkConnectedOverlayHasBackdrop",P.nzBackdrop)("cdkConnectedOverlayOrigin",P.origin)("cdkConnectedOverlayOpen",P.realOpenState)("cdkConnectedOverlayPositions",P.overlayPositions)("cdkConnectedOverlayTransformOriginOn",".ant-picker-wrapper"))},dependencies:[rf,xl,Ja,Ra,Ml,Al,Xo,mc,Va,zN,Hy,l0,Ep,kp,gc],encapsulation:2,data:{animation:[Dp]},changeDetection:0})}})(),kge=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=Ci({type:e});static \u0275inj=$n({imports:[By,vF,_F,Hy]})}return e})();function Qu(...e){const n=Vh(e),t=fv(e),{args:i,keys:r}=EA(e);if(0===i.length)return pa([],n);const o=new On(function Ege(e,n,t=Vr){return i=>{yF(n,()=>{const{length:r}=e,o=new Array(r);let a=r,s=r;for(let l=0;l<r;l++)yF(n,()=>{const c=pa(e[l],n);let h=!1;c.subscribe(hr(i,p=>{o[l]=p,h||(h=!0,s--),s||i.next(t(o.slice()))},()=>{--a||i.complete()}))},i)},i)}}(i,n,r?a=>IA(r,a):Vr));return t?o.pipe(o9(t)):o}function yF(e,n,t){e?jc(t,e,n):n()}const bF=new Set;let c0,Uy=(()=>{class e{_platform=U(Ha);_nonce=U(V2,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):zge}matchMedia(t){return(this._platform.WEBKIT||this._platform.BLINK)&&function Ige(e,n){if(!bF.has(e))try{c0||(c0=document.createElement("style"),n&&c0.setAttribute("nonce",n),c0.setAttribute("type","text/css"),document.head.appendChild(c0)),c0.sheet&&(c0.sheet.insertRule(`@media ${e} {body{ }}`,0),bF.add(e))}catch(t){console.error(t)}}(t,this._nonce),this._matchMedia(t)}static \u0275fac=function(i){return new(i||e)};static \u0275prov=Ke({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function zge(e){return{matches:"all"===e||""===e,media:e,addListener:()=>{},removeListener:()=>{}}}let Age=(()=>{class e{_mediaMatcher=U(Uy);_zone=U(Gt);_queries=new Map;_destroySubject=new Dt;constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(t){return CF(Cp(t)).some(r=>this._registerQuery(r).mql.matches)}observe(t){let o=Qu(CF(Cp(t)).map(a=>this._registerQuery(a).observable));return o=Ef(o.pipe(pc(1)),o.pipe(PP(1),ip(0))),o.pipe(Wt(a=>{const s={matches:!1,breakpoints:{}};return a.forEach(({matches:l,query:c})=>{s.matches=s.matches||l,s.breakpoints[c]=l}),s}))}_registerQuery(t){if(this._queries.has(t))return this._queries.get(t);const i=this._mediaMatcher.matchMedia(t),o={observable:new On(a=>{const s=l=>this._zone.run(()=>a.next(l));return i.addListener(s),()=>{i.removeListener(s)}}).pipe(tu(i),Wt(({matches:a})=>({query:t,matches:a})),bf(this._destroySubject)),mql:i};return this._queries.set(t,o),o}static \u0275fac=function(i){return new(i||e)};static \u0275prov=Ke({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function CF(e){return e.map(n=>n.split(",")).reduce((n,t)=>n.concat(t)).map(n=>n.trim())}const qy=()=>{};let Oge=(()=>{class e{ngZone=U(Gt);destroyRef=U(kn);resizeSource$=new Dt;listeners=0;renderer=U(Ws).createRenderer(null,null);disposeHandle=qy;handler=()=>{this.ngZone.run(()=>{this.resizeSource$.next()})};constructor(){this.destroyRef.onDestroy(()=>{this.handler=qy})}connect(){return this.registerListener(),this.resizeSource$.pipe(Bd(16),Vu(()=>this.unregisterListener()))}disconnet(){this.unregisterListener()}registerListener(){0===this.listeners&&this.ngZone.runOutsideAngular(()=>{this.disposeHandle=this.renderer.listen("window","resize",this.handler)}),this.listeners+=1}unregisterListener(){this.listeners-=1,0===this.listeners&&(this.disposeHandle(),this.disposeHandle=qy)}static \u0275fac=function(i){return new(i||e)};static \u0275prov=Ke({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var wF=function(e){return e.xxl="xxl",e.xl="xl",e.lg="lg",e.md="md",e.sm="sm",e.xs="xs",e}(wF||{});const Lp={xs:"(max-width: 575px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",xxl:"(min-width: 1600px)"};let Pge=(()=>{class e{resizeService=U(Oge);mediaMatcher=U(Uy);constructor(){this.resizeService.connect().pipe(gt()).subscribe(()=>{})}subscribe(t,i){if(i){const r=()=>this.matchMedia(t,!0);return this.resizeService.connect().pipe(Wt(r),tu(r()),Wu((o,a)=>o[0]===a[0]),Wt(o=>o[1]))}{const r=()=>this.matchMedia(t);return this.resizeService.connect().pipe(Wt(r),tu(r()),Wu())}}matchMedia(t,i){let r=wF.md;const o={};return Object.keys(t).map(a=>{const s=a,l=this.mediaMatcher.matchMedia(Lp[s]).matches;o[a]=l,l&&(r=s)}),i?[r,o]:r}static \u0275fac=function(i){return new(i||e)};static \u0275prov=Ke({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),SF=(()=>{class e{elementRef=U(pn);renderer=U(oo);mediaMatcher=U(Uy);platform=U(Ha);breakpointService=U(Pge);directionality=U(co);destroyRef=U(kn);nzAlign=null;nzJustify=null;nzGutter=null;actualGutter$=new q1(1);dir="ltr";getGutter(){const t=[null,null],i=this.nzGutter||0;return(Array.isArray(i)?i:[i,null]).forEach((o,a)=>{"object"==typeof o&&null!==o?(t[a]=null,Object.keys(Lp).map(s=>{const l=s;this.mediaMatcher.matchMedia(Lp[l]).matches&&o[l]&&(t[a]=o[l])})):t[a]=Number(o)||null}),t}setGutterStyle(){const[t,i]=this.getGutter();this.actualGutter$.next([t,i]);const r=(o,a)=>{null!==a&&this.renderer.setStyle(this.elementRef.nativeElement,o,`-${a/2}px`)};r("margin-left",t),r("margin-right",t),r("margin-top",i),r("margin-bottom",i)}ngOnInit(){this.dir=this.directionality.value,this.directionality.change?.pipe(gt(this.destroyRef)).subscribe(t=>{this.dir=t}),this.setGutterStyle()}ngOnChanges(t){t.nzGutter&&this.setGutterStyle()}ngAfterViewInit(){this.platform.isBrowser&&this.breakpointService.subscribe(Lp).pipe(gt(this.destroyRef)).subscribe(()=>{this.setGutterStyle()})}static \u0275fac=function(i){return new(i||e)};static \u0275dir=_t({type:e,selectors:[["","nz-row",""],["nz-row"],["nz-form-item"]],hostAttrs:[1,"ant-row"],hostVars:20,hostBindings:function(i,r){2&i&&jt("ant-row-top","top"===r.nzAlign)("ant-row-middle","middle"===r.nzAlign)("ant-row-bottom","bottom"===r.nzAlign)("ant-row-start","start"===r.nzJustify)("ant-row-end","end"===r.nzJustify)("ant-row-center","center"===r.nzJustify)("ant-row-space-around","space-around"===r.nzJustify)("ant-row-space-between","space-between"===r.nzJustify)("ant-row-space-evenly","space-evenly"===r.nzJustify)("ant-row-rtl","rtl"===r.dir)},inputs:{nzAlign:"nzAlign",nzJustify:"nzJustify",nzGutter:"nzGutter"},exportAs:["nzRow"],features:[wn]})}return e})(),Nge=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=Ci({type:e});static \u0275inj=$n({})}return e})();function MF(e,n){return n?t=>Ef(n.pipe(pc(1),function Fge(){return qr((e,n)=>{e.subscribe(hr(n,zi))})}()),t.pipe(MF(e))):Go((t,i)=>fa(e(t,i)).pipe(pc(1),function Rge(e){return Wt(()=>e)}(t)))}function TF(e,n=np){const t=$N(e,n);return MF(()=>t)}const Hge=["overlay"];function Vge(e,n){if(1&e&&($e(0),He(1),je()),2&e){const t=k(2);I(),dn(t.nzTitle)}}function Bge(e,n){if(1&e&&(J(0,"div",2),ze(1,"div",3),J(2,"div",4)(3,"div",5),ve(4,Vge,2,1,"ng-container",6),te()()()),2&e){const t=k();xi(t.nzOverlayStyle),Re(t._classMap),jt("ant-tooltip-rtl","rtl"===t.dir),L("@.disabled",!(null==t.noAnimation||!t.noAnimation.nzNoAnimation))("nzNoAnimation",null==t.noAnimation?null:t.noAnimation.nzNoAnimation)("@zoomBigMotion","active"),I(),xi(t._arrowStyleMap),I(2),xi(t._contentStyleMap),I(),L("nzStringTemplateOutlet",t.nzTitle)("nzStringTemplateOutletContext",t.nzTitleContext)}}let Uge=(()=>{class e{componentType;config;cdkConnectedOverlayPush;visibleChange=new ht;get _title(){return this.title||this.directiveTitle||null}get _content(){return this.content||this.directiveContent||null}get _trigger(){return typeof this.trigger<"u"?this.trigger:"hover"}get _placement(){const t=this.placement;return Array.isArray(t)&&t.length>0?t:"string"==typeof t&&t?[t]:["top"]}get _visible(){return(typeof this.visible<"u"?this.visible:this.internalVisible)||!1}get _mouseEnterDelay(){return this.mouseEnterDelay||.15}get _mouseLeaveDelay(){return this.mouseLeaveDelay||.1}get _overlayClassName(){return this.overlayClassName||null}get _overlayStyle(){return this.overlayStyle||null}get _overlayClickable(){return this.overlayClickable??!0}internalVisible=!1;getProxyPropertyMap(){return{noAnimation:["noAnimation",()=>!!this.noAnimation]}}component;destroy$=new Dt;triggerDisposables=[];delayTimer;elementRef=U(pn);hostView=U(La);renderer=U(oo);noAnimation=U(gc,{host:!0,optional:!0});nzConfigService=U(zl);destroyRef=U(kn);platformId=U(H2);constructor(t){this.componentType=t,this.destroyRef.onDestroy(()=>{this.clearTogglingTimer(),this.removeTriggerListeners()})}ngAfterViewInit(){g7(this.platformId)&&(this.createComponent(),this.registerTriggers())}ngOnChanges(t){const{trigger:i}=t;i&&!i.isFirstChange()&&this.registerTriggers(),this.component&&this.updatePropertiesByChanges(t)}show(){this.component?.show()}hide(){this.component?.hide()}updatePosition(){this.component&&this.component.updatePosition()}createComponent(){const t=this.hostView.createComponent(this.componentType);this.component=t.instance,this.renderer.removeChild(this.renderer.parentNode(this.elementRef.nativeElement),t.location.nativeElement),this.component.setOverlayOrigin(this.origin||this.elementRef),this.initProperties();const i=this.component.nzVisibleChange.pipe(Wu());i.pipe(gt(this.destroyRef)).subscribe(r=>{this.internalVisible=r,this.visibleChange.emit(r)}),i.pipe(gr(r=>r),TF(0,ap),gr(()=>!!this.component?.overlay?.overlayRef),gt(this.destroyRef)).subscribe(()=>{this.component?.updatePosition()})}registerTriggers(){const t=this.elementRef.nativeElement,i=this.trigger;if(this.removeTriggerListeners(),"hover"===i){let r;this.triggerDisposables.push(this.renderer.listen(t,"mouseenter",()=>{this.delayEnterLeave(!0,!0,this._mouseEnterDelay)})),this.triggerDisposables.push(this.renderer.listen(t,"mouseleave",()=>{this.delayEnterLeave(!0,!1,this._mouseLeaveDelay),this.component?.overlay.overlayRef&&!r&&(r=this.component.overlay.overlayRef.overlayElement,this.triggerDisposables.push(this.renderer.listen(r,"mouseenter",()=>{this.delayEnterLeave(!1,!0,this._mouseEnterDelay)})),this.triggerDisposables.push(this.renderer.listen(r,"mouseleave",()=>{this.delayEnterLeave(!1,!1,this._mouseLeaveDelay)})))}))}else"focus"===i?(this.triggerDisposables.push(this.renderer.listen(t,"focusin",()=>this.show())),this.triggerDisposables.push(this.renderer.listen(t,"focusout",()=>this.hide()))):"click"===i&&this.triggerDisposables.push(this.renderer.listen(t,"click",r=>{r.preventDefault(),this.show()}))}updatePropertiesByChanges(t){this.updatePropertiesByKeys(Object.keys(t))}updatePropertiesByKeys(t){const i={title:["nzTitle",()=>this._title],directiveTitle:["nzTitle",()=>this._title],content:["nzContent",()=>this._content],directiveContent:["nzContent",()=>this._content],trigger:["nzTrigger",()=>this._trigger],placement:["nzPlacement",()=>this._placement],visible:["nzVisible",()=>this._visible],mouseEnterDelay:["nzMouseEnterDelay",()=>this._mouseEnterDelay],mouseLeaveDelay:["nzMouseLeaveDelay",()=>this._mouseLeaveDelay],overlayClassName:["nzOverlayClassName",()=>this._overlayClassName],overlayStyle:["nzOverlayStyle",()=>this._overlayStyle],overlayClickable:["nzOverlayClickable",()=>this._overlayClickable],arrowPointAtCenter:["nzArrowPointAtCenter",()=>this.arrowPointAtCenter],cdkConnectedOverlayPush:["cdkConnectedOverlayPush",()=>this.cdkConnectedOverlayPush],...this.getProxyPropertyMap()};(t||Object.keys(i).filter(r=>!r.startsWith("directive"))).forEach(r=>{if(i[r]){const[o,a]=i[r];this.updateComponentValue(o,a())}}),this.component?.updateByDirective()}initProperties(){this.updatePropertiesByKeys()}updateComponentValue(t,i){typeof i<"u"&&(this.component[t]=i)}delayEnterLeave(t,i,r=-1){this.delayTimer?this.clearTogglingTimer():r>0?this.delayTimer=setTimeout(()=>{this.delayTimer=void 0,i?this.show():this.hide()},1e3*r):i&&t?this.show():this.hide()}removeTriggerListeners(){this.triggerDisposables.forEach(t=>t()),this.triggerDisposables.length=0}clearTogglingTimer(){this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=void 0)}static \u0275fac=function(i){return new(i||e)(xe(AC))};static \u0275dir=_t({type:e,features:[wn]})}return e})(),qge=(()=>{class e{overlay;noAnimation=U(gc,{host:!0,optional:!0});directionality=U(co);cdr=U(Tr);elementRef=U(pn);destroyRef=U(kn);nzTitle=null;nzContent=null;nzArrowPointAtCenter=!1;nzOverlayClassName;nzOverlayStyle={};nzOverlayClickable=!0;nzBackdrop=!1;nzMouseEnterDelay;nzMouseLeaveDelay;cdkConnectedOverlayPush=!0;nzVisibleChange=new Dt;set nzVisible(t){const i=__(t);this._visible!==i&&(this._visible=i,this.nzVisibleChange.next(i))}get nzVisible(){return this._visible}_visible=!1;set nzTrigger(t){this._trigger=t}get nzTrigger(){return this._trigger}_trigger="hover";set nzPlacement(t){const i=t.map(r=>qd(lr[r],Ud[r]));this._positions=[...i,...uF]}preferredPlacement="top";origin;dir="ltr";_classMap={};_prefix="ant-tooltip";_positions=[...uF];constructor(){this.destroyRef.onDestroy(()=>{this.nzVisibleChange.complete()})}ngOnInit(){this.directionality.change?.pipe(gt(this.destroyRef)).subscribe(t=>{this.dir=t,this.cdr.detectChanges()}),this.dir=this.directionality.value}show(){this.nzVisible||(this.isEmpty()||(this.nzVisible=!0,this.nzVisibleChange.next(!0),this.cdr.detectChanges()),this.origin&&this.overlay&&this.overlay.overlayRef&&"rtl"===this.overlay.overlayRef.getDirection()&&this.overlay.overlayRef.setDirection("ltr"))}hide(){this.nzVisible&&(this.nzVisible=!1,this.nzVisibleChange.next(!1),this.cdr.detectChanges())}updateByDirective(){this.updateStyles(),this.cdr.detectChanges(),Promise.resolve().then(()=>{this.updatePosition(),this.updateVisibilityByTitle()})}updatePosition(){this.origin&&this.overlay&&this.overlay.overlayRef&&this.overlay.overlayRef.updatePosition()}onPositionChange(t){this.preferredPlacement=xp(t),this.updateStyles(),this.cdr.detectChanges()}setOverlayOrigin(t){this.origin=t,this.cdr.markForCheck()}onClickOutside(t){if(!this.nzOverlayClickable)return;const i=fc(t);!this.origin.nativeElement.contains(i)&&null!==this.nzTrigger&&this.hide()}updateVisibilityByTitle(){this.isEmpty()&&this.hide()}updateStyles(){this._classMap={...this.transformClassListToMap(this.nzOverlayClassName),[`${this._prefix}-placement-${this.preferredPlacement}`]:!0}}transformClassListToMap(t){const i={};return(null!==t?t.split(/\s+/):[]).forEach(o=>i[o]=!0),i}static \u0275fac=function(i){return new(i||e)};static \u0275dir=_t({type:e,viewQuery:function(i,r){if(1&i&&Hi(Hge,5),2&i){let o;En(o=In())&&(r.overlay=o.first)}}})}return e})();function Yy(e){return!(e instanceof Wo||""!==e&&Zr(e))}let Yge=(()=>{class e extends qge{nzTitle=null;nzTitleContext=null;nzColor;_arrowStyleMap={};_contentStyleMap={};isEmpty(){return Yy(this.nzTitle)}updateStyles(){const t=this.nzColor&&function V4e(e){return-1!==H4e.indexOf(e)}(this.nzColor);this._classMap={...this.transformClassListToMap(this.nzOverlayClassName),[`${this._prefix}-placement-${this.preferredPlacement}`]:!0,[`${this._prefix}-${this.nzColor}`]:t},this._contentStyleMap={backgroundColor:this.nzColor&&!t?this.nzColor:null},this._arrowStyleMap={"--antd-arrow-background-color":this.nzColor&&!t?this.nzColor:null}}static \u0275fac=(()=>{let t;return function(r){return(t||(t=Di(e)))(r||e)}})();static \u0275cmp=bt({type:e,selectors:[["nz-tooltip"]],exportAs:["nzTooltipComponent"],features:[zn],decls:2,vars:5,consts:[["overlay","cdkConnectedOverlay"],["cdkConnectedOverlay","","nzConnectedOverlay","",3,"overlayOutsideClick","detach","positionChange","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayPush","nzArrowPointAtCenter"],[1,"ant-tooltip",3,"nzNoAnimation"],[1,"ant-tooltip-arrow"],[1,"ant-tooltip-content"],[1,"ant-tooltip-inner"],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"]],template:function(i,r){if(1&i){const o=nt();ve(0,Bge,5,15,"ng-template",1,0,Gr),Fe("overlayOutsideClick",function(s){return ce(o),ue(r.onClickOutside(s))})("detach",function(){return ce(o),ue(r.hide())})("positionChange",function(s){return ce(o),ue(r.onPositionChange(s))})}2&i&&L("cdkConnectedOverlayOrigin",r.origin)("cdkConnectedOverlayOpen",r._visible)("cdkConnectedOverlayPositions",r._positions)("cdkConnectedOverlayPush",r.cdkConnectedOverlayPush)("nzArrowPointAtCenter",r.nzArrowPointAtCenter)},dependencies:[Tp,l0,gc,Al,Xo,Ep,kp],encapsulation:2,data:{animation:[Py]},changeDetection:0})}return e})();const DF=e=>({$implicit:e});function jge(e,n){if(1&e&&($e(0),He(1),je()),2&e){const t=k(3);I(),At(" ",t.nzTitle," ")}}function $ge(e,n){if(1&e&&(J(0,"div",6),ve(1,jge,2,1,"ng-container",8),te()),2&e){const t=k(2);I(),L("nzStringTemplateOutlet",t.nzTitle)("nzStringTemplateOutletContext",Yr(2,DF,t.nzTitleContext))}}function Wge(e,n){if(1&e&&($e(0),He(1),je()),2&e){const t=k(2);I(),At(" ",t.nzContent," ")}}function Gge(e,n){if(1&e&&(J(0,"div",2),ze(1,"div",3),J(2,"div",4)(3,"div",5)(4,"div"),lt(5,$ge,2,4,"div",6),J(6,"div",7),ve(7,Wge,2,1,"ng-container",8),te()()()()()),2&e){const t=k();xi(t.nzOverlayStyle),Re(t._classMap),jt("ant-popover-rtl","rtl"===t.dir),L("@.disabled",!(null==t.noAnimation||!t.noAnimation.nzNoAnimation))("nzNoAnimation",null==t.noAnimation?null:t.noAnimation.nzNoAnimation)("@zoomBigMotion","active"),I(5),ct(t.nzTitle?5:-1),I(2),L("nzStringTemplateOutlet",t.nzContent)("nzStringTemplateOutletContext",Yr(12,DF,t.nzContentContext))}}let Qge=(()=>{let n,e=Uge,t=[],i=[];return class Fb extends e{static{const o="function"==typeof Symbol&&Symbol.metadata?Object.create(e[Symbol.metadata]??null):void 0;n=[Er()],mr(null,null,n,{kind:"field",name:"nzPopoverBackdrop",static:!1,private:!1,access:{has:a=>"nzPopoverBackdrop"in a,get:a=>a.nzPopoverBackdrop,set:(a,s)=>{a.nzPopoverBackdrop=s}},metadata:o},t,i),o&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:o})}_nzModuleName="popover";arrowPointAtCenter;title;titleContext=null;content;contentContext=null;directiveTitle;trigger="hover";placement="top";origin;visible;mouseEnterDelay;mouseLeaveDelay;overlayClassName;overlayStyle;overlayClickable;directiveContent=null;nzPopoverBackdrop=sn(this,t,!1);visibleChange=(sn(this,i),new ht);getProxyPropertyMap(){return{nzPopoverBackdrop:["nzBackdrop",()=>this.nzPopoverBackdrop],titleContext:["nzTitleContext",()=>this.titleContext],contentContext:["nzContentContext",()=>this.contentContext],...super.getProxyPropertyMap()}}constructor(){super(xF)}static \u0275fac=function(a){return new(a||Fb)};static \u0275dir=_t({type:Fb,selectors:[["","nz-popover",""]],hostVars:2,hostBindings:function(a,s){2&a&&jt("ant-popover-open",s.visible)},inputs:{arrowPointAtCenter:[2,"nzPopoverArrowPointAtCenter","arrowPointAtCenter",Xe],title:[0,"nzPopoverTitle","title"],titleContext:[0,"nzPopoverTitleContext","titleContext"],content:[0,"nzPopoverContent","content"],contentContext:[0,"nzPopoverContentContext","contentContext"],directiveTitle:[0,"nz-popover","directiveTitle"],trigger:[0,"nzPopoverTrigger","trigger"],placement:[0,"nzPopoverPlacement","placement"],origin:[0,"nzPopoverOrigin","origin"],visible:[0,"nzPopoverVisible","visible"],mouseEnterDelay:[0,"nzPopoverMouseEnterDelay","mouseEnterDelay"],mouseLeaveDelay:[0,"nzPopoverMouseLeaveDelay","mouseLeaveDelay"],overlayClassName:[0,"nzPopoverOverlayClassName","overlayClassName"],overlayStyle:[0,"nzPopoverOverlayStyle","overlayStyle"],overlayClickable:[0,"nzPopoverOverlayClickable","overlayClickable"],nzPopoverBackdrop:"nzPopoverBackdrop"},outputs:{visibleChange:"nzPopoverVisibleChange"},exportAs:["nzPopover"],features:[zn]})}})(),xF=(()=>{class e extends Yge{_prefix="ant-popover";nzContentContext=null;get hasBackdrop(){return"click"===this.nzTrigger&&this.nzBackdrop}isEmpty(){return Yy(this.nzTitle)&&Yy(this.nzContent)}static \u0275fac=(()=>{let t;return function(r){return(t||(t=Di(e)))(r||e)}})();static \u0275cmp=bt({type:e,selectors:[["nz-popover"]],exportAs:["nzPopoverComponent"],features:[zn],decls:2,vars:6,consts:[["overlay","cdkConnectedOverlay"],["cdkConnectedOverlay","","nzConnectedOverlay","",3,"overlayOutsideClick","detach","positionChange","cdkConnectedOverlayHasBackdrop","cdkConnectedOverlayOrigin","cdkConnectedOverlayPositions","cdkConnectedOverlayOpen","cdkConnectedOverlayPush","nzArrowPointAtCenter"],[1,"ant-popover",3,"nzNoAnimation"],[1,"ant-popover-arrow"],[1,"ant-popover-content"],["role","tooltip",1,"ant-popover-inner"],[1,"ant-popover-title"],[1,"ant-popover-inner-content"],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"]],template:function(i,r){if(1&i){const o=nt();ve(0,Gge,8,14,"ng-template",1,0,Gr),Fe("overlayOutsideClick",function(s){return ce(o),ue(r.onClickOutside(s))})("detach",function(){return ce(o),ue(r.hide())})("positionChange",function(s){return ce(o),ue(r.onPositionChange(s))})}2&i&&L("cdkConnectedOverlayHasBackdrop",r.hasBackdrop)("cdkConnectedOverlayOrigin",r.origin)("cdkConnectedOverlayPositions",r._positions)("cdkConnectedOverlayOpen",r._visible)("cdkConnectedOverlayPush",r.cdkConnectedOverlayPush)("nzArrowPointAtCenter",r.nzArrowPointAtCenter)},dependencies:[Tp,l0,Ep,kp,gc,Al,Xo],encapsulation:2,data:{animation:[Py]},changeDetection:0})}return e})(),Zge=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=Ci({type:e});static \u0275inj=$n({imports:[xF]})}return e})();const Xge=["switchElement"];function Jge(e,n){1&e&&ze(0,"nz-icon",3)}function e5e(e,n){if(1&e&&($e(0),He(1),je()),2&e){const t=k(2);I(),dn(t.nzCheckedChildren)}}function t5e(e,n){1&e&&ve(0,e5e,2,1,"ng-container",6),2&e&&L("nzStringTemplateOutlet",k().nzCheckedChildren)}function n5e(e,n){if(1&e&&($e(0),He(1),je()),2&e){const t=k(2);I(),dn(t.nzUnCheckedChildren)}}function i5e(e,n){1&e&&ve(0,n5e,2,1,"ng-container",6),2&e&&L("nzStringTemplateOutlet",k().nzUnCheckedChildren)}let o5e=(()=>{let e,n=[],t=[];return class om{static{const r="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;e=[Er()],mr(null,null,e,{kind:"field",name:"nzSize",static:!1,private:!1,access:{has:o=>"nzSize"in o,get:o=>o.nzSize,set:(o,a)=>{o.nzSize=a}},metadata:r},n,t),r&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:r})}_nzModuleName="switch";nzConfigService=U(zl);el=U(pn).nativeElement;ngZone=U(Gt);cdr=U(Tr);focusMonitor=U(Sf);directionality=U(co);destroyRef=U(kn);isChecked=!1;onChange=()=>{};onTouched=()=>{};switchElement;nzLoading=!1;nzDisabled=!1;nzControl=!1;nzCheckedChildren=null;nzUnCheckedChildren=null;nzSize=sn(this,n,"default");nzId=(sn(this,t),null);dir="ltr";isNzDisableFirstChange=!0;updateValue(r){this.isChecked!==r&&(this.isChecked=r,this.onChange(this.isChecked))}focus(){this.focusMonitor.focusVia(this.switchElement.nativeElement,"keyboard")}blur(){this.switchElement.nativeElement.blur()}constructor(){this.destroyRef.onDestroy(()=>{this.focusMonitor.stopMonitoring(this.switchElement.nativeElement)})}ngOnInit(){this.directionality.change.pipe(gt(this.destroyRef)).subscribe(r=>{this.dir=r,this.cdr.detectChanges()}),this.dir=this.directionality.value,zs(this.el,"click").pipe(gt(this.destroyRef)).subscribe(r=>{r.preventDefault(),!(this.nzControl||this.nzDisabled||this.nzLoading)&&this.ngZone.run(()=>{this.updateValue(!this.isChecked),this.cdr.markForCheck()})}),zs(this.switchElement.nativeElement,"keydown").pipe(gt(this.destroyRef)).subscribe(r=>{if(this.nzControl||this.nzDisabled||this.nzLoading)return;const{keyCode:o}=r;37!==o&&39!==o&&32!==o&&13!==o||(r.preventDefault(),this.ngZone.run(()=>{37===o?this.updateValue(!1):39===o?this.updateValue(!0):(32===o||13===o)&&this.updateValue(!this.isChecked),this.cdr.markForCheck()}))})}ngAfterViewInit(){this.focusMonitor.monitor(this.switchElement.nativeElement,!0).pipe(gt(this.destroyRef)).subscribe(r=>{r||Promise.resolve().then(()=>this.onTouched())})}writeValue(r){this.isChecked=r,this.cdr.markForCheck()}registerOnChange(r){this.onChange=r}registerOnTouched(r){this.onTouched=r}setDisabledState(r){this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||r,this.isNzDisableFirstChange=!1,this.cdr.markForCheck()}static \u0275fac=function(o){return new(o||om)};static \u0275cmp=bt({type:om,selectors:[["nz-switch"]],viewQuery:function(o,a){if(1&o&&Hi(Xge,7),2&o){let s;En(s=In())&&(a.switchElement=s.first)}},inputs:{nzLoading:[2,"nzLoading","nzLoading",Xe],nzDisabled:[2,"nzDisabled","nzDisabled",Xe],nzControl:[2,"nzControl","nzControl",Xe],nzCheckedChildren:"nzCheckedChildren",nzUnCheckedChildren:"nzUnCheckedChildren",nzSize:"nzSize",nzId:"nzId"},exportAs:["nzSwitch"],features:[Yn([{provide:Ko,useExisting:Hn(()=>om),multi:!0}])],decls:8,vars:15,consts:[["switchElement",""],["nz-wave","","type","button",1,"ant-switch",3,"disabled","nzWaveExtraNode"],[1,"ant-switch-handle"],["nzType","loading",1,"ant-switch-loading-icon"],[1,"ant-switch-inner"],[1,"ant-click-animating-node"],[4,"nzStringTemplateOutlet"]],template:function(o,a){1&o&&(J(0,"button",1,0)(2,"span",2),lt(3,Jge,1,0,"nz-icon",3),te(),J(4,"span",4),lt(5,t5e,1,1,"ng-container")(6,i5e,1,1,"ng-container"),te(),ze(7,"div",5),te()),2&o&&(jt("ant-switch-checked",a.isChecked)("ant-switch-loading",a.nzLoading)("ant-switch-disabled",a.nzDisabled)("ant-switch-small","small"===a.nzSize)("ant-switch-rtl","rtl"===a.dir),L("disabled",a.nzDisabled)("nzWaveExtraNode",!0),ft("id",a.nzId),I(3),ct(a.nzLoading?3:-1),I(2),ct(a.isChecked?5:6))},dependencies:[BN,Ty,mc,Va,Al,Xo],encapsulation:2,changeDetection:0})}})(),a5e=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=Ci({type:e});static \u0275inj=$n({imports:[o5e]})}return e})();const Op=ho(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function jy(e){return new On(n=>{fa(e()).subscribe(n)})}function Pp(e,n){const t=zt(e)?e:()=>e,i=r=>r.error(t());return new On(n?r=>n.schedule(i,0,r):i)}function $y(){return qr((e,n)=>{let t=null;e._refCount++;const i=hr(n,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount)return void(t=null);const r=e._connection,o=t;t=null,r&&(!o||r===o)&&r.unsubscribe(),n.unsubscribe()});e.subscribe(i),i.closed||(t=e.connect())})}class kF extends On{constructor(n,t){super(),this.source=n,this.subjectFactory=t,this._subject=null,this._refCount=0,this._connection=null,CC(n)&&(this.lift=n.lift)}_subscribe(n){return this.getSubject().subscribe(n)}getSubject(){const n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:n}=this;this._subject=this._connection=null,n?.unsubscribe()}connect(){let n=this._connection;if(!n){n=this._connection=new vt;const t=this.getSubject();n.add(this.source.subscribe(hr(t,void 0,()=>{this._teardown(),t.complete()},i=>{this._teardown(),t.error(i)},()=>this._teardown()))),n.closed&&(this._connection=null,n=vt.EMPTY)}return n}refCount(){return $y()(this)}}function Np(e){return qr((n,t)=>{let i=!1;n.subscribe(hr(t,r=>{i=!0,t.next(r)},()=>{i||t.next(e),t.complete()}))})}function EF(e=s5e){return qr((n,t)=>{let i=!1;n.subscribe(hr(t,r=>{i=!0,t.next(r)},()=>i?t.complete():t.error(e())))})}function s5e(){return new Op}function Zu(e,n){const t=arguments.length>=2;return i=>i.pipe(e?gr((r,o)=>e(r,o,i)):Vr,pc(1),t?Np(n):EF(()=>new Op))}function Wy(e){return e<=0?()=>ds:qr((n,t)=>{let i=[];n.subscribe(hr(t,r=>{i.push(r),e<i.length&&i.shift()},()=>{for(const r of i)t.next(r);t.complete()},void 0,()=>{i=null}))})}
/**
       * @license Angular v20.3.18
       * (c) 2010-2025 Google LLC. https://angular.dev/
       * License: MIT
       */
const An="primary",Rf=Symbol("RouteTitle");class p5e{params;constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){const t=this.params[n];return Array.isArray(t)?t[0]:t}return null}getAll(n){if(this.has(n)){const t=this.params[n];return Array.isArray(t)?t:[t]}return[]}get keys(){return Object.keys(this.params)}}function Yd(e){return new p5e(e)}function m5e(e,n,t){const i=t.path.split("/");if(i.length>e.length||"full"===t.pathMatch&&(n.hasChildren()||i.length<e.length))return null;const r={};for(let o=0;o<i.length;o++){const a=i[o],s=e[o];if(":"===a[0])r[a.substring(1)]=s;else if(a!==s.path)return null}return{consumed:e.slice(0,i.length),posParams:r}}function _c(e,n){const t=e?Gy(e):void 0,i=n?Gy(n):void 0;if(!t||!i||t.length!=i.length)return!1;let r;for(let o=0;o<t.length;o++)if(r=t[o],!IF(e[r],n[r]))return!1;return!0}function Gy(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}function IF(e,n){if(Array.isArray(e)&&Array.isArray(n)){if(e.length!==n.length)return!1;const t=[...e].sort(),i=[...n].sort();return t.every((r,o)=>i[o]===r)}return e===n}function zF(e){return e.length>0?e[e.length-1]:null}function nu(e){return mP(e)?e:gh(e)?pa(Promise.resolve(e)):Kt(e)}const v5e={exact:function OF(e,n,t){if(!d0(e.segments,n.segments)||!Fp(e.segments,n.segments,t)||e.numberOfChildren!==n.numberOfChildren)return!1;for(const i in n.children)if(!e.children[i]||!OF(e.children[i],n.children[i],t))return!1;return!0},subset:PF},AF={exact:function _5e(e,n){return _c(e,n)},subset:function y5e(e,n){return Object.keys(n).length<=Object.keys(e).length&&Object.keys(n).every(t=>IF(e[t],n[t]))},ignored:()=>!0};function LF(e,n,t){return v5e[t.paths](e.root,n.root,t.matrixParams)&&AF[t.queryParams](e.queryParams,n.queryParams)&&!("exact"===t.fragment&&e.fragment!==n.fragment)}function PF(e,n,t){return NF(e,n,n.segments,t)}function NF(e,n,t,i){if(e.segments.length>t.length){const r=e.segments.slice(0,t.length);return!(!d0(r,t)||n.hasChildren()||!Fp(r,t,i))}if(e.segments.length===t.length){if(!d0(e.segments,t)||!Fp(e.segments,t,i))return!1;for(const r in n.children)if(!e.children[r]||!PF(e.children[r],n.children[r],i))return!1;return!0}{const r=t.slice(0,e.segments.length),o=t.slice(e.segments.length);return!!(d0(e.segments,r)&&Fp(e.segments,r,i)&&e.children[An])&&NF(e.children[An],n,o,i)}}function Fp(e,n,t){return n.every((i,r)=>AF[t](e[r].parameters,i.parameters))}class u0{root;queryParams;fragment;_queryParamMap;constructor(n=new cr([],{}),t={},i=null){this.root=n,this.queryParams=t,this.fragment=i}get queryParamMap(){return this._queryParamMap??=Yd(this.queryParams),this._queryParamMap}toString(){return w5e.serialize(this)}}class cr{segments;children;parent=null;constructor(n,t){this.segments=n,this.children=t,Object.values(t).forEach(i=>i.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Vp(this)}}class Hf{path;parameters;_parameterMap;constructor(n,t){this.path=n,this.parameters=t}get parameterMap(){return this._parameterMap??=Yd(this.parameters),this._parameterMap}toString(){return HF(this)}}function d0(e,n){return e.length===n.length&&e.every((t,i)=>t.path===n[i].path)}let Rp=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275prov=Ke({token:e,factory:()=>new Hp,providedIn:"root"})}return e})();class Hp{parse(n){const t=new L5e(n);return new u0(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(n){const t=`/${Vf(n.root,!0)}`,i=function T5e(e){const n=Object.entries(e).map(([t,i])=>Array.isArray(i)?i.map(r=>`${Bp(t)}=${Bp(r)}`).join("&"):`${Bp(t)}=${Bp(i)}`).filter(t=>t);return n.length?`?${n.join("&")}`:""}(n.queryParams);return`${t}${i}${"string"==typeof n.fragment?`#${function S5e(e){return encodeURI(e)}(n.fragment)}`:""}`}}const w5e=new Hp;function Vp(e){return e.segments.map(n=>HF(n)).join("/")}function Vf(e,n){if(!e.hasChildren())return Vp(e);if(n){const t=e.children[An]?Vf(e.children[An],!1):"",i=[];return Object.entries(e.children).forEach(([r,o])=>{r!==An&&i.push(`${r}:${Vf(o,!1)}`)}),i.length>0?`${t}(${i.join("//")})`:t}{const t=function C5e(e,n){let t=[];return Object.entries(e.children).forEach(([i,r])=>{i===An&&(t=t.concat(n(r,i)))}),Object.entries(e.children).forEach(([i,r])=>{i!==An&&(t=t.concat(n(r,i)))}),t}(e,(i,r)=>r===An?[Vf(e.children[An],!1)]:[`${r}:${Vf(i,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children[An]?`${Vp(e)}/${t[0]}`:`${Vp(e)}/(${t.join("//")})`}}function FF(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Bp(e){return FF(e).replace(/%3B/gi,";")}function Ky(e){return FF(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Up(e){return decodeURIComponent(e)}function RF(e){return Up(e.replace(/\+/g,"%20"))}function HF(e){return`${Ky(e.path)}${function M5e(e){return Object.entries(e).map(([n,t])=>`;${Ky(n)}=${Ky(t)}`).join("")}(e.parameters)}`}const D5e=/^[^\/()?;#]+/;function Qy(e){const n=e.match(D5e);return n?n[0]:""}const x5e=/^[^\/()?;=#]+/,E5e=/^[^=?&#]+/,z5e=/^[^&#]+/;class L5e{url;remaining;constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new cr([],{}):new cr([],this.parseChildren())}parseQueryParams(){const n={};if(this.consumeOptional("?"))do{this.parseQueryParam(n)}while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1)),(n.length>0||Object.keys(t).length>0)&&(i[An]=new cr(n,t)),i}parseSegment(){const n=Qy(this.remaining);if(""===n&&this.peekStartsWith(";"))throw new ge(4009,!1);return this.capture(n),new Hf(Up(n),this.parseMatrixParams())}parseMatrixParams(){const n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){const t=function k5e(e){const n=e.match(x5e);return n?n[0]:""}(this.remaining);if(!t)return;this.capture(t);let i="";if(this.consumeOptional("=")){const r=Qy(this.remaining);r&&(i=r,this.capture(i))}n[Up(t)]=Up(i)}parseQueryParam(n){const t=function I5e(e){const n=e.match(E5e);return n?n[0]:""}(this.remaining);if(!t)return;this.capture(t);let i="";if(this.consumeOptional("=")){const a=function A5e(e){const n=e.match(z5e);return n?n[0]:""}(this.remaining);a&&(i=a,this.capture(i))}const r=RF(t),o=RF(i);if(n.hasOwnProperty(r)){let a=n[r];Array.isArray(a)||(a=[a],n[r]=a),a.push(o)}else n[r]=o}parseParens(n){const t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const i=Qy(this.remaining),r=this.remaining[i.length];if("/"!==r&&")"!==r&&";"!==r)throw new ge(4010,!1);let o;i.indexOf(":")>-1?(o=i.slice(0,i.indexOf(":")),this.capture(o),this.capture(":")):n&&(o=An);const a=this.parseChildren();t[o??An]=1===Object.keys(a).length&&a[An]?a[An]:new cr([],a),this.consumeOptional("//")}return t}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return!!this.peekStartsWith(n)&&(this.remaining=this.remaining.substring(n.length),!0)}capture(n){if(!this.consumeOptional(n))throw new ge(4011,!1)}}function VF(e){return e.segments.length>0?new cr([],{[An]:e}):e}function BF(e){const n={};for(const[i,r]of Object.entries(e.children)){const o=BF(r);if(i===An&&0===o.segments.length&&o.hasChildren())for(const[a,s]of Object.entries(o.children))n[a]=s;else(o.segments.length>0||o.hasChildren())&&(n[i]=o)}return function O5e(e){if(1===e.numberOfChildren&&e.children[An]){const n=e.children[An];return new cr(e.segments.concat(n.segments),n.children)}return e}(new cr(e.segments,n))}function h0(e){return e instanceof u0}function UF(e){let n;const r=VF(function t(o){const a={};for(const l of o.children){const c=t(l);a[l.outlet]=c}const s=new cr(o.url,a);return o===e&&(n=s),s}(e.root));return n??r}function qF(e,n,t,i){let r=e;for(;r.parent;)r=r.parent;if(0===n.length)return Zy(r,r,r,t,i);const o=function N5e(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new jF(!0,0,e);let n=0,t=!1;const i=e.reduce((r,o,a)=>{if("object"==typeof o&&null!=o){if(o.outlets){const s={};return Object.entries(o.outlets).forEach(([l,c])=>{s[l]="string"==typeof c?c.split("/"):c}),[...r,{outlets:s}]}if(o.segmentPath)return[...r,o.segmentPath]}return"string"!=typeof o?[...r,o]:0===a?(o.split("/").forEach((s,l)=>{0==l&&"."===s||(0==l&&""===s?t=!0:".."===s?n++:""!=s&&r.push(s))}),r):[...r,o]},[]);return new jF(t,n,i)}(n);if(o.toRoot())return Zy(r,r,new cr([],{}),t,i);const a=function F5e(e,n,t){if(e.isAbsolute)return new Yp(n,!0,0);if(!t)return new Yp(n,!1,NaN);if(null===t.parent)return new Yp(t,!0,0);const i=qp(e.commands[0])?0:1;return function R5e(e,n,t){let i=e,r=n,o=t;for(;o>r;){if(o-=r,i=i.parent,!i)throw new ge(4005,!1);r=i.segments.length}return new Yp(i,!1,r-o)}(t,t.segments.length-1+i,e.numberOfDoubleDots)}(o,r,e),s=a.processChildren?Uf(a.segmentGroup,a.index,o.commands):$F(a.segmentGroup,a.index,o.commands);return Zy(r,a.segmentGroup,s,t,i)}function qp(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function Bf(e){return"object"==typeof e&&null!=e&&e.outlets}function Zy(e,n,t,i,r){let a,o={};i&&Object.entries(i).forEach(([l,c])=>{o[l]=Array.isArray(c)?c.map(h=>`${h}`):`${c}`}),a=e===n?t:YF(e,n,t);const s=VF(BF(a));return new u0(s,o,r)}function YF(e,n,t){const i={};return Object.entries(e.children).forEach(([r,o])=>{i[r]=o===n?t:YF(o,n,t)}),new cr(e.segments,i)}class jF{isAbsolute;numberOfDoubleDots;commands;constructor(n,t,i){if(this.isAbsolute=n,this.numberOfDoubleDots=t,this.commands=i,n&&i.length>0&&qp(i[0]))throw new ge(4003,!1);const r=i.find(Bf);if(r&&r!==zF(i))throw new ge(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Yp{segmentGroup;processChildren;index;constructor(n,t,i){this.segmentGroup=n,this.processChildren=t,this.index=i}}function $F(e,n,t){if(e??=new cr([],{}),0===e.segments.length&&e.hasChildren())return Uf(e,n,t);const i=function V5e(e,n,t){let i=0,r=n;const o={match:!1,pathIndex:0,commandIndex:0};for(;r<e.segments.length;){if(i>=t.length)return o;const a=e.segments[r],s=t[i];if(Bf(s))break;const l=`${s}`,c=i<t.length-1?t[i+1]:null;if(r>0&&void 0===l)break;if(l&&c&&"object"==typeof c&&void 0===c.outlets){if(!GF(l,c,a))return o;i+=2}else{if(!GF(l,{},a))return o;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}(e,n,t),r=t.slice(i.commandIndex);if(i.match&&i.pathIndex<e.segments.length){const o=new cr(e.segments.slice(0,i.pathIndex),{});return o.children[An]=new cr(e.segments.slice(i.pathIndex),e.children),Uf(o,0,r)}return i.match&&0===r.length?new cr(e.segments,{}):i.match&&!e.hasChildren()?Xy(e,n,t):i.match?Uf(e,0,r):Xy(e,n,t)}function Uf(e,n,t){if(0===t.length)return new cr(e.segments,{});{const i=function H5e(e){return Bf(e[0])?e[0].outlets:{[An]:e}}(t),r={};if(Object.keys(i).some(o=>o!==An)&&e.children[An]&&1===e.numberOfChildren&&0===e.children[An].segments.length){const o=Uf(e.children[An],n,t);return new cr(e.segments,o.children)}return Object.entries(i).forEach(([o,a])=>{"string"==typeof a&&(a=[a]),null!==a&&(r[o]=$F(e.children[o],n,a))}),Object.entries(e.children).forEach(([o,a])=>{void 0===i[o]&&(r[o]=a)}),new cr(e.segments,r)}}function Xy(e,n,t){const i=e.segments.slice(0,n);let r=0;for(;r<t.length;){const o=t[r];if(Bf(o)){const l=B5e(o.outlets);return new cr(i,l)}if(0===r&&qp(t[0])){i.push(new Hf(e.segments[n].path,WF(t[0]))),r++;continue}const a=Bf(o)?o.outlets[An]:`${o}`,s=r<t.length-1?t[r+1]:null;a&&s&&qp(s)?(i.push(new Hf(a,WF(s))),r+=2):(i.push(new Hf(a,{})),r++)}return new cr(i,{})}function B5e(e){const n={};return Object.entries(e).forEach(([t,i])=>{"string"==typeof i&&(i=[i]),null!==i&&(n[t]=Xy(new cr([],{}),0,i))}),n}function WF(e){const n={};return Object.entries(e).forEach(([t,i])=>n[t]=`${i}`),n}function GF(e,n,t){return e==t.path&&_c(n,t.parameters)}const jp="imperative";var mi=function(e){return e[e.NavigationStart=0]="NavigationStart",e[e.NavigationEnd=1]="NavigationEnd",e[e.NavigationCancel=2]="NavigationCancel",e[e.NavigationError=3]="NavigationError",e[e.RoutesRecognized=4]="RoutesRecognized",e[e.ResolveStart=5]="ResolveStart",e[e.ResolveEnd=6]="ResolveEnd",e[e.GuardsCheckStart=7]="GuardsCheckStart",e[e.GuardsCheckEnd=8]="GuardsCheckEnd",e[e.RouteConfigLoadStart=9]="RouteConfigLoadStart",e[e.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",e[e.ChildActivationStart=11]="ChildActivationStart",e[e.ChildActivationEnd=12]="ChildActivationEnd",e[e.ActivationStart=13]="ActivationStart",e[e.ActivationEnd=14]="ActivationEnd",e[e.Scroll=15]="Scroll",e[e.NavigationSkipped=16]="NavigationSkipped",e}(mi||{});class yc{id;url;constructor(n,t){this.id=n,this.url=t}}class Jy extends yc{type=mi.NavigationStart;navigationTrigger;restoredState;constructor(n,t,i="imperative",r=null){super(n,t),this.navigationTrigger=i,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class iu extends yc{urlAfterRedirects;type=mi.NavigationEnd;constructor(n,t,i){super(n,t),this.urlAfterRedirects=i}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var ps=function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromResolver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e[e.Aborted=4]="Aborted",e}(ps||{}),eb=function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e}(eb||{});class f0 extends yc{reason;code;type=mi.NavigationCancel;constructor(n,t,i,r){super(n,t),this.reason=i,this.code=r}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class qf extends yc{reason;code;type=mi.NavigationSkipped;constructor(n,t,i,r){super(n,t),this.reason=i,this.code=r}}class tb extends yc{error;target;type=mi.NavigationError;constructor(n,t,i,r){super(n,t),this.error=i,this.target=r}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class KF extends yc{urlAfterRedirects;state;type=mi.RoutesRecognized;constructor(n,t,i,r){super(n,t),this.urlAfterRedirects=i,this.state=r}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class U5e extends yc{urlAfterRedirects;state;type=mi.GuardsCheckStart;constructor(n,t,i,r){super(n,t),this.urlAfterRedirects=i,this.state=r}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class q5e extends yc{urlAfterRedirects;state;shouldActivate;type=mi.GuardsCheckEnd;constructor(n,t,i,r,o){super(n,t),this.urlAfterRedirects=i,this.state=r,this.shouldActivate=o}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Y5e extends yc{urlAfterRedirects;state;type=mi.ResolveStart;constructor(n,t,i,r){super(n,t),this.urlAfterRedirects=i,this.state=r}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class j5e extends yc{urlAfterRedirects;state;type=mi.ResolveEnd;constructor(n,t,i,r){super(n,t),this.urlAfterRedirects=i,this.state=r}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class $5e{route;type=mi.RouteConfigLoadStart;constructor(n){this.route=n}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class W5e{route;type=mi.RouteConfigLoadEnd;constructor(n){this.route=n}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class G5e{snapshot;type=mi.ChildActivationStart;constructor(n){this.snapshot=n}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class K5e{snapshot;type=mi.ChildActivationEnd;constructor(n){this.snapshot=n}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Q5e{snapshot;type=mi.ActivationStart;constructor(n){this.snapshot=n}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Z5e{snapshot;type=mi.ActivationEnd;constructor(n){this.snapshot=n}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class nb{}class $p{url;navigationBehaviorOptions;constructor(n,t){this.url=n,this.navigationBehaviorOptions=t}}function Ll(e){return e.outlet||An}function jd(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let n=e.parent;n;n=n.parent){const t=n.routeConfig;if(t?._loadedInjector)return t._loadedInjector;if(t?._injector)return t._injector}return null}class r7e{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return jd(this.route?.snapshot)??this.rootInjector}constructor(n){this.rootInjector=n,this.children=new Yf(this.rootInjector)}}let Yf=(()=>{class e{rootInjector;contexts=new Map;constructor(t){this.rootInjector=t}onChildOutletCreated(t,i){const r=this.getOrCreateContext(t);r.outlet=i,this.contexts.set(t,r)}onChildOutletDestroyed(t){const i=this.getContext(t);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let i=this.getContext(t);return i||(i=new r7e(this.rootInjector),this.contexts.set(t,i)),i}getContext(t){return this.contexts.get(t)||null}static \u0275fac=function(i){return new(i||e)(Ft(Ti))};static \u0275prov=Ke({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class QF{_root;constructor(n){this._root=n}get root(){return this._root.value}parent(n){const t=this.pathFromRoot(n);return t.length>1?t[t.length-2]:null}children(n){const t=ib(n,this._root);return t?t.children.map(i=>i.value):[]}firstChild(n){const t=ib(n,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(n){const t=rb(n,this._root);return t.length<2?[]:t[t.length-2].children.map(r=>r.value).filter(r=>r!==n)}pathFromRoot(n){return rb(n,this._root).map(t=>t.value)}}function ib(e,n){if(e===n.value)return n;for(const t of n.children){const i=ib(e,t);if(i)return i}return null}function rb(e,n){if(e===n.value)return[n];for(const t of n.children){const i=rb(e,t);if(i.length)return i.unshift(n),i}return[]}class Ol{value;children;constructor(n,t){this.value=n,this.children=t}toString(){return`TreeNode(${this.value})`}}function $d(e){const n={};return e&&e.children.forEach(t=>n[t.value.outlet]=t),n}class ZF extends QF{snapshot;constructor(n,t){super(n),this.snapshot=t,ob(this,n)}toString(){return this.snapshot.toString()}}function XF(e){const n=function o7e(e){const o=new Gp([],{},{},"",{},An,e,null,{});return new JF("",new Ol(o,[]))}(e),t=new on([new Hf("",{})]),i=new on({}),r=new on({}),o=new on({}),a=new on(""),s=new jf(t,i,o,a,r,An,e,n.root);return s.snapshot=n.root,new ZF(new Ol(s,[]),n)}class jf{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(n,t,i,r,o,a,s,l){this.urlSubject=n,this.paramsSubject=t,this.queryParamsSubject=i,this.fragmentSubject=r,this.dataSubject=o,this.outlet=a,this.component=s,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(Wt(c=>c[Rf]))??Kt(void 0),this.url=n,this.params=t,this.queryParams=i,this.fragment=r,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(Wt(n=>Yd(n))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(Wt(n=>Yd(n))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Wp(e,n,t="emptyOnly"){let i;const{routeConfig:r}=e;return i=null===n||"always"!==t&&""!==r?.path&&(n.component||n.routeConfig?.loadComponent)?{params:{...e.params},data:{...e.data},resolve:{...e.data,...e._resolvedData??{}}}:{params:{...n.params,...e.params},data:{...n.data,...e.data},resolve:{...e.data,...n.data,...r?.data,...e._resolvedData}},r&&tR(r)&&(i.resolve[Rf]=r.title),i}class Gp{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[Rf]}constructor(n,t,i,r,o,a,s,l,c){this.url=n,this.params=t,this.queryParams=i,this.fragment=r,this.data=o,this.outlet=a,this.component=s,this.routeConfig=l,this._resolve=c}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=Yd(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Yd(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(i=>i.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class JF extends QF{url;constructor(n,t){super(t),this.url=n,ob(this,t)}toString(){return eR(this._root)}}function ob(e,n){n.value._routerState=e,n.children.forEach(t=>ob(e,t))}function eR(e){const n=e.children.length>0?` { ${e.children.map(eR).join(", ")} } `:"";return`${e.value}${n}`}function ab(e){if(e.snapshot){const n=e.snapshot,t=e._futureSnapshot;e.snapshot=t,_c(n.queryParams,t.queryParams)||e.queryParamsSubject.next(t.queryParams),n.fragment!==t.fragment&&e.fragmentSubject.next(t.fragment),_c(n.params,t.params)||e.paramsSubject.next(t.params),function g5e(e,n){if(e.length!==n.length)return!1;for(let t=0;t<e.length;++t)if(!_c(e[t],n[t]))return!1;return!0}(n.url,t.url)||e.urlSubject.next(t.url),_c(n.data,t.data)||e.dataSubject.next(t.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function sb(e,n){const t=_c(e.params,n.params)&&function b5e(e,n){return d0(e,n)&&e.every((t,i)=>_c(t.parameters,n[i].parameters))}(e.url,n.url);return t&&!(!e.parent!=!n.parent)&&(!e.parent||sb(e.parent,n.parent))}function tR(e){return"string"==typeof e.title||null===e.title}const a7e=new Ae("");let nR=(()=>{class e{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=An;activateEvents=new ht;deactivateEvents=new ht;attachEvents=new ht;detachEvents=new ht;routerOutletData=qc();parentContexts=U(Yf);location=U(La);changeDetector=U(Tr);inputBinder=U(lb,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(t){if(t.name){const{firstChange:i,previousValue:r}=t.name;if(i)return;this.isTrackedInParentContexts(r)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(r)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(t){return this.parentContexts.getContext(t)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const t=this.parentContexts.getContext(this.name);t?.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new ge(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new ge(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new ge(4012,!1);this.location.detach();const t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,i){this.activated=t,this._activatedRoute=i,this.location.insert(t.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(t.instance)}deactivate(){if(this.activated){const t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,i){if(this.isActivated)throw new ge(4013,!1);this._activatedRoute=t;const r=this.location,a=t.snapshot.component,s=this.parentContexts.getOrCreateContext(this.name).children,l=new s7e(t,s,r.injector,this.routerOutletData);this.activated=r.createComponent(a,{index:r.length,injector:l,environmentInjector:i}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(i){return new(i||e)};static \u0275dir=_t({type:e,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[wn]})}return e})();class s7e{route;childContexts;parent;outletData;constructor(n,t,i,r){this.route=n,this.childContexts=t,this.parent=i,this.outletData=r}get(n,t){return n===jf?this.route:n===Yf?this.childContexts:n===a7e?this.outletData:this.parent.get(n,t)}}const lb=new Ae("");let iR=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275cmp=bt({type:e,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(i,r){1&i&&ze(0,"router-outlet")},dependencies:[nR],encapsulation:2})}return e})();function cb(e){const n=e.children&&e.children.map(cb),t=n?{...e,children:n}:{...e};return!t.component&&!t.loadComponent&&(n||t.loadChildren)&&t.outlet&&t.outlet!==An&&(t.component=iR),t}function $f(e,n,t){if(t&&e.shouldReuseRoute(n.value,t.value.snapshot)){const i=t.value;i._futureSnapshot=n.value;const r=function c7e(e,n,t){return n.children.map(i=>{for(const r of t.children)if(e.shouldReuseRoute(i.value,r.value.snapshot))return $f(e,i,r);return $f(e,i)})}(e,n,t);return new Ol(i,r)}{if(e.shouldAttach(n.value)){const o=e.retrieve(n.value);if(null!==o){const a=o.route;return a.value._futureSnapshot=n.value,a.children=n.children.map(s=>$f(e,s)),a}}const i=function u7e(e){return new jf(new on(e.url),new on(e.params),new on(e.queryParams),new on(e.fragment),new on(e.data),e.outlet,e.component,e)}(n.value),r=n.children.map(o=>$f(e,o));return new Ol(i,r)}}class ub{redirectTo;navigationBehaviorOptions;constructor(n,t){this.redirectTo=n,this.navigationBehaviorOptions=t}}const rR="ngNavigationCancelingError";function Kp(e,n){const{redirectTo:t,navigationBehaviorOptions:i}=h0(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,r=oR(!1,ps.Redirect);return r.url=t,r.navigationBehaviorOptions=i,r}function oR(e,n){const t=new Error(`NavigationCancelingError: ${e||""}`);return t[rR]=!0,t.cancellationCode=n,t}function aR(e){return!!e&&e[rR]}class f7e{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(n,t,i,r,o){this.routeReuseStrategy=n,this.futureState=t,this.currState=i,this.forwardEvent=r,this.inputBindingEnabled=o}activate(n){const t=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,i,n),ab(this.futureState.root),this.activateChildRoutes(t,i,n)}deactivateChildRoutes(n,t,i){const r=$d(t);n.children.forEach(o=>{const a=o.value.outlet;this.deactivateRoutes(o,r[a],i),delete r[a]}),Object.values(r).forEach(o=>{this.deactivateRouteAndItsChildren(o,i)})}deactivateRoutes(n,t,i){const r=n.value,o=t?t.value:null;if(r===o)if(r.component){const a=i.getContext(r.outlet);a&&this.deactivateChildRoutes(n,t,a.children)}else this.deactivateChildRoutes(n,t,i);else o&&this.deactivateRouteAndItsChildren(t,i)}deactivateRouteAndItsChildren(n,t){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,t):this.deactivateRouteAndOutlet(n,t)}detachAndStoreRouteSubtree(n,t){const i=t.getContext(n.value.outlet),r=i&&n.value.component?i.children:t,o=$d(n);for(const a of Object.values(o))this.deactivateRouteAndItsChildren(a,r);if(i&&i.outlet){const a=i.outlet.detach(),s=i.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:a,route:n,contexts:s})}}deactivateRouteAndOutlet(n,t){const i=t.getContext(n.value.outlet),r=i&&n.value.component?i.children:t,o=$d(n);for(const a of Object.values(o))this.deactivateRouteAndItsChildren(a,r);i&&(i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated()),i.attachRef=null,i.route=null)}activateChildRoutes(n,t,i){const r=$d(t);n.children.forEach(o=>{this.activateRoutes(o,r[o.value.outlet],i),this.forwardEvent(new Z5e(o.value.snapshot))}),n.children.length&&this.forwardEvent(new K5e(n.value.snapshot))}activateRoutes(n,t,i){const r=n.value,o=t?t.value:null;if(ab(r),r===o)if(r.component){const a=i.getOrCreateContext(r.outlet);this.activateChildRoutes(n,t,a.children)}else this.activateChildRoutes(n,t,i);else if(r.component){const a=i.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){const s=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),a.children.onOutletReAttached(s.contexts),a.attachRef=s.componentRef,a.route=s.route.value,a.outlet&&a.outlet.attach(s.componentRef,s.route.value),ab(s.route.value),this.activateChildRoutes(n,null,a.children)}else a.attachRef=null,a.route=r,a.outlet&&a.outlet.activateWith(r,a.injector),this.activateChildRoutes(n,null,a.children)}else this.activateChildRoutes(n,null,i)}}class sR{path;route;constructor(n){this.path=n,this.route=this.path[this.path.length-1]}}class Qp{component;route;constructor(n,t){this.component=n,this.route=t}}function p7e(e,n,t){const i=e._root;return Wf(i,n?n._root:null,t,[i.value])}function Wd(e,n){const t=Symbol(),i=n.get(e,t);return i===t?"function"!=typeof e||function y0(e){return null!==ol(e)}(e)?n.get(e):e:i}function Wf(e,n,t,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=$d(n);return e.children.forEach(a=>{(function g7e(e,n,t,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=e.value,a=n?n.value:null,s=t?t.getContext(e.value.outlet):null;if(a&&o.routeConfig===a.routeConfig){const l=function v7e(e,n,t){if("function"==typeof t)return t(e,n);switch(t){case"pathParamsChange":return!d0(e.url,n.url);case"pathParamsOrQueryParamsChange":return!d0(e.url,n.url)||!_c(e.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!sb(e,n)||!_c(e.queryParams,n.queryParams);default:return!sb(e,n)}}(a,o,o.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new sR(i)):(o.data=a.data,o._resolvedData=a._resolvedData),Wf(e,n,o.component?s?s.children:null:t,i,r),l&&s&&s.outlet&&s.outlet.isActivated&&r.canDeactivateChecks.push(new Qp(s.outlet.component,a))}else a&&Gf(n,s,r),r.canActivateChecks.push(new sR(i)),Wf(e,null,o.component?s?s.children:null:t,i,r)})(a,o[a.value.outlet],t,i.concat([a.value]),r),delete o[a.value.outlet]}),Object.entries(o).forEach(([a,s])=>Gf(s,t.getContext(a),r)),r}function Gf(e,n,t){const i=$d(e),r=e.value;Object.entries(i).forEach(([o,a])=>{Gf(a,r.component?n?n.children.getContext(o):null:n,t)}),t.canDeactivateChecks.push(new Qp(r.component&&n&&n.outlet&&n.outlet.isActivated?n.outlet.component:null,r))}function Kf(e){return"function"==typeof e}function lR(e){return e instanceof Op||"EmptyError"===e?.name}const Zp=Symbol("INITIAL_VALUE");function Gd(){return Na(e=>Qu(e.map(n=>n.pipe(pc(1),tu(Zp)))).pipe(Wt(n=>{for(const t of n)if(!0!==t){if(t===Zp)return Zp;if(!1===t||M7e(t))return t}return!0}),gr(n=>n!==Zp),pc(1)))}function M7e(e){return h0(e)||e instanceof ub}function cR(e){return function nl(...e){return Cr(e)}(Qo(n=>{if("boolean"!=typeof n)throw Kp(0,n)}),Wt(n=>!0===n))}class db{segmentGroup;constructor(n){this.segmentGroup=n||null}}class hb extends Error{urlTree;constructor(n){super(),this.urlTree=n}}function Kd(e){return Pp(new db(e))}function P7e(e){return Pp(new ge(4e3,!1))}class F7e{urlSerializer;urlTree;constructor(n,t){this.urlSerializer=n,this.urlTree=t}lineralizeSegments(n,t){let i=[],r=t.root;for(;;){if(i=i.concat(r.segments),0===r.numberOfChildren)return Kt(i);if(r.numberOfChildren>1||!r.children[An])return P7e();r=r.children[An]}}applyRedirectCommands(n,t,i,r,o){return function R7e(e,n,t){if("string"==typeof e)return Kt(e);const i=e,{queryParams:r,fragment:o,routeConfig:a,url:s,outlet:l,params:c,data:h,title:p}=n;return nu(ja(t,()=>i({params:c,data:h,queryParams:r,fragment:o,routeConfig:a,url:s,outlet:l,title:p})))}(t,r,o).pipe(Wt(a=>{if(a instanceof u0)throw new hb(a);const s=this.applyRedirectCreateUrlTree(a,this.urlSerializer.parse(a),n,i);if("/"===a[0])throw new hb(s);return s}))}applyRedirectCreateUrlTree(n,t,i,r){const o=this.createSegmentGroup(n,t.root,i,r);return new u0(o,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(n,t){const i={};return Object.entries(n).forEach(([r,o])=>{if("string"==typeof o&&":"===o[0]){const s=o.substring(1);i[r]=t[s]}else i[r]=o}),i}createSegmentGroup(n,t,i,r){const o=this.createSegments(n,t.segments,i,r);let a={};return Object.entries(t.children).forEach(([s,l])=>{a[s]=this.createSegmentGroup(n,l,i,r)}),new cr(o,a)}createSegments(n,t,i,r){return t.map(o=>":"===o.path[0]?this.findPosParam(n,o,r):this.findOrReturn(o,i))}findPosParam(n,t,i){const r=i[t.path.substring(1)];if(!r)throw new ge(4001,!1);return r}findOrReturn(n,t){let i=0;for(const r of t){if(r.path===n.path)return t.splice(i),r;i++}return n}}const fb={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function H7e(e,n,t,i,r){const o=uR(e,n,t);return o.matched?(i=function J5e(e,n){return e.providers&&!e._injector&&(e._injector=_5(e.providers,n,`Route: ${e.path}`)),e._injector??n}(n,i),function O7e(e,n,t,i){const r=n.canMatch;return r&&0!==r.length?Kt(r.map(a=>{const s=Wd(a,e);return nu(function S7e(e){return e&&Kf(e.canMatch)}(s)?s.canMatch(n,t):ja(e,()=>s(n,t)))})).pipe(Gd(),cR()):Kt(!0)}(i,n,t).pipe(Wt(a=>!0===a?o:{...fb}))):Kt(o)}function uR(e,n,t){if("**"===n.path)return function V7e(e){return{matched:!0,parameters:e.length>0?zF(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}(t);if(""===n.path)return"full"===n.pathMatch&&(e.hasChildren()||t.length>0)?{...fb}:{matched:!0,consumedSegments:[],remainingSegments:t,parameters:{},positionalParamSegments:{}};const r=(n.matcher||m5e)(t,e,n);if(!r)return{...fb};const o={};Object.entries(r.posParams??{}).forEach(([s,l])=>{o[s]=l.path});const a=r.consumed.length>0?{...o,...r.consumed[r.consumed.length-1].parameters}:o;return{matched:!0,consumedSegments:r.consumed,remainingSegments:t.slice(r.consumed.length),parameters:a,positionalParamSegments:r.posParams??{}}}function dR(e,n,t,i){return t.length>0&&function q7e(e,n,t){return t.some(i=>Xp(e,n,i)&&Ll(i)!==An)}(e,t,i)?{segmentGroup:new cr(n,U7e(i,new cr(t,e.children))),slicedSegments:[]}:0===t.length&&function Y7e(e,n,t){return t.some(i=>Xp(e,n,i))}(e,t,i)?{segmentGroup:new cr(e.segments,B7e(e,t,i,e.children)),slicedSegments:t}:{segmentGroup:new cr(e.segments,e.children),slicedSegments:t}}function B7e(e,n,t,i){const r={};for(const o of t)if(Xp(e,n,o)&&!i[Ll(o)]){const a=new cr([],{});r[Ll(o)]=a}return{...i,...r}}function U7e(e,n){const t={};t[An]=n;for(const i of e)if(""===i.path&&Ll(i)!==An){const r=new cr([],{});t[Ll(i)]=r}return t}function Xp(e,n,t){return(!(e.hasChildren()||n.length>0)||"full"!==t.pathMatch)&&""===t.path}class $7e{}class K7e{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(n,t,i,r,o,a,s){this.injector=n,this.configLoader=t,this.rootComponentType=i,this.config=r,this.urlTree=o,this.paramsInheritanceStrategy=a,this.urlSerializer=s,this.applyRedirects=new F7e(this.urlSerializer,this.urlTree)}noMatchError(n){return new ge(4002,`'${n.segmentGroup}'`)}recognize(){const n=dR(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(n).pipe(Wt(({children:t,rootSnapshot:i})=>{const r=new Ol(i,t),o=new JF("",r),a=function P5e(e,n,t=null,i=null){return qF(UF(e),n,t,i)}(i,[],this.urlTree.queryParams,this.urlTree.fragment);return a.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(a),{state:o,tree:a}}))}match(n){const t=new Gp([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Object.freeze({}),An,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,n,An,t).pipe(Wt(i=>({children:i,rootSnapshot:t})),r0(i=>{if(i instanceof hb)return this.urlTree=i.urlTree,this.match(i.urlTree.root);throw i instanceof db?this.noMatchError(i):i}))}processSegmentGroup(n,t,i,r,o){return 0===i.segments.length&&i.hasChildren()?this.processChildren(n,t,i,o):this.processSegment(n,t,i,i.segments,r,!0,o).pipe(Wt(a=>a instanceof Ol?[a]:[]))}processChildren(n,t,i,r){const o=[];for(const a of Object.keys(i.children))"primary"===a?o.unshift(a):o.push(a);return pa(o).pipe(of(a=>{const s=i.children[a],l=function i7e(e,n){const t=e.filter(i=>Ll(i)===n);return t.push(...e.filter(i=>Ll(i)!==n)),t}(t,a);return this.processSegmentGroup(n,l,s,a,r)}),function c5e(e,n){return qr(function l5e(e,n,t,i,r){return(o,a)=>{let s=t,l=n,c=0;o.subscribe(hr(a,h=>{const p=c++;l=s?e(l,h,p):(s=!0,h),i&&a.next(l)},r&&(()=>{s&&a.next(l),a.complete()})))}}(e,n,arguments.length>=2,!0))}((a,s)=>(a.push(...s),a)),Np(null),function u5e(e,n){const t=arguments.length>=2;return i=>i.pipe(e?gr((r,o)=>e(r,o,i)):Vr,Wy(1),t?Np(n):EF(()=>new Op))}(),Go(a=>{if(null===a)return Kd(i);const s=hR(a);return function Q7e(e){e.sort((n,t)=>n.value.outlet===An?-1:t.value.outlet===An?1:n.value.outlet.localeCompare(t.value.outlet))}(s),Kt(s)}))}processSegment(n,t,i,r,o,a,s){return pa(t).pipe(of(l=>this.processSegmentAgainstRoute(l._injector??n,t,l,i,r,o,a,s).pipe(r0(c=>{if(c instanceof db)return Kt(null);throw c}))),Zu(l=>!!l),r0(l=>{if(lR(l))return function j7e(e,n,t){return 0===n.length&&!e.children[t]}(i,r,o)?Kt(new $7e):Kd(i);throw l}))}processSegmentAgainstRoute(n,t,i,r,o,a,s,l){return Ll(i)===a||a!==An&&Xp(r,o,i)?void 0===i.redirectTo?this.matchSegmentAgainstRoute(n,r,i,o,a,l):this.allowRedirects&&s?this.expandSegmentAgainstRouteUsingRedirect(n,r,t,i,o,a,l):Kd(r):Kd(r)}expandSegmentAgainstRouteUsingRedirect(n,t,i,r,o,a,s){const{matched:l,parameters:c,consumedSegments:h,positionalParamSegments:p,remainingSegments:S}=uR(t,r,o);if(!l)return Kd(t);"string"==typeof r.redirectTo&&"/"===r.redirectTo[0]&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const v=new Gp(o,c,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,fR(r),Ll(r),r.component??r._loadedComponent??null,r,pR(r)),C=Wp(v,s,this.paramsInheritanceStrategy);return v.params=Object.freeze(C.params),v.data=Object.freeze(C.data),this.applyRedirects.applyRedirectCommands(h,r.redirectTo,p,v,n).pipe(Na(Z=>this.applyRedirects.lineralizeSegments(r,Z)),Go(Z=>this.processSegment(n,i,t,Z.concat(S),a,!1,s)))}matchSegmentAgainstRoute(n,t,i,r,o,a){const s=H7e(t,i,r,n);return"**"===i.path&&(t.children={}),s.pipe(Na(l=>l.matched?this.getChildConfig(n=i._injector??n,i,r).pipe(Na(({routes:c})=>{const h=i._loadedInjector??n,{parameters:p,consumedSegments:S,remainingSegments:v}=l,C=new Gp(S,p,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,fR(i),Ll(i),i.component??i._loadedComponent??null,i,pR(i)),P=Wp(C,a,this.paramsInheritanceStrategy);C.params=Object.freeze(P.params),C.data=Object.freeze(P.data);const{segmentGroup:Z,slicedSegments:re}=dR(t,S,v,c);if(0===re.length&&Z.hasChildren())return this.processChildren(h,c,Z,C).pipe(Wt(Me=>new Ol(C,Me)));if(0===c.length&&0===re.length)return Kt(new Ol(C,[]));const ie=Ll(i)===o;return this.processSegment(h,c,Z,re,ie?An:o,!0,C).pipe(Wt(Me=>new Ol(C,Me instanceof Ol?[Me]:[])))})):Kd(t)))}getChildConfig(n,t,i){return t.children?Kt({routes:t.children,injector:n}):t.loadChildren?void 0!==t._loadedRoutes?Kt({routes:t._loadedRoutes,injector:t._loadedInjector}):function L7e(e,n,t,i){const r=n.canLoad;return void 0===r||0===r.length?Kt(!0):Kt(r.map(a=>{const s=Wd(a,e);return nu(function y7e(e){return e&&Kf(e.canLoad)}(s)?s.canLoad(n,t):ja(e,()=>s(n,t)))})).pipe(Gd(),cR())}(n,t,i).pipe(Go(r=>r?this.configLoader.loadChildren(n,t).pipe(Qo(o=>{t._loadedRoutes=o.routes,t._loadedInjector=o.injector})):function N7e(){return Pp(oR(!1,ps.GuardRejected))}())):Kt({routes:[],injector:n})}}function Z7e(e){const n=e.value.routeConfig;return n&&""===n.path}function hR(e){const n=[],t=new Set;for(const i of e){if(!Z7e(i)){n.push(i);continue}const r=n.find(o=>i.value.routeConfig===o.value.routeConfig);void 0!==r?(r.children.push(...i.children),t.add(r)):n.push(i)}for(const i of t){const r=hR(i.children);n.push(new Ol(i.value,r))}return n.filter(i=>!t.has(i))}function fR(e){return e.data||{}}function pR(e){return e.resolve||{}}function mR(e){const n=e.children.map(t=>mR(t)).flat();return[e,...n]}function pb(e){return Na(n=>{const t=e(n);return t?pa(t).pipe(Wt(()=>n)):Kt(n)})}let gR=(()=>{class e{buildTitle(t){let i,r=t.root;for(;void 0!==r;)i=this.getResolvedTitleForRoute(r)??i,r=r.children.find(o=>o.outlet===An);return i}getResolvedTitleForRoute(t){return t.data[Rf]}static \u0275fac=function(i){return new(i||e)};static \u0275prov=Ke({token:e,factory:()=>U(ive),providedIn:"root"})}return e})(),ive=(()=>{class e extends gR{title;constructor(t){super(),this.title=t}updateTitle(t){const i=this.buildTitle(t);void 0!==i&&this.title.setTitle(i)}static \u0275fac=function(i){return new(i||e)(Ft(e4e))};static \u0275prov=Ke({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Jp=new Ae("",{providedIn:"root",factory:()=>({})}),vR=new Ae("");let _R=(()=>{class e{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=U(jQ);loadComponent(t,i){if(this.componentLoaders.get(i))return this.componentLoaders.get(i);if(i._loadedComponent)return Kt(i._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(i);const r=nu(ja(t,()=>i.loadComponent())).pipe(Wt(yR),Na(bR),Qo(a=>{this.onLoadEndListener&&this.onLoadEndListener(i),i._loadedComponent=a}),Vu(()=>{this.componentLoaders.delete(i)})),o=new kF(r,()=>new Dt).pipe($y());return this.componentLoaders.set(i,o),o}loadChildren(t,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return Kt({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);const o=function rve(e,n,t,i){return nu(ja(t,()=>e.loadChildren())).pipe(Wt(yR),Na(bR),Go(r=>r instanceof yT||Array.isArray(r)?Kt(r):pa(n.compileModuleAsync(r))),Wt(r=>{i&&i(e);let o,a,s=!1;return Array.isArray(r)?(a=r,!0):(o=r.create(t).injector,a=o.get(vR,[],{optional:!0,self:!0}).flat()),{routes:a.map(cb),injector:o}}))}(i,this.compiler,t,this.onLoadEndListener).pipe(Vu(()=>{this.childrenLoaders.delete(i)})),a=new kF(o,()=>new Dt).pipe($y());return this.childrenLoaders.set(i,a),a}static \u0275fac=function(i){return new(i||e)};static \u0275prov=Ke({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function yR(e){return function ove(e){return e&&"object"==typeof e&&"default"in e}(e)?e.default:e}function bR(e){return Kt(e)}let mb=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275prov=Ke({token:e,factory:()=>U(ave),providedIn:"root"})}return e})(),ave=(()=>{class e{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,i){return t}static \u0275fac=function(i){return new(i||e)};static \u0275prov=Ke({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const sve=new Ae(""),uve=new Ae("");let dve=(()=>{class e{currentNavigation=io(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=null;events=new Dt;transitionAbortWithErrorSubject=new Dt;configLoader=U(_R);environmentInjector=U(Ti);destroyRef=U(kn);urlSerializer=U(Rp);rootContexts=U(Yf);location=U(I0);inputBindingEnabled=null!==U(lb,{optional:!0});titleStrategy=U(gR);options=U(Jp,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=U(mb);createViewTransition=U(sve,{optional:!0});navigationErrorHandler=U(uve,{optional:!0});navigationId=0;get hasRequestedNavigation(){return 0!==this.navigationId}transitions;afterPreactivation=()=>Kt(void 0);rootComponentType=null;destroyed=!1;constructor(){this.configLoader.onLoadEndListener=r=>this.events.next(new W5e(r)),this.configLoader.onLoadStartListener=r=>this.events.next(new $5e(r)),this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(t){const i=++this.navigationId;or(()=>{this.transitions?.next({...t,extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,abortController:new AbortController,id:i})})}setupNavigations(t){return this.transitions=new on(null),this.transitions.pipe(gr(i=>null!==i),Na(i=>{let r=!1;return Kt(i).pipe(Na(o=>{if(this.navigationId>i.id)return this.cancelNavigationTransition(i,"",ps.SupersededByNewNavigation),ds;this.currentTransition=i,this.currentNavigation.set({id:o.id,initialUrl:o.rawUrl,extractedUrl:o.extractedUrl,targetBrowserUrl:"string"==typeof o.extras.browserUrl?this.urlSerializer.parse(o.extras.browserUrl):o.extras.browserUrl,trigger:o.source,extras:o.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null,abort:()=>o.abortController.abort()});const a=!t.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!a&&"reload"!==(o.extras.onSameUrlNavigation??t.onSameUrlNavigation))return this.events.next(new qf(o.id,this.urlSerializer.serialize(o.rawUrl),"",eb.IgnoredSameUrlNavigation)),o.resolve(!1),ds;if(this.urlHandlingStrategy.shouldProcessUrl(o.rawUrl))return Kt(o).pipe(Na(l=>(this.events.next(new Jy(l.id,this.urlSerializer.serialize(l.extractedUrl),l.source,l.restoredState)),l.id!==this.navigationId?ds:Promise.resolve(l))),function X7e(e,n,t,i,r,o){return Go(a=>function W7e(e,n,t,i,r,o,a="emptyOnly"){return new K7e(e,n,t,i,r,a,o).recognize()}(e,n,t,i,a.extractedUrl,r,o).pipe(Wt(({state:s,tree:l})=>({...a,targetSnapshot:s,urlAfterRedirects:l}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,t.config,this.urlSerializer,this.paramsInheritanceStrategy),Qo(l=>{i.targetSnapshot=l.targetSnapshot,i.urlAfterRedirects=l.urlAfterRedirects,this.currentNavigation.update(h=>(h.finalUrl=l.urlAfterRedirects,h));const c=new KF(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(c)}));if(a&&this.urlHandlingStrategy.shouldProcessUrl(o.currentRawUrl)){const{id:l,extractedUrl:c,source:h,restoredState:p,extras:S}=o,v=new Jy(l,this.urlSerializer.serialize(c),h,p);this.events.next(v);const C=XF(this.rootComponentType).snapshot;return this.currentTransition=i={...o,targetSnapshot:C,urlAfterRedirects:c,extras:{...S,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.update(P=>(P.finalUrl=c,P)),Kt(i)}return this.events.next(new qf(o.id,this.urlSerializer.serialize(o.extractedUrl),"",eb.IgnoredByUrlHandlingStrategy)),o.resolve(!1),ds}),Qo(o=>{const a=new U5e(o.id,this.urlSerializer.serialize(o.extractedUrl),this.urlSerializer.serialize(o.urlAfterRedirects),o.targetSnapshot);this.events.next(a)}),Wt(o=>(this.currentTransition=i={...o,guards:p7e(o.targetSnapshot,o.currentSnapshot,this.rootContexts)},i)),function T7e(e,n){return Go(t=>{const{targetSnapshot:i,currentSnapshot:r,guards:{canActivateChecks:o,canDeactivateChecks:a}}=t;return 0===a.length&&0===o.length?Kt({...t,guardsResult:!0}):function D7e(e,n,t,i){return pa(e).pipe(Go(r=>function A7e(e,n,t,i,r){const o=n&&n.routeConfig?n.routeConfig.canDeactivate:null;return o&&0!==o.length?Kt(o.map(s=>{const l=jd(n)??r,c=Wd(s,l);return nu(function w7e(e){return e&&Kf(e.canDeactivate)}(c)?c.canDeactivate(e,n,t,i):ja(l,()=>c(e,n,t,i))).pipe(Zu())})).pipe(Gd()):Kt(!0)}(r.component,r.route,t,n,i)),Zu(r=>!0!==r,!0))}(a,i,r,e).pipe(Go(s=>s&&function _7e(e){return"boolean"==typeof e}(s)?function x7e(e,n,t,i){return pa(n).pipe(of(r=>Ef(function E7e(e,n){return null!==e&&n&&n(new G5e(e)),Kt(!0)}(r.route.parent,i),function k7e(e,n){return null!==e&&n&&n(new Q5e(e)),Kt(!0)}(r.route,i),function z7e(e,n,t){const i=n[n.length-1],o=n.slice(0,n.length-1).reverse().map(a=>function m7e(e){const n=e.routeConfig?e.routeConfig.canActivateChild:null;return n&&0!==n.length?{node:e,guards:n}:null}(a)).filter(a=>null!==a).map(a=>jy(()=>Kt(a.guards.map(l=>{const c=jd(a.node)??t,h=Wd(l,c);return nu(function C7e(e){return e&&Kf(e.canActivateChild)}(h)?h.canActivateChild(i,e):ja(c,()=>h(i,e))).pipe(Zu())})).pipe(Gd())));return Kt(o).pipe(Gd())}(e,r.path,t),function I7e(e,n,t){const i=n.routeConfig?n.routeConfig.canActivate:null;if(!i||0===i.length)return Kt(!0);const r=i.map(o=>jy(()=>{const a=jd(n)??t,s=Wd(o,a);return nu(function b7e(e){return e&&Kf(e.canActivate)}(s)?s.canActivate(n,e):ja(a,()=>s(n,e))).pipe(Zu())}));return Kt(r).pipe(Gd())}(e,r.route,t))),Zu(r=>!0!==r,!0))}(i,o,e,n):Kt(s)),Wt(s=>({...t,guardsResult:s})))})}(this.environmentInjector,o=>this.events.next(o)),Qo(o=>{if(i.guardsResult=o.guardsResult,o.guardsResult&&"boolean"!=typeof o.guardsResult)throw Kp(0,o.guardsResult);const a=new q5e(o.id,this.urlSerializer.serialize(o.extractedUrl),this.urlSerializer.serialize(o.urlAfterRedirects),o.targetSnapshot,!!o.guardsResult);this.events.next(a)}),gr(o=>!!o.guardsResult||(this.cancelNavigationTransition(o,"",ps.GuardRejected),!1)),pb(o=>{if(0!==o.guards.canActivateChecks.length)return Kt(o).pipe(Qo(a=>{const s=new Y5e(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(s)}),Na(a=>{let s=!1;return Kt(a).pipe(function J7e(e,n){return Go(t=>{const{targetSnapshot:i,guards:{canActivateChecks:r}}=t;if(!r.length)return Kt(t);const o=new Set(r.map(l=>l.route)),a=new Set;for(const l of o)if(!a.has(l))for(const c of mR(l))a.add(c);let s=0;return pa(a).pipe(of(l=>o.has(l)?function eve(e,n,t,i){const r=e.routeConfig,o=e._resolve;return void 0!==r?.title&&!tR(r)&&(o[Rf]=r.title),jy(()=>(e.data=Wp(e,e.parent,t).resolve,function tve(e,n,t,i){const r=Gy(e);if(0===r.length)return Kt({});const o={};return pa(r).pipe(Go(a=>function nve(e,n,t,i){const r=jd(n)??i,o=Wd(e,r);return nu(o.resolve?o.resolve(n,t):ja(r,()=>o(n,t)))}(e[a],n,t,i).pipe(Zu(),Qo(s=>{if(s instanceof ub)throw Kp(new Hp,s);o[a]=s}))),Wy(1),Wt(()=>o),r0(a=>lR(a)?ds:Pp(a)))}(o,e,n,i).pipe(Wt(a=>(e._resolvedData=a,e.data={...e.data,...a},null)))))}(l,i,e,n):(l.data=Wp(l,l.parent,e).resolve,Kt(void 0))),Qo(()=>s++),Wy(1),Go(l=>s===a.size?Kt(t):ds))})}(this.paramsInheritanceStrategy,this.environmentInjector),Qo({next:()=>s=!0,complete:()=>{s||this.cancelNavigationTransition(a,"",ps.NoDataFromResolver)}}))}),Qo(a=>{const s=new j5e(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(s)}))}),pb(o=>{const a=s=>{const l=[];if(s.routeConfig?.loadComponent){const c=jd(s)??this.environmentInjector;l.push(this.configLoader.loadComponent(c,s.routeConfig).pipe(Qo(h=>{s.component=h}),Wt(()=>{})))}for(const c of s.children)l.push(...a(c));return l};return Qu(a(o.targetSnapshot.root)).pipe(Np(null),pc(1))}),pb(()=>this.afterPreactivation()),Na(()=>{const{currentSnapshot:o,targetSnapshot:a}=i,s=this.createViewTransition?.(this.environmentInjector,o.root,a.root);return s?pa(s).pipe(Wt(()=>i)):Kt(i)}),Wt(o=>{const a=function l7e(e,n,t){const i=$f(e,n._root,t?t._root:void 0);return new ZF(i,n)}(t.routeReuseStrategy,o.targetSnapshot,o.currentRouterState);return this.currentTransition=i={...o,targetRouterState:a},this.currentNavigation.update(s=>(s.targetRouterState=a,s)),i}),Qo(()=>{this.events.next(new nb)}),((e,n,t,i)=>Wt(r=>(new f7e(n,r.targetRouterState,r.currentRouterState,t,i).activate(e),r)))(this.rootContexts,t.routeReuseStrategy,o=>this.events.next(o),this.inputBindingEnabled),pc(1),bf(new On(o=>{const a=i.abortController.signal,s=()=>o.next();return a.addEventListener("abort",s),()=>a.removeEventListener("abort",s)}).pipe(gr(()=>!r&&!i.targetRouterState),Qo(()=>{this.cancelNavigationTransition(i,i.abortController.signal.reason+"",ps.Aborted)}))),Qo({next:o=>{r=!0,this.lastSuccessfulNavigation=or(this.currentNavigation),this.events.next(new iu(o.id,this.urlSerializer.serialize(o.extractedUrl),this.urlSerializer.serialize(o.urlAfterRedirects))),this.titleStrategy?.updateTitle(o.targetRouterState.snapshot),o.resolve(!0)},complete:()=>{r=!0}}),bf(this.transitionAbortWithErrorSubject.pipe(Qo(o=>{throw o}))),Vu(()=>{r||this.cancelNavigationTransition(i,"",ps.SupersededByNewNavigation),this.currentTransition?.id===i.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),r0(o=>{if(this.destroyed)return i.resolve(!1),ds;if(r=!0,aR(o))this.events.next(new f0(i.id,this.urlSerializer.serialize(i.extractedUrl),o.message,o.cancellationCode)),function d7e(e){return aR(e)&&h0(e.url)}(o)?this.events.next(new $p(o.url,o.navigationBehaviorOptions)):i.resolve(!1);else{const a=new tb(i.id,this.urlSerializer.serialize(i.extractedUrl),o,i.targetSnapshot??void 0);try{const s=ja(this.environmentInjector,()=>this.navigationErrorHandler?.(a));if(!(s instanceof ub))throw this.events.next(a),o;{const{message:l,cancellationCode:c}=Kp(0,s);this.events.next(new f0(i.id,this.urlSerializer.serialize(i.extractedUrl),l,c)),this.events.next(new $p(s.redirectTo,s.navigationBehaviorOptions))}}catch(s){this.options.resolveNavigationPromiseOnError?i.resolve(!1):i.reject(s)}}return ds}))}))}cancelNavigationTransition(t,i,r){const o=new f0(t.id,this.urlSerializer.serialize(t.extractedUrl),i,r);this.events.next(o),t.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){const t=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),i=or(this.currentNavigation),r=i?.targetBrowserUrl??i?.extractedUrl;return t.toString()!==r?.toString()&&!i?.extras.skipLocationChange}static \u0275fac=function(i){return new(i||e)};static \u0275prov=Ke({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function hve(e){return e!==jp}let fve=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275prov=Ke({token:e,factory:()=>U(mve),providedIn:"root"})}return e})();class pve{shouldDetach(n){return!1}store(n,t){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,t){return n.routeConfig===t.routeConfig}}let mve=(()=>{class e extends pve{static \u0275fac=(()=>{let t;return function(r){return(t||(t=Di(e)))(r||e)}})();static \u0275prov=Ke({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),CR=(()=>{class e{urlSerializer=U(Rp);options=U(Jp,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=U(I0);urlHandlingStrategy=U(mb);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new u0;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:t,initialUrl:i,targetBrowserUrl:r}){const o=void 0!==t?this.urlHandlingStrategy.merge(t,i):i,a=r??o;return a instanceof u0?this.urlSerializer.serialize(a):a}commitTransition({targetRouterState:t,finalUrl:i,initialUrl:r}){i&&t?(this.currentUrlTree=i,this.rawUrlTree=this.urlHandlingStrategy.merge(i,r),this.routerState=t):this.rawUrlTree=r}routerState=XF(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();updateStateMemento(){this.stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}resetInternalState({finalUrl:t}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t??this.rawUrlTree)}static \u0275fac=function(i){return new(i||e)};static \u0275prov=Ke({token:e,factory:()=>U(gve),providedIn:"root"})}return e})(),gve=(()=>{class e extends CR{currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(t){return this.location.subscribe(i=>{"popstate"===i.type&&setTimeout(()=>{t(i.url,i.state,"popstate")})})}handleRouterEvent(t,i){t instanceof Jy?this.updateStateMemento():t instanceof qf?this.commitTransition(i):t instanceof KF?"eager"===this.urlUpdateStrategy&&(i.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(i),i)):t instanceof nb?(this.commitTransition(i),"deferred"===this.urlUpdateStrategy&&!i.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(i),i)):t instanceof f0&&t.code!==ps.SupersededByNewNavigation&&t.code!==ps.Redirect?this.restoreHistory(i):t instanceof tb?this.restoreHistory(i,!0):t instanceof iu&&(this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId)}setBrowserUrl(t,{extras:i,id:r}){const{replaceUrl:o,state:a}=i;if(this.location.isCurrentPathEqualTo(t)||o){const s=this.browserPageId,l={...a,...this.generateNgRouterState(r,s)};this.location.replaceState(t,"",l)}else{const s={...a,...this.generateNgRouterState(r,this.browserPageId+1)};this.location.go(t,"",s)}}restoreHistory(t,i=!1){if("computed"===this.canceledNavigationResolution){const o=this.currentPageId-this.browserPageId;0!==o?this.location.historyGo(o):this.getCurrentUrlTree()===t.finalUrl&&0===o&&(this.resetInternalState(t),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(i&&this.resetInternalState(t),this.resetUrlToCurrentUrlTree())}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(t,i){return"computed"===this.canceledNavigationResolution?{navigationId:t,\u0275routerPageId:i}:{navigationId:t}}static \u0275fac=(()=>{let t;return function(r){return(t||(t=Di(e)))(r||e)}})();static \u0275prov=Ke({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const _ve={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},yve={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Qd=(()=>{class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=U(YT);stateManager=U(CR);options=U(Jp,{optional:!0})||{};pendingTasks=U(_u);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=U(dve);urlSerializer=U(Rp);location=U(I0);urlHandlingStrategy=U(mb);injector=U(Ti);_events=new Dt;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=U(fve);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=U(vR,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!U(lb,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:t=>{this.console.warn(t)}}),this.subscribeToNavigationEvents()}eventsSubscription=new vt;subscribeToNavigationEvents(){const t=this.navigationTransitions.events.subscribe(i=>{try{const r=this.navigationTransitions.currentTransition,o=or(this.navigationTransitions.currentNavigation);if(null!==r&&null!==o)if(this.stateManager.handleRouterEvent(i,o),i instanceof f0&&i.code!==ps.Redirect&&i.code!==ps.SupersededByNewNavigation)this.navigated=!0;else if(i instanceof iu)this.navigated=!0;else if(i instanceof $p){const a=i.navigationBehaviorOptions,s=this.urlHandlingStrategy.merge(i.url,r.currentRawUrl),l={browserUrl:r.extras.browserUrl,info:r.extras.info,skipLocationChange:r.extras.skipLocationChange,replaceUrl:r.extras.replaceUrl||"eager"===this.urlUpdateStrategy||hve(r.source),...a};this.scheduleNavigation(s,jp,null,l,{resolve:r.resolve,reject:r.reject,promise:r.promise})}(function X5e(e){return!(e instanceof nb||e instanceof $p)})(i)&&this._events.next(i)}catch(r){this.navigationTransitions.transitionAbortWithErrorSubject.next(r)}});this.eventsSubscription.add(t)}resetRootComponentType(t){this.routerState.root.component=t,this.navigationTransitions.rootComponentType=t}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),jp,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((t,i,r)=>{this.navigateToSyncWithBrowser(t,r,i)})}navigateToSyncWithBrowser(t,i,r){const o={replaceUrl:!0},a=r?.navigationId?r:null;if(r){const l={...r};delete l.navigationId,delete l.\u0275routerPageId,0!==Object.keys(l).length&&(o.state=l)}const s=this.parseUrl(t);this.scheduleNavigation(s,i,a,o).catch(l=>{this.disposed||this.injector.get(yl)(l)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return or(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(t){this.config=t.map(cb),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(t,i={}){const{relativeTo:r,queryParams:o,fragment:a,queryParamsHandling:s,preserveFragment:l}=i,c=l?this.currentUrlTree.fragment:a;let p,h=null;switch(s??this.options.defaultQueryParamsHandling){case"merge":h={...this.currentUrlTree.queryParams,...o};break;case"preserve":h=this.currentUrlTree.queryParams;break;default:h=o||null}null!==h&&(h=this.removeEmptyProps(h));try{p=UF(r?r.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof t[0]||"/"!==t[0][0])&&(t=[]),p=this.currentUrlTree.root}return qF(p,t,h,c??null)}navigateByUrl(t,i={skipLocationChange:!1}){const r=h0(t)?t:this.parseUrl(t),o=this.urlHandlingStrategy.merge(r,this.rawUrlTree);return this.scheduleNavigation(o,jp,null,i)}navigate(t,i={skipLocationChange:!1}){return function bve(e){for(let n=0;n<e.length;n++)if(null==e[n])throw new ge(4008,!1)}(t),this.navigateByUrl(this.createUrlTree(t,i),i)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){try{return this.urlSerializer.parse(t)}catch{return this.console.warn(ti(4018,!1)),this.urlSerializer.parse("/")}}isActive(t,i){let r;if(r=!0===i?{..._ve}:!1===i?{...yve}:i,h0(t))return LF(this.currentUrlTree,t,r);const o=this.parseUrl(t);return LF(this.currentUrlTree,o,r)}removeEmptyProps(t){return Object.entries(t).reduce((i,[r,o])=>(null!=o&&(i[r]=o),i),{})}scheduleNavigation(t,i,r,o,a){if(this.disposed)return Promise.resolve(!1);let s,l,c;a?(s=a.resolve,l=a.reject,c=a.promise):c=new Promise((p,S)=>{s=p,l=S});const h=this.pendingTasks.add();return function vve(e,n){e.events.pipe(gr(t=>t instanceof iu||t instanceof f0||t instanceof tb||t instanceof qf),Wt(t=>t instanceof iu||t instanceof qf?0:t instanceof f0&&(t.code===ps.Redirect||t.code===ps.SupersededByNewNavigation)?2:1),gr(t=>2!==t),pc(1)).subscribe(()=>{n()})}(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(h))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:r,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:t,extras:o,resolve:s,reject:l,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(p=>Promise.reject(p))}static \u0275fac=function(i){return new(i||e)};static \u0275prov=Ke({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Xd=(()=>{class e{router;route;tabIndexAttribute;renderer;el;locationStrategy;reactiveHref=io(null);get href(){return or(this.reactiveHref)}set href(t){this.reactiveHref.set(t)}target;queryParams;fragment;queryParamsHandling;state;info;relativeTo;isAnchorElement;subscription;onChanges=new Dt;applicationErrorHandler=U(yl);options=U(Jp,{optional:!0});constructor(t,i,r,o,a,s){this.router=t,this.route=i,this.tabIndexAttribute=r,this.renderer=o,this.el=a,this.locationStrategy=s,this.reactiveHref.set(U(new SJ("href"),{optional:!0}));const l=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===l||"area"===l||!("object"!=typeof customElements||!customElements.get(l)?.observedAttributes?.includes?.("href")),this.isAnchorElement?this.setTabIndexIfNotOnNativeEl("0"):this.subscribeToNavigationEventsIfNecessary()}subscribeToNavigationEventsIfNecessary(){if(void 0!==this.subscription||!this.isAnchorElement)return;let t=this.preserveFragment;const i=r=>"merge"===r||"preserve"===r;t||=i(this.queryParamsHandling),t||=!this.queryParamsHandling&&!i(this.options?.defaultQueryParamsHandling),t&&(this.subscription=this.router.events.subscribe(r=>{r instanceof iu&&this.updateHref()}))}preserveFragment=!1;skipLocationChange=!1;replaceUrl=!1;setTabIndexIfNotOnNativeEl(t){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",t)}ngOnChanges(t){this.isAnchorElement&&(this.updateHref(),this.subscribeToNavigationEventsIfNecessary()),this.onChanges.next(this)}routerLinkInput=null;set routerLink(t){null==t?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(this.routerLinkInput=h0(t)||Array.isArray(t)?t:[t],this.setTabIndexIfNotOnNativeEl("0"))}onClick(t,i,r,o,a){const s=this.urlTree;if(null===s||this.isAnchorElement&&(0!==t||i||r||o||a||"string"==typeof this.target&&"_self"!=this.target))return!0;const l={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(s,l)?.catch(c=>{this.applicationErrorHandler(c)}),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){const t=this.urlTree;this.reactiveHref.set(null!==t&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(t))??"":null)}applyAttributeValue(t,i){const r=this.renderer,o=this.el.nativeElement;null!==i?r.setAttribute(o,t,i):r.removeAttribute(o,t)}get urlTree(){return null===this.routerLinkInput?null:h0(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static \u0275fac=function(i){return new(i||e)(xe(Qd),xe(jf),N2("tabindex"),xe(oo),xe(pn),xe(w4))};static \u0275dir=_t({type:e,selectors:[["","routerLink",""]],hostVars:2,hostBindings:function(i,r){1&i&&Fe("click",function(a){return r.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),2&i&&ft("href",r.reactiveHref(),_S)("target",r.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",Xe],skipLocationChange:[2,"skipLocationChange","skipLocationChange",Xe],replaceUrl:[2,"replaceUrl","replaceUrl",Xe],routerLink:"routerLink"},features:[wn]})}return e})();class Yve{_letterKeyStream=new Dt;_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new Dt;selectedItem=this._selectedItem;constructor(n,t){const i="number"==typeof t?.debounceInterval?t.debounceInterval:200;t?.skipPredicate&&(this._skipPredicateFn=t.skipPredicate),this.setItems(n),this._setupKeyHandler(i)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(n){this._selectedItemIndex=n}setItems(n){this._items=n}handleKey(n){const t=n.keyCode;n.key&&1===n.key.length?this._letterKeyStream.next(n.key.toLocaleUpperCase()):(t>=65&&t<=90||t>=48&&t<=57)&&this._letterKeyStream.next(String.fromCharCode(t))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(n){this._letterKeyStream.pipe(Qo(t=>this._pressedLetters.push(t)),ip(n),gr(()=>this._pressedLetters.length>0),Wt(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(t=>{for(let i=1;i<this._items.length+1;i++){const o=this._items[(this._selectedItemIndex+i)%this._items.length];if(!this._skipPredicateFn?.(o)&&0===o.getLabel?.().toLocaleUpperCase().trim().indexOf(t)){this._selectedItem.next(o);break}}this._pressedLetters=[]})}}class jve{_items;_activeItemIndex=io(-1);_activeItem=io(null);_wrap=!1;_typeaheadSubscription=vt.EMPTY;_itemChangesSubscription;_vertical=!0;_horizontal;_allowedModifierKeys=[];_homeAndEnd=!1;_pageUpAndDown={enabled:!1,delta:10};_effectRef;_typeahead;_skipPredicateFn=n=>n.disabled;constructor(n,t){this._items=n,n instanceof V0?this._itemChangesSubscription=n.changes.subscribe(i=>this._itemsChanged(i.toArray())):C4(n)&&(this._effectRef=A7(()=>this._itemsChanged(n()),{injector:t}))}tabOut=new Dt;change=new Dt;skipPredicate(n){return this._skipPredicateFn=n,this}withWrap(n=!0){return this._wrap=n,this}withVerticalOrientation(n=!0){return this._vertical=n,this}withHorizontalOrientation(n){return this._horizontal=n,this}withAllowedModifierKeys(n){return this._allowedModifierKeys=n,this}withTypeAhead(n=200){this._typeaheadSubscription.unsubscribe();const t=this._getItemsArray();return this._typeahead=new Yve(t,{debounceInterval:"number"==typeof n?n:void 0,skipPredicate:i=>this._skipPredicateFn(i)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(i=>{this.setActiveItem(i)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(n=!0){return this._homeAndEnd=n,this}withPageUpDown(n=!0,t=10){return this._pageUpAndDown={enabled:n,delta:t},this}setActiveItem(n){const t=this._activeItem();this.updateActiveItem(n),this._activeItem()!==t&&this.change.next(this._activeItemIndex())}onKeydown(n){const t=n.keyCode,r=["altKey","ctrlKey","metaKey","shiftKey"].every(o=>!n[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(t){case 9:return void this.tabOut.next();case 40:if(this._vertical&&r){this.setNextItemActive();break}return;case 38:if(this._vertical&&r){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&r){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&r){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&r){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&r){this.setLastItemActive();break}return;case 33:if(this._pageUpAndDown.enabled&&r){const o=this._activeItemIndex()-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>0?o:0,1);break}return;case 34:if(this._pageUpAndDown.enabled&&r){const o=this._activeItemIndex()+this._pageUpAndDown.delta,a=this._getItemsArray().length;this._setActiveItemByIndex(o<a?o:a-1,-1);break}return;default:return void((r||Sp(n,"shiftKey"))&&this._typeahead?.handleKey(n))}this._typeahead?.reset(),n.preventDefault()}get activeItemIndex(){return this._activeItemIndex()}get activeItem(){return this._activeItem()}isTyping(){return!!this._typeahead&&this._typeahead.isTyping()}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._getItemsArray().length-1,-1)}setNextItemActive(){this._activeItemIndex()<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex()<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(n){const t=this._getItemsArray(),i="number"==typeof n?n:t.indexOf(n);this._activeItem.set(t[i]??null),this._activeItemIndex.set(i),this._typeahead?.setCurrentSelectedItemIndex(i)}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._typeahead?.destroy(),this.tabOut.complete(),this.change.complete()}_setActiveItemByDelta(n){this._wrap?this._setActiveInWrapMode(n):this._setActiveInDefaultMode(n)}_setActiveInWrapMode(n){const t=this._getItemsArray();for(let i=1;i<=t.length;i++){const r=(this._activeItemIndex()+n*i+t.length)%t.length;if(!this._skipPredicateFn(t[r]))return void this.setActiveItem(r)}}_setActiveInDefaultMode(n){this._setActiveItemByIndex(this._activeItemIndex()+n,n)}_setActiveItemByIndex(n,t){const i=this._getItemsArray();if(i[n]){for(;this._skipPredicateFn(i[n]);)if(!i[n+=t])return;this.setActiveItem(n)}}_getItemsArray(){return C4(this._items)?this._items():this._items instanceof V0?this._items.toArray():this._items}_itemsChanged(n){this._typeahead?.setItems(n);const t=this._activeItem();if(t){const i=n.indexOf(t);i>-1&&i!==this._activeItemIndex()&&(this._activeItemIndex.set(i),this._typeahead?.setCurrentSelectedItemIndex(i))}}}class $ve extends jve{_origin="program";setFocusOrigin(n){return this._origin=n,this}setActiveItem(n){super.setActiveItem(n),this.activeItem&&this.activeItem.focus(this._origin)}}let Wve=(()=>{class e{create(t){return typeof MutationObserver>"u"?null:new MutationObserver(t)}static \u0275fac=function(i){return new(i||e)};static \u0275prov=Ke({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Gve=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=Ci({type:e});static \u0275inj=$n({providers:[Wve]})}return e})();var p0=function(e){return e[e.NONE=0]="NONE",e[e.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",e[e.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",e}(p0||{});const HR="cdk-high-contrast-black-on-white",VR="cdk-high-contrast-white-on-black",bb="cdk-high-contrast-active";let n9e=(()=>{class e{_platform=U(Ha);_hasCheckedHighContrastMode;_document=U(Mr);_breakpointSubscription;constructor(){this._breakpointSubscription=U(Age).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return p0.NONE;const t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);const i=this._document.defaultView||window,r=i&&i.getComputedStyle?i.getComputedStyle(t):null,o=(r&&r.backgroundColor||"").replace(/ /g,"");switch(t.remove(),o){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return p0.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return p0.BLACK_ON_WHITE}return p0.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const t=this._document.body.classList;t.remove(bb,HR,VR),this._hasCheckedHighContrastMode=!0;const i=this.getHighContrastMode();i===p0.BLACK_ON_WHITE?t.add(bb,HR):i===p0.WHITE_ON_BLACK&&t.add(bb,VR)}}static \u0275fac=function(i){return new(i||e)};static \u0275prov=Ke({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),i9e=(()=>{class e{constructor(){U(n9e)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(i){return new(i||e)};static \u0275mod=Ci({type:e});static \u0275inj=$n({imports:[Gve]})}return e})();const r9e=["nz-menu-item",""],BR=["*"],o9e=["nz-submenu-inline-child",""];function a9e(e,n){}const s9e=["nz-submenu-none-inline-child",""];function l9e(e,n){}const c9e=["nz-submenu-title",""];function u9e(e,n){1&e&&ze(0,"nz-icon",0),2&e&&L("nzType",k().nzIcon)}function d9e(e,n){if(1&e&&($e(0),J(1,"span",4),He(2),te(),je()),2&e){const t=k();I(2),dn(t.nzTitle)}}function h9e(e,n){1&e&&ze(0,"nz-icon",5)}function f9e(e,n){1&e&&ze(0,"nz-icon",6)}function p9e(e,n){if(1&e&&(J(0,"span",2),lt(1,h9e,1,0,"nz-icon",5)(2,f9e,1,0,"nz-icon",6),te()),2&e){let t;const i=k();I(),ct("rtl"===(t=i.dir)?1:2)}}function m9e(e,n){1&e&&ze(0,"span",3)}const g9e=["nz-submenu",""],v9e=[[["","title",""]],"*"],_9e=["[title]","*"];function y9e(e,n){1&e&&Ro(0)}function b9e(e,n){if(1&e&&ze(0,"div",3),2&e){const t=k(),i=Yi(6);L("mode",t.mode)("nzOpen",t.nzOpen)("@.disabled",!(null==t.noAnimation||!t.noAnimation.nzNoAnimation))("nzNoAnimation",null==t.noAnimation?null:t.noAnimation.nzNoAnimation)("menuClass",t.nzMenuClassName)("templateOutlet",i)}}function C9e(e,n){if(1&e){const t=nt();J(0,"div",6),Fe("subMenuMouseState",function(r){return ce(t),ue(k(2).setMouseEnterState(r))}),te()}if(2&e){const t=k(2),i=Yi(6);L("theme",t.theme)("mode",t.mode)("nzOpen",t.nzOpen)("position",t.position)("nzDisabled",t.nzDisabled)("isMenuInsideDropDown",t.isMenuInsideDropDown)("nzTriggerSubMenuAction",t.nzTriggerSubMenuAction)("templateOutlet",i)("menuClass",t.nzMenuClassName)("@.disabled",!(null==t.noAnimation||!t.noAnimation.nzNoAnimation))("nzNoAnimation",null==t.noAnimation?null:t.noAnimation.nzNoAnimation)}}function w9e(e,n){if(1&e){const t=nt();ve(0,C9e,1,11,"ng-template",5),Fe("positionChange",function(r){return ce(t),ue(k().onPositionChange(r))})("overlayOutsideClick",function(){return ce(t),ue(k().setMouseEnterState(!1))})}if(2&e){const t=k(),i=Yi(1);L("cdkConnectedOverlayPositions",t.overlayPositions)("cdkConnectedOverlayOrigin",i)("cdkConnectedOverlayWidth",t.triggerWidth)("cdkConnectedOverlayOpen",t.nzOpen)("cdkConnectedOverlayTransformOriginOn",".ant-menu-submenu")}}function S9e(e,n){1&e&&Ro(0,1)}const M9e=["titleElement"],T9e=["nz-menu-group",""],D9e=["*",[["","title",""]]],x9e=["*","[title]"];function k9e(e,n){if(1&e&&($e(0),He(1),je()),2&e){const t=k();I(),dn(t.nzTitle)}}function E9e(e,n){1&e&&Ro(0,1)}let ru=(()=>{class e{descendantMenuItemClick$=new Dt;childMenuItemClick$=new Dt;theme$=new on("light");mode$=new on("vertical");inlineIndent$=new on(24);isChildSubMenuOpen$=new on(!1);onDescendantMenuItemClick(t){this.descendantMenuItemClick$.next(t)}onChildMenuItemClick(t){this.childMenuItemClick$.next(t)}setMode(t){this.mode$.next(t)}setTheme(t){this.theme$.next(t)}setInlineIndent(t){this.inlineIndent$.next(t)}static \u0275fac=function(i){return new(i||e)};static \u0275prov=Ke({token:e,factory:e.\u0275fac})}return e})();const Cc=new Ae(""),UR=new Ae("");let Cb=(()=>{class e{nzMenuService=U(ru);nzHostSubmenuService=U(e,{optional:!0,skipSelf:!0});mode$=this.nzMenuService.mode$.pipe(Wt(t=>"inline"===t?"inline":"vertical"===t||this.nzHostSubmenuService?"vertical":"horizontal"));level=1;isMenuInsideDropDown=U(Cc);isCurrentSubMenuOpen$=new on(!1);isChildSubMenuOpen$=new on(!1);isMouseEnterTitleOrOverlay$=new Dt;childMenuItemClick$=new Dt;onChildMenuItemClick(t){this.childMenuItemClick$.next(t)}setOpenStateWithoutDebounce(t){this.isCurrentSubMenuOpen$.next(t)}setMouseEnterTitleOrOverlayState(t){this.isMouseEnterTitleOrOverlay$.next(t)}constructor(){this.nzHostSubmenuService&&(this.level=this.nzHostSubmenuService.level+1);const t=this.childMenuItemClick$.pipe(Go(()=>this.mode$),gr(o=>"inline"!==o||this.isMenuInsideDropDown),Wt(()=>!1)),i=Ts(this.isMouseEnterTitleOrOverlay$,t);Qu([this.isChildSubMenuOpen$,i]).pipe(Wt(([o,a])=>o||a),Bd(150)).pipe(Wu(),gt()).subscribe(o=>{this.setOpenStateWithoutDebounce(o),this.nzHostSubmenuService?this.nzHostSubmenuService.isChildSubMenuOpen$.next(o):this.nzMenuService.isChildSubMenuOpen$.next(o)})}static \u0275fac=function(i){return new(i||e)};static \u0275prov=Ke({token:e,factory:e.\u0275fac})}return e})(),wb=(()=>{class e{nzMenuService=U(ru);destroyRef=U(kn);cdr=U(Tr);nzSubmenuService=U(Cb,{optional:!0});directionality=U(co);routerLink=U(Xd,{optional:!0});router=U(Qd,{optional:!0});isMenuInsideDropDown=U(Cc);level=this.nzSubmenuService?this.nzSubmenuService.level+1:1;selected$=new Dt;inlinePaddingLeft=null;dir="ltr";nzPaddingLeft;nzDisabled=!1;nzSelected=!1;nzDanger=!1;nzMatchRouterExact=!1;nzMatchRouter=!1;listOfRouterLink;clickMenuItem(t){if(this.nzDisabled)return t.preventDefault(),void t.stopPropagation();this.nzMenuService.onDescendantMenuItemClick(this),this.nzSubmenuService?this.nzSubmenuService.onChildMenuItemClick(this):this.nzMenuService.onChildMenuItemClick(this)}setSelectedState(t){this.nzSelected=t,this.selected$.next(t)}updateRouterActive(){!this.listOfRouterLink||!this.router||!this.router.navigated||!this.nzMatchRouter||Promise.resolve().then(()=>{const t=this.hasActiveLinks();this.nzSelected!==t&&(this.nzSelected=t,this.setSelectedState(this.nzSelected),this.cdr.markForCheck())})}hasActiveLinks(){const t=this.isLinkActive(this.router);return this.routerLink&&t(this.routerLink)||this.listOfRouterLink.some(t)}isLinkActive(t){return i=>t.isActive(i.urlTree||"",{paths:this.nzMatchRouterExact?"exact":"subset",queryParams:this.nzMatchRouterExact?"exact":"subset",fragment:"ignored",matrixParams:"ignored"})}constructor(){this.router?.events.pipe(gt(),gr(t=>t instanceof iu)).subscribe(()=>this.updateRouterActive())}ngOnInit(){Qu([this.nzMenuService.mode$,this.nzMenuService.inlineIndent$]).pipe(gt(this.destroyRef)).subscribe(([t,i])=>{this.inlinePaddingLeft="inline"===t?this.level*i:null}),this.dir=this.directionality.value,this.directionality.change?.pipe(gt(this.destroyRef)).subscribe(t=>{this.dir=t})}ngAfterContentInit(){this.listOfRouterLink.changes.pipe(gt(this.destroyRef)).subscribe(()=>this.updateRouterActive()),this.updateRouterActive()}ngOnChanges(t){const{nzSelected:i}=t;i&&this.setSelectedState(this.nzSelected)}static \u0275fac=function(i){return new(i||e)};static \u0275cmp=bt({type:e,selectors:[["","nz-menu-item",""]],contentQueries:function(i,r,o){if(1&i&&Za(o,Xd,5),2&i){let a;En(a=In())&&(r.listOfRouterLink=a)}},hostVars:20,hostBindings:function(i,r){1&i&&Fe("click",function(a){return r.clickMenuItem(a)}),2&i&&(nr("padding-left","rtl"===r.dir?null:r.nzPaddingLeft||r.inlinePaddingLeft,"px")("padding-right","rtl"===r.dir?r.nzPaddingLeft||r.inlinePaddingLeft:null,"px"),jt("ant-dropdown-menu-item",r.isMenuInsideDropDown)("ant-dropdown-menu-item-selected",r.isMenuInsideDropDown&&r.nzSelected)("ant-dropdown-menu-item-danger",r.isMenuInsideDropDown&&r.nzDanger)("ant-dropdown-menu-item-disabled",r.isMenuInsideDropDown&&r.nzDisabled)("ant-menu-item",!r.isMenuInsideDropDown)("ant-menu-item-selected",!r.isMenuInsideDropDown&&r.nzSelected)("ant-menu-item-danger",!r.isMenuInsideDropDown&&r.nzDanger)("ant-menu-item-disabled",!r.isMenuInsideDropDown&&r.nzDisabled))},inputs:{nzPaddingLeft:[2,"nzPaddingLeft","nzPaddingLeft",ghe],nzDisabled:[2,"nzDisabled","nzDisabled",Xe],nzSelected:[2,"nzSelected","nzSelected",Xe],nzDanger:[2,"nzDanger","nzDanger",Xe],nzMatchRouterExact:[2,"nzMatchRouterExact","nzMatchRouterExact",Xe],nzMatchRouter:[2,"nzMatchRouter","nzMatchRouter",Xe]},exportAs:["nzMenuItem"],features:[wn],attrs:r9e,ngContentSelectors:BR,decls:2,vars:0,consts:[[1,"ant-menu-title-content"]],template:function(i,r){1&i&&(Pa(),si(0,"span",0),Ro(1),li())},encapsulation:2,changeDetection:0})}return e})(),I9e=(()=>{class e{elementRef=U(pn);renderer=U(oo);directionality=U(co);destroyRef=U(kn);templateOutlet=null;menuClass="";mode="vertical";nzOpen=!1;listOfCacheClassName=[];expandState="collapsed";dir="ltr";calcMotionState(){this.expandState=this.nzOpen?"expanded":"collapsed"}ngOnInit(){this.calcMotionState(),this.dir=this.directionality.value,this.directionality.change?.pipe(gt(this.destroyRef)).subscribe(t=>{this.dir=t})}ngOnChanges(t){const{mode:i,nzOpen:r,menuClass:o}=t;(i||r)&&this.calcMotionState(),o&&(this.listOfCacheClassName.length&&this.listOfCacheClassName.forEach(a=>{a&&this.renderer.removeClass(this.elementRef.nativeElement,a)}),this.menuClass&&(this.listOfCacheClassName=this.menuClass.split(" "),this.listOfCacheClassName.forEach(a=>{a&&this.renderer.addClass(this.elementRef.nativeElement,a)})))}static \u0275fac=function(i){return new(i||e)};static \u0275cmp=bt({type:e,selectors:[["","nz-submenu-inline-child",""]],hostAttrs:[1,"ant-menu","ant-menu-inline","ant-menu-sub"],hostVars:3,hostBindings:function(i,r){2&i&&(_h("@collapseMotion",r.expandState),jt("ant-menu-rtl","rtl"===r.dir))},inputs:{templateOutlet:"templateOutlet",menuClass:"menuClass",mode:"mode",nzOpen:"nzOpen"},exportAs:["nzSubmenuInlineChild"],features:[wn],attrs:o9e,decls:1,vars:1,consts:[[3,"ngTemplateOutlet"]],template:function(i,r){1&i&&ve(0,a9e,0,0,"ng-template",0),2&i&&L("ngTemplateOutlet",r.templateOutlet)},dependencies:[Ml],encapsulation:2,data:{animation:[u8e]},changeDetection:0})}return e})(),z9e=(()=>{class e{directionality=U(co);destroyRef=U(kn);menuClass="";theme="light";templateOutlet=null;isMenuInsideDropDown=!1;mode="vertical";nzTriggerSubMenuAction="hover";position="right";nzDisabled=!1;nzOpen=!1;subMenuMouseState=new ht;expandState="collapsed";dir="ltr";setMouseState(t){!this.nzDisabled&&"hover"===this.nzTriggerSubMenuAction&&this.subMenuMouseState.next(t)}calcMotionState(){this.nzOpen?"horizontal"===this.mode?this.expandState="bottom":"vertical"===this.mode&&(this.expandState="active"):this.expandState="collapsed"}ngOnInit(){this.calcMotionState(),this.dir=this.directionality.value,this.directionality.change?.pipe(gt(this.destroyRef)).subscribe(t=>{this.dir=t})}ngOnChanges(t){const{mode:i,nzOpen:r}=t;(i||r)&&this.calcMotionState()}static \u0275fac=function(i){return new(i||e)};static \u0275cmp=bt({type:e,selectors:[["","nz-submenu-none-inline-child",""]],hostAttrs:[1,"ant-menu-submenu","ant-menu-submenu-popup"],hostVars:14,hostBindings:function(i,r){1&i&&Fe("mouseenter",function(){return r.setMouseState(!0)})("mouseleave",function(){return r.setMouseState(!1)}),2&i&&(_h("@slideMotion",r.expandState)("@zoomBigMotion",r.expandState),jt("ant-menu-light","light"===r.theme)("ant-menu-dark","dark"===r.theme)("ant-menu-submenu-placement-bottom","horizontal"===r.mode)("ant-menu-submenu-placement-right","vertical"===r.mode&&"right"===r.position)("ant-menu-submenu-placement-left","vertical"===r.mode&&"left"===r.position)("ant-menu-submenu-rtl","rtl"===r.dir))},inputs:{menuClass:"menuClass",theme:"theme",templateOutlet:"templateOutlet",isMenuInsideDropDown:"isMenuInsideDropDown",mode:"mode",nzTriggerSubMenuAction:"nzTriggerSubMenuAction",position:"position",nzDisabled:"nzDisabled",nzOpen:"nzOpen"},outputs:{subMenuMouseState:"subMenuMouseState"},exportAs:["nzSubmenuNoneInlineChild"],features:[wn],attrs:s9e,decls:2,vars:17,consts:[[3,"ngTemplateOutlet"]],template:function(i,r){1&i&&(J(0,"div"),ve(1,l9e,0,0,"ng-template",0),te()),2&i&&(Re(r.menuClass),jt("ant-dropdown-menu",r.isMenuInsideDropDown)("ant-menu",!r.isMenuInsideDropDown)("ant-dropdown-menu-vertical",r.isMenuInsideDropDown)("ant-menu-vertical",!r.isMenuInsideDropDown)("ant-dropdown-menu-sub",r.isMenuInsideDropDown)("ant-menu-sub",!r.isMenuInsideDropDown)("ant-menu-rtl","rtl"===r.dir),I(),L("ngTemplateOutlet",r.templateOutlet))},dependencies:[Ml],encapsulation:2,data:{animation:[Py,Dp]},changeDetection:0})}return e})(),qR=(()=>{class e{destroyRef=U(kn);cdr=U(Tr);directionality=U(co);nzIcon=null;nzTitle=null;isMenuInsideDropDown=!1;nzDisabled=!1;paddingLeft=null;mode="vertical";nzTriggerSubMenuAction="hover";toggleSubMenu=new ht;subMenuMouseState=new ht;dir="ltr";ngOnInit(){this.dir=this.directionality.value,this.directionality.change?.pipe(gt(this.destroyRef)).subscribe(t=>{this.dir=t,this.cdr.detectChanges()})}setMouseState(t){!this.nzDisabled&&"hover"===this.nzTriggerSubMenuAction&&this.subMenuMouseState.next(t)}clickTitle(){("inline"===this.mode||"click"===this.nzTriggerSubMenuAction)&&!this.nzDisabled&&(this.subMenuMouseState.next(!0),this.toggleSubMenu.emit())}static \u0275fac=function(i){return new(i||e)};static \u0275cmp=bt({type:e,selectors:[["","nz-submenu-title",""]],hostVars:8,hostBindings:function(i,r){1&i&&Fe("click",function(){return r.clickTitle()})("mouseenter",function(){return r.setMouseState(!0)})("mouseleave",function(){return r.setMouseState(!1)}),2&i&&(nr("padding-left","rtl"===r.dir?null:r.paddingLeft,"px")("padding-right","rtl"===r.dir?r.paddingLeft:null,"px"),jt("ant-dropdown-menu-submenu-title",r.isMenuInsideDropDown)("ant-menu-submenu-title",!r.isMenuInsideDropDown))},inputs:{nzIcon:"nzIcon",nzTitle:"nzTitle",isMenuInsideDropDown:"isMenuInsideDropDown",nzDisabled:"nzDisabled",paddingLeft:"paddingLeft",mode:"mode",nzTriggerSubMenuAction:"nzTriggerSubMenuAction"},outputs:{toggleSubMenu:"toggleSubMenu",subMenuMouseState:"subMenuMouseState"},exportAs:["nzSubmenuTitle"],attrs:c9e,ngContentSelectors:BR,decls:5,vars:3,consts:[[3,"nzType"],[4,"nzStringTemplateOutlet"],[1,"ant-dropdown-menu-submenu-expand-icon"],[1,"ant-menu-submenu-arrow"],[1,"ant-menu-title-content"],["nzType","left",1,"ant-dropdown-menu-submenu-arrow-icon"],["nzType","right",1,"ant-dropdown-menu-submenu-arrow-icon"]],template:function(i,r){1&i&&(Pa(),lt(0,u9e,1,1,"nz-icon",0),ve(1,d9e,3,1,"ng-container",1),Ro(2),lt(3,p9e,3,1,"span",2)(4,m9e,1,0,"span",3)),2&i&&(ct(r.nzIcon?0:-1),I(),L("nzStringTemplateOutlet",r.nzTitle),I(2),ct(r.isMenuInsideDropDown?3:4))},dependencies:[mc,Va,Al,Xo],encapsulation:2,changeDetection:0})}return e})();const YR=[lr.rightTop,lr.right,lr.rightBottom,lr.leftTop,lr.left,lr.leftBottom],A9e=[lr.bottomLeft,lr.bottomRight,lr.topRight,lr.topLeft];let jR=(()=>{class e{nzSubmenuService=U(Cb);isMenuInsideDropDown=U(Cc);noAnimation=U(gc,{optional:!0,host:!0});directionality=U(co);destroyRef=U(kn);nzMenuService=U(ru);cdr=U(Tr);platform=U(Ha);nzMenuClassName="";nzPaddingLeft=null;nzTitle=null;nzIcon=null;nzTriggerSubMenuAction="hover";nzOpen=!1;nzDisabled=!1;nzPlacement="bottomLeft";nzOpenChange=new ht;cdkOverlayOrigin=null;listOfNzSubMenuComponent=null;listOfNzMenuItemDirective=null;level=this.nzSubmenuService.level;position="right";triggerWidth=null;theme="light";mode="vertical";inlinePaddingLeft=null;overlayPositions=YR;isSelected=!1;isActive=!1;dir="ltr";setOpenStateWithoutDebounce(t){this.nzSubmenuService.setOpenStateWithoutDebounce(t)}toggleSubMenu(){this.setOpenStateWithoutDebounce(!this.nzOpen)}setMouseEnterState(t){this.isActive=t,"inline"!==this.mode&&this.nzSubmenuService.setMouseEnterTitleOrOverlayState(t)}setTriggerWidth(){"horizontal"===this.mode&&this.platform.isBrowser&&this.cdkOverlayOrigin&&"bottomLeft"===this.nzPlacement&&(this.triggerWidth=this.cdkOverlayOrigin.nativeElement.getBoundingClientRect().width)}onPositionChange(t){const i=xp(t);"rightTop"===i||"rightBottom"===i||"right"===i?this.position="right":("leftTop"===i||"leftBottom"===i||"left"===i)&&(this.position="left")}ngOnInit(){this.nzMenuService.theme$.pipe(gt(this.destroyRef)).subscribe(t=>{this.theme=t,this.cdr.markForCheck()}),this.nzSubmenuService.mode$.pipe(gt(this.destroyRef)).subscribe(t=>{this.mode=t,"horizontal"===t?this.overlayPositions=[lr[this.nzPlacement],...A9e]:"vertical"===t&&(this.overlayPositions=YR),this.cdr.markForCheck()}),Qu([this.nzSubmenuService.mode$,this.nzMenuService.inlineIndent$]).pipe(gt(this.destroyRef)).subscribe(([t,i])=>{this.inlinePaddingLeft="inline"===t?this.level*i:null,this.cdr.markForCheck()}),this.nzSubmenuService.isCurrentSubMenuOpen$.pipe(gt(this.destroyRef)).subscribe(t=>{this.isActive=t,t!==this.nzOpen&&(this.setTriggerWidth(),this.nzOpen=t,this.nzOpenChange.emit(this.nzOpen),this.cdr.markForCheck())}),this.dir=this.directionality.value,this.directionality.change?.pipe(gt(this.destroyRef)).subscribe(t=>{this.dir=t,this.cdr.markForCheck()})}ngAfterContentInit(){this.setTriggerWidth();const t=this.listOfNzMenuItemDirective,i=t.changes,r=Ts(i,...t.map(o=>o.selected$));i.pipe(tu(t),Na(()=>r),tu(!0),Wt(()=>t.some(o=>o.nzSelected)),gt(this.destroyRef)).subscribe(o=>{this.isSelected=o,this.cdr.markForCheck()})}ngOnChanges(t){const{nzOpen:i}=t;i&&(this.nzSubmenuService.setOpenStateWithoutDebounce(this.nzOpen),this.setTriggerWidth())}static \u0275fac=function(i){return new(i||e)};static \u0275cmp=bt({type:e,selectors:[["","nz-submenu",""]],contentQueries:function(i,r,o){if(1&i&&(Za(o,e,5),Za(o,wb,5)),2&i){let a;En(a=In())&&(r.listOfNzSubMenuComponent=a),En(a=In())&&(r.listOfNzMenuItemDirective=a)}},viewQuery:function(i,r){if(1&i&&Hi(Af,7,pn),2&i){let o;En(o=In())&&(r.cdkOverlayOrigin=o.first)}},hostVars:34,hostBindings:function(i,r){2&i&&jt("ant-dropdown-menu-submenu",r.isMenuInsideDropDown)("ant-dropdown-menu-submenu-disabled",r.isMenuInsideDropDown&&r.nzDisabled)("ant-dropdown-menu-submenu-open",r.isMenuInsideDropDown&&r.nzOpen)("ant-dropdown-menu-submenu-selected",r.isMenuInsideDropDown&&r.isSelected)("ant-dropdown-menu-submenu-vertical",r.isMenuInsideDropDown&&"vertical"===r.mode)("ant-dropdown-menu-submenu-horizontal",r.isMenuInsideDropDown&&"horizontal"===r.mode)("ant-dropdown-menu-submenu-inline",r.isMenuInsideDropDown&&"inline"===r.mode)("ant-dropdown-menu-submenu-active",r.isMenuInsideDropDown&&r.isActive)("ant-menu-submenu",!r.isMenuInsideDropDown)("ant-menu-submenu-disabled",!r.isMenuInsideDropDown&&r.nzDisabled)("ant-menu-submenu-open",!r.isMenuInsideDropDown&&r.nzOpen)("ant-menu-submenu-selected",!r.isMenuInsideDropDown&&r.isSelected)("ant-menu-submenu-vertical",!r.isMenuInsideDropDown&&"vertical"===r.mode)("ant-menu-submenu-horizontal",!r.isMenuInsideDropDown&&"horizontal"===r.mode)("ant-menu-submenu-inline",!r.isMenuInsideDropDown&&"inline"===r.mode)("ant-menu-submenu-active",!r.isMenuInsideDropDown&&r.isActive)("ant-menu-submenu-rtl","rtl"===r.dir)},inputs:{nzMenuClassName:"nzMenuClassName",nzPaddingLeft:"nzPaddingLeft",nzTitle:"nzTitle",nzIcon:"nzIcon",nzTriggerSubMenuAction:"nzTriggerSubMenuAction",nzOpen:[2,"nzOpen","nzOpen",Xe],nzDisabled:[2,"nzDisabled","nzDisabled",Xe],nzPlacement:"nzPlacement"},outputs:{nzOpenChange:"nzOpenChange"},exportAs:["nzSubmenu"],features:[Yn([Cb]),wn],attrs:g9e,ngContentSelectors:_9e,decls:7,vars:9,consts:[["origin","cdkOverlayOrigin"],["subMenuTemplate",""],["nz-submenu-title","","cdkOverlayOrigin","",3,"subMenuMouseState","toggleSubMenu","nzIcon","nzTitle","mode","nzDisabled","isMenuInsideDropDown","paddingLeft","nzTriggerSubMenuAction"],["nz-submenu-inline-child","",3,"mode","nzOpen","nzNoAnimation","menuClass","templateOutlet"],["cdkConnectedOverlay","",3,"cdkConnectedOverlayPositions","cdkConnectedOverlayOrigin","cdkConnectedOverlayWidth","cdkConnectedOverlayOpen","cdkConnectedOverlayTransformOriginOn"],["cdkConnectedOverlay","",3,"positionChange","overlayOutsideClick","cdkConnectedOverlayPositions","cdkConnectedOverlayOrigin","cdkConnectedOverlayWidth","cdkConnectedOverlayOpen","cdkConnectedOverlayTransformOriginOn"],["nz-submenu-none-inline-child","",3,"subMenuMouseState","theme","mode","nzOpen","position","nzDisabled","isMenuInsideDropDown","nzTriggerSubMenuAction","templateOutlet","menuClass","nzNoAnimation"]],template:function(i,r){if(1&i){const o=nt();Pa(v9e),J(0,"div",2,0),Fe("subMenuMouseState",function(s){return ce(o),ue(r.setMouseEnterState(s))})("toggleSubMenu",function(){return ce(o),ue(r.toggleSubMenu())}),lt(2,y9e,1,0),te(),lt(3,b9e,1,6,"div",3)(4,w9e,1,5,null,4),ve(5,S9e,1,0,"ng-template",null,1,Gr)}2&i&&(L("nzIcon",r.nzIcon)("nzTitle",r.nzTitle)("mode",r.mode)("nzDisabled",r.nzDisabled)("isMenuInsideDropDown",r.isMenuInsideDropDown)("paddingLeft",r.nzPaddingLeft||r.inlinePaddingLeft)("nzTriggerSubMenuAction",r.nzTriggerSubMenuAction),I(2),ct(r.nzTitle?-1:2),I(),ct("inline"===r.mode?3:4))},dependencies:[qR,I9e,gc,z9e,Tp,l0,Af],encapsulation:2,changeDetection:0})}return e})();function L9e(){const e=U(ru,{skipSelf:!0,optional:!0}),n=U(UR);return e??n}function O9e(){return U(Cc,{skipSelf:!0,optional:!0})??!1}let P9e=(()=>{class e{nzMenuService=U(ru);destroyRef=U(kn);cdr=U(Tr);directionality=U(co);listOfNzMenuItemDirective;isMenuInsideDropDown=U(Cc);listOfNzSubMenuComponent;nzInlineIndent=24;nzTheme="light";nzMode="vertical";nzInlineCollapsed=!1;nzSelectable=!this.isMenuInsideDropDown;nzClick=new ht;actualMode="vertical";dir="ltr";inlineCollapsed$=new on(this.nzInlineCollapsed);mode$=new on(this.nzMode);listOfOpenedNzSubMenuComponent=[];setInlineCollapsed(t){this.nzInlineCollapsed=t,this.inlineCollapsed$.next(t)}updateInlineCollapse(){this.listOfNzMenuItemDirective&&(this.nzInlineCollapsed?(this.listOfOpenedNzSubMenuComponent=this.listOfNzSubMenuComponent.filter(t=>t.nzOpen),this.listOfNzSubMenuComponent.forEach(t=>t.setOpenStateWithoutDebounce(!1))):(this.listOfOpenedNzSubMenuComponent.forEach(t=>t.setOpenStateWithoutDebounce(!0)),this.listOfOpenedNzSubMenuComponent=[]))}ngOnInit(){Qu([this.inlineCollapsed$,this.mode$]).pipe(gt(this.destroyRef)).subscribe(([t,i])=>{this.actualMode=t?"vertical":i,this.nzMenuService.setMode(this.actualMode),this.cdr.markForCheck()}),this.nzMenuService.descendantMenuItemClick$.pipe(gt(this.destroyRef)).subscribe(t=>{this.nzClick.emit(t),this.nzSelectable&&!t.nzMatchRouter&&this.listOfNzMenuItemDirective.forEach(i=>i.setSelectedState(i===t))}),this.dir=this.directionality.value,this.directionality.change?.pipe(gt(this.destroyRef)).subscribe(t=>{this.dir=t,this.nzMenuService.setMode(this.actualMode),this.cdr.markForCheck()})}ngAfterContentInit(){this.inlineCollapsed$.pipe(gt(this.destroyRef)).subscribe(()=>{this.updateInlineCollapse(),this.cdr.markForCheck()})}ngOnChanges(t){const{nzInlineCollapsed:i,nzInlineIndent:r,nzTheme:o,nzMode:a}=t;i&&this.inlineCollapsed$.next(this.nzInlineCollapsed),r&&this.nzMenuService.setInlineIndent(this.nzInlineIndent),o&&this.nzMenuService.setTheme(this.nzTheme),a&&(this.mode$.next(this.nzMode),!a.isFirstChange()&&this.listOfNzSubMenuComponent&&this.listOfNzSubMenuComponent.forEach(s=>s.setOpenStateWithoutDebounce(!1)))}static \u0275fac=function(i){return new(i||e)};static \u0275dir=_t({type:e,selectors:[["","nz-menu",""]],contentQueries:function(i,r,o){if(1&i&&(Za(o,wb,5),Za(o,jR,5)),2&i){let a;En(a=In())&&(r.listOfNzMenuItemDirective=a),En(a=In())&&(r.listOfNzSubMenuComponent=a)}},hostVars:34,hostBindings:function(i,r){2&i&&jt("ant-dropdown-menu",r.isMenuInsideDropDown)("ant-dropdown-menu-root",r.isMenuInsideDropDown)("ant-dropdown-menu-light",r.isMenuInsideDropDown&&"light"===r.nzTheme)("ant-dropdown-menu-dark",r.isMenuInsideDropDown&&"dark"===r.nzTheme)("ant-dropdown-menu-vertical",r.isMenuInsideDropDown&&"vertical"===r.actualMode)("ant-dropdown-menu-horizontal",r.isMenuInsideDropDown&&"horizontal"===r.actualMode)("ant-dropdown-menu-inline",r.isMenuInsideDropDown&&"inline"===r.actualMode)("ant-dropdown-menu-inline-collapsed",r.isMenuInsideDropDown&&r.nzInlineCollapsed)("ant-menu",!r.isMenuInsideDropDown)("ant-menu-root",!r.isMenuInsideDropDown)("ant-menu-light",!r.isMenuInsideDropDown&&"light"===r.nzTheme)("ant-menu-dark",!r.isMenuInsideDropDown&&"dark"===r.nzTheme)("ant-menu-vertical",!r.isMenuInsideDropDown&&"vertical"===r.actualMode)("ant-menu-horizontal",!r.isMenuInsideDropDown&&"horizontal"===r.actualMode)("ant-menu-inline",!r.isMenuInsideDropDown&&"inline"===r.actualMode)("ant-menu-inline-collapsed",!r.isMenuInsideDropDown&&r.nzInlineCollapsed)("ant-menu-rtl","rtl"===r.dir)},inputs:{nzInlineIndent:"nzInlineIndent",nzTheme:"nzTheme",nzMode:"nzMode",nzInlineCollapsed:[2,"nzInlineCollapsed","nzInlineCollapsed",Xe],nzSelectable:[2,"nzSelectable","nzSelectable",Xe]},outputs:{nzClick:"nzClick"},exportAs:["nzMenu"],features:[Yn([{provide:UR,useClass:ru},{provide:ru,useFactory:L9e},{provide:Cc,useFactory:O9e}]),wn]})}return e})();function N9e(){return U(Cc,{optional:!0,skipSelf:!0})??!1}let F9e=(()=>{class e{renderer=U(oo);isMenuInsideDropDown=U(Cc);nzTitle;titleElement;ngAfterViewInit(){const t=this.titleElement.nativeElement.nextElementSibling;t&&this.renderer.addClass(t,this.isMenuInsideDropDown?"ant-dropdown-menu-item-group-list":"ant-menu-item-group-list")}static \u0275fac=function(i){return new(i||e)};static \u0275cmp=bt({type:e,selectors:[["","nz-menu-group",""]],viewQuery:function(i,r){if(1&i&&Hi(M9e,5),2&i){let o;En(o=In())&&(r.titleElement=o.first)}},hostVars:4,hostBindings:function(i,r){2&i&&jt("ant-menu-item-group",!r.isMenuInsideDropDown)("ant-dropdown-menu-item-group",r.isMenuInsideDropDown)},inputs:{nzTitle:"nzTitle"},exportAs:["nzMenuGroup"],features:[Yn([{provide:Cc,useFactory:N9e}])],attrs:T9e,ngContentSelectors:x9e,decls:5,vars:6,consts:[["titleElement",""],[4,"nzStringTemplateOutlet"]],template:function(i,r){1&i&&(Pa(D9e),J(0,"div",null,0),ve(2,k9e,2,1,"ng-container",1),lt(3,E9e,1,0),te(),Ro(4)),2&i&&(jt("ant-menu-item-group-title",!r.isMenuInsideDropDown)("ant-dropdown-menu-item-group-title",r.isMenuInsideDropDown),I(2),L("nzStringTemplateOutlet",r.nzTitle),I(),ct(r.nzTitle?-1:3))},dependencies:[Al,Xo],encapsulation:2,changeDetection:0})}return e})(),R9e=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=Ci({type:e});static \u0275inj=$n({imports:[jR,F9e,qR]})}return e})();const H9e=["*"];function V9e(e,n){1&e&&ze(0,"div",1)}function B9e(e,n){if(1&e){const t=nt();J(0,"div",0),Fe("@slideMotion.done",function(r){return ce(t),ue(k().onAnimationEvent(r))})("mouseenter",function(){return ce(t),ue(k().setMouseState(!0))})("mouseleave",function(){return ce(t),ue(k().setMouseState(!1))}),lt(1,V9e,1,0,"div",1),Ro(2),te()}if(2&e){const t=k();xi(t.nzOverlayStyle),Re(t.nzOverlayClassName),jt("ant-dropdown-rtl","rtl"===t.dir)("ant-dropdown-show-arrow",t.nzArrow)("ant-dropdown-placement-bottomLeft","bottomLeft"===t.placement)("ant-dropdown-placement-bottomRight","bottomRight"===t.placement)("ant-dropdown-placement-bottom","bottom"===t.placement)("ant-dropdown-placement-topLeft","topLeft"===t.placement)("ant-dropdown-placement-topRight","topRight"===t.placement)("ant-dropdown-placement-top","top"===t.placement),L("@slideMotion",void 0)("@.disabled",!(null==t.noAnimation||!t.noAnimation.nzNoAnimation))("nzNoAnimation",null==t.noAnimation?null:t.noAnimation.nzNoAnimation),I(),ct(t.nzArrow?1:-1)}}const q9e=["bottomLeft","bottomRight","topRight","topLeft"],Sb=e=>"topCenter"===e?"top":"bottomCenter"===e?"bottom":e;let Y9e=(()=>{let e,n=[],t=[];return class Rb{static{const r="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;e=[Er()],mr(null,null,e,{kind:"field",name:"nzBackdrop",static:!1,private:!1,access:{has:o=>"nzBackdrop"in o,get:o=>o.nzBackdrop,set:(o,a)=>{o.nzBackdrop=a}},metadata:r},n,t),r&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:r})}nzConfigService=U(zl);renderer=U(oo);viewContainerRef=U(La);platform=U(Ha);destroyRef=U(kn);_nzModuleName="dropDown";elementRef=U(pn);injector=U($r);portal;overlayRef=null;inputVisible$=new on(!1);nzTrigger$=new on("hover");overlayClose$=new Dt;nzDropdownMenu=null;nzTrigger="hover";nzMatchWidthElement=null;nzBackdrop=sn(this,n,!1);nzClickHide=(sn(this,t),!0);nzDisabled=!1;nzVisible=!1;nzArrow=!1;nzOverlayClassName="";nzOverlayStyle={};nzPlacement="bottomLeft";nzVisibleChange=new ht;constructor(){this.destroyRef.onDestroy(()=>{this.overlayRef?.dispose(),this.overlayRef=null})}setDropdownMenuValue(r,o){this.nzDropdownMenu?.setValue(r,o)}ngAfterViewInit(){if(this.nzDropdownMenu){const r=this.elementRef.nativeElement,o=Ts(Fd(r,"mouseenter").pipe(Wt(()=>!0)),Fd(r,"mouseleave").pipe(Wt(()=>!1))),s=Ts(this.nzDropdownMenu.mouseState$,o),l=Fd(r,"click").pipe(Wt(()=>!this.nzVisible)),p=Ts(this.nzTrigger$.pipe(Na(v=>"hover"===v?s:"click"===v?l:ds)),this.nzDropdownMenu.descendantMenuItemClick$.pipe(gr(()=>this.nzClickHide),Wt(()=>!1)),this.overlayClose$).pipe(gr(()=>!this.nzDisabled));Qu([Ts(this.inputVisible$,p),this.nzDropdownMenu.isChildSubMenuOpen$]).pipe(Wt(([v,C])=>v||C),Bd(150),Wu(),gr(()=>this.platform.isBrowser),gt(this.destroyRef)).subscribe(v=>{const P=(this.nzMatchWidthElement?this.nzMatchWidthElement.nativeElement:r).getBoundingClientRect().width;if(this.nzVisible!==v&&this.nzVisibleChange.emit(v),this.nzVisible=v,v){const Z=Ly(this.injector,this.elementRef.nativeElement).withLockedPosition().withTransformOriginOn(".ant-dropdown");Z.positionChanges.pipe(gr(()=>!!this.overlayRef),Wt(ie=>xp(ie)),gt(this.destroyRef)).subscribe(ie=>{ie&&this.setDropdownMenuValue("placement",Sb(ie))}),this.overlayRef?this.overlayRef.getConfig().minWidth=P:(this.overlayRef=Oy(this.injector,{positionStrategy:Z,minWidth:P,disposeOnNavigation:!0,hasBackdrop:this.nzBackdrop&&"click"===this.nzTrigger,scrollStrategy:Mp(this.injector)}),Ts(this.overlayRef.backdropClick(),this.overlayRef.detachments(),this.overlayRef.outsidePointerEvents().pipe(gr(ie=>!this.elementRef.nativeElement.contains(ie.target))),this.overlayRef.keydownEvents().pipe(gr(ie=>27===ie.keyCode&&!Sp(ie)))).pipe(gt(this.destroyRef)).subscribe(()=>{this.overlayClose$.next(!1)}));const re=[this.nzPlacement,...q9e].map(ie=>this.nzArrow?qd(lr[ie],Ud[ie]):lr[ie]);Z.withPositions(re),(!this.portal||this.portal.templateRef!==this.nzDropdownMenu.templateRef)&&(this.portal=new Ey(this.nzDropdownMenu.templateRef,this.viewContainerRef)),this.setDropdownMenuValue("nzArrow",this.nzArrow),this.setDropdownMenuValue("placement",Sb(this.nzPlacement)),this.overlayRef.attach(this.portal)}else this.overlayRef?.detach()}),this.nzDropdownMenu.animationStateChange$.pipe(gt(this.destroyRef)).subscribe(v=>{"void"===v.toState&&(this.overlayRef?.dispose(),this.overlayRef=null)})}}ngOnChanges(r){const{nzVisible:o,nzDisabled:a,nzOverlayClassName:s,nzOverlayStyle:l,nzTrigger:c,nzArrow:h,nzPlacement:p}=r;if(c&&this.nzTrigger$.next(this.nzTrigger),o&&this.inputVisible$.next(this.nzVisible),a){const S=this.elementRef.nativeElement;this.nzDisabled?(this.renderer.setAttribute(S,"disabled",""),this.inputVisible$.next(!1)):this.renderer.removeAttribute(S,"disabled")}s&&this.setDropdownMenuValue("nzOverlayClassName",this.nzOverlayClassName),l&&this.setDropdownMenuValue("nzOverlayStyle",this.nzOverlayStyle),h&&this.setDropdownMenuValue("nzArrow",this.nzArrow),p&&this.setDropdownMenuValue("placement",Sb(this.nzPlacement))}static \u0275fac=function(o){return new(o||Rb)};static \u0275dir=_t({type:Rb,selectors:[["","nz-dropdown",""]],hostAttrs:[1,"ant-dropdown-trigger"],inputs:{nzDropdownMenu:"nzDropdownMenu",nzTrigger:"nzTrigger",nzMatchWidthElement:"nzMatchWidthElement",nzBackdrop:[2,"nzBackdrop","nzBackdrop",Xe],nzClickHide:[2,"nzClickHide","nzClickHide",Xe],nzDisabled:[2,"nzDisabled","nzDisabled",Xe],nzVisible:[2,"nzVisible","nzVisible",Xe],nzArrow:[2,"nzArrow","nzArrow",Xe],nzOverlayClassName:"nzOverlayClassName",nzOverlayStyle:"nzOverlayStyle",nzPlacement:"nzPlacement"},outputs:{nzVisibleChange:"nzVisibleChange"},exportAs:["nzDropdown"],features:[wn]})}})(),j9e=(()=>{class e{cdr=U(Tr);elementRef=U(pn);renderer=U(oo);viewContainerRef=U(La);directionality=U(co);destroyRef=U(kn);noAnimation=U(gc,{host:!0,optional:!0});nzMenuService=U(ru);isChildSubMenuOpen$=this.nzMenuService.isChildSubMenuOpen$;descendantMenuItemClick$=this.nzMenuService.descendantMenuItemClick$;mouseState$=new on(!1);animationStateChange$=new ht;templateRef;nzOverlayClassName="";nzOverlayStyle={};nzArrow=!1;placement="bottomLeft";dir="ltr";onAnimationEvent(t){this.animationStateChange$.emit(t)}setMouseState(t){this.mouseState$.next(t)}setValue(t,i){this[t]=i,this.cdr.markForCheck()}ngOnInit(){this.directionality.change?.pipe(gt(this.destroyRef)).subscribe(t=>{this.dir=t,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngAfterContentInit(){this.renderer.removeChild(this.renderer.parentNode(this.elementRef.nativeElement),this.elementRef.nativeElement)}static \u0275fac=function(i){return new(i||e)};static \u0275cmp=bt({type:e,selectors:[["nz-dropdown-menu"]],viewQuery:function(i,r){if(1&i&&Hi(Wo,7),2&i){let o;En(o=In())&&(r.templateRef=o.first)}},exportAs:["nzDropdownMenu"],features:[Yn([ru,{provide:Cc,useValue:!0}])],ngContentSelectors:H9e,decls:1,vars:0,consts:[[1,"ant-dropdown",3,"mouseenter","mouseleave","nzNoAnimation"],[1,"ant-dropdown-arrow"]],template:function(i,r){1&i&&(Pa(),ve(0,B9e,3,24,"ng-template"))},dependencies:[gc],encapsulation:2,data:{animation:[Dp]},changeDetection:0})}return e})();function $9e(e,n){if(1&e&&($e(0),ze(1,"nz-icon",1),je()),2&e){const t=n.$implicit;I(),L("nzType",t)}}new Nr({originX:"start",originY:"top"},{overlayX:"start",overlayY:"top"}),new Nr({originX:"start",originY:"top"},{overlayX:"start",overlayY:"bottom"}),new Nr({originX:"start",originY:"top"},{overlayX:"end",overlayY:"bottom"}),new Nr({originX:"start",originY:"top"},{overlayX:"end",overlayY:"top"});const W9e=["nz-tab-body",""];function G9e(e,n){}function K9e(e,n){if(1&e&&($e(0),ze(1,"nz-icon",1),je()),2&e){const t=n.$implicit;I(),L("nzType",t)}}const Q9e=()=>({minWidth:"46px"}),Z9e=()=>({visible:!1});function X9e(e,n){if(1&e&&($e(0),He(1),je()),2&e){const t=k().$implicit;I(),At(" ",t.tab.label," ")}}function J9e(e,n){if(1&e){const t=nt();J(0,"li",7),Fe("click",function(){const r=ce(t).$implicit;return ue(k(2).onSelect(r))})("contextmenu",function(r){const o=ce(t).$implicit;return ue(k(2).onContextmenu(o,r))}),ve(1,X9e,2,1,"ng-container",8),te()}if(2&e){const t=n.$implicit;jt("ant-tabs-dropdown-menu-item-disabled",t.disabled),L("nzSelected",t.active)("nzDisabled",t.disabled),I(),L("nzStringTemplateOutlet",t.tab.label)("nzStringTemplateOutletContext",Uc(6,Z9e))}}function e_e(e,n){if(1&e&&(J(0,"ul",4),Ai(1,J9e,2,7,"li",6,P1),te()),2&e){const t=k();I(),Li(t.items)}}function t_e(e,n){if(1&e){const t=nt();J(0,"button",9),Fe("click",function(){return ce(t),ue(k().addClicked.emit())}),te()}2&e&&L("addIcon",k().addIcon)}const n_e=["navWrap"],i_e=["navList"],r_e=["*"];function o_e(e,n){}function a_e(e,n){if(1&e&&(J(0,"div",2),ve(1,o_e,0,0,"ng-template",8),te()),2&e){const t=k();I(),L("ngTemplateOutlet",t.startExtraContent().templateRef)}}function s_e(e,n){if(1&e){const t=nt();J(0,"button",9),Fe("click",function(){return ce(t),ue(k().addClicked.emit())}),te()}2&e&&(L("addIcon",k().addIcon),ft("tabindex",-1))}function l_e(e,n){}function c_e(e,n){if(1&e&&(J(0,"div",2),ve(1,l_e,0,0,"ng-template",8),te()),2&e){const t=k();I(),L("ngTemplateOutlet",t.endExtraContent().templateRef)}}function u_e(e,n){}function d_e(e,n){if(1&e&&(J(0,"div",2),ve(1,u_e,0,0,"ng-template",8),te()),2&e){const t=k();I(),L("ngTemplateOutlet",t.extraTemplate)}}const h_e=["contentTemplate"],f_e=[[["","nz-tab-link",""]],"*"],p_e=["[nz-tab-link]","*"];function m_e(e,n){1&e&&Ro(0)}function g_e(e,n){1&e&&Ro(0,1)}const v_e=()=>({visible:!0});function __e(e,n){if(1&e&&($e(0),He(1),je()),2&e){const t=k().$implicit;I(),At(" ",t.label," ")}}function y_e(e,n){if(1&e){const t=nt();J(0,"button",10),Fe("click",function(r){ce(t);const o=k().$index;return ue(k(2).onClose(o,r))}),te()}2&e&&L("closeIcon",k().$implicit.nzCloseIcon)}function b_e(e,n){if(1&e){const t=nt();J(0,"div",6),Fe("click",function(r){const o=ce(t),a=o.$implicit,s=o.$index;return ue(k(2).clickNavItem(a,s,r))})("contextmenu",function(r){const o=ce(t).$implicit;return ue(k(2).contextmenuNavItem(o,r))}),J(1,"button",7),ve(2,__e,2,1,"ng-container",8),lt(3,y_e,1,1,"button",9),te()()}if(2&e){const t=n.$implicit,i=n.$index,r=k(2);nr("margin-right","horizontal"===r.position?r.nzTabBarGutter:null,"px")("margin-bottom","vertical"===r.position?r.nzTabBarGutter:null,"px"),jt("ant-tabs-tab-active",r.nzSelectedIndex===i)("ant-tabs-tab-disabled",t.nzDisabled),I(),L("id",r.getTabContentId(i))("disabled",t.nzDisabled)("tab",t)("active",r.nzSelectedIndex===i),ft("tabIndex",r.getTabIndex(t,i))("aria-disabled",t.nzDisabled)("aria-selected",r.nzSelectedIndex===i&&!r.nzHideAll)("aria-controls",r.getTabContentId(i)),I(),L("nzStringTemplateOutlet",t.label)("nzStringTemplateOutletContext",Uc(19,v_e)),I(),ct(t.nzClosable&&r.closable&&!t.nzDisabled?3:-1)}}function C_e(e,n){if(1&e){const t=nt();J(0,"nz-tabs-nav",4),Fe("tabScroll",function(r){return ce(t),ue(k().nzTabListScroll.emit(r))})("selectFocusedIndex",function(r){return ce(t),ue(k().setSelectedIndex(r))})("addClicked",function(){return ce(t),ue(k().onAdd())}),Ai(1,b_e,4,20,"div",5,P1),te()}if(2&e){const t=k();xi(t.nzTabBarStyle),L("selectedIndex",t.nzSelectedIndex||0)("inkBarAnimated",t.inkBarAnimated)("addable",t.addable)("addIcon",t.nzAddIcon)("hideBar",t.nzHideAll)("position",t.position)("extraTemplate",t.nzTabBarExtraContent)("extraContents",t.extraContents()),I(),Li(t.tabs)}}function w_e(e,n){}function S_e(e,n){1&e&&ve(0,w_e,0,0,"ng-template",11),2&e&&(k(),L("ngTemplateOutlet",Yi(4)))}function M_e(e,n){}function T_e(e,n){1&e&&ve(0,M_e,0,0,"ng-template",11),2&e&&(k(2),L("ngTemplateOutlet",Yi(4)))}function D_e(e,n){if(1&e&&lt(0,T_e,1,1,null,11),2&e){const t=k().$index;ct(k(2).nzSelectedIndex===t?0:-1)}}function x_e(e,n){}function k_e(e,n){1&e&&ve(0,x_e,0,0,"ng-template",11),2&e&&(k(2),L("ngTemplateOutlet",Yi(4)))}function E_e(e,n){if(1&e&&lt(0,k_e,1,1,null,11),2&e){const t=k(),i=t.$implicit,r=t.$index;ct(k(2).nzSelectedIndex===r||i.hasBeenActive?0:-1)}}function I_e(e,n){if(1&e&&ze(0,"div",12),2&e){const t=k(),i=t.$implicit,r=t.$index,o=k(2);L("id",o.getTabContentId(r))("active",o.nzSelectedIndex===r)("content",i.content)("animated",o.tabPaneAnimated),ft("aria-labelledby",o.getTabContentId(r))}}function z_e(e,n){if(1&e&&(lt(0,S_e,1,1,null,11)(1,D_e,1,1)(2,E_e,1,1),ve(3,I_e,1,5,"ng-template",null,0,Gr)),2&e){const t=n.$implicit,i=k(2);ct(t.nzForceRender?0:i.nzDestroyInactiveTabPane?1:2)}}function A_e(e,n){1&e&&Ai(0,z_e,5,1,null,null,P1),2&e&&Li(k().tabs)}class L_e{index;tab}let Qf=(()=>{class e{addIcon="plus";element=U(pn).nativeElement;getElementWidth(){return this.element?.offsetWidth||0}getElementHeight(){return this.element?.offsetHeight||0}static \u0275fac=function(i){return new(i||e)};static \u0275cmp=bt({type:e,selectors:[["nz-tab-add-button"],["button","nz-tab-add-button",""]],hostAttrs:["aria-label","Add tab","type","button",1,"ant-tabs-nav-add"],inputs:{addIcon:"addIcon"},decls:1,vars:1,consts:[[4,"nzStringTemplateOutlet"],["nzTheme","outline",3,"nzType"]],template:function(i,r){1&i&&ve(0,$9e,2,1,"ng-container",0),2&i&&L("nzStringTemplateOutlet",r.addIcon)},dependencies:[Al,Xo,mc,Va],encapsulation:2})}return e})(),Mb=(()=>{class e{position=qc("end",{alias:"nzTabBarExtraContent"});templateRef=U(Wo);static \u0275fac=function(i){return new(i||e)};static \u0275dir=_t({type:e,selectors:[["","nzTabBarExtraContent","",5,"nz-tabset",5,"nz-tabs"]],inputs:{position:[1,"nzTabBarExtraContent","position"]}})}return e})(),$R=(()=>{class e{content=null;active=!1;animated=!0;static \u0275fac=function(i){return new(i||e)};static \u0275cmp=bt({type:e,selectors:[["","nz-tab-body",""]],hostAttrs:[1,"ant-tabs-tabpane"],hostVars:10,hostBindings:function(i,r){2&i&&(_h("@tabSwitchMotion",r.active?"enter":"leave")("@.disabled",!r.animated),ft("tabindex",r.active?0:-1)("aria-hidden",!r.active),nr("overflow-y",r.animated?r.active?null:"none":null),jt("ant-tabs-tabpane-active",r.active)("ant-tabs-tabpane-hidden",r.animated?null:!r.active))},inputs:{content:"content",active:"active",animated:"animated"},exportAs:["nzTabBody"],attrs:W9e,decls:1,vars:1,consts:[[3,"ngTemplateOutlet"]],template:function(i,r){1&i&&ve(0,G9e,0,0,"ng-template",0),2&i&&L("ngTemplateOutlet",r.content)},dependencies:[Ml],encapsulation:2,data:{animation:[f8e]},changeDetection:0})}return e})(),Tb=(()=>{class e{closeIcon="close";static \u0275fac=function(i){return new(i||e)};static \u0275cmp=bt({type:e,selectors:[["nz-tab-close-button"],["button","nz-tab-close-button",""]],hostAttrs:["aria-label","Close tab","type","button",1,"ant-tabs-tab-remove"],inputs:{closeIcon:"closeIcon"},decls:1,vars:1,consts:[[4,"nzStringTemplateOutlet"],["nzTheme","outline",3,"nzType"]],template:function(i,r){1&i&&ve(0,K9e,2,1,"ng-container",0),2&i&&L("nzStringTemplateOutlet",r.closeIcon)},dependencies:[Al,Xo,mc,Va],encapsulation:2})}return e})(),WR=(()=>{class e{templateRef=U(Wo,{host:!0});static \u0275fac=function(i){return new(i||e)};static \u0275dir=_t({type:e,selectors:[["ng-template","nzTabLink",""]],exportAs:["nzTabLinkTemplate"]})}return e})(),Db=(()=>{class e{elementRef=U(pn);routerLink=U(Xd,{self:!0,optional:!0});static \u0275fac=function(i){return new(i||e)};static \u0275dir=_t({type:e,selectors:[["a","nz-tab-link",""]],exportAs:["nzTabLink"]})}return e})(),xb=(()=>{class e{disabled=!1;tab;active=!1;elementRef=U(pn);el=this.elementRef.nativeElement;parentElement=this.el.parentElement;focus(){this.el.focus({preventScroll:!0})}get width(){return this.parentElement.offsetWidth}get height(){return this.parentElement.offsetHeight}get left(){return this.parentElement.offsetLeft}get top(){return this.parentElement.offsetTop}static \u0275fac=function(i){return new(i||e)};static \u0275dir=_t({type:e,selectors:[["","nzTabNavItem",""]],inputs:{disabled:[2,"disabled","disabled",Xe],tab:"tab",active:[2,"active","active",Xe]}})}return e})(),em=(()=>{class e{items=[];addable=!1;addIcon="plus";addClicked=new ht;selected=new ht;closeAnimationWaitTimeoutId;menuOpened=!1;cdr=U(Tr);element=U(pn).nativeElement;onSelect(t){t.disabled||(t.tab.nzClick.emit(),this.selected.emit(t))}onContextmenu(t,i){t.disabled||t.tab.nzContextmenu.emit(i)}showItems(){clearTimeout(this.closeAnimationWaitTimeoutId),this.menuOpened=!0,this.cdr.markForCheck()}menuVisChange(t){t||(this.closeAnimationWaitTimeoutId=setTimeout(()=>{this.menuOpened=!1,this.cdr.markForCheck()},150))}getElementWidth(){return this.element?.offsetWidth||0}getElementHeight(){return this.element?.offsetHeight||0}ngOnDestroy(){clearTimeout(this.closeAnimationWaitTimeoutId)}static \u0275fac=function(i){return new(i||e)};static \u0275cmp=bt({type:e,selectors:[["nz-tab-nav-operation"]],hostAttrs:[1,"ant-tabs-nav-operations"],hostVars:2,hostBindings:function(i,r){2&i&&jt("ant-tabs-nav-operations-hidden",0===r.items.length)},inputs:{items:"items",addable:[2,"addable","addable",Xe],addIcon:"addIcon"},outputs:{addClicked:"addClicked",selected:"selected"},exportAs:["nzTabNavOperation"],decls:7,vars:6,consts:[["dropdownTrigger","nzDropdown"],["menu","nzDropdownMenu"],["nz-dropdown","","type","button","tabindex","-1","aria-hidden","true","nzOverlayClassName","nz-tabs-dropdown",1,"ant-tabs-nav-more",3,"nzVisibleChange","mouseenter","nzDropdownMenu","nzOverlayStyle","nzMatchWidthElement"],["nzType","ellipsis"],["nz-menu",""],["nz-tab-add-button","",3,"addIcon"],["nz-menu-item","",1,"ant-tabs-dropdown-menu-item",3,"ant-tabs-dropdown-menu-item-disabled","nzSelected","nzDisabled"],["nz-menu-item","",1,"ant-tabs-dropdown-menu-item",3,"click","contextmenu","nzSelected","nzDisabled"],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],["nz-tab-add-button","",3,"click","addIcon"]],template:function(i,r){if(1&i){const o=nt();J(0,"button",2,0),Fe("nzVisibleChange",function(s){return ce(o),ue(r.menuVisChange(s))})("mouseenter",function(){return ce(o),ue(r.showItems())}),ze(2,"nz-icon",3),te(),J(3,"nz-dropdown-menu",null,1),lt(5,e_e,3,0,"ul",4),te(),lt(6,t_e,1,1,"button",5)}2&i&&(L("nzDropdownMenu",Yi(4))("nzOverlayStyle",Uc(5,Q9e))("nzMatchWidthElement",null),I(5),ct(r.menuOpened?5:-1),I(),ct(r.addable?6:-1))},dependencies:[mc,Va,Al,Xo,Qf,j9e,R9e,P9e,wb,Y9e],encapsulation:2,changeDetection:0})}return e})();const KR=.995**20;let QR=(()=>{class e{ngZone=U(Gt);destroyRef=U(kn);el=U(pn).nativeElement;lastWheelDirection=null;lastWheelTimestamp=0;lastTimestamp=0;lastTimeDiff=0;lastMixedWheel=0;lastWheelPrevent=!1;touchPosition=null;lastOffset=null;motion=-1;offsetChange=new ht;tabScroll=new ht;ngOnInit(){const t=zs(this.el,"wheel"),i=zs(this.el,"touchstart"),r=zs(this.el,"touchmove"),o=zs(this.el,"touchend");this.subscribeWrap("wheel",t,this.onWheel),this.subscribeWrap("touchstart",i,this.onTouchStart),this.subscribeWrap("touchmove",r,this.onTouchMove),this.subscribeWrap("touchend",o,this.onTouchEnd)}subscribeWrap(t,i,r){return i.pipe(gt(this.destroyRef)).subscribe(o=>{this.tabScroll.emit({type:t,event:o}),o.defaultPrevented||r(o)})}onTouchEnd=t=>{if(!this.touchPosition)return;const i=this.lastOffset,r=this.lastTimeDiff;if(this.lastOffset=this.touchPosition=null,i){const o=i.x/r,a=i.y/r,s=Math.abs(o),l=Math.abs(a);if(Math.max(s,l)<.1)return;let c=o,h=a;this.motion=window.setInterval(()=>{Math.abs(c)<.01&&Math.abs(h)<.01?window.clearInterval(this.motion):(c*=KR,h*=KR,this.onOffset(20*c,20*h,t))},20)}};onTouchMove=t=>{if(!this.touchPosition)return;t.preventDefault();const{screenX:i,screenY:r}=t.touches[0],o=i-this.touchPosition.x,a=r-this.touchPosition.y;this.onOffset(o,a,t);const s=Date.now();this.lastTimeDiff=s-this.lastTimestamp,this.lastTimestamp=s,this.lastOffset={x:o,y:a},this.touchPosition={x:i,y:r}};onTouchStart=t=>{const{screenX:i,screenY:r}=t.touches[0];this.touchPosition={x:i,y:r},window.clearInterval(this.motion)};onWheel=t=>{const{deltaX:i,deltaY:r}=t;let o;const a=Math.abs(i),s=Math.abs(r);a===s?o="x"===this.lastWheelDirection?i:r:a>s?(o=i,this.lastWheelDirection="x"):(o=r,this.lastWheelDirection="y");const l=Date.now(),c=Math.abs(o);(l-this.lastWheelTimestamp>100||c-this.lastMixedWheel>10)&&(this.lastWheelPrevent=!1),this.onOffset(-o,-o,t),(t.defaultPrevented||this.lastWheelPrevent)&&(this.lastWheelPrevent=!0),this.lastWheelTimestamp=l,this.lastMixedWheel=c};onOffset(t,i,r){this.offsetChange.observers.length&&this.ngZone.run(()=>{this.offsetChange.emit({x:t,y:i,event:r})})}static \u0275fac=function(i){return new(i||e)};static \u0275dir=_t({type:e,selectors:[["","nzTabScrollList",""]],outputs:{offsetChange:"offsetChange",tabScroll:"tabScroll"}})}return e})(),kb=(()=>{class e{ngZone=U(Gt);el=U(pn).nativeElement;position="horizontal";animated=!0;animationMode=U(U0,{optional:!0});get _animated(){return"NoopAnimations"!==this.animationMode&&this.animated}alignToElement(t){this.ngZone.runOutsideAngular(()=>{Ip(()=>this.setStyles(t))})}setStyles(t){"horizontal"===this.position?(this.el.style.top="",this.el.style.height="",this.el.style.left=this.getLeftPosition(t),this.el.style.width=this.getElementWidth(t)):(this.el.style.left="",this.el.style.width="",this.el.style.top=this.getTopPosition(t),this.el.style.height=this.getElementHeight(t))}getLeftPosition(t){return t?`${t.offsetLeft||0}px`:"0"}getElementWidth(t){return t?`${t.offsetWidth||0}px`:"0"}getTopPosition(t){return t?`${t.offsetTop||0}px`:"0"}getElementHeight(t){return t?`${t.offsetHeight||0}px`:"0"}static \u0275fac=function(i){return new(i||e)};static \u0275dir=_t({type:e,selectors:[["nz-tabs-ink-bar"],["","nz-tabs-ink-bar",""]],hostAttrs:[1,"ant-tabs-ink-bar"],hostVars:2,hostBindings:function(i,r){2&i&&jt("ant-tabs-ink-bar-animated",r._animated)},inputs:{position:"position",animated:"animated"}})}return e})();const P_e=typeof Ip<"u"?F_:ap;let nm=(()=>{class e{cdr=U(Tr);ngZone=U(Gt);viewportRuler=U(If);nzResizeObserver=U(cF);dir=U(co);destroyRef=U(kn);indexFocused=new ht;selectFocusedIndex=new ht;addClicked=new ht;tabScroll=new ht;position="horizontal";addable=!1;hideBar=!1;addIcon="plus";inkBarAnimated=!0;extraTemplate;extraContents=qc.required();startExtraContent=ko(()=>this.extraContents().find(t=>"start"===t.position()));endExtraContent=ko(()=>this.extraContents().find(t=>"end"===t.position()));get selectedIndex(){return this._selectedIndex}set selectedIndex(t){const i=RP(t);this._selectedIndex!==i&&(this._selectedIndex=t,this.selectedIndexChanged=!0,this.keyManager&&this.keyManager.updateActiveItem(t))}navWrapRef;navListRef;operationRef;addBtnRef;inkBar;items;get focusIndex(){return this.keyManager?this.keyManager.activeItemIndex:0}set focusIndex(t){!this.isValidIndex(t)||this.focusIndex===t||!this.keyManager||this.keyManager.setActiveItem(t)}get showAddButton(){return 0===this.hiddenItems.length&&this.addable}translate=null;transformX=0;transformY=0;pingLeft=!1;pingRight=!1;pingTop=!1;pingBottom=!1;hiddenItems=[];keyManager;_selectedIndex=0;wrapperWidth=0;wrapperHeight=0;scrollListWidth=0;scrollListHeight=0;operationWidth=0;operationHeight=0;addButtonWidth=0;addButtonHeight=0;selectedIndexChanged=!1;lockAnimationTimeoutId;cssTransformTimeWaitingId;constructor(){this.destroyRef.onDestroy(()=>{clearTimeout(this.lockAnimationTimeoutId),clearTimeout(this.cssTransformTimeWaitingId)})}ngAfterViewInit(){const t=this.dir?this.dir.change.asObservable():Kt(null),i=this.viewportRuler.change(150),r=()=>{this.updateScrollListPosition(),this.alignInkBarToSelectedTab()};this.keyManager=new $ve(this.items).withHorizontalOrientation(this.getLayoutDirection()).withWrap(),this.keyManager.updateActiveItem(this.selectedIndex),Ip(r),Ts(this.nzResizeObserver.observe(this.navWrapRef),this.nzResizeObserver.observe(this.navListRef)).pipe(gt(this.destroyRef),Bd(16,P_e)).subscribe(()=>{r()}),Ts(t,i,this.items.changes).pipe(gt(this.destroyRef)).subscribe(()=>{Promise.resolve().then(r),this.keyManager.withHorizontalOrientation(this.getLayoutDirection())}),this.keyManager.change.pipe(gt(this.destroyRef)).subscribe(o=>{this.indexFocused.emit(o),this.scrollToTab(this.keyManager.activeItem)})}ngAfterContentChecked(){this.selectedIndexChanged&&(this.updateScrollListPosition(),this.alignInkBarToSelectedTab(),this.selectedIndexChanged=!1,this.cdr.markForCheck())}onSelectedFromMenu(t){const i=this.items.toArray().findIndex(r=>r===t);-1!==i&&(this.keyManager.updateActiveItem(i),this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this.scrollToTab(t)))}onOffsetChange(t){if("horizontal"===this.position){if(!this.lockAnimationTimeoutId&&(this.transformX>=0&&t.x>0||this.transformX<=this.wrapperWidth-this.scrollListWidth&&t.x<0))return;t.event.preventDefault(),this.transformX=this.clampTransformX(this.transformX+t.x),this.setTransform(this.transformX,0)}else{if(!this.lockAnimationTimeoutId&&(this.transformY>=0&&t.y>0||this.transformY<=this.wrapperHeight-this.scrollListHeight&&t.y<0))return;t.event.preventDefault(),this.transformY=this.clampTransformY(this.transformY+t.y),this.setTransform(0,this.transformY)}this.lockAnimation(),this.setVisibleRange(),this.setPingStatus()}handleKeydown(t){const i=this.navWrapRef.nativeElement.contains(t.target);if(!Sp(t)&&i)switch(t.keyCode){case 37:case 38:case 39:case 40:this.lockAnimation(),this.keyManager.onKeydown(t);break;case 13:case 32:this.focusIndex!==this.selectedIndex&&this.selectFocusedIndex.emit(this.focusIndex);break;default:this.keyManager.onKeydown(t)}}isValidIndex(t){if(!this.items)return!0;const i=this.items?this.items.toArray()[t]:null;return!!i&&!i.disabled}scrollToTab(t){if(!this.items.find(r=>r===t))return;const i=this.items.toArray();if("horizontal"===this.position){let r=this.transformX;if("rtl"===this.getLayoutDirection()){const o=i[0].left+i[0].width-t.left-t.width;o<this.transformX?r=o:o+t.width>this.transformX+this.wrapperWidth&&(r=o+t.width-this.wrapperWidth)}else t.left<-this.transformX?r=-t.left:t.left+t.width>-this.transformX+this.wrapperWidth&&(r=-(t.left+t.width-this.wrapperWidth));this.transformX=r,this.transformY=0,this.setTransform(r,0)}else{let r=this.transformY;t.top<-this.transformY?r=-t.top:t.top+t.height>-this.transformY+this.wrapperHeight&&(r=-(t.top+t.height-this.wrapperHeight)),this.transformY=r,this.transformX=0,this.setTransform(0,r)}clearTimeout(this.cssTransformTimeWaitingId),this.cssTransformTimeWaitingId=setTimeout(()=>{this.setVisibleRange()},150)}lockAnimation(){this.lockAnimationTimeoutId||this.ngZone.runOutsideAngular(()=>{this.navListRef.nativeElement.style.transition="none",this.lockAnimationTimeoutId=setTimeout(()=>{this.navListRef.nativeElement.style.transition="",this.lockAnimationTimeoutId=void 0},150)})}setTransform(t,i){this.navListRef.nativeElement.style.transform=`translate(${t}px, ${i}px)`}clampTransformX(t){const i=this.wrapperWidth-this.scrollListWidth;return"rtl"===this.getLayoutDirection()?Math.max(Math.min(i,t),0):Math.min(Math.max(i,t),0)}clampTransformY(t){return Math.min(Math.max(this.wrapperHeight-this.scrollListHeight,t),0)}updateScrollListPosition(){this.resetSizes(),this.transformX=this.clampTransformX(this.transformX),this.transformY=this.clampTransformY(this.transformY),this.setVisibleRange(),this.setPingStatus(),this.keyManager&&(this.keyManager.updateActiveItem(this.keyManager.activeItemIndex),this.keyManager.activeItem&&this.scrollToTab(this.keyManager.activeItem))}resetSizes(){this.addButtonWidth=this.addBtnRef?this.addBtnRef.getElementWidth():0,this.addButtonHeight=this.addBtnRef?this.addBtnRef.getElementHeight():0,this.operationWidth=this.operationRef.getElementWidth(),this.operationHeight=this.operationRef.getElementHeight(),this.wrapperWidth=this.navWrapRef.nativeElement.offsetWidth||0,this.wrapperHeight=this.navWrapRef.nativeElement.offsetHeight||0,this.scrollListHeight=this.navListRef.nativeElement.offsetHeight||0,this.scrollListWidth=this.navListRef.nativeElement.offsetWidth||0}alignInkBarToSelectedTab(){const t=this.items&&this.items.length?this.items.toArray()[this.selectedIndex]:null,i=t?t.elementRef.nativeElement:null;i&&this.inkBar.alignToElement(i.parentElement)}setPingStatus(){const t={top:!1,right:!1,bottom:!1,left:!1},i=this.navWrapRef.nativeElement;"horizontal"===this.position?"rtl"===this.getLayoutDirection()?(t.right=this.transformX>0,t.left=this.transformX+this.wrapperWidth<this.scrollListWidth):(t.left=this.transformX<0,t.right=-this.transformX+this.wrapperWidth<this.scrollListWidth):(t.top=this.transformY<0,t.bottom=-this.transformY+this.wrapperHeight<this.scrollListHeight),Object.keys(t).forEach(r=>{const o=`ant-tabs-nav-wrap-ping-${r}`;t[r]?i.classList.add(o):i.classList.remove(o)})}setVisibleRange(){let t,i,r,o,a,s;const l=this.items.toArray(),c={width:0,height:0,left:0,top:0,right:0},h=re=>{let ie;return ie="right"===i?l[0].left+l[0].width-l[re].left-l[re].width:(l[re]||c)[i],ie};"horizontal"===this.position?(t="width",o=this.wrapperWidth,a=this.scrollListWidth-(this.hiddenItems.length?this.operationWidth:0),s=this.addButtonWidth,r=Math.abs(this.transformX),"rtl"===this.getLayoutDirection()?(i="right",this.pingRight=this.transformX>0,this.pingLeft=this.transformX+this.wrapperWidth<this.scrollListWidth):(this.pingLeft=this.transformX<0,this.pingRight=-this.transformX+this.wrapperWidth<this.scrollListWidth,i="left")):(t="height",o=this.wrapperHeight,a=this.scrollListHeight-(this.hiddenItems.length?this.operationHeight:0),s=this.addButtonHeight,i="top",r=-this.transformY,this.pingTop=this.transformY<0,this.pingBottom=-this.transformY+this.wrapperHeight<this.scrollListHeight);let p=o;if(a+s>o&&(p=o-s),!l.length)return this.hiddenItems=[],void this.cdr.markForCheck();const S=l.length;let v=S;for(let re=0;re<S;re+=1)if(h(re)+(l[re]||c)[t]>r+p){v=re-1;break}let C=0;for(let re=S-1;re>=0;re-=1)if(h(re)<r){C=re+1;break}const P=l.slice(0,C),Z=l.slice(v+1);this.hiddenItems=[...P,...Z],this.cdr.markForCheck()}getLayoutDirection(){return this.dir&&"rtl"===this.dir.value?"rtl":"ltr"}ngOnChanges(t){const{position:i}=t;i&&!i.isFirstChange()&&(this.alignInkBarToSelectedTab(),this.lockAnimation(),this.updateScrollListPosition())}static \u0275fac=function(i){return new(i||e)};static \u0275cmp=bt({type:e,selectors:[["nz-tabs-nav"]],contentQueries:function(i,r,o){if(1&i&&Za(o,xb,5),2&i){let a;En(a=In())&&(r.items=a)}},viewQuery:function(i,r){if(1&i&&(Hi(n_e,7),Hi(i_e,7),Hi(em,7),Hi(Qf,5),Hi(kb,7)),2&i){let o;En(o=In())&&(r.navWrapRef=o.first),En(o=In())&&(r.navListRef=o.first),En(o=In())&&(r.operationRef=o.first),En(o=In())&&(r.addBtnRef=o.first),En(o=In())&&(r.inkBar=o.first)}},hostAttrs:[1,"ant-tabs-nav"],hostBindings:function(i,r){1&i&&Fe("keydown",function(a){return r.handleKeydown(a)})},inputs:{position:"position",addable:[2,"addable","addable",Xe],hideBar:[2,"hideBar","hideBar",Xe],addIcon:"addIcon",inkBarAnimated:"inkBarAnimated",extraTemplate:"extraTemplate",extraContents:[1,"extraContents"],selectedIndex:"selectedIndex"},outputs:{indexFocused:"indexFocused",selectFocusedIndex:"selectFocusedIndex",addClicked:"addClicked",tabScroll:"tabScroll"},exportAs:["nzTabsNav"],features:[wn],ngContentSelectors:r_e,decls:11,vars:17,consts:[["navWrap",""],["navList",""],[1,"ant-tabs-extra-content"],[1,"ant-tabs-nav-wrap"],["nzTabScrollList","","role","tablist",1,"ant-tabs-nav-list",3,"offsetChange","tabScroll"],["role","tab","nz-tab-add-button","",3,"addIcon"],["nz-tabs-ink-bar","",3,"hidden","position","animated"],[3,"addClicked","selected","addIcon","addable","items"],[3,"ngTemplateOutlet"],["role","tab","nz-tab-add-button","",3,"click","addIcon"]],template:function(i,r){if(1&i){const o=nt();Pa(),lt(0,a_e,2,1,"div",2),J(1,"div",3,0)(3,"div",4,1),Fe("offsetChange",function(s){return ce(o),ue(r.onOffsetChange(s))})("tabScroll",function(s){return ce(o),ue(r.tabScroll.emit(s))}),Ro(5),lt(6,s_e,1,2,"button",5),ze(7,"div",6),te()(),J(8,"nz-tab-nav-operation",7),Fe("addClicked",function(){return ce(o),ue(r.addClicked.emit())})("selected",function(s){return ce(o),ue(r.onSelectedFromMenu(s))}),te(),lt(9,c_e,2,1,"div",2)(10,d_e,2,1,"div",2)}2&i&&(ct(r.startExtraContent()?0:-1),I(),jt("ant-tabs-nav-wrap-ping-left",r.pingLeft)("ant-tabs-nav-wrap-ping-right",r.pingRight)("ant-tabs-nav-wrap-ping-top",r.pingTop)("ant-tabs-nav-wrap-ping-bottom",r.pingBottom),I(5),ct(r.showAddButton?6:-1),I(),L("hidden",r.hideBar)("position",r.position)("animated",r.inkBarAnimated),I(),L("addIcon",r.addIcon)("addable",r.addable)("items",r.hiddenItems),I(),ct(r.endExtraContent()?9:r.extraTemplate?10:-1))},dependencies:[QR,Qf,kb,em,Ml],encapsulation:2,changeDetection:0})}return e})(),XR=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275dir=_t({type:e,selectors:[["","nz-tab",""]],exportAs:["nzTab"]})}return e})();const JR=new Ae("");let Eb=(()=>{class e{nzTitle="";nzClosable=!1;nzCloseIcon="close";nzDisabled=!1;nzForceRender=!1;nzSelect=new ht;nzDeselect=new ht;nzClick=new ht;nzContextmenu=new ht;nzTabLinkTemplateDirective;template=null;linkDirective;contentTemplate;isActive=!1;hasBeenActive=!1;position=null;origin=null;closestTabSet=U(JR);stateChanges=new Dt;get content(){return this.template||this.contentTemplate}get label(){return this.nzTitle||this.nzTabLinkTemplateDirective?.templateRef}ngOnChanges(t){const{nzTitle:i,nzDisabled:r,nzForceRender:o}=t;(i||r||o)&&this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete()}setActive(t){this.isActive=t,t&&(this.hasBeenActive=!0)}static \u0275fac=function(i){return new(i||e)};static \u0275cmp=bt({type:e,selectors:[["nz-tab"]],contentQueries:function(i,r,o){if(1&i&&(Za(o,WR,5),Za(o,XR,5,Wo),Za(o,Db,5)),2&i){let a;En(a=In())&&(r.nzTabLinkTemplateDirective=a.first),En(a=In())&&(r.template=a.first),En(a=In())&&(r.linkDirective=a.first)}},viewQuery:function(i,r){if(1&i&&Hi(h_e,7),2&i){let o;En(o=In())&&(r.contentTemplate=o.first)}},inputs:{nzTitle:"nzTitle",nzClosable:[2,"nzClosable","nzClosable",Xe],nzCloseIcon:"nzCloseIcon",nzDisabled:[2,"nzDisabled","nzDisabled",Xe],nzForceRender:[2,"nzForceRender","nzForceRender",Xe]},outputs:{nzSelect:"nzSelect",nzDeselect:"nzDeselect",nzClick:"nzClick",nzContextmenu:"nzContextmenu"},exportAs:["nzTab"],features:[wn],ngContentSelectors:p_e,decls:4,vars:0,consts:[["tabLinkTemplate",""],["contentTemplate",""]],template:function(i,r){1&i&&(Pa(f_e),C5(0,m_e,1,0,"ng-template",null,0,Gr)(2,g_e,1,0,"ng-template",null,1,Gr))},encapsulation:2,changeDetection:0})}return e})(),F_e=0,Ib=(()=>{let e,i,a,c,n=[],t=[],r=[],o=[],s=[],l=[],h=[],p=[];return class am{static{const v="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;e=[Er()],i=[Er()],a=[Er()],c=[Er()],mr(null,null,e,{kind:"field",name:"nzType",static:!1,private:!1,access:{has:C=>"nzType"in C,get:C=>C.nzType,set:(C,P)=>{C.nzType=P}},metadata:v},n,t),mr(null,null,i,{kind:"field",name:"nzSize",static:!1,private:!1,access:{has:C=>"nzSize"in C,get:C=>C.nzSize,set:(C,P)=>{C.nzSize=P}},metadata:v},r,o),mr(null,null,a,{kind:"field",name:"nzAnimated",static:!1,private:!1,access:{has:C=>"nzAnimated"in C,get:C=>C.nzAnimated,set:(C,P)=>{C.nzAnimated=P}},metadata:v},s,l),mr(null,null,c,{kind:"field",name:"nzTabBarGutter",static:!1,private:!1,access:{has:C=>"nzTabBarGutter"in C,get:C=>C.nzTabBarGutter,set:(C,P)=>{C.nzTabBarGutter=P}},metadata:v},h,p),v&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:v})}_nzModuleName="tabs";nzConfigService=U(zl);ngZone=U(Gt);cdr=U(Tr);directionality=U(co);destroyRef=U(kn);get nzSelectedIndex(){return this.selectedIndex}set nzSelectedIndex(v){this.indexToSelect=RP(v,null)}nzTabPosition="top";nzTabBarExtraContent;nzCanDeactivate=null;nzAddIcon="plus";nzTabBarStyle=null;nzType=sn(this,n,"line");nzSize=(sn(this,t),sn(this,r,"default"));nzAnimated=(sn(this,o),sn(this,s,!0));nzTabBarGutter=(sn(this,l),sn(this,h,void 0));nzHideAdd=(sn(this,p),!1);nzCentered=!1;nzHideAll=!1;nzLinkRouter=!1;nzLinkExact=!0;nzDestroyInactiveTabPane=!1;nzSelectChange=new ht(!0);nzSelectedIndexChange=new ht;nzTabListScroll=new ht;nzClose=new ht;nzAdd=new ht;get position(){return-1===["top","bottom"].indexOf(this.nzTabPosition)?"vertical":"horizontal"}get addable(){return"editable-card"===this.nzType&&!this.nzHideAdd}get closable(){return"editable-card"===this.nzType}get line(){return"line"===this.nzType}get inkBarAnimated(){return this.line&&("boolean"==typeof this.nzAnimated?this.nzAnimated:this.nzAnimated.inkBar)}get tabPaneAnimated(){return"boolean"==typeof this.nzAnimated?this.nzAnimated:this.nzAnimated.tabPane}allTabs=new V0;tabLinks=new V0;tabNavBarRef;tabs=new V0;extraContents=function EJ(e,n){return function Rj(){return m5(!1,!1)}()}();dir="ltr";tabSetId;indexToSelect=0;selectedIndex=null;tabLabelSubscription=vt.EMPTY;canDeactivateSubscription=vt.EMPTY;router=U(Qd,{optional:!0});constructor(){this.tabSetId=F_e++,U(tE),this.destroyRef.onDestroy(()=>{this.tabs.destroy(),this.tabLabelSubscription.unsubscribe(),this.canDeactivateSubscription.unsubscribe()})}ngOnInit(){this.dir=this.directionality.value,this.directionality.change?.pipe(gt(this.destroyRef)).subscribe(v=>{this.dir=v,this.cdr.detectChanges()})}ngAfterContentInit(){this.ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>this.setUpRouter())}),this.subscribeToTabLabels(),this.subscribeToAllTabChanges(),this.tabs.changes.pipe(gt(this.destroyRef)).subscribe(()=>{if(this.clampTabIndex(this.indexToSelect)===this.selectedIndex){const C=this.tabs.toArray();for(let P=0;P<C.length;P++)if(C[P].isActive){this.indexToSelect=this.selectedIndex=P;break}}this.subscribeToTabLabels(),this.cdr.markForCheck()})}ngAfterContentChecked(){const v=this.indexToSelect=this.clampTabIndex(this.indexToSelect);if(this.selectedIndex!==v){const C=null==this.selectedIndex;C||this.nzSelectChange.emit(this.createChangeEvent(v)),Promise.resolve().then(()=>{this.tabs.forEach((P,Z)=>P.setActive(Z===v)),C||this.nzSelectedIndexChange.emit(v)})}this.tabs.forEach((C,P)=>{C.position=P-v,null!=this.selectedIndex&&0===C.position&&!C.origin&&(C.origin=v-this.selectedIndex)}),this.selectedIndex!==v&&(this.selectedIndex=v,this.cdr.markForCheck())}onClose(v,C){C.preventDefault(),C.stopPropagation(),this.nzClose.emit({index:v})}onAdd(){this.nzAdd.emit()}clampTabIndex(v){return Math.min(this.tabs.length-1,Math.max(v||0,0))}createChangeEvent(v){const C=new L_e;return C.index=v,this.tabs&&this.tabs.length&&(C.tab=this.tabs.toArray()[v],this.tabs.forEach((P,Z)=>{Z!==v&&P.nzDeselect.emit()}),C.tab.nzSelect.emit()),C}subscribeToTabLabels(){this.tabLabelSubscription&&this.tabLabelSubscription.unsubscribe(),this.tabLabelSubscription=Ts(...this.tabs.map(v=>v.stateChanges)).subscribe(()=>this.cdr.markForCheck())}subscribeToAllTabChanges(){this.allTabs.changes.pipe(tu(this.allTabs)).subscribe(v=>{this.tabs.reset(v.filter(C=>C.closestTabSet===this)),this.tabs.notifyOnChanges()})}canDeactivateFun(v,C){return"function"==typeof this.nzCanDeactivate?wP(this.nzCanDeactivate(v,C)).pipe(Zu(),gt(this.destroyRef)):Kt(!0)}clickNavItem(v,C,P){v.nzDisabled||(v.nzClick.emit(),this.isRouterLinkClickEvent(C,P)||this.setSelectedIndex(C))}isRouterLinkClickEvent(v,C){const P=C.target;return!!this.nzLinkRouter&&!!this.tabs.toArray()[v]?.linkDirective?.elementRef.nativeElement.contains(P)}contextmenuNavItem(v,C){v.nzDisabled||v.nzContextmenu.emit(C)}setSelectedIndex(v){this.canDeactivateSubscription.unsubscribe(),this.canDeactivateSubscription=this.canDeactivateFun(this.selectedIndex,v).subscribe(C=>{C&&(this.nzSelectedIndex=v,this.tabNavBarRef.focusIndex=v,this.cdr.markForCheck())})}getTabIndex(v,C){return v.nzDisabled?null:this.selectedIndex===C?0:-1}getTabContentId(v){return`nz-tabs-${this.tabSetId}-tab-${v}`}setUpRouter(){if(this.nzLinkRouter){if(!this.router)throw new Error(`${gf} you should import 'RouterModule' if you want to use 'nzLinkRouter'!`);Ts(this.router.events.pipe(gr(v=>v instanceof iu)),this.tabLinks.changes).pipe(tu(!0),TF(0),gt(this.destroyRef)).subscribe(()=>{this.updateRouterActive(),this.cdr.markForCheck()})}}updateRouterActive(){if(this.router?.navigated){const v=this.findShouldActiveTabIndex();v!==this.selectedIndex&&this.setSelectedIndex(v),Promise.resolve().then(()=>this.nzHideAll=-1===v)}}findShouldActiveTabIndex(){const v=this.tabs.toArray(),C=this.isLinkActive(this.router);return v.findIndex(P=>{const Z=P.linkDirective;return!!Z&&C(Z.routerLink)})}isLinkActive(v){return C=>!!C&&!!v?.isActive(C.urlTree||"",{paths:this.nzLinkExact?"exact":"subset",queryParams:this.nzLinkExact?"exact":"subset",fragment:"ignored",matrixParams:"ignored"})}static \u0275fac=function(C){return new(C||am)};static \u0275cmp=bt({type:am,selectors:[["nz-tabs"],["nz-tabset"]],contentQueries:function(C,P,Z){if(1&C&&(X5(Z,P.extraContents,Mb,4),Za(Z,Eb,5),Za(Z,Db,5)),2&C){let re;n6(),En(re=In())&&(P.allTabs=re),En(re=In())&&(P.tabLinks=re)}},viewQuery:function(C,P){if(1&C&&Hi(nm,5),2&C){let Z;En(Z=In())&&(P.tabNavBarRef=Z.first)}},hostAttrs:[1,"ant-tabs"],hostVars:24,hostBindings:function(C,P){2&C&&jt("ant-tabs-card","card"===P.nzType||"editable-card"===P.nzType)("ant-tabs-editable","editable-card"===P.nzType)("ant-tabs-editable-card","editable-card"===P.nzType)("ant-tabs-centered",P.nzCentered)("ant-tabs-rtl","rtl"===P.dir)("ant-tabs-top","top"===P.nzTabPosition)("ant-tabs-bottom","bottom"===P.nzTabPosition)("ant-tabs-left","left"===P.nzTabPosition)("ant-tabs-right","right"===P.nzTabPosition)("ant-tabs-default","default"===P.nzSize)("ant-tabs-small","small"===P.nzSize)("ant-tabs-large","large"===P.nzSize)},inputs:{nzSelectedIndex:"nzSelectedIndex",nzTabPosition:"nzTabPosition",nzTabBarExtraContent:"nzTabBarExtraContent",nzCanDeactivate:"nzCanDeactivate",nzAddIcon:"nzAddIcon",nzTabBarStyle:"nzTabBarStyle",nzType:"nzType",nzSize:"nzSize",nzAnimated:"nzAnimated",nzTabBarGutter:"nzTabBarGutter",nzHideAdd:[2,"nzHideAdd","nzHideAdd",Xe],nzCentered:[2,"nzCentered","nzCentered",Xe],nzHideAll:[2,"nzHideAll","nzHideAll",Xe],nzLinkRouter:[2,"nzLinkRouter","nzLinkRouter",Xe],nzLinkExact:[2,"nzLinkExact","nzLinkExact",Xe],nzDestroyInactiveTabPane:[2,"nzDestroyInactiveTabPane","nzDestroyInactiveTabPane",Xe]},outputs:{nzSelectChange:"nzSelectChange",nzSelectedIndexChange:"nzSelectedIndexChange",nzTabListScroll:"nzTabListScroll",nzClose:"nzClose",nzAdd:"nzAdd"},exportAs:["nzTabs"],features:[Yn([{provide:JR,useExisting:Hn(()=>am)}])],decls:4,vars:12,consts:[["tabpaneTmpl",""],[3,"style","selectedIndex","inkBarAnimated","addable","addIcon","hideBar","position","extraTemplate","extraContents"],[1,"ant-tabs-content-holder"],[1,"ant-tabs-content"],[3,"tabScroll","selectFocusedIndex","addClicked","selectedIndex","inkBarAnimated","addable","addIcon","hideBar","position","extraTemplate","extraContents"],[1,"ant-tabs-tab",3,"margin-right","margin-bottom","ant-tabs-tab-active","ant-tabs-tab-disabled"],[1,"ant-tabs-tab",3,"click","contextmenu"],["type","button","role","tab","nzTabNavItem","","cdkMonitorElementFocus","",1,"ant-tabs-tab-btn",3,"id","disabled","tab","active"],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],["type","button","nz-tab-close-button","",3,"closeIcon"],["type","button","nz-tab-close-button","",3,"click","closeIcon"],[3,"ngTemplateOutlet"],["role","tabpanel","nz-tab-body","",3,"id","active","content","animated"]],template:function(C,P){1&C&&(lt(0,C_e,3,10,"nz-tabs-nav",1),J(1,"div",2)(2,"div",3),lt(3,A_e,2,0),te()()),2&C&&(ct(P.tabs.length||P.addable?0:-1),I(2),jt("ant-tabs-content-top","top"===P.nzTabPosition)("ant-tabs-content-bottom","bottom"===P.nzTabPosition)("ant-tabs-content-left","left"===P.nzTabPosition)("ant-tabs-content-right","right"===P.nzTabPosition)("ant-tabs-content-animated",P.tabPaneAnimated),I(),ct(P.nzHideAll?-1:3))},dependencies:[nm,Ml,xb,i9e,Ofe,Al,Xo,Tb,$R],encapsulation:2})}})(),R_e=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=Ci({type:e});static \u0275inj=$n({imports:[Ib,nm,em,Qf,Tb]})}return e})();class Zf{_windowWidth$=null;_viewMode$=null;constructor(){this._windowWidth$=new on(window.innerWidth),this._viewMode$=new on("lg")}getWindowWidth(){return this._windowWidth$.getValue()}getViewMode(){return this._viewMode$.getValue()}setWindowWidth(n){let t;this._windowWidth$.next(n),t=n<=400?"sm":n<=600?"md":"lg",this._viewMode$.next(t)}get windowWidth(){return this._windowWidth$.asObservable()}get viewMode(){return this._viewMode$.asObservable()}}class H_e{logID;logElement;constructor(n){if(this.logID=n,void 0===n){n="reader_log";const t=document.getElementById(n);t?this.logElement=t:(this.logElement=document.createElement("div"),this.logElement.setAttribute("id",n),document.body.appendChild(this.logElement))}else this.logElement=document.getElementById(n);this.logElement.setAttribute("aria-live","assertive"),this.logElement.setAttribute("aria-relevant","additions"),this.logElement.setAttribute("role","log"),this.logElement.setAttribute("class","screen_reader_only")}add(n){const t=document.createElement("p");t.appendChild(document.createTextNode(n)),this.logElement.appendChild(t)}}class Fr{lhcFormData;srLog;constructor(){this.srLog=new H_e}getLhcFormData(){return this.lhcFormData}setLhcFormData(n){this.lhcFormData=n}getTemplateOptions(){return this.lhcFormData?.templateOptions||{}}setActiveRow(n){this.lhcFormData&&n&&(this.lhcFormData.setActiveRow(n),n._validationErrors&&n._validationErrors.forEach(t=>{this.sendMsgToScreenReader(`${n.question} ${t}`)}))}activeRowOnBlur(n){n._visitedBefore?n._showValidation=!1:(n._showValidation=!0,setTimeout(()=>{n._showValidation=!1,n._visitedBefore=!0},window.LForms.Validations._timeout))}getActiveRowClass(n){return this.lhcFormData.getActiveRowClass(n)}getSkipLogicClass(n){return this.lhcFormData.getSkipLogicClass(n)}getTableColumnStyle(n){const t={};if(n.displayControl&&Array.isArray(n.displayControl.colCSS)){const i=n.displayControl.colCSS;for(let r=0,o=i.length;r<o;r++){const a=i[r];t[a.name]=a.value}}return t}getItemStyle(n){const t={};if(n.displayControl&&Array.isArray(n.displayControl.css))for(let i=0,r=n.displayControl.css.length;i<r;i++){const o=n.displayControl.css[i];t[o.name]=o.value}return t}hasOneRepeatingItem(n){return!(this.lhcFormData.getRepeatingItemCount(n)>1)}hasOneRepeatingRow(n){let t=!1;const i=this.lhcFormData._horizontalTableInfo[n._codePath+n._parentIdPath_];return i&&i.tableRows&&1===i.tableRows.length&&(t=!0),t}getLastRepeatingItem(n){const t=this.lhcFormData._getRepeatingItems(n);return t.length?t[t.length-1]:null}getTextDisplayType(n){return this.lhcFormData?.getTextDisplayType(n)||"plain"}getPrefixDisplayType(n){return this.lhcFormData?.getPrefixDisplayType(n)||"plain"}getCodingInstructionsDisplayType(n){let t="";if(n.codingInstructions&&n.codingInstructions.length>0){if(this.lhcFormData.templateOptions.allowHTML&&"html"===n.codingInstructionsFormat){var i="html";n.codingInstructionsHasInvalidHtmlTag&&(i=this.lhcFormData.templateOptions.displayInvalidHTML?"escaped":"plain")}else i=this.lhcFormData.templateOptions.allowMarkdown&&"markdown"===n.codingInstructionsFormat?"markdown":"escaped";t=(this.lhcFormData.templateOptions.showCodingInstruction?"inline":"popover")+"-"+i}return t}getLegalDisplayType(n){let t="";if(n.legal&&n.legal.length>0){if(this.lhcFormData.templateOptions.allowHTML&&"html"===n.legalFormat){var i="html";n.legalHasInvalidHtmlTag&&(i=this.lhcFormData.templateOptions.displayInvalidHTML?"escaped":"plain")}else i=this.lhcFormData.templateOptions.allowMarkdown&&"markdown"===n.legalFormat?"markdown":"escaped";t=(this.lhcFormData.templateOptions.showCodingInstruction?"inline":"popover")+"-"+i}return t}checkUnits(n){return!!(n._unitAutocompOptions||n._unitReadonly&&n.unit&&n.unit._displayUnit)}targetEnabled(n){return!!this.lhcFormData&&ki.targetEnabled(n)}targetDisabledAndProtected(n){return!!this.lhcFormData&&ki.targetDisabledAndProtected(n)}targetShown(n){return!!this.lhcFormData&&ki.targetShown(n)}getRepeatingSN(n){let t="";return n._questionRepeatable&&(t=n._idPath.slice(1).replace(/\//g,".")),t}getItemAnswerId(n,t){return ki.getItemAnswerId(n,t)}getSiblingStatus(n){let t="";return n._lastSibling&&(t+="lhc-last-item"),n._firstSibling&&(t+=" lhc-first-item"),t}getTreeLineClass(n=!1){if(n)return"";const t=this.getLhcFormData().templateOptions;return t.hideIndentation||"true"===t.hideTreeLine||!0===t.hideTreeLine||"auto"===t.hideTreeLine&&this.getLhcFormData()._totalLevelsOfHierarchy<=3?"":"lhc-tree-line"}getIndentationClass(n=!1){return n||this.getLhcFormData().templateOptions.hideIndentation?"":"lhc-indentation"}getItemClassList(n,t,i=!1){return["lhc-item",this.getItemViewModeClass(n,t),this.getTreeLineClass(i),this.getIndentationClass(i),this.getSiblingStatus(n),this.getRowClass(n)].join(" ")}isHideRepetitionNumber(){return this.getLhcFormData().templateOptions.hideRepetitionNumber}getRowClass(n){let t=" lhc-datatype-"+n.dataType;return n._answerRequired&&(t+=" lf-answer-required"),t+=n.header?" lhc-item-group":" lhc-item-question",(!n.question||0===n.question.length)&&(t+=" lf-empty-question"),n._visitedBefore&&(t+=" lhc-visited-before"),n._showValidation&&(t+=" lhc-show-validation"),n._isHiddenFromView&&(t+=" lhc-hidden-from-view"),this.targetDisabledAndProtected(n)&&(t+=" lhc-item-disabled-protected"),Array.isArray(n._validationErrors)&&n._validationErrors.length>0&&(t+=" lhc-invalid"),t}getViewModeClass(n){let t,i=this.lhcFormData?.templateOptions?.viewMode;switch((!i||"auto"===i)&&(i=n),i){case"lg":default:t="lhc-view-lg";break;case"md":t="lhc-view-md";break;case"sm":t="lhc-view-sm"}return t}getItemViewModeClass(n,t){let i,r="";if(n)switch(i=n.displayControl&&n.displayControl.viewMode?n.displayControl.viewMode:this.lhcFormData.templateOptions.viewMode,(!i||"auto"===i)&&(i=t),i){case"lg":default:r="lhc-item-view-lg";break;case"md":r="lhc-item-view-md";break;case"sm":r="lhc-item-view-sm"}return r}addOneRepeatingItem(n,t){let i=!1;this.lhcFormData&&!this.lhcFormData.templateOptions.allowMultipleEmptyRepeatingItems&&(i=this.lhcFormData.areAnyRepeatingItemsEmpty(n),i&&n._showUnusedItemWarning&&(n._unusedItemWarning||(n._unusedItemWarning=Sn.pleaseEnterInfoForTheBlank.replace("{lformsParam}",n._text)))),i||(t?this.lhcFormData.appendRepeatingItems(n):this.lhcFormData.addRepeatingItems(n),this.sendActionsToScreenReader())}removeOneRepeatingItem(n){const t=this.lhcFormData.getNextRepeatingItem(n);let i="";if(t)i=2===this.lhcFormData.getRepeatingItemCount(n)?"add-"+t._elementId:"del-"+t._elementId;else{const r=this.lhcFormData.getPrevRepeatingItem(n);r&&(i="add-"+r._elementId)}this.lhcFormData.removeRepeatingItems(n),this.sendActionsToScreenReader(),setTimeout(function(){const r=document.getElementById(i);r&&r.focus()},1)}hideUnusedItemWarning(n){this.lhcFormData&&!this.lhcFormData.templateOptions.allowMultipleEmptyRepeatingItems&&(n._showUnusedItemWarning=!1)}getHorizontalTableInfo(){return this.lhcFormData._horizontalTableInfo}trackByElementId(n,t){return t._elementId}trackByRowHeaderElementId(n,t){return t.header._elementId}trackByColumnHeaderId(n,t){return t.id}isSubsequentHorizontalTableGroupItem(n){return n&&n.displayControl&&"horizontal"===n.displayControl.questionLayout&&!n._horizontalTableHeader}sendMsgToScreenReader(n){this.srLog.add(n)}sendActionsToScreenReader(){this.lhcFormData&&this.lhcFormData._actionLogs.length>0&&(this.lhcFormData._actionLogs.forEach(n=>{this.srLog.add(n)}),this.lhcFormData._actionLogs=[])}isFormReady(){return!!this.lhcFormData._formReady}onItemValueChange(n,t,i,r=!1){this.lhcFormData&&(r||!r&&!tn.deepEqual(t,i))&&(this.lhcFormData.updateOnSourceItemChange(n),this.sendActionsToScreenReader())}}function V_e(e,n){if(1&e){const t=nt();J(0,"button",10),Fe("click",function(){ce(t);const r=k(3);return ue(r.lhcDataService.removeOneRepeatingItem(r.item))}),He(1,"-"),te()}if(2&e){const t=k(3);L("id",de("del-",t.item._elementId))("title",de('Remove this "',t.item._text,'"'))("disabled",t.item._readOnly)}}function B_e(e,n){if(1&e&&(J(0,"div",5)(1,"div",6),ze(2,"lhc-item-question-text",7),te(),J(3,"div",8),ve(4,V_e,2,5,"button",9),te()()),2&e){const t=k(2);I(2),L("item",t.item),I(2),L("ngIf",!t.lhcDataService.hasOneRepeatingItem(t.item))}}function U_e(e,n){if(1&e&&ze(0,"lhc-item",14),2&e){const t=k().$implicit,i=k(3);Re(i.lhcDataService.getItemClassList(t,i.viewMode)),L("id",de("item-",t._elementId))("item",t)}}function q_e(e,n){if(1&e&&($e(0),ve(1,U_e,1,5,"lhc-item",13),je()),2&e){const t=n.$implicit,i=k(3);I(),L("ngIf",t&&i.lhcDataService.targetShown(t)&&!t._isHiddenFromView)}}function Y_e(e,n){if(1&e&&(J(0,"div",11),ve(1,q_e,2,1,"ng-container",12),te()),2&e){const t=k(2);I(),L("ngForOf",t.item.items)("ngForTrackBy",t.lhcDataService.trackByElementId)}}function j_e(e,n){if(1&e&&(J(0,"span",16),He(1),te()),2&e){const t=k(3);I(),At(" This repeatable item should have at least ",t.item.questionCardinality.min," occurrences.")}}function $_e(e,n){if(1&e&&(J(0,"div"),ze(1,"lhc-button-popover",15),ve(2,j_e,2,1,"span",4),te()),2&e){const t=k(2);Re(de("lhc-button-padding ",t.lhcDataService.getSkipLogicClass(t.item))),I(),L("buttonLabel",de("+ ",t.item._text))("item",t.item)("popoverType","repeating-item"),I(),L("ngIf",t.item._minOccursNotMet)}}function W_e(e,n){if(1&e&&(J(0,"span",16),He(1),te()),2&e){const t=k(2);I(),At(" This repeatable item should have at most ",t.item.questionCardinality.max," occurrences.")}}function G_e(e,n){if(1&e&&($e(0),ve(1,B_e,5,2,"div",1)(2,Y_e,2,2,"div",2)(3,$_e,3,8,"div",3)(4,W_e,2,1,"span",4),je()),2&e){const t=k();I(),L("ngIf",!t.hideGrouptTitle),I(),L("ngIf",t.item.items),I(),L("ngIf",t.item._lastRepeatingItem),I(),L("ngIf",t.item._maxOccursExcceeded)}}let zb=(()=>{class e{winService;lhcDataService;item;hideGrouptTitle=!1;viewMode="";constructor(t,i){this.winService=t,this.lhcDataService=i,t.windowWidth.subscribe(r=>{this.viewMode=t.getViewMode()})}static \u0275fac=function(i){return new(i||e)(xe(Zf),xe(Fr))};static \u0275cmp=bt({type:e,selectors:[["lhc-group-vertical"]],inputs:{item:"item",hideGrouptTitle:"hideGrouptTitle"},standalone:!1,decls:1,vars:1,consts:[[4,"ngIf"],["class","lhc-item-group-title lhc-de-label-button",4,"ngIf"],["class","lhc-item-group-body",4,"ngIf"],[3,"class",4,"ngIf"],["style","color: red;",4,"ngIf"],[1,"lhc-item-group-title","lhc-de-label-button"],[1,"lhc-de-label"],[3,"item"],[1,"lhc-de-button"],["class","lhc-float-button lhc-button","type","button",3,"id","title","disabled","click",4,"ngIf"],["type","button",1,"lhc-float-button","lhc-button",3,"click","id","title","disabled"],[1,"lhc-item-group-body"],[4,"ngFor","ngForOf","ngForTrackBy"],[3,"item","class","id",4,"ngIf"],[3,"item","id"],[3,"item","popoverType","buttonLabel"],[2,"color","red"]],template:function(i,r){1&i&&ve(0,G_e,5,4,"ng-container",0),2&i&&L("ngIf",r.item)},encapsulation:2})}return e})(),Xf=(()=>{class e{sanitized;constructor(t){this.sanitized=t}transform(t,...i){return this.sanitized.bypassSecurityTrustHtml(t)}static \u0275fac=function(i){return new(i||e)(xe(H_,16))};static \u0275pipe=Oa({name:"safeHtml",type:e,pure:!0,standalone:!1})}return e})();function K_e(e,n){if(1&e){const t=nt();J(0,"button",15),Fe("click",function(){ce(t);const r=k();return ue(r.lhcDataService.addOneRepeatingItem(r.item,r.append))})("blur",function(){ce(t);const r=k();return ue(r.lhcDataService.hideUnusedItemWarning(r.item))}),He(1),te()}if(2&e){const t=k(),i=Yi(12);ft("aria-controls",de("add-button-",t.item._elementId))("aria-label",de("add button for ",t.item.question))("aria-describedby",de("add-button-",t.item._elementId)),L("id",de("add-",t.item._elementId))("disabled",t.item._readOnly)("nzPopoverVisible",t.item._showUnusedItemWarning)("nzPopoverContent",i)("nzPopoverTrigger",null),I(),At(" ",t.buttonLabel," ")}}function Q_e(e,n){if(1&e){const t=nt();J(0,"button",16),Fe("click",function(){ce(t);const r=k();return ue(r.onShowingPopover(r.item))}),ze(1,"i",17),te()}if(2&e){const t=k(),i=Yi(20);ft("aria-controls",de("help-content-",t.item._elementId))("aria-label",de("Help button for ",t.item.question))("aria-describedby",de("help-button-",t.item._elementId)),L("id",de("help-button-",t.item._elementId))("nzPopoverContent",i)("nzPopoverTitle",t.language.helpTitle)}}function Z_e(e,n){if(1&e){const t=nt();J(0,"button",16),Fe("click",function(){ce(t);const r=k();return ue(r.onShowingPopover(r.item))}),ze(1,"i",17),te()}if(2&e){const t=k(),i=Yi(14);ft("aria-controls",de("help-content-",t.item._elementId))("aria-label",de("Help button for ",t.item.question))("aria-describedby",de("help-button-",t.item._elementId)),L("id",de("help-button-",t.item._elementId))("nzPopoverContent",i)("nzPopoverTitle",t.language.helpTitle)}}function X_e(e,n){if(1&e){const t=nt();J(0,"button",16),Fe("click",function(){ce(t);const r=k();return ue(r.onShowingPopover(r.item))}),ze(1,"i",17),te()}if(2&e){const t=k(),i=Yi(16);ft("aria-controls",de("help-content-",t.item._elementId))("aria-label",de("Help button for ",t.item.question))("aria-describedby",de("help-button-",t.item._elementId)),L("id",de("help-button-",t.item._elementId))("nzPopoverContent",i)("nzPopoverTitle",t.language.helpTitle)}}function J_e(e,n){if(1&e){const t=nt();J(0,"button",16),Fe("click",function(){ce(t);const r=k();return ue(r.onShowingPopover(r.item))}),ze(1,"i",17),te()}if(2&e){const t=k(),i=Yi(18);ft("aria-controls",de("help-content-",t.item._elementId))("aria-label",de("Help button for ",t.item.question))("aria-describedby",de("help-button-",t.item._elementId)),L("id",de("help-button-",t.item._elementId))("nzPopoverContent",i)("nzPopoverTitle",t.language.helpTitle)}}function eye(e,n){if(1&e){const t=nt();J(0,"button",18),Fe("click",function(){ce(t);const r=k();return ue(r.onShowingPopover(r.item))}),ze(1,"i",19),te()}if(2&e){const t=k(),i=Yi(28);ft("aria-controls",de("legal-content-",t.item._elementId))("aria-label",de("Legal button for ",t.item.question))("aria-describedby",de("legal-button-",t.item._elementId)),L("id",de("legal-button-",t.item._elementId))("nzPopoverContent",i)("nzPopoverTitle",t.language.legalTitle)}}function tye(e,n){if(1&e){const t=nt();J(0,"button",18),Fe("click",function(){ce(t);const r=k();return ue(r.onShowingPopover(r.item))}),ze(1,"i",19),te()}if(2&e){const t=k(),i=Yi(22);ft("aria-controls",de("legal-content-",t.item._elementId))("aria-label",de("Legal button for ",t.item.question))("aria-describedby",de("legal-button-",t.item._elementId)),L("id",de("legal-button-",t.item._elementId))("nzPopoverContent",i)("nzPopoverTitle",t.language.legalTitle)}}function nye(e,n){if(1&e){const t=nt();J(0,"button",18),Fe("click",function(){ce(t);const r=k();return ue(r.onShowingPopover(r.item))}),ze(1,"i",19),te()}if(2&e){const t=k(),i=Yi(24);ft("aria-controls",de("legal-content-",t.item._elementId))("aria-label",de("Legal button for ",t.item.question))("aria-describedby",de("legal-button-",t.item._elementId)),L("id",de("legal-button-",t.item._elementId))("nzPopoverContent",i)("nzPopoverTitle",t.language.legalTitle)}}function iye(e,n){if(1&e){const t=nt();J(0,"button",18),Fe("click",function(){ce(t);const r=k();return ue(r.onShowingPopover(r.item))}),ze(1,"i",19),te()}if(2&e){const t=k(),i=Yi(26);ft("aria-controls",de("legal-content-",t.item._elementId))("aria-label",de("Legal button for ",t.item.question))("aria-describedby",de("legal-button-",t.item._elementId)),L("id",de("legal-button-",t.item._elementId))("nzPopoverContent",i)("nzPopoverTitle",t.language.legalTitle)}}function rye(e,n){if(1&e){const t=nt();J(0,"button",21),Fe("click",function(){ce(t);const r=k(2);return ue(r.onShowingPopover(r.item))}),ze(1,"i",22),te()}if(2&e){const t=k(2),i=Yi(30);ft("aria-controls",de("copyright-content-",t.popoverIdentifier))("aria-label",de("Copyright button for ",t.item.name||t.item.shortName))("aria-describedby",de("copyright-button-",t.popoverIdentifier)),L("id",de("copyright-button-",t.popoverIdentifier))("nzPopoverContent",i)}}function oye(e,n){if(1&e&&($e(0),ve(1,rye,2,9,"button",20),je()),2&e){const t=k();I(),L("ngIf",t.formLevel)}}function aye(e,n){if(1&e&&(J(0,"span",23),He(1),te()),2&e){const t=k();ft("aria-labelledby",de("add-button-",t.item._elementId))("aria-describedby",de("add-content-",t.item._elementId)),L("id",de("add-content-",t.item._elementId)),ft("aria-label",t.item._unusedItemWarning),I(),dn(t.item._unusedItemWarning)}}function sye(e,n){if(1&e&&(ze(0,"span",24),Vi(1,"safeHtml")),2&e){const t=k();xi(t.item._obj_helpCSS),ft("aria-labelledby",de("help-button-",t.item._elementId))("aria-label",de("Instruction for ",t.item.question))("aria-describedby",de("help-content-",t.item._elementId)),L("id",de("help-content-",t.item._elementId))("innerHTML",pr(1,11,t.item._codingInstructionsWithContainedImages||t.item.codingInstructions),Fo)}}function lye(e,n){if(1&e&&(ze(0,"span",24),Vi(1,"safeHtml")),2&e){const t=k();ft("aria-labelledby",de("help-button-",t.item._elementId))("aria-label",de("Instruction for ",t.item.question))("aria-describedby",de("help-content-",t.item._elementId)),L("id",de("help-content-",t.item._elementId))("innerHTML",pr(1,9,t.item.codingInstructions),Fo)}}function cye(e,n){if(1&e&&(J(0,"span",23),He(1),te()),2&e){const t=k();xi(t.item._obj_helpCSS),ft("aria-labelledby",de("help-button-",t.item._elementId))("aria-label",de("Instruction for ",t.item.question))("aria-describedby",de("help-content-",t.item._elementId)),L("id",de("help-content-",t.item._elementId)),I(),dn(t.item.codingInstructionsPlain)}}function uye(e,n){if(1&e&&(J(0,"span",23),He(1),te()),2&e){const t=k();xi(t.item._obj_helpCSS),ft("aria-labelledby",de("help-button-",t.item._elementId))("aria-label",de("Instruction for ",t.item.question))("aria-describedby",de("help-content-",t.item._elementId)),L("id",de("help-content-",t.item._elementId)),I(),dn(t.item.codingInstructions)}}function dye(e,n){if(1&e&&(ze(0,"span",24),Vi(1,"safeHtml")),2&e){const t=k();xi(t.item._obj_legalCSS),ft("aria-labelledby",de("legal-button-",t.item._elementId))("aria-label",de("Legal for ",t.item.question))("aria-describedby",de("legal-content-",t.item._elementId)),L("id",de("legal-content-",t.item._elementId))("innerHTML",pr(1,11,t.item._legalWithContainedImages||t.item.legal),Fo)}}function hye(e,n){if(1&e&&(ze(0,"span",24),Vi(1,"safeHtml")),2&e){const t=k();ft("aria-labelledby",de("legal-button-",t.item._elementId))("aria-label",de("Legal for ",t.item.question))("aria-describedby",de("legal-content-",t.item._elementId)),L("id",de("legal-content-",t.item._elementId))("innerHTML",pr(1,9,t.item.legal),Fo)}}function fye(e,n){if(1&e&&(J(0,"span",23),He(1),te()),2&e){const t=k();xi(t.item._obj_legalCSS),ft("aria-labelledby",de("legal-button-",t.item._elementId))("aria-label",de("Legal for ",t.item.question))("aria-describedby",de("legal-content-",t.item._elementId)),L("id",de("legal-content-",t.item._elementId)),I(),dn(t.item.legalPlain)}}function pye(e,n){if(1&e&&(J(0,"span",23),He(1),te()),2&e){const t=k();xi(t.item._obj_legalCSS),ft("aria-labelledby",de("legal-button-",t.item._elementId))("aria-label",de("Legal for ",t.item.question))("aria-describedby",de("legal-content-",t.item._elementId)),L("id",de("legal-content-",t.item._elementId)),I(),dn(t.item.legal)}}function mye(e,n){if(1&e&&(J(0,"span",23),He(1),te()),2&e){const t=k(2);ft("aria-labelledby",de("copyright-button-",t.popoverIdentifier))("aria-label",de("Copyright notice for ",t.item.name||t.item.shortName))("aria-describedby",de("copyright-content-",t.popoverIdentifier)),L("id",de("copyright-content-",t.popoverIdentifier))("id",de("copyright-content-",t.popoverIdentifier)),I(),dn(t.item.copyrightNotice)}}function gye(e,n){1&e&&ve(0,mye,2,11,"span",25),2&e&&L("ngIf",k().formLevel)}let Jf=(()=>{class e{lhcDataService;item;popoverType;formLevel=!1;buttonLabel=null;append=!1;popoverIdentifier=null;constructor(t){this.lhcDataService=t}ngOnInit(){this.formLevel&&this.item&&(this.popoverIdentifier=(this.item.code||this.item.name||this.item.shortName).replaceAll(/[\/\s]/g,"-"))}onShowingPopover(){let t,i;"copyright-string"===this.popoverType?(t="Copyright notice:",i="copyright-content-"+(this.formLevel?this.item.code:this.item._elementId)):this.popoverType.startsWith("legal")?(t=`${Sn.legalTitle}:`,i="legal-content-"+(this.formLevel?this.item.code:this.item._elementId)):(t=`${Sn.helpTitle}:`,i="help-content-"+(this.formLevel?this.item.code:this.item._elementId)),setTimeout(()=>{const r=document.getElementById(i).textContent;this.lhcDataService.sendMsgToScreenReader(`${t} ${r}`)},10)}language=Sn;static \u0275fac=function(i){return new(i||e)(xe(Fr))};static \u0275cmp=bt({type:e,selectors:[["lhc-button-popover"]],inputs:{item:"item",popoverType:"popoverType",formLevel:"formLevel",buttonLabel:"buttonLabel",append:"append"},standalone:!1,decls:31,vars:11,consts:[["warningStrTemplate",""],["helpHtmlTemplate",""],["helpMarkdownTemplate",""],["helpPlainTemplate",""],["helpStrTemplate",""],["legalHtmlTemplate",""],["legalMarkdownTemplate",""],["legalPlainTemplate",""],["legalStrTemplate",""],["copyrightStrTemplate",""],[3,"ngSwitch"],["type","button","class","lhc-float-button lhc-button","nz-popover","","nzPopoverPlacement","right",3,"id","disabled","nzPopoverVisible","nzPopoverContent","nzPopoverTrigger","click","blur",4,"ngSwitchCase"],["type","button","class","lhc-help-button","nz-popover","","nzPopoverTrigger","click","nzPopoverPlacement","right","nzPopoverOverlayClassName","lhc-popover-help",3,"id","nzPopoverContent","nzPopoverTitle","click",4,"ngSwitchCase"],["type","button","class","lhc-legal-button","nz-popover","","nzPopoverTrigger","click","nzPopoverPlacement","right","nzPopoverOverlayClassName","lhc-popover-legal",3,"id","nzPopoverContent","nzPopoverTitle","click",4,"ngSwitchCase"],[4,"ngSwitchCase"],["type","button","nz-popover","","nzPopoverPlacement","right",1,"lhc-float-button","lhc-button",3,"click","blur","id","disabled","nzPopoverVisible","nzPopoverContent","nzPopoverTrigger"],["type","button","nz-popover","","nzPopoverTrigger","click","nzPopoverPlacement","right","nzPopoverOverlayClassName","lhc-popover-help",1,"lhc-help-button",3,"click","id","nzPopoverContent","nzPopoverTitle"],["nz-icon","","nzType","question-circle","nzTheme","fill"],["type","button","nz-popover","","nzPopoverTrigger","click","nzPopoverPlacement","right","nzPopoverOverlayClassName","lhc-popover-legal",1,"lhc-legal-button",3,"click","id","nzPopoverContent","nzPopoverTitle"],["nz-icon","","nzType","info-circle","nzTheme","fill"],["type","button","class","lhc-copyright-button","nz-popover","","nzPopoverTrigger","click","nzPopoverPlacement","right","nzPopoverTitle","Copyright","nzPopoverOverlayClassName","lhc-popover-copyright",3,"id","nzPopoverContent","click",4,"ngIf"],["type","button","nz-popover","","nzPopoverTrigger","click","nzPopoverPlacement","right","nzPopoverTitle","Copyright","nzPopoverOverlayClassName","lhc-popover-copyright",1,"lhc-copyright-button",3,"click","id","nzPopoverContent"],["nz-icon","","nzType","copyright-circle","nzTheme","outline"],["role","region",3,"id"],["role","region",3,"id","innerHTML"],["role","region",3,"id",4,"ngIf"]],template:function(i,r){1&i&&($e(0,10),ve(1,K_e,2,13,"button",11)(2,Q_e,2,10,"button",12)(3,Z_e,2,10,"button",12)(4,X_e,2,10,"button",12)(5,J_e,2,10,"button",12)(6,eye,2,10,"button",13)(7,tye,2,10,"button",13)(8,nye,2,10,"button",13)(9,iye,2,10,"button",13)(10,oye,2,1,"ng-container",14),je(),ve(11,aye,2,8,"ng-template",null,0,Gr)(13,sye,2,13,"ng-template",null,1,Gr)(15,lye,2,11,"ng-template",null,2,Gr)(17,cye,2,11,"ng-template",null,3,Gr)(19,uye,2,11,"ng-template",null,4,Gr)(21,dye,2,13,"ng-template",null,5,Gr)(23,hye,2,11,"ng-template",null,6,Gr)(25,fye,2,11,"ng-template",null,7,Gr)(27,pye,2,11,"ng-template",null,8,Gr)(29,gye,1,1,"ng-template",null,9,Gr)),2&i&&(L("ngSwitch",r.popoverType),I(),L("ngSwitchCase","repeating-item"),I(),L("ngSwitchCase","help-string"),I(),L("ngSwitchCase","help-html"),I(),L("ngSwitchCase","help-markdown"),I(),L("ngSwitchCase","help-plain"),I(),L("ngSwitchCase","legal-string"),I(),L("ngSwitchCase","legal-html"),I(),L("ngSwitchCase","legal-markdown"),I(),L("ngSwitchCase","legal-plain"),I(),L("ngSwitchCase","copyright-string"))},dependencies:[ar,Ms,Sl,Qge,Va,Xf],encapsulation:2})}return e})();function vye(e,n){if(1&e&&(J(0,"span",11),He(1),te()),2&e){const t=k(2);I(),dn(t.lhcDataService.getRepeatingSN(t.item))}}function _ye(e,n){if(1&e&&(J(0,"span",15),He(1),te()),2&e){const t=k(3);xi(t.item._obj_prefixCSS),I(),dn(t.item._prefixHTML)}}function yye(e,n){if(1&e&&(ze(0,"span",16),Vi(1,"safeHtml")),2&e){const t=k(3);xi(t.item._obj_prefixCSS),L("innerHTML",pr(1,3,t.item._prefixHTML),Fo)}}function bye(e,n){1&e&&(ze(0,"span",16),Vi(1,"safeHtml")),2&e&&L("innerHTML",pr(1,1,k(3).item._prefixMarkdown),Fo)}function Cye(e,n){if(1&e&&(J(0,"span",15),He(1),te()),2&e){const t=k(3);xi(t.item._obj_prefixCSS),I(),dn(t.item.prefix)}}function wye(e,n){if(1&e&&($e(0)(1,5),ve(2,_ye,2,3,"span",12)(3,yye,2,5,"span",13)(4,bye,2,3,"span",14)(5,Cye,2,3,"span",12),je()()),2&e){const t=k(2);I(),L("ngSwitch",t.lhcDataService.getPrefixDisplayType(t.item)),I(),L("ngSwitchCase","escaped"),I(),L("ngSwitchCase","html"),I(),L("ngSwitchCase","markdown"),I(),L("ngSwitchCase","plain")}}function Sye(e,n){if(1&e&&(J(0,"span",17),He(1),te()),2&e){const t=k(2);xi(t.item._obj_textCSS),I(),dn(t.item._displayTextHTML)}}function Mye(e,n){if(1&e&&(ze(0,"span",18),Vi(1,"safeHtml")),2&e){const t=k(2);xi(t.item._obj_textCSS),L("innerHTML",pr(1,3,t.item._displayTextHTML),Fo)}}function Tye(e,n){1&e&&(ze(0,"span",18),Vi(1,"safeHtml")),2&e&&L("innerHTML",pr(1,1,k(2).item._displayTextMarkdown),Fo)}function Dye(e,n){if(1&e&&(J(0,"span",17),He(1),te()),2&e){const t=k(2);xi(t.item._obj_textCSS),I(),dn(t.item.question)}}function xye(e,n){1&e&&(J(0,"span",19),He(1," *"),te())}function kye(e,n){if(1&e&&(J(0,"a",23),He(1),te()),2&e){const t=k(2).$implicit;L("href",St("https://loinc.org/"+t.code),j2),I(),At(" [",t.code,"] ")}}function Eye(e,n){if(1&e&&(J(0,"span",24),He(1),te()),2&e){const t=k(2).$implicit;I(),At("[",t.code,"]")}}function Iye(e,n){if(1&e&&(J(0,"span"),ve(1,kye,2,3,"a",21)(2,Eye,2,1,"span",22),te()),2&e){const t=k().$implicit;I(),L("ngIf","http://loinc.org"===t.system),I(),L("ngIf","http://loinc.org"!==t.system)}}function zye(e,n){if(1&e&&(J(0,"span"),ve(1,Iye,3,2,"span",0),te()),2&e){const t=n.$implicit;I(),L("ngIf",t.code)}}function Aye(e,n){if(1&e&&(J(0,"span"),ve(1,zye,2,1,"span",20),te()),2&e){const t=k(2);I(),L("ngForOf",t.item.codeList)}}function Lye(e,n){if(1&e&&(J(0,"div",29),He(1),te()),2&e){const t=k(3);xi(t.item._obj_helpCSS),ft("aria-label",de("Help for question ",t.item.question))("aria-describedby",de("label-",t.item._elementId)),L("id",de("help-",t.item._elementId)),I(),dn(t.item.codingInstructions)}}function Oye(e,n){if(1&e&&(ze(0,"div",30),Vi(1,"safeHtml")),2&e){const t=k(3);xi(t.item._obj_helpCSS),ft("aria-label",de("Help for question ",t.item.question))("aria-describedby",de("label-",t.item._elementId)),L("id",de("help-",t.item._elementId))("innerHTML",pr(1,9,t.item._codingInstructionsWithContainedImages||t.item.codingInstructions),Fo)}}function Pye(e,n){if(1&e&&(ze(0,"div",30),Vi(1,"safeHtml")),2&e){const t=k(3);ft("aria-label",de("Help for question ",t.item.question))("aria-describedby",de("label-",t.item._elementId)),L("id",de("help-",t.item._elementId))("innerHTML",pr(1,7,t.item.codingInstructions),Fo)}}function Nye(e,n){if(1&e&&(J(0,"div",29),He(1),te()),2&e){const t=k(3);xi(t.item._obj_helpCSS),ft("aria-label",de("Help for question ",t.item.question))("aria-describedby",de("label-",t.item._elementId)),L("id",de("help-",t.item._elementId)),I(),dn(t.item.codingInstructionsPlain)}}function Fye(e,n){if(1&e&&($e(0),ze(1,"lhc-button-popover",31),je()),2&e){const t=k(3);I(),L("item",t.item)("popoverType","help-string")}}function Rye(e,n){if(1&e&&($e(0),ze(1,"lhc-button-popover",31),je()),2&e){const t=k(3);I(),L("item",t.item)("popoverType","help-html")}}function Hye(e,n){if(1&e&&($e(0),ze(1,"lhc-button-popover",31),je()),2&e){const t=k(3);I(),L("item",t.item)("popoverType","help-markdown")}}function Vye(e,n){if(1&e&&($e(0),ze(1,"lhc-button-popover",31),je()),2&e){const t=k(3);I(),L("item",t.item)("popoverType","help-plain")}}function Bye(e,n){if(1&e&&(J(0,"span",5),ve(1,Lye,2,9,"div",25)(2,Oye,2,11,"div",26)(3,Pye,2,9,"div",27)(4,Nye,2,9,"div",25)(5,Fye,2,2,"ng-container",28)(6,Rye,2,2,"ng-container",28)(7,Hye,2,2,"ng-container",28)(8,Vye,2,2,"ng-container",28),te()),2&e){const t=k(2);L("ngSwitch",t.lhcDataService.getCodingInstructionsDisplayType(t.item)),I(),L("ngSwitchCase","inline-escaped"),I(),L("ngSwitchCase","inline-html"),I(),L("ngSwitchCase","inline-markdown"),I(),L("ngSwitchCase","inline-plain"),I(),L("ngSwitchCase","popover-escaped"),I(),L("ngSwitchCase","popover-html"),I(),L("ngSwitchCase","popover-markdown"),I(),L("ngSwitchCase","popover-plain")}}function Uye(e,n){if(1&e&&(J(0,"div",35),He(1),te()),2&e){const t=k(3);xi(t.item._obj_legalCSS),ft("aria-label",de("Legal for question ",t.item.question))("aria-describedby",de("label-",t.item._elementId)),L("id",de("legal-",t.item._elementId)),I(),dn(t.item.legal)}}function qye(e,n){if(1&e&&(ze(0,"div",36),Vi(1,"safeHtml")),2&e){const t=k(3);xi(t.item._obj_legalCSS),ft("aria-label",de("Legal for question ",t.item.question))("aria-describedby",de("label-",t.item._elementId)),L("id",de("legal-",t.item._elementId))("innerHTML",pr(1,9,t.item._legalWithContainedImages||t.item.legal),Fo)}}function Yye(e,n){if(1&e&&(ze(0,"div",36),Vi(1,"safeHtml")),2&e){const t=k(3);ft("aria-label",de("Legal for question ",t.item.question))("aria-describedby",de("label-",t.item._elementId)),L("id",de("legal-",t.item._elementId))("innerHTML",pr(1,7,t.item.legal),Fo)}}function jye(e,n){if(1&e&&(J(0,"div",35),He(1),te()),2&e){const t=k(3);xi(t.item._obj_legalCSS),ft("aria-label",de("Legal for question ",t.item.question))("aria-describedby",de("label-",t.item._elementId)),L("id",de("legal-",t.item._elementId)),I(),dn(t.item.legalPlain)}}function $ye(e,n){if(1&e&&($e(0),ze(1,"lhc-button-popover",31),je()),2&e){const t=k(3);I(),L("item",t.item)("popoverType","legal-string")}}function Wye(e,n){if(1&e&&($e(0),ze(1,"lhc-button-popover",31),je()),2&e){const t=k(3);I(),L("item",t.item)("popoverType","legal-html")}}function Gye(e,n){if(1&e&&($e(0),ze(1,"lhc-button-popover",31),je()),2&e){const t=k(3);I(),L("item",t.item)("popoverType","legal-markdown")}}function Kye(e,n){if(1&e&&($e(0),ze(1,"lhc-button-popover",31),je()),2&e){const t=k(3);I(),L("item",t.item)("popoverType","legal-plain")}}function Qye(e,n){if(1&e&&(J(0,"span",5),ve(1,Uye,2,9,"div",32)(2,qye,2,11,"div",33)(3,Yye,2,9,"div",34)(4,jye,2,9,"div",32)(5,$ye,2,2,"ng-container",28)(6,Wye,2,2,"ng-container",28)(7,Gye,2,2,"ng-container",28)(8,Kye,2,2,"ng-container",28),te()),2&e){const t=k(2);L("ngSwitch",t.lhcDataService.getLegalDisplayType(t.item)),I(),L("ngSwitchCase","inline-escaped"),I(),L("ngSwitchCase","inline-html"),I(),L("ngSwitchCase","inline-markdown"),I(),L("ngSwitchCase","inline-plain"),I(),L("ngSwitchCase","popover-escaped"),I(),L("ngSwitchCase","popover-html"),I(),L("ngSwitchCase","popover-markdown"),I(),L("ngSwitchCase","popover-plain")}}function Zye(e,n){if(1&e){const t=nt();$e(0),J(1,"div",1),Fe("focus",function(){ce(t);const r=k();return ue(r.lhcDataService.setActiveRow(r.item))}),ve(2,vye,2,1,"span",2),J(3,"span",3)(4,"label",4),ve(5,wye,6,5,"ng-container",0),$e(6,5),ve(7,Sye,2,3,"span",6)(8,Mye,2,5,"span",7)(9,Tye,2,3,"span",8)(10,Dye,2,3,"span",6),je(),ve(11,xye,2,0,"span",9),te()(),ve(12,Aye,2,1,"span",0)(13,Bye,9,9,"span",10)(14,Qye,9,9,"span",10),te(),je()}if(2&e){const t=k();I(2),L("ngIf",t.item._questionRepeatable&&!t.item._horizontalTableHeader&&!t.lhcDataService.isHideRepetitionNumber()),I(2),L("id",de("label-",t.item._elementId))("for",St(t.item._elementId)),I(),L("ngIf",t.item.prefix),I(),L("ngSwitch",t.lhcDataService.getTextDisplayType(t.item)),I(),L("ngSwitchCase","escaped"),I(),L("ngSwitchCase","html"),I(),L("ngSwitchCase","markdown"),I(),L("ngSwitchCase","plain"),I(),L("ngIf",t.item._answerRequired),I(),L("ngIf",t.lhcDataService.getLhcFormData().templateOptions.showQuestionCode&&t.item.codeList&&t.item.codeList.length>0),I(),L("ngIf",t.item.codingInstructions),I(),L("ngIf",t.item.legal)}}let e4=(()=>{class e{lhcDataService;item;constructor(t){this.lhcDataService=t}ngOnInit(){this.item&&this.item.copyrightNotice&&!this.item.legal&&(this.item.legal=this.item.copyrightNotice,delete this.item.copyrightNotice)}static \u0275fac=function(i){return new(i||e)(xe(Fr))};static \u0275cmp=bt({type:e,selectors:[["lhc-item-question-text"]],inputs:{item:"item"},standalone:!1,decls:1,vars:1,consts:[[4,"ngIf"],[1,"lhc-de-label",3,"focus"],["class","lf-sn",4,"ngIf"],[1,"lhc-question"],[3,"id","for"],[3,"ngSwitch"],["class","question",3,"style",4,"ngSwitchCase"],["class","question",3,"style","innerHTML",4,"ngSwitchCase"],["class","question",3,"innerHTML",4,"ngSwitchCase"],["class","lhc-required","title","Required",4,"ngIf"],[3,"ngSwitch",4,"ngIf"],[1,"lf-sn"],["class","prefix",3,"style",4,"ngSwitchCase"],["class","prefix",3,"style","innerHTML",4,"ngSwitchCase"],["class","prefix",3,"innerHTML",4,"ngSwitchCase"],[1,"prefix"],[1,"prefix",3,"innerHTML"],[1,"question"],[1,"question",3,"innerHTML"],["title","Required",1,"lhc-required"],[4,"ngFor","ngForOf"],["class","lhc-item-code","target","_blank","rel","noopener noreferrer",3,"href",4,"ngIf"],["class","lhc-item-code",4,"ngIf"],["target","_blank","rel","noopener noreferrer",1,"lhc-item-code",3,"href"],[1,"lhc-item-code"],["class","lhc-inline-help",3,"id","style",4,"ngSwitchCase"],["class","lhc-inline-help",3,"id","innerHTML","style",4,"ngSwitchCase"],["class","lhc-inline-help",3,"id","innerHTML",4,"ngSwitchCase"],[4,"ngSwitchCase"],[1,"lhc-inline-help",3,"id"],[1,"lhc-inline-help",3,"id","innerHTML"],[3,"item","popoverType"],["class","lhc-inline-legal",3,"id","style",4,"ngSwitchCase"],["class","lhc-inline-legal",3,"id","innerHTML","style",4,"ngSwitchCase"],["class","lhc-inline-legal",3,"id","innerHTML",4,"ngSwitchCase"],[1,"lhc-inline-legal",3,"id"],[1,"lhc-inline-legal",3,"id","innerHTML"]],template:function(i,r){1&i&&ve(0,Zye,15,15,"ng-container",0),2&i&&L("ngIf",r.item)},dependencies:[Zs,ar,Ms,Sl,Jf,Xf],encapsulation:2})}return e})(),Jd=(()=>{class e{areTwoAnswersSame(t,i,r){return tn.areTwoAnswersSame(t,i,r)}str2num(t,i){let r=null;if("integer"===i){const o=parseInt(t);r=isNaN(o)?null:o}else if("decimal"===i){const o=parseFloat(t);r=isNaN(o)?null:o}return r}getDisplayControlIsVertical(t){return void 0!==t?.answerLayout?.columns&&"0"!==t.answerLayout.columns}getAriaLabel(t){return t.prefix?`${t.prefix} ${t.question}`:t.question}static \u0275fac=function(i){return new(i||e)};static \u0275prov=Ke({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Xye=e=>({"lhc-vertical":e}),Jye=e=>({text:e,_notOnList:!0});function ebe(e,n){if(1&e&&($e(0),He(1),je()),2&e){const t=k().$implicit;I(),dn(t._displayTextHTML)}}function tbe(e,n){1&e&&(ze(0,"span",9),Vi(1,"safeHtml")),2&e&&L("outerHTML",pr(1,1,k().$implicit._displayTextHTML),Fo)}function nbe(e,n){1&e&&(ze(0,"span",9),Vi(1,"safeHtml")),2&e&&L("outerHTML",pr(1,1,k().$implicit._displayTextMarkdown),Fo)}function ibe(e,n){if(1&e&&($e(0),He(1),je()),2&e){const t=k().$implicit;I(),dn(t._displayText)}}function rbe(e,n){if(1&e){const t=nt();J(0,"div")(1,"label",5),Fe("click",function(){ce(t);const r=k(2);return ue(r.lhcDataService.setActiveRow(r.item))}),$i("ngModelChange",function(r){const o=ce(t).index,a=k(2);return ir(a.checkboxModels[o],r)||(a.checkboxModels[o]=r),ue(r)}),$e(2,6),ve(3,ebe,2,1,"ng-container",7)(4,tbe,2,3,"span",8)(5,nbe,2,3,"span",8)(6,ibe,2,1,"ng-container",7),je(),te()()}if(2&e){const t=n.$implicit,i=n.index,r=k(2);I(),xi(t._obj_CSS),ft("aria-label",ic("Checkbox ",t._displayText," for ",r.item.question)),L("nzValue",r.item.answers[i]),ji("ngModel",r.checkboxModels[i]),L("nzDisabled",r.item._readOnly)("id",r.lhcDataService.getItemAnswerId(r.item,t)),I(),L("ngSwitch",r.lhcDataService.getTextDisplayType(t)),I(),L("ngSwitchCase","escaped"),I(),L("ngSwitchCase","html"),I(),L("ngSwitchCase","markdown"),I(),L("ngSwitchCase","plain")}}function obe(e,n){if(1&e){const t=nt();J(0,"input",12),Fe("ngModelChange",function(r){return ce(t),ue(k(3).onOtherValueChange(r))})("focus",function(){ce(t);const r=k(3);return ue(r.lhcDataService.setActiveRow(r.item))}),te()}if(2&e){const t=k(3);L("ngModel",t.otherValue)("id",t.lhcDataService.getItemAnswerId(t.item,"_otherValue"))("disabled",t.item._readOnly)}}function abe(e,n){if(1&e){const t=nt();J(0,"div")(1,"label",10),Fe("click",function(){ce(t);const r=k(2);return ue(r.lhcDataService.setActiveRow(r.item))}),$i("ngModelChange",function(r){ce(t);const o=k(2);return ir(o.otherCheckboxModel,r)||(o.otherCheckboxModel=r),ue(r)}),He(2),te(),ve(3,obe,1,3,"input",11),te()}if(2&e){const t=k(2);I(),ft("aria-label",de("Checkbox Other for ",t.item.question)),L("nzValue",Yr(8,Jye,t.otherValue))("nzDisabled",t.item._readOnly),ji("ngModel",t.otherCheckboxModel),L("id",t.lhcDataService.getItemAnswerId(t.item,"_other")),I(),At(" ",t.item.openLabel||t.language.other," "),I(),L("ngIf",t.otherCheckboxModel)}}function sbe(e,n){if(1&e){const t=nt();J(0,"nz-checkbox-wrapper",1),Fe("nzOnChange",function(r){return ce(t),ue(k().onCheckboxModelChange(r))}),J(1,"div",2),ve(2,rbe,7,14,"div",3)(3,abe,4,10,"div",4),te()()}if(2&e){const t=k();I(),L("ngClass",Yr(3,Xye,t.commonUtils.getDisplayControlIsVertical(t.item.displayControl))),I(),L("ngForOf",t.acOptions.listItems),I(),L("ngIf","optionsOrString"===t.item.answerConstraint)}}let lbe=(()=>{class e{commonUtils;lhcDataService;item;acOptions;language=Sn;otherValue=null;checkboxModels=[];otherCheckboxModel=null;prevCheckBoxValue=null;constructor(t,i){this.commonUtils=t,this.lhcDataService=i}setInitialValue(){if(this.item&&this.item.value&&Array.isArray(this.item.value)&&this.item.answers&&Array.isArray(this.item.answers)){const t=this.item.answers.length;this.checkboxModels=new Array(t);for(let i=0,r=this.item.value.length;i<r;i++){const o=this.item.value[i];if(o._notOnList)this.otherCheckboxModel=!0,this.otherValue=o.text;else for(let a=0;a<t;a++)this.commonUtils.areTwoAnswersSame(o,this.item.answers[a],this.item)&&(this.checkboxModels[a]=!0)}this.prevCheckBoxValue=this.item.value,this.removeSubGroupsForNonExistentCheckboxes(),this.updateSubGroupsForMergedQR()}}ngOnInit(){}ngOnChanges(t){this.setInitialValue()}onCheckboxModelChange(t){this.item.value=t,this.lhcDataService.onItemValueChange(this.item,this.item.value,this.prevCheckBoxValue),this.prevCheckBoxValue=this.item.value,this.item._visitedBefore=!0,this.addOrRemoveSubGroupsForCheckbox()}hasSubGroupWithLinkId(t,i){return!(!t.items||!t.items.some(r=>!0===r.isSubGroupForCheckbox&&r.linkId===i))}addOrRemoveSubGroupsForCheckbox(){if(this.item.items)for(let t=0,i=this.checkboxModels.length;t<i;t++){const r=this.acOptions.listItems[t],o=this.lhcDataService.getLhcFormData().getLinkIdForCheckboxSubGroup(r),a=this.hasSubGroupWithLinkId(this.item,o);!0!==this.checkboxModels[t]||a?!this.checkboxModels[t]&&a&&this.lhcDataService.getLhcFormData().deleteSubItemsForCheckbox(this.item,r):this.lhcDataService.getLhcFormData().addSubItemsForCheckbox(this.item,r)}}updateSubGroupsForMergedQR(){if(this.item.items)for(let t=0,i=this.checkboxModels.length;t<i;t++){const r=this.acOptions.listItems[t],o=this.lhcDataService.getLhcFormData().getLinkIdForCheckboxSubGroup(r),a=this.hasSubGroupWithLinkId(this.item,o);!0===this.checkboxModels[t]&&a&&this.lhcDataService.getLhcFormData().updateCheckboxSubGroupProperties(this.item,r,o)}}removeSubGroupsForNonExistentCheckboxes(){const t=this.lhcDataService.getLhcFormData(),i=this.acOptions.listItems.map(r=>t.getLinkIdForCheckboxSubGroup(r));this.item.items&&(this.item.items=this.item.items.filter(r=>!r.isSubGroupForCheckbox||-1!==i.indexOf(r.linkId)))}onOtherValueChange(t){this.otherCheckboxModel&&(this.item.value=tn.deepCopy(this.prevCheckBoxValue).map(i=>(i._notOnList&&(i.text=t),i)),this.otherValue=t,this.lhcDataService.onItemValueChange(this.item,this.item.value,this.prevCheckBoxValue),this.prevCheckBoxValue=this.item.value)}static \u0275fac=function(i){return new(i||e)(xe(Jd),xe(Fr))};static \u0275cmp=bt({type:e,selectors:[["lhc-item-choice-check-box"]],inputs:{item:"item",acOptions:"acOptions"},standalone:!1,features:[wn],decls:1,vars:1,consts:[["style","width: 100%;",3,"nzOnChange",4,"ngIf"],[2,"width","100%",3,"nzOnChange"],["nz-row","",3,"ngClass"],[4,"ngFor","ngForOf"],[4,"ngIf"],["nz-checkbox","",3,"click","ngModelChange","nzValue","ngModel","nzDisabled","id"],[3,"ngSwitch"],[4,"ngSwitchCase"],[3,"outerHTML",4,"ngSwitchCase"],[3,"outerHTML"],["nz-checkbox","",3,"click","ngModelChange","nzValue","nzDisabled","ngModel","id"],["type","text","class","lhc-answer-other-input","nz-input","",3,"ngModel","id","disabled","ngModelChange","focus",4,"ngIf"],["type","text","nz-input","",1,"lhc-answer-other-input",3,"ngModelChange","focus","ngModel","id","disabled"]],template:function(i,r){1&i&&ve(0,sbe,4,5,"nz-checkbox-wrapper",0),2&i&&L("ngIf",r.item)},dependencies:[j7,Zs,ar,Ms,Sl,xl,Ja,Ra,wy,PN,SF,Xf],styles:[".lhc-answer-other-input[_ngcontent-%COMP%]{height:22px}.ant-checkbox-group[_ngcontent-%COMP%], .ant-checkbox-wrapper[_ngcontent-%COMP%]{color:#000000d9}.lhc-vertical[_ngcontent-%COMP%]{flex-direction:column}\n\n/*# sourceMappingURL=lhc-item-choice-check-box.component.css.map*/"]})}return e})();const cbe=e=>({"lhc-vertical":e}),ube=e=>({text:e,_notOnList:!0});function dbe(e,n){if(1&e&&($e(0),He(1),je()),2&e){const t=k().$implicit;I(),dn(t._displayTextHTML)}}function hbe(e,n){1&e&&(ze(0,"span",8),Vi(1,"safeHtml")),2&e&&L("outerHTML",pr(1,1,k().$implicit._displayTextHTML),Fo)}function fbe(e,n){1&e&&(ze(0,"span",8),Vi(1,"safeHtml")),2&e&&L("outerHTML",pr(1,1,k().$implicit._displayTextMarkdown),Fo)}function pbe(e,n){if(1&e&&($e(0),He(1),je()),2&e){const t=k().$implicit;I(),dn(t._displayText)}}function mbe(e,n){if(1&e){const t=nt();J(0,"label",4),Fe("click",function(){ce(t);const r=k(2);return ue(r.lhcDataService.setActiveRow(r.item))}),$i("ngModelChange",function(r){const o=ce(t).index,a=k(2);return ir(a.radioModels[o],r)||(a.radioModels[o]=r),ue(r)}),$e(1,5),ve(2,dbe,2,1,"ng-container",6)(3,hbe,2,3,"span",7)(4,fbe,2,3,"span",7)(5,pbe,2,1,"ng-container",6),je(),te()}if(2&e){const t=n.$implicit,i=n.index,r=k(2);xi(t._obj_CSS),L("nzDisabled",r.item._readOnly)("disabled",r.item._readOnly)("nzValue",r.item.answers[i]),ji("ngModel",r.radioModels[i]),L("id",r.lhcDataService.getItemAnswerId(r.item,t)),I(),L("ngSwitch",r.lhcDataService.getTextDisplayType(t)),I(),L("ngSwitchCase","escaped"),I(),L("ngSwitchCase","html"),I(),L("ngSwitchCase","markdown"),I(),L("ngSwitchCase","plain")}}function gbe(e,n){if(1&e){const t=nt();J(0,"input",10),Fe("ngModelChange",function(r){return ce(t),ue(k(3).onOtherValueChange(r))})("focus",function(){ce(t);const r=k(3);return ue(r.lhcDataService.setActiveRow(r.item))}),te()}if(2&e){const t=k(3);L("ngModel",t.otherValue)("id",t.lhcDataService.getItemAnswerId(t.item,"_otherValue"))("disabled",t.item._readOnly)}}function vbe(e,n){if(1&e){const t=nt();J(0,"label",4),Fe("click",function(){ce(t);const r=k(2);return ue(r.lhcDataService.setActiveRow(r.item))}),$i("ngModelChange",function(r){ce(t);const o=k(2);return ir(o.otherRadioModel,r)||(o.otherRadioModel=r),ue(r)}),He(1),ve(2,gbe,1,3,"input",9),te()}if(2&e){const t=k(2);L("nzDisabled",t.item._readOnly)("disabled",t.item._readOnly)("nzValue",Yr(7,ube,t.otherValue)),ji("ngModel",t.otherRadioModel),L("id",t.lhcDataService.getItemAnswerId(t.item,"_other")),I(),At(" ",t.item.openLabel||t.language.other," "),I(),L("ngIf",t.radioValue&&t.radioValue._notOnList)}}function _be(e,n){if(1&e){const t=nt();J(0,"div")(1,"nz-radio-group",1),Fe("ngModelChange",function(r){return ce(t),ue(k().onRadioModelChange(r))}),ve(2,mbe,6,12,"label",2)(3,vbe,3,9,"label",3),te()()}if(2&e){const t=k();I(),ft("aria-labelledby",de("label-",t.item._elementId)),L("ngModel",t.radioValue)("nzDisabled",t.item._readOnly)("nzName","radiogroup_"+t.item._elementId)("ngClass",Yr(8,cbe,t.commonUtils.getDisplayControlIsVertical(t.item.displayControl))),I(),L("ngForOf",t.acOptions.listItems),I(),L("ngIf","optionsOrString"===t.item.answerConstraint)}}let ybe=(()=>{class e{commonUtils;lhcDataService;item;acOptions;language=Sn;radioValue=null;otherValue=null;radioModels=[];otherRadioModel=null;constructor(t,i){this.commonUtils=t,this.lhcDataService=i}setInitialValue(){if(this.item&&this.item.value&&this.item.answers&&Array.isArray(this.item.answers))if(this.radioValue=this.item.value,this.item.value._notOnList)this.otherValue=this.item.value.text,this.otherRadioModel=!0;else{const t=this.item.answers.length;this.radioModels=new Array(t);for(let i=0;i<t;i++)if(this.commonUtils.areTwoAnswersSame(this.item.value,this.item.answers[i],this.item)){this.radioModels[i]=!0;break}}}ngOnChanges(t){this.setInitialValue()}onRadioModelChange(t){this.radioValue=t;const i=this.item.value;this.item.value=t,this.lhcDataService.onItemValueChange(this.item,this.item.value,i)}onOtherValueChange(t){this.otherValue=t;const i=this.item.value;this.item.value={text:t,_notOnList:!0},this.lhcDataService.onItemValueChange(this.item,this.item.value,i)}static \u0275fac=function(i){return new(i||e)(xe(Jd),xe(Fr))};static \u0275cmp=bt({type:e,selectors:[["lhc-item-choice-radio-button"]],inputs:{item:"item",acOptions:"acOptions"},standalone:!1,features:[wn],decls:1,vars:1,consts:[[4,"ngIf"],["role","radiogroup","nz-row","",1,"lhc-radio-group",3,"ngModelChange","ngModel","nzDisabled","nzName","ngClass"],["class","lhc-answer","nz-radio","",3,"nzDisabled","disabled","nzValue","ngModel","id","style","click","ngModelChange",4,"ngFor","ngForOf"],["nz-radio","","class","lhc-answer",3,"nzDisabled","disabled","nzValue","ngModel","id","click","ngModelChange",4,"ngIf"],["nz-radio","",1,"lhc-answer",3,"click","ngModelChange","nzDisabled","disabled","nzValue","ngModel","id"],[3,"ngSwitch"],[4,"ngSwitchCase"],[3,"outerHTML",4,"ngSwitchCase"],[3,"outerHTML"],["type","text","class","lhc-answer-other-input","nz-input","",3,"ngModel","id","disabled","ngModelChange","focus",4,"ngIf"],["type","text","nz-input","",1,"lhc-answer-other-input",3,"ngModelChange","focus","ngModel","id","disabled"]],template:function(i,r){1&i&&ve(0,_be,4,10,"div",0),2&i&&L("ngIf",r.item)},dependencies:[j7,Zs,ar,Ms,Sl,xl,Ja,Ra,ON,LN,SF,Xf],styles:[".lhc-radio-group[_ngcontent-%COMP%]{display:flex}.lhc-answer[_ngcontent-%COMP%]{margin:0}.lhc-answer-other-input[_ngcontent-%COMP%]{height:22px}.ant-radio-group[_ngcontent-%COMP%], .ant-radio-wrapper[_ngcontent-%COMP%]{color:#000000d9}.lhc-vertical[_ngcontent-%COMP%]{flex-direction:column}\n\n/*# sourceMappingURL=lhc-item-choice-radio-button.component.css.map*/"]})}return e})();const bbe=["ac"];function Cbe(e,n){if(1&e){const t=nt();J(0,"div")(1,"input",2,0),Fe("blur",function(){return ce(t),ue(k().onInputBlur())})("focus",function(){return ce(t),ue(k().onInputFocus())}),te()()}if(2&e){const t=k();Re(t.options.readOnly?"lhc-item-readyonly":null),I(),L("placeholder",St(t.options.placeholder))("id",St(t.options.elementId))("disabled",t.options.readOnly)}}let eH=(()=>{class e{lhcDataService;options;item;dataModel;isFormReady;dataModelChange=new ht;onFocusFn=new ht;onBlurFn=new ht;ac;selectedItems=[];multipleSelections=!1;allowNotOnList=!1;acType=null;acInstance=null;prefetchTextToItem;displayProp="";viewInitialized=!1;constructor(t){this.lhcDataService=t}ngOnChanges(t){if(this.viewInitialized){let i;if(t.options&&t.dataModel)this.cleanupAutocomplete(!0),this.setupAutocomplete(),i=t.dataModel&&!tn.deepEqual(this.dataModel,t.dataModel.previousValue);else if(t.options){const{keep:r,dataModelChanged:o}=this.keepDataModel(t);this.cleanupAutocomplete(r),this.setupAutocomplete(),i=o||!r}else t.dataModel&&(this.updateDisplayedValue(this.dataModel),i=!0);i&&(this.dataModelChange.emit(this.dataModel),this.lhcDataService.onItemValueChange(this.item,null,null,!0))}}keepDataModel(t){let i,r;if(void 0!==t.isFormReady?.previousValue?t.isFormReady.previousValue:this.isFormReady){const a=t?.options?.previousValue?.acOptions||{},s=t?.options?.currentValue?.acOptions||{};let l,c;void 0!==a.listItems||void 0!==s.listItems?(l=a.listItems,c=s.listItems):void 0!==a.url||void 0!==s.url?(l=a.url,c=s.url):(void 0!==a.fhir||void 0!==s.fhir)&&(l=a.fhir,c=s.fhir),i=tn.deepEqual(l,c),a.maxSelect!==s.maxSelect&&(("*"===a.maxSelect||parseInt(a.maxSelect)>1)&&1===parseInt(s.maxSelect)?(this.dataModel=this.dataModel[0],r=!0):1===parseInt(a.maxSelect)&&("*"===s.maxSelect||parseInt(s.maxSelect)>1)&&(this.dataModel=[this.dataModel],r=!0),i=!0)}else i=!0;return{keep:i,dataModelChanged:r}}updateDisplayedValue(t){if(this.multipleSelections){if(this.acInstance.clearStoredSelection(),Array.isArray(t))for(const i of t){const r=this.updateAutocompSelectionModel(i);this.acInstance.addToSelectedArea(r)}}else if(t){const i=this.updateAutocompSelectionModel(t);if("string"==typeof i){const r="prefetch"===this.acType?i.trim():i;this.acInstance.setFieldVal(r,!1)}else this.acInstance.setFieldVal("",!1)}else this.acInstance.setFieldVal("",!1)}getDisplayValue(t){let i=null;if("string"==typeof t)i=t;else if("prefetch"===this.acType)if(t._notOnList)t._notOnList&&(i=t.text);else if(this.options.acOptions.listItemsForModel){for(let r=0,o=this.options.acOptions.listItemsForModel.length;r<o;r++)if(tn.deepEqual(t,this.options.acOptions.listItemsForModel[r])){i=this.options.acOptions.listItems[r][this.displayProp],this.options.acOptions.isListHTML&&(i=i.replace(/(<([^>]+)>)/gi,"").trim());break}}else i=t[this.displayProp]?t[this.displayProp]:t.text;else i=t[this.displayProp];return i}updateAutocompSelectionModel(t){const i=this.getDisplayValue(t);return this.acInstance.storeSelectedItem(i,t.code),i}ngAfterViewInit(){const t=tn.deepCopy(this.dataModel);this.setupAutocomplete(),tn.deepEqual(t,this.dataModel)||(this.dataModelChange.emit(this.dataModel),this.lhcDataService.onItemValueChange(this.item,null,null,!0)),this.viewInitialized=!0}ngOnDestroy(){this.cleanupAutocomplete()}onInputBlur(){this.onBlurFn.emit()}onInputFocus(){this.onFocusFn.emit()}cleanupAutocomplete(t=!1){this.acInstance&&(this.acInstance.setFieldVal("",!1),!t&&void 0!==this.dataModel&&(this.dataModel=null),this.acInstance.destroy())}setupAutocomplete(){if(this.selectedItems=[],this.multipleSelections=!1,this.acType=null,this.acInstance=!1,this.allowNotOnList=null,this.prefetchTextToItem={},this.displayProp="",this.options&&this.options.acOptions){const t=this.options.acOptions;if(t.maxSelect&&("*"===t.maxSelect||parseInt(t.maxSelect)>1)&&(this.multipleSelections=!0),this.allowNotOnList=!t.matchListValue,this.displayProp=t.display||"text",t.hasOwnProperty("url")||t.fhir&&t.fhir.search)this.acType="search",this.acInstance=new(c8().Autocompleter.Search)(this.ac.nativeElement,t.url,t);else{this.acType="prefetch";const o=[];t.listItems.forEach((a,s)=>{o.push(a[this.displayProp]);let l=a[this.displayProp].trim();t.isListHTML&&(l=l.replace(/(<([^>]+)>)/gi,"").trim()),this.prefetchTextToItem[l]=t.listItemsForModel?t.listItemsForModel[s]:a},this),this.acInstance=new(c8().Autocompleter.Prefetch)(this.ac.nativeElement,o,t)}this.setItemInitValue(this.dataModel||t.defaultValue),c8().Autocompleter.Event.observeListSelections(this.options.elementId,this.onSelectionHandler.bind(this))}}setItemInitValue(t){if(t)if(this.multipleSelections&&Array.isArray(t)){for(let i=0,r=t.length;i<r;++i){const o=t[i],a=this.getDisplayValue(o);this.acInstance.storeSelectedItem(a,o.code),this.acInstance.addToSelectedArea(a)}this.acInstance.setFieldVal("",!1),this.selectedItems=t}else{const i=this.getDisplayValue(t);if("string"==typeof i){this.acInstance.storeSelectedItem(i,t.code);const r="prefetch"===this.acType?i.trim():i;this.acInstance.setFieldVal(r,!1)}else this.acInstance.setFieldVal("",!1);this.dataModel=t}}onSelectionHandler(t){let i=!1;if("prefetch"===this.acType){const r=this.acInstance.getSelectedItems();i=this.setItemValueForPrefetchAC(r)}else"search"===this.acType&&(i=this.setItemValueForSearchAC(t));i&&(this.dataModelChange.emit(this.dataModel),this.lhcDataService.onItemValueChange(this.item,null,null,!0))}setItemValueForPrefetchAC(t){const i=Bh(this.dataModel);if(t)if(0===t.length)this.dataModel=null;else{const r=t.map(o=>this.prefetchTextToItem[o]||(this.allowNotOnList?this.options.modelForOffListItem?this.options.modelForOffListItem(o):{text:o,_notOnList:!0}:void 0));this.dataModel=this.multipleSelections?r:r.length>=0&&r[0]?r[0]:null}else this.dataModel=null;return!tn.deepEqual(i,this.dataModel)}getSearchItemModelData(t,i){let r=null;if(""!==t){const o=this.acInstance.getItemData(t);i?r=o:!i&&this.allowNotOnList&&(r=o,r._notOnList=!0),r&&r.code_system&&!r.system&&(r.system=r.code_system,delete r.code_system)}return r}setItemValueForSearchAC(t){const i=t.final_val,r=t.on_list,o=Bh(this.dataModel);if("search"===this.acType)if(this.multipleSelections)if(t.removed)this.selectedItems=this.selectedItems.filter(a=>i!==a.text);else{const a=this.getSearchItemModelData(i,r);a&&(this.selectedItems=[...this.selectedItems,a])}else this.selectedItems=this.getSearchItemModelData(i,r);return this.dataModel=this.selectedItems,!tn.deepEqual(o,this.dataModel)}static \u0275fac=function(i){return new(i||e)(xe(Fr))};static \u0275cmp=bt({type:e,selectors:[["lhc-autocomplete"]],viewQuery:function(i,r){if(1&i&&Hi(bbe,5),2&i){let o;En(o=In())&&(r.ac=o.first)}},inputs:{options:"options",item:"item",dataModel:"dataModel",isFormReady:"isFormReady"},outputs:{dataModelChange:"dataModelChange",onFocusFn:"onFocusFn",onBlurFn:"onBlurFn"},standalone:!1,features:[wn],decls:1,vars:1,consts:[["ac",""],[3,"class",4,"ngIf"],["type","text",3,"blur","focus","disabled","placeholder","id"]],template:function(i,r){1&i&&ve(0,Cbe,3,7,"div",1),2&i&&L("ngIf",r.options)},dependencies:[ar],encapsulation:2})}return e})();function wbe(e,n){if(1&e){const t=nt();J(0,"div")(1,"lhc-autocomplete",1),$i("dataModelChange",function(r){ce(t);const o=k();return ir(o.item.value,r)||(o.item.value=r),ue(r)}),Fe("onBlurFn",function(){ce(t);const r=k();return ue(r.lhcDataService.activeRowOnBlur(r.item))})("onFocusFn",function(){ce(t);const r=k();return ue(r.lhcDataService.setActiveRow(r.item))}),te()()}if(2&e){const t=k();I(),L("options",t.options)("item",t.item),ji("dataModel",t.item.value),L("isFormReady",t.lhcDataService.isFormReady())}}let Sbe=(()=>{class e{lhcDataService;item;acOptions;readOnly;options={};constructor(t){this.lhcDataService=t}ngOnChanges(t){this.item&&(t.acOptions||t.readOnly)&&(this.options={elementId:this.item._elementId,acOptions:this.item._autocompOptions,placeholder:this.item._placeholder,readOnly:this.readOnly})}static \u0275fac=function(i){return new(i||e)(xe(Fr))};static \u0275cmp=bt({type:e,selectors:[["lhc-item-choice-autocomplete"]],inputs:{item:"item",acOptions:"acOptions",readOnly:"readOnly"},standalone:!1,features:[wn],decls:1,vars:1,consts:[[4,"ngIf"],[3,"dataModelChange","onBlurFn","onFocusFn","options","item","dataModel","isFormReady"]],template:function(i,r){1&i&&ve(0,wbe,2,4,"div",0),2&i&&L("ngIf",r.item)},dependencies:[ar,eH],encapsulation:2})}return e})();function Mbe(e,n){if(1&e&&ze(0,"lhc-item-choice-radio-button",5),2&e){const t=k(3);L("item",t.item)("acOptions",t.item._autocompOptions)}}function Tbe(e,n){if(1&e&&ze(0,"lhc-item-choice-check-box",5),2&e){const t=k(3);L("item",t.item)("acOptions",t.item._autocompOptions)}}function Dbe(e,n){if(1&e&&($e(0),ve(1,Mbe,1,2,"lhc-item-choice-radio-button",4)(2,Tbe,1,2,"lhc-item-choice-check-box",4),je()),2&e){const t=k(2);I(),L("ngIf",!t.item._multipleAnswers),I(),L("ngIf",t.item._multipleAnswers)}}function xbe(e,n){if(1&e&&ze(0,"lhc-item-choice-autocomplete",6),2&e){const t=k(2);L("item",t.item)("acOptions",t.item._autocompOptions)("readOnly",t.item._readOnly)}}function kbe(e,n){if(1&e&&($e(0)(1,1),ve(2,Dbe,3,2,"ng-container",2)(3,xbe,1,3,"lhc-item-choice-autocomplete",3),je()()),2&e){const t=k();I(),L("ngSwitch",t.item.displayControl&&t.item.displayControl.answerLayout&&t.item.displayControl.answerLayout.type),I(),L("ngSwitchCase","RADIO_CHECKBOX")}}let Ebe=(()=>{class e{item;static \u0275fac=function(i){return new(i||e)};static \u0275cmp=bt({type:e,selectors:[["lhc-item-choice"]],inputs:{item:"item"},standalone:!1,decls:1,vars:1,consts:[[4,"ngIf"],[3,"ngSwitch"],[4,"ngSwitchCase"],[3,"item","acOptions","readOnly",4,"ngSwitchDefault"],[3,"item","acOptions",4,"ngIf"],[3,"item","acOptions"],[3,"item","acOptions","readOnly"]],template:function(i,r){1&i&&ve(0,kbe,4,2,"ng-container",0),2&i&&L("ngIf",r.item)},dependencies:[ar,Ms,Sl,Rh,lbe,ybe,Sbe],encapsulation:2})}return e})();function Ibe(e,n){if(1&e){const t=nt();$e(0),J(1,"input",1),Fe("ngModelChange",function(r){return ce(t),ue(k().onModelChange(r))})("blur",function(){ce(t);const r=k();return ue(r.lhcDataService.activeRowOnBlur(r.item))})("focus",function(){ce(t);const r=k();return ue(r.lhcDataService.setActiveRow(r.item))}),te(),je()}if(2&e){const t=k();I(),ft("aria-labelledby",de("label-",t.item._elementId)),L("id",St(t.item._elementId))("placeholder",St(t.item._placeholder))("disabled",t.item._readOnly)("ngModel",t.item.value),ft("aria-required",t.item._answerRequired)}}let Ab=(()=>{class e{lhcDataService;item;constructor(t){this.lhcDataService=t}onModelChange(t){const i=this.item.value;this.item.value=t,this.lhcDataService.onItemValueChange(this.item,this.item.value,i)}static \u0275fac=function(i){return new(i||e)(xe(Fr))};static \u0275cmp=bt({type:e,selectors:[["lhc-input"]],inputs:{item:"item"},standalone:!1,decls:1,vars:1,consts:[[4,"ngIf"],["type","text",3,"ngModelChange","blur","focus","id","disabled","ngModel","placeholder"]],template:function(i,r){1&i&&ve(0,Ibe,2,9,"ng-container",0),2&i&&L("ngIf",r.item)},dependencies:[ar,xl,Ja,Ra],encapsulation:2})}return e})();function zbe(e,n){if(1&e){const t=nt();J(0,"div",3)(1,"input",4),Fe("blur",function(){ce(t);const r=k(2);return ue(r.lhcDataService.activeRowOnBlur(r.item))})("focus",function(){ce(t);const r=k(2);return ue(r.lhcDataService.setActiveRow(r.item))}),te()()}if(2&e){const t=k(2);I(),L("id",St(t.unitElementId))("value",St(t.item.itemControlUnit||t.item.unit.name||t.item.unit.code))("disabled",t.item._readOnly)}}function Abe(e,n){if(1&e&&($e(0),ze(1,"lhc-input",1),ve(2,zbe,2,5,"div",2),je()),2&e){const t=k();I(),L("item",t.item),I(),L("ngIf",t.hasSingleUnit)}}let Lbe=(()=>{class e{lhcDataService;item;isSimpleType=!1;hasSingleUnit=!1;unitElementId="";constructor(t){this.lhcDataService=t}ngOnChanges(){this.item&&(this.isSimpleType="INT"===this.item.dataType||"REAL"===this.item.dataType||"ST"===this.item.dataType||!this.item.dataType,this.hasSingleUnit=this.item.unit&&this.item._unitReadonly,this.unitElementId="unit_"+this.item._elementId)}static \u0275fac=function(i){return new(i||e)(xe(Fr))};static \u0275cmp=bt({type:e,selectors:[["lhc-item-simple-type"]],inputs:{item:"item"},standalone:!1,features:[wn],decls:1,vars:1,consts:[[4,"ngIf"],[3,"item"],["class","lhc-de-unit",4,"ngIf"],[1,"lhc-de-unit"],["type","text","aria-labelledby","th_Units","readonly","",3,"blur","focus","disabled","id","value"]],template:function(i,r){1&i&&ve(0,Abe,3,2,"ng-container",0),2&i&&L("ngIf",r.item&&r.isSimpleType)},dependencies:[ar,Ab],encapsulation:2})}return e})();function Obe(e,n){if(1&e){const t=nt();$e(0),J(1,"lhc-autocomplete",1),$i("dataModelChange",function(r){ce(t);const o=k();return ir(o.item.unit,r)||(o.item.unit=r),ue(r)}),Fe("onBlurFn",function(){ce(t);const r=k();return ue(r.lhcDataService.activeRowOnBlur(r.item))})("onFocusFn",function(){ce(t);const r=k();return ue(r.lhcDataService.setActiveRow(r.item))}),te(),je()}if(2&e){const t=k();I(),L("options",t.options)("item",t.item),ji("dataModel",t.item.unit),L("isFormReady",t.lhcDataService.isFormReady())}}function Pbe(e,n){if(1&e){const t=nt();$e(0),J(1,"input",2),Fe("blur",function(){ce(t);const r=k();return ue(r.lhcDataService.activeRowOnBlur(r.item))})("focus",function(){ce(t);const r=k();return ue(r.lhcDataService.setActiveRow(r.item))})("change",function(r){return ce(t),ue(k().updateModel(r))}),te(),je()}if(2&e){const t=k();I(),L("placeholder",St(t.options.toolTip))("id",St(t.options.elementId))("value",St((null==t.item||null==t.item.unit?null:t.item.unit.name)||(null==t.item||null==t.item.unit?null:t.item.unit.code)))("readOnly",t.options.readOnly)}}let Nbe=(()=>{class e{lhcDataService;item;options={};hasUnitAutocomplete=!1;hasUnitInputField=!1;constructor(t){this.lhcDataService=t}ngOnChanges(t){const i=this.item;i&&(this.hasUnitAutocomplete=!!i._unitAutocompOptions,this.options.readOnly=this.lhcDataService.getTemplateOptions().readonlyMode||i._readOnly||!i.units&&i._unitOpen&&"optionsOrString"!=i._unitOpen,this.options.elementId="unit_"+i._elementId,this.options.acOptions=i._unitAutocompOptions,this.options.placeholder=i._placeholder,this.options.modelForOffListItem=ki.modelForOffListUnit)}updateModel(t){this.item.unit={name:t.target.value}}static \u0275fac=function(i){return new(i||e)(xe(Fr))};static \u0275cmp=bt({type:e,selectors:[["lhc-unit"]],inputs:{item:"item"},standalone:!1,features:[wn],decls:2,vars:2,consts:[[4,"ngIf"],[3,"dataModelChange","onBlurFn","onFocusFn","options","item","dataModel","isFormReady"],["type","text",3,"blur","focus","change","readOnly","placeholder","id","value"]],template:function(i,r){1&i&&ve(0,Obe,2,4,"ng-container",0)(1,Pbe,2,7,"ng-container",0),2&i&&(L("ngIf",r.hasUnitAutocomplete),I(),L("ngIf",!r.hasUnitAutocomplete))},dependencies:[ar,eH],encapsulation:2})}return e})();function Fbe(e,n){if(1&e&&($e(0),ze(1,"lhc-input",1)(2,"lhc-unit",1),je()),2&e){const t=k();I(),L("item",t.item),I(),L("item",t.item)}}let Rbe=(()=>{class e{item;isQuantity=!1;ngOnInit(){this.isQuantity=this.item&&"QTY"===this.item.dataType}static \u0275fac=function(i){return new(i||e)};static \u0275cmp=bt({type:e,selectors:[["lhc-item-quantity"]],inputs:{item:"item"},standalone:!1,decls:1,vars:1,consts:[[4,"ngIf"],[3,"item"]],template:function(i,r){1&i&&ve(0,Fbe,3,2,"ng-container",0),2&i&&L("ngIf",r.item&&r.isQuantity)},dependencies:[ar,Nbe,Ab],encapsulation:2})}return e})();function Hbe(e,n){if(1&e&&(J(0,"div")(1,"div",5),ze(2,"i",6),J(3,"span",7),He(4),te(),J(5,"span",8),He(6),te()()()),2&e){const t=n.$implicit,i=k(3);I(4),dn(i.item.question),I(2),dn(t)}}function Vbe(e,n){if(1&e&&(J(0,"div",3),ve(1,Hbe,7,2,"div",4),te()),2&e){const t=k(2);I(),L("ngForOf",t.item._validationErrors)}}function Bbe(e,n){if(1&e&&($e(0),ve(1,Vbe,2,1,"div",1),J(2,"div",2),He(3),te(),je()),2&e){const t=k();I(),L("ngIf",t.item._hasValidation),I(2),dn(t.value)}}let Ube=(()=>{class e{lhcDataService;item;value;constructor(t){this.lhcDataService=t}ngOnChanges(t){if(t.value&&!t.value.firstChange){const i=this.lhcDataService.getLhcFormData();setTimeout(()=>{i._checkValidations(this.item),this.item._validationErrors&&this.item._validationErrors.forEach(r=>{this.lhcDataService.sendMsgToScreenReader(`${this.item.question} ${r}`)})},1)}}static \u0275fac=function(i){return new(i||e)(xe(Fr))};static \u0275cmp=bt({type:e,selectors:[["lhc-validate"]],inputs:{item:"item",value:"value"},standalone:!1,features:[wn],decls:1,vars:1,consts:[[4,"ngIf"],["class","lhc-validation-popover",4,"ngIf"],[1,"lhc-watched-value"],[1,"lhc-validation-popover"],[4,"ngFor","ngForOf"],[1,"validation-error"],["nz-icon","","nzType","close",1,"lhc-error-icon"],[1,"lhc-error-item"],[1,"lhc-error-msg"]],template:function(i,r){1&i&&ve(0,Bbe,4,2,"ng-container",0),2&i&&L("ngIf",r.item)},dependencies:[Zs,ar,Va],styles:[".lhc-error-icon[_ngcontent-%COMP%]{color:red;font-weight:700}.lhc-error-msg[_ngcontent-%COMP%]{color:red}.lhc-error-msg[_ngcontent-%COMP%], .lhc-error-item[_ngcontent-%COMP%]{margin-left:.5em}.lhc-watched-value[_ngcontent-%COMP%]{display:none}\n\n/*# sourceMappingURL=lhc-validate.component.css.map*/"]})}return e})();function qbe(e,n){if(1&e){const t=nt();$e(0),J(1,"nz-radio-group",1),Fe("ngModelChange",function(r){return ce(t),ue(k().onModelChange(r))})("click",function(){ce(t);const r=k();return ue(r.lhcDataService.setActiveRow(r.item))}),J(2,"label",2),$i("ngModelChange",function(r){ce(t);const o=k();return ir(o.booleanModels[0],r)||(o.booleanModels[0]=r),ue(r)}),He(3),te(),J(4,"label",2),$i("ngModelChange",function(r){ce(t);const o=k();return ir(o.booleanModels[1],r)||(o.booleanModels[1]=r),ue(r)}),He(5),te(),J(6,"label",2),$i("ngModelChange",function(r){ce(t);const o=k();return ir(o.booleanModels[2],r)||(o.booleanModels[2]=r),ue(r)}),He(7),te()(),je()}if(2&e){const t=k();I(),ft("aria-labelledby",de("label-",t.item._elementId)),L("ngModel",t.value)("nzName","radiogroup_"+t.item._elementId),I(),L("nzDisabled",t.item._readOnly)("disabled",t.item._readOnly)("nzValue",!0),ji("ngModel",t.booleanModels[0]),L("id",t.lhcDataService.getItemAnswerId(t.item,"true")),I(),dn(t.language.booleanYes),I(),L("nzDisabled",t.item._readOnly)("disabled",t.item._readOnly)("nzValue",!1),ji("ngModel",t.booleanModels[1]),L("id",t.lhcDataService.getItemAnswerId(t.item,"false")),I(),dn(t.language.booleanNo),I(),L("nzDisabled",t.item._readOnly)("disabled",t.item._readOnly)("nzValue",null),ji("ngModel",t.booleanModels[2]),L("id",t.lhcDataService.getItemAnswerId(t.item,"null")),I(),dn(t.language.booleanNotAnswered)}}let Ybe=(()=>{class e{lhcDataService;item;value;booleanModels=new Array(3);language=Sn;constructor(t){this.lhcDataService=t}ngOnChanges(t){this.setBooleanModels()}onModelChange(t){const i=this.item.value;this.item.value=t,this.lhcDataService.onItemValueChange(this.item,this.item.value,i)}setBooleanModels(){if(this.item){const t=this.item.value;!0===t?this.booleanModels=[!0,!1,!1]:!1===t?this.booleanModels=[!1,!0,!1]:null==t&&(this.booleanModels=[!1,!1,!0])}}static \u0275fac=function(i){return new(i||e)(xe(Fr))};static \u0275cmp=bt({type:e,selectors:[["lhc-item-boolean"]],inputs:{item:"item",value:"value"},standalone:!1,features:[wn],decls:1,vars:1,consts:[[4,"ngIf"],["role","radiogroup",3,"ngModelChange","click","ngModel","nzName"],["nz-radio","",3,"ngModelChange","nzDisabled","disabled","nzValue","ngModel","id"]],template:function(i,r){1&i&&ve(0,qbe,8,22,"ng-container",0),2&i&&L("ngIf",r.item)},dependencies:[ar,Ja,Ra,ON,LN],styles:["[_nghost-%COMP%]{display:block;padding:4.3125px 2px}\n\n/*# sourceMappingURL=lhc-item-boolean.component.css.map*/"]})}return e})();const jbe=["nzDatePickerComponent"];function $be(e,n){if(1&e){const t=nt();$e(0),J(1,"nz-date-picker",2,0),Fe("ngModelChange",function(r){return ce(t),ue(k().onModelChange(r))}),$i("ngModelChange",function(r){ce(t);const o=k();return ir(o.item.value,r)||(o.item.value=r),ue(r)}),Fe("focus",function(){ce(t);const r=k();return ue(r.lhcDataService.setActiveRow(r.item))}),te(),je()}if(2&e){const t=k();I(),L("id",St(t.item._elementId))("nzPlaceHolder",St(t.item._placeholder))("nzDisabled",t.item._readOnly)("nzFormat",t.language.dateFormat),ji("ngModel",t.item.value),ft("aria-required",t.item._answerRequired)}}let Wbe=(()=>{class e{lhcDataService;commonUtilsService;item;nzDatePickerComponent;constructor(t,i){this.lhcDataService=t,this.commonUtilsService=i}ngAfterViewInit(){this.nzDatePickerComponent.pickerInput.nativeElement.setAttribute("aria-label",this.commonUtilsService.getAriaLabel(this.item))}onModelChange(t){const i=this.item.value;this.item.value=t,this.lhcDataService.onItemValueChange(this.item,this.item.value,i)}language=Sn;static \u0275fac=function(i){return new(i||e)(xe(Fr),xe(Jd))};static \u0275cmp=bt({type:e,selectors:[["lhc-item-date"]],viewQuery:function(i,r){if(1&i&&Hi(jbe,5),2&i){let o;En(o=In())&&(r.nzDatePickerComponent=o.first)}},inputs:{item:"item"},standalone:!1,decls:1,vars:1,consts:[["nzDatePickerComponent",""],[4,"ngIf"],["nzSize","small",1,"lhc-date-picker",3,"ngModelChange","focus","nzDisabled","id","nzFormat","nzPlaceHolder","ngModel"]],template:function(i,r){1&i&&ve(0,$be,3,8,"ng-container",1),2&i&&L("ngIf",r.item)},dependencies:[ar,Ja,Ra,By],encapsulation:2})}return e})();function Gbe(e,n){if(1&e){const t=nt();$e(0),J(1,"nz-time-picker",1),Fe("ngModelChange",function(r){return ce(t),ue(k().onModelChange(r))})("focus",function(){ce(t);const r=k();return ue(r.lhcDataService.setActiveRow(r.item))}),te(),je()}if(2&e){const t=k();I(),L("id",St(t.item._elementId))("nzPlaceHolder",St(t.item._placeholder))("nzDisabled",t.item._readOnly)("nzFormat",t.language.timeFormat)("ngModel",t.time),ft("aria-required",t.item._answerRequired)}}let Kbe=(()=>{class e{lhcDataService;elRef;commonUtilsService;item;time=null;constructor(t,i,r){this.lhcDataService=t,this.elRef=i,this.commonUtilsService=r}ngOnChanges(){if(this.item.value){const t=new Date("1970-01-01 "+this.item.value);isNaN(t)||(this.time=t)}}onModelChange(t){const i=this.item.value;if(t){const r=t.toTimeString();r&&(this.item.value=r.slice(0,8),this.lhcDataService.onItemValueChange(this.item,this.item.value,i))}}ngAfterViewInit(){const t=this.elRef.nativeElement.querySelector("input");t&&t.setAttribute("aria-label",this.commonUtilsService.getAriaLabel(this.item))}language=Sn;static \u0275fac=function(i){return new(i||e)(xe(Fr),xe(pn),xe(Jd))};static \u0275cmp=bt({type:e,selectors:[["lhc-item-time"]],inputs:{item:"item"},standalone:!1,features:[wn],decls:1,vars:1,consts:[[4,"ngIf"],["nzSize","small",1,"lhc-time-picker",3,"ngModelChange","focus","nzDisabled","id","nzFormat","nzPlaceHolder","ngModel"]],template:function(i,r){1&i&&ve(0,Gbe,2,8,"ng-container",0),2&i&&L("ngIf",r.item)},dependencies:[ar,Ja,Ra,hF],encapsulation:2})}return e})();const Qbe=["nzDatePickerComponent"];function Zbe(e,n){if(1&e){const t=nt();$e(0),J(1,"nz-date-picker",2,0),Fe("ngModelChange",function(r){return ce(t),ue(k().onModelChange(r))}),$i("ngModelChange",function(r){ce(t);const o=k();return ir(o.item.value,r)||(o.item.value=r),ue(r)}),Fe("nzOnOk",function(r){return ce(t),ue(k().onOk(r))})("focus",function(){ce(t);const r=k();return ue(r.lhcDataService.setActiveRow(r.item))}),te(),je()}if(2&e){const t=k();I(),L("id",St(t.item._elementId))("nzPlaceHolder",St(t.item._placeholder))("nzDisabled",t.item._readOnly)("nzFormat",t.language.dateTimeFormat),ji("ngModel",t.item.value),ft("aria-required",t.item._answerRequired)}}let Xbe=(()=>{class e{lhcDataService;commonUtilsService;item;nzDatePickerComponent;constructor(t,i){this.lhcDataService=t,this.commonUtilsService=i}ngAfterViewInit(){this.nzDatePickerComponent.pickerInput.nativeElement.setAttribute("aria-label",this.commonUtilsService.getAriaLabel(this.item))}onOk(t){}onCalendarChange(t){}onModelChange(t){const i=this.item.value;this.item.value=t,this.lhcDataService.onItemValueChange(this.item,this.item.value,i,!0)}language=Sn;static \u0275fac=function(i){return new(i||e)(xe(Fr),xe(Jd))};static \u0275cmp=bt({type:e,selectors:[["lhc-item-datetime"]],viewQuery:function(i,r){if(1&i&&Hi(Qbe,5),2&i){let o;En(o=In())&&(r.nzDatePickerComponent=o.first)}},inputs:{item:"item"},standalone:!1,decls:1,vars:1,consts:[["nzDatePickerComponent",""],[4,"ngIf"],["nzShowTime","","nzSize","small",1,"lhc-datetime-picker",3,"ngModelChange","nzOnOk","focus","nzDisabled","id","nzFormat","nzPlaceHolder","ngModel"]],template:function(i,r){1&i&&ve(0,Zbe,3,8,"ng-container",1),2&i&&L("ngIf",r.item)},dependencies:[ar,Ja,Ra,By],encapsulation:2})}return e})();function Jbe(e,n){if(1&e){const t=nt();$e(0),J(1,"textarea",1),Fe("ngModelChange",function(r){return ce(t),ue(k().onModelChange(r))})("blur",function(){ce(t);const r=k();return ue(r.lhcDataService.activeRowOnBlur(r.item))})("focus",function(){ce(t);const r=k();return ue(r.lhcDataService.setActiveRow(r.item))}),He(2,"  "),te(),je()}if(2&e){const t=k();I(),ft("aria-labelledby",de("label-",t.item._elementId)),L("id",St(t.item._elementId))("placeholder",St(t.item._placeholder))("disabled",t.item._readOnly)("ngModel",t.item.value),ft("aria-required",t.item._answerRequired)}}let eCe=(()=>{class e{lhcDataService;item;constructor(t){this.lhcDataService=t}onModelChange(t){const i=this.item.value;this.item.value=t,this.lhcDataService.onItemValueChange(this.item,this.item.value,i)}static \u0275fac=function(i){return new(i||e)(xe(Fr))};static \u0275cmp=bt({type:e,selectors:[["lhc-item-text"]],inputs:{item:"item"},standalone:!1,decls:1,vars:1,consts:[[4,"ngIf"],[3,"ngModelChange","blur","focus","id","disabled","ngModel","placeholder"]],template:function(i,r){1&i&&ve(0,Jbe,3,9,"ng-container",0),2&i&&L("ngIf",r.item)},dependencies:[ar,xl,Ja,Ra],encapsulation:2})}return e})();const tCe=["fileInput"];function nCe(e,n){if(1&e){const t=nt();J(0,"div")(1,"label"),He(2,"URL for file:"),te(),J(3,"input",5),$i("ngModelChange",function(r){ce(t);const o=k(3);return ir(o.item._attachmentURL,r)||(o.item._attachmentURL=r),ue(r)}),Fe("focus",function(){ce(t);const r=k(3);return ue(r.lhcDataService.setActiveRow(r.item))})("blur",function(){ce(t);const r=k(3);return ue(r.lhcDataService.activeRowOnBlur(r.item))}),te(),J(4,"input",6),Fe("focus",function(){ce(t);const r=k(3);return ue(r.lhcDataService.setActiveRow(r.item))})("blur",function(){ce(t);const r=k(3);return ue(r.lhcDataService.activeRowOnBlur(r.item))}),$i("ngModelChange",function(r){ce(t);const o=k(3);return ir(o.item._attachmentName,r)||(o.item._attachmentName=r),ue(r)}),te(),J(5,"button",7),Fe("click",function(){ce(t);const r=k(3);return ue(r.createAttachment(r.item))}),He(6),te(),ze(7,"br"),He(8," Note: The URL you enter will not be downloaded or verified, but simply copied into your response. Please ensure that it works. "),te()}if(2&e){const t=k(3);I(3),L("disabled",t.item._readOnly),ji("ngModel",t.item._attachmentURL),I(),L("disabled",t.item._readOnly),ji("ngModel",t.item._attachmentName),I(),L("disabled",t.item._readOnly),I(),At(" Attach URL",t.item._fileInfo?" and file data":"")}}function iCe(e,n){if(1&e){const t=nt();J(0,"div")(1,"input",3,0),Fe("change",function(r){return ce(t),ue(k(2).onChange(r))})("focus",function(){ce(t);const r=k(2);return ue(r.lhcDataService.setActiveRow(r.item))})("blur",function(){ce(t);const r=k(2);return ue(r.lhcDataService.activeRowOnBlur(r.item))}),te(),J(3,"button",4),Fe("click",function(){ce(t);const r=k(2);return ue(r.item._useURL=!r.item._useURL)}),He(4,"\u21af"),te(),ve(5,nCe,9,6,"div",1),te()}if(2&e){const t=k(2);I(),L("placeholder",St(t.item._placeholder))("id",St("file-"+t.item._elementId))("name",t.item._text)("disabled",t.item._readOnly),I(2),L("title",St(t.item._useURL?"Hide URL field":"Show URL field")),I(2),L("ngIf",t.item._useURL)}}function rCe(e,n){if(1&e){const t=nt();J(0,"a",10),Fe("click",function(r){ce(t);const o=k(3);return ue(o.downloadAttachment(o.item.value,r))}),He(1),te()}if(2&e){const t=k(3);L("title",St("Download "+t.item.value.title))("download",St(t.item.title))("href",St(t.item.value.url&&!t.item.value.data?t.item.value.url:"javascript:void(0)"),j2),I(),dn(t.item.value.title||t.item.value.url||"Unknown filename")}}function oCe(e,n){if(1&e&&(J(0,"span")(1,"label"),He(2,"Download progress: "),ze(3,"progress",11),te()()),2&e){const t=k(3);I(3),L("value",St(t.item.value._progress))}}function aCe(e,n){if(1&e){const t=nt();J(0,"button",12),Fe("click",function(){ce(t);const r=k(3);return ue(r.removeAttachment(r.item))}),He(1,"\u2716"),te()}2&e&&L("title",St("Remove "+k(3).item.value.title))}function sCe(e,n){if(1&e&&(J(0,"span"),ve(1,rCe,2,7,"a",8)(2,oCe,4,2,"span",1)(3,aCe,2,2,"button",9),te()),2&e){const t=k(2);I(),L("ngIf",!t.item.value._progress),I(),L("ngIf",t.item.value._progress),I(),L("ngIf",!t.item._readOnly)}}function lCe(e,n){if(1&e&&($e(0),J(1,"div",2),ve(2,iCe,6,9,"div",1)(3,sCe,4,3,"span",1),te(),je()),2&e){const t=k();I(),L("id",St(t.item._elementId)),I(),L("ngIf",!t.item.value),I(),L("ngIf",t.item.value)}}let cCe=(()=>{class e{lhcDataService;item;labelledBy;fileInput;fileName;constructor(t){this.lhcDataService=t}onChange(t){const{files:i}=t.target;if(i){let r=i[0];const o=this.item;if(r.type)if(o.allowedAttachmentTypes&&o.allowedAttachmentTypes.indexOf(r.type)<0){const a=o.allowedAttachmentTypes;alert("The file "+r.name+" is not one of the mime types permitted by this questionnaire ("+a.slice(0,-1).join(", ")+" and "+a.slice(-1)+").  Please make sure your file has an appropriate file extension for its type in its filename."),r=null}else r.size>o.maxAttachmentSize?(alert("The file "+r.name+" exceeds the maximum attachment size of "+o.maxAttachmentSize+" bytes permitted by this questionnaire.  If you can specify the file with a URL, use the button to open the URL field and enter that instead."),r=null):r.size>5e8&&(confirm("Adding a large file as an attachment might cause your computer to run low on memory.  There is a button to enter a URL instead of attaching the file data.  Are you sure you want to attach the file data?")||(r=null));else alert("Unknown file type.  Please ensure the file has an appropriate extension"),r=null;r||(this.fileInput.nativeElement.value=""),o._fileInfo=r,r&&!o._useURL&&this.createAttachment(o)}}removeAttachment(t){delete t.value,delete t._attachmentName,delete t._attachmentURL,delete t._fileInfo,delete t._useURL,this.lhcDataService.onItemValueChange(this.item,null,null,!0)}createAttachment(t){if(t._fileInfo||t._attachmentURL){t.value={title:t._attachmentName||t._fileInfo?.name};const i=t.value;if(t._attachmentURL&&(i.url=t._attachmentURL),t._fileInfo){const r=t._fileInfo;i.contentType=r.type,r.lastModified?i.creation=new Date(r.lastModified).toISOString():r.lastModifiedDate&&(i.creation=r.lastModifiedDate.toISOString()),t.value._progress=.001;const o=new FileReader;o.onload=a=>{const s=a.target.result,l=s.indexOf(",");if(0!==s.indexOf("data:")||l<0)throw alert("Unable to attach the file data."),new Error("data URL did not start with expected prefix, but with "+s.slice(0,30));delete i._progress,i.data=s.slice(l+1),this.lhcDataService.onItemValueChange(this.item,null,null,!0)},o.onprogress=a=>{t._progress=a.loaded/a.total},o.readAsDataURL(r)}else this.lhcDataService.onItemValueChange(this.item,null,null,!0)}else alert("An attachment must have either a file or a URL (or both).")}downloadAttachment(t,i){if(t.data){const r=i.target,o=r.href;r.href="data:"+(t.contentType?t.contentType:"")+";base64,"+t.data,r.download=t.title,setTimeout(()=>{r.href=o},0)}}static \u0275fac=function(i){return new(i||e)(xe(Fr))};static \u0275cmp=bt({type:e,selectors:[["lhc-item-attachment"]],viewQuery:function(i,r){if(1&i&&Hi(tCe,5),2&i){let o;En(o=In())&&(r.fileInput=o.first)}},inputs:{item:"item",labelledBy:"labelledBy"},standalone:!1,decls:1,vars:1,consts:[["fileInput",""],[4,"ngIf"],[3,"id"],["type","file",1,"lhc-attachment-upload",3,"change","focus","blur","name","placeholder","disabled","id"],["type","button",1,"lhc-attachment-button","toggle-attachment-fields",3,"click","title"],["type","text","placeholder","URL for retrieving file",1,"lhc-attachment-url",3,"ngModelChange","focus","blur","disabled","ngModel"],["type","text","placeholder","File name (optional)",1,"lhc-attachment-name",3,"focus","blur","ngModelChange","disabled","ngModel"],["type","button",1,"lf-float-button","attach-button",3,"click","disabled"],["button","","target","_blank","rel","noreferrer","class","download-link",3,"title","download","href","click",4,"ngIf"],["class","lhc-attachment-button lf-remove-attachment","type","button",3,"title","click",4,"ngIf"],["button","","target","_blank","rel","noreferrer",1,"download-link",3,"click","title","download","href"],[3,"value"],["type","button",1,"lhc-attachment-button","lf-remove-attachment",3,"click","title"]],template:function(i,r){1&i&&ve(0,lCe,4,4,"ng-container",1),2&i&&L("ngIf",r.item)},dependencies:[ar,xl,Ja,Ra],styles:["input[type=file][_ngcontent-%COMP%]{border:1px solid gray;display:inline}.lhc-attachment-button[_ngcontent-%COMP%], .attach-button[_ngcontent-%COMP%]{padding-left:.25em;padding-right:.25em;border-radius:4px;margin-left:.5em;min-width:22px;color:#fff;border:none;background-color:#066aa0;vertical-align:top}.lhc-attachment-url[_ngcontent-%COMP%], .lhc-attachment-name[_ngcontent-%COMP%]{width:inherit!important}progress[_ngcontent-%COMP%]{vertical-align:text-bottom}.download-link[_ngcontent-%COMP%]{margin-left:5px}.lhc-button[_ngcontent-%COMP%]{border:0 none;cursor:pointer;overflow:visible;padding:0;position:relative;background-color:#066aa0}.lf-rm-attachment-button[_ngcontent-%COMP%]:hover{color:#0087fd}\n\n/*# sourceMappingURL=lhc-item-attachment.component.css.map*/"]})}return e})();function uCe(e,n){if(1&e&&(J(0,"div",5),He(1),te()),2&e){const t=n.$implicit;I(),At("Error: ",t.value)}}function dCe(e,n){if(1&e&&($e(0),ve(1,uCe,2,1,"div",4),Vi(2,"keyvalue"),je()),2&e){const t=k().$implicit;I(),L("ngForOf",pr(2,1,t.value.errors))}}function hCe(e,n){if(1&e&&(J(0,"div",7),He(1),te()),2&e){const t=n.$implicit;I(),At("Warning: ",t.value)}}function fCe(e,n){if(1&e&&($e(0),ve(1,hCe,2,1,"div",6),Vi(2,"keyvalue"),je()),2&e){const t=k().$implicit;I(),L("ngForOf",pr(2,1,t.value.warnings))}}function pCe(e,n){if(1&e&&(J(0,"div",9),He(1),te()),2&e){const t=n.$implicit;I(),dn(t.value)}}function mCe(e,n){if(1&e&&($e(0),ve(1,pCe,2,1,"div",8),Vi(2,"keyvalue"),je()),2&e){const t=k().$implicit;I(),L("ngForOf",pr(2,1,t.value.info))}}function gCe(e,n){if(1&e&&($e(0),ve(1,dCe,3,3,"ng-container",3)(2,fCe,3,3,"ng-container",3)(3,mCe,3,3,"ng-container",3),je()),2&e){const t=k(2);I(),L("ngIf",t.showErrors()),I(),L("ngIf",t.showWarnings()),I(),L("ngIf",t.showInfo())}}function vCe(e,n){if(1&e&&(J(0,"div",1),ve(1,gCe,4,3,"ng-container",2),Vi(2,"keyvalue"),te()),2&e){const t=k();I(),L("ngForOf",pr(2,1,t.item.messages))}}let Lb=(()=>{class e{lhcDataService;item;constructor(t){this.lhcDataService=t}ngOnInit(){}showErrors(){return this.lhcDataService.getLhcFormData()._showErrors}showWarnings(){return this.lhcDataService.getLhcFormData()._showWarnings}showInfo(){return this.lhcDataService.getLhcFormData()._showInfo}static \u0275fac=function(i){return new(i||e)(xe(Fr))};static \u0275cmp=bt({type:e,selectors:[["lhc-item-messages"]],inputs:{item:"item"},standalone:!1,decls:1,vars:1,consts:[["role","alert",4,"ngIf"],["role","alert"],[4,"ngFor","ngForOf"],[4,"ngIf"],["class","lhc-item-error","ng-container","",4,"ngFor","ngForOf"],["ng-container","",1,"lhc-item-error"],["class","lhc-item-warning","ng-container","",4,"ngFor","ngForOf"],["ng-container","",1,"lhc-item-warning"],["class","lhc-item-info","ng-container","",4,"ngFor","ngForOf"],["ng-container","",1,"lhc-item-info"]],template:function(i,r){1&i&&ve(0,vCe,3,3,"div",0),2&i&&L("ngIf",r.item.messages)},dependencies:[Zs,ar,lI],styles:['.lhc-item-error[_ngcontent-%COMP%]:before{content:"\\26a0";color:red;margin-left:3px;margin-right:6px;font-weight:700}.lhc-item-error[_ngcontent-%COMP%]{background-color:orange;margin:2px 0 2px 2px;border-radius:4px;padding:2px 4px}.lhc-item-warning[_ngcontent-%COMP%]{background-color:#ffffe0}.lhc-item-warning[_ngcontent-%COMP%]:before{content:"\\26a0";color:orange;margin-left:3px;margin-right:6px;font-weight:700}.lhc-item-info[_ngcontent-%COMP%]:before{content:"\\1f6c8";margin-right:6px}\n\n/*# sourceMappingURL=lhc-item-messages.component.css.map*/']})}return e})();const _Ce=["deInput"];function yCe(e,n){if(1&e){const t=nt();J(0,"button",12),Fe("click",function(){ce(t);const r=k(3);return ue(r.lhcDataService.removeOneRepeatingItem(r.item))}),He(1,"-"),te()}if(2&e){const t=k(3);L("id",de("del-",t.item._elementId))("title",de('Remove this "',t.item._text,'"'))("disabled",t.item._readOnly)}}function bCe(e,n){if(1&e){const t=nt();J(0,"div",9),Fe("click",function(){ce(t);const r=k(2);return ue(r.lhcDataService.setActiveRow(r.item))}),ze(1,"lhc-item-question-text",8),J(2,"div",10),ve(3,yCe,2,5,"button",11),te()()}if(2&e){const t=k(2);I(),L("item",t.item),I(2),L("ngIf",!t.lhcDataService.hasOneRepeatingItem(t.item))}}function CCe(e,n){1&e&&ze(0,"lhc-item-simple-type",8),2&e&&L("item",k(3).item)}function wCe(e,n){1&e&&ze(0,"lhc-item-choice",8),2&e&&L("item",k(3).item)}function SCe(e,n){if(1&e&&($e(0),ve(1,CCe,1,1,"lhc-item-simple-type",13)(2,wCe,1,1,"lhc-item-choice",13),je()),2&e){const t=k(2);I(),L("ngIf",!t.item._hasAnswerList),I(),L("ngIf",t.item._hasAnswerList)}}function MCe(e,n){if(1&e&&($e(0),ze(1,"lhc-item-simple-type",8),je()),2&e){const t=k(2);I(),L("item",t.item)}}function TCe(e,n){if(1&e&&($e(0),ze(1,"lhc-item-quantity",8),je()),2&e){const t=k(2);I(),L("item",t.item)}}function DCe(e,n){if(1&e&&($e(0),ze(1,"lhc-item-choice",8),je()),2&e){const t=k(2);I(),L("item",t.item)}}function xCe(e,n){1&e&&ze(0,"lhc-item-date",8),2&e&&L("item",k(3).item)}function kCe(e,n){1&e&&ze(0,"lhc-item-choice",8),2&e&&L("item",k(3).item)}function ECe(e,n){if(1&e&&($e(0),ve(1,xCe,1,1,"lhc-item-date",13)(2,kCe,1,1,"lhc-item-choice",13),je()),2&e){const t=k(2);I(),L("ngIf",!t.item._hasAnswerList),I(),L("ngIf",t.item._hasAnswerList)}}function ICe(e,n){if(1&e&&($e(0),ze(1,"lhc-item-datetime",8),je()),2&e){const t=k(2);I(),L("item",t.item)}}function zCe(e,n){1&e&&ze(0,"lhc-item-time",8),2&e&&L("item",k(3).item)}function ACe(e,n){1&e&&ze(0,"lhc-item-choice",8),2&e&&L("item",k(3).item)}function LCe(e,n){if(1&e&&($e(0),ve(1,zCe,1,1,"lhc-item-time",13)(2,ACe,1,1,"lhc-item-choice",13),je()),2&e){const t=k(2);I(),L("ngIf",!t.item._hasAnswerList),I(),L("ngIf",t.item._hasAnswerList)}}function OCe(e,n){if(1&e&&($e(0),ze(1,"lhc-item-boolean",4),je()),2&e){const t=k(2);I(),L("item",t.item)("value",t.item.value)}}function PCe(e,n){1&e&&ze(0,"lhc-input",8),2&e&&L("item",k(3).item)}function NCe(e,n){1&e&&ze(0,"lhc-item-choice",8),2&e&&L("item",k(3).item)}function FCe(e,n){if(1&e&&($e(0),ve(1,PCe,1,1,"lhc-input",13)(2,NCe,1,1,"lhc-item-choice",13),je()),2&e){const t=k(2);I(),L("ngIf",!t.item._hasAnswerList),I(),L("ngIf",t.item._hasAnswerList)}}function RCe(e,n){if(1&e&&($e(0),ze(1,"lhc-item-text",8),je()),2&e){const t=k(2);I(),L("item",t.item)}}function HCe(e,n){if(1&e&&($e(0),ze(1,"lhc-item-attachment",8),je()),2&e){const t=k(2);I(),L("item",t.item)}}function VCe(e,n){if(1&e&&($e(0),ze(1,"lhc-input",8),je()),2&e){const t=k(2);I(),L("item",t.item)}}function BCe(e,n){if(1&e){const t=nt();$e(0),ve(1,bCe,4,2,"div",1),J(2,"div",2),Fe("click",function(){ce(t);const r=k();return ue(r.lhcDataService.setActiveRow(r.item))}),J(3,"div",3),ze(4,"lhc-validate",4),$e(5,5),ve(6,SCe,3,2,"ng-container",6)(7,MCe,2,1,"ng-container",6)(8,TCe,2,1,"ng-container",6)(9,DCe,2,1,"ng-container",6)(10,ECe,3,2,"ng-container",6)(11,ICe,2,1,"ng-container",6)(12,LCe,3,2,"ng-container",6)(13,OCe,2,2,"ng-container",6)(14,FCe,3,2,"ng-container",6)(15,RCe,2,1,"ng-container",6)(16,HCe,2,1,"ng-container",6)(17,VCe,2,1,"ng-container",7),je(),ze(18,"lhc-item-messages",8),te()(),je()}if(2&e){const t=k();I(),L("ngIf",!t.options||!t.options.hideQuestionText),I(),L("ngStyle",t.options&&t.options.hideQuestionText?null:t.eleStyle),I(2),L("item",t.item)("value",t.item.value),I(),L("ngSwitch",t.item.dataType),I(),L("ngSwitchCase","INT"),I(),L("ngSwitchCase","REAL"),I(),L("ngSwitchCase","QTY"),I(),L("ngSwitchCase","CODING"),I(),L("ngSwitchCase","DT"),I(),L("ngSwitchCase","DTM"),I(),L("ngSwitchCase","TM"),I(),L("ngSwitchCase","BL"),I(),L("ngSwitchCase","ST"),I(),L("ngSwitchCase","TX"),I(),L("ngSwitchCase","attachment"),I(2),L("item",t.item)}}let tH=(()=>{class e{winService;lhcDataService;item;options;deInputElement;eleStyle=null;constructor(t,i){this.winService=t,this.lhcDataService=i}ngOnInit(){this.winService.windowWidth.subscribe(t=>{const i=this.winService.getViewMode(),r=this.lhcDataService.getItemViewModeClass(this.item,i);this.eleStyle="lhc-item-view-lg"===r?{width:t/2+"px"}:null})}static \u0275fac=function(i){return new(i||e)(xe(Zf),xe(Fr))};static \u0275cmp=bt({type:e,selectors:[["lhc-item-question"]],viewQuery:function(i,r){if(1&i&&Hi(_Ce,5),2&i){let o;En(o=In())&&(r.deInputElement=o.first)}},inputs:{item:"item",options:"options"},standalone:!1,decls:1,vars:1,consts:[[4,"ngIf"],["class","lhc-de-label-button",3,"click",4,"ngIf"],[1,"lhc-de-input-unit",3,"click","ngStyle"],[1,"lhc-de-input-unit-content"],[3,"item","value"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[3,"item"],[1,"lhc-de-label-button",3,"click"],[1,"lhc-de-button"],["class","lhc-float-button lhc-button","type","button",3,"id","title","disabled","click",4,"ngIf"],["type","button",1,"lhc-float-button","lhc-button",3,"click","id","title","disabled"],[3,"item",4,"ngIf"]],template:function(i,r){1&i&&ve(0,BCe,19,17,"ng-container",0),2&i&&L("ngIf",r.item)},dependencies:[ar,R6,Ms,Sl,Rh,Ebe,Lbe,Ab,Rbe,Ube,Ybe,Wbe,Kbe,Xbe,eCe,e4,cCe,Lb],styles:["[_nghost-%COMP%]{border:solid;border-color:#ced5d9;border-width:1px 0 0 0;margin:0 4px 0 2px;padding-left:2px}.lhc-de-input-unit-content[_ngcontent-%COMP%]{width:100%}.lhc-error-icon[_ngcontent-%COMP%]{color:red;font-weight:700}.lhc-error-msg[_ngcontent-%COMP%]{color:red}.lhc-error-msg[_ngcontent-%COMP%], .lhc-error-item[_ngcontent-%COMP%]{margin-left:.5em}.lhc-validate-class[_ngcontent-%COMP%]{background-color:#fcf8e3}\n\n/*# sourceMappingURL=lhc-item-question.component.css.map*/"]})}return e})();const UCe=()=>({hideQuestionText:!0});function qCe(e,n){if(1&e&&(J(0,"div",10),ze(1,"lhc-item-question-text",11),te()),2&e){const t=k(3);L("ng-attr-role",St(t.item.header?"heading":void 0))("ng-attr-aria-level",St(t.item.header?t.item._displayLevel+1:void 0)),I(),L("item",t.item)}}function YCe(e,n){1&e&&ze(0,"col",12)}function jCe(e,n){if(1&e&&ze(0,"col",14),2&e){const t=k().$implicit;L("ngStyle",k(3).lhcDataService.getTableColumnStyle(t))}}function $Ce(e,n){if(1&e&&($e(0),ve(1,jCe,1,1,"col",13),je()),2&e){const t=n.$implicit;I(),L("ngIf",!t.item._isHiddenFromView)}}function WCe(e,n){1&e&&ze(0,"th",15)}function GCe(e,n){if(1&e&&(J(0,"th",17),ze(1,"lhc-item-question-text",11),te()),2&e){const t=k().$implicit;L("id",St(t.id)),I(),L("item",t.item)}}function KCe(e,n){if(1&e&&($e(0),ve(1,GCe,2,3,"th",16),je()),2&e){const t=n.$implicit;I(),L("ngIf",!t.item._isHiddenFromView)}}function QCe(e,n){if(1&e){const t=nt();J(0,"button",20),Fe("click",function(){ce(t);const r=k(2).$implicit;return ue(k(3).lhcDataService.removeOneRepeatingItem(r.header))}),He(1,"-"),te()}if(2&e){const t=k(2).$implicit,i=k(3);L("id",de("del-",t.header._elementId))("title",de('Remove this row of "',t.header.question,'"'))("disabled",i.item._readOnly)}}function ZCe(e,n){if(1&e&&(J(0,"td",12),ve(1,QCe,2,5,"button",19),te()),2&e){const t=k(4);I(),L("ngIf",!t.lhcDataService.hasOneRepeatingItem(t.item))}}function XCe(e,n){if(1&e&&(J(0,"td")(1,"div",21),ze(2,"lhc-item-question",22),te()()),2&e){const t=k().$implicit,i=k(4);Re(ic("",i.lhcDataService.getRowClass(t)," ",i.lhcDataService.getSkipLogicClass(t))),I(2),Re(de("lhc-de ",i.lhcDataService.getActiveRowClass(t))),L("item",t)("options",Uc(9,UCe))}}function JCe(e,n){if(1&e&&($e(0),ve(1,XCe,3,10,"td",1),je()),2&e){const t=n.$implicit;I(),L("ngIf",!t._isHiddenFromView)}}function ewe(e,n){if(1&e&&(J(0,"tr",18),ve(1,ZCe,2,1,"td",4)(2,JCe,2,1,"ng-container",5),te()),2&e){const t=n.$implicit,i=k(3);I(),L("ngIf",i.item._questionRepeatable&&i.lhcDataService.getHorizontalTableInfo()[i.item._horizontalTableId].tableRows.length>1),I(),L("ngForOf",t.cells)("ngForTrackBy",i.lhcDataService.trackByElementId)}}function twe(e,n){if(1&e&&(J(0,"span",24),He(1),te()),2&e){const t=k(4);I(),At(" This repeatable item should have at least ",t.item.questionCardinality.min," occurrences.")}}function nwe(e,n){if(1&e&&(J(0,"div"),ze(1,"lhc-button-popover",23),ve(2,twe,2,1,"span",9),te()),2&e){const t=k(3);Re(de("lhc-button-padding ",t.lhcDataService.getSkipLogicClass(t.item))),I(),L("buttonLabel",de("+ ",t.item._text))("item",t.item)("popoverType","repeating-item")("append",!0),I(),L("ngIf",t.lhcDataService.getLastRepeatingItem(t.item)._minOccursNotMet)}}function iwe(e,n){if(1&e&&(J(0,"span",24),He(1),te()),2&e){const t=k(3);I(),At(" This repeatable item should have at most ",t.item.questionCardinality.max," occurrences.")}}function rwe(e,n){if(1&e&&(J(0,"div"),ve(1,qCe,2,5,"div",2),J(2,"table",3)(3,"colgroup"),ve(4,YCe,1,0,"col",4)(5,$Ce,2,1,"ng-container",5),te(),J(6,"thead")(7,"tr"),ve(8,WCe,1,0,"th",6)(9,KCe,2,1,"ng-container",5),te()(),J(10,"tbody",7),ve(11,ewe,3,3,"tr",8),te()(),ve(12,nwe,3,9,"div",1)(13,iwe,2,1,"span",9),te()),2&e){let t;const i=k(2);Re(de("lhc-layout-horizontal ",i.lhcDataService.getSiblingStatus(i.item)," ")),I(),L("ngIf",!i.formLevel),I(3),L("ngIf",i.item._questionRepeatable&&i.lhcDataService.getHorizontalTableInfo()[i.item._horizontalTableId].tableRows.length>1),I(),L("ngForOf",i.lhcDataService.getHorizontalTableInfo()[i.item._horizontalTableId].columnHeaders)("ngForTrackBy",i.lhcDataService.trackByColumnHeaderId),I(3),L("ngIf",i.item._questionRepeatable&&i.lhcDataService.getHorizontalTableInfo()[i.item._horizontalTableId].tableRows.length>1),I(),L("ngForOf",i.lhcDataService.getHorizontalTableInfo()[i.item._horizontalTableId].columnHeaders)("ngForTrackBy",i.lhcDataService.trackByColumnHeaderId),I(2),L("ngForOf",i.lhcDataService.getHorizontalTableInfo()[i.item._horizontalTableId].tableRows)("ngForTrackBy",i.lhcDataService.trackByRowHeaderElementId),I(),L("ngIf",i.item._questionRepeatable&&i.lhcDataService.getLastRepeatingItem(i.item)._lastRepeatingItem&&i.lhcDataService.targetEnabled(i.item)&&!i.item._isHiddenFromView),I(),L("ngIf",null==(t=i.lhcDataService.getLastRepeatingItem(i.item))?null:t._maxOccursExcceeded)}}function owe(e,n){if(1&e&&($e(0),ve(1,rwe,14,14,"div",1),je()),2&e){const t=k();I(),L("ngIf",t.item._horizontalTableHeader&&t.lhcDataService.getHorizontalTableInfo()[t.item._horizontalTableId])}}let nH=(()=>{class e{lhcDataService;item;formLevel=!1;constructor(t){this.lhcDataService=t}static \u0275fac=function(i){return new(i||e)(xe(Fr))};static \u0275cmp=bt({type:e,selectors:[["lhc-group-horizontal"]],inputs:{item:"item",formLevel:"formLevel"},standalone:!1,decls:1,vars:1,consts:[[4,"ngIf"],[3,"class",4,"ngIf"],["class","lhc-form-horizontal-table-title",3,"ng-attr-role","ng-attr-aria-level",4,"ngIf"],[1,"lhc-form-horizontal-table"],["class","lhc-de-button",4,"ngIf"],[4,"ngFor","ngForOf","ngForTrackBy"],["class","lhc-form-horizontal-table-header",4,"ngIf"],["id","",1,""],["class","lhc-data-row has-ng-animate",4,"ngFor","ngForOf","ngForTrackBy"],["style","color: red;",4,"ngIf"],[1,"lhc-form-horizontal-table-title",3,"ng-attr-role","ng-attr-aria-level"],[3,"item"],[1,"lhc-de-button"],[3,"ngStyle",4,"ngIf"],[3,"ngStyle"],[1,"lhc-form-horizontal-table-header"],["class","lhc-form-horizontal-table-header",3,"id",4,"ngIf"],[1,"lhc-form-horizontal-table-header",3,"id"],[1,"lhc-data-row","has-ng-animate"],["type","button","class","lhc-float-button lhc-button",3,"id","disabled","title","click",4,"ngIf"],["type","button",1,"lhc-float-button","lhc-button",3,"click","id","disabled","title"],[1,"lf-form-item-data","tooltipContainer"],[3,"item","options"],[3,"item","popoverType","buttonLabel","append"],[2,"color","red"]],template:function(i,r){1&i&&ve(0,owe,2,1,"ng-container",0),2&i&&L("ngIf",r.item)},dependencies:[Zs,ar,R6,e4,tH,Jf],styles:[".lhc-form-horizontal-table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{vertical-align:top}\n\n/*# sourceMappingURL=lhc-group-horizontal.component.css.map*/"]})}return e})();function awe(e,n){if(1&e&&(J(0,"div",10),ze(1,"lhc-item-question-text",11),te()),2&e){const t=k(2);I(),L("item",t.item)}}function swe(e,n){1&e&&ze(0,"col")}function lwe(e,n){1&e&&ze(0,"col",12)}function cwe(e,n){if(1&e&&($e(0),He(1),je()),2&e){const t=k().$implicit;I(),dn(t._displayTextHTML)}}function uwe(e,n){1&e&&(ze(0,"span",17),Vi(1,"safeHtml")),2&e&&L("outerHTML",pr(1,1,k().$implicit._displayTextHTML),Fo)}function dwe(e,n){1&e&&(ze(0,"span",17),Vi(1,"safeHtml")),2&e&&L("outerHTML",pr(1,1,k().$implicit._displayTextMarkdown),Fo)}function hwe(e,n){if(1&e&&($e(0),He(1),je()),2&e){const t=k().$implicit;I(),dn(t._displayText)}}function fwe(e,n){if(1&e&&(J(0,"th",13),$e(1,14),ve(2,cwe,2,1,"ng-container",15)(3,uwe,2,3,"span",16)(4,dwe,2,3,"span",16)(5,hwe,2,1,"ng-container",15),je(),te()),2&e){const t=n.$implicit,i=k(2);xi(t._obj_CSS),L("id",de("answer-",i.index)),I(),L("ngSwitch",i.lhcDataService.getTextDisplayType(t)),I(),L("ngSwitchCase","escaped"),I(),L("ngSwitchCase","html"),I(),L("ngSwitchCase","markdown"),I(),L("ngSwitchCase","plain")}}function pwe(e,n){if(1&e&&(J(0,"th",18),He(1),te()),2&e){const t=k(2);L("id",t.item._elementId+"_header_other"),I(),dn(t.item.items[0].openLabel||t.language.other)}}function mwe(e,n){if(1&e){const t=nt();J(0,"label")(1,"input",26),$i("ngModelChange",function(r){ce(t);const o=k().index,a=k(2).$implicit;return ir(a._checkboxModels[o],r)||(a._checkboxModels[o]=r),ue(r)}),Fe("ngModelChange",function(){ce(t);const r=k(3).$implicit;return ue(k(2).updateCheckboxListValue(r))}),te()()}if(2&e){const t=k(),i=t.$implicit,r=t.index,o=k(2).$implicit,a=k(2);I(),ft("aria-label",ic("",i.text," for ",o.question)),L("name",St(o._elementId))("disabled",a.item._readOnly)("id",a.lhcDataService.getItemAnswerId(o,i)),ji("ngModel",o._checkboxModels[r]),ft("name",o._elementId)}}function gwe(e,n){if(1&e){const t=nt();J(0,"label")(1,"input",27),Fe("change",function(){ce(t);const r=k(),o=r.$implicit,a=r.index,s=k(2).$implicit;return ue(k(2).updateRadioListValue(s,o,a))}),te()()}if(2&e){const t=k(),i=t.$implicit,r=t.index,o=k(2).$implicit,a=k(2);I(),ft("aria-label",ic("",i.text," for ",o.question)),L("name",St(o._elementId))("disabled",a.item._readOnly)("id",a.lhcDataService.getItemAnswerId(o,i))("checked",o._selectedRadio===r)("value",i),ft("name",o._elementId)}}function vwe(e,n){if(1&e&&(J(0,"td",23)(1,"span",24),ve(2,mwe,2,9,"label",25)(3,gwe,2,10,"label",25),te()()),2&e){const t=k(4);I(2),L("ngIf",t.isCheckbox),I(),L("ngIf",!t.isCheckbox)}}function _we(e,n){if(1&e){const t=nt();J(0,"span",24)(1,"label")(2,"input",26),$i("ngModelChange",function(r){ce(t);const o=k(3).$implicit;return ir(o._answerOtherChecked,r)||(o._answerOtherChecked=r),ue(r)}),Fe("ngModelChange",function(){ce(t);const r=k(3).$implicit;return ue(k(2).updateCheckboxListValue(r))}),te()(),J(3,"label")(4,"input",30),$i("ngModelChange",function(r){ce(t);const o=k(3).$implicit;return ir(o._answerOther,r)||(o._answerOther=r),ue(r)}),Fe("ngModelChange",function(){ce(t);const r=k(3).$implicit;return ue(k(2).updateCheckboxListValue(r))}),te()()()}if(2&e){const t=k(3).$implicit,i=k(2);I(2),ft("aria-label",de("Other values for ",t.question)),L("id",St(i.lhcDataService.getItemAnswerId(t,"_other")))("name",St(t._elementId))("disabled",i.item._readOnly),ji("ngModel",t._answerOtherChecked),ft("name",t._elementId),I(2),ft("aria-label",de("Other values for ",t.question)),L("id",St(i.lhcDataService.getItemAnswerId(t,"_otherValue")))("name",St(t._elementId))("disabled",i.item._readOnly),ji("ngModel",t._answerOther),ft("name",t._elementId)}}function ywe(e,n){if(1&e){const t=nt();J(0,"span",24)(1,"label")(2,"input",31),$i("ngModelChange",function(r){ce(t);const o=k(3).$implicit;return ir(o._answerOtherChecked,r)||(o._answerOtherChecked=r),ue(r)}),Fe("change",function(){ce(t);const r=k(3).$implicit;return ue(k(2).updateRadioListValueForOther(r,r._answerOther))}),te()(),J(3,"label")(4,"input",30),$i("ngModelChange",function(r){ce(t);const o=k(3).$implicit;return ir(o._answerOther,r)||(o._answerOther=r),ue(r)}),Fe("ngModelChange",function(){ce(t);const r=k(3).$implicit;return ue(k(2).updateRadioListValueForOther(r,r._answerOther))}),te()()()}if(2&e){const t=k(3).$implicit,i=k(2);I(2),ft("aria-label",de("Other values for ",t.question)),L("id",St(i.lhcDataService.getItemAnswerId(t,"_other")))("name",St(t._elementId))("disabled",i.item._readOnly),ji("ngModel",t._answerOtherChecked),L("value",!0),ft("name",t._elementId),I(2),ft("aria-label",de("Other values for ",t.question)),L("id",St(i.lhcDataService.getItemAnswerId(t,"_otherValue")))("name",St(t._elementId))("disabled",i.item._readOnly),ji("ngModel",t._answerOther),ft("name",t._elementId)}}function bwe(e,n){if(1&e&&(J(0,"td",28),ve(1,_we,5,18,"span",29)(2,ywe,5,19,"span",29),te()),2&e){const t=k(4);ft("aria-labeledby",t.item._elementId+"_header_other"),I(),L("ngIf",t.isCheckbox),I(),L("ngIf",!t.isCheckbox)}}function Cwe(e,n){if(1&e&&(J(0,"tr",20)(1,"td",3),ze(2,"lhc-item-question-text",11)(3,"lhc-item-messages",11),te(),ve(4,vwe,4,2,"td",21)(5,bwe,3,3,"td",22),te()),2&e){const t=k().$implicit,i=k(2);I(2),L("item",t),I(),L("item",t),I(),L("ngForOf",i.item.items[0].answers),I(),L("ngIf","optionsOrString"===t.answerConstraint)}}function wwe(e,n){if(1&e&&($e(0),ve(1,Cwe,6,4,"tr",19),je()),2&e){const t=n.$implicit;I(),L("ngIf",!t._isHiddenFromView)}}function Swe(e,n){if(1&e&&(J(0,"div"),ve(1,awe,2,1,"div",1),J(2,"table",2)(3,"colgroup"),ze(4,"col",3),ve(5,swe,1,0,"col",4)(6,lwe,1,0,"col",5),te(),J(7,"thead")(8,"tr",6),ze(9,"th",3),ve(10,fwe,6,9,"th",7)(11,pwe,2,2,"th",8),te()(),J(12,"tbody"),ve(13,wwe,2,1,"ng-container",9),te()()()),2&e){const t=k();Re(de("lhc-layout-matrix ",t.lhcDataService.getSiblingStatus(t.item))),I(),L("ngIf",!t.formLevel),I(4),L("ngForOf",t.item.items[0].answers),I(),L("ngIf","optionsOrString"===t.item.items[0].answerConstraint),I(4),L("ngForOf",t.acOptions.listItems),I(),L("ngIf","optionsOrString"===t.item.items[0].answerConstraint),I(2),L("ngForOf",t.item.items)("ngForTrackBy",t.lhcDataService.trackByElementId)}}let iH=(()=>{class e{commonUtils;lhcDataService;item;acOptions;formLevel=!1;language=Sn;isCheckbox=!1;constructor(t,i){this.commonUtils=t,this.lhcDataService=i}ngOnChanges(t){this.setInitialValue(),this.lhcDataService.getLhcFormData()}updateCheckboxListValue(t){const i=[];for(let r=0,o=t._checkboxModels.length;r<o;r++)t._checkboxModels[r]&&i.push(t.answers[r]);t._answerOtherChecked&&i.push({text:t._answerOther,_notOnList:!0}),t.value=i,this.lhcDataService.onItemValueChange(t,null,null,!0)}updateRadioListValue(t,i,r){t.value=i,t._answerOtherChecked=!1,t._selectedRadio=r,this.lhcDataService.onItemValueChange(t,null,null,!0)}updateRadioListValueForOther(t,i){t._answerOtherChecked&&(t.value={text:i,_notOnList:!0},this.lhcDataService.onItemValueChange(t,null,null,!0))}setInitialValue(){this.isCheckbox=this.item.items[0]?._multipleAnswers,this.item.items.forEach(t=>{this.isCheckbox?this.setCheckboxInitialValue(t):this.setRadioInitialValue(t)})}setRadioInitialValue(t){if(t.value&&t.answers&&Array.isArray(t.answers)){if(t.value._notOnList)t._answerOtherChecked=!0,t._answerOther=t.value.text;else for(let i=0;i<t.answers.length;i++)if(this.commonUtils.areTwoAnswersSame(t.value,t.answers[i],t)){t._selectedRadio=i;break}}else t._answerOtherChecked=!1,t._selectedRadio=null,delete t._answerOther}_getCheckboxModels(t,i){const r=new Array(i.length).fill(!1);for(let o=0,a=t.length;o<a;o++)for(let s=0,l=i.length;s<l;s++)if(bv()(t[o],i[s])){r[s]=!0;break}return r}setCheckboxInitialValue(t){if(t.answers&&Array.isArray(t.answers))if(t.value&&Array.isArray(t.value)){const i=new Array(t.answers.length).fill(!1);for(let r=0,o=t.value.length;r<o;r++)if(t.value[r]._notOnList)t._answerOtherChecked=!0,t._answerOther=t.value[r].text;else for(let a=0,s=t.answers.length;a<s;a++)if(bv()(t.value[r],t.answers[a])){i[a]=!0;break}t._checkboxModels=i}else t._checkboxModels=new Array(t.answers.length).fill(!1),t._answerOtherChecked=!1,delete t._answerOther}static \u0275fac=function(i){return new(i||e)(xe(Jd),xe(Fr))};static \u0275cmp=bt({type:e,selectors:[["lhc-group-matrix"]],inputs:{item:"item",acOptions:"acOptions",formLevel:"formLevel"},standalone:!1,features:[wn],decls:1,vars:1,consts:[[3,"class",4,"ngIf"],["class","lhc-form-matrix-table-title",4,"ngIf"],[1,"lhc-form-matrix-table"],[1,"lhc-question"],[4,"ngFor","ngForOf"],["class","other-answer",4,"ngIf"],[1,"lhc-matrix-table-header-row"],["class","lhc-form-matrix-cell",3,"id","style",4,"ngFor","ngForOf"],["class","lhc-form-matrix-cell-other",3,"id",4,"ngIf"],[4,"ngFor","ngForOf","ngForTrackBy"],[1,"lhc-form-matrix-table-title"],[3,"item"],[1,"other-answer"],[1,"lhc-form-matrix-cell",3,"id"],[3,"ngSwitch"],[4,"ngSwitchCase"],[3,"outerHTML",4,"ngSwitchCase"],[3,"outerHTML"],[1,"lhc-form-matrix-cell-other",3,"id"],["role","radiogroup",4,"ngIf"],["role","radiogroup"],["class","lhc-form-matrix-cell",4,"ngFor","ngForOf"],["class","lhc-form-matrix-cell-other",4,"ngIf"],[1,"lhc-form-matrix-cell"],[1,"lhc-form-matrix-answer"],[4,"ngIf"],["type","checkbox",3,"ngModelChange","disabled","id","name","ngModel"],["type","radio",3,"change","disabled","id","checked","value","name"],[1,"lhc-form-matrix-cell-other"],["class","lhc-form-matrix-answer",4,"ngIf"],["type","text",3,"ngModelChange","disabled","id","name","ngModel"],["type","radio",3,"ngModelChange","change","disabled","id","ngModel","value","name"]],template:function(i,r){1&i&&ve(0,Swe,14,10,"div",0),2&i&&L("ngIf",r.item)},dependencies:[Zs,ar,Ms,Sl,xl,u8,M9,Ja,Ra,e4,Lb,Xf],encapsulation:2})}return e})();function Mwe(e,n){if(1&e&&($e(0),J(1,"nz-tab",3),ze(2,"lhc-group-vertical",4),te(),je()),2&e){const t=k().$implicit;I(),L("nzTitle",t._text),I(),L("item",t)("hideGrouptTitle",!0)}}function Twe(e,n){if(1&e&&($e(0),ve(1,Mwe,3,3,"ng-container",0),je()),2&e){const t=n.$implicit;I(),L("ngIf",!t._isHiddenFromView)}}function Dwe(e,n){if(1&e&&($e(0),J(1,"nz-tabset",1),ve(2,Twe,2,1,"ng-container",2),te(),je()),2&e){const t=k();I(2),L("ngForOf",t.item.items)}}let xwe=(()=>{class e{item;constructor(){}static \u0275fac=function(i){return new(i||e)};static \u0275cmp=bt({type:e,selectors:[["lhc-group-tabs"]],inputs:{item:"item"},standalone:!1,decls:1,vars:1,consts:[[4,"ngIf"],["nzType","card"],[4,"ngFor","ngForOf"],[3,"nzTitle"],[3,"item","hideGrouptTitle"]],template:function(i,r){1&i&&ve(0,Dwe,3,1,"ng-container",0),2&i&&L("ngIf",r.item&&r.item.items)},dependencies:[Zs,ar,Ib,Eb,zb],styles:["[_nghost-%COMP%]     .ant-tabs-top>.ant-tabs-nav{margin-bottom:0}[_nghost-%COMP%]     .ant-tabs-card>.ant-tabs-nav .ant-tabs-tab{padding-top:3px;padding-bottom:3px}\n\n/*# sourceMappingURL=lhc-group-tabs.component.css.map*/"]})}return e})();function kwe(e,n){if(1&e&&($e(0),ze(1,"lhc-group-horizontal",3),je()),2&e){const t=k(2);I(),L("item",t.item)}}function Ewe(e,n){if(1&e&&($e(0),ze(1,"lhc-group-matrix",4),je()),2&e){const t=k(2);I(),L("item",t.item)("acOptions",null==t.item.items[0]?null:t.item.items[0]._autocompOptions)}}function Iwe(e,n){if(1&e&&($e(0),ze(1,"lhc-group-tabs",3),je()),2&e){const t=k(2);I(),L("item",t.item)}}function zwe(e,n){if(1&e&&($e(0),ze(1,"lhc-group-vertical",3),je()),2&e){const t=k(2);I(),L("item",t.item)}}function Awe(e,n){1&e&&($e(0,1),ve(1,kwe,2,1,"ng-container",2)(2,Ewe,2,2,"ng-container",2)(3,Iwe,2,1,"ng-container",2)(4,zwe,2,1,"ng-container",2),je()),2&e&&(L("ngSwitch",k().item.displayControl.questionLayout),I(),L("ngSwitchCase","horizontal"),I(),L("ngSwitchCase","matrix"),I(),L("ngSwitchCase","tabs"),I(),L("ngSwitchCase","vertical"))}let Lwe=(()=>{class e{lhcDataService;item;constructor(t){this.lhcDataService=t}static \u0275fac=function(i){return new(i||e)(xe(Fr))};static \u0275cmp=bt({type:e,selectors:[["lhc-item-group"]],inputs:{item:"item"},standalone:!1,decls:1,vars:1,consts:[[3,"ngSwitch",4,"ngIf"],[3,"ngSwitch"],[4,"ngSwitchCase"],[3,"item"],[3,"item","acOptions"]],template:function(i,r){1&i&&ve(0,Awe,5,5,"ng-container",0),2&i&&L("ngIf",r.item)},dependencies:[ar,Ms,Sl,zb,nH,iH,xwe],encapsulation:2})}return e})(),Owe=(()=>{class e{item;static \u0275fac=function(i){return new(i||e)};static \u0275cmp=bt({type:e,selectors:[["lhc-item-display"]],inputs:{item:"item"},standalone:!1,decls:2,vars:1,consts:[[1,"lhc-item-display"],[3,"item"]],template:function(i,r){1&i&&(J(0,"div",0),ze(1,"lhc-item-question-text",1),te()),2&i&&(I(),L("item",r.item))},dependencies:[e4],encapsulation:2})}return e})();function Pwe(e,n){if(1&e&&($e(0),ze(1,"lhc-item-group",4),je()),2&e){const t=k(2);I(),L("item",t.item)}}function Nwe(e,n){if(1&e&&($e(0),ze(1,"lhc-item-display",4),je()),2&e){const t=k(2);I(),L("item",t.item)}}function Fwe(e,n){if(1&e&&ze(0,"lhc-item",12),2&e){const t=k().$implicit,i=k(4);Re(i.lhcDataService.getItemClassList(t,i.viewMode)),L("id",de("item-",t._elementId))("item",t)}}function Rwe(e,n){if(1&e&&($e(0),ve(1,Fwe,1,5,"lhc-item",11),je()),2&e){const t=n.$implicit,i=k(4);I(),L("ngIf",t&&!t._isHiddenFromView&&i.lhcDataService.targetShown(t))}}function Hwe(e,n){if(1&e&&(J(0,"div",9),ve(1,Rwe,2,1,"ng-container",10),te()),2&e){const t=k(3);I(),L("ngForOf",t.item.items)("ngForTrackBy",t.lhcDataService.trackByElementId)}}function Vwe(e,n){if(1&e&&(J(0,"span",14),He(1),te()),2&e){const t=k(4);I(),At(" This repeatable item should have at least ",t.item.questionCardinality.min," occurrences.")}}function Bwe(e,n){if(1&e&&(J(0,"div")(1,"div"),ze(2,"lhc-button-popover",13),ve(3,Vwe,2,1,"span",8),te()()),2&e){const t=k(3);Re(de("lhc-button-padding ",t.lhcDataService.getSiblingStatus(t.item))),I(),Re(t.lhcDataService.getSkipLogicClass(t.item)),I(),L("buttonLabel",de("+ ",t.item._text))("item",t.item)("popoverType","repeating-item"),I(),L("ngIf",t.item._minOccursNotMet)}}function Uwe(e,n){if(1&e&&(J(0,"span",14),He(1),te()),2&e){const t=k(3);I(),At(" This repeatable item should have at most ",t.item.questionCardinality.max," occurrences.")}}function qwe(e,n){if(1&e&&($e(0),ze(1,"lhc-item-question",5),ve(2,Hwe,2,2,"div",6)(3,Bwe,4,10,"div",7)(4,Uwe,2,1,"span",8),je()),2&e){const t=k(2);I(),Re(de("lhc-de ",t.lhcDataService.getActiveRowClass(t.item))),L("item",t.item)("ngStyle",t.lhcDataService.getItemStyle(t.item)),I(),L("ngIf",t.item.items),I(),L("ngIf",t.item._lastRepeatingItem&&!t.item._isHiddenFromView&&t.lhcDataService.targetEnabled(t.item)),I(),L("ngIf",t.item._maxOccursExcceeded)}}function Ywe(e,n){if(1&e&&($e(0)(1,1),ve(2,Pwe,2,1,"ng-container",2)(3,Nwe,2,1,"ng-container",2)(4,qwe,5,8,"ng-container",3),je()()),2&e){const t=k();I(),L("ngSwitch",t.item.dataType),I(),L("ngSwitchCase","SECTION"),I(),L("ngSwitchCase","TITLE")}}let rH=(()=>{class e{winService;lhcDataService;item;viewMode="";constructor(t,i){this.winService=t,this.lhcDataService=i,t.windowWidth.subscribe(r=>{this.viewMode=t.getViewMode()})}static \u0275fac=function(i){return new(i||e)(xe(Zf),xe(Fr))};static \u0275cmp=bt({type:e,selectors:[["lhc-item"]],inputs:{item:"item"},standalone:!1,decls:1,vars:1,consts:[[4,"ngIf"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[3,"item"],[3,"item","ngStyle"],["class","lhc-item-group-body",4,"ngIf"],[3,"class",4,"ngIf"],["style","color: red;",4,"ngIf"],[1,"lhc-item-group-body"],[4,"ngFor","ngForOf","ngForTrackBy"],[3,"item","class","id",4,"ngIf"],[3,"item","id"],[3,"item","popoverType","buttonLabel"],[2,"color","red"]],template:function(i,r){1&i&&ve(0,Ywe,5,3,"ng-container",0),2&i&&L("ngIf",r.item)},dependencies:[Zs,ar,R6,Ms,Sl,Rh,e,Lwe,tH,Owe,Jf],styles:["[_nghost-%COMP%]{display:block}\n\n/*# sourceMappingURL=lhc-item.component.css.map*/"]})}return e})();function jwe(e,n){1&e&&ze(0,"lhc-item-messages",3),2&e&&L("item",k().lhcFormData)}function $we(e,n){if(1&e&&(J(0,"a",14),He(1),te()),2&e){const t=k(2).$implicit;L("href",St("https://loinc.org/"+t.code),j2),I(),At(" [",t.code,"] ")}}function Wwe(e,n){if(1&e&&(J(0,"span",15),He(1),te()),2&e){const t=k(2).$implicit;I(),At("[",t.code,"]")}}function Gwe(e,n){if(1&e&&(J(0,"span"),ve(1,$we,2,3,"a",12)(2,Wwe,2,1,"span",13),te()),2&e){const t=k().$implicit;I(),L("ngIf","http://loinc.org"===t.system),I(),L("ngIf","http://loinc.org"!==t.system)}}function Kwe(e,n){if(1&e&&(J(0,"span"),ve(1,Gwe,3,2,"span",7),te()),2&e){const t=n.$implicit;I(),L("ngIf",t.code)}}function Qwe(e,n){if(1&e&&(J(0,"span"),ve(1,Kwe,2,1,"span",11),te()),2&e){const t=k(2);I(),L("ngForOf",t.lhcFormData.codeList)}}function Zwe(e,n){1&e&&ze(0,"lhc-button-popover",16),2&e&&L("item",k(2).lhcFormData)("popoverType","copyright-string")("formLevel",!0)}function Xwe(e,n){if(1&e&&($e(0),ze(1,"lhc-group-horizontal",20),je()),2&e){const t=k(3);I(),L("item",t.lhcFormData)("formLevel",!0)}}function Jwe(e,n){if(1&e&&($e(0),ze(1,"lhc-group-matrix",21),je()),2&e){const t=k(3);I(),L("item",t.lhcFormData)("formLevel",!0)("acOptions",null==t.lhcFormData.items[0]?null:t.lhcFormData.items[0]._autocompOptions)}}function eSe(e,n){if(1&e&&ze(0,"lhc-item",24),2&e){const t=k().$implicit,i=k(5);Re(i.lhcDataService.getItemClassList(t,i.viewMode,!0)),L("id",de("item-",t._elementId))("item",t)}}function tSe(e,n){if(1&e&&($e(0),ve(1,eSe,1,5,"lhc-item",23),je()),2&e){const t=n.$implicit,i=k(5);I(),L("ngIf",t&&i.lhcDataService.targetShown(t)&&!t._isHiddenFromView&&!i.lhcDataService.isSubsequentHorizontalTableGroupItem(t))}}function nSe(e,n){if(1&e&&($e(0),ve(1,tSe,2,1,"ng-container",22),je()),2&e){const t=k(4);I(),L("ngForOf",t.lhcFormData.items)("ngForTrackBy",t.lhcDataService.trackByElementId)}}function iSe(e,n){if(1&e&&($e(0),ve(1,nSe,2,2,"ng-container",7),je()),2&e){const t=k(3);I(),L("ngIf",t.lhcFormData.items)}}function rSe(e,n){1&e&&($e(0,17),ve(1,Xwe,2,2,"ng-container",18)(2,Jwe,2,3,"ng-container",18)(3,iSe,2,1,"ng-container",19),je()),2&e&&(L("ngSwitch",k(2).lhcFormData.templateOptions.displayControl.questionLayout),I(),L("ngSwitchCase","horizontal"),I(),L("ngSwitchCase","matrix"))}function oSe(e,n){if(1&e&&(J(0,"form",4,0)(2,"div",5)(3,"span",6),He(4),te(),ve(5,Qwe,2,1,"span",7)(6,Zwe,1,3,"lhc-button-popover",8),te(),J(7,"div",9),ve(8,rSe,4,3,"ng-container",10),te()()),2&e){const t=k();Re(de("lhc-form lf-template-table novalidate ",t.viewModeClass)),I(3),xi(t.lhcFormData._obj_titleCSS),L("id",de("label-",t.lhcFormData.code)),I(),dn(t.lhcFormData.name||t.lhcFormData.shortName),I(),L("ngIf",t.lhcFormData.templateOptions.showQuestionCode&&t.lhcFormData.codeList&&t.lhcFormData.codeList.length>0),I(),L("ngIf",t.lhcFormData.copyrightNotice),I(2),L("ngIf",t.lhcFormData.templateOptions.displayControl)}}let aSe=(()=>{class e{winService;lhcDataService;host;zone;questionnaire;options;prepop=!1;fhirVersion;lhcFormData;onFormReady=new ht;onError=new ht;viewModeClass="";viewMode="";_inputFieldWidth=null;changeSize=new Dt;observer;constructor(t,i,r,o){this.winService=t,this.lhcDataService=i,this.host=r,this.zone=o,this.changeSize.asObservable().pipe(ip(100)).subscribe(a=>{this.winService.setWindowWidth(a)}),t.viewMode.subscribe(a=>{this.viewModeClass=this.lhcDataService.getViewModeClass(a),this.viewMode=a})}ngOnInit(){this.observer=new ResizeObserver(t=>{this.zone.run(()=>{this.changeSize.next(t[0].contentRect.width)})}),this.observer.observe(this.host.nativeElement)}ngAfterViewChecked(){this.lhcFormData&&!this.lhcFormData._formRendered&&(this.lhcFormData._formRendered=!0,this.lhcFormData._formProcessed&&this.formReady())}ngOnDestroy(){this.observer.unobserve(this.host.nativeElement)}formProcessed(){this.lhcFormData._formProcessed=!0,this.lhcFormData._formRendered&&this.formReady()}formReady(){this.lhcFormData._formReady=!0,this.onFormReady.emit()}ngOnChanges(t){if(t.questionnaire)if(this.lhcFormData=null,this.lhcDataService.setLhcFormData(null),this.questionnaire){const i=this;setTimeout(()=>{try{let r=tn.deepCopy(i.questionnaire);if("Questionnaire"===r.resourceType){const o=i.fhirVersion||LForms.Util.guessFHIRVersion(r)||"R4";if(LForms.FHIR[o]&&LForms.FHIR[o].SDC&&(r=LForms.FHIR[o].SDC.convertQuestionnaireToLForms(r,i.options),i.options?.questionnaireResponse)){const a=Bh(i.options.questionnaireResponse);r=LForms.FHIR[o].SDC.mergeQuestionnaireResponseToLForms(r,a)}}i.lhcFormData=new xA(r),t.options&&i.options&&i.lhcFormData.setTemplateOptions(i.options),i.lhcDataService.setLhcFormData(i.lhcFormData),LForms.FHIR&&i.lhcFormData.fhirVersion?i.lhcFormData.loadFHIRResources(i.prepop).then(()=>{i.lhcFormData&&(i.lhcFormData._hasResponsiveExpr||i.lhcFormData._hasInitialExpr)?i.lhcFormData._expressionProcessor.runCalculations(!i.lhcFormData.hasSavedData).then(()=>{i.lhcFormData._checkFormControls(),i.formProcessed()}).catch(o=>{i.onError.emit(["string"==typeof o?o:o.message])}):i.formProcessed()}).catch(o=>{i.onError.emit(o.message?[o.message]:o)}):i.formProcessed()}catch(r){i.onError.emit(["string"==typeof r?r:r.message])}},1)}else this.lhcFormData=null,this.lhcDataService.setLhcFormData(null);else if(t.options){const i=this.lhcDataService.getLhcFormData();i&&i.setTemplateOptions(this.options)}}static \u0275fac=function(i){return new(i||e)(xe(Zf),xe(Fr),xe(pn),xe(Gt))};static \u0275cmp=bt({type:e,selectors:[["lhc-form"]],inputs:{questionnaire:"questionnaire",options:"options",prepop:"prepop",fhirVersion:"fhirVersion",lhcFormData:"lhcFormData"},outputs:{onFormReady:"onFormReady",onError:"onError"},standalone:!1,features:[Yn([Zf,Fr]),wn],decls:2,vars:2,consts:[["lhcFormContainer",""],[3,"item",4,"ngIf"],["autocomplete","off",3,"class",4,"ngIf"],[3,"item"],["autocomplete","off"],["role","heading","aria-level","1",1,"lhc-form-title"],[1,"lhc-question",3,"id"],[4,"ngIf"],[3,"item","popoverType","formLevel",4,"ngIf"],[1,"lhc-form-body"],[3,"ngSwitch",4,"ngIf"],[4,"ngFor","ngForOf"],["target","_blank","rel","noopener noreferrer","class","lhc-item-code",3,"href",4,"ngIf"],["class","lhc-item-code",4,"ngIf"],["target","_blank","rel","noopener noreferrer",1,"lhc-item-code",3,"href"],[1,"lhc-item-code"],[3,"item","popoverType","formLevel"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[3,"item","formLevel"],[3,"item","formLevel","acOptions"],[4,"ngFor","ngForOf","ngForTrackBy"],[3,"item","class","id",4,"ngIf"],[3,"item","id"]],template:function(i,r){1&i&&ve(0,jwe,1,1,"lhc-item-messages",1)(1,oSe,9,11,"form",2),2&i&&(L("ngIf",r.lhcFormData),I(),L("ngIf",r.lhcFormData))},dependencies:[Zs,ar,Ms,Sl,Rh,fL,eL,tf,rH,nH,iH,Jf,Lb],styles:["[_nghost-%COMP%]{display:block;width:100%}\n\n/*# sourceMappingURL=lhc-form.component.css.map*/"]})}return e})();const sSe=[{name:"copyright-circle",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm5.4 670c-110 0-173.4-73.2-173.4-194.9v-52.3C344 364.2 407.4 290 517.3 290c94.3 0 162.7 60.7 162.7 147.4 0 2.6-2.1 4.7-4.7 4.7h-56.7c-4.2 0-7.6-3.2-8-7.4-4-49.5-40-83.4-93-83.4-65.3 0-102.1 48.5-102.1 135.5v52.6c0 85.7 36.9 133.6 102.1 133.6 52.8 0 88.7-31.7 93-77.8.4-4.1 3.8-7.3 8-7.3h56.8c2.6 0 4.7 2.1 4.7 4.7 0 82.6-68.7 141.4-162.7 141.4z" /></svg>'},{name:"question-circle",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 708c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40zm62.9-219.5a48.3 48.3 0 00-30.9 44.8V620c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8v-21.5c0-23.1 6.7-45.9 19.9-64.9 12.9-18.6 30.9-32.8 52.1-40.9 34-13.1 56-41.6 56-72.7 0-44.1-43.1-80-96-80s-96 35.9-96 80v7.6c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V420c0-39.3 17.2-76 48.4-103.3C430.4 290.4 470 276 512 276s81.6 14.5 111.6 40.7C654.8 344 672 380.7 672 420c0 57.8-38.1 109.8-97.1 132.5z" /></svg>'},{name:"copyright-circle",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm5.6-532.7c53 0 89 33.8 93 83.4.3 4.2 3.8 7.4 8 7.4h56.7c2.6 0 4.7-2.1 4.7-4.7 0-86.7-68.4-147.4-162.7-147.4C407.4 290 344 364.2 344 486.8v52.3C344 660.8 407.4 734 517.3 734c94 0 162.7-58.8 162.7-141.4 0-2.6-2.1-4.7-4.7-4.7h-56.8c-4.2 0-7.6 3.2-8 7.3-4.2 46.1-40.1 77.8-93 77.8-65.3 0-102.1-47.9-102.1-133.6v-52.6c.1-87 37-135.5 102.2-135.5z" /></svg>'}];!
/**
       * @license Angular v20.3.18
       * (c) 2010-2025 Google LLC. https://angular.dev/
       * License: MIT
       */
function aZ(e,n,t){(function AG(e,n,t){"string"!=typeof n&&(t=n,n=e[Pr.LocaleId]),n=n.toLowerCase().replace(/_/g,"-"),pd[n]=e,t&&(pd[n][Pr.ExtraData]=t)})(e,n,t)}(Ghe);let lSe=(()=>{class e{injector;constructor(t){this.injector=t,window.LForms=Js,customElements.get("wc-lhc-form")||customElements.define("wc-lhc-form",function wie(e,n){const t=function mie(e,n){return n.get(id).resolveComponentFactory(e).inputs}(e,n.injector),i=n.strategyFactory||new yie(e,n.injector),r=function pie(e){const n={};return e.forEach(({propName:t,templateName:i,transform:r})=>{n[function die(e){return e.replace(/[A-Z]/g,n=>`-${n.toLowerCase()}`)}(i)]=[t,r]}),n}(t);class o extends Cie{injector;static observedAttributes=Object.keys(r);get ngElementStrategy(){if(!this._ngElementStrategy){const s=this._ngElementStrategy=i.create(this.injector||n.injector);t.forEach(({propName:l,transform:c})=>{if(!this.hasOwnProperty(l))return;const h=this[l];delete this[l],s.setInputValue(l,h,c)})}return this._ngElementStrategy}_ngElementStrategy;constructor(s){super(),this.injector=s}attributeChangedCallback(s,l,c,h){const[p,S]=r[s];this.ngElementStrategy.setInputValue(p,c,S)}connectedCallback(){let s=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),s=!0),this.ngElementStrategy.connect(this),s||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(s=>{const l=new CustomEvent(s.name,{detail:s.value});this.dispatchEvent(l)})}}return t.forEach(({propName:a,transform:s})=>{Object.defineProperty(o.prototype,a,{get(){return this.ngElementStrategy.getInputValue(a)},set(l){this.ngElementStrategy.setInputValue(a,l,s)},configurable:!0,enumerable:!0})}),o}(aSe,{injector:this.injector}))}ngDoBootstrap(){}static \u0275fac=function(i){return new(i||e)(Ft($r))};static \u0275mod=Ci({type:e});static \u0275inj=$n({providers:[{provide:K8,useValue:EP},_ue(yue())],imports:[DI,rf,qce,p0e,X3e,a6e,kge,fF,Nge,Zge,mc.forRoot(sSe),a5e,R_e]})}return e})();(function Lx(e,n,t){const i=e.\u0275cmp;i.directiveDefs=I3(n,CT),i.pipeDefs=I3(t,Ya)})(zb,function(){return[Zs,ar,rH,e4,Jf]},[]),wne().bootstrapModule(lSe).catch(e=>console.error(e))},9935(ne,le){"use strict";Object.defineProperty(le,"__esModule",{value:!0}),le.Ucum=void 0,le.Ucum={dimLen_:7,validOps_:[".","/"],codeSep_:": ",valMsgStart_:"Did you mean ",valMsgEnd_:"?",cnvMsgStart_:"We assumed you meant ",cnvMsgEnd_:".",openEmph_:" ->",closeEmph_:"<- ",openEmphHTML_:' <span class="emphSpan">',closeEmphHTML_:"</span> ",bracesMsg_:"FYI - annotations (text in curly braces {}) are ignored, except that an annotation without a leading symbol implies the default unit 1 (the unity).",needMoleWeightMsg_:"Did you wish to convert between mass and moles?  The molecular weight of the substance represented by the units is required to perform the conversion.",needEqWeightMsg_:"Did you wish to convert with equivalents?  The molecular weight of the substance is required to perform the conversion.",needEqChargeMsg_:"Did you wish to convert with equivalents?  The charge of the substance is required to perform the conversion.",csvCols_:{"case-sensitive code":"csCode_","LOINC property":"loincProperty_","name (display)":"name_",synonyms:"synonyms_",source:"source_",category:"category_",Guidance:"guidance_"},inputKey_:"case-sensitive code",specUnits_:{"B[10.nV]":"specialUnitOne","[m/s2/Hz^(1/2)]":"specialUnitTwo"}}},2937(ne,le,R){"use strict";le.f=void 0;var M=R(9935),Y=R(9962);class Q{constructor(y){if(0===M.Ucum.dimLen_)throw new Error("Dimension.setDimensionLen must be called before Dimension constructor");if(null==y)this.assignZero();else if(y instanceof Array){if(y.length!==M.Ucum.dimLen_)throw new Error(`Parameter error, incorrect length of vector passed to Dimension constructor, vector = ${JSON.stringify(y)}`);this.dimVec_=[];for(let g=0;g<M.Ucum.dimLen_;g++)this.dimVec_.push(y[g])}else if(Y(y)){if(y<0||y>=M.Ucum.dimLen_)throw new Error("Parameter error, invalid element number specified for Dimension constructor");this.assignZero(),this.dimVec_[y]=1}}setElementAt(y,g){if(!Y(y)||y<0||y>=M.Ucum.dimLen_)throw new Error(`Dimension.setElementAt called with an invalid index position (${y})`);this.dimVec_||this.assignZero(),null==g&&(g=1),this.dimVec_[y]=g}getElementAt(y){if(!Y(y)||y<0||y>=M.Ucum.dimLen_)throw new Error(`Dimension.getElementAt called with an invalid index position (${y})`);let g=null;return this.dimVec_&&(g=this.dimVec_[y]),g}getProperty(y){return this["_"===y.charAt(y.length-1)?y:y+"_"]}toString(){let y=null;return this.dimVec_&&(y="["+this.dimVec_.join(", ")+"]"),y}add(y){if(!y instanceof Q)throw new Error(`Dimension.add called with an invalid parameter - ${typeof y} instead of a Dimension object`);if(this.dimVec_&&y.dimVec_)for(let g=0;g<M.Ucum.dimLen_;g++)this.dimVec_[g]+=y.dimVec_[g];return this}sub(y){if(!y instanceof Q)throw new Error(`Dimension.sub called with an invalid parameter - ${typeof y} instead of a Dimension object`);if(this.dimVec_&&y.dimVec_)for(let g=0;g<M.Ucum.dimLen_;g++)this.dimVec_[g]-=y.dimVec_[g];return this}minus(){if(this.dimVec_)for(let y=0;y<M.Ucum.dimLen_;y++)this.dimVec_[y]=-this.dimVec_[y];return this}mul(y){if(!Y(y))throw new Error(`Dimension.sub called with an invalid parameter - ${typeof dim2} instead of a number`);if(this.dimVec_)for(let g=0;g<M.Ucum.dimLen_;g++)this.dimVec_[g]*=y;return this}equals(y){if(!y instanceof Q)throw new Error(`Dimension.equals called with an invalid parameter - ${typeof y} instead of a Dimension object`);let g=!0,_=y.dimVec_;if(this.dimVec_&&_)for(let E=0;g&&E<M.Ucum.dimLen_;E++)g=this.dimVec_[E]===_[E];else g=null===this.dimVec_&&null===_;return g}assignDim(y){if(!y instanceof Q)throw new Error(`Dimension.assignDim called with an invalid parameter - ${typeof y} instead of a Dimension object`);if(null===y.dimVec_)this.dimVec_=null;else{null===this.dimVec_&&(this.dimVec_=[]);for(let g=0;g<M.Ucum.dimLen_;g++)this.dimVec_[g]=y.dimVec_[g]}return this}assignZero(){null==this.dimVec_&&(this.dimVec_=[]);for(let y=0;y<M.Ucum.dimLen_;y++)this.dimVec_.push(0);return this}isZero(){let y=null!==this.dimVec_;if(this.dimVec_)for(let g=0;y&&g<M.Ucum.dimLen_;g++)y=0===this.dimVec_[g];return y}isNull(){return null===this.dimVec_}clone(){let y=new Q;return y.assignDim(this),y}}le.f=Q},2447(ne,le){"use strict";le.YH=function _(E){const A=E&&E.config;if(A){if(A.length&&E.data){const D=Q(A);return E.data.map(y.bind(null,D))}return E.data}return E};function Q(E){return E.map(A=>Array.isArray(A)?A:[A])}function y(E,A){let D={};return E.forEach((z,O)=>{let K=D;for(let B=0;B<z.length-1;B++)K=K[z[B]]=K[z[B]]||{};K[z[z.length-1]]=A[O]}),D}},9261(ne,le,R){"use strict";Object.defineProperty(le,"__esModule",{value:!0}),le.Prefix=void 0,R(9935),le.Prefix=class M{constructor(Q){if(null==Q.code_||null==Q.name_||null==Q.value_||void 0===Q.exp_)throw new Error("Prefix constructor called missing one or more parameters.  Prefix codes (cs or ci), name, value and exponent must all be specified and all but the exponent must not be null.");this.code_=Q.code_,this.ciCode_=Q.ciCode_,this.name_=Q.name_,this.printSymbol_=Q.printSymbol_,this.value_="string"==typeof Q.value_?parseFloat(Q.value_):Q.value_,this.exp_=Q.exp_}getValue(){return this.value_}getCode(){return this.code_}getCiCode(){return this.ciCode_}getName(){return this.name_}getPrintSymbol(){return this.printSymbol_}getExp(){return this.exp_}equals(Q){return this.code_===Q.code_&&this.ciCode_===Q.ciCode_&&this.name_===Q.name_&&this.printSymbol_===Q.printSymbol_&&this.value_===Q.value_&&this.exp_===Q.exp_}}},5100(ne,le){"use strict";Object.defineProperty(le,"__esModule",{value:!0}),le.PrefixTables=le.PrefixTablesFactory=void 0;class R{constructor(){this.byCode_={},this.byValue_={}}prefixCount(){return Object.keys(this.byCode_).length}allPrefixesByValue(){let Q="",$=Object.keys(this.byValue_),y=$.length;for(let g=0;g<y;g++){let _=this.getPrefixByValue($[g]);Q+=_.code_+","+_.name_+",,"+_.value_+"\r\n"}return Q}allPrefixesByCode(){let Q=[],$=Object.keys(this.byCode_);$.sort();let y=$.length;for(let g=0;g<y;g++)Q.push(this.getPrefixByCode($[g]));return Q}add(Q){this.byCode_[Q.getCode()]=Q,this.byValue_[Q.getValue()]=Q}isDefined(Q){return null!=this.byCode_[Q]}getPrefixByCode(Q){return this.byCode_[Q]}getPrefixByValue(Q){return this.byValue_[Q]}}le.PrefixTablesFactory=R;var F=new R;le.PrefixTables={getInstance:function(){return F}}},6350(ne,le){"use strict";Object.defineProperty(le,"__esModule",{value:!0}),le.default=void 0;var F=new class R{constructor(){this.funcs={},this.funcs.cel={cnvTo:function(Y){return Y-273.15},cnvFrom:function(Y){return Y+273.15}},this.funcs.degf={cnvTo:function(Y){return Y-459.67},cnvFrom:function(Y){return Y+459.67}},this.funcs.degre={cnvTo:function(Y){return Y-273.15},cnvFrom:function(Y){return Y+273.15}},this.funcs.ph={cnvTo:function(Y){return-Math.log(Y)/Math.LN10},cnvFrom:function(Y){return Math.pow(10,-Y)}},this.funcs.ln={cnvTo:function(Y){return Math.log(Y)},cnvFrom:function(Y){return Math.exp(Y)}},this.funcs["2ln"]={cnvTo:function(Y){return 2*Math.log(Y)},cnvFrom:function(Y){return Math.exp(Y/2)}},this.funcs.lg={cnvTo:function(Y){return Math.log(Y)/Math.LN10},cnvFrom:function(Y){return Math.pow(10,Y)}},this.funcs["10lg"]={cnvTo:function(Y){return 10*Math.log(Y)/Math.LN10},cnvFrom:function(Y){return Math.pow(10,Y/10)}},this.funcs["20lg"]={cnvTo:function(Y){return 20*Math.log(Y)/Math.LN10},cnvFrom:function(Y){return Math.pow(10,Y/20)}},this.funcs["2lg"]={cnvTo:function(Y){return 2*Math.log(Y)/Math.LN10},cnvFrom:function(Y){return Math.pow(10,Y/2)}},this.funcs.lgtimes2=this.funcs["2lg"],this.funcs.ld={cnvTo:function(Y){return Math.log(Y)/Math.LN2},cnvFrom:function(Y){return Math.pow(2,Y)}},this.funcs["100tan"]={cnvTo:function(Y){return 100*Math.tan(Y)},cnvFrom:function(Y){return Math.atan(Y/100)}},this.funcs.tanTimes100=this.funcs["100tan"],this.funcs.sqrt={cnvTo:function(Y){return Math.sqrt(Y)},cnvFrom:function(Y){return Y*Y}},this.funcs.inv={cnvTo:function(Y){return 1/Y},cnvFrom:function(Y){return 1/Y}},this.funcs.hpX={cnvTo:function(Y){return-this.funcs.lg(Y)},cnvFrom:function(Y){return Math.pow(10,-Y)}},this.funcs.hpC={cnvTo:function(Y){return-this.func.ln(Y)/this.funcs.ln(100)},cnvFrom:function(Y){return Math.pow(100,-Y)}},this.funcs.hpM={cnvTo:function(Y){return-this.funcs.ln(Y)/this.funcs.ln(1e3)},cnvFrom:function(Y){return Math.pow(1e3,-Y)}},this.funcs.hpQ={cnvTo:function(Y){return-this.funcs.ln(Y)/this.funcs.ln(5e4)},cnvFrom:function(Y){return Math.pow(5e4,-Y)}}}forName(Y){Y=Y.toLowerCase();let Q=this.funcs[Y];if(null===Q)throw new Error(`Requested function ${Y} is not defined`);return Q}isDefined(Y){return Y=Y.toLowerCase(),null!==this.funcs[Y]}};le.default=F},3537(ne,le,R){"use strict";Object.defineProperty(le,"__esModule",{value:!0}),le.isNumericString=function M($){let y=""+$;return!isNaN(y)&&!isNaN(parseFloat(y))},le.isIntegerUnit=function Y($){return/^\d+$/.test($)},le.getSynonyms=function Q($){let y={},_={};if(_=F.getInstance().getUnitBySynonym($),_.units){y.status="succeeded";let E=_.units.length;y.units=[];for(let A=0;A<E;A++){let D=_.units[A];y.units[A]={code:D.csCode_,name:D.name_,guidance:D.guidance_}}}else y.status=_.status,y.msg=_.msg;return y};var F=R(4870).UnitTables},6077(ne,le,R){"use strict";Object.defineProperty(le,"__esModule",{value:!0}),le.ucumJsonDefs=le.UcumJsonDefs=void 0;var F=R(9261),M=R(5100),Y=R(7095),Q=R(4870),$=R(2447).YH;class y{loadJsonDefs(){const E=R(3380);if(E.prefixes=$(E.prefixes),E.units=$(E.units),0===Q.UnitTables.getInstance().unitsCount()){let A=M.PrefixTables.getInstance(),D=E.prefixes,z=D.length;for(let q=0;q<z;q++){let W=new F.Prefix(D[q]);A.add(W)}let O=Q.UnitTables.getInstance(),K=E.units,B=K.length;for(let q=0;q<B;q++){let W=new Y.Unit(K[q]);O.addUnit(W)}}}}le.UcumJsonDefs=y;var g=new y;le.ucumJsonDefs=g},1181(ne,le,R){"use strict";le.l=void 0;var M=R(6077),Y=function Q(E,A){if("function"==typeof WeakMap)var D=new WeakMap,z=new WeakMap;return function(O,K){if(!K&&O&&O.__esModule)return O;var B,q,W={__proto__:null,default:O};if(null===O||"object"!=typeof O&&"function"!=typeof O)return W;if(B=K?z:D){if(B.has(O))return B.get(O);B.set(O,W)}for(const X in O)"default"!==X&&{}.hasOwnProperty.call(O,X)&&((q=(B=Object.defineProperty)&&Object.getOwnPropertyDescriptor(O,X))&&(q.get||q.set)?B(W,X,q):W[X]=O[X]);return W}(E,A)}(R(3537)),$=R(9935).Ucum,y=R(4870).UnitTables,g=R(6834).o;class _{constructor(){0===y.getInstance().unitsCount()&&M.ucumJsonDefs.loadJsonDefs(),this.uStrParser_=g.getInstance(),this.massDimIndex_=y.getInstance().getMassDimensionIndex()}useHTMLInMessages(A){void 0===A&&(A=!0),this.uStrParser_.useHTMLInMessages(A)}useBraceMsgForEachString(A){void 0===A&&(A=!0),this.uStrParser_.useBraceMsgForEachString(A)}validateUnitString(A,D,z){void 0===D&&(D=!1),void 0===z&&(z="validate");let O=this.getSpecifiedUnit(A,z,D),K=O.unit,B=K?{ucumCode:O.origString,unit:{code:K.csCode_,name:K.name_,guidance:K.guidance_}}:{ucumCode:null};return B.status=O.status,O.suggestions&&(B.suggestions=O.suggestions),B.msg=O.retMsg,B}detectConversionType(A,D){let z;return z=A.moleExp_==D.moleExp_&&A.equivalentExp_==D.equivalentExp_?"normal":A.equivalentExp_==D.equivalentExp_?"mol|mass":A.moleExp_==D.moleExp_?"eq|mass":A.dim_.getElementAt(this.massDimIndex_)==D.dim_.getElementAt(this.massDimIndex_)?"eq|mol":"eq|mol|mass",z}convertUnitTo(A,D,z,O={}){let{suggest:K=!1,molecularWeight:B=null,charge:q=null}=O,W={status:"failed",toVal:null,msg:[]};if(A&&(A=A.trim()),(!A||""==A)&&(W.status="error",W.msg.push('No "from" unit expression specified.')),this._checkFromVal(D,W),z&&(z=z.trim()),(!z||""==z)&&(W.status="error",W.msg.push('No "to" unit expression specified.')),"error"!==W.status){let X=null,he=this.getSpecifiedUnit(A,"convert",K);X=he.unit,he.retMsg&&(W.msg=W.msg.concat(he.retMsg)),he.suggestions&&(W.suggestions={},W.suggestions.from=he.suggestions),X||W.msg.push(`Unable to find a unit for ${A}, so no conversion could be performed.`);let me=null;if(he=this.getSpecifiedUnit(z,"convert",K),me=he.unit,he.retMsg&&(W.msg=W.msg.concat(he.retMsg)),he.suggestions&&(W.suggestions||(W.suggestions={}),W.suggestions.to=he.suggestions),me||W.msg.push(`Unable to find a unit for ${z}, so no conversion could be performed.`),X&&me){const be=this.detectConversionType(X,me),Oe=W.msg.length;switch(be){case"normal":try{W.toVal=me.convertFrom(D,X)}catch(We){W.msg.push(We.message)}break;case"mol|mass":if(!X.isMolMassCommensurable(me)){W.msg.push(`Sorry.  ${A} cannot be converted to ${z}.`);break}if(!B){W.msg.push($.needMoleWeightMsg_);break}W.toVal=X.convertMolMass(D,me,B);break;case"eq|mass":if(!X.isEqMassCommensurable(me)){W.msg.push(`Sorry.  ${A} cannot be converted to ${z}.`);break}B||W.msg.push($.needEqWeightMsg_),q||W.msg.push($.needEqChargeMsg_),W.msg.length||(W.toVal=X.convertEqMass(D,me,B,q));break;case"eq|mol":if(!X.isEqMolCommensurable(me)){W.msg.push(`Sorry.  ${A} cannot be converted to ${z}.`);break}if(!q){W.msg.push($.needEqChargeMsg_);break}W.toVal=X.convertEqMol(D,me,q);break;case"eq|mol|mass":if(!X.isEqMolMassCommensurable(me)){W.msg.push(`Sorry.  ${A} cannot be converted to ${z}.`);break}B||W.msg.push($.needEqWeightMsg_),q||W.msg.push($.needEqChargeMsg_),W.msg.length||(W.toVal=X.convertEqMolMass(D,me,B,q));break;default:W.msg.push("Unknown conversion type.  No conversion was attempted.")}W.msg.length>Oe?W.status="failed":(W.status="succeeded",W.fromUnit=X,W.toUnit=me)}}return W}convertToBaseUnits(A,D){let z={};if(this._checkFromVal(D,z),!z.status){let O=this.getSpecifiedUnit(A,"validate");z={status:"valid"==O.status?"succeeded":O.status};let K=O.unit;if(z.msg=O.retMsg||[],K){if(K.isArbitrary_)z.msg.push("Arbitrary units cannot be converted to base units or other units."),z.status="failed";else if("succeeded"==z.status){let B={},q=K.dim_?.dimVec_,W="1";if(q){let me=y.getInstance().dimVecIndexToBaseUnit_;for(let be=0,Oe=q.length;be<Oe;++be){let We=q[be];We&&(B[me[be]]=We,W+="."+me[be]+We)}}let X=this.getSpecifiedUnit(W,"validate"),he=X.unit;if("valid"!==X.status)z.msg.push("Unable construct base unit string; tried "+W),z.status="error";else{try{z.magnitude=he.convertFrom(D,K)}catch(me){z.msg.push(me.toString()),z.status="error"}"succeeded"==z.status&&(z.unitToExp=B,z.fromUnitIsSpecial=K.isSpecial_)}}}else 0==O.retMsg?.length&&z.msg.push("Could not find unit information for "+A)}return z}_checkFromVal(A,D){(null===A||isNaN(A)||"number"!=typeof A&&!Y.isNumericString(A))&&(D.status="error",D.msg||(D.msg=[]),D.msg.push('No "from" value, or an invalid "from" value, was specified.'))}checkSynonyms(A){let D={};return null==A?(D.status="error",D.msg="No term specified for synonym search."):D=Y.getSynonyms(A),D}getSpecifiedUnit(A,D,z){void 0===z&&(z=!1);let O={retMsg:[]};if(A){let K=y.getInstance();A=A.trim();let B=K.getUnitByCode(A);if(B)O.unit=B,O.origString=A;else try{let q=this.uStrParser_.parseString(A,D,z);O.unit=q[0],O.origString=q[1],q[2]&&(O.retMsg=q[2]),O.suggestions=q[3]}catch(q){console.log(`Unit requested for unit string ${A}.request unsuccessful; error thrown = `+q.message),O.retMsg.unshift(`${A} is not a valid unit.  ${q.message}`)}}else O.retMsg.push("No unit string specified.");return O.status=O.unit?O.origString===A?"valid":"invalid":O.origString?"invalid":"error",O}commensurablesList(A,D=null){let z=[],O=null,K=this.getSpecifiedUnit(A,"validate",!1),B=K.unit;if(K.retMsg.length>0&&(z=K.retMsg),B){let q=null,W=B.getProperty("dim_");if(W){try{q=W.getProperty("dimVec_")}catch(X){z.push(X.message),"Dimension does not have requested property(dimVec_)"===X.message&&(q=null)}q&&(O=y.getInstance().getUnitsByDimension(q),D&&(O=O.filter(he=>-1!==D.indexOf(he.category_))))}else z.push("No commensurable units were found for "+A)}else z.push(`Could not find unit ${A}.`);return[O,z]}}le.l=_,_.getInstance=function(){return new _}},5801(ne,le,R){"use strict";Object.defineProperty(le,"__esModule",{value:!0}),le.UnitTables=le.UcumLhcUtils=le.Ucum=void 0;var F=R(9935).Ucum;le.Ucum=F;var M=R(1181).l;le.UcumLhcUtils=M;var Y=R(4870).UnitTables;le.UnitTables=Y},7095(ne,le,R){"use strict";Object.defineProperty(le,"__esModule",{value:!0}),le.Unit=void 0;var g,F=function Q(A){return A&&A.__esModule?A:{default:A}}(R(6350)),M=function Y(A,D){if("function"==typeof WeakMap)var z=new WeakMap,O=new WeakMap;return function(K,B){if(!B&&K&&K.__esModule)return K;var q,W,X={__proto__:null,default:K};if(null===K||"object"!=typeof K&&"function"!=typeof K)return X;if(q=B?O:z){if(q.has(K))return q.get(K);q.set(K,X)}for(const he in K)"default"!==he&&{}.hasOwnProperty.call(K,he)&&((W=(q=Object.defineProperty)&&Object.getOwnPropertyDescriptor(K,he))&&(W.get||W.set)?q(X,he,W):X[he]=K[he]);return X}(A,D)}(R(3537)),$=R(9935).Ucum,y=R(2937).f,_=R(9962);class E{constructor(D={}){this.isBase_=D.isBase_||!1,this.name_=D.name_||"",this.csCode_=D.csCode_||"",this.ciCode_=D.ciCode_||"",this.property_=D.property_||"",this.magnitude_=D.magnitude_||1,this.dim_=null==D.dim_?new y:void 0!==D.dim_.dimVec_?new y(D.dim_.dimVec_):D.dim_ instanceof y?D.dim_:D.dim_ instanceof Array||_(D.dim_)?new y(D.dim_):new y,this.printSymbol_=D.printSymbol_||null,this.class_=D.class_||null,this.isMetric_=D.isMetric_||!1,this.variable_=D.variable_||null,this.cnv_=D.cnv_||null,this.cnvPfx_=D.cnvPfx_||1,this.isSpecial_=D.isSpecial_||!1,this.isArbitrary_=D.isArbitrary_||!1,this.moleExp_=D.moleExp_||0,this.equivalentExp_=D.equivalentExp_||0,this.synonyms_=D.synonyms_||null,this.source_=D.source_||null,this.loincProperty_=D.loincProperty_||null,this.category_=D.category_||null,this.guidance_=D.guidance_||null,this.csUnitString_=D.csUnitString_||null,this.ciUnitString_=D.ciUnitString_||null,this.baseFactorStr_=D.baseFactorStr_||null,this.baseFactor_=D.baseFactor_||null,this.defError_=D.defError_||!1}assignUnity(){return this.name_="",this.magnitude_=1,this.dim_||(this.dim_=new y),this.dim_.assignZero(),this.cnv_=null,this.cnvPfx_=1,this}assignVals(D){for(let z in D){let O="_"===!z.charAt(z.length-1)?z+"_":z;if(!this.hasOwnProperty(O))throw new Error(`Parameter error; ${z} is not a property of a Unit`);this[O]=D[z]}}clone(){let D=new E;return Object.getOwnPropertyNames(this).forEach(z=>{"dim_"===z?D.dim_=this.dim_?this.dim_.clone():null:D[z]=this[z]}),D}assign(D){Object.getOwnPropertyNames(D).forEach(z=>{"dim_"===z?this.dim_=D.dim_?D.dim_.clone():null:this[z]=D[z]})}equals(D){return this.magnitude_===D.magnitude_&&this.cnv_===D.cnv_&&this.cnvPfx_===D.cnvPfx_&&(null===this.dim_&&null===D.dim_||this.dim_.equals(D.dim_))}fullEquals(D){let z=Object.keys(this).sort(),O=Object.keys(D).sort(),K=z.length,B=K===O.length;for(let q=0;q<K&&B;q++)B=z[q]===O[q]&&("dim_"===z[q]?this.dim_.equals(D.dim_):this[z[q]]===D[z[q]]);return B}getProperty(D){return this["_"===D.charAt(D.length-1)?D:D+"_"]}convertFrom(D,z){let O=0;if(this.isArbitrary_)throw new Error(`Attempt to convert to arbitrary unit "${this.csCode_}"`);if(z.isArbitrary_)throw new Error(`Attempt to convert arbitrary unit "${z.csCode_}"`);if(z.dim_&&this.dim_&&!z.dim_.equals(this.dim_))throw this.isMolMassCommensurable(z)?new Error($.needMoleWeightMsg_):new Error(`Sorry.  ${z.csCode_} cannot be converted to ${this.csCode_}.`);if(z.dim_&&(!this.dim_||this.dim_.isNull()))throw new Error(`Sorry.  ${z.csCode_} cannot be converted to ${this.csCode_}.`);if(this.dim_&&(!z.dim_||z.dim_.isNull()))throw new Error(`Sorry.  ${z.csCode_} cannot be converted to ${this.csCode_}.`);let q,K=z.cnv_,B=z.magnitude_;return q=null!=K?F.default.forName(K).cnvFrom(D*z.cnvPfx_)*B:D*B,O=null!=this.cnv_?F.default.forName(this.cnv_).cnvTo(q/this.magnitude_)/this.cnvPfx_:q/this.magnitude_,O}convertTo(D,z){return z.convertFrom(D,this)}convertCoherent(D){return null!==this.cnv_&&(D=this.cnv_.f_from(D/this.cnvPfx_)*this.magnitude_),D}mutateCoherent(D){D=this.convertCoherent(D),this.magnitude_=1,this.cnv_=null,this.cnvPfx_=1,this.name_="";for(let z=0,O=y.getMax();z<O;z++){let K=this.dim_.getElementAt(z),q=this._getUnitTables().getUnitsByDimension(new y(z));if(null==q)throw new Error(`Can't find base unit for dimension ${z}`);this.name_=q.name+K}return D}convertMolMass(D,z,O){const K=this.moleExp_-z.moleExp_;let q=this._getUnitTables().getUnitByCode("mol").magnitude_,W=Math.pow(O/q,K);return this.magnitude_/z.magnitude_*W*D}convertEqMass(D,z,O,K){const B=z.equivalentExp_-this.equivalentExp_;let q=O/K,W=this._getUnitTables().getUnitByCode("mol").magnitude_;return this.magnitude_*D/Math.pow(q,B)/(z.magnitude_/Math.pow(W,B))}convertEqMolMass(D,z,O,K){const q=D/Math.pow(K,this.equivalentExp_-z.equivalentExp_),W=this._getUnitTables(),X=W.getMassDimensionIndex(),me=-(this.dim_.getElementAt(X)-z.dim_.getElementAt(X)),be=W.getUnitByCode("mol").magnitude_;let Oe=Math.pow(O/be,me);return this.magnitude_/z.magnitude_*Oe*q}isEquivalentUnit(){return 0!==this.equivalentExp_}isMolarUnit(){return 0!==this.moleExp_}convertEqMol(D,z,O){return D*(this.magnitude_/z.magnitude_)/Math.pow(O,this.equivalentExp_-z.equivalentExp_)}mutateRatio(D){return null==this.cnv_?this.mutateCoherent(D):D}multiplyThis(D){let z=this.clone();null!=z.cnv_?z.cnvPfx_*=D:z.magnitude_*=D;let O=D.toString();return z.name_=this._concatStrs(O,"*",this.name_,"[","]"),z.csCode_=this._concatStrs(O,".",this.csCode_,"(",")"),z.ciCode_=this._concatStrs(O,".",this.ciCode_,"(",")"),z.printSymbol_=this._concatStrs(O,".",this.printSymbol_,"(",")"),z}multiplyThese(D){var z=this.clone();if(null!=z.cnv_){if(null!=D.cnv_||D.dim_&&!D.dim_.isZero())throw new Error(`Attempt to multiply non-ratio unit ${z.name_} failed.`);z.cnvPfx_*=D.magnitude_}else if(null!=D.cnv_){if(z.dim_&&!z.dim_.isZero())throw new Error(`Attempt to multiply non-ratio unit ${D.name_}`);z.cnvPfx_=D.cnvPfx_*z.magnitude_,z.magnitude_=D.magnitude_,z.cnv_=D.cnv_}else z.magnitude_*=D.magnitude_;return!z.dim_||z.dim_&&!z.dim_.dimVec_?z.dim_=D.dim_?D.dim_.clone():D.dim_:D.dim_&&D.dim_ instanceof y&&z.dim_.add(D.dim_),z.equivalentExp_+=D.equivalentExp_,z.moleExp_+=D.moleExp_,z.name_=this._concatStrs(z.name_,"*",D.name_,"[","]"),z.csCode_=this._concatStrs(z.csCode_,".",D.csCode_,"(",")"),z.ciCode_&&D.ciCode_?z.ciCode_=this._concatStrs(z.ciCode_,".",D.ciCode_,"(",")"):D.ciCode_&&(z.ciCode_=D.ciCode_),z.resetFieldsForDerivedUnit(),z.printSymbol_&&D.printSymbol_?z.printSymbol_=this._concatStrs(z.printSymbol_,".",D.printSymbol_,"(",")"):D.printSymbol_&&(z.printSymbol_=D.printSymbol_),z.isArbitrary_||(z.isArbitrary_=D.isArbitrary_),z.isSpecial_||(z.isSpecial_=D.isSpecial_),z}resetFieldsForDerivedUnit(){this.guidance_="",this.synonyms_=null,this.isBase_=!1}divide(D){var z=this.clone();if(null!=z.cnv_)throw new Error(`Attempt to divide non-ratio unit ${z.name_}`);if(null!=D.cnv_)throw new Error(`Attempt to divide by non-ratio unit ${D.name_}`);return z.name_&&D.name_?z.name_=this._concatStrs(z.name_,"/",D.name_,"[","]"):D.name_&&(z.name_=D.invertString(D.name_)),z.csCode_=this._concatStrs(z.csCode_,"/",D.csCode_,"(",")"),z.ciCode_&&D.ciCode_?z.ciCode_=this._concatStrs(z.ciCode_,"/",D.ciCode_,"(",")"):D.ciCode_&&(z.ciCode_=D.invertString(D.ciCode_)),z.resetFieldsForDerivedUnit(),z.magnitude_/=D.magnitude_,z.printSymbol_&&D.printSymbol_?z.printSymbol_=this._concatStrs(z.printSymbol_,"/",D.printSymbol_,"(",")"):D.printSymbol_&&(z.printSymbol_=D.invertString(D.printSymbol_)),D.dim_&&(z.dim_?(z.dim_.isNull()&&z.dim_.assignZero(),z.dim_=z.dim_.sub(D.dim_)):z.dim_=D.dim_.clone().minus()),z.moleExp_-=D.moleExp_,z.equivalentExp_-=D.equivalentExp_,z.isArbitrary_||(z.isArbitrary_=D.isArbitrary_),z}invert(){var D=this.clone();if(null!=this.cnv_)throw new Error(`Attempt to invert a non-ratio unit - ${this.name_}`);return D.name_=this.invertString(this.name_),D.magnitude_=1/this.magnitude_,D.dim_.minus(),D.equivalentExp_=-this.equivalentExp_,D.moleExp_=-this.moleExp_,D}invertString(D){if(D.length>0){let z=D.replace("/","!").replace(".","/").replace("<!","</").replace("!",".");switch(z.charAt(0)){case".":D=z.substr(1);break;case"/":D=z;break;default:D="/"+z}}return D}_concatStrs(D,z,O,K,B){return this._buildOneString(D,K,B)+z+this._buildOneString(O,K,B)}_buildOneString(D,z,O){let K="";return K=M.isNumericString(D)||"("===D.charAt(0)&&D.endsWith(")")||"["===D.charAt(0)&&D.endsWith("]")?D:/[./* ]/.test(D)?z+D+O:D,K}power(D){if(null!=this.cnv_)throw new Error(`Attempt to raise a non-ratio unit, ${this.name_}, to a power.`);var z=this.clone();let K=this.csCode_.match(/([./]|[^./]+)/g),B=K.length;for(let q=0;q<B;q++){let W=K[q];if("/"!==W&&"."!==W){let X=parseInt(W);if(_(X))K[q]=Math.pow(X,D).toString();else{let he=W.length;for(let me=he-1;me>=0;me--){let be=parseInt(W[me]);if(!_(be)){if(("-"===W[me]||"+"===W[me])&&me--,me<he-1){let Oe=parseInt(W.substr(me));Oe=Math.pow(Oe,D),K[q]=W.substr(0,me)+Oe.toString(),me=-1}else K[q]+=D.toString(),me=-1;me=-1}}}}}return z.csCode_=K.join(""),z.magnitude_=Math.pow(this.magnitude_,D),z.dim_&&z.dim_.mul(D),z.equivalentExp_*=D,z.moleExp_*=D,z}isMolMassCommensurable(D){let O=this._getUnitTables().getMassDimensionIndex();const K=this.dim_.clone();K.setElementAt(O,K.getElementAt(O)+this.moleExp_);const B=D.dim_.clone();return B.setElementAt(O,B.getElementAt(O)+D.moleExp_),K.equals(B)}isEqMassCommensurable(D){let O=this._getUnitTables().getMassDimensionIndex();const K=this.dim_.clone();K.setElementAt(O,K.getElementAt(O)+this.equivalentExp_);const B=D.dim_.clone();return B.setElementAt(O,B.getElementAt(O)+D.equivalentExp_),K.equals(B)}isEqMolCommensurable(D){return this.equivalentExp_+this.moleExp_==D.equivalentExp_+D.moleExp_&&this.dim_.equals(D.dim_)}isEqMolMassCommensurable(D){const z=this._getUnitTables().getMassDimensionIndex(),O=this.dim_.clone();O.setElementAt(z,O.getElementAt(z)+this.equivalentExp_+this.moleExp_);const K=D.dim_.clone();return K.setElementAt(z,K.getElementAt(z)+D.equivalentExp_+D.moleExp_),O.equals(K)}_getUnitTables(){return g||(g=R(4870).UnitTables),g.getInstance()}}le.Unit=E},6834(ne,le,R){"use strict";le.o=void 0;var M=function Y(z,O){if("function"==typeof WeakMap)var K=new WeakMap,B=new WeakMap;return function(q,W){if(!W&&q&&q.__esModule)return q;var X,he,me={__proto__:null,default:q};if(null===q||"object"!=typeof q&&"function"!=typeof q)return me;if(X=W?B:K){if(X.has(q))return X.get(q);X.set(q,me)}for(const be in q)"default"!==be&&{}.hasOwnProperty.call(q,be)&&((he=(X=Object.defineProperty)&&Object.getOwnPropertyDescriptor(q,be))&&(he.get||he.set)?X(me,be,he):me[be]=q[be]);return me}(z,O)}(R(3537));function Q(z,O,K){return(O=function $(z){var O=function y(z,O){if("object"!=typeof z||!z)return z;var K=z[Symbol.toPrimitive];if(void 0!==K){var B=K.call(z,O||"default");if("object"!=typeof B)return B;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===O?String:Number)(z)}(z,"string");return"symbol"==typeof O?O:O+""}(O))in z?Object.defineProperty(z,O,{value:K,enumerable:!0,configurable:!0,writable:!0}):z[O]=K,z}var g=R(9935).Ucum,_=R(7095).Unit,E=R(4870).UnitTables,A=R(5100).PrefixTables;class D{constructor(){this.utabs_=E.getInstance(),this.pfxTabs_=A.getInstance(),this.openEmph_=g.openEmph_,this.closeEmph_=g.closeEmph_,this.bracesMsg_="",this.parensFlag_="parens_placeholder",this.pFlagLen_=this.parensFlag_.length,this.braceFlag_="braces_placeholder",this.bFlagLen_=this.braceFlag_.length,this.vcMsgStart_=null,this.vcMsgEnd_=null,this.retMsg_=[],this.parensUnits_=[],this.annotations_=[],this.suggestions=[]}useHTMLInMessages(O){void 0===O||O?(this.openEmph_=g.openEmphHTML_,this.closeEmph_=g.closeEmphHTML_):(this.openEmph_=g.openEmph_,this.closeEmph_=g.closeEmph_)}useBraceMsgForEachString(O){this.bracesMsg_=void 0===O||O?g.bracesMsg_:""}parseString(O,K,B){if(""===(O=O.trim())||null===O)throw new Error("Please specify a unit expression to be validated.");"validate"===K?(this.vcMsgStart_=g.valMsgStart_,this.vcMsgEnd_=g.valMsgEnd_):(this.vcMsgStart_=g.cnvMsgStart_,this.vcMsgEnd_=g.cnvMsgEnd_),this.suggestions_=void 0===B||!1===B?null:[],this.retMsg_=[],this.parensUnits_=[],this.annotations_=[];let q=O,W=[];if(O=this._getAnnotations(O),this.retMsg_.length>0)W[0]=null,W[1]=null;else{let he=null;for(he in g.specUnits_)for(;-1!==O.indexOf(he);)O=O.replace(he,g.specUnits_[he]);if(O.indexOf(" ")>-1)throw new Error("Blank spaces are not allowed in unit expressions.");W=this._parseTheString(O,q);let me=W[0];(M.isIntegerUnit(me)||"number"==typeof me)&&(me=new _({csCode_:q,ciCode_:q,magnitude_:me,name_:q}),W[0]=me)}return W[2]=this.retMsg_,this.suggestions_&&this.suggestions_.length>0&&(W[3]=this.suggestions_),W}_parseTheString(O,K){let B=null,q=this.retMsg_.length>0,W=this._processParens(O,K);q=W[2];let X=[];if(!q){let he=this._makeUnitsArray(O=W[0],K=W[1]);if(q=he[2],!q){X=he[0],K=he[1];let me=X.length;for(let be=0;be<me;be++){let Oe=X[be].un;if(M.isIntegerUnit(Oe))X[be].un=Number(Oe);else if(Oe.indexOf(this.parensFlag_)>=0){let We=this._getParensUnit(Oe,K);q||(q=We[1]),q||(X[be].un=We[0])}else{let We=this._makeUnit(Oe,K);null===We[0]?q=!0:(X[be].un=We[0],K=We[1])}}}}return q||(null===X[0]||" "===X[0]||null==X[0].un)&&0===this.retMsg_.length&&(this.retMsg_.push(`Unit string (${K}) did not contain anything that could be used to create a unit, or else something that is not handled yet by this package.  Sorry`),q=!0),q||(B=this._performUnitArithmetic(X,K)),[B,K]}_getAnnotations(O){let K=O.indexOf("{");for(;K>=0;){let B=O.indexOf("}");if(B<0)this.retMsg_.push("Missing closing brace for annotation starting at "+this.openEmph_+O.substr(K)+this.closeEmph_),K=-1;else{let q=O.substring(K,B+1);if(D.VALID_ANNOTATION_REGEX.test(q)){let W=this.annotations_.length.toString();O=O.replace(q,this.braceFlag_+W+this.braceFlag_),this.annotations_.push(q),K=O.indexOf("{")}else this.retMsg_.push(D.INVALID_ANNOTATION_CHAR_MSG+this.openEmph_+q+this.closeEmph_),K=-1}}if(0==this.retMsg_.length){let B=O.indexOf("}");B>=0&&this.retMsg_.push("Missing opening brace for closing brace found at "+this.openEmph_+O.substring(0,B+1)+this.closeEmph_)}return O}_processParens(O,K){let B=[],q=0,W=!1,X=this.parensUnits_.length,he=0;for(;""!==O&&!W;){let me=0,be=0,Oe=O.indexOf("(");if(Oe<0){let We=O.indexOf(")");if(We>=0){let w=`Missing open parenthesis for close parenthesis at ${O.substring(0,We+he)}${this.openEmph_}${O.substr(We,1)}${this.closeEmph_}`;We<O.length-1&&(w+=`${O.substr(We+1)}`),this.retMsg_.push(w),B[q]=O,W=!0}else B[q]=O,O=""}else{me+=1;let We=O.length;Oe>0&&(B[q++]=O.substr(0,Oe));let w=0,qe=Oe+1;for(;qe<We&&me!=be;qe++)"("===O[qe]?me+=1:")"===O[qe]&&(be+=1);if(me===be){w=qe,B[q++]=this.parensFlag_+X.toString()+this.parensFlag_;let Ue=this._parseTheString(O.substring(Oe+1,w-1),K);null===Ue[0]?W=!0:"/"===O[Oe+1]?(this.retMsg_.push("Unary operator '/' is only allowed at the beginning of the main term, not inside a parenthesis."),W=!0):(K=Ue[1],this.parensUnits_[X++]=Ue[0],O=O.substr(w),he=w)}else B.push(K.substr(Oe)),this.retMsg_.push(`Missing close parenthesis for open parenthesis at ${K.substring(0,Oe+he)}${this.openEmph_}${K.substr(Oe,1)}${this.closeEmph_}${K.substr(Oe+1)}`),W=!0}}return W&&(this.parensUnits_=[]),[B.join(""),K,W]}_makeUnitsArray(O,K){let B=O.match(/([./]|[^./]+)/g),q=!1,W=[],X=/(^[0-9]+)(\[?[a-zA-Z\_0-9a-zA-Z\_]+\]?$)/;if("/"===B[0]?B.unshift("1"):"."===B[0]&&(this.retMsg_.push(`${K} is not a valid UCUM code. The multiplication operator at the beginning of the expression is not valid. A multiplication operator must appear only between two codes.`),q=!0),!q){if(!M.isNumericString(B[0])){let he=B[0].match(X);if(he&&3===he.length&&""!==he[1]&&""!==he[2]&&0!==he[2].indexOf(this.braceFlag_)){let me=he[2];if(!q&&-1!==he[2].indexOf(this.parensFlag_)){let be=this._getParensUnit(he[2],K);he[2]=be[0].csCode_,me=`(${he[2]})`,q=be[1]}q||(this.retMsg_.push(`${he[1]}${me} is not a valid UCUM code.  ${this.vcMsgStart_}${he[1]}.${me}${this.vcMsgEnd_}`),K=K.replace(`${he[1]}${me}`,`${he[1]}.${me}`),B[0]=he[2],B.unshift(he[1],"."))}}if(!q){let he=B.length;W=[{op:"",un:B[0]}];for(let me=1;me<he;me++){let be=B[me++];if(B[me])if(-1!==g.validOps_.indexOf(B[me]))this.retMsg_.push(`${K} is not a valid UCUM code. A unit code is missing between${this.openEmph_}${be}${this.closeEmph_}and${this.openEmph_}${B[me]}${this.closeEmph_}in${this.openEmph_}${be}${B[me]}${this.closeEmph_}.`),me=he,q=!0;else if(M.isNumericString(B[me]))W.push({op:be,un:B[me]});else{let Oe=B[me].match(X);if(Oe&&3===Oe.length&&""!==Oe[1]&&""!==Oe[2]&&0!==Oe[2].indexOf(this.braceFlag_)){let We=Oe[0];if(q||-1===Oe[2].indexOf(this.parensFlag_)){let w="("+Oe[1]+"."+Oe[2]+")",qe=this._processParens(w,K);qe[2]?(me=he,q=!0):(this.retMsg_.push(`${Oe[0]} is not a valid UCUM code.  ${this.vcMsgStart_}${Oe[1]}.${Oe[2]}${this.vcMsgEnd_}`),K=K.replace(Oe[0],w),W.push({op:be,un:qe[0]}))}else{let w=this._getParensUnit(Oe[2],K);if(Oe[2]=w[0].csCode_,We=`(${Oe[2]})`,q=w[1],!q){this.retMsg_.push(`${Oe[1]}${We} is not a valid UCUM code.  ${this.vcMsgStart_}${Oe[1]}.${We}${this.vcMsgEnd_}`);let qe=`(${Oe[1]}.${We})`;K=K.replace(`${Oe[1]}${We}`,qe);let Ue=this._processParens(qe,K);q=Ue[2],q||W.push({op:be,un:Ue[0]})}}}else W.push({op:be,un:B[me]})}else this.retMsg_.push(`${K} is not a valid UCUM code. It is terminated with the operator ${this.openEmph_}${be}${this.closeEmph_}.`),me=he,q=!0}}}return[W,K,q]}_getParensUnit(O,K){let B=!1,W=null,me=O.indexOf(this.parensFlag_),be=null;me>0&&(be=O.substring(0,me));let Oe=O.lastIndexOf(this.parensFlag_),We=null;Oe+this.pFlagLen_<O.length&&(We=O.substr(Oe+this.pFlagLen_));let w=O.substring(me+this.pFlagLen_,Oe);if(!M.isNumericString(w))throw new Error(`Processing error - invalid parens number ${w} found in ${O}.`);if(W=this.parensUnits_[Number(w)],O=M.isIntegerUnit(W)?W:W.csCode_,be)if(M.isNumericString(be)){let qe=W.getProperty("magnitude_");qe*=Number(be),W.assignVals({magnitude_:qe}),this.retMsg_.push(`${be}${O=`${be}.${O}`} is not a valid UCUM code.\n`+this.vcMsgStart_+O+this.vcMsgEnd_)}else if(be.indexOf(this.braceFlag_)>=0){let qe=this._getAnnoText(be,K);if(qe[1]||qe[2])throw new Error(`Text found before the parentheses (${be}) included an annotation along with other text for parenthetical unit ${W.csCode_}`);this.retMsg_.push(`The annotation ${qe[0]} before the unit code is invalid.\n`+this.vcMsgStart_+(O+=qe[0])+this.vcMsgEnd_)}else this.retMsg_.push(`${be} preceding the unit code ${O} is invalid.  Unable to make a substitution.`),B=!0;if(We)if(We.indexOf(this.braceFlag_)>=0){let qe=this._getAnnoText(We,K);if(qe[1]||qe[2])throw new Error(`Text found after the parentheses (${We}) included an annotation along with other text for parenthetical unit ${W.csCode_}`);O+=qe[0]}else if(M.isNumericString(We)){W=null;let qe=`An exponent (${We}) following a parenthesis is invalid as of revision 1.9 of the UCUM Specification.`;O.match(/\d$/)||(qe+="\n  "+this.vcMsgStart_+(O+=We)+this.vcMsgEnd_),this.retMsg_.push(qe),B=!0}else this.retMsg_.push(`Text ${We} following the unit code ${O} is invalid.  Unable to make a substitution.`),B=!0;return B||(W?M.isIntegerUnit(W)?W=new _({csCode_:W,magnitude_:W,name_:W}):W.csCode_=O:W=new _({csCode_:O,magnitude_:1,name_:O})),[W,B]}_getAnnoText(O,K){let B=O.indexOf(this.braceFlag_),q=B>0?O.substring(0,B):null;0!==B&&(O=O.substr(B));let W=O.indexOf(this.braceFlag_,1),X=W+this.bFlagLen_<O.length?O.substr(W+this.bFlagLen_):null,he=O.substring(this.bFlagLen_,W),me=Number(he);if(!M.isNumericString(he)||me>=this.annotations_.length)throw new Error(`Processing Error - invalid annotation index ${he} found in ${O} that was created from ${K}`);return[O=this.annotations_[me],q,X]}_getSuggestions(O){let K=M.getSynonyms(O);if("succeeded"===K.status){let B={};B.msg=`${O} is not a valid UCUM code.  We found possible units that might be what was meant:`,B.invalidUnit=O;let q=K.units.length;B.units=[];for(let W=0;W<q;W++){let X=K.units[W];B.units.push([X.code,X.name,X.guidance])}this.suggestions_.push(B)}else this.retMsg_.push(`${O} is not a valid UCUM code.  No alternatives were found.`);return K.status}_makeUnit(O,K){let B=this.utabs_.getUnitByCode(O);if(B)B=B.clone();else if(O.indexOf(this.braceFlag_)>=0){let q=this._getUnitWithAnnotation(O,K);B=q[0],B&&(K=q[1])}else{if(O.indexOf("^")>-1){let q=O.replace("^","*");B=this.utabs_.getUnitByCode(q),B&&(B=B.clone(),B.csCode_=B.csCode_.replace("*","^"),B.ciCode_=B.ciCode_.replace("*","^"))}if(!B){let q="["+O+"]";B=this.utabs_.getUnitByCode(q),B&&(B=B.clone(),K=K.replace(O,q),this.retMsg_.push(`${O} is not a valid unit expression, but ${q} is.\n`+this.vcMsgStart_+`${q} (${B.name_})${this.vcMsgEnd_}`))}if(!B){let q=this.utabs_.getUnitByName(O);if(q&&q.length>0){B=q[0].clone();let W="The UCUM code for "+O+" is "+B.csCode_+".\n"+this.vcMsgStart_+B.csCode_+this.vcMsgEnd_,X=!1;for(let be=0;be<this.retMsg_.length&&!X;be++)X=this.retMsg_[be]===W;X||this.retMsg_.push(W);let he=new RegExp("(^|[./({])("+O+")($|[./)}])"),me=K.match(he);K=K.replace(he,me[1]+B.csCode_+me[3]),O=B.csCode_}}if(!B){let q=null;for(q in g.specUnits_)-1!==O.indexOf(g.specUnits_[q])&&(O=O.replace(g.specUnits_[q],q));B=this.utabs_.getUnitByCode(O),B&&(B=B.clone())}if(!B){let q=O,W=null,X=null,he=null,me=null,be=null,Oe=null,We=this._isCodeWithExponent(O),w=!1;if(We&&(X=We[1],w=M.isIntegerUnit(O=We[0]),W=w?new _({csCode_:O,ciCode_:O,magnitude_:Number(O),name_:O}):this.utabs_.getUnitByCode(O)),X&&isNaN(X))B=null,this.retMsg_.push(`${q} is not a valid UCUM code.`);else if(!W&&(he=O.charAt(0),me=this.pfxTabs_.getPrefixByCode(he),me)&&(be=me.getValue(),Oe=me.getExp(),O=O.substr(he.length),W=this.utabs_.getUnitByCode(O),!W&&"d"==he&&"a"==O.substr(0,1)&&(he="da",me=this.pfxTabs_.getPrefixByCode(he),be=me.getValue(),O=O.substr(1),W=this.utabs_.getUnitByCode(O)),W&&"LOINC"==W.source_&&(W=null)),W){B=W.clone(),B.resetFieldsForDerivedUnit();let qe=B.getProperty("dim_"),Ue=B.getProperty("magnitude_"),Tt=B.getProperty("name_"),Rt=B.getProperty("ciCode_"),vn=B.getProperty("printSymbol_");if(X){X=parseInt(X);let Vt=X;qe&&(qe=qe.mul(X)),B.equivalentExp_*=X,B.moleExp_*=X,Ue=Math.pow(Ue,X),B.assignVals({magnitude_:Ue}),me&&Oe&&(Vt*=me.getExp(),be=Math.pow(10,Vt))}me&&(B.cnv_?B.assignVals({cnvPfx_:be}):(Ue*=be,B.assignVals({magnitude_:Ue})));let yt=B.csCode_;if(me&&(Tt=me.getName()+Tt,yt=he+yt,Rt=me.getCiCode()+Rt,vn=me.getPrintSymbol()+vn,B.assignVals({name_:Tt,csCode_:yt,ciCode_:Rt,printSymbol_:vn})),X){let Vt=X.toString();const jn=w&&X>0?"+":"";B.assignVals({name_:Tt+"<sup>"+Vt+"</sup>",csCode_:yt+jn+Vt,ciCode_:Rt+jn+Vt,printSymbol_:vn+"<sup>"+Vt+"</sup>"})}}else B=null,this.suggestions_?this._getSuggestions(q):this.retMsg_.push(`${q} is not a valid UCUM code.`)}}return[B,K]}_getUnitWithAnnotation(O,K){let B=null,q=this._getAnnoText(O,K),W=q[0],X=q[1],he=q[2];this.bracesMsg_&&-1===this.retMsg_.indexOf(this.bracesMsg_)&&this.retMsg_.push(this.bracesMsg_);let me=this.retMsg_.length;if(X||he)if(X&&!he)if(M.isIntegerUnit(X))B=new _({csCode_:X+W,ciCode_:X+W.toUpperCase(),magnitude_:Number(X),name_:X+W});else{let be=this._makeUnit(X,K);be[0]?(B=be[0],B.csCode_+=W,K=be[1]):this.retMsg_.push(`Unable to find a unit for ${X} that precedes the annotation ${W}.`)}else if(!X&&he)if(M.isIntegerUnit(he))B=he+W,this.retMsg_.push(`The annotation ${W} before the ``${he} is invalid.\n`+this.vcMsgStart_+B+this.vcMsgEnd_);else{let be=this._makeUnit(he,K);be[0]?(B=be[0],B.csCode_+=W,K=B.csCode_,this.retMsg_.push(`The annotation ${W} before the unit code is invalid.\n`+this.vcMsgStart_+B.csCode_+this.vcMsgEnd_)):this.retMsg_.push(`Unable to find a unit for ${X} that follows the annotation ${W}.`)}else this.retMsg_.push(`Unable to find a unit for ${X}${W}${he}.\nWe are not sure how to interpret text both before and after the annotation.  Sorry`);else{let be="["+W.substring(1,W.length-1)+"]",Oe=this._makeUnit(be,K);Oe[0]?(B=O,this.retMsg_.push(`${W} is a valid unit expression, but did you mean ${be} (${Oe[0].name_})?`)):this.retMsg_.length>me&&this.retMsg_.pop(),B=new _({csCode_:W,ciCode_:W,magnitude_:1,name_:W})}return[B,K]}_performUnitArithmetic(O,K){let B=O[0].un;M.isIntegerUnit(B)&&(B=new _({csCode_:B,ciCode_:B,magnitude_:Number(B),name_:B}));let q=O.length,W=!1;for(let X=1;X<q&&!W;X++){let he=O[X].un;if(M.isIntegerUnit(he)&&(he=new _({csCode_:he,ciCode_:he,magnitude_:Number(he),name_:he})),null===he||"number"!=typeof he&&!he.getProperty){let me=`Unit string (${K}) contains unrecognized element`;he&&(me+=` (${this.openEmph_}${he.toString()}${this.closeEmph_})`),me+="; could not parse full string.  Sorry",this.retMsg_.push(me),W=!0}else try{B="/"===O[X].op?B.divide(he):B.multiplyThese(he)}catch(me){this.retMsg_.unshift(me.message),W=!0,B=null}}return B}_isCodeWithExponent(O){let K=[],B=O.match(/(^[^\-\+]+?)([\-\+\d]+)$/);return B&&B[2]&&""!==B[2]?(K.push(B[1]),K.push(B[2])):K=null,K}}le.o=D,Q(D,"INVALID_ANNOTATION_CHAR_MSG","An invalid character was found in the annotation "),Q(D,"VALID_ANNOTATION_REGEX",/^\{[!-z|~]*\}$/),D.getInstance=function(){return new D}},4870(ne,le,R){"use strict";Object.defineProperty(le,"__esModule",{value:!0}),le.UnitTables=void 0;var F=R(9935).Ucum,Y=new class M{constructor(){this.unitNames_={},this.unitCodes_={},this.codeOrder_=[],this.unitStrings_={},this.unitDimensions_={},this.unitSynonyms_={},this.massDimIndex_=0,this.dimVecIndexToBaseUnit_={}}unitsCount(){return Object.keys(this.unitCodes_).length}addUnit(y){y.name_&&this.addUnitName(y),this.addUnitCode(y),this.addUnitString(y);try{y.dim_.getProperty("dimVec_")&&this.addUnitDimension(y)}catch{}if(y.isBase_){const _=y.dim_.dimVec_;let E;for(let A=0,D=_.length;null==E&&A<D;++A)0!=_[A]&&(E=A);this.dimVecIndexToBaseUnit_[E]=y.csCode_}}addUnitName(y){let g=y.name_;if(!g)throw new Error(`UnitTables.addUnitName called for a unit with no name.  Unit code = ${y.csCode_}.`);this.unitNames_[g]?this.unitNames_[g].push(y):this.unitNames_[g]=[y]}addUnitCode(y){let g=y.csCode_;if(!g)throw new Error("UnitTables.addUnitCode called for unit that has no code.");if(this.unitCodes_[g])throw new Error(`UnitTables.addUnitCode called, already contains entry for unit with code = ${g}`);if(this.unitCodes_[g]=y,this.codeOrder_.push(g),"g"==g){let _=y.dim_.dimVec_,E=0;for(;E<_.length&&_[E]<1;E++);this.massDimIndex_=E}}addUnitString(y){let g=null;if(g=1==F.caseSensitive_?y.csUnitString_:y.ciUnitString_,g){let _={mag:y.baseFactorStr_,unit:y};this.unitStrings_[g]?this.unitStrings_[g].push(_):this.unitStrings_[g]=[_]}}addUnitDimension(y){let g=y.dim_.getProperty("dimVec_");if(!g)throw new Error(`UnitTables.addUnitDimension called for a unit with no dimension.  Unit code = ${y.csCode_}.`);this.unitDimensions_[g]?this.unitDimensions_[g].push(y):this.unitDimensions_[g]=[y]}buildUnitSynonyms(){for(let y in this.unitCodes_){let g=this.unitCodes_[y],_=g.synonyms_;if(_){let E=_.split(";");if(""!==E[0]){let A=E.length;for(let D=0;D<A;D++){let z=E[D].trim();this.addSynonymCodes(y,z)}}}this.addSynonymCodes(y,g.name_)}}addSynonymCodes(y,g){let _=g.split(" "),E=_.length;for(let A=0;A<E;A++){let D=_[A];this.unitSynonyms_[D]?-1===this.unitSynonyms_[D].indexOf(y)&&this.unitSynonyms_[D].push(y):this.unitSynonyms_[D]=[y]}}getUnitByCode(y){let g=null;return y&&(g=this.unitCodes_[y]),g}getUnitByName(y){if(null==y)throw new Error("Unable to find unit by name because no name was provided.");let g=y.indexOf(F.codeSep_),_=null;g>=1&&(_=y.substr(g+F.codeSep_.length),y=y.substr(0,g));let E=this.unitNames_[y];if(E){let A=E.length;if(_&&A>1){let D=0;for(;E[D].csCode_!==_&&D<A;D++);E=D<A?[E[D]]:null}}return E}getUnitByString(y){let g=null;return y&&(g=this.unitStrings_[y],void 0===g&&(g=null)),g}getUnitsByDimension(y){let g=null;if(null==y)throw new Error("Unable to find unit by because no dimension vector was provided.");return g=this.unitDimensions_[y],null==g&&console.log(`Unable to find unit with dimension = ${y}`),g}getUnitBySynonym(y){let g={},_=[];try{if(null==y)throw g.status="error",new Error("Unable to find unit by synonym because no synonym was provided.");0===Object.keys(this.unitSynonyms_).length&&this.buildUnitSynonyms();let E=[];if(E=this.unitSynonyms_[y],E){g.status="succeeded";let A=E.length;for(let D=0;D<A;D++)_.push(this.unitCodes_[E[D]]);g.units=_}0===_.length&&(g.status="failed",g.msg=`Unable to find any units with synonym = ${y}`)}catch(E){g.msg=E.message}return g}getAllUnitNames(){return Object.keys(this.unitNames_)}getUnitNamesList(){let y=[],g=Object.keys(this.unitCodes_);g.sort(this.compareCodes);let _=g.length;for(let E=0;E<_;E++)y[E]=g[E]+F.codeSep_+this.unitCodes_[g[E]].name_;return y}getMassDimensionIndex(){return this.massDimIndex_}compareCodes(y,g){return(y=(y=y.replace(/[\[\]]/g,"")).toLowerCase())<(g=(g=g.replace(/[\[\]]/g,"")).toLowerCase())?-1:1}getAllUnitCodes(){return Object.keys(this.unitCodes_)}allUnitsByDef(){let y=[],g=this.codeOrder_.length;for(let _=0;_<g;_++)y.push(this.getUnitByCode(this.codeOrder_[_]));return y}allUnitsByName(y,g){null==g&&(g="|");let _="",E=this.getAllUnitNames(),A=E.length,D=y.length;for(let z=0;z<A;z++){let O=this.getUnitByName(E[z]);for(let K=0;K<O.length;K++){let B=O[K];for(let q=0;q<D;q++)if(q>0&&(_+=g),"dim_"===y[q])_+=null!=B.dim_&&B.dim_.dimVec_ instanceof Array?"["+B.dim_.dimVec_.join(",")+"]":"";else{let W=B[y[q]];_+="string"==typeof W?W.replace(/[\n\r]/g," "):W}_+="\r\n"}}return _}printUnits(y,g){void 0===y&&(y=!1),void 0===g&&(g="|");let _="",E=this.codeOrder_.length,A="csCode"+g;y&&(A+="ciCode"+g),A+="name"+g,y&&(A+="isBase"+g),A+="magnitude"+g+"dimension"+g+"from unit(s)"+g+"value"+g+"function"+g,y&&(A+="property"+g+"printSymbol"+g+"synonyms"+g+"source"+g+"class"+g+"isMetric"+g+"variable"+g+"isSpecial"+g+"isAbitrary"+g),A+="comment",_=A+"\n";for(let D=0;D<E;D++){let z=this.getUnitByCode(this.codeOrder_[D]);A=this.codeOrder_[D]+g,y&&(A+=z.getProperty("ciCode_")+g),A+=z.getProperty("name_")+g,y&&(z.getProperty("isBase_")?A+="true"+g:A+="false"+g),A+=z.getProperty("magnitude_")+g;let O=z.getProperty("dim_");A+=O?O.dimVec_+g:"null"+g,A+=z.csUnitString_?z.csUnitString_+g+z.baseFactor_+g:"null"+g+"null"+g,A+=z.cnv_?z.cnv_+g:"null"+g,y&&(A+=z.getProperty("property_")+g+z.getProperty("printSymbol_")+g+z.getProperty("synonyms_")+g+z.getProperty("source_")+g+z.getProperty("class_")+g+z.getProperty("isMetric_")+g+z.getProperty("variable_")+g+z.getProperty("isSpecial_")+g+z.getProperty("isArbitrary_")+g),z.defError_&&(A+="problem parsing this one, deferred to later."),_+=A+"\n"}return _}};le.UnitTables={getInstance:function(){return Y}}},2219(ne,le,R){"use strict";var M=R(840)("ArrayBuffer.prototype.byteLength",!0),Y=R(3066);ne.exports=function($){return Y($)?M?M($):$.byteLength:NaN}},1994(ne){ne.exports=function le(R){R.FieldAlarms.soundData_="data:audio/mp3;base64, "}},8898(ne){if(typeof le>"u")var le={};ne.exports=function R(F,M){"use strict";var Y=M.PrototypeAPI.Browser,Q=!!window.attachEvent&&!Y.isOpera||typeof navigator<"u"&&navigator.userAgent.indexOf("Trident")>=0,$=M.jqueryLite.ui.keyCode;M.Autocompleter={isIE:Q,currentAutoCompField_:-1,USE_STATISTICS:2,NO_COMPLETION_SUGGESTIONS:0,SUGGEST_SHORTEST:1,LIST_ITEM_FIELD_SEP:" - ",screenReaderLog_:new M.ScreenReaderLog,setOptions:function(g){Object.assign(this,g)},getFieldVal:function(g){return g.value},setFieldVal:function(g,_,E){var A;g.autocomp?g.autocomp.setFieldVal(_,E):(typeof E>"u"&&(E=!0),E&&(A=this.getFieldVal(g)),g.value=_,E&&A!==_&&M.Event.simulate(g,"change"))},getFieldLookupKey:M.Observable.lookupKey,lookupFields:function(g){for(var _=[],E=0,A=document.forms.length;E<A;++E){var D=document.forms[E].elements[g];void 0!==D&&_.push(D)}return _},findRelatedFields:function(g,_){return this.lookupFields(_)},getFieldLabel:function(g){return null},listItemElementContainer:function(){var g=document.querySelector("#completionOptions").firstChild;return g&&"TABLE"===g.tagName&&(g=g.tBodies[0]),g},listItemElements:function(){var g=null,_=this.listItemElementContainer();return _&&(g=_.childNodes),g},setOffAlarm:function(g){M.FieldAlarms.setOffAlarm(g)},cancelAlarm:function(g){M.FieldAlarms.cancelAlarm(g)},stopEvent:function(g){g.stopImmediatePropagation(),g.preventDefault()},screenReaderLog:function(g){M.Autocompleter.screenReaderLog_.add(g)},createDOMCache:function(g,_){var E={data:{},get:function(A){var D=this.data[A];return void 0===D&&(D=this.data[A]=this.refresh[A].apply(this)),D},set:function(A,D){this.data[A]=D},invalidate:function(A){A?delete this.data[A]:this.data={}},refresh:{}};return Object.assign(E,g),Object.assign(E.refresh,_),E}},M.Autocompleter.Base=function(){},Object.assign(M.Autocompleter.Base,{MAX_ITEMS_BELOW_FIELD:7,classInit_:!1,classInit:function(){this.classInit_||(document.body.insertAdjacentHTML("beforeend",'<div id="lhc-tools-searchResults" class="form_auto_complete">              <div id="completionOptionsScroller">             <span class="auto_complete" id="completionOptions"></span>              </div>              <div id="lhc-tools-moreResults">See more items (Ctl Ret)</div>              <div id="lhc-tools-searchCount">Search Results\x3c!-- place holder for result count,               needed for height calculation--\x3e</div>              <div id="lhc-tools-searchHint">Search Hint\x3c!--place holder--\x3e</div>              </div>'),document.querySelector("#lhc-tools-moreResults").addEventListener("mousedown",function(g){var _=F(M.Autocompleter.currentAutoCompField_);_.autocomp.handleSeeMoreItems(g),M.Autocompleter.Event.notifyObservers(_,"LIST_EXP",{list_expansion_method:"clicked"})}),document.querySelector("#completionOptionsScroller").addEventListener("mousedown",function(g){if(M.Autocompleter.isIE&&"completionOptionsScroller"===g.target.id&&(M.Autocompleter.stopEvent(g),M.Autocompleter.completionOptionsScrollerClicked_=!0,-1!=F(M.Autocompleter.currentAutoCompField_))){var _=F(M.Autocompleter.currentAutoCompField_);setTimeout(function(){_.focus()})}}.bind(this)),this.classInit_=!0)},noCaseSort:function(g,_){var E=g.toLowerCase(),A=_.toLowerCase();return E>A?1:E<A?-1:0},escapeAttribute:M.PrototypeAPI.escapeAttribute,unescapeAttribute:function(g){return g.replace(/&amp;/g,"&").replace(/&quot;/g,'"').replace(/&#39;/g,"'").replace(/&lt;/g,"<").replace(/&gt;/g,">")}}),M.Autocompleter.sharedDOMCache=M.Autocompleter.createDOMCache({},{spacerDiv:function(){var g=F("spacer");return g||((g=document.createElement("div")).setAttribute("id","spacer"),document.body.appendChild(g)),g},listContainer:function(){return F("lhc-tools-searchResults")},firstEntryWidth:function(){return M.Autocompleter.listItemElements()[0].offsetWidth},listBoundingRect:function(){return this.get("listContainer").getBoundingClientRect()},viewPortWidth:function(){return document.documentElement.clientWidth},spacerCoords:function(){return this.get("spacerDiv").getBoundingClientRect()}});var y={constructorOpts_:null,scoreField_:null,scoreFieldInitialized_:!1,itemToDataIndex_:null,selectedCodes_:null,selectedItems_:null,selectedItemData_:null,matchListValue_:null,invalidStatus_:!1,matchStatus_:!0,focusInProgress_:!1,refocusInProgress_:!1,listBelowField_:!0,listContainer:null,recDataRequester_:null,enabled_:!0,preFieldFillVal_:null,fieldValIsListVal_:null,indexToHeadingLevel_:{},suggestionMode_:M.Autocompleter.SUGGEST_SHORTEST,lastScrollEffect_:null,multiSelect_:!1,listExtraData_:null,processedFieldVal_:null,tokenGroupingFunction_:g=>g,defAutocompleterBaseInit:function(g,_){_||(_={}),_.wordBoundaryChars&&(_.tokens=_.wordBoundaryChars),_.tokenGroupingFunction&&(this.tokenGroupingFunction_=_.tokenGroupingFunction),void 0!==_.suggestionMode&&(this.suggestionMode_=_.suggestionMode),this.twoColumnFlow_=_.twoColumnFlow,void 0===this.twoColumnFlow_&&(this.twoColumnFlow_=!0),this.caseInsenstiveSelection_=_.caseInsenstiveSelection,void 0===this.caseInsenstiveSelection_&&(this.caseInsenstiveSelection_=!0),_.tokens||void 0===_.maxSelect?_.maxSelect=1:"*"===_.maxSelect&&(_.maxSelect=1/0),this.multiSelect_=1!==_.maxSelect,this.scrolledContainer_=void 0!==_.scrolledContainer?_.scrolledContainer:document.documentElement,void 0===(this.nonMatchSuggestions_=_.nonMatchSuggestions)&&(this.nonMatchSuggestions_=!1),this.constructorOpts_=_,this.initStoredSelectionData();var E=_.dataRequester;if(M.Autocompleter.Base.classInit_||M.Autocompleter.Base.classInit(),this.matchListValue_=_.matchListValue||!1,this.recDataRequester_=E,this.update=F("completionOptions"),this.options=_,this.options.frequency=this.options.frequency||.01,this.options.minChars=this.options.minChars||1,this.element="string"==typeof g?F(g):g,!this.element)throw"string"==typeof g?new Error("Could not find the field with id '"+g+'"'):new Error("The autocompleter constructor requires an field element or an ID");if(this.ensureNeededAttrs(),this.hasFocus=!1,this.changed=!1,this.active=!1,this.index=0,this.entryCount=0,this.observer=null,this.element.setAttribute("autocomplete","off"),this.update.style.display="none;",this.elementEventListeners={},this.addEventListenerToElement("blur",this.onBlur.bind(this)),this.addEventListenerToElement("keydown",this.onKeyPress.bind(this)),this.options.tokens&&this.addEventListenerToElement("click",function(){this.tokenBounds=null,this.getTokenBounds(this.element.selectionStart)}.bind(this)),_.maxSelect>1){var A=document.createElement("span");A.classList.add("autocomp_selected"),this.element.parentNode.replaceChild(A,this.element),A.appendChild(document.createElement("ul")),A.appendChild(this.element),this.selectedList=A.firstChild}this.element.setAttribute("role","combobox"),this.element.setAttribute("aria-expanded","false"),this.onMouseDownListener=this.onMouseDown.bind(this),this.addEventListenerToElement("change",this.onChange.bind(this)),this.addEventListenerToElement("keypress",this.changeToFieldByKeys.bind(this));var z=function(){this.typedSinceLastFocus_=!0}.bind(this);this.addEventListenerToElement("paste",z),this.addEventListenerToElement("cut",z),this.listContainer=M.Autocompleter.sharedDOMCache.get("listContainer"),this.options.showList=this.showList.bind(this),this.options.hideList=this.hideList.bind(this),this.options.posAnsList=this.posAnsList.bind(this),this.update.style.display="block",this.element.autocomp=this,this.index=-1,this.initDOMCache(),this.oldElementValue=this.domCache.get("elemVal")},setFieldVal:function(g,_){var E;typeof _>"u"&&(_=!0),_&&(E=this.domCache.get("elemVal")),this.domCache.set("elemVal",this.element.value=this.oldElementValue=g),this.tokenBounds=null,_&&E!==g&&M.Event.simulate(this.element,"change")},ensureNeededAttrs:function(){var g=this.element;""===g.id&&(M.Autocompleter.lastGeneratedID_||(M.Autocompleter.lastGeneratedID_=0),g.id="ac"+ ++M.Autocompleter.lastGeneratedID_)},initStoredSelectionData:function(){this.selectedCodes_={},this.selectedItems_={},this.selectedItemData_=[]},clearStoredSelection:function(){this.initStoredSelectionData(),this.multiSelect_&&(this.selectedList.innerHTML="")},dupDataReqForField:function(g){var _=null;return this.recDataRequester_&&(_=this.recDataRequester_.dupForField(g)),_},getSelectedCodes:function(){for(var g=this.getSelectedItems(),_=[],E=0,A=g.length;E<A;++E)_.push(this.selectedCodes_[g[E]]);return _},getSelectedItems:function(){return Object.keys(this.selectedItems_)},getSelectedItemData:function(){return this.selectedItemData_.length>0?this.selectedItemData_:null},storeSelectedItem:function(g,_){if(void 0===g&&(g=this.domCache.get("elemVal"),_=this.getItemCode(g)),this.multiSelect_||this.clearStoredSelection(),g){var A,E=null!=_;E&&(this.selectedCodes_[g]=_),this.selectedItems_[g]=1,this.getItemData?A=this.getItemData(g):(A={text:g},E&&(A.code=_)),this.selectedItemData_.push(A)}},getItemCode:function(g){this.itemToDataIndex_||this.initItemToDataIndex();var _=this.itemToDataIndex_[g],E=null;return void 0!==_&&this.itemCodes_&&(E=this.itemCodes_[_]),E},addToSelectedArea:function(g){var _=M.Autocompleter.Base.escapeAttribute(g);return this.selectedList.insertAdjacentHTML("beforeend",'<li><button type="button" aria-label="&quot;'+_+'&quot; item remove"><span aria-hidden="true">&times;</span></button>'+_+"</li>"),this.selectedList.lastChild.childNodes[0].addEventListener("click",this.removeSelection.bind(this)),_},moveEntryToSelectedArea:function(){var g=this.addToSelectedArea(this.domCache.get("elemVal"));if(this.setFieldVal(this.processedFieldVal_="",!1),M.Autocompleter.screenReaderLog("Selected "+g),this.index>=0){var _=M.Autocompleter.listItemElementContainer();_.removeChild(this.getCurrentEntry()),--this.entryCount;for(var E=_.childNodes,A=this.index,D=E.length;A<D;++A)E[A].autocompleteIndex=A;if(this.index==this.entryCount&&--this.index,this.numHeadings_){for(var z=this.index;this.index<this.entryCount&&this.liIsHeading(this.getCurrentEntry());)++this.index;if(this.index==this.entryCount)for(this.index=z-1;this.index>0&&this.liIsHeading(this.getCurrentEntry());)--this.index}this.render()}this.active=!0,this.hasFocus=!0,this.posAnsList()},removeSelection:function(g){var _=g.target.parentNode;"SPAN"===g.target.tagName&&(_=_.parentNode),_.parentNode.removeChild(_);var E=_.childNodes[1].textContent;delete this.selectedCodes_[E],delete this.selectedItems_[E];for(var A=0,D=this.selectedItemData_.length;A<D;++A)if(this.selectedItemData_[A].text===E){this.selectedItemData_.splice(A,1);break}this.listSelectionNotification(E,!0,!0),M.Autocompleter.screenReaderLog("Unselected "+E)},isSelected:function(g){return this.selectedItems_&&void 0!==this.selectedItems_[g]},getScoreField:function(){return this.scoreFieldInitialized_||(this.scoreField_=M.Autocompleter.getScoreField(this.element),this.scoreField_&&(this.scoreFieldInitialized_=!0)),this.scoreField_},changeToFieldByKeys:function(g){if(!this.typedSinceLastFocus_){var _=!1;typeof g.which>"u"?_=!0:"number"==typeof g.which&&g.which>0&&(_=!g.ctrlKey&&!g.metaKey&&!g.altKey&&8!==g.which),this.typedSinceLastFocus_=_}},addObservers:function(g){g.addEventListener("mousedown",this.onMouseDownListener)},listItemValue:function(g){return this.options.tableFormat?g.getAttribute("data-fieldval"):g.textContent},markPrevious:function(){null===this.preFieldFillVal_&&(this.preFieldFillVal_=this.domCache.get("elemVal"));var _,g=this.index;-1===g&&(g=this.entryCount-1);do{this.index>0?this.index--:this.index=this.entryCount-1,_=this.getCurrentEntry();var E=this.listItemValue(_);this.itemTextIsHeading(E)&&(M.Autocompleter.screenReaderLog("Above list heading: "+E),_=null)}while(!_&&this.index!==g);_&&(this.scrollToShow(_,this.update.parentNode),this.updateElementAfterMarking(_))},markNext:function(){null===this.preFieldFillVal_&&(this.preFieldFillVal_=this.domCache.get("elemVal"));var _,g=this.index;-1===g&&(g=this.entryCount-1);do{this.index<this.entryCount-1?this.index++:this.index=0,_=this.getCurrentEntry();var E=this.listItemValue(_);this.itemTextIsHeading(E)&&(M.Autocompleter.screenReaderLog("Under list heading: "+E),_=null)}while(!_&&this.index!==g);_&&(this.scrollToShow(_,this.update.parentNode),this.updateElementAfterMarking(_))},updateElementAfterMarking:function(g){var _=this.tokenBounds;if(this.updateElement(g),this.options.tokens?(this.getTokenBounds(_&&_[0]),this.element.setSelectionRange(this.tokenBounds[0],this.tokenBounds[1])):this.element.select(),this.options.tableFormat){var E=[],A=g.querySelectorAll("td");if(A.length>1){for(var D=0,z=A.length;D<z;++D)E.push(A[D].innerText);M.Autocompleter.screenReaderLog(E.join("; "))}}},hideList:function(){M.Autocompleter.currentAutoCompField_===this.element.id&&("visible"!==this.listContainer.style.visibility||(this.listContainer.style.visibility="hidden",this.listShowing=!1,this.listContainer.setAttribute("aria-hidden","true"),this.element.setAttribute("aria-expanded","false"),window.removeEventListener("resize",this.windowResizeEventHandler)))},showList:function(){var g="visible"!==this.listContainer.style.visibility;this.listContainer.style.visibility="visible",this.listShowing=!0,this.listContainer.setAttribute("aria-hidden","false"),this.element.setAttribute("aria-expanded","true"),g&&!this.temporaryHide_&&this.entryCount>0&&(M.Autocompleter.screenReaderLog("A list has appeared below the "+this.getFieldName()+"."),this.options.tableFormat&&this.options.colHeaders&&M.Autocompleter.screenReaderLog("The column headers on the multi-column list are "+this.options.colHeaders.join("; "))),this.windowResizeEventHandler=this.posAnsList.bind(this),window.addEventListener("resize",this.windowResizeEventHandler)},getFieldName:function(){if(void 0===this.fieldName_){var g=M.Autocompleter.getFieldLabel(this.element.id);this.fieldName_=null===g?"field":'field "'+g+'"'}return this.fieldName_},scrollToShow:function(g,_){if(g.offsetTop<_.scrollTop)_.scrollTop=g.offsetTop;else{var E=g.clientHeight,A=_.clientHeight;g.offsetTop+E-_.scrollTop>A&&(_.scrollTop=g.offsetTop+E-A)}},pageOptionsUpOrDown:function(g){var A,_=document.querySelector("#completionOptionsScroller"),E=_.clientHeight;if(g)_.scrollTop>0&&((A=_.scrollTop-E)<0&&(A=0),_.scrollTop=A);else{var z=document.querySelector("#completionOptions").clientHeight-E;z<0&&(z=0),_.scrollTop<z&&((A=_.scrollTop+E)>z&&(A=z),_.scrollTop=A)}},isSearchKey:function(g){return g.ctrlKey&&g.keyCode===$.ENTER},onKeyPress:function(g){if(this.enabled_){var _=g.keyCode,E=!0;if(this.fieldEventIsBigList(g))g.stopImmediatePropagation(),this.preFieldFillVal_&&this.setFieldVal(this.preFieldFillVal_,!1),this.handleSeeMoreItems(g),M.Autocompleter.Event.notifyObservers(this.element,"LIST_EXP",{list_expansion_method:"CtrlRet"});else{var A=$;switch(_){case A.ENTER:this.multiSelect_&&M.Autocompleter.stopEvent(g),this.handleDataEntry(g);break;case A.TAB:""!==this.domCache.get("elemVal")&&this.handleDataEntry(g);break;case A.ESCAPE:null!==this.preFieldFillVal_&&(this.setFieldVal(this.preFieldFillVal_,!1),M.Autocompleter.Event.notifyObservers(this.element,"CANCEL",{restored_value:this.preFieldFillVal_})),this.active&&(this.index=-1,this.hide(),this.active=!1);break;default:if(this.active)switch(_){case A.PAGE_UP:this.pageOptionsUpOrDown(!0);break;case A.PAGE_DOWN:this.pageOptionsUpOrDown(!1);break;default:if(g.ctrlKey)E=!1;else switch(_){case A.DOWN:case A.UP:_===A.UP?this.markPrevious():this.markNext(),this.render(),M.Autocompleter.stopEvent(g);break;case A.LEFT:case A.RIGHT:this.options.tokens&&(this.tokenBounds=null,this.getTokenBounds()),!g.ctrlKey&&this.index>=0&&this.update.classList.contains("multi_col")&&this.moveToOtherColumn(g);break;default:E=!1}}else E=!1}}E||(!g.ctrlKey||86===_)&&16!==_&&17!==_&&0!==_&&(this.preFieldFillVal_=null,this.changed=!0,this.hasFocus=!0,this.matchListItemsToField_=!0,this.observer&&clearTimeout(this.observer),this.observer=setTimeout(this.onObserverEvent.bind(this),1e3*this.options.frequency))}},setMatchStatusIndicator:function(g){g!==this.matchStatus_&&(g?this.element.classList.contains("no_match")&&(this.element.classList.remove("no_match"),M.Autocompleter.screenReaderLog("The field no longer contains a non-matching value.")):(this.element.classList.add("no_match"),M.Autocompleter.screenReaderLog("The field's value does not match any items in the list.")),this.matchStatus_=g)},setInvalidValIndicator:function(g){g?(M.Autocompleter.setOffAlarm(this.element),this.invalidStatus_||(this.element.classList.add("invalid"),this.element.setAttribute("invalid",!0))):this.invalidStatus_&&(this.element.classList.remove("invalid"),this.element.setAttribute("invalid",!1)),this.invalidStatus_=g},cancelInvalidValIndicator:function(){M.Autocompleter.cancelAlarm(this.element)},updateChoices:function(g,_){if(this.index=-1,!this.changed&&this.hasFocus){this.update.innerHTML=g;var E=this.update.firstChild;E&&E.tHead&&E.tHead.addEventListener("mousedown",function(O){M.Autocompleter.stopEvent(O)});var A=M.Autocompleter.listItemElements();if(A){var D;if(this.entryCount=A.length,this.suggestionMode_!==M.Autocompleter.NO_COMPLETION_SUGGESTIONS&&this.entryCount>0&&!this.focusInProgress_&&_){for(D=0;this.liIsHeading(A[D])&&D<this.entryCount;++D);this.index=D}for(D=0;D<this.entryCount;D++){var z=this.getEntry(D);z.autocompleteIndex=D,this.addObservers(z)}}else this.entryCount=0;1===this.entryCount&&this.options.autoSelect?(this.selectEntry(),this.hide()):this.render(),this.focusInProgress_||this.setMatchStatusIndicator(this.entryCount>0||""===this.trimmedElemVal)}},pickedByNumber:function(){return this.add_seqnum&&this.trimmedElemVal.match(/^\d+$/)},pickBestMatch:function(g){var _=this.trimmedElemVal.toLowerCase(),E=g.length,A=-1;if(_.length>0&&E>0){for(var D=-1,z=1/0,O=-1,K=z,B=-1,q=z,W=0;W<E;++W){var X=g[W];if(!this.itemTextIsHeading(X)){var he=X.toLowerCase(),me=(he=he.replace(/^\W+/,"")).indexOf(_),be=X.length;0===me?/(^\d+$)/.test(_)?(O=0,K=0):be<K&&(O=W,K=be):-1===O&&(me>0?be<q&&(B=W,q=be):-1===B&&be<z&&(z=be,D=W))}}A=O>-1?O:B>-1?B:D}return A},posAnsList:function(){this.posListBelowFieldInMultiCol(),this.index>0&&this.scrollToShow(this.getCurrentEntry(),F("completionOptionsScroller"))},posListBelowFieldInMultiCol:function(){var g=M.Autocompleter.sharedDOMCache,_=this.domCache.element,E=this.update;this.domCache.invalidate("elemPos"),g.invalidate("firstEntryWidth"),g.invalidate("listBoundingRect"),g.invalidate("viewPortWidth"),E.style.height&&(E.style.height=""),this.setListWrap(!1),E.style.width="auto",F("completionOptionsScroller").style.height="",this.listContainer.style.width="",this.listHeight=void 0;var A=this.listContainer;A.style.display="none";var D=this.domCache.get("elemPos");A.style.display="";var z=0,O=document.documentElement.style;/^-(\d+\.?\d*)px$/.test(O.top)&&(z=Number(RegExp.$1)),A.style.top=D.top+z+_.offsetHeight+"px";var K=this.scrolledContainer_,B=document.documentElement.clientHeight,q=B,X=(W=g.get("listBoundingRect")).bottom;if(X<=q)this.setListLeft();else{var he=this.twoColumnFlow_&&!this.options.tableFormat&&this.entryCount>4;if(he&&(he=this.setListWrap(!0))&&(X=g.get("listBoundingRect").bottom),he&&X<=q)this.setListLeft();else{var me=_.getBoundingClientRect(),be=void 0;if(!K||K===document.documentElement&&this.getFixedPositionedParent(_))be=window.innerHeight-me.bottom;else{this.lastScrollEffect_&&this.lastScrollEffect_.cancel();var Oe=X-q,We=me.top,w=0,qe=this.constructorOpts_.headerBar;if(qe){var Ue=document.getElementById(qe);Ue&&(w=Ue.offsetHeight)}var Tt,Rt=K.getBoundingClientRect().top;Oe>(Tt=Rt>w?We-Rt:We-w)&&(Oe=Tt,be=B-me.height-w),X=void 0===be?g.get("listBoundingRect").bottom:g.get("listBoundingRect").top+be;var vn=g.get("spacerCoords");X>vn.bottom&&(g.get("spacerDiv").style.height=X-vn.top+"px",g.invalidate("spacerCoords")),this.lastScrollEffect_=new M.Effect.Scroll(K,{y:Oe,duration:.4})}if(void 0!==be){this.setListHeight(be);var jn=g.get("viewPortWidth"),W=g.get("listBoundingRect");g.listWrap&&W.width>jn&&this.setListWrap(!1)}this.setListLeft()}}},getFixedPositionedParent:function(g){const _=g.offsetParent;return _?"fixed"===window.getComputedStyle(_).position?_:this.getFixedPositionedParent(_):null},initDOMCache:function(){var g=this,_=M.Autocompleter;this.domCache=_.createDOMCache({element:g.listPositioningElem()},{elemPos:function(){return M.jqueryLite.getElementOffset(this.element)},elemVal:function(){return _.getFieldVal(g.element)}})},listPositioningElem:function(){return this.multiSelect_?this.element.parentNode:this.element},setListWrap:function(g){var _=M.Autocompleter.sharedDOMCache;if(g!==_.listWrap){if(g){var E=2*_.get("firstEntryWidth")+4;E<=_.get("viewPortWidth")&&(this.listContainer.style.width=E+"px",this.update.classList.add("multi_col"),_.listWrap=!0)}else this.update.classList.remove("multi_col"),this.listContainer.style.width="",_.listWrap=!1,_.invalidate("viewPortWidth");_.invalidate("listBoundingRect"),this.domCache.invalidate("elemPos")}return _.listWrap},setListLeft:function(){var g=this.listContainer,_=M.Autocompleter.sharedDOMCache,E=_.get("viewPortWidth"),A=_.get("listBoundingRect"),D=this.domCache.get("elemPos"),z=A.width-(E-D.left);z<0&&(z=0);var O=D.left-z;O<0&&(O=0);var K=M.Autocompleter.sharedDOMCache;K.listPosLeft!==O&&(g.style.left=O+"px",K.listPosLeft=O)},setListHeight:function(A){var _=M.Autocompleter.sharedDOMCache,E=_.get("listBoundingRect");A=A-E.height+this.update.offsetHeight,this.listContainer.style.width=E.width+20+"px",A>=20&&(F("completionOptionsScroller").style.height=A+"px",_.invalidate("listBoundingRect"))},getToken:function(){var g=this.domCache.get("elemVal");if(this.options.tokens){var _=this.getTokenBounds();g=g.substring(_[0],_[1])}return g},getTokenBounds:function(){return function(g){if(null!=this.tokenBounds)return this.tokenBounds;var _=this.domCache.get("elemVal");if(""===_.trim())return[-1,0];for(var O,E=void 0!==g?g:this.element.selectionStart,A=E==this.oldElementValue.length?1:0,D=-1,z=_.length,K=0,B=this.options.tokens.length;K<B;++K)(O=_.lastIndexOf(this.options.tokens[K],E+A-1))>D&&(D=O),-1!=(O=_.indexOf(this.options.tokens[K],E+A))&&O<z&&(z=O);return this.tokenBounds=[D+1,z]}}(),dupForField:function(g){throw"dupForField must be overridden by autocompleter subclasses."},initItemToDataIndex:function(){throw"initItemToDataIndex must be overridden by autocompleter classes that need it"},propagateFieldChanges:function(g){void 0===g&&(g=this.matchStatus_),this.recDataRequester_&&(g&&""!==this.domCache.get("elemVal").trim()?this.recDataRequester_.requestData():this.recDataRequester_.clearDataOutputFields())},getValTyped:function(){return null===this.preFieldFillVal_?this.domCache.get("elemVal"):this.preFieldFillVal_},listSelectionNotification:function(g,_,E){var A;void 0===E?E=!1:E&&(A=g,g=""),void 0===A&&(A=this.domCache.get("elemVal"));var D=this.clickSelectionInProgress_?"clicked":null===this.preFieldFillVal_?"typed":"arrows",z="typed"!==D&&_,O=this.options.tokens?this.getTokenSeparatedCode_(A):this.getItemCode(A);this.options.tokens&&void 0!==this.pendingQueriesForCode_&&this.pendingQueriesForCode_.length?Promise.allSettled(this.pendingQueriesForCode_).then(()=>{var K=this.getTokenSeparatedCode_(A);M.Autocompleter.Event.notifyObservers(this.element,"LIST_SEL",{input_method:D,val_typed_in:g,final_val:A,used_list:z,list:this.rawList_,on_list:_,item_code:K,removed:E})}):M.Autocompleter.Event.notifyObservers(this.element,"LIST_SEL",{input_method:D,val_typed_in:g,final_val:A,used_list:z,list:this.rawList_,on_list:_,item_code:O,removed:E})},getTokenSeparatedCode_:function(g){const _=`(${this.options.tokens.map(B=>B.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")).join("|")})`,E=new RegExp(_,"g"),A=new RegExp(_),D=[];let O,z=0;for(;null!==(O=E.exec(g));){const B=g.slice(z,O.index);let q=this.getCodeForSingleItem_(B);0!==z&&"string"==typeof q&&A.test(q)&&(q=this.tokenGroupingFunction_(q)),D.push(q),D.push(O[0]),z=E.lastIndex}let K=this.getCodeForSingleItem_(g.slice(z));return 0!==z&&"string"==typeof K&&A.test(K)&&(K=this.tokenGroupingFunction_(K)),D.push(K),D.some(B=>null===B)?null:D.join("")},getCodeForSingleItem_:function(g){return void 0!==this.codesForSelectedItems_?this.codesForSelectedItems_[g]?this.codesForSelectedItems_[g]:(this.pendingQueriesForCode_.push(this.queryForCode_(g)),null):this.getItemCode(g)},attemptSelection:function(){var g=!1,_=this.getValTyped();if(this.active){if(-1===this.index){for(var E=this.getToken(),A=E.toLowerCase(),D=-1,z=-1,O=0;O<this.entryCount&&D<0;++O){var K=this.getEntry(O),B=this.listItemValue(K);this.liIsHeading(K)||(E===B?D=O:this.caseInsenstiveSelection_&&z<0&&A===B.toLowerCase()&&(z=O))}D>=0?(this.index=D,g=!0):z>=0&&(this.index=z,g=!0)}else g=this.entryCount>0&&!this.liIsHeading(this.getCurrentEntry());this.fieldValIsListVal_=g,g&&(this.active=!1,this.updateElement(this.getCurrentEntry()),this.storeSelectedItem(),null!==M.Autocompleter.Event.callbacks_&&this.listSelectionNotification(_,!0),this.processedFieldVal_=M.Autocompleter.getFieldVal(this.element),this.setMatchStatusIndicator(!0),this.setInvalidValIndicator(!1),this.propagateFieldChanges(),this.multiSelect_&&this.moveEntryToSelectedArea()),this.multiSelect_||(this.active=!1,this.hide())}return g},selectEntry:function(){this.attemptSelection()},handleNonListEntry:function(){this.propagateFieldChanges(!1),this.multiSelect_||this.clearStoredSelection();var g=M.Autocompleter.getFieldVal(this.element);""===M.Autocompleter.getFieldVal(this.element)?(this.setMatchStatusIndicator(!0),this.setInvalidValIndicator(!1),this.storeSelectedItem(""),null!==M.Autocompleter.Event.callbacks_&&this.listSelectionNotification("",!1),this.processedFieldVal_=g):(this.enabled_&&this.setMatchStatusIndicator(!1),null!==M.Autocompleter.Event.callbacks_&&this.listSelectionNotification(this.getValTyped(),!1),this.matchListValue_?(M.Autocompleter.screenReaderLog("For this field your entry must match an item from the suggestion list."),this.setInvalidValIndicator(!0),this.refocusInProgress_=!0,this.processedFieldVal_=g,setTimeout(function(){this.element.focus(),this.element.select(),this.refocusInProgress_=!1}.bind(this))):(this.storeSelectedItem(),this.multiSelect_?this.moveEntryToSelectedArea():this.processedFieldVal_=g,this.findSuggestions&&this.nonMatchSuggestions_&&!this.multiSelect_&&setTimeout(function(){this.findSuggestions()}.bind(this))))},onChange:function(g){this.domCache.invalidate("elemVal"),M.Autocompleter.completionOptionsScrollerClicked_||this.handleDataEntry(g)},onBlur:function(g){M.Autocompleter.completionOptionsScrollerClicked_||(this.lastScrollEffect_&&this.lastScrollEffect_.cancel(),M.Autocompleter.getFieldVal(this.element)!==this.processedFieldVal_&&M.Event.simulate(this.element,"change"),this.enabled_&&!this.refocusInProgress_&&(this.hide(),document.activeElement===this.element&&(this._disableListItemClick=!0),this.hasFocus=!1,this.active=!1,this.invalidStatus_?this.clearInvalidFieldVal():""===M.Autocompleter.getFieldVal(this.element)?this.setMatchStatusIndicator(!0):!1===this.fieldValIsListVal_&&this.setMatchStatusIndicator(!1)))},clearInvalidFieldVal:function(){this.setFieldVal("",!1),this.setInvalidValIndicator(!1),this.setMatchStatusIndicator(!0),this.listSelectionNotification("",!1),this.processedFieldVal_=""},onFocus:function(g){if(M.Autocompleter.currentAutoCompField_=this.element.id,this.refocusInProgress_||(this.processedFieldVal_=M.Autocompleter.getFieldVal(this.element)),this.refocusInProgress_=!1,this.preFieldFillVal_=null,M.Autocompleter.Event.notifyObservers(this.element,"FOCUS",{start_val:this.processedFieldVal_}),this.multiSelect_){var _=Object.getOwnPropertyNames(this.selectedItems_);if(_.length>0){var A="Above this multi-select field are deselection buttons for each selected item.  Currently selected:"+_.join(", ");M.Autocompleter.screenReaderLog(A)}}},onMouseDown:function(g){if(!this._disableListItemClick){M.Autocompleter.stopEvent(g);for(var _=g.target;_&&void 0===_.autocompleteIndex;)_=_.parentNode;_&&!this.liIsHeading(_)&&(this.clickSelectionInProgress_=!0,this.index=_.autocompleteIndex,this.selectEntry(),this.hide(),this.clickSelectionInProgress_=!1,this.multiSelect_&&this.showList()),this.tokenBounds=null}},handleDataEntry:function(g){if(this.invalidStatus_&&this.processedFieldVal_===this.domCache.get("elemVal"))this.clearInvalidFieldVal();else{this.observer&&clearTimeout(this.observer);var _=M.Autocompleter.getFieldVal(this.element),E=!1;(this.processedFieldVal_!==_&&""!==_||this.multiSelect_&&""===_&&this.index>=0)&&(E=this.attemptSelection()),this.processedFieldVal_!==_&&!E&&(""===_&&(this.fieldValIsListVal_=!1),this.handleNonListEntry()),this.multiSelect_||(this.hide(),this.active=!1),!g.stopped&&this.matchListValue_&&this.invalidStatus_&&M.Autocompleter.stopEvent(g)}},itemTextIsHeading:function(g){var _=!!this.numHeadings_;if(_){this.itemToDataIndex_||this.initItemToDataIndex();var E=this.itemToDataIndex_[g];_=void 0!==E&&!!this.indexToHeadingLevel_[E]}return _},liIsHeading:function(g){var _=!!this.numHeadings_;return _&&(_=this.itemTextIsHeading(this.listItemValue(g))),_},onShow:function(g,_){g.autocomp.showList()},onHide:function(g,_){g.autocomp.hideList()},moveToOtherColumn:function(g){var _=M.Autocompleter.listItemElements().length,E=Math.floor(_/2),A=Math.ceil(_/2),D=this.index;if(this.index<E?D=this.index+A:this.index>=A&&(D=this.index-A),D!==this.index){var z=this.getEntry(D);this.liIsHeading(z)||(this.index=D,this.setFieldVal(this.listItemValue(z),!1),this.element.select(),this.render(),M.Autocompleter.stopEvent(g))}},handleSeeMoreItems:function(g){},readSearchCount:function(){var g=!1;return"none"!==F("lhc-tools-searchCount").style.display&&(M.Autocompleter.screenReaderLog("Showing "+F("lhc-tools-searchCount").innerHTML+"."),"none"!==F("lhc-tools-moreResults").style.display&&M.Autocompleter.screenReaderLog("Pressing control+return will expand the list."),g=!0),g},destroy:function(){this.stopObservingEvents(),this.removeAutocompleteLhcClasses(),this.detachFromDOM()},addEventListenerToElement:function(g,_){this.element.addEventListener(g,_),this.elementEventListeners[g]||=[],this.elementEventListeners[g].push(_)},stopObservingEvents:function(){for(const[g,_]of Object.entries(this.elementEventListeners))_.forEach(E=>{this.element.removeEventListener(g,E)},this);this.elementEventListeners={}},removeAutocompleteLhcClasses:function(){this.element.classList.remove("no_match","invalid","ansList","ac_multiple","search_field")},detachFromDOM:function(){if(this.multiSelect_){var g=this.element.parentNode;g.parentNode.replaceChild(this.element,g),this.selectedList=null}this.element.autocomp=null,this.element=null,this.update=null,this.listContainer=null,this.recDataRequester_=null},updateElement:function(g){var _=this.listItemValue(g),E=_;if(this.options.tokens){var A=this.getTokenBounds();if(-1!=A[0]){var D=this.domCache.get("elemVal"),z=D.substr(0,A[0]),O=D.substr(A[0]).match(/^\s+/);O&&(z+=O[0]),E=z+_+D.substr(A[1])}void 0!==this.codesForSelectedItems_&&(this.codesForSelectedItems_[_]=this.getItemCode(_))}this.setFieldVal(E,!1),this.options.afterUpdateElement&&this.options.afterUpdateElement(this.element,g)},show:function(){"none"==getComputedStyle(this.update).display&&this.options.onShow(this.element,this.update),!this.iefix&&Y.IE&&"absolute"==getComputedStyle(this.update).position&&(new Insertion.After(this.update,'<iframe id="'+this.update.id+'_iefix" style="display:none;position:absolute;filter:progid:DXImageTransform.Microsoft.Alpha(opacity=0);" src="javascript:false;" frameborder="0" scrolling="no"></iframe>'),this.iefix=F(this.update.id+"_iefix")),this.iefix&&setTimeout(this.fixIEOverlapping.bind(this),50)},fixIEOverlapping:function(){var g=M.jqueryLite.getElementOffset(this.update);this.iefix.style.left=g.left,this.update.style.height||(this.update.style.top=g.top),this.iefix.style.zIndex=1,this.update.style.zIndex=2,this.iefix.style.display=""},hide:function(){"none"!=getComputedStyle(this.update).display&&this.options.onHide(this.element,this.update),this.iefix&&(this.iefix.style.display="none")},render:function(){if(this.entryCount>0){for(var g=0;g<this.entryCount;g++)this.index==g?this.getEntry(g).classList.add("selected"):this.getEntry(g).classList.remove("selected");this.hasFocus&&(this.show(),this.active=!0)}else this.active=!1,this.hide()},getEntry:function(g){return M.Autocompleter.listItemElements()[g]},getCurrentEntry:function(){return this.getEntry(this.index)},onObserverEvent:function(){this.domCache.invalidate("elemVal"),this.changed=!1,this.tokenBounds=null,this.getToken().length>=this.options.minChars?this.getUpdatedChoices():(this.active=!1,this.hide(),this.progressElement?.classList.remove("show")),this.oldElementValue=this.domCache.get("elemVal")}};Object.assign(M.Autocompleter.Base.prototype,y),y=null}},7606(ne){ne.exports=function le(R,F){"use strict";F.Autocompleter.Event={observeListExpansions:function(M,Y){return this.storeCallback(M,"LIST_EXP",Y)},observeListSelections:function(M,Y){return this.storeCallback(M,"LIST_SEL",Y)},observeFocusEvents:function(M,Y){return this.storeCallback(M,"FOCUS",Y)},observeCancelList:function(M,Y){return this.storeCallback(M,"CANCEL",Y)},observeSuggestions:function(M,Y){return this.storeCallback(M,"SUGGESTIONS",Y)},observeSuggestionUsed:function(M,Y){return this.storeCallback(M,"SUGGESTION_USED",Y)},observeListAssignments:function(M,Y){return this.storeCallback(M,"LIST_ASSIGNMENT",Y)},observeRDRClearing:function(M){return this.storeCallback(null,"RDR_CLEARING",M)},observeRDRAssignment:function(M){return this.storeCallback(null,"RDR_ASSIGNMENT",M)}},Object.assign(F.Autocompleter.Event,F.Observable)}},6400(ne){ne.exports=function le(R,F){"use strict";var Q=F.jqueryLite.ui.keyCode;F.Autocompleter.Prefetch=F.PrototypeAPI.Class.create(),F.Autocompleter.Prefetch.constructor=F.Autocompleter.Prefetch,Object.assign(F.Autocompleter.Prefetch.prototype,F.Autocompleter.Base.prototype),F.Autocompleter.Prefetch.prototype.className="Def.Autocompleter.Prefetch";var $={SEQ_NUM_PREFIX:'<span class="listNum">',SEQ_NUM_SEPARATOR:":</span>&nbsp; ",validationFailed_:!1,listIsOriginal_:!0,rawList_:null,rawListWithoutTags_:null,itemCodes_:null,listLoadAttempted_:!1,seeMoreItemsClicked_:!1,matchListItemsToField_:!1,defaultSelectionIndex_:null,autoFill_:!0,isListHTML_:!1,initialize:function(y,g,_){var E=(_=Object.assign({ignoreCase:!0,fullSearch:!1,selector:this.selector,getFormattedItemText:this.getFormattedItemText,onShow:this.onShow,onHide:this.onHide},_||{})).addSeqNum;this.add_seqnum=void 0===E||E;var A=_.autoFill;void 0!==A&&(this.autoFill_=A);var D=_.isListHTML;void 0!==D&&(this.isListHTML_=D),F.Autocompleter.Base.classInit_||F.Autocompleter.Base.classInit(),this.initHeadings(_),this.defAutocompleterBaseInit(y,_),this.addEventListenerToElement("focus",this.onFocus.bind(this)),this.addEventListenerToElement("click",this.onFieldClick.bind(this));var z=_.codes;this.setList(g,z),this.listIsOriginal_=!0,this.originalCodes_=z,this.options.minChars=0,this.splitAutocomp_=!1,this.element.classList.add("ansList")},getUpdatedChoices:function(){this.trimmedElemVal=this.domCache.get("elemVal").trim(),this.updateChoices(this.options.selector(this),this.pickedByNumber())},dupItemToDataIndex:function(y){this.listIsOriginal_&&(this.itemToDataIndex_||this.initItemToDataIndex(),y.itemToDataIndex_=this.itemToDataIndex_)},dupForField:function(y){var g=this.dupDataReqForField(y),_={};Object.assign(!0,_,this.constructorOpts_),_.dataRequester=g;var E=new F.Autocompleter.Prefetch(y,this.rawList_,_);return this.dupItemToDataIndex(E),E},initHeadings:function(y){var g=y.codes,_=y.itemToHeading;if(_){y.itemToHeading=null;for(var E={},A={},D=0,z=g.length;D<z;++D){var K=_[g[D]];if(K){var B=E[K];if(!B){var q=_[K];E[K]=B=q?E[q]+1:1}}}for(D=0,z=g.length;D<z;++D)A[D]=(B=E[g[D]])||0;this.indexToHeadingLevel_=A,y.indexToHeadingLevel=A,this.numHeadings_=Object.keys(E).length,y.numHeadings=this.numHeadings_}else y.indexToHeadingLevel&&(this.indexToHeadingLevel_=y.indexToHeadingLevel,this.numHeadings_=y.numHeadings)},initItemToDataIndex:function(){if(this.itemToDataIndex_={},this.rawList_)for(var y=0,g=this.rawList_.length;y<g;++y)this.itemToDataIndex_[this.rawList_[y]]=y},selector:function(y){var E=y.getToken(),A=0,D=null,z=!y.matchListItemsToField_||""===y.domCache.get("elemVal").trim(),O=y.seeMoreItemsClicked_?1/0:2*F.Autocompleter.Base.MAX_ITEMS_BELOW_FIELD,K=z&&!y.seeMoreItemsClicked_?Math.floor(O/y.numHeadings_):1/0;K<1&&(K=1);var B=0,q=[],W=[],X={},he=null,me=!1,be=0,Oe=0,We=0,w=!0===y.options.isListHTML,qe=w?Ye=>Ye:F.Autocompleter.Base.escapeAttribute;y.options.ignoreCase&&(E=E.toLowerCase());for(var Ue=y.options.formattedListItems,Tt=0,Rt=y.rawList_.length;Tt<Rt;++Tt){var yt=!1;if(y.indexToHeadingLevel_[Tt])he=y.rawList_[Tt],me=!1,++be;else{var Vt=null,jn=y.rawList_[Tt];z&&(++A,Vt=qe(jn),Ue&&(Vt+=Ue[Tt]));var vr=null,Ei=!1,vi=!1;if(y.add_seqnum&&(yt=(vr=Tt+1-be+"")===E,!z&&(yt||0===vr.indexOf(E))&&(++A,vi=!0,(yt||A<=O)&&(vr="<strong>"+vr.substr(0,E.length)+"</strong>"+vr.substr(E.length),Ei=!0,Vt=y.SEQ_NUM_PREFIX+vr+y.SEQ_NUM_SEPARATOR+qe(jn),Ue&&(Vt+=Ue[Tt])))),!vi&&!z){var Ln=!1,Pi=w?y.rawListWithoutTags_[Tt]:jn;y.options.ignoreCase&&(Pi=Pi.toLowerCase());for(var rt=Pi.indexOf(E);!Ln&&-1!==rt;){if(0===rt)Ln=!0,++A<=O&&(Vt=w?jn:"<strong>"+qe(jn.substr(0,E.length))+"</strong>"+qe(jn.substr(E.length)),Ue&&(Vt+=Ue[Tt]));else if((y.options.fullSearch||/(.\b|_)./.test(Pi.substr(rt-1,2)))&&(Ln=!0,++A<=O)){var kt=qe(jn.substr(0,rt));Vt=w?jn:kt+"<strong>"+qe(jn.substr(rt,E.length))+"</strong>"+qe(jn.substr(rt+E.length)),Ue&&(Vt+=Ue[Tt])}Ln||(rt=Pi.indexOf(E,rt+1))}}var Ee=!1;y.multiSelect_&&(Ee=y.isSelected(y.isListHTML_?y.rawListWithoutTags_[Tt]:jn))&&++We,!Ee&&Vt&&(yt||A<=O||y.numHeadings_>0&&z)&&(he&&!me&&(me=!0,q.push(he),W.push(Tt-1),++Oe,X[he]=[qe(he),"heading"],B=0),(!z||!y.numHeadings_||B<K||yt)&&(!Ei&&y.add_seqnum&&(Vt=y.SEQ_NUM_PREFIX+vr+y.SEQ_NUM_SEPARATOR+Vt),q.push(jn),W.push(Tt),yt&&(D=q.length-1),X[jn]=[Vt],z&&++B))}}var Se=q.length-Oe;return A>Se+We?(R("lhc-tools-searchCount").innerHTML=Se+" of "+A+" items total",R("lhc-tools-moreResults").style.display="block",R("lhc-tools-searchCount").style.display="block"):(R("lhc-tools-moreResults").style.display="none",R("lhc-tools-searchCount").style.display="none"),y.buildHTML(q,W,X,D)},buildHTML:function(y,g,_,E){var D,A=-1,O=null!==E;if(!this.numHeadings_&&this.matchListItemsToField_&&(O||this.suggestionMode_===F.Autocompleter.SUGGEST_SHORTEST)&&(A=O?E:this.pickBestMatch(y))>=0){var z=y[A],K=g[A];for(D=A;D>0;--D)y[D]=y[D-1],g[D]=g[D-1];y[0]=z,g[0]=K}var B="<ul>";D=0,A>=0&&(B+='<li class="suggestion" autocompRawListIndex="'+g[0]+'">'+_[z][0]+"</li>",++D);for(var q=y.length;D<q;++D){var W=_[y[D]],X=W[1];B+=X?'<li class="'+X+'" autocompRawListIndex="'+g[D]+'">'+W[0]+"</li>":'<li autocompRawListIndex="'+g[D]+'">'+W[0]+"</li>"}return B+"</ul>"},setList:function(y,g){this.listIsOriginal_=!1;var _=y.length;this.rawList_=new Array(_),this.isListHTML_&&(this.rawListWithoutTags_=new Array(_));for(var E=0,A=y.length;E<A;++E)this.rawList_[E]=y[E].trim(),this.isListHTML_&&(this.rawListWithoutTags_[E]=y[E].replace(/(<([^>]+)>)/gi,"").trim());for(var D=new Array(_),z=F.Autocompleter.Base.escapeAttribute,O=0;O<_;++O)D[O]=z(this.rawList_[O]),!0===this.add_seqnum&&!this.indexToHeadingLevel_[O]&&(D[O]=this.SEQ_NUM_PREFIX+(O+1)+this.SEQ_NUM_SEPARATOR+D[O]);this.options.array=D,this.itemCodes_=g,this.itemToDataIndex_=null,this.enabled_=y.length>0,y.length>1||!this.autoFill_?this.element.classList.add("ac_multiple"):this.element.classList.remove("ac_multiple"),(this.hasFocus||document.activeElement===this.element)&&this.onFocus()},setFieldToListValue:function(y){this.setFieldVal(y,!1),this.fieldValIsListVal_=!0,this.storeSelectedItem(),this.processedFieldVal_=y,this.listSelectionNotification("",!0),this.setMatchStatusIndicator(!0),this.setInvalidValIndicator(!1),this.propagateFieldChanges()},setListAndField:function(y,g,_,E){void 0===_&&(_=!1),void 0===E&&(E=!1),this.setList(y,g),F.Autocompleter.Event.notifyObservers(this.element,"LIST_ASSIGNMENT",{});var z,A=this.domCache.get("elemVal"),D=y.length;!1===_&&(z=this.autoFill_&&(1===D||D>1&&E)?this.assembleValue(y[0]):""),!_&&A!==z&&this.setFieldToListValue(z),this.setInvalidValIndicator(!1),this.setMatchStatusIndicator(!0),this.options.afterUpdateElement&&this.options.afterUpdateElement()},assembleValue:function(y){return y.trim()},onObserverEvent:function(){this.temporaryHide_=!0,this.hideList(),F.Autocompleter.Base.prototype.onObserverEvent.apply(this,[]),this.posAnsList(),this.showList(),this.temporaryHide_=!1},loadList:function(y,g){void 0===y&&(y=this.element.id);var _=F.Autocompleter.getFieldLookupKey(this.element);this.listLoadAttempted_=!0;var E=F.RecordDataRequester.getOutputFieldRDR(y);if(E){var A=E.getFieldData(_);if(A?this.setListAndField(A[0],A[1],!0,!1):E.assignListData(),y!==this.element.id){var D=R(g),z=[g,"EQ",F.Autocompleter.getFieldVal(D)];E.addFieldsToUpdateList(y,this,z)}}},listIsEmpty:function(){return 0===this.options.array.length},getInitialSelectionIndex:function(){var y=-1;if(""==this.domCache.get("elemVal"))if(this.defaultSelectionIndex_)y=this.defaultSelectionIndex_;else{var g=this.constructorOpts_.defaultValue;if(void 0!==g){if(this.itemCodes_)for(var _=0,E=this.itemCodes_.length;_<E;++_)this.itemCodes_[_]===g&&(y=_);if(-1===y)for(var A=0,D=this.rawList_.length;A<D;++A)this.rawList_[A]===g&&(y=A)}y>=2*F.Autocompleter.Base.MAX_ITEMS_BELOW_FIELD&&(y=-1),this.defaultSelectionIndex_=y}return y},onFocus:function(){!0===F.Autocompleter.completionOptionsScrollerClicked_?F.Autocompleter.completionOptionsScrollerClicked_=!1:(this.matchListItemsToField_=!1,!this.listLoadAttempted_&&this.listIsEmpty()&&!this.element.comboField&&this.loadList(),F.Autocompleter.Base.prototype.onFocus.apply(this),this.enabled_&&(this.listBelowField_=!0,this.focusInProgress_=!0,this.hideList(),this.element.shakeCanceled=!1,this.maybeShowList(),setTimeout(()=>{this._disableListItemClick=!1},10),this.index=this.getInitialSelectionIndex(),this.index>=0&&(this.setFieldToListValue(this.listItemValue(this.getCurrentEntry())),this.element.select(),this.render()),this.focusInProgress_=!1))},maybeShowList:function(){this.activate(),this.render();var y=!1;this.preventListFromShowing?y=!1:0==this.add_seqnum?y=this.entryCount>0:this.entryCount>1||!this.autoFill_?y=!0:1==this.entryCount&&(y=this.listItemValue(F.Autocompleter.listItemElements()[0])!=this.processedFieldVal_),1==y&&(this.posAnsList(),this.showList(),this.readSearchCount())},onFieldClick:function(){if(this.enabled_&&this.element.id===F.Autocompleter.currentAutoCompField_&&(!this.listShowing||this.matchListItemsToField_)){this.matchListItemsToField_=!1;var y=this.suggestionMode_;this.suggestionMode_=F.Autocompleter.NO_COMPLETION_SUGGESTIONS,this.maybeShowList(),this.suggestionMode_=y}},focusField:function(){this.element.focus()},listItemValue:function(y){const g=y.getAttribute("autocompRawListIndex");return this.isListHTML_?this.rawListWithoutTags_[g]:this.rawList_[g]},fieldEventIsBigList:function(y){return y.ctrlKey&&y.keyCode===Q.ENTER},handleSeeMoreItems:function(y){this.seeMoreItemsClicked_=!0,R("lhc-tools-searchHint").style.display="none",this.listBelowField_=!1,this.getUpdatedChoices(),this.posAnsList(),this.seeMoreItemsClicked_=!1,this.splitAutocomp_=!1,F.Autocompleter.stopEvent(y)},findItemIndexByCode:function(y){for(var g=null,_=0,E=this.itemCodes_.length;_<E&&!g;++_)y==this.itemCodes_[_]&&(g=_);return g},selectByCode:function(y){var g=this.findItemIndexByCode(y);null!=g&&this.setFieldToListValue(this.rawList_[g])},readSearchCount:function(){var y=F.Autocompleter.Base.prototype.readSearchCount.apply(this);return!y&&this.entryCount>0&&(F.Autocompleter.screenReaderLog("Showing "+this.entryCount+" of "+this.rawList_.length+" items."),y=!0),y},activate:function(){this.changed=!1,this.hasFocus=!0,this.getUpdatedChoices()}};Object.assign(F.Autocompleter.Prefetch.prototype,$),$=null}},1615(ne){ne.exports=function le(R,F){"use strict";var Y=F.jqueryLite.ui.keyCode;F.Autocompleter.Search=F.PrototypeAPI.Class.create();var Q={urlToCache_:{},MAX_VALUE_SIZE_FOR_AUTOCOMP:25,EXPANDED_COUNT:500,constructor:F.Autocompleter.Search,superclass:F.Autocompleter.Base.prototype};Object.assign(F.Autocompleter.Search,Q),Q=null,Object.assign(F.Autocompleter.Search.prototype,F.Autocompleter.Base.prototype),F.Autocompleter.Search.prototype.className="Def.Autocompleter.Search";var $={lastAjaxRequest_:null,resultCache_:null,useResultCache_:!0,suggestionList_:null,showListOnFocusIfEmpty_:!1,showLoadingIndicator_:!0,codesForSelectedItems_:{},pendingQueriesForCode_:[],initialize:function(y,g,_){if(_=Object.assign({partialChars:2,onHide:function(O,K){R("lhc-tools-searchCount").style.display="none",R("lhc-tools-moreResults").style.display="none",F.Autocompleter.Base.prototype.hideList.apply(this)}.bind(this),onShow:function(O,K){R("lhc-tools-searchCount").style.display="block",R("lhc-tools-moreResults").style.display="block",F.Autocompleter.Base.prototype.showList.apply(this)}.bind(this),onComplete:this.onComplete.bind(this)},_||{}),F.Autocompleter.Base.classInit_||F.Autocompleter.Base.classInit(),this.url=g,this.fhir=_.fhir,this.search=_.search||this.fhir&&this.fhir.search,this.defAutocompleterBaseInit(y,_),this.autocomp=_.autocomp,void 0===this.autocomp?this.autocomp=!0:this.autocomp||(this.options.frequency=31536e3),void 0===_.sort&&(_.sort=!0),null!==_.useResultCache&&!1===_.useResultCache&&(this.useResultCache_=!1),this.showListOnFocusIfEmpty_=_.showListOnFocusIfEmpty||!1,!1===_.showLoadingIndicator&&(this.showLoadingIndicator_=!1),this.showLoadingIndicator_){var E=this.element.parentElement,A=document.createElement("span");A.classList.add("loading-indicator-container"),E.replaceChild(A,this.element),A.appendChild(this.element),this.progressElement=document.createElement("progress"),A.appendChild(this.progressElement)}this.addEventListenerToElement("focus",this.onFocus.bind(this));var D=_.buttonID;if(this.buttonID=D,D&&"null"!==D){var z=document.getElementById(D);z.addEventListener("mousedown",this.buttonClick.bind(this)),z.addEventListener("keypress",this.buttonKeyPress.bind(this))}this.element.classList.add("search_field"),_.colHeaders&&(this.colHeaderHTML="<table><thead><th>"+_.colHeaders.join("</th><th>")+"</th></thead><tbody>")},detachFromDOM:function(){var y=this.element.parentElement;y.classList.contains("loading-indicator-container")&&y.parentElement.replaceChild(this.element,y),F.Autocompleter.Search.superclass.detachFromDOM.apply(this)},initItemToDataIndex:function(){this.itemToDataIndex_={}},dupForField:function(y){var g=this.dupDataReqForField(y),_=Object.clone(this.constructorOpts_);return _.dataRequester=g,new F.Autocompleter.Search(y,this.url,_)},getSearchStr:function(y){var g=F.Autocompleter;return g.LIST_ITEM_FIELD_SEP_REGEX||(g.LIST_ITEM_FIELD_SEP_REGEX=new RegExp(g.LIST_ITEM_FIELD_SEP,"g")),y||(y=this.getToken()),y.replace(g.LIST_ITEM_FIELD_SEP_REGEX," ").trimLeft()},runSearch:function(){this.lastAjaxRequest_&&this.lastAjaxRequest_.abort();var y=this.search;if(this.url||y){this.searchInProgress=!0,this.searchStartTime=(new Date).getTime();var g=this.getSearchStr(),_=null;this.useResultCache_&&(_=this.getCachedResults(g,this.getLoadCount(F.Autocompleter.Search.EXPANDED_COUNT)))&&this.onComplete(_,!0),_||(this.showLoadingIndicator_&&this.showProgressBar(),y?this.useSearchFn(g,F.Autocompleter.Search.EXPANDED_COUNT):this.urlSearch(g,F.Autocompleter.Search.EXPANDED_COUNT),this.changed=!1,this.hasFocus=!0)}},getLoadCount(y){return this.search||this.fhir?y+(this.multiSelect_&&F.Autocompleter.Base.MAX_ITEMS_BELOW_FIELD===y?this.getSelectedItems().length:0):this.multiSelect_&&y===F.Autocompleter.Base.MAX_ITEMS_BELOW_FIELD?y+this.getSelectedItems().length:y!==F.Autocompleter.Base.MAX_ITEMS_BELOW_FIELD?y:0},useSearchFn:function(y,g,_){var E=this;return this.search(y,this.getLoadCount(g)).then(function(A){_?_(A,y):E.onComplete({results:A,requestedCount:g,searchStr:y})},function(A){console.log("FHIR search failed: "+A)})},urlSearch:function(y,g,_=!1){var E={};if(this.fhir)E.filter=y,E._format="application/json",E.count=this.getLoadCount(g);else{E.terms=y;var A=this.getLoadCount(g);A&&(E.maxList=A)}window._token&&(params.authenticity_token=window._token);var D={data:E,dataType:"json"};if(_)return F.jqueryLite.ajaxAsPromise(this.url,D);D.complete=this.options.onComplete,this.lastAjaxRequest_=F.jqueryLite.ajax(this.url,D),this.lastAjaxRequest_.requestParamData_=E,this.lastAjaxRequest_.requestedCount=g},initResultCache:function(){this.resultCache_=this.url?F.Autocompleter.Search.urlToCache_[this.url]:null,this.resultCache_||(this.resultCache_=[],this.url&&(F.Autocompleter.Search.urlToCache_[this.url]=this.resultCache_))},getCachedResults:function(y,g){return this.resultCache_||this.initResultCache(),this.resultCache_[g]&&this.resultCache_[g][y]},storeCachedResults:function(y,g,_){this.resultCache_||this.initResultCache(),this.resultCache_[g]||(this.resultCache_[g]={}),this.resultCache_[g][y]=_},clearCachedResults:function(){this.resultCache_=[{},{}],F.Autocompleter.Search.urlToCache_[this.url]=this.resultCache_},setURL:function(y){this.url=y,this.initResultCache()},fieldEventIsBigList:function(y){return y.keyCode===Y.ENTER&&(y.ctrlKey||!this.autocomp&&this.domCache.get("elemVal")!==this.processedFieldVal_&&""!==this.domCache.get("elemVal").trim())},buttonKeyPress:function(y){y.keyCode===Y.ENTER&&this.runSearch()},processChoices:function(y,g){for(var _=[],E=Object.keys(y),A=0,D=E.length;A<D;++A){var z=E[A];(!this.multiSelect_||!this.isSelected(z))&&_.push(z)}if(_.length>0&&!this.numHeadings_){var K=null,B=-1;if(this.suggestionMode_===F.Autocompleter.USE_STATISTICS?B=0:this.suggestionMode_===F.Autocompleter.SUGGEST_SHORTEST&&(B=this.pickBestMatch(_)),this.options.sort)B>-1&&(K=_[B],_[B]=""),_=_.sort(F.Autocompleter.Base.noCaseSort),B>-1&&(_[0]=K);else if(B>0){var q=_[0];_[0]=_[B],_[B]=q}_.length>g&&(_.length=g)}return[_,B>-1]},escapeHTML:function(y){return F.Autocompleter.Base.escapeAttribute(y).replace(/&lt;(\/)?span&gt;/g,"<$1span>")},buildUpdateHTML:function(y,g,_){var E,A,D,z,O,K,B,q=this.options.tableFormat;q?(A=this.colHeaderHTML||"<table><tbody>",D="</tbody></table>",z="<tr",O="><td>",K="</td><td>",B="</td></tr>"):(A="<ul>",D="</ul>",z="<li",O=">",K=F.Autocompleter.LIST_ITEM_FIELD_SEP,B="</li>"),E=A;for(var W=0,X=y.length;W<X;++W){for(var he=y[W],me=_[he],be=[],Oe=0,We=me.length;Oe<We;++Oe)be[Oe]=this.escapeHTML(me[Oe]);E+=z,0===W&&g&&(E+=' class="suggestion"'),q&&(E+=' data-fieldval="'+this.escapeHTML(he)+'"'),E+=O,E+=be.join(K),E+=B}return E+D},setSearchCountDiv:function(y,g,_){var E=R("lhc-tools-searchCount"),A="";if(y>0||null===y){A=g+" of "+(null===y?"unknown":y)+" total";var z=(new Date).getTime()-this.searchStartTime+1e3*this.options.frequency+"",O=_+"";O.length<3&&(O+="&nbsp;");var K="; ";void 0!==_&&(K+=O+" bytes in "),K+=z+" ms",z.length<3&&(K+="&nbsp;"),E.innerHTML=A+=K,R("lhc-tools-searchCount").style.display="block"}},createFieldVals:function(y){var g={},_=this.options.valueCols,E=F.Autocompleter.LIST_ITEM_FIELD_SEP;if(this.itemToDataIndex_={},_)var A=_.length;for(var D=0,z=y.length;D<z;++D){var K,O=y[D];if(_){K=[];for(var B=0;B<A;++B)K[B]=O[_[B]]}else K=O;var q=K.join(E);q=q.replace(/<\/?span>/g,""),this.itemToDataIndex_[q]=D,g[q]=O}return g},onComplete:function(y,g){const _=y.requestedCount||this.lastAjaxRequest_.requestedCount;var E=this.getToken();this.trimmedElemVal=E.trim(),this.lastAjaxRequest_===y&&(this.lastAjaxRequest_=null),this.showLoadingIndicator_&&(this.progressElement?.classList.remove("show"),clearTimeout(this.loadingAnnouncerTimeout));const A=!!y.results;if(200===y.status||A){if(A)var D=y.searchStr,z=y.requestedCount===F.Autocompleter.Base.MAX_ITEMS_BELOW_FIELD;else{var O=y.requestParamData_;this.fhir?(D=O.filter,z=O.count===this.getLoadCount(F.Autocompleter.Base.MAX_ITEMS_BELOW_FIELD)):(D=O.terms,z=void 0===O.maxList||O.maxList===this.getLoadCount(F.Autocompleter.Base.MAX_ITEMS_BELOW_FIELD))}var K=F.Autocompleter.Search;!g&&this.useResultCache_&&this.storeCachedResults(D,this.getLoadCount(_),y);var B=this.getSearchStr(E);if(z&&(B=B.substr(0,K.MAX_VALUE_SIZE_FOR_AUTOCOMP)),(this.hasFocus||this.refocusInProgress_)&&B===D){var q=A?y.results:y.responseJSON||JSON.parse(y.responseText);if(this.fhir){W=q.expansion.total,this.listExtraData_=null,this.itemCodes_=[],this.itemCodeSystems_=[],this.rawList_=[];var X=q.expansion.contains;if(X)for(var he=0,me=X.length;he<me;++he){var be=X[he];this.itemCodes_[he]=be.code,this.itemCodeSystems_[he]=be.system,this.rawList_[he]=[be.display]}}else{var W=q[0];this.itemCodes_=q[1],this.listExtraData_=q[2],this.itemCodeSystems_=q[4],this.rawList_=q[3]}var Oe=this.createFieldVals(this.rawList_),We=this.processChoices(Oe,_),w=We[0],Ue=this.buildUpdateHTML(w,We[1],Oe);this.updateChoices(Ue,!1);var Tt=w.length;this.setSearchCountDiv(W,Tt,A?void 0:y.responseText.length),R("lhc-tools-moreResults").style.display=(Tt<W||null===W)&&z?"block":"none",this.showLoadingIndicator_&&this.loadingAnnounced&&0===W&&F.Autocompleter.screenReaderLog("No list items matched the field's value."),this.searchInProgress=!1,this.listBelowField_=this.entryCount<=F.Autocompleter.Base.MAX_ITEMS_BELOW_FIELD,this.posAnsList()}}},getItemExtraData:function(y){var g={};if(this.listExtraData_){var _=this.itemToDataIndex_[y];if(null!=_)for(var E=Object.keys(this.listExtraData_),A=0,D=E.length;A<D;++A){var z=E[A];g[z]=this.listExtraData_[z][_]}}return g},getItemData:function(y){y||(y=this.domCache.get("elemVal"));var g={text:y};if(""!=y&&this.itemToDataIndex_){var _=this.getItemCode(y);if(null!=_&&(g.code=_,this.itemCodeSystems_)){var A=this.itemCodeSystems_[this.itemToDataIndex_[y]];A&&(g.code_system=A)}var D=this.getItemExtraData(y);Object.keys(D).length>0&&(g.data=D)}return g},show:function(){("hidden"===this.listContainer.style.visibility||""===this.listContainer.style.visibility)&&this.options.onShow(this.element,this.update)},hide:function(){this.searchInProgress||F.Autocompleter.Search.superclass.hide.apply(this)},buttonClick:function(y){this.observer&&clearTimeout(this.observer),this.searchInProgress=!0,this.runSearch(),F.Autocompleter.stopEvent(y)},handleSeeMoreItems:function(y){this.multiSelect_&&""===this.domCache.get("elemVal")&&this.preFieldFillVal_&&this.setFieldVal(this.preFieldFillVal_,!1),this.buttonClick(y)},onFocus:function(){!0===F.Autocompleter.completionOptionsScrollerClicked_?F.Autocompleter.completionOptionsScrollerClicked_=!1:(this.refocusInProgress_||(F.Autocompleter.screenReaderLog("Type to show matching list values."),this.hide(),this.rawList_=[]),F.Autocompleter.Base.prototype.onFocus.apply(this),this.hasFocus=!0,this.showListOnFocusIfEmpty_&&this.getUpdatedChoices(),setTimeout(()=>{this._disableListItemClick=!1},10))},onBlur:function(y){!this.refocusInProgress_&&!F.Autocompleter.completionOptionsScrollerClicked_&&(F.Autocompleter.Base.prototype.onBlur.apply(this,[y]),this.searchInProgress||(this.active=!1))},getUpdatedChoices:function(){if(this.lastAjaxRequest_&&this.lastAjaxRequest_.abort(),this.url||this.search){this.searchStartTime=(new Date).getTime();var y=null,g=F.Autocompleter.Search,_=this.getSearchStr();_.length>g.MAX_VALUE_SIZE_FOR_AUTOCOMP&&(_=_.substr(0,g.MAX_VALUE_SIZE_FOR_AUTOCOMP)),this.useResultCache_&&(y=this.getCachedResults(_,this.getLoadCount(F.Autocompleter.Base.MAX_ITEMS_BELOW_FIELD)))&&this.onComplete(y,!0),y||(this.showLoadingIndicator_&&this.showProgressBar(),this.search?this.useSearchFn(_,F.Autocompleter.Base.MAX_ITEMS_BELOW_FIELD):this.urlSearch(_,F.Autocompleter.Base.MAX_ITEMS_BELOW_FIELD))}},showProgressBar:function(){this.progressElement?.classList.add("show"),clearTimeout(this.loadingAnnouncerTimeout),this.loadingAnnounced=!1,this.loadingAnnouncerTimeout=setTimeout(()=>{F.Autocompleter.screenReaderLog("A list is being loaded for the field."),this.loadingAnnounced=!0},1500)},findSuggestions:function(){if(this.url){var g={field_val:this.getSearchStr(),suggest:1};window._token&&(params.authenticity_token=window._token);var _={data:g,complete:this.onFindSuggestionComplete.bind(this)};F.jqueryLite.ajax(this.url,_)}},onFindSuggestionComplete:function(y){if(200===y.status){var g=y.responseJSON||JSON.parse(y.responseText),E=[],A=!1;if(g[0].length>0){var D=g[1];this.suggestionList_=g;for(var z=this.domCache.get("elemVal").trim().toLowerCase(),O=F.Autocompleter.LIST_ITEM_FIELD_SEP,K=0,B=D.length;!A&&K<B;++K)D[K]=D[K].join(O),D[K].toLowerCase()===z&&(A=!0,this.observer&&clearTimeout(this.observer),this.acceptSuggestion(K));A||(E=D)}A||F.Autocompleter.Event.notifyObservers(this.element,"SUGGESTIONS",{suggestion_list:E})}},acceptSuggestion:function(y){var g=this.suggestionList_[0],_=this.suggestionList_[1],E=_[y],A=this.domCache.get("elemVal");this.setFieldVal(this.processedFieldVal_=E,!1),this.setMatchStatusIndicator(!0),this.fieldValIsListVal_=!0,this.propagateFieldChanges(),F.Autocompleter.Event.notifyObservers(this.element,"SUGGESTION_USED",{suggestion_used:E}),this.itemCodes_=g,this.itemToDataIndex_={},this.itemToDataIndex_[_[y]]=y,this.listExtraData_=this.suggestionList_[2],this.itemCodeSystems_=this.suggestionList_[3],this.listSelectionNotification(A,!0),this.element.focus()},queryForCode_:function(y){return this.search?this.useSearchFn(y,F.Autocompleter.Base.MAX_ITEMS_BELOW_FIELD,this.queryForCodeOnComplete_):this.urlSearch(y,F.Autocompleter.Base.MAX_ITEMS_BELOW_FIELD,!0).then(g=>{this.queryForCodeOnComplete_(g,y)})},queryForCodeOnComplete_:function(y,g){var E=y.results?y.results:y.responseJSON||JSON.parse(y.responseText);if(this.fhir){this.listExtraData_=null,this.itemCodes_=[],this.itemCodeSystems_=[],this.rawList_=[];var A=E.expansion.contains;if(A)for(var D=0,z=A.length;D<z;++D){var O=A[D];this.itemCodes_[D]=O.code,this.itemCodeSystems_[D]=O.system,this.rawList_[D]=[O.display]}}else this.itemCodes_=E[1],this.listExtraData_=E[2],this.itemCodeSystems_=E[4],this.rawList_=E[3];this.createFieldVals(this.rawList_),this.codesForSelectedItems_[g]=this.getItemCode(g)}};Object.assign(F.Autocompleter.Search.prototype,$),$=null}},5955(ne){ne.exports=function le(R){"use strict";var F=R.PrototypeAPI.Class.create({initialize:function(M,Y,Q,$){if(this.displayedProp=M.display||"text",this.scope=Y,this.acOptions=M,$){this.pElem=Q[0];var y=this.pElem.autocomp;y&&(y.destroy(),Y.modelData=null,this.removeAutocompFunction($.$formatters),this.removeAutocompFunction($.$parsers));var g=M.hasOwnProperty("url")||M.fhir&&M.fhir.search;this.ac=g?this.searchList():this.prefetchList();var _=Y.modelData;if(null!=_)if(this.ac.multiSelect_){for(var A=0,D=_.length;A<D;++A)this.ac.storeSelectedItem(z=_[A][this.displayedProp],_[A].code),this.ac.addToSelectedArea(z);this.ac.setFieldVal("",!1)}else{var z;"string"==typeof(z=_[this.displayedProp])?(this.ac.storeSelectedItem(z,_.code),this.ac.setFieldVal(z,!1)):this.ac.setFieldVal("",!1)}this.parser=this.parser.bind(this),this.parser.fromAutocomp=!0,$.$parsers.push(this.parser),this.formatter=this.formatter.bind(this),this.formatter.fromAutocomp=!0,$.$formatters.push(this.formatter)}},parser:function(M){var Y=this.scope.modelData;return void 0===Y&&(Y=null),Y},formatter:function(M){var Y="";return this.ac.multiSelect_?Y="":("string"==typeof M?Y=M:null!==M&&"object"==typeof M&&"string"==typeof M[this.displayedProp]&&(Y=M[this.displayedProp]),Y=Y.trim()),this.ac.setFieldVal(Y,!1),Y},getPrefetchItemModelData:function(M,Y){var Q=Y[M];return Q||(""!=M?(Q={_notOnList:!0})[this.displayedProp]=M:Q=null),Q},prefetchListSelHandler:function(M,Y){var Q=M.final_val;if(this.ac.multiSelect_){this.scope.modelData||(this.scope.modelData=[]);var $=this.scope.modelData;if(M.removed){for(var y=M.final_val,g=0,_=$.length;g<_;++g)if(y===$[g][this.displayedProp]){$.splice(g,1);break}}else if(M.on_list||!this.acOptions.matchListValue){var E=this.getPrefetchItemModelData(Q,Y);E&&$.push(E)}}else this.scope.modelData=this.getPrefetchItemModelData(Q,Y)},prefetchList:function(){var M=[],Y={},Q=this.acOptions,$=null,y=Q.defaultValue,g=null,_=this.displayedProp;void 0!==y&&null==this.scope.modelData&&("string"==typeof y?($=_,g=y):g=y[$=Object.keys(y)[0]]);for(var A,E=null,D=0,z=Q.listItems.length;D<z;++D){var O=Q.listItems[D];M[D]=A=O[_];var K=A.trim();Y[K]=O,$&&O[$].trim()===g&&(E=this.getPrefetchItemModelData(K,Y))}var B=new R.Autocompleter.Prefetch(this.pElem,M,Q);this.addNameAttr();var q=this;return this.updateListSelectionHandler(function(W){q.scope.$apply(function(){q.prefetchListSelHandler(W,Y)})}),null!==E&&!this.scope.modelData&&(this.scope.modelData=B.multiSelect_?[E]:E),B},getSearchItemModelData:function(M,Y){var Q;return""===M?Q=null:(Q=this.ac.getItemData(M),Y||(Q._notOnList=!0)),Q},addNameAttr:function(){""===this.pElem.name&&(this.pElem.name=this.pElem.id)},searchListSelHandler:function(M){var Y=M.final_val,Q=M.on_list;if(this.ac.multiSelect_){this.scope.modelData||(this.scope.modelData=[]);var $=this.scope.modelData;if(M.removed){for(var y=M.final_val,g=0,_=$.length;g<_;++g)if(y===$[g].text){$.splice(g,1);break}}else if(M.on_list||!this.acOptions.matchListValue){var E=this.getSearchItemModelData(Y,Q);E&&$.push(E)}}else this.scope.modelData=this.getSearchItemModelData(Y,Q)},searchList:function(){var M=new R.Autocompleter.Search(this.pElem,this.acOptions.url,this.acOptions);this.addNameAttr();var Y=this;return this.updateListSelectionHandler(function(Q){Y.scope.$apply(function(){Y.searchListSelHandler(Q)})}),M},removeAutocompFunction:function(M){for(var Y=0,Q=M.length;Y<Q;++Y)if(M[Y].fromAutocomp){M.splice(Y,1);break}},updateListSelectionHandler:function(M){var Y=this.pElem,Q=R.Observable.lookupKey(Y),$=R.Autocompleter.directiveListEventHandlers,y=$[Y.id];y&&R.Autocompleter.Event.removeCallback(Q,"LIST_SEL",y),R.Autocompleter.Event.observeListSelections(Q,M),$[Y.id]=M}});R.Autocompleter.directiveListEventHandlers={},typeof angular<"u"&&angular.module("autocompleteLhcMod",[]).directive("autocompleteLhc",[function(){return{restrict:"A",require:"?ngModel",scope:{modelData:"=ngModel",acOpts:"=autocompleteLhc"},link:function(M,Y,Q,$){$.$options||($.$options={}),$.$options.updateOn="none",$.$options.updateOnDefault=!1,M.$watch("acOpts",function y(g){new F(g,M,Y,$)},!0)}}}])}},3319(ne){ne.exports=function le(R,F){"use strict";var Y=R.$;function Q(_,y,g){if(_=Y(_),1==arguments.length){var E=_.cumulativeOffset();window.scrollTo(E[0],E[1])}else _.scrollLeft=y,_.scrollTop=g;return _}F.Scroll=R.Class.create(),Object.assign(Object.assign(F.Scroll.prototype,F.Base.prototype),{currentScrollPos:function($){return this.element===window?document.viewport.getScrollOffsets():this.element===document.documentElement&&0===document.documentElement.scrollTop&&0===document.documentElement.scrollLeft?{left:document.body.scrollLeft,top:document.body.scrollTop}:{left:this.element.scrollLeft,top:this.element.scrollTop}},initialize:function($){if(this.element=Y($),!this.element)throw F._elementDoesNotExistError;var y=this.currentScrollPos($),g=Object.assign({x:0,y:0},arguments[1]||{});this.start({x:y.left+g.x,y:y.top+g.y})},setup:function(){},update:function($){var y=this.currentScrollPos(this.element),g=Math.round((this.options.x-y.left)*$+y.left),_=Math.round((this.options.y-y.top)*$+y.top);Q(this.element,g,_),this.element===document.documentElement&&Q(document.body,g,_)}})}},9769(ne){if(typeof le>"u")var le={};ne.exports=function R(F,M){"use strict";var Y=M.PrototypeAPI.Class,Q=M.PrototypeAPI.Enumerable,y=M.PrototypeAPI.isString,g={_elementDoesNotExistError:{name:"ElementDoesNotExistError",message:"The specified DOM element does not exist, but is required for this effect to operate"},Transitions:{linear:function(_){return _},sinoidal:function(_){return-Math.cos(_*Math.PI)/2+.5},reverse:function(_){return 1-_},flicker:function(E){return(E=-Math.cos(E*Math.PI)/4+.75+Math.random()/4)>1?1:E},wobble:function(_){return-Math.cos(_*Math.PI*(9*_))/2+.5},pulse:function(_,E){return-Math.cos(_*((E||5)-.5)*2*Math.PI)/2+.5},spring:function(_){return 1-Math.cos(4.5*_*Math.PI)*Math.exp(6*-_)},none:function(_){return 0},full:function(_){return 1}},DefaultOptions:{duration:1,fps:100,sync:!1,from:0,to:1,delay:0,queue:"parallel"}};g.DefaultOptions.transition=g.Transitions.sinoidal,g.ScopedQueue=Y.create(Q,{initialize:function(){this.effects=[],this.interval=null},_each:function(_){this.effects._each(_)},add:function(_){var E=(new Date).getTime();switch(y(_.options.queue)?_.options.queue:_.options.queue.position){case"front":this.effects.findAll(function(D){return"idle"==D.state}).each(function(D){D.startOn+=_.finishOn,D.finishOn+=_.finishOn});break;case"with-last":E=this.effects.pluck("startOn").max()||E;break;case"end":E=this.effects.pluck("finishOn").max()||E}_.startOn+=E,_.finishOn+=E,(!_.options.queue.limit||this.effects.length<_.options.queue.limit)&&this.effects.push(_),this.interval||(this.interval=setInterval(this.loop.bind(this),15))},remove:function(_){for(var E;(E=this.effects.indexOf(_))>-1;)this.effects.splice(E,1);0==this.effects.length&&(clearInterval(this.interval),this.interval=null)},loop:function(){for(var _=(new Date).getTime(),E=0,A=this.effects.length;E<A;E++)this.effects[E]&&this.effects[E].loop(_)}}),g.Queues={instances:{},get:function(_){return y(_)?this.instances[_]||(this.instances[_]=new g.ScopedQueue):_}},g.Queue=g.Queues.get("global"),g.Base=Y.create({position:null,start:function(_){_&&!1===_.transition&&(_.transition=g.Transitions.linear),this.options=Object.assign(Object.assign({},g.DefaultOptions),_||{}),this.currentFrame=0,this.state="idle",this.startOn=1e3*this.options.delay,this.finishOn=this.startOn+1e3*this.options.duration,this.fromToDelta=this.options.to-this.options.from,this.totalTime=this.finishOn-this.startOn,this.totalFrames=this.options.fps*this.options.duration,this.render=function(){function E(A,D){A.options[D+"Internal"]&&A.options[D+"Internal"](A),A.options[D]&&A.options[D](A)}return function(A){"idle"===this.state&&(this.state="running",E(this,"beforeSetup"),this.setup&&this.setup(),E(this,"afterSetup")),"running"===this.state&&(A=this.options.transition(A)*this.fromToDelta+this.options.from,this.position=A,E(this,"beforeUpdate"),this.update&&this.update(A),E(this,"afterUpdate"))}}(),this.event("beforeStart"),this.options.sync||g.Queues.get(y(this.options.queue)?"global":this.options.queue.scope).add(this)},loop:function(_){if(_>=this.startOn){if(_>=this.finishOn)return this.render(1),this.cancel(),this.event("beforeFinish"),this.finish&&this.finish(),void this.event("afterFinish");var E=(_-this.startOn)/this.totalTime,A=Math.round(E*this.totalFrames);A>this.currentFrame&&(this.render(E),this.currentFrame=A)}},cancel:function(){this.options.sync||g.Queues.get(y(this.options.queue)?"global":this.options.queue.scope).remove(this),this.state="finished"},event:function(_){this.options[_+"Internal"]&&this.options[_+"Internal"](this),this.options[_]&&this.options[_](this)},inspect:function(){var _=$H();for(property in this)Object.isFunction(this[property])||_.set(property,this[property]);return"#<Effect:"+_.inspect()+",options:"+$H(this.options).inspect()+">"}}),g.Move=Y.create(g.Base,{initialize:function(_){if(this.element=F(_),!this.element)throw g._elementDoesNotExistError;var E=Object.assign({x:0,y:0,mode:"relative"},arguments[1]||{});this.start(E)},setup:function(){M.PrototypeAPI.makePositioned(this.element);var _=M.PrototypeAPI;this.originalLeft=parseFloat(_.getStyle(this.element,"left")||"0"),this.originalTop=parseFloat(_.getStyle(this.element,"top")||"0"),"absolute"==this.options.mode&&(this.options.x=this.options.x-this.originalLeft,this.options.y=this.options.y-this.originalTop)},update:function(_){M.PrototypeAPI.setStyle(this.element,{left:Math.round(this.options.x*_+this.originalLeft)+"px",top:Math.round(this.options.y*_+this.originalTop)+"px"})}}),g.Shake=function(_){_=F(_);var E=Object.assign({distance:20,duration:.5},arguments[1]||{}),A=parseFloat(E.distance),D=parseFloat(E.duration)/10,z=M.jqueryLite.getElementOffset(_),O=M.PrototypeAPI,K={top:z.top,left:z.left};return new g.Move(_,{x:A,y:0,duration:D,afterFinishInternal:function(B){new g.Move(B.element,{x:2*-A,y:0,duration:2*D,afterFinishInternal:function(q){new g.Move(q.element,{x:2*A,y:0,duration:2*D,afterFinishInternal:function(W){new g.Move(W.element,{x:2*-A,y:0,duration:2*D,afterFinishInternal:function(X){new g.Move(X.element,{x:2*A,y:0,duration:2*D,afterFinishInternal:function(he){new g.Move(he.element,{x:-A,y:0,duration:D,afterFinishInternal:function(me){O.setStyle(O.undoPositioned(me.element),K)}})}})}})}})}})}})},M.Effect=g}},3895(ne){ne.exports=function le(R,F){"use strict";var M={HTMLEvents:/^(?:load|unload|abort|error|select|change|submit|reset|focus|blur|resize|scroll)$/,MouseEvents:/^(?:click|mouse(?:down|up|over|move|out))$/},Y={pointerX:0,pointerY:0,button:0,ctrlKey:!1,altKey:!1,shiftKey:!1,metaKey:!1,bubbles:!0,cancelable:!0};F.Event={},F.Event.simulate=function(Q,$){var g,y=Object.assign(Y,arguments[2]||{}),_=null;for(var E in Q=R(Q),M)if(M[E].test($)){_=E;break}if(!_)throw new SyntaxError("Only HTMLEvents and MouseEvents interfaces are supported");return document.createEvent?(g=document.createEvent(_),"HTMLEvents"==_?g.initEvent($,y.bubbles,y.cancelable):g.initMouseEvent($,y.bubbles,y.cancelable,document.defaultView,y.button,y.pointerX,y.pointerY,y.pointerX,y.pointerY,y.ctrlKey,y.altKey,y.shiftKey,y.metaKey,y.button,Q),Q.dispatchEvent(g)):(y.clientX=y.pointerX,y.clientY=y.pointerY,g=Object.assign(document.createEventObject(),y),Q.fireEvent("on"+$,g)),Q}}},8033(ne){if(typeof le>"u")var le={};ne.exports=function R(F,M){"use strict";M.FieldAlarms={setOffAlarm:function(Y){void 0===this.bonk&&(this.bonk=new Audio(this.soundData_)),this.bonk.readyState>=2&&(this.bonk.currentTime=0,0!==this.bonk.currentTime&&(this.bonk.src=this.bonk.src)),this.bonk.play(),M.Effect.Shake(Y.id,5)},cancelAlarm:function(Y){Y.shakeCanceled=!0,this.bonk.pause(),this.bonk.currentTime=0}}}},9339(ne,le,R){var F={};F.PrototypeAPI=R(5922),R(7144),R(6433)(F),R(9769)(F.PrototypeAPI.$,F),R(3319)(F.PrototypeAPI,F.Effect),R(3895)(F.PrototypeAPI.$,F),R(6426)(F),R(3620)(F),R(3510)(F.PrototypeAPI.$,F),R(8033)(F.PrototypeAPI.$,F),R(1994)(F),R(8898)(F.PrototypeAPI.$,F),R(6400)(F.PrototypeAPI.$,F),R(1615)(F.PrototypeAPI.$,F),R(7606)(F.PrototypeAPI.$,F),R(5955)(F),ne.exports=F},6433(ne){ne.exports=function le(R){R.jqueryLite=function(){"use strict";return{ui:{keyCode:{BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}},getElementOffset:function(F){const M=F.getBoundingClientRect(),Y=F.ownerDocument.defaultView;return{top:M.top+Y.pageYOffset,left:M.left+Y.pageXOffset}},ajax:function(F,M){F.startsWith("/")&&(F=window.location.origin+F);const Y=new URL(F);if(M.data)for(const[$,y]of Object.entries(M.data))Y.searchParams.set($,y);const Q=new XMLHttpRequest;return Q.open("GET",Y.toString(),!0),Q.onreadystatechange=function(){4===Q.readyState&&M.complete(Q)},Q.send(),Q},ajaxAsPromise:function(F,M){return new Promise((Y,Q)=>{F.startsWith("/")&&(F=window.location.origin+F);const $=new URL(F);if(M.data)for(const[g,_]of Object.entries(M.data))$.searchParams.set(g,_);const y=new XMLHttpRequest;y.open("GET",$.toString(),!0),y.onreadystatechange=function(){4===y.readyState&&Y(y)},y.onerror=()=>Q("Network Error"),y.send()})}}}()}},6426(ne){if(typeof le>"u")var le={};ne.exports=function R(F){"use strict";F.Observable={callbacks_:null,notifyObservers:function(M,Y,Q){null!==this.callbacks_&&(Q.field_id=M?M.id:null,setTimeout(function(){var $=this.callbacks_[Y];if(void 0!==$){if(null!==M)var g=$[this.lookupKey(M)];for(var E=[g,$.null],A=0,D=E.length;A<D;++A){var z=E[A];if(void 0!==z)for(var O=0,K=z.length;O<K;++O)z[O].call(this,Q)}}}.bind(this)))},lookupKey:function(M){return M.name||M.id},storeCallback:function(M,Y,Q){null===this.callbacks_&&(this.callbacks_={});var $=this.callbacks_[Y];void 0===$&&(this.callbacks_[Y]=$={});var y=$[M];return void 0===y&&($[M]=y=[]),y.push(Q),()=>{this.removeCallback(M,Y,Q)}},removeCallback:function(M,Y,Q){if(null!==this.callbacks_){var $=this.callbacks_[Y];if(void 0!==$){var y=$[M];if(void 0!==y){var g=y.indexOf(Q);g>-1&&y.splice(g,1)}}}}}}},7144(){"function"!=typeof Object.assign&&(Object.assign=function(ne){"use strict";if(null==ne)throw new TypeError("Cannot convert undefined or null to object");for(var le=Object(ne),R=1;R<arguments.length;R++){var F=arguments[R];if(null!=F)for(var M in F)F.hasOwnProperty(M)&&(le[M]=F[M])}return le}),String.prototype.trimLeft=function(){for(var ne=-1;this.charCodeAt(++ne)<33;);return this.slice(ne,this.length)}},5922(ne){if(typeof le>"u")var le={};le.PrototypeAPI=function(){"use strict";var R={};function F(q){if(!q)return[];if("toArray"in Object(q))return q.toArray();for(var W=q.length||0,X=new Array(W);W--;)X[W]=q[W];return X}function M(q){var W=q;return le.PrototypeAPI.isString(q)&&(W=document.getElementById(q)),W}var q,W,Y=Object.prototype.toString,Q=(q=typeof navigator<"u"&&navigator.userAgent,W="[object Opera]"==Object.prototype.toString.call(window.opera),{IE:!!window.attachEvent&&!W,Opera:W,WebKit:q&&q.indexOf("AppleWebKit/")>-1,Gecko:q&&q.indexOf("Gecko")>-1&&-1===q.indexOf("KHTML"),MobileSafari:q&&/Apple.*Mobile/.test(q)});function $(q){return"[object Function]"===Y.call(q)}function _(q){var W=q.toString().match(/^[\s\(]*function[^(]*\(([^)]*)\)/)[1].replace(/\/\/.*?[\r\n]|\/\*(?:.|[\r\n])*?\*\//g,"").replace(/\s+/g,"").split(",");return 1!=W.length||W[0]?W:[]}function A(q){return q}var D=function(){var q=function(){for(var me in{toString:1})if("toString"===me)return!1;return!0}();function W(){}return{create:function X(){var me=null,be=F(arguments);function Oe(){this.initialize.apply(this,arguments)}$(be[0])&&(me=be.shift()),function E(q,W){for(var X in W)q[X]=W[X]}(Oe,D.Methods),Oe.superclass=me,Oe.subclasses=[],me&&(W.prototype=me.prototype,Oe.prototype=new W,me.subclasses.push(Oe));for(var We=0,w=be.length;We<w;We++)Oe.addMethods(be[We]);return Oe.prototype.initialize||(Oe.prototype.initialize=function(){}),Oe.prototype.constructor=Oe,Oe},Methods:{addMethods:function he(me){var be=this.superclass&&this.superclass.prototype,Oe=Object.keys(me);q&&(me.toString!=Object.prototype.toString&&Oe.push("toString"),me.valueOf!=Object.prototype.valueOf&&Oe.push("valueOf"));for(var We=0,w=Oe.length;We<w;We++){var qe=Oe[We],Ue=me[qe];if(be&&$(Ue)&&"$super"==_(Ue)[0]){var Tt=Ue;Ue=function(Rt){return function(){return be[Rt].apply(this,arguments)}}(qe).wrap(Tt),Ue.valueOf=function(Rt){return function(){return Rt.valueOf.call(Rt)}}(Tt),Ue.toString=function(Rt){return function(){return Rt.toString.call(Rt)}}(Tt)}this.prototype[qe]=Ue}return this}}}}(),z=function(){function X(rt,kt){rt=rt||A;var Ee=!0;return this.each(function(Se,Ye){if(!(Ee=Ee&&!!rt.call(kt,Se,Ye,this)))throw R},this),Ee}function he(rt,kt){rt=rt||A;var Ee=!1;return this.each(function(Se,Ye){if(Ee=!!rt.call(kt,Se,Ye,this))throw R},this),Ee}function me(rt,kt){rt=rt||A;var Ee=[];return this.each(function(Se,Ye){Ee.push(rt.call(kt,Se,Ye,this))},this),Ee}function be(rt,kt){var Ee;return this.each(function(Se,Ye){if(rt.call(kt,Se,Ye,this))throw Ee=Se,R},this),Ee}function Oe(rt,kt){var Ee=[];return this.each(function(Se,Ye){rt.call(kt,Se,Ye,this)&&Ee.push(Se)},this),Ee}function w(rt){if($(this.indexOf)&&-1!=this.indexOf(rt))return!0;var kt=!1;return this.each(function(Ee){if(Ee==rt)throw kt=!0,R}),kt}function Ei(){return this.map()}return{each:function q(rt,kt){try{this._each(rt,kt)}catch(Ee){if(Ee!=R)throw Ee}return this},eachSlice:function W(rt,kt,Ee){var Se=-rt,Ye=[],Ct=this.toArray();if(rt<1)return Ct;for(;(Se+=rt)<Ct.length;)Ye.push(Ct.slice(Se,Se+rt));return Ye.collect(kt,Ee)},all:X,every:X,any:he,some:he,collect:me,map:me,detect:be,findAll:Oe,select:Oe,filter:Oe,grep:function We(rt,kt,Ee){kt=kt||A;var Se=[];return le.PrototypeAPI.isString(rt)&&(rt=new RegExp(RegExp.escape(rt))),this.each(function(Ye,Ct){rt.match(Ye)&&Se.push(kt.call(Ee,Ye,Ct,this))},this),Se},include:w,member:w,inGroupsOf:function qe(rt,kt){return kt=Object.isUndefined(kt)?null:kt,this.eachSlice(rt,function(Ee){for(;Ee.length<rt;)Ee.push(kt);return Ee})},inject:function Ue(rt,kt,Ee){return this.each(function(Se,Ye){rt=kt.call(Ee,rt,Se,Ye,this)},this),rt},invoke:function Tt(rt){var kt=F(arguments).slice(1);return this.map(function(Ee){return Ee[rt].apply(Ee,kt)})},max:function Rt(rt,kt){var Ee;return rt=rt||A,this.each(function(Se,Ye){Se=rt.call(kt,Se,Ye,this),(null==Ee||Se>=Ee)&&(Ee=Se)},this),Ee},min:function vn(rt,kt){var Ee;return rt=rt||A,this.each(function(Se,Ye){Se=rt.call(kt,Se,Ye,this),(null==Ee||Se<Ee)&&(Ee=Se)},this),Ee},partition:function yt(rt,kt){rt=rt||A;var Ee=[],Se=[];return this.each(function(Ye,Ct){(rt.call(kt,Ye,Ct,this)?Ee:Se).push(Ye)},this),[Ee,Se]},pluck:function Vt(rt){var kt=[];return this.each(function(Ee){kt.push(Ee[rt])}),kt},reject:function jn(rt,kt){var Ee=[];return this.each(function(Se,Ye){rt.call(kt,Se,Ye,this)||Ee.push(Se)},this),Ee},sortBy:function vr(rt,kt){return this.map(function(Ee,Se){return{value:Ee,criteria:rt.call(kt,Ee,Se,this)}},this).sort(function(Ee,Se){var Ye=Ee.criteria,Ct=Se.criteria;return Ye<Ct?-1:Ye>Ct?1:0}).pluck("value")},toArray:Ei,entries:Ei,zip:function vi(){var rt=F(arguments),kt=[this].concat(rt).map(F);return this.map(function(Ee,Se){for(var Ye=[],Ct=0,Qt=kt.length;Ct<Qt;++Ct)Ye.push(kt[Ct][Se]);return Ye})},size:function Ln(){return this.toArray().length},inspect:function Pi(){return"#<Enumerable:"+this.toArray().inspect()+">"},find:be}}();function K(q){return q.replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}var B={setOpacity:function(q,W){return 1==W||""===W?W="":W<1e-5&&(W=0),(q=M(q)).style.opacity=W,q},setStyle:function(q,W){var X=(q=M(q)).style;if(le.PrototypeAPI.isString(W)){if(X.cssText+=";"+W,W.include("opacity")){var me=W.match(/opacity:\s*(\d?\.?\d*)/)[1];le.PrototypeAPI.setOpacity(q,me)}return q}for(var be in W)if("opacity"===be)le.PrototypeAPI.setOpacity(q,W[be]);else{var Oe=W[be];("float"===be||"cssFloat"===be)&&(be=void 0===X.styleFloat?"cssFloat":"styleFloat"),X[be]=Oe}return q},getStyle:function(q,W){var X=(q=M(q)).style[W];if(!X||"auto"===X){var he=document.defaultView.getComputedStyle(q,null);X=he?he[W]:null}return"opacity"===W?X?parseFloat(X):1:"auto"===X?null:X},makePositioned:function(q){q=M(q);var W=le.PrototypeAPI.getStyle(q,"position"),X={};return("static"===W||!W)&&(X.position="relative",le.PrototypeAPI.Browser.Opera&&(X.top=0,X.left=0),le.PrototypeAPI.setStyle(q,X),q.dataset.prototypeMadePositioned=""),q},undoPositioned:function(q){return"prototypeMadePositioned"in(q=M(q)).dataset&&(delete q.dataset.prototypeMadePositioned,le.PrototypeAPI.setStyle(q,{position:"",top:"",bottom:"",left:"",right:""})),q}};return{$:M,Class:D,Enumerable:z,isString:function y(q){return"[object String]"===Y.call(q)},isArray:function g(q){return"[object Array]"===Y.call(q)},Browser:Q,parseQuery:function O(q){var X=q.trim().match(/([^?#]*)(#.*)?$/);if(!X)return{};for(var he=X[1].split("&"),be=0,Oe=he.length;be<Oe;++be){var We=he[be];if((We=We.split("="))[0]){var w=decodeURIComponent(We.shift()),qe=We.length>1?We.join("="):We[0];null!=qe&&(qe=qe.gsub("+"," "),qe=decodeURIComponent(qe)),w in hash?(this.isArray(hash[w])||(hash[w]=[hash[w]]),hash[w].push(qe)):hash[w]=qe}}return{}},escapeHTML:K,escapeAttribute:K,getStyle:B.getStyle,setStyle:B.setStyle,makePositioned:B.makePositioned,undoPositioned:B.undoPositioned,$A:F}}(),ne.exports=le.PrototypeAPI},3510(ne){if(typeof le>"u")var le={};ne.exports=function R(F,M){"use strict";M.RecordDataRequester=M.PrototypeAPI.Class.create();var Q={formField_:null,codeField_:null,dataURL_:null,dataReqInput_:null,dataReqOutput_:null,inputFieldsHash_:null,outputFieldsHash_:null,noPriorDataReq_:!0,latestPendingAjaxRequest_:null,lastFieldVal_:null,lastDataHash_:null,outputToSameGroup_:null,autoCompUpdateList_:null,initialize:function($,y,g,_,E){this.formField_=$,this.dataURL_=y,this.dataReqInput_=g,this.dataReqOutput_=_,this.outputToSameGroup_=E,this.setOutputNamesToRDRNames($,_)},setOutputNamesToRDRNames:function($,y){for(var g=M.Autocompleter.getFieldLookupKey($),_=M.RecordDataRequester.outputFieldNameToRDRFieldName_,E=0,A=y.length;E<A;++E)_[y[E]]=g},dupForField:function($){return new M.RecordDataRequester(F($),this.dataURL_,this.dataReqInput_,this.dataReqOutput_,this.outputToSameGroup_)},requestData:function($){this.noPriorDataReq_=!1,this.inputFieldsHash_||this.initFieldsHash(),this.dataRequestOptions_||(this.dataRequestOptions_={}),$||this.clearDataOutputFields(),this.dataRequestOptions_.complete=$?this.onDataReqCompleteForListData.bind(this):this.onDataReqComplete.bind(this),this.dataRequestOptions_.data=this.buildParameters(),this.latestPendingAjaxRequest_=M.jqueryLite.ajax(this.dataURL_,this.dataRequestOptions_),this.lastFieldVal_=M.Autocompleter.getFieldVal(this.formField_)},assignListData:function(){this.noPriorDataReq_&&""!==M.Autocompleter.getFieldVal(this.formField_)&&this.requestData(!0)},getFieldData:function($){var y=null;return this.lastDataHash_&&M.Autocompleter.getFieldVal(this.formField_)===this.lastFieldVal_&&(y=this.lastDataHash_[$]),y},onDataReqComplete:function($){if(this.latestPendingAjaxRequest_===$){this.lastFieldVal_=M.Autocompleter.getFieldVal(this.formField_);var y=$.responseJSON||JSON.parse($.responseText);this.lastDataHash_=y,this.assignDataToFields(y),this.processUpdateList(y),this.latestPendingAjaxRequest_=null}},onDataReqCompleteForListData:function($){if(this.latestPendingAjaxRequest_===$){var y=$.responseJSON||JSON.parse($.responseText);this.lastDataHash_=y,this.assignDataToFields(y,!0),this.processUpdateList(y),this.latestPendingAjaxRequest_=null}},clearDataOutputFields:function(){this.inputFieldsHash_||this.initFieldsHash();for(var $=[],y=this.getOutputFieldsHash(),g=0,_=this.dataReqOutput_.length;g<_;++g){var E=y[this.dataReqOutput_[g]];if(void 0!==E)for(var A=0,D=E.length;A<D;++A){var z=E[A];z.autocomp&&z.autocomp.setListAndField?z.autocomp.setListAndField([]):(M.Autocompleter.setFieldVal(z,"",!1),$.push(z))}}M.Autocompleter.Event.notifyObservers(null,"RDR_CLEARING",$)},addFieldsToUpdateList:function($,y,g){null===this.autoCompUpdateList_&&(this.autoCompUpdateList_={}),null===this.autoCompUpdateList_[$]&&(this.autoCompUpdateList_[$]={}),null===this.autoCompUpdateList_[$][g]?this.autoCompUpdateList_[$][g]=[y]:this.autoCompUpdateList_[$][g].push(y)},processUpdateList:function($){if(null!==this.autoCompUpdateList_)for(var y in $){var g=$[y],_=g instanceof Array&&g.length>0;if(null!==this.autoCompUpdateList_[y])for(var E in this.autoCompUpdateList_[y]){var A=E.split(","),D=F(A[0]),z=M.Autocompleter.getFieldVal(D);if("EQ"===A[1]&&z===A[2]||"NE"===A[1]&&z!==A[2])for(var O=this.autoCompUpdateList_[y][E],K=0,B=O.length;K<B;K++)O[K].element&&(_?g[0]instanceof Array?O[K].setListAndField(g[0],g[1]):O[K].setListAndField(g):null===g&&O[K].setListAndField([],[]))}}},initFieldsHash:function(){this.inputFieldsHash_={};var $=M.Autocompleter;if(this.dataReqInput_)for(var y=this.dataReqInput_,g=0,_=y.length;g<_;++g){var E=y[g],A=$.findRelatedFields(this.formField_,E);1===A.length&&(this.inputFieldsHash_[E]=A[0])}this.outputToSameGroup_&&(this.outputFieldsHash_=this.constructOutputFieldsHash())},getOutputFieldsHash:function(){return this.outputToSameGroup_?this.outputFieldsHash_:this.constructOutputFieldsHash()},constructOutputFieldsHash:function(){for(var $={},y=this.dataReqOutput_,g=M.Autocompleter,_=0,E=y.length;_<E;++_){var A=y[_],D=g.findRelatedFields(this.formField_,A);D.length>0&&($[A]=D)}return $},assignDataToFields:function($,y){this.inputFieldsHash_||this.initFieldsHash();var g=[],_={},E=this.getOutputFieldsHash(),A=M.Autocompleter;for(var D in $){var z=E[D];if(void 0!==z)for(var O=0,K=z.length;O<K;++O){var B=z[O],q=$[D];if(Array.isArray(q)){if(null!==B.autocomp){var W=A.getFieldLookupKey(B);if(this.setOutputNamesToRDRNames(this.formField_,[W]),q.length>0&&Array.isArray(q[0])?(q[2]&&B.autocomp.initHeadings(q[2]),y?B.autocomp.setList(q[0],q[1]):B.autocomp.setListAndField(q[0],q[1])):y?B.autocomp.setList(q):B.autocomp.setListAndField(q),null!==this.autoCompUpdateList_&&null!==this.autoCompUpdateList_[W]){var X={};X[W]=q,this.processUpdateList(X)}}}else y||(void 0!==B.comboField?B.comboField.mimicField(q,this.formField_.id):(M.Autocompleter.setFieldVal(B,q,!1),g.push(B),_[B.id]=q))}}M.Autocompleter.Event.notifyObservers(null,"RDR_ASSIGNMENT",{updatedFields:g,updatedFieldIDToVal:_,listField:this.formField_})},buildParameters:function(){var $={};this.inputFieldsHash_||this.initFieldsHash();var y=this.formField_.autocomp.getSelectedCodes()[0];if(null!=y?$.code_val=y:$.field_val=M.Autocompleter.getFieldVal(this.formField_),this.dataReqInput_)for(var g=0,_=this.dataReqInput_.length;g<_;++g){var E=this.dataReqInput_[g],A=this.inputFieldsHash_[E];if(null==A)throw"Could not find field for "+E;$[E]=M.Autocompleter.getFieldVal(A)}return $.authenticity_token=window._token||"",$}};Object.assign(M.RecordDataRequester.prototype,Q),Q=null,Object.assign(M.RecordDataRequester,{outputFieldNameToRDRFieldName_:{},getOutputFieldRDR:function($){var y=null,g=F($),_=M.Autocompleter.getFieldLookupKey(g),A=M.Autocompleter.findRelatedFields(g,this.outputFieldNameToRDRFieldName_[_]);if(1===A.length){var z=A[0].autocomp;z&&(y=z.recDataRequester_)}return y}})}},3620(ne){ne.exports=function le(R){"use strict";R.ScreenReaderLog=function(F){if(void 0===F){for(var M="reader_log",Y=(F=M,1);document.getElementById(F);)F=M+ ++Y;this.logElement_=document.createElement("div"),this.logElement_.setAttribute("id",F),document.body.appendChild(this.logElement_)}else this.logElement_=document.getElementById(F);this.logElement_.setAttribute("aria-live","assertive"),this.logElement_.setAttribute("aria-relevant","additions"),this.logElement_.setAttribute("role","log"),this.logElement_.setAttribute("class","screen_reader_only")},R.ScreenReaderLog.prototype={add:function(F){var M=document.createElement("p");M.appendChild(document.createTextNode(F)),this.logElement_.appendChild(M)}},R.ScreenReaderLog.add=function(F){this.log_||(this.log_=new R.ScreenReaderLog("reader_log")),this.log_.add(F)}}},5124(ne,le,R){"use strict";var F=R(7707),M=R(814),Y=R(7648),Q=R(8963);ne.exports=Q||F.call(Y,M)},9713(ne,le,R){"use strict";var F=R(7707),M=R(814),Y=R(5124);ne.exports=function(){return Y(F,M,arguments)}},814(ne){"use strict";ne.exports=Function.prototype.apply},7648(ne){"use strict";ne.exports=Function.prototype.call},2282(ne,le,R){"use strict";var F=R(7707),M=R(8519),Y=R(7648),Q=R(5124);ne.exports=function(y){if(y.length<1||"function"!=typeof y[0])throw new M("a function is required");return Q(F,Y,y)}},8963(ne){"use strict";ne.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply},3463(ne,le,R){"use strict";var F=R(2521),M=R(6283),Y=M(F("String.prototype.indexOf"));ne.exports=function($,y){var g=F($,!!y);return"function"==typeof g&&Y($,".prototype.")>-1?M(g):g}},6283(ne,le,R){"use strict";var F=R(5557),M=R(1963),Y=R(2282),Q=R(9713);ne.exports=function(y){var g=Y(arguments),_=y.length-(arguments.length-1);return F(g,1+(_>0?_:0),!0)},M?M(ne.exports,"apply",{value:Q}):ne.exports.apply=Q},840(ne,le,R){"use strict";var F=R(2521),M=R(2282),Y=M([F("%String.prototype.indexOf%")]);ne.exports=function($,y){var g=F($,!!y);return"function"==typeof g&&Y($,".prototype.")>-1?M([g]):g}},9250(ne,le,R){"use strict";var F=R(6969),M=R(3463),Y=R(7057),Q=R(2521),$=R(158),y=R(5492),g=R(545),_=R(8344),E=R(7638),A=R(3066),D=R(5500),z=R(5831),O=R(2090),K=R(9209),B=R(6959),q=R(5757),W=R(6547),X=R(2219),he=M("SharedArrayBuffer.prototype.byteLength",!0),me=M("Date.prototype.getTime"),be=Object.getPrototypeOf,Oe=M("Object.prototype.toString"),We=Q("%Set%",!0),w=M("Map.prototype.has",!0),qe=M("Map.prototype.get",!0),Ue=M("Map.prototype.size",!0),Tt=M("Set.prototype.add",!0),Rt=M("Set.prototype.delete",!0),vn=M("Set.prototype.has",!0),yt=M("Set.prototype.size",!0);function Vt(Se,Ye,Ct,Qt){for(var Fn,cn=$(Se);(Fn=cn.next())&&!Fn.done;)if(Ln(Ye,Fn.value,Ct,Qt))return Rt(Se,Fn.value),!0;return!1}function jn(Se){return typeof Se>"u"?null:"object"!=typeof Se?"symbol"!=typeof Se&&("string"!=typeof Se&&"number"!=typeof Se||+Se==+Se):void 0}function vr(Se,Ye,Ct,Qt,cn,Fn){var It=jn(Ct);if(null!=It)return It;var un=qe(Ye,It),Mt=F({},cn,{strict:!1});return!(typeof un>"u"&&!w(Ye,It)||!Ln(Qt,un,Mt,Fn))&&!w(Se,It)&&Ln(Qt,un,Mt,Fn)}function Ei(Se,Ye,Ct){var Qt=jn(Ct);return Qt??(vn(Ye,Qt)&&!vn(Se,Qt))}function vi(Se,Ye,Ct,Qt,cn,Fn){for(var un,Mt,It=$(Se);(un=It.next())&&!un.done;)if(Ln(Ct,Mt=un.value,cn,Fn)&&Ln(Qt,qe(Ye,Mt),cn,Fn))return Rt(Se,Mt),!0;return!1}function Ln(Se,Ye,Ct,Qt){var cn=Ct||{};if(cn.strict?g(Se,Ye):Se===Ye)return!0;if(B(Se)!==B(Ye))return!1;if(!Se||!Ye||"object"!=typeof Se&&"object"!=typeof Ye)return cn.strict?g(Se,Ye):Se==Ye;var _n,un=Qt.has(Se),Mt=Qt.has(Ye);if(un&&Mt){if(Qt.get(Se)===Qt.get(Ye))return!0}else _n={};return un||Qt.set(Se,_n),Mt||Qt.set(Ye,_n),function Ee(Se,Ye,Ct,Qt){var cn,Fn;if(typeof Se!=typeof Ye||null==Se||null==Ye||Oe(Se)!==Oe(Ye)||_(Se)!==_(Ye))return!1;if(E(Se)!==E(Ye))return!1;var Mt=Se instanceof Error,_n=Ye instanceof Error;if(Mt!==_n||(Mt||_n)&&(Se.name!==Ye.name||Se.message!==Ye.message))return!1;var Ni=z(Se),Ir=z(Ye);if(Ni!==Ir||(Ni||Ir)&&(Se.source!==Ye.source||Y(Se)!==Y(Ye)))return!1;var _r=D(Se),yr=D(Ye);if(_r!==yr||(_r||yr)&&me(Se)!==me(Ye)||Ct.strict&&be&&be(Se)!==be(Ye))return!1;var ri=W(Se),Ii=W(Ye);if(ri!==Ii)return!1;if(ri||Ii){if(Se.length!==Ye.length)return!1;for(cn=0;cn<Se.length;cn++)if(Se[cn]!==Ye[cn])return!1;return!0}var ur=Pi(Se),Hr=Pi(Ye);if(ur!==Hr)return!1;if(ur||Hr){if(Se.length!==Ye.length)return!1;for(cn=0;cn<Se.length;cn++)if(Se[cn]!==Ye[cn])return!1;return!0}var zr=A(Se),zt=A(Ye);if(zr!==zt)return!1;if(zr||zt)return X(Se)===X(Ye)&&"function"==typeof Uint8Array&&Ln(new Uint8Array(Se),new Uint8Array(Ye),Ct,Qt);var ho=O(Se),wt=O(Ye);if(ho!==wt)return!1;if(ho||wt)return he(Se)===he(Ye)&&"function"==typeof Uint8Array&&Ln(new Uint8Array(Se),new Uint8Array(Ye),Ct,Qt);if(typeof Se!=typeof Ye)return!1;var Rn=K(Se),vt=K(Ye);if(Rn.length!==vt.length)return!1;for(Rn.sort(),vt.sort(),cn=Rn.length-1;cn>=0;cn--)if(Rn[cn]!=vt[cn])return!1;for(cn=Rn.length-1;cn>=0;cn--)if(!Ln(Se[Fn=Rn[cn]],Ye[Fn],Ct,Qt))return!1;var Jo=q(Se),Uo=q(Ye);return Jo===Uo&&("Set"===Jo||"Set"===Uo?function rt(Se,Ye,Ct,Qt){if(yt(Se)!==yt(Ye))return!1;for(var It,un,Mt,cn=$(Se),Fn=$(Ye);(It=cn.next())&&!It.done;)if(It.value&&"object"==typeof It.value)Mt||(Mt=new We),Tt(Mt,It.value);else if(!vn(Ye,It.value)){if(Ct.strict||!Ei(Se,Ye,It.value))return!1;Mt||(Mt=new We),Tt(Mt,It.value)}if(Mt){for(;(un=Fn.next())&&!un.done;)if(un.value&&"object"==typeof un.value){if(!Vt(Mt,un.value,Ct.strict,Qt))return!1}else if(!Ct.strict&&!vn(Se,un.value)&&!Vt(Mt,un.value,Ct.strict,Qt))return!1;return 0===yt(Mt)}return!0}(Se,Ye,Ct,Qt):"Map"!==Jo||function kt(Se,Ye,Ct,Qt){if(Ue(Se)!==Ue(Ye))return!1;for(var It,un,Mt,_n,Ni,Ir,cn=$(Se),Fn=$(Ye);(It=cn.next())&&!It.done;)if(Ni=It.value[1],(_n=It.value[0])&&"object"==typeof _n)Mt||(Mt=new We),Tt(Mt,_n);else if(typeof(Ir=qe(Ye,_n))>"u"&&!w(Ye,_n)||!Ln(Ni,Ir,Ct,Qt)){if(Ct.strict||!vr(Se,Ye,_n,Ni,Ct,Qt))return!1;Mt||(Mt=new We),Tt(Mt,_n)}if(Mt){for(;(un=Fn.next())&&!un.done;)if(Ir=un.value[1],(_n=un.value[0])&&"object"==typeof _n){if(!vi(Mt,Se,_n,Ir,Ct,Qt))return!1}else if(!(Ct.strict||Se.has(_n)&&Ln(qe(Se,_n),Ir,Ct,Qt)||vi(Mt,Se,_n,Ir,F({},Ct,{strict:!1}),Qt)))return!1;return 0===yt(Mt)}return!0}(Se,Ye,Ct,Qt))}(Se,Ye,cn,Qt)}function Pi(Se){return!(!Se||"object"!=typeof Se||"number"!=typeof Se.length||"function"!=typeof Se.copy||"function"!=typeof Se.slice||Se.length>0&&"number"!=typeof Se[0]||!(Se.constructor&&Se.constructor.isBuffer&&Se.constructor.isBuffer(Se)))}ne.exports=function(Ye,Ct,Qt){return Ln(Ye,Ct,Qt,y())}},1197(ne,le,R){"use strict";var F=R(1963),M=R(4880),Y=R(8519),Q=R(9263);ne.exports=function(y,g,_){if(!y||"object"!=typeof y&&"function"!=typeof y)throw new Y("`obj` must be an object or a function`");if("string"!=typeof g&&"symbol"!=typeof g)throw new Y("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new Y("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new Y("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new Y("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new Y("`loose`, if provided, must be a boolean");var E=arguments.length>3?arguments[3]:null,A=arguments.length>4?arguments[4]:null,D=arguments.length>5?arguments[5]:null,z=arguments.length>6&&arguments[6],O=!!Q&&Q(y,g);if(F)F(y,g,{configurable:null===D&&O?O.configurable:!D,enumerable:null===E&&O?O.enumerable:!E,value:_,writable:null===A&&O?O.writable:!A});else{if(!z&&(E||A||D))throw new M("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");y[g]=_}}},592(ne,le,R){"use strict";var F=R(9209),M="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),Y=Object.prototype.toString,Q=Array.prototype.concat,$=R(1197),g=R(6652)(),_=function(A,D,z,O){if(D in A)if(!0===O){if(A[D]===z)return}else if(!function(A){return"function"==typeof A&&"[object Function]"===Y.call(A)}(O)||!O())return;g?$(A,D,z,!0):$(A,D,z)},E=function(A,D){var z=arguments.length>2?arguments[2]:{},O=F(D);M&&(O=Q.call(O,Object.getOwnPropertySymbols(D)));for(var K=0;K<O.length;K+=1)_(A,O[K],D[O[K]],z[O[K]])};E.supportsDescriptors=!!g,ne.exports=E},8580(ne,le,R){"use strict";var Y,F=R(2282),M=R(9263);try{Y=[].__proto__===Array.prototype}catch(g){if(!g||"object"!=typeof g||!("code"in g)||"ERR_PROTO_ACCESS"!==g.code)throw g}var Q=!!Y&&M&&M(Object.prototype,"__proto__"),$=Object,y=$.getPrototypeOf;ne.exports=Q&&"function"==typeof Q.get?F([Q.get]):"function"==typeof y&&function(_){return y(null==_?_:$(_))}},1963(ne){"use strict";var le=Object.defineProperty||!1;if(le)try{le({},"a",{value:1})}catch{le=!1}ne.exports=le},2905(ne){"use strict";ne.exports=EvalError},1123(ne){"use strict";ne.exports=Error},7718(ne){"use strict";ne.exports=RangeError},3286(ne){"use strict";ne.exports=ReferenceError},4880(ne){"use strict";ne.exports=SyntaxError},8519(ne){"use strict";ne.exports=TypeError},2781(ne){"use strict";ne.exports=URIError},7888(ne){"use strict";ne.exports=Object},6062(ne,le,R){"use strict";var F=R(7268),M=Object.prototype.toString,Y=Object.prototype.hasOwnProperty;ne.exports=function(E,A,D){if(!F(A))throw new TypeError("iterator must be a function");var z;arguments.length>=3&&(z=D),function g(_){return"[object Array]"===M.call(_)}(E)?function(E,A,D){for(var z=0,O=E.length;z<O;z++)Y.call(E,z)&&(null==D?A(E[z],z,E):A.call(D,E[z],z,E))}(E,A,z):"string"==typeof E?function(E,A,D){for(var z=0,O=E.length;z<O;z++)null==D?A(E.charAt(z),z,E):A.call(D,E.charAt(z),z,E)}(E,A,z):function(E,A,D){for(var z in E)Y.call(E,z)&&(null==D?A(E[z],z,E):A.call(D,E[z],z,E))}(E,A,z)}},3933(ne){"use strict";var R=Object.prototype.toString,F=Math.max,Y=function(g,_){for(var E=[],A=0;A<g.length;A+=1)E[A]=g[A];for(var D=0;D<_.length;D+=1)E[D+g.length]=_[D];return E};ne.exports=function(g){var _=this;if("function"!=typeof _||"[object Function]"!==R.apply(_))throw new TypeError("Function.prototype.bind called on incompatible "+_);for(var A,E=function(g){for(var E=[],A=1,D=0;A<g.length;A+=1,D+=1)E[D]=g[A];return E}(arguments),z=F(0,_.length-E.length),O=[],K=0;K<z;K++)O[K]="$"+K;if(A=Function("binder","return function ("+function(y){for(var _="",E=0;E<y.length;E+=1)_+=y[E],E+1<y.length&&(_+=",");return _}(O)+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof A){var q=_.apply(this,Y(E,arguments));return Object(q)===q?q:this}return _.apply(g,Y(E,arguments))}),_.prototype){var B=function(){};B.prototype=_.prototype,A.prototype=new B,B.prototype=null}return A}},7707(ne,le,R){"use strict";var F=R(3933);ne.exports=Function.prototype.bind||F},5370(ne){"use strict";var le=function(){return"string"==typeof function(){}.name},R=Object.getOwnPropertyDescriptor;if(R)try{R([],"length")}catch{R=null}le.functionsHaveConfigurableNames=function(){if(!le()||!R)return!1;var Y=R(function(){},"name");return!!Y&&!!Y.configurable};var F=Function.prototype.bind;le.boundFunctionsHaveNames=function(){return le()&&"function"==typeof F&&""!==function(){}.bind().name},ne.exports=le},2521(ne,le,R){"use strict";var F,M=R(7888),Y=R(1123),Q=R(2905),$=R(7718),y=R(3286),g=R(4880),_=R(8519),E=R(2781),A=R(7598),D=R(3116),z=R(2136),O=R(3462),K=R(1516),B=R(5714),q=R(497),W=Function,X=function(Fn){try{return W('"use strict"; return ('+Fn+").constructor;")()}catch{}},he=R(9263),me=R(1963),be=function(){throw new _},Oe=he?function(){try{return be}catch{try{return he(arguments,"callee").get}catch{return be}}}():be,We=R(1459)(),w=R(1568),qe=R(9364),Ue=R(3996),Tt=R(814),Rt=R(7648),vn={},yt=typeof Uint8Array>"u"||!w?F:w(Uint8Array),Vt={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?F:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?F:ArrayBuffer,"%ArrayIteratorPrototype%":We&&w?w([][Symbol.iterator]()):F,"%AsyncFromSyncIteratorPrototype%":F,"%AsyncFunction%":vn,"%AsyncGenerator%":vn,"%AsyncGeneratorFunction%":vn,"%AsyncIteratorPrototype%":vn,"%Atomics%":typeof Atomics>"u"?F:Atomics,"%BigInt%":typeof BigInt>"u"?F:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?F:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?F:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?F:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Y,"%eval%":eval,"%EvalError%":Q,"%Float16Array%":typeof Float16Array>"u"?F:Float16Array,"%Float32Array%":typeof Float32Array>"u"?F:Float32Array,"%Float64Array%":typeof Float64Array>"u"?F:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?F:FinalizationRegistry,"%Function%":W,"%GeneratorFunction%":vn,"%Int8Array%":typeof Int8Array>"u"?F:Int8Array,"%Int16Array%":typeof Int16Array>"u"?F:Int16Array,"%Int32Array%":typeof Int32Array>"u"?F:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":We&&w?w(w([][Symbol.iterator]())):F,"%JSON%":"object"==typeof JSON?JSON:F,"%Map%":typeof Map>"u"?F:Map,"%MapIteratorPrototype%":typeof Map>"u"||!We||!w?F:w((new Map)[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":M,"%Object.getOwnPropertyDescriptor%":he,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?F:Promise,"%Proxy%":typeof Proxy>"u"?F:Proxy,"%RangeError%":$,"%ReferenceError%":y,"%Reflect%":typeof Reflect>"u"?F:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?F:Set,"%SetIteratorPrototype%":typeof Set>"u"||!We||!w?F:w((new Set)[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?F:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":We&&w?w(""[Symbol.iterator]()):F,"%Symbol%":We?Symbol:F,"%SyntaxError%":g,"%ThrowTypeError%":Oe,"%TypedArray%":yt,"%TypeError%":_,"%Uint8Array%":typeof Uint8Array>"u"?F:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?F:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?F:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?F:Uint32Array,"%URIError%":E,"%WeakMap%":typeof WeakMap>"u"?F:WeakMap,"%WeakRef%":typeof WeakRef>"u"?F:WeakRef,"%WeakSet%":typeof WeakSet>"u"?F:WeakSet,"%Function.prototype.call%":Rt,"%Function.prototype.apply%":Tt,"%Object.defineProperty%":me,"%Object.getPrototypeOf%":qe,"%Math.abs%":A,"%Math.floor%":D,"%Math.max%":z,"%Math.min%":O,"%Math.pow%":K,"%Math.round%":B,"%Math.sign%":q,"%Reflect.getPrototypeOf%":Ue};if(w)try{null.error}catch(Fn){var jn=w(w(Fn));Vt["%Error.prototype%"]=jn}var vr=function Fn(It){var un;if("%AsyncFunction%"===It)un=X("async function () {}");else if("%GeneratorFunction%"===It)un=X("function* () {}");else if("%AsyncGeneratorFunction%"===It)un=X("async function* () {}");else if("%AsyncGenerator%"===It){var Mt=Fn("%AsyncGeneratorFunction%");Mt&&(un=Mt.prototype)}else if("%AsyncIteratorPrototype%"===It){var _n=Fn("%AsyncGenerator%");_n&&w&&(un=w(_n.prototype))}return Vt[It]=un,un},Ei={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},vi=R(7707),Ln=R(3889),Pi=vi.call(Rt,Array.prototype.concat),rt=vi.call(Tt,Array.prototype.splice),kt=vi.call(Rt,String.prototype.replace),Ee=vi.call(Rt,String.prototype.slice),Se=vi.call(Rt,RegExp.prototype.exec),Ye=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Ct=/\\(\\)?/g,cn=function(It,un){var _n,Mt=It;if(Ln(Ei,Mt)&&(Mt="%"+(_n=Ei[Mt])[0]+"%"),Ln(Vt,Mt)){var Ni=Vt[Mt];if(Ni===vn&&(Ni=vr(Mt)),typeof Ni>"u"&&!un)throw new _("intrinsic "+It+" exists, but is not available. Please file an issue!");return{alias:_n,name:Mt,value:Ni}}throw new g("intrinsic "+It+" does not exist!")};ne.exports=function(It,un){if("string"!=typeof It||0===It.length)throw new _("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof un)throw new _('"allowMissing" argument must be a boolean');if(null===Se(/^%?[^%]*%?$/,It))throw new g("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var Mt=function(It){var un=Ee(It,0,1),Mt=Ee(It,-1);if("%"===un&&"%"!==Mt)throw new g("invalid intrinsic syntax, expected closing `%`");if("%"===Mt&&"%"!==un)throw new g("invalid intrinsic syntax, expected opening `%`");var _n=[];return kt(It,Ye,function(Ni,Ir,_r,yr){_n[_n.length]=_r?kt(yr,Ct,"$1"):Ir||Ni}),_n}(It),_n=Mt.length>0?Mt[0]:"",Ni=cn("%"+_n+"%",un),Ir=Ni.name,_r=Ni.value,yr=!1,ri=Ni.alias;ri&&(_n=ri[0],rt(Mt,Pi([0,1],ri)));for(var Ii=1,ur=!0;Ii<Mt.length;Ii+=1){var Hr=Mt[Ii],zr=Ee(Hr,0,1),zt=Ee(Hr,-1);if(('"'===zr||"'"===zr||"`"===zr||'"'===zt||"'"===zt||"`"===zt)&&zr!==zt)throw new g("property names with quotes must have matching quotes");if(("constructor"===Hr||!ur)&&(yr=!0),Ln(Vt,Ir="%"+(_n+="."+Hr)+"%"))_r=Vt[Ir];else if(null!=_r){if(!(Hr in _r)){if(!un)throw new _("base intrinsic for "+It+" exists, but the property is not available.");return}if(he&&Ii+1>=Mt.length){var ho=he(_r,Hr);_r=(ur=!!ho)&&"get"in ho&&!("originalValue"in ho.get)?ho.get:_r[Hr]}else ur=Ln(_r,Hr),_r=_r[Hr];ur&&!yr&&(Vt[Ir]=_r)}}return _r}},9364(ne,le,R){"use strict";var F=R(7888);ne.exports=F.getPrototypeOf||null},3996(ne){"use strict";ne.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null},1568(ne,le,R){"use strict";var F=R(3996),M=R(9364),Y=R(8580);ne.exports=F?function($){return F($)}:M?function($){if(!$||"object"!=typeof $&&"function"!=typeof $)throw new TypeError("getProto: not an object");return M($)}:Y?function($){return Y($)}:null},9817(ne){"use strict";ne.exports=Object.getOwnPropertyDescriptor},9263(ne,le,R){"use strict";var F=R(9817);if(F)try{F([],"length")}catch{F=null}ne.exports=F},362(ne){"use strict";var le=typeof BigInt<"u"&&BigInt;ne.exports=function(){return"function"==typeof le&&"function"==typeof BigInt&&"bigint"==typeof le(42)&&"bigint"==typeof BigInt(42)}},6652(ne,le,R){"use strict";var F=R(1963),M=function(){return!!F};M.hasArrayLengthDefineBug=function(){if(!F)return null;try{return 1!==F([],"length",{value:1}).length}catch{return!0}},ne.exports=M},1459(ne,le,R){"use strict";var F=typeof Symbol<"u"&&Symbol,M=R(6497);ne.exports=function(){return"function"==typeof F&&"function"==typeof Symbol&&"symbol"==typeof F("foo")&&"symbol"==typeof Symbol("bar")&&M()}},6497(ne){"use strict";ne.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var R={},F=Symbol("test"),M=Object(F);if("string"==typeof F||"[object Symbol]"!==Object.prototype.toString.call(F)||"[object Symbol]"!==Object.prototype.toString.call(M))return!1;for(var Q in R[F]=42,R)return!1;if("function"==typeof Object.keys&&0!==Object.keys(R).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(R).length)return!1;var $=Object.getOwnPropertySymbols(R);if(1!==$.length||$[0]!==F||!Object.prototype.propertyIsEnumerable.call(R,F))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var y=Object.getOwnPropertyDescriptor(R,F);if(42!==y.value||!0!==y.enumerable)return!1}return!0}},5328(ne,le,R){"use strict";var F=R(6497);ne.exports=function(){return F()&&!!Symbol.toStringTag}},3889(ne,le,R){"use strict";var F=Function.prototype.call,M=Object.prototype.hasOwnProperty,Y=R(7707);ne.exports=Y.call(F,M)},2179(ne,le,R){"use strict";var F=R(3889),M=R(5492)(),Y=R(8519),Q={assert:function($,y){if(!$||"object"!=typeof $&&"function"!=typeof $)throw new Y("`O` is not an object");if("string"!=typeof y)throw new Y("`slot` must be a string");if(M.assert($),!Q.has($,y))throw new Y("`"+y+"` is not present on `O`")},get:function($,y){if(!$||"object"!=typeof $&&"function"!=typeof $)throw new Y("`O` is not an object");if("string"!=typeof y)throw new Y("`slot` must be a string");var g=M.get($);return g&&g["$"+y]},has:function($,y){if(!$||"object"!=typeof $&&"function"!=typeof $)throw new Y("`O` is not an object");if("string"!=typeof y)throw new Y("`slot` must be a string");var g=M.get($);return!!g&&F(g,"$"+y)},set:function($,y,g){if(!$||"object"!=typeof $&&"function"!=typeof $)throw new Y("`O` is not an object");if("string"!=typeof y)throw new Y("`slot` must be a string");var _=M.get($);_||M.set($,_={}),_["$"+y]=g}};Object.freeze&&Object.freeze(Q),ne.exports=Q},8344(ne,le,R){"use strict";var F=R(5328)(),Y=R(840)("Object.prototype.toString"),Q=function(_){return!(F&&_&&"object"==typeof _&&Symbol.toStringTag in _)&&"[object Arguments]"===Y(_)},$=function(_){return!!Q(_)||null!==_&&"object"==typeof _&&"length"in _&&"number"==typeof _.length&&_.length>=0&&"[object Array]"!==Y(_)&&"callee"in _&&"[object Function]"===Y(_.callee)},y=function(){return Q(arguments)}();Q.isLegacyArguments=$,ne.exports=y?Q:$},3066(ne,le,R){"use strict";var F=R(6283),M=R(840),Q=R(2521)("%ArrayBuffer%",!0),$=M("ArrayBuffer.prototype.byteLength",!0),y=M("Object.prototype.toString"),g=!!Q&&!$&&new Q(0).slice,_=!!g&&F(g);ne.exports=$||_?function(A){if(!A||"object"!=typeof A)return!1;try{return $?$(A):_(A,0),!0}catch{return!1}}:Q?function(A){return"[object ArrayBuffer]"===y(A)}:function(A){return!1}},7671(ne,le,R){"use strict";if(R(362)()){var M=BigInt.prototype.valueOf;ne.exports=function($){return!(null===$||typeof $>"u"||"boolean"==typeof $||"string"==typeof $||"number"==typeof $||"symbol"==typeof $||"function"==typeof $)&&("bigint"==typeof $||function($){try{return M.call($),!0}catch{}return!1}($))}}else ne.exports=function($){return!1}},6484(ne,le,R){"use strict";var F=R(840),M=F("Boolean.prototype.toString"),Y=F("Object.prototype.toString"),y=R(5328)();ne.exports=function(_){return"boolean"==typeof _||null!==_&&"object"==typeof _&&(y?function(_){try{return M(_),!0}catch{return!1}}(_):"[object Boolean]"===Y(_))}},7268(ne){"use strict";var F,M,le=Function.prototype.toString,R="object"==typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"==typeof R&&"function"==typeof Object.defineProperty)try{F=Object.defineProperty({},"length",{get:function(){throw M}}),M={},R(function(){throw 42},null,F)}catch(W){W!==M&&(R=null)}else R=null;var Y=/^\s*class\b/,Q=function(X){try{var he=le.call(X);return Y.test(he)}catch{return!1}},$=function(X){try{return!Q(X)&&(le.call(X),!0)}catch{return!1}},y=Object.prototype.toString,O="function"==typeof Symbol&&!!Symbol.toStringTag,K=!(0 in[,]),B=function(){return!1};if("object"==typeof document){var q=document.all;y.call(q)===y.call(document.all)&&(B=function(X){if((K||!X)&&(typeof X>"u"||"object"==typeof X))try{var he=y.call(X);return("[object HTMLAllCollection]"===he||"[object HTML document.all class]"===he||"[object HTMLCollection]"===he||"[object Object]"===he)&&null==X("")}catch{}return!1})}ne.exports=R?function(X){if(B(X))return!0;if(!X||"function"!=typeof X&&"object"!=typeof X)return!1;try{R(X,null,F)}catch(he){if(he!==M)return!1}return!Q(X)&&$(X)}:function(X){if(B(X))return!0;if(!X||"function"!=typeof X&&"object"!=typeof X)return!1;if(O)return $(X);if(Q(X))return!1;var he=y.call(X);return!("[object Function]"!==he&&"[object GeneratorFunction]"!==he&&!/^\[object HTML/.test(he))&&$(X)}},5500(ne,le,R){"use strict";var F=R(840),M=F("Date.prototype.getDay"),Q=F("Object.prototype.toString"),y=R(5328)();ne.exports=function(_){return"object"==typeof _&&null!==_&&(y?function(_){try{return M(_),!0}catch{return!1}}(_):"[object Date]"===Q(_))}},3983(ne){"use strict";ne.exports=Number.isFinite||function(le){return!("number"!=typeof le||le!=le||le===1/0||le===-1/0)}},9962(ne,le,R){var F=R(3983);ne.exports=Number.isInteger||function(M){return"number"==typeof M&&F(M)&&Math.floor(M)===M}},5217(ne){"use strict";var F,le="function"==typeof Map&&Map.prototype?Map:null,R="function"==typeof Set&&Set.prototype?Set:null;le||(F=function($){return!1});var M=le?Map.prototype.has:null,Y=R?Set.prototype.has:null;!F&&!M&&(F=function($){return!1}),ne.exports=F||function($){if(!$||"object"!=typeof $)return!1;try{if(M.call($),Y)try{Y.call($)}catch{return!0}return $ instanceof le}catch{}return!1}},8979(ne,le,R){"use strict";var F=R(840),M=F("Number.prototype.toString"),Q=F("Object.prototype.toString"),y=R(5328)();ne.exports=function(_){return"number"==typeof _||!(!_||"object"!=typeof _)&&(y?function(_){try{return M(_),!0}catch{return!1}}(_):"[object Number]"===Q(_))}},5831(ne,le,R){"use strict";var $,F=R(840),M=R(5328)(),Y=R(3889),Q=R(9263);if(M){var y=F("RegExp.prototype.exec"),g={},_=function(){throw g},E={toString:_,valueOf:_};"symbol"==typeof Symbol.toPrimitive&&(E[Symbol.toPrimitive]=_),$=function(O){if(!O||"object"!=typeof O)return!1;var K=Q(O,"lastIndex");if(!K||!Y(K,"value"))return!1;try{y(O,E)}catch(q){return q===g}}}else{var A=F("Object.prototype.toString");$=function(O){return!(!O||"object"!=typeof O&&"function"!=typeof O)&&"[object RegExp]"===A(O)}}ne.exports=$},9116(ne){"use strict";var F,le="function"==typeof Map&&Map.prototype?Map:null,R="function"==typeof Set&&Set.prototype?Set:null;R||(F=function($){return!1});var M=le?Map.prototype.has:null,Y=R?Set.prototype.has:null;!F&&!Y&&(F=function($){return!1}),ne.exports=F||function($){if(!$||"object"!=typeof $)return!1;try{if(Y.call($),M)try{M.call($)}catch{return!0}return $ instanceof R}catch{}return!1}},2090(ne,le,R){"use strict";var M=R(840)("SharedArrayBuffer.prototype.byteLength",!0);ne.exports=M?function(Q){if(!Q||"object"!=typeof Q)return!1;try{return M(Q),!0}catch{return!1}}:function(Q){return!1}},6837(ne,le,R){"use strict";var F=R(840),M=F("String.prototype.valueOf"),Q=F("Object.prototype.toString"),y=R(5328)();ne.exports=function(_){return"string"==typeof _||!(!_||"object"!=typeof _)&&(y?function(_){try{return M(_),!0}catch{return!1}}(_):"[object String]"===Q(_))}},3016(ne,le,R){"use strict";var F=R(840),M=F("Object.prototype.toString"),Y=R(1459)(),Q=R(7653);if(Y){var $=F("Symbol.prototype.toString"),y=Q(/^Symbol\(.*\)$/);ne.exports=function(E){if("symbol"==typeof E)return!0;if(!E||"object"!=typeof E||"[object Symbol]"!==M(E))return!1;try{return function(E){return"symbol"==typeof E.valueOf()&&y($(E))}(E)}catch{return!1}}}else ne.exports=function(E){return!1}},9462(ne){"use strict";var F,le="function"==typeof WeakMap&&WeakMap.prototype?WeakMap:null,R="function"==typeof WeakSet&&WeakSet.prototype?WeakSet:null;le||(F=function($){return!1});var M=le?le.prototype.has:null,Y=R?R.prototype.has:null;!F&&!M&&(F=function($){return!1}),ne.exports=F||function($){if(!$||"object"!=typeof $)return!1;try{if(M.call($,M),Y)try{Y.call($,Y)}catch{return!0}return $ instanceof le}catch{}return!1}},5028(ne,le,R){"use strict";var F=R(2521),M=R(840),Y=F("%WeakSet%",!0),Q=M("WeakSet.prototype.has",!0);if(Q){var $=M("WeakMap.prototype.has",!0);ne.exports=function(g){if(!g||"object"!=typeof g)return!1;try{if(Q(g,Q),$)try{$(g,$)}catch{return!0}return g instanceof Y}catch{}return!1}}else ne.exports=function(g){return!1}},7638(ne){var le={}.toString;ne.exports=Array.isArray||function(R){return"[object Array]"==le.call(R)}},3224(ne,le){var F;
/*!
      * jQuery JavaScript Library v3.7.1
      * https://jquery.com/
      *
      * Copyright OpenJS Foundation and other contributors
      * Released under the MIT license
      * https://jquery.org/license
      *
      * Date: 2023-08-28T13:37Z
      */!function(M,Y){"use strict";"object"==typeof ne.exports?ne.exports=M.document?Y(M,!0):function(Q){if(!Q.document)throw new Error("jQuery requires a window with a document");return Y(Q)}:Y(M)}(typeof window<"u"?window:this,function(M,Y){"use strict";var Q=[],$=Object.getPrototypeOf,y=Q.slice,g=Q.flat?function(u){return Q.flat.call(u)}:function(u){return Q.concat.apply([],u)},_=Q.push,E=Q.indexOf,A={},D=A.toString,z=A.hasOwnProperty,O=z.toString,K=O.call(Object),B={},q=function(f){return"function"==typeof f&&"number"!=typeof f.nodeType&&"function"!=typeof f.item},W=function(f){return null!=f&&f===f.window},X=M.document,he={type:!0,src:!0,nonce:!0,noModule:!0};function me(u,f,b){var T,H,V=(b=b||X).createElement("script");if(V.text=u,f)for(T in he)(H=f[T]||f.getAttribute&&f.getAttribute(T))&&V.setAttribute(T,H);b.head.appendChild(V).parentNode.removeChild(V)}function be(u){return null==u?u+"":"object"==typeof u||"function"==typeof u?A[D.call(u)]||"object":typeof u}var We=/HTML$/i,w=function(u,f){return new w.fn.init(u,f)};function qe(u){var f=!!u&&"length"in u&&u.length,b=be(u);return!q(u)&&!W(u)&&("array"===b||0===f||"number"==typeof f&&f>0&&f-1 in u)}function Ue(u,f){return u.nodeName&&u.nodeName.toLowerCase()===f.toLowerCase()}w.fn=w.prototype={jquery:"3.7.1",constructor:w,length:0,toArray:function(){return y.call(this)},get:function(u){return null==u?y.call(this):u<0?this[u+this.length]:this[u]},pushStack:function(u){var f=w.merge(this.constructor(),u);return f.prevObject=this,f},each:function(u){return w.each(this,u)},map:function(u){return this.pushStack(w.map(this,function(f,b){return u.call(f,b,f)}))},slice:function(){return this.pushStack(y.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(w.grep(this,function(u,f){return(f+1)%2}))},odd:function(){return this.pushStack(w.grep(this,function(u,f){return f%2}))},eq:function(u){var f=this.length,b=+u+(u<0?f:0);return this.pushStack(b>=0&&b<f?[this[b]]:[])},end:function(){return this.prevObject||this.constructor()},push:_,sort:Q.sort,splice:Q.splice},w.extend=w.fn.extend=function(){var u,f,b,T,H,V,j=arguments[0]||{},ae=1,oe=arguments.length,pe=!1;for("boolean"==typeof j&&(pe=j,j=arguments[ae]||{},ae++),"object"!=typeof j&&!q(j)&&(j={}),ae===oe&&(j=this,ae--);ae<oe;ae++)if(null!=(u=arguments[ae]))for(f in u)T=u[f],"__proto__"!==f&&j!==T&&(pe&&T&&(w.isPlainObject(T)||(H=Array.isArray(T)))?(b=j[f],V=H&&!Array.isArray(b)?[]:H||w.isPlainObject(b)?b:{},H=!1,j[f]=w.extend(pe,V,T)):void 0!==T&&(j[f]=T));return j},w.extend({expando:"jQuery"+("3.7.1"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(u){throw new Error(u)},noop:function(){},isPlainObject:function(u){var f,b;return!(!u||"[object Object]"!==D.call(u)||(f=$(u))&&("function"!=typeof(b=z.call(f,"constructor")&&f.constructor)||O.call(b)!==K))},isEmptyObject:function(u){var f;for(f in u)return!1;return!0},globalEval:function(u,f,b){me(u,{nonce:f&&f.nonce},b)},each:function(u,f){var b,T=0;if(qe(u))for(b=u.length;T<b&&!1!==f.call(u[T],T,u[T]);T++);else for(T in u)if(!1===f.call(u[T],T,u[T]))break;return u},text:function(u){var f,b="",T=0,H=u.nodeType;if(!H)for(;f=u[T++];)b+=w.text(f);return 1===H||11===H?u.textContent:9===H?u.documentElement.textContent:3===H||4===H?u.nodeValue:b},makeArray:function(u,f){var b=f||[];return null!=u&&(qe(Object(u))?w.merge(b,"string"==typeof u?[u]:u):_.call(b,u)),b},inArray:function(u,f,b){return null==f?-1:E.call(f,u,b)},isXMLDoc:function(u){var b=u&&(u.ownerDocument||u).documentElement;return!We.test(u&&u.namespaceURI||b&&b.nodeName||"HTML")},merge:function(u,f){for(var b=+f.length,T=0,H=u.length;T<b;T++)u[H++]=f[T];return u.length=H,u},grep:function(u,f,b){for(var H=[],V=0,j=u.length,ae=!b;V<j;V++)!f(u[V],V)!==ae&&H.push(u[V]);return H},map:function(u,f,b){var T,H,V=0,j=[];if(qe(u))for(T=u.length;V<T;V++)null!=(H=f(u[V],V,b))&&j.push(H);else for(V in u)null!=(H=f(u[V],V,b))&&j.push(H);return g(j)},guid:1,support:B}),"function"==typeof Symbol&&(w.fn[Symbol.iterator]=Q[Symbol.iterator]),w.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(u,f){A["[object "+f+"]"]=f.toLowerCase()});var Tt=Q.pop,Rt=Q.sort,vn=Q.splice,yt="[\\x20\\t\\r\\n\\f]",Vt=new RegExp("^"+yt+"+|((?:^|[^\\\\])(?:\\\\.)*)"+yt+"+$","g");w.contains=function(u,f){var b=f&&f.parentNode;return u===b||!(!b||1!==b.nodeType||!(u.contains?u.contains(b):u.compareDocumentPosition&&16&u.compareDocumentPosition(b)))};var jn=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function vr(u,f){return f?"\0"===u?"\ufffd":u.slice(0,-1)+"\\"+u.charCodeAt(u.length-1).toString(16)+" ":"\\"+u}w.escapeSelector=function(u){return(u+"").replace(jn,vr)};var Ei=X,vi=_;!function(){var u,f,b,T,H,j,ae,oe,pe,De,V=vi,Ne=w.expando,ye=0,Ze=0,fn=Hs(),Zn=Hs(),Dn=Hs(),jr=Hs(),oi=function(ee,fe){return ee===fe&&(H=!0),0},qa="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",vs="(?:\\\\[\\da-fA-F]{1,6}"+yt+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",Wn="\\["+yt+"*("+vs+")(?:"+yt+"*([*^$|!~]?=)"+yt+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+vs+"))|)"+yt+"*\\]",oa=":("+vs+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+Wn+")*)|.*)\\)|)",qn=new RegExp(yt+"+","g"),Sr=new RegExp("^"+yt+"*,"+yt+"*"),is=new RegExp("^"+yt+"*([>+~]|"+yt+")"+yt+"*"),Ft=new RegExp(yt+"|>"),aa=new RegExp(oa),U=new RegExp("^"+vs+"$"),wo={ID:new RegExp("^#("+vs+")"),CLASS:new RegExp("^\\.("+vs+")"),TAG:new RegExp("^("+vs+"|[*])"),ATTR:new RegExp("^"+Wn),PSEUDO:new RegExp("^"+oa),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+yt+"*(even|odd|(([+-]|)(\\d*)n|)"+yt+"*(?:([+-]|)"+yt+"*(\\d+)|))"+yt+"*\\)|)","i"),bool:new RegExp("^(?:"+qa+")$","i"),needsContext:new RegExp("^"+yt+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+yt+"*((?:-\\d)?\\d*)"+yt+"*\\)|)(?=[^-]|$)","i")},Rs=/^(?:input|select|textarea|button)$/i,rs=/^h\d$/i,So=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,r1=/[+~]/,Mo=new RegExp("\\\\[\\da-fA-F]{1,6}"+yt+"?|\\\\([^\\r\\n\\f])","g"),_s=function(ee,fe){var _e="0x"+ee.slice(1)-65536;return fe||(_e<0?String.fromCharCode(_e+65536):String.fromCharCode(_e>>10|55296,1023&_e|56320))},sa=function(){Vn()},_i=Bs(function(ee){return!0===ee.disabled&&Ue(ee,"fieldset")},{dir:"parentNode",next:"legend"});try{V.apply(Q=y.call(Ei.childNodes),Ei.childNodes)}catch{V={apply:function(fe,_e){vi.apply(fe,y.call(_e))},call:function(fe){vi.apply(fe,y.call(arguments,1))}}}function ai(ee,fe,_e,Te){var Le,ot,pt,Ot,mt,ln,Bt,qt=fe&&fe.ownerDocument,Pn=fe?fe.nodeType:9;if(_e=_e||[],"string"!=typeof ee||!ee||1!==Pn&&9!==Pn&&11!==Pn)return _e;if(!Te&&(Vn(fe),fe=fe||j,oe)){if(11!==Pn&&(mt=So.exec(ee)))if(Le=mt[1]){if(9===Pn){if(!(pt=fe.getElementById(Le)))return _e;if(pt.id===Le)return V.call(_e,pt),_e}else if(qt&&(pt=qt.getElementById(Le))&&ai.contains(fe,pt)&&pt.id===Le)return V.call(_e,pt),_e}else{if(mt[2])return V.apply(_e,fe.getElementsByTagName(ee)),_e;if((Le=mt[3])&&fe.getElementsByClassName)return V.apply(_e,fe.getElementsByClassName(Le)),_e}if(!(jr[ee+" "]||pe&&pe.test(ee))){if(Bt=ee,qt=fe,1===Pn&&(Ft.test(ee)||is.test(ee))){for(((qt=r1.test(ee)&&xa(fe.parentNode)||fe)!=fe||!B.scope)&&((Ot=fe.getAttribute("id"))?Ot=w.escapeSelector(Ot):fe.setAttribute("id",Ot=Ne)),ot=(ln=Vs(ee)).length;ot--;)ln[ot]=(Ot?"#"+Ot:":scope")+" "+ql(ln[ot]);Bt=ln.join(",")}try{return V.apply(_e,qt.querySelectorAll(Bt)),_e}catch{jr(ee,!0)}finally{Ot===Ne&&fe.removeAttribute("id")}}}return Yl(ee.replace(Vt,"$1"),fe,_e,Te)}function Hs(){var ee=[];return function fe(_e,Te){return ee.push(_e+" ")>f.cacheLength&&delete fe[ee.shift()],fe[_e+" "]=Te}}function Da(ee){return ee[Ne]=!0,ee}function sl(ee){var fe=j.createElement("fieldset");try{return!!ee(fe)}catch{return!1}finally{fe.parentNode&&fe.parentNode.removeChild(fe),fe=null}}function cu(ee){return function(fe){return Ue(fe,"input")&&fe.type===ee}}function ll(ee){return function(fe){return(Ue(fe,"input")||Ue(fe,"button"))&&fe.type===ee}}function Ul(ee){return function(fe){return"form"in fe?fe.parentNode&&!1===fe.disabled?"label"in fe?"label"in fe.parentNode?fe.parentNode.disabled===ee:fe.disabled===ee:fe.isDisabled===ee||fe.isDisabled!==!ee&&_i(fe)===ee:fe.disabled===ee:"label"in fe&&fe.disabled===ee}}function cl(ee){return Da(function(fe){return fe=+fe,Da(function(_e,Te){for(var Le,ot=ee([],_e.length,fe),pt=ot.length;pt--;)_e[Le=ot[pt]]&&(_e[Le]=!(Te[Le]=_e[Le]))})})}function xa(ee){return ee&&typeof ee.getElementsByTagName<"u"&&ee}function Vn(ee){var fe,_e=ee?ee.ownerDocument||ee:Ei;return _e==j||9!==_e.nodeType||!_e.documentElement||(ae=(j=_e).documentElement,oe=!w.isXMLDoc(j),De=ae.matches||ae.webkitMatchesSelector||ae.msMatchesSelector,ae.msMatchesSelector&&Ei!=j&&(fe=j.defaultView)&&fe.top!==fe&&fe.addEventListener("unload",sa),B.getById=sl(function(Te){return ae.appendChild(Te).id=w.expando,!j.getElementsByName||!j.getElementsByName(w.expando).length}),B.disconnectedMatch=sl(function(Te){return De.call(Te,"*")}),B.scope=sl(function(){return j.querySelectorAll(":scope")}),B.cssHas=sl(function(){try{return j.querySelector(":has(*,:jqfake)"),!1}catch{return!0}}),B.getById?(f.filter.ID=function(Te){var Le=Te.replace(Mo,_s);return function(ot){return ot.getAttribute("id")===Le}},f.find.ID=function(Te,Le){if(typeof Le.getElementById<"u"&&oe){var ot=Le.getElementById(Te);return ot?[ot]:[]}}):(f.filter.ID=function(Te){var Le=Te.replace(Mo,_s);return function(ot){var pt=typeof ot.getAttributeNode<"u"&&ot.getAttributeNode("id");return pt&&pt.value===Le}},f.find.ID=function(Te,Le){if(typeof Le.getElementById<"u"&&oe){var ot,pt,Ot,mt=Le.getElementById(Te);if(mt){if((ot=mt.getAttributeNode("id"))&&ot.value===Te)return[mt];for(Ot=Le.getElementsByName(Te),pt=0;mt=Ot[pt++];)if((ot=mt.getAttributeNode("id"))&&ot.value===Te)return[mt]}return[]}}),f.find.TAG=function(Te,Le){return typeof Le.getElementsByTagName<"u"?Le.getElementsByTagName(Te):Le.querySelectorAll(Te)},f.find.CLASS=function(Te,Le){if(typeof Le.getElementsByClassName<"u"&&oe)return Le.getElementsByClassName(Te)},pe=[],sl(function(Te){var Le;ae.appendChild(Te).innerHTML="<a id='"+Ne+"' href='' disabled='disabled'></a><select id='"+Ne+"-\r\\' disabled='disabled'><option selected=''></option></select>",Te.querySelectorAll("[selected]").length||pe.push("\\["+yt+"*(?:value|"+qa+")"),Te.querySelectorAll("[id~="+Ne+"-]").length||pe.push("~="),Te.querySelectorAll("a#"+Ne+"+*").length||pe.push(".#.+[+~]"),Te.querySelectorAll(":checked").length||pe.push(":checked"),(Le=j.createElement("input")).setAttribute("type","hidden"),Te.appendChild(Le).setAttribute("name","D"),ae.appendChild(Te).disabled=!0,2!==Te.querySelectorAll(":disabled").length&&pe.push(":enabled",":disabled"),(Le=j.createElement("input")).setAttribute("name",""),Te.appendChild(Le),Te.querySelectorAll("[name='']").length||pe.push("\\["+yt+"*name"+yt+"*="+yt+"*(?:''|\"\")")}),B.cssHas||pe.push(":has"),pe=pe.length&&new RegExp(pe.join("|")),oi=function(Te,Le){if(Te===Le)return H=!0,0;var ot=!Te.compareDocumentPosition-!Le.compareDocumentPosition;return ot||(1&(ot=(Te.ownerDocument||Te)==(Le.ownerDocument||Le)?Te.compareDocumentPosition(Le):1)||!B.sortDetached&&Le.compareDocumentPosition(Te)===ot?Te===j||Te.ownerDocument==Ei&&ai.contains(Ei,Te)?-1:Le===j||Le.ownerDocument==Ei&&ai.contains(Ei,Le)?1:T?E.call(T,Te)-E.call(T,Le):0:4&ot?-1:1)}),j}for(u in ai.matches=function(ee,fe){return ai(ee,null,null,fe)},ai.matchesSelector=function(ee,fe){if(Vn(ee),oe&&!jr[fe+" "]&&(!pe||!pe.test(fe)))try{var _e=De.call(ee,fe);if(_e||B.disconnectedMatch||ee.document&&11!==ee.document.nodeType)return _e}catch{jr(fe,!0)}return ai(fe,j,null,[ee]).length>0},ai.contains=function(ee,fe){return(ee.ownerDocument||ee)!=j&&Vn(ee),w.contains(ee,fe)},ai.attr=function(ee,fe){(ee.ownerDocument||ee)!=j&&Vn(ee);var _e=f.attrHandle[fe.toLowerCase()],Te=_e&&z.call(f.attrHandle,fe.toLowerCase())?_e(ee,fe,!oe):void 0;return void 0!==Te?Te:ee.getAttribute(fe)},ai.error=function(ee){throw new Error("Syntax error, unrecognized expression: "+ee)},w.uniqueSort=function(ee){var fe,_e=[],Te=0,Le=0;if(H=!B.sortStable,T=!B.sortStable&&y.call(ee,0),Rt.call(ee,oi),H){for(;fe=ee[Le++];)fe===ee[Le]&&(Te=_e.push(Le));for(;Te--;)vn.call(ee,_e[Te],1)}return T=null,ee},w.fn.uniqueSort=function(){return this.pushStack(w.uniqueSort(y.apply(this)))},(f=w.expr={cacheLength:50,createPseudo:Da,match:wo,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(ee){return ee[1]=ee[1].replace(Mo,_s),ee[3]=(ee[3]||ee[4]||ee[5]||"").replace(Mo,_s),"~="===ee[2]&&(ee[3]=" "+ee[3]+" "),ee.slice(0,4)},CHILD:function(ee){return ee[1]=ee[1].toLowerCase(),"nth"===ee[1].slice(0,3)?(ee[3]||ai.error(ee[0]),ee[4]=+(ee[4]?ee[5]+(ee[6]||1):2*("even"===ee[3]||"odd"===ee[3])),ee[5]=+(ee[7]+ee[8]||"odd"===ee[3])):ee[3]&&ai.error(ee[0]),ee},PSEUDO:function(ee){var fe,_e=!ee[6]&&ee[2];return wo.CHILD.test(ee[0])?null:(ee[3]?ee[2]=ee[4]||ee[5]||"":_e&&aa.test(_e)&&(fe=Vs(_e,!0))&&(fe=_e.indexOf(")",_e.length-fe)-_e.length)&&(ee[0]=ee[0].slice(0,fe),ee[2]=_e.slice(0,fe)),ee.slice(0,3))}},filter:{TAG:function(ee){var fe=ee.replace(Mo,_s).toLowerCase();return"*"===ee?function(){return!0}:function(_e){return Ue(_e,fe)}},CLASS:function(ee){var fe=fn[ee+" "];return fe||(fe=new RegExp("(^|"+yt+")"+ee+"("+yt+"|$)"))&&fn(ee,function(_e){return fe.test("string"==typeof _e.className&&_e.className||typeof _e.getAttribute<"u"&&_e.getAttribute("class")||"")})},ATTR:function(ee,fe,_e){return function(Te){var Le=ai.attr(Te,ee);return null==Le?"!="===fe:!fe||(Le+="","="===fe?Le===_e:"!="===fe?Le!==_e:"^="===fe?_e&&0===Le.indexOf(_e):"*="===fe?_e&&Le.indexOf(_e)>-1:"$="===fe?_e&&Le.slice(-_e.length)===_e:"~="===fe?(" "+Le.replace(qn," ")+" ").indexOf(_e)>-1:"|="===fe&&(Le===_e||Le.slice(0,_e.length+1)===_e+"-"))}},CHILD:function(ee,fe,_e,Te,Le){var ot="nth"!==ee.slice(0,3),pt="last"!==ee.slice(-4),Ot="of-type"===fe;return 1===Te&&0===Le?function(mt){return!!mt.parentNode}:function(mt,ln,Bt){var qt,Pn,Ut,yi,Po,to=ot!==pt?"nextSibling":"previousSibling",To=mt.parentNode,Ti=Ot&&mt.nodeName.toLowerCase(),Ia=!Bt&&!Ot,mo=!1;if(To){if(ot){for(;to;){for(Ut=mt;Ut=Ut[to];)if(Ot?Ue(Ut,Ti):1===Ut.nodeType)return!1;Po=to="only"===ee&&!Po&&"nextSibling"}return!0}if(Po=[pt?To.firstChild:To.lastChild],pt&&Ia){for(mo=(yi=(qt=(Pn=To[Ne]||(To[Ne]={}))[ee]||[])[0]===ye&&qt[1])&&qt[2],Ut=yi&&To.childNodes[yi];Ut=++yi&&Ut&&Ut[to]||(mo=yi=0)||Po.pop();)if(1===Ut.nodeType&&++mo&&Ut===mt){Pn[ee]=[ye,yi,mo];break}}else if(Ia&&(mo=yi=(qt=(Pn=mt[Ne]||(mt[Ne]={}))[ee]||[])[0]===ye&&qt[1]),!1===mo)for(;(Ut=++yi&&Ut&&Ut[to]||(mo=yi=0)||Po.pop())&&(!(Ot?Ue(Ut,Ti):1===Ut.nodeType)||!++mo||(Ia&&((Pn=Ut[Ne]||(Ut[Ne]={}))[ee]=[ye,mo]),Ut!==mt)););return(mo-=Le)===Te||mo%Te===0&&mo/Te>=0}}},PSEUDO:function(ee,fe){var _e,Te=f.pseudos[ee]||f.setFilters[ee.toLowerCase()]||ai.error("unsupported pseudo: "+ee);return Te[Ne]?Te(fe):Te.length>1?(_e=[ee,ee,"",fe],f.setFilters.hasOwnProperty(ee.toLowerCase())?Da(function(Le,ot){for(var pt,Ot=Te(Le,fe),mt=Ot.length;mt--;)Le[pt=E.call(Le,Ot[mt])]=!(ot[pt]=Ot[mt])}):function(Le){return Te(Le,0,_e)}):Te}},pseudos:{not:Da(function(ee){var fe=[],_e=[],Te=Us(ee.replace(Vt,"$1"));return Te[Ne]?Da(function(Le,ot,pt,Ot){for(var mt,ln=Te(Le,null,Ot,[]),Bt=Le.length;Bt--;)(mt=ln[Bt])&&(Le[Bt]=!(ot[Bt]=mt))}):function(Le,ot,pt){return fe[0]=Le,Te(fe,null,pt,_e),fe[0]=null,!_e.pop()}}),has:Da(function(ee){return function(fe){return ai(ee,fe).length>0}}),contains:Da(function(ee){return ee=ee.replace(Mo,_s),function(fe){return(fe.textContent||w.text(fe)).indexOf(ee)>-1}}),lang:Da(function(ee){return U.test(ee||"")||ai.error("unsupported lang: "+ee),ee=ee.replace(Mo,_s).toLowerCase(),function(fe){var _e;do{if(_e=oe?fe.lang:fe.getAttribute("xml:lang")||fe.getAttribute("lang"))return(_e=_e.toLowerCase())===ee||0===_e.indexOf(ee+"-")}while((fe=fe.parentNode)&&1===fe.nodeType);return!1}}),target:function(ee){var fe=M.location&&M.location.hash;return fe&&fe.slice(1)===ee.id},root:function(ee){return ee===ae},focus:function(ee){return ee===function T0(){try{return j.activeElement}catch{}}()&&j.hasFocus()&&!!(ee.type||ee.href||~ee.tabIndex)},enabled:Ul(!1),disabled:Ul(!0),checked:function(ee){return Ue(ee,"input")&&!!ee.checked||Ue(ee,"option")&&!!ee.selected},selected:function(ee){return!0===ee.selected},empty:function(ee){for(ee=ee.firstChild;ee;ee=ee.nextSibling)if(ee.nodeType<6)return!1;return!0},parent:function(ee){return!f.pseudos.empty(ee)},header:function(ee){return rs.test(ee.nodeName)},input:function(ee){return Rs.test(ee.nodeName)},button:function(ee){return Ue(ee,"input")&&"button"===ee.type||Ue(ee,"button")},text:function(ee){var fe;return Ue(ee,"input")&&"text"===ee.type&&(null==(fe=ee.getAttribute("type"))||"text"===fe.toLowerCase())},first:cl(function(){return[0]}),last:cl(function(ee,fe){return[fe-1]}),eq:cl(function(ee,fe,_e){return[_e<0?_e+fe:_e]}),even:cl(function(ee,fe){for(var _e=0;_e<fe;_e+=2)ee.push(_e);return ee}),odd:cl(function(ee,fe){for(var _e=1;_e<fe;_e+=2)ee.push(_e);return ee}),lt:cl(function(ee,fe,_e){var Te;for(Te=_e<0?_e+fe:_e>fe?fe:_e;--Te>=0;)ee.push(Te);return ee}),gt:cl(function(ee,fe,_e){for(var Te=_e<0?_e+fe:_e;++Te<fe;)ee.push(Te);return ee})}}).pseudos.nth=f.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})f.pseudos[u]=cu(u);for(u in{submit:!0,reset:!0})f.pseudos[u]=ll(u);function ka(){}function Vs(ee,fe){var _e,Te,Le,ot,pt,Ot,mt,ln=Zn[ee+" "];if(ln)return fe?0:ln.slice(0);for(pt=ee,Ot=[],mt=f.preFilter;pt;){for(ot in(!_e||(Te=Sr.exec(pt)))&&(Te&&(pt=pt.slice(Te[0].length)||pt),Ot.push(Le=[])),_e=!1,(Te=is.exec(pt))&&(_e=Te.shift(),Le.push({value:_e,type:Te[0].replace(Vt," ")}),pt=pt.slice(_e.length)),f.filter)(Te=wo[ot].exec(pt))&&(!mt[ot]||(Te=mt[ot](Te)))&&(_e=Te.shift(),Le.push({value:_e,type:ot,matches:Te}),pt=pt.slice(_e.length));if(!_e)break}return fe?pt.length:pt?ai.error(ee):Zn(ee,Ot).slice(0)}function ql(ee){for(var fe=0,_e=ee.length,Te="";fe<_e;fe++)Te+=ee[fe].value;return Te}function Bs(ee,fe,_e){var Te=fe.dir,Le=fe.next,ot=Le||Te,pt=_e&&"parentNode"===ot,Ot=Ze++;return fe.first?function(mt,ln,Bt){for(;mt=mt[Te];)if(1===mt.nodeType||pt)return ee(mt,ln,Bt);return!1}:function(mt,ln,Bt){var qt,Pn,Ut=[ye,Ot];if(Bt){for(;mt=mt[Te];)if((1===mt.nodeType||pt)&&ee(mt,ln,Bt))return!0}else for(;mt=mt[Te];)if(1===mt.nodeType||pt)if(Pn=mt[Ne]||(mt[Ne]={}),Le&&Ue(mt,Le))mt=mt[Te]||mt;else{if((qt=Pn[ot])&&qt[0]===ye&&qt[1]===Ot)return Ut[2]=qt[2];if(Pn[ot]=Ut,Ut[2]=ee(mt,ln,Bt))return!0}return!1}}function Ea(ee){return ee.length>1?function(fe,_e,Te){for(var Le=ee.length;Le--;)if(!ee[Le](fe,_e,Te))return!1;return!0}:ee[0]}function Gn(ee,fe,_e,Te,Le){for(var ot,pt=[],Ot=0,mt=ee.length,ln=null!=fe;Ot<mt;Ot++)(ot=ee[Ot])&&(!_e||_e(ot,Te,Le))&&(pt.push(ot),ln&&fe.push(Ot));return pt}function uu(ee,fe,_e,Te,Le,ot){return Te&&!Te[Ne]&&(Te=uu(Te)),Le&&!Le[Ne]&&(Le=uu(Le,ot)),Da(function(pt,Ot,mt,ln){var Bt,qt,Pn,Ut,yi=[],Po=[],to=Ot.length,To=pt||function Ec(ee,fe,_e){for(var Te=0,Le=fe.length;Te<Le;Te++)ai(ee,fe[Te],_e);return _e}(fe||"*",mt.nodeType?[mt]:mt,[]),Ti=!ee||!pt&&fe?To:Gn(To,yi,ee,mt,ln);if(_e?_e(Ti,Ut=Le||(pt?ee:to||Te)?[]:Ot,mt,ln):Ut=Ti,Te)for(Bt=Gn(Ut,Po),Te(Bt,[],mt,ln),qt=Bt.length;qt--;)(Pn=Bt[qt])&&(Ut[Po[qt]]=!(Ti[Po[qt]]=Pn));if(pt){if(Le||ee){if(Le){for(Bt=[],qt=Ut.length;qt--;)(Pn=Ut[qt])&&Bt.push(Ti[qt]=Pn);Le(null,Ut=[],Bt,ln)}for(qt=Ut.length;qt--;)(Pn=Ut[qt])&&(Bt=Le?E.call(pt,Pn):yi[qt])>-1&&(pt[Bt]=!(Ot[Bt]=Pn))}}else Ut=Gn(Ut===Ot?Ut.splice(to,Ut.length):Ut),Le?Le(null,Ot,Ut,ln):V.apply(Ot,Ut)})}function po(ee){for(var fe,_e,Te,Le=ee.length,ot=f.relative[ee[0].type],pt=ot||f.relative[" "],Ot=ot?1:0,mt=Bs(function(qt){return qt===fe},pt,!0),ln=Bs(function(qt){return E.call(fe,qt)>-1},pt,!0),Bt=[function(qt,Pn,Ut){var yi=!ot&&(Ut||Pn!=b)||((fe=Pn).nodeType?mt(qt,Pn,Ut):ln(qt,Pn,Ut));return fe=null,yi}];Ot<Le;Ot++)if(_e=f.relative[ee[Ot].type])Bt=[Bs(Ea(Bt),_e)];else{if((_e=f.filter[ee[Ot].type].apply(null,ee[Ot].matches))[Ne]){for(Te=++Ot;Te<Le&&!f.relative[ee[Te].type];Te++);return uu(Ot>1&&Ea(Bt),Ot>1&&ql(ee.slice(0,Ot-1).concat({value:" "===ee[Ot-2].type?"*":""})).replace(Vt,"$1"),_e,Ot<Te&&po(ee.slice(Ot,Te)),Te<Le&&po(ee=ee.slice(Te)),Te<Le&&ql(ee))}Bt.push(_e)}return Ea(Bt)}function Us(ee,fe){var _e,Te=[],Le=[],ot=Dn[ee+" "];if(!ot){for(fe||(fe=Vs(ee)),_e=fe.length;_e--;)(ot=po(fe[_e]))[Ne]?Te.push(ot):Le.push(ot);ot=Dn(ee,function Ya(ee,fe){var _e=fe.length>0,Te=ee.length>0,Le=function(ot,pt,Ot,mt,ln){var Bt,qt,Pn,Ut=0,yi="0",Po=ot&&[],to=[],To=b,Ti=ot||Te&&f.find.TAG("*",ln),Ia=ye+=null==To?1:Math.random()||.1,mo=Ti.length;for(ln&&(b=pt==j||pt||ln);yi!==mo&&null!=(Bt=Ti[yi]);yi++){if(Te&&Bt){for(qt=0,!pt&&Bt.ownerDocument!=j&&(Vn(Bt),Ot=!oe);Pn=ee[qt++];)if(Pn(Bt,pt||j,Ot)){V.call(mt,Bt);break}ln&&(ye=Ia)}_e&&((Bt=!Pn&&Bt)&&Ut--,ot&&Po.push(Bt))}if(Ut+=yi,_e&&yi!==Ut){for(qt=0;Pn=fe[qt++];)Pn(Po,to,pt,Ot);if(ot){if(Ut>0)for(;yi--;)Po[yi]||to[yi]||(to[yi]=Tt.call(mt));to=Gn(to)}V.apply(mt,to),ln&&!ot&&to.length>0&&Ut+fe.length>1&&w.uniqueSort(mt)}return ln&&(ye=Ia,b=To),Po};return _e?Da(Le):Le}(Le,Te)),ot.selector=ee}return ot}function Yl(ee,fe,_e,Te){var Le,ot,pt,Ot,mt,ln="function"==typeof ee&&ee,Bt=!Te&&Vs(ee=ln.selector||ee);if(_e=_e||[],1===Bt.length){if((ot=Bt[0]=Bt[0].slice(0)).length>2&&"ID"===(pt=ot[0]).type&&9===fe.nodeType&&oe&&f.relative[ot[1].type]){if(!(fe=(f.find.ID(pt.matches[0].replace(Mo,_s),fe)||[])[0]))return _e;ln&&(fe=fe.parentNode),ee=ee.slice(ot.shift().value.length)}for(Le=wo.needsContext.test(ee)?0:ot.length;Le--&&!f.relative[Ot=(pt=ot[Le]).type];)if((mt=f.find[Ot])&&(Te=mt(pt.matches[0].replace(Mo,_s),r1.test(ot[0].type)&&xa(fe.parentNode)||fe))){if(ot.splice(Le,1),!(ee=Te.length&&ql(ot)))return V.apply(_e,Te),_e;break}}return(ln||Us(ee,Bt))(Te,fe,!oe,_e,!fe||r1.test(ee)&&xa(fe.parentNode)||fe),_e}ka.prototype=f.filters=f.pseudos,f.setFilters=new ka,B.sortStable=Ne.split("").sort(oi).join("")===Ne,Vn(),B.sortDetached=sl(function(ee){return 1&ee.compareDocumentPosition(j.createElement("fieldset"))}),w.find=ai,w.expr[":"]=w.expr.pseudos,w.unique=w.uniqueSort,ai.compile=Us,ai.select=Yl,ai.setDocument=Vn,ai.tokenize=Vs,ai.escape=w.escapeSelector,ai.getText=w.text,ai.isXML=w.isXMLDoc,ai.selectors=w.expr,ai.support=w.support,ai.uniqueSort=w.uniqueSort}();var Ln=function(u,f,b){for(var T=[],H=void 0!==b;(u=u[f])&&9!==u.nodeType;)if(1===u.nodeType){if(H&&w(u).is(b))break;T.push(u)}return T},Pi=function(u,f){for(var b=[];u;u=u.nextSibling)1===u.nodeType&&u!==f&&b.push(u);return b},rt=w.expr.match.needsContext,kt=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function Ee(u,f,b){return q(f)?w.grep(u,function(T,H){return!!f.call(T,H,T)!==b}):f.nodeType?w.grep(u,function(T){return T===f!==b}):"string"!=typeof f?w.grep(u,function(T){return E.call(f,T)>-1!==b}):w.filter(f,u,b)}w.filter=function(u,f,b){var T=f[0];return b&&(u=":not("+u+")"),1===f.length&&1===T.nodeType?w.find.matchesSelector(T,u)?[T]:[]:w.find.matches(u,w.grep(f,function(H){return 1===H.nodeType}))},w.fn.extend({find:function(u){var f,b,T=this.length,H=this;if("string"!=typeof u)return this.pushStack(w(u).filter(function(){for(f=0;f<T;f++)if(w.contains(H[f],this))return!0}));for(b=this.pushStack([]),f=0;f<T;f++)w.find(u,H[f],b);return T>1?w.uniqueSort(b):b},filter:function(u){return this.pushStack(Ee(this,u||[],!1))},not:function(u){return this.pushStack(Ee(this,u||[],!0))},is:function(u){return!!Ee(this,"string"==typeof u&&rt.test(u)?w(u):u||[],!1).length}});var Se,Ye=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,Ct=w.fn.init=function(u,f,b){var T,H;if(!u)return this;if(b=b||Se,"string"==typeof u){if(!(T="<"===u[0]&&">"===u[u.length-1]&&u.length>=3?[null,u,null]:Ye.exec(u))||!T[1]&&f)return!f||f.jquery?(f||b).find(u):this.constructor(f).find(u);if(T[1]){if(w.merge(this,w.parseHTML(T[1],(f=f instanceof w?f[0]:f)&&f.nodeType?f.ownerDocument||f:X,!0)),kt.test(T[1])&&w.isPlainObject(f))for(T in f)q(this[T])?this[T](f[T]):this.attr(T,f[T]);return this}return(H=X.getElementById(T[2]))&&(this[0]=H,this.length=1),this}return u.nodeType?(this[0]=u,this.length=1,this):q(u)?void 0!==b.ready?b.ready(u):u(w):w.makeArray(u,this)};Ct.prototype=w.fn,Se=w(X);var Qt=/^(?:parents|prev(?:Until|All))/,cn={children:!0,contents:!0,next:!0,prev:!0};function Fn(u,f){for(;(u=u[f])&&1!==u.nodeType;);return u}w.fn.extend({has:function(u){var f=w(u,this),b=f.length;return this.filter(function(){for(var T=0;T<b;T++)if(w.contains(this,f[T]))return!0})},closest:function(u,f){var b,T=0,H=this.length,V=[],j="string"!=typeof u&&w(u);if(!rt.test(u))for(;T<H;T++)for(b=this[T];b&&b!==f;b=b.parentNode)if(b.nodeType<11&&(j?j.index(b)>-1:1===b.nodeType&&w.find.matchesSelector(b,u))){V.push(b);break}return this.pushStack(V.length>1?w.uniqueSort(V):V)},index:function(u){return u?"string"==typeof u?E.call(w(u),this[0]):E.call(this,u.jquery?u[0]:u):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(u,f){return this.pushStack(w.uniqueSort(w.merge(this.get(),w(u,f))))},addBack:function(u){return this.add(null==u?this.prevObject:this.prevObject.filter(u))}}),w.each({parent:function(u){var f=u.parentNode;return f&&11!==f.nodeType?f:null},parents:function(u){return Ln(u,"parentNode")},parentsUntil:function(u,f,b){return Ln(u,"parentNode",b)},next:function(u){return Fn(u,"nextSibling")},prev:function(u){return Fn(u,"previousSibling")},nextAll:function(u){return Ln(u,"nextSibling")},prevAll:function(u){return Ln(u,"previousSibling")},nextUntil:function(u,f,b){return Ln(u,"nextSibling",b)},prevUntil:function(u,f,b){return Ln(u,"previousSibling",b)},siblings:function(u){return Pi((u.parentNode||{}).firstChild,u)},children:function(u){return Pi(u.firstChild)},contents:function(u){return null!=u.contentDocument&&$(u.contentDocument)?u.contentDocument:(Ue(u,"template")&&(u=u.content||u),w.merge([],u.childNodes))}},function(u,f){w.fn[u]=function(b,T){var H=w.map(this,f,b);return"Until"!==u.slice(-5)&&(T=b),T&&"string"==typeof T&&(H=w.filter(T,H)),this.length>1&&(cn[u]||w.uniqueSort(H),Qt.test(u)&&H.reverse()),this.pushStack(H)}});var It=/[^\x20\t\r\n\f]+/g;function Mt(u){return u}function _n(u){throw u}function Ni(u,f,b,T){var H;try{u&&q(H=u.promise)?H.call(u).done(f).fail(b):u&&q(H=u.then)?H.call(u,f,b):f.apply(void 0,[u].slice(T))}catch(V){b.apply(void 0,[V])}}w.Callbacks=function(u){u="string"==typeof u?function un(u){var f={};return w.each(u.match(It)||[],function(b,T){f[T]=!0}),f}(u):w.extend({},u);var f,b,T,H,V=[],j=[],ae=-1,oe=function(){for(H=H||u.once,T=f=!0;j.length;ae=-1)for(b=j.shift();++ae<V.length;)!1===V[ae].apply(b[0],b[1])&&u.stopOnFalse&&(ae=V.length,b=!1);u.memory||(b=!1),f=!1,H&&(V=b?[]:"")},pe={add:function(){return V&&(b&&!f&&(ae=V.length-1,j.push(b)),function De(Ne){w.each(Ne,function(ye,Ze){q(Ze)?(!u.unique||!pe.has(Ze))&&V.push(Ze):Ze&&Ze.length&&"string"!==be(Ze)&&De(Ze)})}(arguments),b&&!f&&oe()),this},remove:function(){return w.each(arguments,function(De,Ne){for(var ye;(ye=w.inArray(Ne,V,ye))>-1;)V.splice(ye,1),ye<=ae&&ae--}),this},has:function(De){return De?w.inArray(De,V)>-1:V.length>0},empty:function(){return V&&(V=[]),this},disable:function(){return H=j=[],V=b="",this},disabled:function(){return!V},lock:function(){return H=j=[],!b&&!f&&(V=b=""),this},locked:function(){return!!H},fireWith:function(De,Ne){return H||(Ne=[De,(Ne=Ne||[]).slice?Ne.slice():Ne],j.push(Ne),f||oe()),this},fire:function(){return pe.fireWith(this,arguments),this},fired:function(){return!!T}};return pe},w.extend({Deferred:function(u){var f=[["notify","progress",w.Callbacks("memory"),w.Callbacks("memory"),2],["resolve","done",w.Callbacks("once memory"),w.Callbacks("once memory"),0,"resolved"],["reject","fail",w.Callbacks("once memory"),w.Callbacks("once memory"),1,"rejected"]],b="pending",T={state:function(){return b},always:function(){return H.done(arguments).fail(arguments),this},catch:function(V){return T.then(null,V)},pipe:function(){var V=arguments;return w.Deferred(function(j){w.each(f,function(ae,oe){var pe=q(V[oe[4]])&&V[oe[4]];H[oe[1]](function(){var De=pe&&pe.apply(this,arguments);De&&q(De.promise)?De.promise().progress(j.notify).done(j.resolve).fail(j.reject):j[oe[0]+"With"](this,pe?[De]:arguments)})}),V=null}).promise()},then:function(V,j,ae){var oe=0;function pe(De,Ne,ye,Ze){return function(){var fn=this,Zn=arguments,Dn=function(){var oi,qa;if(!(De<oe)){if((oi=ye.apply(fn,Zn))===Ne.promise())throw new TypeError("Thenable self-resolution");q(qa=oi&&("object"==typeof oi||"function"==typeof oi)&&oi.then)?Ze?qa.call(oi,pe(oe,Ne,Mt,Ze),pe(oe,Ne,_n,Ze)):(oe++,qa.call(oi,pe(oe,Ne,Mt,Ze),pe(oe,Ne,_n,Ze),pe(oe,Ne,Mt,Ne.notifyWith))):(ye!==Mt&&(fn=void 0,Zn=[oi]),(Ze||Ne.resolveWith)(fn,Zn))}},jr=Ze?Dn:function(){try{Dn()}catch(oi){w.Deferred.exceptionHook&&w.Deferred.exceptionHook(oi,jr.error),De+1>=oe&&(ye!==_n&&(fn=void 0,Zn=[oi]),Ne.rejectWith(fn,Zn))}};De?jr():(w.Deferred.getErrorHook?jr.error=w.Deferred.getErrorHook():w.Deferred.getStackHook&&(jr.error=w.Deferred.getStackHook()),M.setTimeout(jr))}}return w.Deferred(function(De){f[0][3].add(pe(0,De,q(ae)?ae:Mt,De.notifyWith)),f[1][3].add(pe(0,De,q(V)?V:Mt)),f[2][3].add(pe(0,De,q(j)?j:_n))}).promise()},promise:function(V){return null!=V?w.extend(V,T):T}},H={};return w.each(f,function(V,j){var ae=j[2],oe=j[5];T[j[1]]=ae.add,oe&&ae.add(function(){b=oe},f[3-V][2].disable,f[3-V][3].disable,f[0][2].lock,f[0][3].lock),ae.add(j[3].fire),H[j[0]]=function(){return H[j[0]+"With"](this===H?void 0:this,arguments),this},H[j[0]+"With"]=ae.fireWith}),T.promise(H),u&&u.call(H,H),H},when:function(u){var f=arguments.length,b=f,T=Array(b),H=y.call(arguments),V=w.Deferred(),j=function(ae){return function(oe){T[ae]=this,H[ae]=arguments.length>1?y.call(arguments):oe,--f||V.resolveWith(T,H)}};if(f<=1&&(Ni(u,V.done(j(b)).resolve,V.reject,!f),"pending"===V.state()||q(H[b]&&H[b].then)))return V.then();for(;b--;)Ni(H[b],j(b),V.reject);return V.promise()}});var Ir=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;w.Deferred.exceptionHook=function(u,f){M.console&&M.console.warn&&u&&Ir.test(u.name)&&M.console.warn("jQuery.Deferred exception: "+u.message,u.stack,f)},w.readyException=function(u){M.setTimeout(function(){throw u})};var _r=w.Deferred();function yr(){X.removeEventListener("DOMContentLoaded",yr),M.removeEventListener("load",yr),w.ready()}w.fn.ready=function(u){return _r.then(u).catch(function(f){w.readyException(f)}),this},w.extend({isReady:!1,readyWait:1,ready:function(u){(!0===u?--w.readyWait:w.isReady)||(w.isReady=!0,!(!0!==u&&--w.readyWait>0)&&_r.resolveWith(X,[w]))}}),w.ready.then=_r.then,"complete"===X.readyState||"loading"!==X.readyState&&!X.documentElement.doScroll?M.setTimeout(w.ready):(X.addEventListener("DOMContentLoaded",yr),M.addEventListener("load",yr));var ri=function(u,f,b,T,H,V,j){var ae=0,oe=u.length,pe=null==b;if("object"===be(b))for(ae in H=!0,b)ri(u,f,ae,b[ae],!0,V,j);else if(void 0!==T&&(H=!0,q(T)||(j=!0),pe&&(j?(f.call(u,T),f=null):(pe=f,f=function(De,Ne,ye){return pe.call(w(De),ye)})),f))for(;ae<oe;ae++)f(u[ae],b,j?T:T.call(u[ae],ae,f(u[ae],b)));return H?u:pe?f.call(u):oe?f(u[0],b):V},Ii=/^-ms-/,ur=/-([a-z])/g;function Hr(u,f){return f.toUpperCase()}function zr(u){return u.replace(Ii,"ms-").replace(ur,Hr)}var zt=function(u){return 1===u.nodeType||9===u.nodeType||!+u.nodeType};function ho(){this.expando=w.expando+ho.uid++}ho.uid=1,ho.prototype={cache:function(u){var f=u[this.expando];return f||(f={},zt(u)&&(u.nodeType?u[this.expando]=f:Object.defineProperty(u,this.expando,{value:f,configurable:!0}))),f},set:function(u,f,b){var T,H=this.cache(u);if("string"==typeof f)H[zr(f)]=b;else for(T in f)H[zr(T)]=f[T];return H},get:function(u,f){return void 0===f?this.cache(u):u[this.expando]&&u[this.expando][zr(f)]},access:function(u,f,b){return void 0===f||f&&"string"==typeof f&&void 0===b?this.get(u,f):(this.set(u,f,b),void 0!==b?b:f)},remove:function(u,f){var b,T=u[this.expando];if(void 0!==T){if(void 0!==f)for((b=(f=Array.isArray(f)?f.map(zr):(f=zr(f))in T?[f]:f.match(It)||[]).length);b--;)delete T[f[b]];(void 0===f||w.isEmptyObject(T))&&(u.nodeType?u[this.expando]=void 0:delete u[this.expando])}},hasData:function(u){var f=u[this.expando];return void 0!==f&&!w.isEmptyObject(f)}};var wt=new ho,Rn=new ho,vt=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Jo=/[A-Z]/g;function Os(u,f,b){var T;if(void 0===b&&1===u.nodeType)if(T="data-"+f.replace(Jo,"-$&").toLowerCase(),"string"==typeof(b=u.getAttribute(T))){try{b=function Uo(u){return"true"===u||"false"!==u&&("null"===u?null:u===+u+""?+u:vt.test(u)?JSON.parse(u):u)}(b)}catch{}Rn.set(u,f,b)}else b=void 0;return b}w.extend({hasData:function(u){return Rn.hasData(u)||wt.hasData(u)},data:function(u,f,b){return Rn.access(u,f,b)},removeData:function(u,f){Rn.remove(u,f)},_data:function(u,f,b){return wt.access(u,f,b)},_removeData:function(u,f){wt.remove(u,f)}}),w.fn.extend({data:function(u,f){var b,T,H,V=this[0],j=V&&V.attributes;if(void 0===u){if(this.length&&(H=Rn.get(V),1===V.nodeType&&!wt.get(V,"hasDataAttrs"))){for(b=j.length;b--;)j[b]&&0===(T=j[b].name).indexOf("data-")&&(T=zr(T.slice(5)),Os(V,T,H[T]));wt.set(V,"hasDataAttrs",!0)}return H}return"object"==typeof u?this.each(function(){Rn.set(this,u)}):ri(this,function(ae){var oe;if(V&&void 0===ae)return void 0!==(oe=Rn.get(V,u))||void 0!==(oe=Os(V,u))?oe:void 0;this.each(function(){Rn.set(this,u,ae)})},null,f,arguments.length>1,null,!0)},removeData:function(u){return this.each(function(){Rn.remove(this,u)})}}),w.extend({queue:function(u,f,b){var T;if(u)return T=wt.get(u,f=(f||"fx")+"queue"),b&&(!T||Array.isArray(b)?T=wt.access(u,f,w.makeArray(b)):T.push(b)),T||[]},dequeue:function(u,f){var b=w.queue(u,f=f||"fx"),T=b.length,H=b.shift(),V=w._queueHooks(u,f);"inprogress"===H&&(H=b.shift(),T--),H&&("fx"===f&&b.unshift("inprogress"),delete V.stop,H.call(u,function(){w.dequeue(u,f)},V)),!T&&V&&V.empty.fire()},_queueHooks:function(u,f){var b=f+"queueHooks";return wt.get(u,b)||wt.access(u,b,{empty:w.Callbacks("once memory").add(function(){wt.remove(u,[f+"queue",b])})})}}),w.fn.extend({queue:function(u,f){var b=2;return"string"!=typeof u&&(f=u,u="fx",b--),arguments.length<b?w.queue(this[0],u):void 0===f?this:this.each(function(){var T=w.queue(this,u,f);w._queueHooks(this,u),"fx"===u&&"inprogress"!==T[0]&&w.dequeue(this,u)})},dequeue:function(u){return this.each(function(){w.dequeue(this,u)})},clearQueue:function(u){return this.queue(u||"fx",[])},promise:function(u,f){var b,T=1,H=w.Deferred(),V=this,j=this.length,ae=function(){--T||H.resolveWith(V,[V])};for("string"!=typeof u&&(f=u,u=void 0),u=u||"fx";j--;)(b=wt.get(V[j],u+"queueHooks"))&&b.empty&&(T++,b.empty.add(ae));return ae(),H.promise(f)}});var Ba=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ns=new RegExp("^(?:([+-])=|)("+Ba+")([a-z%]*)$","i"),ea=["Top","Right","Bottom","Left"],zi=X.documentElement,Ma=function(u){return w.contains(u.ownerDocument,u)},Ce={composed:!0};zi.getRootNode&&(Ma=function(u){return w.contains(u.ownerDocument,u)||u.getRootNode(Ce)===u.ownerDocument});var we=function(u,f){return"none"===(u=f||u).style.display||""===u.style.display&&Ma(u)&&"none"===w.css(u,"display")};function Lt(u,f,b,T){var H,V,j=20,ae=T?function(){return T.cur()}:function(){return w.css(u,f,"")},oe=ae(),pe=b&&b[3]||(w.cssNumber[f]?"":"px"),De=u.nodeType&&(w.cssNumber[f]||"px"!==pe&&+oe)&&ns.exec(w.css(u,f));if(De&&De[3]!==pe){for(pe=pe||De[3],De=+(oe/=2)||1;j--;)w.style(u,f,De+pe),(1-V)*(1-(V=ae()/oe||.5))<=0&&(j=0),De/=V;w.style(u,f,(De*=2)+pe),b=b||[]}return b&&(De=+De||+oe||0,H=b[1]?De+(b[1]+1)*b[2]:+b[2],T&&(T.unit=pe,T.start=De,T.end=H)),H}var Un={};function di(u){var f,b=u.ownerDocument,T=u.nodeName,H=Un[T];return H||(f=b.body.appendChild(b.createElement(T)),H=w.css(f,"display"),f.parentNode.removeChild(f),"none"===H&&(H="block"),Un[T]=H,H)}function rn(u,f){for(var b,T,H=[],V=0,j=u.length;V<j;V++)(T=u[V]).style&&(b=T.style.display,f?("none"===b&&(H[V]=wt.get(T,"display")||null,H[V]||(T.style.display="")),""===T.style.display&&we(T)&&(H[V]=di(T))):"none"!==b&&(H[V]="none",wt.set(T,"display",b)));for(V=0;V<j;V++)null!=H[V]&&(u[V].style.display=H[V]);return u}w.fn.extend({show:function(){return rn(this,!0)},hide:function(){return rn(this)},toggle:function(u){return"boolean"==typeof u?u?this.show():this.hide():this.each(function(){we(this)?w(this).show():w(this).hide()})}});var f,b,Jr=/^(?:checkbox|radio)$/i,ta=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,dr=/^$|^module$|\/(?:java|ecma)script/i;f=X.createDocumentFragment().appendChild(X.createElement("div")),(b=X.createElement("input")).setAttribute("type","radio"),b.setAttribute("checked","checked"),b.setAttribute("name","t"),f.appendChild(b),B.checkClone=f.cloneNode(!0).cloneNode(!0).lastChild.checked,f.innerHTML="<textarea>x</textarea>",B.noCloneChecked=!!f.cloneNode(!0).lastChild.defaultValue,f.innerHTML="<option></option>",B.option=!!f.lastChild;var Zi={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function br(u,f){var b;return b=typeof u.getElementsByTagName<"u"?u.getElementsByTagName(f||"*"):typeof u.querySelectorAll<"u"?u.querySelectorAll(f||"*"):[],void 0===f||f&&Ue(u,f)?w.merge([u],b):b}function bo(u,f){for(var b=0,T=u.length;b<T;b++)wt.set(u[b],"globalEval",!f||wt.get(f[b],"globalEval"))}Zi.tbody=Zi.tfoot=Zi.colgroup=Zi.caption=Zi.thead,Zi.th=Zi.td,B.option||(Zi.optgroup=Zi.option=[1,"<select multiple='multiple'>","</select>"]);var na=/<|&#?\w+;/;function Ua(u,f,b,T,H){for(var V,j,ae,oe,pe,De,Ne=f.createDocumentFragment(),ye=[],Ze=0,fn=u.length;Ze<fn;Ze++)if((V=u[Ze])||0===V)if("object"===be(V))w.merge(ye,V.nodeType?[V]:V);else if(na.test(V)){for(j=j||Ne.appendChild(f.createElement("div")),ae=(ta.exec(V)||["",""])[1].toLowerCase(),j.innerHTML=(oe=Zi[ae]||Zi._default)[1]+w.htmlPrefilter(V)+oe[2],De=oe[0];De--;)j=j.lastChild;w.merge(ye,j.childNodes),(j=Ne.firstChild).textContent=""}else ye.push(f.createTextNode(V));for(Ne.textContent="",Ze=0;V=ye[Ze++];)if(T&&w.inArray(V,T)>-1)H&&H.push(V);else if(pe=Ma(V),j=br(Ne.appendChild(V),"script"),pe&&bo(j),b)for(De=0;V=j[De++];)dr.test(V.type||"")&&b.push(V);return Ne}var Ps=/^([^.]*)(?:\.(.+)|)/;function dt(){return!0}function Vr(){return!1}function nl(u,f,b,T,H,V){var j,ae;if("object"==typeof f){for(ae in"string"!=typeof b&&(T=T||b,b=void 0),f)nl(u,ae,b,T,f[ae],V);return u}if(null==T&&null==H?(H=b,T=b=void 0):null==H&&("string"==typeof b?(H=T,T=void 0):(H=T,T=b,b=void 0)),!1===H)H=Vr;else if(!H)return u;return 1===V&&(j=H,H=function(oe){return w().off(oe),j.apply(this,arguments)},H.guid=j.guid||(j.guid=w.guid++)),u.each(function(){w.event.add(this,f,H,T,b)})}function Cr(u,f,b){b?(wt.set(u,f,!1),w.event.add(u,f,{namespace:!1,handler:function(T){var H,V=wt.get(this,f);if(1&T.isTrigger&&this[f]){if(V)(w.event.special[f]||{}).delegateType&&T.stopPropagation();else if(V=y.call(arguments),wt.set(this,f,V),this[f](),H=wt.get(this,f),wt.set(this,f,!1),V!==H)return T.stopImmediatePropagation(),T.preventDefault(),H}else V&&(wt.set(this,f,w.event.trigger(V[0],V.slice(1),this)),T.stopPropagation(),T.isImmediatePropagationStopped=dt)}})):void 0===wt.get(u,f)&&w.event.add(u,f,dt)}w.event={global:{},add:function(u,f,b,T,H){var V,j,ae,oe,pe,De,Ne,ye,Ze,fn,Zn,Dn=wt.get(u);if(zt(u))for(b.handler&&(b=(V=b).handler,H=V.selector),H&&w.find.matchesSelector(zi,H),b.guid||(b.guid=w.guid++),(oe=Dn.events)||(oe=Dn.events=Object.create(null)),(j=Dn.handle)||(j=Dn.handle=function(jr){return typeof w<"u"&&w.event.triggered!==jr.type?w.event.dispatch.apply(u,arguments):void 0}),pe=(f=(f||"").match(It)||[""]).length;pe--;)Ze=Zn=(ae=Ps.exec(f[pe])||[])[1],fn=(ae[2]||"").split(".").sort(),Ze&&(Ne=w.event.special[Ze]||{},Ne=w.event.special[Ze=(H?Ne.delegateType:Ne.bindType)||Ze]||{},De=w.extend({type:Ze,origType:Zn,data:T,handler:b,guid:b.guid,selector:H,needsContext:H&&w.expr.match.needsContext.test(H),namespace:fn.join(".")},V),(ye=oe[Ze])||((ye=oe[Ze]=[]).delegateCount=0,(!Ne.setup||!1===Ne.setup.call(u,T,fn,j))&&u.addEventListener&&u.addEventListener(Ze,j)),Ne.add&&(Ne.add.call(u,De),De.handler.guid||(De.handler.guid=b.guid)),H?ye.splice(ye.delegateCount++,0,De):ye.push(De),w.event.global[Ze]=!0)},remove:function(u,f,b,T,H){var V,j,ae,oe,pe,De,Ne,ye,Ze,fn,Zn,Dn=wt.hasData(u)&&wt.get(u);if(Dn&&(oe=Dn.events)){for(pe=(f=(f||"").match(It)||[""]).length;pe--;)if(Ze=Zn=(ae=Ps.exec(f[pe])||[])[1],fn=(ae[2]||"").split(".").sort(),Ze){for(Ne=w.event.special[Ze]||{},ye=oe[Ze=(T?Ne.delegateType:Ne.bindType)||Ze]||[],ae=ae[2]&&new RegExp("(^|\\.)"+fn.join("\\.(?:.*\\.|)")+"(\\.|$)"),j=V=ye.length;V--;)De=ye[V],(H||Zn===De.origType)&&(!b||b.guid===De.guid)&&(!ae||ae.test(De.namespace))&&(!T||T===De.selector||"**"===T&&De.selector)&&(ye.splice(V,1),De.selector&&ye.delegateCount--,Ne.remove&&Ne.remove.call(u,De));j&&!ye.length&&((!Ne.teardown||!1===Ne.teardown.call(u,fn,Dn.handle))&&w.removeEvent(u,Ze,Dn.handle),delete oe[Ze])}else for(Ze in oe)w.event.remove(u,Ze+f[pe],b,T,!0);w.isEmptyObject(oe)&&wt.remove(u,"handle events")}},dispatch:function(u){var f,b,T,H,V,j,ae=new Array(arguments.length),oe=w.event.fix(u),pe=(wt.get(this,"events")||Object.create(null))[oe.type]||[],De=w.event.special[oe.type]||{};for(ae[0]=oe,f=1;f<arguments.length;f++)ae[f]=arguments[f];if(oe.delegateTarget=this,!De.preDispatch||!1!==De.preDispatch.call(this,oe)){for(j=w.event.handlers.call(this,oe,pe),f=0;(H=j[f++])&&!oe.isPropagationStopped();)for(oe.currentTarget=H.elem,b=0;(V=H.handlers[b++])&&!oe.isImmediatePropagationStopped();)(!oe.rnamespace||!1===V.namespace||oe.rnamespace.test(V.namespace))&&(oe.handleObj=V,oe.data=V.data,void 0!==(T=((w.event.special[V.origType]||{}).handle||V.handler).apply(H.elem,ae))&&!1===(oe.result=T)&&(oe.preventDefault(),oe.stopPropagation()));return De.postDispatch&&De.postDispatch.call(this,oe),oe.result}},handlers:function(u,f){var b,T,H,V,j,ae=[],oe=f.delegateCount,pe=u.target;if(oe&&pe.nodeType&&!("click"===u.type&&u.button>=1))for(;pe!==this;pe=pe.parentNode||this)if(1===pe.nodeType&&("click"!==u.type||!0!==pe.disabled)){for(V=[],j={},b=0;b<oe;b++)void 0===j[H=(T=f[b]).selector+" "]&&(j[H]=T.needsContext?w(H,this).index(pe)>-1:w.find(H,this,null,[pe]).length),j[H]&&V.push(T);V.length&&ae.push({elem:pe,handlers:V})}return pe=this,oe<f.length&&ae.push({elem:pe,handlers:f.slice(oe)}),ae},addProp:function(u,f){Object.defineProperty(w.Event.prototype,u,{enumerable:!0,configurable:!0,get:q(f)?function(){if(this.originalEvent)return f(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[u]},set:function(b){Object.defineProperty(this,u,{enumerable:!0,configurable:!0,writable:!0,value:b})}})},fix:function(u){return u[w.expando]?u:new w.Event(u)},special:{load:{noBubble:!0},click:{setup:function(u){var f=this||u;return Jr.test(f.type)&&f.click&&Ue(f,"input")&&Cr(f,"click",!0),!1},trigger:function(u){var f=this||u;return Jr.test(f.type)&&f.click&&Ue(f,"input")&&Cr(f,"click"),!0},_default:function(u){var f=u.target;return Jr.test(f.type)&&f.click&&Ue(f,"input")&&wt.get(f,"click")||Ue(f,"a")}},beforeunload:{postDispatch:function(u){void 0!==u.result&&u.originalEvent&&(u.originalEvent.returnValue=u.result)}}}},w.removeEvent=function(u,f,b){u.removeEventListener&&u.removeEventListener(f,b)},w.Event=function(u,f){if(!(this instanceof w.Event))return new w.Event(u,f);u&&u.type?(this.originalEvent=u,this.type=u.type,this.isDefaultPrevented=u.defaultPrevented||void 0===u.defaultPrevented&&!1===u.returnValue?dt:Vr,this.target=u.target&&3===u.target.nodeType?u.target.parentNode:u.target,this.currentTarget=u.currentTarget,this.relatedTarget=u.relatedTarget):this.type=u,f&&w.extend(this,f),this.timeStamp=u&&u.timeStamp||Date.now(),this[w.expando]=!0},w.Event.prototype={constructor:w.Event,isDefaultPrevented:Vr,isPropagationStopped:Vr,isImmediatePropagationStopped:Vr,isSimulated:!1,preventDefault:function(){var u=this.originalEvent;this.isDefaultPrevented=dt,u&&!this.isSimulated&&u.preventDefault()},stopPropagation:function(){var u=this.originalEvent;this.isPropagationStopped=dt,u&&!this.isSimulated&&u.stopPropagation()},stopImmediatePropagation:function(){var u=this.originalEvent;this.isImmediatePropagationStopped=dt,u&&!this.isSimulated&&u.stopImmediatePropagation(),this.stopPropagation()}},w.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},w.event.addProp),w.each({focus:"focusin",blur:"focusout"},function(u,f){function b(T){if(X.documentMode){var H=wt.get(this,"handle"),V=w.event.fix(T);V.type="focusin"===T.type?"focus":"blur",V.isSimulated=!0,H(T),V.target===V.currentTarget&&H(V)}else w.event.simulate(f,T.target,w.event.fix(T))}w.event.special[u]={setup:function(){var T;if(Cr(this,u,!0),!X.documentMode)return!1;(T=wt.get(this,f))||this.addEventListener(f,b),wt.set(this,f,(T||0)+1)},trigger:function(){return Cr(this,u),!0},teardown:function(){var T;if(!X.documentMode)return!1;(T=wt.get(this,f)-1)?wt.set(this,f,T):(this.removeEventListener(f,b),wt.remove(this,f))},_default:function(T){return wt.get(T.target,u)},delegateType:f},w.event.special[f]={setup:function(){var T=this.ownerDocument||this.document||this,H=X.documentMode?this:T,V=wt.get(H,f);V||(X.documentMode?this.addEventListener(f,b):T.addEventListener(u,b,!0)),wt.set(H,f,(V||0)+1)},teardown:function(){var T=this.ownerDocument||this.document||this,H=X.documentMode?this:T,V=wt.get(H,f)-1;V?wt.set(H,f,V):(X.documentMode?this.removeEventListener(f,b):T.removeEventListener(u,b,!0),wt.remove(H,f))}}}),w.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(u,f){w.event.special[u]={delegateType:f,bindType:f,handle:function(b){var T,V=b.relatedTarget,j=b.handleObj;return(!V||V!==this&&!w.contains(this,V))&&(b.type=j.origType,T=j.handler.apply(this,arguments),b.type=f),T}}}),w.fn.extend({on:function(u,f,b,T){return nl(this,u,f,b,T)},one:function(u,f,b,T){return nl(this,u,f,b,T,1)},off:function(u,f,b){var T,H;if(u&&u.preventDefault&&u.handleObj)return T=u.handleObj,w(u.delegateTarget).off(T.namespace?T.origType+"."+T.namespace:T.origType,T.selector,T.handler),this;if("object"==typeof u){for(H in u)this.off(H,f,u[H]);return this}return(!1===f||"function"==typeof f)&&(b=f,f=void 0),!1===b&&(b=Vr),this.each(function(){w.event.remove(this,u,b,f)})}});var On=/<script|<style|<link/i,ei=/checked\s*(?:[^=]|=\s*.checked.)/i,Ns=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function wc(u,f){return Ue(u,"table")&&Ue(11!==f.nodeType?f:f.firstChild,"tr")&&w(u).children("tbody")[0]||u}function Br(u){return u.type=(null!==u.getAttribute("type"))+"/"+u.type,u}function Dt(u){return"true/"===(u.type||"").slice(0,5)?u.type=u.type.slice(5):u.removeAttribute("type"),u}function Co(u,f){var b,T,H,j,ae,oe;if(1===f.nodeType){if(wt.hasData(u)&&(oe=wt.get(u).events))for(H in wt.remove(f,"handle events"),oe)for(b=0,T=oe[H].length;b<T;b++)w.event.add(f,H,oe[H][b]);Rn.hasData(u)&&(j=Rn.access(u),ae=w.extend({},j),Rn.set(f,ae))}}function on(u,f){var b=f.nodeName.toLowerCase();"input"===b&&Jr.test(u.type)?f.checked=u.checked:("input"===b||"textarea"===b)&&(f.defaultValue=u.defaultValue)}function wr(u,f,b,T){f=g(f);var H,V,j,ae,oe,pe,De=0,Ne=u.length,ye=Ne-1,Ze=f[0],fn=q(Ze);if(fn||Ne>1&&"string"==typeof Ze&&!B.checkClone&&ei.test(Ze))return u.each(function(Zn){var Dn=u.eq(Zn);fn&&(f[0]=Ze.call(this,Zn,Dn.html())),wr(Dn,f,b,T)});if(Ne&&(V=(H=Ua(f,u[0].ownerDocument,!1,u,T)).firstChild,1===H.childNodes.length&&(H=V),V||T)){for(ae=(j=w.map(br(H,"script"),Br)).length;De<Ne;De++)oe=H,De!==ye&&(oe=w.clone(oe,!0,!0),ae&&w.merge(j,br(oe,"script"))),b.call(u[De],oe,De);if(ae)for(pe=j[j.length-1].ownerDocument,w.map(j,Dt),De=0;De<ae;De++)dr.test((oe=j[De]).type||"")&&!wt.access(oe,"globalEval")&&w.contains(pe,oe)&&(oe.src&&"module"!==(oe.type||"").toLowerCase()?w._evalUrl&&!oe.noModule&&w._evalUrl(oe.src,{nonce:oe.nonce||oe.getAttribute("nonce")},pe):me(oe.textContent.replace(Ns,""),oe,pe))}return u}function Lo(u,f,b){for(var T,H=f?w.filter(f,u):u,V=0;null!=(T=H[V]);V++)!b&&1===T.nodeType&&w.cleanData(br(T)),T.parentNode&&(b&&Ma(T)&&bo(br(T,"script")),T.parentNode.removeChild(T));return u}w.extend({htmlPrefilter:function(u){return u},clone:function(u,f,b){var T,H,V,j,ae=u.cloneNode(!0),oe=Ma(u);if(!(B.noCloneChecked||1!==u.nodeType&&11!==u.nodeType||w.isXMLDoc(u)))for(j=br(ae),T=0,H=(V=br(u)).length;T<H;T++)on(V[T],j[T]);if(f)if(b)for(V=V||br(u),j=j||br(ae),T=0,H=V.length;T<H;T++)Co(V[T],j[T]);else Co(u,ae);return(j=br(ae,"script")).length>0&&bo(j,!oe&&br(u,"script")),ae},cleanData:function(u){for(var f,b,T,H=w.event.special,V=0;void 0!==(b=u[V]);V++)if(zt(b)){if(f=b[wt.expando]){if(f.events)for(T in f.events)H[T]?w.event.remove(b,T):w.removeEvent(b,T,f.handle);b[wt.expando]=void 0}b[Rn.expando]&&(b[Rn.expando]=void 0)}}}),w.fn.extend({detach:function(u){return Lo(this,u,!0)},remove:function(u){return Lo(this,u)},text:function(u){return ri(this,function(f){return void 0===f?w.text(this):this.empty().each(function(){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&(this.textContent=f)})},null,u,arguments.length)},append:function(){return wr(this,arguments,function(u){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||wc(this,u).appendChild(u)})},prepend:function(){return wr(this,arguments,function(u){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var f=wc(this,u);f.insertBefore(u,f.firstChild)}})},before:function(){return wr(this,arguments,function(u){this.parentNode&&this.parentNode.insertBefore(u,this)})},after:function(){return wr(this,arguments,function(u){this.parentNode&&this.parentNode.insertBefore(u,this.nextSibling)})},empty:function(){for(var u,f=0;null!=(u=this[f]);f++)1===u.nodeType&&(w.cleanData(br(u,!1)),u.textContent="");return this},clone:function(u,f){return u=u??!1,f=f??u,this.map(function(){return w.clone(this,u,f)})},html:function(u){return ri(this,function(f){var b=this[0]||{},T=0,H=this.length;if(void 0===f&&1===b.nodeType)return b.innerHTML;if("string"==typeof f&&!On.test(f)&&!Zi[(ta.exec(f)||["",""])[1].toLowerCase()]){f=w.htmlPrefilter(f);try{for(;T<H;T++)1===(b=this[T]||{}).nodeType&&(w.cleanData(br(b,!1)),b.innerHTML=f);b=0}catch{}}b&&this.empty().append(f)},null,u,arguments.length)},replaceWith:function(){var u=[];return wr(this,arguments,function(f){var b=this.parentNode;w.inArray(this,u)<0&&(w.cleanData(br(this)),b&&b.replaceChild(f,this))},u)}}),w.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(u,f){w.fn[u]=function(b){for(var T,H=[],V=w(b),j=V.length-1,ae=0;ae<=j;ae++)T=ae===j?this:this.clone(!0),w(V[ae])[f](T),_.apply(H,T.get());return this.pushStack(H)}});var Oo=new RegExp("^("+Ba+")(?!px)[a-z%]+$","i"),ms=/^--/,ge=function(u){var f=u.ownerDocument.defaultView;return(!f||!f.opener)&&(f=M),f.getComputedStyle(u)},Sc=function(u,f,b){var T,H,V={};for(H in f)V[H]=u.style[H],u.style[H]=f[H];for(H in T=b.call(u),f)u.style[H]=V[H];return T},ti=new RegExp(ea.join("|"),"i");function bi(u,f,b){var T,H,V,j,ae=ms.test(f),oe=u.style;return(b=b||ge(u))&&(j=b.getPropertyValue(f)||b[f],ae&&j&&(j=j.replace(Vt,"$1")||void 0),""===j&&!Ma(u)&&(j=w.style(u,f)),!B.pixelBoxStyles()&&Oo.test(j)&&ti.test(f)&&(T=oe.width,H=oe.minWidth,V=oe.maxWidth,oe.minWidth=oe.maxWidth=oe.width=j,j=b.width,oe.width=T,oe.minWidth=H,oe.maxWidth=V)),void 0!==j?j+"":j}function e2(u,f){return{get:function(){if(!u())return(this.get=f).apply(this,arguments);delete this.get}}}!function(){function u(){if(pe){oe.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",pe.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",zi.appendChild(oe).appendChild(pe);var De=M.getComputedStyle(pe);b="1%"!==De.top,ae=12===f(De.marginLeft),pe.style.right="60%",V=36===f(De.right),T=36===f(De.width),pe.style.position="absolute",H=12===f(pe.offsetWidth/3),zi.removeChild(oe),pe=null}}function f(De){return Math.round(parseFloat(De))}var b,T,H,V,j,ae,oe=X.createElement("div"),pe=X.createElement("div");pe.style&&(pe.style.backgroundClip="content-box",pe.cloneNode(!0).style.backgroundClip="",B.clearCloneStyle="content-box"===pe.style.backgroundClip,w.extend(B,{boxSizingReliable:function(){return u(),T},pixelBoxStyles:function(){return u(),V},pixelPosition:function(){return u(),b},reliableMarginLeft:function(){return u(),ae},scrollboxSize:function(){return u(),H},reliableTrDimensions:function(){var De,Ne,ye,Ze;return null==j&&(De=X.createElement("table"),Ne=X.createElement("tr"),ye=X.createElement("div"),De.style.cssText="position:absolute;left:-11111px;border-collapse:separate",Ne.style.cssText="box-sizing:content-box;border:1px solid",Ne.style.height="1px",ye.style.height="9px",ye.style.display="block",zi.appendChild(De).appendChild(Ne).appendChild(ye),Ze=M.getComputedStyle(Ne),j=parseInt(Ze.height,10)+parseInt(Ze.borderTopWidth,10)+parseInt(Ze.borderBottomWidth,10)===Ne.offsetHeight,zi.removeChild(De)),j}}))}();var m0=["Webkit","Moz","ms"],ni=X.createElement("div").style,g0={};function Mc(u){return w.cssProps[u]||g0[u]||(u in ni?u:g0[u]=function qo(u){for(var f=u[0].toUpperCase()+u.slice(1),b=m0.length;b--;)if((u=m0[b]+f)in ni)return u}(u)||u)}var t4=/^(none|table(?!-c[ea]).+)/,t2={position:"absolute",visibility:"hidden",display:"block"},Hn={letterSpacing:"0",fontWeight:"400"};function yn(u,f,b){var T=ns.exec(f);return T?Math.max(0,T[2]-(b||0))+(T[3]||"px"):f}function il(u,f,b,T,H,V){var j="width"===f?1:0,ae=0,oe=0,pe=0;if(b===(T?"border":"content"))return 0;for(;j<4;j+=2)"margin"===b&&(pe+=w.css(u,b+ea[j],!0,H)),T?("content"===b&&(oe-=w.css(u,"padding"+ea[j],!0,H)),"margin"!==b&&(oe-=w.css(u,"border"+ea[j]+"Width",!0,H))):(oe+=w.css(u,"padding"+ea[j],!0,H),"padding"!==b?oe+=w.css(u,"border"+ea[j]+"Width",!0,H):ae+=w.css(u,"border"+ea[j]+"Width",!0,H));return!T&&V>=0&&(oe+=Math.max(0,Math.ceil(u["offset"+f[0].toUpperCase()+f.slice(1)]-V-oe-ae-.5))||0),oe+pe}function Yo(u,f,b){var T=ge(u),V=(!B.boxSizingReliable()||b)&&"border-box"===w.css(u,"boxSizing",!1,T),j=V,ae=bi(u,f,T),oe="offset"+f[0].toUpperCase()+f.slice(1);if(Oo.test(ae)){if(!b)return ae;ae="auto"}return(!B.boxSizingReliable()&&V||!B.reliableTrDimensions()&&Ue(u,"tr")||"auto"===ae||!parseFloat(ae)&&"inline"===w.css(u,"display",!1,T))&&u.getClientRects().length&&(V="border-box"===w.css(u,"boxSizing",!1,T),(j=oe in u)&&(ae=u[oe])),(ae=parseFloat(ae)||0)+il(u,f,b||(V?"border":"content"),j,T,ae)+"px"}function ia(u,f,b,T,H){return new ia.prototype.init(u,f,b,T,H)}w.extend({cssHooks:{opacity:{get:function(u,f){if(f){var b=bi(u,"opacity");return""===b?"1":b}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(u,f,b,T){if(u&&3!==u.nodeType&&8!==u.nodeType&&u.style){var H,V,j,ae=zr(f),oe=ms.test(f),pe=u.style;if(oe||(f=Mc(ae)),j=w.cssHooks[f]||w.cssHooks[ae],void 0===b)return j&&"get"in j&&void 0!==(H=j.get(u,!1,T))?H:pe[f];if("string"==(V=typeof b)&&(H=ns.exec(b))&&H[1]&&(b=Lt(u,f,H),V="number"),null==b||b!=b)return;"number"===V&&!oe&&(b+=H&&H[3]||(w.cssNumber[ae]?"":"px")),!B.clearCloneStyle&&""===b&&0===f.indexOf("background")&&(pe[f]="inherit"),(!j||!("set"in j)||void 0!==(b=j.set(u,b,T)))&&(oe?pe.setProperty(f,b):pe[f]=b)}},css:function(u,f,b,T){var H,V,j,ae=zr(f);return ms.test(f)||(f=Mc(ae)),(j=w.cssHooks[f]||w.cssHooks[ae])&&"get"in j&&(H=j.get(u,!0,b)),void 0===H&&(H=bi(u,f,T)),"normal"===H&&f in Hn&&(H=Hn[f]),""===b||b?(V=parseFloat(H),!0===b||isFinite(V)?V||0:H):H}}),w.each(["height","width"],function(u,f){w.cssHooks[f]={get:function(b,T,H){if(T)return!t4.test(w.css(b,"display"))||b.getClientRects().length&&b.getBoundingClientRect().width?Yo(b,f,H):Sc(b,t2,function(){return Yo(b,f,H)})},set:function(b,T,H){var V,j=ge(b),ae=!B.scrollboxSize()&&"absolute"===j.position,pe=(ae||H)&&"border-box"===w.css(b,"boxSizing",!1,j),De=H?il(b,f,H,pe,j):0;return pe&&ae&&(De-=Math.ceil(b["offset"+f[0].toUpperCase()+f.slice(1)]-parseFloat(j[f])-il(b,f,"border",!1,j)-.5)),De&&(V=ns.exec(T))&&"px"!==(V[3]||"px")&&(b.style[f]=T,T=w.css(b,f)),yn(0,T,De)}}}),w.cssHooks.marginLeft=e2(B.reliableMarginLeft,function(u,f){if(f)return(parseFloat(bi(u,"marginLeft"))||u.getBoundingClientRect().left-Sc(u,{marginLeft:0},function(){return u.getBoundingClientRect().left}))+"px"}),w.each({margin:"",padding:"",border:"Width"},function(u,f){w.cssHooks[u+f]={expand:function(b){for(var T=0,H={},V="string"==typeof b?b.split(" "):[b];T<4;T++)H[u+ea[T]+f]=V[T]||V[T-2]||V[0];return H}},"margin"!==u&&(w.cssHooks[u+f].set=yn)}),w.fn.extend({css:function(u,f){return ri(this,function(b,T,H){var V,j,ae={},oe=0;if(Array.isArray(T)){for(V=ge(b),j=T.length;oe<j;oe++)ae[T[oe]]=w.css(b,T[oe],!1,V);return ae}return void 0!==H?w.style(b,T,H):w.css(b,T)},u,f,arguments.length>1)}}),w.Tween=ia,ia.prototype={constructor:ia,init:function(u,f,b,T,H,V){this.elem=u,this.prop=b,this.easing=H||w.easing._default,this.options=f,this.start=this.now=this.cur(),this.end=T,this.unit=V||(w.cssNumber[b]?"":"px")},cur:function(){var u=ia.propHooks[this.prop];return u&&u.get?u.get(this):ia.propHooks._default.get(this)},run:function(u){var f,b=ia.propHooks[this.prop];return this.pos=f=this.options.duration?w.easing[this.easing](u,this.options.duration*u,0,1,this.options.duration):u,this.now=(this.end-this.start)*f+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),b&&b.set?b.set(this):ia.propHooks._default.set(this),this}},ia.prototype.init.prototype=ia.prototype,ia.propHooks={_default:{get:function(u){var f;return 1!==u.elem.nodeType||null!=u.elem[u.prop]&&null==u.elem.style[u.prop]?u.elem[u.prop]:(f=w.css(u.elem,u.prop,""))&&"auto"!==f?f:0},set:function(u){w.fx.step[u.prop]?w.fx.step[u.prop](u):1!==u.elem.nodeType||!w.cssHooks[u.prop]&&null==u.elem.style[Mc(u.prop)]?u.elem[u.prop]=u.now:w.style(u.elem,u.prop,u.now+u.unit)}}},ia.propHooks.scrollTop=ia.propHooks.scrollLeft={set:function(u){u.elem.nodeType&&u.elem.parentNode&&(u.elem[u.prop]=u.now)}},w.easing={linear:function(u){return u},swing:function(u){return.5-Math.cos(u*Math.PI)/2},_default:"swing"},w.fx=ia.prototype.init,w.fx.step={};var Fl,ou,Ta=/^(?:toggle|show|hide)$/,n2=/queueHooks$/;function v0(){ou&&(!1===X.hidden&&M.requestAnimationFrame?M.requestAnimationFrame(v0):M.setTimeout(v0,w.fx.interval),w.fx.tick())}function i2(){return M.setTimeout(function(){Fl=void 0}),Fl=Date.now()}function Fs(u,f){var b,T=0,H={height:u};for(f=f?1:0;T<4;T+=2-f)H["margin"+(b=ea[T])]=H["padding"+b]=u;return f&&(H.opacity=H.width=u),H}function Tc(u,f,b){for(var T,H=(eo.tweeners[f]||[]).concat(eo.tweeners["*"]),V=0,j=H.length;V<j;V++)if(T=H[V].call(b,f,u))return T}function eo(u,f,b){var T,H,V=0,j=eo.prefilters.length,ae=w.Deferred().always(function(){delete oe.elem}),oe=function(){if(H)return!1;for(var Ne=Fl||i2(),ye=Math.max(0,pe.startTime+pe.duration-Ne),fn=1-(ye/pe.duration||0),Zn=0,Dn=pe.tweens.length;Zn<Dn;Zn++)pe.tweens[Zn].run(fn);return ae.notifyWith(u,[pe,fn,ye]),fn<1&&Dn?ye:(Dn||ae.notifyWith(u,[pe,1,0]),ae.resolveWith(u,[pe]),!1)},pe=ae.promise({elem:u,props:w.extend({},f),opts:w.extend(!0,{specialEasing:{},easing:w.easing._default},b),originalProperties:f,originalOptions:b,startTime:Fl||i2(),duration:b.duration,tweens:[],createTween:function(Ne,ye){var Ze=w.Tween(u,pe.opts,Ne,ye,pe.opts.specialEasing[Ne]||pe.opts.easing);return pe.tweens.push(Ze),Ze},stop:function(Ne){var ye=0,Ze=Ne?pe.tweens.length:0;if(H)return this;for(H=!0;ye<Ze;ye++)pe.tweens[ye].run(1);return Ne?(ae.notifyWith(u,[pe,1,0]),ae.resolveWith(u,[pe,Ne])):ae.rejectWith(u,[pe,Ne]),this}}),De=pe.props;for(function Dc(u,f){var b,T,H,V,j;for(b in u)if(H=f[T=zr(b)],V=u[b],Array.isArray(V)&&(H=V[1],V=u[b]=V[0]),b!==T&&(u[T]=V,delete u[b]),(j=w.cssHooks[T])&&"expand"in j)for(b in V=j.expand(V),delete u[T],V)b in u||(u[b]=V[b],f[b]=H);else f[T]=H}(De,pe.opts.specialEasing);V<j;V++)if(T=eo.prefilters[V].call(pe,u,De,pe.opts))return q(T.stop)&&(w._queueHooks(pe.elem,pe.opts.queue).stop=T.stop.bind(T)),T;return w.map(De,Tc,pe),q(pe.opts.start)&&pe.opts.start.call(u,pe),pe.progress(pe.opts.progress).done(pe.opts.done,pe.opts.complete).fail(pe.opts.fail).always(pe.opts.always),w.fx.timer(w.extend(oe,{elem:u,anim:pe,queue:pe.opts.queue})),pe}w.Animation=w.extend(eo,{tweeners:{"*":[function(u,f){var b=this.createTween(u,f);return Lt(b.elem,u,ns.exec(f),b),b}]},tweener:function(u,f){q(u)?(f=u,u=["*"]):u=u.match(It);for(var b,T=0,H=u.length;T<H;T++)(eo.tweeners[b=u[T]]=eo.tweeners[b]||[]).unshift(f)},prefilters:[function r2(u,f,b){var T,H,V,j,ae,oe,pe,De,Ne="width"in f||"height"in f,ye=this,Ze={},fn=u.style,Zn=u.nodeType&&we(u),Dn=wt.get(u,"fxshow");for(T in b.queue||(null==(j=w._queueHooks(u,"fx")).unqueued&&(j.unqueued=0,ae=j.empty.fire,j.empty.fire=function(){j.unqueued||ae()}),j.unqueued++,ye.always(function(){ye.always(function(){j.unqueued--,w.queue(u,"fx").length||j.empty.fire()})})),f)if(Ta.test(H=f[T])){if(delete f[T],V=V||"toggle"===H,H===(Zn?"hide":"show")){if("show"!==H||!Dn||void 0===Dn[T])continue;Zn=!0}Ze[T]=Dn&&Dn[T]||w.style(u,T)}if((oe=!w.isEmptyObject(f))||!w.isEmptyObject(Ze))for(T in Ne&&1===u.nodeType&&(b.overflow=[fn.overflow,fn.overflowX,fn.overflowY],null==(pe=Dn&&Dn.display)&&(pe=wt.get(u,"display")),"none"===(De=w.css(u,"display"))&&(pe?De=pe:(rn([u],!0),pe=u.style.display||pe,De=w.css(u,"display"),rn([u]))),("inline"===De||"inline-block"===De&&null!=pe)&&"none"===w.css(u,"float")&&(oe||(ye.done(function(){fn.display=pe}),null==pe&&(pe="none"===(De=fn.display)?"":De)),fn.display="inline-block")),b.overflow&&(fn.overflow="hidden",ye.always(function(){fn.overflow=b.overflow[0],fn.overflowX=b.overflow[1],fn.overflowY=b.overflow[2]})),oe=!1,Ze)oe||(Dn?"hidden"in Dn&&(Zn=Dn.hidden):Dn=wt.access(u,"fxshow",{display:pe}),V&&(Dn.hidden=!Zn),Zn&&rn([u],!0),ye.done(function(){for(T in Zn||rn([u]),wt.remove(u,"fxshow"),Ze)w.style(u,T,Ze[T])})),oe=Tc(Zn?Dn[T]:0,T,ye),T in Dn||(Dn[T]=oe.start,Zn&&(oe.end=oe.start,oe.start=0))}],prefilter:function(u,f){f?eo.prefilters.unshift(u):eo.prefilters.push(u)}}),w.speed=function(u,f,b){var T=u&&"object"==typeof u?w.extend({},u):{complete:b||!b&&f||q(u)&&u,duration:u,easing:b&&f||f&&!q(f)&&f};return w.fx.off?T.duration=0:"number"!=typeof T.duration&&(T.duration=T.duration in w.fx.speeds?w.fx.speeds[T.duration]:w.fx.speeds._default),(null==T.queue||!0===T.queue)&&(T.queue="fx"),T.old=T.complete,T.complete=function(){q(T.old)&&T.old.call(this),T.queue&&w.dequeue(this,T.queue)},T},w.fn.extend({fadeTo:function(u,f,b,T){return this.filter(we).css("opacity",0).show().end().animate({opacity:f},u,b,T)},animate:function(u,f,b,T){var H=w.isEmptyObject(u),V=w.speed(f,b,T),j=function(){var ae=eo(this,w.extend({},u),V);(H||wt.get(this,"finish"))&&ae.stop(!0)};return j.finish=j,H||!1===V.queue?this.each(j):this.queue(V.queue,j)},stop:function(u,f,b){var T=function(H){var V=H.stop;delete H.stop,V(b)};return"string"!=typeof u&&(b=f,f=u,u=void 0),f&&this.queue(u||"fx",[]),this.each(function(){var H=!0,V=null!=u&&u+"queueHooks",j=w.timers,ae=wt.get(this);if(V)ae[V]&&ae[V].stop&&T(ae[V]);else for(V in ae)ae[V]&&ae[V].stop&&n2.test(V)&&T(ae[V]);for(V=j.length;V--;)j[V].elem===this&&(null==u||j[V].queue===u)&&(j[V].anim.stop(b),H=!1,j.splice(V,1));(H||!b)&&w.dequeue(this,u)})},finish:function(u){return!1!==u&&(u=u||"fx"),this.each(function(){var f,b=wt.get(this),T=b[u+"queue"],H=b[u+"queueHooks"],V=w.timers,j=T?T.length:0;for(b.finish=!0,w.queue(this,u,[]),H&&H.stop&&H.stop.call(this,!0),f=V.length;f--;)V[f].elem===this&&V[f].queue===u&&(V[f].anim.stop(!0),V.splice(f,1));for(f=0;f<j;f++)T[f]&&T[f].finish&&T[f].finish.call(this);delete b.finish})}}),w.each(["toggle","show","hide"],function(u,f){var b=w.fn[f];w.fn[f]=function(T,H,V){return null==T||"boolean"==typeof T?b.apply(this,arguments):this.animate(Fs(f,!0),T,H,V)}}),w.each({slideDown:Fs("show"),slideUp:Fs("hide"),slideToggle:Fs("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(u,f){w.fn[u]=function(b,T,H){return this.animate(f,b,T,H)}}),w.timers=[],w.fx.tick=function(){var u,f=0,b=w.timers;for(Fl=Date.now();f<b.length;f++)!(u=b[f])()&&b[f]===u&&b.splice(f--,1);b.length||w.fx.stop(),Fl=void 0},w.fx.timer=function(u){w.timers.push(u),w.fx.start()},w.fx.interval=13,w.fx.start=function(){ou||(ou=!0,v0())},w.fx.stop=function(){ou=null},w.fx.speeds={slow:600,fast:200,_default:400},w.fn.delay=function(u,f){return u=w.fx&&w.fx.speeds[u]||u,this.queue(f=f||"fx",function(b,T){var H=M.setTimeout(b,u);T.stop=function(){M.clearTimeout(H)}})},function(){var u=X.createElement("input"),b=X.createElement("select").appendChild(X.createElement("option"));u.type="checkbox",B.checkOn=""!==u.value,B.optSelected=b.selected,(u=X.createElement("input")).value="t",u.type="radio",B.radioValue="t"===u.value}();var fo,Nt=w.expr.attrHandle;w.fn.extend({attr:function(u,f){return ri(this,w.attr,u,f,arguments.length>1)},removeAttr:function(u){return this.each(function(){w.removeAttr(this,u)})}}),w.extend({attr:function(u,f,b){var T,H,V=u.nodeType;if(3!==V&&8!==V&&2!==V)return typeof u.getAttribute>"u"?w.prop(u,f,b):((1!==V||!w.isXMLDoc(u))&&(H=w.attrHooks[f.toLowerCase()]||(w.expr.match.bool.test(f)?fo:void 0)),void 0!==b?null===b?void w.removeAttr(u,f):H&&"set"in H&&void 0!==(T=H.set(u,b,f))?T:(u.setAttribute(f,b+""),b):H&&"get"in H&&null!==(T=H.get(u,f))?T:(T=w.find.attr(u,f))??void 0)},attrHooks:{type:{set:function(u,f){if(!B.radioValue&&"radio"===f&&Ue(u,"input")){var b=u.value;return u.setAttribute("type",f),b&&(u.value=b),f}}}},removeAttr:function(u,f){var b,T=0,H=f&&f.match(It);if(H&&1===u.nodeType)for(;b=H[T++];)u.removeAttribute(b)}}),fo={set:function(u,f,b){return!1===f?w.removeAttr(u,b):u.setAttribute(b,b),b}},w.each(w.expr.match.bool.source.match(/\w+/g),function(u,f){var b=Nt[f]||w.find.attr;Nt[f]=function(T,H,V){var j,ae,oe=H.toLowerCase();return V||(ae=Nt[oe],Nt[oe]=j,j=null!=b(T,H,V)?oe:null,Nt[oe]=ae),j}});var n4=/^(?:input|select|textarea|button)$/i,i4=/^(?:a|area)$/i;function rl(u){return(u.match(It)||[]).join(" ")}function Rl(u){return u.getAttribute&&u.getAttribute("class")||""}function _0(u){return Array.isArray(u)?u:"string"==typeof u&&u.match(It)||[]}w.fn.extend({prop:function(u,f){return ri(this,w.prop,u,f,arguments.length>1)},removeProp:function(u){return this.each(function(){delete this[w.propFix[u]||u]})}}),w.extend({prop:function(u,f,b){var T,H,V=u.nodeType;if(3!==V&&8!==V&&2!==V)return(1!==V||!w.isXMLDoc(u))&&(H=w.propHooks[f=w.propFix[f]||f]),void 0!==b?H&&"set"in H&&void 0!==(T=H.set(u,b,f))?T:u[f]=b:H&&"get"in H&&null!==(T=H.get(u,f))?T:u[f]},propHooks:{tabIndex:{get:function(u){var f=w.find.attr(u,"tabindex");return f?parseInt(f,10):n4.test(u.nodeName)||i4.test(u.nodeName)&&u.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),B.optSelected||(w.propHooks.selected={get:function(u){return null},set:function(u){}}),w.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){w.propFix[this.toLowerCase()]=this}),w.fn.extend({addClass:function(u){var f,b,T,H,V,j;return q(u)?this.each(function(ae){w(this).addClass(u.call(this,ae,Rl(this)))}):(f=_0(u)).length?this.each(function(){if(T=Rl(this),b=1===this.nodeType&&" "+rl(T)+" "){for(V=0;V<f.length;V++)b.indexOf(" "+(H=f[V])+" ")<0&&(b+=H+" ");j=rl(b),T!==j&&this.setAttribute("class",j)}}):this},removeClass:function(u){var f,b,T,H,V,j;return q(u)?this.each(function(ae){w(this).removeClass(u.call(this,ae,Rl(this)))}):arguments.length?(f=_0(u)).length?this.each(function(){if(T=Rl(this),b=1===this.nodeType&&" "+rl(T)+" "){for(V=0;V<f.length;V++)for(H=f[V];b.indexOf(" "+H+" ")>-1;)b=b.replace(" "+H+" "," ");j=rl(b),T!==j&&this.setAttribute("class",j)}}):this:this.attr("class","")},toggleClass:function(u,f){var b,T,H,V,j=typeof u,ae="string"===j||Array.isArray(u);return q(u)?this.each(function(oe){w(this).toggleClass(u.call(this,oe,Rl(this),f),f)}):"boolean"==typeof f&&ae?f?this.addClass(u):this.removeClass(u):(b=_0(u),this.each(function(){if(ae)for(V=w(this),H=0;H<b.length;H++)V.hasClass(T=b[H])?V.removeClass(T):V.addClass(T);else(void 0===u||"boolean"===j)&&((T=Rl(this))&&wt.set(this,"__className__",T),this.setAttribute&&this.setAttribute("class",T||!1===u?"":wt.get(this,"__className__")||""))}))},hasClass:function(u){var f,b,T=0;for(f=" "+u+" ";b=this[T++];)if(1===b.nodeType&&(" "+rl(Rl(b))+" ").indexOf(f)>-1)return!0;return!1}});var Ke=/\r/g;w.fn.extend({val:function(u){var f,b,T,H=this[0];return arguments.length?(T=q(u),this.each(function(V){var j;1===this.nodeType&&(null==(j=T?u.call(this,V,w(this).val()):u)?j="":"number"==typeof j?j+="":Array.isArray(j)&&(j=w.map(j,function(ae){return null==ae?"":ae+""})),(!(f=w.valHooks[this.type]||w.valHooks[this.nodeName.toLowerCase()])||!("set"in f)||void 0===f.set(this,j,"value"))&&(this.value=j))})):H?(f=w.valHooks[H.type]||w.valHooks[H.nodeName.toLowerCase()])&&"get"in f&&void 0!==(b=f.get(H,"value"))?b:"string"==typeof(b=H.value)?b.replace(Ke,""):b??"":void 0}}),w.extend({valHooks:{option:{get:function(u){return w.find.attr(u,"value")??rl(w.text(u))}},select:{get:function(u){var f,b,T,H=u.options,V=u.selectedIndex,j="select-one"===u.type,ae=j?null:[],oe=j?V+1:H.length;for(T=V<0?oe:j?V:0;T<oe;T++)if(((b=H[T]).selected||T===V)&&!b.disabled&&(!b.parentNode.disabled||!Ue(b.parentNode,"optgroup"))){if(f=w(b).val(),j)return f;ae.push(f)}return ae},set:function(u,f){for(var b,T,H=u.options,V=w.makeArray(f),j=H.length;j--;)((T=H[j]).selected=w.inArray(w.valHooks.option.get(T),V)>-1)&&(b=!0);return b||(u.selectedIndex=-1),V}}}}),w.each(["radio","checkbox"],function(){w.valHooks[this]={set:function(u,f){if(Array.isArray(f))return u.checked=w.inArray(w(u).val(),f)>-1}},B.checkOn||(w.valHooks[this].get=function(u){return null===u.getAttribute("value")?"on":u.value})});var Hl=M.location,$n={guid:Date.now()},ol=/\?/;w.parseXML=function(u){var f,b;if(!u||"string"!=typeof u)return null;try{f=(new M.DOMParser).parseFromString(u,"text/xml")}catch{}return b=f&&f.getElementsByTagName("parsererror")[0],(!f||b)&&w.error("Invalid XML: "+(b?w.map(b.childNodes,function(T){return T.textContent}).join("\n"):u)),f};var y0=/^(?:focusinfocus|focusoutblur)$/,b0=function(u){u.stopPropagation()};w.extend(w.event,{trigger:function(u,f,b,T){var H,V,j,ae,oe,pe,De,Ne,ye=[b||X],Ze=z.call(u,"type")?u.type:u,fn=z.call(u,"namespace")?u.namespace.split("."):[];if(V=Ne=j=b=b||X,3!==b.nodeType&&8!==b.nodeType&&!y0.test(Ze+w.event.triggered)&&(Ze.indexOf(".")>-1&&(fn=Ze.split("."),Ze=fn.shift(),fn.sort()),oe=Ze.indexOf(":")<0&&"on"+Ze,(u=u[w.expando]?u:new w.Event(Ze,"object"==typeof u&&u)).isTrigger=T?2:3,u.namespace=fn.join("."),u.rnamespace=u.namespace?new RegExp("(^|\\.)"+fn.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,u.result=void 0,u.target||(u.target=b),f=null==f?[u]:w.makeArray(f,[u]),De=w.event.special[Ze]||{},T||!De.trigger||!1!==De.trigger.apply(b,f))){if(!T&&!De.noBubble&&!W(b)){for(y0.test((ae=De.delegateType||Ze)+Ze)||(V=V.parentNode);V;V=V.parentNode)ye.push(V),j=V;j===(b.ownerDocument||X)&&ye.push(j.defaultView||j.parentWindow||M)}for(H=0;(V=ye[H++])&&!u.isPropagationStopped();)Ne=V,u.type=H>1?ae:De.bindType||Ze,(pe=(wt.get(V,"events")||Object.create(null))[u.type]&&wt.get(V,"handle"))&&pe.apply(V,f),(pe=oe&&V[oe])&&pe.apply&&zt(V)&&(u.result=pe.apply(V,f),!1===u.result&&u.preventDefault());return u.type=Ze,!T&&!u.isDefaultPrevented()&&(!De._default||!1===De._default.apply(ye.pop(),f))&&zt(b)&&oe&&q(b[Ze])&&!W(b)&&((j=b[oe])&&(b[oe]=null),w.event.triggered=Ze,u.isPropagationStopped()&&Ne.addEventListener(Ze,b0),b[Ze](),u.isPropagationStopped()&&Ne.removeEventListener(Ze,b0),w.event.triggered=void 0,j&&(b[oe]=j)),u.result}},simulate:function(u,f,b){var T=w.extend(new w.Event,b,{type:u,isSimulated:!0});w.event.trigger(T,null,f)}}),w.fn.extend({trigger:function(u,f){return this.each(function(){w.event.trigger(u,f,this)})},triggerHandler:function(u,f){var b=this[0];if(b)return w.event.trigger(u,f,b,!0)}});var o2=/\[\]$/,xc=/\r?\n/g,au=/^(?:submit|button|image|reset|file)$/i,Xu=/^(?:input|select|textarea|keygen)/i;function Ae(u,f,b,T){var H;if(Array.isArray(f))w.each(f,function(V,j){b||o2.test(u)?T(u,j):Ae(u+"["+("object"==typeof j&&null!=j?V:"")+"]",j,b,T)});else if(b||"object"!==be(f))T(u,f);else for(H in f)Ae(u+"["+H+"]",f[H],b,T)}w.param=function(u,f){var b,T=[],H=function(V,j){var ae=q(j)?j():j;T[T.length]=encodeURIComponent(V)+"="+encodeURIComponent(ae??"")};if(null==u)return"";if(Array.isArray(u)||u.jquery&&!w.isPlainObject(u))w.each(u,function(){H(this.name,this.value)});else for(b in u)Ae(b,u[b],f,H);return T.join("&")},w.fn.extend({serialize:function(){return w.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var u=w.prop(this,"elements");return u?w.makeArray(u):this}).filter(function(){var u=this.type;return this.name&&!w(this).is(":disabled")&&Xu.test(this.nodeName)&&!au.test(u)&&(this.checked||!Jr.test(u))}).map(function(u,f){var b=w(this).val();return null==b?null:Array.isArray(b)?w.map(b,function(T){return{name:f.name,value:T.replace(xc,"\r\n")}}):{name:f.name,value:b.replace(xc,"\r\n")}}).get()}});var Ju=/%20/g,kc=/#.*$/,su=/([?&])_=[^&]*/,al=/^(.*?):[ \t]*([^\r\n]*)$/gm,s2=/^(?:GET|HEAD)$/,l2=/^\/\//,Vl={},lu={},e1="*/".concat("*"),C0=X.createElement("a");function w0(u){return function(f,b){"string"!=typeof f&&(b=f,f="*");var T,H=0,V=f.toLowerCase().match(It)||[];if(q(b))for(;T=V[H++];)"+"===T[0]?(T=T.slice(1)||"*",(u[T]=u[T]||[]).unshift(b)):(u[T]=u[T]||[]).push(b)}}function t1(u,f,b,T){var H={},V=u===lu;function j(ae){var oe;return H[ae]=!0,w.each(u[ae]||[],function(pe,De){var Ne=De(f,b,T);return"string"!=typeof Ne||V||H[Ne]?V?!(oe=Ne):void 0:(f.dataTypes.unshift(Ne),j(Ne),!1)}),oe}return j(f.dataTypes[0])||!H["*"]&&j("*")}function S0(u,f){var b,T,H=w.ajaxSettings.flatOptions||{};for(b in f)void 0!==f[b]&&((H[b]?u:T||(T={}))[b]=f[b]);return T&&w.extend(!0,u,T),u}C0.href=Hl.href,w.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Hl.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Hl.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":e1,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":w.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(u,f){return f?S0(S0(u,w.ajaxSettings),f):S0(w.ajaxSettings,u)},ajaxPrefilter:w0(Vl),ajaxTransport:w0(lu),ajax:function(u,f){"object"==typeof u&&(f=u,u=void 0);var b,T,H,V,j,ae,oe,pe,De,Ne,ye=w.ajaxSetup({},f=f||{}),Ze=ye.context||ye,fn=ye.context&&(Ze.nodeType||Ze.jquery)?w(Ze):w.event,Zn=w.Deferred(),Dn=w.Callbacks("once memory"),jr=ye.statusCode||{},oi={},qa={},vs="canceled",Wn={readyState:0,getResponseHeader:function(qn){var Sr;if(oe){if(!V)for(V={};Sr=al.exec(H);)V[Sr[1].toLowerCase()+" "]=(V[Sr[1].toLowerCase()+" "]||[]).concat(Sr[2]);Sr=V[qn.toLowerCase()+" "]}return null==Sr?null:Sr.join(", ")},getAllResponseHeaders:function(){return oe?H:null},setRequestHeader:function(qn,Sr){return null==oe&&(qn=qa[qn.toLowerCase()]=qa[qn.toLowerCase()]||qn,oi[qn]=Sr),this},overrideMimeType:function(qn){return null==oe&&(ye.mimeType=qn),this},statusCode:function(qn){var Sr;if(qn)if(oe)Wn.always(qn[Wn.status]);else for(Sr in qn)jr[Sr]=[jr[Sr],qn[Sr]];return this},abort:function(qn){var Sr=qn||vs;return b&&b.abort(Sr),oa(0,Sr),this}};if(Zn.promise(Wn),ye.url=((u||ye.url||Hl.href)+"").replace(l2,Hl.protocol+"//"),ye.type=f.method||f.type||ye.method||ye.type,ye.dataTypes=(ye.dataType||"*").toLowerCase().match(It)||[""],null==ye.crossDomain){ae=X.createElement("a");try{ae.href=ye.url,ae.href=ae.href,ye.crossDomain=C0.protocol+"//"+C0.host!=ae.protocol+"//"+ae.host}catch{ye.crossDomain=!0}}if(ye.data&&ye.processData&&"string"!=typeof ye.data&&(ye.data=w.param(ye.data,ye.traditional)),t1(Vl,ye,f,Wn),oe)return Wn;for(De in(pe=w.event&&ye.global)&&0===w.active++&&w.event.trigger("ajaxStart"),ye.type=ye.type.toUpperCase(),ye.hasContent=!s2.test(ye.type),T=ye.url.replace(kc,""),ye.hasContent?ye.data&&ye.processData&&0===(ye.contentType||"").indexOf("application/x-www-form-urlencoded")&&(ye.data=ye.data.replace(Ju,"+")):(Ne=ye.url.slice(T.length),ye.data&&(ye.processData||"string"==typeof ye.data)&&(T+=(ol.test(T)?"&":"?")+ye.data,delete ye.data),!1===ye.cache&&(T=T.replace(su,"$1"),Ne=(ol.test(T)?"&":"?")+"_="+$n.guid+++Ne),ye.url=T+Ne),ye.ifModified&&(w.lastModified[T]&&Wn.setRequestHeader("If-Modified-Since",w.lastModified[T]),w.etag[T]&&Wn.setRequestHeader("If-None-Match",w.etag[T])),(ye.data&&ye.hasContent&&!1!==ye.contentType||f.contentType)&&Wn.setRequestHeader("Content-Type",ye.contentType),Wn.setRequestHeader("Accept",ye.dataTypes[0]&&ye.accepts[ye.dataTypes[0]]?ye.accepts[ye.dataTypes[0]]+("*"!==ye.dataTypes[0]?", "+e1+"; q=0.01":""):ye.accepts["*"]),ye.headers)Wn.setRequestHeader(De,ye.headers[De]);if(ye.beforeSend&&(!1===ye.beforeSend.call(Ze,Wn,ye)||oe))return Wn.abort();if(vs="abort",Dn.add(ye.complete),Wn.done(ye.success),Wn.fail(ye.error),b=t1(lu,ye,f,Wn)){if(Wn.readyState=1,pe&&fn.trigger("ajaxSend",[Wn,ye]),oe)return Wn;ye.async&&ye.timeout>0&&(j=M.setTimeout(function(){Wn.abort("timeout")},ye.timeout));try{oe=!1,b.send(oi,oa)}catch(qn){if(oe)throw qn;oa(-1,qn)}}else oa(-1,"No Transport");function oa(qn,Sr,is,Ft){var aa,U,wo,Rs,rs,So=Sr;oe||(oe=!0,j&&M.clearTimeout(j),b=void 0,H=Ft||"",Wn.readyState=qn>0?4:0,aa=qn>=200&&qn<300||304===qn,is&&(Rs=function n1(u,f,b){for(var T,H,V,j,ae=u.contents,oe=u.dataTypes;"*"===oe[0];)oe.shift(),void 0===T&&(T=u.mimeType||f.getResponseHeader("Content-Type"));if(T)for(H in ae)if(ae[H]&&ae[H].test(T)){oe.unshift(H);break}if(oe[0]in b)V=oe[0];else{for(H in b){if(!oe[0]||u.converters[H+" "+oe[0]]){V=H;break}j||(j=H)}V=V||j}if(V)return V!==oe[0]&&oe.unshift(V),b[V]}(ye,Wn,is)),!aa&&w.inArray("script",ye.dataTypes)>-1&&w.inArray("json",ye.dataTypes)<0&&(ye.converters["text script"]=function(){}),Rs=function i1(u,f,b,T){var H,V,j,ae,oe,pe={},De=u.dataTypes.slice();if(De[1])for(j in u.converters)pe[j.toLowerCase()]=u.converters[j];for(V=De.shift();V;)if(u.responseFields[V]&&(b[u.responseFields[V]]=f),!oe&&T&&u.dataFilter&&(f=u.dataFilter(f,u.dataType)),oe=V,V=De.shift())if("*"===V)V=oe;else if("*"!==oe&&oe!==V){if(!(j=pe[oe+" "+V]||pe["* "+V]))for(H in pe)if((ae=H.split(" "))[1]===V&&(j=pe[oe+" "+ae[0]]||pe["* "+ae[0]])){!0===j?j=pe[H]:!0!==pe[H]&&(V=ae[0],De.unshift(ae[1]));break}if(!0!==j)if(j&&u.throws)f=j(f);else try{f=j(f)}catch(Ne){return{state:"parsererror",error:j?Ne:"No conversion from "+oe+" to "+V}}}return{state:"success",data:f}}(ye,Rs,Wn,aa),aa?(ye.ifModified&&((rs=Wn.getResponseHeader("Last-Modified"))&&(w.lastModified[T]=rs),(rs=Wn.getResponseHeader("etag"))&&(w.etag[T]=rs)),204===qn||"HEAD"===ye.type?So="nocontent":304===qn?So="notmodified":(So=Rs.state,U=Rs.data,aa=!(wo=Rs.error))):(wo=So,(qn||!So)&&(So="error",qn<0&&(qn=0))),Wn.status=qn,Wn.statusText=(Sr||So)+"",aa?Zn.resolveWith(Ze,[U,So,Wn]):Zn.rejectWith(Ze,[Wn,So,wo]),Wn.statusCode(jr),jr=void 0,pe&&fn.trigger(aa?"ajaxSuccess":"ajaxError",[Wn,ye,aa?U:wo]),Dn.fireWith(Ze,[Wn,So]),pe&&(fn.trigger("ajaxComplete",[Wn,ye]),--w.active||w.event.trigger("ajaxStop")))}return Wn},getJSON:function(u,f,b){return w.get(u,f,b,"json")},getScript:function(u,f){return w.get(u,void 0,f,"script")}}),w.each(["get","post"],function(u,f){w[f]=function(b,T,H,V){return q(T)&&(V=V||H,H=T,T=void 0),w.ajax(w.extend({url:b,type:f,dataType:V,data:T,success:H},w.isPlainObject(b)&&b))}}),w.ajaxPrefilter(function(u){var f;for(f in u.headers)"content-type"===f.toLowerCase()&&(u.contentType=u.headers[f]||"")}),w._evalUrl=function(u,f,b){return w.ajax({url:u,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(T){w.globalEval(T,f,b)}})},w.fn.extend({wrapAll:function(u){var f;return this[0]&&(q(u)&&(u=u.call(this[0])),f=w(u,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&f.insertBefore(this[0]),f.map(function(){for(var b=this;b.firstElementChild;)b=b.firstElementChild;return b}).append(this)),this},wrapInner:function(u){return q(u)?this.each(function(f){w(this).wrapInner(u.call(this,f))}):this.each(function(){var f=w(this),b=f.contents();b.length?b.wrapAll(u):f.append(u)})},wrap:function(u){var f=q(u);return this.each(function(b){w(this).wrapAll(f?u.call(this,b):u)})},unwrap:function(u){return this.parent(u).not("body").each(function(){w(this).replaceWith(this.childNodes)}),this}}),w.expr.pseudos.hidden=function(u){return!w.expr.pseudos.visible(u)},w.expr.pseudos.visible=function(u){return!!(u.offsetWidth||u.offsetHeight||u.getClientRects().length)},w.ajaxSettings.xhr=function(){try{return new M.XMLHttpRequest}catch{}};var c2={0:200,1223:204},Bl=w.ajaxSettings.xhr();B.cors=!!Bl&&"withCredentials"in Bl,B.ajax=Bl=!!Bl,w.ajaxTransport(function(u){var f,b;if(B.cors||Bl&&!u.crossDomain)return{send:function(T,H){var V,j=u.xhr();if(j.open(u.type,u.url,u.async,u.username,u.password),u.xhrFields)for(V in u.xhrFields)j[V]=u.xhrFields[V];for(V in u.mimeType&&j.overrideMimeType&&j.overrideMimeType(u.mimeType),!u.crossDomain&&!T["X-Requested-With"]&&(T["X-Requested-With"]="XMLHttpRequest"),T)j.setRequestHeader(V,T[V]);f=function(ae){return function(){f&&(f=b=j.onload=j.onerror=j.onabort=j.ontimeout=j.onreadystatechange=null,"abort"===ae?j.abort():"error"===ae?"number"!=typeof j.status?H(0,"error"):H(j.status,j.statusText):H(c2[j.status]||j.status,j.statusText,"text"!==(j.responseType||"text")||"string"!=typeof j.responseText?{binary:j.response}:{text:j.responseText},j.getAllResponseHeaders()))}},j.onload=f(),b=j.onerror=j.ontimeout=f("error"),void 0!==j.onabort?j.onabort=b:j.onreadystatechange=function(){4===j.readyState&&M.setTimeout(function(){f&&b()})},f=f("abort");try{j.send(u.hasContent&&u.data||null)}catch(ae){if(f)throw ae}},abort:function(){f&&f()}}}),w.ajaxPrefilter(function(u){u.crossDomain&&(u.contents.script=!1)}),w.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(u){return w.globalEval(u),u}}}),w.ajaxPrefilter("script",function(u){void 0===u.cache&&(u.cache=!1),u.crossDomain&&(u.type="GET")}),w.ajaxTransport("script",function(u){var f,b;if(u.crossDomain||u.scriptAttrs)return{send:function(T,H){f=w("<script>").attr(u.scriptAttrs||{}).prop({charset:u.scriptCharset,src:u.url}).on("load error",b=function(V){f.remove(),b=null,V&&H("error"===V.type?404:200,V.type)}),X.head.appendChild(f[0])},abort:function(){b&&b()}}});var u,Fi=[],ra=/(=)\?(?=&|$)|\?\?/;w.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var u=Fi.pop()||w.expando+"_"+$n.guid++;return this[u]=!0,u}}),w.ajaxPrefilter("json jsonp",function(u,f,b){var T,H,V,j=!1!==u.jsonp&&(ra.test(u.url)?"url":"string"==typeof u.data&&0===(u.contentType||"").indexOf("application/x-www-form-urlencoded")&&ra.test(u.data)&&"data");if(j||"jsonp"===u.dataTypes[0])return T=u.jsonpCallback=q(u.jsonpCallback)?u.jsonpCallback():u.jsonpCallback,j?u[j]=u[j].replace(ra,"$1"+T):!1!==u.jsonp&&(u.url+=(ol.test(u.url)?"&":"?")+u.jsonp+"="+T),u.converters["script json"]=function(){return V||w.error(T+" was not called"),V[0]},u.dataTypes[0]="json",H=M[T],M[T]=function(){V=arguments},b.always(function(){void 0===H?w(M).removeProp(T):M[T]=H,u[T]&&(u.jsonpCallback=f.jsonpCallback,Fi.push(T)),V&&q(H)&&H(V[0]),V=H=void 0}),"script"}),B.createHTMLDocument=((u=X.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===u.childNodes.length),w.parseHTML=function(u,f,b){return"string"!=typeof u?[]:("boolean"==typeof f&&(b=f,f=!1),f||(B.createHTMLDocument?((T=(f=X.implementation.createHTMLDocument("")).createElement("base")).href=X.location.href,f.head.appendChild(T)):f=X),V=!b&&[],(H=kt.exec(u))?[f.createElement(H[1])]:(H=Ua([u],f,V),V&&V.length&&w(V).remove(),w.merge([],H.childNodes)));var T,H,V},w.fn.load=function(u,f,b){var T,H,V,j=this,ae=u.indexOf(" ");return ae>-1&&(T=rl(u.slice(ae)),u=u.slice(0,ae)),q(f)?(b=f,f=void 0):f&&"object"==typeof f&&(H="POST"),j.length>0&&w.ajax({url:u,type:H||"GET",dataType:"html",data:f}).done(function(oe){V=arguments,j.html(T?w("<div>").append(w.parseHTML(oe)).find(T):oe)}).always(b&&function(oe,pe){j.each(function(){b.apply(this,V||[oe.responseText,pe,oe])})}),this},w.expr.pseudos.animated=function(u){return w.grep(w.timers,function(f){return u===f.elem}).length},w.offset={setOffset:function(u,f,b){var T,H,V,j,ae,oe,De=w.css(u,"position"),Ne=w(u),ye={};"static"===De&&(u.style.position="relative"),ae=Ne.offset(),V=w.css(u,"top"),oe=w.css(u,"left"),("absolute"===De||"fixed"===De)&&(V+oe).indexOf("auto")>-1?(j=(T=Ne.position()).top,H=T.left):(j=parseFloat(V)||0,H=parseFloat(oe)||0),q(f)&&(f=f.call(u,b,w.extend({},ae))),null!=f.top&&(ye.top=f.top-ae.top+j),null!=f.left&&(ye.left=f.left-ae.left+H),"using"in f?f.using.call(u,ye):Ne.css(ye)}},w.fn.extend({offset:function(u){if(arguments.length)return void 0===u?this:this.each(function(H){w.offset.setOffset(this,u,H)});var f,b,T=this[0];return T?T.getClientRects().length?{top:(f=T.getBoundingClientRect()).top+(b=T.ownerDocument.defaultView).pageYOffset,left:f.left+b.pageXOffset}:{top:0,left:0}:void 0},position:function(){if(this[0]){var u,f,b,T=this[0],H={top:0,left:0};if("fixed"===w.css(T,"position"))f=T.getBoundingClientRect();else{for(f=this.offset(),b=T.ownerDocument,u=T.offsetParent||b.documentElement;u&&(u===b.body||u===b.documentElement)&&"static"===w.css(u,"position");)u=u.parentNode;u&&u!==T&&1===u.nodeType&&((H=w(u).offset()).top+=w.css(u,"borderTopWidth",!0),H.left+=w.css(u,"borderLeftWidth",!0))}return{top:f.top-H.top-w.css(T,"marginTop",!0),left:f.left-H.left-w.css(T,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var u=this.offsetParent;u&&"static"===w.css(u,"position");)u=u.offsetParent;return u||zi})}}),w.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(u,f){var b="pageYOffset"===f;w.fn[u]=function(T){return ri(this,function(H,V,j){var ae;if(W(H)?ae=H:9===H.nodeType&&(ae=H.defaultView),void 0===j)return ae?ae[f]:H[V];ae?ae.scrollTo(b?ae.pageXOffset:j,b?j:ae.pageYOffset):H[V]=j},u,T,arguments.length)}}),w.each(["top","left"],function(u,f){w.cssHooks[f]=e2(B.pixelPosition,function(b,T){if(T)return T=bi(b,f),Oo.test(T)?w(b).position()[f]+"px":T})}),w.each({Height:"height",Width:"width"},function(u,f){w.each({padding:"inner"+u,content:f,"":"outer"+u},function(b,T){w.fn[T]=function(H,V){var j=arguments.length&&(b||"boolean"!=typeof H),ae=b||(!0===H||!0===V?"margin":"border");return ri(this,function(oe,pe,De){var Ne;return W(oe)?0===T.indexOf("outer")?oe["inner"+u]:oe.document.documentElement["client"+u]:9===oe.nodeType?(Ne=oe.documentElement,Math.max(oe.body["scroll"+u],Ne["scroll"+u],oe.body["offset"+u],Ne["offset"+u],Ne["client"+u])):void 0===De?w.css(oe,pe,ae):w.style(oe,pe,De,ae)},f,j?H:void 0,j)}})}),w.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(u,f){w.fn[f]=function(b){return this.on(f,b)}}),w.fn.extend({bind:function(u,f,b){return this.on(u,null,f,b)},unbind:function(u,f){return this.off(u,null,f)},delegate:function(u,f,b,T){return this.on(f,u,b,T)},undelegate:function(u,f,b){return 1===arguments.length?this.off(u,"**"):this.off(f,u||"**",b)},hover:function(u,f){return this.on("mouseenter",u).on("mouseleave",f||u)}}),w.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(u,f){w.fn[f]=function(b,T){return arguments.length>0?this.on(f,null,b,T):this.trigger(f)}});var gs=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;w.proxy=function(u,f){var b,T,H;if("string"==typeof f&&(b=u[f],f=u,u=b),q(u))return T=y.call(arguments,2),H=function(){return u.apply(f||this,T.concat(y.call(arguments)))},H.guid=u.guid=u.guid||w.guid++,H},w.holdReady=function(u){u?w.readyWait++:w.ready(!0)},w.isArray=Array.isArray,w.parseJSON=JSON.parse,w.nodeName=Ue,w.isFunction=q,w.isWindow=W,w.camelCase=zr,w.type=be,w.now=Date.now,w.isNumeric=function(u){var f=w.type(u);return("number"===f||"string"===f)&&!isNaN(u-parseFloat(u))},w.trim=function(u){return null==u?"":(u+"").replace(gs,"$1")},void 0!==(F=function(){return w}.apply(le,[]))&&(ne.exports=F);var M0=M.jQuery,hn=M.$;return w.noConflict=function(u){return M.$===w&&(M.$=hn),u&&M.jQuery===w&&(M.jQuery=M0),w},typeof Y>"u"&&(M.jQuery=M.$=w),w})},7598(ne){"use strict";ne.exports=Math.abs},3116(ne){"use strict";ne.exports=Math.floor},159(ne){"use strict";ne.exports=Number.isNaN||function(R){return R!=R}},2136(ne){"use strict";ne.exports=Math.max},3462(ne){"use strict";ne.exports=Math.min},1516(ne){"use strict";ne.exports=Math.pow},5714(ne){"use strict";ne.exports=Math.round},497(ne,le,R){"use strict";var F=R(159);ne.exports=function(Y){return F(Y)||0===Y?Y:Y<0?-1:1}},9545(ne,le,R){(ne=R.nmd(ne)).exports=function(){"use strict";var F,q;function M(){return F.apply(null,arguments)}function Q(d){return d instanceof Array||"[object Array]"===Object.prototype.toString.call(d)}function $(d){return null!=d&&"[object Object]"===Object.prototype.toString.call(d)}function y(d,m){return Object.prototype.hasOwnProperty.call(d,m)}function g(d){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(d).length;var m;for(m in d)if(y(d,m))return!1;return!0}function _(d){return void 0===d}function E(d){return"number"==typeof d||"[object Number]"===Object.prototype.toString.call(d)}function A(d){return d instanceof Date||"[object Date]"===Object.prototype.toString.call(d)}function D(d,m){var N,x=[],G=d.length;for(N=0;N<G;++N)x.push(m(d[N],N));return x}function z(d,m){for(var x in m)y(m,x)&&(d[x]=m[x]);return y(m,"toString")&&(d.toString=m.toString),y(m,"valueOf")&&(d.valueOf=m.valueOf),d}function O(d,m,x,N){return sa(d,m,x,N,!0).utc()}function B(d){return null==d._pf&&(d._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),d._pf}function W(d){if(null==d._isValid){var m=B(d),x=q.call(m.parsedDateParts,function(G){return null!=G}),N=!isNaN(d._d.getTime())&&m.overflow<0&&!m.empty&&!m.invalidEra&&!m.invalidMonth&&!m.invalidWeekday&&!m.weekdayMismatch&&!m.nullInput&&!m.invalidFormat&&!m.userInvalidated&&(!m.meridiem||m.meridiem&&x);if(d._strict&&(N=N&&0===m.charsLeftOver&&0===m.unusedTokens.length&&void 0===m.bigHour),null!=Object.isFrozen&&Object.isFrozen(d))return N;d._isValid=N}return d._isValid}function X(d){var m=O(NaN);return null!=d?z(B(m),d):B(m).userInvalidated=!0,m}q=Array.prototype.some?Array.prototype.some:function(d){var N,m=Object(this),x=m.length>>>0;for(N=0;N<x;N++)if(N in m&&d.call(this,m[N],N,m))return!0;return!1};var he=M.momentProperties=[],me=!1;function be(d,m){var x,N,G,se=he.length;if(_(m._isAMomentObject)||(d._isAMomentObject=m._isAMomentObject),_(m._i)||(d._i=m._i),_(m._f)||(d._f=m._f),_(m._l)||(d._l=m._l),_(m._strict)||(d._strict=m._strict),_(m._tzm)||(d._tzm=m._tzm),_(m._isUTC)||(d._isUTC=m._isUTC),_(m._offset)||(d._offset=m._offset),_(m._pf)||(d._pf=B(m)),_(m._locale)||(d._locale=m._locale),se>0)for(x=0;x<se;x++)_(G=m[N=he[x]])||(d[N]=G);return d}function Oe(d){be(this,d),this._d=new Date(null!=d._d?d._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===me&&(me=!0,M.updateOffset(this),me=!1)}function We(d){return d instanceof Oe||null!=d&&null!=d._isAMomentObject}function w(d){!1===M.suppressDeprecationWarnings&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+d)}function qe(d,m){var x=!0;return z(function(){if(null!=M.deprecationHandler&&M.deprecationHandler(null,d),x){var G,se,Ie,N=[],Yt=arguments.length;for(se=0;se<Yt;se++){if(G="","object"==typeof arguments[se]){for(Ie in G+="\n["+se+"] ",arguments[0])y(arguments[0],Ie)&&(G+=Ie+": "+arguments[0][Ie]+", ");G=G.slice(0,-2)}else G=arguments[se];N.push(G)}w(d+"\nArguments: "+Array.prototype.slice.call(N).join("")+"\n"+(new Error).stack),x=!1}return m.apply(this,arguments)},m)}var jn,Ue={};function Tt(d,m){null!=M.deprecationHandler&&M.deprecationHandler(d,m),Ue[d]||(w(m),Ue[d]=!0)}function Rt(d){return typeof Function<"u"&&d instanceof Function||"[object Function]"===Object.prototype.toString.call(d)}function yt(d,m){var N,x=z({},d);for(N in m)y(m,N)&&($(d[N])&&$(m[N])?(x[N]={},z(x[N],d[N]),z(x[N],m[N])):null!=m[N]?x[N]=m[N]:delete x[N]);for(N in d)y(d,N)&&!y(m,N)&&$(d[N])&&(x[N]=z({},x[N]));return x}function Vt(d){null!=d&&this.set(d)}M.suppressDeprecationWarnings=!1,M.deprecationHandler=null,jn=Object.keys?Object.keys:function(d){var m,x=[];for(m in d)y(d,m)&&x.push(m);return x};function vi(d,m,x){var N=""+Math.abs(d);return(d>=0?x?"+":"":"-")+Math.pow(10,Math.max(0,m-N.length)).toString().substr(1)+N}var Ln=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Pi=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,rt={},kt={};function Ee(d,m,x,N){var G=N;"string"==typeof N&&(G=function(){return this[N]()}),d&&(kt[d]=G),m&&(kt[m[0]]=function(){return vi(G.apply(this,arguments),m[1],m[2])}),x&&(kt[x]=function(){return this.localeData().ordinal(G.apply(this,arguments),d)})}function Se(d){return d.match(/\[[\s\S]/)?d.replace(/^\[|\]$/g,""):d.replace(/\\/g,"")}function Ct(d,m){return d.isValid()?(m=Qt(m,d.localeData()),rt[m]=rt[m]||function Ye(d){var x,N,m=d.match(Ln);for(x=0,N=m.length;x<N;x++)m[x]=kt[m[x]]?kt[m[x]]:Se(m[x]);return function(G){var Ie,se="";for(Ie=0;Ie<N;Ie++)se+=Rt(m[Ie])?m[Ie].call(G,d):m[Ie];return se}}(m),rt[m](d)):d.localeData().invalidDate()}function Qt(d,m){var x=5;function N(G){return m.longDateFormat(G)||G}for(Pi.lastIndex=0;x>=0&&Pi.test(d);)d=d.replace(Pi,N),Pi.lastIndex=0,x-=1;return d}var ri={};function Ii(d,m){var x=d.toLowerCase();ri[x]=ri[x+"s"]=ri[m]=d}function ur(d){return"string"==typeof d?ri[d]||ri[d.toLowerCase()]:void 0}function Hr(d){var x,N,m={};for(N in d)y(d,N)&&(x=ur(N))&&(m[x]=d[N]);return m}var zr={};function zt(d,m){zr[d]=m}function wt(d){return d%4==0&&d%100!=0||d%400==0}function Rn(d){return d<0?Math.ceil(d)||0:Math.floor(d)}function vt(d){var m=+d,x=0;return 0!==m&&isFinite(m)&&(x=Rn(m)),x}function Jo(d,m){return function(x){return null!=x?(Os(this,d,x),M.updateOffset(this,m),this):Uo(this,d)}}function Uo(d,m){return d.isValid()?d._d["get"+(d._isUTC?"UTC":"")+m]():NaN}function Os(d,m,x){d.isValid()&&!isNaN(x)&&("FullYear"===m&&wt(d.year())&&1===d.month()&&29===d.date()?(x=vt(x),d._d["set"+(d._isUTC?"UTC":"")+m](x,d.month(),bi(x,d.month()))):d._d["set"+(d._isUTC?"UTC":"")+m](x))}var Ps,ea=/\d/,zi=/\d\d/,Ma=/\d{3}/,Ce=/\d{4}/,we=/[+-]?\d{6}/,Lt=/\d\d?/,Un=/\d\d\d\d?/,di=/\d\d\d\d\d\d?/,rn=/\d{1,3}/,Jr=/\d{1,4}/,ta=/[+-]?\d{1,6}/,dr=/\d+/,Zi=/[+-]?\d+/,br=/Z|[+-]\d\d:?\d\d/gi,bo=/Z|[+-]\d\d(?::?\d\d)?/gi,Ua=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function dt(d,m,x){Ps[d]=Rt(m)?m:function(N,G){return N&&x?x:m}}function Vr(d,m){return y(Ps,d)?Ps[d](m._strict,m._locale):new RegExp(function nl(d){return Cr(d.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(m,x,N,G,se){return x||N||G||se}))}(d))}function Cr(d){return d.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}Ps={};var On={};function ei(d,m){var x,G,N=m;for("string"==typeof d&&(d=[d]),E(m)&&(N=function(se,Ie){Ie[m]=vt(se)}),G=d.length,x=0;x<G;x++)On[d[x]]=N}function Ns(d,m){ei(d,function(x,N,G,se){G._w=G._w||{},m(x,G._w,G,se)})}function wc(d,m,x){null!=m&&y(On,d)&&On[d](m,x._a,x,d)}var ti,Br=0,Dt=1,Co=2,on=3,wr=4,Lo=5,Oo=6,ms=7,ge=8;function bi(d,m){if(isNaN(d)||isNaN(m))return NaN;var x=function Sc(d,m){return(d%m+m)%m}(m,12);return d+=(m-x)/12,1===x?wt(d)?29:28:31-x%7%2}ti=Array.prototype.indexOf?Array.prototype.indexOf:function(d){var m;for(m=0;m<this.length;++m)if(this[m]===d)return m;return-1},Ee("M",["MM",2],"Mo",function(){return this.month()+1}),Ee("MMM",0,0,function(d){return this.localeData().monthsShort(this,d)}),Ee("MMMM",0,0,function(d){return this.localeData().months(this,d)}),Ii("month","M"),zt("month",8),dt("M",Lt),dt("MM",Lt,zi),dt("MMM",function(d,m){return m.monthsShortRegex(d)}),dt("MMMM",function(d,m){return m.monthsRegex(d)}),ei(["M","MM"],function(d,m){m[Dt]=vt(d)-1}),ei(["MMM","MMMM"],function(d,m,x,N){var G=x._locale.monthsParse(d,N,x._strict);null!=G?m[Dt]=G:B(x).invalidMonth=d});var e2="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),m0="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),ni=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,g0=Ua,qo=Ua;function t2(d,m,x){var N,G,se,Ie=d.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],N=0;N<12;++N)se=O([2e3,N]),this._shortMonthsParse[N]=this.monthsShort(se,"").toLocaleLowerCase(),this._longMonthsParse[N]=this.months(se,"").toLocaleLowerCase();return x?"MMM"===m?-1!==(G=ti.call(this._shortMonthsParse,Ie))?G:null:-1!==(G=ti.call(this._longMonthsParse,Ie))?G:null:"MMM"===m?-1!==(G=ti.call(this._shortMonthsParse,Ie))||-1!==(G=ti.call(this._longMonthsParse,Ie))?G:null:-1!==(G=ti.call(this._longMonthsParse,Ie))||-1!==(G=ti.call(this._shortMonthsParse,Ie))?G:null}function yn(d,m){var x;if(!d.isValid())return d;if("string"==typeof m)if(/^\d+$/.test(m))m=vt(m);else if(!E(m=d.localeData().monthsParse(m)))return d;return x=Math.min(d.date(),bi(d.year(),m)),d._d["set"+(d._isUTC?"UTC":"")+"Month"](m,x),d}function il(d){return null!=d?(yn(this,d),M.updateOffset(this,!0),this):Uo(this,"Month")}function ou(){function d(Ie,Yt){return Yt.length-Ie.length}var G,se,m=[],x=[],N=[];for(G=0;G<12;G++)se=O([2e3,G]),m.push(this.monthsShort(se,"")),x.push(this.months(se,"")),N.push(this.months(se,"")),N.push(this.monthsShort(se,""));for(m.sort(d),x.sort(d),N.sort(d),G=0;G<12;G++)m[G]=Cr(m[G]),x[G]=Cr(x[G]);for(G=0;G<24;G++)N[G]=Cr(N[G]);this._monthsRegex=new RegExp("^("+N.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+x.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+m.join("|")+")","i")}function Ta(d){return wt(d)?366:365}Ee("Y",0,0,function(){var d=this.year();return d<=9999?vi(d,4):"+"+d}),Ee(0,["YY",2],0,function(){return this.year()%100}),Ee(0,["YYYY",4],0,"year"),Ee(0,["YYYYY",5],0,"year"),Ee(0,["YYYYYY",6,!0],0,"year"),Ii("year","y"),zt("year",1),dt("Y",Zi),dt("YY",Lt,zi),dt("YYYY",Jr,Ce),dt("YYYYY",ta,we),dt("YYYYYY",ta,we),ei(["YYYYY","YYYYYY"],Br),ei("YYYY",function(d,m){m[Br]=2===d.length?M.parseTwoDigitYear(d):vt(d)}),ei("YY",function(d,m){m[Br]=M.parseTwoDigitYear(d)}),ei("Y",function(d,m){m[Br]=parseInt(d,10)}),M.parseTwoDigitYear=function(d){return vt(d)+(vt(d)>68?1900:2e3)};var n2=Jo("FullYear",!0);function i2(d,m,x,N,G,se,Ie){var Yt;return d<100&&d>=0?(Yt=new Date(d+400,m,x,N,G,se,Ie),isFinite(Yt.getFullYear())&&Yt.setFullYear(d)):Yt=new Date(d,m,x,N,G,se,Ie),Yt}function Fs(d){var m,x;return d<100&&d>=0?((x=Array.prototype.slice.call(arguments))[0]=d+400,m=new Date(Date.UTC.apply(null,x)),isFinite(m.getUTCFullYear())&&m.setUTCFullYear(d)):m=new Date(Date.UTC.apply(null,arguments)),m}function Tc(d,m,x){var N=7+m-x;return-(7+Fs(d,0,N).getUTCDay()-m)%7+N-1}function r2(d,m,x,N,G){var Nn,Ri,Yt=1+7*(m-1)+(7+x-N)%7+Tc(d,N,G);return Yt<=0?Ri=Ta(Nn=d-1)+Yt:Yt>Ta(d)?(Nn=d+1,Ri=Yt-Ta(d)):(Nn=d,Ri=Yt),{year:Nn,dayOfYear:Ri}}function Dc(d,m,x){var se,Ie,N=Tc(d.year(),m,x),G=Math.floor((d.dayOfYear()-N-1)/7)+1;return G<1?se=G+eo(Ie=d.year()-1,m,x):G>eo(d.year(),m,x)?(se=G-eo(d.year(),m,x),Ie=d.year()+1):(Ie=d.year(),se=G),{week:se,year:Ie}}function eo(d,m,x){var N=Tc(d,m,x),G=Tc(d+1,m,x);return(Ta(d)-N+G)/7}Ee("w",["ww",2],"wo","week"),Ee("W",["WW",2],"Wo","isoWeek"),Ii("week","w"),Ii("isoWeek","W"),zt("week",5),zt("isoWeek",5),dt("w",Lt),dt("ww",Lt,zi),dt("W",Lt),dt("WW",Lt,zi),Ns(["w","ww","W","WW"],function(d,m,x,N){m[N.substr(0,1)]=vt(d)});function Hl(d,m){return d.slice(m,7).concat(d.slice(0,m))}Ee("d",0,"do","day"),Ee("dd",0,0,function(d){return this.localeData().weekdaysMin(this,d)}),Ee("ddd",0,0,function(d){return this.localeData().weekdaysShort(this,d)}),Ee("dddd",0,0,function(d){return this.localeData().weekdays(this,d)}),Ee("e",0,0,"weekday"),Ee("E",0,0,"isoWeekday"),Ii("day","d"),Ii("weekday","e"),Ii("isoWeekday","E"),zt("day",11),zt("weekday",11),zt("isoWeekday",11),dt("d",Lt),dt("e",Lt),dt("E",Lt),dt("dd",function(d,m){return m.weekdaysMinRegex(d)}),dt("ddd",function(d,m){return m.weekdaysShortRegex(d)}),dt("dddd",function(d,m){return m.weekdaysRegex(d)}),Ns(["dd","ddd","dddd"],function(d,m,x,N){var G=x._locale.weekdaysParse(d,N,x._strict);null!=G?m.d=G:B(x).invalidWeekday=d}),Ns(["d","e","E"],function(d,m,x,N){m[N]=vt(d)});var $n="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),ol="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),y0="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),b0=Ua,o2=Ua,xc=Ua;function Ju(d,m,x){var N,G,se,Ie=d.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],N=0;N<7;++N)se=O([2e3,1]).day(N),this._minWeekdaysParse[N]=this.weekdaysMin(se,"").toLocaleLowerCase(),this._shortWeekdaysParse[N]=this.weekdaysShort(se,"").toLocaleLowerCase(),this._weekdaysParse[N]=this.weekdays(se,"").toLocaleLowerCase();return x?"dddd"===m?-1!==(G=ti.call(this._weekdaysParse,Ie))?G:null:"ddd"===m?-1!==(G=ti.call(this._shortWeekdaysParse,Ie))?G:null:-1!==(G=ti.call(this._minWeekdaysParse,Ie))?G:null:"dddd"===m?-1!==(G=ti.call(this._weekdaysParse,Ie))||-1!==(G=ti.call(this._shortWeekdaysParse,Ie))||-1!==(G=ti.call(this._minWeekdaysParse,Ie))?G:null:"ddd"===m?-1!==(G=ti.call(this._shortWeekdaysParse,Ie))||-1!==(G=ti.call(this._weekdaysParse,Ie))||-1!==(G=ti.call(this._minWeekdaysParse,Ie))?G:null:-1!==(G=ti.call(this._minWeekdaysParse,Ie))||-1!==(G=ti.call(this._weekdaysParse,Ie))||-1!==(G=ti.call(this._shortWeekdaysParse,Ie))?G:null}function lu(){function d(No,ys){return ys.length-No.length}var se,Ie,Yt,Nn,Ri,m=[],x=[],N=[],G=[];for(se=0;se<7;se++)Ie=O([2e3,1]).day(se),Yt=Cr(this.weekdaysMin(Ie,"")),Nn=Cr(this.weekdaysShort(Ie,"")),Ri=Cr(this.weekdays(Ie,"")),m.push(Yt),x.push(Nn),N.push(Ri),G.push(Yt),G.push(Nn),G.push(Ri);m.sort(d),x.sort(d),N.sort(d),G.sort(d),this._weekdaysRegex=new RegExp("^("+G.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+N.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+x.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+m.join("|")+")","i")}function e1(){return this.hours()%12||12}function w0(d,m){Ee(d,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),m)})}function t1(d,m){return m._meridiemParse}Ee("H",["HH",2],0,"hour"),Ee("h",["hh",2],0,e1),Ee("k",["kk",2],0,function C0(){return this.hours()||24}),Ee("hmm",0,0,function(){return""+e1.apply(this)+vi(this.minutes(),2)}),Ee("hmmss",0,0,function(){return""+e1.apply(this)+vi(this.minutes(),2)+vi(this.seconds(),2)}),Ee("Hmm",0,0,function(){return""+this.hours()+vi(this.minutes(),2)}),Ee("Hmmss",0,0,function(){return""+this.hours()+vi(this.minutes(),2)+vi(this.seconds(),2)}),w0("a",!0),w0("A",!1),Ii("hour","h"),zt("hour",13),dt("a",t1),dt("A",t1),dt("H",Lt),dt("h",Lt),dt("k",Lt),dt("HH",Lt,zi),dt("hh",Lt,zi),dt("kk",Lt,zi),dt("hmm",Un),dt("hmmss",di),dt("Hmm",Un),dt("Hmmss",di),ei(["H","HH"],on),ei(["k","kk"],function(d,m,x){var N=vt(d);m[on]=24===N?0:N}),ei(["a","A"],function(d,m,x){x._isPm=x._locale.isPM(d),x._meridiem=d}),ei(["h","hh"],function(d,m,x){m[on]=vt(d),B(x).bigHour=!0}),ei("hmm",function(d,m,x){var N=d.length-2;m[on]=vt(d.substr(0,N)),m[wr]=vt(d.substr(N)),B(x).bigHour=!0}),ei("hmmss",function(d,m,x){var N=d.length-4,G=d.length-2;m[on]=vt(d.substr(0,N)),m[wr]=vt(d.substr(N,2)),m[Lo]=vt(d.substr(G)),B(x).bigHour=!0}),ei("Hmm",function(d,m,x){var N=d.length-2;m[on]=vt(d.substr(0,N)),m[wr]=vt(d.substr(N))}),ei("Hmmss",function(d,m,x){var N=d.length-4,G=d.length-2;m[on]=vt(d.substr(0,N)),m[wr]=vt(d.substr(N,2)),m[Lo]=vt(d.substr(G))});var i1=Jo("Hours",!0);var gs,Bl={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:e2,monthsShort:m0,week:{dow:0,doy:6},weekdays:$n,weekdaysMin:y0,weekdaysShort:ol,meridiemParse:/[ap]\.?m?\.?/i},Fi={},ra={};function M0(d,m){var x,N=Math.min(d.length,m.length);for(x=0;x<N;x+=1)if(d[x]!==m[x])return x;return N}function hn(d){return d&&d.toLowerCase().replace("_","-")}function b(d){var m=null;if(void 0===Fi[d]&&ne&&ne.exports&&function f(d){return null!=d.match("^[^/\\\\]*$")}(d))try{m=gs._abbr,Object(function(){var G=new Error("Cannot find module 'undefined'");throw G.code="MODULE_NOT_FOUND",G}()),T(m)}catch{Fi[d]=null}return Fi[d]}function T(d,m){var x;return d&&((x=_(m)?j(d):H(d,m))?gs=x:typeof console<"u"&&console.warn&&console.warn("Locale "+d+" not found. Did you forget to load it?")),gs._abbr}function H(d,m){if(null!==m){var x,N=Bl;if(m.abbr=d,null!=Fi[d])Tt("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),N=Fi[d]._config;else if(null!=m.parentLocale)if(null!=Fi[m.parentLocale])N=Fi[m.parentLocale]._config;else{if(null==(x=b(m.parentLocale)))return ra[m.parentLocale]||(ra[m.parentLocale]=[]),ra[m.parentLocale].push({name:d,config:m}),null;N=x._config}return Fi[d]=new Vt(yt(N,m)),ra[d]&&ra[d].forEach(function(G){H(G.name,G.config)}),T(d),Fi[d]}return delete Fi[d],null}function j(d){var m;if(d&&d._locale&&d._locale._abbr&&(d=d._locale._abbr),!d)return gs;if(!Q(d)){if(m=b(d))return m;d=[d]}return function u(d){for(var x,N,G,se,m=0;m<d.length;){for(x=(se=hn(d[m]).split("-")).length,N=(N=hn(d[m+1]))?N.split("-"):null;x>0;){if(G=b(se.slice(0,x).join("-")))return G;if(N&&N.length>=x&&M0(se,N)>=x-1)break;x--}m++}return gs}(d)}function oe(d){var m,x=d._a;return x&&-2===B(d).overflow&&(m=x[Dt]<0||x[Dt]>11?Dt:x[Co]<1||x[Co]>bi(x[Br],x[Dt])?Co:x[on]<0||x[on]>24||24===x[on]&&(0!==x[wr]||0!==x[Lo]||0!==x[Oo])?on:x[wr]<0||x[wr]>59?wr:x[Lo]<0||x[Lo]>59?Lo:x[Oo]<0||x[Oo]>999?Oo:-1,B(d)._overflowDayOfYear&&(m<Br||m>Co)&&(m=Co),B(d)._overflowWeeks&&-1===m&&(m=ms),B(d)._overflowWeekday&&-1===m&&(m=ge),B(d).overflow=m),d}var pe=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,De=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Ne=/Z|[+-]\d\d(?::?\d\d)?/,ye=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],Ze=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],fn=/^\/?Date\((-?\d+)/i,Zn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Dn={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function jr(d){var m,x,se,Ie,Yt,Nn,N=d._i,G=pe.exec(N)||De.exec(N),Ri=ye.length,No=Ze.length;if(G){for(B(d).iso=!0,m=0,x=Ri;m<x;m++)if(ye[m][1].exec(G[1])){Ie=ye[m][0],se=!1!==ye[m][2];break}if(null==Ie)return void(d._isValid=!1);if(G[3]){for(m=0,x=No;m<x;m++)if(Ze[m][1].exec(G[3])){Yt=(G[2]||" ")+Ze[m][0];break}if(null==Yt)return void(d._isValid=!1)}if(!se&&null!=Yt)return void(d._isValid=!1);if(G[4]){if(!Ne.exec(G[4]))return void(d._isValid=!1);Nn="Z"}d._f=Ie+(Yt||"")+(Nn||""),wo(d)}else d._isValid=!1}function qa(d){var m=parseInt(d,10);return m<=49?2e3+m:m<=999?1900+m:m}function qn(d){var x,m=Zn.exec(function vs(d){return d.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}(d._i));if(m){if(x=function oi(d,m,x,N,G,se){var Ie=[qa(d),m0.indexOf(m),parseInt(x,10),parseInt(N,10),parseInt(G,10)];return se&&Ie.push(parseInt(se,10)),Ie}(m[4],m[3],m[2],m[5],m[6],m[7]),!function Wn(d,m,x){return!d||ol.indexOf(d)===new Date(m[0],m[1],m[2]).getDay()||(B(x).weekdayMismatch=!0,x._isValid=!1,!1)}(m[1],x,d))return;d._a=x,d._tzm=function oa(d,m,x){if(d)return Dn[d];if(m)return 0;var N=parseInt(x,10),G=N%100;return(N-G)/100*60+G}(m[8],m[9],m[10]),d._d=Fs.apply(null,d._a),d._d.setUTCMinutes(d._d.getUTCMinutes()-d._tzm),B(d).rfc2822=!0}else d._isValid=!1}function is(d,m,x){return d??m??x}function aa(d){var m,x,G,se,Ie,N=[];if(!d._d){for(G=function Ft(d){var m=new Date(M.now());return d._useUTC?[m.getUTCFullYear(),m.getUTCMonth(),m.getUTCDate()]:[m.getFullYear(),m.getMonth(),m.getDate()]}(d),d._w&&null==d._a[Co]&&null==d._a[Dt]&&function U(d){var m,x,N,G,se,Ie,Yt,Nn,Ri;null!=(m=d._w).GG||null!=m.W||null!=m.E?(se=1,Ie=4,x=is(m.GG,d._a[Br],Dc(_i(),1,4).year),N=is(m.W,1),((G=is(m.E,1))<1||G>7)&&(Nn=!0)):(se=d._locale._week.dow,Ie=d._locale._week.doy,Ri=Dc(_i(),se,Ie),x=is(m.gg,d._a[Br],Ri.year),N=is(m.w,Ri.week),null!=m.d?((G=m.d)<0||G>6)&&(Nn=!0):null!=m.e?(G=m.e+se,(m.e<0||m.e>6)&&(Nn=!0)):G=se),N<1||N>eo(x,se,Ie)?B(d)._overflowWeeks=!0:null!=Nn?B(d)._overflowWeekday=!0:(Yt=r2(x,N,G,se,Ie),d._a[Br]=Yt.year,d._dayOfYear=Yt.dayOfYear)}(d),null!=d._dayOfYear&&(Ie=is(d._a[Br],G[Br]),(d._dayOfYear>Ta(Ie)||0===d._dayOfYear)&&(B(d)._overflowDayOfYear=!0),x=Fs(Ie,0,d._dayOfYear),d._a[Dt]=x.getUTCMonth(),d._a[Co]=x.getUTCDate()),m=0;m<3&&null==d._a[m];++m)d._a[m]=N[m]=G[m];for(;m<7;m++)d._a[m]=N[m]=null==d._a[m]?2===m?1:0:d._a[m];24===d._a[on]&&0===d._a[wr]&&0===d._a[Lo]&&0===d._a[Oo]&&(d._nextDay=!0,d._a[on]=0),d._d=(d._useUTC?Fs:i2).apply(null,N),se=d._useUTC?d._d.getUTCDay():d._d.getDay(),null!=d._tzm&&d._d.setUTCMinutes(d._d.getUTCMinutes()-d._tzm),d._nextDay&&(d._a[on]=24),d._w&&typeof d._w.d<"u"&&d._w.d!==se&&(B(d).weekdayMismatch=!0)}}function wo(d){if(d._f!==M.ISO_8601)if(d._f!==M.RFC_2822){d._a=[],B(d).empty=!0;var x,N,G,se,Ie,Ri,No,m=""+d._i,Yt=m.length,Nn=0;for(No=(G=Qt(d._f,d._locale).match(Ln)||[]).length,x=0;x<No;x++)(N=(m.match(Vr(se=G[x],d))||[])[0])&&((Ie=m.substr(0,m.indexOf(N))).length>0&&B(d).unusedInput.push(Ie),m=m.slice(m.indexOf(N)+N.length),Nn+=N.length),kt[se]?(N?B(d).empty=!1:B(d).unusedTokens.push(se),wc(se,N,d)):d._strict&&!N&&B(d).unusedTokens.push(se);B(d).charsLeftOver=Yt-Nn,m.length>0&&B(d).unusedInput.push(m),d._a[on]<=12&&!0===B(d).bigHour&&d._a[on]>0&&(B(d).bigHour=void 0),B(d).parsedDateParts=d._a.slice(0),B(d).meridiem=d._meridiem,d._a[on]=function Rs(d,m,x){var N;return null==x?m:null!=d.meridiemHour?d.meridiemHour(m,x):(null!=d.isPM&&((N=d.isPM(x))&&m<12&&(m+=12),!N&&12===m&&(m=0)),m)}(d._locale,d._a[on],d._meridiem),null!==(Ri=B(d).era)&&(d._a[Br]=d._locale.erasConvertYear(Ri,d._a[Br])),aa(d),oe(d)}else qn(d);else jr(d)}function Mo(d){var m=d._i,x=d._f;return d._locale=d._locale||j(d._l),null===m||void 0===x&&""===m?X({nullInput:!0}):("string"==typeof m&&(d._i=m=d._locale.preparse(m)),We(m)?new Oe(oe(m)):(A(m)?d._d=m:Q(x)?function rs(d){var m,x,N,G,se,Ie,Yt=!1,Nn=d._f.length;if(0===Nn)return B(d).invalidFormat=!0,void(d._d=new Date(NaN));for(G=0;G<Nn;G++)se=0,Ie=!1,m=be({},d),null!=d._useUTC&&(m._useUTC=d._useUTC),m._f=d._f[G],wo(m),W(m)&&(Ie=!0),se+=B(m).charsLeftOver,se+=10*B(m).unusedTokens.length,B(m).score=se,Yt?se<N&&(N=se,x=m):(null==N||se<N||Ie)&&(N=se,x=m,Ie&&(Yt=!0));z(d,x||m)}(d):x?wo(d):function _s(d){var m=d._i;_(m)?d._d=new Date(M.now()):A(m)?d._d=new Date(m.valueOf()):"string"==typeof m?function Sr(d){var m=fn.exec(d._i);null===m?(jr(d),!1===d._isValid&&(delete d._isValid,qn(d),!1===d._isValid&&(delete d._isValid,d._strict?d._isValid=!1:M.createFromInputFallback(d)))):d._d=new Date(+m[1])}(d):Q(m)?(d._a=D(m.slice(0),function(x){return parseInt(x,10)}),aa(d)):$(m)?function So(d){if(!d._d){var m=Hr(d._i);d._a=D([m.year,m.month,void 0===m.day?m.date:m.day,m.hour,m.minute,m.second,m.millisecond],function(N){return N&&parseInt(N,10)}),aa(d)}}(d):E(m)?d._d=new Date(m):M.createFromInputFallback(d)}(d),W(d)||(d._d=null),d))}function sa(d,m,x,N,G){var se={};return(!0===m||!1===m)&&(N=m,m=void 0),(!0===x||!1===x)&&(N=x,x=void 0),($(d)&&g(d)||Q(d)&&0===d.length)&&(d=void 0),se._isAMomentObject=!0,se._useUTC=se._isUTC=G,se._l=x,se._i=d,se._f=m,se._strict=N,function r1(d){var m=new Oe(oe(Mo(d)));return m._nextDay&&(m.add(1,"d"),m._nextDay=void 0),m}(se)}function _i(d,m,x,N){return sa(d,m,x,N,!1)}M.createFromInputFallback=qe("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(d){d._d=new Date(d._i+(d._useUTC?" UTC":""))}),M.ISO_8601=function(){},M.RFC_2822=function(){};var T0=qe("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var d=_i.apply(null,arguments);return this.isValid()&&d.isValid()?d<this?this:d:X()}),ai=qe("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var d=_i.apply(null,arguments);return this.isValid()&&d.isValid()?d>this?this:d:X()});function Hs(d,m){var x,N;if(1===m.length&&Q(m[0])&&(m=m[0]),!m.length)return _i();for(x=m[0],N=1;N<m.length;++N)(!m[N].isValid()||m[N][d](x))&&(x=m[N]);return x}var ll=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Vn(d){var m=Hr(d),x=m.year||0,N=m.quarter||0,G=m.month||0,se=m.week||m.isoWeek||0,Ie=m.day||0,Yt=m.hour||0,Nn=m.minute||0,Ri=m.second||0,No=m.millisecond||0;this._isValid=function Ul(d){var m,N,x=!1,G=ll.length;for(m in d)if(y(d,m)&&(-1===ti.call(ll,m)||null!=d[m]&&isNaN(d[m])))return!1;for(N=0;N<G;++N)if(d[ll[N]]){if(x)return!1;parseFloat(d[ll[N]])!==vt(d[ll[N]])&&(x=!0)}return!0}(m),this._milliseconds=+No+1e3*Ri+6e4*Nn+1e3*Yt*60*60,this._days=+Ie+7*se,this._months=+G+3*N+12*x,this._data={},this._locale=j(),this._bubble()}function ka(d){return d instanceof Vn}function Vs(d){return d<0?-1*Math.round(-1*d):Math.round(d)}function Bs(d,m){Ee(d,0,0,function(){var x=this.utcOffset(),N="+";return x<0&&(x=-x,N="-"),N+vi(~~(x/60),2)+m+vi(~~x%60,2)})}Bs("Z",":"),Bs("ZZ",""),dt("Z",bo),dt("ZZ",bo),ei(["Z","ZZ"],function(d,m,x){x._useUTC=!0,x._tzm=Ec(bo,d)});var Ea=/([\+\-]|\d\d)/gi;function Ec(d,m){var G,se,x=(m||"").match(d);return null===x?null:0===(se=60*(G=((x[x.length-1]||[])+"").match(Ea)||["-",0,0])[1]+vt(G[2]))?0:"+"===G[0]?se:-se}function Gn(d,m){var x,N;return m._isUTC?(x=m.clone(),N=(We(d)||A(d)?d.valueOf():_i(d).valueOf())-x.valueOf(),x._d.setTime(x._d.valueOf()+N),M.updateOffset(x,!1),x):_i(d).local()}function uu(d){return-Math.round(d._d.getTimezoneOffset())}function pt(){return!!this.isValid()&&this._isUTC&&0===this._offset}M.updateOffset=function(){};var Ot=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,mt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function ln(d,m){var G,se,Ie,x=d,N=null;return ka(d)?x={ms:d._milliseconds,d:d._days,M:d._months}:E(d)||!isNaN(+d)?(x={},m?x[m]=+d:x.milliseconds=+d):(N=Ot.exec(d))?(G="-"===N[1]?-1:1,x={y:0,d:vt(N[Co])*G,h:vt(N[on])*G,m:vt(N[wr])*G,s:vt(N[Lo])*G,ms:vt(Vs(1e3*N[Oo]))*G}):(N=mt.exec(d))?x={y:Bt(N[2],G="-"===N[1]?-1:1),M:Bt(N[3],G),w:Bt(N[4],G),d:Bt(N[5],G),h:Bt(N[6],G),m:Bt(N[7],G),s:Bt(N[8],G)}:null==x?x={}:"object"==typeof x&&("from"in x||"to"in x)&&(Ie=function Pn(d,m){var x;return d.isValid()&&m.isValid()?(m=Gn(m,d),d.isBefore(m)?x=qt(d,m):((x=qt(m,d)).milliseconds=-x.milliseconds,x.months=-x.months),x):{milliseconds:0,months:0}}(_i(x.from),_i(x.to)),(x={}).ms=Ie.milliseconds,x.M=Ie.months),se=new Vn(x),ka(d)&&y(d,"_locale")&&(se._locale=d._locale),ka(d)&&y(d,"_isValid")&&(se._isValid=d._isValid),se}function Bt(d,m){var x=d&&parseFloat(d.replace(",","."));return(isNaN(x)?0:x)*m}function qt(d,m){var x={};return x.months=m.month()-d.month()+12*(m.year()-d.year()),d.clone().add(x.months,"M").isAfter(m)&&--x.months,x.milliseconds=+m-+d.clone().add(x.months,"M"),x}function Ut(d,m){return function(x,N){var se;return null!==N&&!isNaN(+N)&&(Tt(m,"moment()."+m+"(period, number) is deprecated. Please use moment()."+m+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),se=x,x=N,N=se),yi(this,ln(x,N),d),this}}function yi(d,m,x,N){var G=m._milliseconds,se=Vs(m._days),Ie=Vs(m._months);d.isValid()&&(N=N??!0,Ie&&yn(d,Uo(d,"Month")+Ie*x),se&&Os(d,"Date",Uo(d,"Date")+se*x),G&&d._d.setTime(d._d.valueOf()+G*x),N&&M.updateOffset(d,se||Ie))}ln.fn=Vn.prototype,ln.invalid=function xa(){return ln(NaN)};var Po=Ut(1,"add"),to=Ut(-1,"subtract");function To(d){return"string"==typeof d||d instanceof String}function Ti(d){return We(d)||A(d)||To(d)||E(d)||function mo(d){var m=Q(d),x=!1;return m&&(x=0===d.filter(function(N){return!E(N)&&To(d)}).length),m&&x}(d)||function Ia(d){var G,m=$(d)&&!g(d),x=!1,N=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],Ie=N.length;for(G=0;G<Ie;G+=1)x=x||y(d,N[G]);return m&&x}(d)||null==d}function h2(d,m){if(d.date()<m.date())return-h2(m,d);var x=12*(m.year()-d.year())+(m.month()-d.month()),N=d.clone().add(x,"months");return-(x+(m-N<0?(m-N)/(N-d.clone().add(x-1,"months")):(m-N)/(d.clone().add(x+1,"months")-N)))||0}function hi(d){var m;return void 0===d?this._locale._abbr:(null!=(m=j(d))&&(this._locale=m),this)}M.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",M.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Xn=qe("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(d){return void 0===d?this.localeData():this.locale(d)});function $a(){return this._locale}var os=6e4,zc=60*os,Ac=3506328*zc;function Xi(d,m){return(d%m+m)%m}function ul(d,m,x){return d<100&&d>=0?new Date(d+400,m,x)-Ac:new Date(d,m,x).valueOf()}function Lc(d,m,x){return d<100&&d>=0?Date.UTC(d+400,m,x)-Ac:Date.UTC(d,m,x)}function qs(d,m){return m.erasAbbrRegex(d)}function x0(){var G,se,d=[],m=[],x=[],N=[],Ie=this.eras();for(G=0,se=Ie.length;G<se;++G)m.push(Cr(Ie[G].name)),d.push(Cr(Ie[G].abbr)),x.push(Cr(Ie[G].narrow)),N.push(Cr(Ie[G].name)),N.push(Cr(Ie[G].abbr)),N.push(Cr(Ie[G].narrow));this._erasRegex=new RegExp("^("+N.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+m.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+d.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+x.join("|")+")","i")}function m2(d,m){Ee(0,[d,d.length],0,m)}function fm(d,m,x,N,G){var se;return null==d?Dc(this,N,G).year:(m>(se=eo(d,N,G))&&(m=se),jb.call(this,d,m,x,N,G))}function jb(d,m,x,N,G){var se=r2(d,m,x,N,G),Ie=Fs(se.year,0,se.dayOfYear);return this.year(Ie.getUTCFullYear()),this.month(Ie.getUTCMonth()),this.date(Ie.getUTCDate()),this}Ee("N",0,0,"eraAbbr"),Ee("NN",0,0,"eraAbbr"),Ee("NNN",0,0,"eraAbbr"),Ee("NNNN",0,0,"eraName"),Ee("NNNNN",0,0,"eraNarrow"),Ee("y",["y",1],"yo","eraYear"),Ee("y",["yy",2],0,"eraYear"),Ee("y",["yyy",3],0,"eraYear"),Ee("y",["yyyy",4],0,"eraYear"),dt("N",qs),dt("NN",qs),dt("NNN",qs),dt("NNNN",function Hb(d,m){return m.erasNameRegex(d)}),dt("NNNNN",function Vb(d,m){return m.erasNarrowRegex(d)}),ei(["N","NN","NNN","NNNN","NNNNN"],function(d,m,x,N){var G=x._locale.erasParse(d,N,x._strict);G?B(x).era=G:B(x).invalidEra=d}),dt("y",dr),dt("yy",dr),dt("yyy",dr),dt("yyyy",dr),dt("yo",function pl(d,m){return m._eraYearOrdinalRegex||dr}),ei(["y","yy","yyy","yyyy"],Br),ei(["yo"],function(d,m,x,N){var G;x._locale._eraYearOrdinalRegex&&(G=d.match(x._locale._eraYearOrdinalRegex)),m[Br]=x._locale.eraYearOrdinalParse?x._locale.eraYearOrdinalParse(d,G):parseInt(d,10)}),Ee(0,["gg",2],0,function(){return this.weekYear()%100}),Ee(0,["GG",2],0,function(){return this.isoWeekYear()%100}),m2("gggg","weekYear"),m2("ggggg","weekYear"),m2("GGGG","isoWeekYear"),m2("GGGGG","isoWeekYear"),Ii("weekYear","gg"),Ii("isoWeekYear","GG"),zt("weekYear",1),zt("isoWeekYear",1),dt("G",Zi),dt("g",Zi),dt("GG",Lt,zi),dt("gg",Lt,zi),dt("GGGG",Jr,Ce),dt("gggg",Jr,Ce),dt("GGGGG",ta,we),dt("ggggg",ta,we),Ns(["gggg","ggggg","GGGG","GGGGG"],function(d,m,x,N){m[N.substr(0,2)]=vt(d)}),Ns(["gg","GG"],function(d,m,x,N){m[N]=M.parseTwoDigitYear(d)}),Ee("Q",0,"Qo","quarter"),Ii("quarter","Q"),zt("quarter",7),dt("Q",ea),ei("Q",function(d,m){m[Dt]=3*(vt(d)-1)}),Ee("D",["DD",2],"Do","date"),Ii("date","D"),zt("date",9),dt("D",Lt),dt("DD",Lt,zi),dt("Do",function(d,m){return d?m._dayOfMonthOrdinalParse||m._ordinalParse:m._dayOfMonthOrdinalParseLenient}),ei(["D","DD"],Co),ei("Do",function(d,m){m[Co]=vt(d.match(Lt)[0])});var mm=Jo("Date",!0);Ee("DDD",["DDDD",3],"DDDo","dayOfYear"),Ii("dayOfYear","DDD"),zt("dayOfYear",4),dt("DDD",rn),dt("DDDD",Ma),ei(["DDD","DDDD"],function(d,m,x){x._dayOfYear=vt(d)}),Ee("m",["mm",2],0,"minute"),Ii("minute","m"),zt("minute",14),dt("m",Lt),dt("mm",Lt,zi),ei(["m","mm"],wr);var Wb=Jo("Minutes",!1);Ee("s",["ss",2],0,"second"),Ii("second","s"),zt("second",15),dt("s",Lt),dt("ss",Lt,zi),ei(["s","ss"],Lo);var ml,g2,Gb=Jo("Seconds",!1);for(Ee("S",0,0,function(){return~~(this.millisecond()/100)}),Ee(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),Ee(0,["SSS",3],0,"millisecond"),Ee(0,["SSSS",4],0,function(){return 10*this.millisecond()}),Ee(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),Ee(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),Ee(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),Ee(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),Ee(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),Ii("millisecond","ms"),zt("millisecond",16),dt("S",rn,ea),dt("SS",rn,zi),dt("SSS",rn,Ma),ml="SSSS";ml.length<=9;ml+="S")dt(ml,dr);function Kb(d,m){m[Oo]=vt(1e3*("0."+d))}for(ml="S";ml.length<=9;ml+="S")ei(ml,Kb);g2=Jo("Milliseconds",!1),Ee("z",0,0,"zoneAbbr"),Ee("zz",0,0,"zoneName");var tt=Oe.prototype;function l4(d){return d}tt.add=Po,tt.calendar=function r4(d,m){1===arguments.length&&(arguments[0]?Ti(arguments[0])?(d=arguments[0],m=void 0):function sm(d){var G,m=$(d)&&!g(d),x=!1,N=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(G=0;G<N.length;G+=1)x=x||y(d,N[G]);return m&&x}(arguments[0])&&(m=arguments[0],d=void 0):(d=void 0,m=void 0));var x=d||_i(),N=Gn(x,this).startOf("day"),G=M.calendarFormat(this,N)||"sameElse",se=m&&(Rt(m[G])?m[G].call(this,x):m[G]);return this.format(se||this.localeData().calendar(G,this,_i(x)))},tt.clone=function o1(){return new Oe(this)},tt.diff=function d2(d,m,x){var N,G,se;if(!this.isValid())return NaN;if(!(N=Gn(d,this)).isValid())return NaN;switch(G=6e4*(N.utcOffset()-this.utcOffset()),m=ur(m)){case"year":se=h2(this,N)/12;break;case"month":se=h2(this,N);break;case"quarter":se=h2(this,N)/3;break;case"second":se=(this-N)/1e3;break;case"minute":se=(this-N)/6e4;break;case"hour":se=(this-N)/36e5;break;case"day":se=(this-N-G)/864e5;break;case"week":se=(this-N-G)/6048e5;break;default:se=this-N}return x?se:Rn(se)},tt.endOf=function s1(d){var m,x;if(void 0===(d=ur(d))||"millisecond"===d||!this.isValid())return this;switch(x=this._isUTC?Lc:ul,d){case"year":m=x(this.year()+1,0,1)-1;break;case"quarter":m=x(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":m=x(this.year(),this.month()+1,1)-1;break;case"week":m=x(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":m=x(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":m=x(this.year(),this.month(),this.date()+1)-1;break;case"hour":m=this._d.valueOf(),m+=zc-Xi(m+(this._isUTC?0:this.utcOffset()*os),zc)-1;break;case"minute":m=this._d.valueOf(),m+=os-Xi(m,os)-1;break;case"second":m=this._d.valueOf(),m+=1e3-Xi(m,1e3)-1}return this._d.setTime(m),M.updateOffset(this,!0),this},tt.format=function Ur(d){d||(d=this.isUtc()?M.defaultFormatUtc:M.defaultFormat);var m=Ct(this,d);return this.localeData().postformat(m)},tt.from=function jo(d,m){return this.isValid()&&(We(d)&&d.isValid()||_i(d).isValid())?ln({to:this,from:d}).locale(this.locale()).humanize(!m):this.localeData().invalidDate()},tt.fromNow=function Do(d){return this.from(_i(),d)},tt.to=function Ic(d,m){return this.isValid()&&(We(d)&&d.isValid()||_i(d).isValid())?ln({from:this,to:d}).locale(this.locale()).humanize(!m):this.localeData().invalidDate()},tt.toNow=function a1(d){return this.to(_i(),d)},tt.get=function Ba(d){return Rt(this[d=ur(d)])?this[d]():this},tt.invalidAt=function p2(){return B(this).overflow},tt.isAfter=function du(d,m){var x=We(d)?d:_i(d);return!(!this.isValid()||!x.isValid())&&("millisecond"===(m=ur(m)||"millisecond")?this.valueOf()>x.valueOf():x.valueOf()<this.clone().startOf(m).valueOf())},tt.isBefore=function cm(d,m){var x=We(d)?d:_i(d);return!(!this.isValid()||!x.isValid())&&("millisecond"===(m=ur(m)||"millisecond")?this.valueOf()<x.valueOf():this.clone().endOf(m).valueOf()<x.valueOf())},tt.isBetween=function um(d,m,x,N){var G=We(d)?d:_i(d),se=We(m)?m:_i(m);return!!(this.isValid()&&G.isValid()&&se.isValid())&&("("===(N=N||"()")[0]?this.isAfter(G,x):!this.isBefore(G,x))&&(")"===N[1]?this.isBefore(se,x):!this.isAfter(se,x))},tt.isSame=function dm(d,m){var N,x=We(d)?d:_i(d);return!(!this.isValid()||!x.isValid())&&("millisecond"===(m=ur(m)||"millisecond")?this.valueOf()===x.valueOf():(N=x.valueOf(),this.clone().startOf(m).valueOf()<=N&&N<=this.clone().endOf(m).valueOf()))},tt.isSameOrAfter=function u2(d,m){return this.isSame(d,m)||this.isAfter(d,m)},tt.isSameOrBefore=function ja(d,m){return this.isSame(d,m)||this.isBefore(d,m)},tt.isValid=function $l(){return W(this)},tt.lang=Xn,tt.locale=hi,tt.localeData=$a,tt.max=ai,tt.min=T0,tt.parsingFlags=function en(){return z({},B(this))},tt.set=function ns(d,m){if("object"==typeof d){var N,x=function ho(d){var x,m=[];for(x in d)y(d,x)&&m.push({unit:x,priority:zr[x]});return m.sort(function(N,G){return N.priority-G.priority}),m}(d=Hr(d)),G=x.length;for(N=0;N<G;N++)this[x[N].unit](d[x[N].unit])}else if(Rt(this[d=ur(d)]))return this[d](m);return this},tt.startOf=function dl(d){var m,x;if(void 0===(d=ur(d))||"millisecond"===d||!this.isValid())return this;switch(x=this._isUTC?Lc:ul,d){case"year":m=x(this.year(),0,1);break;case"quarter":m=x(this.year(),this.month()-this.month()%3,1);break;case"month":m=x(this.year(),this.month(),1);break;case"week":m=x(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":m=x(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":m=x(this.year(),this.month(),this.date());break;case"hour":m=this._d.valueOf(),m-=Xi(m+(this._isUTC?0:this.utcOffset()*os),zc);break;case"minute":m=this._d.valueOf(),m-=Xi(m,os);break;case"second":m=this._d.valueOf(),m-=Xi(m,1e3)}return this._d.setTime(m),M.updateOffset(this,!0),this},tt.subtract=to,tt.toArray=function Oc(){var d=this;return[d.year(),d.month(),d.date(),d.hour(),d.minute(),d.second(),d.millisecond()]},tt.toObject=function Wa(){var d=this;return{years:d.year(),months:d.month(),date:d.date(),hours:d.hours(),minutes:d.minutes(),seconds:d.seconds(),milliseconds:d.milliseconds()}},tt.toDate=function f2(){return new Date(this.valueOf())},tt.toISOString=function Qe(d){if(!this.isValid())return null;var m=!0!==d,x=m?this.clone().utc():this;return x.year()<0||x.year()>9999?Ct(x,m?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):Rt(Date.prototype.toISOString)?m?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",Ct(x,"Z")):Ct(x,m?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},tt.inspect=function an(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var x,N,d="moment",m="";return this.isLocal()||(d=0===this.utcOffset()?"moment.utc":"moment.parseZone",m="Z"),x="["+d+'("]',N=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(x+N+"-MM-DD[T]HH:mm:ss.SSS"+m+'[")]')},typeof Symbol<"u"&&null!=Symbol.for&&(tt[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),tt.toJSON=function hu(){return this.isValid()?this.toISOString():null},tt.toString=function no(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},tt.unix=function jl(){return Math.floor(this.valueOf()/1e3)},tt.valueOf=function o4(){return this._d.valueOf()-6e4*(this._offset||0)},tt.creationData=function Wl(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},tt.eraName=function Ui(){var d,m,x,N=this.localeData().eras();for(d=0,m=N.length;d<m;++d)if(x=this.clone().startOf("day").valueOf(),N[d].since<=x&&x<=N[d].until||N[d].until<=x&&x<=N[d].since)return N[d].name;return""},tt.eraNarrow=function Ar(){var d,m,x,N=this.localeData().eras();for(d=0,m=N.length;d<m;++d)if(x=this.clone().startOf("day").valueOf(),N[d].since<=x&&x<=N[d].until||N[d].until<=x&&x<=N[d].since)return N[d].narrow;return""},tt.eraAbbr=function la(){var d,m,x,N=this.localeData().eras();for(d=0,m=N.length;d<m;++d)if(x=this.clone().startOf("day").valueOf(),N[d].since<=x&&x<=N[d].until||N[d].until<=x&&x<=N[d].since)return N[d].abbr;return""},tt.eraYear=function a4(){var d,m,x,N,G=this.localeData().eras();for(d=0,m=G.length;d<m;++d)if(x=G[d].since<=G[d].until?1:-1,N=this.clone().startOf("day").valueOf(),G[d].since<=N&&N<=G[d].until||G[d].until<=N&&N<=G[d].since)return(this.year()-M(G[d].since).year())*x+G[d].offset;return this.year()},tt.year=n2,tt.isLeapYear=function v0(){return wt(this.year())},tt.weekYear=function hm(d){return fm.call(this,d,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},tt.isoWeekYear=function k0(d){return fm.call(this,d,this.isoWeek(),this.isoWeekday(),1,4)},tt.quarter=tt.quarters=function pm(d){return null==d?Math.ceil((this.month()+1)/3):this.month(3*(d-1)+this.month()%3)},tt.month=il,tt.daysInMonth=function Yo(){return bi(this.year(),this.month())},tt.week=tt.weeks=function rl(d){var m=this.localeData().week(this);return null==d?m:this.add(7*(d-m),"d")},tt.isoWeek=tt.isoWeeks=function Rl(d){var m=Dc(this,1,4).week;return null==d?m:this.add(7*(d-m),"d")},tt.weeksInYear=function qb(){var d=this.localeData()._week;return eo(this.year(),d.dow,d.doy)},tt.weeksInWeekYear=function Yb(){var d=this.localeData()._week;return eo(this.weekYear(),d.dow,d.doy)},tt.isoWeeksInYear=function Bb(){return eo(this.year(),1,4)},tt.isoWeeksInISOWeekYear=function Ub(){return eo(this.isoWeekYear(),1,4)},tt.date=mm,tt.day=tt.days=function su(d){if(!this.isValid())return null!=d?this:NaN;var m=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=d?(d=function _0(d,m){return"string"!=typeof d?d:isNaN(d)?"number"==typeof(d=m.weekdaysParse(d))?d:null:parseInt(d,10)}(d,this.localeData()),this.add(d-m,"d")):m},tt.weekday=function al(d){if(!this.isValid())return null!=d?this:NaN;var m=(this.day()+7-this.localeData()._week.dow)%7;return null==d?m:this.add(d-m,"d")},tt.isoWeekday=function a2(d){if(!this.isValid())return null!=d?this:NaN;if(null!=d){var m=function Ke(d,m){return"string"==typeof d?m.weekdaysParse(d)%7||7:isNaN(d)?null:d}(d,this.localeData());return this.day(this.day()%7?m:m-7)}return this.day()||7},tt.dayOfYear=function $b(d){var m=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==d?m:this.add(d-m,"d")},tt.hour=tt.hours=i1,tt.minute=tt.minutes=Wb,tt.second=tt.seconds=Gb,tt.millisecond=tt.milliseconds=g2,tt.utcOffset=function po(d,m,x){var G,N=this._offset||0;if(!this.isValid())return null!=d?this:NaN;if(null!=d){if("string"==typeof d){if(null===(d=Ec(bo,d)))return this}else Math.abs(d)<16&&!x&&(d*=60);return!this._isUTC&&m&&(G=uu(this)),this._offset=d,this._isUTC=!0,null!=G&&this.add(G,"m"),N!==d&&(!m||this._changeInProgress?yi(this,ln(d-N,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,M.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?N:uu(this)},tt.utc=function Us(d){return this.utcOffset(0,d)},tt.local=function Yl(d){return this._isUTC&&(this.utcOffset(0,d),this._isUTC=!1,d&&this.subtract(uu(this),"m")),this},tt.parseZone=function ee(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var d=Ec(br,this._i);null!=d?this.utcOffset(d):this.utcOffset(0,!0)}return this},tt.hasAlignedHourOffset=function fe(d){return!!this.isValid()&&(d=d?_i(d).utcOffset():0,(this.utcOffset()-d)%60==0)},tt.isDST=function _e(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},tt.isLocal=function Le(){return!!this.isValid()&&!this._isUTC},tt.isUtcOffset=function ot(){return!!this.isValid()&&this._isUTC},tt.isUtc=pt,tt.isUTC=pt,tt.zoneAbbr=function Qb(){return this._isUTC?"UTC":""},tt.zoneName=function Zb(){return this._isUTC?"Coordinated Universal Time":""},tt.dates=qe("dates accessor is deprecated. Use date instead.",mm),tt.months=qe("months accessor is deprecated. Use month instead",il),tt.years=qe("years accessor is deprecated. Use year instead",n2),tt.zone=qe("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function Ya(d,m){return null!=d?("string"!=typeof d&&(d=-d),this.utcOffset(d,m),this):-this.utcOffset()}),tt.isDSTShifted=qe("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function Te(){if(!_(this._isDSTShifted))return this._isDSTShifted;var m,d={};return be(d,this),(d=Mo(d))._a?(m=d._isUTC?O(d._a):_i(d._a),this._isDSTShifted=this.isValid()&&function ql(d,m,x){var Ie,N=Math.min(d.length,m.length),G=Math.abs(d.length-m.length),se=0;for(Ie=0;Ie<N;Ie++)(x&&d[Ie]!==m[Ie]||!x&&vt(d[Ie])!==vt(m[Ie]))&&se++;return se+G}(d._a,m.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted});var Kn=Vt.prototype;function Lr(d,m,x,N){var G=j(),se=O().set(N,m);return G[x](se,d)}function c4(d,m,x){if(E(d)&&(m=d,d=void 0),d=d||"",null!=m)return Lr(d,m,x,"month");var N,G=[];for(N=0;N<12;N++)G[N]=Lr(d,N,x,"month");return G}function Gl(d,m,x,N){"boolean"==typeof d?(E(m)&&(x=m,m=void 0),m=m||""):(x=m=d,d=!1,E(m)&&(x=m,m=void 0),m=m||"");var Ie,G=j(),se=d?G._week.dow:0,Yt=[];if(null!=x)return Lr(m,(x+se)%7,N,"day");for(Ie=0;Ie<7;Ie++)Yt[Ie]=Lr(m,(Ie+se)%7,N,"day");return Yt}Kn.calendar=function Ei(d,m,x){var N=this._calendar[d]||this._calendar.sameElse;return Rt(N)?N.call(m,x):N},Kn.longDateFormat=function Fn(d){var m=this._longDateFormat[d],x=this._longDateFormat[d.toUpperCase()];return m||!x?m:(this._longDateFormat[d]=x.match(Ln).map(function(N){return"MMMM"===N||"MM"===N||"DD"===N||"dddd"===N?N.slice(1):N}).join(""),this._longDateFormat[d])},Kn.invalidDate=function un(){return this._invalidDate},Kn.ordinal=function Ni(d){return this._ordinal.replace("%d",d)},Kn.preparse=l4,Kn.postformat=l4,Kn.relativeTime=function _r(d,m,x,N){var G=this._relativeTime[x];return Rt(G)?G(d,m,x,N):G.replace(/%d/i,d)},Kn.pastFuture=function yr(d,m){var x=this._relativeTime[d>0?"future":"past"];return Rt(x)?x(m):x.replace(/%s/i,m)},Kn.set=function vn(d){var m,x;for(x in d)y(d,x)&&(Rt(m=d[x])?this[x]=m:this["_"+x]=m);this._config=d,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},Kn.eras=function hl(d,m){var x,N,G,se=this._eras||j("en")._eras;for(x=0,N=se.length;x<N;++x)switch("string"==typeof se[x].since&&(G=M(se[x].since).startOf("day"),se[x].since=G.valueOf()),typeof se[x].until){case"undefined":se[x].until=1/0;break;case"string":G=M(se[x].until).startOf("day").valueOf(),se[x].until=G.valueOf()}return se},Kn.erasParse=function D0(d,m,x){var N,G,Ie,Yt,Nn,se=this.eras();for(d=d.toUpperCase(),N=0,G=se.length;N<G;++N)if(Ie=se[N].name.toUpperCase(),Yt=se[N].abbr.toUpperCase(),Nn=se[N].narrow.toUpperCase(),x)switch(m){case"N":case"NN":case"NNN":if(Yt===d)return se[N];break;case"NNNN":if(Ie===d)return se[N];break;case"NNNNN":if(Nn===d)return se[N]}else if([Ie,Yt,Nn].indexOf(d)>=0)return se[N]},Kn.erasConvertYear=function fu(d,m){var x=d.since<=d.until?1:-1;return void 0===m?M(d.since).year():M(d.since).year()+(m-d.offset)*x},Kn.erasAbbrRegex=function pu(d){return y(this,"_erasAbbrRegex")||x0.call(this),d?this._erasAbbrRegex:this._erasRegex},Kn.erasNameRegex=function fl(d){return y(this,"_erasNameRegex")||x0.call(this),d?this._erasNameRegex:this._erasRegex},Kn.erasNarrowRegex=function Ga(d){return y(this,"_erasNarrowRegex")||x0.call(this),d?this._erasNarrowRegex:this._erasRegex},Kn.months=function Mc(d,m){return d?Q(this._months)?this._months[d.month()]:this._months[(this._months.isFormat||ni).test(m)?"format":"standalone"][d.month()]:Q(this._months)?this._months:this._months.standalone},Kn.monthsShort=function t4(d,m){return d?Q(this._monthsShort)?this._monthsShort[d.month()]:this._monthsShort[ni.test(m)?"format":"standalone"][d.month()]:Q(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},Kn.monthsParse=function Hn(d,m,x){var N,G,se;if(this._monthsParseExact)return t2.call(this,d,m,x);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),N=0;N<12;N++){if(G=O([2e3,N]),x&&!this._longMonthsParse[N]&&(this._longMonthsParse[N]=new RegExp("^"+this.months(G,"").replace(".","")+"$","i"),this._shortMonthsParse[N]=new RegExp("^"+this.monthsShort(G,"").replace(".","")+"$","i")),!x&&!this._monthsParse[N]&&(se="^"+this.months(G,"")+"|^"+this.monthsShort(G,""),this._monthsParse[N]=new RegExp(se.replace(".",""),"i")),x&&"MMMM"===m&&this._longMonthsParse[N].test(d))return N;if(x&&"MMM"===m&&this._shortMonthsParse[N].test(d))return N;if(!x&&this._monthsParse[N].test(d))return N}},Kn.monthsRegex=function Fl(d){return this._monthsParseExact?(y(this,"_monthsRegex")||ou.call(this),d?this._monthsStrictRegex:this._monthsRegex):(y(this,"_monthsRegex")||(this._monthsRegex=qo),this._monthsStrictRegex&&d?this._monthsStrictRegex:this._monthsRegex)},Kn.monthsShortRegex=function ia(d){return this._monthsParseExact?(y(this,"_monthsRegex")||ou.call(this),d?this._monthsShortStrictRegex:this._monthsShortRegex):(y(this,"_monthsShortRegex")||(this._monthsShortRegex=g0),this._monthsShortStrictRegex&&d?this._monthsShortStrictRegex:this._monthsShortRegex)},Kn.week=function fo(d){return Dc(d,this._week.dow,this._week.doy).week},Kn.firstDayOfYear=function i4(){return this._week.doy},Kn.firstDayOfWeek=function n4(){return this._week.dow},Kn.weekdays=function au(d,m){var x=Q(this._weekdays)?this._weekdays:this._weekdays[d&&!0!==d&&this._weekdays.isFormat.test(m)?"format":"standalone"];return!0===d?Hl(x,this._week.dow):d?x[d.day()]:x},Kn.weekdaysMin=function Ae(d){return!0===d?Hl(this._weekdaysMin,this._week.dow):d?this._weekdaysMin[d.day()]:this._weekdaysMin},Kn.weekdaysShort=function Xu(d){return!0===d?Hl(this._weekdaysShort,this._week.dow):d?this._weekdaysShort[d.day()]:this._weekdaysShort},Kn.weekdaysParse=function kc(d,m,x){var N,G,se;if(this._weekdaysParseExact)return Ju.call(this,d,m,x);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),N=0;N<7;N++){if(G=O([2e3,1]).day(N),x&&!this._fullWeekdaysParse[N]&&(this._fullWeekdaysParse[N]=new RegExp("^"+this.weekdays(G,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[N]=new RegExp("^"+this.weekdaysShort(G,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[N]=new RegExp("^"+this.weekdaysMin(G,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[N]||(se="^"+this.weekdays(G,"")+"|^"+this.weekdaysShort(G,"")+"|^"+this.weekdaysMin(G,""),this._weekdaysParse[N]=new RegExp(se.replace(".",""),"i")),x&&"dddd"===m&&this._fullWeekdaysParse[N].test(d))return N;if(x&&"ddd"===m&&this._shortWeekdaysParse[N].test(d))return N;if(x&&"dd"===m&&this._minWeekdaysParse[N].test(d))return N;if(!x&&this._weekdaysParse[N].test(d))return N}},Kn.weekdaysRegex=function s2(d){return this._weekdaysParseExact?(y(this,"_weekdaysRegex")||lu.call(this),d?this._weekdaysStrictRegex:this._weekdaysRegex):(y(this,"_weekdaysRegex")||(this._weekdaysRegex=b0),this._weekdaysStrictRegex&&d?this._weekdaysStrictRegex:this._weekdaysRegex)},Kn.weekdaysShortRegex=function l2(d){return this._weekdaysParseExact?(y(this,"_weekdaysRegex")||lu.call(this),d?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(y(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=o2),this._weekdaysShortStrictRegex&&d?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},Kn.weekdaysMinRegex=function Vl(d){return this._weekdaysParseExact?(y(this,"_weekdaysRegex")||lu.call(this),d?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(y(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=xc),this._weekdaysMinStrictRegex&&d?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},Kn.isPM=function S0(d){return"p"===(d+"").toLowerCase().charAt(0)},Kn.meridiem=function c2(d,m,x){return d>11?x?"pm":"PM":x?"am":"AM"},T("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(d){var m=d%10;return d+(1===vt(d%100/10)?"th":1===m?"st":2===m?"nd":3===m?"rd":"th")}}),M.lang=qe("moment.lang is deprecated. Use moment.locale instead.",T),M.langData=qe("moment.langData is deprecated. Use moment.localeData instead.",j);var gl=Math.abs;function y2(d,m,x,N){var G=ln(m,x);return d._milliseconds+=N*G._milliseconds,d._days+=N*G._days,d._months+=N*G._months,d._bubble()}function mu(d){return d<0?Math.floor(d):Math.ceil(d)}function Nc(d){return 4800*d/146097}function gu(d){return 146097*d/4800}function Ys(d){return function(){return this.as(d)}}var d4=Ys("ms"),vm=Ys("s"),Cn=Ys("m"),vu=Ys("h"),S2=Ys("d"),M2=Ys("w"),_m=Ys("M"),ym=Ys("Q"),h4=Ys("y");function Kl(d){return function(){return this.isValid()?this._data[d]:NaN}}var bm=Kl("milliseconds"),Xb=Kl("seconds"),Cm=Kl("minutes"),p4=Kl("hours"),Pe=Kl("days"),xn=Kl("months"),ce=Kl("years");var Zt=Math.round,Fc={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function l1(d,m,x,N,G){return G.relativeTime(m||1,!!x,d,N)}var _4=Math.abs;function c1(d){return(d>0)-(d<0)||+d}function u1(){if(!this.isValid())return this.localeData().invalidDate();var N,G,se,Ie,Nn,Ri,No,ys,d=_4(this._milliseconds)/1e3,m=_4(this._days),x=_4(this._months),Yt=this.asSeconds();return Yt?(N=Rn(d/60),G=Rn(N/60),d%=60,N%=60,se=Rn(x/12),x%=12,Ie=d?d.toFixed(3).replace(/\.?0+$/,""):"",Nn=Yt<0?"-":"",Ri=c1(this._months)!==c1(Yt)?"-":"",No=c1(this._days)!==c1(Yt)?"-":"",ys=c1(this._milliseconds)!==c1(Yt)?"-":"",Nn+"P"+(se?Ri+se+"Y":"")+(x?Ri+x+"M":"")+(m?No+m+"D":"")+(G||N||d?"T":"")+(G?ys+G+"H":"")+(N?ys+N+"M":"")+(d?ys+Ie+"S":"")):"P0D"}var ii=Vn.prototype;
//! moment.js
return ii.isValid=function cl(){return this._isValid},ii.abs=function $o(){var d=this._data;return this._milliseconds=gl(this._milliseconds),this._days=gl(this._days),this._months=gl(this._months),d.milliseconds=gl(d.milliseconds),d.seconds=gl(d.seconds),d.minutes=gl(d.minutes),d.hours=gl(d.hours),d.months=gl(d.months),d.years=gl(d.years),this},ii.add=function b2(d,m){return y2(this,d,m,1)},ii.subtract=function u4(d,m){return y2(this,d,m,-1)},ii.as=function w2(d){if(!this.isValid())return NaN;var m,x,N=this._milliseconds;if("month"===(d=ur(d))||"quarter"===d||"year"===d)switch(m=this._days+N/864e5,x=this._months+Nc(m),d){case"month":return x;case"quarter":return x/3;case"year":return x/12}else switch(m=this._days+Math.round(gu(this._months)),d){case"week":return m/7+N/6048e5;case"day":return m+N/864e5;case"hour":return 24*m+N/36e5;case"minute":return 1440*m+N/6e4;case"second":return 86400*m+N/1e3;case"millisecond":return Math.floor(864e5*m)+N;default:throw new Error("Unknown unit "+d)}},ii.asMilliseconds=d4,ii.asSeconds=vm,ii.asMinutes=Cn,ii.asHours=vu,ii.asDays=S2,ii.asWeeks=M2,ii.asMonths=_m,ii.asQuarters=ym,ii.asYears=h4,ii.valueOf=function vl(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*vt(this._months/12):NaN},ii._bubble=function C2(){var G,se,Ie,Yt,Nn,d=this._milliseconds,m=this._days,x=this._months,N=this._data;return d>=0&&m>=0&&x>=0||d<=0&&m<=0&&x<=0||(d+=864e5*mu(gu(x)+m),m=0,x=0),N.milliseconds=d%1e3,G=Rn(d/1e3),N.seconds=G%60,se=Rn(G/60),N.minutes=se%60,Ie=Rn(se/60),N.hours=Ie%24,m+=Rn(Ie/24),x+=Nn=Rn(Nc(m)),m-=mu(gu(Nn)),Yt=Rn(x/12),x%=12,N.days=m,N.months=x,N.years=Yt,this},ii.clone=function T2(){return ln(this)},ii.get=function f4(d){return d=ur(d),this.isValid()?this[d+"s"]():NaN},ii.milliseconds=bm,ii.seconds=Xb,ii.minutes=Cm,ii.hours=p4,ii.days=Pe,ii.weeks=function ue(){return Rn(this.days()/7)},ii.months=xn,ii.years=ce,ii.humanize=function v4(d,m){if(!this.isValid())return this.localeData().invalidDate();var G,se,x=!1,N=Fc;return"object"==typeof d&&(m=d,d=!1),"boolean"==typeof d&&(x=d),"object"==typeof m&&(N=Object.assign({},Fc,m),null!=m.s&&null==m.ss&&(N.ss=m.s-1)),se=function _l(d,m,x,N){var G=ln(d).abs(),se=Zt(G.as("s")),Ie=Zt(G.as("m")),Yt=Zt(G.as("h")),Nn=Zt(G.as("d")),Ri=Zt(G.as("M")),No=Zt(G.as("w")),ys=Zt(G.as("y")),js=se<=x.ss&&["s",se]||se<x.s&&["ss",se]||Ie<=1&&["m"]||Ie<x.m&&["mm",Ie]||Yt<=1&&["h"]||Yt<x.h&&["hh",Yt]||Nn<=1&&["d"]||Nn<x.d&&["dd",Nn];return null!=x.w&&(js=js||No<=1&&["w"]||No<x.w&&["ww",No]),(js=js||Ri<=1&&["M"]||Ri<x.M&&["MM",Ri]||ys<=1&&["y"]||["yy",ys])[2]=m,js[3]=+d>0,js[4]=N,l1.apply(null,js)}(this,!x,N,G=this.localeData()),x&&(se=G.pastFuture(+this,se)),G.postformat(se)},ii.toISOString=u1,ii.toString=u1,ii.toJSON=u1,ii.locale=hi,ii.localeData=$a,ii.toIsoString=qe("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",u1),ii.lang=Xn,Ee("X",0,0,"unix"),Ee("x",0,0,"valueOf"),dt("x",Zi),dt("X",/[+-]?\d+(\.\d{1,3})?/),ei("X",function(d,m,x){x._d=new Date(1e3*parseFloat(d))}),ei("x",function(d,m,x){x._d=new Date(vt(d))}),M.version="2.29.4",function Y(d){F=d}(_i),M.fn=tt,M.min=function Da(){return Hs("isBefore",[].slice.call(arguments,0))},M.max=function sl(){return Hs("isAfter",[].slice.call(arguments,0))},M.now=function(){return Date.now?Date.now():+new Date},M.utc=O,M.unix=function s4(d){return _i(1e3*d)},M.months=function Pc(d,m){return c4(d,m,"months")},M.isDate=A,M.locale=T,M.invalid=X,M.duration=ln,M.isMoment=We,M.weekdays=function ca(d,m,x){return Gl(d,m,x,"weekdays")},M.parseZone=function xo(){return _i.apply(null,arguments).parseZone()},M.localeData=j,M.isDuration=ka,M.monthsShort=function v2(d,m){return c4(d,m,"monthsShort")},M.weekdaysMin=function _2(d,m,x){return Gl(d,m,x,"weekdaysMin")},M.defineLocale=H,M.updateLocale=function V(d,m){if(null!=m){var x,N,G=Bl;null!=Fi[d]&&null!=Fi[d].parentLocale?Fi[d].set(yt(Fi[d]._config,m)):(null!=(N=b(d))&&(G=N._config),m=yt(G,m),null==N&&(m.abbr=d),(x=new Vt(m)).parentLocale=Fi[d],Fi[d]=x),T(d)}else null!=Fi[d]&&(null!=Fi[d].parentLocale?(Fi[d]=Fi[d].parentLocale,d===T()&&T(d)):null!=Fi[d]&&delete Fi[d]);return Fi[d]},M.locales=function ae(){return jn(Fi)},M.weekdaysShort=function gm(d,m,x){return Gl(d,m,x,"weekdaysShort")},M.normalizeUnits=ur,M.relativeTimeRounding=function m4(d){return void 0===d?Zt:"function"==typeof d&&(Zt=d,!0)},M.relativeTimeThreshold=function g4(d,m){return void 0!==Fc[d]&&(void 0===m?Fc[d]:(Fc[d]=m,"s"===d&&(Fc.ss=m-1),!0))},M.calendarFormat=function lm(d,m){var x=d.diff(m,"days",!0);return x<-6?"sameElse":x<-1?"lastWeek":x<0?"lastDay":x<1?"sameDay":x<2?"nextDay":x<7?"nextWeek":"sameElse"},M.prototype=tt,M.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},M}()},3687(ne,le,R){var F="function"==typeof Map&&Map.prototype,M=Object.getOwnPropertyDescriptor&&F?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,Y=F&&M&&"function"==typeof M.get?M.get:null,Q=F&&Map.prototype.forEach,$="function"==typeof Set&&Set.prototype,y=Object.getOwnPropertyDescriptor&&$?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,g=$&&y&&"function"==typeof y.get?y.get:null,_=$&&Set.prototype.forEach,A="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,z="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,K="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,B=Boolean.prototype.valueOf,q=Object.prototype.toString,W=Function.prototype.toString,X=String.prototype.match,he=String.prototype.slice,me=String.prototype.replace,be=String.prototype.toUpperCase,Oe=String.prototype.toLowerCase,We=RegExp.prototype.test,w=Array.prototype.concat,qe=Array.prototype.join,Ue=Array.prototype.slice,Tt=Math.floor,Rt="function"==typeof BigInt?BigInt.prototype.valueOf:null,vn=Object.getOwnPropertySymbols,yt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,Vt="function"==typeof Symbol&&"object"==typeof Symbol.iterator,jn="function"==typeof Symbol&&Symbol.toStringTag&&(Symbol,1)?Symbol.toStringTag:null,vr=Object.prototype.propertyIsEnumerable,Ei=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(Ce){return Ce.__proto__}:null);function vi(Ce,we){if(Ce===1/0||Ce===-1/0||Ce!=Ce||Ce&&Ce>-1e3&&Ce<1e3||We.call(/e/,we))return we;var Lt=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof Ce){var Un=Ce<0?-Tt(-Ce):Tt(Ce);if(Un!==Ce){var di=String(Un),rn=he.call(we,di.length+1);return me.call(di,Lt,"$&_")+"."+me.call(me.call(rn,/([0-9]{3})/g,"$&_"),/_$/,"")}}return me.call(we,Lt,"$&_")}var Ln=R(2634),Pi=Ln.custom,rt=Ni(Pi)?Pi:null,kt={__proto__:null,double:'"',single:"'"},Ee={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};function Se(Ce,we,Lt){var di=kt[Lt.quoteStyle||we];return di+Ce+di}function Ye(Ce){return me.call(String(Ce),/"/g,"&quot;")}function Ct(Ce){return!jn||!("object"==typeof Ce&&(jn in Ce||typeof Ce[jn]<"u"))}function Qt(Ce){return"[object Array]"===ri(Ce)&&Ct(Ce)}function Fn(Ce){return"[object RegExp]"===ri(Ce)&&Ct(Ce)}function Ni(Ce){if(Vt)return Ce&&"object"==typeof Ce&&Ce instanceof Symbol;if("symbol"==typeof Ce)return!0;if(!Ce||"object"!=typeof Ce||!yt)return!1;try{return yt.call(Ce),!0}catch{}return!1}ne.exports=function Ce(we,Lt,Un,di){var rn=Lt||{};if(yr(rn,"quoteStyle")&&!yr(kt,rn.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(yr(rn,"maxStringLength")&&("number"==typeof rn.maxStringLength?rn.maxStringLength<0&&rn.maxStringLength!==1/0:null!==rn.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var Jr=!yr(rn,"customInspect")||rn.customInspect;if("boolean"!=typeof Jr&&"symbol"!==Jr)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(yr(rn,"indent")&&null!==rn.indent&&"\t"!==rn.indent&&!(parseInt(rn.indent,10)===rn.indent&&rn.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(yr(rn,"numericSeparator")&&"boolean"!=typeof rn.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var ta=rn.numericSeparator;if(typeof we>"u")return"undefined";if(null===we)return"null";if("boolean"==typeof we)return we?"true":"false";if("string"==typeof we)return vt(we,rn);if("number"==typeof we){if(0===we)return 1/0/we>0?"0":"-0";var dr=String(we);return ta?vi(we,dr):dr}if("bigint"==typeof we){var Zi=String(we)+"n";return ta?vi(we,Zi):Zi}var br=typeof rn.depth>"u"?5:rn.depth;if(typeof Un>"u"&&(Un=0),Un>=br&&br>0&&"object"==typeof we)return Qt(we)?"[Array]":"[Object]";var bo=function ea(Ce,we){var Lt;if("\t"===Ce.indent)Lt="\t";else{if(!("number"==typeof Ce.indent&&Ce.indent>0))return null;Lt=qe.call(Array(Ce.indent+1)," ")}return{base:Lt,prev:qe.call(Array(we+1),Lt)}}(rn,Un);if(typeof di>"u")di=[];else if(ur(di,we)>=0)return"[Circular]";function na(Oo,ms,ge){if(ms&&(di=Ue.call(di)).push(ms),ge){var Sc={depth:rn.depth};return yr(rn,"quoteStyle")&&(Sc.quoteStyle=rn.quoteStyle),Ce(Oo,Sc,Un+1,di)}return Ce(Oo,rn,Un+1,di)}if("function"==typeof we&&!Fn(we)){var Ua=function Ii(Ce){if(Ce.name)return Ce.name;var we=X.call(W.call(Ce),/^function\s*([\w$]+)/);return we?we[1]:null}(we),Ps=Ma(we,na);return"[Function"+(Ua?": "+Ua:" (anonymous)")+"]"+(Ps.length>0?" { "+qe.call(Ps,", ")+" }":"")}if(Ni(we)){var dt=Vt?me.call(String(we),/^(Symbol\(.*\))_[^)]*$/,"$1"):yt.call(we);return"object"!=typeof we||Vt?dt:Uo(dt)}if(function Rn(Ce){return!(!Ce||"object"!=typeof Ce)&&(typeof HTMLElement<"u"&&Ce instanceof HTMLElement||"string"==typeof Ce.nodeName&&"function"==typeof Ce.getAttribute)}(we)){for(var Vr="<"+Oe.call(String(we.nodeName)),nl=we.attributes||[],Cr=0;Cr<nl.length;Cr++)Vr+=" "+nl[Cr].name+"="+Se(Ye(nl[Cr].value),"double",rn);return Vr+=">",we.childNodes&&we.childNodes.length&&(Vr+="..."),Vr+"</"+Oe.call(String(we.nodeName))+">"}if(Qt(we)){if(0===we.length)return"[]";var On=Ma(we,na);return bo&&!function ns(Ce){for(var we=0;we<Ce.length;we++)if(ur(Ce[we],"\n")>=0)return!1;return!0}(On)?"["+zi(On,bo)+"]":"[ "+qe.call(On,", ")+" ]"}if(function It(Ce){return"[object Error]"===ri(Ce)&&Ct(Ce)}(we)){var ei=Ma(we,na);return"cause"in Error.prototype||!("cause"in we)||vr.call(we,"cause")?0===ei.length?"["+String(we)+"]":"{ ["+String(we)+"] "+qe.call(ei,", ")+" }":"{ ["+String(we)+"] "+qe.call(w.call("[cause]: "+na(we.cause),ei),", ")+" }"}if("object"==typeof we&&Jr){if(rt&&"function"==typeof we[rt]&&Ln)return Ln(we,{depth:br-Un});if("symbol"!==Jr&&"function"==typeof we.inspect)return we.inspect()}if(function Hr(Ce){if(!Y||!Ce||"object"!=typeof Ce)return!1;try{Y.call(Ce);try{g.call(Ce)}catch{return!0}return Ce instanceof Map}catch{}return!1}(we)){var Ns=[];return Q&&Q.call(we,function(Oo,ms){Ns.push(na(ms,we,!0)+" => "+na(Oo,we))}),Ba("Map",Y.call(we),Ns,bo)}if(function ho(Ce){if(!g||!Ce||"object"!=typeof Ce)return!1;try{g.call(Ce);try{Y.call(Ce)}catch{return!0}return Ce instanceof Set}catch{}return!1}(we)){var wc=[];return _&&_.call(we,function(Oo){wc.push(na(Oo,we))}),Ba("Set",g.call(we),wc,bo)}if(function zr(Ce){if(!A||!Ce||"object"!=typeof Ce)return!1;try{A.call(Ce,A);try{z.call(Ce,z)}catch{return!0}return Ce instanceof WeakMap}catch{}return!1}(we))return Os("WeakMap");if(function wt(Ce){if(!z||!Ce||"object"!=typeof Ce)return!1;try{z.call(Ce,z);try{A.call(Ce,A)}catch{return!0}return Ce instanceof WeakSet}catch{}return!1}(we))return Os("WeakSet");if(function zt(Ce){if(!K||!Ce||"object"!=typeof Ce)return!1;try{return K.call(Ce),!0}catch{}return!1}(we))return Os("WeakRef");if(function Mt(Ce){return"[object Number]"===ri(Ce)&&Ct(Ce)}(we))return Uo(na(Number(we)));if(function Ir(Ce){if(!Ce||"object"!=typeof Ce||!Rt)return!1;try{return Rt.call(Ce),!0}catch{}return!1}(we))return Uo(na(Rt.call(we)));if(function _n(Ce){return"[object Boolean]"===ri(Ce)&&Ct(Ce)}(we))return Uo(B.call(we));if(function un(Ce){return"[object String]"===ri(Ce)&&Ct(Ce)}(we))return Uo(na(String(we)));if(typeof window<"u"&&we===window)return"{ [object Window] }";if(typeof globalThis<"u"&&we===globalThis||typeof global<"u"&&we===global)return"{ [object globalThis] }";if(!function cn(Ce){return"[object Date]"===ri(Ce)&&Ct(Ce)}(we)&&!Fn(we)){var Br=Ma(we,na),Dt=Ei?Ei(we)===Object.prototype:we instanceof Object||we.constructor===Object,Co=we instanceof Object?"":"null prototype",on=!Dt&&jn&&Object(we)===we&&jn in we?he.call(ri(we),8,-1):Co?"Object":"",Lo=(Dt||"function"!=typeof we.constructor?"":we.constructor.name?we.constructor.name+" ":"")+(on||Co?"["+qe.call(w.call([],on||[],Co||[]),": ")+"] ":"");return 0===Br.length?Lo+"{}":bo?Lo+"{"+zi(Br,bo)+"}":Lo+"{ "+qe.call(Br,", ")+" }"}return String(we)};var _r=Object.prototype.hasOwnProperty||function(Ce){return Ce in this};function yr(Ce,we){return _r.call(Ce,we)}function ri(Ce){return q.call(Ce)}function ur(Ce,we){if(Ce.indexOf)return Ce.indexOf(we);for(var Lt=0,Un=Ce.length;Lt<Un;Lt++)if(Ce[Lt]===we)return Lt;return-1}function vt(Ce,we){if(Ce.length>we.maxStringLength){var Lt=Ce.length-we.maxStringLength,Un="... "+Lt+" more character"+(Lt>1?"s":"");return vt(he.call(Ce,0,we.maxStringLength),we)+Un}var di=Ee[we.quoteStyle||"single"];return di.lastIndex=0,Se(me.call(me.call(Ce,di,"\\$1"),/[\x00-\x1f]/g,Jo),"single",we)}function Jo(Ce){var we=Ce.charCodeAt(0),Lt={8:"b",9:"t",10:"n",12:"f",13:"r"}[we];return Lt?"\\"+Lt:"\\x"+(we<16?"0":"")+be.call(we.toString(16))}function Uo(Ce){return"Object("+Ce+")"}function Os(Ce){return Ce+" { ? }"}function Ba(Ce,we,Lt,Un){return Ce+" ("+we+") {"+(Un?zi(Lt,Un):qe.call(Lt,", "))+"}"}function zi(Ce,we){if(0===Ce.length)return"";var Lt="\n"+we.prev+we.base;return Lt+qe.call(Ce,","+Lt)+"\n"+we.prev}function Ma(Ce,we){var Lt=Qt(Ce),Un=[];if(Lt){Un.length=Ce.length;for(var di=0;di<Ce.length;di++)Un[di]=yr(Ce,di)?we(Ce[di],Ce):""}var Jr,rn="function"==typeof vn?vn(Ce):[];if(Vt){Jr={};for(var ta=0;ta<rn.length;ta++)Jr["$"+rn[ta]]=rn[ta]}for(var dr in Ce)yr(Ce,dr)&&(Lt&&String(Number(dr))===dr&&dr<Ce.length||Vt&&Jr["$"+dr]instanceof Symbol||(We.call(/[^\w$]/,dr)?Un.push(we(dr,Ce)+": "+we(Ce[dr],Ce)):Un.push(dr+": "+we(Ce[dr],Ce))));if("function"==typeof vn)for(var Zi=0;Zi<rn.length;Zi++)vr.call(Ce,rn[Zi])&&Un.push("["+we(rn[Zi])+"]: "+we(Ce[rn[Zi]],Ce));return Un}},9831(ne){"use strict";var le=function(R){return R!=R};ne.exports=function(F,M){return 0===F&&0===M?1/F==1/M:!!(F===M||le(F)&&le(M))}},545(ne,le,R){"use strict";var F=R(592),M=R(6283),Y=R(9831),Q=R(9110),$=R(5796),y=M(Q(),Object);F(y,{getPolyfill:Q,implementation:Y,shim:$}),ne.exports=y},9110(ne,le,R){"use strict";var F=R(9831);ne.exports=function(){return"function"==typeof Object.is?Object.is:F}},5796(ne,le,R){"use strict";var F=R(9110),M=R(592);ne.exports=function(){var Q=F();return M(Object,{is:Q},{is:function(){return Object.is!==Q}}),Q}},7935(ne,le,R){"use strict";var F;if(!Object.keys){var M=Object.prototype.hasOwnProperty,Y=Object.prototype.toString,Q=R(6321),$=Object.prototype.propertyIsEnumerable,y=!$.call({toString:null},"toString"),g=$.call(function(){},"prototype"),_=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],E=function(O){var K=O.constructor;return K&&K.prototype===O},A={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},D=function(){if(typeof window>"u")return!1;for(var O in window)try{if(!A["$"+O]&&M.call(window,O)&&null!==window[O]&&"object"==typeof window[O])try{E(window[O])}catch{return!0}}catch{return!0}return!1}();F=function(K){var B=null!==K&&"object"==typeof K,q="[object Function]"===Y.call(K),W=Q(K),X=B&&"[object String]"===Y.call(K),he=[];if(!B&&!q&&!W)throw new TypeError("Object.keys called on a non-object");var me=g&&q;if(X&&K.length>0&&!M.call(K,0))for(var be=0;be<K.length;++be)he.push(String(be));if(W&&K.length>0)for(var Oe=0;Oe<K.length;++Oe)he.push(String(Oe));else for(var We in K)(!me||"prototype"!==We)&&M.call(K,We)&&he.push(String(We));if(y)for(var w=function(O){if(typeof window>"u"||!D)return E(O);try{return E(O)}catch{return!1}}(K),qe=0;qe<_.length;++qe)(!w||"constructor"!==_[qe])&&M.call(K,_[qe])&&he.push(_[qe]);return he}}ne.exports=F},9209(ne,le,R){"use strict";var F=Array.prototype.slice,M=R(6321),Y=Object.keys,Q=Y?function(g){return Y(g)}:R(7935),$=Object.keys;Q.shim=function(){if(Object.keys){var g=function(){var _=Object.keys(arguments);return _&&_.length===arguments.length}(1,2);g||(Object.keys=function(E){return M(E)?$(F.call(E)):$(E)})}else Object.keys=Q;return Object.keys||Q},ne.exports=Q},6321(ne){"use strict";var le=Object.prototype.toString;ne.exports=function(F){var M=le.call(F),Y="[object Arguments]"===M;return Y||(Y="[object Array]"!==M&&null!==F&&"object"==typeof F&&"number"==typeof F.length&&F.length>=0&&"[object Function]"===le.call(F.callee)),Y}},8447(ne,le,R){"use strict";var F=R(9209),M=R(6497)(),Y=R(840),Q=R(7888),$=Y("Array.prototype.push"),y=Y("Object.prototype.propertyIsEnumerable"),g=M?Q.getOwnPropertySymbols:null;ne.exports=function(E,A){if(null==E)throw new TypeError("target must be an object");var D=Q(E);if(1===arguments.length)return D;for(var z=1;z<arguments.length;++z){var O=Q(arguments[z]),K=F(O),B=M&&(Q.getOwnPropertySymbols||g);if(B)for(var q=B(O),W=0;W<q.length;++W){var X=q[W];y(O,X)&&$(K,X)}for(var he=0;he<K.length;++he){var me=K[he];y(O,me)&&(D[me]=O[me])}}return D}},6969(ne,le,R){"use strict";var F=R(592),M=R(6283),Y=R(8447),Q=R(78),$=R(7100),y=M.apply(Q()),g=function(E,A){return y(Object,arguments)};F(g,{getPolyfill:Q,implementation:Y,shim:$}),ne.exports=g},78(ne,le,R){"use strict";var F=R(8447);ne.exports=function(){return!Object.assign||function(){if(!Object.assign)return!1;for(var Q="abcdefghijklmnopqrst",$=Q.split(""),y={},g=0;g<$.length;++g)y[$[g]]=$[g];var _=Object.assign({},y),E="";for(var A in _)E+=A;return Q!==E}()||function(){if(!Object.assign||!Object.preventExtensions)return!1;var Q=Object.preventExtensions({1:2});try{Object.assign(Q,"xy")}catch{return"y"===Q[1]}return!1}()?F:Object.assign}},7100(ne,le,R){"use strict";var F=R(592),M=R(78);ne.exports=function(){var Q=M();return F(Object,{assign:Q},{assign:function(){return Object.assign!==Q}}),Q}},6998(ne){"use strict";ne.exports=["Float16Array","Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]},1143(ne,le,R){"use strict";var F=R(6330),M=R(8519),Y=Object;ne.exports=F(function(){if(null==this||this!==Y(this))throw new M("RegExp.prototype.flags getter called on non-object");var $="";return this.hasIndices&&($+="d"),this.global&&($+="g"),this.ignoreCase&&($+="i"),this.multiline&&($+="m"),this.dotAll&&($+="s"),this.unicode&&($+="u"),this.unicodeSets&&($+="v"),this.sticky&&($+="y"),$},"get flags",!0)},7057(ne,le,R){"use strict";var F=R(592),M=R(6283),Y=R(1143),Q=R(4198),$=R(8436),y=M(Q());F(y,{getPolyfill:Q,implementation:Y,shim:$}),ne.exports=y},4198(ne,le,R){"use strict";var F=R(1143),M=R(592).supportsDescriptors,Y=Object.getOwnPropertyDescriptor;ne.exports=function(){if(M&&"gim"===/a/gim.flags){var $=Y(RegExp.prototype,"flags");if($&&"function"==typeof $.get&&"dotAll"in RegExp.prototype&&"hasIndices"in RegExp.prototype){var y="",g={};if(Object.defineProperty(g,"hasIndices",{get:function(){y+="d"}}),Object.defineProperty(g,"sticky",{get:function(){y+="y"}}),$.get.call(g),"dy"===y)return $.get}}return F}},8436(ne,le,R){"use strict";var F=R(592).supportsDescriptors,M=R(4198),Y=R(9263),Q=Object.defineProperty,$=R(1123),y=R(1568),g=/a/;ne.exports=function(){if(!F||!y)throw new $("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var E=M(),A=y(g),D=Y(A,"flags");return(!D||D.get!==E)&&Q(A,"flags",{configurable:!0,enumerable:!1,get:E}),E}},7653(ne,le,R){"use strict";var F=R(840),M=R(5831),Y=F("RegExp.prototype.exec"),Q=R(8519);ne.exports=function(y){if(!M(y))throw new Q("`regex` must be a RegExp");return function(_){return null!==Y(y,_)}}},5557(ne,le,R){"use strict";var F=R(2521),M=R(1197),Y=R(6652)(),Q=R(9263),$=R(8519),y=F("%Math.floor%");ne.exports=function(_,E){if("function"!=typeof _)throw new $("`fn` is not a function");if("number"!=typeof E||E<0||E>4294967295||y(E)!==E)throw new $("`length` must be a positive 32-bit integer");var A=arguments.length>2&&!!arguments[2],D=!0,z=!0;if("length"in _&&Q){var O=Q(_,"length");O&&!O.configurable&&(D=!1),O&&!O.writable&&(z=!1)}return(D||z||!A)&&(Y?M(_,"length",E,!0,!0):M(_,"length",E)),_}},6330(ne,le,R){"use strict";var F=R(1197),M=R(6652)(),Y=R(5370).functionsHaveConfigurableNames(),Q=R(8519);ne.exports=function(y,g){if("function"!=typeof y)throw new Q("`fn` is not a function");return(!(arguments.length>2&&arguments[2])||Y)&&(M?F(y,"name",g,!0,!0):F(y,"name",g)),y}},863(ne,le,R){"use strict";var F=R(3687),M=R(8519),Y=function(_,E,A){for(var z,D=_;null!=(z=D.next);D=z)if(z.key===E)return D.next=z.next,A||(z.next=_.next,_.next=z),z};ne.exports=function(){var E,A={assert:function(D){if(!A.has(D))throw new M("Side channel does not contain "+F(D))},delete:function(D){var z=E&&E.next,O=function(_,E){if(_)return Y(_,E,!0)}(E,D);return O&&z&&z===O&&(E=void 0),!!O},get:function(D){return function(_,E){if(_){var A=Y(_,E);return A&&A.value}}(E,D)},has:function(D){return function(_,E){return!!_&&!!Y(_,E)}(E,D)},set:function(D,z){E||(E={next:void 0}),function(_,E,A){var D=Y(_,E);D?D.value=A:_.next={key:E,next:_.next,value:A}}(E,D,z)}};return A}},2375(ne,le,R){"use strict";var F=R(2521),M=R(840),Y=R(3687),Q=R(8519),$=F("%Map%",!0),y=M("Map.prototype.get",!0),g=M("Map.prototype.set",!0),_=M("Map.prototype.has",!0),E=M("Map.prototype.delete",!0),A=M("Map.prototype.size",!0);ne.exports=!!$&&function(){var z,O={assert:function(K){if(!O.has(K))throw new Q("Side channel does not contain "+Y(K))},delete:function(K){if(z){var B=E(z,K);return 0===A(z)&&(z=void 0),B}return!1},get:function(K){if(z)return y(z,K)},has:function(K){return!!z&&_(z,K)},set:function(K,B){z||(z=new $),g(z,K,B)}};return O}},603(ne,le,R){"use strict";var F=R(2521),M=R(840),Y=R(3687),Q=R(2375),$=R(8519),y=F("%WeakMap%",!0),g=M("WeakMap.prototype.get",!0),_=M("WeakMap.prototype.set",!0),E=M("WeakMap.prototype.has",!0),A=M("WeakMap.prototype.delete",!0);ne.exports=y?function(){var z,O,K={assert:function(B){if(!K.has(B))throw new $("Side channel does not contain "+Y(B))},delete:function(B){if(y&&B&&("object"==typeof B||"function"==typeof B)){if(z)return A(z,B)}else if(Q&&O)return O.delete(B);return!1},get:function(B){return y&&B&&("object"==typeof B||"function"==typeof B)&&z?g(z,B):O&&O.get(B)},has:function(B){return y&&B&&("object"==typeof B||"function"==typeof B)&&z?E(z,B):!!O&&O.has(B)},set:function(B,q){y&&B&&("object"==typeof B||"function"==typeof B)?(z||(z=new y),_(z,B,q)):Q&&(O||(O=Q()),O.set(B,q))}};return K}:Q},5492(ne,le,R){"use strict";var F=R(8519),M=R(3687),Y=R(863),Q=R(2375),y=R(603)||Q||Y;ne.exports=function(){var _,E={assert:function(A){if(!E.has(A))throw new F("Side channel does not contain "+M(A))},delete:function(A){return!!_&&_.delete(A)},get:function(A){return _&&_.get(A)},has:function(A){return!!_&&_.has(A)},set:function(A,D){_||(_=y()),_.set(A,D)}};return E}},5712(ne,le,R){"use strict";var F=R(2179),M=R(4880),Y="object"==typeof StopIteration?StopIteration:null;ne.exports=function($){if(!Y)throw new M("this environment lacks StopIteration");F.set($,"[[Done]]",!1);var y={next:function(){var _=F.get(this,"[[Iterator]]"),E=!!F.get(_,"[[Done]]");try{return{done:E,value:E?void 0:_.next()}}catch(A){if(F.set(_,"[[Done]]",!0),A!==Y)throw A;return{done:!0,value:void 0}}}};return F.set(y,"[[Iterator]]",$),y}},6959(ne,le,R){"use strict";var F=R(6837),M=R(8979),Y=R(6484),Q=R(3016),$=R(7671);ne.exports=function(g){return null==g||"object"!=typeof g&&"function"!=typeof g?null:F(g)?"String":M(g)?"Number":Y(g)?"Boolean":Q(g)?"Symbol":$(g)?"BigInt":void 0}},5757(ne,le,R){"use strict";var F=R(5217),M=R(9116),Y=R(9462),Q=R(5028);ne.exports=function(y){if(y&&"object"==typeof y){if(F(y))return"Map";if(M(y))return"Set";if(Y(y))return"WeakMap";if(Q(y))return"WeakSet"}return!1}},6547(ne,le,R){"use strict";var F=R(6062),M=R(9819),Y=R(6283),Q=R(840),$=R(9263),y=R(1568),g=Q("Object.prototype.toString"),_=R(5328)(),E=typeof globalThis>"u"?global:globalThis,A=M(),D=Q("String.prototype.slice"),z=Q("Array.prototype.indexOf",!0)||function(W,X){for(var he=0;he<W.length;he+=1)if(W[he]===X)return he;return-1},O={__proto__:null};F(A,_&&$&&y?function(q){var W=new E[q];if(Symbol.toStringTag in W&&y){var X=y(W),he=$(X,Symbol.toStringTag);if(!he&&X){var me=y(X);he=$(me,Symbol.toStringTag)}O["$"+q]=Y(he.get)}}:function(q){var W=new E[q],X=W.slice||W.set;X&&(O["$"+q]=Y(X))}),ne.exports=function(W){if(!W||"object"!=typeof W)return!1;if(!_){var X=D(g(W),8,-1);return z(A,X)>-1?X:"Object"===X&&function(W){var X=!1;return F(O,function(he,me){if(!X)try{he(W),X=D(me,1)}catch{}}),X}(W)}return $?function(W){var X=!1;return F(O,function(he,me){if(!X)try{"$"+he(W)===me&&(X=D(me,1))}catch{}}),X}(W):null}},4527(ne){ne.exports={STU3:"partial",R4:"WIP",R4B:"WIP",R5:"WIP"}},2634(){},9819(ne,le,R){"use strict";var F=R(6998),M=typeof globalThis>"u"?global:globalThis;ne.exports=function(){for(var Q=[],$=0;$<F.length;$++)"function"==typeof M[F[$]]&&(Q[Q.length]=F[$]);return Q}},158(ne,le,R){"use strict";var F=R(8344),M=R(5712);if(R(1459)()||R(6497)()){var Y=Symbol.iterator;ne.exports=function(Ue){return null!=Ue&&typeof Ue[Y]<"u"?Ue[Y]():F(Ue)?Array.prototype[Y].call(Ue):void 0}}else{var Q=R(7638),$=R(6837),y=R(2521),g=y("%Map%",!0),_=y("%Set%",!0),E=R(3463),A=E("Array.prototype.push"),D=E("String.prototype.charCodeAt"),z=E("String.prototype.slice"),K=function(Ue){var Tt=0;return{next:function(){var yt,vn=Tt>=Ue.length;return vn||(yt=Ue[Tt],Tt+=1),{done:vn,value:yt}}}},B=function(Ue,Tt){if(Q(Ue)||F(Ue))return K(Ue);if($(Ue)){var Rt=0;return{next:function(){var yt=function(Ue,Tt){if(Tt+1>=Ue.length)return Tt+1;var vn=D(Ue,Tt);if(vn<55296||vn>56319)return Tt+1;var yt=D(Ue,Tt+1);return yt<56320||yt>57343?Tt+1:Tt+2}(Ue,Rt),Vt=z(Ue,Rt,yt);return Rt=yt,{done:yt>Ue.length,value:Vt}}}}return Tt&&typeof Ue["_es6-shim iterator_"]<"u"?Ue["_es6-shim iterator_"]():void 0};if(g||_){var q=R(5217),W=R(9116),X=E("Map.prototype.forEach",!0),he=E("Set.prototype.forEach",!0);if(typeof process>"u"||!process.versions||!process.versions.node)var me=E("Map.prototype.iterator",!0),be=E("Set.prototype.iterator",!0);var Oe=E("Map.prototype.@@iterator",!0)||E("Map.prototype._es6-shim iterator_",!0),We=E("Set.prototype.@@iterator",!0)||E("Set.prototype._es6-shim iterator_",!0);ne.exports=function(Ue){return function(Ue){if(q(Ue)){if(me)return M(me(Ue));if(Oe)return Oe(Ue);if(X){var Tt=[];return X(Ue,function(vn,yt){A(Tt,[yt,vn])}),K(Tt)}}if(W(Ue)){if(be)return M(be(Ue));if(We)return We(Ue);if(he){var Rt=[];return he(Ue,function(vn){A(Rt,vn)}),K(Rt)}}}(Ue)||B(Ue)}}else ne.exports=function(Ue){if(null!=Ue)return B(Ue,!0)}}},3380(ne){"use strict";ne.exports=JSON.parse('{"license":"The following data (prefixes and units) was generated by the UCUM LHC code from the UCUM data and selected LOINC combinations of UCUM units.  The license for the UCUM LHC code (demo and library code as well as the combined units) is located at https://github.com/lhncbc/ucum-lhc/blob/LICENSE.md.","prefixes":{"config":["code_","ciCode_","name_","printSymbol_","value_","exp_"],"data":[["E","EX","exa","E",1000000000000000000,"18"],["G","GA","giga","G",1000000000,"9"],["Gi","GIB","gibi","Gi",1073741824,null],["Ki","KIB","kibi","Ki",1024,null],["M","MA","mega","M",1000000,"6"],["Mi","MIB","mebi","Mi",1048576,null],["P","PT","peta","P",1000000000000000,"15"],["T","TR","tera","T",1000000000000,"12"],["Ti","TIB","tebi","Ti",1099511627776,null],["Y","YA","yotta","Y",1e+24,"24"],["Z","ZA","zetta","Z",1e+21,"21"],["a","A","atto","a",1e-18,"-18"],["c","C","centi","c",0.01,"-2"],["d","D","deci","d",0.1,"-1"],["da","DA","deka","da",10,"1"],["f","F","femto","f",1e-15,"-15"],["h","H","hecto","h",100,"2"],["k","K","kilo","k",1000,"3"],["m","M","milli","m",0.001,"-3"],["n","N","nano","n",1e-9,"-9"],["p","P","pico","p",1e-12,"-12"],["u","U","micro","\u03bc",0.000001,"-6"],["y","YO","yocto","y",1e-24,"-24"],["z","ZO","zepto","z",1e-21,"-21"]]},"units":{"config":["isBase_","name_","csCode_","ciCode_","property_","magnitude_",["dim_","dimVec_"],"printSymbol_","class_","isMetric_","variable_","cnv_","cnvPfx_","isSpecial_","isArbitrary_","moleExp_","equivalentExp_","synonyms_","source_","loincProperty_","category_","guidance_","csUnitString_","ciUnitString_","baseFactorStr_","baseFactor_","defError_"],"data":[[true,"meter","m","M","length",1,[1,0,0,0,0,0,0],"m",null,false,"L",null,1,false,false,0,0,"meters; metres; distance","UCUM","Len","Clinical","unit of length = 1.09361 yards",null,null,null,null,false],[true,"second - time","s","S","time",1,[0,1,0,0,0,0,0],"s",null,false,"T",null,1,false,false,0,0,"seconds","UCUM","Time","Clinical","",null,null,null,null,false],[true,"gram","g","G","mass",1,[0,0,1,0,0,0,0],"g",null,false,"M",null,1,false,false,0,0,"grams; gm","UCUM","Mass","Clinical","",null,null,null,null,false],[true,"radian","rad","RAD","plane angle",1,[0,0,0,1,0,0,0],"rad",null,false,"A",null,1,false,false,0,0,"radians","UCUM","Angle","Clinical","unit of angular measure where 1 radian = 1/2\u03c0 turn =  57.296 degrees. ",null,null,null,null,false],[true,"degree Kelvin","K","K","temperature",1,[0,0,0,0,1,0,0],"K",null,false,"C",null,1,false,false,0,0,"Kelvin; degrees","UCUM","Temp","Clinical","absolute, thermodynamic temperature scale ",null,null,null,null,false],[true,"coulomb","C","C","electric charge",1,[0,0,0,0,0,1,0],"C",null,false,"Q",null,1,false,false,0,0,"coulombs","UCUM","","Clinical","defined as amount of 1 electron charge = 6.2415093\xd710^18 e, and equivalent to 1 Ampere-second",null,null,null,null,false],[true,"candela","cd","CD","luminous intensity",1,[0,0,0,0,0,0,1],"cd",null,false,"F",null,1,false,false,0,0,"candelas","UCUM","","Clinical","SI base unit of luminous intensity",null,null,null,null,false],[false,"the number ten for arbitrary powers","10*","10*","number",10,[0,0,0,0,0,0,0],"10","dimless",false,null,null,1,false,false,0,0,"10^; 10 to the arbitrary powers","UCUM","Num","Clinical","10* by itself is the same as 10, but users can add digits after the *. For example, 10*3 = 1000.","1","1","10",10,false],[false,"the number ten for arbitrary powers","10^","10^","number",10,[0,0,0,0,0,0,0],"10","dimless",false,null,null,1,false,false,0,0,"10*; 10 to the arbitrary power","UCUM","Num","Clinical","10* by itself is the same as 10, but users can add digits after the *. For example, 10*3 = 1000.","1","1","10",10,false],[false,"the number pi","[pi]","[PI]","number",3.141592653589793,[0,0,0,0,0,0,0],"\u03c0","dimless",false,null,null,1,false,false,0,0,"\u03c0","UCUM","","Constant","a mathematical constant; the ratio of a circle\'s circumference to its diameter \u2248 3.14159","1","1","3.1415926535897932384626433832795028841971693993751058209749445923",3.141592653589793,false],[false,"","%","%","fraction",0.01,[0,0,0,0,0,0,0],"%","dimless",false,null,null,1,false,false,0,0,"percents","UCUM","FR; NFR; MFR; CFR; SFR Rto; etc. ","Clinical","","10*-2","10*-2","1",1,false],[false,"parts per thousand","[ppth]","[PPTH]","fraction",0.001,[0,0,0,0,0,0,0],"ppth","dimless",false,null,null,1,false,false,0,0,"ppth; 10^-3","UCUM","MCnc; MCnt","Clinical","[ppth] is often used in solution concentrations as 1 g/L or 1 g/kg.\\n\\nCan be ambigous and would be better if the metric units was used directly. ","10*-3","10*-3","1",1,false],[false,"parts per million","[ppm]","[PPM]","fraction",0.000001,[0,0,0,0,0,0,0],"ppm","dimless",false,null,null,1,false,false,0,0,"ppm; 10^-6","UCUM","MCnt; MCnc; SFr","Clinical","[ppm] is often used in solution concentrations as 1 mg/L  or 1 mg/kg. Also used to express mole fractions as 1 mmol/mol.\\n\\n[ppm] is also used in nuclear magnetic resonance (NMR) to represent chemical shift - the difference of a measured frequency in parts per million from the reference frequency.\\n\\nCan be ambigous and would be better if the metric units was used directly. ","10*-6","10*-6","1",1,false],[false,"parts per billion","[ppb]","[PPB]","fraction",1e-9,[0,0,0,0,0,0,0],"ppb","dimless",false,null,null,1,false,false,0,0,"ppb; 10^-9","UCUM","MCnt; MCnc; SFr","Clinical","[ppb] is often used in solution concentrations as 1 ug/L  or 1 ug/kg. Also used to express mole fractions as 1 umol/mol.\\n\\nCan be ambigous and would be better if the metric units was used directly. ","10*-9","10*-9","1",1,false],[false,"parts per trillion","[pptr]","[PPTR]","fraction",1e-12,[0,0,0,0,0,0,0],"pptr","dimless",false,null,null,1,false,false,0,0,"pptr; 10^-12","UCUM","MCnt; MCnc; SFr","Clinical","[pptr] is often used in solution concentrations as 1 ng/L or 1 ng/kg. Also used to express mole fractions as 1 nmol/mol.\\n\\nCan be ambigous and would be better if the metric units was used directly. ","10*-12","10*-12","1",1,false],[false,"mole","mol","MOL","amount of substance",6.0221367e+23,[0,0,0,0,0,0,0],"mol","si",true,null,null,1,false,false,1,0,"moles","UCUM","Sub","Clinical","Measure the number of molecules ","10*23","10*23","6.0221367",6.0221367,false],[false,"steradian - solid angle","sr","SR","solid angle",1,[0,0,0,2,0,0,0],"sr","si",true,null,null,1,false,false,0,0,"square radian; rad2; rad^2","UCUM","Angle","Clinical","unit of solid angle in three-dimensional geometry analagous to radian; used in photometry which measures the perceived brightness of object by human eye (e.g. radiant intensity = watt/steradian)","rad2","RAD2","1",1,false],[false,"hertz","Hz","HZ","frequency",1,[0,-1,0,0,0,0,0],"Hz","si",true,null,null,1,false,false,0,0,"Herz; frequency; frequencies","UCUM","Freq; Num","Clinical","equal to one cycle per second","s-1","S-1","1",1,false],[false,"newton","N","N","force",1000,[1,-2,1,0,0,0,0],"N","si",true,null,null,1,false,false,0,0,"Newtons","UCUM","Force","Clinical","unit of force with base units kg.m/s2","kg.m/s2","KG.M/S2","1",1,false],[false,"pascal","Pa","PAL","pressure",1000,[-1,-2,1,0,0,0,0],"Pa","si",true,null,null,1,false,false,0,0,"pascals","UCUM","Pres","Clinical","standard unit of pressure equal to 1 newton per square meter (N/m2)","N/m2","N/M2","1",1,false],[false,"joule","J","J","energy",1000,[2,-2,1,0,0,0,0],"J","si",true,null,null,1,false,false,0,0,"joules","UCUM","Enrg","Clinical","unit of energy defined as the work required to move an object 1 m with a force of 1 N (N.m) or an electric charge of 1 C through 1 V (C.V), or to produce 1 W for 1 s (W.s) ","N.m","N.M","1",1,false],[false,"watt","W","W","power",1000,[2,-3,1,0,0,0,0],"W","si",true,null,null,1,false,false,0,0,"watts","UCUM","EngRat","Clinical","unit of power equal to 1 Joule per second (J/s) =  kg\u22c5m2\u22c5s\u22123","J/s","J/S","1",1,false],[false,"Ampere","A","A","electric current",1,[0,-1,0,0,0,1,0],"A","si",true,null,null,1,false,false,0,0,"Amperes","UCUM","ElpotRat","Clinical","unit of electric current equal to flow rate of electrons equal to 6.2415\xd710^18 elementary charges moving past a boundary in one second or 1 Coulomb/second","C/s","C/S","1",1,false],[false,"volt","V","V","electric potential",1000,[2,-2,1,0,0,-1,0],"V","si",true,null,null,1,false,false,0,0,"volts","UCUM","Elpot","Clinical","unit of electric potential (voltage) = 1 Joule per Coulomb (J/C)","J/C","J/C","1",1,false],[false,"farad","F","F","electric capacitance",0.001,[-2,2,-1,0,0,2,0],"F","si",true,null,null,1,false,false,0,0,"farads; electric capacitance","UCUM","","Clinical","CGS unit of electric capacitance with base units C/V (Coulomb per Volt)","C/V","C/V","1",1,false],[false,"ohm","Ohm","OHM","electric resistance",1000,[2,-1,1,0,0,-2,0],"\u03a9","si",true,null,null,1,false,false,0,0,"\u03a9; resistance; ohms","UCUM","","Clinical","unit of electrical resistance with units of Volt per Ampere","V/A","V/A","1",1,false],[false,"siemens","S","SIE","electric conductance",0.001,[-2,1,-1,0,0,2,0],"S","si",true,null,null,1,false,false,0,0,"Reciprocal ohm; mho; \u03a9\u22121; conductance","UCUM","","Clinical","unit of electric conductance (the inverse of electrical resistance) equal to ohm^-1","Ohm-1","OHM-1","1",1,false],[false,"weber","Wb","WB","magnetic flux",1000,[2,-1,1,0,0,-1,0],"Wb","si",true,null,null,1,false,false,0,0,"magnetic flux; webers","UCUM","","Clinical","unit of magnetic flux equal to Volt second","V.s","V.S","1",1,false],[false,"degree Celsius","Cel","CEL","temperature",1,[0,0,0,0,1,0,0],"\xb0C","si",true,null,"Cel",1,true,false,0,0,"\xb0C; degrees","UCUM","Temp","Clinical","","K",null,null,1,false],[false,"tesla","T","T","magnetic flux density",1000,[0,-1,1,0,0,-1,0],"T","si",true,null,null,1,false,false,0,0,"Teslas; magnetic field","UCUM","","Clinical","SI unit of magnetic field strength for magnetic field B equal to 1 Weber/square meter =  1 kg/(s2*A)","Wb/m2","WB/M2","1",1,false],[false,"henry","H","H","inductance",1000,[2,0,1,0,0,-2,0],"H","si",true,null,null,1,false,false,0,0,"henries; inductance","UCUM","","Clinical","unit of electrical inductance; usually expressed in millihenrys (mH) or microhenrys (uH).","Wb/A","WB/A","1",1,false],[false,"lumen","lm","LM","luminous flux",1,[0,0,0,2,0,0,1],"lm","si",true,null,null,1,false,false,0,0,"luminous flux; lumens","UCUM","","Clinical","unit of luminous flux defined as 1 lm = 1 cd\u22c5sr (candela times sphere)","cd.sr","CD.SR","1",1,false],[false,"lux","lx","LX","illuminance",1,[-2,0,0,2,0,0,1],"lx","si",true,null,null,1,false,false,0,0,"illuminance; luxes","UCUM","","Clinical","unit of illuminance equal to one lumen per square meter. ","lm/m2","LM/M2","1",1,false],[false,"becquerel","Bq","BQ","radioactivity",1,[0,-1,0,0,0,0,0],"Bq","si",true,null,null,1,false,false,0,0,"activity; radiation; becquerels","UCUM","","Clinical","measure of the atomic radiation rate with units s^-1","s-1","S-1","1",1,false],[false,"gray","Gy","GY","energy dose",1,[2,-2,0,0,0,0,0],"Gy","si",true,null,null,1,false,false,0,0,"absorbed doses; ionizing radiation doses; kerma; grays","UCUM","EngCnt","Clinical","unit of ionizing radiation dose with base units of 1 joule of radiation energy per kilogram of matter","J/kg","J/KG","1",1,false],[false,"sievert","Sv","SV","dose equivalent",1,[2,-2,0,0,0,0,0],"Sv","si",true,null,null,1,false,false,0,0,"sieverts; radiation dose quantities; equivalent doses; effective dose; operational dose; committed dose","UCUM","","Clinical","SI unit for radiation dose equivalent equal to 1 Joule/kilogram.","J/kg","J/KG","1",1,false],[false,"degree - plane angle","deg","DEG","plane angle",0.017453292519943295,[0,0,0,1,0,0,0],"\xb0","iso1000",false,null,null,1,false,false,0,0,"\xb0; degree of arc; arc degree; arcdegree; angle","UCUM","Angle","Clinical","one degree is equivalent to \u03c0/180 radians.","[pi].rad/360","[PI].RAD/360","2",2,false],[false,"gon","gon","GON","plane angle",0.015707963267948967,[0,0,0,1,0,0,0],"\u25a1<sup>g</sup>","iso1000",false,null,null,1,false,false,0,0,"gon (grade); gons","UCUM","Angle","Nonclinical","unit of plane angle measurement equal to 1/400 circle","deg","DEG","0.9",0.9,false],[false,"arc minute","\'","\'","plane angle",0.0002908882086657216,[0,0,0,1,0,0,0],"\'","iso1000",false,null,null,1,false,false,0,0,"arcminutes; arcmin; arc minutes; arc mins","UCUM","Angle","Clinical","equal to 1/60 degree; used in optometry and opthamology (e.g. visual acuity tests)","deg/60","DEG/60","1",1,false],[false,"arc second","\'\'","\'\'","plane angle",0.00000484813681109536,[0,0,0,1,0,0,0],"\'\'","iso1000",false,null,null,1,false,false,0,0,"arcseconds; arcsecs","UCUM","Angle","Clinical","equal to 1/60 arcminute = 1/3600 degree; used in optometry and opthamology (e.g. visual acuity tests)","\'/60","\'/60","1",1,false],[false,"Liters","l","L","volume",0.001,[3,0,0,0,0,0,0],"l","iso1000",true,null,null,1,false,false,0,0,"cubic decimeters; decimeters cubed; decimetres; dm3; dm^3; litres; liters, LT ","UCUM","Vol","Clinical","Because lower case \\"l\\" can be read as the number \\"1\\", though this is a valid UCUM units. UCUM strongly reccomends using  \\"L\\"","dm3","DM3","1",1,false],[false,"Liters","L","L","volume",0.001,[3,0,0,0,0,0,0],"L","iso1000",true,null,null,1,false,false,0,0,"cubic decimeters; decimeters cubed; decimetres; dm3; dm^3; litres; liters, LT ","UCUM","Vol","Clinical","Because lower case \\"l\\" can be read as the number \\"1\\", though this is a valid UCUM units. UCUM strongly reccomends using  \\"L\\"","l",null,"1",1,false],[false,"are","ar","AR","area",100,[2,0,0,0,0,0,0],"a","iso1000",true,null,null,1,false,false,0,0,"100 m2; 100 m^2; 100 square meter; meters squared; metres","UCUM","Area","Clinical","metric base unit for area defined as 100 m^2","m2","M2","100",100,false],[false,"minute","min","MIN","time",60,[0,1,0,0,0,0,0],"min","iso1000",false,null,null,1,false,false,0,0,"minutes","UCUM","Time","Clinical","","s","S","60",60,false],[false,"hour","h","HR","time",3600,[0,1,0,0,0,0,0],"h","iso1000",false,null,null,1,false,false,0,0,"hours; hrs; age","UCUM","Time","Clinical","","min","MIN","60",60,false],[false,"day","d","D","time",86400,[0,1,0,0,0,0,0],"d","iso1000",false,null,null,1,false,false,0,0,"days; age; dy; 24 hours; 24 hrs","UCUM","Time","Clinical","","h","HR","24",24,false],[false,"tropical year","a_t","ANN_T","time",31556925.216,[0,1,0,0,0,0,0],"a<sub>t</sub>","iso1000",false,null,null,1,false,false,0,0,"solar years; a tropical; years","UCUM","Time","Clinical","has an average of 365.242181 days but is constantly changing.","d","D","365.24219",365.24219,false],[false,"mean Julian year","a_j","ANN_J","time",31557600,[0,1,0,0,0,0,0],"a<sub>j</sub>","iso1000",false,null,null,1,false,false,0,0,"mean Julian yr; a julian; years","UCUM","Time","Clinical","has an average of 365.25 days, and in everyday use, has been replaced by the Gregorian year. However, this unit is used in astronomy to calculate light year. ","d","D","365.25",365.25,false],[false,"mean Gregorian year","a_g","ANN_G","time",31556952,[0,1,0,0,0,0,0],"a<sub>g</sub>","iso1000",false,null,null,1,false,false,0,0,"mean Gregorian yr; a gregorian; years","UCUM","Time","Clinical","has an average of 365.2425 days and is the most internationally used civil calendar.","d","D","365.2425",365.2425,false],[false,"year","a","ANN","time",31557600,[0,1,0,0,0,0,0],"a","iso1000",false,null,null,1,false,false,0,0,"years; a; yr, yrs; annum","UCUM","Time","Clinical","","a_j","ANN_J","1",1,false],[false,"week","wk","WK","time",604800,[0,1,0,0,0,0,0],"wk","iso1000",false,null,null,1,false,false,0,0,"weeks; wks","UCUM","Time","Clinical","","d","D","7",7,false],[false,"synodal month","mo_s","MO_S","time",2551442.976,[0,1,0,0,0,0,0],"mo<sub>s</sub>","iso1000",false,null,null,1,false,false,0,0,"Moon; synodic month; lunar month; mo-s; mo s; months; moons","UCUM","Time","Nonclinical","has an average of 29.53 days per month, unit used in astronomy","d","D","29.53059",29.53059,false],[false,"mean Julian month","mo_j","MO_J","time",2629800,[0,1,0,0,0,0,0],"mo<sub>j</sub>","iso1000",false,null,null,1,false,false,0,0,"mo-julian; mo Julian; months","UCUM","Time","Clinical","has an average of 30.435 days per month","a_j/12","ANN_J/12","1",1,false],[false,"mean Gregorian month","mo_g","MO_G","time",2629746,[0,1,0,0,0,0,0],"mo<sub>g</sub>","iso1000",false,null,null,1,false,false,0,0,"months; month-gregorian; mo-gregorian","UCUM","Time","Clinical","has an average 30.436875 days per month and is from the most internationally used civil calendar.","a_g/12","ANN_G/12","1",1,false],[false,"month","mo","MO","time",2629800,[0,1,0,0,0,0,0],"mo","iso1000",false,null,null,1,false,false,0,0,"months; duration","UCUM","Time","Clinical","based on Julian calendar which has an average of 30.435 days per month (this unit is used in astronomy but not in everyday life - see mo_g)","mo_j","MO_J","1",1,false],[false,"metric ton","t","TNE","mass",1000000,[0,0,1,0,0,0,0],"t","iso1000",true,null,null,1,false,false,0,0,"tonnes; megagrams; tons","UCUM","Mass","Nonclinical","equal to 1000 kg used in the US (recognized by NIST as metric ton), and internationally (recognized as tonne)","kg","KG","1e3",1000,false],[false,"bar","bar","BAR","pressure",100000000,[-1,-2,1,0,0,0,0],"bar","iso1000",true,null,null,1,false,false,0,0,"bars","UCUM","Pres","Nonclinical","unit of pressure equal to 10^5 Pascals, primarily used by meteorologists and in weather forecasting","Pa","PAL","1e5",100000,false],[false,"unified atomic mass unit","u","AMU","mass",1.6605402e-24,[0,0,1,0,0,0,0],"u","iso1000",true,null,null,1,false,false,0,0,"unified atomic mass units; amu; Dalton; Da","UCUM","Mass","Clinical","the mass of 1/12 of an unbound Carbon-12 atom nuclide equal to 1.6606x10^-27 kg ","g","G","1.6605402e-24",1.6605402e-24,false],[false,"astronomic unit","AU","ASU","length",149597870691,[1,0,0,0,0,0,0],"AU","iso1000",false,null,null,1,false,false,0,0,"AU; units","UCUM","Len","Clinical","unit of length used in astronomy for measuring distance in Solar system","Mm","MAM","149597.870691",149597.870691,false],[false,"parsec","pc","PRS","length",30856780000000000,[1,0,0,0,0,0,0],"pc","iso1000",true,null,null,1,false,false,0,0,"parsecs","UCUM","Len","Clinical","unit of length equal to 3.26 light years, and used to measure large distances to objects outside our Solar System","m","M","3.085678e16",30856780000000000,false],[false,"velocity of light in a vacuum","[c]","[C]","velocity",299792458,[1,-1,0,0,0,0,0],"<i>c</i>","const",true,null,null,1,false,false,0,0,"speed of light","UCUM","Vel","Constant","equal to 299792458 m/s (approximately 3 x 10^8 m/s)","m/s","M/S","299792458",299792458,false],[false,"Planck constant","[h]","[H]","action",6.6260755e-31,[2,-1,1,0,0,0,0],"<i>h</i>","const",true,null,null,1,false,false,0,0,"Planck\'s constant","UCUM","","Constant","constant = 6.62607004 \xd7 10-34 m2.kg/s; defined as quantum of action","J.s","J.S","6.6260755e-34",6.6260755e-34,false],[false,"Boltzmann constant","[k]","[K]","(unclassified)",1.380658e-20,[2,-2,1,0,-1,0,0],"<i>k</i>","const",true,null,null,1,false,false,0,0,"k; kB","UCUM","","Constant","physical constant relating energy at the individual particle level with temperature = 1.38064852 \xd710^\u221223 J/K","J/K","J/K","1.380658e-23",1.380658e-23,false],[false,"permittivity of vacuum - electric","[eps_0]","[EPS_0]","electric permittivity",8.854187817000001e-15,[-3,2,-1,0,0,2,0],"<i>\u03b5<sub><r>0</r></sub></i>","const",true,null,null,1,false,false,0,0,"\u03b50; Electric Constant; vacuum permittivity; permittivity of free space ","UCUM","","Constant","approximately equal to 8.854\u2009\xd7 10^\u221212 F/m (farads per meter)","F/m","F/M","8.854187817e-12",8.854187817e-12,false],[false,"permeability of vacuum - magnetic","[mu_0]","[MU_0]","magnetic permeability",0.0012566370614359172,[1,0,1,0,0,-2,0],"<i>\u03bc<sub><r>0</r></sub></i>","const",true,null,null,1,false,false,0,0,"\u03bc0; vacuum permeability; permeability of free space; magnetic constant","UCUM","","Constant","equal to 4\u03c0\xd710^\u22127 N/A2 (Newtons per square ampere) \u2248 1.2566\xd710^\u22126 H/m (Henry per meter)","N/A2","4.[PI].10*-7.N/A2","1",0.0000012566370614359173,false],[false,"elementary charge","[e]","[E]","electric charge",1.60217733e-19,[0,0,0,0,0,1,0],"<i>e</i>","const",true,null,null,1,false,false,0,0,"e; q; electric charges","UCUM","","Constant","the magnitude of the electric charge carried by a single electron or proton \u2248 1.60217\xd710^-19 Coulombs","C","C","1.60217733e-19",1.60217733e-19,false],[false,"electronvolt","eV","EV","energy",1.60217733e-16,[2,-2,1,0,0,0,0],"eV","iso1000",true,null,null,1,false,false,0,0,"Electron Volts; electronvolts","UCUM","Eng","Clinical","unit of kinetic energy = 1 V * 1.602\xd710^\u221219 C = 1.6\xd710\u221219 Joules","[e].V","[E].V","1",1,false],[false,"electron mass","[m_e]","[M_E]","mass",9.1093897e-28,[0,0,1,0,0,0,0],"<i>m<sub><r>e</r></sub></i>","const",true,null,null,1,false,false,0,0,"electron rest mass; me","UCUM","Mass","Constant","approximately equal to 9.10938356 \xd7 10-31 kg; defined as the mass of a stationary electron","g","g","9.1093897e-28",9.1093897e-28,false],[false,"proton mass","[m_p]","[M_P]","mass",1.6726231e-24,[0,0,1,0,0,0,0],"<i>m<sub><r>p</r></sub></i>","const",true,null,null,1,false,false,0,0,"mp; masses","UCUM","Mass","Constant","approximately equal to 1.672622\xd710\u221227 kg","g","g","1.6726231e-24",1.6726231e-24,false],[false,"Newtonian constant of gravitation","[G]","[GC]","(unclassified)",6.67259e-14,[3,-2,-1,0,0,0,0],"<i>G</i>","const",true,null,null,1,false,false,0,0,"G; gravitational constant; Newton\'s constant","UCUM","","Constant","gravitational constant = 6.674\xd710\u221211 N\u22c5m2/kg2","m3.kg-1.s-2","M3.KG-1.S-2","6.67259e-11",6.67259e-11,false],[false,"standard acceleration of free fall","[g]","[G]","acceleration",9.80665,[1,-2,0,0,0,0,0],"<i>g<sub>n</sub></i>","const",true,null,null,1,false,false,0,0,"standard gravity; g; \u02610; \u0261n","UCUM","Accel","Constant","defined by standard = 9.80665 m/s2","m/s2","M/S2","980665e-5",9.80665,false],[false,"Torr","Torr","Torr","pressure",133322,[-1,-2,1,0,0,0,0],"Torr","const",false,null,null,1,false,false,0,0,"torrs","UCUM","Pres","Clinical","1 torr = 1 mmHg; unit used to measure blood pressure","Pa","PAL","133.322",133.322,false],[false,"standard atmosphere","atm","ATM","pressure",101325000,[-1,-2,1,0,0,0,0],"atm","const",false,null,null,1,false,false,0,0,"reference pressure; atmos; std atmosphere","UCUM","Pres","Clinical","defined as being precisely equal to 101,325 Pa","Pa","PAL","101325",101325,false],[false,"light-year","[ly]","[LY]","length",9460730472580800,[1,0,0,0,0,0,0],"l.y.","const",true,null,null,1,false,false,0,0,"light years; ly","UCUM","Len","Constant","unit of astronomal distance = 5.88\xd710^12 mi","[c].a_j","[C].ANN_J","1",1,false],[false,"gram-force","gf","GF","force",9.80665,[1,-2,1,0,0,0,0],"gf","const",true,null,null,1,false,false,0,0,"Newtons; gram forces","UCUM","Force","Clinical","May be specific to unit related to cardiac output","g.[g]","G.[G]","1",1,false],[false,"Kayser","Ky","KY","lineic number",100,[-1,0,0,0,0,0,0],"K","cgs",true,null,null,1,false,false,0,0,"wavenumbers; kaysers","UCUM","InvLen","Clinical","unit of wavelength equal to cm^-1","cm-1","CM-1","1",1,false],[false,"Gal","Gal","GL","acceleration",0.01,[1,-2,0,0,0,0,0],"Gal","cgs",true,null,null,1,false,false,0,0,"galileos; Gals","UCUM","Accel","Clinical","unit of acceleration used in gravimetry; equivalent to cm/s2 ","cm/s2","CM/S2","1",1,false],[false,"dyne","dyn","DYN","force",0.01,[1,-2,1,0,0,0,0],"dyn","cgs",true,null,null,1,false,false,0,0,"dynes","UCUM","Force","Clinical","unit of force equal to 10^-5 Newtons","g.cm/s2","G.CM/S2","1",1,false],[false,"erg","erg","ERG","energy",0.0001,[2,-2,1,0,0,0,0],"erg","cgs",true,null,null,1,false,false,0,0,"10^-7 Joules, 10-7 Joules; 100 nJ; 100 nanoJoules; 1 dyne cm; 1 g.cm2/s2","UCUM","Eng","Clinical","unit of energy = 1 dyne centimeter = 10^-7 Joules","dyn.cm","DYN.CM","1",1,false],[false,"Poise","P","P","dynamic viscosity",100.00000000000001,[-1,-1,1,0,0,0,0],"P","cgs",true,null,null,1,false,false,0,0,"dynamic viscosity; poises","UCUM","Visc","Clinical","unit of dynamic viscosity where 1 Poise = 1/10 Pascal second","dyn.s/cm2","DYN.S/CM2","1",1,false],[false,"Biot","Bi","BI","electric current",10,[0,-1,0,0,0,1,0],"Bi","cgs",true,null,null,1,false,false,0,0,"Bi; abamperes; abA","UCUM","ElpotRat","Clinical","equal to 10 amperes","A","A","10",10,false],[false,"Stokes","St","ST","kinematic viscosity",0.00009999999999999999,[2,-1,0,0,0,0,0],"St","cgs",true,null,null,1,false,false,0,0,"kinematic viscosity","UCUM","Visc","Clinical","unit of kimematic viscosity with units cm2/s","cm2/s","CM2/S","1",1,false],[false,"Maxwell","Mx","MX","flux of magnetic induction",0.00001,[2,-1,1,0,0,-1,0],"Mx","cgs",true,null,null,1,false,false,0,0,"magnetix flux; Maxwells","UCUM","","Clinical","unit of magnetic flux","Wb","WB","1e-8",1e-8,false],[false,"Gauss","G","GS","magnetic flux density",0.1,[0,-1,1,0,0,-1,0],"Gs","cgs",true,null,null,1,false,false,0,0,"magnetic fields; magnetic flux density; induction; B","UCUM","magnetic","Clinical","CGS unit of magnetic flux density, known as magnetic field B; defined as one maxwell unit per square centimeter (see Oersted for CGS unit for H field)","T","T","1e-4",0.0001,false],[false,"Oersted","Oe","OE","magnetic field intensity",79.57747154594767,[-1,-1,0,0,0,1,0],"Oe","cgs",true,null,null,1,false,false,0,0,"H magnetic B field; Oersteds","UCUM","","Clinical","CGS unit of the auxiliary magnetic field H defined as 1 dyne per unit pole = 1000/4\u03c0 amperes per meter (see Gauss for CGS unit for B field)","A/m","/[PI].A/M","250",79.57747154594767,false],[false,"Gilbert","Gb","GB","magnetic tension",0.7957747154594768,[0,-1,0,0,0,1,0],"Gb","cgs",true,null,null,1,false,false,0,0,"Gi; magnetomotive force; Gilberts","UCUM","","Clinical","unit of magnetomotive force (magnetic potential)","Oe.cm","OE.CM","1",1,false],[false,"stilb","sb","SB","lum. intensity density",10000,[-2,0,0,0,0,0,1],"sb","cgs",true,null,null,1,false,false,0,0,"stilbs","UCUM","","Obsolete","unit of luminance; equal to and replaced by unit candela per square centimeter (cd/cm2)","cd/cm2","CD/CM2","1",1,false],[false,"Lambert","Lmb","LMB","brightness",3183.098861837907,[-2,0,0,0,0,0,1],"L","cgs",true,null,null,1,false,false,0,0,"luminance; lamberts","UCUM","","Clinical","unit of luminance defined as 1 lambert = 1/ \u03c0 candela per square meter","cd/cm2/[pi]","CD/CM2/[PI]","1",1,false],[false,"phot","ph","PHT","illuminance",0.0001,[-2,0,0,2,0,0,1],"ph","cgs",true,null,null,1,false,false,0,0,"phots","UCUM","","Clinical","CGS photometric unit of illuminance, or luminous flux through an area equal to 10000 lumens per square meter = 10000 lux","lx","LX","1e-4",0.0001,false],[false,"Curie","Ci","CI","radioactivity",37000000000,[0,-1,0,0,0,0,0],"Ci","cgs",true,null,null,1,false,false,0,0,"curies","UCUM","","Obsolete","unit for measuring atomic disintegration rate; replaced by the Bequerel (Bq) unit","Bq","BQ","37e9",37000000000,false],[false,"Roentgen","R","ROE","ion dose",2.58e-7,[0,0,-1,0,0,1,0],"R","cgs",true,null,null,1,false,false,0,0,"r\xf6ntgen; Roentgens","UCUM","","Clinical","unit of exposure of X-rays and gamma rays in air; unit used primarily in the US but strongly discouraged by NIST","C/kg","C/KG","2.58e-4",0.000258,false],[false,"radiation absorbed dose","RAD","[RAD]","energy dose",0.01,[2,-2,0,0,0,0,0],"RAD","cgs",true,null,null,1,false,false,0,0,"doses","UCUM","","Clinical","unit of radiation absorbed dose used primarily in the US with base units 100 ergs per gram of material. Also see the SI unit Gray (Gy).","erg/g","ERG/G","100",100,false],[false,"radiation equivalent man","REM","[REM]","dose equivalent",0.01,[2,-2,0,0,0,0,0],"REM","cgs",true,null,null,1,false,false,0,0,"Roentgen Equivalent in Man; rems; dose equivalents","UCUM","","Clinical","unit of equivalent dose which measures the effect of radiation on humans equal to 0.01 sievert. Used primarily in the US. Also see SI unit Sievert (Sv)","RAD","[RAD]","1",1,false],[false,"inch","[in_i]","[IN_I]","length",0.025400000000000002,[1,0,0,0,0,0,0],"in","intcust",false,null,null,1,false,false,0,0,"inches; in; international inch; body height","UCUM","Len","Clinical","standard unit for inch in the US and internationally","cm","CM","254e-2",2.54,false],[false,"foot","[ft_i]","[FT_I]","length",0.3048,[1,0,0,0,0,0,0],"ft","intcust",false,null,null,1,false,false,0,0,"ft; fts; foot; international foot; feet; international feet; height","UCUM","Len","Clinical","unit used in the US and internationally","[in_i]","[IN_I]","12",12,false],[false,"yard","[yd_i]","[YD_I]","length",0.9144000000000001,[1,0,0,0,0,0,0],"yd","intcust",false,null,null,1,false,false,0,0,"international yards; yds; distance","UCUM","Len","Clinical","standard unit used in the US and internationally","[ft_i]","[FT_I]","3",3,false],[false,"mile","[mi_i]","[MI_I]","length",1609.344,[1,0,0,0,0,0,0],"mi","intcust",false,null,null,1,false,false,0,0,"international miles; mi I; statute mile","UCUM","Len","Clinical","standard unit used in the US and internationally","[ft_i]","[FT_I]","5280",5280,false],[false,"fathom","[fth_i]","[FTH_I]","depth of water",1.8288000000000002,[1,0,0,0,0,0,0],"fth","intcust",false,null,null,1,false,false,0,0,"international fathoms","UCUM","Len","Nonclinical","unit used in the US and internationally to measure depth of water; same length as the US fathom","[ft_i]","[FT_I]","6",6,false],[false,"nautical mile","[nmi_i]","[NMI_I]","length",1852,[1,0,0,0,0,0,0],"n.mi","intcust",false,null,null,1,false,false,0,0,"nautical mile; nautical miles; international nautical mile; international nautical miles; nm; n.m.; nmi","UCUM","Len","Nonclinical","standard unit used in the US and internationally","m","M","1852",1852,false],[false,"knot","[kn_i]","[KN_I]","velocity",0.5144444444444445,[1,-1,0,0,0,0,0],"knot","intcust",false,null,null,1,false,false,0,0,"kn; kt; international knots","UCUM","Vel","Nonclinical","defined as equal to one nautical mile (1.852 km) per hour","[nmi_i]/h","[NMI_I]/H","1",1,false],[false,"square inch","[sin_i]","[SIN_I]","area",0.0006451600000000001,[2,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,0,0,"in2; in^2; inches squared; sq inch; inches squared; international","UCUM","Area","Clinical","standard unit used in the US and internationally","[in_i]2","[IN_I]2","1",1,false],[false,"square foot","[sft_i]","[SFT_I]","area",0.09290304,[2,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,0,0,"ft2; ft^2; ft squared; sq ft; feet; international","UCUM","Area","Clinical","standard unit used in the US and internationally","[ft_i]2","[FT_I]2","1",1,false],[false,"square yard","[syd_i]","[SYD_I]","area",0.8361273600000002,[2,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,0,0,"yd2; yd^2; sq. yds; yards squared; international","UCUM","Area","Clinical","standard unit used in the US and internationally","[yd_i]2","[YD_I]2","1",1,false],[false,"cubic inch","[cin_i]","[CIN_I]","volume",0.000016387064000000006,[3,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,0,0,"in3; in^3; in*3; inches^3; inches*3; cu. in; cu in; cubic inches; inches cubed; cin","UCUM","Vol","Clinical","standard unit used in the US and internationally","[in_i]3","[IN_I]3","1",1,false],[false,"cubic foot","[cft_i]","[CFT_I]","volume",0.028316846592000004,[3,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,0,0,"ft3; ft^3; ft*3; cu. ft; cubic feet; cubed; [ft_i]3; international","UCUM","Vol","Clinical","","[ft_i]3","[FT_I]3","1",1,false],[false,"cubic yard","[cyd_i]","[CYD_I]","volume",0.7645548579840002,[3,0,0,0,0,0,0],"cu.yd","intcust",false,null,null,1,false,false,0,0,"cubic yards; cubic yds; cu yards; CYs; yards^3; yd^3; yds^3; yd3; yds3","UCUM","Vol","Nonclinical","standard unit used in the US and internationally","[yd_i]3","[YD_I]3","1",1,false],[false,"board foot","[bf_i]","[BF_I]","volume",0.0023597372160000006,[3,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,0,0,"BDFT; FBM; BF; board feet; international","UCUM","Vol","Nonclinical","unit of volume used to measure lumber","[in_i]3","[IN_I]3","144",144,false],[false,"cord","[cr_i]","[CR_I]","volume",3.6245563637760005,[3,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,0,0,"crd I; international cords","UCUM","Vol","Nonclinical","unit of measure of dry volume used to measure firewood equal 128 ft3","[ft_i]3","[FT_I]3","128",128,false],[false,"mil","[mil_i]","[MIL_I]","length",0.000025400000000000004,[1,0,0,0,0,0,0],"mil","intcust",false,null,null,1,false,false,0,0,"thou, thousandth; mils; international","UCUM","Len","Clinical","equal to 0.001 international inch","[in_i]","[IN_I]","1e-3",0.001,false],[false,"circular mil","[cml_i]","[CML_I]","area",5.067074790974979e-10,[2,0,0,0,0,0,0],"circ.mil","intcust",false,null,null,1,false,false,0,0,"circular mils; cml I; international","UCUM","Area","Clinical","","[pi]/4.[mil_i]2","[PI]/4.[MIL_I]2","1",1,false],[false,"hand","[hd_i]","[HD_I]","height of horses",0.10160000000000001,[1,0,0,0,0,0,0],"hd","intcust",false,null,null,1,false,false,0,0,"hands; international","UCUM","Len","Nonclinical","used to measure horse height","[in_i]","[IN_I]","4",4,false],[false,"foot - US","[ft_us]","[FT_US]","length",0.3048006096012192,[1,0,0,0,0,0,0],"ft<sub>us</sub>","us-lengths",false,null,null,1,false,false,0,0,"US foot; foot US; us ft; ft us; height; visual distance; feet","UCUM","Len","Obsolete","Better to use [ft_i] which refers to the length used worldwide, including in the US;  [ft_us] may be confused with land survey units. ","m/3937","M/3937","1200",1200,false],[false,"yard - US","[yd_us]","[YD_US]","length",0.9144018288036575,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,0,"US yards; us yds; distance","UCUM","Len; Nrat","Obsolete","Better to use [yd_i] which refers to the length used worldwide, including in the US; [yd_us] refers to unit used in land surveys in the US","[ft_us]","[FT_US]","3",3,false],[false,"inch - US","[in_us]","[IN_US]","length",0.0254000508001016,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,0,"US inches; in us; us in; inch US","UCUM","Len","Obsolete","Better to use [in_i] which refers to the length used worldwide, including in the US","[ft_us]/12","[FT_US]/12","1",1,false],[false,"rod - US","[rd_us]","[RD_US]","length",5.029210058420117,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,0,"US rod; US rods; rd US; US rd","UCUM","Len","Obsolete","","[ft_us]","[FT_US]","16.5",16.5,false],[false,"Gunter\'s chain - US","[ch_us]","[CH_US]","length",20.116840233680467,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,0,"surveyor\'s chain; Surveyor\'s chain USA; Gunter\u2019s measurement; surveyor\u2019s measurement; Gunter\'s Chain USA","UCUM","Len","Obsolete","historical unit used for land survey used only in the US","[rd_us]","[RD_US]","4",4,false],[false,"link for Gunter\'s chain - US","[lk_us]","[LK_US]","length",0.20116840233680466,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,0,"Links for Gunter\'s Chain USA","UCUM","Len","Obsolete","","[ch_us]/100","[CH_US]/100","1",1,false],[false,"Ramden\'s chain - US","[rch_us]","[RCH_US]","length",30.480060960121918,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,0,"Ramsden\'s chain; engineer\'s chains","UCUM","Len","Obsolete","distance measuring device used for\xa0land survey","[ft_us]","[FT_US]","100",100,false],[false,"link for Ramden\'s chain - US","[rlk_us]","[RLK_US]","length",0.3048006096012192,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,0,"links for Ramsden\'s chain","UCUM","Len","Obsolete","","[rch_us]/100","[RCH_US]/100","1",1,false],[false,"fathom - US","[fth_us]","[FTH_US]","length",1.828803657607315,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,0,"US fathoms; fathom USA; fth us","UCUM","Len","Obsolete","same length as the international fathom - better to use international fathom ([fth_i])","[ft_us]","[FT_US]","6",6,false],[false,"furlong - US","[fur_us]","[FUR_US]","length",201.16840233680466,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,0,"US furlongs; fur us","UCUM","Len","Nonclinical","distance unit in horse racing","[rd_us]","[RD_US]","40",40,false],[false,"mile - US","[mi_us]","[MI_US]","length",1609.3472186944373,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,0,"U.S. Survey Miles; US statute miles; survey mi; US mi; distance","UCUM","Len","Nonclinical","Better to use [mi_i] which refers to the length used worldwide, including in the US","[fur_us]","[FUR_US]","8",8,false],[false,"acre - US","[acr_us]","[ACR_US]","area",4046.872609874252,[2,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,0,"Acre USA Survey; Acre USA; survey acres","UCUM","Area","Nonclinical","an older unit based on pre 1959 US statute lengths that is still sometimes used in the US only for land survey purposes. ","[rd_us]2","[RD_US]2","160",160,false],[false,"square rod - US","[srd_us]","[SRD_US]","area",25.292953811714074,[2,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,0,"rod2; rod^2; sq. rod; rods squared","UCUM","Area","Nonclinical","Used only in the US to measure land area, based on US statute land survey length units","[rd_us]2","[RD_US]2","1",1,false],[false,"square mile - US","[smi_us]","[SMI_US]","area",2589998.470319521,[2,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,0,"mi2; mi^2; sq mi; miles squared","UCUM","Area","Nonclinical","historical unit used only in the US for land survey purposes (based on the US survey mile), not the internationally recognized [mi_i]","[mi_us]2","[MI_US]2","1",1,false],[false,"section","[sct]","[SCT]","area",2589998.470319521,[2,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,0,"sct; sections","UCUM","Area","Nonclinical","tract of land approximately equal to 1 mile square containing 640 acres","[mi_us]2","[MI_US]2","1",1,false],[false,"township","[twp]","[TWP]","area",93239944.93150276,[2,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,0,"twp; townships","UCUM","Area","Nonclinical","land measurement equal to 6 mile square","[sct]","[SCT]","36",36,false],[false,"mil - US","[mil_us]","[MIL_US]","length",0.0000254000508001016,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,0,"thou, thousandth; mils","UCUM","Len","Obsolete","better to use [mil_i] which is based on the internationally recognized inch","[in_us]","[IN_US]","1e-3",0.001,false],[false,"inch - British","[in_br]","[IN_BR]","length",0.025399980000000003,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,0,"imperial inches; imp in; br in; british inches","UCUM","Len","Obsolete","","cm","CM","2.539998",2.539998,false],[false,"foot - British","[ft_br]","[FT_BR]","length",0.30479976000000003,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,0,"British Foot; Imperial Foot; feet; imp fts; br fts","UCUM","Len","Obsolete","","[in_br]","[IN_BR]","12",12,false],[false,"rod - British","[rd_br]","[RD_BR]","length",5.02919604,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,0,"British rods; br rd","UCUM","Len","Obsolete","","[ft_br]","[FT_BR]","16.5",16.5,false],[false,"Gunter\'s chain - British","[ch_br]","[CH_BR]","length",20.11678416,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,0,"Gunter\'s Chain British; Gunters Chain British; Surveyor\'s Chain British","UCUM","Len","Obsolete","historical unit used for land survey used only in Great Britain","[rd_br]","[RD_BR]","4",4,false],[false,"link for Gunter\'s chain - British","[lk_br]","[LK_BR]","length",0.2011678416,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,0,"Links for Gunter\'s Chain British","UCUM","Len","Obsolete","","[ch_br]/100","[CH_BR]/100","1",1,false],[false,"fathom - British","[fth_br]","[FTH_BR]","length",1.82879856,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,0,"British fathoms; imperial fathoms; br fth; imp fth","UCUM","Len","Obsolete","","[ft_br]","[FT_BR]","6",6,false],[false,"pace - British","[pc_br]","[PC_BR]","length",0.7619994000000001,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,0,"British paces; br pc","UCUM","Len","Nonclinical","traditional unit of length equal to 152.4 centimeters, or 1.52 meter. ","[ft_br]","[FT_BR]","2.5",2.5,false],[false,"yard - British","[yd_br]","[YD_BR]","length",0.91439928,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,0,"British yards; Br yds; distance","UCUM","Len","Obsolete","","[ft_br]","[FT_BR]","3",3,false],[false,"mile - British","[mi_br]","[MI_BR]","length",1609.3427328000002,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,0,"imperial miles; British miles; English statute miles; imp mi, br mi","UCUM","Len","Obsolete","","[ft_br]","[FT_BR]","5280",5280,false],[false,"nautical mile - British","[nmi_br]","[NMI_BR]","length",1853.1825408000002,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,0,"British nautical miles; Imperial nautical miles; Admiralty miles; n.m. br; imp nm","UCUM","Len","Obsolete","","[ft_br]","[FT_BR]","6080",6080,false],[false,"knot - British","[kn_br]","[KN_BR]","velocity",0.5147729280000001,[1,-1,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,0,"British knots; kn br; kt","UCUM","Vel","Obsolete","based on obsolete British nautical mile ","[nmi_br]/h","[NMI_BR]/H","1",1,false],[false,"acre","[acr_br]","[ACR_BR]","area",4046.850049400269,[2,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,0,"Imperial acres; British; a; ac; ar; acr","UCUM","Area","Nonclinical","the standard unit for acre used in the US and internationally","[yd_br]2","[YD_BR]2","4840",4840,false],[false,"gallon - US","[gal_us]","[GAL_US]","fluid volume",0.0037854117840000014,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,0,"US gallons; US liquid gallon; gal us; Queen Anne\'s wine gallon","UCUM","Vol","Nonclinical","only gallon unit used in the US; [gal_us] is only used in some other countries in South American and Africa to measure gasoline volume","[in_i]3","[IN_I]3","231",231,false],[false,"barrel - US","[bbl_us]","[BBL_US]","fluid volume",0.15898729492800007,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,0,"bbl","UCUM","Vol","Nonclinical","[bbl_us] is the standard unit for oil barrel, which is a unit only used in the US to measure the volume oil. ","[gal_us]","[GAL_US]","42",42,false],[false,"quart - US","[qt_us]","[QT_US]","fluid volume",0.0009463529460000004,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,0,"US quarts; us qts","UCUM","Vol","Clinical","Used only in the US","[gal_us]/4","[GAL_US]/4","1",1,false],[false,"pint - US","[pt_us]","[PT_US]","fluid volume",0.0004731764730000002,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,0,"US pints; pint US; liquid pint; pt us; us pt","UCUM","Vol","Clinical","Used only in the US","[qt_us]/2","[QT_US]/2","1",1,false],[false,"gill - US","[gil_us]","[GIL_US]","fluid volume",0.00011829411825000005,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,0,"US gills; gil us","UCUM","Vol","Nonclinical","only used in the context of alcohol volume in the US","[pt_us]/4","[PT_US]/4","1",1,false],[false,"fluid ounce - US","[foz_us]","[FOZ_US]","fluid volume",0.00002957352956250001,[3,0,0,0,0,0,0],"oz fl","us-volumes",false,null,null,1,false,false,0,0,"US fluid ounces; fl ozs; FO; fl. oz.; foz us","UCUM","Vol","Clinical","unit used only in the US","[gil_us]/4","[GIL_US]/4","1",1,false],[false,"fluid dram - US","[fdr_us]","[FDR_US]","fluid volume",0.0000036966911953125014,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,0,"US fluid drams; fdr us","UCUM","Vol","Nonclinical","equal to 1/8 US fluid ounce = 3.69 mL; used informally to mean small amount of liquor, especially Scotch whiskey","[foz_us]/8","[FOZ_US]/8","1",1,false],[false,"minim - US","[min_us]","[MIN_US]","fluid volume",6.161151992187503e-8,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,0,"min US; US min; \u264f US","UCUM","Vol","Obsolete","","[fdr_us]/60","[FDR_US]/60","1",1,false],[false,"cord - US","[crd_us]","[CRD_US]","fluid volume",3.6245563637760005,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,0,"US cord; US cords; crd us; us crd","UCUM","Vol","Nonclinical","unit of measure of dry volume used to measure firewood equal 128 ft3 (the same as international cord [cr_i])","[ft_i]3","[FT_I]3","128",128,false],[false,"bushel - US","[bu_us]","[BU_US]","dry volume",0.035239070166880014,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,0,"US bushels; US bsh; US bu","UCUM","Vol","Obsolete","Historical unit of dry volume that is rarely used today","[in_i]3","[IN_I]3","2150.42",2150.42,false],[false,"gallon - historical","[gal_wi]","[GAL_WI]","dry volume",0.004404883770860002,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,0,"Corn Gallon British; Dry Gallon US; Gallons Historical; Grain Gallon British; Winchester Corn Gallon; historical winchester gallons; wi gal","UCUM","Vol","Obsolete","historical unit of dry volume no longer used","[bu_us]/8","[BU_US]/8","1",1,false],[false,"peck - US","[pk_us]","[PK_US]","dry volume",0.008809767541720004,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,0,"US pecks; US pk","UCUM","Vol","Nonclinical","unit of dry volume rarely used today (can be used to measure volume of apples)","[bu_us]/4","[BU_US]/4","1",1,false],[false,"dry quart - US","[dqt_us]","[DQT_US]","dry volume",0.0011012209427150004,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,0,"dry quarts; dry quart US; US dry quart; dry qt; us dry qt; dqt; dqt us","UCUM","Vol","Nonclinical","historical unit of dry volume only in the US, but is rarely used today","[pk_us]/8","[PK_US]/8","1",1,false],[false,"dry pint - US","[dpt_us]","[DPT_US]","dry volume",0.0005506104713575002,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,0,"dry pints; dry pint US; US dry pint; dry pt; dpt; dpt us","UCUM","Vol","Nonclinical","historical unit of dry volume only in the US, but is rarely used today","[dqt_us]/2","[DQT_US]/2","1",1,false],[false,"tablespoon - US","[tbs_us]","[TBS_US]","volume",0.000014786764781250006,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,0,"Tbs; tbsp; tbs us; US tablespoons","UCUM","Vol","Clinical","unit defined as 0.5 US fluid ounces or 3 teaspoons - used only in the US. See [tbs_m] for the unit used internationally and in the US for nutrional labelling. ","[foz_us]/2","[FOZ_US]/2","1",1,false],[false,"teaspoon - US","[tsp_us]","[TSP_US]","volume",0.000004928921593750002,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,0,"tsp; t; US teaspoons","UCUM","Vol","Nonclinical","unit defined as 1/6 US fluid ounces - used only in the US. See [tsp_m] for the unit used internationally and in the US for nutrional labelling. ","[tbs_us]/3","[TBS_US]/3","1",1,false],[false,"cup - US customary","[cup_us]","[CUP_US]","volume",0.0002365882365000001,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,0,"cup us; us cups","UCUM","Vol","Nonclinical","Unit defined as 1/2 US pint or 16 US tablespoons \u2248 236.59 mL, which is not the standard unit defined by the FDA of 240 mL - see [cup_m] (metric cup)","[tbs_us]","[TBS_US]","16",16,false],[false,"fluid ounce - metric","[foz_m]","[FOZ_M]","fluid volume",0.000029999999999999997,[3,0,0,0,0,0,0],"oz fl","us-volumes",false,null,null,1,false,false,0,0,"metric fluid ounces; fozs m; fl ozs m","UCUM","Vol","Clinical","unit used only in the US for nutritional labelling, as set by the FDA","mL","ML","30",30,false],[false,"cup - US legal","[cup_m]","[CUP_M]","volume",0.00023999999999999998,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,0,"cup m; metric cups","UCUM","Vol","Clinical","standard unit equal to 240 mL used in the US for nutritional labelling, as defined by the FDA. Note that this is different from the US customary cup (236.59 mL) and the metric cup used in Commonwealth nations (250 mL).","mL","ML","240",240,false],[false,"teaspoon - metric","[tsp_m]","[TSP_M]","volume",0.0000049999999999999996,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,0,"tsp; t; metric teaspoons","UCUM","Vol","Clinical","standard unit used in the US and internationally","mL","mL","5",5,false],[false,"tablespoon - metric","[tbs_m]","[TBS_M]","volume",0.000014999999999999999,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,0,"metric tablespoons; Tbs; tbsp; T; tbs m","UCUM","Vol","Clinical","standard unit used in the US and internationally","mL","mL","15",15,false],[false,"gallon- British","[gal_br]","[GAL_BR]","volume",0.004546090000000001,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,0,"imperial gallons, UK gallons; British gallons; br gal; imp gal","UCUM","Vol","Nonclinical","Used only in Great Britain and other Commonwealth countries","l","L","4.54609",4.54609,false],[false,"peck - British","[pk_br]","[PK_BR]","volume",0.009092180000000002,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,0,"imperial pecks; British pecks; br pk; imp pk","UCUM","Vol","Nonclinical","unit of dry volume rarely used today (can be used to measure volume of apples)","[gal_br]","[GAL_BR]","2",2,false],[false,"bushel - British","[bu_br]","[BU_BR]","volume",0.03636872000000001,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,0,"British bushels; imperial; br bsh; br bu; imp","UCUM","Vol","Obsolete","Historical unit of dry volume that is rarely used today","[pk_br]","[PK_BR]","4",4,false],[false,"quart - British","[qt_br]","[QT_BR]","volume",0.0011365225000000002,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,0,"British quarts; imperial quarts; br qts","UCUM","Vol","Clinical","Used only in Great Britain and other Commonwealth countries","[gal_br]/4","[GAL_BR]/4","1",1,false],[false,"pint - British","[pt_br]","[PT_BR]","volume",0.0005682612500000001,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,0,"British pints; imperial pints; pt br; br pt; imp pt; pt imp","UCUM","Vol","Clinical","Used only in Great Britain and other Commonwealth countries","[qt_br]/2","[QT_BR]/2","1",1,false],[false,"gill - British","[gil_br]","[GIL_BR]","volume",0.00014206531250000003,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,0,"imperial gills; British gills; imp gill, br gill","UCUM","Vol","Nonclinical","only used in the context of alcohol volume in Great Britain","[pt_br]/4","[PT_BR]/4","1",1,false],[false,"fluid ounce - British","[foz_br]","[FOZ_BR]","volume",0.000028413062500000005,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,0,"British fluid ounces; Imperial fluid ounces; br fozs; imp fozs; br fl ozs","UCUM","Vol","Clinical","Used only in Great Britain and other Commonwealth countries","[gil_br]/5","[GIL_BR]/5","1",1,false],[false,"fluid dram - British","[fdr_br]","[FDR_BR]","volume",0.0000035516328125000006,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,0,"British fluid drams; fdr br","UCUM","Vol","Nonclinical","equal to 1/8 Imperial fluid ounce = 3.55 mL; used informally to mean small amount of liquor, especially Scotch whiskey","[foz_br]/8","[FOZ_BR]/8","1",1,false],[false,"minim - British","[min_br]","[MIN_BR]","volume",5.919388020833334e-8,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,0,"min br; br min; \u264f br","UCUM","Vol","Obsolete","","[fdr_br]/60","[FDR_BR]/60","1",1,false],[false,"grain","[gr]","[GR]","mass",0.06479891,[0,0,1,0,0,0,0],null,"avoirdupois",false,null,null,1,false,false,0,0,"gr; grains","UCUM","Mass","Nonclinical","an apothecary measure of mass rarely used today","mg","MG","64.79891",64.79891,false],[false,"pound","[lb_av]","[LB_AV]","mass",453.59237,[0,0,1,0,0,0,0],"lb","avoirdupois",false,null,null,1,false,false,0,0,"avoirdupois pounds, international pounds; av lbs; pounds","UCUM","Mass","Clinical","standard unit used in the US and internationally","[gr]","[GR]","7000",7000,false],[false,"pound force - US","[lbf_av]","[LBF_AV]","force",4448.2216152605,[1,-2,1,0,0,0,0],"lbf","const",false,null,null,1,false,false,0,0,"lbfs; US lbf; US pound forces","UCUM","Force","Clinical","only rarely needed in health care - see [lb_av] which is the more common unit to express weight","[lb_av].[g]","[LB_AV].[G]","1",1,false],[false,"ounce","[oz_av]","[OZ_AV]","mass",28.349523125,[0,0,1,0,0,0,0],"oz","avoirdupois",false,null,null,1,false,false,0,0,"ounces; international ounces; avoirdupois ounces; av ozs","UCUM","Mass","Clinical","standard unit used in the US and internationally","[lb_av]/16","[LB_AV]/16","1",1,false],[false,"Dram mass unit","[dr_av]","[DR_AV]","mass",1.7718451953125,[0,0,1,0,0,0,0],null,"avoirdupois",false,null,null,1,false,false,0,0,"Dram; drams avoirdupois; avoidupois dram; international dram","UCUM","Mass","Clinical","unit from the avoirdupois system, which is used in the US and internationally","[oz_av]/16","[OZ_AV]/16","1",1,false],[false,"short hundredweight","[scwt_av]","[SCWT_AV]","mass",45359.237,[0,0,1,0,0,0,0],null,"avoirdupois",false,null,null,1,false,false,0,0,"hundredweights; s cwt; scwt; avoirdupois","UCUM","Mass","Nonclinical","Used only in the US to equal 100 pounds","[lb_av]","[LB_AV]","100",100,false],[false,"long hundredweight","[lcwt_av]","[LCWT_AV]","mass",50802.345440000005,[0,0,1,0,0,0,0],null,"avoirdupois",false,null,null,1,false,false,0,0,"imperial hundredweights; imp cwt; lcwt; avoirdupois","UCUM","Mass","Obsolete","","[lb_av]","[LB_AV]","112",112,false],[false,"short ton - US","[ston_av]","[STON_AV]","mass",907184.74,[0,0,1,0,0,0,0],null,"avoirdupois",false,null,null,1,false,false,0,0,"ton; US tons; avoirdupois tons","UCUM","Mass","Clinical","Used only in the US","[scwt_av]","[SCWT_AV]","20",20,false],[false,"long ton - British","[lton_av]","[LTON_AV]","mass",1016046.9088000001,[0,0,1,0,0,0,0],null,"avoirdupois",false,null,null,1,false,false,0,0,"imperial tons; weight tons; British long tons; long ton avoirdupois","UCUM","Mass","Nonclinical","Used only in Great Britain and other Commonwealth countries","[lcwt_av]","[LCWT_AV]","20",20,false],[false,"stone - British","[stone_av]","[STONE_AV]","mass",6350.293180000001,[0,0,1,0,0,0,0],null,"avoirdupois",false,null,null,1,false,false,0,0,"British stones; avoirdupois","UCUM","Mass","Nonclinical","Used primarily in the UK and Ireland to measure body weight","[lb_av]","[LB_AV]","14",14,false],[false,"pennyweight - troy","[pwt_tr]","[PWT_TR]","mass",1.5551738400000001,[0,0,1,0,0,0,0],null,"troy",false,null,null,1,false,false,0,0,"dwt; denarius weights","UCUM","Mass","Obsolete","historical unit used to measure mass and cost of precious metals","[gr]","[GR]","24",24,false],[false,"ounce - troy","[oz_tr]","[OZ_TR]","mass",31.103476800000003,[0,0,1,0,0,0,0],null,"troy",false,null,null,1,false,false,0,0,"troy ounces; tr ozs","UCUM","Mass","Nonclinical","unit of mass for precious metals and gemstones only","[pwt_tr]","[PWT_TR]","20",20,false],[false,"pound - troy","[lb_tr]","[LB_TR]","mass",373.2417216,[0,0,1,0,0,0,0],null,"troy",false,null,null,1,false,false,0,0,"troy pounds; tr lbs","UCUM","Mass","Nonclinical","only used for weighing precious metals","[oz_tr]","[OZ_TR]","12",12,false],[false,"scruple","[sc_ap]","[SC_AP]","mass",1.2959782,[0,0,1,0,0,0,0],null,"apoth",false,null,null,1,false,false,0,0,"scruples; sc ap","UCUM","Mass","Obsolete","","[gr]","[GR]","20",20,false],[false,"dram - apothecary","[dr_ap]","[DR_AP]","mass",3.8879346,[0,0,1,0,0,0,0],null,"apoth",false,null,null,1,false,false,0,0,"\u0292; drachm; apothecaries drams; dr ap; dram ap","UCUM","Mass","Nonclinical","unit still used in the US occasionally to measure amount of drugs in pharmacies","[sc_ap]","[SC_AP]","3",3,false],[false,"ounce - apothecary","[oz_ap]","[OZ_AP]","mass",31.1034768,[0,0,1,0,0,0,0],null,"apoth",false,null,null,1,false,false,0,0,"apothecary ounces; oz ap; ap ozs; ozs ap","UCUM","Mass","Obsolete","","[dr_ap]","[DR_AP]","8",8,false],[false,"pound - apothecary","[lb_ap]","[LB_AP]","mass",373.2417216,[0,0,1,0,0,0,0],null,"apoth",false,null,null,1,false,false,0,0,"apothecary pounds; apothecaries pounds; ap lb; lb ap; ap lbs; lbs ap","UCUM","Mass","Obsolete","","[oz_ap]","[OZ_AP]","12",12,false],[false,"ounce - metric","[oz_m]","[OZ_M]","mass",28,[0,0,1,0,0,0,0],null,"apoth",false,null,null,1,false,false,0,0,"metric ounces; m ozs","UCUM","Mass","Clinical","see [oz_av] (the avoirdupois ounce) for the standard ounce used internationally; [oz_m] is equal to 28 grams and is based on the apothecaries\' system of mass units which is used in some US pharmacies. ","g","g","28",28,false],[false,"line","[lne]","[LNE]","length",0.002116666666666667,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,0,"British lines; br L; L; l","UCUM","Len","Obsolete","","[in_i]/12","[IN_I]/12","1",1,false],[false,"point (typography)","[pnt]","[PNT]","length",0.0003527777777777778,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,0,"DTP points; desktop publishing point; pt; pnt","UCUM","Len","Nonclinical","typography unit for typesetter\'s length","[lne]/6","[LNE]/6","1",1,false],[false,"pica (typography)","[pca]","[PCA]","length",0.004233333333333334,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,0,"picas","UCUM","Len","Nonclinical","typography unit for typesetter\'s length","[pnt]","[PNT]","12",12,false],[false,"Printer\'s point (typography)","[pnt_pr]","[PNT_PR]","length",0.00035145980000000004,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,0,"pnt pr","UCUM","Len","Nonclinical","typography unit for typesetter\'s length","[in_i]","[IN_I]","0.013837",0.013837,false],[false,"Printer\'s pica  (typography)","[pca_pr]","[PCA_PR]","length",0.004217517600000001,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,0,"pca pr; Printer\'s picas","UCUM","Len","Nonclinical","typography unit for typesetter\'s length","[pnt_pr]","[PNT_PR]","12",12,false],[false,"pied","[pied]","[PIED]","length",0.3248,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,0,"pieds du roi; Paris foot; royal; French; feet","UCUM","Len","Obsolete","","cm","CM","32.48",32.48,false],[false,"pouce","[pouce]","[POUCE]","length",0.027066666666666666,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,0,"historical French inches; French royal inches","UCUM","Len","Obsolete","","[pied]/12","[PIED]/12","1",1,false],[false,"ligne","[ligne]","[LIGNE]","length",0.0022555555555555554,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,0,"Paris lines; lignes","UCUM","Len","Obsolete","","[pouce]/12","[POUCE]/12","1",1,false],[false,"didot","[didot]","[DIDOT]","length",0.0003759259259259259,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,0,"Didot point; dd; Didots Point; didots; points","UCUM","Len","Obsolete","typography unit for typesetter\'s length","[ligne]/6","[LIGNE]/6","1",1,false],[false,"cicero","[cicero]","[CICERO]","length",0.004511111111111111,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,0,"Didot\'s pica; ciceros; picas","UCUM","Len","Obsolete","typography unit for typesetter\'s length","[didot]","[DIDOT]","12",12,false],[false,"degrees Fahrenheit","[degF]","[DEGF]","temperature",0.5555555555555556,[0,0,0,0,1,0,0],"\xb0F","heat",false,null,"degF",1,true,false,0,0,"\xb0F; deg F","UCUM","Temp","Clinical","","K",null,null,0.5555555555555556,false],[false,"degrees Rankine","[degR]","[degR]","temperature",0.5555555555555556,[0,0,0,0,1,0,0],"\xb0R","heat",false,null,null,1,false,false,0,0,"\xb0R; \xb0Ra; Rankine","UCUM","Temp","Obsolete","Replaced by Kelvin","K/9","K/9","5",5,false],[false,"degrees R\xe9aumur","[degRe]","[degRe]","temperature",1.25,[0,0,0,0,1,0,0],"\xb0R\xe9","heat",false,null,"degRe",1,true,false,0,0,"\xb0R\xe9, \xb0Re, \xb0r; R\xe9aumur; degree Reaumur; Reaumur","UCUM","Temp","Obsolete","replaced by Celsius","K",null,null,1.25,false],[false,"calorie at 15\xb0C","cal_[15]","CAL_[15]","energy",4185.8,[2,-2,1,0,0,0,0],"cal<sub>15\xb0C</sub>","heat",true,null,null,1,false,false,0,0,"calorie 15 C; cals 15 C; calories at 15 C","UCUM","Enrg","Nonclinical","equal to 4.1855 joules; calorie most often used in engineering","J","J","4.18580",4.1858,false],[false,"calorie at 20\xb0C","cal_[20]","CAL_[20]","energy",4181.9,[2,-2,1,0,0,0,0],"cal<sub>20\xb0C</sub>","heat",true,null,null,1,false,false,0,0,"calorie 20 C; cal 20 C; calories at 20 C","UCUM","Enrg","Clinical","equal to 4.18190  joules. ","J","J","4.18190",4.1819,false],[false,"mean calorie","cal_m","CAL_M","energy",4190.0199999999995,[2,-2,1,0,0,0,0],"cal<sub>m</sub>","heat",true,null,null,1,false,false,0,0,"mean cals; mean calories","UCUM","Enrg","Clinical","equal to 4.19002 joules. ","J","J","4.19002",4.19002,false],[false,"international table calorie","cal_IT","CAL_IT","energy",4186.8,[2,-2,1,0,0,0,0],"cal<sub>IT</sub>","heat",true,null,null,1,false,false,0,0,"calories IT; IT cals; international steam table calories","UCUM","Enrg","Nonclinical","used in engineering steam tables and defined as 1/860 international watt-hour; equal to 4.1868 joules","J","J","4.1868",4.1868,false],[false,"thermochemical calorie","cal_th","CAL_TH","energy",4184,[2,-2,1,0,0,0,0],"cal<sub>th</sub>","heat",true,null,null,1,false,false,0,0,"thermochemical calories; th cals","UCUM","Enrg","Clinical","equal to 4.184 joules; used as the unit in medicine and biochemistry (equal to cal)","J","J","4.184",4.184,false],[false,"calorie","cal","CAL","energy",4184,[2,-2,1,0,0,0,0],"cal","heat",true,null,null,1,false,false,0,0,"gram calories; small calories","UCUM","Enrg","Clinical","equal to 4.184 joules (the same value as the thermochemical calorie, which is the most common calorie used in medicine and biochemistry)","cal_th","CAL_TH","1",1,false],[false,"nutrition label Calories","[Cal]","[CAL]","energy",4184000,[2,-2,1,0,0,0,0],"Cal","heat",false,null,null,1,false,false,0,0,"food calories; Cal; kcal","UCUM","Eng","Clinical","","kcal_th","KCAL_TH","1",1,false],[false,"British thermal unit at 39\xb0F","[Btu_39]","[BTU_39]","energy",1059670,[2,-2,1,0,0,0,0],"Btu<sub>39\xb0F</sub>","heat",false,null,null,1,false,false,0,0,"BTU 39F; BTU 39 F; B.T.U. 39 F; B.Th.U. 39 F; BThU 39 F; British thermal units","UCUM","Eng","Nonclinical","equal to 1.05967 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","kJ","kJ","1.05967",1.05967,false],[false,"British thermal unit at 59\xb0F","[Btu_59]","[BTU_59]","energy",1054800,[2,-2,1,0,0,0,0],"Btu<sub>59\xb0F</sub>","heat",false,null,null,1,false,false,0,0,"BTU 59 F; BTU 59F; B.T.U. 59 F; B.Th.U. 59 F; BThU 59F; British thermal units","UCUM","Eng","Nonclinical","equal to  1.05480 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","kJ","kJ","1.05480",1.0548,false],[false,"British thermal unit at 60\xb0F","[Btu_60]","[BTU_60]","energy",1054680,[2,-2,1,0,0,0,0],"Btu<sub>60\xb0F</sub>","heat",false,null,null,1,false,false,0,0,"BTU 60 F; BTU 60F; B.T.U. 60 F; B.Th.U. 60 F; BThU 60 F; British thermal units 60 F","UCUM","Eng","Nonclinical","equal to 1.05468 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","kJ","kJ","1.05468",1.05468,false],[false,"mean British thermal unit","[Btu_m]","[BTU_M]","energy",1055870,[2,-2,1,0,0,0,0],"Btu<sub>m</sub>","heat",false,null,null,1,false,false,0,0,"BTU mean; B.T.U. mean; B.Th.U. mean; BThU mean; British thermal units mean; ","UCUM","Eng","Nonclinical","equal to 1.05587 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","kJ","kJ","1.05587",1.05587,false],[false,"international table British thermal unit","[Btu_IT]","[BTU_IT]","energy",1055055.85262,[2,-2,1,0,0,0,0],"Btu<sub>IT</sub>","heat",false,null,null,1,false,false,0,0,"BTU IT; B.T.U. IT; B.Th.U. IT; BThU IT; British thermal units IT","UCUM","Eng","Nonclinical","equal to 1.055 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","kJ","kJ","1.05505585262",1.05505585262,false],[false,"thermochemical British thermal unit","[Btu_th]","[BTU_TH]","energy",1054350,[2,-2,1,0,0,0,0],"Btu<sub>th</sub>","heat",false,null,null,1,false,false,0,0,"BTU Th; B.T.U. Th; B.Th.U. Th; BThU Th; thermochemical British thermal units","UCUM","Eng","Nonclinical","equal to 1.054350 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","kJ","kJ","1.054350",1.05435,false],[false,"British thermal unit","[Btu]","[BTU]","energy",1054350,[2,-2,1,0,0,0,0],"btu","heat",false,null,null,1,false,false,0,0,"BTU; B.T.U. ; B.Th.U.; BThU; British thermal units","UCUM","Eng","Nonclinical","equal to the thermochemical British thermal unit equal to 1.054350 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","[Btu_th]","[BTU_TH]","1",1,false],[false,"horsepower - mechanical","[HP]","[HP]","power",745699.8715822703,[2,-3,1,0,0,0,0],null,"heat",false,null,null,1,false,false,0,0,"imperial horsepowers","UCUM","EngRat","Nonclinical","refers to mechanical horsepower, which is unit used to measure engine power primarily in the US. ","[ft_i].[lbf_av]/s","[FT_I].[LBF_AV]/S","550",550,false],[false,"tex","tex","TEX","linear mass density (of textile thread)",0.001,[-1,0,1,0,0,0,0],"tex","heat",true,null,null,1,false,false,0,0,"linear mass density; texes","UCUM","","Clinical","unit of linear mass density for fibers equal to gram per 1000 meters","g/km","G/KM","1",1,false],[false,"Denier (linear mass density)","[den]","[DEN]","linear mass density (of textile thread)",0.0001111111111111111,[-1,0,1,0,0,0,0],"den","heat",false,null,null,1,false,false,0,0,"den; deniers","UCUM","","Nonclinical","equal to the mass in grams per 9000 meters of the fiber (1 denier = 1 strand of silk)","g/9/km","G/9/KM","1",1,false],[false,"meter of water column","m[H2O]","M[H2O]","pressure",9806650,[-1,-2,1,0,0,0,0],"m\xa0HO<sub><r>2</r></sub>","clinical",true,null,null,1,false,false,0,0,"mH2O; m H2O; meters of water column; metres; pressure","UCUM","Pres","Clinical","","kPa","KPAL","980665e-5",9.80665,false],[false,"meter of mercury column","m[Hg]","M[HG]","pressure",133322000,[-1,-2,1,0,0,0,0],"m\xa0Hg","clinical",true,null,null,1,false,false,0,0,"mHg; m Hg; meters of mercury column; metres; pressure","UCUM","Pres","Clinical","","kPa","KPAL","133.3220",133.322,false],[false,"inch of water column","[in_i\'H2O]","[IN_I\'H2O]","pressure",249088.91000000003,[-1,-2,1,0,0,0,0],"in\xa0HO<sub><r>2</r></sub>","clinical",false,null,null,1,false,false,0,0,"inches WC; inAq; in H2O; inch of water gauge; iwg; pressure","UCUM","Pres","Clinical","unit of pressure, especially in respiratory and ventilation care","m[H2O].[in_i]/m","M[H2O].[IN_I]/M","1",1,false],[false,"inch of mercury column","[in_i\'Hg]","[IN_I\'HG]","pressure",3386378.8000000003,[-1,-2,1,0,0,0,0],"in\xa0Hg","clinical",false,null,null,1,false,false,0,0,"inHg; in Hg; pressure; inches","UCUM","Pres","Clinical","unit of pressure used in US to measure barometric pressure and occasionally blood pressure (see mm[Hg] for unit used internationally)","m[Hg].[in_i]/m","M[HG].[IN_I]/M","1",1,false],[false,"peripheral vascular resistance unit","[PRU]","[PRU]","fluid resistance",133322000000,[-4,-1,1,0,0,0,0],"P.R.U.","clinical",false,null,null,1,false,false,0,0,"peripheral vascular resistance units; peripheral resistance unit; peripheral resistance units; PRU","UCUM","FldResist","Clinical","used to assess blood flow in the capillaries; equal to 1 mmH.min/mL = 133.3 Pa\xb7min/mL","mm[Hg].s/ml","MM[HG].S/ML","1",1,false],[false,"Wood unit","[wood\'U]","[WOOD\'U]","fluid resistance",7999320000,[-4,-1,1,0,0,0,0],"Wood U.","clinical",false,null,null,1,false,false,0,0,"hybrid reference units; HRU; mmHg.min/L; vascular resistance","UCUM","Pres","Clinical","simplified unit of measurement for for measuring pulmonary vascular resistance that uses pressure; equal to mmHg.min/L","mm[Hg].min/L","MM[HG].MIN/L","1",1,false],[false,"diopter (lens)","[diop]","[DIOP]","refraction of a lens",1,[1,0,0,0,0,0,0],"dpt","clinical",false,null,"inv",1,false,false,0,0,"diopters; diop; dioptre; dpt; refractive power","UCUM","InvLen","Clinical","unit of optical power of lens represented by inverse meters (m^-1)","m","/M","1",1,false],[false,"prism diopter (magnifying power)","[p\'diop]","[P\'DIOP]","refraction of a prism",1,[0,0,0,1,0,0,0],"PD","clinical",false,null,"tanTimes100",1,true,false,0,0,"diopters; dioptres; p diops; pdiop; dpt; pdptr; \u0394; cm/m; centimeter per meter; centimetre; metre","UCUM","Angle","Clinical","unit for prism correction in eyeglass prescriptions","rad",null,null,1,false],[false,"percent of slope","%[slope]","%[SLOPE]","slope",0.017453292519943295,[0,0,0,1,0,0,0],"%","clinical",false,null,"100tan",1,true,false,0,0,"% slope; %slope; percents slopes","UCUM","VelFr; ElpotRatFr; VelRtoFr; AccelFr","Clinical","","deg",null,null,1,false],[false,"mesh","[mesh_i]","[MESH_I]","lineic number",0.025400000000000002,[1,0,0,0,0,0,0],null,"clinical",false,null,"inv",1,false,false,0,0,"meshes","UCUM","NLen (lineic number)","Clinical","traditional unit of length defined as the number of strands or particles per inch","[in_i]","/[IN_I]","1",1,false],[false,"French (catheter gauge) ","[Ch]","[CH]","gauge of catheters",0.0003333333333333333,[1,0,0,0,0,0,0],"Ch","clinical",false,null,null,1,false,false,0,0,"Charri\xe8res, French scales; French gauges; Fr, Fg, Ga, FR, Ch","UCUM","Len; Circ; Diam","Clinical","","mm/3","MM/3","1",1,false],[false,"drop - metric (1/20 mL)","[drp]","[DRP]","volume",5e-8,[3,0,0,0,0,0,0],"drp","clinical",false,null,null,1,false,false,0,0,"drop dosing units; metric drops; gtt","UCUM","Vol","Clinical","standard unit used in the US and internationally for clinical medicine but note that although [drp] is defined as 1/20 milliliter, in practice, drop sizes will vary due to external factors","ml/20","ML/20","1",1,false],[false,"Hounsfield unit","[hnsf\'U]","[HNSF\'U]","x-ray attenuation",1,[0,0,0,0,0,0,0],"HF","clinical",false,null,null,1,false,false,0,0,"HU; units","UCUM","","Clinical","used to measure X-ray attenuation, especially in CT scans.","1","1","1",1,false],[false,"Metabolic Equivalent of Task ","[MET]","[MET]","metabolic cost of physical activity",5.833333333333334e-11,[3,-1,-1,0,0,0,0],"MET","clinical",false,null,null,1,false,false,0,0,"metabolic equivalents","UCUM","RelEngRat","Clinical","unit used to measure rate of energy expenditure per power in treadmill and other functional tests","mL/min/kg","ML/MIN/KG","3.5",3.5,false],[false,"homeopathic potency of decimal series (retired)","[hp\'_X]","[HP\'_X]","homeopathic potency (retired)",1,[0,0,0,0,0,0,0],"X","clinical",false,null,"hpX",1,true,false,0,0,null,"UCUM",null,null,null,"1",null,null,1,false],[false,"homeopathic potency of centesimal series (retired)","[hp\'_C]","[HP\'_C]","homeopathic potency (retired)",1,[0,0,0,0,0,0,0],"C","clinical",false,null,"hpC",1,true,false,0,0,null,"UCUM",null,null,null,"1",null,null,1,false],[false,"homeopathic potency of millesimal series (retired)","[hp\'_M]","[HP\'_M]","homeopathic potency (retired)",1,[0,0,0,0,0,0,0],"M","clinical",false,null,"hpM",1,true,false,0,0,null,"UCUM",null,null,null,"1",null,null,1,false],[false,"homeopathic potency of quintamillesimal series (retired)","[hp\'_Q]","[HP\'_Q]","homeopathic potency (retired)",1,[0,0,0,0,0,0,0],"Q","clinical",false,null,"hpQ",1,true,false,0,0,null,"UCUM",null,null,null,"1",null,null,1,false],[false,"homeopathic potency of decimal hahnemannian series","[hp_X]","[HP_X]","homeopathic potency (Hahnemann)",1,[0,0,0,0,0,0,0],"X","clinical",false,null,null,1,false,true,0,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"homeopathic potency of centesimal hahnemannian series","[hp_C]","[HP_C]","homeopathic potency (Hahnemann)",1,[0,0,0,0,0,0,0],"C","clinical",false,null,null,1,false,true,0,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"homeopathic potency of millesimal hahnemannian series","[hp_M]","[HP_M]","homeopathic potency (Hahnemann)",1,[0,0,0,0,0,0,0],"M","clinical",false,null,null,1,false,true,0,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"homeopathic potency of quintamillesimal hahnemannian series","[hp_Q]","[HP_Q]","homeopathic potency (Hahnemann)",1,[0,0,0,0,0,0,0],"Q","clinical",false,null,null,1,false,true,0,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"homeopathic potency of decimal korsakovian series","[kp_X]","[KP_X]","homeopathic potency (Korsakov)",1,[0,0,0,0,0,0,0],"X","clinical",false,null,null,1,false,true,0,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"homeopathic potency of centesimal korsakovian series","[kp_C]","[KP_C]","homeopathic potency (Korsakov)",1,[0,0,0,0,0,0,0],"C","clinical",false,null,null,1,false,true,0,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"homeopathic potency of millesimal korsakovian series","[kp_M]","[KP_M]","homeopathic potency (Korsakov)",1,[0,0,0,0,0,0,0],"M","clinical",false,null,null,1,false,true,0,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"homeopathic potency of quintamillesimal korsakovian series","[kp_Q]","[KP_Q]","homeopathic potency (Korsakov)",1,[0,0,0,0,0,0,0],"Q","clinical",false,null,null,1,false,true,0,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"equivalent","eq","EQ","amount of substance",6.0221367e+23,[0,0,0,0,0,0,0],"eq","chemical",true,null,null,1,false,false,0,1,"equivalents","UCUM","Sub","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"osmole","osm","OSM","amount of substance (dissolved particles)",6.0221367e+23,[0,0,0,0,0,0,0],"osm","chemical",true,null,null,1,false,false,1,0,"osmoles; osmols","UCUM","Osmol","Clinical","the number of moles of solute that contribute to the osmotic pressure of a solution","mol","MOL","1",1,false],[false,"pH","[pH]","[PH]","acidity",6.0221366999999994e+26,[-3,0,0,0,0,0,0],"pH","chemical",false,null,"pH",1,true,false,0,0,"pH scale","UCUM","LogCnc","Clinical","Log concentration of H+","mol/l",null,null,1,false],[false,"gram percent","g%","G%","mass concentration",10000,[-3,0,1,0,0,0,0],"g%","chemical",true,null,null,1,false,false,0,0,"gram %; gram%; grams per deciliter; g/dL; gm per dL; gram percents","UCUM","MCnc","Clinical","equivalent to unit gram per deciliter (g/dL), a unit often used in medical tests to represent solution concentrations","g/dl","G/DL","1",1,false],[false,"Svedberg unit","[S]","[S]","sedimentation coefficient",1e-13,[0,1,0,0,0,0,0],"S","chemical",false,null,null,1,false,false,0,0,"Sv; 10^-13 seconds; 100 fs; 100 femtoseconds","UCUM","Time","Clinical","unit of time used in measuring particle\'s sedimentation rate, usually after centrifugation. ","s","10*-13.S","1",1e-13,false],[false,"high power field (microscope)","[HPF]","[HPF]","view area in microscope",1,[0,0,0,0,0,0,0],"HPF","chemical",false,null,null,1,false,false,0,0,"HPF","UCUM","Area","Clinical","area visible under the maximum magnification power of the objective in microscopy (usually 400x)\\n","1","1","1",1,false],[false,"low power field (microscope)","[LPF]","[LPF]","view area in microscope",1,[0,0,0,0,0,0,0],"LPF","chemical",false,null,null,1,false,false,0,0,"LPF; fields","UCUM","Area","Clinical","area visible under the low magnification of the objective in microscopy (usually 100 x)\\n","1","1","100",100,false],[false,"katal","kat","KAT","catalytic activity",6.0221367e+23,[0,-1,0,0,0,0,0],"kat","chemical",true,null,null,1,false,false,1,0,"mol/secs; moles per second; mol*sec-1; mol*s-1; mol.s-1; katals; catalytic activity; enzymatic; enzyme units; activities","UCUM","CAct","Clinical","kat is a unit of catalytic activity with base units = mol/s. Rarely used because its units are too large to practically express catalytic activity. See enzyme unit [U] which is the standard unit for catalytic activity.","mol/s","MOL/S","1",1,false],[false,"enzyme unit","U","U","catalytic activity",10036894500000000,[0,-1,0,0,0,0,0],"U","chemical",true,null,null,1,false,false,1,0,"micromoles per minute; umol/min; umol per minute; umol min-1; enzymatic activity; enzyme activity","UCUM","CAct","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"international unit - arbitrary","[iU]","[IU]","arbitrary",1,[0,0,0,0,0,0,0],"IU","chemical",true,null,null,1,false,true,0,0,"international units; IE; F2","UCUM","Arb","Clinical","International units (IU) are analyte and reference specimen  specific arbitrary units (held at WHO)","1","1","1",1,false],[false,"international unit - arbitrary","[IU]","[IU]","arbitrary",1,[0,0,0,0,0,0,0],"i.U.","chemical",true,null,null,1,false,true,0,0,"international units; IE; F2","UCUM","Arb","Clinical","International units (IU) are analyte and reference specimen  specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"arbitary unit","[arb\'U]","[ARB\'U]","arbitrary",1,[0,0,0,0,0,0,0],"arb. U","chemical",false,null,null,1,false,true,0,0,"arbitary units; arb units; arbU","UCUM","Arb","Clinical","relative unit of measurement to show the ratio of test measurement to reference measurement","1","1","1",1,false],[false,"United States Pharmacopeia unit","[USP\'U]","[USP\'U]","arbitrary",1,[0,0,0,0,0,0,0],"U.S.P.","chemical",false,null,null,1,false,true,0,0,"USP U; USP\'U","UCUM","Arb","Clinical","a dose unit to express potency of drugs and vitamins defined by the United States Pharmacopoeia; usually 1 USP = 1 IU","1","1","1",1,false],[false,"GPL unit","[GPL\'U]","[GPL\'U]","biologic activity of anticardiolipin IgG",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,0,"GPL Units; GPL U; IgG anticardiolipin units; IgG Phospholipid","UCUM","ACnc; AMass","Clinical","Units for an antiphospholipid test","1","1","1",1,false],[false,"MPL unit","[MPL\'U]","[MPL\'U]","biologic activity of anticardiolipin IgM",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,0,"MPL units; MPL U; MPL\'U; IgM anticardiolipin units; IgM Phospholipid Units ","UCUM","ACnc","Clinical","units for antiphospholipid test","1","1","1",1,false],[false,"APL unit","[APL\'U]","[APL\'U]","biologic activity of anticardiolipin IgA",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,0,"APL units; APL U; IgA anticardiolipin; IgA Phospholipid; biologic activity of","UCUM","AMass; ACnc","Clinical","Units for an anti phospholipid syndrome test","1","1","1",1,false],[false,"Bethesda unit","[beth\'U]","[BETH\'U]","biologic activity of factor VIII inhibitor",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,0,"BU","UCUM","ACnc","Clinical","measures of blood coagulation inhibitior for many blood factors","1","1","1",1,false],[false,"anti factor Xa unit","[anti\'Xa\'U]","[ANTI\'XA\'U]","biologic activity of factor Xa inhibitor (heparin)",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,0,"units","UCUM","ACnc","Clinical","[anti\'Xa\'U] unit is equivalent to and can be converted to IU/mL. ","1","1","1",1,false],[false,"Todd unit","[todd\'U]","[TODD\'U]","biologic activity antistreptolysin O",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,0,"units","UCUM","InvThres; RtoThres","Clinical","the unit for the results of the testing for antistreptolysin O (ASO)","1","1","1",1,false],[false,"Dye unit","[dye\'U]","[DYE\'U]","biologic activity of amylase",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,0,"units","UCUM","CCnc","Obsolete","equivalent to the Somogyi unit, which is an enzyme unit for amylase but better to use U, the standard enzyme unit for measuring catalytic activity","1","1","1",1,false],[false,"Somogyi unit","[smgy\'U]","[SMGY\'U]","biologic activity of amylase",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,0,"Somogyi units; smgy U","UCUM","CAct","Clinical","measures the enzymatic activity of amylase in blood serum - better to use base units mg/mL ","1","1","1",1,false],[false,"Bodansky unit","[bdsk\'U]","[BDSK\'U]","biologic activity of phosphatase",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,0,"","UCUM","ACnc","Obsolete","Enzyme unit specific to alkaline phosphatase - better to use standard enzyme unit of U","1","1","1",1,false],[false,"King-Armstrong unit","[ka\'U]","[KA\'U]","biologic activity of phosphatase",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,0,"King-Armstrong Units; King units","UCUM","AMass","Obsolete","enzyme units for acid phosphatase - better to use enzyme unit [U]","1","1","1",1,false],[false,"Kunkel unit","[knk\'U]","[KNK\'U]","arbitrary biologic activity",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"Mac Lagan unit","[mclg\'U]","[MCLG\'U]","arbitrary biologic activity",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,0,"galactose index; galactose tolerance test; thymol turbidity test unit; mclg U; units; indexes","UCUM","ACnc","Obsolete","unit for liver tests - previously used in thymol turbidity tests for liver disease diagnoses, and now is sometimes referred to in the oral galactose tolerance test","1","1","1",1,false],[false,"tuberculin unit","[tb\'U]","[TB\'U]","biologic activity of tuberculin",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,0,"TU; units","UCUM","Arb","Clinical","amount of tuberculin antigen -usually in reference to a TB skin test ","1","1","1",1,false],[false,"50% cell culture infectious dose","[CCID_50]","[CCID_50]","biologic activity (infectivity) of an infectious agent preparation",1,[0,0,0,0,0,0,0],"CCID<sub>50</sub>","chemical",false,null,null,1,false,true,0,0,"CCID50; 50% cell culture infective doses","UCUM","NumThres","Clinical","","1","1","1",1,false],[false,"50% tissue culture infectious dose","[TCID_50]","[TCID_50]","biologic activity (infectivity) of an infectious agent preparation",1,[0,0,0,0,0,0,0],"TCID<sub>50</sub>","chemical",false,null,null,1,false,true,0,0,"TCID50; 50% tissue culture infective dose","UCUM","NumThres","Clinical","","1","1","1",1,false],[false,"50% embryo infectious dose","[EID_50]","[EID_50]","biologic activity (infectivity) of an infectious agent preparation",1,[0,0,0,0,0,0,0],"EID<sub>50</sub>","chemical",false,null,null,1,false,true,0,0,"EID50; 50% embryo infective doses; EID50 Egg Infective Dosage","UCUM","thresNum","Clinical","","1","1","1",1,false],[false,"plaque forming units","[PFU]","[PFU]","amount of an infectious agent",1,[0,0,0,0,0,0,0],"PFU","chemical",false,null,null,1,false,true,0,0,"PFU","UCUM","ACnc","Clinical","tests usually report unit as number of PFU per unit volume","1","1","1",1,false],[false,"focus forming units (cells)","[FFU]","[FFU]","amount of an infectious agent",1,[0,0,0,0,0,0,0],"FFU","chemical",false,null,null,1,false,true,0,0,"FFU","UCUM","EntNum","Clinical","","1","1","1",1,false],[false,"colony forming units","[CFU]","[CFU]","amount of a proliferating organism",1,[0,0,0,0,0,0,0],"CFU","chemical",false,null,null,1,false,true,0,0,"CFU","UCUM","Num","Clinical","","1","1","1",1,false],[false,"index of reactivity (allergen)","[IR]","[IR]","amount of an allergen callibrated through in-vivo testing using the Stallergenes\xae method.",1,[0,0,0,0,0,0,0],"IR","chemical",false,null,null,1,false,true,0,0,"IR; indexes","UCUM","Acnc","Clinical","amount of an allergen callibrated through in-vivo testing using the Stallergenes method. Usually reported in tests as IR/mL","1","1","1",1,false],[false,"bioequivalent allergen unit","[BAU]","[BAU]","amount of an allergen callibrated through in-vivo testing based on the ID50EAL method of (intradermal dilution for 50mm sum of erythema diameters",1,[0,0,0,0,0,0,0],"BAU","chemical",false,null,null,1,false,true,0,0,"BAU; Bioequivalent Allergy Units; bioequivalent allergen units","UCUM","Arb","Clinical","","1","1","1",1,false],[false,"allergy unit","[AU]","[AU]","procedure defined amount of an allergen using some reference standard",1,[0,0,0,0,0,0,0],"AU","chemical",false,null,null,1,false,true,0,0,"allergy units; allergen units; AU","UCUM","Arb","Clinical","Most standard test allergy units are reported as [IU] or as %. ","1","1","1",1,false],[false,"allergen unit for Ambrosia artemisiifolia","[Amb\'a\'1\'U]","[AMB\'A\'1\'U]","procedure defined amount of the major allergen of ragweed.",1,[0,0,0,0,0,0,0],"Amb a 1 U","chemical",false,null,null,1,false,true,0,0,"Amb a 1 unit; Antigen E; AgE U; allergen units","UCUM","Arb","Clinical","Amb a 1 is the major allergen in short ragweed, and can be converted Bioequivalent allergen units (BAU) where 350 Amb a 1 U/mL = 100,000 BAU/mL","1","1","1",1,false],[false,"protein nitrogen unit (allergen testing)","[PNU]","[PNU]","procedure defined amount of a protein substance",1,[0,0,0,0,0,0,0],"PNU","chemical",false,null,null,1,false,true,0,0,"protein nitrogen units; PNU","UCUM","Mass","Clinical","defined as 0.01 ug of phosphotungstic acid-precipitable protein nitrogen. Being replaced by bioequivalent allergy units (BAU).","1","1","1",1,false],[false,"Limit of flocculation","[Lf]","[LF]","procedure defined amount of an antigen substance",1,[0,0,0,0,0,0,0],"Lf","chemical",false,null,null,1,false,true,0,0,"Lf doses","UCUM","Arb","Clinical","the antigen content  forming 1:1 ratio against 1 unit of antitoxin","1","1","1",1,false],[false,"D-antigen unit (polio)","[D\'ag\'U]","[D\'AG\'U]","procedure defined amount of a poliomyelitis d-antigen substance",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,0,"DAgU; units","UCUM","Acnc","Clinical","unit of potency of poliovirus vaccine used for poliomyelitis prevention reported as D antigen units/mL. The unit is poliovirus type-specific.","1","1","1",1,false],[false,"fibrinogen equivalent units","[FEU]","[FEU]","amount of fibrinogen broken down into the measured d-dimers",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,0,"FEU","UCUM","MCnc","Clinical","Note both the FEU and DDU units are used to report D-dimer measurements. 1 DDU = 1/2 FFU","1","1","1",1,false],[false,"ELISA unit","[ELU]","[ELU]","arbitrary ELISA unit",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,0,"Enzyme-Linked Immunosorbent Assay Units; ELU; EL. U","UCUM","ACnc","Clinical","","1","1","1",1,false],[false,"Ehrlich units (urobilinogen)","[EU]","[EU]","Ehrlich unit",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,0,"EU/dL; mg{urobilinogen}/dL","UCUM","ACnc","Clinical","","1","1","1",1,false],[false,"neper","Np","NEP","level",1,[0,0,0,0,0,0,0],"Np","levels",true,null,"ln",1,true,false,0,0,"nepers","UCUM","LogRto","Clinical","logarithmic unit for ratios of measurements of physical field and power quantities, such as gain and loss of electronic signals","1",null,null,1,false],[false,"bel","B","B","level",1,[0,0,0,0,0,0,0],"B","levels",true,null,"lg",1,true,false,0,0,"bels","UCUM","LogRto","Clinical","Logarithm of the ratio of power- or field-type quantities; usually expressed in decibels ","1",null,null,1,false],[false,"bel sound pressure","B[SPL]","B[SPL]","pressure level",0.019999999999999997,[-1,-2,1,0,0,0,0],"B(SPL)","levels",true,null,"lgTimes2",1,true,false,0,0,"bel SPL; B SPL; sound pressure bels","UCUM","LogRto","Clinical","used to measure sound level in acoustics","Pa",null,null,0.000019999999999999998,false],[false,"bel volt","B[V]","B[V]","electric potential level",1000,[2,-2,1,0,0,-1,0],"B(V)","levels",true,null,"lgTimes2",1,true,false,0,0,"bel V; B V; volts bels","UCUM","LogRtoElp","Clinical","used to express power gain in electrical circuits","V",null,null,1,false],[false,"bel millivolt","B[mV]","B[MV]","electric potential level",1,[2,-2,1,0,0,-1,0],"B(mV)","levels",true,null,"lgTimes2",1,true,false,0,0,"bel mV; B mV; millivolt bels; 10^-3V bels; 10*-3V ","UCUM","LogRtoElp","Clinical","used to express power gain in electrical circuits","mV",null,null,1,false],[false,"bel microvolt","B[uV]","B[UV]","electric potential level",0.001,[2,-2,1,0,0,-1,0],"B(\u03bcV)","levels",true,null,"lgTimes2",1,true,false,0,0,"bel uV; B uV; microvolts bels; 10^-6V bel; 10*-6V bel","UCUM","LogRto","Clinical","used to express power gain in electrical circuits","uV",null,null,1,false],[false,"bel 10 nanovolt","B[10.nV]","B[10.NV]","electric potential level",0.000010000000000000003,[2,-2,1,0,0,-1,0],"B(10 nV)","levels",true,null,"lgTimes2",1,true,false,0,0,"bel 10 nV; B 10 nV; 10 nanovolts bels","UCUM","LogRtoElp","Clinical","used to express power gain in electrical circuits","nV",null,null,10,false],[false,"bel watt","B[W]","B[W]","power level",1000,[2,-3,1,0,0,0,0],"B(W)","levels",true,null,"lg",1,true,false,0,0,"bel W; b W; b Watt; Watts bels","UCUM","LogRto","Clinical","used to express power","W",null,null,1,false],[false,"bel kilowatt","B[kW]","B[KW]","power level",1000000,[2,-3,1,0,0,0,0],"B(kW)","levels",true,null,"lg",1,true,false,0,0,"bel kW; B kW; kilowatt bel; kW bel; kW B","UCUM","LogRto","Clinical","used to express power","kW",null,null,1,false],[false,"stere","st","STR","volume",1,[3,0,0,0,0,0,0],"st","misc",true,null,null,1,false,false,0,0,"st\xe8re; m3; cubic meter; m^3; meters cubed; metre","UCUM","Vol","Nonclinical","equal to one cubic meter, usually used for measuring firewood","m3","M3","1",1,false],[false,"\xc5ngstr\xf6m","Ao","AO","length",1.0000000000000002e-10,[1,0,0,0,0,0,0],"\xc5","misc",false,null,null,1,false,false,0,0,"\xc5; Angstroms; Ao; \xc5ngstr\xf6ms","UCUM","Len","Clinical","equal to 10^-10 meters; used to express wave lengths and atom scaled differences ","nm","NM","0.1",0.1,false],[false,"barn","b","BRN","action area",1.0000000000000001e-28,[2,0,0,0,0,0,0],"b","misc",false,null,null,1,false,false,0,0,"barns","UCUM","Area","Clinical","used in high-energy physics to express cross-sectional areas","fm2","FM2","100",100,false],[false,"technical atmosphere","att","ATT","pressure",98066500,[-1,-2,1,0,0,0,0],"at","misc",false,null,null,1,false,false,0,0,"at; tech atm; tech atmosphere; kgf/cm2; atms; atmospheres","UCUM","Pres","Obsolete","non-SI unit of pressure equal to one kilogram-force per square centimeter","kgf/cm2","KGF/CM2","1",1,false],[false,"mho","mho","MHO","electric conductance",0.001,[-2,1,-1,0,0,2,0],"mho","misc",true,null,null,1,false,false,0,0,"siemens; ohm reciprocals; \u03a9^\u22121; \u03a9-1 ","UCUM","","Obsolete","unit of electric conductance (the inverse of electrical resistance) equal to ohm^-1","S","S","1",1,false],[false,"pound per square inch","[psi]","[PSI]","pressure",6894757.293168359,[-1,-2,1,0,0,0,0],"psi","misc",false,null,null,1,false,false,0,0,"psi; lb/in2; lb per in2","UCUM","Pres","Clinical","","[lbf_av]/[in_i]2","[LBF_AV]/[IN_I]2","1",1,false],[false,"circle - plane angle","circ","CIRC","plane angle",6.283185307179586,[0,0,0,1,0,0,0],"circ","misc",false,null,null,1,false,false,0,0,"angles; circles","UCUM","Angle","Clinical","","[pi].rad","[PI].RAD","2",2,false],[false,"spere - solid angle","sph","SPH","solid angle",12.566370614359172,[0,0,0,2,0,0,0],"sph","misc",false,null,null,1,false,false,0,0,"speres","UCUM","Angle","Clinical","equal to the solid angle of an entire sphere = 4\u03c0sr (sr = steradian) ","[pi].sr","[PI].SR","4",4,false],[false,"metric carat","[car_m]","[CAR_M]","mass",0.2,[0,0,1,0,0,0,0],"ct<sub>m</sub>","misc",false,null,null,1,false,false,0,0,"carats; ct; car m","UCUM","Mass","Nonclinical","unit of mass for gemstones","g","G","2e-1",0.2,false],[false,"carat of gold alloys","[car_Au]","[CAR_AU]","mass fraction",0.041666666666666664,[0,0,0,0,0,0,0],"ct<sub><r>Au</r></sub>","misc",false,null,null,1,false,false,0,0,"karats; k; kt; car au; carats","UCUM","MFr","Nonclinical","unit of purity for gold alloys","/24","/24","1",1,false],[false,"Smoot","[smoot]","[SMOOT]","length",1.7018000000000002,[1,0,0,0,0,0,0],null,"misc",false,null,null,1,false,false,0,0,"","UCUM","Len","Nonclinical","prank unit of length from MIT","[in_i]","[IN_I]","67",67,false],[false,"meter per square seconds per square root of hertz","[m/s2/Hz^(1/2)]","[M/S2/HZ^(1/2)]","amplitude spectral density",1,[2,-3,0,0,0,0,0],null,"misc",false,null,"sqrt",1,true,false,0,0,"m/s2/(Hz^.5); m/s2/(Hz^(1/2)); m per s2 per Hz^1/2","UCUM","","Constant","measures amplitude spectral density, and is equal to the square root of power spectral density\\n ","m2/s4/Hz",null,null,1,false],[false,"bit - logarithmic","bit_s","BIT_S","amount of information",1,[0,0,0,0,0,0,0],"bit<sub>s</sub>","infotech",false,null,"ld",1,true,false,0,0,"bit-s; bit s; bit logarithmic","UCUM","LogA","Nonclinical","defined as the log base 2 of the number of distinct signals; cannot practically be used to express more than 1000 bits\\n\\nIn information theory, the definition of the amount of self-information and information entropy is often expressed with the binary logarithm (log base 2)","1",null,null,1,false],[false,"bit","bit","BIT","amount of information",1,[0,0,0,0,0,0,0],"bit","infotech",true,null,null,1,false,false,0,0,"bits","UCUM","","Nonclinical","dimensionless information unit of 1 used in computing and digital communications","1","1","1",1,false],[false,"byte","By","BY","amount of information",8,[0,0,0,0,0,0,0],"B","infotech",true,null,null,1,false,false,0,0,"bytes","UCUM","","Nonclinical","equal to 8 bits","bit","bit","8",8,false],[false,"baud","Bd","BD","signal transmission rate",1,[0,1,0,0,0,0,0],"Bd","infotech",true,null,"inv",1,false,false,0,0,"Bd; bauds","UCUM","Freq","Nonclinical","unit to express rate in symbols per second or pulses per second. ","s","/s","1",1,false],[false,"per twelve hour","/(12.h)","1/(12.HR)","",0.000023148148148148147,[0,-1,0,0,0,0,0],"/h",null,false,null,null,1,false,false,0,0,"per 12 hours; 12hrs; 12 hrs; /12hrs","LOINC","Rat","Clinical","",null,null,null,null,false],[false,"per arbitrary unit","/[arb\'U]","1/[ARB\'U]","",1,[0,0,0,0,0,0,0],"/arb/ U",null,false,null,null,1,false,true,0,0,"/arbU","LOINC","InvA ","Clinical","",null,null,null,null,false],[false,"per high power field","/[HPF]","1/[HPF]","",1,[0,0,0,0,0,0,0],"/HPF",null,false,null,null,1,false,false,0,0,"/HPF; per HPF","LOINC","Naric","Clinical","",null,null,null,null,false],[false,"per international unit","/[IU]","1/[IU]","",1,[0,0,0,0,0,0,0],"/i/U.",null,false,null,null,1,false,true,0,0,"international units; /IU; per IU","LOINC","InvA","Clinical","International units (IU) are analyte and reference specimen  specific arbitrary units (held at WHO)",null,null,null,null,false],[false,"per low power field","/[LPF]","1/[LPF]","",1,[0,0,0,0,0,0,0],"/LPF",null,false,null,null,1,false,false,0,0,"/LPF; per LPF","LOINC","Naric","Clinical","",null,null,null,null,false],[false,"per 10 billion  ","/10*10","1/(10*10)","",1e-10,[0,0,0,0,0,0,0],"/10<sup>10</sup>",null,false,null,null,1,false,false,0,0,"/10^10; per 10*10","LOINC","NFr","Clinical","used for counting entities, e.g. blood cells; usually these kinds of terms have numerators such as moles or milligrams, and counting that amount per the number in the denominator",null,null,null,null,false],[false,"per trillion ","/10*12","1/(10*12)","",1e-12,[0,0,0,0,0,0,0],"/10<sup>12</sup>",null,false,null,null,1,false,false,0,0,"/10^12; per 10*12","LOINC","NFr","Clinical","used for counting entities, e.g. blood cells; usually these kinds of terms have numerators such as moles or milligrams, and counting that amount per the number in the denominator",null,null,null,null,false],[false,"per thousand","/10*3","1/(10*3)","",0.001,[0,0,0,0,0,0,0],"/10<sup>3</sup>",null,false,null,null,1,false,false,0,0,"/10^3; per 10*3","LOINC","NFr","Clinical","used for counting entities, e.g. blood cells; usually these kinds of terms have numerators such as moles or milligrams, and counting that amount per the number in the denominator",null,null,null,null,false],[false,"per million","/10*6","1/(10*6)","",0.000001,[0,0,0,0,0,0,0],"/10<sup>6</sup>",null,false,null,null,1,false,false,0,0,"/10^6; per 10*6;","LOINC","NFr","Clinical","used for counting entities, e.g. blood cells; usually these kinds of terms have numerators such as moles or milligrams, and counting that amount per the number in the denominator",null,null,null,null,false],[false,"per billion","/10*9","1/(10*9)","",1e-9,[0,0,0,0,0,0,0],"/10<sup>9</sup>",null,false,null,null,1,false,false,0,0,"/10^9; per 10*9","LOINC","NFr","Clinical","used for counting entities, e.g. blood cells; usually these kinds of terms have numerators such as moles or milligrams, and counting that amount per the number in the denominator",null,null,null,null,false],[false,"per 100","/100","1/100","",0.01,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,0,"per hundred; 10^2; 10*2","LOINC","NFr","Clinical","used for counting entities, e.g. blood cells; usually these kinds of terms have numerators such as moles or milligrams, and counting that amount per the number in the denominator",null,null,null,null,false],[false,"per 100 cells","/100{cells}","/100{CELLS}","",0.01,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,0,"/100 cells; /100cells; per hundred","LOINC","EntMass; EntNum; NFr","Clinical","",null,null,null,null,false],[false,"per 100 neutrophils","/100{neutrophils}","/100{NEUTROPHILS}","",0.01,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,0,"/100 neutrophils; /100neutrophils; per hundred","LOINC","EntMass; EntNum; NFr","Clinical","",null,null,null,null,false],[false,"per 100 spermatozoa","/100{spermatozoa}","/100{SPERMATOZOA}","",0.01,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,0,"/100 spermatozoa; /100spermatozoa; per hundred","LOINC","NFr","Clinical","",null,null,null,null,false],[false,"per 100 white blood cells","/100{WBCs}","/100{WBCS}","",0.01,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,0,"/100 WBCs; /100WBCs; per hundred","LOINC","Ratio; NFr","Clinical","",null,null,null,null,false],[false,"per year","/a","1/ANN","",3.168808781402895e-8,[0,-1,0,0,0,0,0],"/a",null,false,null,null,1,false,false,0,0,"/Years; /yrs; yearly","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"per centimeter of water","/cm[H2O]","1/CM[H2O]","",0.000010197162129779282,[1,2,-1,0,0,0,0],"/cm\xa0HO<sub><r>2</r></sub>",null,false,null,null,1,false,false,0,0,"/cmH2O; /cm H2O; centimeters; centimetres","LOINC","InvPress","Clinical","",null,null,null,null,false],[false,"per day","/d","1/D","",0.000011574074074074073,[0,-1,0,0,0,0,0],"/d",null,false,null,null,1,false,false,0,0,"/dy; per day","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"per deciliter","/dL","1/DL","",10000,[-3,0,0,0,0,0,0],"/dL",null,false,null,null,1,false,false,0,0,"per dL; /deciliter; decilitre","LOINC","NCnc","Clinical","",null,null,null,null,false],[false,"per gram","/g","1/G","",1,[0,0,-1,0,0,0,0],"/g",null,false,null,null,1,false,false,0,0,"/gm; /gram; per g","LOINC","NCnt","Clinical","",null,null,null,null,false],[false,"per hour","/h","1/HR","",0.0002777777777777778,[0,-1,0,0,0,0,0],"/h",null,false,null,null,1,false,false,0,0,"/hr; /hour; per hr","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"per kilogram","/kg","1/KG","",0.001,[0,0,-1,0,0,0,0],"/kg",null,false,null,null,1,false,false,0,0,"per kg; per kilogram","LOINC","NCnt","Clinical","",null,null,null,null,false],[false,"per liter","/L","1/L","",1000,[-3,0,0,0,0,0,0],"/L",null,false,null,null,1,false,false,0,0,"/liter; litre","LOINC","NCnc","Clinical","",null,null,null,null,false],[false,"per square meter","/m2","1/M2","",1,[-2,0,0,0,0,0,0],"/m<sup>2</sup>",null,false,null,null,1,false,false,0,0,"/m^2; /m*2; /sq. m; per square meter; meter squared; metre","LOINC","Naric","Clinical","",null,null,null,null,false],[false,"per cubic meter","/m3","1/M3","",1,[-3,0,0,0,0,0,0],"/m<sup>3</sup>",null,false,null,null,1,false,false,0,0,"/m^3; /m*3; /cu. m; per cubic meter; meter cubed; per m3; metre","LOINC","NCncn","Clinical","",null,null,null,null,false],[false,"per milligram","/mg","1/MG","",1000,[0,0,-1,0,0,0,0],"/mg",null,false,null,null,1,false,false,0,0,"/milligram; per mg","LOINC","NCnt","Clinical","",null,null,null,null,false],[false,"per minute","/min","1/MIN","",0.016666666666666666,[0,-1,0,0,0,0,0],"/min",null,false,null,null,1,false,false,0,0,"/minute; per mins; breaths beats per minute","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"per milliliter","/mL","1/ML","",1000000,[-3,0,0,0,0,0,0],"/mL",null,false,null,null,1,false,false,0,0,"/milliliter; per mL; millilitre","LOINC","NCncn","Clinical","",null,null,null,null,false],[false,"per millimeter","/mm","1/MM","",1000,[-1,0,0,0,0,0,0],"/mm",null,false,null,null,1,false,false,0,0,"/millimeter; per mm; millimetre","LOINC","InvLen","Clinical","",null,null,null,null,false],[false,"per month","/mo","1/MO","",3.802570537683474e-7,[0,-1,0,0,0,0,0],"/mo",null,false,null,null,1,false,false,0,0,"/month; per mo; monthly; month","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"per second","/s","1/S","",1,[0,-1,0,0,0,0,0],"/s",null,false,null,null,1,false,false,0,0,"/second; /sec; per sec; frequency; Hertz; Herz; Hz; becquerels; Bq; s-1; s^-1","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"per enzyme unit","/U","1/U","",9.963241120049633e-17,[0,1,0,0,0,0,0],"/U",null,false,null,null,1,false,false,-1,0,"/enzyme units; per U","LOINC","InvC; NCat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)",null,null,null,null,false],[false,"per microliter","/uL","1/UL","",999999999.9999999,[-3,0,0,0,0,0,0],"/\u03bcL",null,false,null,null,1,false,false,0,0,"/microliter; microlitre; /mcl; per uL","LOINC","ACnc","Clinical","",null,null,null,null,false],[false,"per week","/wk","1/WK","",0.0000016534391534391535,[0,-1,0,0,0,0,0],"/wk",null,false,null,null,1,false,false,0,0,"/week; per wk; weekly, weeks","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"APL unit per milliliter","[APL\'U]/mL","[APL\'U]/ML","biologic activity of anticardiolipin IgA",1000000,[-3,0,0,0,0,0,0],"/mL","chemical",false,null,null,1,false,true,0,0,"APL/mL; APL\'U/mL; APL U/mL; APL/milliliter; IgA anticardiolipin units per milliliter; IgA Phospholipid Units; millilitre; biologic activity of","LOINC","ACnc","Clinical","Units for an anti phospholipid syndrome test","1","1","1",1,false],[false,"arbitrary unit per milliliter","[arb\'U]/mL","[ARB\'U]/ML","arbitrary",1000000,[-3,0,0,0,0,0,0],"(arb. U)/mL","chemical",false,null,null,1,false,true,0,0,"arb\'U/mL; arbU/mL; arb U/mL; arbitrary units per milliliter; millilitre","LOINC","ACnc","Clinical","relative unit of measurement to show the ratio of test measurement to reference measurement","1","1","1",1,false],[false,"colony forming units per liter","[CFU]/L","[CFU]/L","amount of a proliferating organism",1000,[-3,0,0,0,0,0,0],"CFU/L","chemical",false,null,null,1,false,true,0,0,"CFU per Liter; CFU/L","LOINC","NCnc","Clinical","","1","1","1",1,false],[false,"colony forming units per milliliter","[CFU]/mL","[CFU]/ML","amount of a proliferating organism",1000000,[-3,0,0,0,0,0,0],"CFU/mL","chemical",false,null,null,1,false,true,0,0,"CFU per mL; CFU/mL","LOINC","NCnc","Clinical","","1","1","1",1,false],[false,"foot per foot - US","[ft_us]/[ft_us]","[FT_US]/[FT_US]","length",1,[0,0,0,0,0,0,0],"(ft<sub>us</sub>)/(ft<sub>us</sub>)","us-lengths",false,null,null,1,false,false,0,0,"ft/ft; ft per ft; feet per feet; visual acuity","","LenRto","Clinical","distance ratio to measure 20:20 vision","m/3937","M/3937","1200",1200,false],[false,"GPL unit per milliliter","[GPL\'U]/mL","[GPL\'U]/ML","biologic activity of anticardiolipin IgG",1000000,[-3,0,0,0,0,0,0],"/mL","chemical",false,null,null,1,false,true,0,0,"GPL U/mL; GPL\'U/mL; GPL/mL; GPL U per mL; IgG Phospholipid Units per milliliters; IgG anticardiolipin units; millilitres ","LOINC","ACnc; AMass","Clinical","Units for an antiphospholipid test","1","1","1",1,false],[false,"international unit per 2 hour","[IU]/(2.h)","[IU]/(2.HR)","arbitrary",0.0001388888888888889,[0,-1,0,0,0,0,0],"(i.U.)/h","chemical",true,null,null,1,false,true,0,0,"IU/2hrs; IU/2 hours; IU per 2 hrs; international units per 2 hours","LOINC","ARat","Clinical","International units (IU) are analyte and reference specimen  specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per 24 hour","[IU]/(24.h)","[IU]/(24.HR)","arbitrary",0.000011574074074074073,[0,-1,0,0,0,0,0],"(i.U.)/h","chemical",true,null,null,1,false,true,0,0,"IU/24hr; IU/24 hours; IU per 24 hrs; international units per 24 hours","LOINC","ARat","Clinical","International units (IU) are analyte and reference specimen  specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per day","[IU]/d","[IU]/D","arbitrary",0.000011574074074074073,[0,-1,0,0,0,0,0],"(i.U.)/d","chemical",true,null,null,1,false,true,0,0,"IU/dy; IU/days; IU per dys; international units per day","LOINC","ARat","Clinical","International units (IU) are analyte and reference specimen  specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per deciliter","[IU]/dL","[IU]/DL","arbitrary",10000,[-3,0,0,0,0,0,0],"(i.U.)/dL","chemical",true,null,null,1,false,true,0,0,"IU/dL; IU per dL; international units per deciliters; decilitres","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen  specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per gram","[IU]/g","[IU]/G","arbitrary",1,[0,0,-1,0,0,0,0],"(i.U.)/g","chemical",true,null,null,1,false,true,0,0,"IU/gm; IU/gram; IU per gm; IU per g; international units per gram","LOINC","ACnt","Clinical","International units (IU) are analyte and reference specimen  specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per hour","[IU]/h","[IU]/HR","arbitrary",0.0002777777777777778,[0,-1,0,0,0,0,0],"(i.U.)/h","chemical",true,null,null,1,false,true,0,0,"IU/hrs; IU per hours; international units per hour","LOINC","ARat","Clinical","International units (IU) are analyte and reference specimen  specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per kilogram","[IU]/kg","[IU]/KG","arbitrary",0.001,[0,0,-1,0,0,0,0],"(i.U.)/kg","chemical",true,null,null,1,false,true,0,0,"IU/kg; IU/kilogram; IU per kg; units","LOINC","ACnt","Clinical","International units (IU) are analyte and reference specimen  specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per kilogram per day","[IU]/kg/d","([IU]/KG)/D","arbitrary",1.1574074074074074e-8,[0,-1,-1,0,0,0,0],"((i.U.)/kg)/d","chemical",true,null,null,1,false,true,0,0,"IU/kg/dy; IU/kg/day; IU/kilogram/day; IU per kg per day; units","LOINC","ACntRat","Clinical","International units (IU) are analyte and reference specimen  specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per liter","[IU]/L","[IU]/L","arbitrary",1000,[-3,0,0,0,0,0,0],"(i.U.)/L","chemical",true,null,null,1,false,true,0,0,"IU/L; IU/liter; IU per liter; units; litre","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen  specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per minute","[IU]/min","[IU]/MIN","arbitrary",0.016666666666666666,[0,-1,0,0,0,0,0],"(i.U.)/min","chemical",true,null,null,1,false,true,0,0,"IU/min; IU/minute; IU per minute; international units","LOINC","ARat","Clinical","International units (IU) are analyte and reference specimen  specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"international unit per milliliter","[IU]/mL","[IU]/ML","arbitrary",1000000,[-3,0,0,0,0,0,0],"(i.U.)/mL","chemical",true,null,null,1,false,true,0,0,"IU/mL; IU per mL; international units per milliliter; millilitre","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen  specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"MPL unit per milliliter","[MPL\'U]/mL","[MPL\'U]/ML","biologic activity of anticardiolipin IgM",1000000,[-3,0,0,0,0,0,0],"/mL","chemical",false,null,null,1,false,true,0,0,"MPL/mL; MPL U/mL; MPL\'U/mL; IgM anticardiolipin units; IgM Phospholipid Units; millilitre ","LOINC","ACnc","Clinical","units for antiphospholipid test\\n","1","1","1",1,false],[false,"number per high power field","{#}/[HPF]","{#}/[HPF]","",1,[0,0,0,0,0,0,0],"/HPF",null,false,null,null,1,false,false,0,0,"#/HPF; # per HPF; number/HPF; numbers per high power field","LOINC","Naric","Clinical","",null,null,null,null,false],[false,"number per low power field","{#}/[LPF]","{#}/[LPF]","",1,[0,0,0,0,0,0,0],"/LPF",null,false,null,null,1,false,false,0,0,"#/LPF; # per LPF; number/LPF; numbers per low power field","LOINC","Naric","Clinical","",null,null,null,null,false],[false,"IgA antiphosphatidylserine unit ","{APS\'U}","{APS\'U}","",1,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,0,"APS Unit; Phosphatidylserine Antibody IgA Units","LOINC","ACnc","Clinical","unit for antiphospholipid test",null,null,null,null,false],[false,"EIA index","{EIA_index}","{EIA_index}","",1,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,0,"enzyme immunoassay index","LOINC","ACnc","Clinical","",null,null,null,null,false],[false,"kaolin clotting time","{KCT\'U}","{KCT\'U}","",1,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,0,"KCT","LOINC","Time","Clinical","sensitive\xa0test to detect\xa0lupus anticoagulants; measured in seconds",null,null,null,null,false],[false,"IgM antiphosphatidylserine unit","{MPS\'U}","{MPS\'U}","",1,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,0,"Phosphatidylserine Antibody IgM Measurement ","LOINC","ACnc","Clinical","",null,null,null,null,false],[false,"trillion per liter","10*12/L","(10*12)/L","number",1000000000000000,[-3,0,0,0,0,0,0],"(10<sup>12</sup>)/L","dimless",false,null,null,1,false,false,0,0,"10^12/L; 10*12 per Liter; trillion per liter; litre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"10^3 (used for cell count)","10*3","10*3","number",1000,[0,0,0,0,0,0,0],"10<sup>3</sup>","dimless",false,null,null,1,false,false,0,0,"10^3; thousand","LOINC","Num","Clinical","usually used for counting entities (e.g. blood cells) per volume","1","1","10",10,false],[false,"thousand per liter","10*3/L","(10*3)/L","number",1000000,[-3,0,0,0,0,0,0],"(10<sup>3</sup>)/L","dimless",false,null,null,1,false,false,0,0,"10^3/L; 10*3 per liter; litre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"thousand per milliliter","10*3/mL","(10*3)/ML","number",1000000000,[-3,0,0,0,0,0,0],"(10<sup>3</sup>)/mL","dimless",false,null,null,1,false,false,0,0,"10^3/mL; 10*3 per mL; thousand per milliliter; millilitre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"thousand per microliter","10*3/uL","(10*3)/UL","number",999999999999.9999,[-3,0,0,0,0,0,0],"(10<sup>3</sup>)/\u03bcL","dimless",false,null,null,1,false,false,0,0,"10^3/uL; 10*3 per uL; thousand per microliter; microlitre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"10 thousand per microliter","10*4/uL","(10*4)/UL","number",10000000000000,[-3,0,0,0,0,0,0],"(10<sup>4</sup>)/\u03bcL","dimless",false,null,null,1,false,false,0,0,"10^4/uL; 10*4 per uL; microlitre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"10^5 ","10*5","10*5","number",100000,[0,0,0,0,0,0,0],"10<sup>5</sup>","dimless",false,null,null,1,false,false,0,0,"one hundred thousand","LOINC","Num","Clinical","","1","1","10",10,false],[false,"10^6","10*6","10*6","number",1000000,[0,0,0,0,0,0,0],"10<sup>6</sup>","dimless",false,null,null,1,false,false,0,0,"","LOINC","Num","Clinical","","1","1","10",10,false],[false,"million colony forming unit per liter","10*6.[CFU]/L","((10*6).[CFU])/L","number",1000000000,[-3,0,0,0,0,0,0],"((10<sup>6</sup>).CFU)/L","dimless",false,null,null,1,false,true,0,0,"10*6 CFU/L; 10^6 CFU/L; 10^6CFU; 10^6 CFU per liter; million colony forming units; litre","LOINC","ACnc","Clinical","","1","1","10",10,false],[false,"million international unit","10*6.[IU]","(10*6).[IU]","number",1000000,[0,0,0,0,0,0,0],"(10<sup>6</sup>).(i.U.)","dimless",false,null,null,1,false,true,0,0,"10*6 IU; 10^6 IU; international units","LOINC","arb","Clinical","International units (IU) are analyte and reference specimen  specific arbitrary units (held at WHO)","1","1","10",10,false],[false,"million per 24 hour","10*6/(24.h)","(10*6)/(24.HR)","number",11.574074074074074,[0,-1,0,0,0,0,0],"(10<sup>6</sup>)/h","dimless",false,null,null,1,false,false,0,0,"10*6/24hrs; 10^6/24 hrs; 10*6 per 24 hrs; 10^6 per 24 hours","LOINC","NRat","Clinical","","1","1","10",10,false],[false,"million per kilogram","10*6/kg","(10*6)/KG","number",1000,[0,0,-1,0,0,0,0],"(10<sup>6</sup>)/kg","dimless",false,null,null,1,false,false,0,0,"10^6/kg; 10*6 per kg; 10*6 per kilogram; millions","LOINC","NCnt","Clinical","","1","1","10",10,false],[false,"million per liter","10*6/L","(10*6)/L","number",1000000000,[-3,0,0,0,0,0,0],"(10<sup>6</sup>)/L","dimless",false,null,null,1,false,false,0,0,"10^6/L; 10*6 per Liter; 10^6 per Liter; litre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"million per milliliter","10*6/mL","(10*6)/ML","number",1000000000000,[-3,0,0,0,0,0,0],"(10<sup>6</sup>)/mL","dimless",false,null,null,1,false,false,0,0,"10^6/mL; 10*6 per mL; 10*6 per milliliter; millilitre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"million per microliter","10*6/uL","(10*6)/UL","number",1000000000000000,[-3,0,0,0,0,0,0],"(10<sup>6</sup>)/\u03bcL","dimless",false,null,null,1,false,false,0,0,"10^6/uL; 10^6 per uL; 10^6/mcl; 10^6 per mcl; 10^6 per microliter; microlitre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"10^8","10*8","10*8","number",100000000,[0,0,0,0,0,0,0],"10<sup>8</sup>","dimless",false,null,null,1,false,false,0,0,"100 million; one hundred million; 10^8","LOINC","Num","Clinical","","1","1","10",10,false],[false,"billion per liter","10*9/L","(10*9)/L","number",1000000000000,[-3,0,0,0,0,0,0],"(10<sup>9</sup>)/L","dimless",false,null,null,1,false,false,0,0,"10^9/L; 10*9 per Liter; litre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"billion per milliliter","10*9/mL","(10*9)/ML","number",1000000000000000,[-3,0,0,0,0,0,0],"(10<sup>9</sup>)/mL","dimless",false,null,null,1,false,false,0,0,"10^9/mL; 10*9 per mL; 10^9 per mL; 10*9 per milliliter; millilitre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"billion per microliter","10*9/uL","(10*9)/UL","number",1000000000000000000,[-3,0,0,0,0,0,0],"(10<sup>9</sup>)/\u03bcL","dimless",false,null,null,1,false,false,0,0,"10^9/uL; 10^9 per uL; 10^9/mcl; 10^9 per mcl; 10*9 per uL; 10*9 per mcl; 10*9/mcl; 10^9 per microliter; microlitre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"10 liter per minute per square meter","10.L/(min.m2)","(10.L)/(MIN.M2)","",0.00016666666666666666,[1,-1,0,0,0,0,0],"L/(min.(m<sup>2</sup>))",null,false,null,null,1,false,false,0,0,"10 liters per minutes per square meter; 10 L per min per m2; m^2; 10 L/(min*m2); 10L/(min*m^2); litres; sq. meter; metre; meters squared","LOINC","ArVRat","Clinical","",null,null,null,null,false],[false,"10 liter per minute","10.L/min","(10.L)/MIN","",0.00016666666666666666,[3,-1,0,0,0,0,0],"L/min",null,false,null,null,1,false,false,0,0,"10 liters per minute; 10 L per min; 10L; 10 L/min; litre","LOINC","VRat","Clinical","",null,null,null,null,false],[false,"10 micronewton second per centimeter to the fifth power per square meter","10.uN.s/(cm5.m2)","((10.UN).S)/(CM5.M2)","",100000000,[-6,-1,1,0,0,0,0],"(\u03bcN.s)/(cm<sup>5</sup>).(m<sup>2</sup>)",null,false,null,null,1,false,false,0,0,"dyne seconds per centimeter5 and square meter; dyn.s/(cm5.m2); dyn.s/cm5/m2; cm^5; m^2","LOINC","","Clinical","unit to measure systemic vascular resistance per body surface area",null,null,null,null,false],[false,"24 hour","24.h","24.HR","",86400,[0,1,0,0,0,0,0],"h",null,false,null,null,1,false,false,0,0,"24hrs; 24 hrs; 24 hours; days; dy","LOINC","Time","Clinical","",null,null,null,null,false],[false,"ampere per meter","A/m","A/M","electric current",1,[-1,-1,0,0,0,1,0],"A/m","si",true,null,null,1,false,false,0,0,"A/m; amp/meter; magnetic field strength; H; B; amperes per meter; metre","LOINC","","Clinical","unit of magnetic field strength","C/s","C/S","1",1,false],[false,"centigram","cg","CG","mass",0.01,[0,0,1,0,0,0,0],"cg",null,false,"M",null,1,false,false,0,0,"centigrams; cg; cgm","LOINC","Mass","Clinical","",null,null,null,null,false],[false,"centiliter","cL","CL","volume",0.00001,[3,0,0,0,0,0,0],"cL","iso1000",true,null,null,1,false,false,0,0,"centiliters; centilitres","LOINC","Vol","Clinical","","l",null,"1",1,false],[false,"centimeter","cm","CM","length",0.01,[1,0,0,0,0,0,0],"cm",null,false,"L",null,1,false,false,0,0,"centimeters; centimetres","LOINC","Len","Clinical","",null,null,null,null,false],[false,"centimeter of water","cm[H2O]","CM[H2O]","pressure",98066.5,[-1,-2,1,0,0,0,0],"cm\xa0HO<sub><r>2</r></sub>","clinical",true,null,null,1,false,false,0,0,"cm H2O; cmH2O; centimetres; pressure","LOINC","Pres","Clinical","unit of pressure mostly applies to blood pressure","kPa","KPAL","980665e-5",9.80665,false],[false,"centimeter of water per liter per second","cm[H2O]/L/s","(CM[H2O]/L)/S","pressure",98066500,[-4,-3,1,0,0,0,0],"((cm\xa0HO<sub><r>2</r></sub>)/L)/s","clinical",true,null,null,1,false,false,0,0,"cm[H2O]/(L/s); cm[H2O].s/L; cm H2O/L/sec; cmH2O/L/sec; cmH2O/Liter; cmH2O per L per secs; centimeters of water per liters per second; centimetres; litres; cm[H2O]/(L/s)","LOINC","PresRat","Clinical","unit used to measure mean pulmonary resistance","kPa","KPAL","980665e-5",9.80665,false],[false,"centimeter of water per second per meter","cm[H2O]/s/m","(CM[H2O]/S)/M","pressure",98066.5,[-2,-3,1,0,0,0,0],"((cm\xa0HO<sub><r>2</r></sub>)/s)/m","clinical",true,null,null,1,false,false,0,0,"cm[H2O]/(s.m); cm H2O/s/m; cmH2O; cmH2O/sec/m; cmH2O per secs per meters; centimeters of water per seconds per meter; centimetres; metre","LOINC","PresRat","Clinical","unit used to measure pulmonary pressure time product","kPa","KPAL","980665e-5",9.80665,false],[false,"centimeter of mercury","cm[Hg]","CM[HG]","pressure",1333220,[-1,-2,1,0,0,0,0],"cm\xa0Hg","clinical",true,null,null,1,false,false,0,0,"centimeters of mercury; centimetres; cmHg; cm Hg","LOINC","Pres","Clinical","unit of pressure where 1 cmHg = 10 torr","kPa","KPAL","133.3220",133.322,false],[false,"square centimeter","cm2","CM2","length",0.0001,[2,0,0,0,0,0,0],"cm<sup>2</sup>",null,false,"L",null,1,false,false,0,0,"cm^2; sq cm; centimeters squared; square centimeters; centimetre; area","LOINC","Area","Clinical","",null,null,null,null,false],[false,"square centimeter per second","cm2/s","CM2/S","length",0.0001,[2,-1,0,0,0,0,0],"(cm<sup>2</sup>)/s",null,false,"L",null,1,false,false,0,0,"cm^2/sec; square centimeters per second; sq cm per sec; cm2; centimeters squared; centimetres","LOINC","AreaRat","Clinical","",null,null,null,null,false],[false,"centipoise","cP","CP","dynamic viscosity",1.0000000000000002,[-1,-1,1,0,0,0,0],"cP","cgs",true,null,null,1,false,false,0,0,"cps; centiposes","LOINC","Visc","Clinical","unit of dynamic viscosity in the CGS system with base units: 10^\u22123 Pa.s = 1 mPa\xb7.s (1 millipascal second)","dyn.s/cm2","DYN.S/CM2","1",1,false],[false,"centistoke","cSt","CST","kinematic viscosity",0.000001,[2,-1,0,0,0,0,0],"cSt","cgs",true,null,null,1,false,false,0,0,"centistokes","LOINC","Visc","Clinical","unit for kinematic viscosity with base units of mm^2/s (square millimeter per second)","cm2/s","CM2/S","1",1,false],[false,"dekaliter per minute","daL/min","DAL/MIN","volume",0.00016666666666666666,[3,-1,0,0,0,0,0],"daL/min","iso1000",true,null,null,1,false,false,0,0,"dekalitres; dekaliters per minute; per min","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"dekaliter per minute per square meter","daL/min/m2","(DAL/MIN)/M2","volume",0.00016666666666666666,[1,-1,0,0,0,0,0],"(daL/min)/(m<sup>2</sup>)","iso1000",true,null,null,1,false,false,0,0,"daL/min/m^2; daL/minute/m2; sq. meter; dekaliters per minutes per square meter; meter squared; dekalitres; metre","LOINC","ArVRat","Clinical","The area usually is the body surface area used to normalize cardiovascular measures for patient\'s size","l",null,"1",1,false],[false,"decibel","dB","DB","level",1,[0,0,0,0,0,0,0],"dB","levels",true,null,"lg",0.1,true,false,0,0,"decibels","LOINC","LogRto","Clinical","unit most commonly used in acoustics as unit of sound pressure level. (also see B[SPL] or bel sound pressure level). ","1",null,null,1,false],[false,"degree per second","deg/s","DEG/S","plane angle",0.017453292519943295,[0,-1,0,1,0,0,0],"\xb0/s","iso1000",false,null,null,1,false,false,0,0,"deg/sec; deg per sec; \xb0/sec; twist rate; angular speed; rotational speed","LOINC","ARat","Clinical","unit of angular (rotational) speed used to express turning rate","[pi].rad/360","[PI].RAD/360","2",2,false],[false,"decigram","dg","DG","mass",0.1,[0,0,1,0,0,0,0],"dg",null,false,"M",null,1,false,false,0,0,"decigrams; dgm; 0.1 grams; 1/10 gm","LOINC","Mass","Clinical","equal to 1/10 gram",null,null,null,null,false],[false,"deciliter","dL","DL","volume",0.0001,[3,0,0,0,0,0,0],"dL","iso1000",true,null,null,1,false,false,0,0,"deciliters; decilitres; 0.1 liters; 1/10 L","LOINC","Vol","Clinical","equal to 1/10 liter","l",null,"1",1,false],[false,"decimeter","dm","DM","length",0.1,[1,0,0,0,0,0,0],"dm",null,false,"L",null,1,false,false,0,0,"decimeters; decimetres; 0.1 meters; 1/10 m; 10 cm; centimeters","LOINC","Len","Clinical","equal to 1/10 meter or 10 centimeters",null,null,null,null,false],[false,"square decimeter per square second","dm2/s2","DM2/S2","length",0.010000000000000002,[2,-2,0,0,0,0,0],"(dm<sup>2</sup>)/(s<sup>2</sup>)",null,false,"L",null,1,false,false,0,0,"dm2 per s2; dm^2/s^2; decimeters squared per second squared; sq dm; sq sec","LOINC","EngMass (massic energy)","Clinical","units for energy per unit mass or Joules per kilogram (J/kg = kg.m2/s2/kg = m2/s2) ",null,null,null,null,false],[false,"dyne second per centimeter per square meter","dyn.s/(cm.m2)","(DYN.S)/(CM.M2)","force",1,[-2,-1,1,0,0,0,0],"(dyn.s)/(cm.(m<sup>2</sup>))","cgs",true,null,null,1,false,false,0,0,"(dyn*s)/(cm*m2); (dyn*s)/(cm*m^2); dyn s per cm per m2; m^2; dyne seconds per centimeters per square meter; centimetres; sq. meter; squared","LOINC","","Clinical","","g.cm/s2","G.CM/S2","1",1,false],[false,"dyne second per centimeter","dyn.s/cm","(DYN.S)/CM","force",1,[0,-1,1,0,0,0,0],"(dyn.s)/cm","cgs",true,null,null,1,false,false,0,0,"(dyn*s)/cm; dyn sec per cm; seconds; centimetre; dyne seconds","LOINC","","Clinical","","g.cm/s2","G.CM/S2","1",1,false],[false,"equivalent per liter","eq/L","EQ/L","amount of substance",6.0221366999999994e+26,[-3,0,0,0,0,0,0],"eq/L","chemical",true,null,null,1,false,false,0,1,"eq/liter; eq/litre; eqs; equivalents per liter; litre","LOINC","SCnc","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"equivalent per milliliter","eq/mL","EQ/ML","amount of substance",6.0221367e+29,[-3,0,0,0,0,0,0],"eq/mL","chemical",true,null,null,1,false,false,0,1,"equivalent/milliliter; equivalents per milliliter; eq per mL; millilitre","LOINC","SCnc","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"equivalent per millimole","eq/mmol","EQ/MMOL","amount of substance",1000,[0,0,0,0,0,0,0],"eq/mmol","chemical",true,null,null,1,false,false,-1,1,"equivalent/millimole; equivalents per millimole; eq per mmol","LOINC","SRto","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"equivalent per micromole","eq/umol","EQ/UMOL","amount of substance",1000000,[0,0,0,0,0,0,0],"eq/\u03bcmol","chemical",true,null,null,1,false,false,-1,1,"equivalent/micromole; equivalents per micromole; eq per umol","LOINC","SRto","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"femtogram","fg","FG","mass",1e-15,[0,0,1,0,0,0,0],"fg",null,false,"M",null,1,false,false,0,0,"fg; fgm; femtograms; weight","LOINC","Mass","Clinical","equal to 10^-15 grams",null,null,null,null,false],[false,"femtoliter","fL","FL","volume",1e-18,[3,0,0,0,0,0,0],"fL","iso1000",true,null,null,1,false,false,0,0,"femtolitres; femtoliters","LOINC","Vol; EntVol","Clinical","equal to 10^-15 liters","l",null,"1",1,false],[false,"femtometer","fm","FM","length",1e-15,[1,0,0,0,0,0,0],"fm",null,false,"L",null,1,false,false,0,0,"femtometres; femtometers","LOINC","Len","Clinical","equal to 10^-15 meters",null,null,null,null,false],[false,"femtomole","fmol","FMOL","amount of substance",602213670,[0,0,0,0,0,0,0],"fmol","si",true,null,null,1,false,false,1,0,"femtomoles","LOINC","EntSub","Clinical","equal to 10^-15 moles","10*23","10*23","6.0221367",6.0221367,false],[false,"femtomole per gram","fmol/g","FMOL/G","amount of substance",602213670,[0,0,-1,0,0,0,0],"fmol/g","si",true,null,null,1,false,false,1,0,"femtomoles; fmol/gm; fmol per gm","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"femtomole per liter","fmol/L","FMOL/L","amount of substance",602213670000,[-3,0,0,0,0,0,0],"fmol/L","si",true,null,null,1,false,false,1,0,"femtomoles; fmol per liter; litre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"femtomole per milligram","fmol/mg","FMOL/MG","amount of substance",602213670000,[0,0,-1,0,0,0,0],"fmol/mg","si",true,null,null,1,false,false,1,0,"fmol per mg; femtomoles","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"femtomole per milliliter","fmol/mL","FMOL/ML","amount of substance",602213670000000,[-3,0,0,0,0,0,0],"fmol/mL","si",true,null,null,1,false,false,1,0,"femtomoles; millilitre; fmol per mL; fmol per milliliter","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"gram meter","g.m","G.M","mass",1,[1,0,1,0,0,0,0],"g.m",null,false,"M",null,1,false,false,0,0,"g*m; gxm; meters; metres","LOINC","Enrg","Clinical","Unit for measuring stroke work (heart work)",null,null,null,null,false],[false,"gram per 100 gram","g/(100.g)","G/(100.G)","mass",0.01,[0,0,0,0,0,0,0],"g/g",null,false,"M",null,1,false,false,0,0,"g/100 gm; 100gm; grams per 100 grams; gm per 100 gm","LOINC","MCnt","Clinical","",null,null,null,null,false],[false,"gram per 12 hour","g/(12.h)","G/(12.HR)","mass",0.000023148148148148147,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,0,"gm/12hrs; 12 hrs; gm per 12 hrs; 12hrs; grams per 12 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"gram per 24 hour","g/(24.h)","G/(24.HR)","mass",0.000011574074074074073,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,0,"gm/24hrs; gm/24 hrs; gm per 24 hrs; 24hrs; grams per 24 hours; gm/dy; gm per dy; grams per day","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"gram per 3 days","g/(3.d)","G/(3.D)","mass",0.000003858024691358025,[0,-1,1,0,0,0,0],"g/d",null,false,"M",null,1,false,false,0,0,"gm/3dy; gm/3 dy; gm per 3 days; grams","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"gram per 4 hour","g/(4.h)","G/(4.HR)","mass",0.00006944444444444444,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,0,"gm/4hrs; gm/4 hrs; gm per 4 hrs; 4hrs; grams per 4 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"gram per 48 hour","g/(48.h)","G/(48.HR)","mass",0.000005787037037037037,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,0,"gm/48hrs; gm/48 hrs; gm per 48 hrs; 48hrs; grams per 48 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"gram per 5 hour","g/(5.h)","G/(5.HR)","mass",0.00005555555555555556,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,0,"gm/5hrs; gm/5 hrs; gm per 5 hrs; 5hrs; grams per 5 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"gram per 6 hour","g/(6.h)","G/(6.HR)","mass",0.000046296296296296294,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,0,"gm/6hrs; gm/6 hrs; gm per 6 hrs; 6hrs; grams per 6 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"gram per 72 hour","g/(72.h)","G/(72.HR)","mass",0.000003858024691358025,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,0,"gm/72hrs; gm/72 hrs; gm per 72 hrs; 72hrs; grams per 72 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"gram per cubic centimeter","g/cm3","G/CM3","mass",999999.9999999999,[-3,0,1,0,0,0,0],"g/(cm<sup>3</sup>)",null,false,"M",null,1,false,false,0,0,"g/cm^3; gm per cm3; g per cm^3; grams per centimeter cubed; cu. cm; centimetre; g/mL; gram per milliliter; millilitre","LOINC","MCnc","Clinical","g/cm3 = g/mL",null,null,null,null,false],[false,"gram per day","g/d","G/D","mass",0.000011574074074074073,[0,-1,1,0,0,0,0],"g/d",null,false,"M",null,1,false,false,0,0,"gm/dy; gm per dy; grams per day; gm/24hrs; gm/24 hrs; gm per 24 hrs; 24hrs; grams per 24 hours; serving","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"gram per deciliter","g/dL","G/DL","mass",10000,[-3,0,1,0,0,0,0],"g/dL",null,false,"M",null,1,false,false,0,0,"gm/dL; gm per dL; grams per deciliter; decilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"gram per gram","g/g","G/G","mass",1,[0,0,0,0,0,0,0],"g/g",null,false,"M",null,1,false,false,0,0,"gm; grams","LOINC","MRto ","Clinical","",null,null,null,null,false],[false,"gram per hour","g/h","G/HR","mass",0.0002777777777777778,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,0,"gm/hr; gm per hr; grams; intake; output","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"gram per hour per square meter","g/h/m2","(G/HR)/M2","mass",0.0002777777777777778,[-2,-1,1,0,0,0,0],"(g/h)/(m<sup>2</sup>)",null,false,"M",null,1,false,false,0,0,"gm/hr/m2; gm/h/m2; /m^2; sq. m; g per hr per m2; grams per hours per square meter; meter squared; metre","LOINC","ArMRat","Clinical","",null,null,null,null,false],[false,"gram per kilogram","g/kg ","G/KG","mass",0.001,[0,0,0,0,0,0,0],"g/kg",null,false,"M",null,1,false,false,0,0,"g per kg; gram per kilograms","LOINC","MCnt","Clinical","",null,null,null,null,false],[false,"gram per kilogram per 8 hour ","g/kg/(8.h)","(G/KG)/(8.HR)","mass",3.472222222222222e-8,[0,-1,0,0,0,0,0],"(g/kg)/h",null,false,"M",null,1,false,false,0,0,"g/(8.kg.h); gm/kg/8hrs; 8 hrs; g per kg per 8 hrs; 8hrs; grams per kilograms per 8 hours; shift","LOINC","MCntRat; RelMRat","Clinical","unit often used to describe mass in grams of protein consumed in a 8 hours, divided by the subject\'s body weight in kilograms. Also used to measure mass dose rate per body mass",null,null,null,null,false],[false,"gram per kilogram per day","g/kg/d","(G/KG)/D","mass",1.1574074074074074e-8,[0,-1,0,0,0,0,0],"(g/kg)/d",null,false,"M",null,1,false,false,0,0,"g/(kg.d); gm/kg/dy; gm per kg per dy; grams per kilograms per day","LOINC","RelMRat","Clinical","unit often used to describe mass in grams of protein consumed in a day, divided by the subject\'s body weight in kilograms. Also used to measure mass dose rate per body mass",null,null,null,null,false],[false,"gram per kilogram per hour","g/kg/h","(G/KG)/HR","mass",2.7777777777777776e-7,[0,-1,0,0,0,0,0],"(g/kg)/h",null,false,"M",null,1,false,false,0,0,"g/(kg.h); g/kg/hr; g per kg per hrs; grams per kilograms per hour","LOINC","MCntRat; RelMRat","Clinical","unit used to measure mass dose rate per body mass",null,null,null,null,false],[false,"gram per kilogram per minute","g/kg/min","(G/KG)/MIN","mass",0.000016666666666666667,[0,-1,0,0,0,0,0],"(g/kg)/min",null,false,"M",null,1,false,false,0,0,"g/(kg.min); g/kg/min; g per kg per min; grams per kilograms per minute","LOINC","MCntRat; RelMRat","Clinical","unit used to measure mass dose rate per body mass",null,null,null,null,false],[false,"gram per liter","g/L","G/L","mass",1000,[-3,0,1,0,0,0,0],"g/L",null,false,"M",null,1,false,false,0,0,"gm per liter; g/liter; grams per liter; litre","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"gram per square meter","g/m2","G/M2","mass",1,[-2,0,1,0,0,0,0],"g/(m<sup>2</sup>)",null,false,"M",null,1,false,false,0,0,"g/m^2; gram/square meter; g/sq m; g per m2; g per m^2; grams per square meter; meters squared; metre","LOINC","ArMass","Clinical","Tests measure myocardial mass (heart ventricle system) per body surface area; unit used to measure mass dose per body surface area",null,null,null,null,false],[false,"gram per milligram","g/mg","G/MG","mass",1000,[0,0,0,0,0,0,0],"g/mg",null,false,"M",null,1,false,false,0,0,"g per mg; grams per milligram","LOINC","MCnt; MRto","Clinical","",null,null,null,null,false],[false,"gram per minute","g/min","G/MIN","mass",0.016666666666666666,[0,-1,1,0,0,0,0],"g/min",null,false,"M",null,1,false,false,0,0,"g per min; grams per minute; gram/minute","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"gram per milliliter","g/mL","G/ML","mass",1000000,[-3,0,1,0,0,0,0],"g/mL",null,false,"M",null,1,false,false,0,0,"g per mL; grams per milliliter; millilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"gram per millimole","g/mmol","G/MMOL","mass",1.6605401866749388e-21,[0,0,1,0,0,0,0],"g/mmol",null,false,"M",null,1,false,false,-1,0,"grams per millimole; g per mmol","LOINC","Ratio","Clinical","",null,null,null,null,false],[false,"joule per liter","J/L","J/L","energy",1000000,[-1,-2,1,0,0,0,0],"J/L","si",true,null,null,1,false,false,0,0,"joules per liter; litre; J per L","LOINC","EngCnc","Clinical","","N.m","N.M","1",1,false],[false,"degree Kelvin per Watt","K/W","K/W","temperature",0.001,[-2,3,-1,0,1,0,0],"K/W",null,false,"C",null,1,false,false,0,0,"degree Kelvin/Watt; K per W; thermal ohm; thermal resistance; degrees","LOINC","TempEngRat","Clinical","unit for absolute thermal resistance equal to the reciprocal of thermal conductance. Unit used for tests to measure work of breathing",null,null,null,null,false],[false,"kilo international unit per liter","k[IU]/L","K[IU]/L","arbitrary",1000000,[-3,0,0,0,0,0,0],"(ki.U.)/L","chemical",true,null,null,1,false,true,0,0,"kIU/L; kIU per L; kIU per liter; kilo international units; litre; allergens; allergy units","LOINC","ACnc","Clinical","IgE has an WHO reference standard so IgE allergen testing can be reported as k[IU]/L","[iU]","[IU]","1",1,false],[false,"kilo international unit per milliliter","k[IU]/mL","K[IU]/ML","arbitrary",1000000000,[-3,0,0,0,0,0,0],"(ki.U.)/mL","chemical",true,null,null,1,false,true,0,0,"kIU/mL; kIU per mL; kIU per milliliter; kilo international units; millilitre; allergens; allergy units","LOINC","ACnc","Clinical","IgE has an WHO reference standard so IgE allergen testing can be reported as k[IU]/mL","[iU]","[IU]","1",1,false],[false,"katal per kilogram","kat/kg","KAT/KG","catalytic activity",602213670000000000000,[0,-1,-1,0,0,0,0],"kat/kg","chemical",true,null,null,1,false,false,1,0,"kat per kg; katals per kilogram; mol/s/kg; moles per seconds per kilogram","LOINC","CCnt","Clinical","kat is a unit of catalytic activity with base units = mol/s. Rarely used because its units are too large to practically express catalytic activity. See enzyme unit [U] which is the standard unit for catalytic activity.","mol/s","MOL/S","1",1,false],[false,"katal per liter","kat/L","KAT/L","catalytic activity",6.0221366999999994e+26,[-3,-1,0,0,0,0,0],"kat/L","chemical",true,null,null,1,false,false,1,0,"kat per L; katals per liter; litre; mol/s/L; moles per seconds per liter","LOINC","CCnc","Clinical","kat is a unit of catalytic activity with base units = mol/s. Rarely used because its units are too large to practically express catalytic activity. See enzyme unit [U] which is the standard unit for catalytic activity.","mol/s","MOL/S","1",1,false],[false,"kilocalorie","kcal","KCAL","energy",4184000,[2,-2,1,0,0,0,0],"kcal","heat",true,null,null,1,false,false,0,0,"kilogram calories; large calories; food calories; kcals","LOINC","EngRat","Clinical","It is equal to 1000 calories (equal to 4.184 kJ). But in practical usage, kcal refers to food calories which excludes caloric content in fiber and other constitutes that is not digestible by humans. Also see nutrition label Calories ([Cal])","cal_th","CAL_TH","1",1,false],[false,"kilocalorie per 24 hour","kcal/(24.h)","KCAL/(24.HR)","energy",48.425925925925924,[2,-3,1,0,0,0,0],"kcal/h","heat",true,null,null,1,false,false,0,0,"kcal/24hrs; kcal/24 hrs; kcal per 24hrs; kilocalories per 24 hours; kilojoules; kJ/24hr; kJ/(24.h); kJ/dy; kilojoules per days; intake; calories burned; metabolic rate; food calories","","EngRat","Clinical","","cal_th","CAL_TH","1",1,false],[false,"kilocalorie per ounce","kcal/[oz_av]","KCAL/[OZ_AV]","energy",147586.25679704445,[2,-2,0,0,0,0,0],"kcal/oz","heat",true,null,null,1,false,false,0,0,"kcal/oz; kcal per ozs; large calories per ounces; food calories; servings; international","LOINC","EngCnt","Clinical","used in nutrition to represent calorie of food","cal_th","CAL_TH","1",1,false],[false,"kilocalorie per day","kcal/d","KCAL/D","energy",48.425925925925924,[2,-3,1,0,0,0,0],"kcal/d","heat",true,null,null,1,false,false,0,0,"kcal/dy; kcal per day; kilocalories per days; kilojoules; kJ/dy; kilojoules per days; intake; calories burned; metabolic rate; food calories","LOINC","EngRat","Clinical","unit in nutrition for food intake (measured in calories) in a day","cal_th","CAL_TH","1",1,false],[false,"kilocalorie per hour","kcal/h","KCAL/HR","energy",1162.2222222222222,[2,-3,1,0,0,0,0],"kcal/h","heat",true,null,null,1,false,false,0,0,"kcal/hrs; kcals per hr; intake; kilocalories per hours; kilojoules","LOINC","EngRat","Clinical","used in nutrition to represent caloric requirement or consumption","cal_th","CAL_TH","1",1,false],[false,"kilocalorie per kilogram per 24 hour","kcal/kg/(24.h)","(KCAL/KG)/(24.HR)","energy",0.04842592592592593,[2,-3,0,0,0,0,0],"(kcal/kg)/h","heat",true,null,null,1,false,false,0,0,"kcal/kg/24hrs; 24 hrs; kcal per kg per 24hrs; kilocalories per kilograms per 24 hours; kilojoules","LOINC","EngCntRat","Clinical","used in nutrition to represent caloric requirement per day based on subject\'s body weight in kilograms","cal_th","CAL_TH","1",1,false],[false,"kilogram","kg","KG","mass",1000,[0,0,1,0,0,0,0],"kg",null,false,"M",null,1,false,false,0,0,"kilograms; kgs","LOINC","Mass","Clinical","",null,null,null,null,false],[false,"kilogram meter per second","kg.m/s","(KG.M)/S","mass",1000,[1,-1,1,0,0,0,0],"(kg.m)/s",null,false,"M",null,1,false,false,0,0,"kg*m/s; kg.m per sec; kg*m per sec; p; momentum","LOINC","","Clinical","unit for momentum =  mass times velocity",null,null,null,null,false],[false,"kilogram per second per square meter","kg/(s.m2)","KG/(S.M2)","mass",1000,[-2,-1,1,0,0,0,0],"kg/(s.(m<sup>2</sup>))",null,false,"M",null,1,false,false,0,0,"kg/(s*m2); kg/(s*m^2); kg per s per m2; per sec; per m^2; kilograms per seconds per square meter; meter squared; metre","LOINC","ArMRat","Clinical","",null,null,null,null,false],[false,"kilogram per hour","kg/h","KG/HR","mass",0.2777777777777778,[0,-1,1,0,0,0,0],"kg/h",null,false,"M",null,1,false,false,0,0,"kg/hr; kg per hr; kilograms per hour","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"kilogram per liter","kg/L","KG/L","mass",1000000,[-3,0,1,0,0,0,0],"kg/L",null,false,"M",null,1,false,false,0,0,"kg per liter; litre; kilograms","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"kilogram per square meter","kg/m2","KG/M2","mass",1000,[-2,0,1,0,0,0,0],"kg/(m<sup>2</sup>)",null,false,"M",null,1,false,false,0,0,"kg/m^2; kg/sq. m; kg per m2; per m^2; per sq. m; kilograms; meter squared; metre; BMI","LOINC","Ratio","Clinical","units for body mass index (BMI)",null,null,null,null,false],[false,"kilogram per cubic meter","kg/m3","KG/M3","mass",1000,[-3,0,1,0,0,0,0],"kg/(m<sup>3</sup>)",null,false,"M",null,1,false,false,0,0,"kg/m^3; kg/cu. m; kg per m3; per m^3; per cu. m; kilograms; meters cubed; metre","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"kilogram per minute","kg/min","KG/MIN","mass",16.666666666666668,[0,-1,1,0,0,0,0],"kg/min",null,false,"M",null,1,false,false,0,0,"kilogram/minute; kg per min; kilograms per minute","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"kilogram per mole","kg/mol","KG/MOL","mass",1.6605401866749388e-21,[0,0,1,0,0,0,0],"kg/mol",null,false,"M",null,1,false,false,-1,0,"kilogram/mole; kg per mol; kilograms per mole","LOINC","SCnt","Clinical","",null,null,null,null,false],[false,"kilogram per second","kg/s","KG/S","mass",1000,[0,-1,1,0,0,0,0],"kg/s",null,false,"M",null,1,false,false,0,0,"kg/sec; kilogram/second; kg per sec; kilograms; second","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"kiloliter","kL","KL","volume",1,[3,0,0,0,0,0,0],"kL","iso1000",true,null,null,1,false,false,0,0,"kiloliters; kilolitres; m3; m^3; meters cubed; metre","LOINC","Vol","Clinical","","l",null,"1",1,false],[false,"kilometer","km","KM","length",1000,[1,0,0,0,0,0,0],"km",null,false,"L",null,1,false,false,0,0,"kilometers; kilometres; distance","LOINC","Len","Clinical","",null,null,null,null,false],[false,"kilopascal","kPa","KPAL","pressure",1000000,[-1,-2,1,0,0,0,0],"kPa","si",true,null,null,1,false,false,0,0,"kilopascals; pressure","LOINC","Pres; PPresDiff","Clinical","","N/m2","N/M2","1",1,false],[false,"kilosecond","ks","KS","time",1000,[0,1,0,0,0,0,0],"ks",null,false,"T",null,1,false,false,0,0,"kiloseconds; ksec","LOINC","Time","Clinical","",null,null,null,null,false],[false,"kilo enzyme unit","kU","KU","catalytic activity",10036894500000000000,[0,-1,0,0,0,0,0],"kU","chemical",true,null,null,1,false,false,1,0,"units; mmol/min; millimoles per minute","LOINC","CAct","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 kU = 1 mmol/min","umol/min","UMOL/MIN","1",1,false],[false,"kilo enzyme unit per gram","kU/g","KU/G","catalytic activity",10036894500000000000,[0,-1,-1,0,0,0,0],"kU/g","chemical",true,null,null,1,false,false,1,0,"units per grams; kU per gm","LOINC","CCnt","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 kU = 1 mmol/min","umol/min","UMOL/MIN","1",1,false],[false,"kilo enzyme unit per liter","kU/L","KU/L","catalytic activity",1.00368945e+22,[-3,-1,0,0,0,0,0],"kU/L","chemical",true,null,null,1,false,false,1,0,"units per liter; litre; enzymatic activity; enzyme activity per volume; activities","LOINC","ACnc; CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 kU = 1 mmol/min","umol/min","UMOL/MIN","1",1,false],[false,"kilo enzyme unit per milliliter","kU/mL","KU/ML","catalytic activity",1.00368945e+25,[-3,-1,0,0,0,0,0],"kU/mL","chemical",true,null,null,1,false,false,1,0,"kU per mL; units per milliliter; millilitre; enzymatic activity per volume; enzyme activities","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 kU = 1 mmol/min","umol/min","UMOL/MIN","1",1,false],[false,"Liters per 24 hour","L/(24.h)","L/(24.HR)","volume",1.1574074074074074e-8,[3,-1,0,0,0,0,0],"L/h","iso1000",true,null,null,1,false,false,0,0,"L/24hrs; L/24 hrs; L per 24hrs; liters per 24 hours; day; dy; litres; volume flow rate","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"Liters per 8 hour","L/(8.h)","L/(8.HR)","volume",3.472222222222222e-8,[3,-1,0,0,0,0,0],"L/h","iso1000",true,null,null,1,false,false,0,0,"L/8hrs; L/8 hrs; L per 8hrs; liters per 8 hours; litres; volume flow rate; shift","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"Liters per minute per square meter","L/(min.m2) ","L/(MIN.M2)","volume",0.000016666666666666667,[1,-1,0,0,0,0,0],"L/(min.(m<sup>2</sup>))","iso1000",true,null,null,1,false,false,0,0,"L/(min.m2); L/min/m^2; L/min/sq. meter; L per min per m2; m^2; liters per minutes per square meter; meter squared; litres; metre ","LOINC","ArVRat","Clinical","unit for tests that measure cardiac output per body surface area (cardiac index)","l",null,"1",1,false],[false,"Liters per day","L/d","L/D","volume",1.1574074074074074e-8,[3,-1,0,0,0,0,0],"L/d","iso1000",true,null,null,1,false,false,0,0,"L/dy; L per day; 24hrs; 24 hrs; 24 hours; liters; litres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"Liters per hour","L/h","L/HR","volume",2.7777777777777776e-7,[3,-1,0,0,0,0,0],"L/h","iso1000",true,null,null,1,false,false,0,0,"L/hr; L per hr; litres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"Liters per kilogram","L/kg","L/KG","volume",0.000001,[3,0,-1,0,0,0,0],"L/kg","iso1000",true,null,null,1,false,false,0,0,"L per kg; litre","LOINC","VCnt","Clinical","","l",null,"1",1,false],[false,"Liters per liter","L/L","L/L","volume",1,[0,0,0,0,0,0,0],"L/L","iso1000",true,null,null,1,false,false,0,0,"L per L; liter/liter; litre","LOINC","VFr","Clinical","","l",null,"1",1,false],[false,"Liters per minute","L/min","L/MIN","volume",0.000016666666666666667,[3,-1,0,0,0,0,0],"L/min","iso1000",true,null,null,1,false,false,0,0,"liters per minute; litre","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"Liters per minute per square meter","L/min/m2","(L/MIN)/M2","volume",0.000016666666666666667,[1,-1,0,0,0,0,0],"(L/min)/(m<sup>2</sup>)","iso1000",true,null,null,1,false,false,0,0,"L/(min.m2); L/min/m^2; L/min/sq. meter; L per min per m2; m^2; liters per minutes per square meter; meter squared; litres; metre ","","ArVRat","Clinical","unit for tests that measure cardiac output per body surface area (cardiac index)","l",null,"1",1,false],[false,"Liters per second","L/s","L/S","volume",0.001,[3,-1,0,0,0,0,0],"L/s","iso1000",true,null,null,1,false,false,0,0,"L per sec; litres","LOINC","VRat","Clinical","unit used often to measure gas flow and peak expiratory flow","l",null,"1",1,false],[false,"Liters per second per square second","L/s/s2","(L/S)/S2","volume",0.001,[3,-3,0,0,0,0,0],"(L/s)/(s<sup>2</sup>)","iso1000",true,null,null,1,false,false,0,0,"L/s/s^2; L/sec/sec2; L/sec/sec^2; L/sec/sq. sec; L per s per s2; L per sec per sec2; s^2; sec^2; liters per seconds per square second; second squared; litres ","LOINC","ArVRat","Clinical","unit for tests that measure cardiac output/body surface area","l",null,"1",1,false],[false,"lumen square meter","lm.m2","LM.M2","luminous flux",1,[2,0,0,2,0,0,1],"lm.(m<sup>2</sup>)","si",true,null,null,1,false,false,0,0,"lm*m2; lm*m^2; lumen meters squared; lumen sq. meters; metres","LOINC","","Clinical","","cd.sr","CD.SR","1",1,false],[false,"meter per second","m/s","M/S","length",1,[1,-1,0,0,0,0,0],"m/s",null,false,"L",null,1,false,false,0,0,"meter/second; m per sec; meters per second; metres; velocity; speed","LOINC","Vel","Clinical","unit of velocity",null,null,null,null,false],[false,"meter per square second","m/s2","M/S2","length",1,[1,-2,0,0,0,0,0],"m/(s<sup>2</sup>)",null,false,"L",null,1,false,false,0,0,"m/s^2; m/sq. sec; m per s2; per s^2; meters per square second; second squared; sq second; metres; acceleration","LOINC","Accel","Clinical","unit of acceleration",null,null,null,null,false],[false,"milli international unit per liter","m[IU]/L","M[IU]/L","arbitrary",1,[-3,0,0,0,0,0,0],"(mi.U.)/L","chemical",true,null,null,1,false,true,0,0,"mIU/L; m IU/L; mIU per liter; units; litre","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen  specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"milli  international unit per milliliter","m[IU]/mL","M[IU]/ML","arbitrary",1000.0000000000001,[-3,0,0,0,0,0,0],"(mi.U.)/mL","chemical",true,null,null,1,false,true,0,0,"mIU/mL; m IU/mL; mIU per mL; milli international units per milliliter; millilitre","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen  specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"square meter","m2","M2","length",1,[2,0,0,0,0,0,0],"m<sup>2</sup>",null,false,"L",null,1,false,false,0,0,"m^2; sq m; square meters; meters squared; metres","LOINC","Area","Clinical","unit often used to represent body surface area",null,null,null,null,false],[false,"square meter per second","m2/s","M2/S","length",1,[2,-1,0,0,0,0,0],"(m<sup>2</sup>)/s",null,false,"L",null,1,false,false,0,0,"m^2/sec; m2 per sec; m^2 per sec; sq m/sec; meters squared/seconds; sq m per sec; meters squared; metres","LOINC","ArRat","Clinical","",null,null,null,null,false],[false,"cubic meter per second","m3/s","M3/S","length",1,[3,-1,0,0,0,0,0],"(m<sup>3</sup>)/s",null,false,"L",null,1,false,false,0,0,"m^3/sec; m3 per sec; m^3 per sec; cu m/sec; cubic meters per seconds; meters cubed; metres","LOINC","VRat","Clinical","",null,null,null,null,false],[false,"milliampere","mA","MA","electric current",0.001,[0,-1,0,0,0,1,0],"mA","si",true,null,null,1,false,false,0,0,"mamp; milliamperes","LOINC","ElpotRat","Clinical","unit of electric current","C/s","C/S","1",1,false],[false,"millibar","mbar","MBAR","pressure",100000,[-1,-2,1,0,0,0,0],"mbar","iso1000",true,null,null,1,false,false,0,0,"millibars","LOINC","Pres","Clinical","unit of pressure","Pa","PAL","1e5",100000,false],[false,"millibar second per liter","mbar.s/L","(MBAR.S)/L","pressure",100000000,[-4,-1,1,0,0,0,0],"(mbar.s)/L","iso1000",true,null,null,1,false,false,0,0,"mbar*s/L; mbar.s per L; mbar*s per L; millibar seconds per liter; millibar second per litre","LOINC","","Clinical","unit to measure expiratory resistance","Pa","PAL","1e5",100000,false],[false,"millibar per liter per second","mbar/L/s","(MBAR/L)/S","pressure",100000000,[-4,-3,1,0,0,0,0],"(mbar/L)/s","iso1000",true,null,null,1,false,false,0,0,"mbar/(L.s); mbar/L/sec; mbar/liter/second; mbar per L per sec; mbar per liter per second; millibars per liters per seconds; litres","LOINC","PresCncRat","Clinical","unit to measure expiratory resistance","Pa","PAL","1e5",100000,false],[false,"milliequivalent","meq","MEQ","amount of substance",602213670000000000000,[0,0,0,0,0,0,0],"meq","chemical",true,null,null,1,false,false,0,1,"milliequivalents; meqs","LOINC","Sub","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per 2 hour","meq/(2.h)","MEQ/(2.HR)","amount of substance",83640787500000000,[0,-1,0,0,0,0,0],"meq/h","chemical",true,null,null,1,false,false,0,1,"meq/2hrs; meq/2 hrs; meq per 2 hrs; milliequivalents per 2 hours","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per 24 hour","meq/(24.h)","MEQ/(24.HR)","amount of substance",6970065625000000,[0,-1,0,0,0,0,0],"meq/h","chemical",true,null,null,1,false,false,0,1,"meq/24hrs; meq/24 hrs; meq per 24 hrs; milliequivalents per 24 hours","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per 8 hour","meq/(8.h)","MEQ/(8.HR)","amount of substance",20910196875000000,[0,-1,0,0,0,0,0],"meq/h","chemical",true,null,null,1,false,false,0,1,"meq/8hrs; meq/8 hrs; meq per 8 hrs; milliequivalents per 8 hours; shift","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per day","meq/d","MEQ/D","amount of substance",6970065625000000,[0,-1,0,0,0,0,0],"meq/d","chemical",true,null,null,1,false,false,0,1,"meq/dy; meq per day; milliquivalents per days; meq/24hrs; meq/24 hrs; meq per 24 hrs; milliequivalents per 24 hours","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per deciliter","meq/dL","MEQ/DL","amount of substance",6.022136699999999e+24,[-3,0,0,0,0,0,0],"meq/dL","chemical",true,null,null,1,false,false,0,1,"meq per dL; milliequivalents per deciliter; decilitre","LOINC","SCnc","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per gram","meq/g","MEQ/G","amount of substance",602213670000000000000,[0,0,-1,0,0,0,0],"meq/g","chemical",true,null,null,1,false,false,0,1,"mgq/gm; meq per gm; milliequivalents per gram","LOINC","MCnt","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per hour","meq/h","MEQ/HR","amount of substance",167281575000000000,[0,-1,0,0,0,0,0],"meq/h","chemical",true,null,null,1,false,false,0,1,"meq/hrs; meq per hrs; milliequivalents per hour","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per kilogram","meq/kg","MEQ/KG","amount of substance",602213670000000000,[0,0,-1,0,0,0,0],"meq/kg","chemical",true,null,null,1,false,false,0,1,"meq per kg; milliequivalents per kilogram","LOINC","SCnt","Clinical","equivalence equals moles per valence; used to measure dose per patient body mass","mol","MOL","1",1,false],[false,"milliequivalent per kilogram per hour","meq/kg/h","(MEQ/KG)/HR","amount of substance",167281575000000,[0,-1,-1,0,0,0,0],"(meq/kg)/h","chemical",true,null,null,1,false,false,0,1,"meq/(kg.h); meq/kg/hr; meq per kg per hr; milliequivalents per kilograms per hour","LOINC","SCntRat","Clinical","equivalence equals moles per valence; unit used to measure dose rate per patient body mass","mol","MOL","1",1,false],[false,"milliequivalent per liter","meq/L","MEQ/L","amount of substance",6.0221367e+23,[-3,0,0,0,0,0,0],"meq/L","chemical",true,null,null,1,false,false,0,1,"milliequivalents per liter; litre; meq per l; acidity","LOINC","SCnc","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per square meter","meq/m2","MEQ/M2","amount of substance",602213670000000000000,[-2,0,0,0,0,0,0],"meq/(m<sup>2</sup>)","chemical",true,null,null,1,false,false,0,1,"meq/m^2; meq/sq. m; milliequivalents per square meter; meter squared; metre","LOINC","ArSub","Clinical","equivalence equals moles per valence; note that the use of m2 in clinical units ofter refers to body surface area","mol","MOL","1",1,false],[false,"milliequivalent per minute","meq/min","MEQ/MIN","amount of substance",10036894500000000000,[0,-1,0,0,0,0,0],"meq/min","chemical",true,null,null,1,false,false,0,1,"meq per min; milliequivalents per minute","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per milliliter","meq/mL","MEQ/ML","amount of substance",6.0221367e+26,[-3,0,0,0,0,0,0],"meq/mL","chemical",true,null,null,1,false,false,0,1,"meq per mL; milliequivalents per milliliter; millilitre","LOINC","SCnc","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milligram","mg","MG","mass",0.001,[0,0,1,0,0,0,0],"mg",null,false,"M",null,1,false,false,0,0,"milligrams","LOINC","Mass","Clinical","",null,null,null,null,false],[false,"milligram per 10 hour","mg/(10.h)","MG/(10.HR)","mass",2.7777777777777777e-8,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,0,0,"mg/10hrs; mg/10 hrs; mg per 10 hrs; milligrams per 10 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"milligram per 12 hour","mg/(12.h)","MG/(12.HR)","mass",2.3148148148148148e-8,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,0,0,"mg/12hrs; mg/12 hrs; per 12 hrs; 12hrs; milligrams per 12 hours","LOINC","MRat","Clinical","units used for tests in urine",null,null,null,null,false],[false,"milligram per 2 hour","mg/(2.h)","MG/(2.HR)","mass",1.3888888888888888e-7,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,0,0,"mg/2hrs; mg/2 hrs; mg per 2 hrs; 2hrs; milligrams per 2 hours","LOINC","MRat","Clinical","units used for tests in urine",null,null,null,null,false],[false,"milligram per 24 hour","mg/(24.h)","MG/(24.HR)","mass",1.1574074074074074e-8,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,0,0,"mg/24hrs; mg/24 hrs; milligrams per 24 hours; mg/kg/dy; mg per kg per day; milligrams per kilograms per days","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"milligram per 6 hour","mg/(6.h)","MG/(6.HR)","mass",4.6296296296296295e-8,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,0,0,"mg/6hrs; mg/6 hrs; mg per 6 hrs; 6hrs; milligrams per 6 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"milligram per 72 hour","mg/(72.h)","MG/(72.HR)","mass",3.858024691358025e-9,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,0,0,"mg/72hrs; mg/72 hrs; 72 hrs; 72hrs; milligrams per 72 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"milligram per 8 hour","mg/(8.h)","MG/(8.HR)","mass",3.472222222222222e-8,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,0,0,"mg/8hrs; mg/8 hrs; milligrams per 8 hours; shift","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"milligram per day","mg/d","MG/D","mass",1.1574074074074074e-8,[0,-1,1,0,0,0,0],"mg/d",null,false,"M",null,1,false,false,0,0,"mg/24hrs; mg/24 hrs; milligrams per 24 hours; mg/dy; mg per day; milligrams","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"milligram per deciliter","mg/dL","MG/DL","mass",10,[-3,0,1,0,0,0,0],"mg/dL",null,false,"M",null,1,false,false,0,0,"mg per dL; milligrams per deciliter; decilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"milligram per gram","mg/g","MG/G","mass",0.001,[0,0,0,0,0,0,0],"mg/g",null,false,"M",null,1,false,false,0,0,"mg per gm; milligrams per gram","LOINC","MCnt; MRto","Clinical","",null,null,null,null,false],[false,"milligram per hour","mg/h","MG/HR","mass",2.7777777777777776e-7,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,0,0,"mg/hr; mg per hr; milligrams","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"milligram per kilogram","mg/kg","MG/KG","mass",0.000001,[0,0,0,0,0,0,0],"mg/kg",null,false,"M",null,1,false,false,0,0,"mg per kg; milligrams per kilograms","LOINC","MCnt","Clinical","",null,null,null,null,false],[false,"milligram per kilogram per 8 hour","mg/kg/(8.h)","(MG/KG)/(8.HR)","mass",3.472222222222222e-11,[0,-1,0,0,0,0,0],"(mg/kg)/h",null,false,"M",null,1,false,false,0,0,"mg/(8.h.kg); mg/kg/8hrs; mg/kg/8 hrs; mg per kg per 8hrs; 8 hrs; milligrams per kilograms per 8 hours; shift","LOINC","RelMRat; MCntRat","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[false,"milligram per kilogram per day","mg/kg/d","(MG/KG)/D","mass",1.1574074074074074e-11,[0,-1,0,0,0,0,0],"(mg/kg)/d",null,false,"M",null,1,false,false,0,0,"mg/(kg.d); mg/(kg.24.h)mg/kg/dy; mg per kg per day; milligrams per kilograms per days; mg/kg/(24.h); mg/kg/24hrs; 24 hrs; 24 hours","LOINC","RelMRat ","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[false,"milligram per kilogram per hour","mg/kg/h","(MG/KG)/HR","mass",2.7777777777777777e-10,[0,-1,0,0,0,0,0],"(mg/kg)/h",null,false,"M",null,1,false,false,0,0,"mg/(kg.h); mg/kg/hr; mg per kg per hr; milligrams per kilograms per hour","LOINC","RelMRat; MCntRat","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[false,"milligram per kilogram per minute","mg/kg/min","(MG/KG)/MIN","mass",1.6666666666666667e-8,[0,-1,0,0,0,0,0],"(mg/kg)/min",null,false,"M",null,1,false,false,0,0,"mg/(kg.min); mg per kg per min; milligrams per kilograms per minute","LOINC","RelMRat; MCntRat","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[false,"milligram per liter","mg/L","MG/L","mass",1,[-3,0,1,0,0,0,0],"mg/L",null,false,"M",null,1,false,false,0,0,"mg per l; milligrams per liter; litre","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"milligram per square meter","mg/m2","MG/M2","mass",0.001,[-2,0,1,0,0,0,0],"mg/(m<sup>2</sup>)",null,false,"M",null,1,false,false,0,0,"mg/m^2; mg/sq. m; mg per m2; mg per m^2; mg per sq. milligrams; meter squared; metre","LOINC","ArMass","Clinical","",null,null,null,null,false],[false,"milligram per cubic meter","mg/m3","MG/M3","mass",0.001,[-3,0,1,0,0,0,0],"mg/(m<sup>3</sup>)",null,false,"M",null,1,false,false,0,0,"mg/m^3; mg/cu. m; mg per m3; milligrams per cubic meter; meter cubed; metre","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"milligram per milligram","mg/mg","MG/MG","mass",1,[0,0,0,0,0,0,0],"mg/mg",null,false,"M",null,1,false,false,0,0,"mg per mg; milligrams; milligram/milligram","LOINC","MRto","Clinical","",null,null,null,null,false],[false,"milligram per minute","mg/min","MG/MIN","mass",0.000016666666666666667,[0,-1,1,0,0,0,0],"mg/min",null,false,"M",null,1,false,false,0,0,"mg per min; milligrams per minutes; milligram/minute","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"milligram per milliliter","mg/mL","MG/ML","mass",1000.0000000000001,[-3,0,1,0,0,0,0],"mg/mL",null,false,"M",null,1,false,false,0,0,"mg per mL; milligrams per milliliters; millilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"milligram per millimole","mg/mmol","MG/MMOL","mass",1.660540186674939e-24,[0,0,1,0,0,0,0],"mg/mmol",null,false,"M",null,1,false,false,-1,0,"mg per mmol; milligrams per millimole; ","LOINC","Ratio","Clinical","",null,null,null,null,false],[false,"milligram per week","mg/wk","MG/WK","mass",1.6534391534391535e-9,[0,-1,1,0,0,0,0],"mg/wk",null,false,"M",null,1,false,false,0,0,"mg/week; mg per wk; milligrams per weeks; milligram/week","LOINC","Mrat","Clinical","",null,null,null,null,false],[false,"milliliter","mL","ML","volume",0.000001,[3,0,0,0,0,0,0],"mL","iso1000",true,null,null,1,false,false,0,0,"milliliters; millilitres","LOINC","Vol","Clinical","","l",null,"1",1,false],[false,"milliliter per 10 hour","mL/(10.h)","ML/(10.HR)","volume",2.7777777777777777e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,0,"ml/10hrs; ml/10 hrs; mL per 10hrs; 10 hrs; milliliters per 10 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 12 hour","mL/(12.h)","ML/(12.HR)","volume",2.3148148148148147e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,0,"ml/12hrs; ml/12 hrs; mL per 12hrs; 12 hrs; milliliters per 12 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 2 hour","mL/(2.h)","ML/(2.HR)","volume",1.3888888888888888e-10,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,0,"ml/2hrs; ml/2 hrs; mL per 2hrs; 2 hrs; milliliters per 2 hours; millilitres ","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 24 hour","mL/(24.h)","ML/(24.HR)","volume",1.1574074074074074e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,0,"ml/24hrs; ml/24 hrs; mL per 24hrs; 24 hrs; milliliters per 24 hours; millilitres; ml/dy; /day; ml per dy; days; fluid outputs; fluid inputs; flow rate","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 4 hour","mL/(4.h)","ML/(4.HR)","volume",6.944444444444444e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,0,"ml/4hrs; ml/4 hrs; mL per 4hrs; 4 hrs; milliliters per 4 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 5 hour","mL/(5.h)","ML/(5.HR)","volume",5.5555555555555553e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,0,"ml/5hrs; ml/5 hrs; mL per 5hrs; 5 hrs; milliliters per 5 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 6 hour","mL/(6.h)","ML/(6.HR)","volume",4.6296296296296294e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,0,"ml/6hrs; ml/6 hrs; mL per 6hrs; 6 hrs; milliliters per 6 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 72 hour","mL/(72.h)","ML/(72.HR)","volume",3.8580246913580245e-12,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,0,"ml/72hrs; ml/72 hrs; mL per 72hrs; 72 hrs; milliliters per 72 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 8 hour","mL/(8.h)","ML/(8.HR)","volume",3.472222222222222e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,0,"ml/8hrs; ml/8 hrs; mL per 8hrs; 8 hrs; milliliters per 8 hours; millilitres; shift","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 8 hour per kilogram","mL/(8.h)/kg","(ML/(8.HR))/KG","volume",3.472222222222222e-14,[3,-1,-1,0,0,0,0],"(mL/h)/kg","iso1000",true,null,null,1,false,false,0,0,"mL/kg/(8.h); ml/8h/kg; ml/8 h/kg; ml/8hr/kg; ml/8 hr/kgr; mL per 8h per kg; 8 h; 8hr; 8 hr; milliliters per 8 hours per kilogram; millilitres; shift","LOINC","VRatCnt","Clinical","unit used to measure renal excretion volume rate per body mass","l",null,"1",1,false],[false,"milliliter per square inch (international)","mL/[sin_i]","ML/[SIN_I]","volume",0.0015500031000061998,[1,0,0,0,0,0,0],"mL","iso1000",true,null,null,1,false,false,0,0,"mL/sin; mL/in2; mL/in^2; mL per sin; in2; in^2; sq. in; milliliters per square inch; inch squared","LOINC","ArVol","Clinical","","l",null,"1",1,false],[false,"milliliter per centimeter of water","mL/cm[H2O]","ML/CM[H2O]","volume",1.0197162129779282e-11,[4,2,-1,0,0,0,0],"mL/(cm\xa0HO<sub><r>2</r></sub>)","iso1000",true,null,null,1,false,false,0,0,"milliliters per centimeter of water; millilitre per centimetre of water; millilitres per centimetre of water; mL/cmH2O; mL/cm H2O; mL per cmH2O; mL per cm H2O","LOINC","Compli","Clinical","unit used to measure dynamic lung compliance","l",null,"1",1,false],[false,"milliliter per day","mL/d","ML/D","volume",1.1574074074074074e-11,[3,-1,0,0,0,0,0],"mL/d","iso1000",true,null,null,1,false,false,0,0,"ml/day; ml per day; milliliters per day; 24 hours; 24hrs; millilitre;","LOINC","VRat","Clinical","usually used to measure fluid output or input; flow rate","l",null,"1",1,false],[false,"milliliter per deciliter","mL/dL","ML/DL","volume",0.009999999999999998,[0,0,0,0,0,0,0],"mL/dL","iso1000",true,null,null,1,false,false,0,0,"mL per dL; millilitres; decilitre; milliliters","LOINC","VFr; VFrDiff","Clinical","","l",null,"1",1,false],[false,"milliliter per hour","mL/h","ML/HR","volume",2.7777777777777777e-10,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,0,"mL/hr; mL per hr; milliliters per hour; millilitres; fluid intake; fluid output","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per kilogram","mL/kg","ML/KG","volume",9.999999999999999e-10,[3,0,-1,0,0,0,0],"mL/kg","iso1000",true,null,null,1,false,false,0,0,"mL per kg; milliliters per kilogram; millilitres","LOINC","VCnt","Clinical","","l",null,"1",1,false],[false,"milliliter per kilogram per 8 hour","mL/kg/(8.h)","(ML/KG)/(8.HR)","volume",3.472222222222222e-14,[3,-1,-1,0,0,0,0],"(mL/kg)/h","iso1000",true,null,null,1,false,false,0,0,"mL/(8.h.kg); mL/kg/8hrs; mL/kg/8 hrs; mL per kg per 8hrs; 8 hrs; milliliters per kilograms per 8 hours; millilitres; shift","LOINC","VCntRat; RelEngRat","Clinical","unit used to measure renal excretion volume rate per body mass","l",null,"1",1,false],[false,"milliliter per kilogram per day","mL/kg/d","(ML/KG)/D","volume",1.1574074074074072e-14,[3,-1,-1,0,0,0,0],"(mL/kg)/d","iso1000",true,null,null,1,false,false,0,0,"mL/(kg.d); mL/kg/dy; mL per kg per day; milliliters per kilograms per day; mg/kg/24hrs; 24 hrs; per 24 hours millilitres","LOINC","VCntRat; RelEngRat","Clinical","unit used to measure renal excretion volume rate per body mass","l",null,"1",1,false],[false,"milliliter per kilogram per hour","mL/kg/h","(ML/KG)/HR","volume",2.7777777777777774e-13,[3,-1,-1,0,0,0,0],"(mL/kg)/h","iso1000",true,null,null,1,false,false,0,0,"mL/(kg.h); mL/kg/hr; mL per kg per hr; milliliters per kilograms per hour; millilitres","LOINC","VCntRat; RelEngRat","Clinical","unit used to measure renal excretion volume rate per body mass","l",null,"1",1,false],[false,"milliliter per kilogram per minute","mL/kg/min","(ML/KG)/MIN","volume",1.6666666666666664e-11,[3,-1,-1,0,0,0,0],"(mL/kg)/min","iso1000",true,null,null,1,false,false,0,0,"mL/(kg.min); mL/kg/dy; mL per kg per day; milliliters per kilograms per day; millilitres","LOINC","RelEngRat","Clinical","used for tests that measure activity metabolic rate compared to standard resting metabolic rate ","l",null,"1",1,false],[false,"milliliter per square meter","mL/m2","ML/M2","volume",0.000001,[1,0,0,0,0,0,0],"mL/(m<sup>2</sup>)","iso1000",true,null,null,1,false,false,0,0,"mL/m^2; mL/sq. meter; mL per m2; m^2; sq. meter; milliliters per square meter; millilitres; meter squared","LOINC","ArVol","Clinical","used for tests that relate to heart work - e.g. ventricular stroke volume; atrial volume per body surface area","l",null,"1",1,false],[false,"milliliter per millibar","mL/mbar","ML/MBAR","volume",1e-11,[4,2,-1,0,0,0,0],"mL/mbar","iso1000",true,null,null,1,false,false,0,0,"mL per mbar; milliliters per millibar; millilitres","LOINC","","Clinical","unit used to measure dynamic lung compliance","l",null,"1",1,false],[false,"milliliter per minute","mL/min","ML/MIN","volume",1.6666666666666667e-8,[3,-1,0,0,0,0,0],"mL/min","iso1000",true,null,null,1,false,false,0,0,"mL per min; milliliters; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per minute per square meter","mL/min/m2","(ML/MIN)/M2","volume",1.6666666666666667e-8,[1,-1,0,0,0,0,0],"(mL/min)/(m<sup>2</sup>)","iso1000",true,null,null,1,false,false,0,0,"ml/min/m^2; ml/min/sq. meter; mL per min per m2; m^2; sq. meter; milliliters per minutes per square meter; millilitres; metre; meter squared","LOINC","ArVRat","Clinical","unit used to measure volume per body surface area; oxygen consumption index","l",null,"1",1,false],[false,"milliliter per millimeter","mL/mm","ML/MM","volume",0.001,[2,0,0,0,0,0,0],"mL/mm","iso1000",true,null,null,1,false,false,0,0,"mL per mm; milliliters per millimeter; millilitres; millimetre","LOINC","Lineic Volume","Clinical","","l",null,"1",1,false],[false,"milliliter per second","mL/s","ML/S","volume",0.000001,[3,-1,0,0,0,0,0],"mL/s","iso1000",true,null,null,1,false,false,0,0,"ml/sec; mL per sec; milliliters per second; millilitres","LOINC","Vel; VelRat; VRat","Clinical","","l",null,"1",1,false],[false,"millimeter","mm","MM","length",0.001,[1,0,0,0,0,0,0],"mm",null,false,"L",null,1,false,false,0,0,"millimeters; millimetres; height; length; diameter; thickness; axis; curvature; size","LOINC","Len","Clinical","",null,null,null,null,false],[false,"millimeter per hour","mm/h","MM/HR","length",2.7777777777777776e-7,[1,-1,0,0,0,0,0],"mm/h",null,false,"L",null,1,false,false,0,0,"mm/hr; mm per hr; millimeters per hour; millimetres","LOINC","Vel","Clinical","unit to measure sedimentation rate",null,null,null,null,false],[false,"millimeter per minute","mm/min","MM/MIN","length",0.000016666666666666667,[1,-1,0,0,0,0,0],"mm/min",null,false,"L",null,1,false,false,0,0,"mm per min; millimeters per minute; millimetres","LOINC","Vel","Clinical","",null,null,null,null,false],[false,"millimeter of water","mm[H2O]","MM[H2O]","pressure",9806.65,[-1,-2,1,0,0,0,0],"mm\xa0HO<sub><r>2</r></sub>","clinical",true,null,null,1,false,false,0,0,"mmH2O; mm H2O; millimeters of water; millimetres","LOINC","Pres","Clinical","","kPa","KPAL","980665e-5",9.80665,false],[false,"millimeter of mercury","mm[Hg]","MM[HG]","pressure",133322,[-1,-2,1,0,0,0,0],"mm\xa0Hg","clinical",true,null,null,1,false,false,0,0,"mmHg; mm Hg; millimeters of mercury; millimetres","LOINC","Pres; PPres; Ratio","Clinical","1 mm[Hg] = 1 torr; unit to measure blood pressure","kPa","KPAL","133.3220",133.322,false],[false,"square millimeter","mm2","MM2","length",0.000001,[2,0,0,0,0,0,0],"mm<sup>2</sup>",null,false,"L",null,1,false,false,0,0,"mm^2; sq. mm.; sq. millimeters; millimeters squared; millimetres","LOINC","Area","Clinical","",null,null,null,null,false],[false,"millimole","mmol","MMOL","amount of substance",602213670000000000000,[0,0,0,0,0,0,0],"mmol","si",true,null,null,1,false,false,1,0,"millimoles","LOINC","Sub","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per 12 hour","mmol/(12.h)","MMOL/(12.HR)","amount of substance",13940131250000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,1,0,"mmol/12hrs; mmol/12 hrs; mmol per 12 hrs; 12hrs; millimoles per 12 hours","LOINC","SRat","Clinical","unit for tests related to urine","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per 2 hour","mmol/(2.h)","MMOL/(2.HR)","amount of substance",83640787500000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,1,0,"mmol/2hrs; mmol/2 hrs; mmol per 2 hrs; 2hrs; millimoles per 2 hours","LOINC","SRat","Clinical","unit for tests related to urine","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per 24 hour","mmol/(24.h)","MMOL/(24.HR)","amount of substance",6970065625000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,1,0,"mmol/24hrs; mmol/24 hrs; mmol per 24 hrs; 24hrs; millimoles per 24 hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per 5 hour","mmol/(5.h)","MMOL/(5.HR)","amount of substance",33456315000000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,1,0,"mmol/5hrs; mmol/5 hrs; mmol per 5 hrs; 5hrs; millimoles per 5 hours","LOINC","SRat","Clinical","unit for tests related to doses","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per 6 hour","mmol/(6.h)","MMOL/(6.HR)","amount of substance",27880262500000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,1,0,"mmol/6hrs; mmol/6 hrs; mmol per 6 hrs; 6hrs; millimoles per 6 hours","LOINC","SRat","Clinical","unit for tests related to urine","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per 8 hour","mmol/(8.h)","MMOL/(8.HR)","amount of substance",20910196875000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,1,0,"mmol/8hrs; mmol/8 hrs; mmol per 8 hrs; 8hrs; millimoles per 8 hours; shift","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per day","mmol/d","MMOL/D","amount of substance",6970065625000000,[0,-1,0,0,0,0,0],"mmol/d","si",true,null,null,1,false,false,1,0,"mmol/24hrs; mmol/24 hrs; mmol per 24 hrs; 24hrs; millimoles per 24 hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per deciliter","mmol/dL","MMOL/DL","amount of substance",6.022136699999999e+24,[-3,0,0,0,0,0,0],"mmol/dL","si",true,null,null,1,false,false,1,0,"mmol per dL; millimoles; decilitre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per gram","mmol/g","MMOL/G","amount of substance",602213670000000000000,[0,0,-1,0,0,0,0],"mmol/g","si",true,null,null,1,false,false,1,0,"mmol per gram; millimoles","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per hour","mmol/h","MMOL/HR","amount of substance",167281575000000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,1,0,"mmol/hr; mmol per hr; millimoles per hour","LOINC","SRat","Clinical","unit for tests related to urine","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per kilogram","mmol/kg","MMOL/KG","amount of substance",602213670000000000,[0,0,-1,0,0,0,0],"mmol/kg","si",true,null,null,1,false,false,1,0,"mmol per kg; millimoles per kilogram","LOINC","SCnt","Clinical","unit for tests related to stool","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per kilogram per 8 hour","mmol/kg/(8.h)","(MMOL/KG)/(8.HR)","amount of substance",20910196875000,[0,-1,-1,0,0,0,0],"(mmol/kg)/h","si",true,null,null,1,false,false,1,0,"mmol/(8.h.kg); mmol/kg/8hrs; mmol/kg/8 hrs; mmol per kg per 8hrs; 8 hrs; millimoles per kilograms per 8 hours; shift","LOINC","CCnt","Clinical","unit used to measure molar dose rate per patient body mass","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per kilogram per day","mmol/kg/d","(MMOL/KG)/D","amount of substance",6970065625000,[0,-1,-1,0,0,0,0],"(mmol/kg)/d","si",true,null,null,1,false,false,1,0,"mmol/kg/dy; mmol/kg/day; mmol per kg per dy; millimoles per kilograms per day","LOINC","RelSRat","Clinical","unit used to measure molar dose rate per patient body mass","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per kilogram per hour","mmol/kg/h","(MMOL/KG)/HR","amount of substance",167281575000000,[0,-1,-1,0,0,0,0],"(mmol/kg)/h","si",true,null,null,1,false,false,1,0,"mmol/kg/hr; mmol per kg per hr; millimoles per kilograms per hour","LOINC","CCnt","Clinical","unit used to measure molar dose rate per patient body mass","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per kilogram per minute","mmol/kg/min","(MMOL/KG)/MIN","amount of substance",10036894500000000,[0,-1,-1,0,0,0,0],"(mmol/kg)/min","si",true,null,null,1,false,false,1,0,"mmol/(kg.min); mmol/kg/min; mmol per kg per min; millimoles per kilograms per minute","LOINC","CCnt","Clinical","unit used to measure molar dose rate per patient body mass; note that the unit for the enzyme unit U = umol/min. mmol/kg/min = kU/kg; ","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per liter","mmol/L","MMOL/L","amount of substance",6.0221367e+23,[-3,0,0,0,0,0,0],"mmol/L","si",true,null,null,1,false,false,1,0,"mmol per L; millimoles per liter; litre","LOINC","SCnc","Clinical","unit for tests related to doses","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per square meter","mmol/m2","MMOL/M2","amount of substance",602213670000000000000,[-2,0,0,0,0,0,0],"mmol/(m<sup>2</sup>)","si",true,null,null,1,false,false,1,0,"mmol/m^2; mmol/sq. meter; mmol per m2; m^2; sq. meter; millimoles; meter squared; metre","LOINC","ArSub","Clinical","unit used to measure molar dose per patient body surface area","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per minute","mmol/min","MMOL/MIN","amount of substance",10036894500000000000,[0,-1,0,0,0,0,0],"mmol/min","si",true,null,null,1,false,false,1,0,"mmol per min; millimoles per minute","LOINC","Srat; CAct","Clinical","unit for the enzyme unit U = umol/min. mmol/min = kU","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per millimole","mmol/mmol","MMOL/MMOL","amount of substance",1,[0,0,0,0,0,0,0],"mmol/mmol","si",true,null,null,1,false,false,0,0,"mmol per mmol; millimoles per millimole","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per mole","mmol/mol","MMOL/MOL","amount of substance",0.001,[0,0,0,0,0,0,0],"mmol/mol","si",true,null,null,1,false,false,0,0,"mmol per mol; millimoles per mole","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per second per liter","mmol/s/L","(MMOL/S)/L","amount of substance",6.0221367e+23,[-3,-1,0,0,0,0,0],"(mmol/s)/L","si",true,null,null,1,false,false,1,0,"mmol/sec/L; mmol per s per L; per sec; millimoles per seconds per liter; litre","LOINC","CCnc ","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"mole per kilogram","mol/kg","MOL/KG","amount of substance",602213670000000000000,[0,0,-1,0,0,0,0],"mol/kg","si",true,null,null,1,false,false,1,0,"mol per kg; moles; mols","LOINC","SCnt","Clinical","unit for tests related to stool","10*23","10*23","6.0221367",6.0221367,false],[false,"mole per kilogram per second","mol/kg/s","(MOL/KG)/S","amount of substance",602213670000000000000,[0,-1,-1,0,0,0,0],"(mol/kg)/s","si",true,null,null,1,false,false,1,0,"mol/kg/sec; mol per kg per sec; moles per kilograms per second; mols","LOINC","CCnt","Clinical","unit of catalytic activity (mol/s) per mass (kg)","10*23","10*23","6.0221367",6.0221367,false],[false,"mole per liter","mol/L","MOL/L","amount of substance",6.0221366999999994e+26,[-3,0,0,0,0,0,0],"mol/L","si",true,null,null,1,false,false,1,0,"mol per L; moles per liter; litre; moles; mols","LOINC","SCnc","Clinical","unit often used in tests measuring oxygen content","10*23","10*23","6.0221367",6.0221367,false],[false,"mole per cubic meter","mol/m3","MOL/M3","amount of substance",6.0221367e+23,[-3,0,0,0,0,0,0],"mol/(m<sup>3</sup>)","si",true,null,null,1,false,false,1,0,"mol/m^3; mol/cu. m; mol per m3; m^3; cu. meter; mols; moles; meters cubed; metre; mole per kiloliter; kilolitre; mol/kL","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"mole per milliliter","mol/mL","MOL/ML","amount of substance",6.0221367e+29,[-3,0,0,0,0,0,0],"mol/mL","si",true,null,null,1,false,false,1,0,"mol per mL; moles; millilitre; mols","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"mole per mole","mol/mol","MOL/MOL","amount of substance",1,[0,0,0,0,0,0,0],"mol/mol","si",true,null,null,1,false,false,0,0,"mol per mol; moles per mol; mols","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"mole per second","mol/s","MOL/S","amount of substance",6.0221367e+23,[0,-1,0,0,0,0,0],"mol/s","si",true,null,null,1,false,false,1,0,"mol per sec; moles per second; mols","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"milliosmole","mosm","MOSM","amount of substance (dissolved particles)",602213670000000000000,[0,0,0,0,0,0,0],"mosm","chemical",true,null,null,1,false,false,1,0,"milliosmoles","LOINC","Osmol","Clinical","equal to 1/1000 of an osmole","mol","MOL","1",1,false],[false,"milliosmole per kilogram","mosm/kg","MOSM/KG","amount of substance (dissolved particles)",602213670000000000,[0,0,-1,0,0,0,0],"mosm/kg","chemical",true,null,null,1,false,false,1,0,"mosm per kg; milliosmoles per kilogram","LOINC","Osmol","Clinical","","mol","MOL","1",1,false],[false,"milliosmole per liter","mosm/L","MOSM/L","amount of substance (dissolved particles)",6.0221367e+23,[-3,0,0,0,0,0,0],"mosm/L","chemical",true,null,null,1,false,false,1,0,"mosm per liter; litre; milliosmoles","LOINC","Osmol","Clinical","","mol","MOL","1",1,false],[false,"millipascal","mPa","MPAL","pressure",1,[-1,-2,1,0,0,0,0],"mPa","si",true,null,null,1,false,false,0,0,"millipascals","LOINC","Pres","Clinical","unit of pressure","N/m2","N/M2","1",1,false],[false,"millipascal second","mPa.s","MPAL.S","pressure",1,[-1,-1,1,0,0,0,0],"mPa.s","si",true,null,null,1,false,false,0,0,"mPa*s; millipoise; mP; dynamic viscosity","LOINC","Visc","Clinical","base units for millipoise, a measurement of dynamic viscosity","N/m2","N/M2","1",1,false],[false,"megasecond","Ms","MAS","time",1000000,[0,1,0,0,0,0,0],"Ms",null,false,"T",null,1,false,false,0,0,"megaseconds","LOINC","Time","Clinical","",null,null,null,null,false],[false,"millisecond","ms","MS","time",0.001,[0,1,0,0,0,0,0],"ms",null,false,"T",null,1,false,false,0,0,"milliseconds; duration","LOINC","Time","Clinical","",null,null,null,null,false],[false,"milli enzyme unit per gram","mU/g","MU/G","catalytic activity",10036894500000,[0,-1,-1,0,0,0,0],"mU/g","chemical",true,null,null,1,false,false,1,0,"mU per gm; milli enzyme units per gram; enzyme activity; enzymatic activity per mass","LOINC","CCnt","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 mU = 1 nmol/min","umol/min","UMOL/MIN","1",1,false],[false,"milli enzyme unit per liter","mU/L","MU/L","catalytic activity",10036894500000000,[-3,-1,0,0,0,0,0],"mU/L","chemical",true,null,null,1,false,false,1,0,"mU per liter; litre; milli enzyme units enzymatic activity per volume; enzyme activity","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 mU = 1 nmol/min","umol/min","UMOL/MIN","1",1,false],[false,"milli enzyme unit per milligram","mU/mg","MU/MG","catalytic activity",10036894500000000,[0,-1,-1,0,0,0,0],"mU/mg","chemical",true,null,null,1,false,false,1,0,"mU per mg; milli enzyme units per milligram","LOINC","CCnt","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 mU = 1 nmol/min","umol/min","UMOL/MIN","1",1,false],[false,"milli enzyme unit per milliliter","mU/mL","MU/ML","catalytic activity",10036894500000000000,[-3,-1,0,0,0,0,0],"mU/mL","chemical",true,null,null,1,false,false,1,0,"mU per mL; milli enzyme units per milliliter; millilitre; enzymatic activity per volume; enzyme activity","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 mU = 1 nmol/min","umol/min","UMOL/MIN","1",1,false],[false,"milli enzyme unit per milliliter per minute","mU/mL/min","(MU/ML)/MIN","catalytic activity",167281575000000000,[-3,-2,0,0,0,0,0],"(mU/mL)/min","chemical",true,null,null,1,false,false,1,0,"mU per mL per min; mU per milliliters per minute; millilitres; milli enzyme units; enzymatic activity; enzyme activity","LOINC","CCncRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 mU = 1 nmol/min","umol/min","UMOL/MIN","1",1,false],[false,"millivolt","mV","MV","electric potential",1,[2,-2,1,0,0,-1,0],"mV","si",true,null,null,1,false,false,0,0,"millivolts","LOINC","Elpot","Clinical","unit of electric potential (voltage)","J/C","J/C","1",1,false],[false,"Newton centimeter","N.cm","N.CM","force",10,[2,-2,1,0,0,0,0],"N.cm","si",true,null,null,1,false,false,0,0,"N*cm; Ncm; N cm; Newton*centimeters; Newton* centimetres; torque; work","LOINC","","Clinical","as a measurement of work, N.cm = 1/100 Joules;\\nnote that N.m is the standard unit of measurement for torque (although dimensionally equivalent to Joule), and N.cm can also be thought of as a torqe unit","kg.m/s2","KG.M/S2","1",1,false],[false,"Newton second","N.s","N.S","force",1000,[1,-1,1,0,0,0,0],"N.s","si",true,null,null,1,false,false,0,0,"Newton*seconds; N*s; N s; Ns; impulse; imp","LOINC","","Clinical","standard unit of impulse","kg.m/s2","KG.M/S2","1",1,false],[false,"nanogram","ng","NG","mass",1e-9,[0,0,1,0,0,0,0],"ng",null,false,"M",null,1,false,false,0,0,"nanograms","LOINC","Mass","Clinical","",null,null,null,null,false],[false,"nanogram per 24 hour","ng/(24.h)","NG/(24.HR)","mass",1.1574074074074075e-14,[0,-1,1,0,0,0,0],"ng/h",null,false,"M",null,1,false,false,0,0,"ng/24hrs; ng/24 hrs; nanograms per 24 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"nanogram per 8 hour","ng/(8.h)","NG/(8.HR)","mass",3.4722222222222224e-14,[0,-1,1,0,0,0,0],"ng/h",null,false,"M",null,1,false,false,0,0,"ng/8hrs; ng/8 hrs; nanograms per 8 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"nanogram per million","ng/10*6","NG/(10*6)","mass",1e-15,[0,0,1,0,0,0,0],"ng/(10<sup>6</sup>)",null,false,"M",null,1,false,false,0,0,"ng/10^6; ng per 10*6; 10^6; nanograms","LOINC","MNum","Clinical","",null,null,null,null,false],[false,"nanogram per day","ng/d","NG/D","mass",1.1574074074074075e-14,[0,-1,1,0,0,0,0],"ng/d",null,false,"M",null,1,false,false,0,0,"ng/dy; ng per day; nanograms ","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"nanogram per deciliter","ng/dL","NG/DL","mass",0.00001,[-3,0,1,0,0,0,0],"ng/dL",null,false,"M",null,1,false,false,0,0,"ng per dL; nanograms per deciliter; decilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"nanogram per gram","ng/g","NG/G","mass",1e-9,[0,0,0,0,0,0,0],"ng/g",null,false,"M",null,1,false,false,0,0,"ng/gm; ng per gm; nanograms per gram","LOINC","MCnt","Clinical","",null,null,null,null,false],[false,"nanogram per hour","ng/h","NG/HR","mass",2.777777777777778e-13,[0,-1,1,0,0,0,0],"ng/h",null,false,"M",null,1,false,false,0,0,"ng/hr; ng per hr; nanograms per hour","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"nanogram per kilogram","ng/kg","NG/KG","mass",1e-12,[0,0,0,0,0,0,0],"ng/kg",null,false,"M",null,1,false,false,0,0,"ng per kg; nanograms per kilogram","LOINC","MCnt","Clinical","",null,null,null,null,false],[false,"nanogram per kilogram per 8 hour","ng/kg/(8.h)","(NG/KG)/(8.HR)","mass",3.472222222222222e-17,[0,-1,0,0,0,0,0],"(ng/kg)/h",null,false,"M",null,1,false,false,0,0,"ng/(8.h.kg); ng/kg/8hrs; ng/kg/8 hrs; ng per kg per 8hrs; 8 hrs; nanograms per kilograms per 8 hours; shift","LOINC","MRtoRat ","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[false,"nanogram per kilogram per hour","ng/kg/h","(NG/KG)/HR","mass",2.7777777777777775e-16,[0,-1,0,0,0,0,0],"(ng/kg)/h",null,false,"M",null,1,false,false,0,0,"ng/(kg.h); ng/kg/hr; ng per kg per hr; nanograms per kilograms per hour","LOINC","MRtoRat ","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[false,"nanogram per kilogram per minute","ng/kg/min","(NG/KG)/MIN","mass",1.6666666666666667e-14,[0,-1,0,0,0,0,0],"(ng/kg)/min",null,false,"M",null,1,false,false,0,0,"ng/(kg.min); ng per kg per min; nanograms per kilograms per minute","LOINC","MRtoRat ","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[false,"nanogram per liter","ng/L","NG/L","mass",0.000001,[-3,0,1,0,0,0,0],"ng/L",null,false,"M",null,1,false,false,0,0,"ng per L; nanograms per liter; litre","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"nanogram per square meter","ng/m2","NG/M2","mass",1e-9,[-2,0,1,0,0,0,0],"ng/(m<sup>2</sup>)",null,false,"M",null,1,false,false,0,0,"ng/m^2; ng/sq. m; ng per m2; m^2; sq. meter; nanograms; meter squared; metre","LOINC","ArMass","Clinical","unit used to measure mass dose per patient body surface area",null,null,null,null,false],[false,"nanogram per milligram","ng/mg","NG/MG","mass",0.000001,[0,0,0,0,0,0,0],"ng/mg",null,false,"M",null,1,false,false,0,0,"ng per mg; nanograms","LOINC","MCnt","Clinical","",null,null,null,null,false],[false,"nanogram per milligram per hour","ng/mg/h","(NG/MG)/HR","mass",2.7777777777777777e-10,[0,-1,0,0,0,0,0],"(ng/mg)/h",null,false,"M",null,1,false,false,0,0,"ng/mg/hr; ng per mg per hr; nanograms per milligrams per hour","LOINC","MRtoRat ","Clinical","",null,null,null,null,false],[false,"nanogram per minute","ng/min","NG/MIN","mass",1.6666666666666667e-11,[0,-1,1,0,0,0,0],"ng/min",null,false,"M",null,1,false,false,0,0,"ng per min; nanograms","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"nanogram per millliiter","ng/mL","NG/ML","mass",0.001,[-3,0,1,0,0,0,0],"ng/mL",null,false,"M",null,1,false,false,0,0,"ng per mL; nanograms; millilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"nanogram per milliliter per hour","ng/mL/h","(NG/ML)/HR","mass",2.7777777777777776e-7,[-3,-1,1,0,0,0,0],"(ng/mL)/h",null,false,"M",null,1,false,false,0,0,"ng/mL/hr; ng per mL per mL; nanograms per milliliter per hour; nanogram per millilitre per hour; nanograms per millilitre per hour; enzymatic activity per volume; enzyme activity per milliliters","LOINC","CCnc","Clinical","tests that measure enzymatic activity",null,null,null,null,false],[false,"nanogram per second","ng/s","NG/S","mass",1e-9,[0,-1,1,0,0,0,0],"ng/s",null,false,"M",null,1,false,false,0,0,"ng/sec; ng per sec; nanograms per second","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"nanogram per enzyme unit","ng/U","NG/U","mass",9.963241120049634e-26,[0,1,1,0,0,0,0],"ng/U",null,false,"M",null,1,false,false,-1,0,"ng per U; nanograms per enzyme unit","LOINC","CMass","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)",null,null,null,null,false],[false,"nanokatal","nkat","NKAT","catalytic activity",602213670000000,[0,-1,0,0,0,0,0],"nkat","chemical",true,null,null,1,false,false,1,0,"nanokatals","LOINC","CAct","Clinical","kat is a unit of catalytic activity with base units = mol/s. Rarely used because its units are too large to practically express catalytic activity. See enzyme unit [U] which is the standard unit for catalytic activity.","mol/s","MOL/S","1",1,false],[false,"nanoliter","nL","NL","volume",1.0000000000000002e-12,[3,0,0,0,0,0,0],"nL","iso1000",true,null,null,1,false,false,0,0,"nanoliters; nanolitres","LOINC","Vol","Clinical","","l",null,"1",1,false],[false,"nanometer","nm","NM","length",1e-9,[1,0,0,0,0,0,0],"nm",null,false,"L",null,1,false,false,0,0,"nanometers; nanometres","LOINC","Len","Clinical","",null,null,null,null,false],[false,"nanometer per second per liter","nm/s/L","(NM/S)/L","length",0.000001,[-2,-1,0,0,0,0,0],"(nm/s)/L",null,false,"L",null,1,false,false,0,0,"nm/sec/liter; nm/sec/litre; nm per s per l; nm per sec per l; nanometers per second per liter; nanometre per second per litre; nanometres per second per litre","LOINC","VelCnc","Clinical","",null,null,null,null,false],[false,"nanomole","nmol","NMOL","amount of substance",602213670000000,[0,0,0,0,0,0,0],"nmol","si",true,null,null,1,false,false,1,0,"nanomoles","LOINC","Sub","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per 24 hour","nmol/(24.h)","NMOL/(24.HR)","amount of substance",6970065625,[0,-1,0,0,0,0,0],"nmol/h","si",true,null,null,1,false,false,1,0,"nmol/24hr; nmol/24 hr; nanomoles per 24 hours; nmol/day; nanomoles per day; nmol per day; nanomole/day; nanomol/day","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per day","nmol/d","NMOL/D","amount of substance",6970065625,[0,-1,0,0,0,0,0],"nmol/d","si",true,null,null,1,false,false,1,0,"nmol/day; nanomoles per day; nmol per day; nanomole/day; nanomol/day; nmol/24hr; nmol/24 hr; nanomoles per 24 hours; ","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per deciliter","nmol/dL","NMOL/DL","amount of substance",6022136700000000000,[-3,0,0,0,0,0,0],"nmol/dL","si",true,null,null,1,false,false,1,0,"nmol per dL; nanomoles per deciliter; nanomole per decilitre; nanomoles per decilitre; nanomole/deciliter; nanomole/decilitre; nanomol/deciliter; nanomol/decilitre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per gram","nmol/g","NMOL/G","amount of substance",602213670000000,[0,0,-1,0,0,0,0],"nmol/g","si",true,null,null,1,false,false,1,0,"nmol per gram; nanomoles per gram; nanomole/gram","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per hour per liter","nmol/h/L","(NMOL/HR)/L","amount of substance",167281575000000,[-3,-1,0,0,0,0,0],"(nmol/h)/L","si",true,null,null,1,false,false,1,0,"nmol/hrs/L; nmol per hrs per L; nanomoles per hours per liter; litre; enzymatic activity per volume; enzyme activities","LOINC","CCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per liter","nmol/L","NMOL/L","amount of substance",602213670000000000,[-3,0,0,0,0,0,0],"nmol/L","si",true,null,null,1,false,false,1,0,"nmol per L; nanomoles per liter; litre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per milligram","nmol/mg","NMOL/MG","amount of substance",602213670000000000,[0,0,-1,0,0,0,0],"nmol/mg","si",true,null,null,1,false,false,1,0,"nmol per mg; nanomoles per milligram","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per milligram per hour","nmol/mg/h","(NMOL/MG)/HR","amount of substance",167281575000000,[0,-1,-1,0,0,0,0],"(nmol/mg)/h","si",true,null,null,1,false,false,1,0,"nmol/mg/hr; nmol per mg per hr; nanomoles per milligrams per hour","LOINC","SCntRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per milligram of protein","nmol/mg{prot}","NMOL/MG","amount of substance",602213670000000000,[0,0,-1,0,0,0,0],"nmol/mg","si",true,null,null,1,false,false,1,0,"nanomoles; nmol/mg prot; nmol per mg prot","LOINC","Ratio; CCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per minute","nmol/min","NMOL/MIN","amount of substance",10036894500000,[0,-1,0,0,0,0,0],"nmol/min","si",true,null,null,1,false,false,1,0,"nmol per min; nanomoles per minute; milli enzyme units; enzyme activity per volume; enzymatic activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. nmol/min = mU (milli enzyme unit)","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per minute per milliliter","nmol/min/mL","(NMOL/MIN)/ML","amount of substance",10036894500000000000,[-3,-1,0,0,0,0,0],"(nmol/min)/mL","si",true,null,null,1,false,false,1,0,"nmol per min per mL; nanomoles per minutes per milliliter; millilitre; milli enzyme units per volume; enzyme activity; enzymatic activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. nmol/mL/min = mU/mL","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per milliliter","nmol/mL","NMOL/ML","amount of substance",602213670000000000000,[-3,0,0,0,0,0,0],"nmol/mL","si",true,null,null,1,false,false,1,0,"nmol per mL; nanomoles per milliliter; millilitre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per milliliter per hour","nmol/mL/h","(NMOL/ML)/HR","amount of substance",167281575000000000,[-3,-1,0,0,0,0,0],"(nmol/mL)/h","si",true,null,null,1,false,false,1,0,"nmol/mL/hr; nmol per mL per hr; nanomoles per milliliters per hour; millilitres; milli enzyme units per volume; enzyme activity; enzymatic activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min.","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per milliliter per minute","nmol/mL/min","(NMOL/ML)/MIN","amount of substance",10036894500000000000,[-3,-1,0,0,0,0,0],"(nmol/mL)/min","si",true,null,null,1,false,false,1,0,"nmol per mL per min; nanomoles per milliliters per min; millilitres; milli enzyme units per volume; enzyme activity; enzymatic activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. nmol/mL/min = mU/mL","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per millimole","nmol/mmol","NMOL/MMOL","amount of substance",0.000001,[0,0,0,0,0,0,0],"nmol/mmol","si",true,null,null,1,false,false,0,0,"nmol per mmol; nanomoles per millimole","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per millimole of creatinine","nmol/mmol{creat}","NMOL/MMOL","amount of substance",0.000001,[0,0,0,0,0,0,0],"nmol/mmol","si",true,null,null,1,false,false,0,0,"nanomoles","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per mole","nmol/mol","NMOL/MOL","amount of substance",1e-9,[0,0,0,0,0,0,0],"nmol/mol","si",true,null,null,1,false,false,0,0,"nmol per mole; nanomoles","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per nanomole","nmol/nmol","NMOL/NMOL","amount of substance",1,[0,0,0,0,0,0,0],"nmol/nmol","si",true,null,null,1,false,false,0,0,"nmol per nmol; nanomoles","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per second","nmol/s","NMOL/S","amount of substance",602213670000000,[0,-1,0,0,0,0,0],"nmol/s","si",true,null,null,1,false,false,1,0,"nmol/sec; nmol per sec; nanomoles per sercond; milli enzyme units; enzyme activity; enzymatic activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min.","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per second per liter","nmol/s/L","(NMOL/S)/L","amount of substance",602213670000000000,[-3,-1,0,0,0,0,0],"(nmol/s)/L","si",true,null,null,1,false,false,1,0,"nmol/sec/L; nmol per s per L; nmol per sec per L; nanomoles per seconds per liter; litre; milli enzyme units per volume; enzyme activity; enzymatic activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min.","10*23","10*23","6.0221367",6.0221367,false],[false,"nanosecond","ns","NS","time",1e-9,[0,1,0,0,0,0,0],"ns",null,false,"T",null,1,false,false,0,0,"nanoseconds","LOINC","Time","Clinical","",null,null,null,null,false],[false,"nanoenzyme unit per milliliter","nU/mL","NU/ML","catalytic activity",10036894500000,[-3,-1,0,0,0,0,0],"nU/mL","chemical",true,null,null,1,false,false,1,0,"nU per mL; nanoenzyme units per milliliter; millilitre; enzymatic activity per volume; enzyme activity","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 fU = pmol/min","umol/min","UMOL/MIN","1",1,false],[false,"Ohm meter","Ohm.m","OHM.M","electric resistance",1000,[3,-1,1,0,0,-2,0],"\u03a9.m","si",true,null,null,1,false,false,0,0,"electric resistivity; meters; metres","LOINC","","Clinical","unit of electric resistivity","V/A","V/A","1",1,false],[false,"osmole per kilogram","osm/kg","OSM/KG","amount of substance (dissolved particles)",602213670000000000000,[0,0,-1,0,0,0,0],"osm/kg","chemical",true,null,null,1,false,false,1,0,"osm per kg; osmoles per kilogram; osmols","LOINC","Osmol","Clinical","","mol","MOL","1",1,false],[false,"osmole per liter","osm/L","OSM/L","amount of substance (dissolved particles)",6.0221366999999994e+26,[-3,0,0,0,0,0,0],"osm/L","chemical",true,null,null,1,false,false,1,0,"osm per L; osmoles per liter; litre; osmols","LOINC","Osmol","Clinical","","mol","MOL","1",1,false],[false,"picoampere","pA","PA","electric current",1e-12,[0,-1,0,0,0,1,0],"pA","si",true,null,null,1,false,false,0,0,"picoamperes","LOINC","","Clinical","equal to 10^-12 amperes","C/s","C/S","1",1,false],[false,"picogram","pg","PG","mass",1e-12,[0,0,1,0,0,0,0],"pg",null,false,"M",null,1,false,false,0,0,"picograms","LOINC","Mass; EntMass","Clinical","",null,null,null,null,false],[false,"picogram per deciliter","pg/dL","PG/DL","mass",9.999999999999999e-9,[-3,0,1,0,0,0,0],"pg/dL",null,false,"M",null,1,false,false,0,0,"pg per dL; picograms; decilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"picogram per liter","pg/L","PG/L","mass",1e-9,[-3,0,1,0,0,0,0],"pg/L",null,false,"M",null,1,false,false,0,0,"pg per L; picograms; litre","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"picogram per milligram","pg/mg","PG/MG","mass",1e-9,[0,0,0,0,0,0,0],"pg/mg",null,false,"M",null,1,false,false,0,0,"pg per mg; picograms","LOINC","MCnt","Clinical","",null,null,null,null,false],[false,"picogram per milliliter","pg/mL","PG/ML","mass",0.000001,[-3,0,1,0,0,0,0],"pg/mL",null,false,"M",null,1,false,false,0,0,"pg per mL; picograms per milliliter; millilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"picogram per millimeter","pg/mm","PG/MM","mass",1e-9,[-1,0,1,0,0,0,0],"pg/mm",null,false,"M",null,1,false,false,0,0,"pg per mm; picogram/millimeter; picogram/millimetre; picograms per millimeter; millimetre","LOINC","Lineic Mass","Clinical","",null,null,null,null,false],[false,"picokatal","pkat","PKAT","catalytic activity",602213670000,[0,-1,0,0,0,0,0],"pkat","chemical",true,null,null,1,false,false,1,0,"pkats; picokatals","LOINC","CAct","Clinical","kat is a unit of catalytic activity with base units = mol/s. Rarely used because its units are too large to practically express catalytic activity. See enzyme unit [U] which is the standard unit for catalytic activity.","mol/s","MOL/S","1",1,false],[false,"picoliter","pL","PL","volume",1e-15,[3,0,0,0,0,0,0],"pL","iso1000",true,null,null,1,false,false,0,0,"picoliters; picolitres","LOINC","Vol","Clinical","","l",null,"1",1,false],[false,"picometer","pm","PM","length",1e-12,[1,0,0,0,0,0,0],"pm",null,false,"L",null,1,false,false,0,0,"picometers; picometres","LOINC","Len","Clinical","",null,null,null,null,false],[false,"picomole","pmol","PMOL","amount of substance",602213670000,[0,0,0,0,0,0,0],"pmol","si",true,null,null,1,false,false,1,0,"picomoles; pmols","LOINC","Sub","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per 24 hour","pmol/(24.h)","PMOL/(24.HR)","amount of substance",6970065.625,[0,-1,0,0,0,0,0],"pmol/h","si",true,null,null,1,false,false,1,0,"pmol/24hrs; pmol/24 hrs; pmol per 24 hrs; 24hrs; days; dy; picomoles per 24 hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per day","pmol/d","PMOL/D","amount of substance",6970065.625,[0,-1,0,0,0,0,0],"pmol/d","si",true,null,null,1,false,false,1,0,"pmol/dy; pmol per day; 24 hours; 24hrs; 24 hrs; picomoles","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per deciliter","pmol/dL","PMOL/DL","amount of substance",6022136700000000,[-3,0,0,0,0,0,0],"pmol/dL","si",true,null,null,1,false,false,1,0,"pmol per dL; picomoles per deciliter; decilitre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per gram","pmol/g","PMOL/G","amount of substance",602213670000,[0,0,-1,0,0,0,0],"pmol/g","si",true,null,null,1,false,false,1,0,"pmol per gm; picomoles per gram; picomole/gram","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per hour per milliliter ","pmol/h/mL","(PMOL/HR)/ML","amount of substance",167281575000000,[-3,-1,0,0,0,0,0],"(pmol/h)/mL","si",true,null,null,1,false,false,1,0,"pmol/hrs/mL; pmol per hrs per mL; picomoles per hour per milliliter; millilitre; micro enzyme units per volume; enzymatic activity; enzyme activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. ","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per liter","pmol/L","PMOL/L","amount of substance",602213670000000,[-3,0,0,0,0,0,0],"pmol/L","si",true,null,null,1,false,false,1,0,"picomole/liter; pmol per L; picomoles; litre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per minute","pmol/min","PMOL/MIN","amount of substance",10036894500,[0,-1,0,0,0,0,0],"pmol/min","si",true,null,null,1,false,false,1,0,"picomole/minute; pmol per min; picomoles per minute; micro enzyme units; enzymatic activity; enzyme activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. pmol/min = uU (micro enzyme unit)","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per milliliter","pmol/mL","PMOL/ML","amount of substance",602213670000000000,[-3,0,0,0,0,0,0],"pmol/mL","si",true,null,null,1,false,false,1,0,"picomole/milliliter; picomole/millilitre; pmol per mL; picomoles; millilitre; picomols; pmols","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per micromole","pmol/umol","PMOL/UMOL","amount of substance",0.000001,[0,0,0,0,0,0,0],"pmol/\u03bcmol","si",true,null,null,1,false,false,0,0,"pmol/mcgmol; picomole/micromole; pmol per umol; pmol per mcgmol; picomoles ","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"picosecond","ps","PS","time",1e-12,[0,1,0,0,0,0,0],"ps",null,false,"T",null,1,false,false,0,0,"picoseconds; psec","LOINC","Time","Clinical","",null,null,null,null,false],[false,"picotesla","pT","PT","magnetic flux density",1e-9,[0,-1,1,0,0,-1,0],"pT","si",true,null,null,1,false,false,0,0,"picoteslas","LOINC","","Clinical","SI unit of magnetic field strength for magnetic field B","Wb/m2","WB/M2","1",1,false],[false,"enzyme unit per 12 hour","U/(12.h)","U/(12.HR)","catalytic activity",232335520833.33334,[0,-2,0,0,0,0,0],"U/h","chemical",true,null,null,1,false,false,1,0,"U/12hrs; U/ 12hrs; U per 12 hrs; 12hrs; enzyme units per 12 hours; enzyme activity; enzymatic activity per time; umol per min per 12 hours; micromoles per minute per 12 hours; umol/min/12hr","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per 2 hour","U/(2.h)","U/(2.HR)","catalytic activity",1394013125000,[0,-2,0,0,0,0,0],"U/h","chemical",true,null,null,1,false,false,1,0,"U/2hrs; U/ 2hrs; U per 2 hrs; 2hrs; enzyme units per 2 hours; enzyme activity; enzymatic activity per time; umol per minute per 2 hours; micromoles per minute; umol/min/2hr; umol per min per 2hr","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per 24 hour","U/(24.h)","U/(24.HR)","catalytic activity",116167760416.66667,[0,-2,0,0,0,0,0],"U/h","chemical",true,null,null,1,false,false,1,0,"U/24hrs; U/ 24hrs; U per 24 hrs; 24hrs; enzyme units per 24 hours; enzyme activity; enzymatic activity per time; micromoles per minute per 24 hours; umol/min/24hr; umol per min per 24hr","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per 10","U/10","U/10","catalytic activity",1003689450000000,[0,-1,0,0,0,0,0],"U","chemical",true,null,null,1,false,false,1,0,"enzyme unit/10; U per 10; enzyme units per 10; enzymatic activity; enzyme activity; micromoles per minute; umol/min/10","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per 10 billion","U/10*10","U/(10*10)","catalytic activity",1003689.45,[0,-1,0,0,0,0,0],"U/(10<sup>10</sup>)","chemical",true,null,null,1,false,false,1,0,"U per 10*10; enzyme units per 10*10; U per 10 billion; enzyme units; enzymatic activity; micromoles per minute per 10 billion; umol/min/10*10","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per trillion","U/10*12","U/(10*12)","catalytic activity",10036.8945,[0,-1,0,0,0,0,0],"U/(10<sup>12</sup>)","chemical",true,null,null,1,false,false,1,0,"enzyme unit/10*12; U per 10*12; enzyme units per 10*12; enzyme units per trillion; enzymatic activity; micromoles per minute per trillion; umol/min/10*12; umol per min per 10*12","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per million","U/10*6","U/(10*6)","catalytic activity",10036894500,[0,-1,0,0,0,0,0],"U/(10<sup>6</sup>)","chemical",true,null,null,1,false,false,1,0,"enzyme unit/10*6; U per 10*6; enzyme units per 10*6; enzyme units; enzymatic activity per volume; micromoles per minute per million; umol/min/10*6; umol per min per 10*6","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per billion","U/10*9","U/(10*9)","catalytic activity",10036894.5,[0,-1,0,0,0,0,0],"U/(10<sup>9</sup>)","chemical",true,null,null,1,false,false,1,0,"enzyme unit/10*9; U per 10*9; enzyme units per 10*9; enzymatic activity per volume; micromoles per minute per billion; umol/min/10*9; umol per min per 10*9","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per day","U/d","U/D","catalytic activity",116167760416.66667,[0,-2,0,0,0,0,0],"U/d","chemical",true,null,null,1,false,false,1,0,"U/dy; enzyme units per day; enzyme units; enzyme activity; enzymatic activity per time; micromoles per minute per day; umol/min/day; umol per min per day","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per deciliter","U/dL","U/DL","catalytic activity",100368945000000000000,[-3,-1,0,0,0,0,0],"U/dL","chemical",true,null,null,1,false,false,1,0,"U per dL; enzyme units per deciliter; decilitre; micromoles per minute per deciliter; umol/min/dL; umol per min per dL","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per gram","U/g","U/G","catalytic activity",10036894500000000,[0,-1,-1,0,0,0,0],"U/g","chemical",true,null,null,1,false,false,1,0,"U/gm; U per gm; enzyme units per gram; micromoles per minute per gram; umol/min/g; umol per min per g","LOINC","CCnt","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per hour","U/h","U/HR","catalytic activity",2788026250000,[0,-2,0,0,0,0,0],"U/h","chemical",true,null,null,1,false,false,1,0,"U/hr; U per hr; enzyme units per hour; micromoles per minute per hour; umol/min/hr; umol per min per hr","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per liter","U/L","U/L","catalytic activity",10036894500000000000,[-3,-1,0,0,0,0,0],"U/L","chemical",true,null,null,1,false,false,1,0,"enzyme unit/liter; enzyme unit/litre; U per L; enzyme units per liter; enzyme unit per litre; micromoles per minute per liter; umol/min/L; umol per min per L","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per minute","U/min","U/MIN","catalytic activity",167281575000000,[0,-2,0,0,0,0,0],"U/min","chemical",true,null,null,1,false,false,1,0,"enzyme unit/minute; U per min; enzyme units; umol/min/min; micromoles per minute per minute; micromoles per min per min; umol","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per milliliter","U/mL","U/ML","catalytic activity",1.00368945e+22,[-3,-1,0,0,0,0,0],"U/mL","chemical",true,null,null,1,false,false,1,0,"U per mL; enzyme units per milliliter; millilitre; micromoles per minute per milliliter; umol/min/mL; umol per min per mL","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"enzyme unit per second","U/s","U/S","catalytic activity",10036894500000000,[0,-2,0,0,0,0,0],"U/s","chemical",true,null,null,1,false,false,1,0,"U/sec; U per second; enzyme units per second; micromoles per minute per second; umol/min/sec; umol per min per sec","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,false],[false,"micro international unit","u[IU]","U[IU]","arbitrary",0.000001,[0,0,0,0,0,0,0],"\u03bci.U.","chemical",true,null,null,1,false,true,0,0,"uIU; u IU; microinternational units","LOINC","Arb","Clinical","International units (IU) are analyte and reference specimen  specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"micro international unit per liter","u[IU]/L","U[IU]/L","arbitrary",0.001,[-3,0,0,0,0,0,0],"(\u03bci.U.)/L","chemical",true,null,null,1,false,true,0,0,"uIU/L; u IU/L; uIU per L; microinternational units per liter; litre; ","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen  specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"micro international unit per milliliter","u[IU]/mL","U[IU]/ML","arbitrary",1,[-3,0,0,0,0,0,0],"(\u03bci.U.)/mL","chemical",true,null,null,1,false,true,0,0,"uIU/mL; u IU/mL; uIU per mL; microinternational units per milliliter; millilitre","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen  specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,false],[false,"microequivalent","ueq","UEQ","amount of substance",602213670000000000,[0,0,0,0,0,0,0],"\u03bceq","chemical",true,null,null,1,false,false,0,1,"microequivalents; 10^-6 equivalents; 10-6 equivalents","LOINC","Sub","Clinical","","mol","MOL","1",1,false],[false,"microequivalent per liter","ueq/L","UEQ/L","amount of substance",602213670000000000000,[-3,0,0,0,0,0,0],"\u03bceq/L","chemical",true,null,null,1,false,false,0,1,"ueq per liter; litre; microequivalents","LOINC","MCnc","Clinical","","mol","MOL","1",1,false],[false,"microequivalent per milliliter","ueq/mL","UEQ/ML","amount of substance",6.0221367000000003e+23,[-3,0,0,0,0,0,0],"\u03bceq/mL","chemical",true,null,null,1,false,false,0,1,"ueq per milliliter; millilitre; microequivalents","LOINC","MCnc","Clinical","","mol","MOL","1",1,false],[false,"microgram","ug","UG","mass",0.000001,[0,0,1,0,0,0,0],"\u03bcg",null,false,"M",null,1,false,false,0,0,"mcg; micrograms; 10^-6 grams; 10-6 grams","LOINC","Mass","Clinical","",null,null,null,null,false],[false,"microgram per 100 gram","ug/(100.g)","UG/(100.G)","mass",1e-8,[0,0,0,0,0,0,0],"\u03bcg/g",null,false,"M",null,1,false,false,0,0,"ug/100gm; ug/100 gm; mcg; ug per 100g; 100 gm; mcg per 100g; micrograms per 100 grams","LOINC","MCnt","Clinical","",null,null,null,null,false],[false,"microgram per 24 hour","ug/(24.h)","UG/(24.HR)","mass",1.1574074074074074e-11,[0,-1,1,0,0,0,0],"\u03bcg/h",null,false,"M",null,1,false,false,0,0,"ug/24hrs; ug/24 hrs; mcg/24hrs; ug per 24hrs; mcg per 24hrs; 24 hrs; micrograms per 24 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"microgram per 8 hour","ug/(8.h)","UG/(8.HR)","mass",3.472222222222222e-11,[0,-1,1,0,0,0,0],"\u03bcg/h",null,false,"M",null,1,false,false,0,0,"ug/8hrs; ug/8 hrs; mcg/8hrs; ug per 8hrs; mcg per 8hrs; 8 hrs; micrograms per 8 hours; shift","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"microgram per square foot (international)","ug/[sft_i]","UG/[SFT_I]","mass",0.000010763910416709721,[-2,0,1,0,0,0,0],"\u03bcg",null,false,"M",null,1,false,false,0,0,"ug/sft; ug/ft2; ug/ft^2; ug/sq. ft; micrograms; sq. foot; foot squared","LOINC","ArMass","Clinical","",null,null,null,null,false],[false,"microgram per day","ug/d","UG/D","mass",1.1574074074074074e-11,[0,-1,1,0,0,0,0],"\u03bcg/d",null,false,"M",null,1,false,false,0,0,"ug/dy; mcg/dy; ug per day; mcg; micrograms per day","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"microgram per deciliter","ug/dL","UG/DL","mass",0.009999999999999998,[-3,0,1,0,0,0,0],"\u03bcg/dL",null,false,"M",null,1,false,false,0,0,"ug per dL; mcg/dl; mcg per dl; micrograms per deciliter; decilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"microgram per gram","ug/g","UG/G","mass",0.000001,[0,0,0,0,0,0,0],"\u03bcg/g",null,false,"M",null,1,false,false,0,0,"ug per gm; mcg/gm; mcg per g; micrograms per gram","LOINC","MCnt","Clinical","",null,null,null,null,false],[false,"microgram per hour","ug/h","UG/HR","mass",2.7777777777777777e-10,[0,-1,1,0,0,0,0],"\u03bcg/h",null,false,"M",null,1,false,false,0,0,"ug/hr; mcg/hr; mcg per hr; ug per hr; ug per hour; micrograms","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"microgram per kilogram","ug/kg","UG/KG","mass",9.999999999999999e-10,[0,0,0,0,0,0,0],"\u03bcg/kg",null,false,"M",null,1,false,false,0,0,"ug per kg; mcg/kg; mcg per kg; micrograms per kilogram","LOINC","MCnt","Clinical","",null,null,null,null,false],[false,"microgram per kilogram per 8 hour","ug/kg/(8.h)","(UG/KG)/(8.HR)","mass",3.472222222222222e-14,[0,-1,0,0,0,0,0],"(\u03bcg/kg)/h",null,false,"M",null,1,false,false,0,0,"ug/kg/8hrs; mcg/kg/8hrs; ug/kg/8 hrs; mcg/kg/8 hrs; ug per kg per 8hrs; 8 hrs; mcg per kg per 8hrs; micrograms per kilograms per 8 hours; shift","LOINC","","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[false,"microgram per kilogram per day","ug/kg/d","(UG/KG)/D","mass",1.1574074074074072e-14,[0,-1,0,0,0,0,0],"(\u03bcg/kg)/d",null,false,"M",null,1,false,false,0,0,"ug/(kg.d); ug/kg/dy; mcg/kg/day; ug per kg per dy; 24 hours; 24hrs; mcg; kilograms; microgram per kilogram and day","LOINC","","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[false,"microgram per kilogram per hour","ug/kg/h","(UG/KG)/HR","mass",2.7777777777777774e-13,[0,-1,0,0,0,0,0],"(\u03bcg/kg)/h",null,false,"M",null,1,false,false,0,0,"ug/(kg.h); ug/kg/hr; mcg/kg/hr; ug per kg per hr; mcg per kg per hr; kilograms","LOINC","","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[false,"microgram per kilogram per minute","ug/kg/min","(UG/KG)/MIN","mass",1.6666666666666664e-11,[0,-1,0,0,0,0,0],"(\u03bcg/kg)/min",null,false,"M",null,1,false,false,0,0,"ug/kg/min; ug/kg/min; mcg/kg/min; ug per kg per min; mcg; micrograms per kilograms per minute ","LOINC","","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[false,"microgram per liter","ug/L","UG/L","mass",0.001,[-3,0,1,0,0,0,0],"\u03bcg/L",null,false,"M",null,1,false,false,0,0,"mcg/L; ug per L; mcg; micrograms per liter; litre ","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"microgram per liter per 24 hour","ug/L/(24.h)","(UG/L)/(24.HR)","mass",1.1574074074074074e-8,[-3,-1,1,0,0,0,0],"(\u03bcg/L)/h",null,false,"M",null,1,false,false,0,0,"ug/L/24hrs; ug/L/24 hrs; mcg/L/24hrs; ug per L per 24hrs; 24 hrs; day; dy mcg; micrograms per liters per 24 hours; litres","LOINC","","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,false],[false,"microgram per square meter","ug/m2","UG/M2","mass",0.000001,[-2,0,1,0,0,0,0],"\u03bcg/(m<sup>2</sup>)",null,false,"M",null,1,false,false,0,0,"ug/m^2; ug/sq. m; mcg/m2; mcg/m^2; mcg/sq. m; ug per m2; m^2; sq. meter; mcg; micrograms per square meter; meter squared; metre","LOINC","ArMass","Clinical","unit used to measure mass dose per patient body surface area",null,null,null,null,false],[false,"microgram per cubic meter","ug/m3","UG/M3","mass",0.000001,[-3,0,1,0,0,0,0],"\u03bcg/(m<sup>3</sup>)",null,false,"M",null,1,false,false,0,0,"ug/m^3; ug/cu. m; mcg/m3; mcg/m^3; mcg/cu. m; ug per m3; ug per m^3; ug per cu. m; mcg; micrograms per cubic meter; meter cubed; metre","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"microgram per milligram","ug/mg","UG/MG","mass",0.001,[0,0,0,0,0,0,0],"\u03bcg/mg",null,false,"M",null,1,false,false,0,0,"ug per mg; mcg/mg; mcg per mg; micromilligrams per milligram","LOINC","MCnt","Clinical","",null,null,null,null,false],[false,"microgram per minute","ug/min","UG/MIN","mass",1.6666666666666667e-8,[0,-1,1,0,0,0,0],"\u03bcg/min",null,false,"M",null,1,false,false,0,0,"ug per min; mcg/min; mcg per min; microminutes per minute","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"microgram per milliliter","ug/mL","UG/ML","mass",1,[-3,0,1,0,0,0,0],"\u03bcg/mL",null,false,"M",null,1,false,false,0,0,"ug per mL; mcg/mL; mcg per mL; micrograms per milliliter; millilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[false,"microgram per millimole","ug/mmol","UG/MMOL","mass",1.660540186674939e-27,[0,0,1,0,0,0,0],"\u03bcg/mmol",null,false,"M",null,1,false,false,-1,0,"ug per mmol; mcg/mmol; mcg per mmol; micrograms per millimole","LOINC","Ratio","Clinical","",null,null,null,null,false],[false,"microgram per nanogram","ug/ng","UG/NG","mass",999.9999999999999,[0,0,0,0,0,0,0],"\u03bcg/ng",null,false,"M",null,1,false,false,0,0,"ug per ng; mcg/ng; mcg per ng; micrograms per nanogram","LOINC","MCnt","Clinical","",null,null,null,null,false],[false,"microkatal","ukat","UKAT","catalytic activity",602213670000000000,[0,-1,0,0,0,0,0],"\u03bckat","chemical",true,null,null,1,false,false,1,0,"microkatals; ukats","LOINC","CAct","Clinical","kat is a unit of catalytic activity with base units = mol/s. Rarely used because its units are too large to practically express catalytic activity. See enzyme unit [U] which is the standard unit for catalytic activity.","mol/s","MOL/S","1",1,false],[false,"microliter","uL","UL","volume",1e-9,[3,0,0,0,0,0,0],"\u03bcL","iso1000",true,null,null,1,false,false,0,0,"microliters; microlitres; mcl","LOINC","Vol","Clinical","","l",null,"1",1,false],[false,"microliter per 2 hour","uL/(2.h)","UL/(2.HR)","volume",1.388888888888889e-13,[3,-1,0,0,0,0,0],"\u03bcL/h","iso1000",true,null,null,1,false,false,0,0,"uL/2hrs; uL/2 hrs; mcg/2hr; mcg per 2hr; uL per 2hr; uL per 2 hrs; microliters per 2 hours; microlitres ","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"microliter per hour","uL/h","UL/HR","volume",2.777777777777778e-13,[3,-1,0,0,0,0,0],"\u03bcL/h","iso1000",true,null,null,1,false,false,0,0,"uL/hr; mcg/hr; mcg per hr; uL per hr; microliters per hour; microlitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"micrometer","um","UM","length",0.000001,[1,0,0,0,0,0,0],"\u03bcm",null,false,"L",null,1,false,false,0,0,"micrometers; micrometres; \u03bcm; microns","LOINC","Len","Clinical","Unit of length that is usually used in tests related to the eye",null,null,null,null,false],[false,"microns per second","um/s","UM/S","length",0.000001,[1,-1,0,0,0,0,0],"\u03bcm/s",null,false,"L",null,1,false,false,0,0,"um/sec; micron/second; microns/second; um per sec; micrometers per second; micrometres","LOINC","Vel","Clinical","",null,null,null,null,false],[false,"micromole","umol","UMOL","amount of substance",602213670000000000,[0,0,0,0,0,0,0],"\u03bcmol","si",true,null,null,1,false,false,1,0,"micromoles; umols","LOINC","Sub","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per 2 hour","umol/(2.h)","UMOL/(2.HR)","amount of substance",83640787500000,[0,-1,0,0,0,0,0],"\u03bcmol/h","si",true,null,null,1,false,false,1,0,"umol/2hrs; umol/2 hrs; umol per 2 hrs; 2hrs; micromoles per 2 hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per 24 hour","umol/(24.h)","UMOL/(24.HR)","amount of substance",6970065625000,[0,-1,0,0,0,0,0],"\u03bcmol/h","si",true,null,null,1,false,false,1,0,"umol/24hrs; umol/24 hrs; umol per 24 hrs; per 24hrs; micromoles per 24 hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per 8 hour","umol/(8.h)","UMOL/(8.HR)","amount of substance",20910196875000,[0,-1,0,0,0,0,0],"\u03bcmol/h","si",true,null,null,1,false,false,1,0,"umol/8hr; umol/8 hr; umol per 8 hr; umol per 8hr; umols per 8hr; umol per 8 hours; micromoles per 8 hours; shift","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per day","umol/d","UMOL/D","amount of substance",6970065625000,[0,-1,0,0,0,0,0],"\u03bcmol/d","si",true,null,null,1,false,false,1,0,"umol/day; umol per day; umols per day; umol per days; micromoles per days; umol/24hr; umol/24 hr; umol per 24 hr; umol per 24hr; umols per 24hr; umol per 24 hours; micromoles per 24 hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per deciliter","umol/dL","UMOL/DL","amount of substance",6.0221367e+21,[-3,0,0,0,0,0,0],"\u03bcmol/dL","si",true,null,null,1,false,false,1,0,"micromole/deciliter; micromole/decilitre; umol per dL; micromoles per deciliters; micromole per decilitres","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per gram","umol/g","UMOL/G","amount of substance",602213670000000000,[0,0,-1,0,0,0,0],"\u03bcmol/g","si",true,null,null,1,false,false,1,0,"micromole/gram; umol per g; micromoles per gram","LOINC","SCnt; Ratio","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per hour","umol/h","UMOL/HR","amount of substance",167281575000000,[0,-1,0,0,0,0,0],"\u03bcmol/h","si",true,null,null,1,false,false,1,0,"umol/hr; umol per hr; umol per hour; micromoles per hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per kilogram","umol/kg","UMOL/KG","amount of substance",602213670000000,[0,0,-1,0,0,0,0],"\u03bcmol/kg","si",true,null,null,1,false,false,1,0,"umol per kg; micromoles per kilogram","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per liter","umol/L","UMOL/L","amount of substance",602213670000000000000,[-3,0,0,0,0,0,0],"\u03bcmol/L","si",true,null,null,1,false,false,1,0,"micromole/liter; micromole/litre; umol per liter; micromoles per liter; litre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per liter per hour","umol/L/h","(UMOL/L)/HR","amount of substance",167281575000000000,[-3,-1,0,0,0,0,0],"(\u03bcmol/L)/h","si",true,null,null,1,false,false,1,0,"umol/liter/hr; umol/litre/hr; umol per L per hr; umol per liter per hour; micromoles per liters per hour; litre","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min; umol/L/h is a derived unit of enzyme units","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per milligram","umol/mg","UMOL/MG","amount of substance",602213670000000000000,[0,0,-1,0,0,0,0],"\u03bcmol/mg","si",true,null,null,1,false,false,1,0,"micromole/milligram; umol per mg; micromoles per milligram","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per minute","umol/min","UMOL/MIN","amount of substance",10036894500000000,[0,-1,0,0,0,0,0],"\u03bcmol/min","si",true,null,null,1,false,false,1,0,"micromole/minute; umol per min; micromoles per minute; enzyme units","LOINC","CAct","Clinical","unit for the enzyme unit U = umol/min","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per minute per gram","umol/min/g","(UMOL/MIN)/G","amount of substance",10036894500000000,[0,-1,-1,0,0,0,0],"(\u03bcmol/min)/g","si",true,null,null,1,false,false,1,0,"umol/min/gm; umol per min per gm; micromoles per minutes per gram; U/g; enzyme units","LOINC","CCnt","Clinical","unit for the enzyme unit U = umol/min. umol/min/g = U/g","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per minute per liter","umol/min/L","(UMOL/MIN)/L","amount of substance",10036894500000000000,[-3,-1,0,0,0,0,0],"(\u03bcmol/min)/L","si",true,null,null,1,false,false,1,0,"umol/min/liter; umol/minute/liter; micromoles per minutes per liter; litre; enzyme units; U/L","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. umol/min/L = U/L","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per milliliter","umol/mL","UMOL/ML","amount of substance",6.0221367000000003e+23,[-3,0,0,0,0,0,0],"\u03bcmol/mL","si",true,null,null,1,false,false,1,0,"umol per mL; micromoles per milliliter; millilitre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per milliliter per minute","umol/mL/min","(UMOL/ML)/MIN","amount of substance",1.00368945e+22,[-3,-1,0,0,0,0,0],"(\u03bcmol/mL)/min","si",true,null,null,1,false,false,1,0,"umol per mL per min; micromoles per milliliters per minute; millilitres","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. umol/mL/min = U/mL","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per millimole","umol/mmol","UMOL/MMOL","amount of substance",0.001,[0,0,0,0,0,0,0],"\u03bcmol/mmol","si",true,null,null,1,false,false,0,0,"umol per mmol; micromoles per millimole","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per mole","umol/mol","UMOL/MOL","amount of substance",0.000001,[0,0,0,0,0,0,0],"\u03bcmol/mol","si",true,null,null,1,false,false,0,0,"umol per mol; micromoles per mole","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per micromole","umol/umol","UMOL/UMOL","amount of substance",1,[0,0,0,0,0,0,0],"\u03bcmol/\u03bcmol","si",true,null,null,1,false,false,0,0,"umol per umol; micromoles per micromole","LOINC","Srto; SFr; EntSRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"microOhm","uOhm","UOHM","electric resistance",0.001,[2,-1,1,0,0,-2,0],"\u03bc\u03a9","si",true,null,null,1,false,false,0,0,"microOhms; \xb5\u03a9","LOINC","","Clinical","unit of electric resistance","V/A","V/A","1",1,false],[false,"microsecond","us","US","time",0.000001,[0,1,0,0,0,0,0],"\u03bcs",null,false,"T",null,1,false,false,0,0,"microseconds","LOINC","Time","Clinical","",null,null,null,null,false],[false,"micro enzyme unit per gram","uU/g","UU/G","catalytic activity",10036894500,[0,-1,-1,0,0,0,0],"\u03bcU/g","chemical",true,null,null,1,false,false,1,0,"uU per gm; micro enzyme units per gram; micro enzymatic activity per mass; enzyme activity","LOINC","CCnt","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 uU = 1pmol/min","umol/min","UMOL/MIN","1",1,false],[false,"micro enzyme unit per liter","uU/L","UU/L","catalytic activity",10036894500000,[-3,-1,0,0,0,0,0],"\u03bcU/L","chemical",true,null,null,1,false,false,1,0,"uU per L; micro enzyme units per liter; litre; enzymatic activity per volume; enzyme activity ","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 uU = 1pmol/min","umol/min","UMOL/MIN","1",1,false],[false,"micro enzyme unit per milliliter","uU/mL","UU/ML","catalytic activity",10036894500000000,[-3,-1,0,0,0,0,0],"\u03bcU/mL","chemical",true,null,null,1,false,false,1,0,"uU per mL; micro enzyme units per milliliter; millilitre; enzymatic activity per volume; enzyme activity","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 uU = 1pmol/min","umol/min","UMOL/MIN","1",1,false],[false,"microvolt","uV","UV","electric potential",0.001,[2,-2,1,0,0,-1,0],"\u03bcV","si",true,null,null,1,false,false,0,0,"microvolts","LOINC","Elpot","Clinical","unit of electric potential (voltage)","J/C","J/C","1",1,false]]}}')}},ne=>{ne(ne.s=2581)}]);
//# sourceMappingURL=main.js.map