diff --git a/.browserslistrc b/.browserslistrc deleted file mode 100644 index 427441dc..00000000 --- a/.browserslistrc +++ /dev/null @@ -1,17 +0,0 @@ -# This file is used by the build system to adjust CSS and JS output to support the specified browsers below. -# For additional information regarding the format and rule options, please see: -# https://github.com/browserslist/browserslist#queries - -# For the full list of supported browsers by the Angular framework, please see: -# https://angular.io/guide/browser-support - -# You can see what browsers were selected by your queries by running: -# npx browserslist - -last 1 Chrome version -last 1 Firefox version -last 2 Edge major versions -last 2 Safari major versions -last 2 iOS major versions -Firefox ESR -not IE 11 # Angular supports IE 11 only as an opt-in. To opt-in, remove the 'not' prefix on this line. diff --git a/README.md b/README.md index cba3e984..75bd9e5f 100644 --- a/README.md +++ b/README.md @@ -46,6 +46,7 @@ Latest version available for each version of Angular | angular2-multiselect-dropdown | Angular | | ----------------------------- | ----------- | +| 7.0.0 | 15.X.X | | 6.0.0 | 14.X.X | diff --git a/docs/3rdpartylicenses.txt b/docs/3rdpartylicenses.txt index 7885e7eb..d56f455a 100644 --- a/docs/3rdpartylicenses.txt +++ b/docs/3rdpartylicenses.txt @@ -4,9 +4,6 @@ MIT @angular/common MIT -@angular/compiler -MIT - @angular/core MIT diff --git a/docs/index.html b/docs/index.html index 1c56fc60..5e886e62 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1,7 +1,7 @@ Angular Multiselect Dropdown | Cuppa Labs - + diff --git a/docs/main.js b/docs/main.js index 28adc5c9..2e185e02 100644 --- a/docs/main.js +++ b/docs/main.js @@ -1 +1 @@ -"use strict";(self.webpackChunkangular2_multiselect_dropdown=self.webpackChunkangular2_multiselect_dropdown||[]).push([[179],{715:()=>{function Li(t){return"function"==typeof t}let to=!1;const bn={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){const n=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+n.stack)}else to&&console.log("RxJS: Back to a better error behavior. Thank you. <3");to=t},get useDeprecatedSynchronousErrorHandling(){return to}};function Bi(t){setTimeout(()=>{throw t},0)}const ja={closed:!0,next(t){},error(t){if(bn.useDeprecatedSynchronousErrorHandling)throw t;Bi(t)},complete(){}},Vi=Array.isArray||(t=>t&&"number"==typeof t.length);function Wu(t){return null!==t&&"object"==typeof t}const Ga=(()=>{function t(n){return Error.call(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((e,i)=>`${i+1}) ${e.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=n,this}return t.prototype=Object.create(Error.prototype),t})();class Je{constructor(n){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,n&&(this._ctorUnsubscribe=!0,this._unsubscribe=n)}unsubscribe(){let n;if(this.closed)return;let{_parentOrParents:e,_ctorUnsubscribe:i,_unsubscribe:r,_subscriptions:s}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,e instanceof Je)e.remove(this);else if(null!==e)for(let o=0;on.concat(e instanceof Ga?e.errors:e),[])}Je.EMPTY=((t=new Je).closed=!0,t);const za="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random();class Se extends Je{constructor(n,e,i){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=ja;break;case 1:if(!n){this.destination=ja;break}if("object"==typeof n){n instanceof Se?(this.syncErrorThrowable=n.syncErrorThrowable,this.destination=n,n.add(this)):(this.syncErrorThrowable=!0,this.destination=new sm(this,n));break}default:this.syncErrorThrowable=!0,this.destination=new sm(this,n,e,i)}}[za](){return this}static create(n,e,i){const r=new Se(n,e,i);return r.syncErrorThrowable=!1,r}next(n){this.isStopped||this._next(n)}error(n){this.isStopped||(this.isStopped=!0,this._error(n))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(n){this.destination.next(n)}_error(n){this.destination.error(n),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:n}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=n,this}}class sm extends Se{constructor(n,e,i,r){super(),this._parentSubscriber=n;let s,o=this;Li(e)?s=e:e&&(s=e.next,i=e.error,r=e.complete,e!==ja&&(o=Object.create(e),Li(o.unsubscribe)&&this.add(o.unsubscribe.bind(o)),o.unsubscribe=this.unsubscribe.bind(this))),this._context=o,this._next=s,this._error=i,this._complete=r}next(n){if(!this.isStopped&&this._next){const{_parentSubscriber:e}=this;bn.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,n)&&this.unsubscribe():this.__tryOrUnsub(this._next,n)}}error(n){if(!this.isStopped){const{_parentSubscriber:e}=this,{useDeprecatedSynchronousErrorHandling:i}=bn;if(this._error)i&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,n),this.unsubscribe()):(this.__tryOrUnsub(this._error,n),this.unsubscribe());else if(e.syncErrorThrowable)i?(e.syncErrorValue=n,e.syncErrorThrown=!0):Bi(n),this.unsubscribe();else{if(this.unsubscribe(),i)throw n;Bi(n)}}}complete(){if(!this.isStopped){const{_parentSubscriber:n}=this;if(this._complete){const e=()=>this._complete.call(this._context);bn.useDeprecatedSynchronousErrorHandling&&n.syncErrorThrowable?(this.__tryOrSetError(n,e),this.unsubscribe()):(this.__tryOrUnsub(e),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(n,e){try{n.call(this._context,e)}catch(i){if(this.unsubscribe(),bn.useDeprecatedSynchronousErrorHandling)throw i;Bi(i)}}__tryOrSetError(n,e,i){if(!bn.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,i)}catch(r){return bn.useDeprecatedSynchronousErrorHandling?(n.syncErrorValue=r,n.syncErrorThrown=!0,!0):(Bi(r),!0)}return!1}_unsubscribe(){const{_parentSubscriber:n}=this;this._context=null,this._parentSubscriber=null,n.unsubscribe()}}const no="function"==typeof Symbol&&Symbol.observable||"@@observable";function Wa(t){return t}function om(t){return 0===t.length?Wa:1===t.length?t[0]:function(e){return t.reduce((i,r)=>r(i),e)}}let we=(()=>{class t{constructor(e){this._isScalar=!1,e&&(this._subscribe=e)}lift(e){const i=new t;return i.source=this,i.operator=e,i}subscribe(e,i,r){const{operator:s}=this,o=function xE(t,n,e){if(t){if(t instanceof Se)return t;if(t[za])return t[za]()}return t||n||e?new Se(t,n,e):new Se(ja)}(e,i,r);if(o.add(s?s.call(o,this.source):this.source||bn.useDeprecatedSynchronousErrorHandling&&!o.syncErrorThrowable?this._subscribe(o):this._trySubscribe(o)),bn.useDeprecatedSynchronousErrorHandling&&o.syncErrorThrowable&&(o.syncErrorThrowable=!1,o.syncErrorThrown))throw o.syncErrorValue;return o}_trySubscribe(e){try{return this._subscribe(e)}catch(i){bn.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=i),function AE(t){for(;t;){const{closed:n,destination:e,isStopped:i}=t;if(n||i)return!1;t=e&&e instanceof Se?e:null}return!0}(e)?e.error(i):console.warn(i)}}forEach(e,i){return new(i=am(i))((r,s)=>{let o;o=this.subscribe(a=>{try{e(a)}catch(l){s(l),o&&o.unsubscribe()}},s,r)})}_subscribe(e){const{source:i}=this;return i&&i.subscribe(e)}[no](){return this}pipe(...e){return 0===e.length?this:om(e)(this)}toPromise(e){return new(e=am(e))((i,r)=>{let s;this.subscribe(o=>s=o,o=>r(o),()=>i(s))})}}return t.create=n=>new t(n),t})();function am(t){if(t||(t=bn.Promise||Promise),!t)throw new Error("no Promise impl found");return t}const qr=(()=>{function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t})();class RE extends Je{constructor(n,e){super(),this.subject=n,this.subscriber=e,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const n=this.subject,e=n.observers;if(this.subject=null,!e||0===e.length||n.isStopped||n.closed)return;const i=e.indexOf(this.subscriber);-1!==i&&e.splice(i,1)}}class lm extends Se{constructor(n){super(n),this.destination=n}}let Ae=(()=>{class t extends we{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[za](){return new lm(this)}lift(e){const i=new cm(this,this);return i.operator=e,i}next(e){if(this.closed)throw new qr;if(!this.isStopped){const{observers:i}=this,r=i.length,s=i.slice();for(let o=0;onew cm(n,e),t})();class cm extends Ae{constructor(n,e){super(),this.destination=n,this.source=e}next(n){const{destination:e}=this;e&&e.next&&e.next(n)}error(n){const{destination:e}=this;e&&e.error&&this.destination.error(n)}complete(){const{destination:n}=this;n&&n.complete&&this.destination.complete()}_subscribe(n){const{source:e}=this;return e?this.source.subscribe(n):Je.EMPTY}}function Kr(t){return t&&"function"==typeof t.schedule}function B(t,n){return function(i){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return i.lift(new kE(t,n))}}class kE{constructor(n,e){this.project=n,this.thisArg=e}call(n,e){return e.subscribe(new PE(n,this.project,this.thisArg))}}class PE extends Se{constructor(n,e,i){super(n),this.project=e,this.count=0,this.thisArg=i||this}_next(n){let e;try{e=this.project.call(this.thisArg,n,this.count++)}catch(i){return void this.destination.error(i)}this.destination.next(e)}}const um=t=>n=>{for(let e=0,i=t.length;et&&"number"==typeof t.length&&"function"!=typeof t;function hm(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}const qu=t=>{if(t&&"function"==typeof t[no])return(t=>n=>{const e=t[no]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(n)})(t);if(dm(t))return um(t);if(hm(t))return(t=>n=>(t.then(e=>{n.closed||(n.next(e),n.complete())},e=>n.error(e)).then(null,Bi),n))(t);if(t&&"function"==typeof t[Hi])return(t=>n=>{const e=t[Hi]();for(;;){let i;try{i=e.next()}catch(r){return n.error(r),n}if(i.done){n.complete();break}if(n.next(i.value),n.closed)break}return"function"==typeof e.return&&n.add(()=>{e.return&&e.return()}),n})(t);{const e=`You provided ${Wu(t)?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(e)}};function Ku(t,n){return new we(e=>{const i=new Je;let r=0;return i.add(n.schedule(function(){r!==t.length?(e.next(t[r++]),e.closed||i.add(this.schedule())):e.complete()})),i})}function st(t,n){return n?function zE(t,n){if(null!=t){if(function jE(t){return t&&"function"==typeof t[no]}(t))return function HE(t,n){return new we(e=>{const i=new Je;return i.add(n.schedule(()=>{const r=t[no]();i.add(r.subscribe({next(s){i.add(n.schedule(()=>e.next(s)))},error(s){i.add(n.schedule(()=>e.error(s)))},complete(){i.add(n.schedule(()=>e.complete()))}}))})),i})}(t,n);if(hm(t))return function UE(t,n){return new we(e=>{const i=new Je;return i.add(n.schedule(()=>t.then(r=>{i.add(n.schedule(()=>{e.next(r),i.add(n.schedule(()=>e.complete()))}))},r=>{i.add(n.schedule(()=>e.error(r)))}))),i})}(t,n);if(dm(t))return Ku(t,n);if(function GE(t){return t&&"function"==typeof t[Hi]}(t)||"string"==typeof t)return function $E(t,n){if(!t)throw new Error("Iterable cannot be null");return new we(e=>{const i=new Je;let r;return i.add(()=>{r&&"function"==typeof r.return&&r.return()}),i.add(n.schedule(()=>{r=t[Hi](),i.add(n.schedule(function(){if(e.closed)return;let s,o;try{const a=r.next();s=a.value,o=a.done}catch(a){return void e.error(a)}o?e.complete():(e.next(s),this.schedule())}))})),i})}(t,n)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}(t,n):t instanceof we?t:new we(qu(t))}class io extends Se{constructor(n){super(),this.parent=n}_next(n){this.parent.notifyNext(n)}_error(n){this.parent.notifyError(n),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class ro extends Se{notifyNext(n){this.destination.next(n)}notifyError(n){this.destination.error(n)}notifyComplete(){this.destination.complete()}}function so(t,n){if(n.closed)return;if(t instanceof we)return t.subscribe(n);let e;try{e=qu(t)(n)}catch(i){n.error(i)}return e}function It(t,n,e=Number.POSITIVE_INFINITY){return"function"==typeof n?i=>i.pipe(It((r,s)=>st(t(r,s)).pipe(B((o,a)=>n(r,o,s,a))),e)):("number"==typeof n&&(e=n),i=>i.lift(new WE(t,e)))}class WE{constructor(n,e=Number.POSITIVE_INFINITY){this.project=n,this.concurrent=e}call(n,e){return e.subscribe(new qE(n,this.project,this.concurrent))}}class qE extends ro{constructor(n,e,i=Number.POSITIVE_INFINITY){super(n),this.project=e,this.concurrent=i,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(n){this.active0?this._next(n.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function Jr(t=Number.POSITIVE_INFINITY){return It(Wa,t)}function oo(t,n){return n?Ku(t,n):new we(um(t))}function Ju(...t){let n=Number.POSITIVE_INFINITY,e=null,i=t[t.length-1];return Kr(i)?(e=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(n=t.pop())):"number"==typeof i&&(n=t.pop()),null===e&&1===t.length&&t[0]instanceof we?t[0]:Jr(n)(oo(t,e))}function qa(){return function(n){return n.lift(new KE(n))}}class KE{constructor(n){this.connectable=n}call(n,e){const{connectable:i}=this;i._refCount++;const r=new JE(n,i),s=e.subscribe(r);return r.closed||(r.connection=i.connect()),s}}class JE extends Se{constructor(n,e){super(n),this.connectable=e}_unsubscribe(){const{connectable:n}=this;if(!n)return void(this.connection=null);this.connectable=null;const e=n._refCount;if(e<=0)return void(this.connection=null);if(n._refCount=e-1,e>1)return void(this.connection=null);const{connection:i}=this,r=n._connection;this.connection=null,r&&(!i||r===i)&&r.unsubscribe()}}class Qu extends we{constructor(n,e){super(),this.source=n,this.subjectFactory=e,this._refCount=0,this._isComplete=!1}_subscribe(n){return this.getSubject().subscribe(n)}getSubject(){const n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let n=this._connection;return n||(this._isComplete=!1,n=this._connection=new Je,n.add(this.source.subscribe(new YE(this.getSubject(),this))),n.closed&&(this._connection=null,n=Je.EMPTY)),n}refCount(){return qa()(this)}}const QE=(()=>{const t=Qu.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:t._subscribe},_isComplete:{value:t._isComplete,writable:!0},getSubject:{value:t.getSubject},connect:{value:t.connect},refCount:{value:t.refCount}}})();class YE extends lm{constructor(n,e){super(n),this.connectable=e}_error(n){this._unsubscribe(),super._error(n)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const n=this.connectable;if(n){this.connectable=null;const e=n._connection;n._refCount=0,n._subject=null,n._connection=null,e&&e.unsubscribe()}}}function Yu(t,n){return function(i){let r;if(r="function"==typeof t?t:function(){return t},"function"==typeof n)return i.lift(new XE(r,n));const s=Object.create(i,QE);return s.source=i,s.subjectFactory=r,s}}class XE{constructor(n,e){this.subjectFactory=n,this.selector=e}call(n,e){const{selector:i}=this,r=this.subjectFactory(),s=i(r).subscribe(n);return s.add(e.subscribe(r)),s}}function eT(){return new Ae}function ke(t){for(let n in t)if(t[n]===ke)return n;throw Error("Could not find renamed property on target object.")}function Zu(t,n){for(const e in n)n.hasOwnProperty(e)&&!t.hasOwnProperty(e)&&(t[e]=n[e])}function Pe(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(Pe).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const n=t.toString();if(null==n)return""+n;const e=n.indexOf("\n");return-1===e?n:n.substring(0,e)}function Xu(t,n){return null==t||""===t?null===n?"":n:null==n||""===n?t:t+" "+n}const nT=ke({__forward_ref__:ke});function ge(t){return t.__forward_ref__=ge,t.toString=function(){return Pe(this())},t}function Y(t){return ed(t)?t():t}function ed(t){return"function"==typeof t&&t.hasOwnProperty(nT)&&t.__forward_ref__===ge}class M extends Error{constructor(n,e){super(function Ka(t,n){return`NG0${Math.abs(t)}${n?": "+n.trim():""}`}(n,e)),this.code=n}}function ee(t){return"string"==typeof t?t:null==t?"":String(t)}function Ja(t,n){throw new M(-201,!1)}function Xt(t,n){null==t&&function Ce(t,n,e,i){throw new Error(`ASSERTION ERROR: ${t}`+(null==i?"":` [Expected=> ${e} ${i} ${n} <=Actual]`))}(n,t,null,"!=")}function P(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function de(t){return{providers:t.providers||[],imports:t.imports||[]}}function Qa(t){return fm(t,Ya)||fm(t,gm)}function fm(t,n){return t.hasOwnProperty(n)?t[n]:null}function pm(t){return t&&(t.hasOwnProperty(td)||t.hasOwnProperty(dT))?t[td]:null}const Ya=ke({\u0275prov:ke}),td=ke({\u0275inj:ke}),gm=ke({ngInjectableDef:ke}),dT=ke({ngInjectorDef:ke});var J=(()=>((J=J||{})[J.Default=0]="Default",J[J.Host=1]="Host",J[J.Self=2]="Self",J[J.SkipSelf=4]="SkipSelf",J[J.Optional=8]="Optional",J))();let nd;function vn(t){const n=nd;return nd=t,n}function mm(t,n,e){const i=Qa(t);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:e&J.Optional?null:void 0!==n?n:void Ja(Pe(t))}function Ui(t){return{toString:t}.toString()}var Rn=(()=>((Rn=Rn||{})[Rn.OnPush=0]="OnPush",Rn[Rn.Default=1]="Default",Rn))(),kn=(()=>(function(t){t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom"}(kn||(kn={})),kn))();const Le=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Qr={},De=[],Za=ke({\u0275cmp:ke}),id=ke({\u0275dir:ke}),rd=ke({\u0275pipe:ke}),_m=ke({\u0275mod:ke}),ui=ke({\u0275fac:ke}),ao=ke({__NG_ELEMENT_ID__:ke});let fT=0;function te(t){return Ui(()=>{const e=!0===t.standalone,i={},r={type:t.type,providersResolver:null,decls:t.decls,vars:t.vars,factory:null,template:t.template||null,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:i,inputs:null,outputs:null,exportAs:t.exportAs||null,onPush:t.changeDetection===Rn.OnPush,directiveDefs:null,pipeDefs:null,standalone:e,dependencies:e&&t.dependencies||null,getStandaloneInjector:null,selectors:t.selectors||De,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||kn.Emulated,id:"c"+fT++,styles:t.styles||De,_:null,setInput:null,schemas:t.schemas||null,tView:null},s=t.dependencies,o=t.features;return r.inputs=vm(t.inputs,i),r.outputs=vm(t.outputs),o&&o.forEach(a=>a(r)),r.directiveDefs=s?()=>("function"==typeof s?s():s).map(ym).filter(bm):null,r.pipeDefs=s?()=>("function"==typeof s?s():s).map(Vt).filter(bm):null,r})}function ym(t){return Ne(t)||Bt(t)}function bm(t){return null!==t}function fe(t){return Ui(()=>({type:t.type,bootstrap:t.bootstrap||De,declarations:t.declarations||De,imports:t.imports||De,exports:t.exports||De,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function vm(t,n){if(null==t)return Qr;const e={};for(const i in t)if(t.hasOwnProperty(i)){let r=t[i],s=r;Array.isArray(r)&&(s=r[1],r=r[0]),e[r]=i,n&&(n[r]=s)}return e}const k=te;function Lt(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,standalone:!0===t.standalone,onDestroy:t.type.prototype.ngOnDestroy||null}}function Ne(t){return t[Za]||null}function Bt(t){return t[id]||null}function Vt(t){return t[rd]||null}function en(t,n){const e=t[_m]||null;if(!e&&!0===n)throw new Error(`Type ${Pe(t)} does not have '\u0275mod' property.`);return e}function Kt(t){return Array.isArray(t)&&"object"==typeof t[1]}function Fn(t){return Array.isArray(t)&&!0===t[1]}function ad(t){return 0!=(8&t.flags)}function nl(t){return 2==(2&t.flags)}function il(t){return 1==(1&t.flags)}function Ln(t){return null!==t.template}function bT(t){return 0!=(256&t[2])}function br(t,n){return t.hasOwnProperty(ui)?t[ui]:null}class ST{constructor(n,e,i){this.previousValue=n,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}}function Dt(){return wm}function wm(t){return t.type.prototype.ngOnChanges&&(t.setInput=CT),wT}function wT(){const t=Em(this),n=t?.current;if(n){const e=t.previous;if(e===Qr)t.previous=n;else for(let i in n)e[i]=n[i];t.current=null,this.ngOnChanges(n)}}function CT(t,n,e,i){const r=Em(t)||function ET(t,n){return t[Cm]=n}(t,{previous:Qr,current:null}),s=r.current||(r.current={}),o=r.previous,a=this.declaredInputs[e],l=o[a];s[a]=new ST(l&&l.currentValue,n,o===Qr),t[i]=n}Dt.ngInherit=!0;const Cm="__ngSimpleChanges__";function Em(t){return t[Cm]||null}function ot(t){for(;Array.isArray(t);)t=t[0];return t}function rl(t,n){return ot(n[t])}function nn(t,n){return ot(n[t.index])}function hd(t,n){return t.data[n]}function ts(t,n){return t[n]}function rn(t,n){const e=n[t];return Kt(e)?e:e[0]}function sl(t){return 64==(64&t[2])}function $i(t,n){return null==n?null:t[n]}function Tm(t){t[18]=0}function fd(t,n){t[5]+=n;let e=t,i=t[3];for(;null!==i&&(1===n&&1===e[5]||-1===n&&0===e[5]);)i[5]+=n,e=i,i=i[3]}const X={lFrame:Fm(null),bindingsEnabled:!0};function Nm(){return X.bindingsEnabled}function A(){return X.lFrame.lView}function _e(){return X.lFrame.tView}function W(t){return X.lFrame.contextLView=t,t[8]}function q(t){return X.lFrame.contextLView=null,t}function dt(){let t=Im();for(;null!==t&&64===t.type;)t=t.parent;return t}function Im(){return X.lFrame.currentTNode}function Kn(t,n){const e=X.lFrame;e.currentTNode=t,e.isParent=n}function pd(){return X.lFrame.isParent}function gd(){X.lFrame.isParent=!1}function Ht(){const t=X.lFrame;let n=t.bindingRootIndex;return-1===n&&(n=t.bindingRootIndex=t.tView.bindingStartIndex),n}function ns(){return X.lFrame.bindingIndex++}function hi(t){const n=X.lFrame,e=n.bindingIndex;return n.bindingIndex=n.bindingIndex+t,e}function HT(t,n){const e=X.lFrame;e.bindingIndex=e.bindingRootIndex=t,md(n)}function md(t){X.lFrame.currentDirectiveIndex=t}function Rm(){return X.lFrame.currentQueryIndex}function yd(t){X.lFrame.currentQueryIndex=t}function $T(t){const n=t[1];return 2===n.type?n.declTNode:1===n.type?t[6]:null}function km(t,n,e){if(e&J.SkipSelf){let r=n,s=t;for(;!(r=r.parent,null!==r||e&J.Host||(r=$T(s),null===r||(s=s[15],10&r.type))););if(null===r)return!1;n=r,t=s}const i=X.lFrame=Pm();return i.currentTNode=n,i.lView=t,!0}function bd(t){const n=Pm(),e=t[1];X.lFrame=n,n.currentTNode=e.firstChild,n.lView=t,n.tView=e,n.contextLView=t,n.bindingIndex=e.bindingStartIndex,n.inI18n=!1}function Pm(){const t=X.lFrame,n=null===t?null:t.child;return null===n?Fm(t):n}function Fm(t){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:t,child:null,inI18n:!1};return null!==t&&(t.child=n),n}function Lm(){const t=X.lFrame;return X.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const Bm=Lm;function vd(){const t=Lm();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function Ut(){return X.lFrame.selectedIndex}function ji(t){X.lFrame.selectedIndex=t}function Qe(){const t=X.lFrame;return hd(t.tView,t.selectedIndex)}function is(){X.lFrame.currentNamespace="svg"}function ol(t,n){for(let e=n.directiveStart,i=n.directiveEnd;e=i)break}else n[l]<0&&(t[18]+=65536),(a>11>16&&(3&t[2])===n){t[2]+=2048;try{s.call(a)}finally{}}}else try{s.call(a)}finally{}}class po{constructor(n,e,i){this.factory=n,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=i}}function cl(t,n,e){let i=0;for(;in){o=s-1;break}}}for(;s>16}(t),i=n;for(;e>0;)i=i[15],e--;return i}let wd=!0;function dl(t){const n=wd;return wd=t,n}let nM=0;const Jn={};function mo(t,n){const e=Ed(t,n);if(-1!==e)return e;const i=n[1];i.firstCreatePass&&(t.injectorIndex=n.length,Cd(i.data,t),Cd(n,null),Cd(i.blueprint,null));const r=hl(t,n),s=t.injectorIndex;if(jm(r)){const o=rs(r),a=ss(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 Cd(t,n){t.push(0,0,0,0,0,0,0,0,n)}function Ed(t,n){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===n[t.injectorIndex+8]?-1:t.injectorIndex}function hl(t,n){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let e=0,i=null,r=n;for(;null!==r;){if(i=Zm(r),null===i)return-1;if(e++,r=r[15],-1!==i.injectorIndex)return i.injectorIndex|e<<16}return-1}function fl(t,n,e){!function iM(t,n,e){let i;"string"==typeof e?i=e.charCodeAt(0)||0:e.hasOwnProperty(ao)&&(i=e[ao]),null==i&&(i=e[ao]=nM++);const r=255&i;n.data[t+(r>>5)]|=1<=0?255&n:aM:n}(e);if("function"==typeof s){if(!km(n,t,i))return i&J.Host?Wm(r,0,i):qm(n,e,i,r);try{const o=s(i);if(null!=o||i&J.Optional)return o;Ja()}finally{Bm()}}else if("number"==typeof s){let o=null,a=Ed(t,n),l=-1,c=i&J.Host?n[16][6]:null;for((-1===a||i&J.SkipSelf)&&(l=-1===a?hl(t,n):n[a+8],-1!==l&&Ym(i,!1)?(o=n[1],a=rs(l),n=ss(l,n)):a=-1);-1!==a;){const u=n[1];if(Qm(s,a,u.data)){const d=sM(a,n,e,o,i,c);if(d!==Jn)return d}l=n[a+8],-1!==l&&Ym(i,n[1].data[a+8]===c)&&Qm(s,a,n)?(o=u,a=rs(l),n=ss(l,n)):a=-1}}return r}function sM(t,n,e,i,r,s){const o=n[1],a=o.data[t+8],u=pl(a,o,e,null==i?nl(a)&&wd:i!=o&&0!=(3&a.type),r&J.Host&&s===a);return null!==u?_o(n,o,u,a):Jn}function pl(t,n,e,i,r){const s=t.providerIndexes,o=n.data,a=1048575&s,l=t.directiveStart,u=s>>20,h=r?a+u:t.directiveEnd;for(let f=i?a:a+u;f=l&&p.type===e)return f}if(r){const f=o[l];if(f&&Ln(f)&&f.type===e)return l}return null}function _o(t,n,e,i){let r=t[e];const s=n.data;if(function YT(t){return t instanceof po}(r)){const o=r;o.resolving&&function iT(t,n){const e=n?`. Dependency path: ${n.join(" > ")} > ${t}`:"";throw new M(-200,`Circular dependency in DI detected for ${t}${e}`)}(function ve(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():ee(t)}(s[e]));const a=dl(o.canSeeViewProviders);o.resolving=!0;const l=o.injectImpl?vn(o.injectImpl):null;km(t,i,J.Default);try{r=t[e]=o.factory(void 0,s,t,i),n.firstCreatePass&&e>=i.directiveStart&&function JT(t,n,e){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:s}=n.type.prototype;if(i){const o=wm(n);(e.preOrderHooks||(e.preOrderHooks=[])).push(t,o),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(t,o)}r&&(e.preOrderHooks||(e.preOrderHooks=[])).push(0-t,r),s&&((e.preOrderHooks||(e.preOrderHooks=[])).push(t,s),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(t,s))}(e,s[e],n)}finally{null!==l&&vn(l),dl(a),o.resolving=!1,Bm()}}return r}function Qm(t,n,e){return!!(e[n+(t>>5)]&1<{const n=t.prototype.constructor,e=n[ui]||Td(n),i=Object.prototype;let r=Object.getPrototypeOf(t.prototype).constructor;for(;r&&r!==i;){const s=r[ui]||Td(r);if(s&&s!==e)return s;r=Object.getPrototypeOf(r)}return s=>new s})}function Td(t){return ed(t)?()=>{const n=Td(Y(t));return n&&n()}:br(t)}function Zm(t){const n=t[1],e=n.type;return 2===e?n.declTNode:1===e?t[6]:null}function vr(t){return function rM(t,n){if("class"===n)return t.classes;if("style"===n)return t.styles;const e=t.attrs;if(e){const i=e.length;let r=0;for(;r{const i=function Md(t){return function(...e){if(t){const i=t(...e);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(ls)?l[ls]:Object.defineProperty(l,ls,{value:[]})[ls];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(o),l}}return e&&(r.prototype=Object.create(e.prototype)),r.prototype.ngMetadataName=t,r.annotationCls=r,r})}class ${constructor(n,e){this._desc=n,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=P({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function sn(t,n){void 0===n&&(n=t);for(let e=0;eArray.isArray(e)?fi(e,n):n(e))}function e_(t,n,e){n>=t.length?t.push(e):t.splice(n,0,e)}function gl(t,n){return n>=t.length-1?t.pop():t.splice(n,1)[0]}function vo(t,n){const e=[];for(let i=0;i=0?t[1|i]=e:(i=~i,function hM(t,n,e,i){let r=t.length;if(r==n)t.push(e,i);else if(1===r)t.push(i,t[0]),t[0]=e;else{for(r--,t.push(t[r-1],t[r]);r>n;)t[r]=t[r-2],r--;t[n]=e,t[n+1]=i}}(t,i,n,e)),i}function Id(t,n){const e=ds(t,n);if(e>=0)return t[1|e]}function ds(t,n){return function i_(t,n,e){let i=0,r=t.length>>e;for(;r!==i;){const s=i+(r-i>>1),o=t[s<n?r=s:i=s+1}return~(r<((Jt=Jt||{})[Jt.Important=1]="Important",Jt[Jt.DashCase=2]="DashCase",Jt))();const Ld=new Map;let UM=0;const Vd="__ngContext__";function Ot(t,n){Kt(n)?(t[Vd]=n[20],function jM(t){Ld.set(t[20],t)}(n)):t[Vd]=n}function Ud(t,n){return undefined(t,n)}function Io(t){const n=t[3];return Fn(n)?n[3]:n}function $d(t){return E_(t[13])}function jd(t){return E_(t[4])}function E_(t){for(;null!==t&&!Fn(t);)t=t[4];return t}function ps(t,n,e,i,r){if(null!=i){let s,o=!1;Fn(i)?s=i:Kt(i)&&(o=!0,i=i[0]);const a=ot(i);0===t&&null!==e?null==r?x_(n,e,a):Dr(n,e,a,r||null,!0):1===t&&null!==e?Dr(n,e,a,r||null,!0):2===t?function Qd(t,n,e){const i=vl(t,n);i&&function dN(t,n,e,i){t.removeChild(n,e,i)}(t,i,n,e)}(n,a,o):3===t&&n.destroyNode(a),null!=s&&function pN(t,n,e,i,r){const s=e[7];s!==ot(e)&&ps(n,t,i,s,r);for(let a=10;a0&&(t[e-1][4]=i[4]);const s=gl(t,10+n);!function iN(t,n){Ao(t,n,n[11],2,null,null),n[0]=null,n[6]=null}(i[1],i);const o=s[19];null!==o&&o.detachView(s[1]),i[3]=null,i[4]=null,i[2]&=-65}return i}function N_(t,n){if(!(128&n[2])){const e=n[11];e.destroyNode&&Ao(t,n,e,3,null,null),function oN(t){let n=t[13];if(!n)return qd(t[1],t);for(;n;){let e=null;if(Kt(n))e=n[13];else{const i=n[10];i&&(e=i)}if(!e){for(;n&&!n[4]&&n!==t;)Kt(n)&&qd(n[1],n),n=n[3];null===n&&(n=t),Kt(n)&&qd(n[1],n),e=n&&n[4]}n=e}}(n)}}function qd(t,n){if(!(128&n[2])){n[2]&=-65,n[2]|=128,function uN(t,n){let e;if(null!=t&&null!=(e=t.destroyHooks))for(let i=0;i=0?i[r=c]():i[r=-c].unsubscribe(),s+=2}else{const o=i[r=e[s+1]];e[s].call(o)}if(null!==i){for(let s=r+1;s((Fe=Fe||{})[Fe.NONE=0]="NONE",Fe[Fe.HTML=1]="HTML",Fe[Fe.STYLE=2]="STYLE",Fe[Fe.SCRIPT=3]="SCRIPT",Fe[Fe.URL=4]="URL",Fe[Fe.RESOURCE_URL=5]="RESOURCE_URL",Fe))();function Cr(t){const n=function Oo(){const t=A();return t&&t[12]}();return n?n.sanitize(Fe.URL,t)||"":function Qn(t,n){const e=function EN(t){return t instanceof wr&&t.getTypeName()||null}(t);if(null!=e&&e!==n){if("ResourceURL"===e&&"URL"===n)return!0;throw new Error(`Required a safe ${n}, got a ${e} (see https://g.co/ng/security#xss)`)}return e===n}(t,"URL")?an(t):function El(t){return(t=String(t)).match(kN)?t:"unsafe:"+t}(ee(t))}const sh=new $("ENVIRONMENT_INITIALIZER"),Z_=new $("INJECTOR",-1),X_=new $("INJECTOR_DEF_TYPES");class ey{get(n,e=Do){if(e===Do){const i=new Error(`NullInjectorError: No provider for ${Pe(n)}!`);throw i.name="NullInjectorError",i}return e}}function qN(...t){return{\u0275providers:ty(0,t)}}function ty(t,...n){const e=[],i=new Set;let r;return fi(n,s=>{const o=s;oh(o,e,[],i)&&(r||(r=[]),r.push(o))}),void 0!==r&&ny(r,e),e}function ny(t,n){for(let e=0;e{n.push(s)})}}function oh(t,n,e,i){if(!(t=Y(t)))return!1;let r=null,s=pm(t);const o=!s&&Ne(t);if(s||o){if(o&&!o.standalone)return!1;r=t}else{const l=t.ngModule;if(s=pm(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)oh(c,n,e,i)}}else{if(!s)return!1;{if(null!=s.imports&&!a){let c;i.add(r);try{fi(s.imports,u=>{oh(u,n,e,i)&&(c||(c=[]),c.push(u))})}finally{}void 0!==c&&ny(c,n)}if(!a){const c=br(r)||(()=>new r);n.push({provide:r,useFactory:c,deps:De},{provide:X_,useValue:r,multi:!0},{provide:sh,useValue:()=>x(r),multi:!0})}const l=s.providers;null==l||a||fi(l,u=>{n.push(u)})}}return r!==t&&void 0!==t.providers}const KN=ke({provide:String,useValue:ke});function ah(t){return null!==t&&"object"==typeof t&&KN in t}function Er(t){return"function"==typeof t}const lh=new $("Set Injector scope."),Ml={},QN={};let ch;function Nl(){return void 0===ch&&(ch=new ey),ch}class zi{}class sy extends zi{constructor(n,e,i,r){super(),this.parent=e,this.source=i,this.scopes=r,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,dh(n,o=>this.processProvider(o)),this.records.set(Z_,gs(void 0,this)),r.has("environment")&&this.records.set(zi,gs(void 0,this));const s=this.records.get(lh);null!=s&&"string"==typeof s.value&&this.scopes.add(s.value),this.injectorDefTypes=new Set(this.get(X_.multi,De,J.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const n of this._ngOnDestroyHooks)n.ngOnDestroy();for(const n of this._onDestroyHooks)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(n){this._onDestroyHooks.push(n)}runInContext(n){this.assertNotDestroyed();const e=hs(this),i=vn(void 0);try{return n()}finally{hs(e),vn(i)}}get(n,e=Do,i=J.Default){this.assertNotDestroyed();const r=hs(this),s=vn(void 0);try{if(!(i&J.SkipSelf)){let a=this.records.get(n);if(void 0===a){const l=function tI(t){return"function"==typeof t||"object"==typeof t&&t instanceof $}(n)&&Qa(n);a=l&&this.injectableDefInScope(l)?gs(uh(n),Ml):null,this.records.set(n,a)}if(null!=a)return this.hydrate(n,a)}return(i&J.Self?Nl():this.parent).get(n,e=i&J.Optional&&e===Do?null:e)}catch(o){if("NullInjectorError"===o.name){if((o[_l]=o[_l]||[]).unshift(Pe(n)),r)throw o;return function CM(t,n,e,i){const r=t[_l];throw n[r_]&&r.unshift(n[r_]),t.message=function EM(t,n,e,i=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.slice(2):t;let r=Pe(n);if(Array.isArray(n))r=n.map(Pe).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):Pe(a)))}r=`{${s.join(", ")}}`}return`${e}${i?"("+i+")":""}[${r}]: ${t.replace(vM,"\n ")}`}("\n"+t.message,r,e,i),t.ngTokenPath=r,t[_l]=null,t}(o,n,"R3InjectorError",this.source)}throw o}finally{vn(s),hs(r)}}resolveInjectorInitializers(){const n=hs(this),e=vn(void 0);try{const i=this.get(sh.multi,De,J.Self);for(const r of i)r()}finally{hs(n),vn(e)}}toString(){const n=[],e=this.records;for(const i of e.keys())n.push(Pe(i));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new M(205,!1)}processProvider(n){let e=Er(n=Y(n))?n:Y(n&&n.provide);const i=function ZN(t){return ah(t)?gs(void 0,t.useValue):gs(oy(t),Ml)}(n);if(Er(n)||!0!==n.multi)this.records.get(e);else{let r=this.records.get(e);r||(r=gs(void 0,Ml,!0),r.factory=()=>Od(r.multi),this.records.set(e,r)),e=n,r.multi.push(n)}this.records.set(e,i)}hydrate(n,e){return e.value===Ml&&(e.value=QN,e.value=e.factory()),"object"==typeof e.value&&e.value&&function eI(t){return null!==t&&"object"==typeof t&&"function"==typeof t.ngOnDestroy}(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}injectableDefInScope(n){if(!n.providedIn)return!1;const e=Y(n.providedIn);return"string"==typeof e?"any"===e||this.scopes.has(e):this.injectorDefTypes.has(e)}}function uh(t){const n=Qa(t),e=null!==n?n.factory:br(t);if(null!==e)return e;if(t instanceof $)throw new M(204,!1);if(t instanceof Function)return function YN(t){const n=t.length;if(n>0)throw vo(n,"?"),new M(204,!1);const e=function cT(t){const n=t&&(t[Ya]||t[gm]);if(n){const e=function uT(t){if(t.hasOwnProperty("name"))return t.name;const n=(""+t).match(/^function\s*([^\s(]+)/);return null===n?"":n[1]}(t);return console.warn(`DEPRECATED: DI is instantiating a token "${e}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${e}" class.`),n}return null}(t);return null!==e?()=>e.factory(t):()=>new t}(t);throw new M(204,!1)}function oy(t,n,e){let i;if(Er(t)){const r=Y(t);return br(r)||uh(r)}if(ah(t))i=()=>Y(t.useValue);else if(function ry(t){return!(!t||!t.useFactory)}(t))i=()=>t.useFactory(...Od(t.deps||[]));else if(function iy(t){return!(!t||!t.useExisting)}(t))i=()=>x(Y(t.useExisting));else{const r=Y(t&&(t.useClass||t.provide));if(!function XN(t){return!!t.deps}(t))return br(r)||uh(r);i=()=>new r(...Od(t.deps))}return i}function gs(t,n,e=!1){return{factory:t,value:n,multi:e?[]:void 0}}function nI(t){return!!t.\u0275providers}function dh(t,n){for(const e of t)Array.isArray(e)?dh(e,n):nI(e)?dh(e.\u0275providers,n):n(e)}class ay{}class sI{resolveComponentFactory(n){throw function rI(t){const n=Error(`No component factory found for ${Pe(t)}. Did you add it to @NgModule.entryComponents?`);return n.ngComponent=t,n}(n)}}let ms=(()=>{class t{}return t.NULL=new sI,t})();function oI(){return _s(dt(),A())}function _s(t,n){return new me(nn(t,n))}let me=(()=>{class t{constructor(e){this.nativeElement=e}}return t.__NG_ELEMENT_ID__=oI,t})();function aI(t){return t instanceof me?t.nativeElement:t}class ys{}let ln=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>function lI(){const t=A(),e=rn(dt().index,t);return(Kt(e)?e:t)[11]}(),t})(),cI=(()=>{class t{}return t.\u0275prov=P({token:t,providedIn:"root",factory:()=>null}),t})();class Ro{constructor(n){this.full=n,this.major=n.split(".")[0],this.minor=n.split(".")[1],this.patch=n.split(".").slice(2).join(".")}}const uI=new Ro("14.3.0"),hh={};function ph(t){return t.ngOriginalError}class bs{constructor(){this._console=console}handleError(n){const e=this._findOriginalError(n);this._console.error("ERROR",n),e&&this._console.error("ORIGINAL ERROR",e)}_findOriginalError(n){let e=n&&ph(n);for(;e&&ph(e);)e=ph(e);return e||null}}function cy(t){return t.ownerDocument.defaultView}function Il(t){return t.ownerDocument}function gi(t){return t instanceof Function?t():t}function dy(t,n,e){let i=t.length;for(;;){const r=t.indexOf(n,e);if(-1===r)return r;if(0===r||t.charCodeAt(r-1)<=32){const s=n.length;if(r+s===i||t.charCodeAt(r+s)<=32)return r}e=r+1}}const hy="ng-template";function bI(t,n,e){let i=0;for(;is?"":r[d+1].toLowerCase();const f=8&i?h:null;if(f&&-1!==dy(f,c,0)||2&i&&c!==h){if(Bn(i))return!1;o=!0}}}}else{if(!o&&!Bn(i)&&!Bn(l))return!1;if(o&&Bn(l))continue;o=!1,i=l|1&i}}return Bn(i)||o}function Bn(t){return 0==(1&t)}function SI(t,n,e,i){if(null===n)return-1;let r=0;if(i||!e){let s=!1;for(;r-1)for(e++;e0?'="'+a+'"':"")+"]"}else 8&i?r+="."+o:4&i&&(r+=" "+o);else""!==r&&!Bn(o)&&(n+=gy(s,r),r=""),i=o,s=s||!Bn(i);e++}return""!==r&&(n+=gy(s,r)),n}const ne={};function _(t){my(_e(),A(),Ut()+t,!1)}function my(t,n,e,i){if(!i)if(3==(3&n[2])){const s=t.preOrderCheckHooks;null!==s&&al(n,s,e)}else{const s=t.preOrderHooks;null!==s&&ll(n,s,0,e)}ji(e)}function vy(t,n=null,e=null,i){const r=Dy(t,n,e,i);return r.resolveInjectorInitializers(),r}function Dy(t,n=null,e=null,i,r=new Set){const s=[e||De,qN(t)];return i=i||("object"==typeof t?void 0:Pe(t)),new sy(s,n||Nl(),i||null,r)}let St=(()=>{class t{static create(e,i){if(Array.isArray(e))return vy({name:""},i,e,"");{const r=e.name??"";return vy({name:r},e.parent,e.providers,r)}}}return t.THROW_IF_NOT_FOUND=Do,t.NULL=new ey,t.\u0275prov=P({token:t,providedIn:"any",factory:()=>x(Z_)}),t.__NG_ELEMENT_ID__=-1,t})();function v(t,n=J.Default){const e=A();return null===e?x(t,n):Km(dt(),e,Y(t),n)}function bh(){throw new Error("invalid")}function xl(t,n){return t<<17|n<<2}function Vn(t){return t>>17&32767}function vh(t){return 2|t}function mi(t){return(131068&t)>>2}function Dh(t,n){return-131069&t|n<<2}function Sh(t){return 1|t}function By(t,n){const e=t.contentQueries;if(null!==e)for(let i=0;i22&&my(t,n,22,!1),e(i,r)}finally{ji(s)}}function Oh(t,n,e){!Nm()||(function pA(t,n,e,i){const r=e.directiveStart,s=e.directiveEnd;t.firstCreatePass||mo(e,n),Ot(i,n);const o=e.initialInputs;for(let a=r;a0;){const e=t[--n];if("number"==typeof e&&e<0)return e}return 0})(a)!=l&&a.push(l),a.push(i,r,o)}}function qy(t,n){null!==t.hostBindings&&t.hostBindings(1,n)}function Ky(t,n){n.flags|=2,(t.components||(t.components=[])).push(n.index)}function yA(t,n,e){if(e){if(n.exportAs)for(let i=0;i0&&Lh(e)}}function Lh(t){for(let i=$d(t);null!==i;i=jd(i))for(let r=10;r0&&Lh(s)}const e=t[1].components;if(null!==e)for(let i=0;i0&&Lh(r)}}function EA(t,n){const e=rn(n,t),i=e[1];(function TA(t,n){for(let e=n.length;e-1&&(Wd(n,i),gl(e,i))}this._attachedToViewContainer=!1}N_(this._lView[1],this._lView)}onDestroy(n){$y(this._lView[1],this._lView,null,n)}markForCheck(){Bh(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){Ll(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new M(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function sN(t,n){Ao(t,n,n[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new M(902,!1);this._appRef=n}}class MA extends ko{constructor(n){super(n),this._view=n}detectChanges(){const n=this._view;Ll(n[1],n,n[8],!1)}checkNoChanges(){}get context(){return null}}class Uh extends ms{constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){const e=Ne(n);return new Po(e,this.ngModule)}}function nb(t){const n=[];for(let e in t)t.hasOwnProperty(e)&&n.push({propName:t[e],templateName:e});return n}class IA{constructor(n,e){this.injector=n,this.parentInjector=e}get(n,e,i){const r=this.injector.get(n,hh,i);return r!==hh||e===hh?r:this.parentInjector.get(n,e,i)}}class Po extends ay{constructor(n,e){super(),this.componentDef=n,this.ngModule=e,this.componentType=n.type,this.selector=function NI(t){return t.map(MI).join(",")}(n.selectors),this.ngContentSelectors=n.ngContentSelectors?n.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return nb(this.componentDef.inputs)}get outputs(){return nb(this.componentDef.outputs)}create(n,e,i,r){let s=(r=r||this.ngModule)instanceof zi?r:r?.injector;s&&null!==this.componentDef.getStandaloneInjector&&(s=this.componentDef.getStandaloneInjector(s)||s);const o=s?new IA(n,s):n,a=o.get(ys,null);if(null===a)throw new M(407,!1);const l=o.get(cI,null),c=a.createRenderer(null,this.componentDef),u=this.componentDef.selectors[0][0]||"div",d=i?function lA(t,n,e){return t.selectRootElement(n,e===kn.ShadowDom)}(c,i,this.componentDef.encapsulation):zd(c,u,function NA(t){const n=t.toLowerCase();return"svg"===n?"svg":"math"===n?"math":null}(u)),h=this.componentDef.onPush?288:272,f=kh(0,null,null,1,0,null,null,null,null,null),p=kl(null,f,null,h,null,null,a,c,l,o,null);let b,D;bd(p);try{const C=function OA(t,n,e,i,r,s){const o=e[1];e[22]=t;const l=Ss(o,22,2,"#host",null),c=l.mergedAttrs=n.hostAttrs;null!==c&&(Bl(l,c,!0),null!==t&&(cl(r,t,c),null!==l.classes&&Zd(r,t,l.classes),null!==l.styles&&V_(r,t,l.styles)));const u=i.createRenderer(t,n),d=kl(e,Uy(n),null,n.onPush?32:16,e[22],l,i,u,s||null,null,null);return o.firstCreatePass&&(fl(mo(l,e),o,n.type),Ky(o,l),Jy(l,e.length,1)),Fl(e,d),e[22]=d}(d,this.componentDef,p,a,c);if(d)if(i)cl(c,d,["ng-version",uI.full]);else{const{attrs:N,classes:w}=function II(t){const n=[],e=[];let i=1,r=2;for(;i0&&Zd(c,d,w.join(" "))}if(D=hd(f,22),void 0!==e){const N=D.projection=[];for(let w=0;w=0;i--){const r=t[i];r.hostVars=n+=r.hostVars,r.hostAttrs=ul(r.hostAttrs,e=ul(e,r.hostAttrs))}}(i)}function $h(t){return t===Qr?{}:t===De?[]:t}function FA(t,n){const e=t.viewQuery;t.viewQuery=e?(i,r)=>{n(i,r),e(i,r)}:n}function LA(t,n){const e=t.contentQueries;t.contentQueries=e?(i,r,s)=>{n(i,r,s),e(i,r,s)}:n}function BA(t,n){const e=t.hostBindings;t.hostBindings=e?(i,r)=>{n(i,r),e(i,r)}:n}let Hl=null;function Tr(){if(!Hl){const t=Le.Symbol;if(t&&t.iterator)Hl=t.iterator;else{const n=Object.getOwnPropertyNames(Map.prototype);for(let e=0;ea(ot(G[i.index])):i.index;let O=null;if(!a&&l&&(O=function QA(t,n,e,i){const r=t.cleanup;if(null!=r)for(let s=0;sl?a[l]:null}"string"==typeof o&&(s+=2)}return null}(t,n,r,i.index)),null!==O)(O.__ngLastListenerFn__||O).__ngNextListenerFn__=s,O.__ngLastListenerFn__=s,f=!1;else{s=yb(i,n,d,s,!1);const G=e.listen(C,r,s);h.push(s,G),u&&u.push(r,w,N,N+1)}}else s=yb(i,n,d,s,!1);const p=i.outputs;let b;if(f&&null!==p&&(b=p[r])){const D=b.length;if(D)for(let C=0;C0;)n=n[15],t--;return n}(t,X.lFrame.contextLView))[8]}(t)}function YA(t,n){let e=null;const i=function wI(t){const n=t.attrs;if(null!=n){const e=n.indexOf(5);if(0==(1&e))return n[e+1]}return null}(t);for(let r=0;r=0}const pt={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Nb(t){return t.substring(pt.key,pt.keyEnd)}function Ib(t,n){const e=pt.textEnd;return e===n?-1:(n=pt.keyEnd=function rx(t,n,e){for(;n32;)n++;return n}(t,pt.key=n,e),Rs(t,n,e))}function Rs(t,n,e){for(;n=0;e=Ib(n,e))on(t,Nb(n),!0)}function Hn(t,n,e,i){const r=A(),s=_e(),o=hi(2);s.firstUpdatePass&&Pb(s,t,o,i),n!==ne&&Rt(r,o,n)&&Lb(s,s.data[Ut()],r,r[11],t,r[o+1]=function px(t,n){return null==t||("string"==typeof n?t+=n:"object"==typeof t&&(t=Pe(an(t)))),t}(n,e),i,o)}function Un(t,n,e,i){const r=_e(),s=hi(2);r.firstUpdatePass&&Pb(r,null,s,i);const o=A();if(e!==ne&&Rt(o,s,e)){const a=r.data[Ut()];if(Vb(a,i)&&!kb(r,s)){let l=i?a.classesWithoutHost:a.stylesWithoutHost;null!==l&&(e=Xu(l,e||"")),Gh(r,a,o,e,i)}else!function fx(t,n,e,i,r,s,o,a){r===ne&&(r=De);let l=0,c=0,u=0=t.expandoStartIndex}function Pb(t,n,e,i){const r=t.data;if(null===r[e+1]){const s=r[Ut()],o=kb(t,e);Vb(s,i)&&null===n&&!o&&(n=!1),n=function lx(t,n,e,i){const r=function _d(t){const n=X.lFrame.currentDirectiveIndex;return-1===n?null:t[n]}(t);let s=i?n.residualClasses:n.residualStyles;if(null===r)0===(i?n.classBindings:n.styleBindings)&&(e=Vo(e=Yh(null,t,n,e,i),n.attrs,i),s=null);else{const o=n.directiveStylingLast;if(-1===o||t[o]!==r)if(e=Yh(r,t,n,e,i),null===s){let l=function cx(t,n,e){const i=e?n.classBindings:n.styleBindings;if(0!==mi(i))return t[Vn(i)]}(t,n,i);void 0!==l&&Array.isArray(l)&&(l=Yh(null,t,n,l[1],i),l=Vo(l,n.attrs,i),function ux(t,n,e,i){t[Vn(e?n.classBindings:n.styleBindings)]=i}(t,n,i,l))}else s=function dx(t,n,e){let i;const r=n.directiveEnd;for(let s=1+n.directiveStylingLast;s0)&&(c=!0)}else u=e;if(r)if(0!==l){const h=Vn(t[a+1]);t[i+1]=xl(h,a),0!==h&&(t[h+1]=Dh(t[h+1],i)),t[a+1]=function KI(t,n){return 131071&t|n<<17}(t[a+1],i)}else t[i+1]=xl(a,0),0!==a&&(t[a+1]=Dh(t[a+1],i)),a=i;else t[i+1]=xl(l,0),0===a?a=i:t[l+1]=Dh(t[l+1],i),l=i;c&&(t[i+1]=vh(t[i+1])),Mb(t,u,i,!0),Mb(t,u,i,!1),function XA(t,n,e,i,r){const s=r?t.residualClasses:t.residualStyles;null!=s&&"string"==typeof n&&ds(s,n)>=0&&(e[i+1]=Sh(e[i+1]))}(n,u,t,i,s),o=xl(a,l),s?n.classBindings=o:n.styleBindings=o}(r,s,n,e,o,i)}}function Yh(t,n,e,i,r){let s=null;const o=e.directiveEnd;let a=e.directiveStylingLast;for(-1===a?a=e.directiveStart:a++;a0;){const l=t[r],c=Array.isArray(l),u=c?l[1]:l,d=null===u;let h=e[r+1];h===ne&&(h=d?De:void 0);let f=d?Id(h,i):u===i?h:void 0;if(c&&!jl(f)&&(f=Id(l,i)),jl(f)&&(a=f,o))return a;const p=t[r+1];r=o?Vn(p):mi(p)}if(null!==n){let l=s?n.residualClasses:n.residualStyles;null!=l&&(a=Id(l,i))}return a}function jl(t){return void 0!==t}function Vb(t,n){return 0!=(t.flags&(n?16:32))}function T(t,n=""){const e=A(),i=_e(),r=t+22,s=i.firstCreatePass?Ss(i,r,1,n,null):i.data[r],o=e[r]=function Gd(t,n){return t.createText(n)}(e[11],n);Dl(i,e,o,s),Kn(s,!1)}function ie(t){return Qt("",t,""),ie}function Qt(t,n,e){const i=A(),r=Es(i,t,n,e);return r!==ne&&function _i(t,n,e){const i=rl(n,t);!function T_(t,n,e){t.setValue(n,e)}(t[11],i,e)}(i,Ut(),r),Qt}function Ji(t,n,e){const i=A();return Rt(i,ns(),n)&&cn(_e(),Qe(),i,t,n,i[11],e,!0),Ji}const Ps="en-US";let l0=Ps;function tf(t,n,e,i,r){if(t=Y(t),Array.isArray(t))for(let s=0;s>20;if(Er(t)||!t.multi){const f=new po(l,r,v),p=rf(a,n,r?u:u+h,d);-1===p?(fl(mo(c,o),s,a),nf(s,t,n.length),n.push(a),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),e.push(f),o.push(f)):(e[p]=f,o[p]=f)}else{const f=rf(a,n,u+h,d),p=rf(a,n,u,u+h),b=f>=0&&e[f],D=p>=0&&e[p];if(r&&!D||!r&&!b){fl(mo(c,o),s,a);const C=function IO(t,n,e,i,r){const s=new po(t,e,v);return s.multi=[],s.index=n,s.componentProviders=0,R0(s,r,i&&!e),s}(r?NO:MO,e.length,r,i,l);!r&&D&&(e[p].providerFactory=C),nf(s,t,n.length,0),n.push(a),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),e.push(C),o.push(C)}else nf(s,t,f>-1?f:p,R0(e[r?p:f],l,!r&&i));!r&&i&&D&&e[p].componentProviders++}}}function nf(t,n,e,i){const r=Er(n),s=function JN(t){return!!t.useClass}(n);if(r||s){const l=(s?Y(n.useClass):n).prototype.ngOnDestroy;if(l){const c=t.destroyHooks||(t.destroyHooks=[]);if(!r&&n.multi){const u=c.indexOf(e);-1===u?c.push(e,[i,l]):c[u+1].push(i,l)}else c.push(e,l)}}}function R0(t,n,e){return e&&t.componentProviders++,t.multi.push(n)-1}function rf(t,n,e,i){for(let r=e;r{e.providersResolver=(i,r)=>function TO(t,n,e){const i=_e();if(i.firstCreatePass){const r=Ln(t);tf(e,i.data,i.blueprint,r,!0),tf(n,i.data,i.blueprint,r,!1)}}(i,r?r(t):t,n)}}class Ir{}class k0{}class P0 extends Ir{constructor(n,e){super(),this._parent=e,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Uh(this);const i=en(n);this._bootstrapComponents=gi(i.bootstrap),this._r3Injector=Dy(n,e,[{provide:Ir,useValue:this},{provide:ms,useValue:this.componentFactoryResolver}],Pe(n),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(n)}get injector(){return this._r3Injector}destroy(){const n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}}class af extends k0{constructor(n){super(),this.moduleType=n}create(n){return new P0(this.moduleType,n)}}class xO extends Ir{constructor(n,e,i){super(),this.componentFactoryResolver=new Uh(this),this.instance=null;const r=new sy([...n,{provide:Ir,useValue:this},{provide:ms,useValue:this.componentFactoryResolver}],e||Nl(),i,new Set(["environment"]));this.injector=r,r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}}function Kl(t,n,e=null){return new xO(t,n,e).injector}let OO=(()=>{class t{constructor(e){this._injector=e,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e.id)){const i=ty(0,e.type),r=i.length>0?Kl([i],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e.id,r)}return this.cachedInjectors.get(e.id)}ngOnDestroy(){try{for(const e of this.cachedInjectors.values())null!==e&&e.destroy()}finally{this.cachedInjectors.clear()}}}return t.\u0275prov=P({token:t,providedIn:"environment",factory:()=>new t(x(zi))}),t})();function F0(t){t.getStandaloneInjector=n=>n.get(OO).getOrCreateStandaloneInjector(t)}function Tt(t,n,e,i){return G0(A(),Ht(),t,n,e,i)}function Cn(t,n,e,i,r){return function z0(t,n,e,i,r,s,o){const a=n+e;return Mr(t,a,r,s)?Zn(t,a+2,o?i.call(o,r,s):i(r,s)):zo(t,a+2)}(A(),Ht(),t,n,e,i,r)}function Fs(t,n,e,i,r,s){return function W0(t,n,e,i,r,s,o,a){const l=n+e;return function Ul(t,n,e,i,r){const s=Mr(t,n,e,i);return Rt(t,n+2,r)||s}(t,l,r,s,o)?Zn(t,l+3,a?i.call(a,r,s,o):i(r,s,o)):zo(t,l+3)}(A(),Ht(),t,n,e,i,r,s)}function zo(t,n){const e=t[n];return e===ne?void 0:e}function G0(t,n,e,i,r,s){const o=n+e;return Rt(t,o,r)?Zn(t,o+1,s?i.call(s,r):i(r)):zo(t,o+1)}function Ls(t,n){const e=_e();let i;const r=t+22;e.firstCreatePass?(i=function qO(t,n){if(n)for(let e=n.length-1;e>=0;e--){const i=n[e];if(t===i.name)return i}}(n,e.pipeRegistry),e.data[r]=i,i.onDestroy&&(e.destroyHooks||(e.destroyHooks=[])).push(r,i.onDestroy)):i=e.data[r];const s=i.factory||(i.factory=br(i.type)),o=vn(v);try{const a=dl(!1),l=s();return dl(a),function qA(t,n,e,i){e>=t.data.length&&(t.data[e]=null,t.blueprint[e]=null),n[e]=i}(e,A(),r,l),l}finally{vn(o)}}function Bs(t,n,e){const i=t+22,r=A(),s=ts(r,i);return function Wo(t,n){return t[1].data[n].pure}(r,i)?G0(r,Ht(),n,s.transform,e,s):s.transform(e)}function cf(t){return n=>{setTimeout(t,void 0,n)}}const j=class ZO extends Ae{constructor(n=!1){super(),this.__isAsync=n}emit(n){super.next(n)}subscribe(n,e,i){let r=n,s=e||(()=>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=cf(s),r&&(r=cf(r)),o&&(o=cf(o)));const a=super.subscribe({next:r,error:s,complete:o});return n instanceof Je&&n.add(a),a}};function XO(){return this._results[Tr()]()}class uf{constructor(n=!1){this._emitDistinctChangesOnly=n,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const e=Tr(),i=uf.prototype;i[e]||(i[e]=XO)}get changes(){return this._changes||(this._changes=new j)}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,e){return this._results.reduce(n,e)}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,e){const i=this;i.dirty=!1;const r=sn(n);(this._changesDetected=!function uM(t,n,e){if(t.length!==n.length)return!1;for(let i=0;i{class t{}return t.__NG_ELEMENT_ID__=nR,t})();const eR=Ge,tR=class extends eR{constructor(n,e,i){super(),this._declarationLView=n,this._declarationTContainer=e,this.elementRef=i}createEmbeddedView(n,e){const i=this._declarationTContainer.tViews,r=kl(this._declarationLView,i,n,16,null,i.declTNode,null,null,null,null,e||null);r[17]=this._declarationLView[this._declarationTContainer.index];const o=this._declarationLView[19];return null!==o&&(r[19]=o.createEmbeddedView(i)),xh(i,r,n),new ko(r)}};function nR(){return Jl(dt(),A())}function Jl(t,n){return 4&t.type?new tR(n,t,_s(t,n)):null}let En=(()=>{class t{}return t.__NG_ELEMENT_ID__=iR,t})();function iR(){return Y0(dt(),A())}const rR=En,J0=class extends rR{constructor(n,e,i){super(),this._lContainer=n,this._hostTNode=e,this._hostLView=i}get element(){return _s(this._hostTNode,this._hostLView)}get injector(){return new os(this._hostTNode,this._hostLView)}get parentInjector(){const n=hl(this._hostTNode,this._hostLView);if(jm(n)){const e=ss(n,this._hostLView),i=rs(n);return new os(e[1].data[i+8],e)}return new os(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const e=Q0(this._lContainer);return null!==e&&e[n]||null}get length(){return this._lContainer.length-10}createEmbeddedView(n,e,i){let r,s;"number"==typeof i?r=i:null!=i&&(r=i.index,s=i.injector);const o=n.createEmbeddedView(e||{},s);return this.insert(o,r),o}createComponent(n,e,i,r,s){const o=n&&!function bo(t){return"function"==typeof t}(n);let a;if(o)a=e;else{const d=e||{};a=d.index,i=d.injector,r=d.projectableNodes,s=d.environmentInjector||d.ngModuleRef}const l=o?n:new Po(Ne(n)),c=i||this.parentInjector;if(!s&&null==l.ngModule){const h=(o?c:this.parentInjector).get(zi,null);h&&(s=h)}const u=l.create(c,r,void 0,s);return this.insert(u.hostView,a),u}insert(n,e){const i=n._lView,r=i[1];if(function OT(t){return Fn(t[3])}(i)){const u=this.indexOf(n);if(-1!==u)this.detach(u);else{const d=i[3],h=new J0(d,d[6],d[3]);h.detach(h.indexOf(n))}}const s=this._adjustIndex(e),o=this._lContainer;!function aN(t,n,e,i){const r=10+i,s=e.length;i>0&&(e[r-1][4]=n),i0)i.push(o[a/2]);else{const c=s[a+1],u=n[-l];for(let d=10;d{class t{constructor(e){this.appInits=e,this.resolve=Yl,this.reject=Yl,this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,r)=>{this.resolve=i,this.reject=r})}runInitializers(){if(this.initialized)return;const e=[],i=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let r=0;r{s.subscribe({complete:a,error:l})});e.push(o)}}Promise.all(e).then(()=>{i()}).catch(r=>{this.reject(r)}),0===e.length&&i(),this.initialized=!0}}return t.\u0275fac=function(e){return new(e||t)(x(Ko,8))},t.\u0275prov=P({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const Jo=new $("AppId",{providedIn:"root",factory:function Dv(){return`${Df()}${Df()}${Df()}`}});function Df(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Sv=new $("Platform Initializer"),ti=new $("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),wv=new $("appBootstrapListener"),Cv=new $("AnimationModuleType");let OR=(()=>{class t{log(e){console.log(e)}warn(e){console.warn(e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=P({token:t,factory:t.\u0275fac,providedIn:"platform"}),t})();const bi=new $("LocaleId",{providedIn:"root",factory:()=>nt(bi,J.Optional|J.SkipSelf)||function RR(){return typeof $localize<"u"&&$localize.locale||Ps}()});class PR{constructor(n,e){this.ngModuleFactory=n,this.componentFactories=e}}let Sf=(()=>{class t{compileModuleSync(e){return new af(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){const i=this.compileModuleSync(e),s=gi(en(e).declarations).reduce((o,a)=>{const l=Ne(a);return l&&o.push(new Po(l)),o},[]);return new PR(i,s)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=P({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const BR=(()=>Promise.resolve(0))();function wf(t){typeof Zone>"u"?BR.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class Me{constructor({enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new j(!1),this.onMicrotaskEmpty=new j(!1),this.onStable=new j(!1),this.onError=new j(!1),typeof Zone>"u")throw new M(908,!1);Zone.assertZonePatched();const r=this;if(r._nesting=0,r._outer=r._inner=Zone.current,Zone.AsyncStackTaggingZoneSpec){const s=Zone.AsyncStackTaggingZoneSpec;r._inner=r._inner.fork(new s("Angular"))}Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!i&&e,r.shouldCoalesceRunChangeDetection=i,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function VR(){let t=Le.requestAnimationFrame,n=Le.cancelAnimationFrame;if(typeof Zone<"u"&&t&&n){const e=t[Zone.__symbol__("OriginalDelegate")];e&&(t=e);const i=n[Zone.__symbol__("OriginalDelegate")];i&&(n=i)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function $R(t){const n=()=>{!function UR(t){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(Le,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,Ef(t),t.isCheckStableRunning=!0,Cf(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),Ef(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(e,i,r,s,o,a)=>{try{return Mv(t),e.invokeTask(r,s,o,a)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||t.shouldCoalesceRunChangeDetection)&&n(),Nv(t)}},onInvoke:(e,i,r,s,o,a,l)=>{try{return Mv(t),e.invoke(r,s,o,a,l)}finally{t.shouldCoalesceRunChangeDetection&&n(),Nv(t)}},onHasTask:(e,i,r,s)=>{e.hasTask(r,s),i===r&&("microTask"==s.change?(t._hasPendingMicrotasks=s.microTask,Ef(t),Cf(t)):"macroTask"==s.change&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(e,i,r,s)=>(e.handleError(r,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}(r)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Me.isInAngularZone())throw new M(909,!1)}static assertNotInAngularZone(){if(Me.isInAngularZone())throw new M(909,!1)}run(n,e,i){return this._inner.run(n,e,i)}runTask(n,e,i,r){const s=this._inner,o=s.scheduleEventTask("NgZoneEvent: "+r,n,HR,Yl,Yl);try{return s.runTask(o,e,i)}finally{s.cancelTask(o)}}runGuarded(n,e,i){return this._inner.runGuarded(n,e,i)}runOutsideAngular(n){return this._outer.run(n)}}const HR={};function Cf(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function Ef(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function Mv(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Nv(t){t._nesting--,Cf(t)}class jR{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new j,this.onMicrotaskEmpty=new j,this.onStable=new j,this.onError=new j}run(n,e,i){return n.apply(e,i)}runGuarded(n,e,i){return n.apply(e,i)}runOutsideAngular(n){return n()}runTask(n,e,i,r){return n.apply(e,i)}}const Iv=new $(""),Xl=new $("");let Nf,Tf=(()=>{class t{constructor(e,i,r){this._ngZone=e,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Nf||(function GR(t){Nf=t}(r),r.addToWindow(i)),this._watchAngularEvents(),e.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Me.assertNotInAngularZone(),wf(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())wf(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(this._didWork)}this._didWork=!1});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(e)||(clearTimeout(i.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,i,r){let s=-1;i&&i>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(o=>o.timeoutId!==s),e(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:e,timeoutId:s,updateCb:r})}whenStable(e,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(e,i,r),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(e){this.registry.registerApplication(e,this)}unregisterApplication(e){this.registry.unregisterApplication(e)}findProviders(e,i,r){return[]}}return t.\u0275fac=function(e){return new(e||t)(x(Me),x(Mf),x(Xl))},t.\u0275prov=P({token:t,factory:t.\u0275fac}),t})(),Mf=(()=>{class t{constructor(){this._applications=new Map}registerApplication(e,i){this._applications.set(e,i)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,i=!0){return Nf?.findTestabilityInTree(this,e,i)??null}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=P({token:t,factory:t.\u0275fac,providedIn:"platform"}),t})(),Yi=null;const Av=new $("AllowMultipleToken"),If=new $("PlatformDestroyListeners");class xv{constructor(n,e){this.name=n,this.token=e}}function Rv(t,n,e=[]){const i=`Platform: ${n}`,r=new $(i);return(s=[])=>{let o=Af();if(!o||o.injector.get(Av,!1)){const a=[...e,...s,{provide:r,useValue:!0}];t?t(a):function qR(t){if(Yi&&!Yi.get(Av,!1))throw new M(400,!1);Yi=t;const n=t.get(Pv);(function Ov(t){const n=t.get(Sv,null);n&&n.forEach(e=>e())})(t)}(function kv(t=[],n){return St.create({name:n,providers:[{provide:lh,useValue:"platform"},{provide:If,useValue:new Set([()=>Yi=null])},...t]})}(a,i))}return function JR(t){const n=Af();if(!n)throw new M(401,!1);return n}()}}function Af(){return Yi?.get(Pv)??null}let Pv=(()=>{class t{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,i){const r=function Lv(t,n){let e;return e="noop"===t?new jR:("zone.js"===t?void 0:t)||new Me(n),e}(i?.ngZone,function Fv(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!t||!t.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!t||!t.ngZoneRunCoalescing)||!1}}(i)),s=[{provide:Me,useValue:r}];return r.run(()=>{const o=St.create({providers:s,parent:this.injector,name:e.moduleType.name}),a=e.create(o),l=a.injector.get(bs,null);if(!l)throw new M(402,!1);return r.runOutsideAngular(()=>{const c=r.onError.subscribe({next:u=>{l.handleError(u)}});a.onDestroy(()=>{ec(this._modules,a),c.unsubscribe()})}),function Bv(t,n,e){try{const i=e();return Bo(i)?i.catch(r=>{throw n.runOutsideAngular(()=>t.handleError(r)),r}):i}catch(i){throw n.runOutsideAngular(()=>t.handleError(i)),i}}(l,r,()=>{const c=a.injector.get(Zl);return c.runInitializers(),c.donePromise.then(()=>(function c0(t){Xt(t,"Expected localeId to be defined"),"string"==typeof t&&(l0=t.toLowerCase().replace(/_/g,"-"))}(a.injector.get(bi,Ps)||Ps),this._moduleDoBootstrap(a),a))})})}bootstrapModule(e,i=[]){const r=Vv({},i);return function zR(t,n,e){const i=new af(e);return Promise.resolve(i)}(0,0,e).then(s=>this.bootstrapModuleFactory(s,r))}_moduleDoBootstrap(e){const i=e.injector.get(Zi);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>i.bootstrap(r));else{if(!e.instance.ngDoBootstrap)throw new M(403,!1);e.instance.ngDoBootstrap(i)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new M(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const e=this._injector.get(If,null);e&&(e.forEach(i=>i()),e.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return t.\u0275fac=function(e){return new(e||t)(x(St))},t.\u0275prov=P({token:t,factory:t.\u0275fac,providedIn:"platform"}),t})();function Vv(t,n){return Array.isArray(n)?n.reduce(Vv,t):{...t,...n}}let Zi=(()=>{class t{constructor(e,i,r){this._zone=e,this._injector=i,this._exceptionHandler=r,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const s=new we(a=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{a.next(this._stable),a.complete()})}),o=new we(a=>{let l;this._zone.runOutsideAngular(()=>{l=this._zone.onStable.subscribe(()=>{Me.assertNotInAngularZone(),wf(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,a.next(!0))})})});const c=this._zone.onUnstable.subscribe(()=>{Me.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{a.next(!1)}))});return()=>{l.unsubscribe(),c.unsubscribe()}});this.isStable=Ju(s,o.pipe(function tT(){return t=>qa()(Yu(eT)(t))}()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(e,i){const r=e instanceof ay;if(!this._injector.get(Zl).done)throw!r&&function Yr(t){const n=Ne(t)||Bt(t)||Vt(t);return null!==n&&n.standalone}(e),new M(405,false);let o;o=r?e:this._injector.get(ms).resolveComponentFactory(e),this.componentTypes.push(o.componentType);const a=function WR(t){return t.isBoundToModule}(o)?void 0:this._injector.get(Ir),c=o.create(St.NULL,[],i||o.selector,a),u=c.location.nativeElement,d=c.injector.get(Iv,null);return d?.registerApplication(u),c.onDestroy(()=>{this.detachView(c.hostView),ec(this.components,c),d?.unregisterApplication(u)}),this._loadComponent(c),c}tick(){if(this._runningTick)throw new M(101,!1);try{this._runningTick=!0;for(let e of this._views)e.detectChanges()}catch(e){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(e))}finally{this._runningTick=!1}}attachView(e){const i=e;this._views.push(i),i.attachToAppRef(this)}detachView(e){const i=e;ec(this._views,i),i.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(wv,[]).concat(this._bootstrapListeners).forEach(r=>r(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>ec(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new M(406,!1);const e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return t.\u0275fac=function(e){return new(e||t)(x(Me),x(zi),x(bs))},t.\u0275prov=P({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function ec(t,n){const e=t.indexOf(n);e>-1&&t.splice(e,1)}let hn=(()=>{class t{}return t.__NG_ELEMENT_ID__=ZR,t})();function ZR(t){return function XR(t,n,e){if(nl(t)&&!e){const i=rn(t.index,n);return new ko(i,i)}return 47&t.type?new ko(n[16],n):null}(dt(),A(),16==(16&t))}class Wv{constructor(){}supports(n){return Fo(n)}create(n){return new sk(n)}}const rk=(t,n)=>n;class sk{constructor(n){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=n||rk}forEachItem(n){let e;for(e=this._itHead;null!==e;e=e._next)n(e)}forEachOperation(n){let e=this._itHead,i=this._removalsHead,r=0,s=null;for(;e||i;){const o=!i||e&&e.currentIndex{o=this._trackByFn(r,a),null!==e&&Object.is(e.trackById,o)?(i&&(e=this._verifyReinsertion(e,a,o,r)),Object.is(e.item,a)||this._addIdentityChange(e,a)):(e=this._mismatch(e,a,o,r),i=!0),e=e._next,r++}),this.length=r;return this._truncate(e),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,e,i,r){let s;return null===n?s=this._itTail:(s=n._prev,this._remove(n)),null!==(n=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._reinsertAfter(n,s,r)):null!==(n=null===this._linkedRecords?null:this._linkedRecords.get(i,r))?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._moveAfter(n,s,r)):n=this._addAfter(new ok(e,i),s,r),n}_verifyReinsertion(n,e,i,r){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==s?n=this._reinsertAfter(s,n._prev,r):n.currentIndex!=r&&(n.currentIndex=r,this._addToMoves(n,r)),n}_truncate(n){for(;null!==n;){const e=n._next;this._addToRemovals(this._unlink(n)),n=e}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,e,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(n);const r=n._prevRemoved,s=n._nextRemoved;return null===r?this._removalsHead=s:r._nextRemoved=s,null===s?this._removalsTail=r:s._prevRemoved=r,this._insertAfter(n,e,i),this._addToMoves(n,i),n}_moveAfter(n,e,i){return this._unlink(n),this._insertAfter(n,e,i),this._addToMoves(n,i),n}_addAfter(n,e,i){return this._insertAfter(n,e,i),this._additionsTail=null===this._additionsTail?this._additionsHead=n:this._additionsTail._nextAdded=n,n}_insertAfter(n,e,i){const r=null===e?this._itHead:e._next;return n._next=r,n._prev=e,null===r?this._itTail=n:r._prev=n,null===e?this._itHead=n:e._next=n,null===this._linkedRecords&&(this._linkedRecords=new qv),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 e=n._prev,i=n._next;return null===e?this._itHead=i:e._next=i,null===i?this._itTail=e:i._prev=e,n}_addToMoves(n,e){return n.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=n:this._movesTail._nextMoved=n),n}_addToRemovals(n){return null===this._unlinkedRecords&&(this._unlinkedRecords=new qv),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,e){return n.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=n:this._identityChangesTail._nextIdentityChange=n,n}}class ok{constructor(n,e){this.item=n,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class ak{constructor(){this._head=null,this._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,e){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===e||e<=i.currentIndex)&&Object.is(i.trackById,n))return i;return null}remove(n){const e=n._prevDup,i=n._nextDup;return null===e?this._head=i:e._nextDup=i,null===i?this._tail=e:i._prevDup=e,null===this._head}}class qv{constructor(){this.map=new Map}put(n){const e=n.trackById;let i=this.map.get(e);i||(i=new ak,this.map.set(e,i)),i.add(n)}get(n,e){const r=this.map.get(n);return r?r.get(n,e):null}remove(n){const e=n.trackById;return this.map.get(e).remove(n)&&this.map.delete(e),n}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Kv(t,n,e){const i=t.previousIndex;if(null===i)return i;let r=0;return e&&i{if(e&&e.key===r)this._maybeAddToChanges(e,i),this._appendAfter=e,e=e._next;else{const s=this._getOrCreateRecordForKey(r,i);e=this._insertBeforeOrAppend(e,s)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let i=e;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,e){if(n){const i=n._prev;return e._next=n,e._prev=i,n._prev=e,i&&(i._next=e),n===this._mapHead&&(this._mapHead=e),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(n,e){if(this._records.has(n)){const r=this._records.get(n);this._maybeAddToChanges(r,e);const s=r._prev,o=r._next;return s&&(s._next=o),o&&(o._prev=s),r._next=null,r._prev=null,r}const i=new ck(n);return this._records.set(n,i),i.currentValue=e,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,e){Object.is(e,n.currentValue)||(n.previousValue=n.currentValue,n.currentValue=e,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,e){n instanceof Map?n.forEach(e):Object.keys(n).forEach(i=>e(n[i],i))}}class ck{constructor(n){this.key=n,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function Qv(){return new ic([new Wv])}let ic=(()=>{class t{constructor(e){this.factories=e}static create(e,i){if(null!=i){const r=i.factories.slice();e=e.concat(r)}return new t(e)}static extend(e){return{provide:t,useFactory:i=>t.create(e,i||Qv()),deps:[[t,new Eo,new Co]]}}find(e){const i=this.factories.find(r=>r.supports(e));if(null!=i)return i;throw new M(901,!1)}}return t.\u0275prov=P({token:t,providedIn:"root",factory:Qv}),t})();function Yv(){return new Qo([new Jv])}let Qo=(()=>{class t{constructor(e){this.factories=e}static create(e,i){if(i){const r=i.factories.slice();e=e.concat(r)}return new t(e)}static extend(e){return{provide:t,useFactory:i=>t.create(e,i||Yv()),deps:[[t,new Eo,new Co]]}}find(e){const i=this.factories.find(r=>r.supports(e));if(i)return i;throw new M(901,!1)}}return t.\u0275prov=P({token:t,providedIn:"root",factory:Yv}),t})();const hk=Rv(null,"core",[]);let fk=(()=>{class t{constructor(e){}}return t.\u0275fac=function(e){return new(e||t)(x(Zi))},t.\u0275mod=fe({type:t}),t.\u0275inj=de({}),t})();function Di(t){return"boolean"==typeof t?t:null!=t&&"false"!==t}let rc=null;function jn(){return rc}const Oe=new $("DocumentToken");let Pf=(()=>{class t{historyGo(e){throw new Error("Not implemented")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=P({token:t,factory:function(){return function _k(){return x(Zv)}()},providedIn:"platform"}),t})();const yk=new $("Location Initialized");let Zv=(()=>{class t extends Pf{constructor(e){super(),this._doc=e,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return jn().getBaseHref(this._doc)}onPopState(e){const i=jn().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",e,!1),()=>i.removeEventListener("popstate",e)}onHashChange(e){const i=jn().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",e,!1),()=>i.removeEventListener("hashchange",e)}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(e){this.location.pathname=e}pushState(e,i,r){Xv()?this._history.pushState(e,i,r):this.location.hash=r}replaceState(e,i,r){Xv()?this._history.replaceState(e,i,r):this.location.hash=r}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}}return t.\u0275fac=function(e){return new(e||t)(x(Oe))},t.\u0275prov=P({token:t,factory:function(){return function bk(){return new Zv(x(Oe))}()},providedIn:"platform"}),t})();function Xv(){return!!window.history.pushState}function Ff(t,n){if(0==t.length)return n;if(0==n.length)return t;let e=0;return t.endsWith("/")&&e++,n.startsWith("/")&&e++,2==e?t+n.substring(1):1==e?t+n:t+"/"+n}function e1(t){const n=t.match(/#|\?|$/),e=n&&n.index||t.length;return t.slice(0,e-("/"===t[e-1]?1:0))+t.slice(e)}function Si(t){return t&&"?"!==t[0]?"?"+t:t}let xr=(()=>{class t{historyGo(e){throw new Error("Not implemented")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=P({token:t,factory:function(){return nt(n1)},providedIn:"root"}),t})();const t1=new $("appBaseHref");let n1=(()=>{class t extends xr{constructor(e,i){super(),this._platformLocation=e,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??nt(Oe).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return Ff(this._baseHref,e)}path(e=!1){const i=this._platformLocation.pathname+Si(this._platformLocation.search),r=this._platformLocation.hash;return r&&e?`${i}${r}`:i}pushState(e,i,r,s){const o=this.prepareExternalUrl(r+Si(s));this._platformLocation.pushState(e,i,o)}replaceState(e,i,r,s){const o=this.prepareExternalUrl(r+Si(s));this._platformLocation.replaceState(e,i,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}}return t.\u0275fac=function(e){return new(e||t)(x(Pf),x(t1,8))},t.\u0275prov=P({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),vk=(()=>{class t extends xr{constructor(e,i){super(),this._platformLocation=e,this._baseHref="",this._removeListenerFns=[],null!=i&&(this._baseHref=i)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}path(e=!1){let i=this._platformLocation.hash;return null==i&&(i="#"),i.length>0?i.substring(1):i}prepareExternalUrl(e){const i=Ff(this._baseHref,e);return i.length>0?"#"+i:i}pushState(e,i,r,s){let o=this.prepareExternalUrl(r+Si(s));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.pushState(e,i,o)}replaceState(e,i,r,s){let o=this.prepareExternalUrl(r+Si(s));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.replaceState(e,i,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}}return t.\u0275fac=function(e){return new(e||t)(x(Pf),x(t1,8))},t.\u0275prov=P({token:t,factory:t.\u0275fac}),t})(),Lf=(()=>{class t{constructor(e){this._subject=new j,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=e;const i=this._locationStrategy.getBaseHref();this._baseHref=e1(i1(i)),this._locationStrategy.onPopState(r=>{this._subject.emit({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,i=""){return this.path()==this.normalize(e+Si(i))}normalize(e){return t.stripTrailingSlash(function Sk(t,n){return t&&n.startsWith(t)?n.substring(t.length):n}(this._baseHref,i1(e)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,i="",r=null){this._locationStrategy.pushState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Si(i)),r)}replaceState(e,i="",r=null){this._locationStrategy.replaceState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Si(i)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)})),()=>{const i=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(i,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",i){this._urlChangeListeners.forEach(r=>r(e,i))}subscribe(e,i,r){return this._subject.subscribe({next:e,error:i,complete:r})}}return t.normalizeQueryParams=Si,t.joinWithSlash=Ff,t.stripTrailingSlash=e1,t.\u0275fac=function(e){return new(e||t)(x(xr))},t.\u0275prov=P({token:t,factory:function(){return function Dk(){return new Lf(x(xr))}()},providedIn:"root"}),t})();function i1(t){return t.replace(/\/index.html$/,"")}function h1(t,n){n=encodeURIComponent(n);for(const e of t.split(";")){const i=e.indexOf("="),[r,s]=-1==i?[e,""]:[e.slice(0,i),e.slice(i+1)];if(r.trim()===n)return decodeURIComponent(s)}return null}let f1=(()=>{class t{constructor(e,i,r,s){this._iterableDiffers=e,this._keyValueDiffers=i,this._ngEl=r,this._renderer=s,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&(Fo(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){const e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}}_applyKeyValueChanges(e){e.forEachAddedItem(i=>this._toggleClass(i.key,i.currentValue)),e.forEachChangedItem(i=>this._toggleClass(i.key,i.currentValue)),e.forEachRemovedItem(i=>{i.previousValue&&this._toggleClass(i.key,!1)})}_applyIterableChanges(e){e.forEachAddedItem(i=>{if("string"!=typeof i.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${Pe(i.item)}`);this._toggleClass(i.item,!0)}),e.forEachRemovedItem(i=>this._toggleClass(i.item,!1))}_applyClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(i=>this._toggleClass(i,!0)):Object.keys(e).forEach(i=>this._toggleClass(i,!!e[i])))}_removeClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(i=>this._toggleClass(i,!1)):Object.keys(e).forEach(i=>this._toggleClass(i,!1)))}_toggleClass(e,i){(e=e.trim())&&e.split(/\s+/g).forEach(r=>{i?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}}return t.\u0275fac=function(e){return new(e||t)(v(ic),v(Qo),v(me),v(ln))},t.\u0275dir=k({type:t,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),t})();class a2{constructor(n,e,i,r){this.$implicit=n,this.ngForOf=e,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 ni=(()=>{class t{constructor(e,i,r){this._viewContainer=e,this._template=i,this._differs=r,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const e=this._ngForOf;!this._differ&&e&&(this._differ=this._differs.find(e).create(this.ngForTrackBy))}if(this._differ){const e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){const i=this._viewContainer;e.forEachOperation((r,s,o)=>{if(null==r.previousIndex)i.createEmbeddedView(this._template,new a2(r.item,this._ngForOf,-1,-1),null===o?void 0:o);else if(null==o)i.remove(null===s?void 0:s);else if(null!==s){const a=i.get(s);i.move(a,o),m1(a,r)}});for(let r=0,s=i.length;r{m1(i.get(r.currentIndex),r)})}static ngTemplateContextGuard(e,i){return!0}}return t.\u0275fac=function(e){return new(e||t)(v(En),v(Ge),v(ic))},t.\u0275dir=k({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),t})();function m1(t,n){t.context.$implicit=n.item}let Ci=(()=>{class t{constructor(e,i){this._viewContainer=e,this._context=new c2,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){_1("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){_1("ngIfElse",e),this._elseTemplateRef=e,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 ngTemplateContextGuard(e,i){return!0}}return t.\u0275fac=function(e){return new(e||t)(v(En),v(Ge))},t.\u0275dir=k({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),t})();class c2{constructor(){this.$implicit=null,this.ngIf=null}}function _1(t,n){if(n&&!n.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${Pe(n)}'.`)}let b1=(()=>{class t{constructor(e,i,r){this._ngEl=e,this._differs=i,this._renderer=r,this._ngStyle=null,this._differ=null}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){const e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,i){const[r,s]=e.split("."),o=-1===r.indexOf("-")?void 0:Jt.DashCase;null!=i?this._renderer.setStyle(this._ngEl.nativeElement,r,s?`${i}${s}`:i,o):this._renderer.removeStyle(this._ngEl.nativeElement,r,o)}_applyChanges(e){e.forEachRemovedItem(i=>this._setStyle(i.key,null)),e.forEachAddedItem(i=>this._setStyle(i.key,i.currentValue)),e.forEachChangedItem(i=>this._setStyle(i.key,i.currentValue))}}return t.\u0275fac=function(e){return new(e||t)(v(me),v(Qo),v(ln))},t.\u0275dir=k({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),t})(),Xo=(()=>{class t{constructor(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(e){if(e.ngTemplateOutlet||e.ngTemplateOutletInjector){const i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:r,ngTemplateOutletContext:s,ngTemplateOutletInjector:o}=this;this._viewRef=i.createEmbeddedView(r,s,o?{injector:o}:void 0)}else this._viewRef=null}else this._viewRef&&e.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return t.\u0275fac=function(e){return new(e||t)(v(En))},t.\u0275dir=k({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[Dt]}),t})(),pc=(()=>{class t{transform(e){return JSON.stringify(e,null,2)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=Lt({name:"json",type:t,pure:!1,standalone:!0}),t})(),kt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=fe({type:t}),t.\u0275inj=de({}),t})();const D1="browser";function ea(t){return t===D1}let L2=(()=>{class t{}return t.\u0275prov=P({token:t,providedIn:"root",factory:()=>new B2(x(Oe),window)}),t})();class B2{constructor(n,e){this.document=n,this.window=e,this.offset=()=>[0,0]}setOffset(n){this.offset=Array.isArray(n)?()=>n:n}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(n){this.supportsScrolling()&&this.window.scrollTo(n[0],n[1])}scrollToAnchor(n){if(!this.supportsScrolling())return;const e=function V2(t,n){const e=t.getElementById(n)||t.getElementsByName(n)[0];if(e)return e;if("function"==typeof t.createTreeWalker&&t.body&&(t.body.createShadowRoot||t.body.attachShadow)){const i=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT);let r=i.currentNode;for(;r;){const s=r.shadowRoot;if(s){const o=s.getElementById(n)||s.querySelector(`[name="${n}"]`);if(o)return o}r=i.nextNode()}}return null}(this.document,n);e&&(this.scrollToElement(e),e.focus())}setHistoryScrollRestoration(n){if(this.supportScrollRestoration()){const e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=n)}}scrollToElement(n){const e=n.getBoundingClientRect(),i=e.left+this.window.pageXOffset,r=e.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(i-s[0],r-s[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const n=S1(this.window.history)||S1(Object.getPrototypeOf(this.window.history));return!(!n||!n.writable&&!n.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function S1(t){return Object.getOwnPropertyDescriptor(t,"scrollRestoration")}class w1{}class Xf extends class hP extends class mk{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){!function gk(t){rc||(rc=t)}(new Xf)}onAndCancel(n,e,i){return n.addEventListener(e,i,!1),()=>{n.removeEventListener(e,i,!1)}}dispatchEvent(n,e){n.dispatchEvent(e)}remove(n){n.parentNode&&n.parentNode.removeChild(n)}createElement(n,e){return(e=e||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,e){return"window"===e?window:"document"===e?n:"body"===e?n.body:null}getBaseHref(n){const e=function fP(){return na=na||document.querySelector("base"),na?na.getAttribute("href"):null}();return null==e?null:function pP(t){_c=_c||document.createElement("a"),_c.setAttribute("href",t);const n=_c.pathname;return"/"===n.charAt(0)?n:`/${n}`}(e)}resetBaseElement(){na=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return h1(document.cookie,n)}}let _c,na=null;const N1=new $("TRANSITION_ID"),mP=[{provide:Ko,useFactory:function gP(t,n,e){return()=>{e.get(Zl).donePromise.then(()=>{const i=jn(),r=n.querySelectorAll(`style[ng-transition="${t}"]`);for(let s=0;s{class t{build(){return new XMLHttpRequest}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=P({token:t,factory:t.\u0275fac}),t})();const yc=new $("EventManagerPlugins");let bc=(()=>{class t{constructor(e,i){this._zone=i,this._eventNameToPlugin=new Map,e.forEach(r=>r.manager=this),this._plugins=e.slice().reverse()}addEventListener(e,i,r){return this._findPluginFor(i).addEventListener(e,i,r)}addGlobalEventListener(e,i,r){return this._findPluginFor(i).addGlobalEventListener(e,i,r)}getZone(){return this._zone}_findPluginFor(e){const i=this._eventNameToPlugin.get(e);if(i)return i;const r=this._plugins;for(let s=0;s{class t{constructor(){this._stylesSet=new Set}addStyles(e){const i=new Set;e.forEach(r=>{this._stylesSet.has(r)||(this._stylesSet.add(r),i.add(r))}),this.onStylesAdded(i)}onStylesAdded(e){}getAllStyles(){return Array.from(this._stylesSet)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=P({token:t,factory:t.\u0275fac}),t})(),ia=(()=>{class t extends A1{constructor(e){super(),this._doc=e,this._hostNodes=new Map,this._hostNodes.set(e.head,[])}_addStylesToHost(e,i,r){e.forEach(s=>{const o=this._doc.createElement("style");o.textContent=s,r.push(i.appendChild(o))})}addHost(e){const i=[];this._addStylesToHost(this._stylesSet,e,i),this._hostNodes.set(e,i)}removeHost(e){const i=this._hostNodes.get(e);i&&i.forEach(x1),this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach((i,r)=>{this._addStylesToHost(e,r,i)})}ngOnDestroy(){this._hostNodes.forEach(e=>e.forEach(x1))}}return t.\u0275fac=function(e){return new(e||t)(x(Oe))},t.\u0275prov=P({token:t,factory:t.\u0275fac}),t})();function x1(t){jn().remove(t)}const ep={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/MathML/"},tp=/%COMP%/g;function vc(t,n,e){for(let i=0;i{if("__ngUnwrap__"===n)return t;!1===t(n)&&(n.preventDefault(),n.returnValue=!1)}}let Dc=(()=>{class t{constructor(e,i,r){this.eventManager=e,this.sharedStylesHost=i,this.appId=r,this.rendererByCompId=new Map,this.defaultRenderer=new np(e)}createRenderer(e,i){if(!e||!i)return this.defaultRenderer;switch(i.encapsulation){case kn.Emulated:{let r=this.rendererByCompId.get(i.id);return r||(r=new CP(this.eventManager,this.sharedStylesHost,i,this.appId),this.rendererByCompId.set(i.id,r)),r.applyToHost(e),r}case 1:case kn.ShadowDom:return new EP(this.eventManager,this.sharedStylesHost,e,i);default:if(!this.rendererByCompId.has(i.id)){const r=vc(i.id,i.styles,[]);this.sharedStylesHost.addStyles(r),this.rendererByCompId.set(i.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return t.\u0275fac=function(e){return new(e||t)(x(bc),x(ia),x(Jo))},t.\u0275prov=P({token:t,factory:t.\u0275fac}),t})();class np{constructor(n){this.eventManager=n,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(n,e){return e?document.createElementNS(ep[e]||e,n):document.createElement(n)}createComment(n){return document.createComment(n)}createText(n){return document.createTextNode(n)}appendChild(n,e){(F1(n)?n.content:n).appendChild(e)}insertBefore(n,e,i){n&&(F1(n)?n.content:n).insertBefore(e,i)}removeChild(n,e){n&&n.removeChild(e)}selectRootElement(n,e){let i="string"==typeof n?document.querySelector(n):n;if(!i)throw new Error(`The selector "${n}" did not match any elements`);return e||(i.textContent=""),i}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,e,i,r){if(r){e=r+":"+e;const s=ep[r];s?n.setAttributeNS(s,e,i):n.setAttribute(e,i)}else n.setAttribute(e,i)}removeAttribute(n,e,i){if(i){const r=ep[i];r?n.removeAttributeNS(r,e):n.removeAttribute(`${i}:${e}`)}else n.removeAttribute(e)}addClass(n,e){n.classList.add(e)}removeClass(n,e){n.classList.remove(e)}setStyle(n,e,i,r){r&(Jt.DashCase|Jt.Important)?n.style.setProperty(e,i,r&Jt.Important?"important":""):n.style[e]=i}removeStyle(n,e,i){i&Jt.DashCase?n.style.removeProperty(e):n.style[e]=""}setProperty(n,e,i){n[e]=i}setValue(n,e){n.nodeValue=e}listen(n,e,i){return"string"==typeof n?this.eventManager.addGlobalEventListener(n,e,k1(i)):this.eventManager.addEventListener(n,e,k1(i))}}function F1(t){return"TEMPLATE"===t.tagName&&void 0!==t.content}class CP extends np{constructor(n,e,i,r){super(n),this.component=i;const s=vc(r+"-"+i.id,i.styles,[]);e.addStyles(s),this.contentAttr=function DP(t){return"_ngcontent-%COMP%".replace(tp,t)}(r+"-"+i.id),this.hostAttr=function SP(t){return"_nghost-%COMP%".replace(tp,t)}(r+"-"+i.id)}applyToHost(n){super.setAttribute(n,this.hostAttr,"")}createElement(n,e){const i=super.createElement(n,e);return super.setAttribute(i,this.contentAttr,""),i}}class EP extends np{constructor(n,e,i,r){super(n),this.sharedStylesHost=e,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const s=vc(r.id,r.styles,[]);for(let o=0;o{class t extends I1{constructor(e){super(e)}supports(e){return!0}addEventListener(e,i,r){return e.addEventListener(i,r,!1),()=>this.removeEventListener(e,i,r)}removeEventListener(e,i,r){return e.removeEventListener(i,r)}}return t.\u0275fac=function(e){return new(e||t)(x(Oe))},t.\u0275prov=P({token:t,factory:t.\u0275fac}),t})();const L1=["alt","control","meta","shift"],MP={"\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"},NP={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let IP=(()=>{class t extends I1{constructor(e){super(e)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,i,r){const s=t.parseEventName(i),o=t.eventCallback(s.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>jn().onAndCancel(e,s.domEventName,o))}static parseEventName(e){const i=e.toLowerCase().split("."),r=i.shift();if(0===i.length||"keydown"!==r&&"keyup"!==r)return null;const s=t._normalizeKey(i.pop());let o="",a=i.indexOf("code");if(a>-1&&(i.splice(a,1),o="code."),L1.forEach(c=>{const u=i.indexOf(c);u>-1&&(i.splice(u,1),o+=c+".")}),o+=s,0!=i.length||0===s.length)return null;const l={};return l.domEventName=r,l.fullKey=o,l}static matchEventFullKeyCode(e,i){let r=MP[e.key]||e.key,s="";return i.indexOf("code.")>-1&&(r=e.code,s="code."),!(null==r||!r)&&(r=r.toLowerCase()," "===r?r="space":"."===r&&(r="dot"),L1.forEach(o=>{o!==r&&(0,NP[o])(e)&&(s+=o+".")}),s+=r,s===i)}static eventCallback(e,i,r){return s=>{t.matchEventFullKeyCode(s,e)&&r.runGuarded(()=>i(s))}}static _normalizeKey(e){return"esc"===e?"escape":e}}return t.\u0275fac=function(e){return new(e||t)(x(Oe))},t.\u0275prov=P({token:t,factory:t.\u0275fac}),t})();const V1=[{provide:ti,useValue:D1},{provide:Sv,useValue:function AP(){Xf.makeCurrent()},multi:!0},{provide:Oe,useFactory:function OP(){return function bN(t){eh=t}(document),document},deps:[]}],RP=Rv(hk,"browser",V1),H1=new $(""),U1=[{provide:Xl,useClass:class _P{addToWindow(n){Le.getAngularTestability=(i,r=!0)=>{const s=n.findTestabilityInTree(i,r);if(null==s)throw new Error("Could not find testability for element.");return s},Le.getAllAngularTestabilities=()=>n.getAllTestabilities(),Le.getAllAngularRootElements=()=>n.getAllRootElements(),Le.frameworkStabilizers||(Le.frameworkStabilizers=[]),Le.frameworkStabilizers.push(i=>{const r=Le.getAllAngularTestabilities();let s=r.length,o=!1;const a=function(l){o=o||l,s--,0==s&&i(o)};r.forEach(function(l){l.whenStable(a)})})}findTestabilityInTree(n,e,i){return null==e?null:n.getTestability(e)??(i?jn().isShadowRoot(e)?this.findTestabilityInTree(n,e.host,!0):this.findTestabilityInTree(n,e.parentElement,!0):null)}},deps:[]},{provide:Iv,useClass:Tf,deps:[Me,Mf,Xl]},{provide:Tf,useClass:Tf,deps:[Me,Mf,Xl]}],$1=[{provide:lh,useValue:"root"},{provide:bs,useFactory:function xP(){return new bs},deps:[]},{provide:yc,useClass:TP,multi:!0,deps:[Oe,Me,ti]},{provide:yc,useClass:IP,multi:!0,deps:[Oe]},{provide:Dc,useClass:Dc,deps:[bc,ia,Jo]},{provide:ys,useExisting:Dc},{provide:A1,useExisting:ia},{provide:ia,useClass:ia,deps:[Oe]},{provide:bc,useClass:bc,deps:[yc,Me]},{provide:w1,useClass:yP,deps:[]},[]];let j1=(()=>{class t{constructor(e){}static withServerTransition(e){return{ngModule:t,providers:[{provide:Jo,useValue:e.appId},{provide:N1,useExisting:Jo},mP]}}}return t.\u0275fac=function(e){return new(e||t)(x(H1,12))},t.\u0275mod=fe({type:t}),t.\u0275inj=de({providers:[...$1,...U1],imports:[kt,fk]}),t})(),rp=(()=>{class t{constructor(e){this._doc=e,this._dom=jn()}addTag(e,i=!1){return e?this._getOrCreateElement(e,i):null}addTags(e,i=!1){return e?e.reduce((r,s)=>(s&&r.push(this._getOrCreateElement(s,i)),r),[]):[]}getTag(e){return e&&this._doc.querySelector(`meta[${e}]`)||null}getTags(e){if(!e)return[];const i=this._doc.querySelectorAll(`meta[${e}]`);return i?[].slice.call(i):[]}updateTag(e,i){if(!e)return null;i=i||this._parseSelector(e);const r=this.getTag(i);return r?this._setMetaElementAttributes(e,r):this._getOrCreateElement(e,!0)}removeTag(e){this.removeTagElement(this.getTag(e))}removeTagElement(e){e&&this._dom.remove(e)}_getOrCreateElement(e,i=!1){if(!i){const o=this._parseSelector(e),a=this.getTags(o).filter(l=>this._containsAttributes(e,l))[0];if(void 0!==a)return a}const r=this._dom.createElement("meta");return this._setMetaElementAttributes(e,r),this._doc.getElementsByTagName("head")[0].appendChild(r),r}_setMetaElementAttributes(e,i){return Object.keys(e).forEach(r=>i.setAttribute(this._getMetaKeyMap(r),e[r])),i}_parseSelector(e){const i=e.name?"name":"property";return`${i}="${e[i]}"`}_containsAttributes(e,i){return Object.keys(e).every(r=>i.getAttribute(this._getMetaKeyMap(r))===e[r])}_getMetaKeyMap(e){return PP[e]||e}}return t.\u0275fac=function(e){return new(e||t)(x(Oe))},t.\u0275prov=P({token:t,factory:function(e){let i=null;return i=e?new e:function kP(){return new rp(x(Oe))}(),i},providedIn:"root"}),t})();const PP={httpEquiv:"http-equiv"};let Sc=(()=>{class t{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}}return t.\u0275fac=function(e){return new(e||t)(x(Oe))},t.\u0275prov=P({token:t,factory:function(e){let i=null;return i=e?new e:function FP(){return new Sc(x(Oe))}(),i},providedIn:"root"}),t})();function wc(t,n){return new we(e=>{const i=t.length;if(0===i)return void e.complete();const r=new Array(i);let s=0,o=0;for(let a=0;a{c||(c=!0,o++),r[a]=u},error:u=>e.error(u),complete:()=>{s++,(s===i||!c)&&(o===i&&e.next(n?n.reduce((u,d,h)=>(u[d]=r[h],u),{}):r),e.complete())}}))}})}typeof window<"u"&&window;let K1=(()=>{class t{constructor(e,i){this._renderer=e,this._elementRef=i,this.onChange=r=>{},this.onTouched=()=>{}}setProperty(e,i){this._renderer.setProperty(this._elementRef.nativeElement,e,i)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}}return t.\u0275fac=function(e){return new(e||t)(v(ln),v(me))},t.\u0275dir=k({type:t}),t})(),Or=(()=>{class t extends K1{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Et(t)))(i||t)}}(),t.\u0275dir=k({type:t,features:[Ee]}),t})();const fn=new $("NgValueAccessor"),WP={provide:fn,useExisting:ge(()=>er),multi:!0},KP=new $("CompositionEventMode");let er=(()=>{class t extends K1{constructor(e,i,r){super(e,i),this._compositionMode=r,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function qP(){const t=jn()?jn().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}())}writeValue(e){this.setProperty("value",e??"")}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}return t.\u0275fac=function(e){return new(e||t)(v(ln),v(me),v(KP,8))},t.\u0275dir=k({type:t,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(e,i){1&e&&I("input",function(s){return i._handleInput(s.target.value)})("blur",function(){return i.onTouched()})("compositionstart",function(){return i._compositionStart()})("compositionend",function(s){return i._compositionEnd(s.target.value)})},features:[xe([WP]),Ee]}),t})();function tr(t){return null==t||("string"==typeof t||Array.isArray(t))&&0===t.length}function Q1(t){return null!=t&&"number"==typeof t.length}const Mt=new $("NgValidators"),nr=new $("NgAsyncValidators"),QP=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[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])?)*$/;class Y1{static min(n){return function Z1(t){return n=>{if(tr(n.value)||tr(t))return null;const e=parseFloat(n.value);return!isNaN(e)&&e{if(tr(n.value)||tr(t))return null;const e=parseFloat(n.value);return!isNaN(e)&&e>t?{max:{max:t,actual:n.value}}:null}}(n)}static required(n){return eD(n)}static requiredTrue(n){return function tD(t){return!0===t.value?null:{required:!0}}(n)}static email(n){return function nD(t){return tr(t.value)||QP.test(t.value)?null:{email:!0}}(n)}static minLength(n){return function iD(t){return n=>tr(n.value)||!Q1(n.value)?null:n.value.lengthQ1(n.value)&&n.value.length>t?{maxlength:{requiredLength:t,actualLength:n.value.length}}:null}(n)}static pattern(n){return sD(n)}static nullValidator(n){return null}static compose(n){return dD(n)}static composeAsync(n){return hD(n)}}function eD(t){return tr(t.value)?{required:!0}:null}function sD(t){if(!t)return Cc;let n,e;return"string"==typeof t?(e="","^"!==t.charAt(0)&&(e+="^"),e+=t,"$"!==t.charAt(t.length-1)&&(e+="$"),n=new RegExp(e)):(e=t.toString(),n=t),i=>{if(tr(i.value))return null;const r=i.value;return n.test(r)?null:{pattern:{requiredPattern:e,actualValue:r}}}}function Cc(t){return null}function oD(t){return null!=t}function aD(t){return Bo(t)?st(t):t}function lD(t){let n={};return t.forEach(e=>{n=null!=e?{...n,...e}:n}),0===Object.keys(n).length?null:n}function cD(t,n){return n.map(e=>e(t))}function uD(t){return t.map(n=>function YP(t){return!t.validate}(n)?n:e=>n.validate(e))}function dD(t){if(!t)return null;const n=t.filter(oD);return 0==n.length?null:function(e){return lD(cD(e,n))}}function op(t){return null!=t?dD(uD(t)):null}function hD(t){if(!t)return null;const n=t.filter(oD);return 0==n.length?null:function(e){return function GP(...t){if(1===t.length){const n=t[0];if(Vi(n))return wc(n,null);if(Wu(n)&&Object.getPrototypeOf(n)===Object.prototype){const e=Object.keys(n);return wc(e.map(i=>n[i]),e)}}if("function"==typeof t[t.length-1]){const n=t.pop();return wc(t=1===t.length&&Vi(t[0])?t[0]:t,null).pipe(B(e=>n(...e)))}return wc(t,null)}(cD(e,n).map(aD)).pipe(B(lD))}}function ap(t){return null!=t?hD(uD(t)):null}function fD(t,n){return null===t?[n]:Array.isArray(t)?[...t,n]:[t,n]}function pD(t){return t._rawValidators}function gD(t){return t._rawAsyncValidators}function lp(t){return t?Array.isArray(t)?t:[t]:[]}function Ec(t,n){return Array.isArray(t)?t.includes(n):t===n}function mD(t,n){const e=lp(n);return lp(t).forEach(r=>{Ec(e,r)||e.push(r)}),e}function _D(t,n){return lp(n).filter(e=>!Ec(t,e))}class yD{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}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}_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=op(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=ap(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n){this.control&&this.control.reset(n)}hasError(n,e){return!!this.control&&this.control.hasError(n,e)}getError(n,e){return this.control?this.control.getError(n,e):null}}class zt extends yD{get formDirective(){return null}get path(){return null}}class ir extends yD{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class bD{constructor(n){this._cd=n}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let He=(()=>{class t extends bD{constructor(e){super(e)}}return t.\u0275fac=function(e){return new(e||t)(v(ir,2))},t.\u0275dir=k({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,i){2&e&&je("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)},features:[Ee]}),t})(),cp=(()=>{class t extends bD{constructor(e){super(e)}}return t.\u0275fac=function(e){return new(e||t)(v(zt,10))},t.\u0275dir=k({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(e,i){2&e&&je("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)("ng-submitted",i.isSubmitted)},features:[Ee]}),t})();const ra="VALID",Mc="INVALID",Us="PENDING",sa="DISABLED";function fp(t){return(Nc(t)?t.validators:t)||null}function DD(t){return Array.isArray(t)?op(t):t||null}function pp(t,n){return(Nc(n)?n.asyncValidators:t)||null}function SD(t){return Array.isArray(t)?ap(t):t||null}function Nc(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}function wD(t,n,e){const i=t.controls;if(!(n?Object.keys(i):i).length)throw new M(1e3,"");if(!i[e])throw new M(1001,"")}function CD(t,n,e){t._forEachChild((i,r)=>{if(void 0===e[r])throw new M(1002,"")})}class Ic{constructor(n,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=n,this._rawAsyncValidators=e,this._composedValidatorFn=DD(this._rawValidators),this._composedAsyncValidatorFn=SD(this._rawAsyncValidators)}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 valid(){return this.status===ra}get invalid(){return this.status===Mc}get pending(){return this.status==Us}get disabled(){return this.status===sa}get enabled(){return this.status!==sa}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._rawValidators=n,this._composedValidatorFn=DD(n)}setAsyncValidators(n){this._rawAsyncValidators=n,this._composedAsyncValidatorFn=SD(n)}addValidators(n){this.setValidators(mD(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(mD(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(_D(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(_D(n,this._rawAsyncValidators))}hasValidator(n){return Ec(this._rawValidators,n)}hasAsyncValidator(n){return Ec(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){this.touched=!0,this._parent&&!n.onlySelf&&this._parent.markAsTouched(n)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(n=>n.markAllAsTouched())}markAsUntouched(n={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}markAsDirty(n={}){this.pristine=!1,this._parent&&!n.onlySelf&&this._parent.markAsDirty(n)}markAsPristine(n={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}markAsPending(n={}){this.status=Us,!1!==n.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!n.onlySelf&&this._parent.markAsPending(n)}disable(n={}){const e=this._parentMarkedDirty(n.onlySelf);this.status=sa,this.errors=null,this._forEachChild(i=>{i.disable({...n,onlySelf:!0})}),this._updateValue(),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...n,skipPristineCheck:e}),this._onDisabledChange.forEach(i=>i(!0))}enable(n={}){const e=this._parentMarkedDirty(n.onlySelf);this.status=ra,this._forEachChild(i=>{i.enable({...n,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors({...n,skipPristineCheck:e}),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(n){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===ra||this.status===Us)&&this._runAsyncValidator(n.emitEvent)),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(n)}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?sa:ra}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n){if(this.asyncValidator){this.status=Us,this._hasOwnPendingAsyncValidator=!0;const e=aD(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(i=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(i,{emitEvent:n})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(n,e={}){this.errors=n,this._updateControlsErrors(!1!==e.emitEvent)}get(n){let e=n;return null==e||(Array.isArray(e)||(e=e.split(".")),0===e.length)?null:e.reduce((i,r)=>i&&i._find(r),this)}getError(n,e){const i=e?this.get(e):this;return i&&i.errors?i.errors[n]:null}hasError(n,e){return!!this.getError(n,e)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(n)}_initObservables(){this.valueChanges=new j,this.statusChanges=new j}_calculateStatus(){return this._allControlsDisabled()?sa:this.errors?Mc:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Us)?Us:this._anyControlsHaveStatus(Mc)?Mc:ra}_anyControlsHaveStatus(n){return this._anyControls(e=>e.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n={}){this.pristine=!this._anyControlsDirty(),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}_updateTouched(n={}){this.touched=this._anyControlsTouched(),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){Nc(n)&&null!=n.updateOn&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(n){return null}}class oa extends Ic{constructor(n,e,i){super(fp(e),pp(i,e)),this.controls=n,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(n,e){return this.controls[n]?this.controls[n]:(this.controls[n]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(n,e,i={}){this.registerControl(n,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(n,e={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(n,e,i={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],e&&this.registerControl(n,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,e={}){CD(this,0,n),Object.keys(n).forEach(i=>{wD(this,!0,i),this.controls[i].setValue(n[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(n,e={}){null!=n&&(Object.keys(n).forEach(i=>{const r=this.controls[i];r&&r.patchValue(n[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n={},e={}){this._forEachChild((i,r)=>{i.reset(n[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(n,e,i)=>(n[i]=e.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(e,i)=>!!i._syncPendingControls()||e);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(e=>{const i=this.controls[e];i&&n(i,e)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(const[e,i]of Object.entries(this.controls))if(this.contains(e)&&n(i))return!0;return!1}_reduceValue(){return this._reduceChildren({},(e,i,r)=>((i.enabled||this.disabled)&&(e[r]=i.value),e))}_reduceChildren(n,e){let i=n;return this._forEachChild((r,s)=>{i=e(i,r,s)}),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}}class ED extends oa{}function Ac(t,n){return[...n.path,t]}function aa(t,n){gp(t,n),n.valueAccessor.writeValue(t.value),t.disabled&&n.valueAccessor.setDisabledState?.(!0),function sF(t,n){n.valueAccessor.registerOnChange(e=>{t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&TD(t,n)})}(t,n),function aF(t,n){const e=(i,r)=>{n.valueAccessor.writeValue(i),r&&n.viewToModelUpdate(i)};t.registerOnChange(e),n._registerOnDestroy(()=>{t._unregisterOnChange(e)})}(t,n),function oF(t,n){n.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&TD(t,n),"submit"!==t.updateOn&&t.markAsTouched()})}(t,n),function rF(t,n){if(n.valueAccessor.setDisabledState){const e=i=>{n.valueAccessor.setDisabledState(i)};t.registerOnDisabledChange(e),n._registerOnDestroy(()=>{t._unregisterOnDisabledChange(e)})}}(t,n)}function xc(t,n,e=!0){const i=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(i),n.valueAccessor.registerOnTouched(i)),Rc(t,n),t&&(n._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function Oc(t,n){t.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(n)})}function gp(t,n){const e=pD(t);null!==n.validator?t.setValidators(fD(e,n.validator)):"function"==typeof e&&t.setValidators([e]);const i=gD(t);null!==n.asyncValidator?t.setAsyncValidators(fD(i,n.asyncValidator)):"function"==typeof i&&t.setAsyncValidators([i]);const r=()=>t.updateValueAndValidity();Oc(n._rawValidators,r),Oc(n._rawAsyncValidators,r)}function Rc(t,n){let e=!1;if(null!==t){if(null!==n.validator){const r=pD(t);if(Array.isArray(r)&&r.length>0){const s=r.filter(o=>o!==n.validator);s.length!==r.length&&(e=!0,t.setValidators(s))}}if(null!==n.asyncValidator){const r=gD(t);if(Array.isArray(r)&&r.length>0){const s=r.filter(o=>o!==n.asyncValidator);s.length!==r.length&&(e=!0,t.setAsyncValidators(s))}}}const i=()=>{};return Oc(n._rawValidators,i),Oc(n._rawAsyncValidators,i),e}function TD(t,n){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function MD(t,n){gp(t,n)}function mp(t,n){if(!t.hasOwnProperty("model"))return!1;const e=t.model;return!!e.isFirstChange()||!Object.is(n,e.currentValue)}function ID(t,n){t._syncPendingControls(),n.forEach(e=>{const i=e.control;"submit"===i.updateOn&&i._pendingChange&&(e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}function _p(t,n){if(!n)return null;let e,i,r;return Array.isArray(n),n.forEach(s=>{s.constructor===er?e=s:function uF(t){return Object.getPrototypeOf(t.constructor)===Or}(s)?i=s:r=s}),r||i||e||null}const hF={provide:zt,useExisting:ge(()=>kc)},la=(()=>Promise.resolve())();let kc=(()=>{class t extends zt{constructor(e,i){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new j,this.form=new oa({},op(e),ap(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){la.then(()=>{const i=this._findContainer(e.path);e.control=i.registerControl(e.name,e.control),aa(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){la.then(()=>{const i=this._findContainer(e.path);i&&i.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){la.then(()=>{const i=this._findContainer(e.path),r=new oa({});MD(r,e),i.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){la.then(()=>{const i=this._findContainer(e.path);i&&i.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,i){la.then(()=>{this.form.get(e.path).setValue(i)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,ID(this.form,this._directives),this.ngSubmit.emit(e),"dialog"===e?.target?.method}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}}return t.\u0275fac=function(e){return new(e||t)(v(Mt,10),v(nr,10))},t.\u0275dir=k({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,i){1&e&&I("submit",function(s){return i.onSubmit(s)})("reset",function(){return i.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[xe([hF]),Ee]}),t})();function AD(t,n){const e=t.indexOf(n);e>-1&&t.splice(e,1)}function xD(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}const ca=class extends Ic{constructor(n=null,e,i){super(fp(e),pp(i,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Nc(e)&&(e.nonNullable||e.initialValueIsDefault)&&(this.defaultValue=xD(n)?n.value:n)}setValue(n,e={}){this.value=this._pendingValue=n,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(i=>i(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(n,e={}){this.setValue(n,e)}reset(n=this.defaultValue,e={}){this._applyFormState(n),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){AD(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){AD(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){xD(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}},gF={provide:ir,useExisting:ge(()=>Ue)},kD=(()=>Promise.resolve())();let Ue=(()=>{class t extends ir{constructor(e,i,r,s,o){super(),this._changeDetectorRef=o,this.control=new ca,this._registered=!1,this.update=new j,this._parent=e,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=_p(0,s)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){const i=e.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),mp(e,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(e){this.viewModel=e,this.update.emit(e)}_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(){aa(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(e){kD.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){const i=e.isDisabled.currentValue,r=0!==i&&Di(i);kD.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?Ac(e,this._parent):[e]}}return t.\u0275fac=function(e){return new(e||t)(v(zt,9),v(Mt,10),v(nr,10),v(fn,10),v(hn,8))},t.\u0275dir=k({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[xe([gF]),Ee,Dt]}),t})(),yp=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=k({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),t})(),FD=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=fe({type:t}),t.\u0275inj=de({}),t})();const bp=new $("NgModelWithFormControlWarning"),DF={provide:zt,useExisting:ge(()=>Pc)};let Pc=(()=>{class t extends zt{constructor(e,i){super(),this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new j,this._setValidators(e),this._setAsyncValidators(i)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Rc(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const i=this.form.get(e.path);return aa(i,e),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),i}getControl(e){return this.form.get(e.path)}removeControl(e){xc(e.control||null,e,!1),function dF(t,n){const e=t.indexOf(n);e>-1&&t.splice(e,1)}(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,i){this.form.get(e.path).setValue(i)}onSubmit(e){return this.submitted=!0,ID(this.form,this.directives),this.ngSubmit.emit(e),"dialog"===e?.target?.method}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{const i=e.control,r=this.form.get(e.path);i!==r&&(xc(i||null,e),(t=>t instanceof ca)(r)&&(aa(r,e),e.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const i=this.form.get(e.path);MD(i,e),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const i=this.form.get(e.path);i&&function lF(t,n){return Rc(t,n)}(i,e)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){gp(this.form,this),this._oldForm&&Rc(this._oldForm,this)}_checkFormPresent(){}}return t.\u0275fac=function(e){return new(e||t)(v(Mt,10),v(nr,10))},t.\u0275dir=k({type:t,selectors:[["","formGroup",""]],hostBindings:function(e,i){1&e&&I("submit",function(s){return i.onSubmit(s)})("reset",function(){return i.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[xe([DF]),Ee,Dt]}),t})();const CF={provide:ir,useExisting:ge(()=>Sp)};let Sp=(()=>{class t extends ir{constructor(e,i,r,s,o){super(),this._ngModelWarningConfig=o,this._added=!1,this.update=new j,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=_p(0,s)}set isDisabled(e){}ngOnChanges(e){this._added||this._setUpControl(),mp(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return Ac(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}}return t._ngModelWarningSentOnce=!1,t.\u0275fac=function(e){return new(e||t)(v(zt,13),v(Mt,10),v(nr,10),v(fn,10),v(bp,8))},t.\u0275dir=k({type:t,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[xe([CF]),Ee,Dt]}),t})(),Rr=(()=>{class t{constructor(){this._validator=Cc}ngOnChanges(e){if(this.inputName in e){const i=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(i),this._validator=this._enabled?this.createValidator(i):Cc,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return null!=e}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=k({type:t,features:[Dt]}),t})();const RF={provide:Mt,useExisting:ge(()=>Fc),multi:!0};let Fc=(()=>{class t extends Rr{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=Di,this.createValidator=e=>eD}enabled(e){return e}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Et(t)))(i||t)}}(),t.\u0275dir=k({type:t,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(e,i){2&e&&Te("required",i._enabled?"":null)},inputs:{required:"required"},features:[xe([RF]),Ee]}),t})();const BF={provide:Mt,useExisting:ge(()=>Ep),multi:!0};let Ep=(()=>{class t extends Rr{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=e=>e,this.createValidator=e=>sD(e)}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Et(t)))(i||t)}}(),t.\u0275dir=k({type:t,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(e,i){2&e&&Te("pattern",i._enabled?i.pattern:null)},inputs:{pattern:"pattern"},features:[xe([BF]),Ee]}),t})(),YD=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=fe({type:t}),t.\u0275inj=de({imports:[FD]}),t})(),Tp=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=fe({type:t}),t.\u0275inj=de({imports:[YD]}),t})(),Mp=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:bp,useValue:e.warnOnNgModelWithFormControl}]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=fe({type:t}),t.\u0275inj=de({imports:[YD]}),t})();class ZD extends Ic{constructor(n,e,i){super(fp(e),pp(i,e)),this.controls=n,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(n){return this.controls[this._adjustIndex(n)]}push(n,e={}){this.controls.push(n),this._registerControl(n),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(n,e,i={}){this.controls.splice(n,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:i.emitEvent})}removeAt(n,e={}){let i=this._adjustIndex(n);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),this.controls.splice(i,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(n,e,i={}){let r=this._adjustIndex(n);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),e&&(this.controls.splice(r,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(n,e={}){CD(this,0,n),n.forEach((i,r)=>{wD(this,!1,r),this.at(r).setValue(i,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(n,e={}){null!=n&&(n.forEach((i,r)=>{this.at(r)&&this.at(r).patchValue(i,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n=[],e={}){this._forEachChild((i,r)=>{i.reset(n[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(n=>n.getRawValue())}clear(n={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:n.emitEvent}))}_adjustIndex(n){return n<0?n+this.length:n}_syncPendingControls(){let n=this.controls.reduce((e,i)=>!!i._syncPendingControls()||e,!1);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){this.controls.forEach((e,i)=>{n(e,i)})}_updateValue(){this.value=this.controls.filter(n=>n.enabled||this.disabled).map(n=>n.value)}_anyControls(n){return this.controls.some(e=>e.enabled&&n(e))}_setUpControls(){this._forEachChild(n=>this._registerControl(n))}_allControlsDisabled(){for(const n of this.controls)if(n.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(n){n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)}_find(n){return this.at(n)??null}}function XD(t){return!!t&&(void 0!==t.asyncValidators||void 0!==t.validators||void 0!==t.updateOn)}let VF=(()=>{class t{constructor(){this.useNonNullable=!1}get nonNullable(){const e=new t;return e.useNonNullable=!0,e}group(e,i=null){const r=this._reduceControls(e);let s={};return XD(i)?s=i:null!==i&&(s.validators=i.validator,s.asyncValidators=i.asyncValidator),new oa(r,s)}record(e,i=null){const r=this._reduceControls(e);return new ED(r,i)}control(e,i,r){let s={};return this.useNonNullable?(XD(i)?s=i:(s.validators=i,s.asyncValidators=r),new ca(e,{...s,nonNullable:!0})):new ca(e,i,r)}array(e,i,r){const s=e.map(o=>this._createControl(o));return new ZD(s,i,r)}_reduceControls(e){const i={};return Object.keys(e).forEach(r=>{i[r]=this._createControl(e[r])}),i}_createControl(e){return e instanceof ca||e instanceof Ic?e:Array.isArray(e)?this.control(e[0],e.length>1?e[1]:null,e.length>2?e[2]:null):this.control(e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=P({token:t,factory:t.\u0275fac,providedIn:Mp}),t})(),HF=(()=>{class t extends VF{group(e,i=null){return super.group(e,i)}control(e,i,r){return super.control(e,i,r)}array(e,i,r){return super.array(e,i,r)}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Et(t)))(i||t)}}(),t.\u0275prov=P({token:t,factory:t.\u0275fac,providedIn:Mp}),t})();function U(...t){let n=t[t.length-1];return Kr(n)?(t.pop(),Ku(t,n)):oo(t)}function rr(t,n){return It(t,n,1)}function ze(t,n){return function(i){return i.lift(new UF(t,n))}}class UF{constructor(n,e){this.predicate=n,this.thisArg=e}call(n,e){return e.subscribe(new $F(n,this.predicate,this.thisArg))}}class $F extends Se{constructor(n,e,i){super(n),this.predicate=e,this.thisArg=i,this.count=0}_next(n){let e;try{e=this.predicate.call(this.thisArg,n,this.count++)}catch(i){return void this.destination.error(i)}e&&this.destination.next(n)}}class eS{}class tS{}class Ei{constructor(n){this.normalizedNames=new Map,this.lazyUpdate=null,n?this.lazyInit="string"==typeof n?()=>{this.headers=new Map,n.split("\n").forEach(e=>{const i=e.indexOf(":");if(i>0){const r=e.slice(0,i),s=r.toLowerCase(),o=e.slice(i+1).trim();this.maybeSetNormalizedName(r,s),this.headers.has(s)?this.headers.get(s).push(o):this.headers.set(s,[o])}})}:()=>{this.headers=new Map,Object.keys(n).forEach(e=>{let i=n[e];const r=e.toLowerCase();"string"==typeof i&&(i=[i]),i.length>0&&(this.headers.set(r,i),this.maybeSetNormalizedName(e,r))})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();const e=this.headers.get(n.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,e){return this.clone({name:n,value:e,op:"a"})}set(n,e){return this.clone({name:n,value:e,op:"s"})}delete(n,e){return this.clone({name:n,value:e,op:"d"})}maybeSetNormalizedName(n,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,n)}init(){this.lazyInit&&(this.lazyInit instanceof Ei?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(e=>{this.headers.set(e,n.headers.get(e)),this.normalizedNames.set(e,n.normalizedNames.get(e))})}clone(n){const e=new Ei;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof Ei?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([n]),e}applyUpdate(n){const e=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,e);const r=("a"===n.op?this.headers.get(e):void 0)||[];r.push(...i),this.headers.set(e,r);break;case"d":const s=n.value;if(s){let o=this.headers.get(e);if(!o)return;o=o.filter(a=>-1===s.indexOf(a)),0===o.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,o)}else this.headers.delete(e),this.normalizedNames.delete(e)}}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>n(this.normalizedNames.get(e),this.headers.get(e)))}}class jF{encodeKey(n){return nS(n)}encodeValue(n){return nS(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}}const zF=/%(\d[a-f0-9])/gi,WF={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function nS(t){return encodeURIComponent(t).replace(zF,(n,e)=>WF[e]??n)}function Lc(t){return`${t}`}class sr{constructor(n={}){if(this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new jF,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function GF(t,n){const e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(r=>{const s=r.indexOf("="),[o,a]=-1==s?[n.decodeKey(r),""]:[n.decodeKey(r.slice(0,s)),n.decodeValue(r.slice(s+1))],l=e.get(o)||[];l.push(a),e.set(o,l)}),e}(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(e=>{const i=n.fromObject[e],r=Array.isArray(i)?i.map(Lc):[Lc(i)];this.map.set(e,r)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();const e=this.map.get(n);return e?e[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,e){return this.clone({param:n,value:e,op:"a"})}appendAll(n){const e=[];return Object.keys(n).forEach(i=>{const r=n[i];Array.isArray(r)?r.forEach(s=>{e.push({param:i,value:s,op:"a"})}):e.push({param:i,value:r,op:"a"})}),this.clone(e)}set(n,e){return this.clone({param:n,value:e,op:"s"})}delete(n,e){return this.clone({param:n,value:e,op:"d"})}toString(){return this.init(),this.keys().map(n=>{const e=this.encoder.encodeKey(n);return this.map.get(n).map(i=>e+"="+this.encoder.encodeValue(i)).join("&")}).filter(n=>""!==n).join("&")}clone(n){const e=new sr({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(n),e}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 e=("a"===n.op?this.map.get(n.param):void 0)||[];e.push(Lc(n.value)),this.map.set(n.param,e);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(Lc(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 qF{constructor(){this.map=new Map}set(n,e){return this.map.set(n,e),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 iS(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function rS(t){return typeof Blob<"u"&&t instanceof Blob}function sS(t){return typeof FormData<"u"&&t instanceof FormData}class ua{constructor(n,e,i,r){let s;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=n.toUpperCase(),function KF(t){switch(t){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,s=r):s=i,s&&(this.reportProgress=!!s.reportProgress,this.withCredentials=!!s.withCredentials,s.responseType&&(this.responseType=s.responseType),s.headers&&(this.headers=s.headers),s.context&&(this.context=s.context),s.params&&(this.params=s.params)),this.headers||(this.headers=new Ei),this.context||(this.context=new qF),this.params){const o=this.params.toString();if(0===o.length)this.urlWithParams=e;else{const a=e.indexOf("?");this.urlWithParams=e+(-1===a?"?":ad.set(h,n.setHeaders[h]),l)),n.setParams&&(c=Object.keys(n.setParams).reduce((d,h)=>d.set(h,n.setParams[h]),c)),new ua(e,i,s,{params:c,headers:l,context:u,reportProgress:a,responseType:r,withCredentials:o})}}var ct=(()=>((ct=ct||{})[ct.Sent=0]="Sent",ct[ct.UploadProgress=1]="UploadProgress",ct[ct.ResponseHeader=2]="ResponseHeader",ct[ct.DownloadProgress=3]="DownloadProgress",ct[ct.Response=4]="Response",ct[ct.User=5]="User",ct))();class Np{constructor(n,e=200,i="OK"){this.headers=n.headers||new Ei,this.status=void 0!==n.status?n.status:e,this.statusText=n.statusText||i,this.url=n.url||null,this.ok=this.status>=200&&this.status<300}}class Ip extends Np{constructor(n={}){super(n),this.type=ct.ResponseHeader}clone(n={}){return new Ip({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 Bc extends Np{constructor(n={}){super(n),this.type=ct.Response,this.body=void 0!==n.body?n.body:null}clone(n={}){return new Bc({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})}}class oS extends Np{constructor(n){super(n,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,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 Ap(t,n){return{body:n,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}let xp=(()=>{class t{constructor(e){this.handler=e}request(e,i,r={}){let s;if(e instanceof ua)s=e;else{let l,c;l=r.headers instanceof Ei?r.headers:new Ei(r.headers),r.params&&(c=r.params instanceof sr?r.params:new sr({fromObject:r.params})),s=new ua(e,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})}const o=U(s).pipe(rr(l=>this.handler.handle(l)));if(e instanceof ua||"events"===r.observe)return o;const a=o.pipe(ze(l=>l instanceof Bc));switch(r.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return a.pipe(B(l=>{if(null!==l.body&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return a.pipe(B(l=>{if(null!==l.body&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return a.pipe(B(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new Error("Response is not a string.");return l.body}));default:return a.pipe(B(l=>l.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${r.observe}}`)}}delete(e,i={}){return this.request("DELETE",e,i)}get(e,i={}){return this.request("GET",e,i)}head(e,i={}){return this.request("HEAD",e,i)}jsonp(e,i){return this.request("JSONP",e,{params:(new sr).append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,i={}){return this.request("OPTIONS",e,i)}patch(e,i,r={}){return this.request("PATCH",e,Ap(r,i))}post(e,i,r={}){return this.request("POST",e,Ap(r,i))}put(e,i,r={}){return this.request("PUT",e,Ap(r,i))}}return t.\u0275fac=function(e){return new(e||t)(x(eS))},t.\u0275prov=P({token:t,factory:t.\u0275fac}),t})();class aS{constructor(n,e){this.next=n,this.interceptor=e}handle(n){return this.interceptor.intercept(n,this.next)}}const lS=new $("HTTP_INTERCEPTORS");let QF=(()=>{class t{intercept(e,i){return i.handle(e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=P({token:t,factory:t.\u0275fac}),t})();const YF=/^\)\]\}',?\n/;let cS=(()=>{class t{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new we(i=>{const r=this.xhrFactory.build();if(r.open(e.method,e.urlWithParams),e.withCredentials&&(r.withCredentials=!0),e.headers.forEach((f,p)=>r.setRequestHeader(f,p.join(","))),e.headers.has("Accept")||r.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const f=e.detectContentTypeHeader();null!==f&&r.setRequestHeader("Content-Type",f)}if(e.responseType){const f=e.responseType.toLowerCase();r.responseType="json"!==f?f:"text"}const s=e.serializeBody();let o=null;const a=()=>{if(null!==o)return o;const f=r.statusText||"OK",p=new Ei(r.getAllResponseHeaders()),b=function ZF(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(r)||e.url;return o=new Ip({headers:p,status:r.status,statusText:f,url:b}),o},l=()=>{let{headers:f,status:p,statusText:b,url:D}=a(),C=null;204!==p&&(C=typeof r.response>"u"?r.responseText:r.response),0===p&&(p=C?200:0);let N=p>=200&&p<300;if("json"===e.responseType&&"string"==typeof C){const w=C;C=C.replace(YF,"");try{C=""!==C?JSON.parse(C):null}catch(O){C=w,N&&(N=!1,C={error:O,text:C})}}N?(i.next(new Bc({body:C,headers:f,status:p,statusText:b,url:D||void 0})),i.complete()):i.error(new oS({error:C,headers:f,status:p,statusText:b,url:D||void 0}))},c=f=>{const{url:p}=a(),b=new oS({error:f,status:r.status||0,statusText:r.statusText||"Unknown Error",url:p||void 0});i.error(b)};let u=!1;const d=f=>{u||(i.next(a()),u=!0);let p={type:ct.DownloadProgress,loaded:f.loaded};f.lengthComputable&&(p.total=f.total),"text"===e.responseType&&!!r.responseText&&(p.partialText=r.responseText),i.next(p)},h=f=>{let p={type:ct.UploadProgress,loaded:f.loaded};f.lengthComputable&&(p.total=f.total),i.next(p)};return r.addEventListener("load",l),r.addEventListener("error",c),r.addEventListener("timeout",c),r.addEventListener("abort",c),e.reportProgress&&(r.addEventListener("progress",d),null!==s&&r.upload&&r.upload.addEventListener("progress",h)),r.send(s),i.next({type:ct.Sent}),()=>{r.removeEventListener("error",c),r.removeEventListener("abort",c),r.removeEventListener("load",l),r.removeEventListener("timeout",c),e.reportProgress&&(r.removeEventListener("progress",d),null!==s&&r.upload&&r.upload.removeEventListener("progress",h)),r.readyState!==r.DONE&&r.abort()}})}}return t.\u0275fac=function(e){return new(e||t)(x(w1))},t.\u0275prov=P({token:t,factory:t.\u0275fac}),t})();const Op=new $("XSRF_COOKIE_NAME"),Rp=new $("XSRF_HEADER_NAME");class uS{}let XF=(()=>{class t{constructor(e,i,r){this.doc=e,this.platform=i,this.cookieName=r,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=h1(e,this.cookieName),this.lastCookieString=e),this.lastToken}}return t.\u0275fac=function(e){return new(e||t)(x(Oe),x(ti),x(Op))},t.\u0275prov=P({token:t,factory:t.\u0275fac}),t})(),kp=(()=>{class t{constructor(e,i){this.tokenService=e,this.headerName=i}intercept(e,i){const r=e.url.toLowerCase();if("GET"===e.method||"HEAD"===e.method||r.startsWith("http://")||r.startsWith("https://"))return i.handle(e);const s=this.tokenService.getToken();return null!==s&&!e.headers.has(this.headerName)&&(e=e.clone({headers:e.headers.set(this.headerName,s)})),i.handle(e)}}return t.\u0275fac=function(e){return new(e||t)(x(uS),x(Rp))},t.\u0275prov=P({token:t,factory:t.\u0275fac}),t})(),eL=(()=>{class t{constructor(e,i){this.backend=e,this.injector=i,this.chain=null}handle(e){if(null===this.chain){const i=this.injector.get(lS,[]);this.chain=i.reduceRight((r,s)=>new aS(r,s),this.backend)}return this.chain.handle(e)}}return t.\u0275fac=function(e){return new(e||t)(x(tS),x(St))},t.\u0275prov=P({token:t,factory:t.\u0275fac}),t})(),tL=(()=>{class t{static disable(){return{ngModule:t,providers:[{provide:kp,useClass:QF}]}}static withOptions(e={}){return{ngModule:t,providers:[e.cookieName?{provide:Op,useValue:e.cookieName}:[],e.headerName?{provide:Rp,useValue:e.headerName}:[]]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=fe({type:t}),t.\u0275inj=de({providers:[kp,{provide:lS,useExisting:kp,multi:!0},{provide:uS,useClass:XF},{provide:Op,useValue:"XSRF-TOKEN"},{provide:Rp,useValue:"X-XSRF-TOKEN"}]}),t})(),nL=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=fe({type:t}),t.\u0275inj=de({providers:[xp,{provide:eS,useClass:eL},cS,{provide:tS,useExisting:cS}],imports:[tL.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]}),t})(),Vc=(()=>{class t{constructor(){this.itemList=[],this.DATA=[{id:"PBMMedAdhr",name:"PBM Medication Adherence"},{id:"GapsInCare",name:"Gaps In Care"},{id:"UCTest1",name:"Use Case Test1"},{id:"BASICSAVE",name:"A generic alternative or 30-90 day dispense opport"},{id:"ADVSAVE",name:"An advnaced generic alternative or 30-90 day dispe"},{id:"AttAlert",name:"Attachment Alert"},{id:"PatSave",name:"Patient savings"},{id:"UCTest2",name:"Use Case Test 2"},{id:"UCTest3",name:"Use Case Test 3"},{id:"UCTest4",name:"Use Case Test 4"},{id:"UCTest5",name:"Use Case Test 5"},{id:"UCTest6",name:"Use Case Test 6"},{id:"UCTest7",name:"Use Case Test 7"},{id:"UCTest9",name:"Use Case Test 9"},{id:"UCTest#Ten",name:"Use Case Test 10"},{id:"UCTest8",name:"Use Case Test 8"},{id:"UCTest11",name:"Test Use Case 11"},{id:"UCTest12",name:"Test Use Case 12"},{id:"UCTest13",name:"Test Use Case 13"},{id:"PNLIMMUN",name:"PNL Immunization"},{id:"TrustBrkr",name:"Identity Services"},{id:"RTBC",name:"real time benefit check for 90 day at retail"}],this.categories=["Indian","American","Canadian","Chinese"],this.namesList=["Smith","Johnson","Williams","Brown","Jones","Miller","Davis","Garcia","Rodriguez","Wilson","Martinez","Anderson","Taylor","Thomas","Hernandez","Moore","Martin","Jackson","Thompson","White","Lopez","Lee","Gonzalez","Harris","Clark","Lewis","Robinson","Walker","Perez","Hall","Young","Allen","Sanchez","Wright","King","Scott","Green","Baker","Adams","Nelson","Hill","Ramirez","Campbell","Mitchell","Roberts","Carter","Phillips","Evans","Turner","Torres","Parker","Collins","Edwards","Stewart","Flores","Morris","Nguyen","Murphy","Rivera","Cook","Rogers","Morgan","Peterson","Cooper","Reed","Bailey","Bell","Gomez","Kelly","Howard","Ward","Cox","Diaz","Richardson","Wood","Watson","Brooks","Bennett","Gray","James","Reyes","Cruz","Hughes","Price","Myers","Long","Foster","Sanders","Ross","Morales","Powell","Sullivan","Russell","Ortiz","Jenkins","Gutierrez","Perry","Butler","Barnes","Fisher","Henderson","Coleman","Simmons","Patterson","Jordan","Reynolds","Hamilton","Graham","Kim","Gonzales","Alexander","Ramos","Wallace","Griffin","West","Cole","Hayes","Chavez","Gibson","Bryant","Ellis","Stevens","Murray","Ford","Marshall","Owens","Mcdonald","Harrison","Ruiz","Kennedy","Wells","Alvarez","Woods","Mendoza","Castillo","Olson","Webb","Washington","Tucker","Freeman","Burns","Henry","Vasquez","Snyder","Simpson","Crawford","Jimenez","Porter","Mason","Shaw","Gordon","Wagner","Hunter","Romero","Hicks","Dixon","Hunt","Palmer","Robertson","Black","Holmes","Stone","Meyer","Boyd","Mills","Warren","Fox","Rose","Rice","Moreno","Schmidt","Patel","Ferguson","Nichols","Herrera","Medina","Ryan","Fernandez","Weaver","Daniels","Stephens","Gardner","Payne","Kelley","Dunn","Pierce","Arnold","Tran","Spencer","Peters","Hawkins","Grant","Hansen","Castro","Hoffman","Hart","Elliott","Cunningham","Knight","Bradley","Carroll","Hudson","Duncan","Armstrong","Berry","Andrews","Johnston","Ray","Lane","Riley","Carpenter","Perkins","Aguilar","Silva","Richards","Willis","Matthews","Chapman","Lawrence","Garza","Vargas","Watkins","Wheeler","Larson","Carlson","Harper","George","Greene","Burke","Guzman","Morrison","Munoz","Jacobs","Obrien","Lawson","Franklin","Lynch","Bishop","Carr","Salazar","Austin","Mendez","Gilbert","Jensen","Williamson","Montgomery","Harvey","Oliver","Howell","Dean","Hanson","Weber","Garrett","Sims","Burton","Fuller","Soto","Mccoy","Welch","Chen","Schultz","Walters","Reid","Fields","Walsh","Little","Fowler","Bowman","Davidson","May","Day","Schneider","Newman","Brewer","Lucas","Holland","Wong","Banks","Santos","Curtis","Pearson","Delgado","Valdez","Pena","Rios","Douglas","Sandoval","Barrett","Hopkins","Keller","Guerrero","Stanley","Bates","Alvarado","Beck","Ortega","Wade","Estrada","Contreras","Barnett","Caldwell","Santiago","Lambert","Powers","Chambers","Nunez","Craig","Leonard","Lowe","Rhodes","Byrd","Gregory","Shelton","Frazier","Becker","Maldonado","Fleming","Vega","Sutton","Cohen","Jennings","Parks","Mcdaniel","Watts","Barker","Norris","Vaughn","Vazquez","Holt","Schwartz","Steele","Benson","Neal","Dominguez","Horton","Terry","Wolfe","Hale","Lyons","Graves","Haynes","Miles","Park","Warner","Padilla","Bush","Thornton","Mccarthy","Mann","Zimmerman","Erickson","Fletcher","Mckinney","Page","Dawson","Joseph","Marquez","Reeves","Klein","Espinoza","Baldwin","Moran","Love","Robbins","Higgins","Ball","Cortez","Le","Griffith","Bowen","Sharp","Cummings","Ramsey","Hardy","Swanson","Barber","Acosta","Luna","Chandler","Blair","Daniel","Cross","Simon","Dennis","Oconnor","Quinn","Gross","Navarro","Moss","Fitzgerald","Doyle","Mclaughlin","Rojas","Rodgers","Stevenson","Singh","Yang","Figueroa","Harmon","Newton","Paul","Manning","Garner","Mcgee","Reese","Francis","Burgess","Adkins","Goodman","Curry","Brady","Christensen","Potter","Walton","Goodwin","Mullins","Molina","Webster","Fischer","Campos","Avila","Sherman","Todd","Chang","Blake","Malone","Wolf","Hodges","Juarez","Gill","Farmer","Hines","Gallagher","Duran","Hubbard","Cannon","Miranda","Wang","Saunders","Tate","Mack","Hammond","Carrillo","Townsend","Wise","Ingram","Barton","Mejia","Ayala","Schroeder","Hampton","Rowe","Parsons","Frank","Waters","Strickland","Osborne","Maxwell","Chan","Deleon","Norman","Harrington","Casey","Patton","Logan","Bowers","Mueller","Glover","Floyd","Hartman","Buchanan","Cobb","French","Kramer","Mccormick","Clarke","Tyler","Gibbs","Moody","Conner","Sparks","Mcguire","Leon","Bauer","Norton","Pope","Flynn","Hogan","Robles","Salinas","Yates","Lindsey","Lloyd","Marsh","Mcbride","Owen","Solis","Pham","Lang","Pratt","Lara","Brock","Ballard","Trujillo","Shaffer","Drake","Roman","Aguirre","Morton","Stokes","Lamb","Pacheco","Patrick","Cochran","Shepherd","Cain","Burnett","Hess","Li","Cervantes","Olsen","Briggs","Ochoa","Cabrera","Velasquez","Montoya","Roth","Meyers","Cardenas","Fuentes","Weiss","Hoover","Wilkins","Nicholson","Underwood","Short","Carson","Morrow","Colon","Holloway","Summers","Bryan","Petersen","Mckenzie","Serrano","Wilcox","Carey","Clayton","Poole","Calderon","Gallegos","Greer","Rivas","Guerra","Decker","Collier","Wall","Whitaker","Bass","Flowers","Davenport","Conley","Houston","Huff","Copeland","Hood","Monroe","Massey","Roberson","Combs","Franco","Larsen","Pittman","Randall","Skinner","Wilkinson","Kirby","Cameron","Bridges","Anthony","Richard","Kirk","Bruce","Singleton","Mathis","Bradford","Boone","Abbott","Charles","Allison","Sweeney","Atkinson","Horn","Jefferson","Rosales","York","Christian","Phelps","Farrell","Castaneda","Nash","Dickerson","Bond","Wyatt","Foley","Chase","Gates","Vincent","Mathews","Hodge","Garrison","Trevino","Villarreal","Heath","Dalton","Valencia","Callahan","Hensley","Atkins","Huffman","Roy","Boyer","Shields","Lin","Hancock","Grimes","Glenn","Cline","Delacruz","Camacho","Dillon","Parrish","Oneill","Melton","Booth","Kane","Berg","Harrell","Pitts","Savage","Wiggins","Brennan","Salas","Marks","Russo","Sawyer","Baxter","Golden","Hutchinson","Liu","Walter","Mcdowell","Wiley","Rich","Humphrey","Johns","Koch","Suarez","Hobbs","Beard","Gilmore","Ibarra","Keith","Macias","Khan","Andrade","Ware","Stephenson","Henson","Wilkerson","Dyer","Mcclure","Blackwell","Mercado","Tanner","Eaton","Clay","Barron","Beasley","Oneal","Preston","Small","Wu","Zamora","Macdonald","Vance","Snow","Mcclain","Stafford","Orozco","Barry","English","Shannon","Kline","Jacobson","Woodard","Huang","Kemp","Mosley","Prince","Merritt","Hurst","Villanueva","Roach","Nolan","Lam","Yoder","Mccullough","Lester","Santana","Valenzuela","Winters","Barrera","Leach","Orr","Berger","Mckee","Strong","Conway","Stein","Whitehead","Bullock","Escobar","Knox","Meadows","Solomon","Velez","Odonnell","Kerr","Stout","Blankenship","Browning","Kent","Lozano","Bartlett","Pruitt","Buck","Barr","Gaines","Durham","Gentry","Mcintyre","Sloan","Melendez","Rocha","Herman","Sexton","Moon","Hendricks","Rangel","Stark","Lowery","Hardin","Hull","Sellers","Ellison","Calhoun","Gillespie","Mora","Knapp","Mccall","Morse","Dorsey","Weeks","Nielsen","Livingston","Leblanc","Mclean","Bradshaw","Glass","Middleton","Buckley","Schaefer","Frost","Howe","House","Mcintosh","Ho","Pennington","Reilly","Hebert","Mcfarland","Hickman","Noble","Spears","Conrad","Arias","Galvan","Velazquez","Huynh","Frederick","Randolph","Cantu","Fitzpatrick","Mahoney","Peck","Villa","Michael","Donovan","Mcconnell","Walls","Boyle","Mayer","Zuniga","Giles","Pineda","Pace","Hurley","Mays","Mcmillan","Crosby","Ayers","Case","Bentley","Shepard","Everett","Pugh","David","Mcmahon","Dunlap","Bender","Hahn","Harding","Acevedo","Raymond","Blackburn","Duffy","Landry","Dougherty","Bautista","Shah","Potts","Arroyo","Valentine","Meza","Gould","Vaughan","Fry","Rush","Avery","Herring","Dodson","Clements","Sampson","Tapia","Bean","Lynn","Crane","Farley","Cisneros","Benton","Ashley","Mckay","Finley","Best","Blevins","Friedman","Moses","Sosa","Blanchard","Huber","Frye","Krueger","Bernard","Rosario","Rubio","Mullen","Benjamin","Haley","Chung","Moyer","Choi","Horne","Yu","Woodward","Ali","Nixon","Hayden","Rivers","Estes","Mccarty","Richmond","Stuart","Maynard","Brandt","Oconnell","Hanna","Sanford","Sheppard","Church","Burch","Levy","Rasmussen","Coffey","Ponce","Faulkner","Donaldson","Schmitt","Novak","Costa","Montes","Booker","Cordova","Waller","Arellano","Maddox","Mata","Bonilla","Stanton","Compton","Kaufman","Dudley","Mcpherson","Beltran","Dickson","Mccann","Villegas","Proctor","Hester","Cantrell","Daugherty","Cherry","Bray","Davila","Rowland","Levine","Madden","Spence","Good","Irwin","Werner","Krause","Petty","Whitney","Baird","Hooper","Pollard","Zavala","Jarvis","Holden","Haas","Hendrix","Mcgrath","Bird","Lucero","Terrell","Riggs","Joyce","Mercer","Rollins","Galloway","Duke","Odom","Andersen","Downs","Hatfield","Benitez","Archer","Huerta","Travis","Mcneil","Hinton","Zhang","Hays","Mayo","Fritz","Branch","Mooney","Ewing","Ritter","Esparza","Frey","Braun","Gay","Riddle","Haney","Kaiser","Holder","Chaney","Mcknight","Gamble","Vang","Cooley","Carney","Cowan","Forbes","Ferrell","Davies","Barajas","Shea","Osborn","Bright","Cuevas","Bolton","Murillo","Lutz","Duarte","Kidd","Key","Cooke"];for(var e=1;e<=100;e++){var i={id:0,name:"",category:""};i.id=e,i.name=this.namesList[Math.floor(Math.random()*this.namesList.length)],i.category=this.categories[Math.floor(Math.random()*this.categories.length)],this.itemList.push(i)}}getDirectories(){return we.create(e=>new Promise(i=>setTimeout(()=>{console.log("directoriesLoaded"),i(this.DATA)},1e3)).then(i=>{e.next(i),e.complete()}))}getChunkData(e,i){return new Promise((r,s)=>{clearTimeout(this.timer),this.timer=setTimeout(()=>{if(enew Promise(i=>setTimeout(()=>{console.log("useCasesLoaded"),i(this.DATA)},500)).then(i=>{e.next(i),e.complete()}))}getData(e){return 0===e.length?this.DATA:(e.splice(Math.floor(Math.random()*e.length),1),e.push(this.DATA[Math.floor(Math.random()*this.DATA.length)]),e)}getFruits(){return[{id:1,itemName:"Apple",category:"fruits"},{id:2,itemName:"Banana",category:"fruits"},{id:5,itemName:"Tomatoe",category:"vegetables"},{id:6,itemName:"Potatoe",category:"vegetables"}]}getCountries(){return[{id:1,itemName:"India",category:"asia"},{id:2,itemName:"Singapore",category:"asia pacific"},{id:3,itemName:"Germany",category:"Europe"},{id:4,itemName:"France",category:"Europe"},{id:5,itemName:"South Korea",category:"asia"},{id:6,itemName:"Sweden",category:"Europe"}]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=P({token:t,factory:t.\u0275fac}),t})();class mt extends Ae{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){const e=super._subscribe(n);return e&&!e.closed&&n.next(this._value),e}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new qr;return this._value}next(n){super.next(this._value=n)}}const Hc=(()=>{function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t})();class Pp extends Se{notifyNext(n,e,i,r,s){this.destination.next(e)}notifyError(n,e){this.destination.error(n)}notifyComplete(n){this.destination.complete()}}class iL extends Se{constructor(n,e,i){super(),this.parent=n,this.outerValue=e,this.outerIndex=i,this.index=0}_next(n){this.parent.notifyNext(this.outerValue,n,this.outerIndex,this.index++,this)}_error(n){this.parent.notifyError(n,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}function Fp(t,n,e,i,r=new iL(t,e,i)){if(!r.closed)return n instanceof we?n.subscribe(r):qu(n)(r)}const dS={};function Uc(...t){let n,e;return Kr(t[t.length-1])&&(e=t.pop()),"function"==typeof t[t.length-1]&&(n=t.pop()),1===t.length&&Vi(t[0])&&(t=t[0]),oo(t,e).lift(new rL(n))}class rL{constructor(n){this.resultSelector=n}call(n,e){return e.subscribe(new sL(n,this.resultSelector))}}class sL extends Pp{constructor(n,e){super(n),this.resultSelector=e,this.active=0,this.values=[],this.observables=[]}_next(n){this.values.push(dS),this.observables.push(n)}_complete(){const n=this.observables,e=n.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(let i=0;it.complete());function $c(t){return t?function aL(t){return new we(n=>t.schedule(()=>n.complete()))}(t):Ti}function jc(t){return new we(n=>{let e;try{e=t()}catch(r){return void n.error(r)}return(e?st(e):$c()).subscribe(n)})}function Nn(t,n){return new we(n?e=>n.schedule(lL,0,{error:t,subscriber:e}):e=>e.error(t))}function lL({error:t,subscriber:n}){n.error(t)}function ut(t,n){return"function"==typeof n?e=>e.pipe(ut((i,r)=>st(t(i,r)).pipe(B((s,o)=>n(i,s,r,o))))):e=>e.lift(new cL(t))}class cL{constructor(n){this.project=n}call(n,e){return e.subscribe(new uL(n,this.project))}}class uL extends ro{constructor(n,e){super(n),this.project=e,this.index=0}_next(n){let e;const i=this.index++;try{e=this.project(n,i)}catch(r){return void this.destination.error(r)}this._innerSub(e)}_innerSub(n){const e=this.innerSubscription;e&&e.unsubscribe();const i=new io(this),r=this.destination;r.add(i),this.innerSubscription=so(n,i),this.innerSubscription!==i&&r.add(this.innerSubscription)}_complete(){const{innerSubscription:n}=this;(!n||n.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(n){this.destination.next(n)}}const hS=(()=>{function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t})();function tt(t){return n=>0===t?$c():n.lift(new dL(t))}class dL{constructor(n){if(this.total=n,this.total<0)throw new hS}call(n,e){return e.subscribe(new hL(n,this.total))}}class hL extends Se{constructor(n,e){super(n),this.total=e,this.count=0}_next(n){const e=this.total,i=++this.count;i<=e&&(this.destination.next(n),i===e&&(this.destination.complete(),this.unsubscribe()))}}function Gc(...t){const n=t[t.length-1];return Kr(n)?(t.pop(),e=>$s(t,e,n)):e=>$s(t,e)}function zc(t=null){return n=>n.lift(new fL(t))}class fL{constructor(n){this.defaultValue=n}call(n,e){return e.subscribe(new pL(n,this.defaultValue))}}class pL extends Se{constructor(n,e){super(n),this.defaultValue=e,this.isEmpty=!0}_next(n){this.isEmpty=!1,this.destination.next(n)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}function fS(t=_L){return n=>n.lift(new gL(t))}class gL{constructor(n){this.errorFactory=n}call(n,e){return e.subscribe(new mL(n,this.errorFactory))}}class mL extends Se{constructor(n,e){super(n),this.errorFactory=e,this.hasValue=!1}_next(n){this.hasValue=!0,this.destination.next(n)}_complete(){if(this.hasValue)return this.destination.complete();{let n;try{n=this.errorFactory()}catch(e){n=e}this.destination.error(n)}}}function _L(){return new Hc}function Mi(t,n){const e=arguments.length>=2;return i=>i.pipe(t?ze((r,s)=>t(r,s,i)):Wa,tt(1),e?zc(n):fS(()=>new Hc))}function Ni(){}function qe(t,n,e){return function(r){return r.lift(new yL(t,n,e))}}class yL{constructor(n,e,i){this.nextOrObserver=n,this.error=e,this.complete=i}call(n,e){return e.subscribe(new bL(n,this.nextOrObserver,this.error,this.complete))}}class bL extends Se{constructor(n,e,i,r){super(n),this._tapNext=Ni,this._tapError=Ni,this._tapComplete=Ni,this._tapError=i||Ni,this._tapComplete=r||Ni,Li(e)?(this._context=this,this._tapNext=e):e&&(this._context=e,this._tapNext=e.next||Ni,this._tapError=e.error||Ni,this._tapComplete=e.complete||Ni)}_next(n){try{this._tapNext.call(this._context,n)}catch(e){return void this.destination.error(e)}this.destination.next(n)}_error(n){try{this._tapError.call(this._context,n)}catch(e){return void this.destination.error(e)}this.destination.error(n)}_complete(){try{this._tapComplete.call(this._context)}catch(n){return void this.destination.error(n)}return this.destination.complete()}}function or(t){return function(e){const i=new vL(t),r=e.lift(i);return i.caught=r}}class vL{constructor(n){this.selector=n}call(n,e){return e.subscribe(new DL(n,this.selector,this.caught))}}class DL extends ro{constructor(n,e,i){super(n),this.selector=e,this.caught=i}error(n){if(!this.isStopped){let e;try{e=this.selector(n,this.caught)}catch(s){return void super.error(s)}this._unsubscribeAndRecycle();const i=new io(this);this.add(i);const r=so(e,i);r!==i&&this.add(r)}}}function pS(t,n){let e=!1;return arguments.length>=2&&(e=!0),function(r){return r.lift(new SL(t,n,e))}}class SL{constructor(n,e,i=!1){this.accumulator=n,this.seed=e,this.hasSeed=i}call(n,e){return e.subscribe(new wL(n,this.accumulator,this.seed,this.hasSeed))}}class wL extends Se{constructor(n,e,i,r){super(n),this.accumulator=e,this._seed=i,this.hasSeed=r,this.index=0}get seed(){return this._seed}set seed(n){this.hasSeed=!0,this._seed=n}_next(n){if(this.hasSeed)return this._tryNext(n);this.seed=n,this.destination.next(n)}_tryNext(n){const e=this.index++;let i;try{i=this.accumulator(this.seed,n,e)}catch(r){this.destination.error(r)}this.seed=i,this.destination.next(i)}}function Lp(t){return function(e){return 0===t?$c():e.lift(new CL(t))}}class CL{constructor(n){if(this.total=n,this.total<0)throw new hS}call(n,e){return e.subscribe(new EL(n,this.total))}}class EL extends Se{constructor(n,e){super(n),this.total=e,this.ring=new Array,this.count=0}_next(n){const e=this.ring,i=this.total,r=this.count++;e.length0){const i=this.count>=this.total?this.total:this.count,r=this.ring;for(let s=0;s=2;return i=>i.pipe(t?ze((r,s)=>t(r,s,i)):Wa,Lp(1),e?zc(n):fS(()=>new Hc))}class ML{constructor(n,e){this.predicate=n,this.inclusive=e}call(n,e){return e.subscribe(new NL(n,this.predicate,this.inclusive))}}class NL extends Se{constructor(n,e,i){super(n),this.predicate=e,this.inclusive=i,this.index=0}_next(n){const e=this.destination;let i;try{i=this.predicate(n,this.index++)}catch(r){return void e.error(r)}this.nextOrComplete(n,i)}nextOrComplete(n,e){const i=this.destination;Boolean(e)?i.next(n):(this.inclusive&&i.next(n),i.complete())}}class AL{constructor(n){this.value=n}call(n,e){return e.subscribe(new xL(n,this.value))}}class xL extends Se{constructor(n,e){super(n),this.value=e}_next(n){this.destination.next(this.value)}}function Bp(t){return n=>n.lift(new OL(t))}class OL{constructor(n){this.callback=n}call(n,e){return e.subscribe(new RL(n,this.callback))}}class RL extends Se{constructor(n,e){super(n),this.add(new Je(e))}}const ue="primary",da=Symbol("RouteTitle");class kL{constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){const e=this.params[n];return Array.isArray(e)?e[0]:e}return null}getAll(n){if(this.has(n)){const e=this.params[n];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function js(t){return new kL(t)}function PL(t,n,e){const i=e.path.split("/");if(i.length>t.length||"full"===e.pathMatch&&(n.hasChildren()||i.lengthi[s]===r)}return t===n}function _S(t){return Array.prototype.concat.apply([],t)}function yS(t){return t.length>0?t[t.length-1]:null}function Nt(t,n){for(const e in t)t.hasOwnProperty(e)&&n(t[e],e)}function ar(t){return qh(t)?t:Bo(t)?st(Promise.resolve(t)):U(t)}const BL={exact:function DS(t,n,e){if(!Pr(t.segments,n.segments)||!Wc(t.segments,n.segments,e)||t.numberOfChildren!==n.numberOfChildren)return!1;for(const i in n.children)if(!t.children[i]||!DS(t.children[i],n.children[i],e))return!1;return!0},subset:SS},bS={exact:function VL(t,n){return ii(t,n)},subset:function HL(t,n){return Object.keys(n).length<=Object.keys(t).length&&Object.keys(n).every(e=>mS(t[e],n[e]))},ignored:()=>!0};function vS(t,n,e){return BL[e.paths](t.root,n.root,e.matrixParams)&&bS[e.queryParams](t.queryParams,n.queryParams)&&!("exact"===e.fragment&&t.fragment!==n.fragment)}function SS(t,n,e){return wS(t,n,n.segments,e)}function wS(t,n,e,i){if(t.segments.length>e.length){const r=t.segments.slice(0,e.length);return!(!Pr(r,e)||n.hasChildren()||!Wc(r,e,i))}if(t.segments.length===e.length){if(!Pr(t.segments,e)||!Wc(t.segments,e,i))return!1;for(const r in n.children)if(!t.children[r]||!SS(t.children[r],n.children[r],i))return!1;return!0}{const r=e.slice(0,t.segments.length),s=e.slice(t.segments.length);return!!(Pr(t.segments,r)&&Wc(t.segments,r,i)&&t.children[ue])&&wS(t.children[ue],n,s,i)}}function Wc(t,n,e){return n.every((i,r)=>bS[e](t[r].parameters,i.parameters))}class kr{constructor(n,e,i){this.root=n,this.queryParams=e,this.fragment=i}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=js(this.queryParams)),this._queryParamMap}toString(){return jL.serialize(this)}}class he{constructor(n,e){this.segments=n,this.children=e,this.parent=null,Nt(e,(i,r)=>i.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return qc(this)}}class ha{constructor(n,e){this.path=n,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=js(this.parameters)),this._parameterMap}toString(){return MS(this)}}function Pr(t,n){return t.length===n.length&&t.every((e,i)=>e.path===n[i].path)}let CS=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=P({token:t,factory:function(){return new Hp},providedIn:"root"}),t})();class Hp{parse(n){const e=new ZL(n);return new kr(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(n){const e=`/${fa(n.root,!0)}`,i=function WL(t){const n=Object.keys(t).map(e=>{const i=t[e];return Array.isArray(i)?i.map(r=>`${Kc(e)}=${Kc(r)}`).join("&"):`${Kc(e)}=${Kc(i)}`}).filter(e=>!!e);return n.length?`?${n.join("&")}`:""}(n.queryParams),r="string"==typeof n.fragment?`#${function GL(t){return encodeURI(t)}(n.fragment)}`:"";return`${e}${i}${r}`}}const jL=new Hp;function qc(t){return t.segments.map(n=>MS(n)).join("/")}function fa(t,n){if(!t.hasChildren())return qc(t);if(n){const e=t.children[ue]?fa(t.children[ue],!1):"",i=[];return Nt(t.children,(r,s)=>{s!==ue&&i.push(`${s}:${fa(r,!1)}`)}),i.length>0?`${e}(${i.join("//")})`:e}{const e=function $L(t,n){let e=[];return Nt(t.children,(i,r)=>{r===ue&&(e=e.concat(n(i,r)))}),Nt(t.children,(i,r)=>{r!==ue&&(e=e.concat(n(i,r)))}),e}(t,(i,r)=>r===ue?[fa(t.children[ue],!1)]:[`${r}:${fa(i,!1)}`]);return 1===Object.keys(t.children).length&&null!=t.children[ue]?`${qc(t)}/${e[0]}`:`${qc(t)}/(${e.join("//")})`}}function ES(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Kc(t){return ES(t).replace(/%3B/gi,";")}function Up(t){return ES(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Jc(t){return decodeURIComponent(t)}function TS(t){return Jc(t.replace(/\+/g,"%20"))}function MS(t){return`${Up(t.path)}${function zL(t){return Object.keys(t).map(n=>`;${Up(n)}=${Up(t[n])}`).join("")}(t.parameters)}`}const qL=/^[^\/()?;=#]+/;function Qc(t){const n=t.match(qL);return n?n[0]:""}const KL=/^[^=?&#]+/,QL=/^[^&#]+/;class ZL{constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new he([],{}):new he([],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 e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1)),(n.length>0||Object.keys(e).length>0)&&(i[ue]=new he(n,e)),i}parseSegment(){const n=Qc(this.remaining);if(""===n&&this.peekStartsWith(";"))throw new M(4009,!1);return this.capture(n),new ha(Jc(n),this.parseMatrixParams())}parseMatrixParams(){const n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){const e=Qc(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){const r=Qc(this.remaining);r&&(i=r,this.capture(i))}n[Jc(e)]=Jc(i)}parseQueryParam(n){const e=function JL(t){const n=t.match(KL);return n?n[0]:""}(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){const o=function YL(t){const n=t.match(QL);return n?n[0]:""}(this.remaining);o&&(i=o,this.capture(i))}const r=TS(e),s=TS(i);if(n.hasOwnProperty(r)){let o=n[r];Array.isArray(o)||(o=[o],n[r]=o),o.push(s)}else n[r]=s}parseParens(n){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const i=Qc(this.remaining),r=this.remaining[i.length];if("/"!==r&&")"!==r&&";"!==r)throw new M(4010,!1);let s;i.indexOf(":")>-1?(s=i.slice(0,i.indexOf(":")),this.capture(s),this.capture(":")):n&&(s=ue);const o=this.parseChildren();e[s]=1===Object.keys(o).length?o[ue]:new he([],o),this.consumeOptional("//")}return e}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 M(4011,!1)}}function $p(t){return t.segments.length>0?new he([],{[ue]:t}):t}function Yc(t){const n={};for(const i of Object.keys(t.children)){const s=Yc(t.children[i]);(s.segments.length>0||s.hasChildren())&&(n[i]=s)}return function XL(t){if(1===t.numberOfChildren&&t.children[ue]){const n=t.children[ue];return new he(t.segments.concat(n.segments),n.children)}return t}(new he(t.segments,n))}function Fr(t){return t instanceof kr}function nB(t,n,e,i,r){if(0===e.length)return Gs(n.root,n.root,n.root,i,r);const s=function AS(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new IS(!0,0,t);let n=0,e=!1;const i=t.reduce((r,s,o)=>{if("object"==typeof s&&null!=s){if(s.outlets){const a={};return Nt(s.outlets,(l,c)=>{a[c]="string"==typeof l?l.split("/"):l}),[...r,{outlets:a}]}if(s.segmentPath)return[...r,s.segmentPath]}return"string"!=typeof s?[...r,s]:0===o?(s.split("/").forEach((a,l)=>{0==l&&"."===a||(0==l&&""===a?e=!0:".."===a?n++:""!=a&&r.push(a))}),r):[...r,s]},[]);return new IS(e,n,i)}(e);return s.toRoot()?Gs(n.root,n.root,new he([],{}),i,r):function o(l){const c=function rB(t,n,e,i){if(t.isAbsolute)return new zs(n.root,!0,0);if(-1===i)return new zs(e,e===n.root,0);return function xS(t,n,e){let i=t,r=n,s=e;for(;s>r;){if(s-=r,i=i.parent,!i)throw new M(4005,!1);r=i.segments.length}return new zs(i,!1,r-s)}(e,i+(pa(t.commands[0])?0:1),t.numberOfDoubleDots)}(s,n,t.snapshot?._urlSegment,l),u=c.processChildren?ma(c.segmentGroup,c.index,s.commands):Gp(c.segmentGroup,c.index,s.commands);return Gs(n.root,c.segmentGroup,u,i,r)}(t.snapshot?._lastPathIndex)}function pa(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function ga(t){return"object"==typeof t&&null!=t&&t.outlets}function Gs(t,n,e,i,r){let o,s={};i&&Nt(i,(l,c)=>{s[c]=Array.isArray(l)?l.map(u=>`${u}`):`${l}`}),o=t===n?e:NS(t,n,e);const a=$p(Yc(o));return new kr(a,s,r)}function NS(t,n,e){const i={};return Nt(t.children,(r,s)=>{i[s]=r===n?e:NS(r,n,e)}),new he(t.segments,i)}class IS{constructor(n,e,i){if(this.isAbsolute=n,this.numberOfDoubleDots=e,this.commands=i,n&&i.length>0&&pa(i[0]))throw new M(4003,!1);const r=i.find(ga);if(r&&r!==yS(i))throw new M(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class zs{constructor(n,e,i){this.segmentGroup=n,this.processChildren=e,this.index=i}}function Gp(t,n,e){if(t||(t=new he([],{})),0===t.segments.length&&t.hasChildren())return ma(t,n,e);const i=function oB(t,n,e){let i=0,r=n;const s={match:!1,pathIndex:0,commandIndex:0};for(;r=e.length)return s;const o=t.segments[r],a=e[i];if(ga(a))break;const l=`${a}`,c=i0&&void 0===l)break;if(l&&c&&"object"==typeof c&&void 0===c.outlets){if(!RS(l,c,o))return s;i+=2}else{if(!RS(l,{},o))return s;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}(t,n,e),r=e.slice(i.commandIndex);if(i.match&&i.pathIndex{"string"==typeof s&&(s=[s]),null!==s&&(r[o]=Gp(t.children[o],n,s))}),Nt(t.children,(s,o)=>{void 0===i[o]&&(r[o]=s)}),new he(t.segments,r)}}function zp(t,n,e){const i=t.segments.slice(0,n);let r=0;for(;r{"string"==typeof e&&(e=[e]),null!==e&&(n[i]=zp(new he([],{}),0,e))}),n}function OS(t){const n={};return Nt(t,(e,i)=>n[i]=`${e}`),n}function RS(t,n,e){return t==e.path&&ii(n,e.parameters)}class Ii{constructor(n,e){this.id=n,this.url=e}}class Wp extends Ii{constructor(n,e,i="imperative",r=null){super(n,e),this.type=0,this.navigationTrigger=i,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class lr extends Ii{constructor(n,e,i){super(n,e),this.urlAfterRedirects=i,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Zc extends Ii{constructor(n,e,i,r){super(n,e),this.reason=i,this.code=r,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class kS extends Ii{constructor(n,e,i,r){super(n,e),this.error=i,this.target=r,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class lB extends Ii{constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class cB extends Ii{constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class uB extends Ii{constructor(n,e,i,r,s){super(n,e),this.urlAfterRedirects=i,this.state=r,this.shouldActivate=s,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class dB extends Ii{constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class hB extends Ii{constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class fB{constructor(n){this.route=n,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class pB{constructor(n){this.route=n,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class gB{constructor(n){this.snapshot=n,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class mB{constructor(n){this.snapshot=n,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class _B{constructor(n){this.snapshot=n,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class yB{constructor(n){this.snapshot=n,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class PS{constructor(n,e,i){this.routerEvent=n,this.position=e,this.anchor=i,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class FS{constructor(n){this._root=n}get root(){return this._root.value}parent(n){const e=this.pathFromRoot(n);return e.length>1?e[e.length-2]:null}children(n){const e=qp(n,this._root);return e?e.children.map(i=>i.value):[]}firstChild(n){const e=qp(n,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(n){const e=Kp(n,this._root);return e.length<2?[]:e[e.length-2].children.map(r=>r.value).filter(r=>r!==n)}pathFromRoot(n){return Kp(n,this._root).map(e=>e.value)}}function qp(t,n){if(t===n.value)return n;for(const e of n.children){const i=qp(t,e);if(i)return i}return null}function Kp(t,n){if(t===n.value)return[n];for(const e of n.children){const i=Kp(t,e);if(i.length)return i.unshift(n),i}return[]}class Ai{constructor(n,e){this.value=n,this.children=e}toString(){return`TreeNode(${this.value})`}}function Ws(t){const n={};return t&&t.children.forEach(e=>n[e.value.outlet]=e),n}class LS extends FS{constructor(n,e){super(n),this.snapshot=e,Jp(this,n)}toString(){return this.snapshot.toString()}}function BS(t,n){const e=function vB(t,n){const o=new Xc([],{},{},"",{},ue,n,null,t.root,-1,{});return new HS("",new Ai(o,[]))}(t,n),i=new mt([new ha("",{})]),r=new mt({}),s=new mt({}),o=new mt({}),a=new mt(""),l=new cr(i,r,o,a,s,ue,n,e.root);return l.snapshot=e.root,new LS(new Ai(l,[]),e)}class cr{constructor(n,e,i,r,s,o,a,l){this.url=n,this.params=e,this.queryParams=i,this.fragment=r,this.data=s,this.outlet=o,this.component=a,this.title=this.data?.pipe(B(c=>c[da]))??U(void 0),this._futureSnapshot=l}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._paramMap=this.params.pipe(B(n=>js(n)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(B(n=>js(n)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function VS(t,n="emptyOnly"){const e=t.pathFromRoot;let i=0;if("always"!==n)for(i=e.length-1;i>=1;){const r=e[i],s=e[i-1];if(r.routeConfig&&""===r.routeConfig.path)i--;else{if(s.component)break;i--}}return function DB(t){return t.reduce((n,e)=>({params:{...n.params,...e.params},data:{...n.data,...e.data},resolve:{...e.data,...n.resolve,...e.routeConfig?.data,...e._resolvedData}}),{params:{},data:{},resolve:{}})}(e.slice(i))}class Xc{constructor(n,e,i,r,s,o,a,l,c,u,d,h){this.url=n,this.params=e,this.queryParams=i,this.fragment=r,this.data=s,this.outlet=o,this.component=a,this.title=this.data?.[da],this.routeConfig=l,this._urlSegment=c,this._lastPathIndex=u,this._correctedLastPathIndex=h??u,this._resolve=d}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._paramMap=js(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=js(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(i=>i.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class HS extends FS{constructor(n,e){super(e),this.url=n,Jp(this,e)}toString(){return US(this._root)}}function Jp(t,n){n.value._routerState=t,n.children.forEach(e=>Jp(t,e))}function US(t){const n=t.children.length>0?` { ${t.children.map(US).join(", ")} } `:"";return`${t.value}${n}`}function Qp(t){if(t.snapshot){const n=t.snapshot,e=t._futureSnapshot;t.snapshot=e,ii(n.queryParams,e.queryParams)||t.queryParams.next(e.queryParams),n.fragment!==e.fragment&&t.fragment.next(e.fragment),ii(n.params,e.params)||t.params.next(e.params),function FL(t,n){if(t.length!==n.length)return!1;for(let e=0;eii(e.parameters,n[i].parameters))}(t.url,n.url);return e&&!(!t.parent!=!n.parent)&&(!t.parent||Yp(t.parent,n.parent))}function _a(t,n,e){if(e&&t.shouldReuseRoute(n.value,e.value.snapshot)){const i=e.value;i._futureSnapshot=n.value;const r=function wB(t,n,e){return n.children.map(i=>{for(const r of e.children)if(t.shouldReuseRoute(i.value,r.value.snapshot))return _a(t,i,r);return _a(t,i)})}(t,n,e);return new Ai(i,r)}{if(t.shouldAttach(n.value)){const s=t.retrieve(n.value);if(null!==s){const o=s.route;return o.value._futureSnapshot=n.value,o.children=n.children.map(a=>_a(t,a)),o}}const i=function CB(t){return new cr(new mt(t.url),new mt(t.params),new mt(t.queryParams),new mt(t.fragment),new mt(t.data),t.outlet,t.component,t)}(n.value),r=n.children.map(s=>_a(t,s));return new Ai(i,r)}}const Zp="ngNavigationCancelingError";function $S(t,n){const{redirectTo:e,navigationBehaviorOptions:i}=Fr(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,r=jS(!1,0,n);return r.url=e,r.navigationBehaviorOptions=i,r}function jS(t,n,e){const i=new Error("NavigationCancelingError: "+(t||""));return i[Zp]=!0,i.cancellationCode=n,e&&(i.url=e),i}function GS(t){return zS(t)&&Fr(t.url)}function zS(t){return t&&t[Zp]}class EB{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new ya,this.attachRef=null}}let ya=(()=>{class t{constructor(){this.contexts=new Map}onChildOutletCreated(e,i){const r=this.getOrCreateContext(e);r.outlet=i,this.contexts.set(e,r)}onChildOutletDestroyed(e){const i=this.getContext(e);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){const e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let i=this.getContext(e);return i||(i=new EB,this.contexts.set(e,i)),i}getContext(e){return this.contexts.get(e)||null}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=P({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const eu=!1;let Xp=(()=>{class t{constructor(e,i,r,s,o){this.parentContexts=e,this.location=i,this.changeDetector=s,this.environmentInjector=o,this.activated=null,this._activatedRoute=null,this.activateEvents=new j,this.deactivateEvents=new j,this.attachEvents=new j,this.detachEvents=new j,this.name=r||ue,e.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.getContext(this.name)?.outlet===this&&this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const e=this.parentContexts.getContext(this.name);e&&e.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new M(4012,eu);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new M(4012,eu);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new M(4012,eu);this.location.detach();const e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,i){this.activated=e,this._activatedRoute=i,this.location.insert(e.hostView),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){const e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,i){if(this.isActivated)throw new M(4013,eu);this._activatedRoute=e;const r=this.location,o=e._futureSnapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,l=new TB(e,a,r.injector);if(i&&function MB(t){return!!t.resolveComponentFactory}(i)){const c=i.resolveComponentFactory(o);this.activated=r.createComponent(c,r.length,l)}else this.activated=r.createComponent(o,{index:r.length,injector:l,environmentInjector:i??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return t.\u0275fac=function(e){return new(e||t)(v(ya),v(En),vr("name"),v(hn),v(zi))},t.\u0275dir=k({type:t,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0}),t})();class TB{constructor(n,e,i){this.route=n,this.childContexts=e,this.parent=i}get(n,e){return n===cr?this.route:n===ya?this.childContexts:this.parent.get(n,e)}}let eg=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=te({type:t,selectors:[["ng-component"]],standalone:!0,features:[F0],decls:1,vars:0,template:function(e,i){1&e&&R(0,"router-outlet")},dependencies:[Xp],encapsulation:2}),t})();function WS(t,n){return t.providers&&!t._injector&&(t._injector=Kl(t.providers,n,`Route: ${t.path}`)),t._injector??n}function ng(t){const n=t.children&&t.children.map(ng),e=n?{...t,children:n}:{...t};return!e.component&&!e.loadComponent&&(n||e.loadChildren)&&e.outlet&&e.outlet!==ue&&(e.component=eg),e}function In(t){return t.outlet||ue}function qS(t,n){const e=t.filter(i=>In(i)===n);return e.push(...t.filter(i=>In(i)!==n)),e}function ba(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let n=t.parent;n;n=n.parent){const e=n.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}class OB{constructor(n,e,i,r){this.routeReuseStrategy=n,this.futureState=e,this.currState=i,this.forwardEvent=r}activate(n){const e=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,i,n),Qp(this.futureState.root),this.activateChildRoutes(e,i,n)}deactivateChildRoutes(n,e,i){const r=Ws(e);n.children.forEach(s=>{const o=s.value.outlet;this.deactivateRoutes(s,r[o],i),delete r[o]}),Nt(r,(s,o)=>{this.deactivateRouteAndItsChildren(s,i)})}deactivateRoutes(n,e,i){const r=n.value,s=e?e.value:null;if(r===s)if(r.component){const o=i.getContext(r.outlet);o&&this.deactivateChildRoutes(n,e,o.children)}else this.deactivateChildRoutes(n,e,i);else s&&this.deactivateRouteAndItsChildren(e,i)}deactivateRouteAndItsChildren(n,e){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,e):this.deactivateRouteAndOutlet(n,e)}detachAndStoreRouteSubtree(n,e){const i=e.getContext(n.value.outlet),r=i&&n.value.component?i.children:e,s=Ws(n);for(const o of Object.keys(s))this.deactivateRouteAndItsChildren(s[o],r);if(i&&i.outlet){const o=i.outlet.detach(),a=i.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:o,route:n,contexts:a})}}deactivateRouteAndOutlet(n,e){const i=e.getContext(n.value.outlet),r=i&&n.value.component?i.children:e,s=Ws(n);for(const o of Object.keys(s))this.deactivateRouteAndItsChildren(s[o],r);i&&i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated(),i.attachRef=null,i.resolver=null,i.route=null)}activateChildRoutes(n,e,i){const r=Ws(e);n.children.forEach(s=>{this.activateRoutes(s,r[s.value.outlet],i),this.forwardEvent(new yB(s.value.snapshot))}),n.children.length&&this.forwardEvent(new mB(n.value.snapshot))}activateRoutes(n,e,i){const r=n.value,s=e?e.value:null;if(Qp(r),r===s)if(r.component){const o=i.getOrCreateContext(r.outlet);this.activateChildRoutes(n,e,o.children)}else this.activateChildRoutes(n,e,i);else if(r.component){const o=i.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){const a=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),o.children.onOutletReAttached(a.contexts),o.attachRef=a.componentRef,o.route=a.route.value,o.outlet&&o.outlet.attach(a.componentRef,a.route.value),Qp(a.route.value),this.activateChildRoutes(n,null,o.children)}else{const a=ba(r.snapshot),l=a?.get(ms)??null;o.attachRef=null,o.route=r,o.resolver=l,o.injector=a,o.outlet&&o.outlet.activateWith(r,o.injector),this.activateChildRoutes(n,null,o.children)}}else this.activateChildRoutes(n,null,i)}}class KS{constructor(n){this.path=n,this.route=this.path[this.path.length-1]}}class tu{constructor(n,e){this.component=n,this.route=e}}function RB(t,n,e){const i=t._root;return va(i,n?n._root:null,e,[i.value])}function qs(t,n){const e=Symbol(),i=n.get(t,e);return i===e?"function"!=typeof t||function lT(t){return null!==Qa(t)}(t)?n.get(t):t:i}function va(t,n,e,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const s=Ws(n);return t.children.forEach(o=>{(function PB(t,n,e,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const s=t.value,o=n?n.value:null,a=e?e.getContext(t.value.outlet):null;if(o&&s.routeConfig===o.routeConfig){const l=function FB(t,n,e){if("function"==typeof e)return e(t,n);switch(e){case"pathParamsChange":return!Pr(t.url,n.url);case"pathParamsOrQueryParamsChange":return!Pr(t.url,n.url)||!ii(t.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Yp(t,n)||!ii(t.queryParams,n.queryParams);default:return!Yp(t,n)}}(o,s,s.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new KS(i)):(s.data=o.data,s._resolvedData=o._resolvedData),va(t,n,s.component?a?a.children:null:e,i,r),l&&a&&a.outlet&&a.outlet.isActivated&&r.canDeactivateChecks.push(new tu(a.outlet.component,o))}else o&&Da(n,a,r),r.canActivateChecks.push(new KS(i)),va(t,null,s.component?a?a.children:null:e,i,r)})(o,s[o.value.outlet],e,i.concat([o.value]),r),delete s[o.value.outlet]}),Nt(s,(o,a)=>Da(o,e.getContext(a),r)),r}function Da(t,n,e){const i=Ws(t),r=t.value;Nt(i,(s,o)=>{Da(s,r.component?n?n.children.getContext(o):null:n,e)}),e.canDeactivateChecks.push(new tu(r.component&&n&&n.outlet&&n.outlet.isActivated?n.outlet.component:null,r))}function Sa(t){return"function"==typeof t}function ig(t){return t instanceof Hc||"EmptyError"===t?.name}const nu=Symbol("INITIAL_VALUE");function Ks(){return ut(t=>Uc(t.map(n=>n.pipe(tt(1),Gc(nu)))).pipe(B(n=>{for(const e of n)if(!0!==e){if(e===nu)return nu;if(!1===e||e instanceof kr)return e}return!0}),ze(n=>n!==nu),tt(1)))}function JS(t){return function OE(...t){return om(t)}(qe(n=>{if(Fr(n))throw $S(0,n)}),B(n=>!0===n))}const rg={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function QS(t,n,e,i,r){const s=sg(t,n,e);return s.matched?function XB(t,n,e,i){const r=n.canMatch;return r&&0!==r.length?U(r.map(o=>{const a=qs(o,t);return ar(function $B(t){return t&&Sa(t.canMatch)}(a)?a.canMatch(n,e):t.runInContext(()=>a(n,e)))})).pipe(Ks(),JS()):U(!0)}(i=WS(n,i),n,e).pipe(B(o=>!0===o?s:{...rg})):U(s)}function sg(t,n,e){if(""===n.path)return"full"===n.pathMatch&&(t.hasChildren()||e.length>0)?{...rg}:{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};const r=(n.matcher||PL)(e,t,n);if(!r)return{...rg};const s={};Nt(r.posParams,(a,l)=>{s[l]=a.path});const o=r.consumed.length>0?{...s,...r.consumed[r.consumed.length-1].parameters}:s;return{matched:!0,consumedSegments:r.consumed,remainingSegments:e.slice(r.consumed.length),parameters:o,positionalParamSegments:r.posParams??{}}}function iu(t,n,e,i,r="corrected"){if(e.length>0&&function n3(t,n,e){return e.some(i=>ru(t,n,i)&&In(i)!==ue)}(t,e,i)){const o=new he(n,function t3(t,n,e,i){const r={};r[ue]=i,i._sourceSegment=t,i._segmentIndexShift=n.length;for(const s of e)if(""===s.path&&In(s)!==ue){const o=new he([],{});o._sourceSegment=t,o._segmentIndexShift=n.length,r[In(s)]=o}return r}(t,n,i,new he(e,t.children)));return o._sourceSegment=t,o._segmentIndexShift=n.length,{segmentGroup:o,slicedSegments:[]}}if(0===e.length&&function r3(t,n,e){return e.some(i=>ru(t,n,i))}(t,e,i)){const o=new he(t.segments,function e3(t,n,e,i,r,s){const o={};for(const a of i)if(ru(t,e,a)&&!r[In(a)]){const l=new he([],{});l._sourceSegment=t,l._segmentIndexShift="legacy"===s?t.segments.length:n.length,o[In(a)]=l}return{...r,...o}}(t,n,e,i,t.children,r));return o._sourceSegment=t,o._segmentIndexShift=n.length,{segmentGroup:o,slicedSegments:e}}const s=new he(t.segments,t.children);return s._sourceSegment=t,s._segmentIndexShift=n.length,{segmentGroup:s,slicedSegments:e}}function ru(t,n,e){return(!(t.hasChildren()||n.length>0)||"full"!==e.pathMatch)&&""===e.path}function YS(t,n,e,i){return!!(In(t)===i||i!==ue&&ru(n,e,t))&&("**"===t.path||sg(n,t,e).matched)}function ZS(t,n,e){return 0===n.length&&!t.children[e]}const su=!1;class ou{constructor(n){this.segmentGroup=n||null}}class XS{constructor(n){this.urlTree=n}}function wa(t){return Nn(new ou(t))}function ew(t){return Nn(new XS(t))}class l3{constructor(n,e,i,r,s){this.injector=n,this.configLoader=e,this.urlSerializer=i,this.urlTree=r,this.config=s,this.allowRedirects=!0}apply(){const n=iu(this.urlTree.root,[],[],this.config).segmentGroup,e=new he(n.segments,n.children);return this.expandSegmentGroup(this.injector,this.config,e,ue).pipe(B(s=>this.createUrlTree(Yc(s),this.urlTree.queryParams,this.urlTree.fragment))).pipe(or(s=>{if(s instanceof XS)return this.allowRedirects=!1,this.match(s.urlTree);throw s instanceof ou?this.noMatchError(s):s}))}match(n){return this.expandSegmentGroup(this.injector,this.config,n.root,ue).pipe(B(r=>this.createUrlTree(Yc(r),n.queryParams,n.fragment))).pipe(or(r=>{throw r instanceof ou?this.noMatchError(r):r}))}noMatchError(n){return new M(4002,su)}createUrlTree(n,e,i){const r=$p(n);return new kr(r,e,i)}expandSegmentGroup(n,e,i,r){return 0===i.segments.length&&i.hasChildren()?this.expandChildren(n,e,i).pipe(B(s=>new he([],s))):this.expandSegment(n,i,e,i.segments,r,!0)}expandChildren(n,e,i){const r=[];for(const s of Object.keys(i.children))"primary"===s?r.unshift(s):r.push(s);return st(r).pipe(rr(s=>{const o=i.children[s],a=qS(e,s);return this.expandSegmentGroup(n,a,o,s).pipe(B(l=>({segment:l,outlet:s})))}),pS((s,o)=>(s[o.outlet]=o.segment,s),{}),gS())}expandSegment(n,e,i,r,s,o){return st(i).pipe(rr(a=>this.expandSegmentAgainstRoute(n,e,i,a,r,s,o).pipe(or(c=>{if(c instanceof ou)return U(null);throw c}))),Mi(a=>!!a),or((a,l)=>{if(ig(a))return ZS(e,r,s)?U(new he([],{})):wa(e);throw a}))}expandSegmentAgainstRoute(n,e,i,r,s,o,a){return YS(r,e,s,o)?void 0===r.redirectTo?this.matchSegmentAgainstRoute(n,e,r,s,o):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(n,e,i,r,s,o):wa(e):wa(e)}expandSegmentAgainstRouteUsingRedirect(n,e,i,r,s,o){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(n,i,r,o):this.expandRegularSegmentAgainstRouteUsingRedirect(n,e,i,r,s,o)}expandWildCardWithParamsAgainstRouteUsingRedirect(n,e,i,r){const s=this.applyRedirectCommands([],i.redirectTo,{});return i.redirectTo.startsWith("/")?ew(s):this.lineralizeSegments(i,s).pipe(It(o=>{const a=new he(o,{});return this.expandSegment(n,a,e,o,r,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(n,e,i,r,s,o){const{matched:a,consumedSegments:l,remainingSegments:c,positionalParamSegments:u}=sg(e,r,s);if(!a)return wa(e);const d=this.applyRedirectCommands(l,r.redirectTo,u);return r.redirectTo.startsWith("/")?ew(d):this.lineralizeSegments(r,d).pipe(It(h=>this.expandSegment(n,e,i,h.concat(c),o,!1)))}matchSegmentAgainstRoute(n,e,i,r,s){return"**"===i.path?(n=WS(i,n),i.loadChildren?(i._loadedRoutes?U({routes:i._loadedRoutes,injector:i._loadedInjector}):this.configLoader.loadChildren(n,i)).pipe(B(a=>(i._loadedRoutes=a.routes,i._loadedInjector=a.injector,new he(r,{})))):U(new he(r,{}))):QS(e,i,r,n).pipe(ut(({matched:o,consumedSegments:a,remainingSegments:l})=>o?this.getChildConfig(n=i._injector??n,i,r).pipe(It(u=>{const d=u.injector??n,h=u.routes,{segmentGroup:f,slicedSegments:p}=iu(e,a,l,h),b=new he(f.segments,f.children);if(0===p.length&&b.hasChildren())return this.expandChildren(d,h,b).pipe(B(w=>new he(a,w)));if(0===h.length&&0===p.length)return U(new he(a,{}));const D=In(i)===s;return this.expandSegment(d,b,h,p,D?ue:s,!0).pipe(B(N=>new he(a.concat(N.segments),N.children)))})):wa(e)))}getChildConfig(n,e,i){return e.children?U({routes:e.children,injector:n}):e.loadChildren?void 0!==e._loadedRoutes?U({routes:e._loadedRoutes,injector:e._loadedInjector}):function ZB(t,n,e,i){const r=n.canLoad;return void 0===r||0===r.length?U(!0):U(r.map(o=>{const a=qs(o,t);return ar(function BB(t){return t&&Sa(t.canLoad)}(a)?a.canLoad(n,e):t.runInContext(()=>a(n,e)))})).pipe(Ks(),JS())}(n,e,i).pipe(It(r=>r?this.configLoader.loadChildren(n,e).pipe(qe(s=>{e._loadedRoutes=s.routes,e._loadedInjector=s.injector})):function o3(t){return Nn(jS(su,3))}())):U({routes:[],injector:n})}lineralizeSegments(n,e){let i=[],r=e.root;for(;;){if(i=i.concat(r.segments),0===r.numberOfChildren)return U(i);if(r.numberOfChildren>1||!r.children[ue])return Nn(new M(4e3,su));r=r.children[ue]}}applyRedirectCommands(n,e,i){return this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),n,i)}applyRedirectCreateUrlTree(n,e,i,r){const s=this.createSegmentGroup(n,e.root,i,r);return new kr(s,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(n,e){const i={};return Nt(n,(r,s)=>{if("string"==typeof r&&r.startsWith(":")){const a=r.substring(1);i[s]=e[a]}else i[s]=r}),i}createSegmentGroup(n,e,i,r){const s=this.createSegments(n,e.segments,i,r);let o={};return Nt(e.children,(a,l)=>{o[l]=this.createSegmentGroup(n,a,i,r)}),new he(s,o)}createSegments(n,e,i,r){return e.map(s=>s.path.startsWith(":")?this.findPosParam(n,s,r):this.findOrReturn(s,i))}findPosParam(n,e,i){const r=i[e.path.substring(1)];if(!r)throw new M(4001,su);return r}findOrReturn(n,e){let i=0;for(const r of e){if(r.path===n.path)return e.splice(i),r;i++}return n}}class u3{}class f3{constructor(n,e,i,r,s,o,a,l){this.injector=n,this.rootComponentType=e,this.config=i,this.urlTree=r,this.url=s,this.paramsInheritanceStrategy=o,this.relativeLinkResolution=a,this.urlSerializer=l}recognize(){const n=iu(this.urlTree.root,[],[],this.config.filter(e=>void 0===e.redirectTo),this.relativeLinkResolution).segmentGroup;return this.processSegmentGroup(this.injector,this.config,n,ue).pipe(B(e=>{if(null===e)return null;const i=new Xc([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},ue,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new Ai(i,e),s=new HS(this.url,r);return this.inheritParamsAndData(s._root),s}))}inheritParamsAndData(n){const e=n.value,i=VS(e,this.paramsInheritanceStrategy);e.params=Object.freeze(i.params),e.data=Object.freeze(i.data),n.children.forEach(r=>this.inheritParamsAndData(r))}processSegmentGroup(n,e,i,r){return 0===i.segments.length&&i.hasChildren()?this.processChildren(n,e,i):this.processSegment(n,e,i,i.segments,r)}processChildren(n,e,i){return st(Object.keys(i.children)).pipe(rr(r=>{const s=i.children[r],o=qS(e,r);return this.processSegmentGroup(n,o,s,r)}),pS((r,s)=>r&&s?(r.push(...s),r):null),function TL(t,n=!1){return e=>e.lift(new ML(t,n))}(r=>null!==r),zc(null),gS(),B(r=>{if(null===r)return null;const s=tw(r);return function p3(t){t.sort((n,e)=>n.value.outlet===ue?-1:e.value.outlet===ue?1:n.value.outlet.localeCompare(e.value.outlet))}(s),s}))}processSegment(n,e,i,r,s){return st(e).pipe(rr(o=>this.processSegmentAgainstRoute(o._injector??n,o,i,r,s)),Mi(o=>!!o),or(o=>{if(ig(o))return ZS(i,r,s)?U([]):U(null);throw o}))}processSegmentAgainstRoute(n,e,i,r,s){if(e.redirectTo||!YS(e,i,r,s))return U(null);let o;if("**"===e.path){const a=r.length>0?yS(r).parameters:{},l=iw(i)+r.length;o=U({snapshot:new Xc(r,a,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,sw(e),In(e),e.component??e._loadedComponent??null,e,nw(i),l,ow(e),l),consumedSegments:[],remainingSegments:[]})}else o=QS(i,e,r,n).pipe(B(({matched:a,consumedSegments:l,remainingSegments:c,parameters:u})=>{if(!a)return null;const d=iw(i)+l.length;return{snapshot:new Xc(l,u,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,sw(e),In(e),e.component??e._loadedComponent??null,e,nw(i),d,ow(e),d),consumedSegments:l,remainingSegments:c}}));return o.pipe(ut(a=>{if(null===a)return U(null);const{snapshot:l,consumedSegments:c,remainingSegments:u}=a;n=e._injector??n;const d=e._loadedInjector??n,h=function g3(t){return t.children?t.children:t.loadChildren?t._loadedRoutes:[]}(e),{segmentGroup:f,slicedSegments:p}=iu(i,c,u,h.filter(D=>void 0===D.redirectTo),this.relativeLinkResolution);if(0===p.length&&f.hasChildren())return this.processChildren(d,h,f).pipe(B(D=>null===D?null:[new Ai(l,D)]));if(0===h.length&&0===p.length)return U([new Ai(l,[])]);const b=In(e)===s;return this.processSegment(d,h,f,p,b?ue:s).pipe(B(D=>null===D?null:[new Ai(l,D)]))}))}}function m3(t){const n=t.value.routeConfig;return n&&""===n.path&&void 0===n.redirectTo}function tw(t){const n=[],e=new Set;for(const i of t){if(!m3(i)){n.push(i);continue}const r=n.find(s=>i.value.routeConfig===s.value.routeConfig);void 0!==r?(r.children.push(...i.children),e.add(r)):n.push(i)}for(const i of e){const r=tw(i.children);n.push(new Ai(i.value,r))}return n.filter(i=>!e.has(i))}function nw(t){let n=t;for(;n._sourceSegment;)n=n._sourceSegment;return n}function iw(t){let n=t,e=n._segmentIndexShift??0;for(;n._sourceSegment;)n=n._sourceSegment,e+=n._segmentIndexShift??0;return e-1}function sw(t){return t.data||{}}function ow(t){return t.resolve||{}}function aw(t){return"string"==typeof t.title||null===t.title}function og(t){return ut(n=>{const e=t(n);return e?st(e).pipe(B(()=>n)):U(n)})}let lw=(()=>{class t{buildTitle(e){let i,r=e.root;for(;void 0!==r;)i=this.getResolvedTitleForRoute(r)??i,r=r.children.find(s=>s.outlet===ue);return i}getResolvedTitleForRoute(e){return e.data[da]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=P({token:t,factory:function(){return nt(cw)},providedIn:"root"}),t})(),cw=(()=>{class t extends lw{constructor(e){super(),this.title=e}updateTitle(e){const i=this.buildTitle(e);void 0!==i&&this.title.setTitle(i)}}return t.\u0275fac=function(e){return new(e||t)(x(Sc))},t.\u0275prov=P({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();class C3{}class T3 extends class E3{shouldDetach(n){return!1}store(n,e){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,e){return n.routeConfig===e.routeConfig}}{}const lu=new $("",{providedIn:"root",factory:()=>({})}),ag=new $("ROUTES");let lg=(()=>{class t{constructor(e,i){this.injector=e,this.compiler=i,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return U(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);const i=ar(e.loadComponent()).pipe(qe(s=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=s}),Bp(()=>{this.componentLoaders.delete(e)})),r=new Qu(i,()=>new Ae).pipe(qa());return this.componentLoaders.set(e,r),r}loadChildren(e,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return U({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);const s=this.loadModuleFactoryOrRoutes(i.loadChildren).pipe(B(a=>{this.onLoadEndListener&&this.onLoadEndListener(i);let l,c,u=!1;Array.isArray(a)?c=a:(l=a.create(e).injector,c=_S(l.get(ag,[],J.Self|J.Optional)));return{routes:c.map(ng),injector:l}}),Bp(()=>{this.childrenLoaders.delete(i)})),o=new Qu(s,()=>new Ae).pipe(qa());return this.childrenLoaders.set(i,o),o}loadModuleFactoryOrRoutes(e){return ar(e()).pipe(It(i=>i instanceof k0||Array.isArray(i)?U(i):st(this.compiler.compileModuleAsync(i))))}}return t.\u0275fac=function(e){return new(e||t)(x(St),x(Sf))},t.\u0275prov=P({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();class N3{}class I3{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,e){return n}}function A3(t){throw t}function x3(t,n,e){return n.parse("/")}const O3={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},R3={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function dw(){const t=nt(CS),n=nt(ya),e=nt(Lf),i=nt(St),r=nt(Sf),s=nt(ag,{optional:!0})??[],o=nt(lu,{optional:!0})??{},a=nt(cw),l=nt(lw,{optional:!0}),c=nt(N3,{optional:!0}),u=nt(C3,{optional:!0}),d=new wt(null,t,n,e,i,r,_S(s));return c&&(d.urlHandlingStrategy=c),u&&(d.routeReuseStrategy=u),d.titleStrategy=l??a,function k3(t,n){t.errorHandler&&(n.errorHandler=t.errorHandler),t.malformedUriErrorHandler&&(n.malformedUriErrorHandler=t.malformedUriErrorHandler),t.onSameUrlNavigation&&(n.onSameUrlNavigation=t.onSameUrlNavigation),t.paramsInheritanceStrategy&&(n.paramsInheritanceStrategy=t.paramsInheritanceStrategy),t.relativeLinkResolution&&(n.relativeLinkResolution=t.relativeLinkResolution),t.urlUpdateStrategy&&(n.urlUpdateStrategy=t.urlUpdateStrategy),t.canceledNavigationResolution&&(n.canceledNavigationResolution=t.canceledNavigationResolution)}(o,d),d}let wt=(()=>{class t{constructor(e,i,r,s,o,a,l){this.rootComponentType=e,this.urlSerializer=i,this.rootContexts=r,this.location=s,this.config=l,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new Ae,this.errorHandler=A3,this.malformedUriErrorHandler=x3,this.navigated=!1,this.lastSuccessfulId=-1,this.afterPreactivation=()=>U(void 0),this.urlHandlingStrategy=new I3,this.routeReuseStrategy=new T3,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.configLoader=o.get(lg),this.configLoader.onLoadEndListener=h=>this.triggerEvent(new pB(h)),this.configLoader.onLoadStartListener=h=>this.triggerEvent(new fB(h)),this.ngModule=o.get(Ir),this.console=o.get(OR);const d=o.get(Me);this.isNgZoneEnabled=d instanceof Me&&Me.isInAngularZone(),this.resetConfig(l),this.currentUrlTree=function LL(){return new kr(new he([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=BS(this.currentUrlTree,this.rootComponentType),this.transitions=new mt({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){return this.location.getState()?.\u0275routerPageId}setupNavigations(e){const i=this.events;return e.pipe(ze(r=>0!==r.id),B(r=>({...r,extractedUrl:this.urlHandlingStrategy.extract(r.rawUrl)})),ut(r=>{let s=!1,o=!1;return U(r).pipe(qe(a=>{this.currentNavigation={id:a.id,initialUrl:a.rawUrl,extractedUrl:a.extractedUrl,trigger:a.source,extras:a.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),ut(a=>{const l=this.browserUrlTree.toString(),c=!this.navigated||a.extractedUrl.toString()!==l||l!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||c)&&this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return hw(a.source)&&(this.browserUrlTree=a.extractedUrl),U(a).pipe(ut(d=>{const h=this.transitions.getValue();return i.next(new Wp(d.id,this.serializeUrl(d.extractedUrl),d.source,d.restoredState)),h!==this.transitions.getValue()?Ti:Promise.resolve(d)}),function c3(t,n,e,i){return ut(r=>function a3(t,n,e,i,r){return new l3(t,n,e,i,r).apply()}(t,n,e,r.extractedUrl,i).pipe(B(s=>({...r,urlAfterRedirects:s}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),qe(d=>{this.currentNavigation={...this.currentNavigation,finalUrl:d.urlAfterRedirects},r.urlAfterRedirects=d.urlAfterRedirects}),function y3(t,n,e,i,r,s){return It(o=>function h3(t,n,e,i,r,s,o="emptyOnly",a="legacy"){return new f3(t,n,e,i,r,o,a,s).recognize().pipe(ut(l=>null===l?function d3(t){return new we(n=>n.error(t))}(new u3):U(l)))}(t,n,e,o.urlAfterRedirects,i.serialize(o.urlAfterRedirects),i,r,s).pipe(B(a=>({...o,targetSnapshot:a}))))}(this.ngModule.injector,this.rootComponentType,this.config,this.urlSerializer,this.paramsInheritanceStrategy,this.relativeLinkResolution),qe(d=>{if(r.targetSnapshot=d.targetSnapshot,"eager"===this.urlUpdateStrategy){if(!d.extras.skipLocationChange){const f=this.urlHandlingStrategy.merge(d.urlAfterRedirects,d.rawUrl);this.setBrowserUrl(f,d)}this.browserUrlTree=d.urlAfterRedirects}const h=new lB(d.id,this.serializeUrl(d.extractedUrl),this.serializeUrl(d.urlAfterRedirects),d.targetSnapshot);i.next(h)}));if(c&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:h,extractedUrl:f,source:p,restoredState:b,extras:D}=a,C=new Wp(h,this.serializeUrl(f),p,b);i.next(C);const N=BS(f,this.rootComponentType).snapshot;return U(r={...a,targetSnapshot:N,urlAfterRedirects:f,extras:{...D,skipLocationChange:!1,replaceUrl:!1}})}return this.rawUrlTree=a.rawUrl,a.resolve(null),Ti}),qe(a=>{const l=new cB(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot);this.triggerEvent(l)}),B(a=>r={...a,guards:RB(a.targetSnapshot,a.currentSnapshot,this.rootContexts)}),function GB(t,n){return It(e=>{const{targetSnapshot:i,currentSnapshot:r,guards:{canActivateChecks:s,canDeactivateChecks:o}}=e;return 0===o.length&&0===s.length?U({...e,guardsResult:!0}):function zB(t,n,e,i){return st(t).pipe(It(r=>function YB(t,n,e,i,r){const s=n&&n.routeConfig?n.routeConfig.canDeactivate:null;return s&&0!==s.length?U(s.map(a=>{const l=ba(n)??r,c=qs(a,l);return ar(function UB(t){return t&&Sa(t.canDeactivate)}(c)?c.canDeactivate(t,n,e,i):l.runInContext(()=>c(t,n,e,i))).pipe(Mi())})).pipe(Ks()):U(!0)}(r.component,r.route,e,n,i)),Mi(r=>!0!==r,!0))}(o,i,r,t).pipe(It(a=>a&&function LB(t){return"boolean"==typeof t}(a)?function WB(t,n,e,i){return st(n).pipe(rr(r=>$s(function KB(t,n){return null!==t&&n&&n(new gB(t)),U(!0)}(r.route.parent,i),function qB(t,n){return null!==t&&n&&n(new _B(t)),U(!0)}(r.route,i),function QB(t,n,e){const i=n[n.length-1],s=n.slice(0,n.length-1).reverse().map(o=>function kB(t){const n=t.routeConfig?t.routeConfig.canActivateChild:null;return n&&0!==n.length?{node:t,guards:n}:null}(o)).filter(o=>null!==o).map(o=>jc(()=>U(o.guards.map(l=>{const c=ba(o.node)??e,u=qs(l,c);return ar(function HB(t){return t&&Sa(t.canActivateChild)}(u)?u.canActivateChild(i,t):c.runInContext(()=>u(i,t))).pipe(Mi())})).pipe(Ks())));return U(s).pipe(Ks())}(t,r.path,e),function JB(t,n,e){const i=n.routeConfig?n.routeConfig.canActivate:null;if(!i||0===i.length)return U(!0);const r=i.map(s=>jc(()=>{const o=ba(n)??e,a=qs(s,o);return ar(function VB(t){return t&&Sa(t.canActivate)}(a)?a.canActivate(n,t):o.runInContext(()=>a(n,t))).pipe(Mi())}));return U(r).pipe(Ks())}(t,r.route,e))),Mi(r=>!0!==r,!0))}(i,s,t,n):U(a)),B(a=>({...e,guardsResult:a})))})}(this.ngModule.injector,a=>this.triggerEvent(a)),qe(a=>{if(r.guardsResult=a.guardsResult,Fr(a.guardsResult))throw $S(0,a.guardsResult);const l=new uB(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);this.triggerEvent(l)}),ze(a=>!!a.guardsResult||(this.restoreHistory(a),this.cancelNavigationTransition(a,"",3),!1)),og(a=>{if(a.guards.canActivateChecks.length)return U(a).pipe(qe(l=>{const c=new dB(l.id,this.serializeUrl(l.extractedUrl),this.serializeUrl(l.urlAfterRedirects),l.targetSnapshot);this.triggerEvent(c)}),ut(l=>{let c=!1;return U(l).pipe(function b3(t,n){return It(e=>{const{targetSnapshot:i,guards:{canActivateChecks:r}}=e;if(!r.length)return U(e);let s=0;return st(r).pipe(rr(o=>function v3(t,n,e,i){const r=t.routeConfig,s=t._resolve;return void 0!==r?.title&&!aw(r)&&(s[da]=r.title),function D3(t,n,e,i){const r=function S3(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}(t);if(0===r.length)return U({});const s={};return st(r).pipe(It(o=>function w3(t,n,e,i){const r=ba(n)??i,s=qs(t,r);return ar(s.resolve?s.resolve(n,e):r.runInContext(()=>s(n,e)))}(t[o],n,e,i).pipe(Mi(),qe(a=>{s[o]=a}))),Lp(1),function IL(t){return n=>n.lift(new AL(t))}(s),or(o=>ig(o)?Ti:Nn(o)))}(s,t,n,i).pipe(B(o=>(t._resolvedData=o,t.data=VS(t,e).resolve,r&&aw(r)&&(t.data[da]=r.title),null)))}(o.route,i,t,n)),qe(()=>s++),Lp(1),It(o=>s===r.length?U(e):Ti))})}(this.paramsInheritanceStrategy,this.ngModule.injector),qe({next:()=>c=!0,complete:()=>{c||(this.restoreHistory(l),this.cancelNavigationTransition(l,"",2))}}))}),qe(l=>{const c=new hB(l.id,this.serializeUrl(l.extractedUrl),this.serializeUrl(l.urlAfterRedirects),l.targetSnapshot);this.triggerEvent(c)}))}),og(a=>{const l=c=>{const u=[];c.routeConfig?.loadComponent&&!c.routeConfig._loadedComponent&&u.push(this.configLoader.loadComponent(c.routeConfig).pipe(qe(d=>{c.component=d}),B(()=>{})));for(const d of c.children)u.push(...l(d));return u};return Uc(l(a.targetSnapshot.root)).pipe(zc(),tt(1))}),og(()=>this.afterPreactivation()),B(a=>{const l=function SB(t,n,e){const i=_a(t,n._root,e?e._root:void 0);return new LS(i,n)}(this.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);return r={...a,targetRouterState:l}}),qe(a=>{this.currentUrlTree=a.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(a.urlAfterRedirects,a.rawUrl),this.routerState=a.targetRouterState,"deferred"===this.urlUpdateStrategy&&(a.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,a),this.browserUrlTree=a.urlAfterRedirects)}),((t,n,e)=>B(i=>(new OB(n,i.targetRouterState,i.currentRouterState,e).activate(t),i)))(this.rootContexts,this.routeReuseStrategy,a=>this.triggerEvent(a)),qe({next(){s=!0},complete(){s=!0}}),Bp(()=>{s||o||this.cancelNavigationTransition(r,"",1),this.currentNavigation?.id===r.id&&(this.currentNavigation=null)}),or(a=>{if(o=!0,zS(a)){GS(a)||(this.navigated=!0,this.restoreHistory(r,!0));const l=new Zc(r.id,this.serializeUrl(r.extractedUrl),a.message,a.cancellationCode);if(i.next(l),GS(a)){const c=this.urlHandlingStrategy.merge(a.url,this.rawUrlTree),u={skipLocationChange:r.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||hw(r.source)};this.scheduleNavigation(c,"imperative",null,u,{resolve:r.resolve,reject:r.reject,promise:r.promise})}else r.resolve(!1)}else{this.restoreHistory(r,!0);const l=new kS(r.id,this.serializeUrl(r.extractedUrl),a,r.targetSnapshot??void 0);i.next(l);try{r.resolve(this.errorHandler(a))}catch(c){r.reject(c)}}return Ti}))}))}resetRootComponentType(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType}setTransition(e){this.transitions.next({...this.transitions.value,...e})}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(e=>{const i="popstate"===e.type?"popstate":"hashchange";"popstate"===i&&setTimeout(()=>{const r={replaceUrl:!0},s=e.state?.navigationId?e.state:null;if(s){const a={...s};delete a.navigationId,delete a.\u0275routerPageId,0!==Object.keys(a).length&&(r.state=a)}const o=this.parseUrl(e.url);this.scheduleNavigation(o,i,s,r)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(e){this.events.next(e)}resetConfig(e){this.config=e.map(ng),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(e,i={}){const{relativeTo:r,queryParams:s,fragment:o,queryParamsHandling:a,preserveFragment:l}=i,c=r||this.routerState.root,u=l?this.currentUrlTree.fragment:o;let d=null;switch(a){case"merge":d={...this.currentUrlTree.queryParams,...s};break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=s||null}return null!==d&&(d=this.removeEmptyProps(d)),nB(c,this.currentUrlTree,e,d,u??null)}navigateByUrl(e,i={skipLocationChange:!1}){const r=Fr(e)?e:this.parseUrl(e),s=this.urlHandlingStrategy.merge(r,this.rawUrlTree);return this.scheduleNavigation(s,"imperative",null,i)}navigate(e,i={skipLocationChange:!1}){return function P3(t){for(let n=0;n{const s=e[r];return null!=s&&(i[r]=s),i},{})}processNavigations(){this.navigations.subscribe(e=>{this.navigated=!0,this.lastSuccessfulId=e.id,this.currentPageId=e.targetPageId,this.events.next(new lr(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.titleStrategy?.updateTitle(this.routerState.snapshot),e.resolve(!0)},e=>{this.console.warn(`Unhandled Navigation Error: ${e}`)})}scheduleNavigation(e,i,r,s,o){if(this.disposed)return Promise.resolve(!1);let a,l,c;o?(a=o.resolve,l=o.reject,c=o.promise):c=new Promise((h,f)=>{a=h,l=f});const u=++this.navigationId;let d;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(r=this.location.getState()),d=r&&r.\u0275routerPageId?r.\u0275routerPageId:s.replaceUrl||s.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1):d=0,this.setTransition({id:u,targetPageId:d,source:i,restoredState:r,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:s,resolve:a,reject:l,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(h=>Promise.reject(h))}setBrowserUrl(e,i){const r=this.urlSerializer.serialize(e),s={...i.extras.state,...this.generateNgRouterState(i.id,i.targetPageId)};this.location.isCurrentPathEqualTo(r)||i.extras.replaceUrl?this.location.replaceState(r,"",s):this.location.go(r,"",s)}restoreHistory(e,i=!1){if("computed"===this.canceledNavigationResolution){const r=this.currentPageId-e.targetPageId;"popstate"!==e.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.currentNavigation?.finalUrl||0===r?this.currentUrlTree===this.currentNavigation?.finalUrl&&0===r&&(this.resetState(e),this.browserUrlTree=e.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(r)}else"replace"===this.canceledNavigationResolution&&(i&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=e.currentRouterState,this.currentUrlTree=e.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(e,i,r){const s=new Zc(e.id,this.serializeUrl(e.extractedUrl),i,r);this.triggerEvent(s),e.resolve(!1)}generateNgRouterState(e,i){return"computed"===this.canceledNavigationResolution?{navigationId:e,\u0275routerPageId:i}:{navigationId:e}}}return t.\u0275fac=function(e){bh()},t.\u0275prov=P({token:t,factory:function(){return dw()},providedIn:"root"}),t})();function hw(t){return"imperative"!==t}let cg=(()=>{class t{constructor(e,i,r,s,o){this.router=e,this.route=i,this.tabIndexAttribute=r,this.renderer=s,this.el=o,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.commands=null,this.onChanges=new Ae,this.setTabIndexIfNotOnNativeEl("0")}set preserveFragment(e){this._preserveFragment=Di(e)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(e){this._skipLocationChange=Di(e)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(e){this._replaceUrl=Di(e)}get replaceUrl(){return this._replaceUrl}setTabIndexIfNotOnNativeEl(e){if(null!=this.tabIndexAttribute)return;const i=this.renderer,r=this.el.nativeElement;null!==e?i.setAttribute(r,"tabindex",e):i.removeAttribute(r,"tabindex")}ngOnChanges(e){this.onChanges.next(this)}set routerLink(e){null!=e?(this.commands=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(){return null===this.urlTree||this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!0}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return t.\u0275fac=function(e){return new(e||t)(v(wt),v(cr),vr("tabindex"),v(ln),v(me))},t.\u0275dir=k({type:t,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(e,i){1&e&&I("click",function(){return i.onClick()})},inputs:{queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[Dt]}),t})(),uu=(()=>{class t{constructor(e,i,r){this.router=e,this.route=i,this.locationStrategy=r,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.commands=null,this.href=null,this.onChanges=new Ae,this.subscription=e.events.subscribe(s=>{s instanceof lr&&this.updateTargetUrlAndHref()})}set preserveFragment(e){this._preserveFragment=Di(e)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(e){this._skipLocationChange=Di(e)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(e){this._replaceUrl=Di(e)}get replaceUrl(){return this._replaceUrl}set routerLink(e){this.commands=null!=e?Array.isArray(e)?e:[e]:null}ngOnChanges(e){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(e,i,r,s,o){return!!(0!==e||i||r||s||o||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!1)}updateTargetUrlAndHref(){this.href=null!==this.urlTree?this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return t.\u0275fac=function(e){return new(e||t)(v(wt),v(cr),v(xr))},t.\u0275dir=k({type:t,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(e,i){1&e&&I("click",function(s){return i.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),2&e&&Te("target",i.target)("href",i.href,Cr)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[Dt]}),t})(),fw=(()=>{class t{constructor(e,i,r,s,o,a){this.router=e,this.element=i,this.renderer=r,this.cdr=s,this.link=o,this.linkWithHref=a,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new j,this.routerEventsSubscription=e.events.subscribe(l=>{l instanceof lr&&this.update()})}ngAfterContentInit(){U(this.links.changes,this.linksWithHrefs.changes,U(null)).pipe(Jr()).subscribe(e=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const e=[...this.links.toArray(),...this.linksWithHrefs.toArray(),this.link,this.linkWithHref].filter(i=>!!i).map(i=>i.onChanges);this.linkInputChangesSubscription=st(e).pipe(Jr()).subscribe(i=>{this.isActive!==this.isLinkActive(this.router)(i)&&this.update()})}set routerLinkActive(e){const i=Array.isArray(e)?e:e.split(" ");this.classes=i.filter(r=>!!r)}ngOnChanges(e){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.linksWithHrefs||!this.router.navigated||Promise.resolve().then(()=>{const e=this.hasActiveLinks();this.isActive!==e&&(this.isActive=e,this.cdr.markForCheck(),this.classes.forEach(i=>{e?this.renderer.addClass(this.element.nativeElement,i):this.renderer.removeClass(this.element.nativeElement,i)}),e&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(e))})}isLinkActive(e){const i=function F3(t){return!!t.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return r=>!!r.urlTree&&e.isActive(r.urlTree,i)}hasActiveLinks(){const e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.linkWithHref&&e(this.linkWithHref)||this.links.some(e)||this.linksWithHrefs.some(e)}}return t.\u0275fac=function(e){return new(e||t)(v(wt),v(me),v(ln),v(hn),v(cg,8),v(uu,8))},t.\u0275dir=k({type:t,selectors:[["","routerLinkActive",""]],contentQueries:function(e,i,r){if(1&e&&(Ie(r,cg,5),Ie(r,uu,5)),2&e){let s;oe(s=ae())&&(i.links=s),oe(s=ae())&&(i.linksWithHrefs=s)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[Dt]}),t})();class pw{}let L3=(()=>{class t{constructor(e,i,r,s,o){this.router=e,this.injector=r,this.preloadingStrategy=s,this.loader=o}setUpPreloading(){this.subscription=this.router.events.pipe(ze(e=>e instanceof lr),rr(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,i){const r=[];for(const s of i){s.providers&&!s._injector&&(s._injector=Kl(s.providers,e,`Route: ${s.path}`));const o=s._injector??e,a=s._loadedInjector??o;s.loadChildren&&!s._loadedRoutes&&void 0===s.canLoad||s.loadComponent&&!s._loadedComponent?r.push(this.preloadConfig(o,s)):(s.children||s._loadedRoutes)&&r.push(this.processRoutes(a,s.children??s._loadedRoutes))}return st(r).pipe(Jr())}preloadConfig(e,i){return this.preloadingStrategy.preload(i,()=>{let r;r=i.loadChildren&&void 0===i.canLoad?this.loader.loadChildren(e,i):U(null);const s=r.pipe(It(o=>null===o?U(void 0):(i._loadedRoutes=o.routes,i._loadedInjector=o.injector,this.processRoutes(o.injector??e,o.routes))));return i.loadComponent&&!i._loadedComponent?st([s,this.loader.loadComponent(i)]).pipe(Jr()):s})}}return t.\u0275fac=function(e){return new(e||t)(x(wt),x(Sf),x(zi),x(pw),x(lg))},t.\u0275prov=P({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const ug=new $("");let gw=(()=>{class t{constructor(e,i,r={}){this.router=e,this.viewportScroller=i,this.options=r,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},r.scrollPositionRestoration=r.scrollPositionRestoration||"disabled",r.anchorScrolling=r.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(e=>{e instanceof Wp?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof lr&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.router.parseUrl(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(e=>{e instanceof PS&&(e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,i){this.router.triggerEvent(new PS(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,i))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return t.\u0275fac=function(e){bh()},t.\u0275prov=P({token:t,factory:t.\u0275fac}),t})();function Js(t,n){return{\u0275kind:t,\u0275providers:n}}function dg(t){return[{provide:ag,multi:!0,useValue:t}]}function _w(){const t=nt(St);return n=>{const e=t.get(Zi);if(n!==e.components[0])return;const i=t.get(wt),r=t.get(yw);1===t.get(hg)&&i.initialNavigation(),t.get(bw,null,J.Optional)?.setUpPreloading(),t.get(ug,null,J.Optional)?.init(),i.resetRootComponentType(e.componentTypes[0]),r.closed||(r.next(),r.unsubscribe())}}const yw=new $("",{factory:()=>new Ae}),hg=new $("",{providedIn:"root",factory:()=>1});const bw=new $("");function U3(t){return Js(0,[{provide:bw,useExisting:L3},{provide:pw,useExisting:t}])}const vw=new $("ROUTER_FORROOT_GUARD"),$3=[Lf,{provide:CS,useClass:Hp},{provide:wt,useFactory:dw},ya,{provide:cr,useFactory:function mw(t){return t.routerState.root},deps:[wt]},lg];function j3(){return new xv("Router",wt)}let Dw=(()=>{class t{constructor(e){}static forRoot(e,i){return{ngModule:t,providers:[$3,[],dg(e),{provide:vw,useFactory:q3,deps:[[wt,new Co,new Eo]]},{provide:lu,useValue:i||{}},i?.useHash?{provide:xr,useClass:vk}:{provide:xr,useClass:n1},{provide:ug,useFactory:()=>{const t=nt(wt),n=nt(L2),e=nt(lu);return e.scrollOffset&&n.setOffset(e.scrollOffset),new gw(t,n,e)}},i?.preloadingStrategy?U3(i.preloadingStrategy).\u0275providers:[],{provide:xv,multi:!0,useFactory:j3},i?.initialNavigation?K3(i):[],[{provide:Sw,useFactory:_w},{provide:wv,multi:!0,useExisting:Sw}]]}}static forChild(e){return{ngModule:t,providers:[dg(e)]}}}return t.\u0275fac=function(e){return new(e||t)(x(vw,8))},t.\u0275mod=fe({type:t}),t.\u0275inj=de({imports:[eg]}),t})();function q3(t){return"guarded"}function K3(t){return["disabled"===t.initialNavigation?Js(3,[{provide:Ko,multi:!0,useFactory:()=>{const n=nt(wt);return()=>{n.setUpLocationChangeListener()}}},{provide:hg,useValue:2}]).\u0275providers:[],"enabledBlocking"===t.initialNavigation?Js(2,[{provide:hg,useValue:0},{provide:Ko,multi:!0,deps:[St],useFactory:n=>{const e=n.get(yk,Promise.resolve());let i=!1;return()=>e.then(()=>new Promise(s=>{const o=n.get(wt),a=n.get(yw);(function r(s){n.get(wt).events.pipe(ze(a=>a instanceof lr||a instanceof Zc||a instanceof kS),B(a=>a instanceof lr||a instanceof Zc&&(0===a.code||1===a.code)&&null),ze(a=>null!==a),tt(1)).subscribe(()=>{s()})})(()=>{s(!0),i=!0}),o.afterPreactivation=()=>(s(!0),i||a.closed?U(void 0):a),o.initialNavigation()}))}}]).\u0275providers:[]]}const Sw=new $("");function Pt(t,n,e,i){return Li(e)&&(i=e,e=void 0),i?Pt(t,n,e).pipe(B(r=>Vi(r)?i(...r):i(r))):new we(r=>{ww(t,n,function s(o){r.next(arguments.length>1?Array.prototype.slice.call(arguments):o)},r,e)})}function ww(t,n,e,i,r){let s;if(function Z3(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(t)){const o=t;t.addEventListener(n,e,r),s=()=>o.removeEventListener(n,e,r)}else if(function Y3(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(t)){const o=t;t.on(n,e),s=()=>o.off(n,e)}else if(function Q3(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(t)){const o=t;t.addListener(n,e),s=()=>o.removeListener(n,e)}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(let o=0,a=t.length;o{class t{constructor(e,i=t.now){this.SchedulerAction=e,this.now=i}schedule(e,i=0,r){return new this.SchedulerAction(this,e).schedule(r,i)}}return t.now=()=>Date.now(),t})();class Oi extends Ew{constructor(n,e=Ew.now){super(n,()=>Oi.delegate&&Oi.delegate!==this?Oi.delegate.now():e()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(n,e=0,i){return Oi.delegate&&Oi.delegate!==this?Oi.delegate.schedule(n,e,i):super.schedule(n,e,i)}flush(n){const{actions:e}=this;if(this.active)return void e.push(n);let i;this.active=!0;do{if(i=n.execute(n.state,n.delay))break}while(n=e.shift());if(this.active=!1,i){for(;n=e.shift();)n.unsubscribe();throw i}}}const Ca=new Oi(Cw);class Wn{constructor(n,e,i){this.kind=n,this.value=e,this.error=i,this.hasValue="N"===n}observe(n){switch(this.kind){case"N":return n.next&&n.next(this.value);case"E":return n.error&&n.error(this.error);case"C":return n.complete&&n.complete()}}do(n,e,i){switch(this.kind){case"N":return n&&n(this.value);case"E":return e&&e(this.error);case"C":return i&&i()}}accept(n,e,i){return n&&"function"==typeof n.next?this.observe(n):this.do(n,e,i)}toObservable(){switch(this.kind){case"N":return U(this.value);case"E":return Nn(this.error);case"C":return $c()}throw new Error("unexpected notification kind value")}static createNext(n){return typeof n<"u"?new Wn("N",n):Wn.undefinedValueNotification}static createError(n){return new Wn("E",void 0,n)}static createComplete(){return Wn.completeNotification}}Wn.completeNotification=new Wn("C"),Wn.undefinedValueNotification=new Wn("N",void 0);class nV{constructor(n,e){this.delay=n,this.scheduler=e}call(n,e){return e.subscribe(new fg(n,this.delay,this.scheduler))}}class fg extends Se{constructor(n,e,i){super(n),this.delay=e,this.scheduler=i,this.queue=[],this.active=!1,this.errored=!1}static dispatch(n){const e=n.source,i=e.queue,r=n.scheduler,s=n.destination;for(;i.length>0&&i[0].time-r.now()<=0;)i.shift().notification.observe(s);if(i.length>0){const o=Math.max(0,i[0].time-r.now());this.schedule(n,o)}else this.unsubscribe(),e.active=!1}_schedule(n){this.active=!0,this.destination.add(n.schedule(fg.dispatch,this.delay,{source:this,destination:this.destination,scheduler:n}))}scheduleNotification(n){if(!0===this.errored)return;const e=this.scheduler,i=new iV(e.now()+this.delay,n);this.queue.push(i),!1===this.active&&this._schedule(e)}_next(n){this.scheduleNotification(Wn.createNext(n))}_error(n){this.errored=!0,this.queue=[],this.destination.error(n),this.unsubscribe()}_complete(){this.scheduleNotification(Wn.createComplete()),this.unsubscribe()}}class iV{constructor(n,e){this.time=n,this.notification=e}}const Ea="Service workers are disabled or not supported by this browser";class fu{constructor(n){if(this.serviceWorker=n,n){const i=Pt(n,"controllerchange").pipe(B(()=>n.controller)),s=$s(jc(()=>U(n.controller)),i);this.worker=s.pipe(ze(u=>!!u)),this.registration=this.worker.pipe(ut(()=>n.getRegistration()));const c=Pt(n,"message").pipe(B(u=>u.data)).pipe(ze(u=>u&&u.type)).pipe(function X3(t){return t?Yu(()=>new Ae,t):Yu(new Ae)}());c.connect(),this.events=c}else this.worker=this.events=this.registration=function rV(t){return jc(()=>Nn(new Error(t)))}(Ea)}postMessage(n,e){return this.worker.pipe(tt(1),qe(i=>{i.postMessage({action:n,...e})})).toPromise().then(()=>{})}postMessageWithOperation(n,e,i){const r=this.waitForOperationCompleted(i),s=this.postMessage(n,e);return Promise.all([s,r]).then(([,o])=>o)}generateNonce(){return Math.round(1e7*Math.random())}eventsOfType(n){let e;return e="string"==typeof n?i=>i.type===n:i=>n.includes(i.type),this.events.pipe(ze(e))}nextEventOfType(n){return this.eventsOfType(n).pipe(tt(1))}waitForOperationCompleted(n){return this.eventsOfType("OPERATION_COMPLETED").pipe(ze(e=>e.nonce===n),tt(1),B(e=>{if(void 0!==e.result)return e.result;throw new Error(e.error)})).toPromise()}get isEnabled(){return!!this.serviceWorker}}let sV=(()=>{class t{constructor(e){if(this.sw=e,this.subscriptionChanges=new Ae,!e.isEnabled)return this.messages=xi,this.notificationClicks=xi,void(this.subscription=xi);this.messages=this.sw.eventsOfType("PUSH").pipe(B(r=>r.data)),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe(B(r=>r.data)),this.pushManager=this.sw.registration.pipe(B(r=>r.pushManager));const i=this.pushManager.pipe(ut(r=>r.getSubscription()));this.subscription=Ju(i,this.subscriptionChanges)}get isEnabled(){return this.sw.isEnabled}requestSubscription(e){if(!this.sw.isEnabled)return Promise.reject(new Error(Ea));const i={userVisibleOnly:!0};let r=this.decodeBase64(e.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),s=new Uint8Array(new ArrayBuffer(r.length));for(let o=0;oo.subscribe(i)),tt(1)).toPromise().then(o=>(this.subscriptionChanges.next(o),o))}unsubscribe(){return this.sw.isEnabled?this.subscription.pipe(tt(1),ut(i=>{if(null===i)throw new Error("Not subscribed to push notifications.");return i.unsubscribe().then(r=>{if(!r)throw new Error("Unsubscribe failed!");this.subscriptionChanges.next(null)})})).toPromise():Promise.reject(new Error(Ea))}decodeBase64(e){return atob(e)}}return t.\u0275fac=function(e){return new(e||t)(x(fu))},t.\u0275prov=P({token:t,factory:t.\u0275fac}),t})(),pg=(()=>{class t{constructor(e){if(this.sw=e,!e.isEnabled)return this.versionUpdates=xi,this.available=xi,this.activated=xi,void(this.unrecoverable=xi);this.versionUpdates=this.sw.eventsOfType(["VERSION_DETECTED","VERSION_INSTALLATION_FAILED","VERSION_READY","NO_NEW_VERSION_DETECTED"]),this.available=this.versionUpdates.pipe(ze(i=>"VERSION_READY"===i.type),B(i=>({type:"UPDATE_AVAILABLE",current:i.currentVersion,available:i.latestVersion}))),this.activated=this.sw.eventsOfType("UPDATE_ACTIVATED"),this.unrecoverable=this.sw.eventsOfType("UNRECOVERABLE_STATE")}get isEnabled(){return this.sw.isEnabled}checkForUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(Ea));const e=this.sw.generateNonce();return this.sw.postMessageWithOperation("CHECK_FOR_UPDATES",{nonce:e},e)}activateUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(Ea));const e=this.sw.generateNonce();return this.sw.postMessageWithOperation("ACTIVATE_UPDATE",{nonce:e},e)}}return t.\u0275fac=function(e){return new(e||t)(x(fu))},t.\u0275prov=P({token:t,factory:t.\u0275fac}),t})();class gg{}const Mw=new $("NGSW_REGISTER_SCRIPT");function oV(t,n,e,i){return()=>{if(!ea(i)||!("serviceWorker"in navigator)||!1===e.enabled)return;let r;if(navigator.serviceWorker.addEventListener("controllerchange",()=>{null!==navigator.serviceWorker.controller&&navigator.serviceWorker.controller.postMessage({action:"INITIALIZE"})}),"function"==typeof e.registrationStrategy)r=e.registrationStrategy();else{const[o,...a]=(e.registrationStrategy||"registerWhenStable:30000").split(":");switch(o){case"registerImmediately":r=U(null);break;case"registerWithDelay":r=Nw(+a[0]||0);break;case"registerWhenStable":r=a[0]?Ju(Iw(t),Nw(+a[0])):Iw(t);break;default:throw new Error(`Unknown ServiceWorker registration strategy: ${e.registrationStrategy}`)}}t.get(Me).runOutsideAngular(()=>r.pipe(tt(1)).subscribe(()=>navigator.serviceWorker.register(n,{scope:e.scope}).catch(o=>console.error("Service worker registration failed with:",o))))}}function Nw(t){return U(null).pipe(function Tw(t,n=Ca){const i=function tV(t){return t instanceof Date&&!isNaN(+t)}(t)?+t-n.now():Math.abs(t);return r=>r.lift(new nV(i,n))}(t))}function Iw(t){return t.get(Zi).isStable.pipe(ze(e=>e))}function aV(t,n){return new fu(ea(n)&&!1!==t.enabled?navigator.serviceWorker:void 0)}let lV=(()=>{class t{static register(e,i={}){return{ngModule:t,providers:[{provide:Mw,useValue:e},{provide:gg,useValue:i},{provide:fu,useFactory:aV,deps:[gg,ti]},{provide:Ko,useFactory:oV,deps:[St,Mw,gg,ti],multi:!0}]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=fe({type:t}),t.\u0275inj=de({providers:[sV,pg]}),t})();function mg(t){return!Vi(t)&&t-parseFloat(t)+1>=0}function uV(t){const{subscriber:n,counter:e,period:i}=t;n.next(e),this.schedule({subscriber:n,counter:e+1,period:i},i)}let Aw=(()=>{class t{constructor(e,i){const r=e.isStable.pipe(Mi(a=>!0===a)),s=function cV(t=0,n=Ca){return(!mg(t)||t<0)&&(t=0),(!n||"function"!=typeof n.schedule)&&(n=Ca),new we(e=>(e.add(n.schedule(uV,t,{subscriber:e,counter:0,period:t})),e))}(864e5);$s(r,s).subscribe(()=>{console.log("checking for update"),i.checkForUpdate()})}}return t.\u0275fac=function(e){return new(e||t)(x(Zi),x(pg))},t.\u0275prov=P({token:t,factory:t.\u0275fac}),t})();const dV=["ins"],xw=new $("AdsenseConfig");let hV=(()=>{class t{constructor(e,i){this.config=e,this.platform=i,this.adRegion="page-"+Math.floor(1e4*Math.random())+1,this.className=""}ngOnInit(){var e,i,r,s,o,a,l,c,u,d,h,f,p;const b=this.config;this.adClient=null!==(e=this.adClient)&&void 0!==e?e:b.adClient,this.adSlot=null!==(i=this.adSlot)&&void 0!==i?i:b.adSlot,this.adFormat=null!==(s=null!==(r=this.adFormat)&&void 0!==r?r:b.adFormat)&&void 0!==s?s:"auto",this.display=null!==(a=null!==(o=this.display)&&void 0!==o?o:b.display)&&void 0!==a?a:"block",this.width=null!==(l=this.width)&&void 0!==l?l:b.width,this.height=null!==(c=this.height)&&void 0!==c?c:b.height,this.layout=null!==(u=this.layout)&&void 0!==u?u:b.layout,this.layoutKey=null!==(d=this.layoutKey)&&void 0!==d?d:b.layoutKey,this.pageLevelAds=null!==(h=this.pageLevelAds)&&void 0!==h?h:b.pageLevelAds,this.adtest=null!==(f=this.adtest)&&void 0!==f?f:b.adtest,this.fullWidthResponsive=null!==(p=this.fullWidthResponsive)&&void 0!==p?p:b.fullWidthResponsive}ngOnDestroy(){const e=this.ins.nativeElement.querySelector("iframe");e&&e.contentWindow&&(e.src="about:blank",e.remove())}ngAfterViewInit(){ea(this.platform)&&this.push()}push(){const e={};if(this.pageLevelAds&&(e.google_ad_client=this.adClient,e.enable_page_level_ads=!0),window)try{(window.adsbygoogle=window.adsbygoogle||[]).push(e)}catch{}}}return t.\u0275fac=function(e){return new(e||t)(v(xw),v(ti))},t.\u0275cmp=te({type:t,selectors:[["ng2-adsense"],["ng-adsense"]],viewQuery:function(e,i){if(1&e&&dn(dV,7,me),2&e){let r;oe(r=ae())&&(i.ins=r.first)}},inputs:{adRegion:"adRegion",className:"className",adClient:"adClient",adSlot:"adSlot",adFormat:"adFormat",display:"display",width:"width",height:"height",layout:"layout",layoutKey:"layoutKey",pageLevelAds:"pageLevelAds",adtest:"adtest",fullWidthResponsive:"fullWidthResponsive"},decls:2,vars:17,consts:[["ins",""]],template:function(e,i){1&e&&R(0,"ins",null,0),2&e&&(function Kb(t,n,e){Un(on,ei,Es(A(),t,n,e),!0)}("adsbygoogle ",i.className,""),un("display",i.display)("width",i.width,"px")("height",i.height,"px"),Te("data-ad-client",i.adClient)("data-ad-slot",i.adSlot)("data-ad-format",i.adFormat)("data-ad-region",i.adRegion)("data-layout",i.layout)("data-adtest",i.adtest)("data-layout-key",i.layoutKey)("data-full-width-responsive",i.fullWidthResponsive))},encapsulation:2,changeDetection:0}),t})(),fV=(()=>{class t{static forRoot(e={}){return{ngModule:t,providers:[{provide:xw,useValue:e}]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=fe({type:t}),t.\u0275inj=de({imports:[kt]}),t})();function pV(t){const{index:n,period:e,subscriber:i}=t;if(i.next(n),!i.closed){if(-1===e)return i.complete();t.index=n+1,this.schedule(t,e)}}class gV{call(n,e){return e.subscribe(new mV(n))}}class mV extends Pp{constructor(n){super(n),this.hasFirst=!1,this.observables=[],this.subscriptions=[]}_next(n){this.observables.push(n)}_complete(){const n=this.observables,e=n.length;if(0===e)this.destination.complete();else{for(let i=0;ithis.index}hasCompleted(){return this.array.length===this.index}}class DV extends ro{constructor(n,e,i){super(n),this.parent=e,this.observable=i,this.stillUnsubscribed=!0,this.buffer=[],this.isComplete=!1}[Hi](){return this}next(){const n=this.buffer;return 0===n.length&&this.isComplete?{value:null,done:!0}:{value:n.shift(),done:!1}}hasValue(){return this.buffer.length>0}hasCompleted(){return 0===this.buffer.length&&this.isComplete}notifyComplete(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()}notifyNext(n){this.buffer.push(n),this.parent.checkIterators()}subscribe(){return so(this.observable,new io(this))}}function _t(t){return n=>n.lift(new wV(t))}class wV{constructor(n){this.notifier=n}call(n,e){const i=new CV(n),r=so(this.notifier,new io(i));return r&&!i.seenValue?(i.add(r),e.subscribe(i)):i}}class CV extends ro{constructor(n){super(n),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}function pu(t,n){return e=>e.lift(new EV(t,n))}class EV{constructor(n,e){this.compare=n,this.keySelector=e}call(n,e){return e.subscribe(new TV(n,this.compare,this.keySelector))}}class TV extends Se{constructor(n,e,i){super(n),this.keySelector=i,this.hasKey=!1,"function"==typeof e&&(this.compare=e)}compare(n,e){return n===e}_next(n){let e;try{const{keySelector:r}=this;e=r?r(n):n}catch(r){return this.destination.error(r)}let i=!1;if(this.hasKey)try{const{compare:r}=this;i=r(this.key,e)}catch(r){return this.destination.error(r)}else this.hasKey=!0;i||(this.key=e,this.destination.next(n))}}function _g(...t){return n=>{let e;return"function"==typeof t[t.length-1]&&(e=t.pop()),n.lift(new MV(t,e))}}class MV{constructor(n,e){this.observables=n,this.project=e}call(n,e){return e.subscribe(new NV(n,this.observables,this.project))}}class NV extends Pp{constructor(n,e,i){super(n),this.observables=e,this.project=i,this.toRespond=[];const r=e.length;this.values=new Array(r);for(let s=0;s0){const s=r.indexOf(i);-1!==s&&r.splice(s,1)}}notifyComplete(){}_next(n){if(0===this.toRespond.length){const e=[n,...this.values];this.project?this._tryProject(e):this.destination.next(e)}}_tryProject(n){let e;try{e=this.project.apply(this,n)}catch(i){return void this.destination.error(i)}this.destination.next(e)}}class AV{constructor(n){this.total=n}call(n,e){return e.subscribe(new xV(n,this.total))}}class xV extends Se{constructor(n,e){super(n),this.total=e,this.count=0}_next(n){++this.count>this.total&&this.destination.next(n)}}const VV=["*"],iH=["dialog"],rH=["ngbNavOutlet",""];function sH(t,n){}const oH=function(t){return{$implicit:t}};function aH(t,n){if(1&t&&(g(0,"div",2),E(1,sH,0,0,"ng-template",3),y()),2&t){const e=S().$implicit,i=S();m("item",e)("nav",i.nav)("role",i.paneRole),_(1),m("ngTemplateOutlet",(null==e.contentTpl?null:e.contentTpl.templateRef)||null)("ngTemplateOutletContext",Tt(5,oH,e.active||i.isPanelTransitioning(e)))}}function lH(t,n){if(1&t&&E(0,aH,2,7,"div",1),2&t){const e=n.$implicit,i=S();m("ngIf",e.isPanelInDom()||i.isPanelTransitioning(e))}}function Lr(t){return null!=t}function Qs(t){return(t||document.body).getBoundingClientRect()}typeof Element<"u"&&!Element.prototype.closest&&(Element.prototype.closest=function(t){let n=this;if(!document.documentElement.contains(n))return null;do{if(n.matches(t))return n;n=n.parentElement||n.parentNode}while(null!==n&&1===n.nodeType);return null});const Pw={animation:!0,transitionTimerDelayMs:5},ZH=()=>{},{transitionTimerDelayMs:XH}=Pw,Ma=new Map,Wt=(t,n,e,i)=>{let r=i.context||{};const s=Ma.get(n);if(s)switch(i.runningTransition){case"continue":return Ti;case"stop":t.run(()=>s.transition$.complete()),r=Object.assign(s.context,r),Ma.delete(n)}const o=e(n,i.animation,r)||ZH;if(!i.animation||"none"===window.getComputedStyle(n).transitionProperty)return t.run(()=>o()),U(void 0).pipe(function QH(t){return n=>new we(e=>n.subscribe({next:o=>t.run(()=>e.next(o)),error:o=>t.run(()=>e.error(o)),complete:()=>t.run(()=>e.complete())}))}(t));const a=new Ae,l=new Ae,c=a.pipe(function SV(...t){return n=>$s(n,U(...t))}(!0));Ma.set(n,{transition$:a,complete:()=>{l.next(),l.complete()},context:r});const u=function YH(t){const{transitionDelay:n,transitionDuration:e}=window.getComputedStyle(t);return 1e3*(parseFloat(n)+parseFloat(e))}(n);return t.runOutsideAngular(()=>{const d=Pt(n,"transitionend").pipe(_t(c),ze(({target:f})=>f===n));(function Rw(...t){if(1===t.length){if(!Vi(t[0]))return t[0];t=t[0]}return oo(t,void 0).lift(new gV)})(function Ow(t=0,n,e){let i=-1;return mg(n)?i=Number(n)<1?1:Number(n):Kr(n)&&(e=n),Kr(e)||(e=Ca),new we(r=>{const s=mg(t)?t:+t-e.now();return e.schedule(pV,s,{index:0,period:i,subscriber:r})})}(u+XH).pipe(_t(c)),d,l).pipe(_t(c)).subscribe(()=>{Ma.delete(n),t.run(()=>{o(),a.next(),a.complete()})})}),a.asObservable()};let mu=(()=>{class t{constructor(){this.animation=Pw.animation}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=P({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Uw=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=fe({type:t}),t.\u0275inj=de({imports:[[kt]]}),t})(),$w=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=fe({type:t}),t.\u0275inj=de({imports:[[kt]]}),t})(),Gw=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=fe({type:t}),t.\u0275inj=de({}),t})(),qw=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=fe({type:t}),t.\u0275inj=de({imports:[[kt]]}),t})(),Kw=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=fe({type:t}),t.\u0275inj=de({}),t})();var yt=(()=>(function(t){t[t.Tab=9]="Tab",t[t.Enter=13]="Enter",t[t.Escape=27]="Escape",t[t.Space=32]="Space",t[t.PageUp=33]="PageUp",t[t.PageDown=34]="PageDown",t[t.End=35]="End",t[t.Home=36]="Home",t[t.ArrowLeft=37]="ArrowLeft",t[t.ArrowUp=38]="ArrowUp",t[t.ArrowRight=39]="ArrowRight",t[t.ArrowDown=40]="ArrowDown"}(yt||(yt={})),yt))();typeof navigator<"u"&&navigator.userAgent&&(/iPad|iPhone|iPod/.test(navigator.userAgent)||/Macintosh/.test(navigator.userAgent)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>2||/Android/.test(navigator.userAgent));const Qw=["a[href]","button:not([disabled])",'input:not([disabled]):not([type="hidden"])',"select:not([disabled])","textarea:not([disabled])","[contenteditable]",'[tabindex]:not([tabindex="-1"])'].join(", ");function Yw(t){const n=Array.from(t.querySelectorAll(Qw)).filter(e=>-1!==e.tabIndex);return[n[0],n[n.length-1]]}new class SU{getAllStyles(n){return window.getComputedStyle(n)}getStyle(n,e){return this.getAllStyles(n)[e]}isStaticPositioned(n){return"static"===(this.getStyle(n,"position")||"static")}offsetParent(n){let e=n.offsetParent||document.documentElement;for(;e&&e!==document.documentElement&&this.isStaticPositioned(e);)e=e.offsetParent;return e||document.documentElement}position(n,e=!0){let i,r={width:0,height:0,top:0,bottom:0,left:0,right:0};if("fixed"===this.getStyle(n,"position"))i=n.getBoundingClientRect(),i={top:i.top,bottom:i.bottom,left:i.left,right:i.right,height:i.height,width:i.width};else{const s=this.offsetParent(n);i=this.offset(n,!1),s!==document.documentElement&&(r=this.offset(s,!1)),r.top+=s.clientTop,r.left+=s.clientLeft}return i.top-=r.top,i.bottom-=r.top,i.left-=r.left,i.right-=r.left,e&&(i.top=Math.round(i.top),i.bottom=Math.round(i.bottom),i.left=Math.round(i.left),i.right=Math.round(i.right)),i}offset(n,e=!0){const i=n.getBoundingClientRect(),r_top=window.scrollY-document.documentElement.clientTop,r_left=window.scrollX-document.documentElement.clientLeft;let s={height:i.height||n.offsetHeight,width:i.width||n.offsetWidth,top:i.top+r_top,bottom:i.bottom+r_top,left:i.left+r_left,right:i.right+r_left};return e&&(s.height=Math.round(s.height),s.width=Math.round(s.width),s.top=Math.round(s.top),s.bottom=Math.round(s.bottom),s.left=Math.round(s.left),s.right=Math.round(s.right)),s}positionElements(n,e,i,r){const[s="top",o="center"]=i.split("-"),a=r?this.offset(n,!1):this.position(n,!1),l=this.getAllStyles(e),c=parseFloat(l.marginTop),u=parseFloat(l.marginBottom),d=parseFloat(l.marginLeft),h=parseFloat(l.marginRight);let f=0,p=0;switch(s){case"top":f=a.top-(e.offsetHeight+c+u);break;case"bottom":f=a.top+a.height;break;case"left":p=a.left-(e.offsetWidth+d+h);break;case"right":p=a.left+a.width}switch(o){case"top":f=a.top;break;case"bottom":f=a.top+a.height-e.offsetHeight;break;case"left":p=a.left;break;case"right":p=a.left+a.width-e.offsetWidth;break;case"center":"top"===s||"bottom"===s?p=a.left+a.width/2-e.offsetWidth/2:f=a.top+a.height/2-e.offsetHeight/2}e.style.transform=`translate(${Math.round(p)}px, ${Math.round(f)}px)`;const b=e.getBoundingClientRect(),D=document.documentElement,C=window.innerHeight||D.clientHeight,N=window.innerWidth||D.clientWidth;return b.left>=0&&b.top>=0&&b.right<=N&&b.bottom<=C}},new Date(1882,10,12),new Date(2174,10,25);let rC=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=fe({type:t}),t.\u0275inj=de({imports:[[kt,Tp]]}),t})(),Tg=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=k({type:t,selectors:[["",8,"navbar"]]}),t})(),aC=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=fe({type:t}),t.\u0275inj=de({}),t})();class Ur{constructor(n,e,i){this.nodes=n,this.viewRef=e,this.componentRef=i}}let PU=(()=>{class t{constructor(e,i){this._el=e,this._zone=i}ngOnInit(){this._zone.onStable.asObservable().pipe(tt(1)).subscribe(()=>{Wt(this._zone,this._el.nativeElement,(e,i)=>{i&&Qs(e),e.classList.add("show")},{animation:this.animation,runningTransition:"continue"})})}hide(){return Wt(this._zone,this._el.nativeElement,({classList:e})=>e.remove("show"),{animation:this.animation,runningTransition:"stop"})}}return t.\u0275fac=function(e){return new(e||t)(v(me),v(Me))},t.\u0275cmp=te({type:t,selectors:[["ngb-modal-backdrop"]],hostAttrs:[2,"z-index","1050"],hostVars:6,hostBindings:function(e,i){2&e&&(Ki("modal-backdrop"+(i.backdropClass?" "+i.backdropClass:"")),je("show",!i.animation)("fade",i.animation))},inputs:{animation:"animation",backdropClass:"backdropClass"},decls:0,vars:0,template:function(e,i){},encapsulation:2}),t})();class lC{close(n){}dismiss(n){}}class FU{constructor(n,e,i,r){this._windowCmptRef=n,this._contentRef=e,this._backdropCmptRef=i,this._beforeDismiss=r,this._closed=new Ae,this._dismissed=new Ae,this._hidden=new Ae,n.instance.dismissEvent.subscribe(s=>{this.dismiss(s)}),this.result=new Promise((s,o)=>{this._resolve=s,this._reject=o}),this.result.then(null,()=>{})}get componentInstance(){if(this._contentRef&&this._contentRef.componentRef)return this._contentRef.componentRef.instance}get closed(){return this._closed.asObservable().pipe(_t(this._hidden))}get dismissed(){return this._dismissed.asObservable().pipe(_t(this._hidden))}get hidden(){return this._hidden.asObservable()}get shown(){return this._windowCmptRef.instance.shown.asObservable()}close(n){this._windowCmptRef&&(this._closed.next(n),this._resolve(n),this._removeModalElements())}_dismiss(n){this._dismissed.next(n),this._reject(n),this._removeModalElements()}dismiss(n){if(this._windowCmptRef)if(this._beforeDismiss){const e=this._beforeDismiss();!function KH(t){return t&&t.then}(e)?!1!==e&&this._dismiss(n):e.then(i=>{!1!==i&&this._dismiss(n)},()=>{})}else this._dismiss(n)}_removeModalElements(){const n=this._windowCmptRef.instance.hide(),e=this._backdropCmptRef?this._backdropCmptRef.instance.hide():U(void 0);n.subscribe(()=>{const{nativeElement:i}=this._windowCmptRef.location;i.parentNode.removeChild(i),this._windowCmptRef.destroy(),this._contentRef&&this._contentRef.viewRef&&this._contentRef.viewRef.destroy(),this._windowCmptRef=null,this._contentRef=null}),e.subscribe(()=>{if(this._backdropCmptRef){const{nativeElement:i}=this._backdropCmptRef.location;i.parentNode.removeChild(i),this._backdropCmptRef.destroy(),this._backdropCmptRef=null}}),Ta(n,e).subscribe(()=>{this._hidden.next(),this._hidden.complete()})}}var xa=(()=>(function(t){t[t.BACKDROP_CLICK=0]="BACKDROP_CLICK",t[t.ESC=1]="ESC"}(xa||(xa={})),xa))();let LU=(()=>{class t{constructor(e,i,r){this._document=e,this._elRef=i,this._zone=r,this._closed$=new Ae,this._elWithFocus=null,this.backdrop=!0,this.keyboard=!0,this.dismissEvent=new j,this.shown=new Ae,this.hidden=new Ae}dismiss(e){this.dismissEvent.emit(e)}ngOnInit(){this._elWithFocus=this._document.activeElement,this._zone.onStable.asObservable().pipe(tt(1)).subscribe(()=>{this._show()})}ngOnDestroy(){this._disableEventHandling()}hide(){const{nativeElement:e}=this._elRef,i={animation:this.animation,runningTransition:"stop"},o=Ta(Wt(this._zone,e,()=>e.classList.remove("show"),i),Wt(this._zone,this._dialogEl.nativeElement,()=>{},i));return o.subscribe(()=>{this.hidden.next(),this.hidden.complete()}),this._disableEventHandling(),this._restoreFocus(),o}_show(){const e={animation:this.animation,runningTransition:"continue"};Ta(Wt(this._zone,this._elRef.nativeElement,(s,o)=>{o&&Qs(s),s.classList.add("show")},e),Wt(this._zone,this._dialogEl.nativeElement,()=>{},e)).subscribe(()=>{this.shown.next(),this.shown.complete()}),this._enableEventHandling(),this._setFocus()}_enableEventHandling(){const{nativeElement:e}=this._elRef;this._zone.runOutsideAngular(()=>{Pt(e,"keydown").pipe(_t(this._closed$),ze(r=>r.which===yt.Escape)).subscribe(r=>{this.keyboard?requestAnimationFrame(()=>{r.defaultPrevented||this._zone.run(()=>this.dismiss(xa.ESC))}):"static"===this.backdrop&&this._bumpBackdrop()});let i=!1;Pt(this._dialogEl.nativeElement,"mousedown").pipe(_t(this._closed$),qe(()=>i=!1),ut(()=>Pt(e,"mouseup").pipe(_t(this._closed$),tt(1))),ze(({target:r})=>e===r)).subscribe(()=>{i=!0}),Pt(e,"click").pipe(_t(this._closed$)).subscribe(({target:r})=>{e===r&&("static"===this.backdrop?this._bumpBackdrop():!0===this.backdrop&&!i&&this._zone.run(()=>this.dismiss(xa.BACKDROP_CLICK))),i=!1})})}_disableEventHandling(){this._closed$.next()}_setFocus(){const{nativeElement:e}=this._elRef;if(!e.contains(document.activeElement)){const i=e.querySelector("[ngbAutofocus]"),r=Yw(e)[0];(i||r||e).focus()}}_restoreFocus(){const e=this._document.body,i=this._elWithFocus;let r;r=i&&i.focus&&e.contains(i)?i:e,this._zone.runOutsideAngular(()=>{setTimeout(()=>r.focus()),this._elWithFocus=null})}_bumpBackdrop(){"static"===this.backdrop&&Wt(this._zone,this._elRef.nativeElement,({classList:e})=>(e.add("modal-static"),()=>e.remove("modal-static")),{animation:this.animation,runningTransition:"continue"})}}return t.\u0275fac=function(e){return new(e||t)(v(Oe),v(me),v(Me))},t.\u0275cmp=te({type:t,selectors:[["ngb-modal-window"]],viewQuery:function(e,i){if(1&e&&dn(iH,7),2&e){let r;oe(r=ae())&&(i._dialogEl=r.first)}},hostAttrs:["role","dialog","tabindex","-1"],hostVars:7,hostBindings:function(e,i){2&e&&(Te("aria-modal",!0)("aria-labelledby",i.ariaLabelledBy)("aria-describedby",i.ariaDescribedBy),Ki("modal d-block"+(i.windowClass?" "+i.windowClass:"")),je("fade",i.animation))},inputs:{animation:"animation",ariaLabelledBy:"ariaLabelledBy",ariaDescribedBy:"ariaDescribedBy",backdrop:"backdrop",centered:"centered",keyboard:"keyboard",scrollable:"scrollable",size:"size",windowClass:"windowClass",modalDialogClass:"modalDialogClass"},outputs:{dismissEvent:"dismiss"},ngContentSelectors:VV,decls:4,vars:2,consts:[["role","document"],["dialog",""],[1,"modal-content"]],template:function(e,i){1&e&&(Kh(),g(0,"div",0,1)(2,"div",2),Jh(3),y()()),2&e&&Ki("modal-dialog"+(i.size?" modal-"+i.size:"")+(i.centered?" modal-dialog-centered":"")+(i.scrollable?" modal-dialog-scrollable":"")+(i.modalDialogClass?" "+i.modalDialogClass:""))},styles:["ngb-modal-window .component-host-scrollable{display:flex;flex-direction:column;overflow:hidden}\n"],encapsulation:2}),t})(),BU=(()=>{class t{constructor(e){this._document=e}hide(){const e=Math.abs(window.innerWidth-this._document.documentElement.clientWidth),i=this._document.body,r=i.style,{overflow:s,paddingRight:o}=r;if(e>0){const a=parseFloat(window.getComputedStyle(i).paddingRight);r.paddingRight=`${a+e}px`}return r.overflow="hidden",()=>{e>0&&(r.paddingRight=o),r.overflow=s}}}return t.\u0275fac=function(e){return new(e||t)(x(Oe))},t.\u0275prov=P({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),VU=(()=>{class t{constructor(e,i,r,s,o,a){this._applicationRef=e,this._injector=i,this._document=r,this._scrollBar=s,this._rendererFactory=o,this._ngZone=a,this._activeWindowCmptHasChanged=new Ae,this._ariaHiddenValues=new Map,this._scrollBarRestoreFn=null,this._backdropAttributes=["animation","backdropClass"],this._modalRefs=[],this._windowAttributes=["animation","ariaLabelledBy","ariaDescribedBy","backdrop","centered","keyboard","scrollable","size","windowClass","modalDialogClass"],this._windowCmpts=[],this._activeInstances=new j,this._activeWindowCmptHasChanged.subscribe(()=>{if(this._windowCmpts.length){const l=this._windowCmpts[this._windowCmpts.length-1];((t,n,e,i=!1)=>{this._ngZone.runOutsideAngular(()=>{const r=Pt(n,"focusin").pipe(_t(e),B(s=>s.target));Pt(n,"keydown").pipe(_t(e),ze(s=>s.which===yt.Tab),_g(r)).subscribe(([s,o])=>{const[a,l]=Yw(n);(o===a||o===n)&&s.shiftKey&&(l.focus(),s.preventDefault()),o===l&&!s.shiftKey&&(a.focus(),s.preventDefault())}),i&&Pt(n,"click").pipe(_t(e),_g(r),B(s=>s[1])).subscribe(s=>s.focus())})})(0,l.location.nativeElement,this._activeWindowCmptHasChanged),this._revertAriaHidden(),this._setAriaHidden(l.location.nativeElement)}})}_restoreScrollBar(){const e=this._scrollBarRestoreFn;e&&(this._scrollBarRestoreFn=null,e())}_hideScrollBar(){this._scrollBarRestoreFn||(this._scrollBarRestoreFn=this._scrollBar.hide())}open(e,i,r,s){const o=s.container instanceof HTMLElement?s.container:Lr(s.container)?this._document.querySelector(s.container):this._document.body,a=this._rendererFactory.createRenderer(null,null);if(!o)throw new Error(`The specified modal container "${s.container||"body"}" was not found in the DOM.`);this._hideScrollBar();const l=new lC,c=this._getContentRef(e,s.injector||i,r,l,s);let u=!1!==s.backdrop?this._attachBackdrop(e,o):void 0,d=this._attachWindowComponent(e,o,c),h=new FU(d,c,u,s.beforeDismiss);return this._registerModalRef(h),this._registerWindowCmpt(d),h.hidden.pipe(tt(1)).subscribe(()=>Promise.resolve(!0).then(()=>{this._modalRefs.length||(a.removeClass(this._document.body,"modal-open"),this._restoreScrollBar(),this._revertAriaHidden())})),l.close=f=>{h.close(f)},l.dismiss=f=>{h.dismiss(f)},this._applyWindowOptions(d.instance,s),1===this._modalRefs.length&&a.addClass(this._document.body,"modal-open"),u&&u.instance&&(this._applyBackdropOptions(u.instance,s),u.changeDetectorRef.detectChanges()),d.changeDetectorRef.detectChanges(),h}get activeInstances(){return this._activeInstances}dismissAll(e){this._modalRefs.forEach(i=>i.dismiss(e))}hasOpenModals(){return this._modalRefs.length>0}_attachBackdrop(e,i){let s=e.resolveComponentFactory(PU).create(this._injector);return this._applicationRef.attachView(s.hostView),i.appendChild(s.location.nativeElement),s}_attachWindowComponent(e,i,r){let o=e.resolveComponentFactory(LU).create(this._injector,r.nodes);return this._applicationRef.attachView(o.hostView),i.appendChild(o.location.nativeElement),o}_applyWindowOptions(e,i){this._windowAttributes.forEach(r=>{Lr(i[r])&&(e[r]=i[r])})}_applyBackdropOptions(e,i){this._backdropAttributes.forEach(r=>{Lr(i[r])&&(e[r]=i[r])})}_getContentRef(e,i,r,s,o){return r?r instanceof Ge?this._createFromTemplateRef(r,s):function kw(t){return"string"==typeof t}(r)?this._createFromString(r):this._createFromComponent(e,i,r,s,o):new Ur([])}_createFromTemplateRef(e,i){const s=e.createEmbeddedView({$implicit:i,close(o){i.close(o)},dismiss(o){i.dismiss(o)}});return this._applicationRef.attachView(s),new Ur([s.rootNodes],s)}_createFromString(e){const i=this._document.createTextNode(`${e}`);return new Ur([[i]])}_createFromComponent(e,i,r,s,o){const a=e.resolveComponentFactory(r),l=St.create({providers:[{provide:lC,useValue:s}],parent:i}),c=a.create(l),u=c.location.nativeElement;return o.scrollable&&u.classList.add("component-host-scrollable"),this._applicationRef.attachView(c.hostView),new Ur([[u]],c.hostView,c)}_setAriaHidden(e){const i=e.parentElement;i&&e!==this._document.body&&(Array.from(i.children).forEach(r=>{r!==e&&"SCRIPT"!==r.nodeName&&(this._ariaHiddenValues.set(r,r.getAttribute("aria-hidden")),r.setAttribute("aria-hidden","true"))}),this._setAriaHidden(i))}_revertAriaHidden(){this._ariaHiddenValues.forEach((e,i)=>{e?i.setAttribute("aria-hidden",e):i.removeAttribute("aria-hidden")}),this._ariaHiddenValues.clear()}_registerModalRef(e){const i=()=>{const r=this._modalRefs.indexOf(e);r>-1&&(this._modalRefs.splice(r,1),this._activeInstances.emit(this._modalRefs))};this._modalRefs.push(e),this._activeInstances.emit(this._modalRefs),e.result.then(i,i)}_registerWindowCmpt(e){this._windowCmpts.push(e),this._activeWindowCmptHasChanged.next(),e.onDestroy(()=>{const i=this._windowCmpts.indexOf(e);i>-1&&(this._windowCmpts.splice(i,1),this._activeWindowCmptHasChanged.next())})}}return t.\u0275fac=function(e){return new(e||t)(x(Zi),x(St),x(Oe),x(BU),x(ys),x(Me))},t.\u0275prov=P({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),HU=(()=>{class t{constructor(e){this._ngbConfig=e,this.backdrop=!0,this.keyboard=!0}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(e){this._animation=e}}return t.\u0275fac=function(e){return new(e||t)(x(mu))},t.\u0275prov=P({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),UU=(()=>{class t{constructor(e,i,r,s){this._moduleCFR=e,this._injector=i,this._modalStack=r,this._config=s}open(e,i={}){const r={...this._config,animation:this._config.animation,...i};return this._modalStack.open(this._moduleCFR,this._injector,e,r)}get activeInstances(){return this._modalStack.activeInstances}dismissAll(e){this._modalStack.dismissAll(e)}hasOpenModals(){return this._modalStack.hasOpenModals()}}return t.\u0275fac=function(e){return new(e||t)(x(ms),x(St),x(VU),x(HU))},t.\u0275prov=P({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),cC=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=fe({type:t}),t.\u0275inj=de({providers:[UU]}),t})(),$U=(()=>{class t{constructor(e){this._ngbConfig=e,this.destroyOnHide=!0,this.orientation="horizontal",this.roles="tablist",this.keyboard=!1}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(e){this._animation=e}}return t.\u0275fac=function(e){return new(e||t)(x(mu))},t.\u0275prov=P({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const uC=t=>Lr(t)&&""!==t;let jU=0,Cu=(()=>{class t{constructor(e){this.templateRef=e}}return t.\u0275fac=function(e){return new(e||t)(v(Ge))},t.\u0275dir=k({type:t,selectors:[["ng-template","ngbNavContent",""]]}),t})(),Oa=(()=>{class t{constructor(e,i){this.elementRef=i,this.disabled=!1,this.shown=new j,this.hidden=new j,this._nav=e}ngAfterContentChecked(){this.contentTpl=this.contentTpls.first}ngOnInit(){Lr(this.domId)||(this.domId="ngb-nav-"+jU++)}get active(){return this._nav.activeId===this.id}get id(){return uC(this._id)?this._id:this.domId}get panelDomId(){return`${this.domId}-panel`}isPanelInDom(){return(Lr(this.destroyOnHide)?!this.destroyOnHide:!this._nav.destroyOnHide)||this.active}}return t.\u0275fac=function(e){return new(e||t)(v(ge(()=>Ra)),v(me))},t.\u0275dir=k({type:t,selectors:[["","ngbNavItem",""]],contentQueries:function(e,i,r){if(1&e&&Ie(r,Cu,4),2&e){let s;oe(s=ae())&&(i.contentTpls=s)}},hostVars:2,hostBindings:function(e,i){2&e&&je("nav-item",!0)},inputs:{destroyOnHide:"destroyOnHide",disabled:"disabled",domId:"domId",_id:["ngbNavItem","_id"]},outputs:{shown:"shown",hidden:"hidden"},exportAs:["ngbNavItem"]}),t})(),Ra=(()=>{class t{constructor(e,i,r,s){this.role=e,this._cd=r,this._document=s,this.activeIdChange=new j,this.shown=new j,this.hidden=new j,this.destroy$=new Ae,this.navItemChange$=new Ae,this.navChange=new j,this.animation=i.animation,this.destroyOnHide=i.destroyOnHide,this.orientation=i.orientation,this.roles=i.roles,this.keyboard=i.keyboard}click(e){e.disabled||this._updateActiveId(e.id)}onKeyDown(e){if("tablist"!==this.roles||!this.keyboard)return;const i=e.which,r=this.links.filter(a=>!a.navItem.disabled),{length:s}=r;let o=-1;if(r.forEach((a,l)=>{a.elRef.nativeElement===this._document.activeElement&&(o=l)}),s){switch(i){case yt.ArrowLeft:if("vertical"===this.orientation)return;o=(o-1+s)%s;break;case yt.ArrowRight:if("vertical"===this.orientation)return;o=(o+1)%s;break;case yt.ArrowDown:if("horizontal"===this.orientation)return;o=(o+1)%s;break;case yt.ArrowUp:if("horizontal"===this.orientation)return;o=(o-1+s)%s;break;case yt.Home:o=0;break;case yt.End:o=s-1}"changeWithArrows"===this.keyboard&&this.select(r[o].navItem.id),r[o].elRef.nativeElement.focus(),e.preventDefault()}}select(e){this._updateActiveId(e,!1)}ngAfterContentInit(){if(!Lr(this.activeId)){const e=this.items.first?this.items.first.id:null;uC(e)&&(this._updateActiveId(e,!1),this._cd.detectChanges())}this.items.changes.pipe(_t(this.destroy$)).subscribe(()=>this._notifyItemChanged(this.activeId))}ngOnChanges({activeId:e}){e&&!e.firstChange&&this._notifyItemChanged(e.currentValue)}ngOnDestroy(){this.destroy$.next()}_updateActiveId(e,i=!0){if(this.activeId!==e){let r=!1;i&&this.navChange.emit({activeId:this.activeId,nextId:e,preventDefault:()=>{r=!0}}),r||(this.activeId=e,this.activeIdChange.emit(e),this._notifyItemChanged(e))}}_notifyItemChanged(e){this.navItemChange$.next(this._getItemById(e))}_getItemById(e){return this.items&&this.items.find(i=>i.id===e)||null}}return t.\u0275fac=function(e){return new(e||t)(vr("role"),v($U),v(hn),v(Oe))},t.\u0275dir=k({type:t,selectors:[["","ngbNav",""]],contentQueries:function(e,i,r){if(1&e&&(Ie(r,Oa,4),Ie(r,Eu,5)),2&e){let s;oe(s=ae())&&(i.items=s),oe(s=ae())&&(i.links=s)}},hostVars:6,hostBindings:function(e,i){1&e&&I("keydown.arrowLeft",function(s){return i.onKeyDown(s)})("keydown.arrowRight",function(s){return i.onKeyDown(s)})("keydown.arrowDown",function(s){return i.onKeyDown(s)})("keydown.arrowUp",function(s){return i.onKeyDown(s)})("keydown.Home",function(s){return i.onKeyDown(s)})("keydown.End",function(s){return i.onKeyDown(s)}),2&e&&(Te("aria-orientation","vertical"===i.orientation&&"tablist"===i.roles?"vertical":void 0)("role",i.role?i.role:i.roles?"tablist":void 0),je("nav",!0)("flex-column","vertical"===i.orientation))},inputs:{activeId:"activeId",animation:"animation",destroyOnHide:"destroyOnHide",orientation:"orientation",roles:"roles",keyboard:"keyboard"},outputs:{activeIdChange:"activeIdChange",shown:"shown",hidden:"hidden",navChange:"navChange"},exportAs:["ngbNav"],features:[Dt]}),t})(),Eu=(()=>{class t{constructor(e,i,r,s){this.role=e,this.navItem=i,this.nav=r,this.elRef=s}hasNavItemClass(){return this.navItem.elementRef.nativeElement.nodeType===Node.COMMENT_NODE}}return t.\u0275fac=function(e){return new(e||t)(vr("role"),v(Oa),v(Ra),v(me))},t.\u0275dir=k({type:t,selectors:[["a","ngbNavLink",""]],hostAttrs:["href",""],hostVars:14,hostBindings:function(e,i){1&e&&I("click",function(s){return i.nav.click(i.navItem),s.preventDefault()}),2&e&&(Ji("id",i.navItem.domId),Te("role",i.role?i.role:i.nav.roles?"tab":void 0)("tabindex",i.navItem.disabled?-1:void 0)("aria-controls",i.navItem.isPanelInDom()?i.navItem.panelDomId:null)("aria-selected",i.navItem.active)("aria-disabled",i.navItem.disabled),je("nav-link",!0)("nav-item",i.hasNavItemClass())("active",i.navItem.active)("disabled",i.navItem.disabled))}}),t})();const GU=({classList:t})=>(t.remove("show"),()=>t.remove("active")),zU=(t,n)=>{n&&Qs(t),t.classList.add("show")};let Mg=(()=>{class t{constructor(e){this.elRef=e}}return t.\u0275fac=function(e){return new(e||t)(v(me))},t.\u0275dir=k({type:t,selectors:[["","ngbNavPane",""]],hostAttrs:[1,"tab-pane"],hostVars:5,hostBindings:function(e,i){2&e&&(Ji("id",i.item.panelDomId),Te("role",i.role?i.role:i.nav.roles?"tabpanel":void 0)("aria-labelledby",i.item.domId),je("fade",i.nav.animation))},inputs:{item:"item",nav:"nav",role:"role"}}),t})(),Ng=(()=>{class t{constructor(e,i){this._cd=e,this._ngZone=i,this._activePane=null}isPanelTransitioning(e){return this._activePane?.item===e}ngAfterViewInit(){this._updateActivePane(),this.nav.navItemChange$.pipe(_t(this.nav.destroy$),Gc(this._activePane?.item||null),pu(),function IV(t){return n=>n.lift(new AV(t))}(1)).subscribe(e=>{const i={animation:this.nav.animation,runningTransition:"stop"};this._cd.detectChanges(),this._activePane?Wt(this._ngZone,this._activePane.elRef.nativeElement,GU,i).subscribe(()=>{const r=this._activePane?.item;this._activePane=this._getPaneForItem(e),this._cd.markForCheck(),this._activePane&&(this._activePane.elRef.nativeElement.classList.add("active"),Wt(this._ngZone,this._activePane.elRef.nativeElement,zU,i).subscribe(()=>{e&&(e.shown.emit(),this.nav.shown.emit(e.id))})),r&&(r.hidden.emit(),this.nav.hidden.emit(r.id))}):this._updateActivePane()})}_updateActivePane(){this._activePane=this._getActivePane(),this._activePane?.elRef.nativeElement.classList.add("show"),this._activePane?.elRef.nativeElement.classList.add("active")}_getPaneForItem(e){return this._panes&&this._panes.find(i=>i.item===e)||null}_getActivePane(){return this._panes&&this._panes.find(e=>e.item.active)||null}}return t.\u0275fac=function(e){return new(e||t)(v(hn),v(Me))},t.\u0275cmp=te({type:t,selectors:[["","ngbNavOutlet",""]],viewQuery:function(e,i){if(1&e&&dn(Mg,5),2&e){let r;oe(r=ae())&&(i._panes=r)}},hostVars:2,hostBindings:function(e,i){2&e&&je("tab-content",!0)},inputs:{paneRole:"paneRole",nav:["ngbNavOutlet","nav"]},attrs:rH,decls:1,vars:1,consts:[["ngFor","",3,"ngForOf"],["ngbNavPane","",3,"item","nav","role",4,"ngIf"],["ngbNavPane","",3,"item","nav","role"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(e,i){1&e&&E(0,lH,1,1,"ng-template",0),2&e&&m("ngForOf",i.nav.items)},dependencies:[ni,Ci,Mg,Xo],encapsulation:2,changeDetection:0}),t})(),dC=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=fe({type:t}),t.\u0275inj=de({imports:[[kt]]}),t})(),bC=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=fe({type:t}),t.\u0275inj=de({imports:[[kt]]}),t})(),DC=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=fe({type:t}),t.\u0275inj=de({imports:[[kt]]}),t})(),SC=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=fe({type:t}),t.\u0275inj=de({imports:[[kt]]}),t})(),wC=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=fe({type:t}),t.\u0275inj=de({imports:[[kt]]}),t})(),CC=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=fe({type:t}),t.\u0275inj=de({imports:[[kt]]}),t})(),EC=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=fe({type:t}),t.\u0275inj=de({imports:[[kt]]}),t})(),TC=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=fe({type:t}),t.\u0275inj=de({}),t})();new $("live announcer delay",{providedIn:"root",factory:function e8(){return 100}});let MC=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=fe({type:t}),t.\u0275inj=de({imports:[[kt]]}),t})();const t8=[Uw,$w,Gw,qw,Kw,rC,aC,cC,dC,bC,DC,SC,wC,CC,EC,TC,MC];let n8=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=fe({type:t}),t.\u0275inj=de({imports:[t8,Uw,$w,Gw,qw,Kw,rC,aC,cC,dC,bC,DC,SC,wC,CC,EC,TC,MC]}),t})();const i8=["iframe"];let r8=(()=>{class t{constructor(){}ngAfterViewInit(){this.iframe.nativeElement.id="gist-"+this.gistId;let e=this.iframe.nativeElement.contentDocument||this.iframe.nativeElement.contentElement.contentWindow,i=`\n \n \n \n \n \n