UNPKG

@careevolution/broadview-component

Version:

CareEvolution Broadview web component

1 lines 1.41 MB
"use strict";(self.webpackChunkelements=self.webpackChunkelements||[]).push([[792],{412:(Uh,Aa,Hi)=>{function wn(e,n,t,i,r,s,o){try{var a=e[s](o),l=a.value}catch(c){return void t(c)}a.done?n(l):Promise.resolve(l).then(i,r)}function Se(e){return function(){var n=this,t=arguments;return new Promise(function(i,r){var s=e.apply(n,t);function o(l){wn(s,i,r,o,a,"next",l)}function a(l){wn(s,i,r,o,a,"throw",l)}o(void 0)})}}function Yr(e,n){return Object.is(e,n)}let Rt=null,si=!1,br=1;const lt=Symbol("SIGNAL");function Re(e){const n=Rt;return Rt=e,n}const Bi={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Wr(e){if(si)throw new Error("");if(null===Rt)return;Rt.consumerOnSignalRead(e);const n=Rt.nextProducerIndex++;vm(Rt),n<Rt.producerNode.length&&Rt.producerNode[n]!==e&&Xh(Rt)&&ym(Rt.producerNode[n],Rt.producerIndexOfThis[n]),Rt.producerNode[n]!==e&&(Rt.producerNode[n]=e,Rt.producerIndexOfThis[n]=Xh(Rt)?ik(e,Rt,n):0),Rt.producerLastReadVersion[n]=e.version}function Bl(e){if((!Xh(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==br)){if(!e.producerMustRecompute(e)&&!Qh(e))return void Gr(e);e.producerRecomputeValue(e),Gr(e)}}function Yh(e){if(void 0===e.liveConsumerNode)return;const n=si;si=!0;try{for(const t of e.liveConsumerNode)t.dirty||Gh(t)}finally{si=n}}function Wh(){return!1!==Rt?.consumerAllowSignalWrites}function Gh(e){e.dirty=!0,Yh(e),e.consumerMarkedDirty?.(e)}function Gr(e){e.dirty=!1,e.lastCleanEpoch=br}function Zo(e){return e&&(e.nextProducerIndex=0),Re(e)}function qh(e,n){if(Re(n),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(Xh(e))for(let t=e.nextProducerIndex;t<e.producerNode.length;t++)ym(e.producerNode[t],e.producerIndexOfThis[t]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Qh(e){vm(e);for(let n=0;n<e.producerNode.length;n++){const t=e.producerNode[n],i=e.producerLastReadVersion[n];if(i!==t.version||(Bl(t),i!==t.version))return!0}return!1}function Kh(e){if(vm(e),Xh(e))for(let n=0;n<e.producerNode.length;n++)ym(e.producerNode[n],e.producerIndexOfThis[n]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function ik(e,n,t){if(rk(e),0===e.liveConsumerNode.length&&sk(e))for(let i=0;i<e.producerNode.length;i++)e.producerIndexOfThis[i]=ik(e.producerNode[i],e,i);return e.liveConsumerIndexOfThis.push(t),e.liveConsumerNode.push(n)-1}function ym(e,n){if(rk(e),1===e.liveConsumerNode.length&&sk(e))for(let i=0;i<e.producerNode.length;i++)ym(e.producerNode[i],e.producerIndexOfThis[i]);const t=e.liveConsumerNode.length-1;if(e.liveConsumerNode[n]=e.liveConsumerNode[t],e.liveConsumerIndexOfThis[n]=e.liveConsumerIndexOfThis[t],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,n<e.liveConsumerNode.length){const i=e.liveConsumerIndexOfThis[n],r=e.liveConsumerNode[n];vm(r),r.producerIndexOfThis[i]=n}}function Xh(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function vm(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function rk(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function sk(e){return void 0!==e.producerNode}function ok(e){const n=Object.create(vG);n.computation=e;const t=()=>{if(Bl(n),Wr(n),n.value===bm)throw n.error;return n.value};return t[lt]=n,t}const qC=Symbol("UNSET"),QC=Symbol("COMPUTING"),bm=Symbol("ERRORED"),vG={...Bi,value:qC,dirty:!0,error:null,equal:Yr,producerMustRecompute:e=>e.value===qC||e.value===QC,producerRecomputeValue(e){if(e.value===QC)throw new Error("Detected cycle in computations.");const n=e.value;e.value=QC;const t=Zo(e);let i;try{i=e.computation()}catch(r){i=bm,e.error=r}finally{qh(e,t)}n!==qC&&n!==bm&&i!==bm&&e.equal(n,i)?e.value=n:(e.value=i,e.version++)}};let ak=function bG(){throw new Error};function lk(){ak()}function KC(e,n){Wh()||lk(),e.equal(e.value,n)||(e.value=n,function TG(e){e.version++,function Hl(){br++}(),Yh(e)}(e))}const XC={...Bi,equal:Yr,value:void 0};const ZC=()=>{};function wt(e){return"function"==typeof e}function JC(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 eD=JC(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 Cm(e,n){if(e){const t=e.indexOf(n);0<=t&&e.splice(t,1)}}class nn{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 s of t)s.remove(this);else t.remove(this);const{initialTeardown:i}=this;if(wt(i))try{i()}catch(s){n=s instanceof eD?s.errors:[s]}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const s of r)try{dk(s)}catch(o){n=n??[],o instanceof eD?n=[...n,...o.errors]:n.push(o)}}if(n)throw new eD(n)}}add(n){var t;if(n&&n!==this)if(this.closed)dk(n);else{if(n instanceof nn){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)&&Cm(t,n)}remove(n){const{_finalizers:t}=this;t&&Cm(t,n),n instanceof nn&&n._removeParent(this)}}nn.EMPTY=(()=>{const e=new nn;return e.closed=!0,e})();const ck=nn.EMPTY;function uk(e){return e instanceof nn||e&&"closed"in e&&wt(e.remove)&&wt(e.add)&&wt(e.unsubscribe)}function dk(e){wt(e)?e():e.unsubscribe()}const jl={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Dm={setTimeout(e,n,...t){const{delegate:i}=Dm;return i?.setTimeout?i.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){const{delegate:n}=Dm;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function hk(e){Dm.setTimeout(()=>{const{onUnhandledError:n}=jl;if(!n)throw e;n(e)})}function mu(){}const EG=tD("C",void 0,void 0);function tD(e,n,t){return{kind:e,value:n,error:t}}let $l=null;function Tm(e){if(jl.useDeprecatedSynchronousErrorHandling){const n=!$l;if(n&&($l={errorThrown:!1,error:null}),e(),n){const{errorThrown:t,error:i}=$l;if($l=null,t)throw i}}else e()}class nD extends nn{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,uk(n)&&n.add(this)):this.destination=PG}static create(n,t,i){return new _u(n,t,i)}next(n){this.isStopped?rD(function RG(e){return tD("N",e,void 0)}(n),this):this._next(n)}error(n){this.isStopped?rD(function xG(e){return tD("E",void 0,e)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?rD(EG,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 kG=Function.prototype.bind;function iD(e,n){return kG.call(e,n)}class AG{constructor(n){this.partialObserver=n}next(n){const{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(i){Sm(i)}}error(n){const{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(i){Sm(i)}else Sm(n)}complete(){const{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){Sm(t)}}}class _u extends nD{constructor(n,t,i){let r;if(super(),wt(n)||!n)r={next:n??void 0,error:t??void 0,complete:i??void 0};else{let s;this&&jl.useDeprecatedNextContext?(s=Object.create(n),s.unsubscribe=()=>this.unsubscribe(),r={next:n.next&&iD(n.next,s),error:n.error&&iD(n.error,s),complete:n.complete&&iD(n.complete,s)}):r=n}this.destination=new AG(r)}}function Sm(e){jl.useDeprecatedSynchronousErrorHandling?function IG(e){jl.useDeprecatedSynchronousErrorHandling&&$l&&($l.errorThrown=!0,$l.error=e)}(e):hk(e)}function rD(e,n){const{onStoppedNotification:t}=jl;t&&Dm.setTimeout(()=>t(e,n))}const PG={closed:!0,next:mu,error:function OG(e){throw e},complete:mu},sD="function"==typeof Symbol&&Symbol.observable||"@@observable";function Oa(e){return e}function fk(e){return 0===e.length?Oa:1===e.length?e[0]:function(t){return e.reduce((i,r)=>r(i),t)}}let Lt=(()=>{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 s=function NG(e){return e&&e instanceof nD||function FG(e){return e&&wt(e.next)&&wt(e.error)&&wt(e.complete)}(e)&&uk(e)}(t)?t:new _u(t,i,r);return Tm(()=>{const{operator:o,source:a}=this;s.add(o?o.call(s,a):a?this._subscribe(s):this._trySubscribe(s))}),s}_trySubscribe(t){try{return this._subscribe(t)}catch(i){t.error(i)}}forEach(t,i){return new(i=pk(i))((r,s)=>{const o=new _u({next:a=>{try{t(a)}catch(l){s(l),o.unsubscribe()}},error:s,complete:r});this.subscribe(o)})}_subscribe(t){var i;return null===(i=this.source)||void 0===i?void 0:i.subscribe(t)}[sD](){return this}pipe(...t){return fk(t)(this)}toPromise(t){return new(t=pk(t))((i,r)=>{let s;this.subscribe(o=>s=o,o=>r(o),()=>i(s))})}}return e.create=n=>new e(n),e})();function pk(e){var n;return null!==(n=e??jl.Promise)&&void 0!==n?n:Promise}const VG=JC(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let qe=(()=>{class e extends Lt{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const i=new gk(this,this);return i.operator=t,i}_throwIfClosed(){if(this.closed)throw new VG}next(t){Tm(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(t)}})}error(t){Tm(()=>{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(){Tm(()=>{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:s}=this;return i||r?ck:(this.currentObservers=null,s.push(t),new nn(()=>{this.currentObservers=null,Cm(s,t)}))}_checkFinalizedStatuses(t){const{hasError:i,thrownError:r,isStopped:s}=this;i?t.error(r):s&&t.complete()}asObservable(){const t=new Lt;return t.source=this,t}}return e.create=(n,t)=>new gk(n,t),e})();class gk extends qe{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:ck}}class gt extends qe{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)}}function mk(e){return wt(e?.lift)}function Qt(e){return n=>{if(mk(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 Ft(e,n,t,i,r){return new HG(e,n,t,i,r)}class HG extends nD{constructor(n,t,i,r,s,o){super(n),this.onFinalize=s,this.shouldUnsubscribe=o,this._next=t?function(a){try{t(a)}catch(l){n.error(l)}}:super._next,this._error=r?function(a){try{r(a)}catch(l){n.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(a){n.error(a)}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 ye(e,n){return Qt((t,i)=>{let r=0;t.subscribe(Ft(i,s=>{i.next(e.call(n,s,r++))}))})}const _k="https://g.co/ng/security#xss";class H extends Error{code;constructor(n,t){super(function yu(e,n){return`NG0${Math.abs(e)}${n?": "+n:""}`}(n,t)),this.code=n}}const Mm=Symbol("InputSignalNode#UNSET"),yk={...XC,transformFn:void 0,applyValueToInputSignal(e,n){KC(e,n)}};function vk(e,n){const t=Object.create(yk);function i(){if(Wr(t),t.value===Mm)throw new H(-950,!1);return t.value}return t.value=e,t.transformFn=n?.transform,i[lt]=t,i}function Jo(e){return{toString:e}.toString()}const bu="__parameters__";function Cu(e,n,t){return Jo(()=>{const i=function oD(e){return function(...t){if(e){const i=e(...t);for(const r in i)this[r]=i[r]}}}(n);function r(...s){if(this instanceof r)return i.apply(this,s),this;const o=new r(...s);return a.annotation=o,a;function a(l,c,u){const d=l.hasOwnProperty(bu)?l[bu]:Object.defineProperty(l,bu,{value:[]})[bu];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(o),l}}return t&&(r.prototype=Object.create(t.prototype)),r.prototype.ngMetadataName=e,r.annotationCls=r,r})}const Kt=globalThis;function It(e){for(let n in e)if(e[n]===It)return n;throw Error("Could not find renamed property on target object.")}function BG(e,n){for(const t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function Wn(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Wn).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const n=e.toString();if(null==n)return""+n;const t=n.indexOf("\n");return-1===t?n:n.substring(0,t)}function aD(e,n){return null==e||""===e?null===n?"":n:null==n||""===n?e:e+" "+n}const jG=It({__forward_ref__:It});function pt(e){return e.__forward_ref__=pt,e.toString=function(){return Wn(this())},e}function Pe(e){return Em(e)?e():e}function Em(e){return"function"==typeof e&&e.hasOwnProperty(jG)&&e.__forward_ref__===pt}function k(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Cn(e){return{providers:e.providers||[],imports:e.imports||[]}}function xm(e){return wk(e,Im)||wk(e,Ck)}function wk(e,n){return e.hasOwnProperty(n)?e[n]:null}function Rm(e){return e&&(e.hasOwnProperty(lD)||e.hasOwnProperty(GG))?e[lD]:null}const Im=It({\u0275prov:It}),lD=It({\u0275inj:It}),Ck=It({ngInjectableDef:It}),GG=It({ngInjectorDef:It});class ee{_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=k({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function fD(e){return e&&!!e.\u0275providers}const Zh=It({\u0275cmp:It}),pD=It({\u0275dir:It}),gD=It({\u0275pipe:It}),Tk=It({\u0275mod:It}),ea=It({\u0275fac:It}),Jh=It({__NG_ELEMENT_ID__:It}),Sk=It({__NG_ENV_ID__:It});function We(e){return"string"==typeof e?e:null==e?"":String(e)}function mD(e,n){throw new H(-201,!1)}var ot=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(ot||{});let _D;function Mk(){return _D}function rr(e){const n=_D;return _D=e,n}function Ek(e,n,t){const i=xm(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:t&ot.Optional?null:void 0!==n?n:void mD()}const ef={},yD="__NG_DI_FLAG__",km="ngTempTokenPath",JG=/\n/gm,xk="__source";let Du;function La(e){const n=Du;return Du=e,n}function nq(e,n=ot.Default){if(void 0===Du)throw new H(-203,!1);return null===Du?Ek(e,void 0,n):Du.get(e,n&ot.Optional?null:void 0,n)}function w(e,n=ot.Default){return(Mk()||nq)(Pe(e),n)}function z(e,n=ot.Default){return w(e,Am(n))}function Am(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function vD(e){const n=[];for(let t=0;t<e.length;t++){const i=Pe(e[t]);if(Array.isArray(i)){if(0===i.length)throw new H(900,!1);let r,s=ot.Default;for(let o=0;o<i.length;o++){const a=i[o],l=iq(a);"number"==typeof l?-1===l?r=a.token:s|=l:r=a}n.push(w(r,s))}else n.push(w(i))}return n}function tf(e,n){return e[yD]=n,e.prototype[yD]=n,e}function iq(e){return e[yD]}const Om=tf(Cu("Optional"),8),Pm=tf(Cu("SkipSelf"),4);function Ul(e,n){return e.hasOwnProperty(ea)?e[ea]:null}function Tu(e,n){e.forEach(t=>Array.isArray(t)?Tu(t,n):n(t))}function Ik(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function Lm(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function Cr(e,n,t){let i=Su(e,n);return i>=0?e[1|i]=t:(i=~i,function kk(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 wD(e,n){const t=Su(e,n);if(t>=0)return e[1|t]}function Su(e,n){return function Ak(e,n,t){let i=0,r=e.length>>t;for(;r!==i;){const s=i+(r-i>>1),o=e[s<<t];if(n===o)return s<<t;o>n?r=s:i=s+1}return~(r<<t)}(e,n,1)}const uo={},Ct=[],qr=new ee(""),Ok=new ee("",-1),CD=new ee("");class Nm{get(n,t=ef){if(t===ef){const i=new Error(`NullInjectorError: No provider for ${Wn(n)}!`);throw i.name="NullInjectorError",i}return t}}function Mi(e,n){const t=e[Tk]||null;if(!t&&!0===n)throw new Error(`Type ${Wn(e)} does not have '\u0275mod' property.`);return t}function Ze(e){return e[Zh]||null}function Gn(e){return e[pD]||null}function _i(e){return e[gD]||null}function uq(...e){return{\u0275providers:DD(0,e),\u0275fromNgModule:!0}}function DD(e,...n){const t=[],i=new Set;let r;const s=o=>{t.push(o)};return Tu(n,o=>{const a=o;Vm(a,s,[],i)&&(r||=[],r.push(a))}),void 0!==r&&Pk(r,s),t}function Pk(e,n){for(let t=0;t<e.length;t++){const{ngModule:i,providers:r}=e[t];TD(r,s=>{n(s,i)})}}function Vm(e,n,t,i){if(!(e=Pe(e)))return!1;let r=null,s=Rm(e);const o=!s&&Ze(e);if(s||o){if(o&&!o.standalone)return!1;r=e}else{const l=e.ngModule;if(s=Rm(l),!s)return!1;r=l}const a=i.has(r);if(o){if(a)return!1;if(i.add(r),o.dependencies){const l="function"==typeof o.dependencies?o.dependencies():o.dependencies;for(const c of l)Vm(c,n,t,i)}}else{if(!s)return!1;{if(null!=s.imports&&!a){let c;i.add(r);try{Tu(s.imports,u=>{Vm(u,n,t,i)&&(c||=[],c.push(u))})}finally{}void 0!==c&&Pk(c,n)}if(!a){const c=Ul(r)||(()=>new r);n({provide:r,useFactory:c,deps:Ct},r),n({provide:CD,useValue:r,multi:!0},r),n({provide:qr,useValue:()=>w(r),multi:!0},r)}const l=s.providers;if(null!=l&&!a){const c=e;TD(l,u=>{n(u,c)})}}}return r!==e&&void 0!==e.providers}function TD(e,n){for(let t of e)fD(t)&&(t=t.\u0275providers),Array.isArray(t)?TD(t,n):n(t)}const dq=It({provide:String,useValue:It});function SD(e){return null!==e&&"object"==typeof e&&dq in e}function zl(e){return"function"==typeof e}const MD=new ee(""),Hm={},fq={};let ED;function Bm(){return void 0===ED&&(ED=new Nm),ED}class ji{}class Mu extends ji{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,RD(n,o=>this.processProvider(o)),this.records.set(Ok,Eu(void 0,this)),r.has("environment")&&this.records.set(ji,Eu(void 0,this));const s=this.records.get(MD);null!=s&&"string"==typeof s.value&&this.scopes.add(s.value),this.injectorDefTypes=new Set(this.get(CD,Ct,ot.Self))}destroy(){nf(this),this._destroyed=!0;const n=Re(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(),Re(n)}}onDestroy(n){return nf(this),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){nf(this);const t=La(this),i=rr(void 0);try{return n()}finally{La(t),rr(i)}}get(n,t=ef,i=ot.Default){if(nf(this),n.hasOwnProperty(Sk))return n[Sk](this);i=Am(i);const s=La(this),o=rr(void 0);try{if(!(i&ot.SkipSelf)){let l=this.records.get(n);if(void 0===l){const c=function yq(e){return"function"==typeof e||"object"==typeof e&&e instanceof ee}(n)&&xm(n);l=c&&this.injectableDefInScope(c)?Eu(xD(n),Hm):null,this.records.set(n,l)}if(null!=l)return this.hydrate(n,l)}return(i&ot.Self?Bm():this.parent).get(n,t=i&ot.Optional&&t===ef?null:t)}catch(a){if("NullInjectorError"===a.name){if((a[km]=a[km]||[]).unshift(Wn(n)),s)throw a;return function rq(e,n,t,i){const r=e[km];throw n[xk]&&r.unshift(n[xk]),e.message=function sq(e,n,t,i=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let r=Wn(n);if(Array.isArray(n))r=n.map(Wn).join(" -> ");else if("object"==typeof n){let s=[];for(let o in n)if(n.hasOwnProperty(o)){let a=n[o];s.push(o+":"+("string"==typeof a?JSON.stringify(a):Wn(a)))}r=`{${s.join(", ")}}`}return`${t}${i?"("+i+")":""}[${r}]: ${e.replace(JG,"\n ")}`}("\n"+e.message,r,t,i),e.ngTokenPath=r,e[km]=null,e}(a,n,"R3InjectorError",this.source)}throw a}finally{rr(o),La(s)}}resolveInjectorInitializers(){const n=Re(null),t=La(this),i=rr(void 0);try{const s=this.get(qr,Ct,ot.Self);for(const o of s)o()}finally{La(t),rr(i),Re(n)}}toString(){const n=[],t=this.records;for(const i of t.keys())n.push(Wn(i));return`R3Injector[${n.join(", ")}]`}processProvider(n){let t=zl(n=Pe(n))?n:Pe(n&&n.provide);const i=function gq(e){return SD(e)?Eu(void 0,e.useValue):Eu(Nk(e),Hm)}(n);if(!zl(n)&&!0===n.multi){let r=this.records.get(t);r||(r=Eu(void 0,Hm,!0),r.factory=()=>vD(r.multi),this.records.set(t,r)),t=n,r.multi.push(n)}this.records.set(t,i)}hydrate(n,t){const i=Re(null);try{return t.value===Hm&&(t.value=fq,t.value=t.factory()),"object"==typeof t.value&&t.value&&function _q(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{Re(i)}}injectableDefInScope(n){if(!n.providedIn)return!1;const t=Pe(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 xD(e){const n=xm(e),t=null!==n?n.factory:Ul(e);if(null!==t)return t;if(e instanceof ee)throw new H(204,!1);if(e instanceof Function)return function pq(e){if(e.length>0)throw new H(204,!1);const t=function WG(e){return e&&(e[Im]||e[Ck])||null}(e);return null!==t?()=>t.factory(e):()=>new e}(e);throw new H(204,!1)}function Nk(e,n,t){let i;if(zl(e)){const r=Pe(e);return Ul(r)||xD(r)}if(SD(e))i=()=>Pe(e.useValue);else if(function Fk(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...vD(e.deps||[]));else if(function Lk(e){return!(!e||!e.useExisting)}(e))i=()=>w(Pe(e.useExisting));else{const r=Pe(e&&(e.useClass||e.provide));if(!function mq(e){return!!e.deps}(e))return Ul(r)||xD(r);i=()=>new r(...vD(e.deps))}return i}function nf(e){if(e.destroyed)throw new H(205,!1)}function Eu(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function RD(e,n){for(const t of e)Array.isArray(t)?RD(t,n):t&&fD(t)?RD(t.\u0275providers,n):n(t)}function Qr(e,n){e instanceof Mu&&nf(e);const i=La(e),r=rr(void 0);try{return n()}finally{La(i),rr(r)}}function Vk(){return void 0!==Mk()||null!=function tq(){return Du}()}function xu(e){if(!Vk())throw new H(-203,!1)}var Ym=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Ym||{});function Sn(e){return Array.isArray(e)&&"object"==typeof e[1]}function Qn(e){return Array.isArray(e)&&!0===e[1]}function AD(e){return!!(4&e.flags)}function Ha(e){return e.componentOffset>-1}function Wm(e){return!(1&~e.flags)}function As(e){return!!e.template}function sf(e){return!!(512&e[2])}class Iq{previousValue;currentValue;firstChange;constructor(n,t,i){this.previousValue=n,this.currentValue=t,this.firstChange=i}isFirstChange(){return this.firstChange}}function Yk(e,n,t,i){null!==n?n.applyValueToInputSignal(n,i):e[t]=i}const Tt=(()=>{const e=()=>Wk;return e.ngInherit=!0,e})();function Wk(e){return e.type.prototype.ngOnChanges&&(e.setInput=Aq),kq}function kq(){const e=qk(this),n=e?.current;if(n){const t=e.previous;if(t===uo)e.previous=n;else for(let i in n)t[i]=n[i];e.current=null,this.ngOnChanges(n)}}function Aq(e,n,t,i,r){const s=this.declaredInputs[i],o=qk(e)||function Oq(e,n){return e[Gk]=n}(e,{previous:uo,current:null}),a=o.current||(o.current={}),l=o.previous,c=l[s];a[s]=new Iq(c&&c.currentValue,t,l===uo),Yk(e,n,r,t)}const Gk="__ngSimpleChanges__";function qk(e){return e[Gk]||null}function yt(e){for(;Array.isArray(e);)e=e[0];return e}function af(e,n){return yt(n[e])}function Ui(e,n){return yt(n[e.index])}function Lu(e,n){return e.data[n]}function ql(e,n){return e[n]}function Tr(e,n){const t=n[e];return Sn(t)?t:t[0]}function ND(e){return!(128&~e[2])}function Kr(e,n){return null==n?null:e[n]}function Xk(e){e[17]=0}function VD(e){1024&e[2]||(e[2]|=1024,ND(e)&&lf(e))}function Gm(e){return!!(9216&e[2]||e[24]?.dirty)}function HD(e){e[10].changeDetectionScheduler?.notify(9),64&e[2]&&(e[2]|=1024),Gm(e)&&lf(e)}function lf(e){e[10].changeDetectionScheduler?.notify(0);let n=ia(e);for(;null!==n&&!(8192&n[2])&&(n[2]|=8192,ND(n));)n=ia(n)}function qm(e,n){if(!(256&~e[2]))throw new H(911,!1);null===e[21]&&(e[21]=[]),e[21].push(n)}function ia(e){const n=e[3];return Qn(n)?n[3]:n}const Ne={lFrame:lA(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let $D=!1;function Jk(){return Ne.bindingsEnabled}function Ql(){return null!==Ne.skipHydrationRootTNode}function $(){return Ne.lFrame.lView}function Ve(){return Ne.lFrame.tView}function R(e){return Ne.lFrame.contextLView=e,e[8]}function I(e){return Ne.lFrame.contextLView=null,e}function Je(){let e=eA();for(;null!==e&&64===e.type;)e=e.parent;return e}function eA(){return Ne.lFrame.currentTNode}function Os(e,n){const t=Ne.lFrame;t.currentTNode=e,t.isParent=n}function UD(){return Ne.lFrame.isParent}function zD(){Ne.lFrame.isParent=!1}function iA(){return $D}function Km(e){const n=$D;return $D=e,n}function zi(){const e=Ne.lFrame;let n=e.bindingRootIndex;return-1===n&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function Xr(){return Ne.lFrame.bindingIndex++}function sa(e){const n=Ne.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function Gq(e,n){const t=Ne.lFrame;t.bindingIndex=t.bindingRootIndex=e,YD(n)}function YD(e){Ne.lFrame.currentDirectiveIndex=e}function GD(){return Ne.lFrame.currentQueryIndex}function Xm(e){Ne.lFrame.currentQueryIndex=e}function Qq(e){const n=e[1];return 2===n.type?n.declTNode:1===n.type?e[5]:null}function oA(e,n,t){if(t&ot.SkipSelf){let r=n,s=e;for(;!(r=r.parent,null!==r||t&ot.Host||(r=Qq(s),null===r||(s=s[14],10&r.type))););if(null===r)return!1;n=r,e=s}const i=Ne.lFrame=aA();return i.currentTNode=n,i.lView=e,!0}function qD(e){const n=aA(),t=e[1];Ne.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function aA(){const e=Ne.lFrame,n=null===e?null:e.child;return null===n?lA(e):n}function lA(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 cA(){const e=Ne.lFrame;return Ne.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const uA=cA;function QD(){const e=cA();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 yi(){return Ne.lFrame.selectedIndex}function Kl(e){Ne.lFrame.selectedIndex=e}function kt(){const e=Ne.lFrame;return Lu(e.tView,e.selectedIndex)}let fA=!0;function uf(){return fA}function go(e){fA=e}function Zm(e,n){for(let t=n.directiveStart,i=n.directiveEnd;t<i;t++){const s=e.data[t].type.prototype,{ngAfterContentInit:o,ngAfterContentChecked:a,ngAfterViewInit:l,ngAfterViewChecked:c,ngOnDestroy:u}=s;o&&(e.contentHooks??=[]).push(-t,o),a&&((e.contentHooks??=[]).push(t,a),(e.contentCheckHooks??=[]).push(t,a)),l&&(e.viewHooks??=[]).push(-t,l),c&&((e.viewHooks??=[]).push(t,c),(e.viewCheckHooks??=[]).push(t,c)),null!=u&&(e.destroyHooks??=[]).push(t,u)}}function Jm(e,n,t){pA(e,n,3,t)}function e_(e,n,t,i){(3&e[2])===t&&pA(e,n,t,i)}function KD(e,n){let t=e[2];(3&t)===n&&(t&=16383,t+=1,e[2]=t)}function pA(e,n,t,i){const s=i??-1,o=n.length-1;let a=0;for(let l=void 0!==i?65535&e[17]:0;l<o;l++)if("number"==typeof n[l+1]){if(a=n[l],null!=i&&a>=i)break}else n[l]<0&&(e[17]+=65536),(a<s||-1==s)&&(t7(e,t,n,l),e[17]=(4294901760&e[17])+l+2),l++}function gA(e,n){const t=Re(null);try{n.call(e)}finally{Re(t)}}function t7(e,n,t,i){const r=t[i]<0,s=t[i+1],a=e[r?-t[i]:t[i]];r?e[2]>>14<e[17]>>16&&(3&e[2])===n&&(e[2]+=16384,gA(a,s)):gA(a,s)}class df{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(n,t,i){this.factory=n,this.canSeeViewProviders=t,this.injectImpl=i}}function JD(e,n,t){let i=0;for(;i<t.length;){const r=t[i];if("number"==typeof r){if(0!==r)break;i++;const s=t[i++],o=t[i++],a=t[i++];e.setAttribute(n,o,a,s)}else{const s=r,o=t[++i];_A(s)?e.setProperty(n,s,o):e.setAttribute(n,s,o),i++}}return i}function mA(e){return 3===e||4===e||6===e}function _A(e){return 64===e.charCodeAt(0)}function hf(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||yA(e,t,r,null,-1===t||2===t?n[++i]:null)}}return e}function yA(e,n,t,i,r){let s=0,o=e.length;if(-1===n)o=-1;else for(;s<e.length;){const a=e[s++];if("number"==typeof a){if(a===n){o=-1;break}if(a>n){o=s-1;break}}}for(;s<e.length;){const a=e[s];if("number"==typeof a)break;if(a===t){if(null===i)return void(null!==r&&(e[s+1]=r));if(i===e[s+1])return void(e[s+2]=r)}s++,null!==i&&s++,null!==r&&s++}-1!==o&&(e.splice(o,0,n),s=o+1),e.splice(s++,0,t),null!==i&&e.splice(s++,0,i),null!==r&&e.splice(s++,0,r)}const eT={};class Xl{injector;parentInjector;constructor(n,t){this.injector=n,this.parentInjector=t}get(n,t,i){i=Am(i);const r=this.injector.get(n,eT,i);return r!==eT||t===eT?r:this.parentInjector.get(n,t,i)}}function tT(e){return-1!==e}function ff(e){return 32767&e}function pf(e,n){let t=function o7(e){return e>>16}(e),i=n;for(;t>0;)i=i[14],t--;return i}let nT=!0;function t_(e){const n=nT;return nT=e,n}let l7=0;const mo={};function n_(e,n){const t=wA(e,n);if(-1!==t)return t;const i=n[1];i.firstCreatePass&&(e.injectorIndex=n.length,iT(i.data,e),iT(n,null),iT(i.blueprint,null));const r=i_(e,n),s=e.injectorIndex;if(tT(r)){const o=ff(r),a=pf(r,n),l=a[1].data;for(let c=0;c<8;c++)n[s+c]=a[o+c]|l[o+c]}return n[s+8]=r,s}function iT(e,n){e.push(0,0,0,0,0,0,0,0,n)}function wA(e,n){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===n[e.injectorIndex+8]?-1:e.injectorIndex}function i_(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=xA(r),null===i)return-1;if(t++,r=r[14],-1!==i.injectorIndex)return i.injectorIndex|t<<16}return-1}function rT(e,n,t){!function c7(e,n,t){let i;"string"==typeof t?i=t.charCodeAt(0)||0:t.hasOwnProperty(Jh)&&(i=t[Jh]),null==i&&(i=t[Jh]=l7++);const r=255&i;n.data[e+(r>>5)]|=1<<r}(e,n,t)}function CA(e,n,t){if(t&ot.Optional||void 0!==e)return e;mD()}function DA(e,n,t,i){if(t&ot.Optional&&void 0===i&&(i=null),!(t&(ot.Self|ot.Host))){const r=e[9],s=rr(void 0);try{return r?r.get(n,i,t&ot.Optional):Ek(n,i,t&ot.Optional)}finally{rr(s)}}return CA(i,0,t)}function TA(e,n,t,i=ot.Default,r){if(null!==e){if(2048&n[2]&&!(i&ot.Self)){const o=function p7(e,n,t,i,r){let s=e,o=n;for(;null!==s&&null!==o&&2048&o[2]&&!(512&o[2]);){const a=SA(s,o,t,i|ot.Self,mo);if(a!==mo)return a;let l=s.parent;if(!l){const c=o[20];if(c){const u=c.get(t,mo,i);if(u!==mo)return u}l=xA(o),o=o[14]}s=l}return r}(e,n,t,i,mo);if(o!==mo)return o}const s=SA(e,n,t,i,mo);if(s!==mo)return s}return DA(n,t,i,r)}function SA(e,n,t,i,r){const s=function h7(e){if("string"==typeof e)return e.charCodeAt(0)||0;const n=e.hasOwnProperty(Jh)?e[Jh]:void 0;return"number"==typeof n?n>=0?255&n:f7:n}(t);if("function"==typeof s){if(!oA(n,e,i))return i&ot.Host?CA(r,0,i):DA(n,t,i,r);try{let o;if(o=s(i),null!=o||i&ot.Optional)return o;mD()}finally{uA()}}else if("number"==typeof s){let o=null,a=wA(e,n),l=-1,c=i&ot.Host?n[15][5]:null;for((-1===a||i&ot.SkipSelf)&&(l=-1===a?i_(e,n):n[a+8],-1!==l&&EA(i,!1)?(o=n[1],a=ff(l),n=pf(l,n)):a=-1);-1!==a;){const u=n[1];if(MA(s,a,u.data)){const d=d7(a,n,t,o,i,c);if(d!==mo)return d}l=n[a+8],-1!==l&&EA(i,n[1].data[a+8]===c)&&MA(s,a,n)?(o=u,a=ff(l),n=pf(l,n)):a=-1}}return r}function d7(e,n,t,i,r,s){const o=n[1],a=o.data[e+8],u=r_(a,o,t,null==i?Ha(a)&&nT:i!=o&&!!(3&a.type),r&ot.Host&&s===a);return null!==u?Zl(n,o,u,a):mo}function r_(e,n,t,i,r){const s=e.providerIndexes,o=n.data,a=1048575&s,l=e.directiveStart,u=s>>20,h=r?a+u:e.directiveEnd;for(let f=i?a:a+u;f<h;f++){const y=o[f];if(f<l&&t===y||f>=l&&y.type===t)return f}if(r){const f=o[l];if(f&&As(f)&&f.type===t)return l}return null}function Zl(e,n,t,i){let r=e[t];const s=n.data;if(function n7(e){return e instanceof df}(r)){const o=r;o.resolving&&function KG(e,n){throw n&&n.join(" > "),new H(-200,e)}(function Dt(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():We(e)}(s[t]));const a=t_(o.canSeeViewProviders);o.resolving=!0;const c=o.injectImpl?rr(o.injectImpl):null;oA(e,i,ot.Default);try{r=e[t]=o.factory(void 0,s,e,i),n.firstCreatePass&&t>=i.directiveStart&&function e7(e,n,t){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:s}=n.type.prototype;if(i){const o=Wk(n);(t.preOrderHooks??=[]).push(e,o),(t.preOrderCheckHooks??=[]).push(e,o)}r&&(t.preOrderHooks??=[]).push(0-e,r),s&&((t.preOrderHooks??=[]).push(e,s),(t.preOrderCheckHooks??=[]).push(e,s))}(t,s[t],n)}finally{null!==c&&rr(c),t_(a),o.resolving=!1,uA()}}return r}function MA(e,n,t){return!!(t[n+(e>>5)]&1<<e)}function EA(e,n){return!(e&ot.Self||e&ot.Host&&n)}class Kn{_tNode;_lView;constructor(n,t){this._tNode=n,this._lView=t}get(n,t,i){return TA(this._tNode,this._lView,n,Am(i),t)}}function f7(){return new Kn(Je(),$())}function Nn(e){return Jo(()=>{const n=e.prototype.constructor,t=n[ea]||sT(n),i=Object.prototype;let r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==i;){const s=r[ea]||sT(r);if(s&&s!==t)return s;r=Object.getPrototypeOf(r)}return s=>new s})}function sT(e){return Em(e)?()=>{const n=sT(Pe(e));return n&&n()}:Ul(e)}function xA(e){const n=e[1],t=n.type;return 2===t?n.declTNode:1===t?e[5]:null}function OA(e,n=null,t=null,i){const r=PA(e,n,t,i);return r.resolveInjectorInitializers(),r}function PA(e,n=null,t=null,i,r=new Set){const s=[t||Ct,uq(e)];return i=i||("object"==typeof e?void 0:Wn(e)),new Mu(s,n||Bm(),i||null,r)}class At{static THROW_IF_NOT_FOUND=ef;static NULL=new Nm;static create(n,t){if(Array.isArray(n))return OA({name:""},t,n,"");{const i=n.name??"";return OA({name:i},n.parent,n.providers,i)}}static \u0275prov=k({token:At,providedIn:"any",factory:()=>w(Ok)});static __NG_ELEMENT_ID__=-1}new ee("").__NG_ELEMENT_ID__=e=>{const n=Je();if(null===n)throw new H(204,!1);if(2&n.type)return n.value;if(e&ot.Optional)return null;throw new H(204,!1)};const LA=!1;let Ba=(()=>class e{static __NG_ELEMENT_ID__=D7;static __NG_ENV_ID__=t=>t})();class FA extends Ba{_lView;constructor(n){super(),this._lView=n}onDestroy(n){return qm(this._lView,n),()=>function BD(e,n){if(null===e[21])return;const t=e[21].indexOf(n);-1!==t&&e[21].splice(t,1)}(this._lView,n)}}function D7(){return new FA($())}class _o{}const mf=new ee("",{providedIn:"root",factory:()=>!1}),NA=new ee(""),aT=new ee("");let Ps=(()=>{class e{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new gt(!1);add(){this._hasPendingTasks||this.hasPendingTasks.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.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static \u0275prov=k({token:e,providedIn:"root",factory:()=>new e})}return e})();const Y=class S7 extends qe{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(n=!1){super(),this.__isAsync=n,Vk()&&(this.destroyRef=z(Ba,{optional:!0})??void 0,this.pendingTasks=z(Ps,{optional:!0})??void 0)}emit(n){const t=Re(null);try{super.next(n)}finally{Re(t)}}subscribe(n,t,i){let r=n,s=t||(()=>null),o=i;if(n&&"object"==typeof n){const l=n;r=l.next?.bind(l),s=l.error?.bind(l),o=l.complete?.bind(l)}this.__isAsync&&(s=this.wrapInTimeout(s),r&&(r=this.wrapInTimeout(r)),o&&(o=this.wrapInTimeout(o)));const a=super.subscribe({next:r,error:s,complete:o});return n instanceof nn&&n.add(a),a}wrapInTimeout(n){return t=>{const i=this.pendingTasks?.add();setTimeout(()=>{n(t),void 0!==i&&this.pendingTasks?.remove(i)})}}};function _f(...e){}function VA(e){let n,t;function i(){e=_f;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 HA(e){return queueMicrotask(()=>e()),()=>{e=_f}}const lT="isAngularZone",o_=lT+"_ID";let M7=0;class nt{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Y(!1);onMicrotaskEmpty=new Y(!1);onStable=new Y(!1);onError=new Y(!1);constructor(n){const{enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:r=!1,scheduleInRootZone:s=LA}=n;if(typeof Zone>"u")throw new H(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&i,o.shouldCoalesceRunChangeDetection=r,o.callbackScheduled=!1,o.scheduleInRootZone=s,function R7(e){const n=()=>{!function x7(e){function n(){VA(()=>{e.callbackScheduled=!1,uT(e),e.isCheckStableRunning=!0,cT(e),e.isCheckStableRunning=!1})}e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,e.scheduleInRootZone?Zone.root.run(()=>{n()}):e._outer.run(()=>{n()}),uT(e))}(e)},t=M7++;e._inner=e._inner.fork({name:"angular",properties:{[lT]:!0,[o_]:t,[o_+t]:!0},onInvokeTask:(i,r,s,o,a,l)=>{if(function I7(e){return $A(e,"__ignore_ng_zone__")}(l))return i.invokeTask(s,o,a,l);try{return BA(e),i.invokeTask(s,o,a,l)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||e.shouldCoalesceRunChangeDetection)&&n(),jA(e)}},onInvoke:(i,r,s,o,a,l,c)=>{try{return BA(e),i.invoke(s,o,a,l,c)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!function k7(e){return $A(e,"__scheduler_tick__")}(l)&&n(),jA(e)}},onHasTask:(i,r,s,o)=>{i.hasTask(s,o),r===s&&("microTask"==o.change?(e._hasPendingMicrotasks=o.microTask,uT(e),cT(e)):"macroTask"==o.change&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(i,r,s,o)=>(i.handleError(s,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(lT)}static assertInAngularZone(){if(!nt.isInAngularZone())throw new H(909,!1)}static assertNotInAngularZone(){if(nt.isInAngularZone())throw new H(909,!1)}run(n,t,i){return this._inner.run(n,t,i)}runTask(n,t,i,r){const s=this._inner,o=s.scheduleEventTask("NgZoneEvent: "+r,n,E7,_f,_f);try{return s.runTask(o,t,i)}finally{s.cancelTask(o)}}runGuarded(n,t,i){return this._inner.runGuarded(n,t,i)}runOutsideAngular(n){return this._outer.run(n)}}const E7={};function cT(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 uT(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&!0===e.callbackScheduled)}function BA(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function jA(e){e._nesting--,cT(e)}class dT{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Y;onMicrotaskEmpty=new Y;onStable=new Y;onError=new Y;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 $A(e,n){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0]?.data?.[n]}class yo{_console=console;handleError(n){this._console.error("ERROR",n)}}const O7=new ee("",{providedIn:"root",factory:()=>{const e=z(nt),n=z(yo);return t=>e.runOutsideAngular(()=>n.handleError(t))}});class UA{destroyed=!1;listeners=null;errorHandler=z(yo,{optional:!0});destroyRef=z(Ba);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(n){if(this.destroyed)throw new H(953,!1);return(this.listeners??=[]).push(n),{unsubscribe:()=>{const t=this.listeners?.indexOf(n);void 0!==t&&-1!==t&&this.listeners?.splice(t,1)}}}emit(n){if(this.destroyed)throw new H(953,!1);if(null===this.listeners)return;const t=Re(null);try{for(const i of this.listeners)try{i(n)}catch(r){this.errorHandler?.handleError(r)}}finally{Re(t)}}}function zA(e){return new UA}function YA(e,n){return vk(e,n)}const Sr=(YA.required=function L7(e){return vk(Mm,e)},YA);function F7(){return Hu(Je(),$())}function Hu(e,n){return new Le(Ui(e,n))}let Le=(()=>class e{nativeElement;constructor(t){this.nativeElement=t}static __NG_ELEMENT_ID__=F7})();function WA(e){return e instanceof Le?e.nativeElement:e}function N7(){return this._results[Symbol.iterator]()}class V7{_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 qe}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 sr(e){return e.flat(Number.POSITIVE_INFINITY)}(n);(this._changesDetected=!function cq(e,n,t){if(e.length!==n.length)return!1;for(let i=0;i<e.length;i++){let r=e[i],s=n[i];if(t&&(r=t(r),s=t(s)),s!==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]=N7}function vf(e){return!(128&~e.flags)}var a_=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(a_||{});const l_=new Map;let B7=0;function fT(e){l_.delete(e[19])}const c_="__ngContext__";function xi(e,n){Sn(n)?(e[c_]=n[19],function $7(e){l_.set(e[19],e)}(n)):e[c_]=n}function tO(e){return iO(e[12])}function nO(e){return iO(e[4])}function iO(e){for(;null!==e&&!Qn(e);)e=e[4];return e}let mT;function vo(){if(void 0!==mT)return mT;if(typeof document<"u")return document;throw new H(210,!1)}const ju=new ee("",{providedIn:"root",factory:()=>oQ}),oQ="ng",_T=new ee(""),oa=new ee("",{providedIn:"platform",factory:()=>"unknown"}),yT=new ee(""),dO=new ee("",{providedIn:"root",factory:()=>vo().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),pO=new ee("",{providedIn:"root",factory:()=>!1});var xT=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(xT||{});const Df=new ee(""),yO=new Set;function ai(e){yO.has(e)||(yO.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var zu=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(zu||{});let RT=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=k({token:e,providedIn:"root",factory:()=>new e})}return e})();const vO=[zu.EarlyRead,zu.Write,zu.MixedReadWrite,zu.Read];let bO=(()=>{class e{ngZone=z(nt);scheduler=z(_o);errorHandler=z(yo,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){z(Df,{optional:!0})}execute(){this.executing=!0;for(const t of vO)for(const i of this.sequences)if(!i.erroredOrDestroyed&&i.hooks[t])try{i.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>i.hooks[t](i.pipelinedValue),i.snapshot))}catch(r){i.erroredOrDestroyed=!0,this.errorHandler?.handleError(r)}this.executing=!1;for(const t of this.sequences)t.afterRun(),t.once&&(this.sequences.delete(t),t.destroy());for(const t of this.deferredRegistrations)this.sequences.add(t);this.deferredRegistrations.size>0&&this.scheduler.notify(8),this.deferredRegistrations.clear()}register(t){this.executing?this.deferredRegistrations.add(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(xT.AFTER_NEXT_RENDER,t):t()}static \u0275prov=k({token:e,providedIn:"root",factory:()=>new e})}return e})();class wO{impl;hooks;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(n,t,i,r,s=null){this.impl=n,this.hooks=t,this.once=i,this.snapshot=s,this.unregisterOnDestroy=r?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.()}}function Tf(e,n){!n?.injector&&xu();const t=n?.injector??z(At);return ai("NgAfterNextRender"),function CO(e,n,t,i){const r=n.get(RT);r.impl??=n.get(bO);const s=n.get(Df,null,{optional:!0}),o=t?.phase??zu.MixedReadWrite,a=!0!==t?.manualCleanup?n.get(Ba):null,l=new wO(r.impl,function hQ(e,n){if(e instanceof Function){const t=[void 0,void 0,void 0,void 0];return t[n]=e,t}return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}(e,o),i,a,s?.snapshot(null));return r.impl.register(l),l}(e,t,n,!0)}var Zr=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Zr||{});let D_,T_;function Ku(e){return function $T(){if(void 0===D_&&(D_=null,Kt.trustedTypes))try{D_=Kt.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return D_}()?.createHTML(e)||e}function UT(){if(void 0===T_&&(T_=null,Kt.trustedTypes))try{T_=Kt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return T_}function zO(e){return UT()?.createHTML(e)||e}function WO(e){return UT()?.createScriptURL(e)||e}class ic{changingThisBreaksApplicationSecurity;constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${_k})`}}class QQ extends ic{getTypeName(){return"HTML"}}class KQ extends ic{getTypeName(){return"Style"}}class XQ extends ic{getTypeName(){return"Script"}}class ZQ extends ic{getTypeName(){return"URL"}}class JQ extends ic{getTypeName(){return"ResourceURL"}}function Er(e){return e instanceof ic?e.changingThisBreaksApplicationSecurity:e}function bo(e,n){const t=function e9(e){return e instanceof ic&&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 ${_k})`)}return t===n}class o9{inertDocumentHelper;constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{const t=(new window.DOMParser).parseFromString(Ku(n),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(n):(t.firstChild?.remove(),t)}catch{return null}}}class a9{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=Ku(n),t}}const c9=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function S_(e){return(e=String(e)).match(c9)?e:"unsafe:"+e}function aa(e){const n={};for(const t of e.split(","))n[t]=!0;return n}function Pf(...e){const n={};for(const t of e)for(const i in t)t.hasOwnProperty(i)&&(n[i]=!0);return n}const qO=aa("area,br,col,hr,img,wbr"),QO=aa("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),KO=