From 9ba648be7a8f0c83442c18ca2b1482f418b1aea1 Mon Sep 17 00:00:00 2001 From: bobbyg603 Date: Tue, 17 Sep 2024 19:38:47 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20BugSplat?= =?UTF-8?q?-Git/ngb-filterable-dropdown@9f496af8f379a08fae174820e77e14895d?= =?UTF-8?q?b62f7a=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ngb-filterable-dropdown-example/index.html | 2 +- ngb-filterable-dropdown-example/main.4370c9f620ab93a6.js | 1 + ngb-filterable-dropdown-example/main.59cad4852a8e80b1.js | 1 - 3 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 ngb-filterable-dropdown-example/main.4370c9f620ab93a6.js delete mode 100644 ngb-filterable-dropdown-example/main.59cad4852a8e80b1.js diff --git a/ngb-filterable-dropdown-example/index.html b/ngb-filterable-dropdown-example/index.html index 3fe56c6..0a826cb 100644 --- a/ngb-filterable-dropdown-example/index.html +++ b/ngb-filterable-dropdown-example/index.html @@ -9,5 +9,5 @@ - + diff --git a/ngb-filterable-dropdown-example/main.4370c9f620ab93a6.js b/ngb-filterable-dropdown-example/main.4370c9f620ab93a6.js new file mode 100644 index 0000000..3252396 --- /dev/null +++ b/ngb-filterable-dropdown-example/main.4370c9f620ab93a6.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkngb_filterable_dropdown_example=self.webpackChunkngb_filterable_dropdown_example||[]).push([[792],{527:()=>{function Jr(e,n){return Object.is(e,n)}let ke=null,Ao=!1,Ro=1;const _n=Symbol("SIGNAL");function q(e){const n=ke;return ke=e,n}const za={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function nd(e){if(Ao)throw new Error("");if(null===ke)return;ke.consumerOnSignalRead(e);const n=ke.nextProducerIndex++;Ka(ke),ne.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function od(e){Ka(e);for(let n=0;n0}function Ka(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function Wm(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function zm(e){return void 0!==e.producerNode}const sd=Symbol("UNSET"),ad=Symbol("COMPUTING"),Za=Symbol("ERRORED"),wI={...za,value:sd,dirty:!0,error:null,equal:Jr,producerMustRecompute:e=>e.value===sd||e.value===ad,producerRecomputeValue(e){if(e.value===ad)throw new Error("Detected cycle in computations.");const n=e.value;e.value=ad;const t=qa(e);let i;try{i=e.computation()}catch(o){i=Za,e.error=o}finally{id(e,t)}n!==sd&&n!==Za&&i!==Za&&e.equal(n,i)?e.value=n:(e.value=i,e.version++)}};let qm=function CI(){throw new Error};function Ym(){qm()}let Qa=null;function Km(e,n){$m()||Ym(),e.equal(e.value,n)||(e.value=n,function SI(e){e.version++,function DI(){Ro++}(),jm(e),Qa?.()}(e))}const MI={...za,equal:Jr,value:void 0};function pe(e){return"function"==typeof e}function Qm(e){const t=e(i=>{Error.call(i),i.stack=(new Error).stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}const ld=Qm(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((i,o)=>`${o+1}) ${i.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t});function Ja(e,n){if(e){const t=e.indexOf(n);0<=t&&e.splice(t,1)}}class Gt{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;const{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(const r of t)r.remove(this);else t.remove(this);const{initialTeardown:i}=this;if(pe(i))try{i()}catch(r){n=r instanceof ld?r.errors:[r]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const r of o)try{e_(r)}catch(s){n=n??[],s instanceof ld?n=[...n,...s.errors]:n.push(s)}}if(n)throw new ld(n)}}add(n){var t;if(n&&n!==this)if(this.closed)e_(n);else{if(n instanceof Gt){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=null!==(t=this._finalizers)&&void 0!==t?t:[]).push(n)}}_hasParent(n){const{_parentage:t}=this;return t===n||Array.isArray(t)&&t.includes(n)}_addParent(n){const{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(n),t):t?[t,n]:n}_removeParent(n){const{_parentage:t}=this;t===n?this._parentage=null:Array.isArray(t)&&Ja(t,n)}remove(n){const{_finalizers:t}=this;t&&Ja(t,n),n instanceof Gt&&n._removeParent(this)}}Gt.EMPTY=(()=>{const e=new Gt;return e.closed=!0,e})();const Jm=Gt.EMPTY;function Xm(e){return e instanceof Gt||e&&"closed"in e&&pe(e.remove)&&pe(e.add)&&pe(e.unsubscribe)}function e_(e){pe(e)?e():e.unsubscribe()}const Vi={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Xa={setTimeout(e,n,...t){const{delegate:i}=Xa;return i?.setTimeout?i.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){const{delegate:n}=Xa;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function t_(e){Xa.setTimeout(()=>{const{onUnhandledError:n}=Vi;if(!n)throw e;n(e)})}function es(){}const AI=cd("C",void 0,void 0);function cd(e,n,t){return{kind:e,value:n,error:t}}let Hi=null;function el(e){if(Vi.useDeprecatedSynchronousErrorHandling){const n=!Hi;if(n&&(Hi={errorThrown:!1,error:null}),e(),n){const{errorThrown:t,error:i}=Hi;if(Hi=null,t)throw i}}else e()}class ud extends Gt{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,Xm(n)&&n.add(this)):this.destination=BI}static create(n,t,i){return new fd(n,t,i)}next(n){this.isStopped?hd(function xI(e){return cd("N",e,void 0)}(n),this):this._next(n)}error(n){this.isStopped?hd(function RI(e){return cd("E",void 0,e)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?hd(AI,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const kI=Function.prototype.bind;function dd(e,n){return kI.call(e,n)}class FI{constructor(n){this.partialObserver=n}next(n){const{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(i){tl(i)}}error(n){const{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(i){tl(i)}else tl(n)}complete(){const{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){tl(t)}}}class fd extends ud{constructor(n,t,i){let o;if(super(),pe(n)||!n)o={next:n??void 0,error:t??void 0,complete:i??void 0};else{let r;this&&Vi.useDeprecatedNextContext?(r=Object.create(n),r.unsubscribe=()=>this.unsubscribe(),o={next:n.next&&dd(n.next,r),error:n.error&&dd(n.error,r),complete:n.complete&&dd(n.complete,r)}):o=n}this.destination=new FI(o)}}function tl(e){Vi.useDeprecatedSynchronousErrorHandling?function PI(e){Vi.useDeprecatedSynchronousErrorHandling&&Hi&&(Hi.errorThrown=!0,Hi.error=e)}(e):t_(e)}function hd(e,n){const{onStoppedNotification:t}=Vi;t&&Xa.setTimeout(()=>t(e,n))}const BI={closed:!0,next:es,error:function LI(e){throw e},complete:es},pd="function"==typeof Symbol&&Symbol.observable||"@@observable";function ts(e){return e}let Qe=(()=>{class e{constructor(t){t&&(this._subscribe=t)}lift(t){const i=new e;return i.source=this,i.operator=t,i}subscribe(t,i,o){const r=function HI(e){return e&&e instanceof ud||function VI(e){return e&&pe(e.next)&&pe(e.error)&&pe(e.complete)}(e)&&Xm(e)}(t)?t:new fd(t,i,o);return el(()=>{const{operator:s,source:a}=this;r.add(s?s.call(r,a):a?this._subscribe(r):this._trySubscribe(r))}),r}_trySubscribe(t){try{return this._subscribe(t)}catch(i){t.error(i)}}forEach(t,i){return new(i=i_(i))((o,r)=>{const s=new fd({next:a=>{try{t(a)}catch(l){r(l),s.unsubscribe()}},error:r,complete:o});this.subscribe(s)})}_subscribe(t){var i;return null===(i=this.source)||void 0===i?void 0:i.subscribe(t)}[pd](){return this}pipe(...t){return function n_(e){return 0===e.length?ts:1===e.length?e[0]:function(t){return e.reduce((i,o)=>o(i),t)}}(t)(this)}toPromise(t){return new(t=i_(t))((i,o)=>{let r;this.subscribe(s=>r=s,s=>o(s),()=>i(r))})}}return e.create=n=>new e(n),e})();function i_(e){var n;return null!==(n=e??Vi.Promise)&&void 0!==n?n:Promise}const jI=Qm(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let Ge=(()=>{class e extends Qe{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const i=new o_(this,this);return i.operator=t,i}_throwIfClosed(){if(this.closed)throw new jI}next(t){el(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(t)}})}error(t){el(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;const{observers:i}=this;for(;i.length;)i.shift().error(t)}})}complete(){el(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return(null===(t=this.observers)||void 0===t?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){const{hasError:i,isStopped:o,observers:r}=this;return i||o?Jm:(this.currentObservers=null,r.push(t),new Gt(()=>{this.currentObservers=null,Ja(r,t)}))}_checkFinalizedStatuses(t){const{hasError:i,thrownError:o,isStopped:r}=this;i?t.error(o):r&&t.complete()}asObservable(){const t=new Qe;return t.source=this,t}}return e.create=(n,t)=>new o_(n,t),e})();class o_ extends Ge{constructor(n,t){super(),this.destination=n,this.source=t}next(n){var t,i;null===(i=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===i||i.call(t,n)}error(n){var t,i;null===(i=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===i||i.call(t,n)}complete(){var n,t;null===(t=null===(n=this.destination)||void 0===n?void 0:n.complete)||void 0===t||t.call(n)}_subscribe(n){var t,i;return null!==(i=null===(t=this.source)||void 0===t?void 0:t.subscribe(n))&&void 0!==i?i:Jm}}class $I extends Ge{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){const t=super._subscribe(n);return!t.closed&&n.next(this._value),t}getValue(){const{hasError:n,thrownError:t,_value:i}=this;if(n)throw t;return this._throwIfClosed(),i}next(n){super.next(this._value=n)}}function Ut(e){return n=>{if(function GI(e){return pe(e?.lift)}(n))return n.lift(function(t){try{return e(t,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function lt(e,n,t,i,o){return new UI(e,n,t,i,o)}class UI extends ud{constructor(n,t,i,o,r,s){super(n),this.onFinalize=r,this.shouldUnsubscribe=s,this._next=t?function(a){try{t(a)}catch(l){n.error(l)}}:super._next,this._error=o?function(a){try{o(a)}catch(l){n.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:t}=this;super.unsubscribe(),!t&&(null===(n=this.onFinalize)||void 0===n||n.call(this))}}}function Fn(e,n){return Ut((t,i)=>{let o=0;t.subscribe(lt(i,r=>{i.next(e.call(n,r,o++))}))})}typeof navigator<"u"&&navigator,typeof navigator<"u"&&!/Opera/.test(navigator.userAgent)&&navigator,typeof navigator<"u"&&(/MSIE/.test(navigator.userAgent)||navigator),typeof navigator<"u"&&!/Opera|WebKit/.test(navigator.userAgent)&&navigator,typeof navigator<"u"&&navigator;class D extends Error{constructor(n,t){super(function xo(e,n){return`NG0${Math.abs(e)}${n?": "+n:""}`}(n,t)),this.code=n}}function ii(e){return{toString:e}.toString()}const ko="__parameters__";function Lo(e,n,t){return ii(()=>{const i=function Dd(e){return function(...t){if(e){const i=e(...t);for(const o in i)this[o]=i[o]}}}(n);function o(...r){if(this instanceof o)return i.apply(this,r),this;const s=new o(...r);return a.annotation=s,a;function a(l,c,u){const d=l.hasOwnProperty(ko)?l[ko]:Object.defineProperty(l,ko,{value:[]})[ko];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),l}}return t&&(o.prototype=Object.create(t.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}const me=globalThis;function fe(e){for(let n in e)if(e[n]===fe)return n;throw Error("Could not find renamed property on target object.")}function jM(e,n){for(const t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function Je(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Je).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const n=e.toString();if(null==n)return""+n;const t=n.indexOf("\n");return-1===t?n:n.substring(0,t)}function Ed(e,n){return null==e||""===e?null===n?"":n:null==n||""===n?e:e+" "+n}const $M=fe({__forward_ref__:fe});function ue(e){return e.__forward_ref__=ue,e.toString=function(){return Je(this())},e}function j(e){return sl(e)?e():e}function sl(e){return"function"==typeof e&&e.hasOwnProperty($M)&&e.__forward_ref__===ue}function R(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function se(e){return{providers:e.providers||[],imports:e.imports||[]}}function al(e){return N_(e,cl)||N_(e,T_)}function N_(e,n){return e.hasOwnProperty(n)?e[n]:null}function ll(e){return e&&(e.hasOwnProperty(wd)||e.hasOwnProperty(qM))?e[wd]:null}const cl=fe({\u0275prov:fe}),wd=fe({\u0275inj:fe}),T_=fe({ngInjectableDef:fe}),qM=fe({ngInjectorDef:fe});class A{constructor(n,t){this._desc=n,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=R({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Md(e){return e&&!!e.\u0275providers}const is=fe({\u0275cmp:fe}),Sd=fe({\u0275dir:fe}),Od=fe({\u0275pipe:fe}),M_=fe({\u0275mod:fe}),oi=fe({\u0275fac:fe}),os=fe({__NG_ELEMENT_ID__:fe}),S_=fe({__NG_ENV_ID__:fe});function W(e){return"string"==typeof e?e:null==e?"":String(e)}function Ad(e,n){throw new D(-201,!1)}var J=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(J||{});let Rd;function O_(){return Rd}function kt(e){const n=Rd;return Rd=e,n}function A_(e,n,t){const i=al(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:t&J.Optional?null:void 0!==n?n:void Ad()}const rs={},xd="__NG_DI_FLAG__",ul="ngTempTokenPath",XM=/\n/gm,R_="__source";let Bo;function Di(e){const n=Bo;return Bo=e,n}function nS(e,n=J.Default){if(void 0===Bo)throw new D(-203,!1);return null===Bo?A_(e,void 0,n):Bo.get(e,n&J.Optional?null:void 0,n)}function ee(e,n=J.Default){return(O_()||nS)(j(e),n)}function m(e,n=J.Default){return ee(e,dl(n))}function dl(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Pd(e){const n=[];for(let t=0;tArray.isArray(t)?Vo(t,n):n(t))}function P_(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function fl(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function qt(e,n,t){let i=Ho(e,n);return i>=0?e[1|i]=t:(i=~i,function k_(e,n,t,i){let o=e.length;if(o==n)e.push(t,i);else if(1===o)e.push(i,e[0]),e[0]=t;else{for(o--,e.push(e[o-1],e[o]);o>n;)e[o]=e[o-2],o--;e[n]=t,e[n+1]=i}}(e,i,n,t)),i}function Bd(e,n){const t=Ho(e,n);if(t>=0)return e[1|t]}function Ho(e,n){return function F_(e,n,t){let i=0,o=e.length>>t;for(;o!==i;){const r=i+(o-i>>1),s=e[r<n?o=r:i=r+1}return~(o<n){s=r-1;break}}}for(;r-1){let r;for(;++or?"":o[u+1].toLowerCase(),2&i&&c!==d){if(yn(i))return!1;s=!0}}}}else{if(!s&&!yn(i)&&!yn(l))return!1;if(s&&yn(l))continue;s=!1,i=l|1&i}}return yn(i)||s}function yn(e){return!(1&e)}function pS(e,n,t,i){if(null===n)return-1;let o=0;if(i||!t){let r=!1;for(;o-1)for(t++;t0?'="'+a+'"':"")+"]"}else 8&i?o+="."+s:4&i&&(o+=" "+s);else""!==o&&!yn(s)&&(n+=G_(r,o),o=""),i=s,r=r||!yn(i);t++}return""!==o&&(n+=G_(r,o)),n}function ot(e){return ii(()=>{const n=W_(e),t={...n,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===gl.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||vn.Emulated,styles:e.styles||te,_:null,schemas:e.schemas||null,tView:null,id:""};z_(t);const i=e.dependencies;return t.directiveDefs=ml(i,!1),t.pipeDefs=ml(i,!0),t.id=function NS(e){let n=0;const t=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const o of t)n=Math.imul(31,n)+o.charCodeAt(0)|0;return n+=2147483648,"c"+n}(t),t})}function ES(e){return Z(e)||Xe(e)}function wS(e){return null!==e}function de(e){return ii(()=>({type:e.type,bootstrap:e.bootstrap||te,declarations:e.declarations||te,imports:e.imports||te,exports:e.exports||te,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function U_(e,n){if(null==e)return Ln;const t={};for(const i in e)if(e.hasOwnProperty(i)){const o=e[i];let r,s,a=Ei.None;Array.isArray(o)?(a=o[0],r=o[1],s=o[2]??r):(r=o,s=o),n?(t[r]=a!==Ei.None?[i,a]:i,n[r]=s):t[r]=i}return t}function S(e){return ii(()=>{const n=W_(e);return z_(n),n})}function Et(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function Z(e){return e[is]||null}function Xe(e){return e[Sd]||null}function ct(e){return e[Od]||null}function W_(e){const n={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputTransforms:null,inputConfig:e.inputs||Ln,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||te,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:U_(e.inputs,n),outputs:U_(e.outputs),debugInfo:null}}function z_(e){e.features?.forEach(n=>n(e))}function ml(e,n){if(!e)return null;const t=n?ct:ES;return()=>("function"==typeof e?e():e).map(i=>t(i)).filter(wS)}function TS(...e){return{\u0275providers:$d(0,e),\u0275fromNgModule:!0}}function $d(e,...n){const t=[],i=new Set;let o;const r=s=>{t.push(s)};return Vo(n,s=>{const a=s;vl(a,r,[],i)&&(o||=[],o.push(a))}),void 0!==o&&q_(o,r),t}function q_(e,n){for(let t=0;t{n(r,i)})}}function vl(e,n,t,i){if(!(e=j(e)))return!1;let o=null,r=ll(e);const s=!r&&Z(e);if(r||s){if(s&&!s.standalone)return!1;o=e}else{const l=e.ngModule;if(r=ll(l),!r)return!1;o=l}const a=i.has(o);if(s){if(a)return!1;if(i.add(o),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const c of l)vl(c,n,t,i)}}else{if(!r)return!1;{if(null!=r.imports&&!a){let c;i.add(o);try{Vo(r.imports,u=>{vl(u,n,t,i)&&(c||=[],c.push(u))})}finally{}void 0!==c&&q_(c,n)}if(!a){const c=$i(o)||(()=>new o);n({provide:o,useFactory:c,deps:te},o),n({provide:Vd,useValue:o,multi:!0},o),n({provide:Bn,useValue:()=>ee(o),multi:!0},o)}const l=r.providers;if(null!=l&&!a){const c=e;Gd(l,u=>{n(u,c)})}}}return o!==e&&void 0!==e.providers}function Gd(e,n){for(let t of e)Md(t)&&(t=t.\u0275providers),Array.isArray(t)?Gd(t,n):n(t)}const IS=fe({provide:String,useValue:fe});function Ud(e){return null!==e&&"object"==typeof e&&IS in e}function Ui(e){return"function"==typeof e}const Wd=new A(""),yl={},SS={};let zd;function bl(){return void 0===zd&&(zd=new pl),zd}class Yt{}class jo extends Yt{get destroyed(){return this._destroyed}constructor(n,t,i,o){super(),this.parent=t,this.source=i,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Yd(n,s=>this.processProvider(s)),this.records.set(L_,$o(void 0,this)),o.has("environment")&&this.records.set(Yt,$o(void 0,this));const r=this.records.get(Wd);null!=r&&"string"==typeof r.value&&this.scopes.add(r.value),this.injectorDefTypes=new Set(this.get(Vd,te,J.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const n=q(null);try{for(const i of this._ngOnDestroyHooks)i.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const i of t)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),q(n)}}onDestroy(n){return this.assertNotDestroyed(),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){this.assertNotDestroyed();const t=Di(this),i=kt(void 0);try{return n()}finally{Di(t),kt(i)}}get(n,t=rs,i=J.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(S_))return n[S_](this);i=dl(i);const r=Di(this),s=kt(void 0);try{if(!(i&J.SkipSelf)){let l=this.records.get(n);if(void 0===l){const c=function PS(e){return"function"==typeof e||"object"==typeof e&&e instanceof A}(n)&&al(n);l=c&&this.injectableDefInScope(c)?$o(qd(n),yl):null,this.records.set(n,l)}if(null!=l)return this.hydrate(n,l)}return(i&J.Self?bl():this.parent).get(n,t=i&J.Optional&&t===rs?null:t)}catch(a){if("NullInjectorError"===a.name){if((a[ul]=a[ul]||[]).unshift(Je(n)),r)throw a;return function oS(e,n,t,i){const o=e[ul];throw n[R_]&&o.unshift(n[R_]),e.message=function rS(e,n,t,i=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=Je(n);if(Array.isArray(n))o=n.map(Je).join(" -> ");else if("object"==typeof n){let r=[];for(let s in n)if(n.hasOwnProperty(s)){let a=n[s];r.push(s+":"+("string"==typeof a?JSON.stringify(a):Je(a)))}o=`{${r.join(", ")}}`}return`${t}${i?"("+i+")":""}[${o}]: ${e.replace(XM,"\n ")}`}("\n"+e.message,o,t,i),e.ngTokenPath=o,e[ul]=null,e}(a,n,"R3InjectorError",this.source)}throw a}finally{kt(s),Di(r)}}resolveInjectorInitializers(){const n=q(null),t=Di(this),i=kt(void 0);try{const r=this.get(Bn,te,J.Self);for(const s of r)s()}finally{Di(t),kt(i),q(n)}}toString(){const n=[],t=this.records;for(const i of t.keys())n.push(Je(i));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new D(205,!1)}processProvider(n){let t=Ui(n=j(n))?n:j(n&&n.provide);const i=function AS(e){return Ud(e)?$o(void 0,e.useValue):$o(Z_(e),yl)}(n);if(!Ui(n)&&!0===n.multi){let o=this.records.get(t);o||(o=$o(void 0,yl,!0),o.factory=()=>Pd(o.multi),this.records.set(t,o)),t=n,o.multi.push(n)}this.records.set(t,i)}hydrate(n,t){const i=q(null);try{return t.value===yl&&(t.value=SS,t.value=t.factory()),"object"==typeof t.value&&t.value&&function xS(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{q(i)}}injectableDefInScope(n){if(!n.providedIn)return!1;const t=j(n.providedIn);return"string"==typeof t?"any"===t||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(n){const t=this._onDestroyHooks.indexOf(n);-1!==t&&this._onDestroyHooks.splice(t,1)}}function qd(e){const n=al(e),t=null!==n?n.factory:$i(e);if(null!==t)return t;if(e instanceof A)throw new D(204,!1);if(e instanceof Function)return function OS(e){if(e.length>0)throw new D(204,!1);const t=function zM(e){return e&&(e[cl]||e[T_])||null}(e);return null!==t?()=>t.factory(e):()=>new e}(e);throw new D(204,!1)}function Z_(e,n,t){let i;if(Ui(e)){const o=j(e);return $i(o)||qd(o)}if(Ud(e))i=()=>j(e.useValue);else if(function K_(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...Pd(e.deps||[]));else if(function Y_(e){return!(!e||!e.useExisting)}(e))i=()=>ee(j(e.useExisting));else{const o=j(e&&(e.useClass||e.provide));if(!function RS(e){return!!e.deps}(e))return $i(o)||qd(o);i=()=>new o(...Pd(e.deps))}return i}function $o(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function Yd(e,n){for(const t of e)Array.isArray(t)?Yd(t,n):t&&Md(t)?Yd(t.\u0275providers,n):n(t)}const Oe=0,E=1,k=2,We=3,bn=4,ut=5,wt=6,Uo=7,De=8,ze=9,Vn=10,G=11,us=12,X_=13,Wo=14,Ae=15,Wi=16,zo=17,ri=18,qo=19,ev=20,wi=21,El=22,sn=23,x=25,Zd=1,Hn=7,Yo=9,Fe=10;var Cl=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Cl||{});function rt(e){return Array.isArray(e)&&"object"==typeof e[Zd]}function vt(e){return Array.isArray(e)&&!0===e[Zd]}function Qd(e){return!!(4&e.flags)}function zi(e){return e.componentOffset>-1}function Nl(e){return!(1&~e.flags)}function Dn(e){return!!e.template}function fs(e){return!!(512&e[k])}class YS{constructor(n,t,i){this.previousValue=n,this.currentValue=t,this.firstChange=i}isFirstChange(){return this.firstChange}}function ov(e,n,t,i){null!==n?n.applyValueToInputSignal(n,i):e[t]=i}function Ct(){return rv}function rv(e){return e.type.prototype.ngOnChanges&&(e.setInput=ZS),KS}function KS(){const e=av(this),n=e?.current;if(n){const t=e.previous;if(t===Ln)e.previous=n;else for(let i in n)t[i]=n[i];e.current=null,this.ngOnChanges(n)}}function ZS(e,n,t,i,o){const r=this.declaredInputs[i],s=av(e)||function QS(e,n){return e[sv]=n}(e,{previous:Ln,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[r];a[r]=new YS(c&&c.currentValue,t,l===Ln),ov(e,n,o,t)}Ct.ngInherit=!0;const sv="__ngSimpleChanges__";function av(e){return e[sv]||null}const jn=function(e,n,t){};function ne(e){for(;Array.isArray(e);)e=e[Oe];return e}function hs(e,n){return ne(n[e])}function Nt(e,n){return ne(n[e.index])}function ps(e,n){return e.data[n]}function Kt(e,n){const t=n[e];return rt(t)?t:t[Oe]}function nf(e){return!(128&~e[k])}function an(e,n){return null==n?null:e[n]}function uv(e){e[zo]=0}function dv(e){1024&e[k]||(e[k]|=1024,nf(e)&&Tl(e))}function gs(e){return!!(9216&e[k]||e[sn]?.dirty)}function rf(e){e[Vn].changeDetectionScheduler?.notify(7),64&e[k]&&(e[k]|=1024),gs(e)&&Tl(e)}function Tl(e){e[Vn].changeDetectionScheduler?.notify(0);let n=si(e);for(;null!==n&&!(8192&n[k])&&(n[k]|=8192,nf(n));)n=si(n)}function Il(e,n){if(!(256&~e[k]))throw new D(911,!1);null===e[wi]&&(e[wi]=[]),e[wi].push(n)}function si(e){const n=e[We];return vt(n)?n[We]:n}const U={lFrame:Cv(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let hv=!1;function pv(){return U.bindingsEnabled}function Yi(){return null!==U.skipHydrationRootTNode}function b(){return U.lFrame.lView}function Y(){return U.lFrame.tView}function Ee(e){return U.lFrame.contextLView=e,e[De]}function we(e){return U.lFrame.contextLView=null,e}function he(){let e=gv();for(;null!==e&&64===e.type;)e=e.parent;return e}function gv(){return U.lFrame.currentTNode}function En(e,n){const t=U.lFrame;t.currentTNode=e,t.isParent=n}function lf(){return U.lFrame.isParent}function cf(){U.lFrame.isParent=!1}function vv(){return hv}function yv(e){hv=e}function wn(){return U.lFrame.bindingIndex++}function li(e){const n=U.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function dO(e,n){const t=U.lFrame;t.bindingIndex=t.bindingRootIndex=e,uf(n)}function uf(e){U.lFrame.currentDirectiveIndex=e}function ff(){return U.lFrame.currentQueryIndex}function Sl(e){U.lFrame.currentQueryIndex=e}function hO(e){const n=e[E];return 2===n.type?n.declTNode:1===n.type?e[ut]:null}function Ev(e,n,t){if(t&J.SkipSelf){let o=n,r=e;for(;!(o=o.parent,null!==o||t&J.Host||(o=hO(r),null===o||(r=r[Wo],10&o.type))););if(null===o)return!1;n=o,e=r}const i=U.lFrame=wv();return i.currentTNode=n,i.lView=e,!0}function hf(e){const n=wv(),t=e[E];U.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function wv(){const e=U.lFrame,n=null===e?null:e.child;return null===n?Cv(e):n}function Cv(e){const n={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=n),n}function Nv(){const e=U.lFrame;return U.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Tv=Nv;function pf(){const e=Nv();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function dt(){return U.lFrame.selectedIndex}function Ki(e){U.lFrame.selectedIndex=e}function Ce(){const e=U.lFrame;return ps(e.tView,e.selectedIndex)}function _s(){U.lFrame.currentNamespace="svg"}let Mv=!0;function vs(){return Mv}function $n(e){Mv=e}function Ol(e,n){for(let t=n.directiveStart,i=n.directiveEnd;t=i)break}else n[l]<0&&(e[zo]+=65536),(a>14>16&&(3&e[k])===n&&(e[k]+=16384,Ov(a,r)):Ov(a,r)}const Ko=-1;class ys{constructor(n,t,i){this.factory=n,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=i}}const _f={};class Zi{constructor(n,t){this.injector=n,this.parentInjector=t}get(n,t,i){i=dl(i);const o=this.injector.get(n,_f,i);return o!==_f||t===_f?o:this.parentInjector.get(n,t,i)}}function vf(e){return e!==Ko}function bs(e){return 32767&e}function Ds(e,n){let t=function wO(e){return e>>16}(e),i=n;for(;t>0;)i=i[Wo],t--;return i}let yf=!0;function xl(e){const n=yf;return yf=e,n}const Rv=255,xv=5;let NO=0;const Gn={};function Pl(e,n){const t=Pv(e,n);if(-1!==t)return t;const i=n[E];i.firstCreatePass&&(e.injectorIndex=n.length,bf(i.data,e),bf(n,null),bf(i.blueprint,null));const o=kl(e,n),r=e.injectorIndex;if(vf(o)){const s=bs(o),a=Ds(o,n),l=a[E].data;for(let c=0;c<8;c++)n[r+c]=a[s+c]|l[s+c]}return n[r+8]=o,r}function bf(e,n){e.push(0,0,0,0,0,0,0,0,n)}function Pv(e,n){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===n[e.injectorIndex+8]?-1:e.injectorIndex}function kl(e,n){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let t=0,i=null,o=n;for(;null!==o;){if(i=jv(o),null===i)return Ko;if(t++,o=o[Wo],-1!==i.injectorIndex)return i.injectorIndex|t<<16}return Ko}function Df(e,n,t){!function TO(e,n,t){let i;"string"==typeof t?i=t.charCodeAt(0)||0:t.hasOwnProperty(os)&&(i=t[os]),null==i&&(i=t[os]=NO++);const o=i&Rv;n.data[e+(o>>xv)]|=1<=0?n&Rv:OO:n}(t);if("function"==typeof r){if(!Ev(n,e,i))return i&J.Host?kv(o,0,i):Fv(n,t,i,o);try{let s;if(s=r(i),null!=s||i&J.Optional)return s;Ad()}finally{Tv()}}else if("number"==typeof r){let s=null,a=Pv(e,n),l=Ko,c=i&J.Host?n[Ae][ut]:null;for((-1===a||i&J.SkipSelf)&&(l=-1===a?kl(e,n):n[a+8],l!==Ko&&Hv(i,!1)?(s=n[E],a=bs(l),n=Ds(l,n)):a=-1);-1!==a;){const u=n[E];if(Vv(r,a,u.data)){const d=MO(a,n,t,s,i,c);if(d!==Gn)return d}l=n[a+8],l!==Ko&&Hv(i,n[E].data[a+8]===c)&&Vv(r,a,n)?(s=u,a=bs(l),n=Ds(l,n)):a=-1}}return o}function MO(e,n,t,i,o,r){const s=n[E],a=s.data[e+8],u=Fl(a,s,t,null==i?zi(a)&&yf:i!=s&&!!(3&a.type),o&J.Host&&r===a);return null!==u?Qi(n,s,u,a):Gn}function Fl(e,n,t,i,o){const r=e.providerIndexes,s=n.data,a=1048575&r,l=e.directiveStart,u=r>>20,h=o?a+u:e.directiveEnd;for(let f=i?a:a+u;f=l&&p.type===t)return f}if(o){const f=s[l];if(f&&Dn(f)&&f.type===t)return l}return null}function Qi(e,n,t,i){let o=e[t];const r=n.data;if(function bO(e){return e instanceof ys}(o)){const s=o;s.resolving&&function ZM(e,n){throw n&&n.join(" > "),new D(-200,e)}(function ae(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():W(e)}(r[t]));const a=xl(s.canSeeViewProviders);s.resolving=!0;const c=s.injectImpl?kt(s.injectImpl):null;Ev(e,i,J.Default);try{o=e[t]=s.factory(void 0,r,e,i),n.firstCreatePass&&t>=i.directiveStart&&function vO(e,n,t){const{ngOnChanges:i,ngOnInit:o,ngDoCheck:r}=n.type.prototype;if(i){const s=rv(n);(t.preOrderHooks??=[]).push(e,s),(t.preOrderCheckHooks??=[]).push(e,s)}o&&(t.preOrderHooks??=[]).push(0-e,o),r&&((t.preOrderHooks??=[]).push(e,r),(t.preOrderCheckHooks??=[]).push(e,r))}(t,r[t],n)}finally{null!==c&&kt(c),xl(a),s.resolving=!1,Tv()}}return o}function Vv(e,n,t){return!!(t[n+(e>>xv)]&1<{const n=e.prototype.constructor,t=n[oi]||Ef(n),i=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==i;){const r=o[oi]||Ef(o);if(r&&r!==t)return r;o=Object.getPrototypeOf(o)}return r=>new r})}function Ef(e){return sl(e)?()=>{const n=Ef(j(e));return n&&n()}:$i(e)}function jv(e){const n=e[E],t=n.type;return 2===t?n.declTNode:1===t?e[ut]:null}function zv(e,n=null,t=null,i){const o=qv(e,n,t,i);return o.resolveInjectorInitializers(),o}function qv(e,n=null,t=null,i,o=new Set){const r=[t||te,TS(e)];return i=i||("object"==typeof e?void 0:Je(e)),new jo(r,n||bl(),i||null,o)}class xe{static#e=this.THROW_IF_NOT_FOUND=rs;static#t=this.NULL=new pl;static create(n,t){if(Array.isArray(n))return zv({name:""},t,n,"");{const i=n.name??"";return zv({name:i},n.parent,n.providers,i)}}static#n=this.\u0275prov=R({token:xe,providedIn:"any",factory:()=>ee(L_)});static#i=this.__NG_ELEMENT_ID__=-1}new A("").__NG_ELEMENT_ID__=e=>{const n=he();if(null===n)throw new D(204,!1);if(2&n.type)return n.value;if(e&J.Optional)return null;throw new D(204,!1)};function Cf(e){return e.ngOriginalError}class ln{constructor(){this._console=console}handleError(n){const t=this._findOriginalError(n);this._console.error("ERROR",n),t&&this._console.error("ORIGINAL ERROR",t)}_findOriginalError(n){let t=n&&Cf(n);for(;t&&Cf(t);)t=Cf(t);return t||null}}const Kv=new A("",{providedIn:"root",factory:()=>m(ln).handleError.bind(void 0)});let ci=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=jO;static#t=this.__NG_ENV_ID__=t=>t}return e})();class HO extends ci{constructor(n){super(),this._lView=n}onDestroy(n){return Il(this._lView,n),()=>function sf(e,n){if(null===e[wi])return;const t=e[wi].indexOf(n);-1!==t&&e[wi].splice(t,1)}(this._lView,n)}}function jO(){return new HO(b())}function $O(){return Jo(he(),b())}function Jo(e,n){return new ge(Nt(e,n))}let ge=(()=>{class e{constructor(t){this.nativeElement=t}static#e=this.__NG_ELEMENT_ID__=$O}return e})();function Qv(e){return e instanceof ge?e.nativeElement:e}let Xo=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new $I(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const t=this.taskId++;return this.pendingTasks.add(t),t}remove(t){this.pendingTasks.delete(t),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static#e=this.\u0275prov=R({token:e,providedIn:"root",factory:()=>new e})}return e})();const V=class GO extends Ge{constructor(n=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=n,function Q_(){return void 0!==O_()||null!=function tS(){return Bo}()}()&&(this.destroyRef=m(ci,{optional:!0})??void 0,this.pendingTasks=m(Xo,{optional:!0})??void 0)}emit(n){const t=q(null);try{super.next(n)}finally{q(t)}}subscribe(n,t,i){let o=n,r=t||(()=>null),s=i;if(n&&"object"==typeof n){const l=n;o=l.next?.bind(l),r=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(r=this.wrapInTimeout(r),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));const a=super.subscribe({next:o,error:r,complete:s});return n instanceof Gt&&n.add(a),a}wrapInTimeout(n){return t=>{const i=this.pendingTasks?.add();setTimeout(()=>{n(t),void 0!==i&&this.pendingTasks?.remove(i)})}}};function UO(){return this._results[Symbol.iterator]()}class Nf{static#e=Symbol.iterator;get changes(){return this._changes??=new V}constructor(n=!1){this._emitDistinctChangesOnly=n,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;const t=Nf.prototype;t[Symbol.iterator]||(t[Symbol.iterator]=UO)}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,t){return this._results.reduce(n,t)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,t){this.dirty=!1;const i=function Ft(e){return e.flat(Number.POSITIVE_INFINITY)}(n);(this._changesDetected=!function cS(e,n,t){if(e.length!==n.length)return!1;for(let i=0;ifA}),fA="ng",_y=new A(""),nr=new A("",{providedIn:"platform",factory:()=>"unknown"}),vy=new A("",{providedIn:"root",factory:()=>function Ci(){if(void 0!==Mf)return Mf;if(typeof document<"u")return document;throw new D(210,!1)}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let yy=()=>null;function kf(e,n,t=!1){return yy(e,n,t)}const Iy=new A("",{providedIn:"root",factory:()=>!1});class xy{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}function Ni(e){return e instanceof xy?e.changingThisBreaksApplicationSecurity:e}const JA=/^>|^->||--!>|)/g,eR="\u200b$1\u200b";var Ti=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Ti||{});let Yf;function Kf(e,n){return Yf(e,n)}function lr(e,n,t,i,o){if(null!=i){let r,s=!1;vt(i)?r=i:rt(i)&&(s=!0,i=i[Oe]);const a=ne(i);0===e&&null!==t?null==o?n0(n,t,a):Xi(n,t,a,o||null,!0):1===e&&null!==t?Xi(n,t,a,o||null,!0):2===e?function xs(e,n,t){const i=nc(e,n);i&&function vR(e,n,t,i){e.removeChild(n,t,i)}(e,i,n,t)}(n,a,s):3===e&&n.destroyNode(a),null!=r&&function DR(e,n,t,i,o){const r=t[Hn];r!==ne(t)&&lr(n,e,i,r,o);for(let a=Fe;an.replace(XA,eR))}(n))}function ec(e,n,t){return e.createElement(n,t)}function Xy(e,n){n[Vn].changeDetectionScheduler?.notify(8),oc(e,n,n[G],2,null,null)}function e0(e,n){const t=e[Yo],i=n[We];(rt(i)||n[Ae]!==i[We][Ae])&&(e[k]|=Cl.HasTransplantedViews),null===t?e[Yo]=[n]:t.push(n)}function Jf(e,n){const t=e[Yo],i=t.indexOf(n);t.splice(i,1)}function Rs(e,n){if(e.length<=Fe)return;const t=Fe+n,i=e[t];if(i){const o=i[Wi];null!==o&&o!==e&&Jf(o,i),n>0&&(e[t-1][bn]=i[bn]);const r=fl(e,Fe+n);!function fR(e,n){Xy(e,n),n[Oe]=null,n[ut]=null}(i[E],i);const s=r[ri];null!==s&&s.detachView(r[E]),i[We]=null,i[bn]=null,i[k]&=-129}return i}function tc(e,n){if(!(256&n[k])){const t=n[G];t.destroyNode&&oc(e,n,t,3,null,null),function pR(e){let n=e[us];if(!n)return Xf(e[E],e);for(;n;){let t=null;if(rt(n))t=n[us];else{const i=n[Fe];i&&(t=i)}if(!t){for(;n&&!n[bn]&&n!==e;)rt(n)&&Xf(n[E],n),n=n[We];null===n&&(n=e),rt(n)&&Xf(n[E],n),t=n&&n[bn]}n=t}}(n)}}function Xf(e,n){if(256&n[k])return;const t=q(null);try{n[k]&=-129,n[k]|=256,n[sn]&&rd(n[sn]),function _R(e,n){let t;if(null!=e&&null!=(t=e.destroyHooks))for(let i=0;i=0?i[s]():i[-s].unsubscribe(),r+=2}else t[r].call(i[t[r+1]]);null!==i&&(n[Uo]=null);const o=n[wi];if(null!==o){n[wi]=null;for(let r=0;r-1){const{encapsulation:r}=e.data[i.directiveStart+o];if(r===vn.None||r===vn.Emulated)return null}return Nt(i,t)}}(e,n.parent,t)}function Xi(e,n,t,i,o){e.insertBefore(n,t,i,o)}function n0(e,n,t){e.appendChild(n,t)}function o0(e,n,t,i,o){null!==i?Xi(e,n,t,i,o):n0(e,n,t)}function nc(e,n){return e.parentNode(n)}function r0(e,n,t){return a0(e,n,t)}let th,a0=function s0(e,n,t){return 40&e.type?Nt(e,t):null};function ic(e,n,t,i){const o=eh(e,i,n),r=n[G],a=r0(i.parent||n[ut],i,n);if(null!=o)if(Array.isArray(t))for(let l=0;lx&&p0(e,n,x,!1),jn(s?2:0,o),t(i,o)}finally{Ki(r),jn(s?3:1,o)}}function rh(e,n,t){if(Qd(n)){const i=q(null);try{const r=n.directiveEnd;for(let s=n.directiveStart;snull;function y0(e,n,t,i,o){for(let r in n){if(!n.hasOwnProperty(r))continue;const s=n[r];if(void 0===s)continue;i??={};let a,l=Ei.None;Array.isArray(s)?(a=s[0],l=s[1]):a=s;let c=r;if(null!==o){if(!o.hasOwnProperty(r))continue;c=o[r]}0===e?b0(i,t,c,a,l):b0(i,t,c,a)}return i}function b0(e,n,t,i,o){let r;e.hasOwnProperty(t)?(r=e[t]).push(n,i):r=e[t]=[n,i],void 0!==o&&r.push(o)}function Vt(e,n,t,i,o,r,s,a){const l=Nt(n,t);let u,c=n.inputs;!a&&null!=c&&(u=c[i])?(hh(e,t,u,i,o),zi(n)&&function kR(e,n){const t=Kt(n,e);16&t[k]||(t[k]|=64)}(t,n.index)):3&n.type&&(i=function PR(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(i),o=null!=s?s(o,n.value||"",i):o,r.setProperty(l,i,o))}function ch(e,n,t,i){if(pv()){const o=null===i?null:{"":-1},r=function jR(e,n){const t=e.directiveRegistry;let i=null,o=null;if(t)for(let r=0;r0;){const t=e[--n];if("number"==typeof t&&t<0)return t}return 0})(s)!=a&&s.push(a),s.push(t,i,r)}}(e,n,i,Ps(e,t,o.hostVars,z),o)}function Un(e,n,t,i,o,r){const s=Nt(e,n);!function dh(e,n,t,i,o,r,s){if(null==r)e.removeAttribute(n,o,t);else{const a=null==s?W(r):s(r,i||"",o);e.setAttribute(n,o,a,t)}}(n[G],s,r,e.value,t,i,o)}function qR(e,n,t,i,o,r){const s=r[n];if(null!==s)for(let a=0;a0&&(t[o-1][bn]=n),i{Tl(e.lView)},consumerOnSignalRead(){this.lView[sn]=this}},ix={...za,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let n=si(e.lView);for(;n&&!A0(n[E]);)n=si(n);n&&dv(n)},consumerOnSignalRead(){this.lView[sn]=this}};function A0(e){return 2!==e.type}const ox=100;function lc(e,n=!0,t=0){const i=e[Vn],o=i.rendererFactory;o.begin?.();try{!function rx(e,n){const t=vv();try{yv(!0),mh(e,n);let i=0;for(;gs(e);){if(i===ox)throw new D(103,!1);i++,mh(e,1)}}finally{yv(t)}}(e,t)}catch(s){throw n&&ac(e,s),s}finally{o.end?.(),i.inlineEffectRunner?.flush()}}function sx(e,n,t,i){const o=n[k];if(!(256&~o))return;n[Vn].inlineEffectRunner?.flush(),hf(n);let a=!0,l=null,c=null;A0(e)?(c=function JR(e){return e[sn]??function XR(e){const n=O0.pop()??Object.create(tx);return n.lView=e,n}(e)}(n),l=qa(c)):null===function Vm(){return ke}()?(a=!1,c=function nx(e){const n=e[sn]??Object.create(ix);return n.lView=e,n}(n),l=qa(c)):n[sn]&&(rd(n[sn]),n[sn]=null);try{uv(n),function bv(e){return U.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==t&&m0(e,n,t,2,i);const u=!(3&~o);if(u){const f=e.preOrderCheckHooks;null!==f&&Al(n,f,null)}else{const f=e.preOrderHooks;null!==f&&Rl(n,f,0,null),gf(n,0)}if(function ax(e){for(let n=ay(e);null!==n;n=ly(n)){if(!(n[k]&Cl.HasTransplantedViews))continue;const t=n[Yo];for(let i=0;i-1&&(Rs(n,i),fl(t,i))}this._attachedToViewContainer=!1}tc(this._lView[E],this._lView)}onDestroy(n){Il(this._lView,n)}markForCheck(){Fs(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[k]&=-129}reattach(){rf(this._lView),this._lView[k]|=128}detectChanges(){this._lView[k]|=1024,lc(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new D(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const n=fs(this._lView),t=this._lView[Wi];null!==t&&!n&&Jf(t,this._lView),Xy(this._lView[E],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new D(902,!1);this._appRef=n;const t=fs(this._lView),i=this._lView[Wi];null!==i&&!t&&e0(i,this._lView),rf(this._lView)}}let Le=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=dx}return e})();const cx=Le,ux=class extends cx{constructor(n,t,i){super(),this._declarationLView=n,this._declarationTContainer=t,this.elementRef=i}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,t){return this.createEmbeddedViewImpl(n,t)}createEmbeddedViewImpl(n,t,i){const o=ur(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:t,dehydratedView:i});return new Ls(o)}};function dx(){return cc(he(),b())}function cc(e,n){return 4&e.type?new ux(n,e,Jo(e,n)):null}let nb=()=>null;function io(e,n){return nb(e,n)}class hr{}const Ws=new A("",{providedIn:"root",factory:()=>!1}),ib=new A("");class iP{}class ob{}class rP{resolveComponentFactory(n){throw function oP(e){const n=Error(`No component factory found for ${Je(e)}.`);return n.ngComponent=e,n}(n)}}class gc{static#e=this.NULL=new rP}class Ih{}let oo=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function sP(){const e=b(),t=Kt(he().index,e);return(rt(t)?t:e)[G]}()}return e})(),aP=(()=>{class e{static#e=this.\u0275prov=R({token:e,providedIn:"root",factory:()=>null})}return e})();const sb=new Set;function It(e){sb.has(e)||(sb.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function ab(e){let n=!0;return setTimeout(()=>{n&&(n=!1,e())}),"function"==typeof me.requestAnimationFrame&&me.requestAnimationFrame(()=>{n&&(n=!1,e())}),()=>{n=!1}}function lb(e){let n=!0;return queueMicrotask(()=>{n&&e()}),()=>{n=!1}}function cb(...e){}class Q{constructor({enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new V(!1),this.onMicrotaskEmpty=new V(!1),this.onStable=new V(!1),this.onError=new V(!1),typeof Zone>"u")throw new D(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!i&&t,o.shouldCoalesceRunChangeDetection=i,o.callbackScheduled=!1,function uP(e){const n=()=>{!function cP(e){e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,Zone.root.run(()=>{ab(()=>{e.callbackScheduled=!1,Sh(e),e.isCheckStableRunning=!0,Mh(e),e.isCheckStableRunning=!1})}),Sh(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(t,i,o,r,s,a)=>{if(function dP(e){return fb(e,"__ignore_ng_zone__")}(a))return t.invokeTask(o,r,s,a);try{return ub(e),t.invokeTask(o,r,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===r.type||e.shouldCoalesceRunChangeDetection)&&n(),db(e)}},onInvoke:(t,i,o,r,s,a,l)=>{try{return ub(e),t.invoke(o,r,s,a,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!function fP(e){return fb(e,"__scheduler_tick__")}(a)&&n(),db(e)}},onHasTask:(t,i,o,r)=>{t.hasTask(o,r),i===o&&("microTask"==r.change?(e._hasPendingMicrotasks=r.microTask,Sh(e),Mh(e)):"macroTask"==r.change&&(e.hasPendingMacrotasks=r.macroTask))},onHandleError:(t,i,o,r)=>(t.handleError(o,r),e.runOutsideAngular(()=>e.onError.emit(r)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Q.isInAngularZone())throw new D(909,!1)}static assertNotInAngularZone(){if(Q.isInAngularZone())throw new D(909,!1)}run(n,t,i){return this._inner.run(n,t,i)}runTask(n,t,i,o){const r=this._inner,s=r.scheduleEventTask("NgZoneEvent: "+o,n,lP,cb,cb);try{return r.runTask(s,t,i)}finally{r.cancelTask(s)}}runGuarded(n,t,i){return this._inner.runGuarded(n,t,i)}runOutsideAngular(n){return this._outer.run(n)}}const lP={};function Mh(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Sh(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&!0===e.callbackScheduled)}function ub(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function db(e){e._nesting--,Mh(e)}class Oh{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new V,this.onMicrotaskEmpty=new V,this.onStable=new V,this.onError=new V}run(n,t,i){return n.apply(t,i)}runGuarded(n,t,i){return n.apply(t,i)}runOutsideAngular(n){return n()}runTask(n,t,i,o){return n.apply(t,i)}}function fb(e,n){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0]?.data?.[n]}let mc=(()=>{class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){const t=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const i of t)i()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=R({token:e,providedIn:"root",factory:()=>new e})}return e})();function vc(e,n,t){let i=t?e.styles:null,o=t?e.classes:null,r=0;if(null!==n)for(let s=0;s0&&f0(e,t,r.join(" "))}}(f,L,g,i),void 0!==t&&function MP(e,n,t){const i=e.projection=[];for(let o=0;o{class e{static#e=this.__NG_ELEMENT_ID__=OP}return e})();function OP(){return Db(he(),b())}const AP=Qt,yb=class extends AP{constructor(n,t,i){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=i}get element(){return Jo(this._hostTNode,this._hostLView)}get injector(){return new tt(this._hostTNode,this._hostLView)}get parentInjector(){const n=kl(this._hostTNode,this._hostLView);if(vf(n)){const t=Ds(n,this._hostLView),i=bs(n);return new tt(t[E].data[i+8],t)}return new tt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const t=bb(this._lContainer);return null!==t&&t[n]||null}get length(){return this._lContainer.length-Fe}createEmbeddedView(n,t,i){let o,r;"number"==typeof i?o=i:null!=i&&(o=i.index,r=i.injector);const s=io(this._lContainer,n.ssrId),a=n.createEmbeddedViewImpl(t||{},r,s);return this.insertImpl(a,o,to(this._hostTNode,s)),a}createComponent(n,t,i,o,r){const s=n&&!function cs(e){return"function"==typeof e}(n);let a;if(s)a=t;else{const p=t||{};a=p.index,i=p.injector,o=p.projectableNodes,r=p.environmentInjector||p.ngModuleRef}const l=s?n:new Ys(Z(n)),c=i||this.parentInjector;if(!r&&null==l.ngModule){const g=(s?c:this.parentInjector).get(Yt,null);g&&(r=g)}const u=Z(l.componentType??{}),d=io(this._lContainer,u?.id??null),f=l.create(c,o,d?.firstChild??null,r);return this.insertImpl(f.hostView,a,to(this._hostTNode,d)),f}insert(n,t){return this.insertImpl(n,t,!0)}insertImpl(n,t,i){const o=n._lView;if(function tO(e){return vt(e[We])}(o)){const a=this.indexOf(n);if(-1!==a)this.detach(a);else{const l=o[We],c=new yb(l,l[ut],l[We]);c.detach(c.indexOf(n))}}const r=this._adjustIndex(t),s=this._lContainer;return dr(s,o,r,i),n.attachToViewContainerRef(),P_(Ph(s),r,n),n}move(n,t){return this.insert(n,t)}indexOf(n){const t=bb(this._lContainer);return null!==t?t.indexOf(n):-1}remove(n){const t=this._adjustIndex(n,-1),i=Rs(this._lContainer,t);i&&(fl(Ph(this._lContainer),t),tc(i[E],i))}detach(n){const t=this._adjustIndex(n,-1),i=Rs(this._lContainer,t);return i&&null!=fl(Ph(this._lContainer),t)?new Ls(i):null}_adjustIndex(n,t=0){return n??this.length+t}};function bb(e){return e[8]}function Ph(e){return e[8]||(e[8]=[])}function Db(e,n){let t;const i=n[e.index];return vt(i)?t=i:(t=w0(i,n,null,e),n[e.index]=t,sc(n,t)),Eb(t,n,e,i),new yb(t,e,n)}let Eb=function Cb(e,n,t,i){if(e[Hn])return;let o;o=8&t.type?ne(i):function RP(e,n){const t=e[G],i=t.createComment(""),o=Nt(n,e);return Xi(t,nc(t,o),i,function yR(e,n){return e.nextSibling(n)}(t,o),!1),i}(n,t),e[Hn]=o},kh=()=>!1;class Fh{constructor(n){this.queryList=n,this.matches=null}clone(){return new Fh(this.queryList)}setDirty(){this.queryList.setDirty()}}class Lh{constructor(n=[]){this.queries=n}createEmbeddedView(n){const t=n.queries;if(null!==t){const i=null!==n.contentQueries?n.contentQueries[0]:t.length,o=[];for(let r=0;rn.trim())}(n):n}}class Bh{constructor(n=[]){this.queries=n}elementStart(n,t){for(let i=0;i0)i.push(s[a/2]);else{const c=r[a+1],u=n[-l];for(let d=Fe;d(nd(n),n.value);return t[_n]=n,t}(e),i=t[_n];return n?.equal&&(i.equal=n.equal),t.set=o=>Km(i,o),t.update=o=>function II(e,n){$m()||Ym(),Km(e,n(e.value))}(i,o),t.asReadonly=xb.bind(t),t}function xb(){const e=this[_n];if(void 0===e.readonlyFn){const n=()=>this();n[_n]=e,e.readonlyFn=n}return e.readonlyFn}function oe(e){let n=function Wb(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),t=!0;const i=[e];for(;n;){let o;if(Dn(e))o=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new D(903,!1);o=n.\u0275dir}if(o){if(t){i.push(o);const s=e;s.inputs=bc(e.inputs),s.inputTransforms=bc(e.inputTransforms),s.declaredInputs=bc(e.declaredInputs),s.outputs=bc(e.outputs);const a=o.hostBindings;a&&tk(e,a);const l=o.viewQuery,c=o.contentQueries;if(l&&XP(e,l),c&&ek(e,c),QP(e,o),jM(e.outputs,o.outputs),Dn(o)&&o.data.animation){const u=e.data;u.animation=(u.animation||[]).concat(o.data.animation)}}const r=o.features;if(r)for(let s=0;s=0;i--){const o=e[i];o.hostVars=n+=o.hostVars,o.hostAttrs=as(o.hostAttrs,t=as(t,o.hostAttrs))}}(i)}function QP(e,n){for(const t in n.inputs){if(!n.inputs.hasOwnProperty(t)||e.inputs.hasOwnProperty(t))continue;const i=n.inputs[t];if(void 0!==i&&(e.inputs[t]=i,e.declaredInputs[t]=n.declaredInputs[t],null!==n.inputTransforms)){const o=Array.isArray(i)?i[0]:i;if(!n.inputTransforms.hasOwnProperty(o))continue;e.inputTransforms??={},e.inputTransforms[o]=n.inputTransforms[o]}}}function bc(e){return e===Ln?{}:e===te?[]:e}function XP(e,n){const t=e.viewQuery;e.viewQuery=t?(i,o)=>{n(i,o),t(i,o)}:n}function ek(e,n){const t=e.contentQueries;e.contentQueries=t?(i,o,r)=>{n(i,o,r),t(i,o,r)}:n}function tk(e,n){const t=e.hostBindings;e.hostBindings=t?(i,o)=>{n(i,o),t(i,o)}:n}class so{}class ak{}class Wh extends so{constructor(n,t,i){super(),this._parent=t,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new _b(this);const o=function _t(e,n){const t=e[M_]||null;if(!t&&!0===n)throw new Error(`Type ${Je(e)} does not have '\u0275mod' property.`);return t}(n);this._bootstrapComponents=function Zt(e){return e instanceof Function?e():e}(o.bootstrap),this._r3Injector=qv(n,t,[{provide:so,useValue:this},{provide:gc,useValue:this.componentFactoryResolver},...i],Je(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(t=>t()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}}class zh extends ak{constructor(n){super(),this.moduleType=n}create(n){return new Wh(this.moduleType,n,[])}}class Kb extends so{constructor(n){super(),this.componentFactoryResolver=new _b(this),this.instance=null;const t=new jo([...n.providers,{provide:so,useValue:this},{provide:gc,useValue:this.componentFactoryResolver}],n.parent||bl(),n.debugName,new Set(["environment"]));this.injector=t,n.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}}function Dc(e){return!!function qh(e){return null!==e&&("function"==typeof e||"object"==typeof e)}(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Be(e,n,t){return!Object.is(e[n],t)&&(e[n]=t,!0)}function ao(e,n,t,i){const o=Be(e,n,t);return Be(e,n+1,i)||o}function Qs(e,n,t,i,o,r,s,a,l,c){const u=t+x,d=n.firstCreatePass?function pk(e,n,t,i,o,r,s,a,l){const c=n.consts,u=eo(n,e,4,s||null,a||null);ch(n,t,u,an(c,l)),Ol(n,u);const d=u.tView=lh(2,u,i,o,r,n.directiveRegistry,n.pipeRegistry,null,n.schemas,c,null);return null!==n.queries&&(n.queries.template(n,u),d.queries=n.queries.embeddedTView(u)),u}(u,n,e,i,o,r,s,a,l):n.data[u];En(d,!1);const h=Qb(n,e,d,t);vs()&&ic(n,e,h,d),yt(h,e);const f=w0(h,e,h,d);return e[u]=f,sc(e,f),function wb(e,n,t){return kh(e,n,t)}(f,d,e),Nl(d)&&sh(n,e,d),null!=l&&ah(e,d,c),d}function re(e,n,t,i,o,r,s,a){const l=b(),c=Y();return Qs(l,c,e,n,t,i,o,an(c.consts,r),s,a),re}let Qb=function Jb(e,n,t,i){return $n(!0),n[G].createComment("")};function Ne(e,n,t,i){const o=b();return Be(o,wn(),n)&&(Y(),Un(Ce(),o,e,n,t,i)),Ne}function Nr(e,n,t,i,o,r){const a=ao(e,function ai(){return U.lFrame.bindingIndex}(),t,o);return li(2),a?n+W(t)+i+W(o)+r:z}function Mc(e,n){return e<<17|n<<2}function Si(e){return e>>17&32767}function op(e){return 2|e}function co(e){return(131068&e)>>2}function rp(e,n){return-131069&e|n<<2}function sp(e){return 1|e}function SD(e,n,t,i){const o=e[t+1],r=null===n;let s=i?Si(o):co(o),a=!1;for(;0!==s&&(!1===a||r);){const c=e[s+1];Xk(e[s],n)&&(a=!0,e[s+1]=i?sp(c):op(c)),s=i?Si(c):co(c)}a&&(e[t+1]=i?op(o):sp(o))}function Xk(e,n){return null===e||null==n||(Array.isArray(e)?e[1]:e)===n||!(!Array.isArray(e)||"string"!=typeof n)&&Ho(e,n)>=0}const nt={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function OD(e){return e.substring(nt.key,nt.keyEnd)}function AD(e,n){const t=nt.textEnd;return t===n?-1:(n=nt.keyEnd=function iF(e,n,t){for(;n32;)n++;return n}(e,nt.key=n,t),Rr(e,n,t))}function Rr(e,n,t){for(;n=0;t=AD(n,t))qt(e,OD(n),!0)}function LD(e,n){return n>=e.expandoStartIndex}function BD(e,n,t,i){const o=e.data;if(null===o[t+1]){const r=o[dt()],s=LD(e,t);$D(r,i)&&null===n&&!s&&(n=!1),n=function aF(e,n,t,i){const o=function df(e){const n=U.lFrame.currentDirectiveIndex;return-1===n?null:e[n]}(e);let r=i?n.residualClasses:n.residualStyles;if(null===o)0===(i?n.classBindings:n.styleBindings)&&(t=ta(t=lp(null,e,n,t,i),n.attrs,i),r=null);else{const s=n.directiveStylingLast;if(-1===s||e[s]!==o)if(t=lp(o,e,n,t,i),null===r){let l=function lF(e,n,t){const i=t?n.classBindings:n.styleBindings;if(0!==co(i))return e[Si(i)]}(e,n,i);void 0!==l&&Array.isArray(l)&&(l=lp(null,e,n,l[1],i),l=ta(l,n.attrs,i),function cF(e,n,t,i){e[Si(t?n.classBindings:n.styleBindings)]=i}(e,n,i,l))}else r=function uF(e,n,t){let i;const o=n.directiveEnd;for(let r=1+n.directiveStylingLast;r0)&&(c=!0)):u=t,o)if(0!==l){const h=Si(e[a+1]);e[i+1]=Mc(h,a),0!==h&&(e[h+1]=rp(e[h+1],i)),e[a+1]=function Kk(e,n){return 131071&e|n<<17}(e[a+1],i)}else e[i+1]=Mc(a,0),0!==a&&(e[a+1]=rp(e[a+1],i)),a=i;else e[i+1]=Mc(l,0),0===a?a=i:e[l+1]=rp(e[l+1],i),l=i;c&&(e[i+1]=op(e[i+1])),SD(e,u,i,!0),SD(e,u,i,!1),function Jk(e,n,t,i,o){const r=o?e.residualClasses:e.residualStyles;null!=r&&"string"==typeof n&&Ho(r,n)>=0&&(t[i+1]=sp(t[i+1]))}(n,u,e,i,r),s=Mc(a,l),r?n.classBindings=s:n.styleBindings=s}(o,r,n,t,s,i)}}function lp(e,n,t,i,o){let r=null;const s=t.directiveEnd;let a=t.directiveStylingLast;for(-1===a?a=t.directiveStart:a++;a0;){const l=e[o],c=Array.isArray(l),u=c?l[1]:l,d=null===u;let h=t[o+1];h===z&&(h=d?te:void 0);let f=d?Bd(h,i):u===i?h:void 0;if(c&&!Sc(f)&&(f=Bd(l,i)),Sc(f)&&(a=f,s))return a;const p=e[o+1];o=s?Si(p):co(p)}if(null!==n){let l=r?n.residualClasses:n.residualStyles;null!=l&&(a=Bd(l,i))}return a}function Sc(e){return void 0!==e}function $D(e,n){return!!(e.flags&(n?8:16))}function N(e,n,t,i){const o=b(),r=Y(),s=x+e,a=o[G],l=r.firstCreatePass?function RF(e,n,t,i,o,r){const s=n.consts,l=eo(n,e,2,i,an(s,o));return ch(n,t,l,an(s,r)),null!==l.attrs&&vc(l,l.attrs,!1),null!==l.mergedAttrs&&vc(l,l.mergedAttrs,!0),null!==n.queries&&n.queries.elementStart(n,l),l}(s,r,o,n,t,i):r.data[s],c=zD(r,o,l,a,n,e);o[s]=c;const u=Nl(l);return En(l,!0),h0(a,c,l),!function mr(e){return!(32&~e.flags)}(l)&&vs()&&ic(r,o,c,l),0===function nO(){return U.lFrame.elementDepthCount}()&&yt(c,o),function iO(){U.lFrame.elementDepthCount++}(),u&&(sh(r,o,l),rh(r,l,o)),null!==i&&ah(o,l),N}function I(){let e=he();lf()?cf():(e=e.parent,En(e,!1));const n=e;(function rO(e){return U.skipHydrationRootTNode===e})(n)&&function cO(){U.skipHydrationRootTNode=null}(),function oO(){U.lFrame.elementDepthCount--}();const t=Y();return t.firstCreatePass&&(Ol(t,e),Qd(e)&&t.queries.elementEnd(e)),null!=n.classesWithoutHost&&function DO(e){return!!(8&e.flags)}(n)&&ap(t,n,b(),n.classesWithoutHost,!0),null!=n.stylesWithoutHost&&function EO(e){return!!(16&e.flags)}(n)&&ap(t,n,b(),n.stylesWithoutHost,!1),I}function qe(e,n,t,i){return N(e,n,t,i),I(),qe}let zD=(e,n,t,i,o,r)=>($n(!0),ec(i,o,function Iv(){return U.lFrame.currentNamespace}()));function Pr(e,n,t){const i=b(),o=Y(),r=e+x,s=o.firstCreatePass?function kF(e,n,t,i,o){const r=n.consts,s=an(r,i),a=eo(n,e,8,"ng-container",s);return null!==s&&vc(a,s,!0),ch(n,t,a,an(r,o)),null!==n.queries&&n.queries.elementStart(n,a),a}(r,o,i,n,t):o.data[r];En(s,!0);const a=YD(o,i,s,e);return i[r]=a,vs()&&ic(o,i,a,s),yt(a,i),Nl(s)&&(sh(o,i,s),rh(o,s,i)),null!=t&&ah(i,s),Pr}function kr(){let e=he();const n=Y();return lf()?cf():(e=e.parent,En(e,!1)),n.firstCreatePass&&(Ol(n,e),Qd(e)&&n.queries.elementEnd(e)),kr}let YD=(e,n,t,i)=>($n(!0),Qf(n[G],""));function ft(){return b()}function Xt(e,n,t){const i=b();return Be(i,wn(),n)&&Vt(Y(),Ce(),i,e,n,i[G],t,!0),Xt}const Lr="en-US";let JD=Lr;let _1=(e,n,t)=>{};function $(e,n,t,i){const o=b(),r=Y(),s=he();return function mp(e,n,t,i,o,r,s){const a=Nl(i),c=e.firstCreatePass&&T0(e),u=n[De],d=N0(n);let h=!0;if(3&i.type||s){const g=Nt(i,n),v=s?s(g):g,y=d.length,_=s?T=>s(ne(T[i.index])):i.index;let C=null;if(!s&&a&&(C=function T2(e,n,t,i){const o=e.cleanup;if(null!=o)for(let r=0;rl?a[l]:null}"string"==typeof s&&(r+=2)}return null}(e,n,o,i.index)),null!==C)(C.__ngLastListenerFn__||C).__ngNextListenerFn__=r,C.__ngLastListenerFn__=r,h=!1;else{r=b1(i,n,u,r),_1(g,o,r);const T=t.listen(v,o,r);d.push(r,T),c&&c.push(o,_,y,y+1)}}else r=b1(i,n,u,r);const f=i.outputs;let p;if(h&&null!==f&&(p=f[o])){const g=p.length;if(g)for(let v=0;v-1?Kt(e.index,n):n,5);let a=y1(n,t,i,r),l=o.__ngNextListenerFn__;for(;l;)a=y1(n,t,l,r)&&a,l=l.__ngNextListenerFn__;return a}}function P(e=1){return function pO(e){return(U.lFrame.contextLView=function fv(e,n){for(;e>0;)n=n[Wo],e--;return n}(e,U.lFrame.contextLView))[De]}(e)}function I2(e,n){let t=null;const i=function gS(e){const n=e.attrs;if(null!=n){const t=n.indexOf(5);if(!(1&t))return n[t+1]}return null}(e);for(let o=0;o($n(!0),function Zf(e,n){return e.createText(n)}(n[G],i));function Tn(e){return pi("",e,""),Tn}function pi(e,n,t){const i=b(),o=function Cr(e,n,t,i){return Be(e,wn(),t)?n+W(t)+i:z}(i,e,n,t);return o!==z&&di(i,dt(),o),pi}function Pc(e,n,t,i,o){const r=b(),s=Nr(r,e,n,t,i,o);return s!==z&&di(r,dt(),s),Pc}function yp(e,n,t,i,o){if(e=j(e),Array.isArray(e))for(let r=0;r>20;if(Ui(e)||!e.multi){const f=new ys(c,o,w),p=Dp(l,n,o?u:u+h,d);-1===p?(Df(Pl(a,s),r,l),bp(r,e,n.length),n.push(l),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),t.push(f),s.push(f)):(t[p]=f,s[p]=f)}else{const f=Dp(l,n,u+h,d),p=Dp(l,n,u,u+h),v=p>=0&&t[p];if(o&&!v||!o&&!(f>=0&&t[f])){Df(Pl(a,s),r,l);const y=function K2(e,n,t,i,o){const r=new ys(e,t,w);return r.multi=[],r.index=n,r.componentProviders=0,Q1(r,o,i&&!t),r}(o?Y2:q2,t.length,o,i,c);!o&&v&&(t[p].providerFactory=y),bp(r,e,n.length,0),n.push(l),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),t.push(y),s.push(y)}else bp(r,e,f>-1?f:p,Q1(t[o?p:f],c,!o&&i));!o&&i&&v&&t[p].componentProviders++}}}function bp(e,n,t,i){const o=Ui(n),r=function MS(e){return!!e.useClass}(n);if(o||r){const l=(r?j(n.useClass):n).prototype.ngOnDestroy;if(l){const c=e.destroyHooks||(e.destroyHooks=[]);if(!o&&n.multi){const u=c.indexOf(t);-1===u?c.push(t,[i,l]):c[u+1].push(i,l)}else c.push(t,l)}}}function Q1(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function Dp(e,n,t,i){for(let o=t;o{t.providersResolver=(i,o)=>function z2(e,n,t){const i=Y();if(i.firstCreatePass){const o=Dn(e);yp(t,i.data,i.blueprint,o,!0),yp(n,i.data,i.blueprint,o,!1)}}(i,o?o(e):e,n)}}let Z2=(()=>{class e{constructor(t){this._injector=t,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t)){const i=$d(0,t.type),o=i.length>0?function Zb(e,n,t=null){return new Kb({providers:e,parent:n,debugName:t,runEnvironmentInitializers:!0}).injector}([i],this._injector,`Standalone[${t.type.name}]`):null;this.cachedInjectors.set(t,o)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(const t of this.cachedInjectors.values())null!==t&&t.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=R({token:e,providedIn:"environment",factory:()=>new e(ee(Yt))})}return e})();function In(e){It("NgStandalone"),e.getStandaloneInjector=n=>n.get(Z2).getOrCreateStandaloneInjector(e)}function tE(e,n,t,i,o,r,s){const a=n+t;return ao(e,a,o,r)?function Wn(e,n,t){return e[n]=t}(e,a+2,s?i.call(s,o,r):i(o,r)):function da(e,n){const t=e[n];return t===z?void 0:t}(e,a+2)}function sE(e,n,t,i){const o=e+x,r=b(),s=function qi(e,n){return e[n]}(r,o);return function fa(e,n){return e[E].data[n].pure}(r,o)?tE(r,function Tt(){const e=U.lFrame;let n=e.bindingRootIndex;return-1===n&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}(),n,s.transform,t,i,s):s.transform(t,i)}const TE=new A(""),jc=new A("");let Ap,Sp=(()=>{class e{constructor(t,i,o){this._ngZone=t,this.registry=i,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,Ap||(function rB(e){Ap=e}(o),o.addToWindow(i)),this._watchAngularEvents(),t.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Q.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb()}});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(t)||(clearTimeout(i.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,i,o){let r=-1;i&&i>0&&(r=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==r),t()},i)),this._callbacks.push({doneCb:t,timeoutId:r,updateCb:o})}whenStable(t,i,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(t,i,o),this._runCallbacksIfReady()}registerApplication(t){this.registry.registerApplication(t,this)}unregisterApplication(t){this.registry.unregisterApplication(t)}findProviders(t,i,o){return[]}static#e=this.\u0275fac=function(i){return new(i||e)(ee(Q),ee(Op),ee(jc))};static#t=this.\u0275prov=R({token:e,factory:e.\u0275fac})}return e})(),Op=(()=>{class e{constructor(){this._applications=new Map}registerApplication(t,i){this._applications.set(t,i)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,i=!0){return Ap?.findTestabilityInTree(this,t,i)??null}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function $c(e){return!!e&&"function"==typeof e.then}function IE(e){return!!e&&"function"==typeof e.subscribe}const sB=new A("");let Rp=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,i)=>{this.resolve=t,this.reject=i}),this.appInits=m(sB,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const t=[];for(const o of this.appInits){const r=o();if($c(r))t.push(r);else if(IE(r)){const s=new Promise((a,l)=>{r.subscribe({complete:a,error:l})});t.push(s)}}const i=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{i()}).catch(o=>{this.reject(o)}),0===t.length&&i(),this.initialized=!0}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const xp=new A("");function OE(e,n){return Array.isArray(n)?n.reduce(OE,e):{...e,...n}}let un=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=m(Kv),this.afterRenderEffectManager=m(mc),this.zonelessEnabled=m(Ws),this.externalTestViews=new Set,this.beforeRender=new Ge,this.afterTick=new Ge,this.componentTypes=[],this.components=[],this.isStable=m(Xo).hasPendingTasks.pipe(Fn(t=>!t)),this._injector=m(Yt)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(t,i){const o=t instanceof ob;if(!this._injector.get(Rp).done)throw!o&&function Gi(e){const n=Z(e)||Xe(e)||ct(e);return null!==n&&n.standalone}(t),new D(405,!1);let s;s=o?t:this._injector.get(gc).resolveComponentFactory(t),this.componentTypes.push(s.componentType);const a=function aB(e){return e.isBoundToModule}(s)?void 0:this._injector.get(so),c=s.create(xe.NULL,[],i||s.selector,a),u=c.location.nativeElement,d=c.injector.get(TE,null);return d?.registerApplication(u),c.onDestroy(()=>{this.detachView(c.hostView),Gc(this.components,c),d?.unregisterApplication(u)}),this._loadComponent(c),c}tick(){this._tick(!0)}_tick(t){if(this._runningTick)throw new D(101,!1);const i=q(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(t)}catch(o){this.internalErrorHandler(o)}finally{this._runningTick=!1,q(i),this.afterTick.next()}}detectChangesInAttachedViews(t){let i=null;this._injector.destroyed||(i=this._injector.get(Ih,null,{optional:!0}));let o=0;const r=this.afterRenderEffectManager;for(;o<10;){const s=0===o;if(t||!s){this.beforeRender.next(s);for(let{_lView:a,notifyErrorHandler:l}of this._views)cB(a,l,s,this.zonelessEnabled)}else i?.begin?.(),i?.end?.();if(o++,r.executeInternalCallbacks(),!this.allViews.some(({_lView:a})=>gs(a))&&(r.execute(),!this.allViews.some(({_lView:a})=>gs(a))))break}}attachView(t){const i=t;this._views.push(i),i.attachToAppRef(this)}detachView(t){const i=t;Gc(this._views,i),i.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t);const i=this._injector.get(xp,[]);[...this._bootstrapListeners,...i].forEach(o=>o(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>Gc(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new D(406,!1);const t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Gc(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function cB(e,n,t,i){(t||gs(e))&&lc(e,n,t&&!i?0:1)}let hB=(()=>{class e{constructor(){this.zone=m(Q),this.changeDetectionScheduler=m(hr),this.applicationRef=m(un)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Pp({ngZoneFactory:e,ignoreChangesOutsideZone:n}){return e??=()=>new Q(kp()),[{provide:Q,useFactory:e},{provide:Bn,multi:!0,useFactory:()=>{const t=m(hB,{optional:!0});return()=>t.initialize()}},{provide:Bn,multi:!0,useFactory:()=>{const t=m(mB);return()=>{t.initialize()}}},{provide:Kv,useFactory:gB},!0===n?{provide:ib,useValue:!0}:[]]}function gB(){const e=m(Q),n=m(ln);return t=>e.runOutsideAngular(()=>n.handleError(t))}function kp(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}let mB=(()=>{class e{constructor(){this.subscription=new Gt,this.initialized=!1,this.zone=m(Q),this.pendingTasks=m(Xo)}initialize(){if(this.initialized)return;this.initialized=!0;let t=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(t=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Q.assertNotInAngularZone(),queueMicrotask(()=>{null!==t&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(t),t=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Q.assertInAngularZone(),t??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ga=(()=>{class e{constructor(){this.appRef=m(un),this.taskService=m(Xo),this.ngZone=m(Q),this.zonelessEnabled=m(Ws),this.disableScheduling=m(ib,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new Gt,this.cancelScheduledCallback=null,this.shouldRefreshViews=!1,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Oh||!this.zoneIsDefined)}notify(t){if(!this.zonelessEnabled&&5===t)return;switch(t){case 3:case 2:case 0:case 4:case 5:case 1:this.shouldRefreshViews=!0}if(!this.shouldScheduleTick())return;const i=this.useMicrotaskScheduler?lb:ab;this.pendingRenderTaskId=this.taskService.add(),this.zoneIsDefined?Zone.root.run(()=>{this.cancelScheduledCallback=i(()=>{this.tick(this.shouldRefreshViews)})}):this.cancelScheduledCallback=i(()=>{this.tick(this.shouldRefreshViews)})}shouldScheduleTick(){return!(this.disableScheduling||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Q.isInAngularZone())}tick(t){if(this.runningTick||this.appRef.destroyed)return;const i=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick(t)},void 0,this.schedulerTickApplyArgs)}catch(o){throw this.taskService.remove(i),o}finally{this.cleanup()}this.useMicrotaskScheduler=!0,lb(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(i)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.shouldRefreshViews=!1,this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const t=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(t)}}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Qn=new A("",{providedIn:"root",factory:()=>m(Qn,J.Optional|J.SkipSelf)||function _B(){return typeof $localize<"u"&&$localize.locale||Lr}()}),Lp=new A("");let kE=(()=>{class e{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,i){const o=function hP(e="zone.js",n){return"noop"===e?new Oh:"zone.js"===e?new Q(n):e}(i?.ngZone,kp({eventCoalescing:i?.ngZoneEventCoalescing,runCoalescing:i?.ngZoneRunCoalescing}));return o.run(()=>{const r=i?.ignoreChangesOutsideZone,s=function ck(e,n,t){return new Wh(e,n,t)}(t.moduleType,this.injector,[...Pp({ngZoneFactory:()=>o,ignoreChangesOutsideZone:r}),{provide:hr,useExisting:ga}]),a=s.injector.get(ln,null);return o.runOutsideAngular(()=>{const l=o.onError.subscribe({next:c=>{a.handleError(c)}});s.onDestroy(()=>{Gc(this._modules,s),l.unsubscribe()})}),function SE(e,n,t){try{const i=t();return $c(i)?i.catch(o=>{throw n.runOutsideAngular(()=>e.handleError(o)),o}):i}catch(i){throw n.runOutsideAngular(()=>e.handleError(i)),i}}(a,o,()=>{const l=s.injector.get(Rp);return l.runInitializers(),l.donePromise.then(()=>(function XD(e){"string"==typeof e&&(JD=e.toLowerCase().replace(/_/g,"-"))}(s.injector.get(Qn,Lr)||Lr),this._moduleDoBootstrap(s),s))})})}bootstrapModule(t,i=[]){const o=OE({},i);return function fB(e,n,t){const i=new zh(t);return Promise.resolve(i)}(0,0,t).then(r=>this.bootstrapModuleFactory(r,o))}_moduleDoBootstrap(t){const i=t.injector.get(un);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(o=>i.bootstrap(o));else{if(!t.instance.ngDoBootstrap)throw new D(-403,!1);t.instance.ngDoBootstrap(i)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new D(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const t=this._injector.get(Lp,null);t&&(t.forEach(i=>i()),t.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(i){return new(i||e)(ee(xe))};static#t=this.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),Ai=null;const FE=new A("");function LE(e,n,t=[]){const i=`Platform: ${n}`,o=new A(i);return(r=[])=>{let s=Bp();if(!s||s.injector.get(FE,!1)){const a=[...t,...r,{provide:o,useValue:!0}];e?e(a):function bB(e){if(Ai&&!Ai.get(FE,!1))throw new D(400,!1);(function ME(){!function NI(e){qm=e}(()=>{throw new D(600,!1)})})(),Ai=e;const n=e.get(kE);(function VE(e){e.get(_y,null)?.forEach(t=>t())})(e)}(function BE(e=[],n){return xe.create({name:n,providers:[{provide:Wd,useValue:"platform"},{provide:Lp,useValue:new Set([()=>Ai=null])},...e]})}(a,i))}return function DB(e){const n=Bp();if(!n)throw new D(401,!1);return n}()}}function Bp(){return Ai?.get(kE)??null}let Jn=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=wB}return e})();function wB(e){return function CB(e,n,t){if(zi(e)&&!t){const i=Kt(e.index,n);return new Ls(i,i)}return 175&e.type?new Ls(n[Ae],n):null}(he(),b(),!(16&~e))}class UE{constructor(){}supports(n){return Dc(n)}create(n){return new SB(n)}}const MB=(e,n)=>n;class SB{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||MB}forEachItem(n){let t;for(t=this._itHead;null!==t;t=t._next)n(t)}forEachOperation(n){let t=this._itHead,i=this._removalsHead,o=0,r=null;for(;t||i;){const s=!i||t&&t.currentIndex{s=this._trackByFn(o,a),null!==t&&Object.is(t.trackById,s)?(i&&(t=this._verifyReinsertion(t,a,s,o)),Object.is(t.item,a)||this._addIdentityChange(t,a)):(t=this._mismatch(t,a,s,o),i=!0),t=t._next,o++}),this.length=o;return this._truncate(t),this.collection=n,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;null!==n;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;null!==n;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,t,i,o){let r;return null===n?r=this._itTail:(r=n._prev,this._remove(n)),null!==(n=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._reinsertAfter(n,r,o)):null!==(n=null===this._linkedRecords?null:this._linkedRecords.get(i,o))?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._moveAfter(n,r,o)):n=this._addAfter(new OB(t,i),r,o),n}_verifyReinsertion(n,t,i,o){let r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==r?n=this._reinsertAfter(r,n._prev,o):n.currentIndex!=o&&(n.currentIndex=o,this._addToMoves(n,o)),n}_truncate(n){for(;null!==n;){const t=n._next;this._addToRemovals(this._unlink(n)),n=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(n,t,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(n);const o=n._prevRemoved,r=n._nextRemoved;return null===o?this._removalsHead=r:o._nextRemoved=r,null===r?this._removalsTail=o:r._prevRemoved=o,this._insertAfter(n,t,i),this._addToMoves(n,i),n}_moveAfter(n,t,i){return this._unlink(n),this._insertAfter(n,t,i),this._addToMoves(n,i),n}_addAfter(n,t,i){return this._insertAfter(n,t,i),this._additionsTail=null===this._additionsTail?this._additionsHead=n:this._additionsTail._nextAdded=n,n}_insertAfter(n,t,i){const o=null===t?this._itHead:t._next;return n._next=o,n._prev=t,null===o?this._itTail=n:o._prev=n,null===t?this._itHead=n:t._next=n,null===this._linkedRecords&&(this._linkedRecords=new WE),this._linkedRecords.put(n),n.currentIndex=i,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){null!==this._linkedRecords&&this._linkedRecords.remove(n);const t=n._prev,i=n._next;return null===t?this._itHead=i:t._next=i,null===i?this._itTail=t:i._prev=t,n}_addToMoves(n,t){return n.previousIndex===t||(this._movesTail=null===this._movesTail?this._movesHead=n:this._movesTail._nextMoved=n),n}_addToRemovals(n){return null===this._unlinkedRecords&&(this._unlinkedRecords=new WE),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,t){return n.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=n:this._identityChangesTail._nextIdentityChange=n,n}}class OB{constructor(n,t){this.item=n,this.trackById=t,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 AB{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,t){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===t||t<=i.currentIndex)&&Object.is(i.trackById,n))return i;return null}remove(n){const t=n._prevDup,i=n._nextDup;return null===t?this._head=i:t._nextDup=i,null===i?this._tail=t:i._prevDup=t,null===this._head}}class WE{constructor(){this.map=new Map}put(n){const t=n.trackById;let i=this.map.get(t);i||(i=new AB,this.map.set(t,i)),i.add(n)}get(n,t){const o=this.map.get(n);return o?o.get(n,t):null}remove(n){const t=n.trackById;return this.map.get(t).remove(n)&&this.map.delete(t),n}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function zE(e,n,t){const i=e.previousIndex;if(null===i)return i;let o=0;return t&&i{class e{static#e=this.\u0275prov=R({token:e,providedIn:"root",factory:YE});constructor(t){this.factories=t}static create(t,i){if(null!=i){const o=i.factories.slice();t=t.concat(o)}return new e(t)}static extend(t){return{provide:e,useFactory:i=>e.create(t,i||YE()),deps:[[e,new Fd,new kd]]}}find(t){const i=this.factories.find(o=>o.supports(t));if(null!=i)return i;throw new D(901,!1)}}return e})();const FB=LE(null,"core",[]);let LB=(()=>{class e{constructor(t){}static#e=this.\u0275fac=function(i){return new(i||e)(ee(un))};static#t=this.\u0275mod=de({type:e});static#n=this.\u0275inj=se({})}return e})();const fw=new A("");function ya(e,n){It("NgSignals");const t=function EI(e){const n=Object.create(wI);n.computation=e;const t=()=>{if(Hm(n),nd(n),n.value===Za)throw n.error;return n.value};return t[_n]=n,t}(e);return n?.equal&&(t[_n].equal=n.equal),t}function Xn(e){const n=q(null);try{return e()}finally{q(n)}}function Yp(e,n){const t=Z(e),i=n.elementInjector||bl();return new Ys(t).create(i,n.projectableNodes,n.hostElement,n.environmentInjector)}let Ew=null;function ba(){return Ew}class NV{}const ht=new A("");class hH{constructor(n,t,i,o){this.$implicit=n,this.ngForOf=t,this.index=i,this.count=o}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 rg=(()=>{class e{set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}constructor(t,i,o){this._viewContainer=t,this._template=i,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const t=this._ngForOf;!this._differ&&t&&(this._differ=this._differs.find(t).create(this.ngForTrackBy))}if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const i=this._viewContainer;t.forEachOperation((o,r,s)=>{if(null==o.previousIndex)i.createEmbeddedView(this._template,new hH(o.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)i.remove(null===r?void 0:r);else if(null!==r){const a=i.get(r);i.move(a,s),Pw(a,o)}});for(let o=0,r=i.length;o{Pw(i.get(o.currentIndex),o)})}static ngTemplateContextGuard(t,i){return!0}static#e=this.\u0275fac=function(i){return new(i||e)(w(Qt),w(Le),w(Gp))};static#t=this.\u0275dir=S({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return e})();function Pw(e,n){e.context.$implicit=n.item}let sg=(()=>{class e{constructor(t,i){this._viewContainer=t,this._context=new pH,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){kw("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){kw("ngIfElse",t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(t,i){return!0}static#e=this.\u0275fac=function(i){return new(i||e)(w(Qt),w(Le))};static#t=this.\u0275dir=S({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return e})();class pH{constructor(){this.$implicit=null,this.ngIf=null}}function kw(e,n){if(n&&!n.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${Je(n)}'.`)}let dg=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=de({type:e});static#n=this.\u0275inj=se({})}return e})();function Vw(e){return"server"===e}class _j extends NV{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class gg extends _j{static makeCurrent(){!function CV(e){Ew??=e}(new gg)}onAndCancel(n,t,i){return n.addEventListener(t,i),()=>{n.removeEventListener(t,i)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.parentNode&&n.parentNode.removeChild(n)}createElement(n,t){return(t=t||this.getDefaultDocument()).createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,t){return"window"===t?window:"document"===t?n:"body"===t?n.body:null}getBaseHref(n){const t=function vj(){return Na=Na||document.querySelector("base"),Na?Na.getAttribute("href"):null}();return null==t?null:function yj(e){return new URL(e,document.baseURI).pathname}(t)}resetBaseElement(){Na=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return function uH(e,n){n=encodeURIComponent(n);for(const t of e.split(";")){const i=t.indexOf("="),[o,r]=-1==i?[t,""]:[t.slice(0,i),t.slice(i+1)];if(o.trim()===n)return decodeURIComponent(r)}return null}(document.cookie,n)}}let Na=null,Dj=(()=>{class e{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=R({token:e,factory:e.\u0275fac})}return e})();const pu=new A("");let Kw=(()=>{class e{constructor(t,i){this._zone=i,this._eventNameToPlugin=new Map,t.forEach(o=>{o.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,i,o){return this._findPluginFor(i).addEventListener(t,i,o)}getZone(){return this._zone}_findPluginFor(t){let i=this._eventNameToPlugin.get(t);if(i)return i;if(i=this._plugins.find(r=>r.supports(t)),!i)throw new D(5101,!1);return this._eventNameToPlugin.set(t,i),i}static#e=this.\u0275fac=function(i){return new(i||e)(ee(pu),ee(Q))};static#t=this.\u0275prov=R({token:e,factory:e.\u0275fac})}return e})();class mg{constructor(n){this._doc=n}}const _g="ng-app-id";let Zw=(()=>{class e{constructor(t,i,o,r={}){this.doc=t,this.appId=i,this.nonce=o,this.platformId=r,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Vw(r),this.resetHostNodes()}addStyles(t){for(const i of t)1===this.changeUsageCount(i,1)&&this.onStyleAdded(i)}removeStyles(t){for(const i of t)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){const t=this.styleNodesInDOM;t&&(t.forEach(i=>i.remove()),t.clear());for(const i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(t){this.hostNodes.add(t);for(const i of this.getAllStyles())this.addStyleToHost(t,i)}removeHost(t){this.hostNodes.delete(t)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(t){for(const i of this.hostNodes)this.addStyleToHost(i,t)}onStyleRemoved(t){const i=this.styleRef;i.get(t)?.elements?.forEach(o=>o.remove()),i.delete(t)}collectServerRenderedStyles(){const t=this.doc.head?.querySelectorAll(`style[${_g}="${this.appId}"]`);if(t?.length){const i=new Map;return t.forEach(o=>{null!=o.textContent&&i.set(o.textContent,o)}),i}return null}changeUsageCount(t,i){const o=this.styleRef;if(o.has(t)){const r=o.get(t);return r.usage+=i,r.usage}return o.set(t,{usage:i,elements:[]}),i}getStyleElement(t,i){const o=this.styleNodesInDOM,r=o?.get(i);if(r?.parentNode===t)return o.delete(i),r.removeAttribute(_g),r;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=i,this.platformIsServer&&s.setAttribute(_g,this.appId),t.appendChild(s),s}}addStyleToHost(t,i){const o=this.getStyleElement(t,i),r=this.styleRef,s=r.get(i)?.elements;s?s.push(o):r.set(i,{elements:[o],usage:1})}resetHostNodes(){const t=this.hostNodes;t.clear(),t.add(this.doc.head)}static#e=this.\u0275fac=function(i){return new(i||e)(ee(ht),ee(tr),ee(vy,8),ee(nr))};static#t=this.\u0275prov=R({token:e,factory:e.\u0275fac})}return e})();const vg={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},yg=/%COMP%/g,Nj=new A("",{providedIn:"root",factory:()=>!0});function Jw(e,n){return n.map(t=>t.replace(yg,e))}let Xw=(()=>{class e{constructor(t,i,o,r,s,a,l,c=null){this.eventManager=t,this.sharedStylesHost=i,this.appId=o,this.removeStylesOnCompDestroy=r,this.doc=s,this.platformId=a,this.ngZone=l,this.nonce=c,this.rendererByCompId=new Map,this.platformIsServer=Vw(a),this.defaultRenderer=new bg(t,s,l,this.platformIsServer)}createRenderer(t,i){if(!t||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===vn.ShadowDom&&(i={...i,encapsulation:vn.Emulated});const o=this.getOrCreateRenderer(t,i);return o instanceof tC?o.applyToHost(t):o instanceof Dg&&o.applyStyles(),o}getOrCreateRenderer(t,i){const o=this.rendererByCompId;let r=o.get(i.id);if(!r){const s=this.doc,a=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,d=this.platformIsServer;switch(i.encapsulation){case vn.Emulated:r=new tC(l,c,i,this.appId,u,s,a,d);break;case vn.ShadowDom:return new Sj(l,c,t,i,s,a,this.nonce,d);default:r=new Dg(l,c,i,u,s,a,d)}o.set(i.id,r)}return r}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(i){return new(i||e)(ee(Kw),ee(Zw),ee(tr),ee(Nj),ee(ht),ee(nr),ee(Q),ee(vy))};static#t=this.\u0275prov=R({token:e,factory:e.\u0275fac})}return e})();class bg{constructor(n,t,i,o){this.eventManager=n,this.doc=t,this.ngZone=i,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(n,t){return t?this.doc.createElementNS(vg[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(eC(n)?n.content:n).appendChild(t)}insertBefore(n,t,i){n&&(eC(n)?n.content:n).insertBefore(t,i)}removeChild(n,t){n&&n.removeChild(t)}selectRootElement(n,t){let i="string"==typeof n?this.doc.querySelector(n):n;if(!i)throw new D(-5104,!1);return t||(i.textContent=""),i}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,t,i,o){if(o){t=o+":"+t;const r=vg[o];r?n.setAttributeNS(r,t,i):n.setAttribute(t,i)}else n.setAttribute(t,i)}removeAttribute(n,t,i){if(i){const o=vg[i];o?n.removeAttributeNS(o,t):n.removeAttribute(`${i}:${t}`)}else n.removeAttribute(t)}addClass(n,t){n.classList.add(t)}removeClass(n,t){n.classList.remove(t)}setStyle(n,t,i,o){o&(Ti.DashCase|Ti.Important)?n.style.setProperty(t,i,o&Ti.Important?"important":""):n.style[t]=i}removeStyle(n,t,i){i&Ti.DashCase?n.style.removeProperty(t):n.style[t]=""}setProperty(n,t,i){null!=n&&(n[t]=i)}setValue(n,t){n.nodeValue=t}listen(n,t,i){if("string"==typeof n&&!(n=ba().getGlobalEventTarget(this.doc,n)))throw new Error(`Unsupported event target ${n} for event ${t}`);return this.eventManager.addEventListener(n,t,this.decoratePreventDefault(i))}decoratePreventDefault(n){return t=>{if("__ngUnwrap__"===t)return n;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>n(t)):n(t))&&t.preventDefault()}}}function eC(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class Sj extends bg{constructor(n,t,i,o,r,s,a,l){super(n,r,s,l),this.sharedStylesHost=t,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const c=Jw(o.id,o.styles);for(const u of c){const d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=u,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,t){return super.appendChild(this.nodeOrShadowRoot(n),t)}insertBefore(n,t,i){return super.insertBefore(this.nodeOrShadowRoot(n),t,i)}removeChild(n,t){return super.removeChild(this.nodeOrShadowRoot(n),t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Dg extends bg{constructor(n,t,i,o,r,s,a,l){super(n,r,s,a),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=o,this.styles=l?Jw(l,i.styles):i.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class tC extends Dg{constructor(n,t,i,o,r,s,a,l){const c=o+"-"+i.id;super(n,t,i,r,s,a,l,c),this.contentAttr=function Tj(e){return"_ngcontent-%COMP%".replace(yg,e)}(c),this.hostAttr=function Ij(e){return"_nghost-%COMP%".replace(yg,e)}(c)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,t){const i=super.createElement(n,t);return super.setAttribute(i,this.contentAttr,""),i}}let Oj=(()=>{class e extends mg{constructor(t){super(t)}supports(t){return!0}addEventListener(t,i,o){return t.addEventListener(i,o,!1),()=>this.removeEventListener(t,i,o)}removeEventListener(t,i,o){return t.removeEventListener(i,o)}static#e=this.\u0275fac=function(i){return new(i||e)(ee(ht))};static#t=this.\u0275prov=R({token:e,factory:e.\u0275fac})}return e})(),Aj=(()=>{class e extends mg{constructor(t){super(t),this.delegate=m(fw,{optional:!0})}supports(t){return!!this.delegate&&this.delegate.supports(t)}addEventListener(t,i,o){return this.delegate.addEventListener(t,i,o)}removeEventListener(t,i,o){return this.delegate.removeEventListener(t,i,o)}static#e=this.\u0275fac=function(i){return new(i||e)(ee(ht))};static#t=this.\u0275prov=R({token:e,factory:e.\u0275fac})}return e})();const nC=["alt","control","meta","shift"],Rj={"\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"},xj={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let Pj=(()=>{class e extends mg{constructor(t){super(t)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,i,o){const r=e.parseEventName(i),s=e.eventCallback(r.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>ba().onAndCancel(t,r.domEventName,s))}static parseEventName(t){const i=t.toLowerCase().split("."),o=i.shift();if(0===i.length||"keydown"!==o&&"keyup"!==o)return null;const r=e._normalizeKey(i.pop());let s="",a=i.indexOf("code");if(a>-1&&(i.splice(a,1),s="code."),nC.forEach(c=>{const u=i.indexOf(c);u>-1&&(i.splice(u,1),s+=c+".")}),s+=r,0!=i.length||0===r.length)return null;const l={};return l.domEventName=o,l.fullKey=s,l}static matchEventFullKeyCode(t,i){let o=Rj[t.key]||t.key,r="";return i.indexOf("code.")>-1&&(o=t.code,r="code."),!(null==o||!o)&&(o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),nC.forEach(s=>{s!==o&&(0,xj[s])(t)&&(r+=s+".")}),r+=o,r===i)}static eventCallback(t,i,o){return r=>{e.matchEventFullKeyCode(r,t)&&o.runGuarded(()=>i(r))}}static _normalizeKey(t){return"esc"===t?"escape":t}static#e=this.\u0275fac=function(i){return new(i||e)(ee(ht))};static#t=this.\u0275prov=R({token:e,factory:e.\u0275fac})}return e})();const Bj=LE(FB,"browser",[{provide:nr,useValue:"browser"},{provide:_y,useValue:function kj(){gg.makeCurrent()},multi:!0},{provide:ht,useFactory:function Lj(){return function dA(e){Mf=e}(document),document},deps:[]}]),Vj=new A(""),rC=[{provide:jc,useClass:class bj{addToWindow(n){me.getAngularTestability=(i,o=!0)=>{const r=n.findTestabilityInTree(i,o);if(null==r)throw new D(5103,!1);return r},me.getAllAngularTestabilities=()=>n.getAllTestabilities(),me.getAllAngularRootElements=()=>n.getAllRootElements(),me.frameworkStabilizers||(me.frameworkStabilizers=[]),me.frameworkStabilizers.push(i=>{const o=me.getAllAngularTestabilities();let r=o.length;const s=function(){r--,0==r&&i()};o.forEach(a=>{a.whenStable(s)})})}findTestabilityInTree(n,t,i){return null==t?null:n.getTestability(t)??(i?ba().isShadowRoot(t)?this.findTestabilityInTree(n,t.host,!0):this.findTestabilityInTree(n,t.parentElement,!0):null)}},deps:[]},{provide:TE,useClass:Sp,deps:[Q,Op,jc]},{provide:Sp,useClass:Sp,deps:[Q,Op,jc]}],sC=[{provide:Wd,useValue:"root"},{provide:ln,useFactory:function Fj(){return new ln},deps:[]},{provide:pu,useClass:Oj,multi:!0,deps:[ht,Q,nr]},{provide:pu,useClass:Pj,multi:!0,deps:[ht]},{provide:pu,useClass:Aj,multi:!0},Xw,Zw,Kw,{provide:Ih,useExisting:Xw},{provide:class GH{},useClass:Dj,deps:[]},[]];let Hj=(()=>{class e{constructor(t){}static withServerTransition(t){return{ngModule:e,providers:[{provide:tr,useValue:t.appId}]}}static#e=this.\u0275fac=function(i){return new(i||e)(ee(Vj,12))};static#t=this.\u0275mod=de({type:e});static#n=this.\u0275inj=se({providers:[...sC,...rC],imports:[dg,LB]})}return e})();function Ri(e){return this instanceof Ri?(this.v=e,this):new Ri(e)}function fC(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=function Ng(e){var n="function"==typeof Symbol&&Symbol.iterator,t=n&&e[n],i=0;if(t)return t.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),t={},i("next"),i("throw"),i("return"),t[Symbol.asyncIterator]=function(){return this},t);function i(r){t[r]=e[r]&&function(s){return new Promise(function(a,l){!function o(r,s,a,l){Promise.resolve(l).then(function(c){r({value:c,done:a})},s)}(a,l,(s=e[r](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const Tg=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function hC(e){return pe(e?.then)}function pC(e){return pe(e[pd])}function gC(e){return Symbol.asyncIterator&&pe(e?.[Symbol.asyncIterator])}function mC(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const _C=function d3(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function vC(e){return pe(e?.[_C])}function yC(e){return function dC(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,i=t.apply(e,n||[]),r=[];return o={},a("next"),a("throw"),a("return",function s(f){return function(p){return Promise.resolve(p).then(f,d)}}),o[Symbol.asyncIterator]=function(){return this},o;function a(f,p){i[f]&&(o[f]=function(g){return new Promise(function(v,y){r.push([f,g,v,y])>1||l(f,g)})},p&&(o[f]=p(o[f])))}function l(f,p){try{!function c(f){f.value instanceof Ri?Promise.resolve(f.value.v).then(u,d):h(r[0][2],f)}(i[f](p))}catch(g){h(r[0][3],g)}}function u(f){l("next",f)}function d(f){l("throw",f)}function h(f,p){f(p),r.shift(),r.length&&l(r[0][0],r[0][1])}}(this,arguments,function*(){const t=e.getReader();try{for(;;){const{value:i,done:o}=yield Ri(t.read());if(o)return yield Ri(void 0);yield yield Ri(i)}}finally{t.releaseLock()}})}function bC(e){return pe(e?.getReader)}function Rt(e){if(e instanceof Qe)return e;if(null!=e){if(pC(e))return function f3(e){return new Qe(n=>{const t=e[pd]();if(pe(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Tg(e))return function h3(e){return new Qe(n=>{for(let t=0;t{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,t_)})}(e);if(gC(e))return DC(e);if(vC(e))return function g3(e){return new Qe(n=>{for(const t of e)if(n.next(t),n.closed)return;n.complete()})}(e);if(bC(e))return function m3(e){return DC(yC(e))}(e)}throw mC(e)}function DC(e){return new Qe(n=>{(function _3(e,n){var t,i,o,r;return function cC(e,n,t,i){return new(t||(t=Promise))(function(r,s){function a(u){try{c(i.next(u))}catch(d){s(d)}}function l(u){try{c(i.throw(u))}catch(d){s(d)}}function c(u){u.done?r(u.value):function o(r){return r instanceof t?r:new t(function(s){s(r)})}(u.value).then(a,l)}c((i=i.apply(e,n||[])).next())})}(this,void 0,void 0,function*(){try{for(t=fC(e);!(i=yield t.next()).done;)if(n.next(i.value),n.closed)return}catch(s){o={error:s}}finally{try{i&&!i.done&&(r=t.return)&&(yield r.call(t))}finally{if(o)throw o.error}}n.complete()})})(e,n).catch(t=>n.error(t))})}function xi(e,n,t,i=0,o=!1){const r=n.schedule(function(){t(),o?e.add(this.schedule(null,i)):this.unsubscribe()},i);if(e.add(r),!o)return r}function EC(e,n=0){return Ut((t,i)=>{t.subscribe(lt(i,o=>xi(i,e,()=>i.next(o),n),()=>xi(i,e,()=>i.complete(),n),o=>xi(i,e,()=>i.error(o),n)))})}function wC(e,n=0){return Ut((t,i)=>{i.add(e.schedule(()=>t.subscribe(i),n))})}function CC(e,n){if(!e)throw new Error("Iterable cannot be null");return new Qe(t=>{xi(t,n,()=>{const i=e[Symbol.asyncIterator]();xi(t,n,()=>{i.next().then(o=>{o.done?t.complete():t.next(o.value)})},0,!0)})})}function mu(e,n){return n?function w3(e,n){if(null!=e){if(pC(e))return function v3(e,n){return Rt(e).pipe(wC(n),EC(n))}(e,n);if(Tg(e))return function b3(e,n){return new Qe(t=>{let i=0;return n.schedule(function(){i===e.length?t.complete():(t.next(e[i++]),t.closed||this.schedule())})})}(e,n);if(hC(e))return function y3(e,n){return Rt(e).pipe(wC(n),EC(n))}(e,n);if(gC(e))return CC(e,n);if(vC(e))return function D3(e,n){return new Qe(t=>{let i;return xi(t,n,()=>{i=e[_C](),xi(t,n,()=>{let o,r;try{({value:o,done:r}=i.next())}catch(s){return void t.error(s)}r?t.complete():t.next(o)},0,!0)}),()=>pe(i?.return)&&i.return()})}(e,n);if(bC(e))return function E3(e,n){return CC(yC(e),n)}(e,n)}throw mC(e)}(e,n):Rt(e)}const{isArray:C3}=Array,{getPrototypeOf:N3,prototype:T3,keys:I3}=Object;function NC(e){return e&&pe(e.schedule)}function Ig(e){return e[e.length-1]}function Mg(e){return pe(Ig(e))?e.pop():void 0}function _u(e){return NC(Ig(e))?e.pop():void 0}const{isArray:A3}=Array;function TC(e){return Fn(n=>function R3(e,n){return A3(n)?e(...n):e(n)}(e,n))}function x3(e,n){return e.reduce((t,i,o)=>(t[i]=n[o],t),{})}let IC=(()=>{class e{constructor(t,i){this._renderer=t,this._elementRef=i,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(t,i){this._renderer.setProperty(this._elementRef.nativeElement,t,i)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}static#e=this.\u0275fac=function(i){return new(i||e)(w(oo),w(ge))};static#t=this.\u0275dir=S({type:e})}return e})(),po=(()=>{class e extends IC{static#e=this.\u0275fac=(()=>{let t;return function(o){return(t||(t=Re(e)))(o||e)}})();static#t=this.\u0275dir=S({type:e,features:[oe]})}return e})();const hn=new A(""),F3={provide:hn,useExisting:ue(()=>vu),multi:!0},B3=new A("");let vu=(()=>{class e extends IC{constructor(t,i,o){super(t,i),this._compositionMode=o,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function L3(){const e=ba()?ba().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(t){this.setProperty("value",t??"")}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}static#e=this.\u0275fac=function(i){return new(i||e)(w(oo),w(ge),w(B3,8))};static#t=this.\u0275dir=S({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(i,o){1&i&&$("input",function(s){return o._handleInput(s.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(s){return o._compositionEnd(s.target.value)})},features:[ve([F3]),oe]})}return e})();const pt=new A(""),ki=new A("");function BC(e){return null!=e}function VC(e){return $c(e)?mu(e):e}function HC(e){let n={};return e.forEach(t=>{n=null!=t?{...n,...t}:n}),0===Object.keys(n).length?null:n}function jC(e,n){return n.map(t=>t(e))}function $C(e){return e.map(n=>function H3(e){return!e.validate}(n)?n:t=>n.validate(t))}function Sg(e){return null!=e?function GC(e){if(!e)return null;const n=e.filter(BC);return 0==n.length?null:function(t){return HC(jC(t,n))}}($C(e)):null}function UC(e){if(!e)return null;const n=e.filter(BC);return 0==n.length?null:function(t){return function P3(...e){const n=Mg(e),{args:t,keys:i}=function M3(e){if(1===e.length){const n=e[0];if(C3(n))return{args:n,keys:null};if(function S3(e){return e&&"object"==typeof e&&N3(e)===T3}(n)){const t=I3(n);return{args:t.map(i=>n[i]),keys:t}}}return{args:e,keys:null}}(e),o=new Qe(r=>{const{length:s}=t;if(!s)return void r.complete();const a=new Array(s);let l=s,c=s;for(let u=0;u{d||(d=!0,c--),a[u]=h},()=>l--,void 0,()=>{(!l||!d)&&(c||r.next(i?x3(i,a):a),r.complete())}))}});return n?o.pipe(TC(n)):o}(jC(t,n).map(VC)).pipe(Fn(HC))}}function Og(e){return null!=e?UC($C(e)):null}function WC(e,n){return null===e?[n]:Array.isArray(e)?[...e,n]:[e,n]}function zC(e){return e._rawValidators}function qC(e){return e._rawAsyncValidators}function Ag(e){return e?Array.isArray(e)?e:[e]:[]}function bu(e,n){return Array.isArray(e)?e.includes(n):e===n}function YC(e,n){const t=Ag(n);return Ag(e).forEach(o=>{bu(t,o)||t.push(o)}),t}function KC(e,n){return Ag(n).filter(t=>!bu(e,t))}class ZC{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=Sg(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=Og(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=void 0){this.control&&this.control.reset(n)}hasError(n,t){return!!this.control&&this.control.hasError(n,t)}getError(n,t){return this.control?this.control.getError(n,t):null}}class xt extends ZC{get formDirective(){return null}get path(){return null}}class Fi extends ZC{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class QC{constructor(n){this._cd=n}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}}let JC=(()=>{class e extends QC{constructor(t){super(t)}static#e=this.\u0275fac=function(i){return new(i||e)(w(Fi,2))};static#t=this.\u0275dir=S({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,o){2&i&&_e("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[oe]})}return e})(),XC=(()=>{class e extends QC{constructor(t){super(t)}static#e=this.\u0275fac=function(i){return new(i||e)(w(xt,10))};static#t=this.\u0275dir=S({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(i,o){2&i&&_e("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)("ng-submitted",o.isSubmitted)},features:[oe]})}return e})();const Ta="VALID",Eu="INVALID",$r="PENDING",Ia="DISABLED";class Gr{}class tN extends Gr{constructor(n,t){super(),this.value=n,this.source=t}}class Pg extends Gr{constructor(n,t){super(),this.pristine=n,this.source=t}}class kg extends Gr{constructor(n,t){super(),this.touched=n,this.source=t}}class wu extends Gr{constructor(n,t){super(),this.status=n,this.source=t}}class W3 extends Gr{constructor(n){super(),this.source=n}}class z3 extends Gr{constructor(n){super(),this.source=n}}function Fg(e){return(Cu(e)?e.validators:e)||null}function Lg(e,n){return(Cu(n)?n.asyncValidators:e)||null}function Cu(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class Bg{constructor(n,t){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=ya(()=>this.statusReactive()),this.statusReactive=pr(void 0),this._pristine=ya(()=>this.pristineReactive()),this.pristineReactive=pr(!0),this._touched=ya(()=>this.touchedReactive()),this.touchedReactive=pr(!1),this._events=new Ge,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(n),this._assignAsyncValidators(t)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get status(){return Xn(this.statusReactive)}set status(n){Xn(()=>this.statusReactive.set(n))}get valid(){return this.status===Ta}get invalid(){return this.status===Eu}get pending(){return this.status==$r}get disabled(){return this.status===Ia}get enabled(){return this.status!==Ia}get pristine(){return Xn(this.pristineReactive)}set pristine(n){Xn(()=>this.pristineReactive.set(n))}get dirty(){return!this.pristine}get touched(){return Xn(this.touchedReactive)}set touched(n){Xn(()=>this.touchedReactive.set(n))}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(YC(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(YC(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(KC(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(KC(n,this._rawAsyncValidators))}hasValidator(n){return bu(this._rawValidators,n)}hasAsyncValidator(n){return bu(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){const t=!1===this.touched;this.touched=!0;const i=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsTouched({...n,sourceControl:i}),t&&!1!==n.emitEvent&&this._events.next(new kg(!0,i))}markAllAsTouched(n={}){this.markAsTouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(t=>t.markAllAsTouched(n))}markAsUntouched(n={}){const t=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const i=n.sourceControl??this;this._forEachChild(o=>{o.markAsUntouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:i})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,i),t&&!1!==n.emitEvent&&this._events.next(new kg(!1,i))}markAsDirty(n={}){const t=!0===this.pristine;this.pristine=!1;const i=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsDirty({...n,sourceControl:i}),t&&!1!==n.emitEvent&&this._events.next(new Pg(!1,i))}markAsPristine(n={}){const t=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const i=n.sourceControl??this;this._forEachChild(o=>{o.markAsPristine({onlySelf:!0,emitEvent:n.emitEvent})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n,i),t&&!1!==n.emitEvent&&this._events.next(new Pg(!0,i))}markAsPending(n={}){this.status=$r;const t=n.sourceControl??this;!1!==n.emitEvent&&(this._events.next(new wu(this.status,t)),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.markAsPending({...n,sourceControl:t})}disable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=Ia,this.errors=null,this._forEachChild(o=>{o.disable({...n,onlySelf:!0})}),this._updateValue();const i=n.sourceControl??this;!1!==n.emitEvent&&(this._events.next(new tN(this.value,i)),this._events.next(new wu(this.status,i)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...n,skipPristineCheck:t},this),this._onDisabledChange.forEach(o=>o(!0))}enable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=Ta,this._forEachChild(i=>{i.enable({...n,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors({...n,skipPristineCheck:t},this),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(n,t){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine({},t),this._parent._updateTouched({},t))}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const i=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Ta||this.status===$r)&&this._runAsyncValidator(i,n.emitEvent)}const t=n.sourceControl??this;!1!==n.emitEvent&&(this._events.next(new tN(this.value,t)),this._events.next(new wu(this.status,t)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity({...n,sourceControl:t})}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Ia:Ta}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n,t){if(this.asyncValidator){this.status=$r,this._hasOwnPendingAsyncValidator={emitEvent:!1!==t};const i=VC(this.asyncValidator(this));this._asyncValidationSubscription=i.subscribe(o=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(o,{emitEvent:t,shouldHaveEmitted:n})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const n=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,n}return!1}setErrors(n,t={}){this.errors=n,this._updateControlsErrors(!1!==t.emitEvent,this,t.shouldHaveEmitted)}get(n){let t=n;return null==t||(Array.isArray(t)||(t=t.split(".")),0===t.length)?null:t.reduce((i,o)=>i&&i._find(o),this)}getError(n,t){const i=t?this.get(t):this;return i&&i.errors?i.errors[n]:null}hasError(n,t){return!!this.getError(n,t)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n,t,i){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),(n||i)&&this._events.next(new wu(this.status,t)),this._parent&&this._parent._updateControlsErrors(n,t,i)}_initObservables(){this.valueChanges=new V,this.statusChanges=new V}_calculateStatus(){return this._allControlsDisabled()?Ia:this.errors?Eu:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus($r)?$r:this._anyControlsHaveStatus(Eu)?Eu:Ta}_anyControlsHaveStatus(n){return this._anyControls(t=>t.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n,t){const i=!this._anyControlsDirty(),o=this.pristine!==i;this.pristine=i,this._parent&&!n.onlySelf&&this._parent._updatePristine(n,t),o&&this._events.next(new Pg(this.pristine,t))}_updateTouched(n={},t){this.touched=this._anyControlsTouched(),this._events.next(new kg(this.touched,t)),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,t)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){Cu(n)&&null!=n.updateOn&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=function q3(e){return Array.isArray(e)?Sg(e):e||null}(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=function Y3(e){return Array.isArray(e)?Og(e):e||null}(this._rawAsyncValidators)}}const K3=class Nu extends Bg{constructor(n,t,i){super(Fg(t),Lg(i,t)),this.controls=n,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(n,t){return this.controls[n]?this.controls[n]:(this.controls[n]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(n,t,i={}){this.registerControl(n,t),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(n,t={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}setControl(n,t,i={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],t&&this.registerControl(n,t),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,t={}){(function iN(e,n,t){e._forEachChild((i,o)=>{if(void 0===t[o])throw new D(1002,"")})})(this,0,n),Object.keys(n).forEach(i=>{(function nN(e,n,t){const i=e.controls;if(!(n?Object.keys(i):i).length)throw new D(1e3,"");if(!i[t])throw new D(1001,"")})(this,!0,i),this.controls[i].setValue(n[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(n,t={}){null!=n&&(Object.keys(n).forEach(i=>{const o=this.controls[i];o&&o.patchValue(n[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(n={},t={}){this._forEachChild((i,o)=>{i.reset(n?n[o]:null,{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t,this),this._updateTouched(t,this),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(n,t,i)=>(n[i]=t.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(t,i)=>!!i._syncPendingControls()||t);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(t=>{const i=this.controls[t];i&&n(i,t)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(const[t,i]of Object.entries(this.controls))if(this.contains(t)&&n(i))return!0;return!1}_reduceValue(){return this._reduceChildren({},(t,i,o)=>((i.enabled||this.disabled)&&(t[o]=i.value),t))}_reduceChildren(n,t){let i=n;return this._forEachChild((o,r)=>{i=t(i,o,r)}),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}},go=new A("CallSetDisabledState",{providedIn:"root",factory:()=>Ma}),Ma="always";function Sa(e,n,t=Ma){Vg(e,n),n.valueAccessor.writeValue(e.value),(e.disabled||"always"===t)&&n.valueAccessor.setDisabledState?.(e.disabled),function J3(e,n){n.valueAccessor.registerOnChange(t=>{e._pendingValue=t,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&oN(e,n)})}(e,n),function e$(e,n){const t=(i,o)=>{n.valueAccessor.writeValue(i),o&&n.viewToModelUpdate(i)};e.registerOnChange(t),n._registerOnDestroy(()=>{e._unregisterOnChange(t)})}(e,n),function X3(e,n){n.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&oN(e,n),"submit"!==e.updateOn&&e.markAsTouched()})}(e,n),function Q3(e,n){if(n.valueAccessor.setDisabledState){const t=i=>{n.valueAccessor.setDisabledState(i)};e.registerOnDisabledChange(t),n._registerOnDestroy(()=>{e._unregisterOnDisabledChange(t)})}}(e,n)}function Iu(e,n,t=!0){const i=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(i),n.valueAccessor.registerOnTouched(i)),Su(e,n),e&&(n._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}function Mu(e,n){e.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(n)})}function Vg(e,n){const t=zC(e);null!==n.validator?e.setValidators(WC(t,n.validator)):"function"==typeof t&&e.setValidators([t]);const i=qC(e);null!==n.asyncValidator?e.setAsyncValidators(WC(i,n.asyncValidator)):"function"==typeof i&&e.setAsyncValidators([i]);const o=()=>e.updateValueAndValidity();Mu(n._rawValidators,o),Mu(n._rawAsyncValidators,o)}function Su(e,n){let t=!1;if(null!==e){if(null!==n.validator){const o=zC(e);if(Array.isArray(o)&&o.length>0){const r=o.filter(s=>s!==n.validator);r.length!==o.length&&(t=!0,e.setValidators(r))}}if(null!==n.asyncValidator){const o=qC(e);if(Array.isArray(o)&&o.length>0){const r=o.filter(s=>s!==n.asyncValidator);r.length!==o.length&&(t=!0,e.setAsyncValidators(r))}}}const i=()=>{};return Mu(n._rawValidators,i),Mu(n._rawAsyncValidators,i),t}function oN(e,n){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function aN(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function lN(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}Promise.resolve();const Ug=class extends Bg{constructor(n=null,t,i){super(Fg(t),Lg(i,t)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Cu(t)&&(t.nonNullable||t.initialValueIsDefault)&&(this.defaultValue=lN(n)?n.value:n)}setValue(n,t={}){this.value=this._pendingValue=n,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(i=>i(this.value,!1!==t.emitViewToModelChange)),this.updateValueAndValidity(t)}patchValue(n,t={}){this.setValue(n,t)}reset(n=this.defaultValue,t={}){this._applyFormState(n),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){aN(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){aN(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){lN(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}},s$=Ug;Promise.resolve();let hN=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275dir=S({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return e})();const Wg=new A(""),g$={provide:xt,useExisting:ue(()=>Ou)};let Ou=(()=>{class e extends xt{get submitted(){return Xn(this._submittedReactive)}set submitted(t){this._submittedReactive.set(t)}constructor(t,i,o){super(),this.callSetDisabledState=o,this._submitted=ya(()=>this._submittedReactive()),this._submittedReactive=pr(!1),this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new V,this._setValidators(t),this._setAsyncValidators(i)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Su(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){const i=this.form.get(t.path);return Sa(i,t,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),i}getControl(t){return this.form.get(t.path)}removeControl(t){Iu(t.control||null,t,!1),function o$(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,i){this.form.get(t.path).setValue(i)}onSubmit(t){return this._submittedReactive.set(!0),function sN(e,n){e._syncPendingControls(),n.forEach(t=>{const i=t.control;"submit"===i.updateOn&&i._pendingChange&&(t.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}(this.form,this.directives),this.ngSubmit.emit(t),this.form._events.next(new W3(this.control)),"dialog"===t?.target?.method}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this._submittedReactive.set(!1),this.form._events.next(new z3(this.form))}_updateDomValue(){this.directives.forEach(t=>{const i=t.control,o=this.form.get(t.path);i!==o&&(Iu(i||null,t),(e=>e instanceof Ug)(o)&&(Sa(o,t,this.callSetDisabledState),t.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){const i=this.form.get(t.path);(function rN(e,n){Vg(e,n)})(i,t),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){const i=this.form.get(t.path);i&&function t$(e,n){return Su(e,n)}(i,t)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Vg(this.form,this),this._oldForm&&Su(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(i){return new(i||e)(w(pt,10),w(ki,10),w(go,8))};static#t=this.\u0275dir=S({type:e,selectors:[["","formGroup",""]],hostBindings:function(i,o){1&i&&$("submit",function(s){return o.onSubmit(s)})("reset",function(){return o.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[ve([g$]),oe,Ct]})}return e})();const v$={provide:Fi,useExisting:ue(()=>Yg)};let Yg=(()=>{class e extends Fi{set isDisabled(t){}static#e=this._ngModelWarningSentOnce=!1;constructor(t,i,o,r,s){super(),this._ngModelWarningConfig=s,this._added=!1,this.name=null,this.update=new V,this._ngModelWarningSent=!1,this._parent=t,this._setValidators(i),this._setAsyncValidators(o),this.valueAccessor=function $g(e,n){if(!n)return null;let t,i,o;return Array.isArray(n),n.forEach(r=>{r.constructor===vu?t=r:function i$(e){return Object.getPrototypeOf(e.constructor)===po}(r)?i=r:o=r}),o||i||t||null}(0,r)}ngOnChanges(t){this._added||this._setUpControl(),function jg(e,n){if(!e.hasOwnProperty("model"))return!1;const t=e.model;return!!t.isFirstChange()||!Object.is(n,t.currentValue)}(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}get path(){return function Tu(e,n){return[...n.path,e]}(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}static#t=this.\u0275fac=function(i){return new(i||e)(w(xt,13),w(pt,10),w(ki,10),w(hn,10),w(Wg,8))};static#n=this.\u0275dir=S({type:e,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[ve([v$]),oe,Ct]})}return e})();const y$={provide:hn,useExisting:ue(()=>Kg),multi:!0};function yN(e,n){return null==e?`${n}`:(n&&"object"==typeof n&&(n="Object"),`${e}: ${n}`.slice(0,50))}let Kg=(()=>{class e extends po{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){this.value=t;const o=yN(this._getOptionId(t),t);this.setProperty("value",o)}registerOnChange(t){this.onChange=i=>{this.value=this._getOptionValue(i),t(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(t){for(const i of this._optionMap.keys())if(this._compareWith(this._optionMap.get(i),t))return i;return null}_getOptionValue(t){const i=function b$(e){return e.split(":")[0]}(t);return this._optionMap.has(i)?this._optionMap.get(i):t}static#e=this.\u0275fac=(()=>{let t;return function(o){return(t||(t=Re(e)))(o||e)}})();static#t=this.\u0275dir=S({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(i,o){1&i&&$("change",function(s){return o.onChange(s.target.value)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},features:[ve([y$]),oe]})}return e})(),bN=(()=>{class e{constructor(t,i,o){this._element=t,this._renderer=i,this._select=o,this._select&&(this.id=this._select._registerOption())}set ngValue(t){null!=this._select&&(this._select._optionMap.set(this.id,t),this._setElementValue(yN(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._setElementValue(t),this._select&&this._select.writeValue(this._select.value)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(i){return new(i||e)(w(ge),w(oo),w(Kg,9))};static#t=this.\u0275dir=S({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return e})();const D$={provide:hn,useExisting:ue(()=>Zg),multi:!0};function DN(e,n){return null==e?`${n}`:("string"==typeof n&&(n=`'${n}'`),n&&"object"==typeof n&&(n="Object"),`${e}: ${n}`.slice(0,50))}let Zg=(()=>{class e extends po{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){let i;if(this.value=t,Array.isArray(t)){const o=t.map(r=>this._getOptionId(r));i=(r,s)=>{r._setSelected(o.indexOf(s.toString())>-1)}}else i=(o,r)=>{o._setSelected(!1)};this._optionMap.forEach(i)}registerOnChange(t){this.onChange=i=>{const o=[],r=i.selectedOptions;if(void 0!==r){const s=r;for(let a=0;a{let t;return function(o){return(t||(t=Re(e)))(o||e)}})();static#t=this.\u0275dir=S({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(i,o){1&i&&$("change",function(s){return o.onChange(s.target)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},features:[ve([D$]),oe]})}return e})(),EN=(()=>{class e{constructor(t,i,o){this._element=t,this._renderer=i,this._select=o,this._select&&(this.id=this._select._registerOption(this))}set ngValue(t){null!=this._select&&(this._value=t,this._setElementValue(DN(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._select?(this._value=t,this._setElementValue(DN(this.id,t)),this._select.writeValue(this._select.value)):this._setElementValue(t)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}_setSelected(t){this._renderer.setProperty(this._element.nativeElement,"selected",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(i){return new(i||e)(w(ge),w(oo),w(Zg,9))};static#t=this.\u0275dir=S({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return e})(),RN=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=de({type:e});static#n=this.\u0275inj=se({})}return e})(),Jg=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:go,useValue:t.callSetDisabledState??Ma}]}}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=de({type:e});static#n=this.\u0275inj=se({imports:[RN]})}return e})(),xN=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:Wg,useValue:t.warnOnNgModelWithFormControl??"always"},{provide:go,useValue:t.callSetDisabledState??Ma}]}}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=de({type:e});static#n=this.\u0275inj=se({imports:[RN]})}return e})();var Xg=function(e){return e.All="Select All",e.None="Select None",e}(Xg||{});function bt(e){return Ut((n,t)=>{Rt(e).subscribe(lt(t,()=>t.complete(),es)),!t.closed&&n.subscribe(t)})}const Aa=new Qe(e=>e.complete());function Au(...e){return mu(e,_u(e))}function Ra(e,n,t=1/0){return pe(n)?Ra((i,o)=>Fn((r,s)=>n(i,r,o,s))(Rt(e(i,o))),t):("number"==typeof n&&(t=n),Ut((i,o)=>function L$(e,n,t,i,o,r,s,a){const l=[];let c=0,u=0,d=!1;const h=()=>{d&&!l.length&&!c&&n.complete()},f=g=>c{r&&n.next(g),c++;let v=!1;Rt(t(g,u++)).subscribe(lt(n,y=>{o?.(y),r?f(y):n.next(y)},()=>{v=!0},void 0,()=>{if(v)try{for(c--;l.length&&cp(y)):p(y)}h()}catch(y){n.error(y)}}))};return e.subscribe(lt(n,f,()=>{d=!0,h()})),()=>{a?.()}}(i,o,e,t)))}const B$=["addListener","removeListener"],V$=["addEventListener","removeEventListener"],H$=["on","off"];function gt(e,n,t,i){if(pe(t)&&(i=t,t=void 0),i)return gt(e,n,t).pipe(TC(i));const[o,r]=function G$(e){return pe(e.addEventListener)&&pe(e.removeEventListener)}(e)?V$.map(s=>a=>e[s](n,a,t)):function j$(e){return pe(e.addListener)&&pe(e.removeListener)}(e)?B$.map(PN(e,n)):function $$(e){return pe(e.on)&&pe(e.off)}(e)?H$.map(PN(e,n)):[];if(!o&&Tg(e))return Ra(s=>gt(s,n,t))(Rt(e));if(!o)throw new TypeError("Invalid event target");return new Qe(s=>{const a=(...l)=>s.next(1r(a)})}function PN(e,n){return t=>i=>e[t](n,i)}class U$ extends Gt{constructor(n,t){super()}schedule(n,t=0){return this}}const Ru={setInterval(e,n,...t){const{delegate:i}=Ru;return i?.setInterval?i.setInterval(e,n,...t):setInterval(e,n,...t)},clearInterval(e){const{delegate:n}=Ru;return(n?.clearInterval||clearInterval)(e)},delegate:void 0},kN={now:()=>(kN.delegate||Date).now(),delegate:void 0};class xa{constructor(n,t=xa.now){this.schedulerActionCtor=n,this.now=t}schedule(n,t=0,i){return new this.schedulerActionCtor(this,n).schedule(i,t)}}xa.now=kN.now;const FN=new class z$ extends xa{constructor(n,t=xa.now){super(n,t),this.actions=[],this._active=!1}flush(n){const{actions:t}=this;if(this._active)return void t.push(n);let i;this._active=!0;do{if(i=n.execute(n.state,n.delay))break}while(n=t.shift());if(this._active=!1,i){for(;n=t.shift();)n.unsubscribe();throw i}}}(class W$ extends U${constructor(n,t){super(n,t),this.scheduler=n,this.work=t,this.pending=!1}schedule(n,t=0){var i;if(this.closed)return this;this.state=n;const o=this.id,r=this.scheduler;return null!=o&&(this.id=this.recycleAsyncId(r,o,t)),this.pending=!0,this.delay=t,this.id=null!==(i=this.id)&&void 0!==i?i:this.requestAsyncId(r,this.id,t),this}requestAsyncId(n,t,i=0){return Ru.setInterval(n.flush.bind(n,this),i)}recycleAsyncId(n,t,i=0){if(null!=i&&this.delay===i&&!1===this.pending)return t;null!=t&&Ru.clearInterval(t)}execute(n,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(n,t);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,t){let o,i=!1;try{this.work(n)}catch(r){i=!0,o=r||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){const{id:n,scheduler:t}=this,{actions:i}=t;this.work=this.state=this.scheduler=null,this.pending=!1,Ja(i,this),null!=n&&(this.id=this.recycleAsyncId(t,n,null)),this.delay=null,super.unsubscribe()}}}),q$=FN;function LN(e=0,n,t=q$){let i=-1;return null!=n&&(NC(n)?t=n:i=n),new Qe(o=>{let r=function Y$(e){return e instanceof Date&&!isNaN(e)}(e)?+e-t.now():e;r<0&&(r=0);let s=0;return t.schedule(function(){o.closed||(o.next(s++),0<=i?this.schedule(void 0,i):o.complete())},r)})}const{isArray:K$}=Array;function BN(e){return 1===e.length&&K$(e[0])?e[0]:e}function VN(...e){return 1===(e=BN(e)).length?Rt(e[0]):new Qe(function Z$(e){return n=>{let t=[];for(let i=0;t&&!n.closed&&i{if(t){for(let r=0;r{let o=t.map(()=>[]),r=t.map(()=>!1);i.add(()=>{o=r=null});for(let s=0;!i.closed&&s{if(o[s].push(a),o.every(l=>l.length)){const l=o.map(c=>c.shift());i.next(n?n(...l):l),o.some((c,u)=>!c.length&&r[u])&&i.complete()}},()=>{r[s]=!0,!o[s].length&&i.complete()}));return()=>{o=r=null}}):Aa}function xu(...e){return function J$(){return function HN(e=1/0){return Ra(ts,e)}(1)}()(mu(e,_u(e)))}function ei(e,n){return Ut((t,i)=>{let o=0;t.subscribe(lt(i,r=>e.call(n,r,o++)&&i.next(r)))})}function On(e){return e<=0?()=>Aa:Ut((n,t)=>{let i=0;n.subscribe(lt(t,o=>{++i<=e&&(t.next(o),e<=i&&t.complete())}))})}function tm(e,n,t){const i=pe(e)||n||t?{next:e,error:n,complete:t}:e;return i?Ut((o,r)=>{var s;null===(s=i.subscribe)||void 0===s||s.call(i);let a=!0;o.subscribe(lt(r,l=>{var c;null===(c=i.next)||void 0===c||c.call(i,l),r.next(l)},()=>{var l;a=!1,null===(l=i.complete)||void 0===l||l.call(i),r.complete()},l=>{var c;a=!1,null===(c=i.error)||void 0===c||c.call(i,l),r.error(l)},()=>{var l,c;a&&(null===(l=i.unsubscribe)||void 0===l||l.call(i)),null===(c=i.finalize)||void 0===c||c.call(i)}))}):ts}function nm(...e){const n=Mg(e);return Ut((t,i)=>{const o=e.length,r=new Array(o);let s=e.map(()=>!1),a=!1;for(let l=0;l{r[l]=c,!a&&!s[l]&&(s[l]=!0,(a=s.every(ts))&&(s=null))},es));t.subscribe(lt(i,l=>{if(a){const c=[l,...r];i.next(n?n(...c):c)}}))})}function jN(e,n){return n?t=>xu(n.pipe(On(1),function eG(){return Ut((e,n)=>{e.subscribe(lt(n,es))})}()),t.pipe(jN(e))):Ra((t,i)=>Rt(e(t,i)).pipe(On(1),function tG(e){return Fn(()=>e)}(t)))}var lG={left:"right",right:"left",bottom:"top",top:"bottom"};function Pu(e){return e.replace(/left|right|bottom|top/g,function(n){return lG[n]})}function ti(e){return e.split("-")[0]}var cG={start:"end",end:"start"};function $N(e){return e.replace(/start|end/g,function(n){return cG[n]})}var tn="top",An="bottom",Rn="right",nn="left",im="auto",Pa=[tn,An,Rn,nn],Ur="start",ka="end",GN="viewport",Fa="popper",UN=Pa.reduce(function(e,n){return e.concat([n+"-"+Ur,n+"-"+ka])},[]),WN=[].concat(Pa,[im]).reduce(function(e,n){return e.concat([n,n+"-"+Ur,n+"-"+ka])},[]),DG=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function on(e){if(null==e)return window;if("[object Window]"!==e.toString()){var n=e.ownerDocument;return n&&n.defaultView||window}return e}function _o(e){return e instanceof on(e).Element||e instanceof Element}function pn(e){return e instanceof on(e).HTMLElement||e instanceof HTMLElement}function om(e){return!(typeof ShadowRoot>"u")&&(e instanceof on(e).ShadowRoot||e instanceof ShadowRoot)}function Li(e){return((_o(e)?e.ownerDocument:e.document)||window.document).documentElement}var vo=Math.max,ku=Math.min,Wr=Math.round;function rm(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(n){return n.brand+"/"+n.version}).join(" "):navigator.userAgent}function zN(){return!/^((?!chrome|android).)*safari/i.test(rm())}function zr(e,n,t){void 0===n&&(n=!1),void 0===t&&(t=!1);var i=e.getBoundingClientRect(),o=1,r=1;n&&pn(e)&&(o=e.offsetWidth>0&&Wr(i.width)/e.offsetWidth||1,r=e.offsetHeight>0&&Wr(i.height)/e.offsetHeight||1);var a=(_o(e)?on(e):window).visualViewport,l=!zN()&&t,c=(i.left+(l&&a?a.offsetLeft:0))/o,u=(i.top+(l&&a?a.offsetTop:0))/r,d=i.width/o,h=i.height/r;return{width:d,height:h,top:u,right:c+d,bottom:u+h,left:c,x:c,y:u}}function sm(e){var n=on(e);return{scrollLeft:n.pageXOffset,scrollTop:n.pageYOffset}}function am(e){return zr(Li(e)).left+sm(e).scrollLeft}function vi(e){return on(e).getComputedStyle(e)}function ni(e){return e?(e.nodeName||"").toLowerCase():null}function Fu(e){return"html"===ni(e)?e:e.assignedSlot||e.parentNode||(om(e)?e.host:null)||Li(e)}function lm(e){var n=vi(e);return/auto|scroll|overlay|hidden/.test(n.overflow+n.overflowY+n.overflowX)}function qN(e){return["html","body","#document"].indexOf(ni(e))>=0?e.ownerDocument.body:pn(e)&&lm(e)?e:qN(Fu(e))}function La(e,n){var t;void 0===n&&(n=[]);var i=qN(e),o=i===(null==(t=e.ownerDocument)?void 0:t.body),r=on(i),s=o?[r].concat(r.visualViewport||[],lm(i)?i:[]):i,a=n.concat(s);return o?a:a.concat(La(Fu(s)))}function CG(e){return["table","td","th"].indexOf(ni(e))>=0}function YN(e){return pn(e)&&"fixed"!==vi(e).position?e.offsetParent:null}function Ba(e){for(var n=on(e),t=YN(e);t&&CG(t)&&"static"===vi(t).position;)t=YN(t);return t&&("html"===ni(t)||"body"===ni(t)&&"static"===vi(t).position)?n:t||function NG(e){var n=/firefox/i.test(rm());if(/Trident/i.test(rm())&&pn(e)&&"fixed"===vi(e).position)return null;var o=Fu(e);for(om(o)&&(o=o.host);pn(o)&&["html","body"].indexOf(ni(o))<0;){var r=vi(o);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||n&&"filter"===r.willChange||n&&r.filter&&"none"!==r.filter)return o;o=o.parentNode}return null}(e)||n}function KN(e,n){var t=n.getRootNode&&n.getRootNode();if(e.contains(n))return!0;if(t&&om(t)){var i=n;do{if(i&&e.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function cm(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function ZN(e,n,t){return n===GN?cm(function EG(e,n){var t=on(e),i=Li(e),o=t.visualViewport,r=i.clientWidth,s=i.clientHeight,a=0,l=0;if(o){r=o.width,s=o.height;var c=zN();(c||!c&&"fixed"===n)&&(a=o.offsetLeft,l=o.offsetTop)}return{width:r,height:s,x:a+am(e),y:l}}(e,t)):_o(n)?function TG(e,n){var t=zr(e,!1,"fixed"===n);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(n,t):cm(function wG(e){var n,t=Li(e),i=sm(e),o=null==(n=e.ownerDocument)?void 0:n.body,r=vo(t.scrollWidth,t.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),s=vo(t.scrollHeight,t.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),a=-i.scrollLeft+am(e),l=-i.scrollTop;return"rtl"===vi(o||t).direction&&(a+=vo(t.clientWidth,o?o.clientWidth:0)-r),{width:r,height:s,x:a,y:l}}(Li(e)))}function qr(e){return e.split("-")[1]}function um(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function QN(e){var l,n=e.reference,t=e.element,i=e.placement,o=i?ti(i):null,r=i?qr(i):null,s=n.x+n.width/2-t.width/2,a=n.y+n.height/2-t.height/2;switch(o){case tn:l={x:s,y:n.y-t.height};break;case An:l={x:s,y:n.y+n.height};break;case Rn:l={x:n.x+n.width,y:a};break;case nn:l={x:n.x-t.width,y:a};break;default:l={x:n.x,y:n.y}}var c=o?um(o):null;if(null!=c){var u="y"===c?"height":"width";switch(r){case Ur:l[c]=l[c]-(n[u]/2-t[u]/2);break;case ka:l[c]=l[c]+(n[u]/2-t[u]/2)}}return l}function XN(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function eT(e,n){return n.reduce(function(t,i){return t[i]=e,t},{})}function dm(e,n){void 0===n&&(n={});var i=n.placement,o=void 0===i?e.placement:i,r=n.strategy,s=void 0===r?e.strategy:r,a=n.boundary,l=void 0===a?"clippingParents":a,c=n.rootBoundary,u=void 0===c?GN:c,d=n.elementContext,h=void 0===d?Fa:d,f=n.altBoundary,p=void 0!==f&&f,g=n.padding,v=void 0===g?0:g,y=XN("number"!=typeof v?v:eT(v,Pa)),C=e.rects.popper,T=e.elements[p?h===Fa?"reference":Fa:h],O=function MG(e,n,t,i){var o="clippingParents"===n?function IG(e){var n=La(Fu(e)),i=["absolute","fixed"].indexOf(vi(e).position)>=0&&pn(e)?Ba(e):e;return _o(i)?n.filter(function(o){return _o(o)&&KN(o,i)&&"body"!==ni(o)}):[]}(e):[].concat(n),r=[].concat(o,[t]),a=r.reduce(function(l,c){var u=ZN(e,c,i);return l.top=vo(u.top,l.top),l.right=ku(u.right,l.right),l.bottom=ku(u.bottom,l.bottom),l.left=vo(u.left,l.left),l},ZN(e,r[0],i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}(_o(T)?T:T.contextElement||Li(e.elements.popper),l,u,s),L=zr(e.elements.reference),K=QN({reference:L,element:C,strategy:"absolute",placement:o}),ie=cm(Object.assign({},C,K)),je=h===Fa?ie:L,$e={top:O.top-je.top+y.top,bottom:je.bottom-O.bottom+y.bottom,left:O.left-je.left+y.left,right:je.right-O.right+y.right},Dt=e.modifiersData.offset;if(h===Fa&&Dt){var Pn=Dt[o];Object.keys($e).forEach(function(Pt){var To=[Rn,An].indexOf(Pt)>=0?1:-1,Io=[tn,An].indexOf(Pt)>=0?"y":"x";$e[Pt]+=Pn[Io]*To})}return $e}const RG={name:"flip",enabled:!0,phase:"main",fn:function AG(e){var n=e.state,t=e.options,i=e.name;if(!n.modifiersData[i]._skip){for(var o=t.mainAxis,r=void 0===o||o,s=t.altAxis,a=void 0===s||s,l=t.fallbackPlacements,c=t.padding,u=t.boundary,d=t.rootBoundary,h=t.altBoundary,f=t.flipVariations,p=void 0===f||f,g=t.allowedAutoPlacements,v=n.options.placement,y=ti(v),C=l||(y!==v&&p?function OG(e){if(ti(e)===im)return[];var n=Pu(e);return[$N(e),n,$N(n)]}(v):[Pu(v)]),T=[v].concat(C).reduce(function(Qr,Bi){return Qr.concat(ti(Bi)===im?function SG(e,n){void 0===n&&(n={});var o=n.boundary,r=n.rootBoundary,s=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?WN:l,u=qr(n.placement),d=u?a?UN:UN.filter(function(p){return qr(p)===u}):Pa,h=d.filter(function(p){return c.indexOf(p)>=0});0===h.length&&(h=d);var f=h.reduce(function(p,g){return p[g]=dm(e,{placement:g,boundary:o,rootBoundary:r,padding:s})[ti(g)],p},{});return Object.keys(f).sort(function(p,g){return f[p]-f[g]})}(n,{placement:Bi,boundary:u,rootBoundary:d,padding:c,flipVariations:p,allowedAutoPlacements:g}):Bi)},[]),O=n.rects.reference,L=n.rects.popper,K=new Map,ie=!0,je=T[0],$e=0;$e=0,Io=To?"width":"height",rn=dm(n,{placement:Dt,boundary:u,rootBoundary:d,altBoundary:h,padding:c}),kn=To?Pt?Rn:nn:Pt?An:tn;O[Io]>L[Io]&&(kn=Pu(kn));var Qu=Pu(kn),Mo=[];if(r&&Mo.push(rn[Pn]<=0),a&&Mo.push(rn[kn]<=0,rn[Qu]<=0),Mo.every(function(Qr){return Qr})){je=Dt,ie=!1;break}K.set(Dt,Mo)}if(ie)for(var km=function(Bi){var Wa=T.find(function(ed){var So=K.get(ed);if(So)return So.slice(0,Bi).every(function(Fm){return Fm})});if(Wa)return je=Wa,"break"},Ua=p?3:1;Ua>0&&"break"!==km(Ua);Ua--);n.placement!==je&&(n.modifiersData[i]._skip=!0,n.placement=je,n.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Va(e,n,t){return vo(e,ku(n,t))}function fm(e){var n=zr(e),t=e.offsetWidth,i=e.offsetHeight;return Math.abs(n.width-t)<=1&&(t=n.width),Math.abs(n.height-i)<=1&&(i=n.height),{x:e.offsetLeft,y:e.offsetTop,width:t,height:i}}const FG={name:"preventOverflow",enabled:!0,phase:"main",fn:function kG(e){var n=e.state,t=e.options,i=e.name,o=t.mainAxis,r=void 0===o||o,s=t.altAxis,a=void 0!==s&&s,h=t.tether,f=void 0===h||h,p=t.tetherOffset,g=void 0===p?0:p,v=dm(n,{boundary:t.boundary,rootBoundary:t.rootBoundary,padding:t.padding,altBoundary:t.altBoundary}),y=ti(n.placement),_=qr(n.placement),C=!_,T=um(y),O=function xG(e){return"x"===e?"y":"x"}(T),L=n.modifiersData.popperOffsets,K=n.rects.reference,ie=n.rects.popper,je="function"==typeof g?g(Object.assign({},n.rects,{placement:n.placement})):g,$e="number"==typeof je?{mainAxis:je,altAxis:je}:Object.assign({mainAxis:0,altAxis:0},je),Dt=n.modifiersData.offset?n.modifiersData.offset[n.placement]:null,Pn={x:0,y:0};if(L){if(r){var Pt,To="y"===T?tn:nn,Io="y"===T?An:Rn,rn="y"===T?"height":"width",kn=L[T],Qu=kn+v[To],Mo=kn-v[Io],Ju=f?-ie[rn]/2:0,km=_===Ur?K[rn]:ie[rn],Ua=_===Ur?-ie[rn]:-K[rn],Xu=n.elements.arrow,Qr=f&&Xu?fm(Xu):{width:0,height:0},Bi=n.modifiersData["arrow#persistent"]?n.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},Wa=Bi[To],ed=Bi[Io],So=Va(0,K[rn],Qr[rn]),Fm=C?K[rn]/2-Ju-So-Wa-$e.mainAxis:km-So-Wa-$e.mainAxis,P5=C?-K[rn]/2+Ju+So+ed+$e.mainAxis:Ua+So+ed+$e.mainAxis,Lm=n.elements.arrow&&Ba(n.elements.arrow),k5=Lm?"y"===T?Lm.clientTop||0:Lm.clientLeft||0:0,dI=null!=(Pt=Dt?.[T])?Pt:0,L5=kn+P5-dI,fI=Va(f?ku(Qu,kn+Fm-dI-k5):Qu,kn,f?vo(Mo,L5):Mo);L[T]=fI,Pn[T]=fI-kn}if(a){var hI,Oo=L[O],td="y"===O?"height":"width",pI=Oo+v["x"===T?tn:nn],gI=Oo-v["x"===T?An:Rn],Bm=-1!==[tn,nn].indexOf(y),mI=null!=(hI=Dt?.[O])?hI:0,_I=Bm?pI:Oo-K[td]-ie[td]-mI+$e.altAxis,vI=Bm?Oo+K[td]+ie[td]-mI-$e.altAxis:gI,yI=f&&Bm?function PG(e,n,t){var i=Va(e,n,t);return i>t?t:i}(_I,Oo,vI):Va(f?_I:pI,Oo,f?vI:gI);L[O]=yI,Pn[O]=yI-Oo}n.modifiersData[i]=Pn}},requiresIfExists:["offset"]},HG={name:"arrow",enabled:!0,phase:"main",fn:function BG(e){var n,t=e.state,i=e.name,o=e.options,r=t.elements.arrow,s=t.modifiersData.popperOffsets,a=ti(t.placement),l=um(a),u=[nn,Rn].indexOf(a)>=0?"height":"width";if(r&&s){var d=function(n,t){return XN("number"!=typeof(n="function"==typeof n?n(Object.assign({},t.rects,{placement:t.placement})):n)?n:eT(n,Pa))}(o.padding,t),h=fm(r),f="y"===l?tn:nn,p="y"===l?An:Rn,g=t.rects.reference[u]+t.rects.reference[l]-s[l]-t.rects.popper[u],v=s[l]-t.rects.reference[l],y=Ba(r),_=y?"y"===l?y.clientHeight||0:y.clientWidth||0:0,L=_/2-h[u]/2+(g/2-v/2),K=Va(d[f],L,_-h[u]-d[p]);t.modifiersData[i]=((n={})[l]=K,n.centerOffset=K-L,n)}},effect:function VG(e){var n=e.state,i=e.options.element,o=void 0===i?"[data-popper-arrow]":i;null!=o&&("string"==typeof o&&!(o=n.elements.popper.querySelector(o))||KN(n.elements.popper,o)&&(n.elements.arrow=o))},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function UG(e,n,t){void 0===t&&(t=!1);var i=pn(n),o=pn(n)&&function GG(e){var n=e.getBoundingClientRect(),t=Wr(n.width)/e.offsetWidth||1,i=Wr(n.height)/e.offsetHeight||1;return 1!==t||1!==i}(n),r=Li(n),s=zr(e,o,t),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(i||!i&&!t)&&(("body"!==ni(n)||lm(r))&&(a=function $G(e){return e!==on(e)&&pn(e)?function jG(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}(e):sm(e)}(n)),pn(n)?((l=zr(n,!0)).x+=n.clientLeft,l.y+=n.clientTop):r&&(l.x=am(r))),{x:s.left+a.scrollLeft-l.x,y:s.top+a.scrollTop-l.y,width:s.width,height:s.height}}function WG(e){var n=new Map,t=new Set,i=[];function o(r){t.add(r.name),[].concat(r.requires||[],r.requiresIfExists||[]).forEach(function(a){if(!t.has(a)){var l=n.get(a);l&&o(l)}}),i.push(r)}return e.forEach(function(r){n.set(r.name,r)}),e.forEach(function(r){t.has(r.name)||o(r)}),i}function qG(e){var n;return function(){return n||(n=new Promise(function(t){Promise.resolve().then(function(){n=void 0,t(e())})})),n}}var tT={placement:"bottom",modifiers:[],strategy:"absolute"};function nT(){for(var e=arguments.length,n=new Array(e),t=0;t=0?-1:1,r="function"==typeof t?t(Object.assign({},n,{placement:e})):t,s=r[0],a=r[1];return s=s||0,a=(a||0)*o,[nn,Rn].indexOf(i)>=0?{x:a,y:s}:{x:s,y:a}}(d,n.rects,r),u},{}),a=s[n.placement],c=a.y;null!=n.modifiersData.popperOffsets&&(n.modifiersData.popperOffsets.x+=a.x,n.modifiersData.popperOffsets.y+=c),n.modifiersData[i]=s}},oT=["*"],HU=["dialog"],sT={animation:!0,transitionTimerDelayMs:5};let Ha=(()=>{class e{constructor(){this.animation=sT.animation}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function yo(e){return"string"==typeof e}function bo(e){return null!=e}function Yr(e){return(e||document.body).getBoundingClientRect()}function cT(e=document){const n=e?.activeElement;return n?n.shadowRoot?cT(n.shadowRoot):n:null}const x8=()=>{},{transitionTimerDelayMs:P8}=sT,ja=new Map,gn=(e,n,t,i)=>{let o=i.context||{};const r=ja.get(n);if(r)switch(i.runningTransition){case"continue":return Aa;case"stop":e.run(()=>r.transition$.complete()),o=Object.assign(r.context,o),ja.delete(n)}const s=t(n,i.animation,o)||x8;if(!i.animation||"none"===window.getComputedStyle(n).transitionProperty)return e.run(()=>s()),Au(void 0).pipe(function R8(e){return n=>new Qe(t=>n.subscribe({next:s=>e.run(()=>t.next(s)),error:s=>e.run(()=>t.error(s)),complete:()=>e.run(()=>t.complete())}))}(e));const a=new Ge,l=new Ge,c=a.pipe(function X$(...e){return n=>xu(n,Au(...e))}(!0));ja.set(n,{transition$:a,complete:()=>{l.next(),l.complete()},context:o});const u=function S8(e){const{transitionDelay:n,transitionDuration:t}=window.getComputedStyle(e);return 1e3*(parseFloat(n)+parseFloat(t))}(n);return e.runOutsideAngular(()=>{const d=gt(n,"transitionend").pipe(bt(c),ei(({target:f})=>f===n));VN(LN(u+P8).pipe(bt(c)),d,l).pipe(bt(c)).subscribe(()=>{ja.delete(n),e.run(()=>{s(),a.next(),a.complete()})})}),a.asObservable()};let hT=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=de({type:e});static#n=this.\u0275inj=se({})}return e})(),pT=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=de({type:e});static#n=this.\u0275inj=se({})}return e})(),_T=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=de({type:e});static#n=this.\u0275inj=se({})}return e})(),vT=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=de({type:e});static#n=this.\u0275inj=se({})}return e})();const Gu=(e,n)=>!!n&&n.some(t=>t.contains(e)),wT=(e,n)=>!n||null!=function A8(e,n){return!n||typeof e.closest>"u"?null:e.closest(n)}(e,n),aW=typeof navigator<"u"&&!!navigator.userAgent&&(/iPad|iPhone|iPod/.test(navigator.userAgent)||/Macintosh/.test(navigator.userAgent)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>2||/Android/.test(navigator.userAgent));function Dm(e,n,t,i,o,r,s,a){t&&e.runOutsideAngular((e=>aW?()=>setTimeout(()=>e(),100):e)(()=>{const c=gt(n,"keydown").pipe(bt(o),ei(h=>"Escape"===h.key),tm(h=>h.preventDefault())),u=gt(n,"mousedown").pipe(Fn(h=>{const f=h.target;return 2!==h.button&&!Gu(f,s)&&("inside"===t?Gu(f,r)&&wT(f,a):"outside"===t?!Gu(f,r):wT(f,a)||!Gu(f,r))}),bt(o)),d=gt(n,"mouseup").pipe(nm(u),ei(([h,f])=>f),function nG(e,n=FN){const t=LN(e,n);return jN(()=>t)}(0),bt(o));VN([c.pipe(Fn(h=>0)),d.pipe(Fn(h=>1))]).subscribe(h=>e.run(()=>i(h)))}))}const CT=["a[href]","button:not([disabled])",'input:not([disabled]):not([type="hidden"])',"select:not([disabled])","textarea:not([disabled])","[contenteditable]",'[tabindex]:not([tabindex="-1"])'].join(", ");function NT(e){const n=Array.from(e.querySelectorAll(CT)).filter(t=>-1!==t.tabIndex);return[n[0],n[n.length-1]]}let cW=(()=>{class e{constructor(){this._element=m(ht).documentElement}isRTL(){return"rtl"===(this._element.getAttribute("dir")||"").toLowerCase()}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const uW=/\s+/,dW=/ +/gi,fW={top:["top"],bottom:["bottom"],start:["left","right"],left:["left"],end:["right","left"],right:["right"],"top-start":["top-start","top-end"],"top-left":["top-start"],"top-end":["top-end","top-start"],"top-right":["top-end"],"bottom-start":["bottom-start","bottom-end"],"bottom-left":["bottom-start"],"bottom-end":["bottom-end","bottom-start"],"bottom-right":["bottom-end"],"start-top":["left-start","right-start"],"left-top":["left-start"],"start-bottom":["left-end","right-end"],"left-bottom":["left-end"],"end-top":["right-start","left-start"],"right-top":["right-start"],"end-bottom":["right-end","left-end"],"right-bottom":["right-end"]},pW=/^left/,gW=/^right/,mW=/^start/,_W=/^end/;function IT({placement:e,baseClass:n},t){let i=Array.isArray(e)?e:e.split(uW),r=i.findIndex(c=>"auto"===c);r>=0&&["top","bottom","start","end","top-start","top-end","bottom-start","bottom-end","start-top","start-bottom","end-top","end-bottom"].forEach(function(c){null==i.find(u=>-1!==u.search("^"+c))&&i.splice(r++,1,c)});const s=i.map(c=>function hW(e,n){const[t,i]=fW[e];return n&&i||t}(c,t.isRTL()));return{placement:s.shift(),modifiers:[{name:"bootstrapClasses",enabled:!!n,phase:"write",fn({state:c}){const u=new RegExp(n+"(-[a-z]+)*","gi"),d=c.elements.popper,h=c.placement;let f=d.className;f=f.replace(u,""),f+=` ${function vW(e,n){let[t,i]=n.split("-");const o=t.replace(pW,"start").replace(gW,"end");let r=[o];if(i){let s=i;("left"===t||"right"===t)&&(s=s.replace(mW,"top").replace(_W,"bottom")),r.push(`${o}-${s}`)}return e&&(r=r.map(s=>`${e}-${s}`)),r.join(" ")}(n,h)}`,f=f.trim().replace(dW," "),d.className=f}},RG,FG,HG,{enabled:!0,name:"flip",options:{fallbackPlacements:s}},{enabled:!0,name:"preventOverflow",phase:"main",fn:function(){}}]}}function MT(e){return e}function Em(){const e=m(cW);let n=null;return{createPopper(t){if(!n){let o=(t.updatePopperOptions||MT)(IT(t,e));n=aU(t.hostElement,t.targetElement,o)}},update(){n&&n.update()},setOptions(t){if(n){let o=(t.updatePopperOptions||MT)(IT(t,e));n.setOptions(o)}},destroy(){n&&(n.destroy(),n=null)}}}function wm(e){return n=>(n.modifiers.push(uU,{name:"offset",options:{offset:()=>e}}),n)}new Date(1882,10,12),new Date(2174,10,25);let VT=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=de({type:e});static#n=this.\u0275inj=se({})}return e})(),PW=(()=>{class e{constructor(){this.autoClose=!0,this.placement=["bottom-start","bottom-end","top-start","top-end"],this.popperOptions=t=>t,this.container=null}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Mm=(()=>{class e{constructor(){this._disabled=!1,this.nativeElement=m(ge).nativeElement,this.tabindex=0}set disabled(t){this._disabled=""===t||!0===t}get disabled(){return this._disabled}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275dir=S({type:e,selectors:[["","ngbDropdownItem",""]],hostAttrs:[1,"dropdown-item"],hostVars:3,hostBindings:function(i,o){2&i&&(Xt("tabIndex",o.disabled?-1:o.tabindex),_e("disabled",o.disabled))},inputs:{tabindex:"tabindex",disabled:"disabled"},standalone:!0})}return e})(),Sm=(()=>{class e{constructor(){this.dropdown=m(Yu),this.nativeElement=m(ge).nativeElement}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275dir=S({type:e,selectors:[["","ngbDropdownMenu",""]],contentQueries:function(i,o,r){if(1&i&&at(r,Mm,4),2&i){let s;Ie(s=Me())&&(o.menuItems=s)}},hostAttrs:[1,"dropdown-menu"],hostVars:2,hostBindings:function(i,o){1&i&&$("keydown.ArrowUp",function(s){return o.dropdown.onKeyDown(s)})("keydown.ArrowDown",function(s){return o.dropdown.onKeyDown(s)})("keydown.Home",function(s){return o.dropdown.onKeyDown(s)})("keydown.End",function(s){return o.dropdown.onKeyDown(s)})("keydown.Enter",function(s){return o.dropdown.onKeyDown(s)})("keydown.Space",function(s){return o.dropdown.onKeyDown(s)})("keydown.Tab",function(s){return o.dropdown.onKeyDown(s)})("keydown.Shift.Tab",function(s){return o.dropdown.onKeyDown(s)}),2&i&&_e("show",o.dropdown.isOpen())},standalone:!0})}return e})(),qu=(()=>{class e{constructor(){this.dropdown=m(Yu),this.nativeElement=m(ge).nativeElement}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275dir=S({type:e,selectors:[["","ngbDropdownAnchor",""]],hostAttrs:[1,"dropdown-toggle"],hostVars:3,hostBindings:function(i,o){2&i&&(Ne("aria-expanded",o.dropdown.isOpen()),_e("show",o.dropdown.isOpen()))},standalone:!0})}return e})(),HT=(()=>{class e extends qu{static#e=this.\u0275fac=(()=>{let t;return function(o){return(t||(t=Re(e)))(o||e)}})();static#t=this.\u0275dir=S({type:e,selectors:[["","ngbDropdownToggle",""]],hostAttrs:[1,"dropdown-toggle"],hostVars:3,hostBindings:function(i,o){1&i&&$("click",function(){return o.dropdown.toggle()})("keydown.ArrowUp",function(s){return o.dropdown.onKeyDown(s)})("keydown.ArrowDown",function(s){return o.dropdown.onKeyDown(s)})("keydown.Home",function(s){return o.dropdown.onKeyDown(s)})("keydown.End",function(s){return o.dropdown.onKeyDown(s)})("keydown.Tab",function(s){return o.dropdown.onKeyDown(s)})("keydown.Shift.Tab",function(s){return o.dropdown.onKeyDown(s)}),2&i&&(Ne("aria-expanded",o.dropdown.isOpen()),_e("show",o.dropdown.isOpen()))},standalone:!0,features:[ve([{provide:qu,useExisting:ue(()=>e)}]),oe]})}return e})(),Yu=(()=>{class e{constructor(){this._changeDetector=m(Jn),this._config=m(PW),this._document=m(ht),this._ngZone=m(Q),this._nativeElement=m(ge).nativeElement,this._destroyCloseHandlers$=new Ge,this._bodyContainer=null,this._positioning=Em(),this.autoClose=this._config.autoClose,this._open=!1,this.placement=this._config.placement,this.popperOptions=this._config.popperOptions,this.container=this._config.container,this.openChange=new V}ngOnInit(){this.display||(this.display=this._nativeElement.closest(".navbar")?"static":"dynamic")}ngAfterContentInit(){this._ngZone.onStable.pipe(On(1)).subscribe(()=>{this._applyPlacementClasses(),this._open&&this._setCloseHandlers()})}ngOnChanges(t){if(t.container&&this._open&&this._applyContainer(this.container),t.placement&&!t.placement.firstChange&&(this._positioning.setOptions({hostElement:this._anchor.nativeElement,targetElement:this._bodyContainer||this._menu.nativeElement,placement:this.placement}),this._applyPlacementClasses()),t.dropdownClass){const{currentValue:i,previousValue:o}=t.dropdownClass;this._applyCustomDropdownClass(i,o)}t.autoClose&&this._open&&(this.autoClose=t.autoClose.currentValue,this._setCloseHandlers())}isOpen(){return this._open}open(){this._open||(this._open=!0,this._applyContainer(this.container),this.openChange.emit(!0),this._setCloseHandlers(),this._anchor&&(this._anchor.nativeElement.focus(),"dynamic"===this.display&&this._ngZone.runOutsideAngular(()=>{this._positioning.createPopper({hostElement:this._anchor.nativeElement,targetElement:this._bodyContainer||this._menu.nativeElement,placement:this.placement,updatePopperOptions:t=>this.popperOptions(wm([0,2])(t))}),this._applyPlacementClasses(),this._zoneSubscription=this._ngZone.onStable.subscribe(()=>this._positionMenu())})))}_setCloseHandlers(){this._destroyCloseHandlers$.next(),Dm(this._ngZone,this._document,this.autoClose,t=>{this.close(),0===t&&this._anchor.nativeElement.focus()},this._destroyCloseHandlers$,this._menu?[this._menu.nativeElement]:[],this._anchor?[this._anchor.nativeElement]:[],".dropdown-item,.dropdown-divider")}close(){this._open&&(this._open=!1,this._resetContainer(),this._positioning.destroy(),this._zoneSubscription?.unsubscribe(),this._destroyCloseHandlers$.next(),this.openChange.emit(!1),this._changeDetector.markForCheck())}toggle(){this.isOpen()?this.close():this.open()}ngOnDestroy(){this.close()}onKeyDown(t){const{key:i}=t,o=this._getMenuElements();let r=-1,s=null;const a=this._isEventFromToggle(t);if(!a&&o.length&&o.forEach((l,c)=>{l.contains(t.target)&&(s=l),l===cT(this._document)&&(r=c)})," "!==i&&"Enter"!==i){if("Tab"!==i){if(a||s){if(this.open(),o.length){switch(i){case"ArrowDown":r=Math.min(r+1,o.length-1);break;case"ArrowUp":if(this._isDropup()&&-1===r){r=o.length-1;break}r=Math.max(r-1,0);break;case"Home":r=0;break;case"End":r=o.length-1}o[r].focus()}t.preventDefault()}}else if(t.target&&this.isOpen()&&this.autoClose){if(this._anchor.nativeElement===t.target)return void("body"!==this.container||t.shiftKey?t.shiftKey&&this.close():(this._menu.nativeElement.setAttribute("tabindex","0"),this._menu.nativeElement.focus(),this._menu.nativeElement.removeAttribute("tabindex")));if("body"===this.container){const l=this._menu.nativeElement.querySelectorAll(CT);t.shiftKey&&t.target===l[0]?(this._anchor.nativeElement.focus(),t.preventDefault()):!t.shiftKey&&t.target===l[l.length-1]&&(this._anchor.nativeElement.focus(),this.close())}else gt(t.target,"focusout").pipe(On(1)).subscribe(({relatedTarget:l})=>{this._nativeElement.contains(l)||this.close()})}}else s&&(!0===this.autoClose||"inside"===this.autoClose)&>(s,"click").pipe(On(1)).subscribe(()=>this.close())}_isDropup(){return this._nativeElement.classList.contains("dropup")}_isEventFromToggle(t){return this._anchor.nativeElement.contains(t.target)}_getMenuElements(){return this._menu?this._menu.menuItems.filter(({disabled:t})=>!t).map(({nativeElement:t})=>t):[]}_positionMenu(){const t=this._menu;this.isOpen()&&t&&("dynamic"===this.display?(this._positioning.update(),this._applyPlacementClasses()):this._applyPlacementClasses(this._getFirstPlacement(this.placement)))}_getFirstPlacement(t){return Array.isArray(t)?t[0]:t.split(" ")[0]}_resetContainer(){this._menu&&this._nativeElement.appendChild(this._menu.nativeElement),this._bodyContainer&&(this._document.body.removeChild(this._bodyContainer),this._bodyContainer=null)}_applyContainer(t=null){if(this._resetContainer(),"body"===t){const i=this._menu.nativeElement,o=this._bodyContainer=this._bodyContainer||this._document.createElement("div");o.style.position="absolute",i.style.position="static",o.style.zIndex="1055",o.appendChild(i),this._document.body.appendChild(o)}this._applyCustomDropdownClass(this.dropdownClass)}_applyCustomDropdownClass(t,i){const o="body"===this.container?this._bodyContainer:this._nativeElement;o&&(i&&o.classList.remove(i),t&&o.classList.add(t))}_applyPlacementClasses(t){if(this._menu){t||(t=this._getFirstPlacement(this.placement)),this._nativeElement.classList.remove("dropup","dropdown"),"static"===this.display?this._menu.nativeElement.setAttribute("data-bs-popper","static"):this._menu.nativeElement.removeAttribute("data-bs-popper");const i=-1!==t.search("^top")?"dropup":"dropdown";this._nativeElement.classList.add(i),this._bodyContainer&&(this._bodyContainer.classList.remove("dropup","dropdown"),this._bodyContainer.classList.add(i))}}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275dir=S({type:e,selectors:[["","ngbDropdown",""]],contentQueries:function(i,o,r){if(1&i&&(at(r,Sm,5),at(r,qu,5)),2&i){let s;Ie(s=Me())&&(o._menu=s.first),Ie(s=Me())&&(o._anchor=s.first)}},hostVars:2,hostBindings:function(i,o){2&i&&_e("show",o.isOpen())},inputs:{autoClose:"autoClose",dropdownClass:"dropdownClass",_open:[0,"open","_open"],placement:"placement",popperOptions:"popperOptions",container:"container",display:"display"},outputs:{openChange:"openChange"},exportAs:["ngbDropdown"],standalone:!0,features:[Ct]})}return e})(),Om=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=de({type:e});static#n=this.\u0275inj=se({})}return e})(),FW=(()=>{class e{constructor(){this._ngbConfig=m(Ha),this.backdrop=!0,this.fullscreen=!1,this.keyboard=!0}get animation(){return this._animation??this._ngbConfig.animation}set animation(t){this._animation=t}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class No{constructor(n,t,i){this.nodes=n,this.viewRef=t,this.componentRef=i}}class LW{constructor(n){this._componentType=n,this._windowRef=null,this._contentRef=null,this._document=m(ht),this._applicationRef=m(un),this._injector=m(xe),this._viewContainerRef=m(Qt),this._ngZone=m(Q)}open(n,t,i=!1){this._windowRef||(this._contentRef=this._getContentRef(n,t),this._windowRef=this._viewContainerRef.createComponent(this._componentType,{injector:this._injector,projectableNodes:this._contentRef.nodes}));const{nativeElement:o}=this._windowRef.location,r=this._ngZone.onStable.pipe(On(1),Ra(()=>gn(this._ngZone,o,({classList:s})=>s.add("show"),{animation:i,runningTransition:"continue"})));return{windowRef:this._windowRef,transition$:r}}close(n=!1){return this._windowRef?gn(this._ngZone,this._windowRef.location.nativeElement,({classList:t})=>t.remove("show"),{animation:n,runningTransition:"stop"}).pipe(tm(()=>{this._windowRef?.destroy(),this._contentRef?.viewRef?.destroy(),this._windowRef=null,this._contentRef=null})):Au(void 0)}_getContentRef(n,t){if(n){if(n instanceof Le){const i=n.createEmbeddedView(t);return this._applicationRef.attachView(i),new No([i.rootNodes],i)}return new No([[this._document.createTextNode(`${n}`)]])}return new No([])}}let BW=(()=>{class e{constructor(){this._document=m(ht)}hide(){const t=Math.abs(window.innerWidth-this._document.documentElement.clientWidth),i=this._document.body,o=i.style,{overflow:r,paddingRight:s}=o;if(t>0){const a=parseFloat(window.getComputedStyle(i).paddingRight);o.paddingRight=`${a+t}px`}return o.overflow="hidden",()=>{t>0&&(o.paddingRight=s),o.overflow=r}}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),VW=(()=>{class e{constructor(){this._nativeElement=m(ge).nativeElement,this._zone=m(Q)}ngOnInit(){this._zone.onStable.asObservable().pipe(On(1)).subscribe(()=>{gn(this._zone,this._nativeElement,(t,i)=>{i&&Yr(t),t.classList.add("show")},{animation:this.animation,runningTransition:"continue"})})}hide(){return gn(this._zone,this._nativeElement,({classList:t})=>t.remove("show"),{animation:this.animation,runningTransition:"stop"})}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=ot({type:e,selectors:[["ngb-modal-backdrop"]],hostAttrs:[2,"z-index","1055"],hostVars:6,hostBindings:function(i,o){2&i&&(xr("modal-backdrop"+(o.backdropClass?" "+o.backdropClass:"")),_e("show",!o.animation)("fade",o.animation))},inputs:{animation:"animation",backdropClass:"backdropClass"},standalone:!0,features:[In],decls:0,vars:0,template:function(i,o){},encapsulation:2})}return e})();class jT{update(n){}close(n){}dismiss(n){}}const HW=["animation","ariaLabelledBy","ariaDescribedBy","backdrop","centered","fullscreen","keyboard","scrollable","size","windowClass","modalDialogClass"],jW=["animation","backdropClass"];class $W{_applyWindowOptions(n,t){HW.forEach(i=>{bo(t[i])&&(n[i]=t[i])})}_applyBackdropOptions(n,t){jW.forEach(i=>{bo(t[i])&&(n[i]=t[i])})}update(n){this._applyWindowOptions(this._windowCmptRef.instance,n),this._backdropCmptRef&&this._backdropCmptRef.instance&&this._applyBackdropOptions(this._backdropCmptRef.instance,n)}get componentInstance(){if(this._contentRef&&this._contentRef.componentRef)return this._contentRef.componentRef.instance}get closed(){return this._closed.asObservable().pipe(bt(this._hidden))}get dismissed(){return this._dismissed.asObservable().pipe(bt(this._hidden))}get hidden(){return this._hidden.asObservable()}get shown(){return this._windowCmptRef.instance.shown.asObservable()}constructor(n,t,i,o){this._windowCmptRef=n,this._contentRef=t,this._backdropCmptRef=i,this._beforeDismiss=o,this._closed=new Ge,this._dismissed=new Ge,this._hidden=new Ge,n.instance.dismissEvent.subscribe(r=>{this.dismiss(r)}),this.result=new Promise((r,s)=>{this._resolve=r,this._reject=s}),this.result.then(null,()=>{})}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 t=this._beforeDismiss();!function aT(e){return e&&e.then}(t)?!1!==t&&this._dismiss(n):t.then(i=>{!1!==i&&this._dismiss(n)},()=>{})}else this._dismiss(n)}_removeModalElements(){const n=this._windowCmptRef.instance.hide(),t=this._backdropCmptRef?this._backdropCmptRef.instance.hide():Au(void 0);n.subscribe(()=>{const{nativeElement:i}=this._windowCmptRef.location;i.parentNode.removeChild(i),this._windowCmptRef.destroy(),this._contentRef?.viewRef?.destroy(),this._windowCmptRef=null,this._contentRef=null}),t.subscribe(()=>{if(this._backdropCmptRef){const{nativeElement:i}=this._backdropCmptRef.location;i.parentNode.removeChild(i),this._backdropCmptRef.destroy(),this._backdropCmptRef=null}}),em(n,t).subscribe(()=>{this._hidden.next(),this._hidden.complete()})}}var Am=function(e){return e[e.BACKDROP_CLICK=0]="BACKDROP_CLICK",e[e.ESC=1]="ESC",e}(Am||{});let GW=(()=>{class e{constructor(){this._document=m(ht),this._elRef=m(ge),this._zone=m(Q),this._closed$=new Ge,this._elWithFocus=null,this.backdrop=!0,this.keyboard=!0,this.dismissEvent=new V,this.shown=new Ge,this.hidden=new Ge}get fullscreenClass(){return!0===this.fullscreen?" modal-fullscreen":yo(this.fullscreen)?` modal-fullscreen-${this.fullscreen}-down`:""}dismiss(t){this.dismissEvent.emit(t)}ngOnInit(){this._elWithFocus=this._document.activeElement,this._zone.onStable.asObservable().pipe(On(1)).subscribe(()=>{this._show()})}ngOnDestroy(){this._disableEventHandling()}hide(){const{nativeElement:t}=this._elRef,i={animation:this.animation,runningTransition:"stop"},s=em(gn(this._zone,t,()=>t.classList.remove("show"),i),gn(this._zone,this._dialogEl.nativeElement,()=>{},i));return s.subscribe(()=>{this.hidden.next(),this.hidden.complete()}),this._disableEventHandling(),this._restoreFocus(),s}_show(){const t={animation:this.animation,runningTransition:"continue"};em(gn(this._zone,this._elRef.nativeElement,(r,s)=>{s&&Yr(r),r.classList.add("show")},t),gn(this._zone,this._dialogEl.nativeElement,()=>{},t)).subscribe(()=>{this.shown.next(),this.shown.complete()}),this._enableEventHandling(),this._setFocus()}_enableEventHandling(){const{nativeElement:t}=this._elRef;this._zone.runOutsideAngular(()=>{gt(t,"keydown").pipe(bt(this._closed$),ei(o=>"Escape"===o.key)).subscribe(o=>{this.keyboard?requestAnimationFrame(()=>{o.defaultPrevented||this._zone.run(()=>this.dismiss(Am.ESC))}):"static"===this.backdrop&&this._bumpBackdrop()});let i=!1;gt(this._dialogEl.nativeElement,"mousedown").pipe(bt(this._closed$),tm(()=>i=!1),function iG(e,n){return Ut((t,i)=>{let o=null,r=0,s=!1;const a=()=>s&&!o&&i.complete();t.subscribe(lt(i,l=>{o?.unsubscribe();let c=0;const u=r++;Rt(e(l,u)).subscribe(o=lt(i,d=>i.next(n?n(l,d,u,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}(()=>gt(t,"mouseup").pipe(bt(this._closed$),On(1))),ei(({target:o})=>t===o)).subscribe(()=>{i=!0}),gt(t,"click").pipe(bt(this._closed$)).subscribe(({target:o})=>{t===o&&("static"===this.backdrop?this._bumpBackdrop():!0===this.backdrop&&!i&&this._zone.run(()=>this.dismiss(Am.BACKDROP_CLICK))),i=!1})})}_disableEventHandling(){this._closed$.next()}_setFocus(){const{nativeElement:t}=this._elRef;if(!t.contains(document.activeElement)){const i=t.querySelector("[ngbAutofocus]"),o=NT(t)[0];(i||o||t).focus()}}_restoreFocus(){const t=this._document.body,i=this._elWithFocus;let o;o=i&&i.focus&&t.contains(i)?i:t,this._zone.runOutsideAngular(()=>{setTimeout(()=>o.focus()),this._elWithFocus=null})}_bumpBackdrop(){"static"===this.backdrop&&gn(this._zone,this._elRef.nativeElement,({classList:t})=>(t.add("modal-static"),()=>t.remove("modal-static")),{animation:this.animation,runningTransition:"continue"})}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=ot({type:e,selectors:[["ngb-modal-window"]],viewQuery:function(i,o){if(1&i&&fi(HU,7),2&i){let r;Ie(r=Me())&&(o._dialogEl=r.first)}},hostAttrs:["role","dialog","tabindex","-1"],hostVars:7,hostBindings:function(i,o){2&i&&(Ne("aria-modal",!0)("aria-labelledby",o.ariaLabelledBy)("aria-describedby",o.ariaDescribedBy),xr("modal d-block"+(o.windowClass?" "+o.windowClass:"")),_e("fade",o.animation))},inputs:{animation:"animation",ariaLabelledBy:"ariaLabelledBy",ariaDescribedBy:"ariaDescribedBy",backdrop:"backdrop",centered:"centered",fullscreen:"fullscreen",keyboard:"keyboard",scrollable:"scrollable",size:"size",windowClass:"windowClass",modalDialogClass:"modalDialogClass"},outputs:{dismissEvent:"dismiss"},standalone:!0,features:[In],ngContentSelectors:oT,decls:4,vars:2,consts:[["dialog",""],["role","document"],[1,"modal-content"]],template:function(i,o){1&i&&(la(),N(0,"div",1,0)(2,"div",2),ca(3),I()()),2&i&&xr("modal-dialog"+(o.size?" modal-"+o.size:"")+(o.centered?" modal-dialog-centered":"")+o.fullscreenClass+(o.scrollable?" modal-dialog-scrollable":"")+(o.modalDialogClass?" "+o.modalDialogClass:""))},styles:["ngb-modal-window .component-host-scrollable{display:flex;flex-direction:column;overflow:hidden}\n"],encapsulation:2})}return e})(),UW=(()=>{class e{constructor(){this._applicationRef=m(un),this._injector=m(xe),this._environmentInjector=m(Yt),this._document=m(ht),this._scrollBar=m(BW),this._activeWindowCmptHasChanged=new Ge,this._ariaHiddenValues=new Map,this._scrollBarRestoreFn=null,this._modalRefs=[],this._windowCmpts=[],this._activeInstances=new V;const t=m(Q);this._activeWindowCmptHasChanged.subscribe(()=>{if(this._windowCmpts.length){const i=this._windowCmpts[this._windowCmpts.length-1];((e,n,t,i=!1)=>{e.runOutsideAngular(()=>{const o=gt(n,"focusin").pipe(bt(t),Fn(r=>r.target));gt(n,"keydown").pipe(bt(t),ei(r=>"Tab"===r.key),nm(o)).subscribe(([r,s])=>{const[a,l]=NT(n);(s===a||s===n)&&r.shiftKey&&(l.focus(),r.preventDefault()),s===l&&!r.shiftKey&&(a.focus(),r.preventDefault())}),i&>(n,"click").pipe(bt(t),nm(o),Fn(r=>r[1])).subscribe(r=>r.focus())})})(t,i.location.nativeElement,this._activeWindowCmptHasChanged),this._revertAriaHidden(),this._setAriaHidden(i.location.nativeElement)}})}_restoreScrollBar(){const t=this._scrollBarRestoreFn;t&&(this._scrollBarRestoreFn=null,t())}_hideScrollBar(){this._scrollBarRestoreFn||(this._scrollBarRestoreFn=this._scrollBar.hide())}open(t,i,o){const r=o.container instanceof HTMLElement?o.container:bo(o.container)?this._document.querySelector(o.container):this._document.body;if(!r)throw new Error(`The specified modal container "${o.container||"body"}" was not found in the DOM.`);this._hideScrollBar();const s=new jT,a=(t=o.injector||t).get(Yt,null)||this._environmentInjector,l=this._getContentRef(t,a,i,s,o);let c=!1!==o.backdrop?this._attachBackdrop(r):void 0,u=this._attachWindowComponent(r,l.nodes),d=new $W(u,l,c,o.beforeDismiss);return this._registerModalRef(d),this._registerWindowCmpt(u),d.hidden.pipe(On(1)).subscribe(()=>Promise.resolve(!0).then(()=>{this._modalRefs.length||(this._document.body.classList.remove("modal-open"),this._restoreScrollBar(),this._revertAriaHidden())})),s.close=h=>{d.close(h)},s.dismiss=h=>{d.dismiss(h)},s.update=h=>{d.update(h)},d.update(o),1===this._modalRefs.length&&this._document.body.classList.add("modal-open"),c&&c.instance&&c.changeDetectorRef.detectChanges(),u.changeDetectorRef.detectChanges(),d}get activeInstances(){return this._activeInstances}dismissAll(t){this._modalRefs.forEach(i=>i.dismiss(t))}hasOpenModals(){return this._modalRefs.length>0}_attachBackdrop(t){let i=Yp(VW,{environmentInjector:this._applicationRef.injector,elementInjector:this._injector});return this._applicationRef.attachView(i.hostView),t.appendChild(i.location.nativeElement),i}_attachWindowComponent(t,i){let o=Yp(GW,{environmentInjector:this._applicationRef.injector,elementInjector:this._injector,projectableNodes:i});return this._applicationRef.attachView(o.hostView),t.appendChild(o.location.nativeElement),o}_getContentRef(t,i,o,r,s){return o?o instanceof Le?this._createFromTemplateRef(o,r):yo(o)?this._createFromString(o):this._createFromComponent(t,i,o,r,s):new No([])}_createFromTemplateRef(t,i){const r=t.createEmbeddedView({$implicit:i,close(s){i.close(s)},dismiss(s){i.dismiss(s)}});return this._applicationRef.attachView(r),new No([r.rootNodes],r)}_createFromString(t){const i=this._document.createTextNode(`${t}`);return new No([[i]])}_createFromComponent(t,i,o,r,s){const l=Yp(o,{environmentInjector:i,elementInjector:xe.create({providers:[{provide:jT,useValue:r}],parent:t})}),c=l.location.nativeElement;return s.scrollable&&c.classList.add("component-host-scrollable"),this._applicationRef.attachView(l.hostView),new No([[c]],l.hostView,l)}_setAriaHidden(t){const i=t.parentElement;i&&t!==this._document.body&&(Array.from(i.children).forEach(o=>{o!==t&&"SCRIPT"!==o.nodeName&&(this._ariaHiddenValues.set(o,o.getAttribute("aria-hidden")),o.setAttribute("aria-hidden","true"))}),this._setAriaHidden(i))}_revertAriaHidden(){this._ariaHiddenValues.forEach((t,i)=>{t?i.setAttribute("aria-hidden",t):i.removeAttribute("aria-hidden")}),this._ariaHiddenValues.clear()}_registerModalRef(t){const i=()=>{const o=this._modalRefs.indexOf(t);o>-1&&(this._modalRefs.splice(o,1),this._activeInstances.emit(this._modalRefs))};this._modalRefs.push(t),this._activeInstances.emit(this._modalRefs),t.result.then(i,i)}_registerWindowCmpt(t){this._windowCmpts.push(t),this._activeWindowCmptHasChanged.next(),t.onDestroy(()=>{const i=this._windowCmpts.indexOf(t);i>-1&&(this._windowCmpts.splice(i,1),this._activeWindowCmptHasChanged.next())})}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),WW=(()=>{class e{constructor(){this._injector=m(xe),this._modalStack=m(UW),this._config=m(FW)}open(t,i={}){const o={...this._config,animation:this._config.animation,...i};return this._modalStack.open(this._injector,t,o)}get activeInstances(){return this._modalStack.activeInstances}dismissAll(t){this._modalStack.dismissAll(t)}hasOpenModals(){return this._modalStack.hasOpenModals()}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),$T=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=de({type:e});static#n=this.\u0275inj=se({providers:[WW]})}return e})(),WT=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=de({type:e});static#n=this.\u0275inj=se({})}return e})(),XT=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=de({type:e});static#n=this.\u0275inj=se({})}return e})();const e5={hover:["mouseenter","mouseleave"],focus:["focusin","focusout"]};let eI=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=de({type:e});static#n=this.\u0275inj=se({})}return e})(),tI=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=de({type:e});static#n=this.\u0275inj=se({})}return e})(),nI=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=de({type:e});static#n=this.\u0275inj=se({})}return e})(),iI=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=de({type:e});static#n=this.\u0275inj=se({})}return e})(),oI=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=de({type:e});static#n=this.\u0275inj=se({})}return e})(),rI=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=de({type:e});static#n=this.\u0275inj=se({})}return e})(),s5=(()=>{class e{constructor(){this._ngbConfig=m(Ha),this.autoClose=!0,this.placement="auto",this.popperOptions=t=>t,this.triggers="hover focus",this.disableTooltip=!1,this.openDelay=0,this.closeDelay=0}get animation(){return this._animation??this._ngbConfig.animation}set animation(t){this._animation=t}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),a5=0,l5=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=ot({type:e,selectors:[["ngb-tooltip-window"]],hostAttrs:["role","tooltip"],hostVars:5,hostBindings:function(i,o){2&i&&(Xt("id",o.id),xr("tooltip"+(o.tooltipClass?" "+o.tooltipClass:"")),_e("fade",o.animation))},inputs:{animation:"animation",id:"id",tooltipClass:"tooltipClass"},standalone:!0,features:[In],ngContentSelectors:oT,decls:3,vars:0,consts:[["data-popper-arrow","",1,"tooltip-arrow"],[1,"tooltip-inner"]],template:function(i,o){1&i&&(la(),qe(0,"div",0),N(1,"div",1),ca(2),I())},styles:["ngb-tooltip-window{pointer-events:none;position:absolute}ngb-tooltip-window .tooltip-inner{pointer-events:auto}ngb-tooltip-window.bs-tooltip-top,ngb-tooltip-window.bs-tooltip-bottom{padding-left:0;padding-right:0}ngb-tooltip-window.bs-tooltip-start,ngb-tooltip-window.bs-tooltip-end{padding-top:0;padding-bottom:0}\n"],encapsulation:2,changeDetection:0})}return e})(),c5=(()=>{class e{constructor(){this._config=m(s5),this.animation=this._config.animation,this.autoClose=this._config.autoClose,this.placement=this._config.placement,this.popperOptions=this._config.popperOptions,this.triggers=this._config.triggers,this.container=this._config.container,this.disableTooltip=this._config.disableTooltip,this.tooltipClass=this._config.tooltipClass,this.openDelay=this._config.openDelay,this.closeDelay=this._config.closeDelay,this.shown=new V,this.hidden=new V,this._nativeElement=m(ge).nativeElement,this._ngZone=m(Q),this._document=m(ht),this._changeDetector=m(Jn),this._ngbTooltipWindowId="ngb-tooltip-"+a5++,this._popupService=new LW(l5),this._windowRef=null,this._positioning=Em()}set ngbTooltip(t){this._ngbTooltip=t,!t&&this._windowRef&&this.close()}get ngbTooltip(){return this._ngbTooltip}open(t){if(!this._windowRef&&this._ngbTooltip&&!this.disableTooltip){const{windowRef:i,transition$:o}=this._popupService.open(this._ngbTooltip,t??this.tooltipContext,this.animation);this._windowRef=i,this._windowRef.setInput("animation",this.animation),this._windowRef.setInput("tooltipClass",this.tooltipClass),this._windowRef.setInput("id",this._ngbTooltipWindowId),this._getPositionTargetElement().setAttribute("aria-describedby",this._ngbTooltipWindowId),"body"===this.container&&this._document.body.appendChild(this._windowRef.location.nativeElement),this._windowRef.changeDetectorRef.detectChanges(),this._windowRef.changeDetectorRef.markForCheck(),this._ngZone.runOutsideAngular(()=>{this._positioning.createPopper({hostElement:this._getPositionTargetElement(),targetElement:this._windowRef.location.nativeElement,placement:this.placement,baseClass:"bs-tooltip",updatePopperOptions:r=>this.popperOptions(wm([0,6])(r))}),Promise.resolve().then(()=>{this._positioning.update(),this._zoneSubscription=this._ngZone.onStable.subscribe(()=>this._positioning.update())})}),Dm(this._ngZone,this._document,this.autoClose,()=>this.close(),this.hidden,[this._windowRef.location.nativeElement],[this._nativeElement]),o.subscribe(()=>this.shown.emit())}}close(t=this.animation){null!=this._windowRef&&(this._getPositionTargetElement().removeAttribute("aria-describedby"),this._popupService.close(t).subscribe(()=>{this._windowRef=null,this._positioning.destroy(),this._zoneSubscription?.unsubscribe(),this.hidden.emit(),this._changeDetector.markForCheck()}))}toggle(){this._windowRef?this.close():this.open()}isOpen(){return null!=this._windowRef}ngOnInit(){this._unregisterListenersFn=function n5(e,n,t,i,o,r=0,s=0){const a=function t5(e){const n=(e||"").trim();if(0===n.length)return[];const t=n.split(/\s+/).map(o=>o.split(":")).map(o=>e5[o[0]]||o),i=t.filter(o=>o.includes("manual"));if(i.length>1)throw"Triggers parse error: only one manual trigger is allowed";if(1===i.length&&t.length>1)throw"Triggers parse error: manual trigger can't be mixed with other triggers";return i.length?[]:t}(n);if(0===a.length)return()=>{};const l=new Set,c=[];let u;function d(f,p){e.addEventListener(f,p),c.push(()=>e.removeEventListener(f,p))}function h(f,p){clearTimeout(u),p>0?u=setTimeout(f,p):f()}for(const[f,p]of a)p?(d(f,()=>{l.add(f),h(()=>l.size>0&&i(),r)}),d(p,()=>{l.delete(f),h(()=>0===l.size&&o(),s)})):d(f,()=>t()?h(o,s):h(i,r));return()=>c.forEach(f=>f())}(this._nativeElement,this.triggers,this.isOpen.bind(this),this.open.bind(this),this.close.bind(this),+this.openDelay,+this.closeDelay)}ngOnChanges({tooltipClass:t}){t&&this.isOpen()&&this._windowRef.setInput("tooltipClass",t.currentValue)}ngOnDestroy(){this.close(!1),this._unregisterListenersFn?.()}_getPositionTargetElement(){return(yo(this.positionTarget)?this._document.querySelector(this.positionTarget):this.positionTarget)||this._nativeElement}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275dir=S({type:e,selectors:[["","ngbTooltip",""]],inputs:{animation:"animation",autoClose:"autoClose",placement:"placement",popperOptions:"popperOptions",triggers:"triggers",positionTarget:"positionTarget",container:"container",disableTooltip:"disableTooltip",tooltipClass:"tooltipClass",tooltipContext:"tooltipContext",openDelay:"openDelay",closeDelay:"closeDelay",ngbTooltip:"ngbTooltip"},outputs:{shown:"shown",hidden:"hidden"},exportAs:["ngbTooltip"],standalone:!0,features:[Ct]})}return e})(),Pm=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=de({type:e});static#n=this.\u0275inj=se({})}return e})();new A("live announcer delay",{providedIn:"root",factory:()=>100});let sI=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=de({type:e});static#n=this.\u0275inj=se({})}return e})(),aI=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=de({type:e});static#n=this.\u0275inj=se({})}return e})();const d5=[hT,pT,_T,vT,VT,Om,$T,WT,aI,XT,eI,tI,nI,iI,oI,rI,Pm,sI];let f5=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=de({type:e});static#n=this.\u0275inj=se({imports:[d5,hT,pT,_T,vT,VT,Om,$T,WT,aI,XT,eI,tI,nI,iI,oI,rI,Pm,sI]})}return e})(),h5=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=ot({type:e,selectors:[["icon-all"]],decls:4,vars:0,consts:[["height","12px","width","12px","fill","#000000","version","1.1","x","0px","y","0px","viewBox","21.481 21.441 57.23 57.237","xmlns","http://www.w3.org/2000/svg",2,"enable-background","new 0 0 100 100","padding-bottom","1px"],["d","M74.5,21.7H33.6c-2.1,0-3.8,1.7-3.8,3.8v4.3h-3.2c-2.7,0-4.9,2.2-4.9,4.9v38.8c0,2.7,2.2,4.9,4.9,4.9h38.8 c2.7,0,4.9-2.2,4.9-4.9v-3.2h4.3c2.1,0,3.8-1.7,3.8-3.8V25.5C78.3,23.4,76.6,21.7,74.5,21.7z M66.9,73.4c0,0.9-0.7,1.6-1.6,1.6 H26.6c-0.9,0-1.6-0.7-1.6-1.6V34.6c0-0.9,0.7-1.6,1.6-1.6h38.8c0.9,0,1.6,0.7,1.6,1.6V73.4z M75,66.4c0,0.3-0.2,0.5-0.5,0.5h-4.3 V34.6c0-2.7-2.2-4.9-4.9-4.9H33.1v-4.3c0-0.3,0.2-0.5,0.5-0.5h40.9c0.3,0,0.5,0.2,0.5,0.5V66.4z"],["d","M54.4,42.4L40,58.8l-2.6-2.7c-1.2-1.3-3.3-1.3-4.5-0.1s-1.3,3.3-0.1,4.5l5,5.2c0.6,0.6,1.4,1,2.3,1c0,0,0,0,0.1,0 c0.9,0,1.7-0.4,2.3-1.1l16.8-19c1.2-1.3,1.1-3.4-0.3-4.5C57.6,41,55.6,41.1,54.4,42.4z"]],template:function(i,o){1&i&&(_s(),N(0,"svg",0)(1,"g"),qe(2,"path",1)(3,"path",2),I()())},encapsulation:2})}return e})(),p5=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=ot({type:e,selectors:[["icon-checkmark"]],decls:6,vars:0,consts:[["height","14px","width","14px","fill","#000000","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",0,"xml","space","preserve","version","1.1","viewBox","0 0 333 333","x","0px","y","0px","fill-rule","evenodd","clip-rule","evenodd",2,"shape-rendering","geometricPrecision","text-rendering","geometricPrecision","image-rendering","optimizeQuality"],["type","text/css"],["d","M47 165c-20,-21 -52,11 -31,31 26,27 52,55 79,81 12,11 21,11 32,0l191 -190c20,-21 -11,-53 -32,-32l-174 174 -65 -64z",1,"fil0"]],template:function(i,o){1&i&&(_s(),N(0,"svg",0)(1,"defs")(2,"style",1),X(3," .fil0 {fill:#000000} "),I()(),N(4,"g"),qe(5,"path",2),I()())},encapsulation:2})}return e})(),g5=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=ot({type:e,selectors:[["icon-none"]],decls:3,vars:0,consts:[["height","12px","width","12px","fill","#000000","version","1.1","x","0px","y","0px","viewBox","21.481 21.441 57.23 57.237","xmlns","http://www.w3.org/2000/svg",2,"enable-background","new 0 0 100 100","padding-bottom","1px"],["d","M74.5,21.7H33.6c-2.1,0-3.8,1.7-3.8,3.8v4.3h-3.2c-2.7,0-4.9,2.2-4.9,4.9v38.8c0,2.7,2.2,4.9,4.9,4.9h38.8 c2.7,0,4.9-2.2,4.9-4.9v-3.2h4.3c2.1,0,3.8-1.7,3.8-3.8V25.5C78.3,23.4,76.6,21.7,74.5,21.7z M66.9,73.4c0,0.9-0.7,1.6-1.6,1.6 H26.6c-0.9,0-1.6-0.7-1.6-1.6V34.6c0-0.9,0.7-1.6,1.6-1.6h38.8c0.9,0,1.6,0.7,1.6,1.6V73.4z M75,66.4c0,0.3-0.2,0.5-0.5,0.5h-4.3 V34.6c0-2.7-2.2-4.9-4.9-4.9H33.1v-4.3c0-0.3,0.2-0.5,0.5-0.5h40.9c0.3,0,0.5,0.2,0.5,0.5V66.4z"]],template:function(i,o){1&i&&(_s(),N(0,"svg",0)(1,"g"),qe(2,"path",1),I()())},encapsulation:2})}return e})(),m5=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=ot({type:e,selectors:[["icon-plus"]],decls:3,vars:0,consts:[["height","14px","width","14px","fill","#000000",0,"xmlns","dc","http://purl.org/dc/elements/1.1/",0,"xmlns","cc","http://creativecommons.org/ns#",0,"xmlns","rdf","http://www.w3.org/1999/02/22-rdf-syntax-ns#",0,"xmlns","svg","http://www.w3.org/2000/svg","xmlns","http://www.w3.org/2000/svg",0,"xmlns","sodipodi","http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd",0,"xmlns","inkscape","http://www.inkscape.org/namespaces/inkscape","version","1.1","x","0px","y","0px","viewBox","0 0 100 100",2,"padding-bottom","1px"],["transform","translate(0,-952.36218)"],["d","m 50,964.36218 c -2.7615,0 -5,2.2386 -5,5 l 0,28.0001 -28,0 c -2.7614,0 -5,2.2385 -5,5.00002 0,2.7615 2.2386,5 5,5 l 28,0 0,27.9999 c 0,2.7614 2.2385,5 5,5 2.7615,0 5,-2.2386 5,-5 l 0,-27.9999 28,0 c 2.7614,0 5,-2.2385 5,-5 0,-2.76152 -2.2386,-5.00002 -5,-5.00002 l -28,0 0,-28.0001 c 0,-2.7614 -2.2385,-5 -5,-5 z","fill","#000000","fill-opacity","1","stroke","none","marker","none","visibility","visible","display","inline","overflow","visible",2,"text-indent","0","text-transform","none","direction","ltr","block-progression","tb","baseline-shift","baseline","color","#000000","enable-background","accumulate"]],template:function(i,o){1&i&&(_s(),N(0,"svg",0)(1,"g",1),qe(2,"path",2),I()())},encapsulation:2})}return e})();const _5=["search"],v5=["dropdown"],y5=["*"];function b5(e,n){if(1&e){const t=ft();Pr(0),N(1,"button",15),$("click",function(){return Ee(t),we(P().onSelectAll())}),qe(2,"icon-all"),X(3," Select All "),I(),kr()}if(2&e){const t=P();M(),F("hidden",t.nextToggleState===t.DESELECT)}}function D5(e,n){if(1&e){const t=ft();Pr(0),N(1,"button",15),$("click",function(){return Ee(t),we(P().onSelectMultiple())}),qe(2,"icon-all"),X(3," Select Multiple "),I(),kr()}if(2&e){const t=P();M(),F("hidden",t.nextToggleState===t.DESELECT)}}function E5(e,n){if(1&e){const t=ft();Pr(0),N(1,"button",15),$("click",function(){return Ee(t),we(P().onSelectNone())}),qe(2,"icon-none"),X(3," Select None "),I(),kr()}if(2&e){const t=P();M(),F("hidden",t.nextToggleState===t.SELECT)}}function w5(e,n){if(1&e){const t=ft();N(0,"div",16)(1,"button",17),$("click",function(){const o=Ee(t).$implicit;return we(P().onItemSelect(o))}),N(2,"div",18)(3,"div",19),X(4),I(),N(5,"div",20),qe(6,"icon-checkmark"),I()()()()}if(2&e){const t=n.$implicit,i=P();F("hidden",i.loading),M(),F("ngbTooltip",t)("disableTooltip",!i.tooltips)("openDelay",i.tooltipsOpenDelay)("hidden",!i.isFiltered(t)),M(3),Tn(t),M(),F("hidden",!i.isSelected(t))}}let lI=(()=>{class e{constructor(){this.SELECT=Xg.All,this.DESELECT=Xg.None,this.autoClose="outside",this.allowCreateItem=!1,this.customClickHandle=!1,this.disabled=!1,this.searchInputPlaceholder="Search",this.tooltips=!1,this.tooltipsOpenDelay=0,this.itemCreated=new V,this.selectionChanged=new V,this.openChanged=new V,this.filtered=new Set,this.nextToggleState=this.SELECT,this.searchForm=new K3({searchInput:new s$}),this._itemsSet=new Set,this._items=[],this._loading=!1,this._selectedSet=new Set}set items(t){this.setItems(t)}get items(){return this._items}set loading(t){this.setLoading(t)}get loading(){return this._loading}set selection(t){this.setSelection(t)}get selection(){const t=Array.from(this._selectedSet);return this._allowMultiSelect?t:t?t[0]:""}set selectionMode(t){this.setSelectionMode(t)}get allowToggleSelectAll(){return this._allowMultiSelect&&0===this.searchInputValue.length&&(this._selectionMode===mn.MultiSelectWithSelectAll||this._selectionMode===mn.MultiSelectWithSelectAllSelectNone)&&!this.loading}get allowToggleSelectMultiple(){return this._allowMultiSelect&&this.searchInputValue.length>0&&this.filtered.size>0&&this._selectionMode===mn.MultiSelectWithSelectAllSelectNone&&!this.loading}get allowToggleSelectNone(){return this._allowMultiSelect&&this._selectedSet.size>0&&(this._selectionMode===mn.MultiSelectWithSelectNone||this._selectionMode===mn.MultiSelectWithSelectAllSelectNone)&&!this.loading}get noItemsToDisplay(){return 0===this.filtered.size&&!this.allowCreateItem&&!this.loading}get showCreateItem(){return this.searchInputValue.length>0&&this.allowCreateItem&&!this._itemsSet.has(this.searchInputValue)&&!this.loading}get searchInput(){return this.searchForm.controls.searchInput}get searchInputValue(){return this.searchInput.value||""}get typeToCreateItem(){return 0===this.filtered.size&&0===this.searchInputValue.length&&this.allowCreateItem&&!this.loading}ngOnInit(){this._valueChangesSubscription=this.searchForm.get("searchInput").valueChanges.subscribe(t=>{if(!t)return void(this.filtered=new Set(this.items));const i=t.toLowerCase(),o=this.items.filter(r=>-1!==r.toLowerCase().indexOf(i));this.filtered=new Set(o)})}ngOnDestroy(){this._valueChangesSubscription?.unsubscribe()}isFiltered(t){return this.filtered.has(t)}isSelected(t){return this._selectedSet.has(t)}onCreateItem(){const t=this.searchInputValue;this.createItem(t),this.itemCreated.next({created:t,items:this.items,selection:this.selection}),this.resetFilterInput()}onEnterKeyPressed(){if(this._allowMultiSelect&&this.filtered?.size&&this.selectMultiple(),!this._allowMultiSelect&&this.filtered?.size&&(this._selectedSet=new Set([this.filtered.entries().next().value[0]])),this.allowCreateItem&&!this.filtered?.size){const t=this.searchInputValue;this.createItem(t),this.itemCreated.next({created:t,items:this.items,selection:this.selection}),this.resetFilterInput()}this.allowCreateItem||this.selectionChanged.next({selection:this.selection}),this.autoClose&&this.dropdown.close()}onItemSelect(t){this._allowMultiSelect?(this._selectedSet.has(t)?this._selectedSet.delete(t):this._selectedSet.add(t),this.nextToggleState=this._selectedSet.size>0?this.DESELECT:this.SELECT):this._selectedSet=new Set([t]),this.selectionChanged.next({selection:this.selection})}onOpenChange(t){t?this.focusSearchInput():this.resetFilterInput(),this.openChanged.next({open:t})}onSelectAll(){this.nextToggleState=this.DESELECT,this._selectedSet=new Set(this.items),this.selectionChanged.next({selection:this.selection})}onSelectMultiple(){this.selectMultiple(),this.selectionChanged.next({selection:this.selection})}onSelectNone(){this.nextToggleState=this.SELECT,this._selectedSet=new Set([]),this.selectionChanged.next({selection:this.selection})}resetFilterInput(){this.searchInput.setValue("")}createItem(t){this._allowMultiSelect?this._selectedSet.add(t):this._selectedSet=new Set([t]),this._items=[...this._items,t]}focusSearchInput(){setTimeout(()=>this.search.nativeElement.focus())}setItems(t){this.filtered=new Set(t),this._itemsSet=new Set(t),this._items=t}setLoading(t){t?this.searchInput.disable():(this.searchInput.enable(),this.focusSearchInput()),this._loading=t}setSelectionMode(t){this._allowMultiSelect=t===mn.MultiSelect||t===mn.MultiSelectWithSelectAll||t===mn.MultiSelectWithSelectAllSelectNone||t===mn.MultiSelectWithSelectNone,this._selectionMode=t}setSelection(t){if(!t||0===t?.length)return this._selectedSet=new Set([]),void(this.nextToggleState=this.SELECT);"string"!=typeof t?(this.nextToggleState=this.DESELECT,this._selectedSet=new Set(t)):this._selectedSet=new Set([t])}selectMultiple(){this.filtered.forEach(t=>{this._selectedSet.has(t)||this._selectedSet.add(t)}),this.nextToggleState=this.DESELECT}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=ot({type:e,selectors:[["ngb-custom-filterable-dropdown"]],viewQuery:function(i,o){if(1&i&&(fi(_5,7),fi(v5,7)),2&i){let r;Ie(r=Me())&&(o.search=r.first),Ie(r=Me())&&(o.dropdown=r.first)}},inputs:{autoClose:"autoClose",allowCreateItem:"allowCreateItem",customClickHandle:"customClickHandle",disabled:"disabled",searchInputPlaceholder:"searchInputPlaceholder",tooltips:"tooltips",tooltipsOpenDelay:"tooltipsOpenDelay",items:"items",loading:"loading",selection:"selection",selectionMode:"selectionMode"},outputs:{itemCreated:"itemCreated",selectionChanged:"selectionChanged",openChanged:"openChanged"},ngContentSelectors:y5,decls:23,vars:13,consts:[["dropdown","ngbDropdown"],["search",""],["ngbDropdown","",3,"openChange","autoClose"],["type","button","ngbDropdownToggle","",1,"custom-click-handle","cursor-pointer",3,"disabled"],["ngbDropdownMenu","","aria-labelledby","toggle"],[1,"dropdown-menu-inner"],[1,"form-search",3,"formGroup"],["formControlName","searchInput",1,"form-control",3,"click","keyup.enter","placeholder"],[1,"scroll-container"],[4,"ngIf"],["id","create-item","type","button",1,"dropdown-item","filterable-dropdown-item","px-2",3,"click","hidden"],[3,"hidden",4,"ngFor","ngForOf"],["id","no-items",1,"dropdown-item",3,"hidden"],["id","type-to-create",1,"dropdown-item",3,"hidden"],["id","loading",1,"dropdown-item",3,"hidden"],["type","button",1,"dropdown-item","filterable-dropdown-item","px-2",3,"click","hidden"],[3,"hidden"],["type","button",1,"dropdown-item","filterable-dropdown-item","px-2",3,"click","ngbTooltip","disableTooltip","openDelay","hidden"],[1,"d-flex","flex-row"],[1,"item-text-container"],[1,"w-100","text-end",3,"hidden"]],template:function(i,o){if(1&i){const r=ft();la(),N(0,"div",2,0),$("openChange",function(a){return Ee(r),we(o.onOpenChange(a))}),N(2,"button",3),ca(3),I(),N(4,"div",4)(5,"div",5)(6,"form",6)(7,"input",7,1),$("click",function(a){return Ee(r),we(a.stopPropagation())})("keyup.enter",function(){return Ee(r),we(o.onEnterKeyPressed())}),I()(),N(9,"div",8),re(10,b5,4,1,"ng-container",9)(11,D5,4,1,"ng-container",9)(12,E5,4,1,"ng-container",9),N(13,"button",10),$("click",function(){return Ee(r),we(o.onCreateItem())}),qe(14,"icon-plus"),X(15),I(),re(16,w5,7,7,"div",11),N(17,"div",12),X(18," No items to display. "),I(),N(19,"div",13),X(20," Start typing to create a new item "),I(),N(21,"div",14),X(22," Loading... "),I()()()()()}2&i&&(F("autoClose",o.autoClose),M(2),F("disabled",o.disabled),M(4),F("formGroup",o.searchForm),M(),F("placeholder",o.searchInputPlaceholder),M(3),F("ngIf",o.allowToggleSelectAll),M(),F("ngIf",o.allowToggleSelectMultiple),M(),F("ngIf",o.allowToggleSelectNone),M(),F("hidden",!o.showCreateItem),M(2),pi(" Create ",o.searchInputValue," "),M(),F("ngForOf",o.items),M(),F("hidden",!o.noItemsToDisplay),M(2),F("hidden",!o.typeToCreateItem),M(2),F("hidden",!o.loading))},dependencies:[hN,vu,JC,XC,Ou,Yg,rg,sg,Yu,HT,Sm,c5,h5,p5,g5,m5],styles:[".dropdown-menu[_ngcontent-%COMP%]{width:100%;height:auto;min-height:86px;padding-top:0!important}.dropdown-menu-inner[_ngcontent-%COMP%]{display:flex;flex-direction:column;max-height:231px;min-height:76px;height:auto}.filterable-dropdown-item[_ngcontent-%COMP%]{position:relative;height:37px;width:100%;box-shadow:inset 0 -1px #dfe3e9;text-align:left;overflow:hidden;text-overflow:ellipsis}.filterable-dropdown-item[_ngcontent-%COMP%]:active, .filterable-dropdown-item[_ngcontent-%COMP%]:focus, .filterable-dropdown-item[_ngcontent-%COMP%]:hover, .filterable-dropdown-item[_ngcontent-%COMP%]:visited{-webkit-box-shadow:none!important;box-sizing:none;outline:none!important;background-color:#f8f9fa;box-shadow:none!important;text-decoration:none}.form-control[_ngcontent-%COMP%]{text-align:left}.form-search[_ngcontent-%COMP%]{height:-moz-fit-content;height:fit-content;margin:4px}.item-text-container[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;min-width:90%}#no-items[_ngcontent-%COMP%], #type-to-create[_ngcontent-%COMP%], #loading[_ngcontent-%COMP%]{text-align:left;padding-top:10px;padding-left:16px}#no-items[_ngcontent-%COMP%]:hover, #no-items[_ngcontent-%COMP%]:active, #type-to-create[_ngcontent-%COMP%]:hover, #type-to-create[_ngcontent-%COMP%]:active, #loading[_ngcontent-%COMP%]:hover, #loading[_ngcontent-%COMP%]:active{background-color:transparent!important;color:#354052!important}.scroll-container[_ngcontent-%COMP%]{width:100%;min-height:30px;overflow-y:scroll}icon-all[_ngcontent-%COMP%], icon-none[_ngcontent-%COMP%], icon-checkmark[_ngcontent-%COMP%]{padding-right:7px}icon-plus[_ngcontent-%COMP%]{margin-left:-1px;padding-right:6px}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.custom-click-handle.dropdown-toggle[_ngcontent-%COMP%]:after{display:none!important}.custom-click-handle[_ngcontent-%COMP%]{width:100%;height:100%;padding:0;border:none;background-color:transparent;outline:none!important}"]})}return e})();var mn=function(e){return e.SingleSelect="Single Select",e.MultiSelectWithSelectAllSelectNone="Multi-Select with Select All and Select None",e.MultiSelectWithSelectAll="Multi-Select with Select All",e.MultiSelectWithSelectNone="Multi-Select with Select None",e.MultiSelect="Multi-Select",e}(mn||{});let cI=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=de({type:e});static#n=this.\u0275inj=se({})}return e})(),uI=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=de({type:e});static#n=this.\u0275inj=se({imports:[Jg,xN,dg,Om,Pm,cI]})}return e})(),C5=(()=>{class e{static#e=this.MULTIPLE_ITEMS_STRING="Multiple";transform(t,i){return"string"==typeof t?t||i:t instanceof Array?0===t.length?i:1===t.length?t[0]:e.MULTIPLE_ITEMS_STRING:i}static#t=this.\u0275fac=function(i){return new(i||e)};static#n=this.\u0275pipe=Et({name:"multiSelect",type:e,pure:!0})}return e})();const N5=["*"];let T5=(()=>{class e{constructor(){this.allowCreateItem=!1,this.autoClose=!1,this.disabled=!1,this.items=[],this.loading=!1,this.placeholder="No Items Selected",this.searchInputPlaceholder="Search",this.selection=[],this.tooltips=!1,this.tooltipsOpenDelay=0,this.itemCreated=new V,this.openChanged=new V,this.selectionChanged=new V}onItemCreated(t){this.itemCreated.next(t)}onOpenChanged(t){this.openChanged.next(t)}onSelectionChanged(t){this.selectionChanged.next(t)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=ot({type:e,selectors:[["ngb-filterable-dropdown"]],inputs:{allowCreateItem:"allowCreateItem",autoClose:"autoClose",disabled:"disabled",items:"items",loading:"loading",placeholder:"placeholder",searchInputPlaceholder:"searchInputPlaceholder",selection:"selection",selectionMode:"selectionMode",tooltips:"tooltips",tooltipsOpenDelay:"tooltipsOpenDelay"},outputs:{itemCreated:"itemCreated",openChanged:"openChanged",selectionChanged:"selectionChanged"},ngContentSelectors:N5,decls:7,vars:15,consts:[[3,"itemCreated","openChanged","selectionChanged","allowCreateItem","autoClose","disabled","items","loading","searchInputPlaceholder","selection","selectionMode","tooltips","tooltipsOpenDelay"],["id","toggle","type","button",1,"btn","btn-dropdown-toggle",3,"disabled"],[1,"ng-content-wrapper"],[1,"default-content-wrapper"]],template:function(i,o){1&i&&(la(),N(0,"ngb-custom-filterable-dropdown",0),$("itemCreated",function(s){return o.onItemCreated(s)})("openChanged",function(s){return o.onOpenChanged(s)})("selectionChanged",function(s){return o.onSelectionChanged(s)}),N(1,"button",1)(2,"div",2),ca(3),I(),N(4,"div",3),X(5),function rE(e,n){const t=Y();let i;const o=e+x;t.firstCreatePass?(i=function aL(e,n){if(n)for(let t=n.length-1;t>=0;t--){const i=n[t];if(e===i.name)return i}}(n,t.pipeRegistry),t.data[o]=i,i.onDestroy&&(t.destroyHooks??=[]).push(o,i.onDestroy)):i=t.data[o];const r=i.factory||(i.factory=$i(i.type)),a=kt(w);try{const l=xl(!1),c=r();return xl(l),function vp(e,n,t,i){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=i}(t,b(),o,c),c}finally{kt(a)}}(6,"multiSelect"),I()()()),2&i&&(F("allowCreateItem",o.allowCreateItem)("autoClose",o.autoClose)("disabled",o.disabled)("items",o.items)("loading",o.loading)("searchInputPlaceholder",o.searchInputPlaceholder)("selection",o.selection)("selectionMode",o.selectionMode)("tooltips",o.tooltips)("tooltipsOpenDelay",o.tooltipsOpenDelay),M(),F("disabled",o.disabled),M(4),pi(" ",sE(6,12,o.selection,o.placeholder)," "))},dependencies:[lI,C5],styles:['.btn-dropdown-toggle[_ngcontent-%COMP%]{width:100%;height:37px;border:solid 1px #dfe2e5;border-radius:4px;background-image:none;background-color:#fff;line-height:1.36;text-align:left;text-overflow:ellipsis;overflow:hidden}.btn-dropdown-toggle[_ngcontent-%COMP%]:active, .btn-dropdown-toggle[_ngcontent-%COMP%]:focus, .btn-dropdown-toggle[_ngcontent-%COMP%]:hover, .btn-dropdown-toggle[_ngcontent-%COMP%]:visited{-webkit-box-shadow:none!important;box-sizing:none;box-shadow:none!important}.btn-dropdown-toggle[_ngcontent-%COMP%]:disabled{cursor:default}.btn-dropdown-toggle[_ngcontent-%COMP%]:after{margin-top:8px;position:absolute;right:15px}.ng-content-wrapper[_ngcontent-%COMP%], .default-content-wrapper[_ngcontent-%COMP%]{display:block;width:100%}.default-content-wrapper[_ngcontent-%COMP%]:after{text-align:right;border-bottom:0;border-left:.3em solid transparent;border-right:.3em solid transparent;border-top:.3em solid;content:"";display:inline-block;position:absolute;top:calc(50% - .15em);right:1em}.ng-content-wrapper[_ngcontent-%COMP%]:not(:empty) + .default-content-wrapper[_ngcontent-%COMP%]{display:none}']})}return e})(),I5=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=de({type:e});static#n=this.\u0275inj=se({imports:[Jg,xN,dg,f5,cI,uI]})}return e})();function M5(e,n){if(1&e&&(N(0,"option",26),X(1),I()),2&e){const t=n.$implicit;F("value",t),M(),pi(" ",t," ")}}function S5(e,n){if(1&e&&(N(0,"option",26),X(1),I()),2&e){const t=n.$implicit;F("value",t),M(),pi(" ",t," ")}}function O5(e,n){if(1&e){const t=ft();N(0,"ngb-filterable-dropdown",27),$("itemCreated",function(o){return Ee(t),we(P().onItemCreated(o))})("openChanged",function(o){return Ee(t),we(P().onOpenChanged(o))})("selectionChanged",function(o){return Ee(t),we(P().onSelectionChanged(o))}),X(1," Select a Bug \u{1f41b} "),I()}if(2&e){const t=P();F("allowCreateItem",t.allowCreateItem)("autoClose",t.autoClose)("items",t.items)("disabled",t.disabled)("searchInputPlaceholder",t.searchInputPlaceholder)("selection",t.selection)("selectionMode",t.selectionMode)("tooltips",t.tooltips)("tooltipsOpenDelay",t.tooltipsOpenDelay)}}function A5(e,n){if(1&e){const t=ft();N(0,"ngb-filterable-dropdown",28),$("itemCreated",function(o){return Ee(t),we(P().onItemCreated(o))})("openChanged",function(o){return Ee(t),we(P().onOpenChanged(o))})("selectionChanged",function(o){return Ee(t),we(P().onSelectionChanged(o))}),I()}if(2&e){const t=P();F("allowCreateItem",t.allowCreateItem)("autoClose",t.autoClose)("items",t.items)("disabled",t.disabled)("placeholder","No Bugs Selected")("searchInputPlaceholder",t.searchInputPlaceholder)("selection",t.selection)("selectionMode",t.selectionMode)("tooltips",t.tooltips)("tooltipsOpenDelay",t.tooltipsOpenDelay)}}let R5=(()=>{class e{constructor(){this.title="ngb-filterable-dropdown-examples",this.selectionModes=Object.values(mn),this.autoCloseValues=["inside","outside",!0,!1],this.items=["Beetle","Ant","Moth","Fire Ant","Dung Beetle","Grass Ant","A Really Long Made Up Bug Name For Testing Tooltips Etc Etc Yadda Yadda Yadda"],this.allowCreateItem=!1,this.autoClose=!1,this.customToggleText=!1,this.disabled=!1,this.genericHandleUseCustomHandle=!0,this.genericHandleSelection="nothing",this.isGenericHandleDropdownOpen=!1,this.searchInputPlaceholder="Search Bugs",this.selection="Moth",this.selectionMode=mn.SingleSelect,this.tooltips=!1,this.tooltipsOpenDelay=750}allowCreateItemClick(t){this.allowCreateItem=t.target.checked}customToggleTextClick(t){this.customToggleText=t.target.checked}disabledClick(t){this.disabled=t.target.checked}genericHandleOpenChanged(t){console.log(t),this.isGenericHandleDropdownOpen=t.open}genericHandlerOnSelectionChanged(t){this.genericHandleSelection=t.selection}onAutoCloseValueChanged(t){this.autoClose=t}onItemCreated(t){this.items=t.items,this.selection=t.selection,console.log(t)}onOpenChanged(t){console.log(t)}onSelectionChanged(t){this.selection=t.selection,console.log(t)}onSelectionModeChange(t){this.selectionMode=t,this.selection=[]}tooltipsClick(t){this.tooltips=t.target.checked}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=ot({type:e,selectors:[["app-root"]],decls:63,vars:25,consts:[[1,"p-2"],[1,"row"],[1,"col-12","col-xl-4"],["href","https://www.bugsplat.com"],["src","./assets/logo-bugsplat-color.png",2,"max-width","350px"],[1,"row","mt-4"],[1,"col-12"],["href","https://github.com/BugSplat-Git/ngb-filterable-dropdown"],[1,"col-12","col-xl-6"],["id","allow-create-item","type","checkbox",3,"click"],["for","allow-create-item",1,"ms-4","mb-0"],[1,"row","mt-2"],["id","custom-toggle-text","type","checkbox",3,"click"],["for","custom-toggle-text",1,"ms-4","mb-0"],["id","disabled","type","checkbox",3,"click"],["for","disabled",1,"ms-4","mb-0"],[1,"col-12","col-xl-3"],["for","selection-mode"],["id","selection-mode",1,"form-select",3,"change"],[3,"value",4,"ngFor","ngForOf"],["for","auto-close-value"],["id","auto-close-value",1,"form-select",3,"change"],[3,"allowCreateItem","autoClose","items","disabled","searchInputPlaceholder","selection","selectionMode","tooltips","tooltipsOpenDelay","itemCreated","openChanged","selectionChanged",4,"ngIf"],[3,"allowCreateItem","autoClose","items","disabled","placeholder","searchInputPlaceholder","selection","selectionMode","tooltips","tooltipsOpenDelay","itemCreated","openChanged","selectionChanged",4,"ngIf"],[3,"itemCreated","openChanged","selectionChanged","allowCreateItem","autoClose","items","searchInputPlaceholder","selection","selectionMode","tooltips","tooltipsOpenDelay"],[1,"alert","alert-dark"],[3,"value"],[3,"itemCreated","openChanged","selectionChanged","allowCreateItem","autoClose","items","disabled","searchInputPlaceholder","selection","selectionMode","tooltips","tooltipsOpenDelay"],[3,"itemCreated","openChanged","selectionChanged","allowCreateItem","autoClose","items","disabled","placeholder","searchInputPlaceholder","selection","selectionMode","tooltips","tooltipsOpenDelay"]],template:function(i,o){1&i&&(N(0,"div",0)(1,"div",1)(2,"div",2)(3,"a",3),qe(4,"img",4),I()()(),N(5,"div",5)(6,"div",6)(7,"h2")(8,"a",7),X(9),I()()()(),N(10,"div",5)(11,"div",8)(12,"input",9),$("click",function(s){return o.allowCreateItemClick(s)}),I(),N(13,"label",10),X(14,"Allow Create Item"),I()()(),N(15,"div",11)(16,"div",8)(17,"input",12),$("click",function(s){return o.customToggleTextClick(s)}),I(),N(18,"label",13),X(19,"Custom Toggle Text"),I()()(),N(20,"div",11)(21,"div",8)(22,"input",14),$("click",function(s){return o.tooltipsClick(s)}),I(),N(23,"label",15),X(24,"Tooltips"),I()()(),N(25,"div",11)(26,"div",8)(27,"input",14),$("click",function(s){return o.disabledClick(s)}),I(),N(28,"label",15),X(29,"Disabled"),I()()(),N(30,"div",5)(31,"div",16)(32,"label",17),X(33,"Selection Mode"),I(),N(34,"select",18),$("change",function(s){return o.onSelectionModeChange(s.target.value)}),re(35,M5,2,2,"option",19),I()()(),N(36,"div",5)(37,"div",16)(38,"label",20),X(39,"Auto Close"),I(),N(40,"select",21),$("change",function(s){return o.onAutoCloseValueChanged(s.target.value)}),re(41,S5,2,2,"option",19),I()()(),N(42,"div",5)(43,"div",8)(44,"h3"),X(45,"Bugs"),I(),re(46,O5,2,9,"ngb-filterable-dropdown",22)(47,A5,1,10,"ngb-filterable-dropdown",23),I()(),qe(48,"hr"),N(49,"div",5)(50,"div",8)(51,"h3"),X(52,"Custom Click Handle"),I(),N(53,"ngb-custom-filterable-dropdown",24),$("itemCreated",function(s){return o.onItemCreated(s)})("openChanged",function(s){return o.genericHandleOpenChanged(s)})("selectionChanged",function(s){return o.genericHandlerOnSelectionChanged(s)}),N(54,"span"),X(55),I()()()(),N(56,"div",5)(57,"div",8)(58,"h3"),X(59,"Styled Custom Click Handle"),I(),N(60,"ngb-custom-filterable-dropdown",24),$("itemCreated",function(s){return o.onItemCreated(s)})("openChanged",function(s){return o.genericHandleOpenChanged(s)})("selectionChanged",function(s){return o.genericHandlerOnSelectionChanged(s)}),N(61,"div",25),X(62),I()()()()()),2&i&&(M(9),Tn(o.title),M(26),F("ngForOf",o.selectionModes),M(6),F("ngForOf",o.autoCloseValues),M(5),F("ngIf",o.customToggleText),M(),F("ngIf",!o.customToggleText),M(6),F("allowCreateItem",o.allowCreateItem)("autoClose",o.autoClose)("items",o.items)("searchInputPlaceholder",o.searchInputPlaceholder)("selection",o.genericHandleSelection)("selectionMode",o.selectionMode)("tooltips",o.tooltips)("tooltipsOpenDelay",o.tooltipsOpenDelay),M(2),Pc("A generic click handle. -- Selected: ",o.genericHandleSelection," -- isOpen: ",o.isGenericHandleDropdownOpen,""),M(5),F("allowCreateItem",o.allowCreateItem)("autoClose",o.autoClose)("items",o.items)("searchInputPlaceholder",o.searchInputPlaceholder)("selection",o.genericHandleSelection)("selectionMode",o.selectionMode)("tooltips",o.tooltips)("tooltipsOpenDelay",o.tooltipsOpenDelay),M(2),Pc(" Heavily styled handle -- Selected: ",o.genericHandleSelection," -- isOpen: ",o.isGenericHandleDropdownOpen," "))},dependencies:[rg,sg,lI,T5,bN,EN],styles:["[_nghost-%COMP%]{display:block;padding:15px;min-height:1200px}"]})}return e})(),x5=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=de({type:e,bootstrap:[R5]});static#n=this.\u0275inj=se({imports:[Hj,uI,I5,Jg]})}return e})();Bj().bootstrapModule(x5).catch(e=>console.error(e))}},Jr=>{Jr(Jr.s=527)}]); \ No newline at end of file diff --git a/ngb-filterable-dropdown-example/main.59cad4852a8e80b1.js b/ngb-filterable-dropdown-example/main.59cad4852a8e80b1.js deleted file mode 100644 index 0e00a14..0000000 --- a/ngb-filterable-dropdown-example/main.59cad4852a8e80b1.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkngb_filterable_dropdown_example=self.webpackChunkngb_filterable_dropdown_example||[]).push([[792],{527:()=>{function Qo(e,n){return Object.is(e,n)}let ke=null,Sr=!1,Or=1;const mn=Symbol("SIGNAL");function q(e){const n=ke;return ke=e,n}const $a={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function td(e){if(Sr)throw new Error("");if(null===ke)return;ke.consumerOnSignalRead(e);const n=ke.nextProducerIndex++;Wa(ke),ne.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function id(e){Wa(e);for(let n=0;n0}function Wa(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function Vm(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function Hm(e){return void 0!==e.producerNode}const od=Symbol("UNSET"),sd=Symbol("COMPUTING"),za=Symbol("ERRORED"),CM={...$a,value:od,dirty:!0,error:null,equal:Qo,producerMustRecompute:e=>e.value===od||e.value===sd,producerRecomputeValue(e){if(e.value===sd)throw new Error("Detected cycle in computations.");const n=e.value;e.value=sd;const t=Ga(e);let i;try{i=e.computation()}catch(r){i=za,e.error=r}finally{nd(e,t)}n!==od&&n!==za&&i!==za&&e.equal(n,i)?e.value=n:(e.value=i,e.version++)}};let jm=function wM(){throw new Error};function $m(){jm()}let qa=null;function Gm(e,n){Fm()||$m(),e.equal(e.value,n)||(e.value=n,function SM(e){e.version++,function DM(){Or++}(),km(e),qa?.()}(e))}const IM={...$a,equal:Qo,value:void 0};function pe(e){return"function"==typeof e}function Wm(e){const t=e(i=>{Error.call(i),i.stack=(new Error).stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}const ad=Wm(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((i,r)=>`${r+1}) ${i.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t});function Ya(e,n){if(e){const t=e.indexOf(n);0<=t&&e.splice(t,1)}}class Gt{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;const{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(const o of t)o.remove(this);else t.remove(this);const{initialTeardown:i}=this;if(pe(i))try{i()}catch(o){n=o instanceof ad?o.errors:[o]}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const o of r)try{Ym(o)}catch(s){n=n??[],s instanceof ad?n=[...n,...s.errors]:n.push(s)}}if(n)throw new ad(n)}}add(n){var t;if(n&&n!==this)if(this.closed)Ym(n);else{if(n instanceof Gt){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=null!==(t=this._finalizers)&&void 0!==t?t:[]).push(n)}}_hasParent(n){const{_parentage:t}=this;return t===n||Array.isArray(t)&&t.includes(n)}_addParent(n){const{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(n),t):t?[t,n]:n}_removeParent(n){const{_parentage:t}=this;t===n?this._parentage=null:Array.isArray(t)&&Ya(t,n)}remove(n){const{_finalizers:t}=this;t&&Ya(t,n),n instanceof Gt&&n._removeParent(this)}}Gt.EMPTY=(()=>{const e=new Gt;return e.closed=!0,e})();const zm=Gt.EMPTY;function qm(e){return e instanceof Gt||e&&"closed"in e&&pe(e.remove)&&pe(e.add)&&pe(e.unsubscribe)}function Ym(e){pe(e)?e():e.unsubscribe()}const Vi={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Ka={setTimeout(e,n,...t){const{delegate:i}=Ka;return i?.setTimeout?i.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){const{delegate:n}=Ka;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Km(e){Ka.setTimeout(()=>{const{onUnhandledError:n}=Vi;if(!n)throw e;n(e)})}function Xo(){}const AM=ld("C",void 0,void 0);function ld(e,n,t){return{kind:e,value:n,error:t}}let Hi=null;function Za(e){if(Vi.useDeprecatedSynchronousErrorHandling){const n=!Hi;if(n&&(Hi={errorThrown:!1,error:null}),e(),n){const{errorThrown:t,error:i}=Hi;if(Hi=null,t)throw i}}else e()}class cd extends Gt{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,qm(n)&&n.add(this)):this.destination=BM}static create(n,t,i){return new dd(n,t,i)}next(n){this.isStopped?fd(function xM(e){return ld("N",e,void 0)}(n),this):this._next(n)}error(n){this.isStopped?fd(function RM(e){return ld("E",void 0,e)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?fd(AM,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const kM=Function.prototype.bind;function ud(e,n){return kM.call(e,n)}class FM{constructor(n){this.partialObserver=n}next(n){const{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(i){Qa(i)}}error(n){const{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(i){Qa(i)}else Qa(n)}complete(){const{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){Qa(t)}}}class dd extends cd{constructor(n,t,i){let r;if(super(),pe(n)||!n)r={next:n??void 0,error:t??void 0,complete:i??void 0};else{let o;this&&Vi.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe(),r={next:n.next&&ud(n.next,o),error:n.error&&ud(n.error,o),complete:n.complete&&ud(n.complete,o)}):r=n}this.destination=new FM(r)}}function Qa(e){Vi.useDeprecatedSynchronousErrorHandling?function PM(e){Vi.useDeprecatedSynchronousErrorHandling&&Hi&&(Hi.errorThrown=!0,Hi.error=e)}(e):Km(e)}function fd(e,n){const{onStoppedNotification:t}=Vi;t&&Ka.setTimeout(()=>t(e,n))}const BM={closed:!0,next:Xo,error:function LM(e){throw e},complete:Xo},hd="function"==typeof Symbol&&Symbol.observable||"@@observable";function es(e){return e}let Ze=(()=>{class e{constructor(t){t&&(this._subscribe=t)}lift(t){const i=new e;return i.source=this,i.operator=t,i}subscribe(t,i,r){const o=function HM(e){return e&&e instanceof cd||function VM(e){return e&&pe(e.next)&&pe(e.error)&&pe(e.complete)}(e)&&qm(e)}(t)?t:new dd(t,i,r);return Za(()=>{const{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(t){try{return this._subscribe(t)}catch(i){t.error(i)}}forEach(t,i){return new(i=Qm(i))((r,o)=>{const s=new dd({next:a=>{try{t(a)}catch(l){o(l),s.unsubscribe()}},error:o,complete:r});this.subscribe(s)})}_subscribe(t){var i;return null===(i=this.source)||void 0===i?void 0:i.subscribe(t)}[hd](){return this}pipe(...t){return function Zm(e){return 0===e.length?es:1===e.length?e[0]:function(t){return e.reduce((i,r)=>r(i),t)}}(t)(this)}toPromise(t){return new(t=Qm(t))((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return e.create=n=>new e(n),e})();function Qm(e){var n;return null!==(n=e??Vi.Promise)&&void 0!==n?n:Promise}const jM=Wm(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let $e=(()=>{class e extends Ze{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const i=new Jm(this,this);return i.operator=t,i}_throwIfClosed(){if(this.closed)throw new jM}next(t){Za(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(t)}})}error(t){Za(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;const{observers:i}=this;for(;i.length;)i.shift().error(t)}})}complete(){Za(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return(null===(t=this.observers)||void 0===t?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){const{hasError:i,isStopped:r,observers:o}=this;return i||r?zm:(this.currentObservers=null,o.push(t),new Gt(()=>{this.currentObservers=null,Ya(o,t)}))}_checkFinalizedStatuses(t){const{hasError:i,thrownError:r,isStopped:o}=this;i?t.error(r):o&&t.complete()}asObservable(){const t=new Ze;return t.source=this,t}}return e.create=(n,t)=>new Jm(n,t),e})();class Jm extends $e{constructor(n,t){super(),this.destination=n,this.source=t}next(n){var t,i;null===(i=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===i||i.call(t,n)}error(n){var t,i;null===(i=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===i||i.call(t,n)}complete(){var n,t;null===(t=null===(n=this.destination)||void 0===n?void 0:n.complete)||void 0===t||t.call(n)}_subscribe(n){var t,i;return null!==(i=null===(t=this.source)||void 0===t?void 0:t.subscribe(n))&&void 0!==i?i:zm}}class $M extends $e{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){const t=super._subscribe(n);return!t.closed&&n.next(this._value),t}getValue(){const{hasError:n,thrownError:t,_value:i}=this;if(n)throw t;return this._throwIfClosed(),i}next(n){super.next(this._value=n)}}function Ut(e){return n=>{if(function GM(e){return pe(e?.lift)}(n))return n.lift(function(t){try{return e(t,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function at(e,n,t,i,r){return new UM(e,n,t,i,r)}class UM extends cd{constructor(n,t,i,r,o,s){super(n),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=t?function(a){try{t(a)}catch(l){n.error(l)}}:super._next,this._error=r?function(a){try{r(a)}catch(l){n.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:t}=this;super.unsubscribe(),!t&&(null===(n=this.onFinalize)||void 0===n||n.call(this))}}}function Pn(e,n){return Ut((t,i)=>{let r=0;t.subscribe(at(i,o=>{i.next(e.call(n,o,r++))}))})}typeof navigator<"u"&&navigator,typeof navigator<"u"&&!/Opera/.test(navigator.userAgent)&&navigator,typeof navigator<"u"&&(/MSIE/.test(navigator.userAgent)||navigator),typeof navigator<"u"&&!/Opera|WebKit/.test(navigator.userAgent)&&navigator,typeof navigator<"u"&&navigator;class D extends Error{constructor(n,t){super(function Ar(e,n){return`NG0${Math.abs(e)}${n?": "+n:""}`}(n,t)),this.code=n}}function ni(e){return{toString:e}.toString()}const xr="__parameters__";function kr(e,n,t){return ni(()=>{const i=function bd(e){return function(...t){if(e){const i=e(...t);for(const r in i)this[r]=i[r]}}}(n);function r(...o){if(this instanceof r)return i.apply(this,o),this;const s=new r(...o);return a.annotation=s,a;function a(l,c,u){const d=l.hasOwnProperty(xr)?l[xr]:Object.defineProperty(l,xr,{value:[]})[xr];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),l}}return t&&(r.prototype=Object.create(t.prototype)),r.prototype.ngMetadataName=e,r.annotationCls=r,r})}const ge=globalThis;function fe(e){for(let n in e)if(e[n]===fe)return n;throw Error("Could not find renamed property on target object.")}function jI(e,n){for(const t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function Qe(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Qe).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const n=e.toString();if(null==n)return""+n;const t=n.indexOf("\n");return-1===t?n:n.substring(0,t)}function Dd(e,n){return null==e||""===e?null===n?"":n:null==n||""===n?e:e+" "+n}const $I=fe({__forward_ref__:fe});function ue(e){return e.__forward_ref__=ue,e.toString=function(){return Qe(this())},e}function j(e){return nl(e)?e():e}function nl(e){return"function"==typeof e&&e.hasOwnProperty($I)&&e.__forward_ref__===ue}function x(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function se(e){return{providers:e.providers||[],imports:e.imports||[]}}function il(e){return y_(e,ol)||y_(e,b_)}function y_(e,n){return e.hasOwnProperty(n)?e[n]:null}function rl(e){return e&&(e.hasOwnProperty(Ed)||e.hasOwnProperty(qI))?e[Ed]:null}const ol=fe({\u0275prov:fe}),Ed=fe({\u0275inj:fe}),b_=fe({ngInjectableDef:fe}),qI=fe({ngInjectorDef:fe});class A{constructor(n,t){this._desc=n,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=x({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Md(e){return e&&!!e.\u0275providers}const ns=fe({\u0275cmp:fe}),Id=fe({\u0275dir:fe}),Sd=fe({\u0275pipe:fe}),E_=fe({\u0275mod:fe}),ii=fe({\u0275fac:fe}),is=fe({__NG_ELEMENT_ID__:fe}),C_=fe({__NG_ENV_ID__:fe});function W(e){return"string"==typeof e?e:null==e?"":String(e)}function Od(e,n){throw new D(-201,!1)}var J=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(J||{});let Ad;function w_(){return Ad}function Pt(e){const n=Ad;return Ad=e,n}function N_(e,n,t){const i=il(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:t&J.Optional?null:void 0!==n?n:void Od()}const rs={},Rd="__NG_DI_FLAG__",sl="ngTempTokenPath",XI=/\n/gm,T_="__source";let Fr;function Di(e){const n=Fr;return Fr=e,n}function nS(e,n=J.Default){if(void 0===Fr)throw new D(-203,!1);return null===Fr?N_(e,void 0,n):Fr.get(e,n&J.Optional?null:void 0,n)}function X(e,n=J.Default){return(w_()||nS)(j(e),n)}function _(e,n=J.Default){return X(e,al(n))}function al(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function xd(e){const n=[];for(let t=0;tArray.isArray(t)?Lr(t,n):n(t))}function I_(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function ll(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function qt(e,n,t){let i=Br(e,n);return i>=0?e[1|i]=t:(i=~i,function S_(e,n,t,i){let r=e.length;if(r==n)e.push(t,i);else if(1===r)e.push(i,e[0]),e[0]=t;else{for(r--,e.push(e[r-1],e[r]);r>n;)e[r]=e[r-2],r--;e[n]=t,e[n+1]=i}}(e,i,n,t)),i}function Ld(e,n){const t=Br(e,n);if(t>=0)return e[1|t]}function Br(e,n){return function O_(e,n,t){let i=0,r=e.length>>t;for(;r!==i;){const o=i+(r-i>>1),s=e[o<n?r=o:i=o+1}return~(r<n){s=o-1;break}}}for(;o-1){let o;for(;++ro?"":r[u+1].toLowerCase(),2&i&&c!==d){if(vn(i))return!1;s=!0}}}}else{if(!s&&!vn(i)&&!vn(l))return!1;if(s&&vn(l))continue;s=!1,i=l|1&i}}return vn(i)||s}function vn(e){return!(1&e)}function pS(e,n,t,i){if(null===n)return-1;let r=0;if(i||!t){let o=!1;for(;r-1)for(t++;t0?'="'+a+'"':"")+"]"}else 8&i?r+="."+s:4&i&&(r+=" "+s);else""!==r&&!vn(s)&&(n+=L_(o,r),r=""),i=s,o=o||!vn(i);t++}return""!==r&&(n+=L_(o,r)),n}function lt(e){return ni(()=>{const n=V_(e),t={...n,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===dl.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||_n.Emulated,styles:e.styles||te,_:null,schemas:e.schemas||null,tView:null,id:""};H_(t);const i=e.dependencies;return t.directiveDefs=fl(i,!1),t.pipeDefs=fl(i,!0),t.id=function NS(e){let n=0;const t=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const r of t)n=Math.imul(31,n)+r.charCodeAt(0)|0;return n+=2147483648,"c"+n}(t),t})}function ES(e){return Z(e)||Je(e)}function CS(e){return null!==e}function de(e){return ni(()=>({type:e.type,bootstrap:e.bootstrap||te,declarations:e.declarations||te,imports:e.imports||te,exports:e.exports||te,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function B_(e,n){if(null==e)return kn;const t={};for(const i in e)if(e.hasOwnProperty(i)){const r=e[i];let o,s,a=Ei.None;Array.isArray(r)?(a=r[0],o=r[1],s=r[2]??o):(o=r,s=r),n?(t[o]=a!==Ei.None?[i,a]:i,n[o]=s):t[o]=i}return t}function S(e){return ni(()=>{const n=V_(e);return H_(n),n})}function Dt(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function Z(e){return e[ns]||null}function Je(e){return e[Id]||null}function ct(e){return e[Sd]||null}function V_(e){const n={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputTransforms:null,inputConfig:e.inputs||kn,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||te,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:B_(e.inputs,n),outputs:B_(e.outputs),debugInfo:null}}function H_(e){e.features?.forEach(n=>n(e))}function fl(e,n){if(!e)return null;const t=n?ct:ES;return()=>("function"==typeof e?e():e).map(i=>t(i)).filter(CS)}function TS(...e){return{\u0275providers:jd(0,e),\u0275fromNgModule:!0}}function jd(e,...n){const t=[],i=new Set;let r;const o=s=>{t.push(s)};return Lr(n,s=>{const a=s;pl(a,o,[],i)&&(r||=[],r.push(a))}),void 0!==r&&j_(r,o),t}function j_(e,n){for(let t=0;t{n(o,i)})}}function pl(e,n,t,i){if(!(e=j(e)))return!1;let r=null,o=rl(e);const s=!o&&Z(e);if(o||s){if(s&&!s.standalone)return!1;r=e}else{const l=e.ngModule;if(o=rl(l),!o)return!1;r=l}const a=i.has(r);if(s){if(a)return!1;if(i.add(r),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const c of l)pl(c,n,t,i)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let c;i.add(r);try{Lr(o.imports,u=>{pl(u,n,t,i)&&(c||=[],c.push(u))})}finally{}void 0!==c&&j_(c,n)}if(!a){const c=$i(r)||(()=>new r);n({provide:r,useFactory:c,deps:te},r),n({provide:Bd,useValue:r,multi:!0},r),n({provide:Fn,useValue:()=>X(r),multi:!0},r)}const l=o.providers;if(null!=l&&!a){const c=e;$d(l,u=>{n(u,c)})}}}return r!==e&&void 0!==e.providers}function $d(e,n){for(let t of e)Md(t)&&(t=t.\u0275providers),Array.isArray(t)?$d(t,n):n(t)}const MS=fe({provide:String,useValue:fe});function Gd(e){return null!==e&&"object"==typeof e&&MS in e}function Ui(e){return"function"==typeof e}const Ud=new A(""),gl={},SS={};let Wd;function ml(){return void 0===Wd&&(Wd=new ul),Wd}class Yt{}class Vr extends Yt{get destroyed(){return this._destroyed}constructor(n,t,i,r){super(),this.parent=t,this.source=i,this.scopes=r,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,qd(n,s=>this.processProvider(s)),this.records.set(A_,Hr(void 0,this)),r.has("environment")&&this.records.set(Yt,Hr(void 0,this));const o=this.records.get(Ud);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Bd,te,J.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const n=q(null);try{for(const i of this._ngOnDestroyHooks)i.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const i of t)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),q(n)}}onDestroy(n){return this.assertNotDestroyed(),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){this.assertNotDestroyed();const t=Di(this),i=Pt(void 0);try{return n()}finally{Di(t),Pt(i)}}get(n,t=rs,i=J.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(C_))return n[C_](this);i=al(i);const o=Di(this),s=Pt(void 0);try{if(!(i&J.SkipSelf)){let l=this.records.get(n);if(void 0===l){const c=function PS(e){return"function"==typeof e||"object"==typeof e&&e instanceof A}(n)&&il(n);l=c&&this.injectableDefInScope(c)?Hr(zd(n),gl):null,this.records.set(n,l)}if(null!=l)return this.hydrate(n,l)}return(i&J.Self?ml():this.parent).get(n,t=i&J.Optional&&t===rs?null:t)}catch(a){if("NullInjectorError"===a.name){if((a[sl]=a[sl]||[]).unshift(Qe(n)),o)throw a;return function rS(e,n,t,i){const r=e[sl];throw n[T_]&&r.unshift(n[T_]),e.message=function oS(e,n,t,i=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let r=Qe(n);if(Array.isArray(n))r=n.map(Qe).join(" -> ");else if("object"==typeof n){let o=[];for(let s in n)if(n.hasOwnProperty(s)){let a=n[s];o.push(s+":"+("string"==typeof a?JSON.stringify(a):Qe(a)))}r=`{${o.join(", ")}}`}return`${t}${i?"("+i+")":""}[${r}]: ${e.replace(XI,"\n ")}`}("\n"+e.message,r,t,i),e.ngTokenPath=r,e[sl]=null,e}(a,n,"R3InjectorError",this.source)}throw a}finally{Pt(s),Di(o)}}resolveInjectorInitializers(){const n=q(null),t=Di(this),i=Pt(void 0);try{const o=this.get(Fn,te,J.Self);for(const s of o)s()}finally{Di(t),Pt(i),q(n)}}toString(){const n=[],t=this.records;for(const i of t.keys())n.push(Qe(i));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new D(205,!1)}processProvider(n){let t=Ui(n=j(n))?n:j(n&&n.provide);const i=function AS(e){return Gd(e)?Hr(void 0,e.useValue):Hr(U_(e),gl)}(n);if(!Ui(n)&&!0===n.multi){let r=this.records.get(t);r||(r=Hr(void 0,gl,!0),r.factory=()=>xd(r.multi),this.records.set(t,r)),t=n,r.multi.push(n)}this.records.set(t,i)}hydrate(n,t){const i=q(null);try{return t.value===gl&&(t.value=SS,t.value=t.factory()),"object"==typeof t.value&&t.value&&function xS(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{q(i)}}injectableDefInScope(n){if(!n.providedIn)return!1;const t=j(n.providedIn);return"string"==typeof t?"any"===t||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(n){const t=this._onDestroyHooks.indexOf(n);-1!==t&&this._onDestroyHooks.splice(t,1)}}function zd(e){const n=il(e),t=null!==n?n.factory:$i(e);if(null!==t)return t;if(e instanceof A)throw new D(204,!1);if(e instanceof Function)return function OS(e){if(e.length>0)throw new D(204,!1);const t=function zI(e){return e&&(e[ol]||e[b_])||null}(e);return null!==t?()=>t.factory(e):()=>new e}(e);throw new D(204,!1)}function U_(e,n,t){let i;if(Ui(e)){const r=j(e);return $i(r)||zd(r)}if(Gd(e))i=()=>j(e.useValue);else if(function G_(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...xd(e.deps||[]));else if(function $_(e){return!(!e||!e.useExisting)}(e))i=()=>X(j(e.useExisting));else{const r=j(e&&(e.useClass||e.provide));if(!function RS(e){return!!e.deps}(e))return $i(r)||zd(r);i=()=>new r(...xd(e.deps))}return i}function Hr(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function qd(e,n){for(const t of e)Array.isArray(t)?qd(t,n):t&&Md(t)?qd(t.\u0275providers,n):n(t)}const Oe=0,E=1,k=2,Ue=3,yn=4,ut=5,Et=6,$r=7,be=8,We=9,Ln=10,$=11,cs=12,q_=13,Gr=14,Ae=15,Wi=16,Ur=17,ri=18,Wr=19,Y_=20,Ci=21,vl=22,rn=23,R=25,Kd=1,Bn=7,zr=9,Fe=10;var bl=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(bl||{});function rt(e){return Array.isArray(e)&&"object"==typeof e[Kd]}function _t(e){return Array.isArray(e)&&!0===e[Kd]}function Zd(e){return!!(4&e.flags)}function zi(e){return e.componentOffset>-1}function Dl(e){return!(1&~e.flags)}function bn(e){return!!e.template}function ds(e){return!!(512&e[k])}class YS{constructor(n,t,i){this.previousValue=n,this.currentValue=t,this.firstChange=i}isFirstChange(){return this.firstChange}}function J_(e,n,t,i){null!==n?n.applyValueToInputSignal(n,i):e[t]=i}function Ft(){return X_}function X_(e){return e.type.prototype.ngOnChanges&&(e.setInput=ZS),KS}function KS(){const e=tv(this),n=e?.current;if(n){const t=e.previous;if(t===kn)e.previous=n;else for(let i in n)t[i]=n[i];e.current=null,this.ngOnChanges(n)}}function ZS(e,n,t,i,r){const o=this.declaredInputs[i],s=tv(e)||function QS(e,n){return e[ev]=n}(e,{previous:kn,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[o];a[o]=new YS(c&&c.currentValue,t,l===kn),J_(e,n,r,t)}Ft.ngInherit=!0;const ev="__ngSimpleChanges__";function tv(e){return e[ev]||null}const Vn=function(e,n,t){};function ne(e){for(;Array.isArray(e);)e=e[Oe];return e}function fs(e,n){return ne(n[e])}function Ct(e,n){return ne(n[e.index])}function hs(e,n){return e.data[n]}function Kt(e,n){const t=n[e];return rt(t)?t:t[Oe]}function tf(e){return!(128&~e[k])}function on(e,n){return null==n?null:e[n]}function rv(e){e[Ur]=0}function ov(e){1024&e[k]||(e[k]|=1024,tf(e)&&El(e))}function ps(e){return!!(9216&e[k]||e[rn]?.dirty)}function nf(e){e[Ln].changeDetectionScheduler?.notify(7),64&e[k]&&(e[k]|=1024),ps(e)&&El(e)}function El(e){e[Ln].changeDetectionScheduler?.notify(0);let n=oi(e);for(;null!==n&&!(8192&n[k])&&(n[k]|=8192,tf(n));)n=oi(n)}function Cl(e,n){if(!(256&~e[k]))throw new D(911,!1);null===e[Ci]&&(e[Ci]=[]),e[Ci].push(n)}function oi(e){const n=e[Ue];return _t(n)?n[Ue]:n}const G={lFrame:vv(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let av=!1;function lv(){return G.bindingsEnabled}function Yi(){return null!==G.skipHydrationRootTNode}function b(){return G.lFrame.lView}function Y(){return G.lFrame.tView}function De(e){return G.lFrame.contextLView=e,e[be]}function Ee(e){return G.lFrame.contextLView=null,e}function he(){let e=cv();for(;null!==e&&64===e.type;)e=e.parent;return e}function cv(){return G.lFrame.currentTNode}function Dn(e,n){const t=G.lFrame;t.currentTNode=e,t.isParent=n}function af(){return G.lFrame.isParent}function lf(){G.lFrame.isParent=!1}function fv(){return av}function hv(e){av=e}function En(){return G.lFrame.bindingIndex++}function ai(e){const n=G.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function dO(e,n){const t=G.lFrame;t.bindingIndex=t.bindingRootIndex=e,cf(n)}function cf(e){G.lFrame.currentDirectiveIndex=e}function df(){return G.lFrame.currentQueryIndex}function Nl(e){G.lFrame.currentQueryIndex=e}function hO(e){const n=e[E];return 2===n.type?n.declTNode:1===n.type?e[ut]:null}function mv(e,n,t){if(t&J.SkipSelf){let r=n,o=e;for(;!(r=r.parent,null!==r||t&J.Host||(r=hO(o),null===r||(o=o[Gr],10&r.type))););if(null===r)return!1;n=r,e=o}const i=G.lFrame=_v();return i.currentTNode=n,i.lView=e,!0}function ff(e){const n=_v(),t=e[E];G.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function _v(){const e=G.lFrame,n=null===e?null:e.child;return null===n?vv(e):n}function vv(e){const n={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=n),n}function yv(){const e=G.lFrame;return G.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const bv=yv;function hf(){const e=yv();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function dt(){return G.lFrame.selectedIndex}function Ki(e){G.lFrame.selectedIndex=e}function Ce(){const e=G.lFrame;return hs(e.tView,e.selectedIndex)}function ms(){G.lFrame.currentNamespace="svg"}let Ev=!0;function _s(){return Ev}function Hn(e){Ev=e}function Tl(e,n){for(let t=n.directiveStart,i=n.directiveEnd;t=i)break}else n[l]<0&&(e[Ur]+=65536),(a>14>16&&(3&e[k])===n&&(e[k]+=16384,wv(a,o)):wv(a,o)}const qr=-1;class vs{constructor(n,t,i){this.factory=n,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=i}}const mf={};class Zi{constructor(n,t){this.injector=n,this.parentInjector=t}get(n,t,i){i=al(i);const r=this.injector.get(n,mf,i);return r!==mf||t===mf?r:this.parentInjector.get(n,t,i)}}function _f(e){return e!==qr}function ys(e){return 32767&e}function bs(e,n){let t=function CO(e){return e>>16}(e),i=n;for(;t>0;)i=i[Gr],t--;return i}let vf=!0;function Sl(e){const n=vf;return vf=e,n}const Tv=255,Mv=5;let NO=0;const jn={};function Ol(e,n){const t=Iv(e,n);if(-1!==t)return t;const i=n[E];i.firstCreatePass&&(e.injectorIndex=n.length,yf(i.data,e),yf(n,null),yf(i.blueprint,null));const r=Al(e,n),o=e.injectorIndex;if(_f(r)){const s=ys(r),a=bs(r,n),l=a[E].data;for(let c=0;c<8;c++)n[o+c]=a[s+c]|l[s+c]}return n[o+8]=r,o}function yf(e,n){e.push(0,0,0,0,0,0,0,0,n)}function Iv(e,n){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===n[e.injectorIndex+8]?-1:e.injectorIndex}function Al(e,n){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let t=0,i=null,r=n;for(;null!==r;){if(i=kv(r),null===i)return qr;if(t++,r=r[Gr],-1!==i.injectorIndex)return i.injectorIndex|t<<16}return qr}function bf(e,n,t){!function TO(e,n,t){let i;"string"==typeof t?i=t.charCodeAt(0)||0:t.hasOwnProperty(is)&&(i=t[is]),null==i&&(i=t[is]=NO++);const r=i&Tv;n.data[e+(r>>Mv)]|=1<=0?n&Tv:OO:n}(t);if("function"==typeof o){if(!mv(n,e,i))return i&J.Host?Sv(r,0,i):Ov(n,t,i,r);try{let s;if(s=o(i),null!=s||i&J.Optional)return s;Od()}finally{bv()}}else if("number"==typeof o){let s=null,a=Iv(e,n),l=qr,c=i&J.Host?n[Ae][ut]:null;for((-1===a||i&J.SkipSelf)&&(l=-1===a?Al(e,n):n[a+8],l!==qr&&Pv(i,!1)?(s=n[E],a=ys(l),n=bs(l,n)):a=-1);-1!==a;){const u=n[E];if(xv(o,a,u.data)){const d=IO(a,n,t,s,i,c);if(d!==jn)return d}l=n[a+8],l!==qr&&Pv(i,n[E].data[a+8]===c)&&xv(o,a,n)?(s=u,a=ys(l),n=bs(l,n)):a=-1}}return r}function IO(e,n,t,i,r,o){const s=n[E],a=s.data[e+8],u=Rl(a,s,t,null==i?zi(a)&&vf:i!=s&&!!(3&a.type),r&J.Host&&o===a);return null!==u?Qi(n,s,u,a):jn}function Rl(e,n,t,i,r){const o=e.providerIndexes,s=n.data,a=1048575&o,l=e.directiveStart,u=o>>20,h=r?a+u:e.directiveEnd;for(let f=i?a:a+u;f=l&&p.type===t)return f}if(r){const f=s[l];if(f&&bn(f)&&f.type===t)return l}return null}function Qi(e,n,t,i){let r=e[t];const o=n.data;if(function bO(e){return e instanceof vs}(r)){const s=r;s.resolving&&function ZI(e,n){throw n&&n.join(" > "),new D(-200,e)}(function ae(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():W(e)}(o[t]));const a=Sl(s.canSeeViewProviders);s.resolving=!0;const c=s.injectImpl?Pt(s.injectImpl):null;mv(e,i,J.Default);try{r=e[t]=s.factory(void 0,o,e,i),n.firstCreatePass&&t>=i.directiveStart&&function vO(e,n,t){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=n.type.prototype;if(i){const s=X_(n);(t.preOrderHooks??=[]).push(e,s),(t.preOrderCheckHooks??=[]).push(e,s)}r&&(t.preOrderHooks??=[]).push(0-e,r),o&&((t.preOrderHooks??=[]).push(e,o),(t.preOrderCheckHooks??=[]).push(e,o))}(t,o[t],n)}finally{null!==c&&Pt(c),Sl(a),s.resolving=!1,bv()}}return r}function xv(e,n,t){return!!(t[n+(e>>Mv)]&1<{const n=e.prototype.constructor,t=n[ii]||Df(n),i=Object.prototype;let r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==i;){const o=r[ii]||Df(r);if(o&&o!==t)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function Df(e){return nl(e)?()=>{const n=Df(j(e));return n&&n()}:$i(e)}function kv(e){const n=e[E],t=n.type;return 2===t?n.declTNode:1===t?e[ut]:null}function Hv(e,n=null,t=null,i){const r=jv(e,n,t,i);return r.resolveInjectorInitializers(),r}function jv(e,n=null,t=null,i,r=new Set){const o=[t||te,TS(e)];return i=i||("object"==typeof e?void 0:Qe(e)),new Vr(o,n||ml(),i||null,r)}class Pe{static#e=this.THROW_IF_NOT_FOUND=rs;static#t=this.NULL=new ul;static create(n,t){if(Array.isArray(n))return Hv({name:""},t,n,"");{const i=n.name??"";return Hv({name:i},n.parent,n.providers,i)}}static#n=this.\u0275prov=x({token:Pe,providedIn:"any",factory:()=>X(A_)});static#i=this.__NG_ELEMENT_ID__=-1}new A("").__NG_ELEMENT_ID__=e=>{const n=he();if(null===n)throw new D(204,!1);if(2&n.type)return n.value;if(e&J.Optional)return null;throw new D(204,!1)};function Cf(e){return e.ngOriginalError}class sn{constructor(){this._console=console}handleError(n){const t=this._findOriginalError(n);this._console.error("ERROR",n),t&&this._console.error("ORIGINAL ERROR",t)}_findOriginalError(n){let t=n&&Cf(n);for(;t&&Cf(t);)t=Cf(t);return t||null}}const Gv=new A("",{providedIn:"root",factory:()=>_(sn).handleError.bind(void 0)});let li=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=jO;static#t=this.__NG_ENV_ID__=t=>t}return e})();class HO extends li{constructor(n){super(),this._lView=n}onDestroy(n){return Cl(this._lView,n),()=>function rf(e,n){if(null===e[Ci])return;const t=e[Ci].indexOf(n);-1!==t&&e[Ci].splice(t,1)}(this._lView,n)}}function jO(){return new HO(b())}function $O(){return Zr(he(),b())}function Zr(e,n){return new me(Ct(e,n))}let me=(()=>{class e{constructor(t){this.nativeElement=t}static#e=this.__NG_ELEMENT_ID__=$O}return e})();function Wv(e){return e instanceof me?e.nativeElement:e}let Qr=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new $M(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const t=this.taskId++;return this.pendingTasks.add(t),t}remove(t){this.pendingTasks.delete(t),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static#e=this.\u0275prov=x({token:e,providedIn:"root",factory:()=>new e})}return e})();const H=class GO extends $e{constructor(n=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=n,function W_(){return void 0!==w_()||null!=function tS(){return Fr}()}()&&(this.destroyRef=_(li,{optional:!0})??void 0,this.pendingTasks=_(Qr,{optional:!0})??void 0)}emit(n){const t=q(null);try{super.next(n)}finally{q(t)}}subscribe(n,t,i){let r=n,o=t||(()=>null),s=i;if(n&&"object"==typeof n){const l=n;r=l.next?.bind(l),o=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(o=this.wrapInTimeout(o),r&&(r=this.wrapInTimeout(r)),s&&(s=this.wrapInTimeout(s)));const a=super.subscribe({next:r,error:o,complete:s});return n instanceof Gt&&n.add(a),a}wrapInTimeout(n){return t=>{const i=this.pendingTasks?.add();setTimeout(()=>{n(t),void 0!==i&&this.pendingTasks?.remove(i)})}}};function UO(){return this._results[Symbol.iterator]()}class wf{static#e=Symbol.iterator;get changes(){return this._changes??=new H}constructor(n=!1){this._emitDistinctChangesOnly=n,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;const t=wf.prototype;t[Symbol.iterator]||(t[Symbol.iterator]=UO)}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,t){return this._results.reduce(n,t)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,t){this.dirty=!1;const i=function kt(e){return e.flat(Number.POSITIVE_INFINITY)}(n);(this._changesDetected=!function cS(e,n,t){if(e.length!==n.length)return!1;for(let i=0;ifA}),fA="ng",dy=new A(""),eo=new A("",{providedIn:"platform",factory:()=>"unknown"}),fy=new A("",{providedIn:"root",factory:()=>function wi(){if(void 0!==Mf)return Mf;if(typeof document<"u")return document;throw new D(210,!1)}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let hy=()=>null;function Pf(e,n,t=!1){return hy(e,n,t)}const Dy=new A("",{providedIn:"root",factory:()=>!1});class My{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}function Ni(e){return e instanceof My?e.changingThisBreaksApplicationSecurity:e}const JA=/^>|^->||--!>|)/g,eR="\u200b$1\u200b";var Ti=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Ti||{});let qf;function Yf(e,n){return qf(e,n)}function so(e,n,t,i,r){if(null!=i){let o,s=!1;_t(i)?o=i:rt(i)&&(s=!0,i=i[Oe]);const a=ne(i);0===e&&null!==t?null==r?Zy(n,t,a):Xi(n,t,a,r||null,!0):1===e&&null!==t?Xi(n,t,a,r||null,!0):2===e?function Rs(e,n,t){const i=Jl(e,n);i&&function vR(e,n,t,i){e.removeChild(n,t,i)}(e,i,n,t)}(n,a,s):3===e&&n.destroyNode(a),null!=o&&function DR(e,n,t,i,r){const o=t[Bn];o!==ne(t)&&so(n,e,i,o,r);for(let a=Fe;an.replace(XA,eR))}(n))}function Zl(e,n,t){return e.createElement(n,t)}function qy(e,n){n[Ln].changeDetectionScheduler?.notify(8),ec(e,n,n[$],2,null,null)}function Yy(e,n){const t=e[zr],i=n[Ue];(rt(i)||n[Ae]!==i[Ue][Ae])&&(e[k]|=bl.HasTransplantedViews),null===t?e[zr]=[n]:t.push(n)}function Qf(e,n){const t=e[zr],i=t.indexOf(n);t.splice(i,1)}function As(e,n){if(e.length<=Fe)return;const t=Fe+n,i=e[t];if(i){const r=i[Wi];null!==r&&r!==e&&Qf(r,i),n>0&&(e[t-1][yn]=i[yn]);const o=ll(e,Fe+n);!function fR(e,n){qy(e,n),n[Oe]=null,n[ut]=null}(i[E],i);const s=o[ri];null!==s&&s.detachView(o[E]),i[Ue]=null,i[yn]=null,i[k]&=-129}return i}function Ql(e,n){if(!(256&n[k])){const t=n[$];t.destroyNode&&ec(e,n,t,3,null,null),function pR(e){let n=e[cs];if(!n)return Jf(e[E],e);for(;n;){let t=null;if(rt(n))t=n[cs];else{const i=n[Fe];i&&(t=i)}if(!t){for(;n&&!n[yn]&&n!==e;)rt(n)&&Jf(n[E],n),n=n[Ue];null===n&&(n=e),rt(n)&&Jf(n[E],n),t=n&&n[yn]}n=t}}(n)}}function Jf(e,n){if(256&n[k])return;const t=q(null);try{n[k]&=-129,n[k]|=256,n[rn]&&rd(n[rn]),function _R(e,n){let t;if(null!=e&&null!=(t=e.destroyHooks))for(let i=0;i=0?i[s]():i[-s].unsubscribe(),o+=2}else t[o].call(i[t[o+1]]);null!==i&&(n[$r]=null);const r=n[Ci];if(null!==r){n[Ci]=null;for(let o=0;o-1){const{encapsulation:o}=e.data[i.directiveStart+r];if(o===_n.None||o===_n.Emulated)return null}return Ct(i,t)}}(e,n.parent,t)}function Xi(e,n,t,i,r){e.insertBefore(n,t,i,r)}function Zy(e,n,t){e.appendChild(n,t)}function Qy(e,n,t,i,r){null!==i?Xi(e,n,t,i,r):Zy(e,n,t)}function Jl(e,n){return e.parentNode(n)}function Jy(e,n,t){return e0(e,n,t)}let eh,e0=function Xy(e,n,t){return 40&e.type?Ct(e,t):null};function Xl(e,n,t,i){const r=Xf(e,i,n),o=n[$],a=Jy(i.parent||n[ut],i,n);if(null!=r)if(Array.isArray(t))for(let l=0;lR&&l0(e,n,R,!1),Vn(s?2:0,r),t(i,r)}finally{Ki(o),Vn(s?3:1,r)}}function rh(e,n,t){if(Zd(n)){const i=q(null);try{const o=n.directiveEnd;for(let s=n.directiveStart;snull;function h0(e,n,t,i,r){for(let o in n){if(!n.hasOwnProperty(o))continue;const s=n[o];if(void 0===s)continue;i??={};let a,l=Ei.None;Array.isArray(s)?(a=s[0],l=s[1]):a=s;let c=o;if(null!==r){if(!r.hasOwnProperty(o))continue;c=r[o]}0===e?p0(i,t,c,a,l):p0(i,t,c,a)}return i}function p0(e,n,t,i,r){let o;e.hasOwnProperty(t)?(o=e[t]).push(n,i):o=e[t]=[n,i],void 0!==r&&o.push(r)}function Vt(e,n,t,i,r,o,s,a){const l=Ct(n,t);let u,c=n.inputs;!a&&null!=c&&(u=c[i])?(fh(e,t,u,i,r),zi(n)&&function kR(e,n){const t=Kt(n,e);16&t[k]||(t[k]|=64)}(t,n.index)):3&n.type&&(i=function PR(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(i),r=null!=s?s(r,n.value||"",i):r,o.setProperty(l,i,r))}function lh(e,n,t,i){if(lv()){const r=null===i?null:{"":-1},o=function jR(e,n){const t=e.directiveRegistry;let i=null,r=null;if(t)for(let o=0;o0;){const t=e[--n];if("number"==typeof t&&t<0)return t}return 0})(s)!=a&&s.push(a),s.push(t,i,o)}}(e,n,i,xs(e,t,r.hostVars,z),r)}function $n(e,n,t,i,r,o){const s=Ct(e,n);!function uh(e,n,t,i,r,o,s){if(null==o)e.removeAttribute(n,r,t);else{const a=null==s?W(o):s(o,i||"",r);e.setAttribute(n,r,a,t)}}(n[$],s,o,e.value,t,i,r)}function qR(e,n,t,i,r,o){const s=o[n];if(null!==s)for(let a=0;a0&&(t[r-1][yn]=n),i{El(e.lView)},consumerOnSignalRead(){this.lView[rn]=this}},ix={...$a,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let n=oi(e.lView);for(;n&&!N0(n[E]);)n=oi(n);n&&ov(n)},consumerOnSignalRead(){this.lView[rn]=this}};function N0(e){return 2!==e.type}const rx=100;function rc(e,n=!0,t=0){const i=e[Ln],r=i.rendererFactory;r.begin?.();try{!function ox(e,n){const t=fv();try{hv(!0),gh(e,n);let i=0;for(;ps(e);){if(i===rx)throw new D(103,!1);i++,gh(e,1)}}finally{hv(t)}}(e,t)}catch(s){throw n&&ic(e,s),s}finally{r.end?.(),i.inlineEffectRunner?.flush()}}function sx(e,n,t,i){const r=n[k];if(!(256&~r))return;n[Ln].inlineEffectRunner?.flush(),ff(n);let a=!0,l=null,c=null;N0(e)?(c=function JR(e){return e[rn]??function XR(e){const n=w0.pop()??Object.create(tx);return n.lView=e,n}(e)}(n),l=Ga(c)):null===function xm(){return ke}()?(a=!1,c=function nx(e){const n=e[rn]??Object.create(ix);return n.lView=e,n}(n),l=Ga(c)):n[rn]&&(rd(n[rn]),n[rn]=null);try{rv(n),function pv(e){return G.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==t&&u0(e,n,t,2,i);const u=!(3&~r);if(u){const f=e.preOrderCheckHooks;null!==f&&Ml(n,f,null)}else{const f=e.preOrderHooks;null!==f&&Il(n,f,0,null),pf(n,0)}if(function ax(e){for(let n=ty(e);null!==n;n=ny(n)){if(!(n[k]&bl.HasTransplantedViews))continue;const t=n[zr];for(let i=0;i-1&&(As(n,i),ll(t,i))}this._attachedToViewContainer=!1}Ql(this._lView[E],this._lView)}onDestroy(n){Cl(this._lView,n)}markForCheck(){ks(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[k]&=-129}reattach(){nf(this._lView),this._lView[k]|=128}detectChanges(){this._lView[k]|=1024,rc(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new D(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const n=ds(this._lView),t=this._lView[Wi];null!==t&&!n&&Qf(t,this._lView),qy(this._lView[E],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new D(902,!1);this._appRef=n;const t=ds(this._lView),i=this._lView[Wi];null!==i&&!t&&Yy(i,this._lView),nf(this._lView)}}let ze=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=dx}return e})();const cx=ze,ux=class extends cx{constructor(n,t,i){super(),this._declarationLView=n,this._declarationTContainer=t,this.elementRef=i}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,t){return this.createEmbeddedViewImpl(n,t)}createEmbeddedViewImpl(n,t,i){const r=lo(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:t,dehydratedView:i});return new Fs(r)}};function dx(){return oc(he(),b())}function oc(e,n){return 4&e.type?new ux(n,e,Zr(e,n)):null}let Z0=()=>null;function ir(e,n){return Z0(e,n)}class fo{}const Us=new A("",{providedIn:"root",factory:()=>!1}),Q0=new A("");class iP{}class J0{}class oP{resolveComponentFactory(n){throw function rP(e){const n=Error(`No component factory found for ${Qe(e)}.`);return n.ngComponent=e,n}(n)}}class dc{static#e=this.NULL=new oP}class Th{}let rr=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function sP(){const e=b(),t=Kt(he().index,e);return(rt(t)?t:e)[$]}()}return e})(),aP=(()=>{class e{static#e=this.\u0275prov=x({token:e,providedIn:"root",factory:()=>null})}return e})();const eb=new Set;function Nt(e){eb.has(e)||(eb.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function tb(e){let n=!0;return setTimeout(()=>{n&&(n=!1,e())}),"function"==typeof ge.requestAnimationFrame&&ge.requestAnimationFrame(()=>{n&&(n=!1,e())}),()=>{n=!1}}function nb(e){let n=!0;return queueMicrotask(()=>{n&&e()}),()=>{n=!1}}function ib(...e){}class Q{constructor({enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new H(!1),this.onMicrotaskEmpty=new H(!1),this.onStable=new H(!1),this.onError=new H(!1),typeof Zone>"u")throw new D(908,!1);Zone.assertZonePatched();const r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!i&&t,r.shouldCoalesceRunChangeDetection=i,r.callbackScheduled=!1,function uP(e){const n=()=>{!function cP(e){e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,Zone.root.run(()=>{tb(()=>{e.callbackScheduled=!1,Ih(e),e.isCheckStableRunning=!0,Mh(e),e.isCheckStableRunning=!1})}),Ih(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(t,i,r,o,s,a)=>{if(function dP(e){return sb(e,"__ignore_ng_zone__")}(a))return t.invokeTask(r,o,s,a);try{return rb(e),t.invokeTask(r,o,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||e.shouldCoalesceRunChangeDetection)&&n(),ob(e)}},onInvoke:(t,i,r,o,s,a,l)=>{try{return rb(e),t.invoke(r,o,s,a,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!function fP(e){return sb(e,"__scheduler_tick__")}(a)&&n(),ob(e)}},onHasTask:(t,i,r,o)=>{t.hasTask(r,o),i===r&&("microTask"==o.change?(e._hasPendingMicrotasks=o.microTask,Ih(e),Mh(e)):"macroTask"==o.change&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(t,i,r,o)=>(t.handleError(r,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}(r)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Q.isInAngularZone())throw new D(909,!1)}static assertNotInAngularZone(){if(Q.isInAngularZone())throw new D(909,!1)}run(n,t,i){return this._inner.run(n,t,i)}runTask(n,t,i,r){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+r,n,lP,ib,ib);try{return o.runTask(s,t,i)}finally{o.cancelTask(s)}}runGuarded(n,t,i){return this._inner.runGuarded(n,t,i)}runOutsideAngular(n){return this._outer.run(n)}}const lP={};function Mh(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Ih(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&!0===e.callbackScheduled)}function rb(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function ob(e){e._nesting--,Mh(e)}class Sh{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new H,this.onMicrotaskEmpty=new H,this.onStable=new H,this.onError=new H}run(n,t,i){return n.apply(t,i)}runGuarded(n,t,i){return n.apply(t,i)}runOutsideAngular(n){return n()}runTask(n,t,i,r){return n.apply(t,i)}}function sb(e,n){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0]?.data?.[n]}let fc=(()=>{class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){const t=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const i of t)i()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=x({token:e,providedIn:"root",factory:()=>new e})}return e})();function pc(e,n,t){let i=t?e.styles:null,r=t?e.classes:null,o=0;if(null!==n)for(let s=0;s0&&s0(e,t,o.join(" "))}}(f,L,g,i),void 0!==t&&function IP(e,n,t){const i=e.projection=[];for(let r=0;r{class e{static#e=this.__NG_ELEMENT_ID__=OP}return e})();function OP(){return gb(he(),b())}const AP=an,hb=class extends AP{constructor(n,t,i){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=i}get element(){return Zr(this._hostTNode,this._hostLView)}get injector(){return new et(this._hostTNode,this._hostLView)}get parentInjector(){const n=Al(this._hostTNode,this._hostLView);if(_f(n)){const t=bs(n,this._hostLView),i=ys(n);return new et(t[E].data[i+8],t)}return new et(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const t=pb(this._lContainer);return null!==t&&t[n]||null}get length(){return this._lContainer.length-Fe}createEmbeddedView(n,t,i){let r,o;"number"==typeof i?r=i:null!=i&&(r=i.index,o=i.injector);const s=ir(this._lContainer,n.ssrId),a=n.createEmbeddedViewImpl(t||{},o,s);return this.insertImpl(a,r,tr(this._hostTNode,s)),a}createComponent(n,t,i,r,o){const s=n&&!function ls(e){return"function"==typeof e}(n);let a;if(s)a=t;else{const p=t||{};a=p.index,i=p.injector,r=p.projectableNodes,o=p.environmentInjector||p.ngModuleRef}const l=s?n:new qs(Z(n)),c=i||this.parentInjector;if(!o&&null==l.ngModule){const g=(s?c:this.parentInjector).get(Yt,null);g&&(o=g)}const u=Z(l.componentType??{}),d=ir(this._lContainer,u?.id??null),f=l.create(c,r,d?.firstChild??null,o);return this.insertImpl(f.hostView,a,tr(this._hostTNode,d)),f}insert(n,t){return this.insertImpl(n,t,!0)}insertImpl(n,t,i){const r=n._lView;if(function tO(e){return _t(e[Ue])}(r)){const a=this.indexOf(n);if(-1!==a)this.detach(a);else{const l=r[Ue],c=new hb(l,l[ut],l[Ue]);c.detach(c.indexOf(n))}}const o=this._adjustIndex(t),s=this._lContainer;return co(s,r,o,i),n.attachToViewContainerRef(),I_(xh(s),o,n),n}move(n,t){return this.insert(n,t)}indexOf(n){const t=pb(this._lContainer);return null!==t?t.indexOf(n):-1}remove(n){const t=this._adjustIndex(n,-1),i=As(this._lContainer,t);i&&(ll(xh(this._lContainer),t),Ql(i[E],i))}detach(n){const t=this._adjustIndex(n,-1),i=As(this._lContainer,t);return i&&null!=ll(xh(this._lContainer),t)?new Fs(i):null}_adjustIndex(n,t=0){return n??this.length+t}};function pb(e){return e[8]}function xh(e){return e[8]||(e[8]=[])}function gb(e,n){let t;const i=n[e.index];return _t(i)?t=i:(t=_0(i,n,null,e),n[e.index]=t,nc(n,t)),mb(t,n,e,i),new hb(t,e,n)}let mb=function vb(e,n,t,i){if(e[Bn])return;let r;r=8&t.type?ne(i):function RP(e,n){const t=e[$],i=t.createComment(""),r=Ct(n,e);return Xi(t,Jl(t,r),i,function yR(e,n){return e.nextSibling(n)}(t,r),!1),i}(n,t),e[Bn]=r},Ph=()=>!1;class kh{constructor(n){this.queryList=n,this.matches=null}clone(){return new kh(this.queryList)}setDirty(){this.queryList.setDirty()}}class Fh{constructor(n=[]){this.queries=n}createEmbeddedView(n){const t=n.queries;if(null!==t){const i=null!==n.contentQueries?n.contentQueries[0]:t.length,r=[];for(let o=0;on.trim())}(n):n}}class Lh{constructor(n=[]){this.queries=n}elementStart(n,t){for(let i=0;i0)i.push(s[a/2]);else{const c=o[a+1],u=n[-l];for(let d=Fe;d(td(n),n.value);return t[mn]=n,t}(e),i=t[mn];return n?.equal&&(i.equal=n.equal),t.set=r=>Gm(i,r),t.update=r=>function MM(e,n){Fm()||$m(),Gm(e,n(e.value))}(i,r),t.asReadonly=Mb.bind(t),t}function Mb(){const e=this[mn];if(void 0===e.readonlyFn){const n=()=>this();n[mn]=e,e.readonlyFn=n}return e.readonlyFn}function re(e){let n=function Vb(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),t=!0;const i=[e];for(;n;){let r;if(bn(e))r=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new D(903,!1);r=n.\u0275dir}if(r){if(t){i.push(r);const s=e;s.inputs=mc(e.inputs),s.inputTransforms=mc(e.inputTransforms),s.declaredInputs=mc(e.declaredInputs),s.outputs=mc(e.outputs);const a=r.hostBindings;a&&tk(e,a);const l=r.viewQuery,c=r.contentQueries;if(l&&XP(e,l),c&&ek(e,c),QP(e,r),jI(e.outputs,r.outputs),bn(r)&&r.data.animation){const u=e.data;u.animation=(u.animation||[]).concat(r.data.animation)}}const o=r.features;if(o)for(let s=0;s=0;i--){const r=e[i];r.hostVars=n+=r.hostVars,r.hostAttrs=ss(r.hostAttrs,t=ss(t,r.hostAttrs))}}(i)}function QP(e,n){for(const t in n.inputs){if(!n.inputs.hasOwnProperty(t)||e.inputs.hasOwnProperty(t))continue;const i=n.inputs[t];if(void 0!==i&&(e.inputs[t]=i,e.declaredInputs[t]=n.declaredInputs[t],null!==n.inputTransforms)){const r=Array.isArray(i)?i[0]:i;if(!n.inputTransforms.hasOwnProperty(r))continue;e.inputTransforms??={},e.inputTransforms[r]=n.inputTransforms[r]}}}function mc(e){return e===kn?{}:e===te?[]:e}function XP(e,n){const t=e.viewQuery;e.viewQuery=t?(i,r)=>{n(i,r),t(i,r)}:n}function ek(e,n){const t=e.contentQueries;e.contentQueries=t?(i,r,o)=>{n(i,r,o),t(i,r,o)}:n}function tk(e,n){const t=e.hostBindings;e.hostBindings=t?(i,r)=>{n(i,r),t(i,r)}:n}class sr{}class ak{}class Uh extends sr{constructor(n,t,i){super(),this._parent=t,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new db(this);const r=function mt(e,n){const t=e[E_]||null;if(!t&&!0===n)throw new Error(`Type ${Qe(e)} does not have '\u0275mod' property.`);return t}(n);this._bootstrapComponents=function Zt(e){return e instanceof Function?e():e}(r.bootstrap),this._r3Injector=jv(n,t,[{provide:sr,useValue:this},{provide:dc,useValue:this.componentFactoryResolver},...i],Qe(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(t=>t()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}}class Wh extends ak{constructor(n){super(),this.moduleType=n}create(n){return new Uh(this.moduleType,n,[])}}class Gb extends sr{constructor(n){super(),this.componentFactoryResolver=new db(this),this.instance=null;const t=new Vr([...n.providers,{provide:sr,useValue:this},{provide:dc,useValue:this.componentFactoryResolver}],n.parent||ml(),n.debugName,new Set(["environment"]));this.injector=t,n.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}}function _c(e){return!!function zh(e){return null!==e&&("function"==typeof e||"object"==typeof e)}(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Le(e,n,t){return!Object.is(e[n],t)&&(e[n]=t,!0)}function ar(e,n,t,i){const r=Le(e,n,t);return Le(e,n+1,i)||r}function Zs(e,n,t,i,r,o,s,a,l,c){const u=t+R,d=n.firstCreatePass?function pk(e,n,t,i,r,o,s,a,l){const c=n.consts,u=er(n,e,4,s||null,a||null);lh(n,t,u,on(c,l)),Tl(n,u);const d=u.tView=ah(2,u,i,r,o,n.directiveRegistry,n.pipeRegistry,null,n.schemas,c,null);return null!==n.queries&&(n.queries.template(n,u),d.queries=n.queries.embeddedTView(u)),u}(u,n,e,i,r,o,s,a,l):n.data[u];Dn(d,!1);const h=Wb(n,e,d,t);_s()&&Xl(n,e,h,d),vt(h,e);const f=_0(h,e,h,d);return e[u]=f,nc(e,f),function _b(e,n,t){return Ph(e,n,t)}(f,d,e),Dl(d)&&oh(n,e,d),null!=l&&sh(e,d,c),d}function oe(e,n,t,i,r,o,s,a){const l=b(),c=Y();return Zs(l,c,e,n,t,i,r,on(c.consts,o),s,a),oe}let Wb=function zb(e,n,t,i){return Hn(!0),n[$].createComment("")};function we(e,n,t,i){const r=b();return Le(r,En(),n)&&(Y(),$n(Ce(),r,e,n,t,i)),we}function wo(e,n,t,i,r,o){const a=ar(e,function si(){return G.lFrame.bindingIndex}(),t,r);return ai(2),a?n+W(t)+i+W(r)+o:z}function wc(e,n){return e<<17|n<<2}function Si(e){return e>>17&32767}function ip(e){return 2|e}function cr(e){return(131068&e)>>2}function rp(e,n){return-131069&e|n<<2}function op(e){return 1|e}function CD(e,n,t,i){const r=e[t+1],o=null===n;let s=i?Si(r):cr(r),a=!1;for(;0!==s&&(!1===a||o);){const c=e[s+1];Xk(e[s],n)&&(a=!0,e[s+1]=i?op(c):ip(c)),s=i?Si(c):cr(c)}a&&(e[t+1]=i?ip(r):op(r))}function Xk(e,n){return null===e||null==n||(Array.isArray(e)?e[1]:e)===n||!(!Array.isArray(e)||"string"!=typeof n)&&Br(e,n)>=0}const tt={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function wD(e){return e.substring(tt.key,tt.keyEnd)}function ND(e,n){const t=tt.textEnd;return t===n?-1:(n=tt.keyEnd=function iF(e,n,t){for(;n32;)n++;return n}(e,tt.key=n,t),Ao(e,n,t))}function Ao(e,n,t){for(;n=0;t=ND(n,t))qt(e,wD(n),!0)}function AD(e,n){return n>=e.expandoStartIndex}function RD(e,n,t,i){const r=e.data;if(null===r[t+1]){const o=r[dt()],s=AD(e,t);FD(o,i)&&null===n&&!s&&(n=!1),n=function aF(e,n,t,i){const r=function uf(e){const n=G.lFrame.currentDirectiveIndex;return-1===n?null:e[n]}(e);let o=i?n.residualClasses:n.residualStyles;if(null===r)0===(i?n.classBindings:n.styleBindings)&&(t=ta(t=ap(null,e,n,t,i),n.attrs,i),o=null);else{const s=n.directiveStylingLast;if(-1===s||e[s]!==r)if(t=ap(r,e,n,t,i),null===o){let l=function lF(e,n,t){const i=t?n.classBindings:n.styleBindings;if(0!==cr(i))return e[Si(i)]}(e,n,i);void 0!==l&&Array.isArray(l)&&(l=ap(null,e,n,l[1],i),l=ta(l,n.attrs,i),function cF(e,n,t,i){e[Si(t?n.classBindings:n.styleBindings)]=i}(e,n,i,l))}else o=function uF(e,n,t){let i;const r=n.directiveEnd;for(let o=1+n.directiveStylingLast;o0)&&(c=!0)):u=t,r)if(0!==l){const h=Si(e[a+1]);e[i+1]=wc(h,a),0!==h&&(e[h+1]=rp(e[h+1],i)),e[a+1]=function Kk(e,n){return 131071&e|n<<17}(e[a+1],i)}else e[i+1]=wc(a,0),0!==a&&(e[a+1]=rp(e[a+1],i)),a=i;else e[i+1]=wc(l,0),0===a?a=i:e[l+1]=rp(e[l+1],i),l=i;c&&(e[i+1]=ip(e[i+1])),CD(e,u,i,!0),CD(e,u,i,!1),function Jk(e,n,t,i,r){const o=r?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof n&&Br(o,n)>=0&&(t[i+1]=op(t[i+1]))}(n,u,e,i,o),s=wc(a,l),o?n.classBindings=s:n.styleBindings=s}(r,o,n,t,s,i)}}function ap(e,n,t,i,r){let o=null;const s=t.directiveEnd;let a=t.directiveStylingLast;for(-1===a?a=t.directiveStart:a++;a0;){const l=e[r],c=Array.isArray(l),u=c?l[1]:l,d=null===u;let h=t[r+1];h===z&&(h=d?te:void 0);let f=d?Ld(h,i):u===i?h:void 0;if(c&&!Nc(f)&&(f=Ld(l,i)),Nc(f)&&(a=f,s))return a;const p=e[r+1];r=s?Si(p):cr(p)}if(null!==n){let l=o?n.residualClasses:n.residualStyles;null!=l&&(a=Ld(l,i))}return a}function Nc(e){return void 0!==e}function FD(e,n){return!!(e.flags&(n?8:16))}function T(e,n,t,i){const r=b(),o=Y(),s=R+e,a=r[$],l=o.firstCreatePass?function RF(e,n,t,i,r,o){const s=n.consts,l=er(n,e,2,i,on(s,r));return lh(n,t,l,on(s,o)),null!==l.attrs&&pc(l,l.attrs,!1),null!==l.mergedAttrs&&pc(l,l.mergedAttrs,!0),null!==n.queries&&n.queries.elementStart(n,l),l}(s,o,r,n,t,i):o.data[s],c=HD(o,r,l,a,n,e);r[s]=c;const u=Dl(l);return Dn(l,!0),a0(a,c,l),!function go(e){return!(32&~e.flags)}(l)&&_s()&&Xl(o,r,c,l),0===function nO(){return G.lFrame.elementDepthCount}()&&vt(c,r),function iO(){G.lFrame.elementDepthCount++}(),u&&(oh(o,r,l),rh(o,l,r)),null!==i&&sh(r,l),T}function I(){let e=he();af()?lf():(e=e.parent,Dn(e,!1));const n=e;(function oO(e){return G.skipHydrationRootTNode===e})(n)&&function cO(){G.skipHydrationRootTNode=null}(),function rO(){G.lFrame.elementDepthCount--}();const t=Y();return t.firstCreatePass&&(Tl(t,e),Zd(e)&&t.queries.elementEnd(e)),null!=n.classesWithoutHost&&function DO(e){return!!(8&e.flags)}(n)&&sp(t,n,b(),n.classesWithoutHost,!0),null!=n.stylesWithoutHost&&function EO(e){return!!(16&e.flags)}(n)&&sp(t,n,b(),n.stylesWithoutHost,!1),I}function nt(e,n,t,i){return T(e,n,t,i),I(),nt}let HD=(e,n,t,i,r,o)=>(Hn(!0),Zl(i,r,function Dv(){return G.lFrame.currentNamespace}()));function Ro(e,n,t){const i=b(),r=Y(),o=e+R,s=r.firstCreatePass?function kF(e,n,t,i,r){const o=n.consts,s=on(o,i),a=er(n,e,8,"ng-container",s);return null!==s&&pc(a,s,!0),lh(n,t,a,on(o,r)),null!==n.queries&&n.queries.elementStart(n,a),a}(o,r,i,n,t):r.data[o];Dn(s,!0);const a=$D(r,i,s,e);return i[o]=a,_s()&&Xl(r,i,a,s),vt(a,i),Dl(s)&&(oh(r,i,s),rh(r,s,i)),null!=t&&sh(i,s),Ro}function xo(){let e=he();const n=Y();return af()?lf():(e=e.parent,Dn(e,!1)),n.firstCreatePass&&(Tl(n,e),Zd(e)&&n.queries.elementEnd(e)),xo}let $D=(e,n,t,i)=>(Hn(!0),Zf(n[$],""));function ft(){return b()}function cn(e,n,t){const i=b();return Le(i,En(),n)&&Vt(Y(),Ce(),i,e,n,i[$],t,!0),cn}const ko="en-US";let zD=ko;let d1=(e,n,t)=>{};function U(e,n,t,i){const r=b(),o=Y(),s=he();return function gp(e,n,t,i,r,o,s){const a=Dl(i),c=e.firstCreatePass&&b0(e),u=n[be],d=y0(n);let h=!0;if(3&i.type||s){const g=Ct(i,n),v=s?s(g):g,y=d.length,m=s?N=>s(ne(N[i.index])):i.index;let w=null;if(!s&&a&&(w=function T2(e,n,t,i){const r=e.cleanup;if(null!=r)for(let o=0;ol?a[l]:null}"string"==typeof s&&(o+=2)}return null}(e,n,r,i.index)),null!==w)(w.__ngLastListenerFn__||w).__ngNextListenerFn__=o,w.__ngLastListenerFn__=o,h=!1;else{o=p1(i,n,u,o),d1(g,r,o);const N=t.listen(v,r,o);d.push(o,N),c&&c.push(r,m,y,y+1)}}else o=p1(i,n,u,o);const f=i.outputs;let p;if(h&&null!==f&&(p=f[r])){const g=p.length;if(g)for(let v=0;v-1?Kt(e.index,n):n,5);let a=h1(n,t,i,o),l=r.__ngNextListenerFn__;for(;l;)a=h1(n,t,l,o)&&a,l=l.__ngNextListenerFn__;return a}}function P(e=1){return function pO(e){return(G.lFrame.contextLView=function sv(e,n){for(;e>0;)n=n[Gr],e--;return n}(e,G.lFrame.contextLView))[be]}(e)}function M2(e,n){let t=null;const i=function gS(e){const n=e.attrs;if(null!=n){const t=n.indexOf(5);if(!(1&t))return n[t+1]}return null}(e);for(let r=0;r(Hn(!0),function Kf(e,n){return e.createText(n)}(n[$],i));function Nn(e){return hi("",e,""),Nn}function hi(e,n,t){const i=b(),r=function Co(e,n,t,i){return Le(e,En(),t)?n+W(t)+i:z}(i,e,n,t);return r!==z&&ui(i,dt(),r),hi}function Rc(e,n,t,i,r){const o=b(),s=wo(o,e,n,t,i,r);return s!==z&&ui(o,dt(),s),Rc}function vp(e,n,t,i,r){if(e=j(e),Array.isArray(e))for(let o=0;o>20;if(Ui(e)||!e.multi){const f=new vs(c,r,C),p=bp(l,n,r?u:u+h,d);-1===p?(bf(Ol(a,s),o,l),yp(o,e,n.length),n.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),t.push(f),s.push(f)):(t[p]=f,s[p]=f)}else{const f=bp(l,n,u+h,d),p=bp(l,n,u,u+h),v=p>=0&&t[p];if(r&&!v||!r&&!(f>=0&&t[f])){bf(Ol(a,s),o,l);const y=function K2(e,n,t,i,r){const o=new vs(e,t,C);return o.multi=[],o.index=n,o.componentProviders=0,W1(o,r,i&&!t),o}(r?Y2:q2,t.length,r,i,c);!r&&v&&(t[p].providerFactory=y),yp(o,e,n.length,0),n.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),t.push(y),s.push(y)}else yp(o,e,f>-1?f:p,W1(t[r?p:f],c,!r&&i));!r&&i&&v&&t[p].componentProviders++}}}function yp(e,n,t,i){const r=Ui(n),o=function IS(e){return!!e.useClass}(n);if(r||o){const l=(o?j(n.useClass):n).prototype.ngOnDestroy;if(l){const c=e.destroyHooks||(e.destroyHooks=[]);if(!r&&n.multi){const u=c.indexOf(t);-1===u?c.push(t,[i,l]):c[u+1].push(i,l)}else c.push(t,l)}}}function W1(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function bp(e,n,t,i){for(let r=t;r{t.providersResolver=(i,r)=>function z2(e,n,t){const i=Y();if(i.firstCreatePass){const r=bn(e);vp(t,i.data,i.blueprint,r,!0),vp(n,i.data,i.blueprint,r,!1)}}(i,r?r(e):e,n)}}let Z2=(()=>{class e{constructor(t){this._injector=t,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t)){const i=jd(0,t.type),r=i.length>0?function Ub(e,n,t=null){return new Gb({providers:e,parent:n,debugName:t,runEnvironmentInitializers:!0}).injector}([i],this._injector,`Standalone[${t.type.name}]`):null;this.cachedInjectors.set(t,r)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(const t of this.cachedInjectors.values())null!==t&&t.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=x({token:e,providedIn:"environment",factory:()=>new e(X(Yt))})}return e})();function Yn(e){Nt("NgStandalone"),e.getStandaloneInjector=n=>n.get(Z2).getOrCreateStandaloneInjector(e)}function K1(e,n,t,i,r,o,s){const a=n+t;return ar(e,a,r,o)?function Gn(e,n,t){return e[n]=t}(e,a+2,s?i.call(s,r,o):i(r,o)):function ca(e,n){const t=e[n];return t===z?void 0:t}(e,a+2)}function eE(e,n,t,i){const r=e+R,o=b(),s=function qi(e,n){return e[n]}(o,r);return function ua(e,n){return e[E].data[n].pure}(o,r)?K1(o,function wt(){const e=G.lFrame;let n=e.bindingRootIndex;return-1===n&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}(),n,s.transform,t,i,s):s.transform(t,i)}const bE=new A(""),Vc=new A("");let Op,Ip=(()=>{class e{constructor(t,i,r){this._ngZone=t,this.registry=i,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,Op||(function oB(e){Op=e}(r),r.addToWindow(i)),this._watchAngularEvents(),t.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Q.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb()}});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(t)||(clearTimeout(i.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,i,r){let o=-1;i&&i>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),t()},i)),this._callbacks.push({doneCb:t,timeoutId:o,updateCb:r})}whenStable(t,i,r){if(r&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(t,i,r),this._runCallbacksIfReady()}registerApplication(t){this.registry.registerApplication(t,this)}unregisterApplication(t){this.registry.unregisterApplication(t)}findProviders(t,i,r){return[]}static#e=this.\u0275fac=function(i){return new(i||e)(X(Q),X(Sp),X(Vc))};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac})}return e})(),Sp=(()=>{class e{constructor(){this._applications=new Map}registerApplication(t,i){this._applications.set(t,i)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,i=!0){return Op?.findTestabilityInTree(this,t,i)??null}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function Hc(e){return!!e&&"function"==typeof e.then}function DE(e){return!!e&&"function"==typeof e.subscribe}const sB=new A("");let Ap=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,i)=>{this.resolve=t,this.reject=i}),this.appInits=_(sB,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const t=[];for(const r of this.appInits){const o=r();if(Hc(o))t.push(o);else if(DE(o)){const s=new Promise((a,l)=>{o.subscribe({complete:a,error:l})});t.push(s)}}const i=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{i()}).catch(r=>{this.reject(r)}),0===t.length&&i(),this.initialized=!0}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Rp=new A("");function wE(e,n){return Array.isArray(n)?n.reduce(wE,e):{...e,...n}}let Tn=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=_(Gv),this.afterRenderEffectManager=_(fc),this.zonelessEnabled=_(Us),this.externalTestViews=new Set,this.beforeRender=new $e,this.afterTick=new $e,this.componentTypes=[],this.components=[],this.isStable=_(Qr).hasPendingTasks.pipe(Pn(t=>!t)),this._injector=_(Yt)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(t,i){const r=t instanceof J0;if(!this._injector.get(Ap).done)throw!r&&function Gi(e){const n=Z(e)||Je(e)||ct(e);return null!==n&&n.standalone}(t),new D(405,!1);let s;s=r?t:this._injector.get(dc).resolveComponentFactory(t),this.componentTypes.push(s.componentType);const a=function aB(e){return e.isBoundToModule}(s)?void 0:this._injector.get(sr),c=s.create(Pe.NULL,[],i||s.selector,a),u=c.location.nativeElement,d=c.injector.get(bE,null);return d?.registerApplication(u),c.onDestroy(()=>{this.detachView(c.hostView),jc(this.components,c),d?.unregisterApplication(u)}),this._loadComponent(c),c}tick(){this._tick(!0)}_tick(t){if(this._runningTick)throw new D(101,!1);const i=q(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(t)}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,q(i),this.afterTick.next()}}detectChangesInAttachedViews(t){let i=null;this._injector.destroyed||(i=this._injector.get(Th,null,{optional:!0}));let r=0;const o=this.afterRenderEffectManager;for(;r<10;){const s=0===r;if(t||!s){this.beforeRender.next(s);for(let{_lView:a,notifyErrorHandler:l}of this._views)cB(a,l,s,this.zonelessEnabled)}else i?.begin?.(),i?.end?.();if(r++,o.executeInternalCallbacks(),!this.allViews.some(({_lView:a})=>ps(a))&&(o.execute(),!this.allViews.some(({_lView:a})=>ps(a))))break}}attachView(t){const i=t;this._views.push(i),i.attachToAppRef(this)}detachView(t){const i=t;jc(this._views,i),i.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t);const i=this._injector.get(Rp,[]);[...this._bootstrapListeners,...i].forEach(r=>r(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>jc(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new D(406,!1);const t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function jc(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function cB(e,n,t,i){(t||ps(e))&&rc(e,n,t&&!i?0:1)}let hB=(()=>{class e{constructor(){this.zone=_(Q),this.changeDetectionScheduler=_(fo),this.applicationRef=_(Tn)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function xp({ngZoneFactory:e,ignoreChangesOutsideZone:n}){return e??=()=>new Q(Pp()),[{provide:Q,useFactory:e},{provide:Fn,multi:!0,useFactory:()=>{const t=_(hB,{optional:!0});return()=>t.initialize()}},{provide:Fn,multi:!0,useFactory:()=>{const t=_(mB);return()=>{t.initialize()}}},{provide:Gv,useFactory:gB},!0===n?{provide:Q0,useValue:!0}:[]]}function gB(){const e=_(Q),n=_(sn);return t=>e.runOutsideAngular(()=>n.handleError(t))}function Pp(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}let mB=(()=>{class e{constructor(){this.subscription=new Gt,this.initialized=!1,this.zone=_(Q),this.pendingTasks=_(Qr)}initialize(){if(this.initialized)return;this.initialized=!0;let t=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(t=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Q.assertNotInAngularZone(),queueMicrotask(()=>{null!==t&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(t),t=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Q.assertInAngularZone(),t??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ha=(()=>{class e{constructor(){this.appRef=_(Tn),this.taskService=_(Qr),this.ngZone=_(Q),this.zonelessEnabled=_(Us),this.disableScheduling=_(Q0,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new Gt,this.cancelScheduledCallback=null,this.shouldRefreshViews=!1,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Sh||!this.zoneIsDefined)}notify(t){if(!this.zonelessEnabled&&5===t)return;switch(t){case 3:case 2:case 0:case 4:case 5:case 1:this.shouldRefreshViews=!0}if(!this.shouldScheduleTick())return;const i=this.useMicrotaskScheduler?nb:tb;this.pendingRenderTaskId=this.taskService.add(),this.zoneIsDefined?Zone.root.run(()=>{this.cancelScheduledCallback=i(()=>{this.tick(this.shouldRefreshViews)})}):this.cancelScheduledCallback=i(()=>{this.tick(this.shouldRefreshViews)})}shouldScheduleTick(){return!(this.disableScheduling||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Q.isInAngularZone())}tick(t){if(this.runningTick||this.appRef.destroyed)return;const i=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick(t)},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(i),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,nb(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(i)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.shouldRefreshViews=!1,this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const t=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(t)}}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Zn=new A("",{providedIn:"root",factory:()=>_(Zn,J.Optional|J.SkipSelf)||function _B(){return typeof $localize<"u"&&$localize.locale||ko}()}),Fp=new A("");let SE=(()=>{class e{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,i){const r=function hP(e="zone.js",n){return"noop"===e?new Sh:"zone.js"===e?new Q(n):e}(i?.ngZone,Pp({eventCoalescing:i?.ngZoneEventCoalescing,runCoalescing:i?.ngZoneRunCoalescing}));return r.run(()=>{const o=i?.ignoreChangesOutsideZone,s=function ck(e,n,t){return new Uh(e,n,t)}(t.moduleType,this.injector,[...xp({ngZoneFactory:()=>r,ignoreChangesOutsideZone:o}),{provide:fo,useExisting:ha}]),a=s.injector.get(sn,null);return r.runOutsideAngular(()=>{const l=r.onError.subscribe({next:c=>{a.handleError(c)}});s.onDestroy(()=>{jc(this._modules,s),l.unsubscribe()})}),function CE(e,n,t){try{const i=t();return Hc(i)?i.catch(r=>{throw n.runOutsideAngular(()=>e.handleError(r)),r}):i}catch(i){throw n.runOutsideAngular(()=>e.handleError(i)),i}}(a,r,()=>{const l=s.injector.get(Ap);return l.runInitializers(),l.donePromise.then(()=>(function qD(e){"string"==typeof e&&(zD=e.toLowerCase().replace(/_/g,"-"))}(s.injector.get(Zn,ko)||ko),this._moduleDoBootstrap(s),s))})})}bootstrapModule(t,i=[]){const r=wE({},i);return function fB(e,n,t){const i=new Wh(t);return Promise.resolve(i)}(0,0,t).then(o=>this.bootstrapModuleFactory(o,r))}_moduleDoBootstrap(t){const i=t.injector.get(Tn);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(r=>i.bootstrap(r));else{if(!t.instance.ngDoBootstrap)throw new D(-403,!1);t.instance.ngDoBootstrap(i)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new D(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const t=this._injector.get(Fp,null);t&&(t.forEach(i=>i()),t.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(i){return new(i||e)(X(Pe))};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),Ai=null;const OE=new A("");function AE(e,n,t=[]){const i=`Platform: ${n}`,r=new A(i);return(o=[])=>{let s=Lp();if(!s||s.injector.get(OE,!1)){const a=[...t,...o,{provide:r,useValue:!0}];e?e(a):function bB(e){if(Ai&&!Ai.get(OE,!1))throw new D(400,!1);(function EE(){!function NM(e){jm=e}(()=>{throw new D(600,!1)})})(),Ai=e;const n=e.get(SE);(function xE(e){e.get(dy,null)?.forEach(t=>t())})(e)}(function RE(e=[],n){return Pe.create({name:n,providers:[{provide:Ud,useValue:"platform"},{provide:Fp,useValue:new Set([()=>Ai=null])},...e]})}(a,i))}return function DB(e){const n=Lp();if(!n)throw new D(401,!1);return n}()}}function Lp(){return Ai?.get(SE)??null}let pi=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=CB}return e})();function CB(e){return function wB(e,n,t){if(zi(e)&&!t){const i=Kt(e.index,n);return new Fs(i,i)}return 175&e.type?new Fs(n[Ae],n):null}(he(),b(),!(16&~e))}class BE{constructor(){}supports(n){return _c(n)}create(n){return new SB(n)}}const IB=(e,n)=>n;class SB{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||IB}forEachItem(n){let t;for(t=this._itHead;null!==t;t=t._next)n(t)}forEachOperation(n){let t=this._itHead,i=this._removalsHead,r=0,o=null;for(;t||i;){const s=!i||t&&t.currentIndex{s=this._trackByFn(r,a),null!==t&&Object.is(t.trackById,s)?(i&&(t=this._verifyReinsertion(t,a,s,r)),Object.is(t.item,a)||this._addIdentityChange(t,a)):(t=this._mismatch(t,a,s,r),i=!0),t=t._next,r++}),this.length=r;return this._truncate(t),this.collection=n,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;null!==n;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;null!==n;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,t,i,r){let o;return null===n?o=this._itTail:(o=n._prev,this._remove(n)),null!==(n=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._reinsertAfter(n,o,r)):null!==(n=null===this._linkedRecords?null:this._linkedRecords.get(i,r))?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._moveAfter(n,o,r)):n=this._addAfter(new OB(t,i),o,r),n}_verifyReinsertion(n,t,i,r){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==o?n=this._reinsertAfter(o,n._prev,r):n.currentIndex!=r&&(n.currentIndex=r,this._addToMoves(n,r)),n}_truncate(n){for(;null!==n;){const t=n._next;this._addToRemovals(this._unlink(n)),n=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(n,t,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(n);const r=n._prevRemoved,o=n._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(n,t,i),this._addToMoves(n,i),n}_moveAfter(n,t,i){return this._unlink(n),this._insertAfter(n,t,i),this._addToMoves(n,i),n}_addAfter(n,t,i){return this._insertAfter(n,t,i),this._additionsTail=null===this._additionsTail?this._additionsHead=n:this._additionsTail._nextAdded=n,n}_insertAfter(n,t,i){const r=null===t?this._itHead:t._next;return n._next=r,n._prev=t,null===r?this._itTail=n:r._prev=n,null===t?this._itHead=n:t._next=n,null===this._linkedRecords&&(this._linkedRecords=new VE),this._linkedRecords.put(n),n.currentIndex=i,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){null!==this._linkedRecords&&this._linkedRecords.remove(n);const t=n._prev,i=n._next;return null===t?this._itHead=i:t._next=i,null===i?this._itTail=t:i._prev=t,n}_addToMoves(n,t){return n.previousIndex===t||(this._movesTail=null===this._movesTail?this._movesHead=n:this._movesTail._nextMoved=n),n}_addToRemovals(n){return null===this._unlinkedRecords&&(this._unlinkedRecords=new VE),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,t){return n.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=n:this._identityChangesTail._nextIdentityChange=n,n}}class OB{constructor(n,t){this.item=n,this.trackById=t,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 AB{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,t){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===t||t<=i.currentIndex)&&Object.is(i.trackById,n))return i;return null}remove(n){const t=n._prevDup,i=n._nextDup;return null===t?this._head=i:t._nextDup=i,null===i?this._tail=t:i._prevDup=t,null===this._head}}class VE{constructor(){this.map=new Map}put(n){const t=n.trackById;let i=this.map.get(t);i||(i=new AB,this.map.set(t,i)),i.add(n)}get(n,t){const r=this.map.get(n);return r?r.get(n,t):null}remove(n){const t=n.trackById;return this.map.get(t).remove(n)&&this.map.delete(t),n}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function HE(e,n,t){const i=e.previousIndex;if(null===i)return i;let r=0;return t&&i{class e{static#e=this.\u0275prov=x({token:e,providedIn:"root",factory:$E});constructor(t){this.factories=t}static create(t,i){if(null!=i){const r=i.factories.slice();t=t.concat(r)}return new e(t)}static extend(t){return{provide:e,useFactory:i=>e.create(t,i||$E()),deps:[[e,new kd,new Pd]]}}find(t){const i=this.factories.find(r=>r.supports(t));if(null!=i)return i;throw new D(901,!1)}}return e})();const FB=AE(null,"core",[]);let LB=(()=>{class e{constructor(t){}static#e=this.\u0275fac=function(i){return new(i||e)(X(Tn))};static#t=this.\u0275mod=de({type:e});static#n=this.\u0275inj=se({})}return e})();const sC=new A("");function _a(e,n){Nt("NgSignals");const t=function EM(e){const n=Object.create(CM);n.computation=e;const t=()=>{if(Pm(n),td(n),n.value===za)throw n.error;return n.value};return t[mn]=n,t}(e);return n?.equal&&(t[mn].equal=n.equal),t}function Qn(e){const n=q(null);try{return e()}finally{q(n)}}function qp(e,n){const t=Z(e),i=n.elementInjector||ml();return new qs(t).create(i,n.projectableNodes,n.hostElement,n.environmentInjector)}let mC=null;function va(){return mC}class NV{}const St=new A("");class hH{constructor(n,t,i,r){this.$implicit=n,this.ngForOf=t,this.index=i,this.count=r}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let rg=(()=>{class e{set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}constructor(t,i,r){this._viewContainer=t,this._template=i,this._differs=r,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const t=this._ngForOf;!this._differ&&t&&(this._differ=this._differs.find(t).create(this.ngForTrackBy))}if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const i=this._viewContainer;t.forEachOperation((r,o,s)=>{if(null==r.previousIndex)i.createEmbeddedView(this._template,new hH(r.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)i.remove(null===o?void 0:o);else if(null!==o){const a=i.get(o);i.move(a,s),IC(a,r)}});for(let r=0,o=i.length;r{IC(i.get(r.currentIndex),r)})}static ngTemplateContextGuard(t,i){return!0}static#e=this.\u0275fac=function(i){return new(i||e)(C(an),C(ze),C($p))};static#t=this.\u0275dir=S({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return e})();function IC(e,n){e.context.$implicit=n.item}let og=(()=>{class e{constructor(t,i){this._viewContainer=t,this._context=new pH,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){SC("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){SC("ngIfElse",t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(t,i){return!0}static#e=this.\u0275fac=function(i){return new(i||e)(C(an),C(ze))};static#t=this.\u0275dir=S({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return e})();class pH{constructor(){this.$implicit=null,this.ngIf=null}}function SC(e,n){if(n&&!n.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${Qe(n)}'.`)}let ug=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=de({type:e});static#n=this.\u0275inj=se({})}return e})();function xC(e){return"server"===e}class _j extends NV{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class pg extends _j{static makeCurrent(){!function wV(e){mC??=e}(new pg)}onAndCancel(n,t,i){return n.addEventListener(t,i),()=>{n.removeEventListener(t,i)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.parentNode&&n.parentNode.removeChild(n)}createElement(n,t){return(t=t||this.getDefaultDocument()).createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,t){return"window"===t?window:"document"===t?n:"body"===t?n.body:null}getBaseHref(n){const t=function vj(){return Ca=Ca||document.querySelector("base"),Ca?Ca.getAttribute("href"):null}();return null==t?null:function yj(e){return new URL(e,document.baseURI).pathname}(t)}resetBaseElement(){Ca=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return function uH(e,n){n=encodeURIComponent(n);for(const t of e.split(";")){const i=t.indexOf("="),[r,o]=-1==i?[t,""]:[t.slice(0,i),t.slice(i+1)];if(r.trim()===n)return decodeURIComponent(o)}return null}(document.cookie,n)}}let Ca=null,Dj=(()=>{class e{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac})}return e})();const fu=new A("");let GC=(()=>{class e{constructor(t,i){this._zone=i,this._eventNameToPlugin=new Map,t.forEach(r=>{r.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,i,r){return this._findPluginFor(i).addEventListener(t,i,r)}getZone(){return this._zone}_findPluginFor(t){let i=this._eventNameToPlugin.get(t);if(i)return i;if(i=this._plugins.find(o=>o.supports(t)),!i)throw new D(5101,!1);return this._eventNameToPlugin.set(t,i),i}static#e=this.\u0275fac=function(i){return new(i||e)(X(fu),X(Q))};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac})}return e})();class gg{constructor(n){this._doc=n}}const mg="ng-app-id";let UC=(()=>{class e{constructor(t,i,r,o={}){this.doc=t,this.appId=i,this.nonce=r,this.platformId=o,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=xC(o),this.resetHostNodes()}addStyles(t){for(const i of t)1===this.changeUsageCount(i,1)&&this.onStyleAdded(i)}removeStyles(t){for(const i of t)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){const t=this.styleNodesInDOM;t&&(t.forEach(i=>i.remove()),t.clear());for(const i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(t){this.hostNodes.add(t);for(const i of this.getAllStyles())this.addStyleToHost(t,i)}removeHost(t){this.hostNodes.delete(t)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(t){for(const i of this.hostNodes)this.addStyleToHost(i,t)}onStyleRemoved(t){const i=this.styleRef;i.get(t)?.elements?.forEach(r=>r.remove()),i.delete(t)}collectServerRenderedStyles(){const t=this.doc.head?.querySelectorAll(`style[${mg}="${this.appId}"]`);if(t?.length){const i=new Map;return t.forEach(r=>{null!=r.textContent&&i.set(r.textContent,r)}),i}return null}changeUsageCount(t,i){const r=this.styleRef;if(r.has(t)){const o=r.get(t);return o.usage+=i,o.usage}return r.set(t,{usage:i,elements:[]}),i}getStyleElement(t,i){const r=this.styleNodesInDOM,o=r?.get(i);if(o?.parentNode===t)return r.delete(i),o.removeAttribute(mg),o;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=i,this.platformIsServer&&s.setAttribute(mg,this.appId),t.appendChild(s),s}}addStyleToHost(t,i){const r=this.getStyleElement(t,i),o=this.styleRef,s=o.get(i)?.elements;s?s.push(r):o.set(i,{elements:[r],usage:1})}resetHostNodes(){const t=this.hostNodes;t.clear(),t.add(this.doc.head)}static#e=this.\u0275fac=function(i){return new(i||e)(X(St),X(Xr),X(fy,8),X(eo))};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac})}return e})();const _g={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},vg=/%COMP%/g,Nj=new A("",{providedIn:"root",factory:()=>!0});function zC(e,n){return n.map(t=>t.replace(vg,e))}let qC=(()=>{class e{constructor(t,i,r,o,s,a,l,c=null){this.eventManager=t,this.sharedStylesHost=i,this.appId=r,this.removeStylesOnCompDestroy=o,this.doc=s,this.platformId=a,this.ngZone=l,this.nonce=c,this.rendererByCompId=new Map,this.platformIsServer=xC(a),this.defaultRenderer=new yg(t,s,l,this.platformIsServer)}createRenderer(t,i){if(!t||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===_n.ShadowDom&&(i={...i,encapsulation:_n.Emulated});const r=this.getOrCreateRenderer(t,i);return r instanceof KC?r.applyToHost(t):r instanceof bg&&r.applyStyles(),r}getOrCreateRenderer(t,i){const r=this.rendererByCompId;let o=r.get(i.id);if(!o){const s=this.doc,a=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,d=this.platformIsServer;switch(i.encapsulation){case _n.Emulated:o=new KC(l,c,i,this.appId,u,s,a,d);break;case _n.ShadowDom:return new Sj(l,c,t,i,s,a,this.nonce,d);default:o=new bg(l,c,i,u,s,a,d)}r.set(i.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(i){return new(i||e)(X(GC),X(UC),X(Xr),X(Nj),X(St),X(eo),X(Q),X(fy))};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac})}return e})();class yg{constructor(n,t,i,r){this.eventManager=n,this.doc=t,this.ngZone=i,this.platformIsServer=r,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(n,t){return t?this.doc.createElementNS(_g[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(YC(n)?n.content:n).appendChild(t)}insertBefore(n,t,i){n&&(YC(n)?n.content:n).insertBefore(t,i)}removeChild(n,t){n&&n.removeChild(t)}selectRootElement(n,t){let i="string"==typeof n?this.doc.querySelector(n):n;if(!i)throw new D(-5104,!1);return t||(i.textContent=""),i}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,t,i,r){if(r){t=r+":"+t;const o=_g[r];o?n.setAttributeNS(o,t,i):n.setAttribute(t,i)}else n.setAttribute(t,i)}removeAttribute(n,t,i){if(i){const r=_g[i];r?n.removeAttributeNS(r,t):n.removeAttribute(`${i}:${t}`)}else n.removeAttribute(t)}addClass(n,t){n.classList.add(t)}removeClass(n,t){n.classList.remove(t)}setStyle(n,t,i,r){r&(Ti.DashCase|Ti.Important)?n.style.setProperty(t,i,r&Ti.Important?"important":""):n.style[t]=i}removeStyle(n,t,i){i&Ti.DashCase?n.style.removeProperty(t):n.style[t]=""}setProperty(n,t,i){null!=n&&(n[t]=i)}setValue(n,t){n.nodeValue=t}listen(n,t,i){if("string"==typeof n&&!(n=va().getGlobalEventTarget(this.doc,n)))throw new Error(`Unsupported event target ${n} for event ${t}`);return this.eventManager.addEventListener(n,t,this.decoratePreventDefault(i))}decoratePreventDefault(n){return t=>{if("__ngUnwrap__"===t)return n;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>n(t)):n(t))&&t.preventDefault()}}}function YC(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class Sj extends yg{constructor(n,t,i,r,o,s,a,l){super(n,o,s,l),this.sharedStylesHost=t,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const c=zC(r.id,r.styles);for(const u of c){const d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=u,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,t){return super.appendChild(this.nodeOrShadowRoot(n),t)}insertBefore(n,t,i){return super.insertBefore(this.nodeOrShadowRoot(n),t,i)}removeChild(n,t){return super.removeChild(this.nodeOrShadowRoot(n),t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class bg extends yg{constructor(n,t,i,r,o,s,a,l){super(n,o,s,a),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=r,this.styles=l?zC(l,i.styles):i.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class KC extends bg{constructor(n,t,i,r,o,s,a,l){const c=r+"-"+i.id;super(n,t,i,o,s,a,l,c),this.contentAttr=function Tj(e){return"_ngcontent-%COMP%".replace(vg,e)}(c),this.hostAttr=function Mj(e){return"_nghost-%COMP%".replace(vg,e)}(c)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,t){const i=super.createElement(n,t);return super.setAttribute(i,this.contentAttr,""),i}}let Oj=(()=>{class e extends gg{constructor(t){super(t)}supports(t){return!0}addEventListener(t,i,r){return t.addEventListener(i,r,!1),()=>this.removeEventListener(t,i,r)}removeEventListener(t,i,r){return t.removeEventListener(i,r)}static#e=this.\u0275fac=function(i){return new(i||e)(X(St))};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac})}return e})(),Aj=(()=>{class e extends gg{constructor(t){super(t),this.delegate=_(sC,{optional:!0})}supports(t){return!!this.delegate&&this.delegate.supports(t)}addEventListener(t,i,r){return this.delegate.addEventListener(t,i,r)}removeEventListener(t,i,r){return this.delegate.removeEventListener(t,i,r)}static#e=this.\u0275fac=function(i){return new(i||e)(X(St))};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac})}return e})();const ZC=["alt","control","meta","shift"],Rj={"\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"},xj={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let Pj=(()=>{class e extends gg{constructor(t){super(t)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,i,r){const o=e.parseEventName(i),s=e.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>va().onAndCancel(t,o.domEventName,s))}static parseEventName(t){const i=t.toLowerCase().split("."),r=i.shift();if(0===i.length||"keydown"!==r&&"keyup"!==r)return null;const o=e._normalizeKey(i.pop());let s="",a=i.indexOf("code");if(a>-1&&(i.splice(a,1),s="code."),ZC.forEach(c=>{const u=i.indexOf(c);u>-1&&(i.splice(u,1),s+=c+".")}),s+=o,0!=i.length||0===o.length)return null;const l={};return l.domEventName=r,l.fullKey=s,l}static matchEventFullKeyCode(t,i){let r=Rj[t.key]||t.key,o="";return i.indexOf("code.")>-1&&(r=t.code,o="code."),!(null==r||!r)&&(r=r.toLowerCase()," "===r?r="space":"."===r&&(r="dot"),ZC.forEach(s=>{s!==r&&(0,xj[s])(t)&&(o+=s+".")}),o+=r,o===i)}static eventCallback(t,i,r){return o=>{e.matchEventFullKeyCode(o,t)&&r.runGuarded(()=>i(o))}}static _normalizeKey(t){return"esc"===t?"escape":t}static#e=this.\u0275fac=function(i){return new(i||e)(X(St))};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac})}return e})();const Bj=AE(FB,"browser",[{provide:eo,useValue:"browser"},{provide:dy,useValue:function kj(){pg.makeCurrent()},multi:!0},{provide:St,useFactory:function Lj(){return function dA(e){Mf=e}(document),document},deps:[]}]),Vj=new A(""),XC=[{provide:Vc,useClass:class bj{addToWindow(n){ge.getAngularTestability=(i,r=!0)=>{const o=n.findTestabilityInTree(i,r);if(null==o)throw new D(5103,!1);return o},ge.getAllAngularTestabilities=()=>n.getAllTestabilities(),ge.getAllAngularRootElements=()=>n.getAllRootElements(),ge.frameworkStabilizers||(ge.frameworkStabilizers=[]),ge.frameworkStabilizers.push(i=>{const r=ge.getAllAngularTestabilities();let o=r.length;const s=function(){o--,0==o&&i()};r.forEach(a=>{a.whenStable(s)})})}findTestabilityInTree(n,t,i){return null==t?null:n.getTestability(t)??(i?va().isShadowRoot(t)?this.findTestabilityInTree(n,t.host,!0):this.findTestabilityInTree(n,t.parentElement,!0):null)}},deps:[]},{provide:bE,useClass:Ip,deps:[Q,Sp,Vc]},{provide:Ip,useClass:Ip,deps:[Q,Sp,Vc]}],ew=[{provide:Ud,useValue:"root"},{provide:sn,useFactory:function Fj(){return new sn},deps:[]},{provide:fu,useClass:Oj,multi:!0,deps:[St,Q,eo]},{provide:fu,useClass:Pj,multi:!0,deps:[St]},{provide:fu,useClass:Aj,multi:!0},qC,UC,GC,{provide:Th,useExisting:qC},{provide:class GH{},useClass:Dj,deps:[]},[]];let Hj=(()=>{class e{constructor(t){}static withServerTransition(t){return{ngModule:e,providers:[{provide:Xr,useValue:t.appId}]}}static#e=this.\u0275fac=function(i){return new(i||e)(X(Vj,12))};static#t=this.\u0275mod=de({type:e});static#n=this.\u0275inj=se({providers:[...ew,...XC],imports:[ug,LB]})}return e})();function Ri(e){return this instanceof Ri?(this.v=e,this):new Ri(e)}function sw(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=function wg(e){var n="function"==typeof Symbol&&Symbol.iterator,t=n&&e[n],i=0;if(t)return t.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),t={},i("next"),i("throw"),i("return"),t[Symbol.asyncIterator]=function(){return this},t);function i(o){t[o]=e[o]&&function(s){return new Promise(function(a,l){!function r(o,s,a,l){Promise.resolve(l).then(function(c){o({value:c,done:a})},s)}(a,l,(s=e[o](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const Ng=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function aw(e){return pe(e?.then)}function lw(e){return pe(e[hd])}function cw(e){return Symbol.asyncIterator&&pe(e?.[Symbol.asyncIterator])}function uw(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const dw=function d3(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function fw(e){return pe(e?.[dw])}function hw(e){return function ow(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=t.apply(e,n||[]),o=[];return r={},a("next"),a("throw"),a("return",function s(f){return function(p){return Promise.resolve(p).then(f,d)}}),r[Symbol.asyncIterator]=function(){return this},r;function a(f,p){i[f]&&(r[f]=function(g){return new Promise(function(v,y){o.push([f,g,v,y])>1||l(f,g)})},p&&(r[f]=p(r[f])))}function l(f,p){try{!function c(f){f.value instanceof Ri?Promise.resolve(f.value.v).then(u,d):h(o[0][2],f)}(i[f](p))}catch(g){h(o[0][3],g)}}function u(f){l("next",f)}function d(f){l("throw",f)}function h(f,p){f(p),o.shift(),o.length&&l(o[0][0],o[0][1])}}(this,arguments,function*(){const t=e.getReader();try{for(;;){const{value:i,done:r}=yield Ri(t.read());if(r)return yield Ri(void 0);yield yield Ri(i)}}finally{t.releaseLock()}})}function pw(e){return pe(e?.getReader)}function At(e){if(e instanceof Ze)return e;if(null!=e){if(lw(e))return function f3(e){return new Ze(n=>{const t=e[hd]();if(pe(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Ng(e))return function h3(e){return new Ze(n=>{for(let t=0;t{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,Km)})}(e);if(cw(e))return gw(e);if(fw(e))return function g3(e){return new Ze(n=>{for(const t of e)if(n.next(t),n.closed)return;n.complete()})}(e);if(pw(e))return function m3(e){return gw(hw(e))}(e)}throw uw(e)}function gw(e){return new Ze(n=>{(function _3(e,n){var t,i,r,o;return function iw(e,n,t,i){return new(t||(t=Promise))(function(o,s){function a(u){try{c(i.next(u))}catch(d){s(d)}}function l(u){try{c(i.throw(u))}catch(d){s(d)}}function c(u){u.done?o(u.value):function r(o){return o instanceof t?o:new t(function(s){s(o)})}(u.value).then(a,l)}c((i=i.apply(e,n||[])).next())})}(this,void 0,void 0,function*(){try{for(t=sw(e);!(i=yield t.next()).done;)if(n.next(i.value),n.closed)return}catch(s){r={error:s}}finally{try{i&&!i.done&&(o=t.return)&&(yield o.call(t))}finally{if(r)throw r.error}}n.complete()})})(e,n).catch(t=>n.error(t))})}function xi(e,n,t,i=0,r=!1){const o=n.schedule(function(){t(),r?e.add(this.schedule(null,i)):this.unsubscribe()},i);if(e.add(o),!r)return o}function mw(e,n=0){return Ut((t,i)=>{t.subscribe(at(i,r=>xi(i,e,()=>i.next(r),n),()=>xi(i,e,()=>i.complete(),n),r=>xi(i,e,()=>i.error(r),n)))})}function _w(e,n=0){return Ut((t,i)=>{i.add(e.schedule(()=>t.subscribe(i),n))})}function vw(e,n){if(!e)throw new Error("Iterable cannot be null");return new Ze(t=>{xi(t,n,()=>{const i=e[Symbol.asyncIterator]();xi(t,n,()=>{i.next().then(r=>{r.done?t.complete():t.next(r.value)})},0,!0)})})}function pu(e,n){return n?function C3(e,n){if(null!=e){if(lw(e))return function v3(e,n){return At(e).pipe(_w(n),mw(n))}(e,n);if(Ng(e))return function b3(e,n){return new Ze(t=>{let i=0;return n.schedule(function(){i===e.length?t.complete():(t.next(e[i++]),t.closed||this.schedule())})})}(e,n);if(aw(e))return function y3(e,n){return At(e).pipe(_w(n),mw(n))}(e,n);if(cw(e))return vw(e,n);if(fw(e))return function D3(e,n){return new Ze(t=>{let i;return xi(t,n,()=>{i=e[dw](),xi(t,n,()=>{let r,o;try{({value:r,done:o}=i.next())}catch(s){return void t.error(s)}o?t.complete():t.next(r)},0,!0)}),()=>pe(i?.return)&&i.return()})}(e,n);if(pw(e))return function E3(e,n){return vw(hw(e),n)}(e,n)}throw uw(e)}(e,n):At(e)}const{isArray:w3}=Array,{getPrototypeOf:N3,prototype:T3,keys:M3}=Object;function yw(e){return e&&pe(e.schedule)}function Tg(e){return e[e.length-1]}function Mg(e){return pe(Tg(e))?e.pop():void 0}function gu(e){return yw(Tg(e))?e.pop():void 0}const{isArray:A3}=Array;function bw(e){return Pn(n=>function R3(e,n){return A3(n)?e(...n):e(n)}(e,n))}function x3(e,n){return e.reduce((t,i,r)=>(t[i]=n[r],t),{})}let Dw=(()=>{class e{constructor(t,i){this._renderer=t,this._elementRef=i,this.onChange=r=>{},this.onTouched=()=>{}}setProperty(t,i){this._renderer.setProperty(this._elementRef.nativeElement,t,i)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}static#e=this.\u0275fac=function(i){return new(i||e)(C(rr),C(me))};static#t=this.\u0275dir=S({type:e})}return e})(),hr=(()=>{class e extends Dw{static#e=this.\u0275fac=(()=>{let t;return function(r){return(t||(t=Re(e)))(r||e)}})();static#t=this.\u0275dir=S({type:e,features:[re]})}return e})();const fn=new A(""),F3={provide:fn,useExisting:ue(()=>mu),multi:!0},B3=new A("");let mu=(()=>{class e extends Dw{constructor(t,i,r){super(t,i),this._compositionMode=r,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function L3(){const e=va()?va().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(t){this.setProperty("value",t??"")}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}static#e=this.\u0275fac=function(i){return new(i||e)(C(rr),C(me),C(B3,8))};static#t=this.\u0275dir=S({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(i,r){1&i&&U("input",function(s){return r._handleInput(s.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(s){return r._compositionEnd(s.target.value)})},features:[_e([F3]),re]})}return e})();const ht=new A(""),ki=new A("");function Rw(e){return null!=e}function xw(e){return Hc(e)?pu(e):e}function Pw(e){let n={};return e.forEach(t=>{n=null!=t?{...n,...t}:n}),0===Object.keys(n).length?null:n}function kw(e,n){return n.map(t=>t(e))}function Fw(e){return e.map(n=>function H3(e){return!e.validate}(n)?n:t=>n.validate(t))}function Ig(e){return null!=e?function Lw(e){if(!e)return null;const n=e.filter(Rw);return 0==n.length?null:function(t){return Pw(kw(t,n))}}(Fw(e)):null}function Bw(e){if(!e)return null;const n=e.filter(Rw);return 0==n.length?null:function(t){return function P3(...e){const n=Mg(e),{args:t,keys:i}=function I3(e){if(1===e.length){const n=e[0];if(w3(n))return{args:n,keys:null};if(function S3(e){return e&&"object"==typeof e&&N3(e)===T3}(n)){const t=M3(n);return{args:t.map(i=>n[i]),keys:t}}}return{args:e,keys:null}}(e),r=new Ze(o=>{const{length:s}=t;if(!s)return void o.complete();const a=new Array(s);let l=s,c=s;for(let u=0;u{d||(d=!0,c--),a[u]=h},()=>l--,void 0,()=>{(!l||!d)&&(c||o.next(i?x3(i,a):a),o.complete())}))}});return n?r.pipe(bw(n)):r}(kw(t,n).map(xw)).pipe(Pn(Pw))}}function Sg(e){return null!=e?Bw(Fw(e)):null}function Vw(e,n){return null===e?[n]:Array.isArray(e)?[...e,n]:[e,n]}function Hw(e){return e._rawValidators}function jw(e){return e._rawAsyncValidators}function Og(e){return e?Array.isArray(e)?e:[e]:[]}function vu(e,n){return Array.isArray(e)?e.includes(n):e===n}function $w(e,n){const t=Og(n);return Og(e).forEach(r=>{vu(t,r)||t.push(r)}),t}function Gw(e,n){return Og(n).filter(t=>!vu(e,t))}class Uw{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=Ig(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=Sg(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=void 0){this.control&&this.control.reset(n)}hasError(n,t){return!!this.control&&this.control.hasError(n,t)}getError(n,t){return this.control?this.control.getError(n,t):null}}class Rt extends Uw{get formDirective(){return null}get path(){return null}}class Fi extends Uw{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Ww{constructor(n){this._cd=n}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}}let zw=(()=>{class e extends Ww{constructor(t){super(t)}static#e=this.\u0275fac=function(i){return new(i||e)(C(Fi,2))};static#t=this.\u0275dir=S({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,r){2&i&&Ne("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},features:[re]})}return e})(),qw=(()=>{class e extends Ww{constructor(t){super(t)}static#e=this.\u0275fac=function(i){return new(i||e)(C(Rt,10))};static#t=this.\u0275dir=S({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(i,r){2&i&&Ne("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)("ng-submitted",r.isSubmitted)},features:[re]})}return e})();const wa="VALID",bu="INVALID",Ho="PENDING",Na="DISABLED";class jo{}class Kw extends jo{constructor(n,t){super(),this.value=n,this.source=t}}class xg extends jo{constructor(n,t){super(),this.pristine=n,this.source=t}}class Pg extends jo{constructor(n,t){super(),this.touched=n,this.source=t}}class Du extends jo{constructor(n,t){super(),this.status=n,this.source=t}}class W3 extends jo{constructor(n){super(),this.source=n}}class z3 extends jo{constructor(n){super(),this.source=n}}function kg(e){return(Eu(e)?e.validators:e)||null}function Fg(e,n){return(Eu(n)?n.asyncValidators:e)||null}function Eu(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class Lg{constructor(n,t){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=_a(()=>this.statusReactive()),this.statusReactive=ho(void 0),this._pristine=_a(()=>this.pristineReactive()),this.pristineReactive=ho(!0),this._touched=_a(()=>this.touchedReactive()),this.touchedReactive=ho(!1),this._events=new $e,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(n),this._assignAsyncValidators(t)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get status(){return Qn(this.statusReactive)}set status(n){Qn(()=>this.statusReactive.set(n))}get valid(){return this.status===wa}get invalid(){return this.status===bu}get pending(){return this.status==Ho}get disabled(){return this.status===Na}get enabled(){return this.status!==Na}get pristine(){return Qn(this.pristineReactive)}set pristine(n){Qn(()=>this.pristineReactive.set(n))}get dirty(){return!this.pristine}get touched(){return Qn(this.touchedReactive)}set touched(n){Qn(()=>this.touchedReactive.set(n))}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators($w(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators($w(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(Gw(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(Gw(n,this._rawAsyncValidators))}hasValidator(n){return vu(this._rawValidators,n)}hasAsyncValidator(n){return vu(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){const t=!1===this.touched;this.touched=!0;const i=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsTouched({...n,sourceControl:i}),t&&!1!==n.emitEvent&&this._events.next(new Pg(!0,i))}markAllAsTouched(n={}){this.markAsTouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(t=>t.markAllAsTouched(n))}markAsUntouched(n={}){const t=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const i=n.sourceControl??this;this._forEachChild(r=>{r.markAsUntouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:i})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,i),t&&!1!==n.emitEvent&&this._events.next(new Pg(!1,i))}markAsDirty(n={}){const t=!0===this.pristine;this.pristine=!1;const i=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsDirty({...n,sourceControl:i}),t&&!1!==n.emitEvent&&this._events.next(new xg(!1,i))}markAsPristine(n={}){const t=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const i=n.sourceControl??this;this._forEachChild(r=>{r.markAsPristine({onlySelf:!0,emitEvent:n.emitEvent})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n,i),t&&!1!==n.emitEvent&&this._events.next(new xg(!0,i))}markAsPending(n={}){this.status=Ho;const t=n.sourceControl??this;!1!==n.emitEvent&&(this._events.next(new Du(this.status,t)),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.markAsPending({...n,sourceControl:t})}disable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=Na,this.errors=null,this._forEachChild(r=>{r.disable({...n,onlySelf:!0})}),this._updateValue();const i=n.sourceControl??this;!1!==n.emitEvent&&(this._events.next(new Kw(this.value,i)),this._events.next(new Du(this.status,i)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...n,skipPristineCheck:t},this),this._onDisabledChange.forEach(r=>r(!0))}enable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=wa,this._forEachChild(i=>{i.enable({...n,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors({...n,skipPristineCheck:t},this),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(n,t){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine({},t),this._parent._updateTouched({},t))}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const i=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===wa||this.status===Ho)&&this._runAsyncValidator(i,n.emitEvent)}const t=n.sourceControl??this;!1!==n.emitEvent&&(this._events.next(new Kw(this.value,t)),this._events.next(new Du(this.status,t)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity({...n,sourceControl:t})}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Na:wa}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n,t){if(this.asyncValidator){this.status=Ho,this._hasOwnPendingAsyncValidator={emitEvent:!1!==t};const i=xw(this.asyncValidator(this));this._asyncValidationSubscription=i.subscribe(r=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(r,{emitEvent:t,shouldHaveEmitted:n})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const n=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,n}return!1}setErrors(n,t={}){this.errors=n,this._updateControlsErrors(!1!==t.emitEvent,this,t.shouldHaveEmitted)}get(n){let t=n;return null==t||(Array.isArray(t)||(t=t.split(".")),0===t.length)?null:t.reduce((i,r)=>i&&i._find(r),this)}getError(n,t){const i=t?this.get(t):this;return i&&i.errors?i.errors[n]:null}hasError(n,t){return!!this.getError(n,t)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n,t,i){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),(n||i)&&this._events.next(new Du(this.status,t)),this._parent&&this._parent._updateControlsErrors(n,t,i)}_initObservables(){this.valueChanges=new H,this.statusChanges=new H}_calculateStatus(){return this._allControlsDisabled()?Na:this.errors?bu:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Ho)?Ho:this._anyControlsHaveStatus(bu)?bu:wa}_anyControlsHaveStatus(n){return this._anyControls(t=>t.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n,t){const i=!this._anyControlsDirty(),r=this.pristine!==i;this.pristine=i,this._parent&&!n.onlySelf&&this._parent._updatePristine(n,t),r&&this._events.next(new xg(this.pristine,t))}_updateTouched(n={},t){this.touched=this._anyControlsTouched(),this._events.next(new Pg(this.touched,t)),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,t)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){Eu(n)&&null!=n.updateOn&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=function q3(e){return Array.isArray(e)?Ig(e):e||null}(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=function Y3(e){return Array.isArray(e)?Sg(e):e||null}(this._rawAsyncValidators)}}const K3=class Cu extends Lg{constructor(n,t,i){super(kg(t),Fg(i,t)),this.controls=n,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(n,t){return this.controls[n]?this.controls[n]:(this.controls[n]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(n,t,i={}){this.registerControl(n,t),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(n,t={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}setControl(n,t,i={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],t&&this.registerControl(n,t),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,t={}){(function Qw(e,n,t){e._forEachChild((i,r)=>{if(void 0===t[r])throw new D(1002,"")})})(this,0,n),Object.keys(n).forEach(i=>{(function Zw(e,n,t){const i=e.controls;if(!(n?Object.keys(i):i).length)throw new D(1e3,"");if(!i[t])throw new D(1001,"")})(this,!0,i),this.controls[i].setValue(n[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(n,t={}){null!=n&&(Object.keys(n).forEach(i=>{const r=this.controls[i];r&&r.patchValue(n[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(n={},t={}){this._forEachChild((i,r)=>{i.reset(n?n[r]:null,{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t,this),this._updateTouched(t,this),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(n,t,i)=>(n[i]=t.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(t,i)=>!!i._syncPendingControls()||t);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(t=>{const i=this.controls[t];i&&n(i,t)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(const[t,i]of Object.entries(this.controls))if(this.contains(t)&&n(i))return!0;return!1}_reduceValue(){return this._reduceChildren({},(t,i,r)=>((i.enabled||this.disabled)&&(t[r]=i.value),t))}_reduceChildren(n,t){let i=n;return this._forEachChild((r,o)=>{i=t(i,r,o)}),i}_allControlsDisabled(){for(const n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}},pr=new A("CallSetDisabledState",{providedIn:"root",factory:()=>Ta}),Ta="always";function Ma(e,n,t=Ta){Bg(e,n),n.valueAccessor.writeValue(e.value),(e.disabled||"always"===t)&&n.valueAccessor.setDisabledState?.(e.disabled),function J3(e,n){n.valueAccessor.registerOnChange(t=>{e._pendingValue=t,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&Jw(e,n)})}(e,n),function e$(e,n){const t=(i,r)=>{n.valueAccessor.writeValue(i),r&&n.viewToModelUpdate(i)};e.registerOnChange(t),n._registerOnDestroy(()=>{e._unregisterOnChange(t)})}(e,n),function X3(e,n){n.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&Jw(e,n),"submit"!==e.updateOn&&e.markAsTouched()})}(e,n),function Q3(e,n){if(n.valueAccessor.setDisabledState){const t=i=>{n.valueAccessor.setDisabledState(i)};e.registerOnDisabledChange(t),n._registerOnDestroy(()=>{e._unregisterOnDisabledChange(t)})}}(e,n)}function Nu(e,n,t=!0){const i=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(i),n.valueAccessor.registerOnTouched(i)),Mu(e,n),e&&(n._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}function Tu(e,n){e.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(n)})}function Bg(e,n){const t=Hw(e);null!==n.validator?e.setValidators(Vw(t,n.validator)):"function"==typeof t&&e.setValidators([t]);const i=jw(e);null!==n.asyncValidator?e.setAsyncValidators(Vw(i,n.asyncValidator)):"function"==typeof i&&e.setAsyncValidators([i]);const r=()=>e.updateValueAndValidity();Tu(n._rawValidators,r),Tu(n._rawAsyncValidators,r)}function Mu(e,n){let t=!1;if(null!==e){if(null!==n.validator){const r=Hw(e);if(Array.isArray(r)&&r.length>0){const o=r.filter(s=>s!==n.validator);o.length!==r.length&&(t=!0,e.setValidators(o))}}if(null!==n.asyncValidator){const r=jw(e);if(Array.isArray(r)&&r.length>0){const o=r.filter(s=>s!==n.asyncValidator);o.length!==r.length&&(t=!0,e.setAsyncValidators(o))}}}const i=()=>{};return Tu(n._rawValidators,i),Tu(n._rawAsyncValidators,i),t}function Jw(e,n){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function tN(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function nN(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}Promise.resolve();const Gg=class extends Lg{constructor(n=null,t,i){super(kg(t),Fg(i,t)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Eu(t)&&(t.nonNullable||t.initialValueIsDefault)&&(this.defaultValue=nN(n)?n.value:n)}setValue(n,t={}){this.value=this._pendingValue=n,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(i=>i(this.value,!1!==t.emitViewToModelChange)),this.updateValueAndValidity(t)}patchValue(n,t={}){this.setValue(n,t)}reset(n=this.defaultValue,t={}){this._applyFormState(n),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){tN(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){tN(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){nN(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}},s$=Gg;Promise.resolve();let aN=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275dir=S({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return e})();const Ug=new A(""),g$={provide:Rt,useExisting:ue(()=>Iu)};let Iu=(()=>{class e extends Rt{get submitted(){return Qn(this._submittedReactive)}set submitted(t){this._submittedReactive.set(t)}constructor(t,i,r){super(),this.callSetDisabledState=r,this._submitted=_a(()=>this._submittedReactive()),this._submittedReactive=ho(!1),this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new H,this._setValidators(t),this._setAsyncValidators(i)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Mu(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){const i=this.form.get(t.path);return Ma(i,t,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),i}getControl(t){return this.form.get(t.path)}removeControl(t){Nu(t.control||null,t,!1),function r$(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,i){this.form.get(t.path).setValue(i)}onSubmit(t){return this._submittedReactive.set(!0),function eN(e,n){e._syncPendingControls(),n.forEach(t=>{const i=t.control;"submit"===i.updateOn&&i._pendingChange&&(t.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}(this.form,this.directives),this.ngSubmit.emit(t),this.form._events.next(new W3(this.control)),"dialog"===t?.target?.method}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this._submittedReactive.set(!1),this.form._events.next(new z3(this.form))}_updateDomValue(){this.directives.forEach(t=>{const i=t.control,r=this.form.get(t.path);i!==r&&(Nu(i||null,t),(e=>e instanceof Gg)(r)&&(Ma(r,t,this.callSetDisabledState),t.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){const i=this.form.get(t.path);(function Xw(e,n){Bg(e,n)})(i,t),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){const i=this.form.get(t.path);i&&function t$(e,n){return Mu(e,n)}(i,t)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Bg(this.form,this),this._oldForm&&Mu(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(i){return new(i||e)(C(ht,10),C(ki,10),C(pr,8))};static#t=this.\u0275dir=S({type:e,selectors:[["","formGroup",""]],hostBindings:function(i,r){1&i&&U("submit",function(s){return r.onSubmit(s)})("reset",function(){return r.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[_e([g$]),re,Ft]})}return e})();const v$={provide:Fi,useExisting:ue(()=>qg)};let qg=(()=>{class e extends Fi{set isDisabled(t){}static#e=this._ngModelWarningSentOnce=!1;constructor(t,i,r,o,s){super(),this._ngModelWarningConfig=s,this._added=!1,this.name=null,this.update=new H,this._ngModelWarningSent=!1,this._parent=t,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=function jg(e,n){if(!n)return null;let t,i,r;return Array.isArray(n),n.forEach(o=>{o.constructor===mu?t=o:function i$(e){return Object.getPrototypeOf(e.constructor)===hr}(o)?i=o:r=o}),r||i||t||null}(0,o)}ngOnChanges(t){this._added||this._setUpControl(),function Hg(e,n){if(!e.hasOwnProperty("model"))return!1;const t=e.model;return!!t.isFirstChange()||!Object.is(n,t.currentValue)}(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}get path(){return function wu(e,n){return[...n.path,e]}(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}static#t=this.\u0275fac=function(i){return new(i||e)(C(Rt,13),C(ht,10),C(ki,10),C(fn,10),C(Ug,8))};static#n=this.\u0275dir=S({type:e,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[_e([v$]),re,Ft]})}return e})();const y$={provide:fn,useExisting:ue(()=>Yg),multi:!0};function hN(e,n){return null==e?`${n}`:(n&&"object"==typeof n&&(n="Object"),`${e}: ${n}`.slice(0,50))}let Yg=(()=>{class e extends hr{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){this.value=t;const r=hN(this._getOptionId(t),t);this.setProperty("value",r)}registerOnChange(t){this.onChange=i=>{this.value=this._getOptionValue(i),t(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(t){for(const i of this._optionMap.keys())if(this._compareWith(this._optionMap.get(i),t))return i;return null}_getOptionValue(t){const i=function b$(e){return e.split(":")[0]}(t);return this._optionMap.has(i)?this._optionMap.get(i):t}static#e=this.\u0275fac=(()=>{let t;return function(r){return(t||(t=Re(e)))(r||e)}})();static#t=this.\u0275dir=S({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(i,r){1&i&&U("change",function(s){return r.onChange(s.target.value)})("blur",function(){return r.onTouched()})},inputs:{compareWith:"compareWith"},features:[_e([y$]),re]})}return e})(),pN=(()=>{class e{constructor(t,i,r){this._element=t,this._renderer=i,this._select=r,this._select&&(this.id=this._select._registerOption())}set ngValue(t){null!=this._select&&(this._select._optionMap.set(this.id,t),this._setElementValue(hN(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._setElementValue(t),this._select&&this._select.writeValue(this._select.value)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(i){return new(i||e)(C(me),C(rr),C(Yg,9))};static#t=this.\u0275dir=S({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return e})();const D$={provide:fn,useExisting:ue(()=>Kg),multi:!0};function gN(e,n){return null==e?`${n}`:("string"==typeof n&&(n=`'${n}'`),n&&"object"==typeof n&&(n="Object"),`${e}: ${n}`.slice(0,50))}let Kg=(()=>{class e extends hr{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){let i;if(this.value=t,Array.isArray(t)){const r=t.map(o=>this._getOptionId(o));i=(o,s)=>{o._setSelected(r.indexOf(s.toString())>-1)}}else i=(r,o)=>{r._setSelected(!1)};this._optionMap.forEach(i)}registerOnChange(t){this.onChange=i=>{const r=[],o=i.selectedOptions;if(void 0!==o){const s=o;for(let a=0;a{let t;return function(r){return(t||(t=Re(e)))(r||e)}})();static#t=this.\u0275dir=S({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(i,r){1&i&&U("change",function(s){return r.onChange(s.target)})("blur",function(){return r.onTouched()})},inputs:{compareWith:"compareWith"},features:[_e([D$]),re]})}return e})(),mN=(()=>{class e{constructor(t,i,r){this._element=t,this._renderer=i,this._select=r,this._select&&(this.id=this._select._registerOption(this))}set ngValue(t){null!=this._select&&(this._value=t,this._setElementValue(gN(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._select?(this._value=t,this._setElementValue(gN(this.id,t)),this._select.writeValue(this._select.value)):this._setElementValue(t)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}_setSelected(t){this._renderer.setProperty(this._element.nativeElement,"selected",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(i){return new(i||e)(C(me),C(rr),C(Kg,9))};static#t=this.\u0275dir=S({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return e})(),TN=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=de({type:e});static#n=this.\u0275inj=se({})}return e})(),Qg=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:pr,useValue:t.callSetDisabledState??Ta}]}}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=de({type:e});static#n=this.\u0275inj=se({imports:[TN]})}return e})(),MN=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:Ug,useValue:t.warnOnNgModelWithFormControl??"always"},{provide:pr,useValue:t.callSetDisabledState??Ta}]}}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=de({type:e});static#n=this.\u0275inj=se({imports:[TN]})}return e})();var Jg=function(e){return e.All="Select All",e.None="Select None",e}(Jg||{});function yt(e){return Ut((n,t)=>{At(e).subscribe(at(t,()=>t.complete(),Xo)),!t.closed&&n.subscribe(t)})}const Sa=new Ze(e=>e.complete());function Xg(...e){return pu(e,gu(e))}function Su(e,n,t=1/0){return pe(n)?Su((i,r)=>Pn((o,s)=>n(i,o,r,s))(At(e(i,r))),t):("number"==typeof n&&(t=n),Ut((i,r)=>function L$(e,n,t,i,r,o,s,a){const l=[];let c=0,u=0,d=!1;const h=()=>{d&&!l.length&&!c&&n.complete()},f=g=>c{o&&n.next(g),c++;let v=!1;At(t(g,u++)).subscribe(at(n,y=>{r?.(y),o?f(y):n.next(y)},()=>{v=!0},void 0,()=>{if(v)try{for(c--;l.length&&cp(y)):p(y)}h()}catch(y){n.error(y)}}))};return e.subscribe(at(n,f,()=>{d=!0,h()})),()=>{a?.()}}(i,r,e,t)))}const B$=["addListener","removeListener"],V$=["addEventListener","removeEventListener"],H$=["on","off"];function pt(e,n,t,i){if(pe(t)&&(i=t,t=void 0),i)return pt(e,n,t).pipe(bw(i));const[r,o]=function G$(e){return pe(e.addEventListener)&&pe(e.removeEventListener)}(e)?V$.map(s=>a=>e[s](n,a,t)):function j$(e){return pe(e.addListener)&&pe(e.removeListener)}(e)?B$.map(IN(e,n)):function $$(e){return pe(e.on)&&pe(e.off)}(e)?H$.map(IN(e,n)):[];if(!r&&Ng(e))return Su(s=>pt(s,n,t))(At(e));if(!r)throw new TypeError("Invalid event target");return new Ze(s=>{const a=(...l)=>s.next(1o(a)})}function IN(e,n){return t=>i=>e[t](n,i)}class U$ extends Gt{constructor(n,t){super()}schedule(n,t=0){return this}}const Ou={setInterval(e,n,...t){const{delegate:i}=Ou;return i?.setInterval?i.setInterval(e,n,...t):setInterval(e,n,...t)},clearInterval(e){const{delegate:n}=Ou;return(n?.clearInterval||clearInterval)(e)},delegate:void 0},SN={now:()=>(SN.delegate||Date).now(),delegate:void 0};class Oa{constructor(n,t=Oa.now){this.schedulerActionCtor=n,this.now=t}schedule(n,t=0,i){return new this.schedulerActionCtor(this,n).schedule(i,t)}}Oa.now=SN.now;const ON=new class z$ extends Oa{constructor(n,t=Oa.now){super(n,t),this.actions=[],this._active=!1}flush(n){const{actions:t}=this;if(this._active)return void t.push(n);let i;this._active=!0;do{if(i=n.execute(n.state,n.delay))break}while(n=t.shift());if(this._active=!1,i){for(;n=t.shift();)n.unsubscribe();throw i}}}(class W$ extends U${constructor(n,t){super(n,t),this.scheduler=n,this.work=t,this.pending=!1}schedule(n,t=0){var i;if(this.closed)return this;this.state=n;const r=this.id,o=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(o,r,t)),this.pending=!0,this.delay=t,this.id=null!==(i=this.id)&&void 0!==i?i:this.requestAsyncId(o,this.id,t),this}requestAsyncId(n,t,i=0){return Ou.setInterval(n.flush.bind(n,this),i)}recycleAsyncId(n,t,i=0){if(null!=i&&this.delay===i&&!1===this.pending)return t;null!=t&&Ou.clearInterval(t)}execute(n,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(n,t);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,t){let r,i=!1;try{this.work(n)}catch(o){i=!0,r=o||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),r}unsubscribe(){if(!this.closed){const{id:n,scheduler:t}=this,{actions:i}=t;this.work=this.state=this.scheduler=null,this.pending=!1,Ya(i,this),null!=n&&(this.id=this.recycleAsyncId(t,n,null)),this.delay=null,super.unsubscribe()}}}),q$=ON;function AN(e=0,n,t=q$){let i=-1;return null!=n&&(yw(n)?t=n:i=n),new Ze(r=>{let o=function Y$(e){return e instanceof Date&&!isNaN(e)}(e)?+e-t.now():e;o<0&&(o=0);let s=0;return t.schedule(function(){r.closed||(r.next(s++),0<=i?this.schedule(void 0,i):r.complete())},o)})}const{isArray:K$}=Array;function RN(e){return 1===e.length&&K$(e[0])?e[0]:e}function xN(...e){return 1===(e=RN(e)).length?At(e[0]):new Ze(function Z$(e){return n=>{let t=[];for(let i=0;t&&!n.closed&&i{if(t){for(let o=0;o{let r=t.map(()=>[]),o=t.map(()=>!1);i.add(()=>{r=o=null});for(let s=0;!i.closed&&s{if(r[s].push(a),r.every(l=>l.length)){const l=r.map(c=>c.shift());i.next(n?n(...l):l),r.some((c,u)=>!c.length&&o[u])&&i.complete()}},()=>{o[s]=!0,!r[s].length&&i.complete()}));return()=>{r=o=null}}):Sa}function Au(...e){return function J$(){return function PN(e=1/0){return Su(es,e)}(1)}()(pu(e,gu(e)))}function Jn(e,n){return Ut((t,i)=>{let r=0;t.subscribe(at(i,o=>e.call(n,o,r++)&&i.next(o)))})}function Xn(e){return e<=0?()=>Sa:Ut((n,t)=>{let i=0;n.subscribe(at(t,r=>{++i<=e&&(t.next(r),e<=i&&t.complete())}))})}function kN(e,n,t){const i=pe(e)||n||t?{next:e,error:n,complete:t}:e;return i?Ut((r,o)=>{var s;null===(s=i.subscribe)||void 0===s||s.call(i);let a=!0;r.subscribe(at(o,l=>{var c;null===(c=i.next)||void 0===c||c.call(i,l),o.next(l)},()=>{var l;a=!1,null===(l=i.complete)||void 0===l||l.call(i),o.complete()},l=>{var c;a=!1,null===(c=i.error)||void 0===c||c.call(i,l),o.error(l)},()=>{var l,c;a&&(null===(l=i.unsubscribe)||void 0===l||l.call(i)),null===(c=i.finalize)||void 0===c||c.call(i)}))}):es}function tm(...e){const n=Mg(e);return Ut((t,i)=>{const r=e.length,o=new Array(r);let s=e.map(()=>!1),a=!1;for(let l=0;l{o[l]=c,!a&&!s[l]&&(s[l]=!0,(a=s.every(es))&&(s=null))},Xo));t.subscribe(at(i,l=>{if(a){const c=[l,...o];i.next(n?n(...c):c)}}))})}function FN(e,n){return n?t=>Au(n.pipe(Xn(1),function eG(){return Ut((e,n)=>{e.subscribe(at(n,Xo))})}()),t.pipe(FN(e))):Su((t,i)=>At(e(t,i)).pipe(Xn(1),function tG(e){return Pn(()=>e)}(t)))}var lG={left:"right",right:"left",bottom:"top",top:"bottom"};function Ru(e){return e.replace(/left|right|bottom|top/g,function(n){return lG[n]})}function ei(e){return e.split("-")[0]}var cG={start:"end",end:"start"};function LN(e){return e.replace(/start|end/g,function(n){return cG[n]})}var Xt="top",Sn="bottom",On="right",en="left",nm="auto",Aa=[Xt,Sn,On,en],$o="start",Ra="end",BN="viewport",xa="popper",VN=Aa.reduce(function(e,n){return e.concat([n+"-"+$o,n+"-"+Ra])},[]),HN=[].concat(Aa,[nm]).reduce(function(e,n){return e.concat([n,n+"-"+$o,n+"-"+Ra])},[]),DG=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function tn(e){if(null==e)return window;if("[object Window]"!==e.toString()){var n=e.ownerDocument;return n&&n.defaultView||window}return e}function mr(e){return e instanceof tn(e).Element||e instanceof Element}function hn(e){return e instanceof tn(e).HTMLElement||e instanceof HTMLElement}function im(e){return!(typeof ShadowRoot>"u")&&(e instanceof tn(e).ShadowRoot||e instanceof ShadowRoot)}function Li(e){return((mr(e)?e.ownerDocument:e.document)||window.document).documentElement}var _r=Math.max,xu=Math.min,Go=Math.round;function rm(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(n){return n.brand+"/"+n.version}).join(" "):navigator.userAgent}function jN(){return!/^((?!chrome|android).)*safari/i.test(rm())}function Uo(e,n,t){void 0===n&&(n=!1),void 0===t&&(t=!1);var i=e.getBoundingClientRect(),r=1,o=1;n&&hn(e)&&(r=e.offsetWidth>0&&Go(i.width)/e.offsetWidth||1,o=e.offsetHeight>0&&Go(i.height)/e.offsetHeight||1);var a=(mr(e)?tn(e):window).visualViewport,l=!jN()&&t,c=(i.left+(l&&a?a.offsetLeft:0))/r,u=(i.top+(l&&a?a.offsetTop:0))/o,d=i.width/r,h=i.height/o;return{width:d,height:h,top:u,right:c+d,bottom:u+h,left:c,x:c,y:u}}function om(e){var n=tn(e);return{scrollLeft:n.pageXOffset,scrollTop:n.pageYOffset}}function sm(e){return Uo(Li(e)).left+om(e).scrollLeft}function vi(e){return tn(e).getComputedStyle(e)}function ti(e){return e?(e.nodeName||"").toLowerCase():null}function Pu(e){return"html"===ti(e)?e:e.assignedSlot||e.parentNode||(im(e)?e.host:null)||Li(e)}function am(e){var n=vi(e);return/auto|scroll|overlay|hidden/.test(n.overflow+n.overflowY+n.overflowX)}function $N(e){return["html","body","#document"].indexOf(ti(e))>=0?e.ownerDocument.body:hn(e)&&am(e)?e:$N(Pu(e))}function Pa(e,n){var t;void 0===n&&(n=[]);var i=$N(e),r=i===(null==(t=e.ownerDocument)?void 0:t.body),o=tn(i),s=r?[o].concat(o.visualViewport||[],am(i)?i:[]):i,a=n.concat(s);return r?a:a.concat(Pa(Pu(s)))}function wG(e){return["table","td","th"].indexOf(ti(e))>=0}function GN(e){return hn(e)&&"fixed"!==vi(e).position?e.offsetParent:null}function ka(e){for(var n=tn(e),t=GN(e);t&&wG(t)&&"static"===vi(t).position;)t=GN(t);return t&&("html"===ti(t)||"body"===ti(t)&&"static"===vi(t).position)?n:t||function NG(e){var n=/firefox/i.test(rm());if(/Trident/i.test(rm())&&hn(e)&&"fixed"===vi(e).position)return null;var r=Pu(e);for(im(r)&&(r=r.host);hn(r)&&["html","body"].indexOf(ti(r))<0;){var o=vi(r);if("none"!==o.transform||"none"!==o.perspective||"paint"===o.contain||-1!==["transform","perspective"].indexOf(o.willChange)||n&&"filter"===o.willChange||n&&o.filter&&"none"!==o.filter)return r;r=r.parentNode}return null}(e)||n}function UN(e,n){var t=n.getRootNode&&n.getRootNode();if(e.contains(n))return!0;if(t&&im(t)){var i=n;do{if(i&&e.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function lm(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function WN(e,n,t){return n===BN?lm(function EG(e,n){var t=tn(e),i=Li(e),r=t.visualViewport,o=i.clientWidth,s=i.clientHeight,a=0,l=0;if(r){o=r.width,s=r.height;var c=jN();(c||!c&&"fixed"===n)&&(a=r.offsetLeft,l=r.offsetTop)}return{width:o,height:s,x:a+sm(e),y:l}}(e,t)):mr(n)?function TG(e,n){var t=Uo(e,!1,"fixed"===n);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(n,t):lm(function CG(e){var n,t=Li(e),i=om(e),r=null==(n=e.ownerDocument)?void 0:n.body,o=_r(t.scrollWidth,t.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),s=_r(t.scrollHeight,t.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),a=-i.scrollLeft+sm(e),l=-i.scrollTop;return"rtl"===vi(r||t).direction&&(a+=_r(t.clientWidth,r?r.clientWidth:0)-o),{width:o,height:s,x:a,y:l}}(Li(e)))}function Wo(e){return e.split("-")[1]}function cm(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function zN(e){var l,n=e.reference,t=e.element,i=e.placement,r=i?ei(i):null,o=i?Wo(i):null,s=n.x+n.width/2-t.width/2,a=n.y+n.height/2-t.height/2;switch(r){case Xt:l={x:s,y:n.y-t.height};break;case Sn:l={x:s,y:n.y+n.height};break;case On:l={x:n.x+n.width,y:a};break;case en:l={x:n.x-t.width,y:a};break;default:l={x:n.x,y:n.y}}var c=r?cm(r):null;if(null!=c){var u="y"===c?"height":"width";switch(o){case $o:l[c]=l[c]-(n[u]/2-t[u]/2);break;case Ra:l[c]=l[c]+(n[u]/2-t[u]/2)}}return l}function YN(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function KN(e,n){return n.reduce(function(t,i){return t[i]=e,t},{})}function um(e,n){void 0===n&&(n={});var i=n.placement,r=void 0===i?e.placement:i,o=n.strategy,s=void 0===o?e.strategy:o,a=n.boundary,l=void 0===a?"clippingParents":a,c=n.rootBoundary,u=void 0===c?BN:c,d=n.elementContext,h=void 0===d?xa:d,f=n.altBoundary,p=void 0!==f&&f,g=n.padding,v=void 0===g?0:g,y=YN("number"!=typeof v?v:KN(v,Aa)),w=e.rects.popper,N=e.elements[p?h===xa?"reference":xa:h],O=function IG(e,n,t,i){var r="clippingParents"===n?function MG(e){var n=Pa(Pu(e)),i=["absolute","fixed"].indexOf(vi(e).position)>=0&&hn(e)?ka(e):e;return mr(i)?n.filter(function(r){return mr(r)&&UN(r,i)&&"body"!==ti(r)}):[]}(e):[].concat(n),o=[].concat(r,[t]),a=o.reduce(function(l,c){var u=WN(e,c,i);return l.top=_r(u.top,l.top),l.right=xu(u.right,l.right),l.bottom=xu(u.bottom,l.bottom),l.left=_r(u.left,l.left),l},WN(e,o[0],i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}(mr(N)?N:N.contextElement||Li(e.elements.popper),l,u,s),L=Uo(e.elements.reference),K=zN({reference:L,element:w,strategy:"absolute",placement:r}),ie=lm(Object.assign({},w,K)),He=h===xa?ie:L,je={top:O.top-He.top+y.top,bottom:He.bottom-O.bottom+y.bottom,left:O.left-He.left+y.left,right:He.right-O.right+y.right},bt=e.modifiersData.offset;if(h===xa&&bt){var Rn=bt[r];Object.keys(je).forEach(function(xt){var wr=[On,Sn].indexOf(xt)>=0?1:-1,Nr=[Xt,Sn].indexOf(xt)>=0?"y":"x";je[xt]+=Rn[Nr]*wr})}return je}const RG={name:"flip",enabled:!0,phase:"main",fn:function AG(e){var n=e.state,t=e.options,i=e.name;if(!n.modifiersData[i]._skip){for(var r=t.mainAxis,o=void 0===r||r,s=t.altAxis,a=void 0===s||s,l=t.fallbackPlacements,c=t.padding,u=t.boundary,d=t.rootBoundary,h=t.altBoundary,f=t.flipVariations,p=void 0===f||f,g=t.allowedAutoPlacements,v=n.options.placement,y=ei(v),w=l||(y!==v&&p?function OG(e){if(ei(e)===nm)return[];var n=Ru(e);return[LN(e),n,LN(n)]}(v):[Ru(v)]),N=[v].concat(w).reduce(function(Zo,Bi){return Zo.concat(ei(Bi)===nm?function SG(e,n){void 0===n&&(n={});var r=n.boundary,o=n.rootBoundary,s=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?HN:l,u=Wo(n.placement),d=u?a?VN:VN.filter(function(p){return Wo(p)===u}):Aa,h=d.filter(function(p){return c.indexOf(p)>=0});0===h.length&&(h=d);var f=h.reduce(function(p,g){return p[g]=um(e,{placement:g,boundary:r,rootBoundary:o,padding:s})[ei(g)],p},{});return Object.keys(f).sort(function(p,g){return f[p]-f[g]})}(n,{placement:Bi,boundary:u,rootBoundary:d,padding:c,flipVariations:p,allowedAutoPlacements:g}):Bi)},[]),O=n.rects.reference,L=n.rects.popper,K=new Map,ie=!0,He=N[0],je=0;je=0,Nr=wr?"width":"height",nn=um(n,{placement:bt,boundary:u,rootBoundary:d,altBoundary:h,padding:c}),xn=wr?xt?On:en:xt?Sn:Xt;O[Nr]>L[Nr]&&(xn=Ru(xn));var Zu=Ru(xn),Tr=[];if(o&&Tr.push(nn[Rn]<=0),a&&Tr.push(nn[xn]<=0,nn[Zu]<=0),Tr.every(function(Zo){return Zo})){He=bt,ie=!1;break}K.set(bt,Tr)}if(ie)for(var Sm=function(Bi){var ja=N.find(function(Xu){var Mr=K.get(Xu);if(Mr)return Mr.slice(0,Bi).every(function(Om){return Om})});if(ja)return He=ja,"break"},Ha=p?3:1;Ha>0&&"break"!==Sm(Ha);Ha--);n.placement!==He&&(n.modifiersData[i]._skip=!0,n.placement=He,n.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Fa(e,n,t){return _r(e,xu(n,t))}function dm(e){var n=Uo(e),t=e.offsetWidth,i=e.offsetHeight;return Math.abs(n.width-t)<=1&&(t=n.width),Math.abs(n.height-i)<=1&&(i=n.height),{x:e.offsetLeft,y:e.offsetTop,width:t,height:i}}const FG={name:"preventOverflow",enabled:!0,phase:"main",fn:function kG(e){var n=e.state,t=e.options,i=e.name,r=t.mainAxis,o=void 0===r||r,s=t.altAxis,a=void 0!==s&&s,h=t.tether,f=void 0===h||h,p=t.tetherOffset,g=void 0===p?0:p,v=um(n,{boundary:t.boundary,rootBoundary:t.rootBoundary,padding:t.padding,altBoundary:t.altBoundary}),y=ei(n.placement),m=Wo(n.placement),w=!m,N=cm(y),O=function xG(e){return"x"===e?"y":"x"}(N),L=n.modifiersData.popperOffsets,K=n.rects.reference,ie=n.rects.popper,He="function"==typeof g?g(Object.assign({},n.rects,{placement:n.placement})):g,je="number"==typeof He?{mainAxis:He,altAxis:He}:Object.assign({mainAxis:0,altAxis:0},He),bt=n.modifiersData.offset?n.modifiersData.offset[n.placement]:null,Rn={x:0,y:0};if(L){if(o){var xt,wr="y"===N?Xt:en,Nr="y"===N?Sn:On,nn="y"===N?"height":"width",xn=L[N],Zu=xn+v[wr],Tr=xn-v[Nr],Qu=f?-ie[nn]/2:0,Sm=m===$o?K[nn]:ie[nn],Ha=m===$o?-ie[nn]:-K[nn],Ju=n.elements.arrow,Zo=f&&Ju?dm(Ju):{width:0,height:0},Bi=n.modifiersData["arrow#persistent"]?n.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},ja=Bi[wr],Xu=Bi[Nr],Mr=Fa(0,K[nn],Zo[nn]),Om=w?K[nn]/2-Qu-Mr-ja-je.mainAxis:Sm-Mr-ja-je.mainAxis,I5=w?-K[nn]/2+Qu+Mr+Xu+je.mainAxis:Ha+Mr+Xu+je.mainAxis,Am=n.elements.arrow&&ka(n.elements.arrow),S5=Am?"y"===N?Am.clientTop||0:Am.clientLeft||0:0,dM=null!=(xt=bt?.[N])?xt:0,A5=xn+I5-dM,fM=Fa(f?xu(Zu,xn+Om-dM-S5):Zu,xn,f?_r(Tr,A5):Tr);L[N]=fM,Rn[N]=fM-xn}if(a){var hM,Ir=L[O],ed="y"===O?"height":"width",pM=Ir+v["x"===N?Xt:en],gM=Ir-v["x"===N?Sn:On],Rm=-1!==[Xt,en].indexOf(y),mM=null!=(hM=bt?.[O])?hM:0,_M=Rm?pM:Ir-K[ed]-ie[ed]-mM+je.altAxis,vM=Rm?Ir+K[ed]+ie[ed]-mM-je.altAxis:gM,yM=f&&Rm?function PG(e,n,t){var i=Fa(e,n,t);return i>t?t:i}(_M,Ir,vM):Fa(f?_M:pM,Ir,f?vM:gM);L[O]=yM,Rn[O]=yM-Ir}n.modifiersData[i]=Rn}},requiresIfExists:["offset"]},HG={name:"arrow",enabled:!0,phase:"main",fn:function BG(e){var n,t=e.state,i=e.name,r=e.options,o=t.elements.arrow,s=t.modifiersData.popperOffsets,a=ei(t.placement),l=cm(a),u=[en,On].indexOf(a)>=0?"height":"width";if(o&&s){var d=function(n,t){return YN("number"!=typeof(n="function"==typeof n?n(Object.assign({},t.rects,{placement:t.placement})):n)?n:KN(n,Aa))}(r.padding,t),h=dm(o),f="y"===l?Xt:en,p="y"===l?Sn:On,g=t.rects.reference[u]+t.rects.reference[l]-s[l]-t.rects.popper[u],v=s[l]-t.rects.reference[l],y=ka(o),m=y?"y"===l?y.clientHeight||0:y.clientWidth||0:0,L=m/2-h[u]/2+(g/2-v/2),K=Fa(d[f],L,m-h[u]-d[p]);t.modifiersData[i]=((n={})[l]=K,n.centerOffset=K-L,n)}},effect:function VG(e){var n=e.state,i=e.options.element,r=void 0===i?"[data-popper-arrow]":i;null!=r&&("string"==typeof r&&!(r=n.elements.popper.querySelector(r))||UN(n.elements.popper,r)&&(n.elements.arrow=r))},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function UG(e,n,t){void 0===t&&(t=!1);var i=hn(n),r=hn(n)&&function GG(e){var n=e.getBoundingClientRect(),t=Go(n.width)/e.offsetWidth||1,i=Go(n.height)/e.offsetHeight||1;return 1!==t||1!==i}(n),o=Li(n),s=Uo(e,r,t),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(i||!i&&!t)&&(("body"!==ti(n)||am(o))&&(a=function $G(e){return e!==tn(e)&&hn(e)?function jG(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}(e):om(e)}(n)),hn(n)?((l=Uo(n,!0)).x+=n.clientLeft,l.y+=n.clientTop):o&&(l.x=sm(o))),{x:s.left+a.scrollLeft-l.x,y:s.top+a.scrollTop-l.y,width:s.width,height:s.height}}function WG(e){var n=new Map,t=new Set,i=[];function r(o){t.add(o.name),[].concat(o.requires||[],o.requiresIfExists||[]).forEach(function(a){if(!t.has(a)){var l=n.get(a);l&&r(l)}}),i.push(o)}return e.forEach(function(o){n.set(o.name,o)}),e.forEach(function(o){t.has(o.name)||r(o)}),i}function qG(e){var n;return function(){return n||(n=new Promise(function(t){Promise.resolve().then(function(){n=void 0,t(e())})})),n}}var ZN={placement:"bottom",modifiers:[],strategy:"absolute"};function QN(){for(var e=arguments.length,n=new Array(e),t=0;t=0?-1:1,o="function"==typeof t?t(Object.assign({},n,{placement:e})):t,s=o[0],a=o[1];return s=s||0,a=(a||0)*r,[en,On].indexOf(i)>=0?{x:a,y:s}:{x:s,y:a}}(d,n.rects,o),u},{}),a=s[n.placement],c=a.y;null!=n.modifiersData.popperOffsets&&(n.modifiersData.popperOffsets.x+=a.x,n.modifiersData.popperOffsets.y+=c),n.modifiersData[i]=s}},dU=["*"],jU=["dialog"],eT={animation:!0,transitionTimerDelayMs:5};let Fu=(()=>{class e{constructor(){this.animation=eT.animation}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function zo(e){return"string"==typeof e}function vr(e){return null!=e}function qo(e){return(e||document.body).getBoundingClientRect()}function iT(e=document){const n=e?.activeElement;return n?n.shadowRoot?iT(n.shadowRoot):n:null}const P8=()=>{},{transitionTimerDelayMs:k8}=eT,La=new Map,pn=(e,n,t,i)=>{let r=i.context||{};const o=La.get(n);if(o)switch(i.runningTransition){case"continue":return Sa;case"stop":e.run(()=>o.transition$.complete()),r=Object.assign(o.context,r),La.delete(n)}const s=t(n,i.animation,r)||P8;if(!i.animation||"none"===window.getComputedStyle(n).transitionProperty)return e.run(()=>s()),Xg(void 0).pipe(function x8(e){return n=>new Ze(t=>n.subscribe({next:s=>e.run(()=>t.next(s)),error:s=>e.run(()=>t.error(s)),complete:()=>e.run(()=>t.complete())}))}(e));const a=new $e,l=new $e,c=a.pipe(function X$(...e){return n=>Au(n,Xg(...e))}(!0));La.set(n,{transition$:a,complete:()=>{l.next(),l.complete()},context:r});const u=function O8(e){const{transitionDelay:n,transitionDuration:t}=window.getComputedStyle(e);return 1e3*(parseFloat(n)+parseFloat(t))}(n);return e.runOutsideAngular(()=>{const d=pt(n,"transitionend").pipe(yt(c),Jn(({target:f})=>f===n));xN(AN(u+k8).pipe(yt(c)),d,l).pipe(yt(c)).subscribe(()=>{La.delete(n),e.run(()=>{s(),a.next(),a.complete()})})}),a.asObservable()};let aT=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=de({type:e});static#n=this.\u0275inj=se({})}return e})(),lT=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=de({type:e});static#n=this.\u0275inj=se({})}return e})(),dT=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=de({type:e});static#n=this.\u0275inj=se({})}return e})(),fT=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=de({type:e});static#n=this.\u0275inj=se({})}return e})();const $u=(e,n)=>!!n&&n.some(t=>t.contains(e)),_T=(e,n)=>!n||null!=function R8(e,n){return!n||typeof e.closest>"u"?null:e.closest(n)}(e,n),lW=typeof navigator<"u"&&!!navigator.userAgent&&(/iPad|iPhone|iPod/.test(navigator.userAgent)||/Macintosh/.test(navigator.userAgent)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>2||/Android/.test(navigator.userAgent));function vT(e,n,t,i,r,o,s,a){t&&e.runOutsideAngular((e=>lW?()=>setTimeout(()=>e(),100):e)(()=>{const c=pt(n,"keydown").pipe(yt(r),Jn(h=>"Escape"===h.key),kN(h=>h.preventDefault())),u=pt(n,"mousedown").pipe(Pn(h=>{const f=h.target;return 2!==h.button&&!$u(f,s)&&("inside"===t?$u(f,o)&&_T(f,a):"outside"===t?!$u(f,o):_T(f,a)||!$u(f,o))}),yt(r)),d=pt(n,"mouseup").pipe(tm(u),Jn(([h,f])=>f),function nG(e,n=ON){const t=AN(e,n);return FN(()=>t)}(0),yt(r));xN([c.pipe(Pn(h=>0)),d.pipe(Pn(h=>1))]).subscribe(h=>e.run(()=>i(h)))}))}const yT=["a[href]","button:not([disabled])",'input:not([disabled]):not([type="hidden"])',"select:not([disabled])","textarea:not([disabled])","[contenteditable]",'[tabindex]:not([tabindex="-1"])'].join(", ");function bT(e){const n=Array.from(e.querySelectorAll(yT)).filter(t=>-1!==t.tabIndex);return[n[0],n[n.length-1]]}let uW=(()=>{class e{constructor(){this._element=_(St).documentElement}isRTL(){return"rtl"===(this._element.getAttribute("dir")||"").toLowerCase()}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const dW=/\s+/,fW=/ +/gi,hW={top:["top"],bottom:["bottom"],start:["left","right"],left:["left"],end:["right","left"],right:["right"],"top-start":["top-start","top-end"],"top-left":["top-start"],"top-end":["top-end","top-start"],"top-right":["top-end"],"bottom-start":["bottom-start","bottom-end"],"bottom-left":["bottom-start"],"bottom-end":["bottom-end","bottom-start"],"bottom-right":["bottom-end"],"start-top":["left-start","right-start"],"left-top":["left-start"],"start-bottom":["left-end","right-end"],"left-bottom":["left-end"],"end-top":["right-start","left-start"],"right-top":["right-start"],"end-bottom":["right-end","left-end"],"right-bottom":["right-end"]},gW=/^left/,mW=/^right/,_W=/^start/,vW=/^end/;function ET({placement:e,baseClass:n},t){let i=Array.isArray(e)?e:e.split(dW),o=i.findIndex(c=>"auto"===c);o>=0&&["top","bottom","start","end","top-start","top-end","bottom-start","bottom-end","start-top","start-bottom","end-top","end-bottom"].forEach(function(c){null==i.find(u=>-1!==u.search("^"+c))&&i.splice(o++,1,c)});const s=i.map(c=>function pW(e,n){const[t,i]=hW[e];return n&&i||t}(c,t.isRTL()));return{placement:s.shift(),modifiers:[{name:"bootstrapClasses",enabled:!!n,phase:"write",fn({state:c}){const u=new RegExp(n+"(-[a-z]+)*","gi"),d=c.elements.popper,h=c.placement;let f=d.className;f=f.replace(u,""),f+=` ${function yW(e,n){let[t,i]=n.split("-");const r=t.replace(gW,"start").replace(mW,"end");let o=[r];if(i){let s=i;("left"===t||"right"===t)&&(s=s.replace(_W,"top").replace(vW,"bottom")),o.push(`${r}-${s}`)}return e&&(o=o.map(s=>`${e}-${s}`)),o.join(" ")}(n,h)}`,f=f.trim().replace(fW," "),d.className=f}},RG,FG,HG,{enabled:!0,name:"flip",options:{fallbackPlacements:s}},{enabled:!0,name:"preventOverflow",phase:"main",fn:function(){}}]}}function CT(e){return e}new Date(1882,10,12),new Date(2174,10,25);let FT=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=de({type:e});static#n=this.\u0275inj=se({})}return e})(),kW=(()=>{class e{constructor(){this.autoClose=!0,this.placement=["bottom-start","bottom-end","top-start","top-end"],this.popperOptions=t=>t,this.container=null}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),wm=(()=>{class e{constructor(){this._disabled=!1,this.nativeElement=_(me).nativeElement,this.tabindex=0}set disabled(t){this._disabled=""===t||!0===t}get disabled(){return this._disabled}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275dir=S({type:e,selectors:[["","ngbDropdownItem",""]],hostAttrs:[1,"dropdown-item"],hostVars:3,hostBindings:function(i,r){2&i&&(cn("tabIndex",r.disabled?-1:r.tabindex),Ne("disabled",r.disabled))},inputs:{tabindex:"tabindex",disabled:"disabled"},standalone:!0})}return e})(),Nm=(()=>{class e{constructor(){this.dropdown=_(qu),this.nativeElement=_(me).nativeElement}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275dir=S({type:e,selectors:[["","ngbDropdownMenu",""]],contentQueries:function(i,r,o){if(1&i&&st(o,wm,4),2&i){let s;Me(s=Ie())&&(r.menuItems=s)}},hostAttrs:[1,"dropdown-menu"],hostVars:2,hostBindings:function(i,r){1&i&&U("keydown.ArrowUp",function(s){return r.dropdown.onKeyDown(s)})("keydown.ArrowDown",function(s){return r.dropdown.onKeyDown(s)})("keydown.Home",function(s){return r.dropdown.onKeyDown(s)})("keydown.End",function(s){return r.dropdown.onKeyDown(s)})("keydown.Enter",function(s){return r.dropdown.onKeyDown(s)})("keydown.Space",function(s){return r.dropdown.onKeyDown(s)})("keydown.Tab",function(s){return r.dropdown.onKeyDown(s)})("keydown.Shift.Tab",function(s){return r.dropdown.onKeyDown(s)}),2&i&&Ne("show",r.dropdown.isOpen())},standalone:!0})}return e})(),zu=(()=>{class e{constructor(){this.dropdown=_(qu),this.nativeElement=_(me).nativeElement}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275dir=S({type:e,selectors:[["","ngbDropdownAnchor",""]],hostAttrs:[1,"dropdown-toggle"],hostVars:3,hostBindings:function(i,r){2&i&&(we("aria-expanded",r.dropdown.isOpen()),Ne("show",r.dropdown.isOpen()))},standalone:!0})}return e})(),LT=(()=>{class e extends zu{static#e=this.\u0275fac=(()=>{let t;return function(r){return(t||(t=Re(e)))(r||e)}})();static#t=this.\u0275dir=S({type:e,selectors:[["","ngbDropdownToggle",""]],hostAttrs:[1,"dropdown-toggle"],hostVars:3,hostBindings:function(i,r){1&i&&U("click",function(){return r.dropdown.toggle()})("keydown.ArrowUp",function(s){return r.dropdown.onKeyDown(s)})("keydown.ArrowDown",function(s){return r.dropdown.onKeyDown(s)})("keydown.Home",function(s){return r.dropdown.onKeyDown(s)})("keydown.End",function(s){return r.dropdown.onKeyDown(s)})("keydown.Tab",function(s){return r.dropdown.onKeyDown(s)})("keydown.Shift.Tab",function(s){return r.dropdown.onKeyDown(s)}),2&i&&(we("aria-expanded",r.dropdown.isOpen()),Ne("show",r.dropdown.isOpen()))},standalone:!0,features:[_e([{provide:zu,useExisting:ue(()=>e)}]),re]})}return e})(),qu=(()=>{class e{constructor(){this._changeDetector=_(pi),this._config=_(kW),this._document=_(St),this._ngZone=_(Q),this._nativeElement=_(me).nativeElement,this._destroyCloseHandlers$=new $e,this._bodyContainer=null,this._positioning=function wT(){const e=_(uW);let n=null;return{createPopper(t){if(!n){let r=(t.updatePopperOptions||CT)(ET(t,e));n=aU(t.hostElement,t.targetElement,r)}},update(){n&&n.update()},setOptions(t){if(n){let r=(t.updatePopperOptions||CT)(ET(t,e));n.setOptions(r)}},destroy(){n&&(n.destroy(),n=null)}}}(),this.autoClose=this._config.autoClose,this._open=!1,this.placement=this._config.placement,this.popperOptions=this._config.popperOptions,this.container=this._config.container,this.openChange=new H}ngOnInit(){this.display||(this.display=this._nativeElement.closest(".navbar")?"static":"dynamic")}ngAfterContentInit(){this._ngZone.onStable.pipe(Xn(1)).subscribe(()=>{this._applyPlacementClasses(),this._open&&this._setCloseHandlers()})}ngOnChanges(t){if(t.container&&this._open&&this._applyContainer(this.container),t.placement&&!t.placement.firstChange&&(this._positioning.setOptions({hostElement:this._anchor.nativeElement,targetElement:this._bodyContainer||this._menu.nativeElement,placement:this.placement}),this._applyPlacementClasses()),t.dropdownClass){const{currentValue:i,previousValue:r}=t.dropdownClass;this._applyCustomDropdownClass(i,r)}t.autoClose&&this._open&&(this.autoClose=t.autoClose.currentValue,this._setCloseHandlers())}isOpen(){return this._open}open(){this._open||(this._open=!0,this._applyContainer(this.container),this.openChange.emit(!0),this._setCloseHandlers(),this._anchor&&(this._anchor.nativeElement.focus(),"dynamic"===this.display&&this._ngZone.runOutsideAngular(()=>{this._positioning.createPopper({hostElement:this._anchor.nativeElement,targetElement:this._bodyContainer||this._menu.nativeElement,placement:this.placement,updatePopperOptions:t=>this.popperOptions(function MT(e){return n=>(n.modifiers.push(uU,{name:"offset",options:{offset:()=>e}}),n)}([0,2])(t))}),this._applyPlacementClasses(),this._zoneSubscription=this._ngZone.onStable.subscribe(()=>this._positionMenu())})))}_setCloseHandlers(){this._destroyCloseHandlers$.next(),vT(this._ngZone,this._document,this.autoClose,t=>{this.close(),0===t&&this._anchor.nativeElement.focus()},this._destroyCloseHandlers$,this._menu?[this._menu.nativeElement]:[],this._anchor?[this._anchor.nativeElement]:[],".dropdown-item,.dropdown-divider")}close(){this._open&&(this._open=!1,this._resetContainer(),this._positioning.destroy(),this._zoneSubscription?.unsubscribe(),this._destroyCloseHandlers$.next(),this.openChange.emit(!1),this._changeDetector.markForCheck())}toggle(){this.isOpen()?this.close():this.open()}ngOnDestroy(){this.close()}onKeyDown(t){const{key:i}=t,r=this._getMenuElements();let o=-1,s=null;const a=this._isEventFromToggle(t);if(!a&&r.length&&r.forEach((l,c)=>{l.contains(t.target)&&(s=l),l===iT(this._document)&&(o=c)})," "!==i&&"Enter"!==i){if("Tab"!==i){if(a||s){if(this.open(),r.length){switch(i){case"ArrowDown":o=Math.min(o+1,r.length-1);break;case"ArrowUp":if(this._isDropup()&&-1===o){o=r.length-1;break}o=Math.max(o-1,0);break;case"Home":o=0;break;case"End":o=r.length-1}r[o].focus()}t.preventDefault()}}else if(t.target&&this.isOpen()&&this.autoClose){if(this._anchor.nativeElement===t.target)return void("body"!==this.container||t.shiftKey?t.shiftKey&&this.close():(this._menu.nativeElement.setAttribute("tabindex","0"),this._menu.nativeElement.focus(),this._menu.nativeElement.removeAttribute("tabindex")));if("body"===this.container){const l=this._menu.nativeElement.querySelectorAll(yT);t.shiftKey&&t.target===l[0]?(this._anchor.nativeElement.focus(),t.preventDefault()):!t.shiftKey&&t.target===l[l.length-1]&&(this._anchor.nativeElement.focus(),this.close())}else pt(t.target,"focusout").pipe(Xn(1)).subscribe(({relatedTarget:l})=>{this._nativeElement.contains(l)||this.close()})}}else s&&(!0===this.autoClose||"inside"===this.autoClose)&&pt(s,"click").pipe(Xn(1)).subscribe(()=>this.close())}_isDropup(){return this._nativeElement.classList.contains("dropup")}_isEventFromToggle(t){return this._anchor.nativeElement.contains(t.target)}_getMenuElements(){return this._menu?this._menu.menuItems.filter(({disabled:t})=>!t).map(({nativeElement:t})=>t):[]}_positionMenu(){const t=this._menu;this.isOpen()&&t&&("dynamic"===this.display?(this._positioning.update(),this._applyPlacementClasses()):this._applyPlacementClasses(this._getFirstPlacement(this.placement)))}_getFirstPlacement(t){return Array.isArray(t)?t[0]:t.split(" ")[0]}_resetContainer(){this._menu&&this._nativeElement.appendChild(this._menu.nativeElement),this._bodyContainer&&(this._document.body.removeChild(this._bodyContainer),this._bodyContainer=null)}_applyContainer(t=null){if(this._resetContainer(),"body"===t){const i=this._menu.nativeElement,r=this._bodyContainer=this._bodyContainer||this._document.createElement("div");r.style.position="absolute",i.style.position="static",r.style.zIndex="1055",r.appendChild(i),this._document.body.appendChild(r)}this._applyCustomDropdownClass(this.dropdownClass)}_applyCustomDropdownClass(t,i){const r="body"===this.container?this._bodyContainer:this._nativeElement;r&&(i&&r.classList.remove(i),t&&r.classList.add(t))}_applyPlacementClasses(t){if(this._menu){t||(t=this._getFirstPlacement(this.placement)),this._nativeElement.classList.remove("dropup","dropdown"),"static"===this.display?this._menu.nativeElement.setAttribute("data-bs-popper","static"):this._menu.nativeElement.removeAttribute("data-bs-popper");const i=-1!==t.search("^top")?"dropup":"dropdown";this._nativeElement.classList.add(i),this._bodyContainer&&(this._bodyContainer.classList.remove("dropup","dropdown"),this._bodyContainer.classList.add(i))}}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275dir=S({type:e,selectors:[["","ngbDropdown",""]],contentQueries:function(i,r,o){if(1&i&&(st(o,Nm,5),st(o,zu,5)),2&i){let s;Me(s=Ie())&&(r._menu=s.first),Me(s=Ie())&&(r._anchor=s.first)}},hostVars:2,hostBindings:function(i,r){2&i&&Ne("show",r.isOpen())},inputs:{autoClose:"autoClose",dropdownClass:"dropdownClass",_open:[0,"open","_open"],placement:"placement",popperOptions:"popperOptions",container:"container",display:"display"},outputs:{openChange:"openChange"},exportAs:["ngbDropdown"],standalone:!0,features:[Ft]})}return e})(),BT=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=de({type:e});static#n=this.\u0275inj=se({})}return e})(),LW=(()=>{class e{constructor(){this._ngbConfig=_(Fu),this.backdrop=!0,this.fullscreen=!1,this.keyboard=!0}get animation(){return this._animation??this._ngbConfig.animation}set animation(t){this._animation=t}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class Cr{constructor(n,t,i){this.nodes=n,this.viewRef=t,this.componentRef=i}}let BW=(()=>{class e{constructor(){this._document=_(St)}hide(){const t=Math.abs(window.innerWidth-this._document.documentElement.clientWidth),i=this._document.body,r=i.style,{overflow:o,paddingRight:s}=r;if(t>0){const a=parseFloat(window.getComputedStyle(i).paddingRight);r.paddingRight=`${a+t}px`}return r.overflow="hidden",()=>{t>0&&(r.paddingRight=s),r.overflow=o}}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),VW=(()=>{class e{constructor(){this._nativeElement=_(me).nativeElement,this._zone=_(Q)}ngOnInit(){this._zone.onStable.asObservable().pipe(Xn(1)).subscribe(()=>{pn(this._zone,this._nativeElement,(t,i)=>{i&&qo(t),t.classList.add("show")},{animation:this.animation,runningTransition:"continue"})})}hide(){return pn(this._zone,this._nativeElement,({classList:t})=>t.remove("show"),{animation:this.animation,runningTransition:"stop"})}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=lt({type:e,selectors:[["ngb-modal-backdrop"]],hostAttrs:[2,"z-index","1055"],hostVars:6,hostBindings:function(i,r){2&i&&(ea("modal-backdrop"+(r.backdropClass?" "+r.backdropClass:"")),Ne("show",!r.animation)("fade",r.animation))},inputs:{animation:"animation",backdropClass:"backdropClass"},standalone:!0,features:[Yn],decls:0,vars:0,template:function(i,r){},encapsulation:2})}return e})();class VT{update(n){}close(n){}dismiss(n){}}const HW=["animation","ariaLabelledBy","ariaDescribedBy","backdrop","centered","fullscreen","keyboard","scrollable","size","windowClass","modalDialogClass"],jW=["animation","backdropClass"];class $W{_applyWindowOptions(n,t){HW.forEach(i=>{vr(t[i])&&(n[i]=t[i])})}_applyBackdropOptions(n,t){jW.forEach(i=>{vr(t[i])&&(n[i]=t[i])})}update(n){this._applyWindowOptions(this._windowCmptRef.instance,n),this._backdropCmptRef&&this._backdropCmptRef.instance&&this._applyBackdropOptions(this._backdropCmptRef.instance,n)}get componentInstance(){if(this._contentRef&&this._contentRef.componentRef)return this._contentRef.componentRef.instance}get closed(){return this._closed.asObservable().pipe(yt(this._hidden))}get dismissed(){return this._dismissed.asObservable().pipe(yt(this._hidden))}get hidden(){return this._hidden.asObservable()}get shown(){return this._windowCmptRef.instance.shown.asObservable()}constructor(n,t,i,r){this._windowCmptRef=n,this._contentRef=t,this._backdropCmptRef=i,this._beforeDismiss=r,this._closed=new $e,this._dismissed=new $e,this._hidden=new $e,n.instance.dismissEvent.subscribe(o=>{this.dismiss(o)}),this.result=new Promise((o,s)=>{this._resolve=o,this._reject=s}),this.result.then(null,()=>{})}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 t=this._beforeDismiss();!function tT(e){return e&&e.then}(t)?!1!==t&&this._dismiss(n):t.then(i=>{!1!==i&&this._dismiss(n)},()=>{})}else this._dismiss(n)}_removeModalElements(){const n=this._windowCmptRef.instance.hide(),t=this._backdropCmptRef?this._backdropCmptRef.instance.hide():Xg(void 0);n.subscribe(()=>{const{nativeElement:i}=this._windowCmptRef.location;i.parentNode.removeChild(i),this._windowCmptRef.destroy(),this._contentRef?.viewRef?.destroy(),this._windowCmptRef=null,this._contentRef=null}),t.subscribe(()=>{if(this._backdropCmptRef){const{nativeElement:i}=this._backdropCmptRef.location;i.parentNode.removeChild(i),this._backdropCmptRef.destroy(),this._backdropCmptRef=null}}),em(n,t).subscribe(()=>{this._hidden.next(),this._hidden.complete()})}}var Tm=function(e){return e[e.BACKDROP_CLICK=0]="BACKDROP_CLICK",e[e.ESC=1]="ESC",e}(Tm||{});let GW=(()=>{class e{constructor(){this._document=_(St),this._elRef=_(me),this._zone=_(Q),this._closed$=new $e,this._elWithFocus=null,this.backdrop=!0,this.keyboard=!0,this.dismissEvent=new H,this.shown=new $e,this.hidden=new $e}get fullscreenClass(){return!0===this.fullscreen?" modal-fullscreen":zo(this.fullscreen)?` modal-fullscreen-${this.fullscreen}-down`:""}dismiss(t){this.dismissEvent.emit(t)}ngOnInit(){this._elWithFocus=this._document.activeElement,this._zone.onStable.asObservable().pipe(Xn(1)).subscribe(()=>{this._show()})}ngOnDestroy(){this._disableEventHandling()}hide(){const{nativeElement:t}=this._elRef,i={animation:this.animation,runningTransition:"stop"},s=em(pn(this._zone,t,()=>t.classList.remove("show"),i),pn(this._zone,this._dialogEl.nativeElement,()=>{},i));return s.subscribe(()=>{this.hidden.next(),this.hidden.complete()}),this._disableEventHandling(),this._restoreFocus(),s}_show(){const t={animation:this.animation,runningTransition:"continue"};em(pn(this._zone,this._elRef.nativeElement,(o,s)=>{s&&qo(o),o.classList.add("show")},t),pn(this._zone,this._dialogEl.nativeElement,()=>{},t)).subscribe(()=>{this.shown.next(),this.shown.complete()}),this._enableEventHandling(),this._setFocus()}_enableEventHandling(){const{nativeElement:t}=this._elRef;this._zone.runOutsideAngular(()=>{pt(t,"keydown").pipe(yt(this._closed$),Jn(r=>"Escape"===r.key)).subscribe(r=>{this.keyboard?requestAnimationFrame(()=>{r.defaultPrevented||this._zone.run(()=>this.dismiss(Tm.ESC))}):"static"===this.backdrop&&this._bumpBackdrop()});let i=!1;pt(this._dialogEl.nativeElement,"mousedown").pipe(yt(this._closed$),kN(()=>i=!1),function iG(e,n){return Ut((t,i)=>{let r=null,o=0,s=!1;const a=()=>s&&!r&&i.complete();t.subscribe(at(i,l=>{r?.unsubscribe();let c=0;const u=o++;At(e(l,u)).subscribe(r=at(i,d=>i.next(n?n(l,d,u,c++):d),()=>{r=null,a()}))},()=>{s=!0,a()}))})}(()=>pt(t,"mouseup").pipe(yt(this._closed$),Xn(1))),Jn(({target:r})=>t===r)).subscribe(()=>{i=!0}),pt(t,"click").pipe(yt(this._closed$)).subscribe(({target:r})=>{t===r&&("static"===this.backdrop?this._bumpBackdrop():!0===this.backdrop&&!i&&this._zone.run(()=>this.dismiss(Tm.BACKDROP_CLICK))),i=!1})})}_disableEventHandling(){this._closed$.next()}_setFocus(){const{nativeElement:t}=this._elRef;if(!t.contains(document.activeElement)){const i=t.querySelector("[ngbAutofocus]"),r=bT(t)[0];(i||r||t).focus()}}_restoreFocus(){const t=this._document.body,i=this._elWithFocus;let r;r=i&&i.focus&&t.contains(i)?i:t,this._zone.runOutsideAngular(()=>{setTimeout(()=>r.focus()),this._elWithFocus=null})}_bumpBackdrop(){"static"===this.backdrop&&pn(this._zone,this._elRef.nativeElement,({classList:t})=>(t.add("modal-static"),()=>t.remove("modal-static")),{animation:this.animation,runningTransition:"continue"})}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=lt({type:e,selectors:[["ngb-modal-window"]],viewQuery:function(i,r){if(1&i&&di(jU,7),2&i){let o;Me(o=Ie())&&(r._dialogEl=o.first)}},hostAttrs:["role","dialog","tabindex","-1"],hostVars:7,hostBindings:function(i,r){2&i&&(we("aria-modal",!0)("aria-labelledby",r.ariaLabelledBy)("aria-describedby",r.ariaDescribedBy),ea("modal d-block"+(r.windowClass?" "+r.windowClass:"")),Ne("fade",r.animation))},inputs:{animation:"animation",ariaLabelledBy:"ariaLabelledBy",ariaDescribedBy:"ariaDescribedBy",backdrop:"backdrop",centered:"centered",fullscreen:"fullscreen",keyboard:"keyboard",scrollable:"scrollable",size:"size",windowClass:"windowClass",modalDialogClass:"modalDialogClass"},outputs:{dismissEvent:"dismiss"},standalone:!0,features:[Yn],ngContentSelectors:dU,decls:4,vars:2,consts:[["dialog",""],["role","document"],[1,"modal-content"]],template:function(i,r){1&i&&(Oc(),T(0,"div",1,0)(2,"div",2),Ac(3),I()()),2&i&&ea("modal-dialog"+(r.size?" modal-"+r.size:"")+(r.centered?" modal-dialog-centered":"")+r.fullscreenClass+(r.scrollable?" modal-dialog-scrollable":"")+(r.modalDialogClass?" "+r.modalDialogClass:""))},styles:["ngb-modal-window .component-host-scrollable{display:flex;flex-direction:column;overflow:hidden}\n"],encapsulation:2})}return e})(),UW=(()=>{class e{constructor(){this._applicationRef=_(Tn),this._injector=_(Pe),this._environmentInjector=_(Yt),this._document=_(St),this._scrollBar=_(BW),this._activeWindowCmptHasChanged=new $e,this._ariaHiddenValues=new Map,this._scrollBarRestoreFn=null,this._modalRefs=[],this._windowCmpts=[],this._activeInstances=new H;const t=_(Q);this._activeWindowCmptHasChanged.subscribe(()=>{if(this._windowCmpts.length){const i=this._windowCmpts[this._windowCmpts.length-1];((e,n,t,i=!1)=>{e.runOutsideAngular(()=>{const r=pt(n,"focusin").pipe(yt(t),Pn(o=>o.target));pt(n,"keydown").pipe(yt(t),Jn(o=>"Tab"===o.key),tm(r)).subscribe(([o,s])=>{const[a,l]=bT(n);(s===a||s===n)&&o.shiftKey&&(l.focus(),o.preventDefault()),s===l&&!o.shiftKey&&(a.focus(),o.preventDefault())}),i&&pt(n,"click").pipe(yt(t),tm(r),Pn(o=>o[1])).subscribe(o=>o.focus())})})(t,i.location.nativeElement,this._activeWindowCmptHasChanged),this._revertAriaHidden(),this._setAriaHidden(i.location.nativeElement)}})}_restoreScrollBar(){const t=this._scrollBarRestoreFn;t&&(this._scrollBarRestoreFn=null,t())}_hideScrollBar(){this._scrollBarRestoreFn||(this._scrollBarRestoreFn=this._scrollBar.hide())}open(t,i,r){const o=r.container instanceof HTMLElement?r.container:vr(r.container)?this._document.querySelector(r.container):this._document.body;if(!o)throw new Error(`The specified modal container "${r.container||"body"}" was not found in the DOM.`);this._hideScrollBar();const s=new VT,a=(t=r.injector||t).get(Yt,null)||this._environmentInjector,l=this._getContentRef(t,a,i,s,r);let c=!1!==r.backdrop?this._attachBackdrop(o):void 0,u=this._attachWindowComponent(o,l.nodes),d=new $W(u,l,c,r.beforeDismiss);return this._registerModalRef(d),this._registerWindowCmpt(u),d.hidden.pipe(Xn(1)).subscribe(()=>Promise.resolve(!0).then(()=>{this._modalRefs.length||(this._document.body.classList.remove("modal-open"),this._restoreScrollBar(),this._revertAriaHidden())})),s.close=h=>{d.close(h)},s.dismiss=h=>{d.dismiss(h)},s.update=h=>{d.update(h)},d.update(r),1===this._modalRefs.length&&this._document.body.classList.add("modal-open"),c&&c.instance&&c.changeDetectorRef.detectChanges(),u.changeDetectorRef.detectChanges(),d}get activeInstances(){return this._activeInstances}dismissAll(t){this._modalRefs.forEach(i=>i.dismiss(t))}hasOpenModals(){return this._modalRefs.length>0}_attachBackdrop(t){let i=qp(VW,{environmentInjector:this._applicationRef.injector,elementInjector:this._injector});return this._applicationRef.attachView(i.hostView),t.appendChild(i.location.nativeElement),i}_attachWindowComponent(t,i){let r=qp(GW,{environmentInjector:this._applicationRef.injector,elementInjector:this._injector,projectableNodes:i});return this._applicationRef.attachView(r.hostView),t.appendChild(r.location.nativeElement),r}_getContentRef(t,i,r,o,s){return r?r instanceof ze?this._createFromTemplateRef(r,o):zo(r)?this._createFromString(r):this._createFromComponent(t,i,r,o,s):new Cr([])}_createFromTemplateRef(t,i){const o=t.createEmbeddedView({$implicit:i,close(s){i.close(s)},dismiss(s){i.dismiss(s)}});return this._applicationRef.attachView(o),new Cr([o.rootNodes],o)}_createFromString(t){const i=this._document.createTextNode(`${t}`);return new Cr([[i]])}_createFromComponent(t,i,r,o,s){const l=qp(r,{environmentInjector:i,elementInjector:Pe.create({providers:[{provide:VT,useValue:o}],parent:t})}),c=l.location.nativeElement;return s.scrollable&&c.classList.add("component-host-scrollable"),this._applicationRef.attachView(l.hostView),new Cr([[c]],l.hostView,l)}_setAriaHidden(t){const i=t.parentElement;i&&t!==this._document.body&&(Array.from(i.children).forEach(r=>{r!==t&&"SCRIPT"!==r.nodeName&&(this._ariaHiddenValues.set(r,r.getAttribute("aria-hidden")),r.setAttribute("aria-hidden","true"))}),this._setAriaHidden(i))}_revertAriaHidden(){this._ariaHiddenValues.forEach((t,i)=>{t?i.setAttribute("aria-hidden",t):i.removeAttribute("aria-hidden")}),this._ariaHiddenValues.clear()}_registerModalRef(t){const i=()=>{const r=this._modalRefs.indexOf(t);r>-1&&(this._modalRefs.splice(r,1),this._activeInstances.emit(this._modalRefs))};this._modalRefs.push(t),this._activeInstances.emit(this._modalRefs),t.result.then(i,i)}_registerWindowCmpt(t){this._windowCmpts.push(t),this._activeWindowCmptHasChanged.next(),t.onDestroy(()=>{const i=this._windowCmpts.indexOf(t);i>-1&&(this._windowCmpts.splice(i,1),this._activeWindowCmptHasChanged.next())})}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),WW=(()=>{class e{constructor(){this._injector=_(Pe),this._modalStack=_(UW),this._config=_(LW)}open(t,i={}){const r={...this._config,animation:this._config.animation,...i};return this._modalStack.open(this._injector,t,r)}get activeInstances(){return this._modalStack.activeInstances}dismissAll(t){this._modalStack.dismissAll(t)}hasOpenModals(){return this._modalStack.hasOpenModals()}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),HT=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=de({type:e});static#n=this.\u0275inj=se({providers:[WW]})}return e})(),GT=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=de({type:e});static#n=this.\u0275inj=se({})}return e})(),QT=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=de({type:e});static#n=this.\u0275inj=se({})}return e})(),JT=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=de({type:e});static#n=this.\u0275inj=se({})}return e})(),XT=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=de({type:e});static#n=this.\u0275inj=se({})}return e})(),eM=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=de({type:e});static#n=this.\u0275inj=se({})}return e})(),tM=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=de({type:e});static#n=this.\u0275inj=se({})}return e})(),nM=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=de({type:e});static#n=this.\u0275inj=se({})}return e})(),iM=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=de({type:e});static#n=this.\u0275inj=se({})}return e})(),rM=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=de({type:e});static#n=this.\u0275inj=se({})}return e})();new A("live announcer delay",{providedIn:"root",factory:()=>100});let oM=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=de({type:e});static#n=this.\u0275inj=se({})}return e})(),sM=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=de({type:e});static#n=this.\u0275inj=se({})}return e})();const s5=[aT,lT,dT,fT,FT,BT,HT,GT,sM,QT,JT,XT,eM,tM,nM,iM,rM,oM];let aM=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=de({type:e});static#n=this.\u0275inj=se({imports:[s5,aT,lT,dT,fT,FT,BT,HT,GT,sM,QT,JT,XT,eM,tM,nM,iM,rM,oM]})}return e})(),a5=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=lt({type:e,selectors:[["icon-all"]],decls:4,vars:0,consts:[["height","12px","width","12px","fill","#000000","version","1.1","x","0px","y","0px","viewBox","21.481 21.441 57.23 57.237","xmlns","http://www.w3.org/2000/svg",2,"enable-background","new 0 0 100 100","padding-bottom","1px"],["d","M74.5,21.7H33.6c-2.1,0-3.8,1.7-3.8,3.8v4.3h-3.2c-2.7,0-4.9,2.2-4.9,4.9v38.8c0,2.7,2.2,4.9,4.9,4.9h38.8 c2.7,0,4.9-2.2,4.9-4.9v-3.2h4.3c2.1,0,3.8-1.7,3.8-3.8V25.5C78.3,23.4,76.6,21.7,74.5,21.7z M66.9,73.4c0,0.9-0.7,1.6-1.6,1.6 H26.6c-0.9,0-1.6-0.7-1.6-1.6V34.6c0-0.9,0.7-1.6,1.6-1.6h38.8c0.9,0,1.6,0.7,1.6,1.6V73.4z M75,66.4c0,0.3-0.2,0.5-0.5,0.5h-4.3 V34.6c0-2.7-2.2-4.9-4.9-4.9H33.1v-4.3c0-0.3,0.2-0.5,0.5-0.5h40.9c0.3,0,0.5,0.2,0.5,0.5V66.4z"],["d","M54.4,42.4L40,58.8l-2.6-2.7c-1.2-1.3-3.3-1.3-4.5-0.1s-1.3,3.3-0.1,4.5l5,5.2c0.6,0.6,1.4,1,2.3,1c0,0,0,0,0.1,0 c0.9,0,1.7-0.4,2.3-1.1l16.8-19c1.2-1.3,1.1-3.4-0.3-4.5C57.6,41,55.6,41.1,54.4,42.4z"]],template:function(i,r){1&i&&(ms(),T(0,"svg",0)(1,"g"),nt(2,"path",1)(3,"path",2),I()())},encapsulation:2})}return e})(),l5=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=lt({type:e,selectors:[["icon-checkmark"]],decls:6,vars:0,consts:[["height","14px","width","14px","fill","#000000","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",0,"xml","space","preserve","version","1.1","viewBox","0 0 333 333","x","0px","y","0px","fill-rule","evenodd","clip-rule","evenodd",2,"shape-rendering","geometricPrecision","text-rendering","geometricPrecision","image-rendering","optimizeQuality"],["type","text/css"],["d","M47 165c-20,-21 -52,11 -31,31 26,27 52,55 79,81 12,11 21,11 32,0l191 -190c20,-21 -11,-53 -32,-32l-174 174 -65 -64z",1,"fil0"]],template:function(i,r){1&i&&(ms(),T(0,"svg",0)(1,"defs")(2,"style",1),ee(3," .fil0 {fill:#000000} "),I()(),T(4,"g"),nt(5,"path",2),I()())},encapsulation:2})}return e})(),c5=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=lt({type:e,selectors:[["icon-none"]],decls:3,vars:0,consts:[["height","12px","width","12px","fill","#000000","version","1.1","x","0px","y","0px","viewBox","21.481 21.441 57.23 57.237","xmlns","http://www.w3.org/2000/svg",2,"enable-background","new 0 0 100 100","padding-bottom","1px"],["d","M74.5,21.7H33.6c-2.1,0-3.8,1.7-3.8,3.8v4.3h-3.2c-2.7,0-4.9,2.2-4.9,4.9v38.8c0,2.7,2.2,4.9,4.9,4.9h38.8 c2.7,0,4.9-2.2,4.9-4.9v-3.2h4.3c2.1,0,3.8-1.7,3.8-3.8V25.5C78.3,23.4,76.6,21.7,74.5,21.7z M66.9,73.4c0,0.9-0.7,1.6-1.6,1.6 H26.6c-0.9,0-1.6-0.7-1.6-1.6V34.6c0-0.9,0.7-1.6,1.6-1.6h38.8c0.9,0,1.6,0.7,1.6,1.6V73.4z M75,66.4c0,0.3-0.2,0.5-0.5,0.5h-4.3 V34.6c0-2.7-2.2-4.9-4.9-4.9H33.1v-4.3c0-0.3,0.2-0.5,0.5-0.5h40.9c0.3,0,0.5,0.2,0.5,0.5V66.4z"]],template:function(i,r){1&i&&(ms(),T(0,"svg",0)(1,"g"),nt(2,"path",1),I()())},encapsulation:2})}return e})(),u5=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=lt({type:e,selectors:[["icon-plus"]],decls:3,vars:0,consts:[["height","14px","width","14px","fill","#000000",0,"xmlns","dc","http://purl.org/dc/elements/1.1/",0,"xmlns","cc","http://creativecommons.org/ns#",0,"xmlns","rdf","http://www.w3.org/1999/02/22-rdf-syntax-ns#",0,"xmlns","svg","http://www.w3.org/2000/svg","xmlns","http://www.w3.org/2000/svg",0,"xmlns","sodipodi","http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd",0,"xmlns","inkscape","http://www.inkscape.org/namespaces/inkscape","version","1.1","x","0px","y","0px","viewBox","0 0 100 100",2,"padding-bottom","1px"],["transform","translate(0,-952.36218)"],["d","m 50,964.36218 c -2.7615,0 -5,2.2386 -5,5 l 0,28.0001 -28,0 c -2.7614,0 -5,2.2385 -5,5.00002 0,2.7615 2.2386,5 5,5 l 28,0 0,27.9999 c 0,2.7614 2.2385,5 5,5 2.7615,0 5,-2.2386 5,-5 l 0,-27.9999 28,0 c 2.7614,0 5,-2.2385 5,-5 0,-2.76152 -2.2386,-5.00002 -5,-5.00002 l -28,0 0,-28.0001 c 0,-2.7614 -2.2385,-5 -5,-5 z","fill","#000000","fill-opacity","1","stroke","none","marker","none","visibility","visible","display","inline","overflow","visible",2,"text-indent","0","text-transform","none","direction","ltr","block-progression","tb","baseline-shift","baseline","color","#000000","enable-background","accumulate"]],template:function(i,r){1&i&&(ms(),T(0,"svg",0)(1,"g",1),nt(2,"path",2),I()())},encapsulation:2})}return e})();const d5=["search"],f5=["dropdown"],h5=["*"];function p5(e,n){if(1&e){const t=ft();Ro(0),T(1,"button",15),U("click",function(){return De(t),Ee(P().onSelectAll())}),nt(2,"icon-all"),ee(3," Select All "),I(),xo()}if(2&e){const t=P();M(),F("hidden",t.nextToggleState===t.DESELECT)}}function g5(e,n){if(1&e){const t=ft();Ro(0),T(1,"button",15),U("click",function(){return De(t),Ee(P().onSelectMultiple())}),nt(2,"icon-all"),ee(3," Select Multiple "),I(),xo()}if(2&e){const t=P();M(),F("hidden",t.nextToggleState===t.DESELECT)}}function m5(e,n){if(1&e){const t=ft();Ro(0),T(1,"button",15),U("click",function(){return De(t),Ee(P().onSelectNone())}),nt(2,"icon-none"),ee(3," Select None "),I(),xo()}if(2&e){const t=P();M(),F("hidden",t.nextToggleState===t.SELECT)}}function _5(e,n){if(1&e){const t=ft();T(0,"div",16)(1,"button",15),U("click",function(){const r=De(t).$implicit;return Ee(P().onItemSelect(r))}),T(2,"div",17)(3,"div",18),ee(4),I(),T(5,"div",19),nt(6,"icon-checkmark"),I()()()()}if(2&e){const t=n.$implicit,i=P();F("hidden",i.loading),M(),F("hidden",!i.isFiltered(t)),M(3),Nn(t),M(),F("hidden",!i.isSelected(t))}}let lM=(()=>{class e{constructor(){this.SELECT=Jg.All,this.DESELECT=Jg.None,this.autoClose="outside",this.allowCreateItem=!1,this.customClickHandle=!1,this.disabled=!1,this.searchInputPlaceholder="Search",this.itemCreated=new H,this.selectionChanged=new H,this.openChanged=new H,this.filtered=new Set,this.nextToggleState=this.SELECT,this.searchForm=new K3({searchInput:new s$}),this._itemsSet=new Set,this._items=[],this._loading=!1,this._selectedSet=new Set}set items(t){this.setItems(t)}get items(){return this._items}set loading(t){this.setLoading(t)}get loading(){return this._loading}set selection(t){this.setSelection(t)}get selection(){const t=Array.from(this._selectedSet);return this._allowMultiSelect?t:t?t[0]:""}set selectionMode(t){this.setSelectionMode(t)}get allowToggleSelectAll(){return this._allowMultiSelect&&0===this.searchInputValue.length&&(this._selectionMode===gn.MultiSelectWithSelectAll||this._selectionMode===gn.MultiSelectWithSelectAllSelectNone)&&!this.loading}get allowToggleSelectMultiple(){return this._allowMultiSelect&&this.searchInputValue.length>0&&this.filtered.size>0&&this._selectionMode===gn.MultiSelectWithSelectAllSelectNone&&!this.loading}get allowToggleSelectNone(){return this._allowMultiSelect&&this._selectedSet.size>0&&(this._selectionMode===gn.MultiSelectWithSelectNone||this._selectionMode===gn.MultiSelectWithSelectAllSelectNone)&&!this.loading}get noItemsToDisplay(){return 0===this.filtered.size&&!this.allowCreateItem&&!this.loading}get showCreateItem(){return this.searchInputValue.length>0&&this.allowCreateItem&&!this._itemsSet.has(this.searchInputValue)&&!this.loading}get searchInput(){return this.searchForm.controls.searchInput}get searchInputValue(){return this.searchInput.value||""}get typeToCreateItem(){return 0===this.filtered.size&&0===this.searchInputValue.length&&this.allowCreateItem&&!this.loading}ngOnInit(){this._valueChangesSubscription=this.searchForm.get("searchInput").valueChanges.subscribe(t=>{if(!t)return void(this.filtered=new Set(this.items));const i=t.toLowerCase(),r=this.items.filter(o=>-1!==o.toLowerCase().indexOf(i));this.filtered=new Set(r)})}ngOnDestroy(){this._valueChangesSubscription?.unsubscribe()}isFiltered(t){return this.filtered.has(t)}isSelected(t){return this._selectedSet.has(t)}onCreateItem(){const t=this.searchInputValue;this.createItem(t),this.itemCreated.next({created:t,items:this.items,selection:this.selection}),this.resetFilterInput()}onEnterKeyPressed(){if(this._allowMultiSelect&&this.filtered?.size&&this.selectMultiple(),!this._allowMultiSelect&&this.filtered?.size&&(this._selectedSet=new Set([this.filtered.entries().next().value[0]])),this.allowCreateItem&&!this.filtered?.size){const t=this.searchInputValue;this.createItem(t),this.itemCreated.next({created:t,items:this.items,selection:this.selection}),this.resetFilterInput()}this.allowCreateItem||this.selectionChanged.next({selection:this.selection}),this.autoClose&&this.dropdown.close()}onItemSelect(t){this._allowMultiSelect?(this._selectedSet.has(t)?this._selectedSet.delete(t):this._selectedSet.add(t),this.nextToggleState=this._selectedSet.size>0?this.DESELECT:this.SELECT):this._selectedSet=new Set([t]),this.selectionChanged.next({selection:this.selection})}onOpenChange(t){t?this.focusSearchInput():this.resetFilterInput(),this.openChanged.next({open:t})}onSelectAll(){this.nextToggleState=this.DESELECT,this._selectedSet=new Set(this.items),this.selectionChanged.next({selection:this.selection})}onSelectMultiple(){this.selectMultiple(),this.selectionChanged.next({selection:this.selection})}onSelectNone(){this.nextToggleState=this.SELECT,this._selectedSet=new Set([]),this.selectionChanged.next({selection:this.selection})}resetFilterInput(){this.searchInput.setValue("")}createItem(t){this._allowMultiSelect?this._selectedSet.add(t):this._selectedSet=new Set([t]),this._items=[...this._items,t]}focusSearchInput(){setTimeout(()=>this.search.nativeElement.focus())}setItems(t){this.filtered=new Set(t),this._itemsSet=new Set(t),this._items=t}setLoading(t){t?this.searchInput.disable():(this.searchInput.enable(),this.focusSearchInput()),this._loading=t}setSelectionMode(t){this._allowMultiSelect=t===gn.MultiSelect||t===gn.MultiSelectWithSelectAll||t===gn.MultiSelectWithSelectAllSelectNone||t===gn.MultiSelectWithSelectNone,this._selectionMode=t}setSelection(t){if(!t||0===t?.length)return this._selectedSet=new Set([]),void(this.nextToggleState=this.SELECT);"string"!=typeof t?(this.nextToggleState=this.DESELECT,this._selectedSet=new Set(t)):this._selectedSet=new Set([t])}selectMultiple(){this.filtered.forEach(t=>{this._selectedSet.has(t)||this._selectedSet.add(t)}),this.nextToggleState=this.DESELECT}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=lt({type:e,selectors:[["ngb-custom-filterable-dropdown"]],viewQuery:function(i,r){if(1&i&&(di(d5,7),di(f5,7)),2&i){let o;Me(o=Ie())&&(r.search=o.first),Me(o=Ie())&&(r.dropdown=o.first)}},inputs:{autoClose:"autoClose",allowCreateItem:"allowCreateItem",customClickHandle:"customClickHandle",disabled:"disabled",searchInputPlaceholder:"searchInputPlaceholder",items:"items",loading:"loading",selection:"selection",selectionMode:"selectionMode"},outputs:{itemCreated:"itemCreated",selectionChanged:"selectionChanged",openChanged:"openChanged"},ngContentSelectors:h5,decls:23,vars:13,consts:[["dropdown","ngbDropdown"],["search",""],["ngbDropdown","",3,"openChange","autoClose"],["type","button","ngbDropdownToggle","",1,"custom-click-handle","cursor-pointer",3,"disabled"],["ngbDropdownMenu","","aria-labelledby","toggle"],[1,"dropdown-menu-inner"],[1,"form-search",3,"formGroup"],["formControlName","searchInput",1,"form-control",3,"click","keyup.enter","placeholder"],[1,"scroll-container"],[4,"ngIf"],["id","create-item","type","button",1,"dropdown-item","filterable-dropdown-item","px-2",3,"click","hidden"],[3,"hidden",4,"ngFor","ngForOf"],["id","no-items",1,"dropdown-item",3,"hidden"],["id","type-to-create",1,"dropdown-item",3,"hidden"],["id","loading",1,"dropdown-item",3,"hidden"],["type","button",1,"dropdown-item","filterable-dropdown-item","px-2",3,"click","hidden"],[3,"hidden"],[1,"d-flex","flex-row"],[1,"item-text-container"],[1,"w-100","text-end",3,"hidden"]],template:function(i,r){if(1&i){const o=ft();Oc(),T(0,"div",2,0),U("openChange",function(a){return De(o),Ee(r.onOpenChange(a))}),T(2,"button",3),Ac(3),I(),T(4,"div",4)(5,"div",5)(6,"form",6)(7,"input",7,1),U("click",function(a){return De(o),Ee(a.stopPropagation())})("keyup.enter",function(){return De(o),Ee(r.onEnterKeyPressed())}),I()(),T(9,"div",8),oe(10,p5,4,1,"ng-container",9)(11,g5,4,1,"ng-container",9)(12,m5,4,1,"ng-container",9),T(13,"button",10),U("click",function(){return De(o),Ee(r.onCreateItem())}),nt(14,"icon-plus"),ee(15),I(),oe(16,_5,7,4,"div",11),T(17,"div",12),ee(18," No items to display. "),I(),T(19,"div",13),ee(20," Start typing to create a new item "),I(),T(21,"div",14),ee(22," Loading... "),I()()()()()}2&i&&(F("autoClose",r.autoClose),M(2),F("disabled",r.disabled),M(4),F("formGroup",r.searchForm),M(),F("placeholder",r.searchInputPlaceholder),M(3),F("ngIf",r.allowToggleSelectAll),M(),F("ngIf",r.allowToggleSelectMultiple),M(),F("ngIf",r.allowToggleSelectNone),M(),F("hidden",!r.showCreateItem),M(2),hi(" Create ",r.searchInputValue," "),M(),F("ngForOf",r.items),M(),F("hidden",!r.noItemsToDisplay),M(2),F("hidden",!r.typeToCreateItem),M(2),F("hidden",!r.loading))},dependencies:[aN,mu,zw,qw,Iu,qg,rg,og,qu,LT,Nm,a5,l5,c5,u5],styles:[".dropdown-menu[_ngcontent-%COMP%]{width:100%;height:auto;min-height:86px;padding-top:0!important}.dropdown-menu-inner[_ngcontent-%COMP%]{display:flex;flex-direction:column;max-height:231px;min-height:76px;height:auto}.filterable-dropdown-item[_ngcontent-%COMP%]{position:relative;height:37px;width:100%;box-shadow:inset 0 -1px #dfe3e9;text-align:left;overflow:hidden;text-overflow:ellipsis}.filterable-dropdown-item[_ngcontent-%COMP%]:active, .filterable-dropdown-item[_ngcontent-%COMP%]:focus, .filterable-dropdown-item[_ngcontent-%COMP%]:hover, .filterable-dropdown-item[_ngcontent-%COMP%]:visited{-webkit-box-shadow:none!important;box-sizing:none;outline:none!important;background-color:#f8f9fa;box-shadow:none!important;text-decoration:none}.form-control[_ngcontent-%COMP%]{text-align:left}.form-search[_ngcontent-%COMP%]{height:-moz-fit-content;height:fit-content;margin:4px}.item-text-container[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;min-width:90%}#no-items[_ngcontent-%COMP%], #type-to-create[_ngcontent-%COMP%], #loading[_ngcontent-%COMP%]{text-align:left;padding-top:10px;padding-left:16px}#no-items[_ngcontent-%COMP%]:hover, #no-items[_ngcontent-%COMP%]:active, #type-to-create[_ngcontent-%COMP%]:hover, #type-to-create[_ngcontent-%COMP%]:active, #loading[_ngcontent-%COMP%]:hover, #loading[_ngcontent-%COMP%]:active{background-color:transparent!important;color:#354052!important}.scroll-container[_ngcontent-%COMP%]{width:100%;min-height:30px;overflow-y:scroll}icon-all[_ngcontent-%COMP%], icon-none[_ngcontent-%COMP%], icon-checkmark[_ngcontent-%COMP%]{padding-right:7px}icon-plus[_ngcontent-%COMP%]{margin-left:-1px;padding-right:6px}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.custom-click-handle.dropdown-toggle[_ngcontent-%COMP%]:after{display:none!important}.custom-click-handle[_ngcontent-%COMP%]{width:100%;height:100%;padding:0;border:none;background-color:transparent;outline:none!important}"]})}return e})();var gn=function(e){return e.SingleSelect="Single Select",e.MultiSelectWithSelectAllSelectNone="Multi-Select with Select All and Select None",e.MultiSelectWithSelectAll="Multi-Select with Select All",e.MultiSelectWithSelectNone="Multi-Select with Select None",e.MultiSelect="Multi-Select",e}(gn||{});let cM=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=de({type:e});static#n=this.\u0275inj=se({})}return e})(),uM=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=de({type:e});static#n=this.\u0275inj=se({imports:[Qg,MN,ug,aM,cM]})}return e})(),v5=(()=>{class e{static#e=this.MULTIPLE_ITEMS_STRING="Multiple";transform(t,i){return"string"==typeof t?t||i:t instanceof Array?0===t.length?i:1===t.length?t[0]:e.MULTIPLE_ITEMS_STRING:i}static#t=this.\u0275fac=function(i){return new(i||e)};static#n=this.\u0275pipe=Dt({name:"multiSelect",type:e,pure:!0})}return e})();const y5=["*"];let b5=(()=>{class e{constructor(){this.allowCreateItem=!1,this.autoClose=!1,this.disabled=!1,this.items=[],this.loading=!1,this.placeholder="No Items Selected",this.searchInputPlaceholder="Search",this.selection=[],this.itemCreated=new H,this.openChanged=new H,this.selectionChanged=new H}onItemCreated(t){this.itemCreated.next(t)}onOpenChanged(t){this.openChanged.next(t)}onSelectionChanged(t){this.selectionChanged.next(t)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=lt({type:e,selectors:[["ngb-filterable-dropdown"]],inputs:{allowCreateItem:"allowCreateItem",autoClose:"autoClose",disabled:"disabled",items:"items",loading:"loading",placeholder:"placeholder",searchInputPlaceholder:"searchInputPlaceholder",selection:"selection",selectionMode:"selectionMode"},outputs:{itemCreated:"itemCreated",openChanged:"openChanged",selectionChanged:"selectionChanged"},ngContentSelectors:y5,decls:7,vars:13,consts:[[3,"itemCreated","openChanged","selectionChanged","allowCreateItem","autoClose","disabled","items","loading","searchInputPlaceholder","selection","selectionMode"],["id","toggle","type","button",1,"btn","btn-dropdown-toggle",3,"disabled"],[1,"ng-content-wrapper"],[1,"default-content-wrapper"]],template:function(i,r){1&i&&(Oc(),T(0,"ngb-custom-filterable-dropdown",0),U("itemCreated",function(s){return r.onItemCreated(s)})("openChanged",function(s){return r.onOpenChanged(s)})("selectionChanged",function(s){return r.onSelectionChanged(s)}),T(1,"button",1)(2,"div",2),Ac(3),I(),T(4,"div",3),ee(5),function X1(e,n){const t=Y();let i;const r=e+R;t.firstCreatePass?(i=function aL(e,n){if(n)for(let t=n.length-1;t>=0;t--){const i=n[t];if(e===i.name)return i}}(n,t.pipeRegistry),t.data[r]=i,i.onDestroy&&(t.destroyHooks??=[]).push(r,i.onDestroy)):i=t.data[r];const o=i.factory||(i.factory=$i(i.type)),a=Pt(C);try{const l=Sl(!1),c=o();return Sl(l),function _p(e,n,t,i){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=i}(t,b(),r,c),c}finally{Pt(a)}}(6,"multiSelect"),I()()()),2&i&&(F("allowCreateItem",r.allowCreateItem)("autoClose",r.autoClose)("disabled",r.disabled)("items",r.items)("loading",r.loading)("searchInputPlaceholder",r.searchInputPlaceholder)("selection",r.selection)("selectionMode",r.selectionMode),M(),F("disabled",r.disabled),M(4),hi(" ",eE(6,10,r.selection,r.placeholder)," "))},dependencies:[lM,v5],styles:['.btn-dropdown-toggle[_ngcontent-%COMP%]{width:100%;height:37px;border:solid 1px #dfe2e5;border-radius:4px;background-image:none;background-color:#fff;line-height:1.36;text-align:left;text-overflow:ellipsis;overflow:hidden}.btn-dropdown-toggle[_ngcontent-%COMP%]:active, .btn-dropdown-toggle[_ngcontent-%COMP%]:focus, .btn-dropdown-toggle[_ngcontent-%COMP%]:hover, .btn-dropdown-toggle[_ngcontent-%COMP%]:visited{-webkit-box-shadow:none!important;box-sizing:none;box-shadow:none!important}.btn-dropdown-toggle[_ngcontent-%COMP%]:disabled{cursor:default}.btn-dropdown-toggle[_ngcontent-%COMP%]:after{margin-top:8px;position:absolute;right:15px}.ng-content-wrapper[_ngcontent-%COMP%], .default-content-wrapper[_ngcontent-%COMP%]{display:block;width:100%}.default-content-wrapper[_ngcontent-%COMP%]:after{text-align:right;border-bottom:0;border-left:.3em solid transparent;border-right:.3em solid transparent;border-top:.3em solid;content:"";display:inline-block;position:absolute;top:calc(50% - .15em);right:1em}.ng-content-wrapper[_ngcontent-%COMP%]:not(:empty) + .default-content-wrapper[_ngcontent-%COMP%]{display:none}']})}return e})(),D5=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=de({type:e});static#n=this.\u0275inj=se({imports:[Qg,MN,ug,aM,cM,uM]})}return e})();function E5(e,n){if(1&e&&(T(0,"option",26),ee(1),I()),2&e){const t=n.$implicit;F("value",t),M(),hi(" ",t," ")}}function C5(e,n){if(1&e&&(T(0,"option",26),ee(1),I()),2&e){const t=n.$implicit;F("value",t),M(),hi(" ",t," ")}}function w5(e,n){if(1&e){const t=ft();T(0,"ngb-filterable-dropdown",27),U("itemCreated",function(r){return De(t),Ee(P().onItemCreated(r))})("openChanged",function(r){return De(t),Ee(P().onOpenChanged(r))})("selectionChanged",function(r){return De(t),Ee(P().onSelectionChanged(r))}),ee(1," Select a Bug \u{1f41b} "),I()}if(2&e){const t=P();F("allowCreateItem",t.allowCreateItem)("autoClose",t.autoClose)("items",t.items)("disabled",t.disabled)("searchInputPlaceholder",t.searchInputPlaceholder)("selection",t.selection)("selectionMode",t.selectionMode)}}function N5(e,n){if(1&e){const t=ft();T(0,"ngb-filterable-dropdown",28),U("itemCreated",function(r){return De(t),Ee(P().onItemCreated(r))})("openChanged",function(r){return De(t),Ee(P().onOpenChanged(r))})("selectionChanged",function(r){return De(t),Ee(P().onSelectionChanged(r))}),I()}if(2&e){const t=P();F("allowCreateItem",t.allowCreateItem)("autoClose",t.autoClose)("items",t.items)("disabled",t.disabled)("placeholder","No Bugs Selected")("searchInputPlaceholder",t.searchInputPlaceholder)("selection",t.selection)("selectionMode",t.selectionMode)}}let T5=(()=>{class e{constructor(){this.title="ngb-filterable-dropdown-examples",this.selectionModes=Object.values(gn),this.autoCloseValues=["inside","outside",!0,!1],this.items=["Beetle","Ant","Moth","Fire Ant","Dung Beetle","Grass Ant"],this.allowCreateItem=!1,this.autoClose=!1,this.customToggleText=!1,this.disabled=!1,this.genericHandleUseCustomHandle=!0,this.genericHandleSelection="nothing",this.isGenericHandleDropdownOpen=!1,this.searchInputPlaceholder="Search Bugs",this.selection="Moth",this.selectionMode=gn.SingleSelect}allowCreateItemClick(t){this.allowCreateItem=t.target.checked}customToggleTextClick(t){this.customToggleText=t.target.checked}disabledClick(t){this.disabled=t.target.checked}genericHandleOpenChanged(t){console.log(t),this.isGenericHandleDropdownOpen=t.open}genericHandlerOnSelectionChanged(t){this.genericHandleSelection=t.selection}onAutoCloseValueChanged(t){this.autoClose=t}onItemCreated(t){this.items=t.items,this.selection=t.selection,console.log(t)}onOpenChanged(t){console.log(t)}onSelectionChanged(t){this.selection=t.selection,console.log(t)}onSelectionModeChange(t){this.selectionMode=t,this.selection=[]}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=lt({type:e,selectors:[["app-root"]],decls:58,vars:21,consts:[[1,"p-2"],[1,"row"],[1,"col-12","col-xl-4"],["href","https://www.bugsplat.com"],["src","./assets/logo-bugsplat-color.png",2,"max-width","350px"],[1,"row","mt-4"],[1,"col-12"],["href","https://github.com/BugSplat-Git/ngb-filterable-dropdown"],[1,"col-12","col-xl-6"],["id","allow-create-item","type","checkbox",3,"click"],["for","allow-create-item",1,"ms-4","mb-0"],[1,"row","mt-2"],["id","custom-toggle-text","type","checkbox",3,"click"],["for","custom-toggle-text",1,"ms-4","mb-0"],["id","disabled","type","checkbox",3,"click"],["for","disabled",1,"ms-4","mb-0"],[1,"col-12","col-xl-3"],["for","selection-mode"],["id","selection-mode",1,"form-select",3,"change"],[3,"value",4,"ngFor","ngForOf"],["for","auto-close-value"],["id","auto-close-value",1,"form-select",3,"change"],[3,"allowCreateItem","autoClose","items","disabled","searchInputPlaceholder","selection","selectionMode","itemCreated","openChanged","selectionChanged",4,"ngIf"],[3,"allowCreateItem","autoClose","items","disabled","placeholder","searchInputPlaceholder","selection","selectionMode","itemCreated","openChanged","selectionChanged",4,"ngIf"],[3,"itemCreated","openChanged","selectionChanged","allowCreateItem","autoClose","items","searchInputPlaceholder","selection","selectionMode"],[1,"alert","alert-dark"],[3,"value"],[3,"itemCreated","openChanged","selectionChanged","allowCreateItem","autoClose","items","disabled","searchInputPlaceholder","selection","selectionMode"],[3,"itemCreated","openChanged","selectionChanged","allowCreateItem","autoClose","items","disabled","placeholder","searchInputPlaceholder","selection","selectionMode"]],template:function(i,r){1&i&&(T(0,"div",0)(1,"div",1)(2,"div",2)(3,"a",3),nt(4,"img",4),I()()(),T(5,"div",5)(6,"div",6)(7,"h2")(8,"a",7),ee(9),I()()()(),T(10,"div",5)(11,"div",8)(12,"input",9),U("click",function(s){return r.allowCreateItemClick(s)}),I(),T(13,"label",10),ee(14,"Allow Create Item"),I()()(),T(15,"div",11)(16,"div",8)(17,"input",12),U("click",function(s){return r.customToggleTextClick(s)}),I(),T(18,"label",13),ee(19,"Custom Toggle Text"),I()()(),T(20,"div",11)(21,"div",8)(22,"input",14),U("click",function(s){return r.disabledClick(s)}),I(),T(23,"label",15),ee(24,"Disabled"),I()()(),T(25,"div",5)(26,"div",16)(27,"label",17),ee(28,"Selection Mode"),I(),T(29,"select",18),U("change",function(s){return r.onSelectionModeChange(s.target.value)}),oe(30,E5,2,2,"option",19),I()()(),T(31,"div",5)(32,"div",16)(33,"label",20),ee(34,"Auto Close"),I(),T(35,"select",21),U("change",function(s){return r.onAutoCloseValueChanged(s.target.value)}),oe(36,C5,2,2,"option",19),I()()(),T(37,"div",5)(38,"div",8)(39,"h3"),ee(40,"Bugs"),I(),oe(41,w5,2,7,"ngb-filterable-dropdown",22)(42,N5,1,8,"ngb-filterable-dropdown",23),I()(),nt(43,"hr"),T(44,"div",5)(45,"div",8)(46,"h3"),ee(47,"Custom Click Handle"),I(),T(48,"ngb-custom-filterable-dropdown",24),U("itemCreated",function(s){return r.onItemCreated(s)})("openChanged",function(s){return r.genericHandleOpenChanged(s)})("selectionChanged",function(s){return r.genericHandlerOnSelectionChanged(s)}),T(49,"span"),ee(50),I()()()(),T(51,"div",5)(52,"div",8)(53,"h3"),ee(54,"Styled Custom Click Handle"),I(),T(55,"ngb-custom-filterable-dropdown",24),U("itemCreated",function(s){return r.onItemCreated(s)})("openChanged",function(s){return r.genericHandleOpenChanged(s)})("selectionChanged",function(s){return r.genericHandlerOnSelectionChanged(s)}),T(56,"div",25),ee(57),I()()()()()),2&i&&(M(9),Nn(r.title),M(21),F("ngForOf",r.selectionModes),M(6),F("ngForOf",r.autoCloseValues),M(5),F("ngIf",r.customToggleText),M(),F("ngIf",!r.customToggleText),M(6),F("allowCreateItem",r.allowCreateItem)("autoClose",r.autoClose)("items",r.items)("searchInputPlaceholder",r.searchInputPlaceholder)("selection",r.genericHandleSelection)("selectionMode",r.selectionMode),M(2),Rc("A generic click handle. -- Selected: ",r.genericHandleSelection," -- isOpen: ",r.isGenericHandleDropdownOpen,""),M(5),F("allowCreateItem",r.allowCreateItem)("autoClose",r.autoClose)("items",r.items)("searchInputPlaceholder",r.searchInputPlaceholder)("selection",r.genericHandleSelection)("selectionMode",r.selectionMode),M(2),Rc(" Heavily styled handle -- Selected: ",r.genericHandleSelection," -- isOpen: ",r.isGenericHandleDropdownOpen," "))},dependencies:[rg,og,lM,b5,pN,mN],styles:["[_nghost-%COMP%]{display:block;padding:15px;min-height:1200px}"]})}return e})(),M5=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=de({type:e,bootstrap:[T5]});static#n=this.\u0275inj=se({imports:[Hj,uM,D5,Qg]})}return e})();Bj().bootstrapModule(M5).catch(e=>console.error(e))}},Qo=>{Qo(Qo.s=527)}]); \ No newline at end of file