/* Minification failed. Returning unminified contents.
(1,84-85): run-time error JS1195: Expected expression: >
(1,499-500): run-time error JS1195: Expected expression: )
(1,501-502): run-time error JS1195: Expected expression: >
(1,529-530): run-time error JS1195: Expected expression: )
(1,531-532): run-time error JS1195: Expected expression: >
(1,533-534): run-time error JS1002: Syntax error: }
(1,560-561): run-time error JS1002: Syntax error: }
(1,588-589): run-time error JS1002: Syntax error: }
(1,605-606): run-time error JS1004: Expected ';': {
(1,1320-1321): run-time error JS1195: Expected expression: .
(1,1401-1402): run-time error JS1195: Expected expression: .
(1,3043-3044): run-time error JS1195: Expected expression: .
(1,3105-3106): run-time error JS1195: Expected expression: ?
(1,3136-3137): run-time error JS1197: Too many errors. The file might not be a JavaScript file: ,
(1,3075-3089): run-time error JS1301: End of file encountered before function is properly closed: function Bs(e)
(1,3163-3164): run-time error JS1195: Expected expression: ?
(1,3164-3165): run-time error JS1197: Too many errors. The file might not be a JavaScript file: =
(1,644-650): run-time error JS1018: 'return' statement outside of function: return
 */
(self.webpackChunkclient=self.webpackChunkclient||[]).push([[792],{8528:(rs,ia,xf)=>{"use strict";function ra(e,n){return Object.is(e,n)}let E=null,Nl=!1,sa=1;const sr=Symbol("SIGNAL");function me(e){const n=E;return E=e,n}const Io={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 Nr(e){if(Nl)throw new Error("");if(null===E)return;E.consumerOnSignalRead(e);const n=E.nextProducerIndex++;Bs(E),n<E.producerNode.length&&E.producerNode[n]!==e&&gi(E)&&ss(E.producerNode[n],E.producerIndexOfThis[n]),E.producerNode[n]!==e&&(E.producerNode[n]=e,E.producerIndexOfThis[n]=gi(E)?or(e,E,n):0),E.producerLastReadVersion[n]=e.version}function No(e){if((!gi(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==sa)){if(!e.producerMustRecompute(e)&&!xi(e))return e.dirty=!1,void(e.lastCleanEpoch=sa);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=sa}}function Ao(e){if(void 0===e.liveConsumerNode)return;const n=Nl;Nl=!0;try{for(const t of e.liveConsumerNode)t.dirty||pi(t)}finally{Nl=n}}function Al(){return!1!==E?.consumerAllowSignalWrites}function pi(e){e.dirty=!0,Ao(e),e.consumerMarkedDirty?.(e)}function Ar(e){return e&&(e.nextProducerIndex=0),me(e)}function uu(e,n){if(me(n),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(gi(e))for(let t=e.nextProducerIndex;t<e.producerNode.length;t++)ss(e.producerNode[t],e.producerIndexOfThis[t]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function xi(e){Bs(e);for(let n=0;n<e.producerNode.length;n++){const t=e.producerNode[n],i=e.producerLastReadVersion[n];if(i!==t.version||(No(t),i!==t.version))return!0}return!1}function Ls(e){if(Bs(e),gi(e))for(let n=0;n<e.producerNode.length;n++)ss(e.producerNode[n],e.producerIndexOfThis[n]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function or(e,n,t){if(du(e),0===e.liveConsumerNode.length&&ym(e))for(let i=0;i<e.producerNode.length;i++)e.producerIndexOfThis[i]=or(e.producerNode[i],e,i);return e.liveConsumerIndexOfThis.push(t),e.liveConsumerNode.push(n)-1}function ss(e,n){if(du(e),1===e.liveConsumerNode.length&&ym(e))for(let i=0;i<e.producerNode.length;i++)ss(e.producerNode[i],e.producerIndexOfThis[i]);const t=e.liveConsumerNode.length-1;if(e.liveConsumerNode[n]=e.liveConsumerNode[t],e.liveConsumerIndexOfThis[n]=e.liveConsumerIndexOfThis[t],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,n<e.liveConsumerNode.length){const i=e.liveConsumerIndexOfThis[n],r=e.liveConsumerNode[n];Bs(r),r.producerIndexOfThis[i]=n}}function gi(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function Bs(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function du(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function ym(e){return void 0!==e.producerNode}const kf=Symbol("UNSET"),Lf=Symbol("COMPUTING"),Ol=Symbol("ERRORED"),d0={...Io,value:kf,dirty:!0,error:null,equal:ra,producerMustRecompute:e=>e.value===kf||e.value===Lf,producerRecomputeValue(e){if(e.value===Lf)throw new Error("Detected cycle in computations.");const n=e.value;e.value=Lf;const t=Ar(e);let i;try{i=e.computation()}catch(r){i=Ol,e.error=r}finally{uu(e,t)}n!==kf&&n!==Ol&&i!==Ol&&e.equal(n,i)?e.value=n:(e.value=i,e.version++)}};let Vs=function f0(){throw new Error};function os(){Vs()}let Oo=null;function bm(e,n){Al()||os(),e.equal(e.value,n)||(e.value=n,function Rl(e){e.version++,function vm(){sa++}(),Ao(e),Oo?.()}(e))}const p0={...Io,equal:ra,value:void 0};function aa(e){return"function"==typeof e}let mi=!1;const zn={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){if(e){const n=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+n.stack)}else mi&&console.log("RxJS: Back to a better error behavior. Thank you. <3");mi=e},get useDeprecatedSynchronousErrorHandling(){return mi}};function la(e){setTimeout(()=>{throw e},0)}const Pi={closed:!0,next(e){},error(e){if(zn.useDeprecatedSynchronousErrorHandling)throw e;la(e)},complete(){}},as=Array.isArray||(e=>e&&"number"==typeof e.length);function Hf(e){return null!==e&&"object"==typeof e}const ri=(()=>{function e(n){return Error.call(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((t,i)=>`${i+1}) ${t.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=n,this}return e.prototype=Object.create(Error.prototype),e})();class nt{constructor(n){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,n&&(this._ctorUnsubscribe=!0,this._unsubscribe=n)}unsubscribe(){let n;if(this.closed)return;let{_parentOrParents:t,_ctorUnsubscribe:i,_unsubscribe:r,_subscriptions:s}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,t instanceof nt)t.remove(this);else if(null!==t)for(let o=0;o<t.length;++o)t[o].remove(this);if(aa(r)){i&&(this._unsubscribe=void 0);try{r.call(this)}catch(o){n=o instanceof ri?xl(o.errors):[o]}}if(as(s)){let o=-1,l=s.length;for(;++o<l;){const u=s[o];if(Hf(u))try{u.unsubscribe()}catch(d){n=n||[],d instanceof ri?n=n.concat(xl(d.errors)):n.push(d)}}}if(n)throw new ri(n)}add(n){let t=n;if(!n)return nt.EMPTY;switch(typeof n){case"function":t=new nt(n);case"object":if(t===this||t.closed||"function"!=typeof t.unsubscribe)return t;if(this.closed)return t.unsubscribe(),t;if(!(t instanceof nt)){const s=t;t=new nt,t._subscriptions=[s]}break;default:throw new Error("unrecognized teardown "+n+" added to Subscription.")}let{_parentOrParents:i}=t;if(null===i)t._parentOrParents=this;else if(i instanceof nt){if(i===this)return t;t._parentOrParents=[i,this]}else{if(-1!==i.indexOf(this))return t;i.push(this)}const r=this._subscriptions;return null===r?this._subscriptions=[t]:r.push(t),t}remove(n){const t=this._subscriptions;if(t){const i=t.indexOf(n);-1!==i&&t.splice(i,1)}}}var e;function xl(e){return e.reduce((n,t)=>n.concat(t instanceof ri?t.errors:t),[])}nt.EMPTY=((e=new nt).closed=!0,e);const gu="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random();class it extends nt{constructor(n,t,i){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=Pi;break;case 1:if(!n){this.destination=Pi;break}if("object"==typeof n){n instanceof it?(this.syncErrorThrowable=n.syncErrorThrowable,this.destination=n,n.add(this)):(this.syncErrorThrowable=!0,this.destination=new ca(this,n));break}default:this.syncErrorThrowable=!0,this.destination=new ca(this,n,t,i)}}[gu](){return this}static create(n,t,i){const r=new it(n,t,i);return r.syncErrorThrowable=!1,r}next(n){this.isStopped||this._next(n)}error(n){this.isStopped||(this.isStopped=!0,this._error(n))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(n){this.destination.next(n)}_error(n){this.destination.error(n),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:n}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=n,this}}class ca extends it{constructor(n,t,i,r){super(),this._parentSubscriber=n;let s,o=this;aa(t)?s=t:t&&(s=t.next,i=t.error,r=t.complete,t!==Pi&&(o=Object.create(t),aa(o.unsubscribe)&&this.add(o.unsubscribe.bind(o)),o.unsubscribe=this.unsubscribe.bind(this))),this._context=o,this._next=s,this._error=i,this._complete=r}next(n){if(!this.isStopped&&this._next){const{_parentSubscriber:t}=this;zn.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,n)&&this.unsubscribe():this.__tryOrUnsub(this._next,n)}}error(n){if(!this.isStopped){const{_parentSubscriber:t}=this,{useDeprecatedSynchronousErrorHandling:i}=zn;if(this._error)i&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,n),this.unsubscribe()):(this.__tryOrUnsub(this._error,n),this.unsubscribe());else if(t.syncErrorThrowable)i?(t.syncErrorValue=n,t.syncErrorThrown=!0):la(n),this.unsubscribe();else{if(this.unsubscribe(),i)throw n;la(n)}}}complete(){if(!this.isStopped){const{_parentSubscriber:n}=this;if(this._complete){const t=()=>this._complete.call(this._context);zn.useDeprecatedSynchronousErrorHandling&&n.syncErrorThrowable?(this.__tryOrSetError(n,t),this.unsubscribe()):(this.__tryOrUnsub(t),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(n,t){try{n.call(this._context,t)}catch(i){if(this.unsubscribe(),zn.useDeprecatedSynchronousErrorHandling)throw i;la(i)}}__tryOrSetError(n,t,i){if(!zn.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,i)}catch(r){return zn.useDeprecatedSynchronousErrorHandling?(n.syncErrorValue=r,n.syncErrorThrown=!0,!0):(la(r),!0)}return!1}_unsubscribe(){const{_parentSubscriber:n}=this;this._context=null,this._parentSubscriber=null,n.unsubscribe()}}const Ro="function"==typeof Symbol&&Symbol.observable||"@@observable";function da(e){return e}function _u(e){return 0===e.length?da:1===e.length?e[0]:function(t){return e.reduce((i,r)=>r(i),t)}}let dt=(()=>{class e{constructor(t){this._isScalar=!1,t&&(this._subscribe=t)}lift(t){const i=new e;return i.source=this,i.operator=t,i}subscribe(t,i,r){const{operator:s}=this,o=function jf(e,n,t){if(e){if(e instanceof it)return e;if(e[gu])return e[gu]()}return e||n||t?new it(e,n,t):new it(Pi)}(t,i,r);if(o.add(s?s.call(o,this.source):this.source||zn.useDeprecatedSynchronousErrorHandling&&!o.syncErrorThrowable?this._subscribe(o):this._trySubscribe(o)),zn.useDeprecatedSynchronousErrorHandling&&o.syncErrorThrowable&&(o.syncErrorThrowable=!1,o.syncErrorThrown))throw o.syncErrorValue;return o}_trySubscribe(t){try{return this._subscribe(t)}catch(i){zn.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=i),function ua(e){for(;e;){const{closed:n,destination:t,isStopped:i}=e;if(n||i)return!1;e=t&&t instanceof it?t:null}return!0}(t)?t.error(i):console.warn(i)}}forEach(t,i){return new(i=vu(i))((r,s)=>{let o;o=this.subscribe(l=>{try{t(l)}catch(u){s(u),o&&o.unsubscribe()}},s,r)})}_subscribe(t){const{source:i}=this;return i&&i.subscribe(t)}[Ro](){return this}pipe(...t){return 0===t.length?this:_u(t)(this)}toPromise(t){return new(t=vu(t))((i,r)=>{let s;this.subscribe(o=>s=o,o=>r(o),()=>i(s))})}}return e.create=n=>new e(n),e})();function vu(e){if(e||(e=zn.Promise||Promise),!e)throw new Error("no Promise impl found");return e}const Hs=(()=>{function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e})();class g0 extends nt{constructor(n,t){super(),this.subject=n,this.subscriber=t,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const n=this.subject,t=n.observers;if(this.subject=null,!t||0===t.length||n.isStopped||n.closed)return;const i=t.indexOf(this.subscriber);-1!==i&&t.splice(i,1)}}class Em extends it{constructor(n){super(n),this.destination=n}}let ft=(()=>{class e extends dt{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[gu](){return new Em(this)}lift(t){const i=new Uf(this,this);return i.operator=t,i}next(t){if(this.closed)throw new Hs;if(!this.isStopped){const{observers:i}=this,r=i.length,s=i.slice();for(let o=0;o<r;o++)s[o].next(t)}}error(t){if(this.closed)throw new Hs;this.hasError=!0,this.thrownError=t,this.isStopped=!0;const{observers:i}=this,r=i.length,s=i.slice();for(let o=0;o<r;o++)s[o].error(t);this.observers.length=0}complete(){if(this.closed)throw new Hs;this.isStopped=!0;const{observers:t}=this,i=t.length,r=t.slice();for(let s=0;s<i;s++)r[s].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(t){if(this.closed)throw new Hs;return super._trySubscribe(t)}_subscribe(t){if(this.closed)throw new Hs;return this.hasError?(t.error(this.thrownError),nt.EMPTY):this.isStopped?(t.complete(),nt.EMPTY):(this.observers.push(t),new g0(this,t))}asObservable(){const t=new dt;return t.source=this,t}}return e.create=(n,t)=>new Uf(n,t),e})();class Uf extends ft{constructor(n,t){super(),this.destination=n,this.source=t}next(n){const{destination:t}=this;t&&t.next&&t.next(n)}error(n){const{destination:t}=this;t&&t.error&&this.destination.error(n)}complete(){const{destination:n}=this;n&&n.complete&&this.destination.complete()}_subscribe(n){const{source:t}=this;return t?this.source.subscribe(n):nt.EMPTY}}class _i extends ft{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){const t=super._subscribe(n);return t&&!t.closed&&n.next(this._value),t}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new Hs;return this._value}next(n){super.next(this._value=n)}}function xe(e,n){return function(i){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return i.lift(new m0(e,n))}}class m0{constructor(n,t){this.project=n,this.thisArg=t}call(n,t){return t.subscribe(new _0(n,this.project,this.thisArg))}}class _0 extends it{constructor(n,t,i){super(n),this.project=t,this.count=0,this.thisArg=i||this}_next(n){let t;try{t=this.project.call(this.thisArg,n,this.count++)}catch(i){return void this.destination.error(i)}this.destination.next(t)}}const Gf="https://g.co/ng/security#xss";class R extends Error{constructor(n,t){super(function fa(e,n){return`NG0${Math.abs(e)}${n?": "+n:""}`}(n,t)),this.code=n}}function ls(e){return{toString:e}.toString()}const pa="__parameters__";function ma(e,n,t){return ls(()=>{const i=function zf(e){return function(...t){if(e){const i=e(...t);for(const r in i)this[r]=i[r]}}}(n);function r(...s){if(this instanceof r)return i.apply(this,s),this;const o=new r(...s);return l.annotation=o,l;function l(u,d,h){const p=u.hasOwnProperty(pa)?u[pa]:Object.defineProperty(u,pa,{value:[]})[pa];for(;p.length<=h;)p.push(null);return(p[h]=p[h]||[]).push(o),u}}return t&&(r.prototype=Object.create(t.prototype)),r.prototype.ngMetadataName=e,r.annotationCls=r,r})}const Ct=globalThis;function at(e){for(let n in e)if(e[n]===at)return n;throw Error("Could not find renamed property on target object.")}function y0(e,n){for(const t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function Xt(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Xt).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 _a(e,n){return null==e||""===e?null===n?"":n:null==n||""===n?e:e+" "+n}const Du=at({__forward_ref__:at});function rt(e){return e.__forward_ref__=rt,e.toString=function(){return Xt(this())},e}function ve(e){return wu(e)?e():e}function wu(e){return"function"==typeof e&&e.hasOwnProperty(Du)&&e.__forward_ref__===rt}function js(e,n,t){e!=n&&function de(e,n,t,i){throw new Error(`ASSERTION ERROR: ${e}`+(null==i?"":` [Expected=> ${t} ${i} ${n} <=Actual]`))}(t,e,n,"==")}function U(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function We(e){return{providers:e.providers||[],imports:e.imports||[]}}function cs(e){return Wf(e,Fl)||Wf(e,qf)}function Wf(e,n){return e.hasOwnProperty(n)?e[n]:null}function Pl(e){return e&&(e.hasOwnProperty(Eu)||e.hasOwnProperty(I0))?e[Eu]:null}const Fl=at({\u0275prov:at}),Eu=at({\u0275inj:at}),qf=at({ngInjectableDef:at}),I0=at({ngInjectorDef:at});class q{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=U({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Qf(e){return e&&!!e.\u0275providers}const kl=at({\u0275cmp:at}),gt=at({\u0275dir:at}),ht=at({\u0275pipe:at}),Fm=at({\u0275mod:at}),us=at({\u0275fac:at}),Ll=at({__NG_ELEMENT_ID__:at}),km=at({__NG_ENV_ID__:at});function Te(e){return"string"==typeof e?e:null==e?"":String(e)}function Su(e,n){throw new R(-201,!1)}var Pe=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}(Pe||{});let oi;function Xf(){return oi}function Wn(e){const n=oi;return oi=e,n}function Kf(e,n,t){const i=cs(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:t&Pe.Optional?null:void 0!==n?n:void Su()}const va={},qn="__NG_DI_FLAG__",Tu="ngTempTokenPath",F0=/\n/gm,ds="__source";let fs;function Qe(e){const n=fs;return fs=e,n}function $s(e,n=Pe.Default){if(void 0===fs)throw new R(-203,!1);return null===fs?Kf(e,void 0,n):fs.get(e,n&Pe.Optional?null:void 0,n)}function ee(e,n=Pe.Default){return(Xf()||$s)(ve(e),n)}function S(e,n=Pe.Default){return ee(e,Mu(n))}function Mu(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function th(e){const n=[];for(let t=0;t<e.length;t++){const i=ve(e[t]);if(Array.isArray(i)){if(0===i.length)throw new R(900,!1);let r,s=Pe.Default;for(let o=0;o<i.length;o++){const l=i[o],u=Vm(l);"number"==typeof u?-1===u?r=l.token:s|=u:r=l}n.push(ee(r,s))}else n.push(ee(i))}return n}function Vl(e,n){return e[qn]=n,e.prototype[qn]=n,e}function Vm(e){return e[qn]}const Hl=Vl(ma("Optional"),8),ba=Vl(ma("SkipSelf"),4);function Us(e,n){return e.hasOwnProperty(us)?e[us]:null}function Gs(e,n){e.forEach(t=>Array.isArray(t)?Gs(t,n):n(t))}function jm(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function jl(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function vi(e,n,t){let i=Da(e,n);return i>=0?e[1|i]=t:(i=~i,function ih(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 rh(e,n){const t=Da(e,n);if(t>=0)return e[1|t]}function Da(e,n){return function $m(e,n,t){let i=0,r=e.length>>t;for(;r!==i;){const s=i+(r-i>>1),o=e[s<<t];if(n===o)return s<<t;o>n?r=s:i=s+1}return~(r<<t)}(e,n,1)}const Jn={},Ge=[],Rr=new q(""),Au=new q("",-1),Ou=new q("");class ar{get(n,t=va){if(t===va){const i=new Error(`NullInjectorError: No provider for ${Xt(n)}!`);throw i.name="NullInjectorError",i}return t}}var xo=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(xo||{}),lr=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(lr||{}),zs=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(zs||{});function V0(e,n,t){let i=e.length;for(;;){const r=e.indexOf(n,t);if(-1===r)return r;if(0===r||e.charCodeAt(r-1)<=32){const s=n.length;if(r+s===i||e.charCodeAt(r+s)<=32)return r}t=r+1}}function Ws(e,n,t){let i=0;for(;i<t.length;){const r=t[i];if("number"==typeof r){if(0!==r)break;i++;const s=t[i++],o=t[i++],l=t[i++];e.setAttribute(n,o,l,s)}else{const s=r,o=t[++i];sh(s)?e.setProperty(n,s,o):e.setAttribute(n,s,o),i++}}return i}function ki(e){return 3===e||4===e||6===e}function sh(e){return 64===e.charCodeAt(0)}function Ul(e,n){if(null!==n&&0!==n.length)if(null===e||0===e.length)e=n.slice();else{let t=-1;for(let i=0;i<n.length;i++){const r=n[i];"number"==typeof r?t=r:0===t||Um(e,t,r,null,-1===t||2===t?n[++i]:null)}}return e}function Um(e,n,t,i,r){let s=0,o=e.length;if(-1===n)o=-1;else for(;s<e.length;){const l=e[s++];if("number"==typeof l){if(l===n){o=-1;break}if(l>n){o=s-1;break}}}for(;s<e.length;){const l=e[s];if("number"==typeof l)break;if(l===t){if(null===i)return void(null!==r&&(e[s+1]=r));if(i===e[s+1])return void(e[s+2]=r)}s++,null!==i&&s++,null!==r&&s++}-1!==o&&(e.splice(o,0,n),s=o+1),e.splice(s++,0,t),null!==i&&e.splice(s++,0,i),null!==r&&e.splice(s++,0,r)}const Gm="ng-template";function H0(e,n,t,i){let r=0;if(i){for(;r<n.length&&"string"==typeof n[r];r+=2)if("class"===n[r]&&-1!==V0(n[r+1].toLowerCase(),t,0))return!0}else if(oh(e))return!1;if(r=n.indexOf(1,r),r>-1){let s;for(;++r<n.length&&"string"==typeof(s=n[r]);)if(s.toLowerCase()===t)return!0}return!1}function oh(e){return 4===e.type&&e.value!==Gm}function Ru(e,n,t){return n===(4!==e.type||t?e.value:Gm)}function N(e,n,t){let i=4;const r=e.attrs,s=null!==r?function Xe(e){for(let n=0;n<e.length;n++)if(ki(e[n]))return n;return e.length}(r):0;let o=!1;for(let l=0;l<n.length;l++){const u=n[l];if("number"!=typeof u){if(!o)if(4&i){if(i=2|1&i,""!==u&&!Ru(e,u,t)||""===u&&1===n.length){if(F(i))return!1;o=!0}}else if(8&i){if(null===r||!H0(e,r,u,t)){if(F(i))return!1;o=!0}}else{const d=n[++l],h=x(u,r,oh(e),t);if(-1===h){if(F(i))return!1;o=!0;continue}if(""!==d){let p;if(p=h>s?"":r[h+1].toLowerCase(),2&i&&d!==p){if(F(i))return!1;o=!0}}}}else{if(!o&&!F(i)&&!F(u))return!1;if(o&&F(u))continue;o=!1,i=u|1&i}}return F(i)||o}function F(e){return!(1&e)}function x(e,n,t,i){if(null===n)return-1;let r=0;if(i||!t){let s=!1;for(;r<n.length;){const o=n[r];if(o===e)return r;if(3===o||6===o)s=!0;else{if(1===o||2===o){let l=n[++r];for(;"string"==typeof l;)l=n[++r];continue}if(4===o)break;if(0===o){r+=4;continue}}r+=s?1:2}return-1}return function Kt(e,n){let t=e.indexOf(4);if(t>-1)for(t++;t<e.length;){const i=e[t];if("number"==typeof i)return-1;if(i===n)return t;t++}return-1}(n,e)}function te(e,n,t=!1){for(let i=0;i<n.length;i++)if(N(e,n[i],t))return!0;return!1}function mt(e,n){e:for(let t=0;t<n.length;t++){const i=n[t];if(e.length===i.length){for(let r=0;r<e.length;r++)if(e[r]!==i[r])continue e;return!0}}return!1}function xu(e,n){return e?":not("+n.trim()+")":n}function j0(e){let n=e[0],t=1,i=2,r="",s=!1;for(;t<e.length;){let o=e[t];if("string"==typeof o)if(2&i){const l=e[++t];r+="["+o+(l.length>0?'="'+l+'"':"")+"]"}else 8&i?r+="."+o:4&i&&(r+=" "+o);else""!==r&&!F(o)&&(n+=xu(s,r),r=""),i=o,s=s||!F(i);t++}return""!==r&&(n+=xu(s,r)),n}function Yn(e){return ls(()=>{const n=hs(e),t={...n,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===xo.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||lr.Emulated,styles:e.styles||Ge,_:null,schemas:e.schemas||null,tView:null,id:""};Gl(t);const i=e.dependencies;return t.directiveDefs=zl(i,!1),t.pipeDefs=zl(i,!0),t.id=function zm(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 wa(e){return Ne(e)||en(e)}function Fu(e){return null!==e}function qe(e){return ls(()=>({type:e.type,bootstrap:e.bootstrap||Ge,declarations:e.declarations||Ge,imports:e.imports||Ge,exports:e.exports||Ge,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function st(e,n){if(null==e)return Jn;const t={};for(const i in e)if(e.hasOwnProperty(i)){const r=e[i];let s,o,l=zs.None;Array.isArray(r)?(l=r[0],s=r[1],o=r[2]??s):(s=r,o=r),n?(t[s]=l!==zs.None?[i,l]:i,n[s]=o):t[s]=i}return t}function J(e){return ls(()=>{const n=hs(e);return Gl(n),n})}function On(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 Ne(e){return e[kl]||null}function en(e){return e[gt]||null}function mn(e){return e[ht]||null}function tn(e,n){const t=e[Fm]||null;if(!t&&!0===n)throw new Error(`Type ${Xt(e)} does not have '\u0275mod' property.`);return t}function hs(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||Jn,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||Ge,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:st(e.inputs,n),outputs:st(e.outputs),debugInfo:null}}function Gl(e){e.features?.forEach(n=>n(e))}function zl(e,n){if(!e)return null;const t=n?mn:wa;return()=>("function"==typeof e?e():e).map(i=>t(i)).filter(Fu)}function Lu(...e){return{\u0275providers:Bu(0,e),\u0275fromNgModule:!0}}function Bu(e,...n){const t=[],i=new Set;let r;const s=o=>{t.push(o)};return Gs(n,o=>{const l=o;xr(l,s,[],i)&&(r||=[],r.push(l))}),void 0!==r&&Ca(r,s),t}function Ca(e,n){for(let t=0;t<e.length;t++){const{ngModule:i,providers:r}=e[t];lh(r,s=>{n(s,i)})}}function xr(e,n,t,i){if(!(e=ve(e)))return!1;let r=null,s=Pl(e);const o=!s&&Ne(e);if(s||o){if(o&&!o.standalone)return!1;r=e}else{const u=e.ngModule;if(s=Pl(u),!s)return!1;r=u}const l=i.has(r);if(o){if(l)return!1;if(i.add(r),o.dependencies){const u="function"==typeof o.dependencies?o.dependencies():o.dependencies;for(const d of u)xr(d,n,t,i)}}else{if(!s)return!1;{if(null!=s.imports&&!l){let d;i.add(r);try{Gs(s.imports,h=>{xr(h,n,t,i)&&(d||=[],d.push(h))})}finally{}void 0!==d&&Ca(d,n)}if(!l){const d=Us(r)||(()=>new r);n({provide:r,useFactory:d,deps:Ge},r),n({provide:Ou,useValue:r,multi:!0},r),n({provide:Rr,useValue:()=>ee(r),multi:!0},r)}const u=s.providers;if(null!=u&&!l){const d=e;lh(u,h=>{n(h,d)})}}}return r!==e&&void 0!==e.providers}function lh(e,n){for(let t of e)Qf(t)&&(t=t.\u0275providers),Array.isArray(t)?lh(t,n):n(t)}const $0=at({provide:String,useValue:at});function ch(e){return null!==e&&"object"==typeof e&&$0 in e}function ps(e){return"function"==typeof e}const Vu=new q(""),Hu={},G0={};let Wt;function nn(){return void 0===Wt&&(Wt=new ar),Wt}class _n{}class Sa extends _n{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,Ia(n,o=>this.processProvider(o)),this.records.set(Au,Js(void 0,this)),r.has("environment")&&this.records.set(_n,Js(void 0,this));const s=this.records.get(Vu);null!=s&&"string"==typeof s.value&&this.scopes.add(s.value),this.injectorDefTypes=new Set(this.get(Ou,Ge,Pe.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const n=me(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(),me(n)}}onDestroy(n){return this.assertNotDestroyed(),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){this.assertNotDestroyed();const t=Qe(this),i=Wn(void 0);try{return n()}finally{Qe(t),Wn(i)}}get(n,t=va,i=Pe.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(km))return n[km](this);i=Mu(i);const s=Qe(this),o=Wn(void 0);try{if(!(i&Pe.SkipSelf)){let u=this.records.get(n);if(void 0===u){const d=function Yl(e){return"function"==typeof e||"object"==typeof e&&e instanceof q}(n)&&cs(n);u=d&&this.injectableDefInScope(d)?Js(ju(n),Hu):null,this.records.set(n,u)}if(null!=u)return this.hydrate(n,u)}return(i&Pe.Self?nn():this.parent).get(n,t=i&Pe.Optional&&t===va?null:t)}catch(l){if("NullInjectorError"===l.name){if((l[Tu]=l[Tu]||[]).unshift(Xt(n)),s)throw l;return function Iu(e,n,t,i){const r=e[Tu];throw n[ds]&&r.unshift(n[ds]),e.message=function ya(e,n,t,i=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let r=Xt(n);if(Array.isArray(n))r=n.map(Xt).join(" -> ");else if("object"==typeof n){let s=[];for(let o in n)if(n.hasOwnProperty(o)){let l=n[o];s.push(o+":"+("string"==typeof l?JSON.stringify(l):Xt(l)))}r=`{${s.join(", ")}}`}return`${t}${i?"("+i+")":""}[${r}]: ${e.replace(F0,"\n  ")}`}("\n"+e.message,r,t,i),e.ngTokenPath=r,e[Tu]=null,e}(l,n,"R3InjectorError",this.source)}throw l}finally{Wn(o),Qe(s)}}resolveInjectorInitializers(){const n=me(null),t=Qe(this),i=Wn(void 0);try{const s=this.get(Rr,Ge,Pe.Self);for(const o of s)o()}finally{Qe(t),Wn(i),me(n)}}toString(){const n=[],t=this.records;for(const i of t.keys())n.push(Xt(i));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new R(205,!1)}processProvider(n){let t=ps(n=ve(n))?n:ve(n&&n.provide);const i=function uh(e){return ch(e)?Js(void 0,e.useValue):Js(Ta(e),Hu)}(n);if(!ps(n)&&!0===n.multi){let r=this.records.get(t);r||(r=Js(void 0,Hu,!0),r.factory=()=>th(r.multi),this.records.set(t,r)),t=n,r.multi.push(n)}this.records.set(t,i)}hydrate(n,t){const i=me(null);try{return t.value===Hu&&(t.value=G0,t.value=t.factory()),"object"==typeof t.value&&t.value&&function Jl(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{me(i)}}injectableDefInScope(n){if(!n.providedIn)return!1;const t=ve(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 ju(e){const n=cs(e),t=null!==n?n.factory:Us(e);if(null!==t)return t;if(e instanceof q)throw new R(204,!1);if(e instanceof Function)return function z0(e){if(e.length>0)throw new R(204,!1);const t=function M0(e){return e&&(e[Fl]||e[qf])||null}(e);return null!==t?()=>t.factory(e):()=>new e}(e);throw new R(204,!1)}function Ta(e,n,t){let i;if(ps(e)){const r=ve(e);return Us(r)||ju(r)}if(ch(e))i=()=>ve(e.useValue);else if(function ql(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...th(e.deps||[]));else if(function Wl(e){return!(!e||!e.useExisting)}(e))i=()=>ee(ve(e.useExisting));else{const r=ve(e&&(e.useClass||e.provide));if(!function Ma(e){return!!e.deps}(e))return Us(r)||ju(r);i=()=>new r(...th(e.deps))}return i}function Js(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function Ia(e,n){for(const t of e)Array.isArray(t)?Ia(t,n):t&&Qf(t)?Ia(t.\u0275providers,n):n(t)}function Zn(e,n){e instanceof Sa&&e.assertNotDestroyed();const i=Qe(e),r=Wn(void 0);try{return n()}finally{Qe(i),Wn(r)}}function Wm(){return void 0!==Xf()||null!=function eh(){return fs}()}function $u(e){if(!Wm())throw new R(-203,!1)}const At=0,W=1,le=2,Jt=3,cr=4,St=5,Qn=6,Ra=7,bt=8,Yt=9,Fr=10,ae=11,Zl=12,Jm=13,xa=14,Ot=15,Po=16,Vi=17,gs=18,Pa=19,Hi=20,Ys=21,Gu=22,ji=23,se=25,fh=1,ur=7,ka=9,Ft=10;var Zs=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Zs||{});function Ht(e){return Array.isArray(e)&&"object"==typeof e[fh]}function Rn(e){return Array.isArray(e)&&!0===e[fh]}function Wu(e){return!!(4&e.flags)}function Fo(e){return e.componentOffset>-1}function $i(e){return!(1&~e.flags)}function yi(e){return!!e.template}function dr(e){return!!(512&e[le])}class _h{constructor(n,t,i){this.previousValue=n,this.currentValue=t,this.firstChange=i}isFirstChange(){return this.firstChange}}function Xm(e,n,t,i){null!==n?n.applyValueToInputSignal(n,i):e[t]=i}function jt(){return vh}function vh(e){return e.type.prototype.ngOnChanges&&(e.setInput=tD),eD}function eD(){const e=Km(this),n=e?.current;if(n){const t=e.previous;if(t===Jn)e.previous=n;else for(let i in n)t[i]=n[i];e.current=null,this.ngOnChanges(n)}}function tD(e,n,t,i,r){const s=this.declaredInputs[i],o=Km(e)||function nD(e,n){return e[Ba]=n}(e,{previous:Jn,current:null}),l=o.current||(o.current={}),u=o.previous,d=u[s];l[s]=new _h(d&&d.currentValue,t,u===Jn),Xm(e,n,r,t)}jt.ngInherit=!0;const Ba="__ngSimpleChanges__";function Km(e){return e[Ba]||null}const Lr=function(e,n,t){};function Ue(e){for(;Array.isArray(e);)e=e[At];return e}function ec(e,n){return Ue(n[e])}function vn(e,n){return Ue(n[e.index])}function Va(e,n){return e.data[n]}function Qs(e,n){return e[n]}function Fn(e,n){const t=n[e];return Ht(t)?t:t[At]}function Ju(e){return!(128&~e[le])}function Ui(e,n){return null==n?null:e[n]}function yh(e){e[Vi]=0}function s_(e){1024&e[le]||(e[le]|=1024,Ju(e)&&Zu(e))}function tc(e){return!!(9216&e[le]||e[ji]?.dirty)}function nc(e){e[Fr].changeDetectionScheduler?.notify(8),64&e[le]&&(e[le]|=1024),tc(e)&&Zu(e)}function Zu(e){e[Fr].changeDetectionScheduler?.notify(0);let n=_s(e);for(;null!==n&&!(8192&n[le])&&(n[le]|=8192,Ju(n));)n=_s(n)}function Ha(e,n){if(!(256&~e[le]))throw new R(911,!1);null===e[Ys]&&(e[Ys]=[]),e[Ys].push(n)}function _s(e){const n=e[Jt];return Rn(n)?n[Jt]:n}const be={lFrame:Ch(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let o_=!1;function Ku(){return be.bindingsEnabled}function Ks(){return null!==be.skipHydrationRootTNode}function P(){return be.lFrame.lView}function Re(){return be.lFrame.tView}function He(e){return be.lFrame.contextLView=e,e[bt]}function $e(e){return be.lFrame.contextLView=null,e}function Ke(){let e=ed();for(;null!==e&&64===e.type;)e=e.parent;return e}function ed(){return be.lFrame.currentTNode}function zi(){const e=be.lFrame,n=e.currentTNode;return e.isParent?n:n.parent}function fr(e,n){const t=be.lFrame;t.currentTNode=e,t.isParent=n}function Br(){return be.lFrame.isParent}function td(){be.lFrame.isParent=!1}function d_(){return o_}function wh(e){o_=e}function kn(){const e=be.lFrame;let n=e.bindingRootIndex;return-1===n&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function Wi(){return be.lFrame.bindingIndex++}function $t(e){const n=be.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function f_(e){be.lFrame.inI18n=e}function sD(e,n){const t=be.lFrame;t.bindingIndex=t.bindingRootIndex=e,to(n)}function to(e){be.lFrame.currentDirectiveIndex=e}function id(e){const n=be.lFrame.currentDirectiveIndex;return-1===n?null:e[n]}function rd(){return be.lFrame.currentQueryIndex}function sd(e){be.lFrame.currentQueryIndex=e}function h_(e){const n=e[W];return 2===n.type?n.declTNode:1===n.type?e[St]:null}function ko(e,n,t){if(t&Pe.SkipSelf){let r=n,s=e;for(;!(r=r.parent,null!==r||t&Pe.Host||(r=h_(s),null===r||(s=s[xa],10&r.type))););if(null===r)return!1;n=r,e=s}const i=be.lFrame=p_();return i.currentTNode=n,i.lView=e,!0}function Lo(e){const n=p_(),t=e[W];be.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function p_(){const e=be.lFrame,n=null===e?null:e.child;return null===n?Ch(e):n}function Ch(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 Sh(){const e=be.lFrame;return be.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const ic=Sh;function od(){const e=Sh();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 rn(){return be.lFrame.selectedIndex}function Hr(e){be.lFrame.selectedIndex=e}function Dt(){const e=be.lFrame;return Va(e.tView,e.selectedIndex)}let Mh=!0;function wi(){return Mh}function hr(e){Mh=e}function cd(e,n){for(let t=n.directiveStart,i=n.directiveEnd;t<i;t++){const s=e.data[t].type.prototype,{ngAfterContentInit:o,ngAfterContentChecked:l,ngAfterViewInit:u,ngAfterViewChecked:d,ngOnDestroy:h}=s;o&&(e.contentHooks??=[]).push(-t,o),l&&((e.contentHooks??=[]).push(t,l),(e.contentCheckHooks??=[]).push(t,l)),u&&(e.viewHooks??=[]).push(-t,u),d&&((e.viewHooks??=[]).push(t,d),(e.viewCheckHooks??=[]).push(t,d)),null!=h&&(e.destroyHooks??=[]).push(t,h)}}function rc(e,n,t){jr(e,n,3,t)}function ud(e,n,t,i){(3&e[le])===t&&jr(e,n,t,i)}function Ih(e,n){let t=e[le];(3&t)===n&&(t&=16383,t+=1,e[le]=t)}function jr(e,n,t,i){const s=i??-1,o=n.length-1;let l=0;for(let u=void 0!==i?65535&e[Vi]:0;u<o;u++)if("number"==typeof n[u+1]){if(l=n[u],null!=i&&l>=i)break}else n[u]<0&&(e[Vi]+=65536),(l<s||-1==s)&&(Nh(e,t,n,u),e[Vi]=(4294901760&e[Vi])+u+2),u++}function dd(e,n){Lr(4,e,n);const t=me(null);try{n.call(e)}finally{me(t),Lr(5,e,n)}}function Nh(e,n,t,i){const r=t[i]<0,s=t[i+1],l=e[r?-t[i]:t[i]];r?e[le]>>14<e[Vi]>>16&&(3&e[le])===n&&(e[le]+=16384,dd(l,s)):dd(l,s)}const no=-1;class io{constructor(n,t,i){this.factory=n,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=i}}const un={};class Vo{constructor(n,t){this.injector=n,this.parentInjector=t}get(n,t,i){i=Mu(i);const r=this.injector.get(n,un,i);return r!==un||t===un?r:this.parentInjector.get(n,t,i)}}function Oh(e){return e!==no}function $a(e){return 32767&e}function Ua(e,n){let t=function lD(e){return e>>16}(e),i=n;for(;t>0;)i=i[xa],t--;return i}let Rh=!0;function fd(e){const n=Rh;return Rh=e,n}const Ln=255,hd=5;let uD=0;const qi={};function pd(e,n){const t=xh(e,n);if(-1!==t)return t;const i=n[W];i.firstCreatePass&&(e.injectorIndex=n.length,Ho(i.data,e),Ho(n,null),Ho(i.blueprint,null));const r=oc(e,n),s=e.injectorIndex;if(Oh(r)){const o=$a(r),l=Ua(r,n),u=l[W].data;for(let d=0;d<8;d++)n[s+d]=l[o+d]|u[o+d]}return n[s+8]=r,s}function Ho(e,n){e.push(0,0,0,0,0,0,0,0,n)}function xh(e,n){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===n[e.injectorIndex+8]?-1:e.injectorIndex}function oc(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=E_(r),null===i)return no;if(t++,r=r[xa],-1!==i.injectorIndex)return i.injectorIndex|t<<16}return no}function Ph(e,n,t){!function dD(e,n,t){let i;"string"==typeof t?i=t.charCodeAt(0)||0:t.hasOwnProperty(Ll)&&(i=t[Ll]),null==i&&(i=t[Ll]=uD++);const r=i&Ln;n.data[e+(r>>hd)]|=1<<r}(e,n,t)}function b_(e,n,t){if(t&Pe.Optional||void 0!==e)return e;Su()}function D_(e,n,t,i){if(t&Pe.Optional&&void 0===i&&(i=null),!(t&(Pe.Self|Pe.Host))){const r=e[Yt],s=Wn(void 0);try{return r?r.get(n,i,t&Pe.Optional):Kf(n,i,t&Pe.Optional)}finally{Wn(s)}}return b_(i,0,t)}function Fh(e,n,t,i=Pe.Default,r){if(null!==e){if(2048&n[le]&&!(i&Pe.Self)){const o=function w_(e,n,t,i,r){let s=e,o=n;for(;null!==s&&null!==o&&2048&o[le]&&!(512&o[le]);){const l=kh(s,o,t,i|Pe.Self,qi);if(l!==qi)return l;let u=s.parent;if(!u){const d=o[Hi];if(d){const h=d.get(t,qi,i);if(h!==qi)return h}u=E_(o),o=o[xa]}s=u}return r}(e,n,t,i,qi);if(o!==qi)return o}const s=kh(e,n,t,i,qi);if(s!==qi)return s}return D_(n,t,i,r)}function kh(e,n,t,i,r){const s=function ac(e){if("string"==typeof e)return e.charCodeAt(0)||0;const n=e.hasOwnProperty(Ll)?e[Ll]:void 0;return"number"==typeof n?n>=0?n&Ln:$r:n}(t);if("function"==typeof s){if(!ko(n,e,i))return i&Pe.Host?b_(r,0,i):D_(n,t,i,r);try{let o;if(o=s(i),null!=o||i&Pe.Optional)return o;Su()}finally{ic()}}else if("number"==typeof s){let o=null,l=xh(e,n),u=no,d=i&Pe.Host?n[Ot][St]:null;for((-1===l||i&Pe.SkipSelf)&&(u=-1===l?oc(e,n):n[l+8],u!==no&&Lh(i,!1)?(o=n[W],l=$a(u),n=Ua(u,n)):l=-1);-1!==l;){const h=n[W];if(gd(s,l,h.data)){const p=hD(l,n,t,o,i,d);if(p!==qi)return p}u=n[l+8],u!==no&&Lh(i,n[W].data[l+8]===d)&&gd(s,l,n)?(o=h,l=$a(u),n=Ua(u,n)):l=-1}}return r}function hD(e,n,t,i,r,s){const o=n[W],l=o.data[e+8],h=Ga(l,o,t,null==i?Fo(l)&&Rh:i!=o&&!!(3&l.type),r&Pe.Host&&s===l);return null!==h?so(n,o,h,l):qi}function Ga(e,n,t,i,r){const s=e.providerIndexes,o=n.data,l=1048575&s,u=e.directiveStart,h=s>>20,m=r?l+h:e.directiveEnd;for(let v=i?l:l+h;v<m;v++){const b=o[v];if(v<u&&t===b||v>=u&&b.type===t)return v}if(r){const v=o[u];if(v&&yi(v)&&v.type===t)return u}return null}function so(e,n,t,i){let r=e[t];const s=n.data;if(function ja(e){return e instanceof io}(r)){const o=r;o.resolving&&function gn(e,n){throw n&&n.join(" > "),new R(-200,e)}(function Ze(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Te(e)}(s[t]));const l=fd(o.canSeeViewProviders);o.resolving=!0;const d=o.injectImpl?Wn(o.injectImpl):null;ko(e,i,Pe.Default);try{r=e[t]=o.factory(void 0,s,e,i),n.firstCreatePass&&t>=i.directiveStart&&function v_(e,n,t){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:s}=n.type.prototype;if(i){const o=vh(n);(t.preOrderHooks??=[]).push(e,o),(t.preOrderCheckHooks??=[]).push(e,o)}r&&(t.preOrderHooks??=[]).push(0-e,r),s&&((t.preOrderHooks??=[]).push(e,s),(t.preOrderCheckHooks??=[]).push(e,s))}(t,s[t],n)}finally{null!==d&&Wn(d),fd(l),o.resolving=!1,ic()}}return r}function gd(e,n,t){return!!(t[n+(e>>hd)]&1<<e)}function Lh(e,n){return!(e&Pe.Self||e&Pe.Host&&n)}class Zt{constructor(n,t){this._tNode=n,this._lView=t}get(n,t,i){return Fh(this._tNode,this._lView,n,Mu(i),t)}}function $r(){return new Zt(Ke(),P())}function Je(e){return ls(()=>{const n=e.prototype.constructor,t=n[us]||Bh(n),i=Object.prototype;let r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==i;){const s=r[us]||Bh(r);if(s&&s!==t)return s;r=Object.getPrototypeOf(r)}return s=>new s})}function Bh(e){return wu(e)?()=>{const n=Bh(ve(e));return n&&n()}:Us(e)}function E_(e){const n=e[W],t=n.type;return 2===t?n.declTNode:1===t?e[St]:null}function N_(e,n=null,t=null,i){const r=jh(e,n,t,i);return r.resolveInjectorInitializers(),r}function jh(e,n=null,t=null,i,r=new Set){const s=[t||Ge,Lu(e)];return i=i||("object"==typeof e?void 0:Xt(e)),new Sa(s,n||nn(),i||null,r)}class lt{static{this.THROW_IF_NOT_FOUND=va}static{this.NULL=new ar}static create(n,t){if(Array.isArray(n))return N_({name:""},t,n,"");{const i=n.name??"";return N_({name:i},n.parent,n.providers,i)}}static{this.\u0275prov=U({token:lt,providedIn:"any",factory:()=>ee(Au)})}static{this.__NG_ELEMENT_ID__=-1}}new q("").__NG_ELEMENT_ID__=e=>{const n=Ke();if(null===n)throw new R(204,!1);if(2&n.type)return n.value;if(e&Pe.Optional)return null;throw new R(204,!1)};function ai(e){return e.ngOriginalError}const O_=!0;let bs=(()=>{class e{static{this.__NG_ELEMENT_ID__=R_}static{this.__NG_ENV_ID__=t=>t}}return e})();class bD extends bs{constructor(n){super(),this._lView=n}onDestroy(n){return Ha(this._lView,n),()=>function Oe(e,n){if(null===e[Ys])return;const t=e[Ys].indexOf(n);-1!==t&&e[Ys].splice(t,1)}(this._lView,n)}}function R_(){return new bD(P())}let Ds=(()=>{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{this.\u0275prov=U({token:e,providedIn:"root",factory:()=>new e})}}return e})();const ue=class DD extends ft{constructor(n=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=n,Wm()&&(this.destroyRef=S(bs,{optional:!0})??void 0,this.pendingTasks=S(Ds,{optional:!0})??void 0)}emit(n){const t=me(null);try{super.next(n)}finally{me(t)}}subscribe(n,t,i){let r=n,s=t||(()=>null),o=i;if(n&&"object"==typeof n){const u=n;r=u.next?.bind(u),s=u.error?.bind(u),o=u.complete?.bind(u)}this.__isAsync&&(s=this.wrapInTimeout(s),r&&(r=this.wrapInTimeout(r)),o&&(o=this.wrapInTimeout(o)));const l=super.subscribe({next:r,error:s,complete:o});return n instanceof nt&&n.add(l),l}wrapInTimeout(n){return t=>{const i=this.pendingTasks?.add();setTimeout(()=>{n(t),void 0!==i&&this.pendingTasks?.remove(i)})}}};function za(...e){}function x_(e){let n,t;function i(){e=za;try{void 0!==t&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(t),void 0!==n&&clearTimeout(n)}catch{}}return n=setTimeout(()=>{e(),i()}),"function"==typeof requestAnimationFrame&&(t=requestAnimationFrame(()=>{e(),i()})),()=>i()}function P_(e){return queueMicrotask(()=>e()),()=>{e=za}}const $h="isAngularZone",_d=$h+"_ID";let wD=0;class Ae{constructor(n){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ue(!1),this.onMicrotaskEmpty=new ue(!1),this.onStable=new ue(!1),this.onError=new ue(!1);const{enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:r=!1,scheduleInRootZone:s=O_}=n;if(typeof Zone>"u")throw new R(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&i,o.shouldCoalesceRunChangeDetection=r,o.callbackScheduled=!1,o.scheduleInRootZone=s,function SD(e){const n=()=>{!function CD(e){function n(){x_(()=>{e.callbackScheduled=!1,Gh(e),e.isCheckStableRunning=!0,Uh(e),e.isCheckStableRunning=!1})}e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,e.scheduleInRootZone?Zone.root.run(()=>{n()}):e._outer.run(()=>{n()}),Gh(e))}(e)},t=wD++;e._inner=e._inner.fork({name:"angular",properties:{[$h]:!0,[_d]:t,[_d+t]:!0},onInvokeTask:(i,r,s,o,l,u)=>{if(function TD(e){return L_(e,"__ignore_ng_zone__")}(u))return i.invokeTask(s,o,l,u);try{return F_(e),i.invokeTask(s,o,l,u)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||e.shouldCoalesceRunChangeDetection)&&n(),k_(e)}},onInvoke:(i,r,s,o,l,u,d)=>{try{return F_(e),i.invoke(s,o,l,u,d)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!function MD(e){return L_(e,"__scheduler_tick__")}(u)&&n(),k_(e)}},onHasTask:(i,r,s,o)=>{i.hasTask(s,o),r===s&&("microTask"==o.change?(e._hasPendingMicrotasks=o.microTask,Gh(e),Uh(e)):"macroTask"==o.change&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(i,r,s,o)=>(i.handleError(s,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get($h)}static assertInAngularZone(){if(!Ae.isInAngularZone())throw new R(909,!1)}static assertNotInAngularZone(){if(Ae.isInAngularZone())throw new R(909,!1)}run(n,t,i){return this._inner.run(n,t,i)}runTask(n,t,i,r){const s=this._inner,o=s.scheduleEventTask("NgZoneEvent: "+r,n,ED,za,za);try{return s.runTask(o,t,i)}finally{s.cancelTask(o)}}runGuarded(n,t,i){return this._inner.runGuarded(n,t,i)}runOutsideAngular(n){return this._outer.run(n)}}const ED={};function Uh(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 Gh(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&!0===e.callbackScheduled)}function F_(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function k_(e){e._nesting--,Uh(e)}class zh{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ue,this.onMicrotaskEmpty=new ue,this.onStable=new ue,this.onError=new ue}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 L_(e,n){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0]?.data?.[n]}class Ur{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&&ai(n);for(;t&&ai(t);)t=ai(t);return t||null}}const Wh=new q("",{providedIn:"root",factory:()=>{const e=S(Ae),n=S(Ur);return t=>e.runOutsideAngular(()=>n.handleError(t))}});function ND(){return Wa(Ke(),P())}function Wa(e,n){return new et(vn(e,n))}let et=(()=>{class e{constructor(t){this.nativeElement=t}static{this.__NG_ELEMENT_ID__=ND}}return e})();function Jh(e){return e instanceof et?e.nativeElement:e}function AD(){return this._results[Symbol.iterator]()}class qa{get changes(){return this._changes??=new ue}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=qa.prototype;t[Symbol.iterator]||(t[Symbol.iterator]=AD)}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 Nn(e){return e.flat(Number.POSITIVE_INFINITY)}(n);(this._changesDetected=!function L0(e,n,t){if(e.length!==n.length)return!1;for(let i=0;i<e.length;i++){let r=e[i],s=n[i];if(t&&(r=t(r),s=t(s)),s!==r)return!1}return!0}(this._results,i,t))&&(this._results=i,this.length=i.length,this.last=i[this.length-1],this.first=i[0])}notifyOnChanges(){void 0!==this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(n){this._onDirty=n}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){void 0!==this._changes&&(this._changes.complete(),this._changes.unsubscribe())}}function cc(e){return!(128&~e.flags)}const Zh=new Map;let RD=0;function Qh(e){Zh.delete(e[Pa])}const dc="__ngContext__";function Bn(e,n){Ht(n)?(e[dc]=n[Pa],function PD(e){Zh.set(e[Pa],e)}(n)):e[dc]=n}function hc(e){return ep(e[Zl])}function z_(e){return ep(e[cr])}function ep(e){for(;null!==e&&!Rn(e);)e=e[cr];return e}let op;function ao(){if(void 0!==op)return op;if(typeof document<"u")return document;throw new R(210,!1)}const Ya=new q("",{providedIn:"root",factory:()=>ZD}),ZD="ng",Y_=new q(""),ws=new q("",{providedIn:"platform",factory:()=>"unknown"}),Z_=new q(""),Q_=new q("",{providedIn:"root",factory:()=>ao().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let cp=()=>null;function up(e,n,t=!1){return cp(e,n,t)}const tv=new q("",{providedIn:"root",factory:()=>!1});let $o,wd;function rl(e){return function _p(){if(void 0===$o&&($o=null,Ct.trustedTypes))try{$o=Ct.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return $o}()?.createHTML(e)||e}function nv(e){return function vp(){if(void 0===wd&&(wd=null,Ct.trustedTypes))try{wd=Ct.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return wd}()?.createHTML(e)||e}class Uo{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Gf})`}}class c1 extends Uo{getTypeName(){return"HTML"}}class u1 extends Uo{getTypeName(){return"Style"}}class yp extends Uo{getTypeName(){return"Script"}}class d1 extends Uo{getTypeName(){return"URL"}}class bp extends Uo{getTypeName(){return"ResourceURL"}}function Ei(e){return e instanceof Uo?e.changingThisBreaksApplicationSecurity:e}function zr(e,n){const t=function f1(e){return e instanceof Uo&&e.getTypeName()||null}(e);if(null!=t&&t!==n){if("ResourceURL"===t&&"URL"===n)return!0;throw new Error(`Required a safe ${n}, got a ${t} (see ${Gf})`)}return t===n}function Dp(e){const n=new _1(e);return function v1(){try{return!!(new window.DOMParser).parseFromString(rl(""),"text/html")}catch{return!1}}()?new m1(n):n}class m1{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{const t=(new window.DOMParser).parseFromString(rl(n),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(n):(t.firstChild?.remove(),t)}catch{return null}}}class _1{constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){const t=this.inertDocument.createElement("template");return t.innerHTML=rl(n),t}}const sv=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Ed(e){return(e=String(e)).match(sv)?e:"unsafe:"+e}function Es(e){const n={};for(const t of e.split(","))n[t]=!0;return n}function yc(...e){const n={};for(const t of e)for(const i in t)t.hasOwnProperty(i)&&(n[i]=!0);return n}const wp=Es("area,br,col,hr,img,wbr"),Ep=Es("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),ov=Es("rp,rt"),lo=yc(wp,yc(Ep,Es("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),yc(ov,Es("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),yc(ov,Ep)),Cp=Es("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),av=yc(Cp,Es("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Es("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),y1=Es("script,style,template");class lv{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(n){let t=n.firstChild,i=!0,r=[];for(;t;)if(t.nodeType===Node.ELEMENT_NODE?i=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,i&&t.firstChild)r.push(t),t=D1(t);else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let s=b1(t);if(s){t=s;break}t=r.pop()}return this.buf.join("")}startElement(n){const t=uv(n).toLowerCase();if(!lo.hasOwnProperty(t))return this.sanitizedSomething=!0,!y1.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const i=n.attributes;for(let r=0;r<i.length;r++){const s=i.item(r),o=s.name,l=o.toLowerCase();if(!av.hasOwnProperty(l)){this.sanitizedSomething=!0;continue}let u=s.value;Cp[l]&&(u=Ed(u)),this.buf.push(" ",o,'="',fv(u),'"')}return this.buf.push(">"),!0}endElement(n){const t=uv(n).toLowerCase();lo.hasOwnProperty(t)&&!wp.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(n){this.buf.push(fv(n))}}function b1(e){const n=e.nextSibling;if(n&&e!==n.previousSibling)throw dv(n);return n}function D1(e){const n=e.firstChild;if(n&&function cv(e,n){return(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,n))throw dv(n);return n}function uv(e){const n=e.nodeName;return"string"==typeof n?n:"FORM"}function dv(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const w1=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,E1=/([^\#-~ |!])/g;function fv(e){return e.replace(/&/g,"&amp;").replace(w1,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(E1,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let Cd;function hv(e,n){let t=null;try{Cd=Cd||Dp(e);let i=n?String(n):"";t=Cd.getInertBodyElement(i);let r=5,s=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=s,s=t.innerHTML,t=Cd.getInertBodyElement(i)}while(i!==s);return rl((new lv).sanitizeChildren(Sp(t)||t))}finally{if(t){const i=Sp(t)||t;for(;i.firstChild;)i.firstChild.remove()}}}function Sp(e){return"content"in e&&function C1(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Ji=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(Ji||{});function pv(e){const n=Dc();return n?nv(n.sanitize(Ji.HTML,e)||""):zr(e,"HTML")?nv(Ei(e)):hv(ao(),Te(e))}function bc(e){const n=Dc();return n?n.sanitize(Ji.URL,e)||"":zr(e,"URL")?Ei(e):Ed(Te(e))}function Dc(){const e=P();return e&&e[Fr].sanitizer}const A1=/^>|^->|<!--|-->|--!>|<!-$/g,Tp=/(<|>)/g,_v="\u200b$1\u200b";function wv(e){return e.ownerDocument}function Kn(e){return e instanceof Function?e():e}function Si(e){return"browser"===(e??S(lt)).get(ws)}var uo=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(uo||{});let xp;function Pp(e,n){return xp(e,n)}function sl(e,n,t,i,r){if(null!=i){let s,o=!1;Rn(i)?s=i:Ht(i)&&(o=!0,i=i[At]);const l=Ue(i);0===e&&null!==t?null==r?Q(n,t,l):j(n,t,l,r||null,!0):1===e&&null!==t?j(n,t,l,r||null,!0):2===e?function ol(e,n,t){e.removeChild(null,n,t)}(n,l,o):3===e&&n.destroyNode(l),null!=s&&function HB(e,n,t,i,r){const s=t[ur];s!==Ue(t)&&sl(n,e,i,s,r);for(let l=Ft;l<t.length;l++){const u=t[l];Nv(u[W],u,e,n,i,s)}}(n,e,s,t,r)}}function Fp(e,n){return e.createText(n)}function kp(e,n){return e.createComment(function Mp(e){return e.replace(A1,n=>n.replace(Tp,_v))}(n))}function Md(e,n,t){return e.createElement(n,t)}function Iv(e,n){n[Fr].changeDetectionScheduler?.notify(9),Nv(e,n,n[ae],2,null,null)}function f(e,n){const t=e[ka],i=n[Jt];(Ht(i)||n[Ot]!==i[Jt][Ot])&&(e[le]|=Zs.HasTransplantedViews),null===t?e[ka]=[n]:t.push(n)}function g(e,n){const t=e[ka],i=t.indexOf(n);t.splice(i,1)}function _(e,n){if(e.length<=Ft)return;const t=Ft+n,i=e[t];if(i){const r=i[Po];null!==r&&r!==e&&g(r,i),n>0&&(e[t-1][cr]=i[cr]);const s=jl(e,Ft+n);!function V1(e,n){Iv(e,n),n[At]=null,n[St]=null}(i[W],i);const o=s[gs];null!==o&&o.detachView(s[W]),i[Jt]=null,i[cr]=null,i[le]&=-129}return i}function D(e,n){if(!(256&n[le])){const t=n[ae];t.destroyNode&&Nv(e,n,t,3,null,null),function a(e){let n=e[Zl];if(!n)return C(e[W],e);for(;n;){let t=null;if(Ht(n))t=n[Zl];else{const i=n[Ft];i&&(t=i)}if(!t){for(;n&&!n[cr]&&n!==e;)Ht(n)&&C(n[W],n),n=n[Jt];null===n&&(n=e),Ht(n)&&C(n[W],n),t=n&&n[cr]}n=t}}(n)}}function C(e,n){if(256&n[le])return;const t=me(null);try{n[le]&=-129,n[le]|=256,n[ji]&&Ls(n[ji]),function A(e,n){let t;if(null!=e&&null!=(t=e.destroyHooks))for(let i=0;i<t.length;i+=2){const r=n[t[i]];if(!(r instanceof io)){const s=t[i+1];if(Array.isArray(s))for(let o=0;o<s.length;o+=2){const l=r[s[o]],u=s[o+1];Lr(4,l,u);try{u.call(l)}finally{Lr(5,l,u)}}else{Lr(4,r,s);try{s.call(r)}finally{Lr(5,r,s)}}}}}(e,n),function T(e,n){const t=e.cleanup,i=n[Ra];if(null!==t)for(let s=0;s<t.length-1;s+=2)if("string"==typeof t[s]){const o=t[s+3];o>=0?i[o]():i[-o].unsubscribe(),s+=2}else t[s].call(i[t[s+1]]);null!==i&&(n[Ra]=null);const r=n[Ys];if(null!==r){n[Ys]=null;for(let s=0;s<r.length;s++)(0,r[s])()}}(e,n),1===n[W].type&&n[ae].destroy();const i=n[Po];if(null!==i&&Rn(n[Jt])){i!==n[Jt]&&g(i,n);const r=n[gs];null!==r&&r.detachView(e)}Qh(n)}finally{me(t)}}function L(e,n,t){return B(e,n.parent,t)}function B(e,n,t){let i=n;for(;null!==i&&168&i.type;)i=(n=i).parent;if(null===i)return t[At];{const{componentOffset:r}=i;if(r>-1){const{encapsulation:s}=e.data[i.directiveStart+r];if(s===lr.None||s===lr.Emulated)return null}return vn(i,t)}}function j(e,n,t,i,r){e.insertBefore(n,t,i,r)}function Q(e,n,t){e.appendChild(n,t)}function oe(e,n,t,i,r){null!==i?j(e,n,t,i,r):Q(e,n,t)}function fe(e,n){return e.parentNode(n)}function _e(e,n,t){return je(e,n,t)}function Be(e,n,t){return 40&e.type?vn(e,t):null}let ei,je=Be;function Hn(e,n){je=e,ei=n}function jn(e,n,t,i){const r=L(e,i,n),s=n[ae],l=_e(i.parent||n[St],i,n);if(null!=r)if(Array.isArray(t))for(let u=0;u<t.length;u++)oe(s,r,t[u],l,!1);else oe(s,r,t,l,!1);void 0!==ei&&ei(s,i,n,t,r)}function vt(e,n){if(null!==n){const t=n.type;if(3&t)return vn(n,e);if(4&t)return _r(-1,e[n.index]);if(8&t){const i=n.child;if(null!==i)return vt(e,i);{const r=e[n.index];return Rn(r)?_r(-1,r):Ue(r)}}if(128&t)return vt(e,n.next);if(32&t)return Pp(n,e)()||Ue(e[n.index]);{const i=Yi(e,n);return null!==i?Array.isArray(i)?i[0]:vt(_s(e[Ot]),i):vt(e,n.next)}}return null}function Yi(e,n){return null!==n?e[Ot][St].projection[n.projection]:null}function _r(e,n){const t=Ft+e+1;if(t<n.length){const i=n[t],r=i[W].firstChild;if(null!==r)return vt(i,r)}return n[ur]}function j1(e,n,t,i,r,s,o){for(;null!=t;){if(128===t.type){t=t.next;continue}const l=i[t.index],u=t.type;if(o&&0===n&&(l&&Bn(Ue(l),i),t.flags|=2),32&~t.flags)if(8&u)j1(e,n,t.child,i,r,s,!1),sl(n,e,r,l,s);else if(32&u){const d=Pp(t,i);let h;for(;h=d();)sl(n,e,r,h,s);sl(n,e,r,l,s)}else 16&u?NM(e,n,i,t,r,s):sl(n,e,r,l,s);t=o?t.projectionNext:t.next}}function Nv(e,n,t,i,r,s){j1(t,i,e.firstChild,n,r,s,!1)}function NM(e,n,t,i,r,s){const o=t[Ot],u=o[St].projection[i.projection];if(Array.isArray(u))for(let d=0;d<u.length;d++)sl(n,e,r,u[d],s);else{let d=u;const h=o[Jt];cc(i)&&(d.flags|=128),j1(e,n,d,h,r,s,!0)}}function AM(e,n,t){""===t?e.removeAttribute(n,"class"):e.setAttribute(n,"class",t)}function OM(e,n,t){const{mergedAttrs:i,classes:r,styles:s}=t;null!==i&&Ws(e,n,i),null!==r&&AM(e,n,r),null!==s&&function $B(e,n,t){e.setAttribute(n,"style",t)}(e,n,s)}const Ie={};function V(e=1){RM(Re(),P(),rn()+e,!1)}function RM(e,n,t,i){if(!i)if(3&~n[le]){const s=e.preOrderHooks;null!==s&&ud(n,s,0,t)}else{const s=e.preOrderCheckHooks;null!==s&&rc(n,s,t)}Hr(t)}function $(e,n=Pe.Default){const t=P();return null===t?ee(e,n):Fh(Ke(),t,ve(e),n)}function PM(e,n,t,i,r,s){const o=me(null);try{let l=null;r&zs.SignalBased&&(l=n[i][sr]),null!==l&&void 0!==l.transformFn&&(s=l.transformFn(s)),r&zs.HasDecoratorInputTransform&&(s=e.inputTransforms[i].call(n,s)),null!==e.setInput?e.setInput(n,l,s,t,i):Xm(n,l,i,s)}finally{me(o)}}function Av(e,n,t,i,r,s,o,l,u,d,h){const p=n.blueprint.slice();return p[At]=r,p[le]=204|i,(null!==d||e&&2048&e[le])&&(p[le]|=2048),yh(p),p[Jt]=p[xa]=e,p[bt]=t,p[Fr]=o||e&&e[Fr],p[ae]=l||e&&e[ae],p[Yt]=u||e&&e[Yt]||null,p[St]=s,p[Pa]=function xD(){return RD++}(),p[Qn]=h,p[Hi]=d,p[Ot]=2==n.type?e[Ot]:p,p}function wc(e,n,t,i,r){let s=e.data[n];if(null===s)s=$1(e,n,t,i,r),function Vr(){return be.lFrame.inI18n}()&&(s.flags|=32);else if(64&s.type){s.type=t,s.value=i,s.attrs=r;const o=zi();s.injectorIndex=null===o?-1:o.injectorIndex}return fr(s,!0),s}function $1(e,n,t,i,r){const s=ed(),o=Br(),u=e.data[n]=function ZB(e,n,t,i,r,s){let o=n?n.injectorIndex:-1,l=0;return Ks()&&(l|=128),{type:t,index:i,insertBeforeIndex:null,injectorIndex:o,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:l,providerIndexes:0,value:r,attrs:s,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,o?s:s&&s.parent,t,n,i,r);return null===e.firstChild&&(e.firstChild=u),null!==s&&(o?null==s.child&&null!==u.parent&&(s.child=u):null===s.next&&(s.next=u,u.prev=s)),u}function Lp(e,n,t,i){if(0===t)return-1;const r=n.length;for(let s=0;s<t;s++)n.push(i),e.blueprint.push(i),e.data.push(null);return r}function FM(e,n,t,i,r){const s=rn(),o=2&i;try{Hr(-1),o&&n.length>se&&RM(e,n,se,!1),Lr(o?2:0,r),t(i,r)}finally{Hr(s),Lr(o?3:1,r)}}function U1(e,n,t){if(Wu(n)){const i=me(null);try{const s=n.directiveEnd;for(let o=n.directiveStart;o<s;o++){const l=e.data[o];l.contentQueries&&l.contentQueries(1,t[o],o)}}finally{me(i)}}}function G1(e,n,t){Ku()&&(function i2(e,n,t,i){const r=t.directiveStart,s=t.directiveEnd;Fo(t)&&function u2(e,n,t){const i=vn(n,e),r=kM(t);let o=16;t.signals?o=4096:t.onPush&&(o=64);const l=Ov(e,Av(e,r,null,o,i,n,null,e[Fr].rendererFactory.createRenderer(i,t),null,null,null));e[n.index]=l}(n,t,e.data[r+t.componentOffset]),e.firstCreatePass||pd(t,n),Bn(i,n);const o=t.initialInputs;for(let l=r;l<s;l++){const u=e.data[l],d=so(n,e,l,t);Bn(d,n),null!==o&&d2(0,l-r,d,u,0,o),yi(u)&&(Fn(t.index,n)[bt]=so(n,e,l,t))}}(e,n,t,vn(t,n)),!(64&~t.flags)&&jM(e,n,t))}function z1(e,n,t=vn){const i=n.localNames;if(null!==i){let r=n.index+1;for(let s=0;s<i.length;s+=2){const o=i[s+1],l=-1===o?t(n,e):e[o];e[r++]=l}}}function kM(e){const n=e.tView;return null===n||n.incompleteFirstPass?e.tView=W1(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):n}function W1(e,n,t,i,r,s,o,l,u,d,h){const p=se+i,m=p+r,v=function GB(e,n){const t=[];for(let i=0;i<n;i++)t.push(i<e?null:Ie);return t}(p,m),b="function"==typeof d?d():d;return v[W]={type:e,blueprint:v,template:t,queries:null,viewQuery:l,declTNode:n,data:v.slice().fill(null,p),bindingStartIndex:p,expandoStartIndex:m,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof s?s():s,pipeRegistry:"function"==typeof o?o():o,firstChild:null,schemas:u,consts:b,incompleteFirstPass:!1,ssrId:h}}let LM=()=>null;function BM(e,n,t,i,r){for(let s in n){if(!n.hasOwnProperty(s))continue;const o=n[s];if(void 0===o)continue;i??={};let l,u=zs.None;Array.isArray(o)?(l=o[0],u=o[1]):l=o;let d=s;if(null!==r){if(!r.hasOwnProperty(s))continue;d=r[s]}0===e?VM(i,t,d,l,u):VM(i,t,d,l)}return i}function VM(e,n,t,i,r){let s;e.hasOwnProperty(t)?(s=e[t]).push(n,i):s=e[t]=[n,i],void 0!==r&&s.push(r)}function Zi(e,n,t,i,r,s,o,l){const u=vn(n,t);let h,d=n.inputs;!l&&null!=d&&(h=d[i])?(Q1(e,t,h,i,r),Fo(n)&&function KB(e,n){const t=Fn(n,e);16&t[le]||(t[le]|=64)}(t,n.index)):3&n.type&&(i=function XB(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(i),r=null!=o?o(r,n.value||"",i):r,s.setProperty(u,i,r))}function q1(e,n,t,i){if(Ku()){const r=null===i?null:{"":-1},s=function s2(e,n){const t=e.directiveRegistry;let i=null,r=null;if(t)for(let s=0;s<t.length;s++){const o=t[s];if(te(n,o.selectors,!1))if(i||(i=[]),yi(o))if(null!==o.findHostDirectiveDefs){const l=[];r=r||new Map,o.findHostDirectiveDefs(o,l,r),i.unshift(...l,o),J1(e,n,l.length)}else i.unshift(o),J1(e,n,0);else r=r||new Map,o.findHostDirectiveDefs?.(o,i,r),i.push(o)}return null===i?null:[i,r]}(e,t);let o,l;null===s?o=l=null:[o,l]=s,null!==o&&HM(e,n,t,o,r,l),r&&function o2(e,n,t){if(n){const i=e.localNames=[];for(let r=0;r<n.length;r+=2){const s=t[n[r+1]];if(null==s)throw new R(-301,!1);i.push(n[r],s)}}}(t,i,r)}t.mergedAttrs=Ul(t.mergedAttrs,t.attrs)}function HM(e,n,t,i,r,s){for(let d=0;d<i.length;d++)Ph(pd(t,n),e,i[d].type);!function l2(e,n,t){e.flags|=1,e.directiveStart=n,e.directiveEnd=n+t,e.providerIndexes=n}(t,e.data.length,i.length);for(let d=0;d<i.length;d++){const h=i[d];h.providersResolver&&h.providersResolver(h)}let o=!1,l=!1,u=Lp(e,n,i.length,null);for(let d=0;d<i.length;d++){const h=i[d];t.mergedAttrs=Ul(t.mergedAttrs,h.hostAttrs),c2(e,t,n,u,h),a2(u,h,r),null!==h.contentQueries&&(t.flags|=4),(null!==h.hostBindings||null!==h.hostAttrs||0!==h.hostVars)&&(t.flags|=64);const p=h.type.prototype;!o&&(p.ngOnChanges||p.ngOnInit||p.ngDoCheck)&&((e.preOrderHooks??=[]).push(t.index),o=!0),!l&&(p.ngOnChanges||p.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(t.index),l=!0),u++}!function QB(e,n,t){const r=n.directiveEnd,s=e.data,o=n.attrs,l=[];let u=null,d=null;for(let h=n.directiveStart;h<r;h++){const p=s[h],m=t?t.get(p):null,b=m?m.outputs:null;u=BM(0,p.inputs,h,u,m?m.inputs:null),d=BM(1,p.outputs,h,d,b);const w=null===u||null===o||oh(n)?null:f2(u,h,o);l.push(w)}null!==u&&(u.hasOwnProperty("class")&&(n.flags|=8),u.hasOwnProperty("style")&&(n.flags|=16)),n.initialInputs=l,n.inputs=u,n.outputs=d}(e,t,s)}function jM(e,n,t){const i=t.directiveStart,r=t.directiveEnd,s=t.index,o=function nd(){return be.lFrame.currentDirectiveIndex}();try{Hr(s);for(let l=i;l<r;l++){const u=e.data[l],d=n[l];to(l),(null!==u.hostBindings||0!==u.hostVars||null!==u.hostAttrs)&&r2(u,d)}}finally{Hr(-1),to(o)}}function r2(e,n){null!==e.hostBindings&&e.hostBindings(1,n)}function J1(e,n,t){n.componentOffset=t,(e.components??=[]).push(n.index)}function a2(e,n,t){if(t){if(n.exportAs)for(let i=0;i<n.exportAs.length;i++)t[n.exportAs[i]]=e;yi(n)&&(t[""]=e)}}function c2(e,n,t,i,r){e.data[i]=r;const s=r.factory||(r.factory=Us(r.type)),o=new io(s,yi(r),$);e.blueprint[i]=o,t[i]=o,function t2(e,n,t,i,r){const s=r.hostBindings;if(s){let o=e.hostBindingOpCodes;null===o&&(o=e.hostBindingOpCodes=[]);const l=~n.index;(function n2(e){let n=e.length;for(;n>0;){const t=e[--n];if("number"==typeof t&&t<0)return t}return 0})(o)!=l&&o.push(l),o.push(t,i,s)}}(e,n,i,Lp(e,t,r.hostVars,Ie),r)}function fo(e,n,t,i,r,s){const o=vn(e,n);!function Y1(e,n,t,i,r,s,o){if(null==s)e.removeAttribute(n,r,t);else{const l=null==o?Te(s):o(s,i||"",r);e.setAttribute(n,r,l,t)}}(n[ae],o,s,e.value,t,i,r)}function d2(e,n,t,i,r,s){const o=s[n];if(null!==o)for(let l=0;l<o.length;)PM(i,t,o[l++],o[l++],o[l++],o[l++])}function f2(e,n,t){let i=null,r=0;for(;r<t.length;){const s=t[r];if(0!==s)if(5!==s){if("number"==typeof s)break;if(e.hasOwnProperty(s)){null===i&&(i=[]);const o=e[s];for(let l=0;l<o.length;l+=3)if(o[l]===n){i.push(s,o[l+1],o[l+2],t[r+1]);break}}r+=2}else r+=2;else r+=4}return i}function $M(e,n,t,i){return[e,!0,0,n,null,i,null,t,null,null]}function UM(e,n){const t=e.contentQueries;if(null!==t){const i=me(null);try{for(let r=0;r<t.length;r+=2){const o=t[r+1];if(-1!==o){const l=e.data[o];sd(t[r]),l.contentQueries(2,n[o],o)}}}finally{me(i)}}}function Ov(e,n){return e[Zl]?e[Jm][cr]=n:e[Zl]=n,e[Jm]=n,n}function Z1(e,n,t){sd(0);const i=me(null);try{n(e,t)}finally{me(i)}}function GM(e){return e[Ra]??=[]}function zM(e){return e.cleanup??=[]}function WM(e,n,t){return(null===e||yi(e))&&(t=function Kl(e){for(;Array.isArray(e);){if("object"==typeof e[fh])return e;e=e[At]}return null}(t[n.index])),t[ae]}function Rv(e,n){const t=e[Yt],i=t?t.get(Ur,null):null;i&&i.handleError(n)}function Q1(e,n,t,i,r){for(let s=0;s<t.length;){const o=t[s++],l=t[s++],u=t[s++];PM(e.data[o],n[o],i,l,u,r)}}function Go(e,n,t){const i=ec(n,e);!function Mv(e,n,t){e.setValue(n,t)}(e[ae],i,t)}function h2(e,n){const t=Fn(n,e),i=t[W];!function p2(e,n){for(let t=n.length;t<e.blueprint.length;t++)n.push(e.blueprint[t])}(i,t);const r=t[At];null!==r&&null===t[Qn]&&(t[Qn]=up(r,t[Yt])),X1(i,t,t[bt])}function X1(e,n,t){Lo(n);try{const i=e.viewQuery;null!==i&&Z1(1,i,t);const r=e.template;null!==r&&FM(e,n,r,1,t),e.firstCreatePass&&(e.firstCreatePass=!1),n[gs]?.finishViewCreation(e),e.staticContentQueries&&UM(e,n),e.staticViewQueries&&Z1(2,e.viewQuery,t);const s=e.components;null!==s&&function g2(e,n){for(let t=0;t<n.length;t++)h2(e,n[t])}(n,s)}catch(i){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),i}finally{n[le]&=-5,od()}}function Id(e,n,t,i){const r=me(null);try{const s=n.tView,u=Av(e,s,t,4096&e[le]?4096:16,null,n,null,null,i?.injector??null,i?.embeddedViewInjector??null,i?.dehydratedView??null);u[Po]=e[n.index];const h=e[gs];return null!==h&&(u[gs]=h.createEmbeddedView(s)),X1(s,u,t),u}finally{me(r)}}function qM(e,n){const t=Ft+n;if(t<e.length)return e[t]}function Ec(e,n){return!n||null===n.firstChild||cc(e)}function Nd(e,n,t,i=!0){const r=n[W];if(function c(e,n,t,i){const r=Ft+i,s=t.length;i>0&&(t[r-1][cr]=n),i<s-Ft?(n[cr]=t[r],jm(t,Ft+i,n)):(t.push(n),n[cr]=null),n[Jt]=t;const o=n[Po];null!==o&&t!==o&&f(o,n);const l=n[gs];null!==l&&l.insertView(e),nc(n),n[le]|=128}(r,n,e,t),i){const o=_r(t,e),l=n[ae],u=fe(l,e[ur]);null!==u&&function H1(e,n,t,i,r,s){i[At]=r,i[St]=n,Nv(e,i,t,1,r,s)}(r,e[St],l,n,u,o)}const s=n[Qn];null!==s&&null!==s.firstChild&&(s.firstChild=null)}function K1(e,n){const t=_(e,n);return void 0!==t&&D(t[W],t),t}function Bp(e,n,t,i,r=!1){for(;null!==t;){if(128===t.type){t=r?t.projectionNext:t.next;continue}const s=n[t.index];null!==s&&i.push(Ue(s)),Rn(s)&&JM(s,i);const o=t.type;if(8&o)Bp(e,n,t.child,i);else if(32&o){const l=Pp(t,n);let u;for(;u=l();)i.push(u)}else if(16&o){const l=Yi(n,t);if(Array.isArray(l))i.push(...l);else{const u=_s(n[Ot]);Bp(u[W],u,l,i,!0)}}t=r?t.projectionNext:t.next}return i}function JM(e,n){for(let t=Ft;t<e.length;t++){const i=e[t],r=i[W].firstChild;null!==r&&Bp(i[W],i,r,n)}e[ur]!==e[At]&&n.push(e[ur])}let YM=[];const y2={...Io,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{Zu(e.lView)},consumerOnSignalRead(){this.lView[ji]=this}},D2={...Io,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let n=_s(e.lView);for(;n&&!ZM(n[W]);)n=_s(n);n&&s_(n)},consumerOnSignalRead(){this.lView[ji]=this}};function ZM(e){return 2!==e.type}const w2=100;function xv(e,n=!0,t=0){const i=e[Fr],r=i.rendererFactory;r.begin?.();try{!function E2(e,n){const t=d_();try{wh(!0),ew(e,n);let i=0;for(;tc(e);){if(i===w2)throw new R(103,!1);i++,ew(e,1)}}finally{wh(t)}}(e,t)}catch(o){throw n&&Rv(e,o),o}finally{r.end?.(),i.inlineEffectRunner?.flush()}}function C2(e,n,t,i){const r=n[le];if(!(256&~r))return;n[Fr].inlineEffectRunner?.flush(),Lo(n);let l=!0,u=null,d=null;ZM(e)?(d=function m2(e){return e[ji]??function _2(e){const n=YM.pop()??Object.create(y2);return n.lView=e,n}(e)}(n),u=Ar(d)):null===function Pf(){return E}()?(l=!1,d=function b2(e){const n=e[ji]??Object.create(D2);return n.lView=e,n}(n),u=Ar(d)):n[ji]&&(Ls(n[ji]),n[ji]=null);try{yh(n),function Eh(e){return be.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==t&&FM(e,n,t,2,i);const h=!(3&~r);if(h){const v=e.preOrderCheckHooks;null!==v&&rc(n,v,null)}else{const v=e.preOrderHooks;null!==v&&ud(n,v,0,null),Ih(n,0)}if(function S2(e){for(let n=hc(e);null!==n;n=z_(n)){if(!(n[le]&Zs.HasTransplantedViews))continue;const t=n[ka];for(let i=0;i<t.length;i++)s_(t[i])}}(n),XM(n,0),null!==e.contentQueries&&UM(e,n),h){const v=e.contentCheckHooks;null!==v&&rc(n,v)}else{const v=e.contentHooks;null!==v&&ud(n,v,1),Ih(n,1)}!function UB(e,n){const t=e.hostBindingOpCodes;if(null!==t)try{for(let i=0;i<t.length;i++){const r=t[i];if(r<0)Hr(~r);else{const s=r,o=t[++i],l=t[++i];sD(o,s),l(2,n[s])}}}finally{Hr(-1)}}(e,n);const p=e.components;null!==p&&eI(n,p,0);const m=e.viewQuery;if(null!==m&&Z1(2,m,i),h){const v=e.viewCheckHooks;null!==v&&rc(n,v)}else{const v=e.viewHooks;null!==v&&ud(n,v,2),Ih(n,2)}if(!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),n[Gu]){for(const v of n[Gu])v();n[Gu]=null}n[le]&=-73}catch(h){throw Zu(n),h}finally{null!==d&&(uu(d,u),l&&function v2(e){e.lView[ji]!==e&&(e.lView=null,YM.push(e))}(d)),od()}}function XM(e,n){for(let t=hc(e);null!==t;t=z_(t))for(let i=Ft;i<t.length;i++)KM(t[i],n)}function T2(e,n,t){KM(Fn(n,e),t)}function KM(e,n){Ju(e)&&ew(e,n)}function ew(e,n){const i=e[W],r=e[le],s=e[ji];let o=!!(0===n&&16&r);if(o||=!!(64&r&&0===n),o||=!!(1024&r),o||=!(!s?.dirty||!xi(s)),o||=!1,s&&(s.dirty=!1),e[le]&=-9217,o)C2(i,e,i.template,e[bt]);else if(8192&r){XM(e,1);const l=i.components;null!==l&&eI(e,l,1)}}function eI(e,n,t){for(let i=0;i<n.length;i++)T2(e,n[i],t)}function Vp(e,n){const t=d_()?64:1088;for(e[Fr].changeDetectionScheduler?.notify(n);e;){e[le]|=t;const i=_s(e);if(dr(e)&&!i)return e;e=i}return null}class Hp{get rootNodes(){const n=this._lView,t=n[W];return Bp(t,n,t.firstChild,[])}constructor(n,t,i=!0){this._lView=n,this._cdRefInjectingView=t,this.notifyErrorHandler=i,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[bt]}set context(n){this._lView[bt]=n}get destroyed(){return!(256&~this._lView[le])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const n=this._lView[Jt];if(Rn(n)){const t=n[8],i=t?t.indexOf(this):-1;i>-1&&(_(n,i),jl(t,i))}this._attachedToViewContainer=!1}D(this._lView[W],this._lView)}onDestroy(n){Ha(this._lView,n)}markForCheck(){Vp(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[le]&=-129}reattach(){nc(this._lView),this._lView[le]|=128}detectChanges(){this._lView[le]|=1024,xv(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new R(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const n=dr(this._lView),t=this._lView[Po];null!==t&&!n&&g(t,this._lView),Iv(this._lView[W],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new R(902,!1);this._appRef=n;const t=dr(this._lView),i=this._lView[Po];null!==i&&!t&&f(i,this._lView),nc(this._lView)}}let sn=(()=>{class e{static{this.__NG_ELEMENT_ID__=N2}}return e})();const M2=sn,I2=class extends M2{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=Id(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:t,dehydratedView:i});return new Hp(r)}};function N2(){return Pv(Ke(),P())}function Pv(e,n){return 4&e.type?new I2(n,e,Wa(e,n)):null}function iI(e,n,t){const i=n.insertBeforeIndex,r=Array.isArray(i)?i[0]:i;return null===r?Be(e,0,t):Ue(t[r])}function rI(e,n,t,i,r){const s=n.insertBeforeIndex;if(Array.isArray(s)){let o=i,l=null;if(3&n.type||(l=o,o=r),null!==o&&-1===n.componentOffset)for(let u=1;u<s.length;u++)j(e,o,t[s[u]],l,!1)}}function sI(e,n){if(e.push(n),e.length>1)for(let t=e.length-2;t>=0;t--){const i=e[t];oI(i)||B2(i,n)&&null===V2(i)&&H2(i,n.index)}}function oI(e){return!(64&e.type)}function B2(e,n){return oI(n)||e.index>n.index}function V2(e){const n=e.insertBeforeIndex;return Array.isArray(n)?n[0]:n}function H2(e,n){const t=e.insertBeforeIndex;Array.isArray(t)?t[0]=n:(Hn(iI,rI),e.insertBeforeIndex=n)}function U2(e,n,t){const i=$1(e,t,64,null,null);return sI(n,i),i}function rw(e,n,t){e.index=0;const i=function kv(e,n){const t=n[e.currentCaseLViewIndex];return null===t?t:t<0?~t:t}(n,t);e.removes=null!==i?n.remove[i]:Ge}function Lv(e){if(e.index<e.removes.length){const n=e.removes[e.index++];return n>0?e.lView[n]:(e.stack.push(e.index,e.removes),rw(e,e.lView[W].data[~n],e.lView),Lv(e))}return 0===e.stack.length?null:(e.removes=e.stack.pop(),e.index=e.stack.pop(),Lv(e))}function z2(){const e={stack:[],index:-1};return function n(t,i){for(e.lView=i;e.stack.length;)e.stack.pop();return rw(e,t.value,i),Lv.bind(null,e)}}let mI=()=>{},DI=()=>null;function Sc(e,n){return DI(e,n)}class Od{}const Jp=new q("",{providedIn:"root",factory:()=>!1}),wI=new q(""),dw=new q("");class DV{}class EI{}class EV{resolveComponentFactory(n){throw function wV(e){const n=Error(`No component factory found for ${Xt(e)}.`);return n.ngComponent=e,n}(n)}}class Hv{static{this.NULL=new EV}}class jv{}let zo=(()=>{class e{constructor(){this.destroyNode=null}static{this.__NG_ELEMENT_ID__=()=>function CV(){const e=P(),t=Fn(Ke().index,e);return(Ht(t)?t:e)[ae]}()}}return e})(),SV=(()=>{class e{static{this.\u0275prov=U({token:e,providedIn:"root",factory:()=>null})}}return e})();function Uv(e,n,t){let i=t?e.styles:null,r=t?e.classes:null,s=0;if(null!==n)for(let o=0;o<n.length;o++){const l=n[o];"number"==typeof l?s=l:1==s?r=_a(r,l):2==s&&(i=_a(i,l+": "+n[++o]+";"))}t?e.styles=i:e.stylesWithoutHost=i,t?e.classes=r:e.classesWithoutHost=r}class MI extends Hv{constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){const t=Ne(n);return new Qp(t,this.ngModule)}}function II(e,n){const t=[];for(const i in e){if(!e.hasOwnProperty(i))continue;const r=e[i];if(void 0===r)continue;const s=Array.isArray(r),o=s?r[0]:r;t.push(n?{propName:o,templateName:i,isSignal:!!((s?r[1]:zs.None)&zs.SignalBased)}:{propName:o,templateName:i})}return t}class Qp extends EI{get inputs(){const n=this.componentDef,t=n.inputTransforms,i=II(n.inputs,!0);if(null!==t)for(const r of i)t.hasOwnProperty(r.propName)&&(r.transform=t[r.propName]);return i}get outputs(){return II(this.componentDef.outputs,!1)}constructor(n,t){super(),this.componentDef=n,this.ngModule=t,this.componentType=n.type,this.selector=function Li(e){return e.map(j0).join(",")}(n.selectors),this.ngContentSelectors=n.ngContentSelectors?n.ngContentSelectors:[],this.isBoundToModule=!!t}create(n,t,i,r){const s=me(null);try{let o=(r=r||this.ngModule)instanceof _n?r:r?.injector;o&&null!==this.componentDef.getStandaloneInjector&&(o=this.componentDef.getStandaloneInjector(o)||o);const l=o?new Vo(n,o):n,u=l.get(jv,null);if(null===u)throw new R(407,!1);const p={rendererFactory:u,sanitizer:l.get(SV,null),inlineEffectRunner:null,changeDetectionScheduler:l.get(Od,null)},m=u.createRenderer(null,this.componentDef),v=this.componentDef.selectors[0][0]||"div",b=i?function zB(e,n,t,i){const s=i.get(tv,!1)||t===lr.ShadowDom,o=e.selectRootElement(n,s);return function WB(e){LM(e)}(o),o}(m,i,this.componentDef.encapsulation,l):Md(m,v,function IV(e){const n=e.toLowerCase();return"svg"===n?"svg":"math"===n?"math":null}(v));let w=512;this.componentDef.signals?w|=4096:this.componentDef.onPush||(w|=16);let M=null;null!==b&&(M=up(b,l,!0));const O=W1(0,null,null,1,0,null,null,null,null,null,null),I=Av(null,O,null,w,null,null,p,m,l,null,M);Lo(I);let k,H,Y=null;try{const X=this.componentDef;let re,ye=null;X.findHostDirectiveDefs?(re=[],ye=new Map,X.findHostDirectiveDefs(X,re,ye),re.push(X)):re=[X];const yt=function AV(e,n){const t=e[W],i=se;return e[i]=n,wc(t,i,2,"#host",null)}(I,b);Y=function OV(e,n,t,i,r,s,o){const l=r[W];!function RV(e,n,t,i){for(const r of e)n.mergedAttrs=Ul(n.mergedAttrs,r.hostAttrs);null!==n.mergedAttrs&&(Uv(n,n.mergedAttrs,!0),null!==t&&OM(i,t,n))}(i,e,n,o);let u=null;null!==n&&(u=up(n,r[Yt]));const d=s.rendererFactory.createRenderer(n,t);let h=16;t.signals?h=4096:t.onPush&&(h=64);const p=Av(r,kM(t),null,h,r[e.index],e,s,d,null,null,u);return l.firstCreatePass&&J1(l,e,i.length-1),Ov(r,p),r[e.index]=p}(yt,b,X,re,I,p,m),H=Va(O,se),b&&function PV(e,n,t,i){if(i)Ws(e,t,["ng-version","18.2.13"]);else{const{attrs:r,classes:s}=function Pu(e){const n=[],t=[];let i=1,r=2;for(;i<e.length;){let s=e[i];if("string"==typeof s)2===r?""!==s&&n.push(s,e[++i]):8===r&&t.push(s);else{if(!F(r))break;r=s}i++}return{attrs:n,classes:t}}(n.selectors[0]);r&&Ws(e,t,r),s&&s.length>0&&AM(e,t,s.join(" "))}}(m,X,b,i),void 0!==t&&function FV(e,n,t){const i=e.projection=[];for(let r=0;r<n.length;r++){const s=t[r];i.push(null!=s?Array.from(s):null)}}(H,this.ngContentSelectors,t),k=function xV(e,n,t,i,r,s){const o=Ke(),l=r[W],u=vn(o,r);HM(l,r,o,t,null,i);for(let h=0;h<t.length;h++)Bn(so(r,l,o.directiveStart+h,o),r);jM(l,r,o),u&&Bn(u,r);const d=so(r,l,o.directiveStart+o.componentOffset,o);if(e[bt]=r[bt]=d,null!==s)for(const h of s)h(d,n);return U1(l,o,r),d}(Y,X,re,ye,I,[kV]),X1(O,I,null)}catch(X){throw null!==Y&&Qh(Y),Qh(I),X}finally{od()}return new NV(this.componentType,k,Wa(H,I),I,H)}finally{me(s)}}}class NV extends DV{constructor(n,t,i,r,s){super(),this.location=i,this._rootLView=r,this._tNode=s,this.previousInputValues=null,this.instance=t,this.hostView=this.changeDetectorRef=new Hp(r,void 0,!1),this.componentType=n}setInput(n,t){const i=this._tNode.inputs;let r;if(null!==i&&(r=i[n])){if(this.previousInputValues??=new Map,this.previousInputValues.has(n)&&Object.is(this.previousInputValues.get(n),t))return;const s=this._rootLView;Q1(s[W],s,r,n,t),this.previousInputValues.set(n,t),Vp(Fn(this._tNode.index,s),1)}}get injector(){return new Zt(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}}function kV(){const e=Ke();cd(P()[W],e)}let Qi=(()=>{class e{static{this.__NG_ELEMENT_ID__=LV}}return e})();function LV(){return OI(Ke(),P())}const BV=Qi,NI=class extends BV{constructor(n,t,i){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=i}get element(){return Wa(this._hostTNode,this._hostLView)}get injector(){return new Zt(this._hostTNode,this._hostLView)}get parentInjector(){const n=oc(this._hostTNode,this._hostLView);if(Oh(n)){const t=Ua(n,this._hostLView),i=$a(n);return new Zt(t[W].data[i+8],t)}return new Zt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const t=AI(this._lContainer);return null!==t&&t[n]||null}get length(){return this._lContainer.length-Ft}createEmbeddedView(n,t,i){let r,s;"number"==typeof i?r=i:null!=i&&(r=i.index,s=i.injector);const o=Sc(this._lContainer,n.ssrId),l=n.createEmbeddedViewImpl(t||{},s,o);return this.insertImpl(l,r,Ec(this._hostTNode,o)),l}createComponent(n,t,i,r,s){const o=n&&!function y(e){return"function"==typeof e}(n);let l;if(o)l=t;else{const b=t||{};l=b.index,i=b.injector,r=b.projectableNodes,s=b.environmentInjector||b.ngModuleRef}const u=o?n:new Qp(Ne(n)),d=i||this.parentInjector;if(!s&&null==u.ngModule){const w=(o?d:this.parentInjector).get(_n,null);w&&(s=w)}const h=Ne(u.componentType??{}),p=Sc(this._lContainer,h?.id??null),v=u.create(d,r,p?.firstChild??null,s);return this.insertImpl(v.hostView,l,Ec(this._hostTNode,p)),v}insert(n,t){return this.insertImpl(n,t,!0)}insertImpl(n,t,i){const r=n._lView;if(function r_(e){return Rn(e[Jt])}(r)){const l=this.indexOf(n);if(-1!==l)this.detach(l);else{const u=r[Jt],d=new NI(u,u[St],u[Jt]);d.detach(d.indexOf(n))}}const s=this._adjustIndex(t),o=this._lContainer;return Nd(o,r,s,i),n.attachToViewContainerRef(),jm(pw(o),s,n),n}move(n,t){return this.insert(n,t)}indexOf(n){const t=AI(this._lContainer);return null!==t?t.indexOf(n):-1}remove(n){const t=this._adjustIndex(n,-1),i=_(this._lContainer,t);i&&(jl(pw(this._lContainer),t),D(i[W],i))}detach(n){const t=this._adjustIndex(n,-1),i=_(this._lContainer,t);return i&&null!=jl(pw(this._lContainer),t)?new Hp(i):null}_adjustIndex(n,t=0){return n??this.length+t}};function AI(e){return e[8]}function pw(e){return e[8]||(e[8]=[])}function OI(e,n){let t;const i=n[e.index];return Rn(i)?t=i:(t=$M(i,n,null,e),n[e.index]=t,Ov(n,t)),RI(t,n,e,i),new NI(t,e,n)}let RI=function PI(e,n,t,i){if(e[ur])return;let r;r=8&t.type?Ue(i):function VV(e,n){const t=e[ae],i=t.createComment(""),r=vn(n,e);return j(t,fe(t,r),i,function Fe(e,n){return e.nextSibling(n)}(t,r),!1),i}(n,t),e[ur]=r},gw=()=>!1;class mw{constructor(n){this.queryList=n,this.matches=null}clone(){return new mw(this.queryList)}setDirty(){this.queryList.setDirty()}}class _w{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 s=0;s<i;s++){const o=t.getByIndex(s);r.push(this.queries[o.indexInDeclarationView].clone())}return new _w(r)}return null}insertView(n){this.dirtyQueriesWithMatches(n)}detachView(n){this.dirtyQueriesWithMatches(n)}finishViewCreation(n){this.dirtyQueriesWithMatches(n)}dirtyQueriesWithMatches(n){for(let t=0;t<this.queries.length;t++)null!==ww(n,t).matches&&this.queries[t].setDirty()}}class FI{constructor(n,t,i=null){this.flags=t,this.read=i,this.predicate="string"==typeof n?function qV(e){return e.split(",").map(n=>n.trim())}(n):n}}class vw{constructor(n=[]){this.queries=n}elementStart(n,t){for(let i=0;i<this.queries.length;i++)this.queries[i].elementStart(n,t)}elementEnd(n){for(let t=0;t<this.queries.length;t++)this.queries[t].elementEnd(n)}embeddedTView(n){let t=null;for(let i=0;i<this.length;i++){const r=null!==t?t.length:0,s=this.getByIndex(i).embeddedTView(n,r);s&&(s.indexInDeclarationView=i,null!==t?t.push(s):t=[s])}return null!==t?new vw(t):null}template(n,t){for(let i=0;i<this.queries.length;i++)this.queries[i].template(n,t)}getByIndex(n){return this.queries[n]}get length(){return this.queries.length}track(n){this.queries.push(n)}}class yw{constructor(n,t=-1){this.metadata=n,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=t}elementStart(n,t){this.isApplyingToNode(t)&&this.matchTNode(n,t)}elementEnd(n){this._declarationNodeIndex===n.index&&(this._appliesToNextNode=!1)}template(n,t){this.elementStart(n,t)}embeddedTView(n,t){return this.isApplyingToNode(n)?(this.crossesNgTemplate=!0,this.addMatch(-n.index,t),new yw(this.metadata)):null}isApplyingToNode(n){if(this._appliesToNextNode&&1&~this.metadata.flags){const t=this._declarationNodeIndex;let i=n.parent;for(;null!==i&&8&i.type&&i.index!==t;)i=i.parent;return t===(null!==i?i.index:-1)}return this._appliesToNextNode}matchTNode(n,t){const i=this.metadata.predicate;if(Array.isArray(i))for(let r=0;r<i.length;r++){const s=i[r];this.matchTNodeWithReadOption(n,t,UV(t,s)),this.matchTNodeWithReadOption(n,t,Ga(t,n,s,!1,!1))}else i===sn?4&t.type&&this.matchTNodeWithReadOption(n,t,-1):this.matchTNodeWithReadOption(n,t,Ga(t,n,i,!1,!1))}matchTNodeWithReadOption(n,t,i){if(null!==i){const r=this.metadata.read;if(null!==r)if(r===et||r===Qi||r===sn&&4&t.type)this.addMatch(t.index,-2);else{const s=Ga(t,n,r,!1,!1);null!==s&&this.addMatch(t.index,s)}else this.addMatch(t.index,i)}}addMatch(n,t){null===this.matches?this.matches=[n,t]:this.matches.push(n,t)}}function UV(e,n){const t=e.localNames;if(null!==t)for(let i=0;i<t.length;i+=2)if(t[i]===n)return t[i+1];return null}function zV(e,n,t,i){return-1===t?function GV(e,n){return 11&e.type?Wa(e,n):4&e.type?Pv(e,n):null}(n,e):-2===t?function WV(e,n,t){return t===et?Wa(n,e):t===sn?Pv(n,e):t===Qi?OI(n,e):void 0}(e,n,i):so(e,e[W],t,n)}function kI(e,n,t,i){const r=n[gs].queries[i];if(null===r.matches){const s=e.data,o=t.matches,l=[];for(let u=0;null!==o&&u<o.length;u+=2){const d=o[u];l.push(d<0?null:zV(n,s[d],o[u+1],t.metadata.read))}r.matches=l}return r.matches}function bw(e,n,t,i){const r=e.queries.getByIndex(t),s=r.matches;if(null!==s){const o=kI(e,n,r,t);for(let l=0;l<s.length;l+=2){const u=s[l];if(u>0)i.push(o[l/2]);else{const d=s[l+1],h=n[-u];for(let p=Ft;p<h.length;p++){const m=h[p];m[Po]===m[Jt]&&bw(m[W],m,d,i)}if(null!==h[ka]){const p=h[ka];for(let m=0;m<p.length;m++){const v=p[m];bw(v[W],v,d,i)}}}}}return i}function LI(e,n,t){const i=new qa(!(4&~t));return function YB(e,n,t,i){const r=GM(n);r.push(t),e.firstCreatePass&&zM(e).push(i,r.length-1)}(e,n,i,i.destroy),(n[gs]??=new _w).queries.push(new mw(i))-1}function HI(e,n,t){null===e.queries&&(e.queries=new vw),e.queries.track(new yw(n,t))}function ww(e,n){return e.queries.getByIndex(n)}function jI(e,n){const t=e[W],i=ww(t,n);return i.crossesNgTemplate?bw(t,e,n,[]):kI(t,e,i,n)}const $I=new Set;function Ti(e){$I.has(e)||($I.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function Rd(e,n){Ti("NgSignals");const t=function Or(e){const n=Object.create(p0);n.value=e;const t=()=>(Nr(n),n.value);return t[sr]=n,t}(e),i=t[sr];return n?.equal&&(i.equal=n.equal),t.set=r=>bm(i,r),t.update=r=>function oa(e,n){Al()||os(),bm(e,n(e.value))}(i,r),t.asReadonly=GI.bind(t),t}function GI(){const e=this[sr];if(void 0===e.readonlyFn){const n=()=>this();n[sr]=e,e.readonlyFn=n}return e.readonlyFn}function zI(e){return function UI(e){return"function"==typeof e&&void 0!==e[sr]}(e)&&"function"==typeof e.set}function ot(e){let n=function nN(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),t=!0;const i=[e];for(;n;){let r;if(yi(e))r=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new R(903,!1);r=n.\u0275dir}if(r){if(t){i.push(r);const o=e;o.inputs=zv(e.inputs),o.inputTransforms=zv(e.inputTransforms),o.declaredInputs=zv(e.declaredInputs),o.outputs=zv(e.outputs);const l=r.hostBindings;l&&lH(e,l);const u=r.viewQuery,d=r.contentQueries;if(u&&oH(e,u),d&&aH(e,d),rH(e,r),y0(e.outputs,r.outputs),yi(r)&&r.data.animation){const h=e.data;h.animation=(h.animation||[]).concat(r.data.animation)}}const s=r.features;if(s)for(let o=0;o<s.length;o++){const l=s[o];l&&l.ngInherit&&l(e),l===ot&&(t=!1)}}n=Object.getPrototypeOf(n)}!function sH(e){let n=0,t=null;for(let i=e.length-1;i>=0;i--){const r=e[i];r.hostVars=n+=r.hostVars,r.hostAttrs=Ul(r.hostAttrs,t=Ul(t,r.hostAttrs))}}(i)}function rH(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 zv(e){return e===Jn?{}:e===Ge?[]:e}function oH(e,n){const t=e.viewQuery;e.viewQuery=t?(i,r)=>{n(i,r),t(i,r)}:n}function aH(e,n){const t=e.contentQueries;e.contentQueries=t?(i,r,s)=>{n(i,r,s),t(i,r,s)}:n}function lH(e,n){const t=e.hostBindings;e.hostBindings=t?(i,r)=>{n(i,r),t(i,r)}:n}class Tc{}class lN{}class Tw extends Tc{constructor(n,t,i,r=!0){super(),this.ngModuleType=n,this._parent=t,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new MI(this);const s=tn(n);this._bootstrapComponents=Kn(s.bootstrap),this._r3Injector=jh(n,t,[{provide:Tc,useValue:this},{provide:Hv,useValue:this.componentFactoryResolver},...i],Xt(n),new Set(["environment"])),r&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){const n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}}class Mw extends lN{constructor(n){super(),this.moduleType=n}create(n){return new Tw(this.moduleType,n,[])}}class cN extends Tc{constructor(n){super(),this.componentFactoryResolver=new MI(this),this.instance=null;const t=new Sa([...n.providers,{provide:Tc,useValue:this},{provide:Hv,useValue:this.componentFactoryResolver}],n.parent||nn(),n.debugName,new Set(["environment"]));this.injector=t,n.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}}function Wv(e,n,t=null){return new cN({providers:e,parent:n,debugName:t,runEnvironmentInitializers:!0}).injector}function qv(e){return!!function Iw(e){return null!==e&&("function"==typeof e||"object"==typeof e)}(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function ho(e,n,t){return e[n]=t}function on(e,n,t){return!Object.is(e[n],t)&&(e[n]=t,!0)}function Mc(e,n,t,i){const r=on(e,n,t);return on(e,n+1,i)||r}function Jv(e,n,t,i,r){const s=Mc(e,n,t,i);return on(e,n+2,r)||s}function eg(e,n,t,i,r,s,o,l,u,d){const h=t+se,p=n.firstCreatePass?function yH(e,n,t,i,r,s,o,l,u){const d=n.consts,h=wc(n,e,4,o||null,l||null);q1(n,t,h,Ui(d,u)),cd(n,h);const p=h.tView=W1(2,h,i,r,s,n.directiveRegistry,n.pipeRegistry,null,n.schemas,d,null);return null!==n.queries&&(n.queries.template(n,h),p.queries=n.queries.embeddedTView(h)),h}(h,n,e,i,r,s,o,l,u):n.data[h];fr(p,!1);const m=uN(n,e,p,t);wi()&&jn(n,e,m,p),Bn(m,e);const v=$M(m,e,m,p);return e[h]=v,Ov(e,v),function xI(e,n,t){return gw(e,n,t)}(v,p,e),$i(p)&&G1(n,e,p),null!=u&&z1(e,p,d),p}function Ce(e,n,t,i,r,s,o,l){const u=P(),d=Re();return eg(u,d,e,n,t,i,r,Ui(d.consts,s),o,l),Ce}let uN=function dN(e,n,t,i){return hr(!0),n[ae].createComment("")};var Xi=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Xi||{});let _N=(()=>{class e{constructor(){this.impl=null}execute(){this.impl?.execute()}static{this.\u0275prov=U({token:e,providedIn:"root",factory:()=>new e})}}return e})();class ig{constructor(){this.ngZone=S(Ae),this.scheduler=S(Od),this.errorHandler=S(Ur,{optional:!0}),this.sequences=new Set,this.deferredRegistrations=new Set,this.executing=!1}static{this.PHASES=[Xi.EarlyRead,Xi.Write,Xi.MixedReadWrite,Xi.Read]}execute(){this.executing=!0;for(const n of ig.PHASES)for(const t of this.sequences)if(!t.erroredOrDestroyed&&t.hooks[n])try{t.pipelinedValue=this.ngZone.runOutsideAngular(()=>t.hooks[n](t.pipelinedValue))}catch(i){t.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(const n of this.sequences)n.afterRun(),n.once&&(this.sequences.delete(n),n.destroy());for(const n of this.deferredRegistrations)this.sequences.add(n);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(n){this.executing?this.deferredRegistrations.add(n):(this.sequences.add(n),this.scheduler.notify(6))}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}static{this.\u0275prov=U({token:ig,providedIn:"root",factory:()=>new ig})}}class EH{constructor(n,t,i,r){this.impl=n,this.hooks=t,this.once=i,this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.unregisterOnDestroy=r?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.()}}function Wo(e,n){!n?.injector&&$u();const t=n?.injector??S(lt);return Si(t)?(Ti("NgAfterNextRender"),vN(e,t,n,!0)):yN}function vN(e,n,t,i){const r=n.get(_N);r.impl??=n.get(ig);const s=t?.phase??Xi.MixedReadWrite,o=!0!==t?.manualCleanup?n.get(bs):null,l=new EH(r.impl,function CH(e,n){if(e instanceof Function){const t=[void 0,void 0,void 0,void 0];return t[n]=e,t}return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}(e,s),i,o);return r.impl.register(l),l}const yN={destroy(){}};function Ye(e,n,t,i){const r=P();return on(r,Wi(),n)&&(Re(),fo(Dt(),r,e,n,t,i)),Ye}function Gd(e,n,t,i,r,s,o,l){const d=Jv(e,function vs(){return be.lFrame.bindingIndex}(),t,r,o);return $t(3),d?n+Te(t)+i+Te(r)+s+Te(o)+l:Ie}function ty(e,n){return e<<17|n<<2}function ul(e){return e>>17&32767}function Vw(e){return 2|e}function Nc(e){return(131068&e)>>2}function Hw(e,n){return-131069&e|n<<2}function jw(e){return 1|e}function zN(e,n,t,i){const r=e[t+1],s=null===n;let o=i?ul(r):Nc(r),l=!1;for(;0!==o&&(!1===l||s);){const d=e[o+1];oj(e[o],n)&&(l=!0,e[o+1]=i?jw(d):Vw(d)),o=i?ul(d):Nc(d)}l&&(e[t+1]=i?Vw(r):jw(r))}function oj(e,n){return null===e||null==n||(Array.isArray(e)?e[1]:e)===n||!(!Array.isArray(e)||"string"!=typeof n)&&Da(e,n)>=0}const bn={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function WN(e){return e.substring(bn.key,bn.keyEnd)}function qN(e,n){const t=bn.textEnd;return t===n?-1:(n=bn.keyEnd=function uj(e,n,t){for(;n<t&&e.charCodeAt(n)>32;)n++;return n}(e,bn.key=n,t),Zd(e,n,t))}function Zd(e,n,t){for(;n<t&&e.charCodeAt(n)<=32;)n++;return n}function ne(e,n,t){const i=P();return on(i,Wi(),n)&&Zi(Re(),Dt(),i,e,n,i[ae],t,!1),ne}function $w(e,n,t,i,r){const o=r?"class":"style";Q1(e,t,n.inputs[o],o,i)}function Tt(e,n){return function Cs(e,n,t,i){const r=P(),s=Re(),o=$t(2);s.firstUpdatePass&&eA(s,e,o,i),n!==Ie&&on(r,o,n)&&nA(s,s.data[rn()],r,r[ae],e,r[o+1]=function Dj(e,n){return null==e||""===e||("string"==typeof n?e+=n:"object"==typeof e&&(e=Xt(Ei(e)))),e}(n,t),i,o)}(e,n,null,!0),Tt}function dl(e){!function Ss(e,n,t,i){const r=Re(),s=$t(2);r.firstUpdatePass&&eA(r,null,s,i);const o=P();if(t!==Ie&&on(o,s,t)){const l=r.data[rn()];if(rA(l,i)&&!KN(r,s)){let u=i?l.classesWithoutHost:l.stylesWithoutHost;null!==u&&(t=_a(u,t||"")),$w(r,l,o,t,i)}else!function bj(e,n,t,i,r,s,o,l){r===Ie&&(r=Ge);let u=0,d=0,h=0<r.length?r[0]:null,p=0<s.length?s[0]:null;for(;null!==h||null!==p;){const m=u<r.length?r[u+1]:void 0,v=d<s.length?s[d+1]:void 0;let w,b=null;h===p?(u+=2,d+=2,m!==v&&(b=p,w=v)):null===p||null!==h&&h<p?(u+=2,b=h):(d+=2,b=p,w=v),null!==b&&nA(e,n,t,i,b,w,o,l),h=u<r.length?r[u]:null,p=d<s.length?s[d]:null}}(r,l,o,o[ae],o[s+1],o[s+1]=function vj(e,n,t){if(null==t||""===t)return Ge;const i=[],r=Ei(t);if(Array.isArray(r))for(let s=0;s<r.length;s++)e(i,r[s],!0);else if("object"==typeof r)for(const s in r)r.hasOwnProperty(s)&&e(i,s,r[s]);else"string"==typeof r&&n(i,r);return i}(e,n,t),i,s)}}(yj,go,e,!0)}function go(e,n){for(let t=function lj(e){return function YN(e){bn.key=0,bn.keyEnd=0,bn.value=0,bn.valueEnd=0,bn.textEnd=e.length}(e),qN(e,Zd(e,0,bn.textEnd))}(n);t>=0;t=qN(n,t))vi(e,WN(n),!0)}function KN(e,n){return n>=e.expandoStartIndex}function eA(e,n,t,i){const r=e.data;if(null===r[t+1]){const s=r[rn()],o=KN(e,t);rA(s,i)&&null===n&&!o&&(n=!1),n=function pj(e,n,t,i){const r=id(e);let s=i?n.residualClasses:n.residualStyles;if(null===r)0===(i?n.classBindings:n.styleBindings)&&(t=sg(t=Uw(null,e,n,t,i),n.attrs,i),s=null);else{const o=n.directiveStylingLast;if(-1===o||e[o]!==r)if(t=Uw(r,e,n,t,i),null===s){let u=function gj(e,n,t){const i=t?n.classBindings:n.styleBindings;if(0!==Nc(i))return e[ul(i)]}(e,n,i);void 0!==u&&Array.isArray(u)&&(u=Uw(null,e,n,u[1],i),u=sg(u,n.attrs,i),function mj(e,n,t,i){e[ul(t?n.classBindings:n.styleBindings)]=i}(e,n,i,u))}else s=function _j(e,n,t){let i;const r=n.directiveEnd;for(let s=1+n.directiveStylingLast;s<r;s++)i=sg(i,e[s].hostAttrs,t);return sg(i,n.attrs,t)}(e,n,i)}return void 0!==s&&(i?n.residualClasses=s:n.residualStyles=s),t}(r,s,n,i),function rj(e,n,t,i,r,s){let o=s?n.classBindings:n.styleBindings,l=ul(o),u=Nc(o);e[i]=t;let h,d=!1;if(Array.isArray(t)?(h=t[1],(null===h||Da(t,h)>0)&&(d=!0)):h=t,r)if(0!==u){const m=ul(e[l+1]);e[i+1]=ty(m,l),0!==m&&(e[m+1]=Hw(e[m+1],i)),e[l+1]=function nj(e,n){return 131071&e|n<<17}(e[l+1],i)}else e[i+1]=ty(l,0),0!==l&&(e[l+1]=Hw(e[l+1],i)),l=i;else e[i+1]=ty(u,0),0===l?l=i:e[u+1]=Hw(e[u+1],i),u=i;d&&(e[i+1]=Vw(e[i+1])),zN(e,h,i,!0),zN(e,h,i,!1),function sj(e,n,t,i,r){const s=r?e.residualClasses:e.residualStyles;null!=s&&"string"==typeof n&&Da(s,n)>=0&&(t[i+1]=jw(t[i+1]))}(n,h,e,i,s),o=ty(l,u),s?n.classBindings=o:n.styleBindings=o}(r,s,n,t,o,i)}}function Uw(e,n,t,i,r){let s=null;const o=t.directiveEnd;let l=t.directiveStylingLast;for(-1===l?l=t.directiveStart:l++;l<o&&(s=n[l],i=sg(i,s.hostAttrs,r),s!==e);)l++;return null!==e&&(t.directiveStylingLast=l),i}function sg(e,n,t){const i=t?1:2;let r=-1;if(null!==n)for(let s=0;s<n.length;s++){const o=n[s];"number"==typeof o?r=o:r===i&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),vi(e,o,!!t||n[++s]))}return void 0===e?null:e}function yj(e,n,t){const i=String(n);""!==i&&!i.includes(" ")&&vi(e,i,t)}function nA(e,n,t,i,r,s,o,l){if(!(3&n.type))return;const u=e.data,d=u[l+1],h=function ij(e){return!(1&~e)}(d)?iA(u,n,t,r,Nc(d),o):void 0;ny(h)||(ny(s)||function tj(e){return!(2&~e)}(d)&&(s=iA(u,null,t,r,l,o)),function jB(e,n,t,i,r){if(n)r?e.addClass(t,i):e.removeClass(t,i);else{let s=-1===i.indexOf("-")?void 0:uo.DashCase;null==r?e.removeStyle(t,i,s):("string"==typeof r&&r.endsWith("!important")&&(r=r.slice(0,-10),s|=uo.Important),e.setStyle(t,i,r,s))}}(i,o,ec(rn(),t),r,s))}function iA(e,n,t,i,r,s){const o=null===n;let l;for(;r>0;){const u=e[r],d=Array.isArray(u),h=d?u[1]:u,p=null===h;let m=t[r+1];m===Ie&&(m=p?Ge:void 0);let v=p?rh(m,i):h===i?m:void 0;if(d&&!ny(v)&&(v=rh(u,i)),ny(v)&&(l=v,o))return l;const b=e[r+1];r=o?ul(b):Nc(b)}if(null!==n){let u=s?n.residualClasses:n.residualStyles;null!=u&&(l=rh(u,i))}return l}function ny(e){return void 0!==e}function rA(e,n){return!!(e.flags&(n?8:16))}class Rj{destroy(n){}updateValue(n,t){}swap(n,t){const i=Math.min(n,t),r=Math.max(n,t),s=this.detach(r);if(r-i>1){const o=this.detach(i);this.attach(i,s),this.attach(r,o)}else this.attach(i,s)}move(n,t){this.attach(t,this.detach(n))}}function Gw(e,n,t,i,r){return e===t&&Object.is(n,i)?1:Object.is(r(e,n),r(t,i))?-1:0}function zw(e,n,t,i){return!(void 0===n||!n.has(i)||(e.attach(t,n.get(i)),n.delete(i),0))}function sA(e,n,t,i,r){if(zw(e,n,i,t(i,r)))e.updateValue(i,r);else{const s=e.create(i,r);e.attach(i,s)}}function oA(e,n,t,i){const r=new Set;for(let s=n;s<=t;s++)r.add(i(s,e.at(s)));return r}class aA{constructor(){this.kvMap=new Map,this._vMap=void 0}has(n){return this.kvMap.has(n)}delete(n){if(!this.has(n))return!1;const t=this.kvMap.get(n);return void 0!==this._vMap&&this._vMap.has(t)?(this.kvMap.set(n,this._vMap.get(t)),this._vMap.delete(t)):this.kvMap.delete(n),!0}get(n){return this.kvMap.get(n)}set(n,t){if(this.kvMap.has(n)){let i=this.kvMap.get(n);void 0===this._vMap&&(this._vMap=new Map);const r=this._vMap;for(;r.has(i);)i=r.get(i);r.set(i,t)}else this.kvMap.set(n,t)}forEach(n){for(let[t,i]of this.kvMap)if(n(i,t),void 0!==this._vMap){const r=this._vMap;for(;r.has(i);)i=r.get(i),n(i,t)}}}function $n(e,n){Ti("NgControlFlow");const t=P(),i=Wi(),r=t[i]!==Ie?t[i]:-1,s=-1!==r?iy(t,se+r):void 0;if(on(t,i,e)){const l=me(null);try{if(void 0!==s&&K1(s,0),-1!==e){const u=se+e,d=iy(t,u),h=qw(t[W],u),p=Sc(d,h.tView.ssrId);Nd(d,Id(t,h,n,{dehydratedView:p}),0,Ec(h,p))}}finally{me(l)}}else if(void 0!==s){const l=qM(s,0);void 0!==l&&(l[bt]=n)}}class Pj{constructor(n,t,i){this.lContainer=n,this.$implicit=t,this.$index=i}get $count(){return this.lContainer.length-Ft}}function Ww(e){return e}class Fj{constructor(n,t,i){this.hasEmptyBlock=n,this.trackByFn=t,this.liveCollection=i}}class kj extends Rj{constructor(n,t,i){super(),this.lContainer=n,this.hostLView=t,this.templateTNode=i,this.operationsCounter=void 0,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-Ft}at(n){return this.getLView(n)[bt].$implicit}attach(n,t){const i=t[Qn];this.needsIndexUpdate||=n!==this.length,Nd(this.lContainer,t,n,Ec(this.templateTNode,i))}detach(n){return this.needsIndexUpdate||=n!==this.length-1,function Lj(e,n){return _(e,n)}(this.lContainer,n)}create(n,t){const i=Sc(this.lContainer,this.templateTNode.tView.ssrId),r=Id(this.hostLView,this.templateTNode,new Pj(this.lContainer,t,n),{dehydratedView:i});return this.operationsCounter?.recordCreate(),r}destroy(n){D(n[W],n),this.operationsCounter?.recordDestroy()}updateValue(n,t){this.getLView(n)[bt].$implicit=t}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n<this.length;n++)this.getLView(n)[bt].$index=n}getLView(n){return function Bj(e,n){return qM(e,n)}(this.lContainer,n)}}function iy(e,n){return e[n]}function qw(e,n){return Va(e,n)}function G(e,n,t,i){const r=P(),s=Re(),o=se+e,l=r[ae],u=s.firstCreatePass?function Vj(e,n,t,i,r,s){const o=n.consts,u=wc(n,e,2,i,Ui(o,r));return q1(n,t,u,Ui(o,s)),null!==u.attrs&&Uv(u,u.attrs,!1),null!==u.mergedAttrs&&Uv(u,u.mergedAttrs,!0),null!==n.queries&&n.queries.elementStart(n,u),u}(o,s,r,n,t,i):s.data[o],d=lA(s,r,u,l,n,e);r[o]=d;const h=$i(u);return fr(u,!0),OM(l,d,u),!function Pd(e){return!(32&~e.flags)}(u)&&wi()&&jn(s,r,d,u),0===function Gi(){return be.lFrame.elementDepthCount}()&&Bn(d,r),function rD(){be.lFrame.elementDepthCount++}(),h&&(G1(s,r,u),U1(s,u,r)),null!==i&&z1(r,u),G}function z(){let e=Ke();Br()?td():(e=e.parent,fr(e,!1));const n=e;(function a_(e){return be.skipHydrationRootTNode===e})(n)&&function l_(){be.skipHydrationRootTNode=null}(),function Xu(){be.lFrame.elementDepthCount--}();const t=Re();return t.firstCreatePass&&(cd(t,e),Wu(e)&&t.queries.elementEnd(e)),null!=n.classesWithoutHost&&function Bo(e){return!!(8&e.flags)}(n)&&$w(t,n,P(),n.classesWithoutHost,!0),null!=n.stylesWithoutHost&&function oD(e){return!!(16&e.flags)}(n)&&$w(t,n,P(),n.stylesWithoutHost,!1),z}function wt(e,n,t,i){return G(e,n,t,i),z(),wt}let lA=(e,n,t,i,r,s)=>(hr(!0),Md(i,r,function __(){return be.lFrame.currentNamespace}()));function ui(){return P()}function yr(e,n,t){const i=P();return on(i,Wi(),n)&&Zi(Re(),Dt(),i,e,n,i[ae],t,!0),yr}function Zw(e,n,t){const i=P();if(on(i,Wi(),n)){const s=Re(),o=Dt();Zi(s,o,i,e,n,WM(id(s.data),o,i),t,!0)}return Zw}const Ac=void 0;var Wj=["en",[["a","p"],["AM","PM"],Ac],[["AM","PM"],Ac,Ac],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Ac,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Ac,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Ac,"{1} 'at' {0}",Ac],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function zj(e){const t=Math.floor(Math.abs(e)),i=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===i?1:5}];let Qd={};function Mi(e){const n=function qj(e){return e.toLowerCase().replace(/_/g,"-")}(e);let t=fA(n);if(t)return t;const i=n.split("-")[0];if(t=fA(i),t)return t;if("en"===i)return Wj;throw new R(701,!1)}function fA(e){return e in Qd||(Qd[e]=Ct.ng&&Ct.ng.common&&Ct.ng.common.locales&&Ct.ng.common.locales[e]),Qd[e]}var Rt=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(Rt||{});const ry="en-US",sy={marker:"element"},oy={marker:"ICU"};var Ki=function(e){return e[e.SHIFT=2]="SHIFT",e[e.APPEND_EAGERLY=1]="APPEND_EAGERLY",e[e.COMMENT=2]="COMMENT",e}(Ki||{});let hA=ry;let lg=(e,n,t,i)=>(hr(!0),function pA(e,n,t){const i=e[ae];switch(t){case Node.COMMENT_NODE:return kp(i,n);case Node.TEXT_NODE:return Fp(i,n);case Node.ELEMENT_NODE:return Md(i,n,null)}}(e,t,i));const ay=/\ufffd(\d+):?\d*\ufffd/gi,a$=/\ufffd(\d+)\ufffd/,bA=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,cg="\ufffd",l$=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,c$=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,u$=/\uE500/g;function DA(e,n,t,i,r,s,o){const l=Lp(e,i,1,null);let u=l<<Ki.SHIFT,d=zi();n===d&&(d=null),null===d&&(u|=Ki.APPEND_EAGERLY),o&&(u|=Ki.COMMENT,function B1(e){void 0===xp&&(xp=e())}(z2)),r.push(u,null===s?"":s);const h=$1(e,l,o?32:1,null===s?"":s,null);sI(t,h);const p=h.index;return fr(h,!1),null!==d&&n!==d&&function $2(e,n){let t=e.insertBeforeIndex;null===t?(Hn(iI,rI),t=e.insertBeforeIndex=[null,n]):(js(Array.isArray(t),!0,"Expecting array here"),t.push(n))}(d,p),h}function h$(e,n,t,i,r,s,o,l){const u=l.match(ay),h=DA(n,t,i,o,r,u?null:l,!1).index;u&&ug(s,l,h,null,0,null),e.push({kind:0,index:h})}function ug(e,n,t,i,r,s){const o=e.length,l=o+1;e.push(null,null);const u=o+2,d=n.split(ay);let h=0;for(let p=0;p<d.length;p++){const m=d[p];if(1&p){const v=r+parseInt(m,10);e.push(-1-v),h|=wA(v)}else""!==m&&e.push(m)}return e.push(t<<2|(i?1:0)),i&&e.push(i,s),e[o]=h,e[l]=e.length-u,h}function wA(e){return 1<<Math.min(e,31)}function EA(e){let n,s,t="",i=0,r=!1;for(;null!==(n=l$.exec(e));)r?n[0]===`${cg}/*${s}${cg}`&&(i=n.index,r=!1):(t+=e.substring(i,n.index+n[0].length),s=n[1],r=!0);return t+=e.slice(i),t}function CA(e,n,t,i,r,s,o){let l=0;const u={type:s.type,currentCaseLViewIndex:Lp(n,t,1,null),anchorIdx:o,cases:[],create:[],remove:[],update:[]};(function b$(e,n,t){e.push(wA(n.mainBinding),2,-1-n.mainBinding,t<<2|2)})(i,s,o),function j2(e,n,t){const i=e.data[n];null===i?e.data[n]=t:i.value=t}(n,o,u);const d=s.values,h=[];for(let p=0;p<d.length;p++){const m=d[p],v=[];for(let w=0;w<m.length;w++){const M=m[w];if("string"!=typeof M){const O=v.push(M)-1;m[w]=`\x3c!--\ufffd${O}\ufffd--\x3e`}}const b=[];h.push(b),l=v$(b,n,u,t,i,r,s.cases[p],m.join(""),v)|l}l&&function D$(e,n,t){e.push(n,1,t<<2|3)}(i,l,o),e.push({kind:3,index:o,cases:h,currentCaseLViewIndex:u.currentCaseLViewIndex})}function _$(e){const n=[],t=[];let i=1,r=0;const s=Qw(e=e.replace(bA,function(o,l,u){return i="select"===u?0:1,r=parseInt(l.slice(1),10),""}));for(let o=0;o<s.length;){let l=s[o++].trim();1===i&&(l=l.replace(/\s*(?:=)?(\w+)\s*/,"$1")),l.length&&n.push(l);const u=Qw(s[o++]);n.length>t.length&&t.push(u)}return{type:i,mainBinding:r,cases:n,values:t}}function Qw(e){if(!e)return[];let n=0;const t=[],i=[],r=/[{}]/g;let s;for(r.lastIndex=0;s=r.exec(e);){const l=s.index;if("}"==s[0]){if(t.pop(),0==t.length){const u=e.substring(n,l);bA.test(u)?i.push(_$(u)):i.push(u),n=l+1}}else{if(0==t.length){const u=e.substring(n,l);i.push(u),n=l+1}t.push("{")}}const o=e.substring(n);return i.push(o),i}function v$(e,n,t,i,r,s,o,l,u){const d=[],h=[],p=[];t.cases.push(o),t.create.push(d),t.remove.push(h),t.update.push(p);const v=Dp(ao()).getInertBodyElement(l),b=Sp(v)||v;return b?SA(e,n,t,i,r,d,h,p,b,s,u,0):0}function SA(e,n,t,i,r,s,o,l,u,d,h,p){let m=0,v=u.firstChild;for(;v;){const b=Lp(n,i,1,null);switch(v.nodeType){case Node.ELEMENT_NODE:const w=v,M=w.tagName.toLowerCase();if(lo.hasOwnProperty(M)){Xw(s,sy,M,d,b),n.data[b]=M;const H=w.attributes;for(let X=0;X<H.length;X++){const re=H.item(X),ye=re.name.toLowerCase();re.value.match(ay)?av.hasOwnProperty(ye)&&ug(l,re.value,b,re.name,0,Cp[ye]?Ed:null):w$(s,b,re)}const Y={kind:1,index:b,children:[]};e.push(Y),m=SA(Y.children,n,t,i,r,s,o,l,v,b,h,p+1)|m,TA(o,b,p)}break;case Node.TEXT_NODE:const O=v.textContent||"",I=O.match(ay);Xw(s,null,I?"":O,d,b),TA(o,b,p),I&&(m=ug(l,O,b,null,0,null)|m),e.push({kind:0,index:b});break;case Node.COMMENT_NODE:const k=a$.exec(v.textContent||"");if(k){const Y=h[parseInt(k[1],10)];Xw(s,oy,"",d,b),CA(e,n,i,r,d,Y,b),y$(o,b,p)}}v=v.nextSibling}return m}function TA(e,n,t){0===t&&e.push(n)}function y$(e,n,t){0===t&&(e.push(~n),e.push(n))}function Xw(e,n,t,i,r){null!==n&&e.push(n),e.push(t,r,function G2(e,n,t){return e|n<<17|t<<1}(0,i,r))}function w$(e,n,t){e.push(n<<1|1,t.name,t.value)}function IA(e,n,t=-1){const i=Re(),r=P(),s=se+e,o=Ui(i.consts,n),l=zi();i.firstCreatePass&&function f$(e,n,t,i,r,s){const o=zi(),l=[],u=[],d=[[]],h=[[]];r=function m$(e,n){if(function uI(e){return-1===e}(n))return EA(e);{const t=e.indexOf(`:${n}${cg}`)+2+n.toString().length,i=e.search(new RegExp(`${cg}\\/\\*\\d+:${n}${cg}`));return EA(e.substring(t,i))}}(r,s);const p=function d$(e){return e.replace(u$," ")}(r).split(c$);for(let m=0;m<p.length;m++){let v=p[m];if(1&m){const b=47===v.charCodeAt(0),w=v.charCodeAt(b?1:0),M=se+Number.parseInt(v.substring(b?2:1));if(b)d.shift(),h.shift(),fr(zi(),!1);else{const O=U2(e,d[0],M);d.unshift([]),fr(O,!0);const I={kind:2,index:M,children:[],type:35===w?0:1};h[0].push(I),h.unshift(I.children)}}else{const b=Qw(v);for(let w=0;w<b.length;w++){let M=b[w];if(1&w){const O=M;if("object"!=typeof O)throw new Error(`Unable to parse ICU expression in "${r}" message.`);const k=DA(e,o,d[0],t,l,"",!0).index;CA(h[0],e,t,u,n,O,k)}else""!==M&&h$(h[0],e,o,d[0],l,u,t,M)}}}e.data[i]={create:l,update:u,ast:h[0],parentTNodeIndex:n}}(i,null===l?0:l.index,r,s,o,t),2===i.type?r[Ot][le]|=32:r[le]|=32;const u=i.data[s],h=B(i,l===r[St]?null:l,r),p=l&&8&l.type?r[l.index]:null;(function tV(e,n,t,i){mI(e,n,t,i)})(r,s,l,t),function i$(e,n,t,i){const r=e[ae];for(let s=0;s<n.length;s++){const o=n[s++],d=(o&Ki.APPEND_EAGERLY)===Ki.APPEND_EAGERLY,h=o>>>Ki.SHIFT;let p=e[h],m=!1;null===p&&(p=e[h]=lg(e,h,n[s],(o&Ki.COMMENT)===Ki.COMMENT?Node.COMMENT_NODE:Node.TEXT_NODE),m=wi()),d&&null!==t&&m&&j(r,t,p,i,!1)}}(r,u.create,h,p),f_(!0)}function dg(e,n,t){IA(e,n,t),function NA(){f_(!1)}()}let OA=(e,n,t)=>{};function De(e,n,t,i){const r=P(),s=Re(),o=Ke();return Kw(s,r,r[ae],o,e,n,i),De}function Kw(e,n,t,i,r,s,o){const l=$i(i),d=e.firstCreatePass&&zM(e),h=n[bt],p=GM(n);let m=!0;if(3&i.type||o){const w=vn(i,n),M=o?o(w):w,O=p.length,I=o?H=>o(Ue(H[i.index])):i.index;let k=null;if(!o&&l&&(k=function P$(e,n,t,i){const r=e.cleanup;if(null!=r)for(let s=0;s<r.length-1;s+=2){const o=r[s];if(o===t&&r[s+1]===i){const l=n[Ra],u=r[s+2];return l.length>u?l[u]:null}"string"==typeof o&&(s+=2)}return null}(e,n,r,i.index)),null!==k)(k.__ngLastListenerFn__||k).__ngNextListenerFn__=s,k.__ngLastListenerFn__=s,m=!1;else{s=FA(i,n,h,s),OA(w,r,s);const H=t.listen(M,r,s);p.push(s,H),d&&d.push(r,I,O,O+1)}}else s=FA(i,n,h,s);const v=i.outputs;let b;if(m&&null!==v&&(b=v[r])){const w=b.length;if(w)for(let M=0;M<w;M+=2){const Y=n[b[M]][b[M+1]].subscribe(s),X=p.length;p.push(s,Y),d&&d.push(r,i.index,X,-(X+1))}}}function PA(e,n,t,i){const r=me(null);try{return Lr(6,n,t),!1!==t(i)}catch(s){return Rv(e,s),!1}finally{Lr(7,n,t),me(r)}}function FA(e,n,t,i){return function r(s){if(s===Function)return i;Vp(e.componentOffset>-1?Fn(e.index,n):n,5);let l=PA(n,t,i,s),u=r.__ngNextListenerFn__;for(;u;)l=PA(n,t,u,s)&&l,u=u.__ngNextListenerFn__;return l}}function Z(e=1){return function ad(e){return(be.lFrame.contextLView=function Yu(e,n){for(;e>0;)n=n[xa],e--;return n}(e,be.lFrame.contextLView))[bt]}(e)}function F$(e,n){let t=null;const i=function Me(e){const n=e.attrs;if(null!=n){const t=n.indexOf(5);if(!(1&t))return n[t+1]}return null}(e);for(let r=0;r<n.length;r++){const s=n[r];if("*"!==s){if(null===i?te(e,s,!0):mt(i,s))return r}else t=r}return t}function eE(e){const n=P()[Ot][St];if(!n.projection){const i=n.projection=function An(e,n){const t=[];for(let i=0;i<e;i++)t.push(n);return t}(e?e.length:1,null),r=i.slice();let s=n.child;for(;null!==s;){if(128!==s.type){const o=e?F$(s,e):0;null!==o&&(r[o]?r[o].projectionNext=s:i[o]=s,r[o]=s)}s=s.next}}}function tE(e,n=0,t,i,r,s){const o=P(),l=Re(),u=i?e+1:null;null!==u&&eg(o,l,u,i,r,s,null,t);const d=wc(l,se+e,16,null,t||null);null===d.projection&&(d.projection=n),td();const p=!o[Qn]||Ks();null===o[Ot][St].projection[d.projection]&&null!==u?function k$(e,n,t){const i=se+t,r=n.data[i],s=e[i],o=Sc(s,r.tView.ssrId);Nd(s,Id(e,r,void 0,{dehydratedView:o}),0,Ec(r,o))}(o,l,u):p&&32&~d.flags&&function VB(e,n,t){NM(n[ae],0,n,t,L(e,t,n),_e(t.parent||n[St],t,n))}(l,o,d)}function Dn(e,n,t,i){!function VI(e,n,t,i){const r=Re();if(r.firstCreatePass){const s=Ke();HI(r,new FI(n,t,i),s.index),function JV(e,n){const t=e.contentQueries||(e.contentQueries=[]);n!==(t.length?t[t.length-1]:-1)&&t.push(e.queries.length-1,n)}(r,e),!(2&~t)&&(r.staticContentQueries=!0)}return LI(r,P(),t)}(e,n,t,i)}function Oc(e,n,t){!function BI(e,n,t){const i=Re();return i.firstCreatePass&&(HI(i,new FI(e,n,t),-1),!(2&~n)&&(i.staticViewQueries=!0)),LI(i,P(),n)}(e,n,t)}function Lt(e){const n=P(),t=Re(),i=rd();sd(i+1);const r=ww(t,i);if(e.dirty&&function iD(e){return!(4&~e[le])}(n)===!(2&~r.metadata.flags)){if(null===r.matches)e.reset([]);else{const s=jI(n,i);e.reset(s,Jh),e.notifyOnChanges()}return!0}return!1}function Bt(){return function Dw(e,n){return e[gs].queries[n].queryList}(P(),rd())}function Ii(e){return Qs(function Dh(){return be.lFrame.contextLView}(),se+e)}function he(e,n=""){const t=P(),i=Re(),r=e+se,s=i.firstCreatePass?wc(i,r,1,n,null):i.data[r],o=eO(i,t,s,n,e);t[r]=o,wi()&&jn(i,t,o,s),fr(s,!1)}let eO=(e,n,t,i,r)=>(hr(!0),Fp(n[ae],i));function Qt(e){return er("",e,""),Qt}function er(e,n,t){const i=P(),r=function $d(e,n,t,i){return on(e,Wi(),t)?n+Te(t)+i:Ie}(i,e,n,t);return r!==Ie&&Go(i,rn(),r),er}function rE(e,n,t,i,r,s,o){const l=P(),u=Gd(l,e,n,t,i,r,s,o);return u!==Ie&&Go(l,rn(),u),rE}function Rc(e,n,t){zI(n)&&(n=n());const i=P();return on(i,Wi(),n)&&Zi(Re(),Dt(),i,e,n,i[ae],t,!1),Rc}function Xd(e,n){const t=zI(e);return t&&e.set(n),t}function xc(e,n){const t=P(),i=Re(),r=Ke();return Kw(i,t,t[ae],r,e,n),xc}function sE(e,n,t,i,r){if(e=ve(e),Array.isArray(e))for(let s=0;s<e.length;s++)sE(e[s],n,t,i,r);else{const s=Re(),o=P(),l=Ke();let u=ps(e)?e:ve(e.provide);const d=Ta(e),h=1048575&l.providerIndexes,p=l.directiveStart,m=l.providerIndexes>>20;if(ps(e)||!e.multi){const v=new io(d,r,$),b=aE(u,n,r?h:h+m,p);-1===b?(Ph(pd(l,o),s,u),oE(s,e,n.length),n.push(u),l.directiveStart++,l.directiveEnd++,r&&(l.providerIndexes+=1048576),t.push(v),o.push(v)):(t[b]=v,o[b]=v)}else{const v=aE(u,n,h+m,p),b=aE(u,n,h,h+m),M=b>=0&&t[b];if(r&&!M||!r&&!(v>=0&&t[v])){Ph(pd(l,o),s,u);const O=function nU(e,n,t,i,r){const s=new io(e,t,$);return s.multi=[],s.index=n,s.componentProviders=0,uO(s,r,i&&!t),s}(r?tU:eU,t.length,r,i,d);!r&&M&&(t[b].providerFactory=O),oE(s,e,n.length,0),n.push(u),l.directiveStart++,l.directiveEnd++,r&&(l.providerIndexes+=1048576),t.push(O),o.push(O)}else oE(s,e,v>-1?v:b,uO(t[r?b:v],d,!r&&i));!r&&i&&M&&t[b].componentProviders++}}}function oE(e,n,t,i){const r=ps(n),s=function U0(e){return!!e.useClass}(n);if(r||s){const u=(s?ve(n.useClass):n).prototype.ngOnDestroy;if(u){const d=e.destroyHooks||(e.destroyHooks=[]);if(!r&&n.multi){const h=d.indexOf(t);-1===h?d.push(t,[i,u]):d[h+1].push(i,u)}else d.push(t,u)}}}function uO(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function aE(e,n,t,i){for(let r=t;r<i;r++)if(n[r]===e)return r;return-1}function eU(e,n,t,i){return lE(this.multi,[])}function tU(e,n,t,i){const r=this.multi;let s;if(this.providerFactory){const o=this.providerFactory.componentProviders,l=so(t,t[W],this.providerFactory.index,i);s=l.slice(0,o),lE(r,s);for(let u=o;u<l.length;u++)s.push(l[u])}else s=[],lE(r,s);return s}function lE(e,n){for(let t=0;t<e.length;t++)n.push((0,e[t])());return n}function Mt(e,n=[]){return t=>{t.providersResolver=(i,r)=>function K$(e,n,t){const i=Re();if(i.firstCreatePass){const r=yi(e);sE(t,i.data,i.blueprint,r,!0),sE(n,i.data,i.blueprint,r,!1)}}(i,r?r(e):e,n)}}let iU=(()=>{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=Bu(0,t.type),r=i.length>0?Wv([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{this.\u0275prov=U({token:e,providedIn:"environment",factory:()=>new e(ee(_n))})}}return e})();function qr(e){Ti("NgStandalone"),e.getStandaloneInjector=n=>n.get(iU).getOrCreateStandaloneInjector(e)}function hl(e,n,t,i){return hO(P(),kn(),e,n,t,i)}function uy(e,n,t,i,r){return pO(P(),kn(),e,n,t,i,r)}function cE(e,n,t,i,r,s){return function gO(e,n,t,i,r,s,o,l){const u=n+t;return Jv(e,u,r,s,o)?ho(e,u+3,l?i.call(l,r,s,o):i(r,s,o)):fg(e,u+3)}(P(),kn(),e,n,t,i,r,s)}function fg(e,n){const t=e[n];return t===Ie?void 0:t}function hO(e,n,t,i,r,s){const o=n+t;return on(e,o,r)?ho(e,o+1,s?i.call(s,r):i(r)):fg(e,o+1)}function pO(e,n,t,i,r,s,o){const l=n+t;return Mc(e,l,r,s)?ho(e,l+2,o?i.call(o,r,s):i(r,s)):fg(e,l+2)}function Pc(e,n){const t=Re();let i;const r=e+se;t.firstCreatePass?(i=function pU(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 s=i.factory||(i.factory=Us(i.type)),l=Wn($);try{const u=fd(!1),d=s();return fd(u),function iE(e,n,t,i){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=i}(t,P(),r,d),d}finally{Wn(l)}}function Kd(e,n,t,i){const r=e+se,s=P(),o=Qs(s,r);return hg(s,r)?pO(s,kn(),n,o.transform,t,i,o):o.transform(t,i)}function hg(e,n){return e[W].data[n].pure}function tr(e,n){return Pv(e,n)}let PO=(()=>{class e{log(t){console.log(t)}warn(t){console.warn(t)}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"platform"})}}return e})();const VO=new q(""),hy=new q("");let _E,gE=(()=>{class e{constructor(t,i,r){this._ngZone=t,this.registry=i,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,_E||(function u3(e){_E=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:()=>{Ae.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 s=-1;i&&i>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(o=>o.timeoutId!==s),t()},i)),this._callbacks.push({doneCb:t,timeoutId:s,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{this.\u0275fac=function(i){return new(i||e)(ee(Ae),ee(mE),ee(hy))}}static{this.\u0275prov=U({token:e,factory:e.\u0275fac})}}return e})(),mE=(()=>{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 _E?.findTestabilityInTree(this,t,i)??null}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"platform"})}}return e})();function _g(e){return!!e&&"function"==typeof e.then}function HO(e){return!!e&&"function"==typeof e.subscribe}const vE=new q("");let jO=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,i)=>{this.resolve=t,this.reject=i}),this.appInits=S(vE,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const t=[];for(const r of this.appInits){const s=r();if(_g(s))t.push(s);else if(HO(s)){const o=new Promise((l,u)=>{s.subscribe({complete:l,error:u})});t.push(o)}}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{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();const py=new q("");function UO(e,n){return Array.isArray(n)?n.reduce(UO,e):{...e,...n}}let Jr=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=S(Wh),this.afterRenderManager=S(_N),this.zonelessEnabled=S(Jp),this.dirtyFlags=0,this.deferredDirtyFlags=0,this.externalTestViews=new Set,this.beforeRender=new ft,this.afterTick=new ft,this.componentTypes=[],this.components=[],this.isStable=S(Ds).hasPendingTasks.pipe(xe(t=>!t)),this._injector=S(_n)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let t;return new Promise(i=>{t=this.isStable.subscribe({next:r=>{r&&i()}})}).finally(()=>{t.unsubscribe()})}get injector(){return this._injector}bootstrap(t,i){const r=t instanceof EI;if(!this._injector.get(jO).done)throw!r&&function qs(e){const n=Ne(e)||en(e)||mn(e);return null!==n&&n.standalone}(t),new R(405,!1);let o;o=r?t:this._injector.get(Hv).resolveComponentFactory(t),this.componentTypes.push(o.componentType);const l=function d3(e){return e.isBoundToModule}(o)?void 0:this._injector.get(Tc),d=o.create(lt.NULL,[],i||o.selector,l),h=d.location.nativeElement,p=d.injector.get(VO,null);return p?.registerApplication(h),d.onDestroy(()=>{this.detachView(d.hostView),gy(this.components,d),p?.unregisterApplication(h)}),this._loadComponent(d),d}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new R(101,!1);const t=me(null);try{this._runningTick=!0,this.synchronize()}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,me(t),this.afterTick.next()}}synchronize(){let t=null;this._injector.destroyed||(t=this._injector.get(jv,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let i=0;for(;0!==this.dirtyFlags&&i++<10;)this.synchronizeOnce(t)}synchronizeOnce(t){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,7&this.dirtyFlags){const i=!!(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8,this.beforeRender.next(i);for(let{_lView:r,notifyErrorHandler:s}of this._views)p3(r,s,i,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),7&this.dirtyFlags)return}else t?.begin?.(),t?.end?.();8&this.dirtyFlags&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){this.allViews.some(({_lView:t})=>tc(t))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(t){const i=t;this._views.push(i),i.attachToAppRef(this)}detachView(t){const i=t;gy(this._views,i),i.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t);const i=this._injector.get(py,[]);[...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),()=>gy(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new R(406,!1);const t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function gy(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function p3(e,n,t,i){(t||tc(e))&&xv(e,n,t&&!i?0:1)}class g3{constructor(n,t){this.ngModuleFactory=n,this.componentFactories=t}}let zO=(()=>{class e{compileModuleSync(t){return new Mw(t)}compileModuleAsync(t){return Promise.resolve(this.compileModuleSync(t))}compileModuleAndAllComponentsSync(t){const i=this.compileModuleSync(t),s=Kn(tn(t).declarations).reduce((o,l)=>{const u=Ne(l);return u&&o.push(new Qp(u)),o},[]);return new g3(i,s)}compileModuleAndAllComponentsAsync(t){return Promise.resolve(this.compileModuleAndAllComponentsSync(t))}clearCache(){}clearCacheFor(t){}getModuleId(t){}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),v3=(()=>{class e{constructor(){this.zone=S(Ae),this.changeDetectionScheduler=S(Od),this.applicationRef=S(Jr)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function yE({ngZoneFactory:e,ignoreChangesOutsideZone:n,scheduleInRootZone:t}){return e??=()=>new Ae({...bE(),scheduleInRootZone:t}),[{provide:Ae,useFactory:e},{provide:Rr,multi:!0,useFactory:()=>{const i=S(v3,{optional:!0});return()=>i.initialize()}},{provide:Rr,multi:!0,useFactory:()=>{const i=S(b3);return()=>{i.initialize()}}},!0===n?{provide:wI,useValue:!0}:[],{provide:dw,useValue:t??O_}]}function bE(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}let b3=(()=>{class e{constructor(){this.subscription=new nt,this.initialized=!1,this.zone=S(Ae),this.pendingTasks=S(Ds)}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(()=>{Ae.assertNotInAngularZone(),queueMicrotask(()=>{null!==t&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(t),t=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Ae.assertInAngularZone(),t??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),vg=(()=>{class e{constructor(){this.appRef=S(Jr),this.taskService=S(Ds),this.ngZone=S(Ae),this.zonelessEnabled=S(Jp),this.disableScheduling=S(wI,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new nt,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(_d):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(S(dw,{optional:!0})??!1),this.cancelScheduledCallback=null,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 zh||!this.zoneIsDefined)}notify(t){if(!this.zonelessEnabled&&5===t)return;switch(t){case 0:this.appRef.dirtyFlags|=2;break;case 3:case 2:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 7:this.appRef.deferredDirtyFlags|=8;break;default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick())return;const i=this.useMicrotaskScheduler?P_:x_;this.pendingRenderTaskId=this.taskService.add(),this.cancelScheduledCallback=this.scheduleInRootZone?Zone.root.run(()=>i(()=>this.tick())):this.ngZone.runOutsideAngular(()=>i(()=>this.tick()))}shouldScheduleTick(){return!(this.disableScheduling||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(_d+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;!this.zonelessEnabled&&7&this.appRef.dirtyFlags&&(this.appRef.dirtyFlags|=1);const t=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(i){throw this.taskService.remove(t),i}finally{this.cleanup()}this.useMicrotaskScheduler=!0,P_(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(t)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const t=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(t)}}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();const qo=new q("",{providedIn:"root",factory:()=>S(qo,Pe.Optional|Pe.SkipSelf)||function D3(){return typeof $localize<"u"&&$localize.locale||ry}()}),_y=new q("");function vy(e){return!e.moduleRef}let QO=(()=>{class e{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,i){const r=i?.scheduleInRootZone,o=i?.ignoreChangesOutsideZone,l=[yE({ngZoneFactory:()=>function ID(e="zone.js",n){return"noop"===e?new zh:"zone.js"===e?new Ae(n):e}(i?.ngZone,{...bE({eventCoalescing:i?.ngZoneEventCoalescing,runCoalescing:i?.ngZoneRunCoalescing}),scheduleInRootZone:r}),ignoreChangesOutsideZone:o}),{provide:Od,useExisting:vg}],u=function pH(e,n,t){return new Tw(e,n,t,!1)}(t.moduleType,this.injector,l);return function ZO(e){const n=vy(e)?e.r3Injector:e.moduleRef.injector,t=n.get(Ae);return t.run(()=>{vy(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();const i=n.get(Ur,null);let r;if(t.runOutsideAngular(()=>{r=t.onError.subscribe({next:s=>{i.handleError(s)}})}),vy(e)){const s=()=>n.destroy(),o=e.platformInjector.get(_y);o.add(s),n.onDestroy(()=>{r.unsubscribe(),o.delete(s)})}else{const s=()=>e.moduleRef.destroy(),o=e.platformInjector.get(_y);o.add(s),e.moduleRef.onDestroy(()=>{gy(e.allPlatformModules,e.moduleRef),r.unsubscribe(),o.delete(s)})}return function h3(e,n,t){try{const i=t();return _g(i)?i.catch(r=>{throw n.runOutsideAngular(()=>e.handleError(r)),r}):i}catch(i){throw n.runOutsideAngular(()=>e.handleError(i)),i}}(i,t,()=>{const s=n.get(jO);return s.runInitializers(),s.donePromise.then(()=>{if(function Qj(e){"string"==typeof e&&(hA=e.toLowerCase().replace(/_/g,"-"))}(n.get(qo,ry)||ry),vy(e)){const l=n.get(Jr);return void 0!==e.rootComponent&&l.bootstrap(e.rootComponent),l}return function M3(e,n){const t=e.injector.get(Jr);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(i=>t.bootstrap(i));else{if(!e.instance.ngDoBootstrap)throw new R(-403,!1);e.instance.ngDoBootstrap(t)}n.push(e)}(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}({moduleRef:u,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(t,i=[]){const r=UO({},i);return function _3(e,n,t){const i=new Mw(t);return Promise.resolve(i)}(0,0,t).then(s=>this.bootstrapModuleFactory(s,r))}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new R(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const t=this._injector.get(_y,null);t&&(t.forEach(i=>i()),t.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static{this.\u0275fac=function(i){return new(i||e)(ee(lt))}}static{this.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"platform"})}}return e})(),pl=null;const XO=new q("");function KO(e,n,t=[]){const i=`Platform: ${n}`,r=new q(i);return(s=[])=>{let o=wE();if(!o||o.injector.get(XO,!1)){const l=[...t,...s,{provide:r,useValue:!0}];e?e(l):function I3(e){if(pl&&!pl.get(XO,!1))throw new R(400,!1);(function $O(){!function h0(e){Vs=e}(()=>{throw new R(600,!1)})})(),pl=e;const n=e.get(QO);(function tR(e){e.get(Y_,null)?.forEach(t=>t())})(e)}(function eR(e=[],n){return lt.create({name:n,providers:[{provide:Vu,useValue:"platform"},{provide:_y,useValue:new Set([()=>pl=null])},...e]})}(l,i))}return function N3(){const n=wE();if(!n)throw new R(401,!1);return n}()}}function wE(){return pl?.get(QO)??null}let Yr=(()=>{class e{static{this.__NG_ELEMENT_ID__=O3}}return e})();function O3(e){return function R3(e,n,t){if(Fo(e)&&!t){const i=Fn(e.index,n);return new Hp(i,i)}return 175&e.type?new Hp(n[Ot],n):null}(Ke(),P(),!(16&~e))}class oR{constructor(){}supports(n){return qv(n)}create(n){return new L3(n)}}const k3=(e,n)=>n;class L3{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||k3}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,s=null;for(;t||i;){const o=!i||t&&t.currentIndex<lR(i,r,s)?t:i,l=lR(o,r,s),u=o.currentIndex;if(o===i)r--,i=i._nextRemoved;else if(t=t._next,null==o.previousIndex)r++;else{s||(s=[]);const d=l-r,h=u-r;if(d!=h){for(let m=0;m<d;m++){const v=m<s.length?s[m]:s[m]=0,b=v+m;h<=b&&b<d&&(s[m]=v+1)}s[o.previousIndex]=h-d}}l!==u&&n(o,l,u)}}forEachPreviousItem(n){let t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)n(t)}forEachAddedItem(n){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)n(t)}forEachMovedItem(n){let t;for(t=this._movesHead;null!==t;t=t._nextMoved)n(t)}forEachRemovedItem(n){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)n(t)}forEachIdentityChange(n){let t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)n(t)}diff(n){if(null==n&&(n=[]),!qv(n))throw new R(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let r,s,o,t=this._itHead,i=!1;if(Array.isArray(n)){this.length=n.length;for(let l=0;l<this.length;l++)s=n[l],o=this._trackByFn(l,s),null!==t&&Object.is(t.trackById,o)?(i&&(t=this._verifyReinsertion(t,s,o,l)),Object.is(t.item,s)||this._addIdentityChange(t,s)):(t=this._mismatch(t,s,o,l),i=!0),t=t._next}else r=0,function _H(e,n){if(Array.isArray(e))for(let t=0;t<e.length;t++)n(e[t]);else{const t=e[Symbol.iterator]();let i;for(;!(i=t.next()).done;)n(i.value)}}(n,l=>{o=this._trackByFn(r,l),null!==t&&Object.is(t.trackById,o)?(i&&(t=this._verifyReinsertion(t,l,o,r)),Object.is(t.item,l)||this._addIdentityChange(t,l)):(t=this._mismatch(t,l,o,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 s;return null===n?s=this._itTail:(s=n._prev,this._remove(n)),null!==(n=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._reinsertAfter(n,s,r)):null!==(n=null===this._linkedRecords?null:this._linkedRecords.get(i,r))?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._moveAfter(n,s,r)):n=this._addAfter(new B3(t,i),s,r),n}_verifyReinsertion(n,t,i,r){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==s?n=this._reinsertAfter(s,n._prev,r):n.currentIndex!=r&&(n.currentIndex=r,this._addToMoves(n,r)),n}_truncate(n){for(;null!==n;){const 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,s=n._nextRemoved;return null===r?this._removalsHead=s:r._nextRemoved=s,null===s?this._removalsTail=r:s._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 aR),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 aR),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 B3{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 V3{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 aR{constructor(){this.map=new Map}put(n){const t=n.trackById;let i=this.map.get(t);i||(i=new V3,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 lR(e,n,t){const i=e.previousIndex;if(null===i)return i;let r=0;return t&&i<t.length&&(r=t[i]),i+n+r}function uR(){return new ME([new oR])}let ME=(()=>{class e{static{this.\u0275prov=U({token:e,providedIn:"root",factory:uR})}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||uR()),deps:[[e,new ba,new Hl]]}}find(t){const i=this.factories.find(r=>r.supports(t));if(null!=i)return i;throw new R(901,!1)}}return e})();const G3=KO(null,"core",[]);let z3=(()=>{class e{constructor(t){}static{this.\u0275fac=function(i){return new(i||e)(ee(Jr))}}static{this.\u0275mod=qe({type:e})}static{this.\u0275inj=We({})}}return e})();function wg(e,n){Ti("NgSignals");const t=function u0(e){const n=Object.create(d0);n.computation=e;const t=()=>{if(No(n),Nr(n),n.value===Ol)throw n.error;return n.value};return t[sr]=n,t}(e);return n?.equal&&(t[sr].equal=n.equal),t}function vo(e){const n=me(null);try{return e()}finally{me(n)}}function AE(e,n){const t=Ne(e),i=n.elementInjector||nn();return new Qp(t).create(i,n.projectableNodes,n.hostElement,n.environmentInjector)}let PR=null;function gl(){return PR}class AG{}const Gt=new q("");let OE=(()=>{class e{historyGo(t){throw new Error("")}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=U({token:e,factory:()=>S(RG),providedIn:"platform"})}}return e})();const OG=new q("");let RG=(()=>{class e extends OE{constructor(){super(),this._doc=S(Gt),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return gl().getBaseHref(this._doc)}onPopState(t){const i=gl().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",t,!1),()=>i.removeEventListener("popstate",t)}onHashChange(t){const i=gl().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",t,!1),()=>i.removeEventListener("hashchange",t)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(t){this._location.pathname=t}pushState(t,i,r){this._history.pushState(t,i,r)}replaceState(t,i,r){this._history.replaceState(t,i,r)}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=U({token:e,factory:()=>new e,providedIn:"platform"})}}return e})();function RE(e,n){if(0==e.length)return n;if(0==n.length)return e;let t=0;return e.endsWith("/")&&t++,n.startsWith("/")&&t++,2==t?e+n.substring(1):1==t?e+n:e+"/"+n}function FR(e){const n=e.match(/#|\?|$/),t=n&&n.index||e.length;return e.slice(0,t-("/"===e[t-1]?1:0))+e.slice(t)}function Jo(e){return e&&"?"!==e[0]?"?"+e:e}let kc=(()=>{class e{historyGo(t){throw new Error("")}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=U({token:e,factory:()=>S(kR),providedIn:"root"})}}return e})();const xE=new q("");let kR=(()=>{class e extends kc{constructor(t,i){super(),this._platformLocation=t,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??S(Gt).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return RE(this._baseHref,t)}path(t=!1){const i=this._platformLocation.pathname+Jo(this._platformLocation.search),r=this._platformLocation.hash;return r&&t?`${i}${r}`:i}pushState(t,i,r,s){const o=this.prepareExternalUrl(r+Jo(s));this._platformLocation.pushState(t,i,o)}replaceState(t,i,r,s){const o=this.prepareExternalUrl(r+Jo(s));this._platformLocation.replaceState(t,i,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static{this.\u0275fac=function(i){return new(i||e)(ee(OE),ee(xE,8))}}static{this.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),xG=(()=>{class e extends kc{constructor(t,i){super(),this._platformLocation=t,this._baseHref="",this._removeListenerFns=[],null!=i&&(this._baseHref=i)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}path(t=!1){const i=this._platformLocation.hash??"#";return i.length>0?i.substring(1):i}prepareExternalUrl(t){const i=RE(this._baseHref,t);return i.length>0?"#"+i:i}pushState(t,i,r,s){let o=this.prepareExternalUrl(r+Jo(s));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.pushState(t,i,o)}replaceState(t,i,r,s){let o=this.prepareExternalUrl(r+Jo(s));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.replaceState(t,i,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static{this.\u0275fac=function(i){return new(i||e)(ee(OE),ee(xE,8))}}static{this.\u0275prov=U({token:e,factory:e.\u0275fac})}}return e})(),Eg=(()=>{class e{constructor(t){this._subject=new ue,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=t;const i=this._locationStrategy.getBaseHref();this._basePath=function kG(e){if(new RegExp("^(https?:)?//").test(e)){const[,t]=e.split(/\/\/[^\/]+/);return t}return e}(FR(LR(i))),this._locationStrategy.onPopState(r=>{this._subject.emit({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,i=""){return this.path()==this.normalize(t+Jo(i))}normalize(t){return e.stripTrailingSlash(function FG(e,n){if(!e||!n.startsWith(e))return n;const t=n.substring(e.length);return""===t||["/",";","?","#"].includes(t[0])?t:n}(this._basePath,LR(t)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,i="",r=null){this._locationStrategy.pushState(r,"",t,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Jo(i)),r)}replaceState(t,i="",r=null){this._locationStrategy.replaceState(r,"",t,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Jo(i)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(t=0){this._locationStrategy.historyGo?.(t)}onUrlChange(t){return this._urlChangeListeners.push(t),this._urlChangeSubscription??=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)}),()=>{const i=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(i,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(t="",i){this._urlChangeListeners.forEach(r=>r(t,i))}subscribe(t,i,r){return this._subject.subscribe({next:t,error:i,complete:r})}static{this.normalizeQueryParams=Jo}static{this.joinWithSlash=RE}static{this.stripTrailingSlash=FR}static{this.\u0275fac=function(i){return new(i||e)(ee(kc))}}static{this.\u0275prov=U({token:e,factory:()=>function PG(){return new Eg(ee(kc))}(),providedIn:"root"})}}return e})();function LR(e){return e.replace(/\/index.html$/,"")}var Ai=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}(Ai||{}),It=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}(It||{}),br=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}(br||{});const fn={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function Ny(e,n){return Qr(Mi(e)[Rt.DateFormat],n)}function Ay(e,n){return Qr(Mi(e)[Rt.TimeFormat],n)}function Oy(e,n){return Qr(Mi(e)[Rt.DateTimeFormat],n)}function Zr(e,n){const t=Mi(e),i=t[Rt.NumberSymbols][n];if(typeof i>"u"){if(n===fn.CurrencyDecimal)return t[Rt.NumberSymbols][fn.Decimal];if(n===fn.CurrencyGroup)return t[Rt.NumberSymbols][fn.Group]}return i}function VR(e){if(!e[Rt.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[Rt.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Qr(e,n){for(let t=n;t>-1;t--)if(typeof e[t]<"u")return e[t];throw new Error("Locale data API: locale data undefined")}function FE(e){const[n,t]=e.split(":");return{hours:+n,minutes:+t}}const ZG=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Ry={},QG=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var Yo=function(e){return e[e.Short=0]="Short",e[e.ShortGMT=1]="ShortGMT",e[e.Long=2]="Long",e[e.Extended=3]="Extended",e}(Yo||{}),ct=function(e){return e[e.FullYear=0]="FullYear",e[e.Month=1]="Month",e[e.Date=2]="Date",e[e.Hours=3]="Hours",e[e.Minutes=4]="Minutes",e[e.Seconds=5]="Seconds",e[e.FractionalSeconds=6]="FractionalSeconds",e[e.Day=7]="Day",e}(ct||{}),ut=function(e){return e[e.DayPeriods=0]="DayPeriods",e[e.Days=1]="Days",e[e.Months=2]="Months",e[e.Eras=3]="Eras",e}(ut||{});function HR(e,n,t,i){let r=function o8(e){if(UR(e))return e;if("number"==typeof e&&!isNaN(e))return new Date(e);if("string"==typeof e){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){const[r,s=1,o=1]=e.split("-").map(l=>+l);return xy(r,s-1,o)}const t=parseFloat(e);if(!isNaN(e-t))return new Date(t);let i;if(i=e.match(ZG))return function a8(e){const n=new Date(0);let t=0,i=0;const r=e[8]?n.setUTCFullYear:n.setFullYear,s=e[8]?n.setUTCHours:n.setHours;e[9]&&(t=Number(e[9]+e[10]),i=Number(e[9]+e[11])),r.call(n,Number(e[1]),Number(e[2])-1,Number(e[3]));const o=Number(e[4]||0)-t,l=Number(e[5]||0)-i,u=Number(e[6]||0),d=Math.floor(1e3*parseFloat("0."+(e[7]||0)));return s.call(n,o,l,u,d),n}(i)}const n=new Date(e);if(!UR(n))throw new Error(`Unable to convert "${e}" into a date`);return n}(e);n=Zo(t,n)||n;let l,o=[];for(;n;){if(l=QG.exec(n),!l){o.push(n);break}{o=o.concat(l.slice(1));const h=o.pop();if(!h)break;n=h}}let u=r.getTimezoneOffset();i&&(u=$R(i,u),r=function s8(e,n,t){const i=t?-1:1,r=e.getTimezoneOffset();return function r8(e,n){return(e=new Date(e.getTime())).setMinutes(e.getMinutes()+n),e}(e,i*($R(n,r)-r))}(r,i,!0));let d="";return o.forEach(h=>{const p=function i8(e){if(LE[e])return LE[e];let n;switch(e){case"G":case"GG":case"GGG":n=xt(ut.Eras,It.Abbreviated);break;case"GGGG":n=xt(ut.Eras,It.Wide);break;case"GGGGG":n=xt(ut.Eras,It.Narrow);break;case"y":n=hn(ct.FullYear,1,0,!1,!0);break;case"yy":n=hn(ct.FullYear,2,0,!0,!0);break;case"yyy":n=hn(ct.FullYear,3,0,!1,!0);break;case"yyyy":n=hn(ct.FullYear,4,0,!1,!0);break;case"Y":n=Ly(1);break;case"YY":n=Ly(2,!0);break;case"YYY":n=Ly(3);break;case"YYYY":n=Ly(4);break;case"M":case"L":n=hn(ct.Month,1,1);break;case"MM":case"LL":n=hn(ct.Month,2,1);break;case"MMM":n=xt(ut.Months,It.Abbreviated);break;case"MMMM":n=xt(ut.Months,It.Wide);break;case"MMMMM":n=xt(ut.Months,It.Narrow);break;case"LLL":n=xt(ut.Months,It.Abbreviated,Ai.Standalone);break;case"LLLL":n=xt(ut.Months,It.Wide,Ai.Standalone);break;case"LLLLL":n=xt(ut.Months,It.Narrow,Ai.Standalone);break;case"w":n=kE(1);break;case"ww":n=kE(2);break;case"W":n=kE(1,!0);break;case"d":n=hn(ct.Date,1);break;case"dd":n=hn(ct.Date,2);break;case"c":case"cc":n=hn(ct.Day,1);break;case"ccc":n=xt(ut.Days,It.Abbreviated,Ai.Standalone);break;case"cccc":n=xt(ut.Days,It.Wide,Ai.Standalone);break;case"ccccc":n=xt(ut.Days,It.Narrow,Ai.Standalone);break;case"cccccc":n=xt(ut.Days,It.Short,Ai.Standalone);break;case"E":case"EE":case"EEE":n=xt(ut.Days,It.Abbreviated);break;case"EEEE":n=xt(ut.Days,It.Wide);break;case"EEEEE":n=xt(ut.Days,It.Narrow);break;case"EEEEEE":n=xt(ut.Days,It.Short);break;case"a":case"aa":case"aaa":n=xt(ut.DayPeriods,It.Abbreviated);break;case"aaaa":n=xt(ut.DayPeriods,It.Wide);break;case"aaaaa":n=xt(ut.DayPeriods,It.Narrow);break;case"b":case"bb":case"bbb":n=xt(ut.DayPeriods,It.Abbreviated,Ai.Standalone,!0);break;case"bbbb":n=xt(ut.DayPeriods,It.Wide,Ai.Standalone,!0);break;case"bbbbb":n=xt(ut.DayPeriods,It.Narrow,Ai.Standalone,!0);break;case"B":case"BB":case"BBB":n=xt(ut.DayPeriods,It.Abbreviated,Ai.Format,!0);break;case"BBBB":n=xt(ut.DayPeriods,It.Wide,Ai.Format,!0);break;case"BBBBB":n=xt(ut.DayPeriods,It.Narrow,Ai.Format,!0);break;case"h":n=hn(ct.Hours,1,-12);break;case"hh":n=hn(ct.Hours,2,-12);break;case"H":n=hn(ct.Hours,1);break;case"HH":n=hn(ct.Hours,2);break;case"m":n=hn(ct.Minutes,1);break;case"mm":n=hn(ct.Minutes,2);break;case"s":n=hn(ct.Seconds,1);break;case"ss":n=hn(ct.Seconds,2);break;case"S":n=hn(ct.FractionalSeconds,1);break;case"SS":n=hn(ct.FractionalSeconds,2);break;case"SSS":n=hn(ct.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":n=Fy(Yo.Short);break;case"ZZZZZ":n=Fy(Yo.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":n=Fy(Yo.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":n=Fy(Yo.Long);break;default:return null}return LE[e]=n,n}(h);d+=p?p(r,t,u):"''"===h?"'":h.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),d}function xy(e,n,t){const i=new Date(0);return i.setFullYear(e,n,t),i.setHours(0,0,0),i}function Zo(e,n){const t=function BG(e){return Mi(e)[Rt.LocaleId]}(e);if(Ry[t]??={},Ry[t][n])return Ry[t][n];let i="";switch(n){case"shortDate":i=Ny(e,br.Short);break;case"mediumDate":i=Ny(e,br.Medium);break;case"longDate":i=Ny(e,br.Long);break;case"fullDate":i=Ny(e,br.Full);break;case"shortTime":i=Ay(e,br.Short);break;case"mediumTime":i=Ay(e,br.Medium);break;case"longTime":i=Ay(e,br.Long);break;case"fullTime":i=Ay(e,br.Full);break;case"short":const r=Zo(e,"shortTime"),s=Zo(e,"shortDate");i=Py(Oy(e,br.Short),[r,s]);break;case"medium":const o=Zo(e,"mediumTime"),l=Zo(e,"mediumDate");i=Py(Oy(e,br.Medium),[o,l]);break;case"long":const u=Zo(e,"longTime"),d=Zo(e,"longDate");i=Py(Oy(e,br.Long),[u,d]);break;case"full":const h=Zo(e,"fullTime"),p=Zo(e,"fullDate");i=Py(Oy(e,br.Full),[h,p])}return i&&(Ry[t][n]=i),i}function Py(e,n){return n&&(e=e.replace(/\{([^}]+)}/g,function(t,i){return null!=n&&i in n?n[i]:t})),e}function Ts(e,n,t="-",i,r){let s="";(e<0||r&&e<=0)&&(r?e=1-e:(e=-e,s=t));let o=String(e);for(;o.length<n;)o="0"+o;return i&&(o=o.slice(o.length-n)),s+o}function hn(e,n,t=0,i=!1,r=!1){return function(s,o){let l=function KG(e,n){switch(e){case ct.FullYear:return n.getFullYear();case ct.Month:return n.getMonth();case ct.Date:return n.getDate();case ct.Hours:return n.getHours();case ct.Minutes:return n.getMinutes();case ct.Seconds:return n.getSeconds();case ct.FractionalSeconds:return n.getMilliseconds();case ct.Day:return n.getDay();default:throw new Error(`Unknown DateType value "${e}".`)}}(e,s);if((t>0||l>-t)&&(l+=t),e===ct.Hours)0===l&&-12===t&&(l=12);else if(e===ct.FractionalSeconds)return function XG(e,n){return Ts(e,3).substring(0,n)}(l,n);const u=Zr(o,fn.MinusSign);return Ts(l,n,u,i,r)}}function xt(e,n,t=Ai.Format,i=!1){return function(r,s){return function e8(e,n,t,i,r,s){switch(t){case ut.Months:return function jG(e,n,t){const i=Mi(e),s=Qr([i[Rt.MonthsFormat],i[Rt.MonthsStandalone]],n);return Qr(s,t)}(n,r,i)[e.getMonth()];case ut.Days:return function HG(e,n,t){const i=Mi(e),s=Qr([i[Rt.DaysFormat],i[Rt.DaysStandalone]],n);return Qr(s,t)}(n,r,i)[e.getDay()];case ut.DayPeriods:const o=e.getHours(),l=e.getMinutes();if(s){const d=function zG(e){const n=Mi(e);return VR(n),(n[Rt.ExtraData][2]||[]).map(i=>"string"==typeof i?FE(i):[FE(i[0]),FE(i[1])])}(n),h=function WG(e,n,t){const i=Mi(e);VR(i);const s=Qr([i[Rt.ExtraData][0],i[Rt.ExtraData][1]],n)||[];return Qr(s,t)||[]}(n,r,i),p=d.findIndex(m=>{if(Array.isArray(m)){const[v,b]=m,w=o>=v.hours&&l>=v.minutes,M=o<b.hours||o===b.hours&&l<b.minutes;if(v.hours<b.hours){if(w&&M)return!0}else if(w||M)return!0}else if(m.hours===o&&m.minutes===l)return!0;return!1});if(-1!==p)return h[p]}return function VG(e,n,t){const i=Mi(e),s=Qr([i[Rt.DayPeriodsFormat],i[Rt.DayPeriodsStandalone]],n);return Qr(s,t)}(n,r,i)[o<12?0:1];case ut.Eras:return function $G(e,n){return Qr(Mi(e)[Rt.Eras],n)}(n,i)[e.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${t}`)}}(r,s,e,n,t,i)}}function Fy(e){return function(n,t,i){const r=-1*i,s=Zr(t,fn.MinusSign),o=r>0?Math.floor(r/60):Math.ceil(r/60);switch(e){case Yo.Short:return(r>=0?"+":"")+Ts(o,2,s)+Ts(Math.abs(r%60),2,s);case Yo.ShortGMT:return"GMT"+(r>=0?"+":"")+Ts(o,1,s);case Yo.Long:return"GMT"+(r>=0?"+":"")+Ts(o,2,s)+":"+Ts(Math.abs(r%60),2,s);case Yo.Extended:return 0===i?"Z":(r>=0?"+":"")+Ts(o,2,s)+":"+Ts(Math.abs(r%60),2,s);default:throw new Error(`Unknown zone width "${e}"`)}}}const t8=0,ky=4;function jR(e){const n=e.getDay(),t=0===n?-3:ky-n;return xy(e.getFullYear(),e.getMonth(),e.getDate()+t)}function kE(e,n=!1){return function(t,i){let r;if(n){const s=new Date(t.getFullYear(),t.getMonth(),1).getDay()-1,o=t.getDate();r=1+Math.floor((o+s)/7)}else{const s=jR(t),o=function n8(e){const n=xy(e,t8,1).getDay();return xy(e,0,1+(n<=ky?ky:ky+7)-n)}(s.getFullYear()),l=s.getTime()-o.getTime();r=1+Math.round(l/6048e5)}return Ts(r,e,Zr(i,fn.MinusSign))}}function Ly(e,n=!1){return function(t,i){return Ts(jR(t).getFullYear(),e,Zr(i,fn.MinusSign),n)}}const LE={};function $R(e,n){e=e.replace(/:/g,"");const t=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(t)?n:t}function UR(e){return e instanceof Date&&!isNaN(e.valueOf())}function qR(e,n){n=encodeURIComponent(n);for(const t of e.split(";")){const i=t.indexOf("="),[r,s]=-1==i?[t,""]:[t.slice(0,i),t.slice(i+1)];if(r.trim()===n)return decodeURIComponent(s)}return null}const UE=/\s+/,JR=[];let GE=(()=>{class e{constructor(t,i){this._ngEl=t,this._renderer=i,this.initialClasses=JR,this.stateMap=new Map}set klass(t){this.initialClasses=null!=t?t.trim().split(UE):JR}set ngClass(t){this.rawClass="string"==typeof t?t.trim().split(UE):t}ngDoCheck(){for(const i of this.initialClasses)this._updateState(i,!0);const t=this.rawClass;if(Array.isArray(t)||t instanceof Set)for(const i of t)this._updateState(i,!0);else if(null!=t)for(const i of Object.keys(t))this._updateState(i,!!t[i]);this._applyStateDiff()}_updateState(t,i){const r=this.stateMap.get(t);void 0!==r?(r.enabled!==i&&(r.changed=!0,r.enabled=i),r.touched=!0):this.stateMap.set(t,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(const t of this.stateMap){const i=t[0],r=t[1];r.changed?(this._toggleClass(i,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),r.touched=!1}}_toggleClass(t,i){(t=t.trim()).length>0&&t.split(UE).forEach(r=>{i?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}static{this.\u0275fac=function(i){return new(i||e)($(et),$(zo))}}static{this.\u0275dir=J({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0})}}return e})();class b8{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 zE=(()=>{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,s,o)=>{if(null==r.previousIndex)i.createEmbeddedView(this._template,new b8(r.item,this._ngForOf,-1,-1),null===o?void 0:o);else if(null==o)i.remove(null===s?void 0:s);else if(null!==s){const l=i.get(s);i.move(l,o),ZR(l,r)}});for(let r=0,s=i.length;r<s;r++){const l=i.get(r).context;l.index=r,l.count=s,l.ngForOf=this._ngForOf}t.forEachIdentityChange(r=>{ZR(i.get(r.currentIndex),r)})}static ngTemplateContextGuard(t,i){return!0}static{this.\u0275fac=function(i){return new(i||e)($(Qi),$(sn),$(ME))}}static{this.\u0275dir=J({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}}return e})();function ZR(e,n){e.context.$implicit=n.item}let WE=(()=>{class e{constructor(t,i){this._viewContainer=t,this._context=new D8,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){QR("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){QR("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{this.\u0275fac=function(i){return new(i||e)($(Qi),$(sn))}}static{this.\u0275dir=J({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}}return e})();class D8{constructor(){this.$implicit=null,this.ngIf=null}}function QR(e,n){if(n&&!n.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${Xt(n)}'.`)}let Sg=(()=>{class e{constructor(t){this._viewContainerRef=t,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(t){if(this._shouldRecreateView(t)){const i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const r=this._createContextForwardProxy();this._viewRef=i.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(t){return!!t.ngTemplateOutlet||!!t.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(t,i,r)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,i,r),get:(t,i,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,i,r)}})}static{this.\u0275fac=function(i){return new(i||e)($(Qi))}}static{this.\u0275dir=J({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[jt]})}}return e})();const k8=new q(""),L8=new q("");let YE=(()=>{class e{constructor(t,i,r){this.locale=t,this.defaultTimezone=i,this.defaultOptions=r}transform(t,i,r,s){if(null==t||""===t||t!=t)return null;try{return HR(t,i??this.defaultOptions?.dateFormat??"mediumDate",s||this.locale,r??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(o){throw function Ms(e,n){return new R(2100,!1)}()}}static{this.\u0275fac=function(i){return new(i||e)($(qo,16),$(k8,24),$(L8,24))}}static{this.\u0275pipe=On({name:"date",type:e,pure:!0,standalone:!0})}}return e})(),q8=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=qe({type:e})}static{this.\u0275inj=We({})}}return e})();const ex="browser";function tx(e){return"server"===e}let Z8=(()=>{class e{static{this.\u0275prov=U({token:e,providedIn:"root",factory:()=>function Y8(e){return e===ex}(S(ws))?new Q8(S(Gt),window):new K8})}}return e})();class Q8{constructor(n,t){this.document=n,this.window=t,this.offset=()=>[0,0]}setOffset(n){this.offset=Array.isArray(n)?()=>n:n}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(n){this.window.scrollTo(n[0],n[1])}scrollToAnchor(n){const t=function X8(e,n){const t=e.getElementById(n)||e.getElementsByName(n)[0];if(t)return t;if("function"==typeof e.createTreeWalker&&e.body&&"function"==typeof e.body.attachShadow){const i=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT);let r=i.currentNode;for(;r;){const s=r.shadowRoot;if(s){const o=s.getElementById(n)||s.querySelector(`[name="${n}"]`);if(o)return o}r=i.nextNode()}}return null}(this.document,n);t&&(this.scrollToElement(t),t.focus())}setHistoryScrollRestoration(n){this.window.history.scrollRestoration=n}scrollToElement(n){const t=n.getBoundingClientRect(),i=t.left+this.window.pageXOffset,r=t.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(i-s[0],r-s[1])}}class K8{setOffset(n){}getScrollPosition(){return[0,0]}scrollToPosition(n){}scrollToAnchor(n){}setHistoryScrollRestoration(n){}}class nx{}class M5 extends AG{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class tC extends M5{static makeCurrent(){!function NG(e){PR??=e}(new tC)}onAndCancel(n,t,i){return n.addEventListener(t,i),()=>{n.removeEventListener(t,i)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.remove()}createElement(n,t){return(t=t||this.getDefaultDocument()).createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,t){return"window"===t?window:"document"===t?n:"body"===t?n.body:null}getBaseHref(n){const t=function I5(){return Ig=Ig||document.querySelector("base"),Ig?Ig.getAttribute("href"):null}();return null==t?null:function N5(e){return new URL(e,document.baseURI).pathname}(t)}resetBaseElement(){Ig=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return qR(document.cookie,n)}}let Ig=null,O5=(()=>{class e{build(){return new XMLHttpRequest}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=U({token:e,factory:e.\u0275fac})}}return e})();const nC=new q("");let hx=(()=>{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(s=>s.supports(t)),!i)throw new R(5101,!1);return this._eventNameToPlugin.set(t,i),i}static{this.\u0275fac=function(i){return new(i||e)(ee(nC),ee(Ae))}}static{this.\u0275prov=U({token:e,factory:e.\u0275fac})}}return e})();class px{constructor(n){this._doc=n}}const iC="ng-app-id";let gx=(()=>{class e{constructor(t,i,r,s={}){this.doc=t,this.appId=i,this.nonce=r,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=tx(s),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[${iC}="${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 s=r.get(t);return s.usage+=i,s.usage}return r.set(t,{usage:i,elements:[]}),i}getStyleElement(t,i){const r=this.styleNodesInDOM,s=r?.get(i);if(s?.parentNode===t)return r.delete(i),s.removeAttribute(iC),s;{const o=this.doc.createElement("style");return this.nonce&&o.setAttribute("nonce",this.nonce),o.textContent=i,this.platformIsServer&&o.setAttribute(iC,this.appId),t.appendChild(o),o}}addStyleToHost(t,i){const r=this.getStyleElement(t,i),s=this.styleRef,o=s.get(i)?.elements;o?o.push(r):s.set(i,{elements:[r],usage:1})}resetHostNodes(){const t=this.hostNodes;t.clear(),t.add(this.doc.head)}static{this.\u0275fac=function(i){return new(i||e)(ee(Gt),ee(Ya),ee(Q_,8),ee(ws))}}static{this.\u0275prov=U({token:e,factory:e.\u0275fac})}}return e})();const rC={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"},sC=/%COMP%/g,F5=new q("",{providedIn:"root",factory:()=>!0});function _x(e,n){return n.map(t=>t.replace(sC,e))}let oC=(()=>{class e{constructor(t,i,r,s,o,l,u,d=null){this.eventManager=t,this.sharedStylesHost=i,this.appId=r,this.removeStylesOnCompDestroy=s,this.doc=o,this.platformId=l,this.ngZone=u,this.nonce=d,this.rendererByCompId=new Map,this.platformIsServer=tx(l),this.defaultRenderer=new aC(t,o,u,this.platformIsServer)}createRenderer(t,i){if(!t||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===lr.ShadowDom&&(i={...i,encapsulation:lr.Emulated});const r=this.getOrCreateRenderer(t,i);return r instanceof yx?r.applyToHost(t):r instanceof lC&&r.applyStyles(),r}getOrCreateRenderer(t,i){const r=this.rendererByCompId;let s=r.get(i.id);if(!s){const o=this.doc,l=this.ngZone,u=this.eventManager,d=this.sharedStylesHost,h=this.removeStylesOnCompDestroy,p=this.platformIsServer;switch(i.encapsulation){case lr.Emulated:s=new yx(u,d,i,this.appId,h,o,l,p);break;case lr.ShadowDom:return new V5(u,d,t,i,o,l,this.nonce,p);default:s=new lC(u,d,i,h,o,l,p)}r.set(i.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}static{this.\u0275fac=function(i){return new(i||e)(ee(hx),ee(gx),ee(Ya),ee(F5),ee(Gt),ee(ws),ee(Ae),ee(Q_))}}static{this.\u0275prov=U({token:e,factory:e.\u0275fac})}}return e})();class aC{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(rC[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(vx(n)?n.content:n).appendChild(t)}insertBefore(n,t,i){n&&(vx(n)?n.content:n).insertBefore(t,i)}removeChild(n,t){t.remove()}selectRootElement(n,t){let i="string"==typeof n?this.doc.querySelector(n):n;if(!i)throw new R(-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 s=rC[r];s?n.setAttributeNS(s,t,i):n.setAttribute(t,i)}else n.setAttribute(t,i)}removeAttribute(n,t,i){if(i){const r=rC[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&(uo.DashCase|uo.Important)?n.style.setProperty(t,i,r&uo.Important?"important":""):n.style[t]=i}removeStyle(n,t,i){i&uo.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=gl().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 vx(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class V5 extends aC{constructor(n,t,i,r,s,o,l,u){super(n,s,o,u),this.sharedStylesHost=t,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const d=_x(r.id,r.styles);for(const h of d){const p=document.createElement("style");l&&p.setAttribute("nonce",l),p.textContent=h,this.shadowRoot.appendChild(p)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,t){return super.appendChild(this.nodeOrShadowRoot(n),t)}insertBefore(n,t,i){return super.insertBefore(this.nodeOrShadowRoot(n),t,i)}removeChild(n,t){return super.removeChild(null,t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class lC extends aC{constructor(n,t,i,r,s,o,l,u){super(n,s,o,l),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=r,this.styles=u?_x(u,i.styles):i.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class yx extends lC{constructor(n,t,i,r,s,o,l,u){const d=r+"-"+i.id;super(n,t,i,s,o,l,u,d),this.contentAttr=function k5(e){return"_ngcontent-%COMP%".replace(sC,e)}(d),this.hostAttr=function L5(e){return"_nghost-%COMP%".replace(sC,e)}(d)}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 H5=(()=>{class e extends px{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{this.\u0275fac=function(i){return new(i||e)(ee(Gt))}}static{this.\u0275prov=U({token:e,factory:e.\u0275fac})}}return e})();const bx=["alt","control","meta","shift"],j5={"\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"},$5={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let U5=(()=>{class e extends px{constructor(t){super(t)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,i,r){const s=e.parseEventName(i),o=e.eventCallback(s.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>gl().onAndCancel(t,s.domEventName,o))}static parseEventName(t){const i=t.toLowerCase().split("."),r=i.shift();if(0===i.length||"keydown"!==r&&"keyup"!==r)return null;const s=e._normalizeKey(i.pop());let o="",l=i.indexOf("code");if(l>-1&&(i.splice(l,1),o="code."),bx.forEach(d=>{const h=i.indexOf(d);h>-1&&(i.splice(h,1),o+=d+".")}),o+=s,0!=i.length||0===s.length)return null;const u={};return u.domEventName=r,u.fullKey=o,u}static matchEventFullKeyCode(t,i){let r=j5[t.key]||t.key,s="";return i.indexOf("code.")>-1&&(r=t.code,s="code."),!(null==r||!r)&&(r=r.toLowerCase()," "===r?r="space":"."===r&&(r="dot"),bx.forEach(o=>{o!==r&&(0,$5[o])(t)&&(s+=o+".")}),s+=r,s===i)}static eventCallback(t,i,r){return s=>{e.matchEventFullKeyCode(s,t)&&r.runGuarded(()=>i(s))}}static _normalizeKey(t){return"esc"===t?"escape":t}static{this.\u0275fac=function(i){return new(i||e)(ee(Gt))}}static{this.\u0275prov=U({token:e,factory:e.\u0275fac})}}return e})();const wx=[{provide:ws,useValue:ex},{provide:Y_,useValue:function G5(){tC.makeCurrent()},multi:!0},{provide:Gt,useFactory:function W5(){return function YD(e){op=e}(document),document},deps:[]}],q5=KO(G3,"browser",wx),J5=new q(""),Ex=[{provide:hy,useClass:class A5{addToWindow(n){Ct.getAngularTestability=(i,r=!0)=>{const s=n.findTestabilityInTree(i,r);if(null==s)throw new R(5103,!1);return s},Ct.getAllAngularTestabilities=()=>n.getAllTestabilities(),Ct.getAllAngularRootElements=()=>n.getAllRootElements(),Ct.frameworkStabilizers||(Ct.frameworkStabilizers=[]),Ct.frameworkStabilizers.push(i=>{const r=Ct.getAllAngularTestabilities();let s=r.length;const o=function(){s--,0==s&&i()};r.forEach(l=>{l.whenStable(o)})})}findTestabilityInTree(n,t,i){return null==t?null:n.getTestability(t)??(i?gl().isShadowRoot(t)?this.findTestabilityInTree(n,t.host,!0):this.findTestabilityInTree(n,t.parentElement,!0):null)}},deps:[]},{provide:VO,useClass:gE,deps:[Ae,mE,hy]},{provide:gE,useClass:gE,deps:[Ae,mE,hy]}],Cx=[{provide:Vu,useValue:"root"},{provide:Ur,useFactory:function z5(){return new Ur},deps:[]},{provide:nC,useClass:H5,multi:!0,deps:[Gt,Ae,ws]},{provide:nC,useClass:U5,multi:!0,deps:[Gt]},oC,gx,hx,{provide:jv,useExisting:oC},{provide:nx,useClass:O5,deps:[]},[]];let Sx=(()=>{class e{constructor(t){}static withServerTransition(t){return{ngModule:e,providers:[{provide:Ya,useValue:t.appId}]}}static{this.\u0275fac=function(i){return new(i||e)(ee(J5,12))}}static{this.\u0275mod=qe({type:e})}static{this.\u0275inj=We({providers:[...Cx,...Ex],imports:[q8,z3]})}}return e})(),Tx=(()=>{class e{constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}static{this.\u0275fac=function(i){return new(i||e)(ee(Gt))}}static{this.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),Nx=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=U({token:e,factory:function(i){let r=null;return r=i?new(i||e):ee(X5),r},providedIn:"root"})}}return e})(),X5=(()=>{class e extends Nx{constructor(t){super(),this._doc=t}sanitize(t,i){if(null==i)return null;switch(t){case Ji.NONE:return i;case Ji.HTML:return zr(i,"HTML")?Ei(i):hv(this._doc,String(i)).toString();case Ji.STYLE:return zr(i,"Style")?Ei(i):i;case Ji.SCRIPT:if(zr(i,"Script"))return Ei(i);throw new R(5200,!1);case Ji.URL:return zr(i,"URL")?Ei(i):Ed(String(i));case Ji.RESOURCE_URL:if(zr(i,"ResourceURL"))return Ei(i);throw new R(5201,!1);default:throw new R(5202,!1)}}bypassSecurityTrustHtml(t){return function dn(e){return new c1(e)}(t)}bypassSecurityTrustStyle(t){return function ci(e){return new u1(e)}(t)}bypassSecurityTrustScript(t){return function h1(e){return new yp(e)}(t)}bypassSecurityTrustUrl(t){return function p1(e){return new d1(e)}(t)}bypassSecurityTrustResourceUrl(t){return function g1(e){return new bp(e)}(t)}static{this.\u0275fac=function(i){return new(i||e)(ee(Gt))}}static{this.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var Se=function(e){return e[e.State=0]="State",e[e.Transition=1]="Transition",e[e.Sequence=2]="Sequence",e[e.Group=3]="Group",e[e.Animate=4]="Animate",e[e.Keyframes=5]="Keyframes",e[e.Style=6]="Style",e[e.Trigger=7]="Trigger",e[e.Reference=8]="Reference",e[e.AnimateChild=9]="AnimateChild",e[e.AnimateRef=10]="AnimateRef",e[e.Query=11]="Query",e[e.Stagger=12]="Stagger",e}(Se||{});const Qo="*";function Ax(e,n){return{type:Se.Trigger,name:e,definitions:n,options:{}}}function cC(e,n=null){return{type:Se.Animate,styles:n,timings:e}}function ml(e){return{type:Se.Style,styles:e,offset:null}}function uC(e,n,t=null){return{type:Se.Transition,expr:e,animation:n,options:t}}class Ng{constructor(n=0,t=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=n+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(n=>n()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(n){this._position=this.totalTime?n*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(n){const t="start"==n?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}}class Ox{constructor(n){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=n;let t=0,i=0,r=0;const s=this.players.length;0==s?queueMicrotask(()=>this._onFinish()):this.players.forEach(o=>{o.onDone(()=>{++t==s&&this._onFinish()}),o.onDestroy(()=>{++i==s&&this._onDestroy()}),o.onStart(()=>{++r==s&&this._onStart()})}),this.totalTime=this.players.reduce((o,l)=>Math.max(o,l.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this.players.forEach(n=>n.init())}onStart(n){this._onStartFns.push(n)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(n=>n()),this._onStartFns=[])}onDone(n){this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(n=>n.play())}pause(){this.players.forEach(n=>n.pause())}restart(){this.players.forEach(n=>n.restart())}finish(){this._onFinish(),this.players.forEach(n=>n.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(n=>n.destroy()),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this.players.forEach(n=>n.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(n){const t=n*this.totalTime;this.players.forEach(i=>{const r=i.totalTime?Math.min(1,t/i.totalTime):1;i.setPosition(r)})}getPosition(){const n=this.players.reduce((t,i)=>null===t||i.totalTime>t.totalTime?i:t,null);return null!=n?n.getPosition():0}beforeDestroy(){this.players.forEach(n=>{n.beforeDestroy&&n.beforeDestroy()})}triggerCallback(n){const t="start"==n?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}}function Rx(e){return new R(3e3,!1)}function _l(e){switch(e.length){case 0:return new Ng;case 1:return e[0];default:return new Ox(e)}}function xx(e,n,t=new Map,i=new Map){const r=[],s=[];let o=-1,l=null;if(n.forEach(u=>{const d=u.get("offset"),h=d==o,p=h&&l||new Map;u.forEach((m,v)=>{let b=v,w=m;if("offset"!==v)switch(b=e.normalizePropertyName(b,r),w){case"!":w=t.get(v);break;case Qo:w=i.get(v);break;default:w=e.normalizeStyleValue(v,b,w,r)}p.set(b,w)}),h||s.push(p),l=p,o=d}),r.length)throw function M4(){return new R(3502,!1)}();return s}function fC(e,n,t,i){switch(n){case"start":e.onStart(()=>i(t&&hC(t,"start",e)));break;case"done":e.onDone(()=>i(t&&hC(t,"done",e)));break;case"destroy":e.onDestroy(()=>i(t&&hC(t,"destroy",e)))}}function hC(e,n,t){const s=pC(e.element,e.triggerName,e.fromState,e.toState,n||e.phaseName,t.totalTime??e.totalTime,!!t.disabled),o=e._data;return null!=o&&(s._data=o),s}function pC(e,n,t,i,r="",s=0,o){return{element:e,triggerName:n,fromState:t,toState:i,phaseName:r,totalTime:s,disabled:!!o}}function Dr(e,n,t){let i=e.get(n);return i||e.set(n,i=t),i}function Px(e){const n=e.indexOf(":");return[e.substring(1,n),e.slice(n+1)]}const V4=typeof document>"u"?null:document.documentElement;function gC(e){const n=e.parentNode||e.host||null;return n===V4?null:n}let Bc=null,Fx=!1;function kx(e,n){for(;n;){if(n===e)return!0;n=gC(n)}return!1}function Lx(e,n,t){if(t)return Array.from(e.querySelectorAll(n));const i=e.querySelector(n);return i?[i]:[]}let mC=(()=>{class e{validateStyleProperty(t){return function j4(e){Bc||(Bc=function $4(){return typeof document<"u"?document.body:null}()||{},Fx=!!Bc.style&&"WebkitAppearance"in Bc.style);let n=!0;return Bc.style&&!function H4(e){return"ebkit"==e.substring(1,6)}(e)&&(n=e in Bc.style,!n&&Fx&&(n="Webkit"+e.charAt(0).toUpperCase()+e.slice(1)in Bc.style)),n}(t)}containsElement(t,i){return kx(t,i)}getParentElement(t){return gC(t)}query(t,i,r){return Lx(t,i,r)}computeStyle(t,i,r){return r||""}animate(t,i,r,s,o,l=[],u){return new Ng(r,s)}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=U({token:e,factory:e.\u0275fac})}}return e})();class _C{static{this.NOOP=new mC}}class vC{}const G4=1e3,yC="ng-enter",Uy="ng-leave",Gy="ng-trigger",zy=".ng-trigger",Vx="ng-animating",bC=".ng-animating";function Xo(e){if("number"==typeof e)return e;const n=e.match(/^(-?[\.\d]+)(m?s)/);return!n||n.length<2?0:DC(parseFloat(n[1]),n[2])}function DC(e,n){return"s"===n?e*G4:e}function Wy(e,n,t){return e.hasOwnProperty("duration")?e:function W4(e,n,t){let r,s=0,o="";if("string"==typeof e){const l=e.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===l)return n.push(Rx()),{duration:0,delay:0,easing:""};r=DC(parseFloat(l[1]),l[2]);const u=l[3];null!=u&&(s=DC(parseFloat(u),l[4]));const d=l[5];d&&(o=d)}else r=e;if(!t){let l=!1,u=n.length;r<0&&(n.push(function s4(){return new R(3100,!1)}()),l=!0),s<0&&(n.push(function o4(){return new R(3101,!1)}()),l=!0),l&&n.splice(u,0,Rx())}return{duration:r,delay:s,easing:o}}(e,n,t)}function yo(e,n,t){n.forEach((i,r)=>{const s=EC(r);t&&!t.has(r)&&t.set(r,e.style[s]),e.style[s]=i})}function Vc(e,n){n.forEach((t,i)=>{const r=EC(i);e.style[r]=""})}function Ag(e){return Array.isArray(e)?1==e.length?e[0]:function K5(e,n=null){return{type:Se.Sequence,steps:e,options:n}}(e):e}const wC=new RegExp("{{\\s*(.+?)\\s*}}","g");function jx(e){let n=[];if("string"==typeof e){let t;for(;t=wC.exec(e);)n.push(t[1]);wC.lastIndex=0}return n}function Og(e,n,t){const i=`${e}`,r=i.replace(wC,(s,o)=>{let l=n[o];return null==l&&(t.push(function l4(){return new R(3003,!1)}()),l=""),l.toString()});return r==i?e:r}const Y4=/-+([a-z0-9])/g;function EC(e){return e.replace(Y4,(...n)=>n[1].toUpperCase())}function wr(e,n,t){switch(n.type){case Se.Trigger:return e.visitTrigger(n,t);case Se.State:return e.visitState(n,t);case Se.Transition:return e.visitTransition(n,t);case Se.Sequence:return e.visitSequence(n,t);case Se.Group:return e.visitGroup(n,t);case Se.Animate:return e.visitAnimate(n,t);case Se.Keyframes:return e.visitKeyframes(n,t);case Se.Style:return e.visitStyle(n,t);case Se.Reference:return e.visitReference(n,t);case Se.AnimateChild:return e.visitAnimateChild(n,t);case Se.AnimateRef:return e.visitAnimateRef(n,t);case Se.Query:return e.visitQuery(n,t);case Se.Stagger:return e.visitStagger(n,t);default:throw function c4(){return new R(3004,!1)}()}}function CC(e,n){return window.getComputedStyle(e)[n]}const X4=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class $x extends vC{normalizePropertyName(n,t){return EC(n)}normalizeStyleValue(n,t,i,r){let s="";const o=i.toString().trim();if(X4.has(t)&&0!==i&&"0"!==i)if("number"==typeof i)s="px";else{const l=i.match(/^[+-]?[\d\.]+([a-z]*)$/);l&&0==l[1].length&&r.push(function u4(){return new R(3005,!1)}())}return o+s}}const qy="*";const Jy=new Set(["true","1"]),Yy=new Set(["false","0"]);function Ux(e,n){const t=Jy.has(e)||Yy.has(e),i=Jy.has(n)||Yy.has(n);return(r,s)=>{let o=e==qy||e==r,l=n==qy||n==s;return!o&&t&&"boolean"==typeof r&&(o=r?Jy.has(e):Yy.has(e)),!l&&i&&"boolean"==typeof s&&(l=s?Jy.has(n):Yy.has(n)),o&&l}}const nz=new RegExp("s*:selfs*,?","g");function SC(e,n,t,i){return new iz(e).build(n,t,i)}class iz{constructor(n){this._driver=n}build(n,t,i){const r=new oz(t);return this._resetContextStyleTimingState(r),wr(this,Ag(n),r)}_resetContextStyleTimingState(n){n.currentQuerySelector="",n.collectedStyles=new Map,n.collectedStyles.set("",new Map),n.currentTime=0}visitTrigger(n,t){let i=t.queryCount=0,r=t.depCount=0;const s=[],o=[];return"@"==n.name.charAt(0)&&t.errors.push(function d4(){return new R(3006,!1)}()),n.definitions.forEach(l=>{if(this._resetContextStyleTimingState(t),l.type==Se.State){const u=l,d=u.name;d.toString().split(/\s*,\s*/).forEach(h=>{u.name=h,s.push(this.visitState(u,t))}),u.name=d}else if(l.type==Se.Transition){const u=this.visitTransition(l,t);i+=u.queryCount,r+=u.depCount,o.push(u)}else t.errors.push(function f4(){return new R(3007,!1)}())}),{type:Se.Trigger,name:n.name,states:s,transitions:o,queryCount:i,depCount:r,options:null}}visitState(n,t){const i=this.visitStyle(n.styles,t),r=n.options&&n.options.params||null;if(i.containsDynamicStyles){const s=new Set,o=r||{};i.styles.forEach(l=>{l instanceof Map&&l.forEach(u=>{jx(u).forEach(d=>{o.hasOwnProperty(d)||s.add(d)})})}),s.size&&t.errors.push(function h4(){return new R(3008,!1)}(0,s.values()))}return{type:Se.State,name:n.name,style:i,options:r?{params:r}:null}}visitTransition(n,t){t.queryCount=0,t.depCount=0;const i=wr(this,Ag(n.animation),t),r=function K4(e,n){const t=[];return"string"==typeof e?e.split(/\s*,\s*/).forEach(i=>function ez(e,n,t){if(":"==e[0]){const u=function tz(e,n){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,i)=>parseFloat(i)>parseFloat(t);case":decrement":return(t,i)=>parseFloat(i)<parseFloat(t);default:return n.push(function E4(){return new R(3016,!1)}()),"* => *"}}(e,t);if("function"==typeof u)return void n.push(u);e=u}const i=e.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return t.push(function w4(){return new R(3015,!1)}()),n;const r=i[1],s=i[2],o=i[3];n.push(Ux(r,o)),"<"==s[0]&&(r!=qy||o!=qy)&&n.push(Ux(o,r))}(i,t,n)):t.push(e),t}(n.expr,t.errors);return{type:Se.Transition,matchers:r,animation:i,queryCount:t.queryCount,depCount:t.depCount,options:Hc(n.options)}}visitSequence(n,t){return{type:Se.Sequence,steps:n.steps.map(i=>wr(this,i,t)),options:Hc(n.options)}}visitGroup(n,t){const i=t.currentTime;let r=0;const s=n.steps.map(o=>{t.currentTime=i;const l=wr(this,o,t);return r=Math.max(r,t.currentTime),l});return t.currentTime=r,{type:Se.Group,steps:s,options:Hc(n.options)}}visitAnimate(n,t){const i=function lz(e,n){if(e.hasOwnProperty("duration"))return e;if("number"==typeof e)return TC(Wy(e,n).duration,0,"");const t=e;if(t.split(/\s+/).some(s=>"{"==s.charAt(0)&&"{"==s.charAt(1))){const s=TC(0,0,"");return s.dynamic=!0,s.strValue=t,s}const r=Wy(t,n);return TC(r.duration,r.delay,r.easing)}(n.timings,t.errors);t.currentAnimateTimings=i;let r,s=n.styles?n.styles:ml({});if(s.type==Se.Keyframes)r=this.visitKeyframes(s,t);else{let o=n.styles,l=!1;if(!o){l=!0;const d={};i.easing&&(d.easing=i.easing),o=ml(d)}t.currentTime+=i.duration+i.delay;const u=this.visitStyle(o,t);u.isEmptyStep=l,r=u}return t.currentAnimateTimings=null,{type:Se.Animate,timings:i,style:r,options:null}}visitStyle(n,t){const i=this._makeStyleAst(n,t);return this._validateStyleAst(i,t),i}_makeStyleAst(n,t){const i=[],r=Array.isArray(n.styles)?n.styles:[n.styles];for(let l of r)"string"==typeof l?l===Qo?i.push(l):t.errors.push(new R(3002,!1)):i.push(new Map(Object.entries(l)));let s=!1,o=null;return i.forEach(l=>{if(l instanceof Map&&(l.has("easing")&&(o=l.get("easing"),l.delete("easing")),!s))for(let u of l.values())if(u.toString().indexOf("{{")>=0){s=!0;break}}),{type:Se.Style,styles:i,easing:o,offset:n.offset,containsDynamicStyles:s,options:null}}_validateStyleAst(n,t){const i=t.currentAnimateTimings;let r=t.currentTime,s=t.currentTime;i&&s>0&&(s-=i.duration+i.delay),n.styles.forEach(o=>{"string"!=typeof o&&o.forEach((l,u)=>{const d=t.collectedStyles.get(t.currentQuerySelector),h=d.get(u);let p=!0;h&&(s!=r&&s>=h.startTime&&r<=h.endTime&&(t.errors.push(function g4(){return new R(3010,!1)}()),p=!1),s=h.startTime),p&&d.set(u,{startTime:s,endTime:r}),t.options&&function J4(e,n,t){const i=n.params||{},r=jx(e);r.length&&r.forEach(s=>{i.hasOwnProperty(s)||t.push(function a4(){return new R(3001,!1)}())})}(l,t.options,t.errors)})})}visitKeyframes(n,t){const i={type:Se.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(function m4(){return new R(3011,!1)}()),i;let s=0;const o=[];let l=!1,u=!1,d=0;const h=n.steps.map(O=>{const I=this._makeStyleAst(O,t);let k=null!=I.offset?I.offset:function az(e){if("string"==typeof e)return null;let n=null;if(Array.isArray(e))e.forEach(t=>{if(t instanceof Map&&t.has("offset")){const i=t;n=parseFloat(i.get("offset")),i.delete("offset")}});else if(e instanceof Map&&e.has("offset")){const t=e;n=parseFloat(t.get("offset")),t.delete("offset")}return n}(I.styles),H=0;return null!=k&&(s++,H=I.offset=k),u=u||H<0||H>1,l=l||H<d,d=H,o.push(H),I});u&&t.errors.push(function _4(){return new R(3012,!1)}()),l&&t.errors.push(function v4(){return new R(3200,!1)}());const p=n.steps.length;let m=0;s>0&&s<p?t.errors.push(function y4(){return new R(3202,!1)}()):0==s&&(m=1/(p-1));const v=p-1,b=t.currentTime,w=t.currentAnimateTimings,M=w.duration;return h.forEach((O,I)=>{const k=m>0?I==v?1:m*I:o[I],H=k*M;t.currentTime=b+w.delay+H,w.duration=H,this._validateStyleAst(O,t),O.offset=k,i.styles.push(O)}),i}visitReference(n,t){return{type:Se.Reference,animation:wr(this,Ag(n.animation),t),options:Hc(n.options)}}visitAnimateChild(n,t){return t.depCount++,{type:Se.AnimateChild,options:Hc(n.options)}}visitAnimateRef(n,t){return{type:Se.AnimateRef,animation:this.visitReference(n.animation,t),options:Hc(n.options)}}visitQuery(n,t){const i=t.currentQuerySelector,r=n.options||{};t.queryCount++,t.currentQuery=n;const[s,o]=function rz(e){const n=!!e.split(/\s*,\s*/).find(t=>":self"==t);return n&&(e=e.replace(nz,"")),e=e.replace(/@\*/g,zy).replace(/@\w+/g,t=>zy+"-"+t.slice(1)).replace(/:animating/g,bC),[e,n]}(n.selector);t.currentQuerySelector=i.length?i+" "+s:s,Dr(t.collectedStyles,t.currentQuerySelector,new Map);const l=wr(this,Ag(n.animation),t);return t.currentQuery=null,t.currentQuerySelector=i,{type:Se.Query,selector:s,limit:r.limit||0,optional:!!r.optional,includeSelf:o,animation:l,originalSelector:n.selector,options:Hc(n.options)}}visitStagger(n,t){t.currentQuery||t.errors.push(function b4(){return new R(3013,!1)}());const i="full"===n.timings?{duration:0,delay:0,easing:"full"}:Wy(n.timings,t.errors,!0);return{type:Se.Stagger,animation:wr(this,Ag(n.animation),t),timings:i,options:null}}}class oz{constructor(n){this.errors=n,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function Hc(e){return e?(e={...e}).params&&(e.params=function sz(e){return e?{...e}:null}(e.params)):e={},e}function TC(e,n,t){return{duration:e,delay:n,easing:t}}function MC(e,n,t,i,r,s,o=null,l=!1){return{type:1,element:e,keyframes:n,preStyleProps:t,postStyleProps:i,duration:r,delay:s,totalTime:r+s,easing:o,subTimeline:l}}class Zy{constructor(){this._map=new Map}get(n){return this._map.get(n)||[]}append(n,t){let i=this._map.get(n);i||this._map.set(n,i=[]),i.push(...t)}has(n){return this._map.has(n)}clear(){this._map.clear()}}const dz=new RegExp(":enter","g"),hz=new RegExp(":leave","g");function IC(e,n,t,i,r,s=new Map,o=new Map,l,u,d=[]){return(new pz).buildKeyframes(e,n,t,i,r,s,o,l,u,d)}class pz{buildKeyframes(n,t,i,r,s,o,l,u,d,h=[]){d=d||new Zy;const p=new NC(n,t,d,r,s,h,[]);p.options=u;const m=u.delay?Xo(u.delay):0;p.currentTimeline.delayNextStep(m),p.currentTimeline.setStyles([o],null,p.errors,u),wr(this,i,p);const v=p.timelines.filter(b=>b.containsAnimation());if(v.length&&l.size){let b;for(let w=v.length-1;w>=0;w--){const M=v[w];if(M.element===t){b=M;break}}b&&!b.allowOnlyTimelineStyles()&&b.setStyles([l],null,p.errors,u)}return v.length?v.map(b=>b.buildKeyframes()):[MC(t,[],[],[],0,m,"",!1)]}visitTrigger(n,t){}visitState(n,t){}visitTransition(n,t){}visitAnimateChild(n,t){const i=t.subInstructions.get(t.element);if(i){const r=t.createSubContext(n.options),s=t.currentTimeline.currentTime,o=this._visitSubInstructions(i,r,r.options);s!=o&&t.transformIntoNewTimeline(o)}t.previousNode=n}visitAnimateRef(n,t){const i=t.createSubContext(n.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([n.options,n.animation.options],t,i),this.visitReference(n.animation,i),t.transformIntoNewTimeline(i.currentTimeline.currentTime),t.previousNode=n}_applyAnimationRefDelays(n,t,i){for(const r of n){const s=r?.delay;if(s){const o="number"==typeof s?s:Xo(Og(s,r?.params??{},t.errors));i.delayNextStep(o)}}}_visitSubInstructions(n,t,i){let s=t.currentTimeline.currentTime;const o=null!=i.duration?Xo(i.duration):null,l=null!=i.delay?Xo(i.delay):null;return 0!==o&&n.forEach(u=>{const d=t.appendInstructionToTimeline(u,o,l);s=Math.max(s,d.duration+d.delay)}),s}visitReference(n,t){t.updateOptions(n.options,!0),wr(this,n.animation,t),t.previousNode=n}visitSequence(n,t){const i=t.subContextCount;let r=t;const s=n.options;if(s&&(s.params||s.delay)&&(r=t.createSubContext(s),r.transformIntoNewTimeline(),null!=s.delay)){r.previousNode.type==Se.Style&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=Qy);const o=Xo(s.delay);r.delayNextStep(o)}n.steps.length&&(n.steps.forEach(o=>wr(this,o,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),t.previousNode=n}visitGroup(n,t){const i=[];let r=t.currentTimeline.currentTime;const s=n.options&&n.options.delay?Xo(n.options.delay):0;n.steps.forEach(o=>{const l=t.createSubContext(n.options);s&&l.delayNextStep(s),wr(this,o,l),r=Math.max(r,l.currentTimeline.currentTime),i.push(l.currentTimeline)}),i.forEach(o=>t.currentTimeline.mergeTimelineCollectedStyles(o)),t.transformIntoNewTimeline(r),t.previousNode=n}_visitTiming(n,t){if(n.dynamic){const i=n.strValue;return Wy(t.params?Og(i,t.params,t.errors):i,t.errors)}return{duration:n.duration,delay:n.delay,easing:n.easing}}visitAnimate(n,t){const i=t.currentAnimateTimings=this._visitTiming(n.timings,t),r=t.currentTimeline;i.delay&&(t.incrementTime(i.delay),r.snapshotCurrentStyles());const s=n.style;s.type==Se.Keyframes?this.visitKeyframes(s,t):(t.incrementTime(i.duration),this.visitStyle(s,t),r.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=n}visitStyle(n,t){const i=t.currentTimeline,r=t.currentAnimateTimings;!r&&i.hasCurrentStyleProperties()&&i.forwardFrame();const s=r&&r.easing||n.easing;n.isEmptyStep?i.applyEmptyStep(s):i.setStyles(n.styles,s,t.errors,t.options),t.previousNode=n}visitKeyframes(n,t){const i=t.currentAnimateTimings,r=t.currentTimeline.duration,s=i.duration,l=t.createSubContext().currentTimeline;l.easing=i.easing,n.styles.forEach(u=>{l.forwardTime((u.offset||0)*s),l.setStyles(u.styles,u.easing,t.errors,t.options),l.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(l),t.transformIntoNewTimeline(r+s),t.previousNode=n}visitQuery(n,t){const i=t.currentTimeline.currentTime,r=n.options||{},s=r.delay?Xo(r.delay):0;s&&(t.previousNode.type===Se.Style||0==i&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Qy);let o=i;const l=t.invokeQuery(n.selector,n.originalSelector,n.limit,n.includeSelf,!!r.optional,t.errors);t.currentQueryTotal=l.length;let u=null;l.forEach((d,h)=>{t.currentQueryIndex=h;const p=t.createSubContext(n.options,d);s&&p.delayNextStep(s),d===t.element&&(u=p.currentTimeline),wr(this,n.animation,p),p.currentTimeline.applyStylesToKeyframe(),o=Math.max(o,p.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(o),u&&(t.currentTimeline.mergeTimelineCollectedStyles(u),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=n}visitStagger(n,t){const i=t.parentContext,r=t.currentTimeline,s=n.timings,o=Math.abs(s.duration),l=o*(t.currentQueryTotal-1);let u=o*t.currentQueryIndex;switch(s.duration<0?"reverse":s.easing){case"reverse":u=l-u;break;case"full":u=i.currentStaggerTime}const h=t.currentTimeline;u&&h.delayNextStep(u);const p=h.currentTime;wr(this,n.animation,t),t.previousNode=n,i.currentStaggerTime=r.currentTime-p+(r.startTime-i.currentTimeline.startTime)}}const Qy={};class NC{constructor(n,t,i,r,s,o,l,u){this._driver=n,this.element=t,this.subInstructions=i,this._enterClassName=r,this._leaveClassName=s,this.errors=o,this.timelines=l,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Qy,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=u||new Xy(this._driver,t,0),l.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(n,t){if(!n)return;const i=n;let r=this.options;null!=i.duration&&(r.duration=Xo(i.duration)),null!=i.delay&&(r.delay=Xo(i.delay));const s=i.params;if(s){let o=r.params;o||(o=this.options.params={}),Object.keys(s).forEach(l=>{(!t||!o.hasOwnProperty(l))&&(o[l]=Og(s[l],o,this.errors))})}}_copyOptions(){const n={};if(this.options){const t=this.options.params;if(t){const i=n.params={};Object.keys(t).forEach(r=>{i[r]=t[r]})}}return n}createSubContext(n=null,t,i){const r=t||this.element,s=new NC(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,i||0));return s.previousNode=this.previousNode,s.currentAnimateTimings=this.currentAnimateTimings,s.options=this._copyOptions(),s.updateOptions(n),s.currentQueryIndex=this.currentQueryIndex,s.currentQueryTotal=this.currentQueryTotal,s.parentContext=this,this.subContextCount++,s}transformIntoNewTimeline(n){return this.previousNode=Qy,this.currentTimeline=this.currentTimeline.fork(this.element,n),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(n,t,i){const r={duration:t??n.duration,delay:this.currentTimeline.currentTime+(i??0)+n.delay,easing:""},s=new gz(this._driver,n.element,n.keyframes,n.preStyleProps,n.postStyleProps,r,n.stretchStartingKeyframe);return this.timelines.push(s),r}incrementTime(n){this.currentTimeline.forwardTime(this.currentTimeline.duration+n)}delayNextStep(n){n>0&&this.currentTimeline.delayNextStep(n)}invokeQuery(n,t,i,r,s,o){let l=[];if(r&&l.push(this.element),n.length>0){n=(n=n.replace(dz,"."+this._enterClassName)).replace(hz,"."+this._leaveClassName);let d=this._driver.query(this.element,n,1!=i);0!==i&&(d=i<0?d.slice(d.length+i,d.length):d.slice(0,i)),l.push(...d)}return!s&&0==l.length&&o.push(function D4(){return new R(3014,!1)}()),l}}class Xy{constructor(n,t,i,r){this._driver=n,this.element=t,this.startTime=i,this._elementTimelineStylesLookup=r,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(n){const t=1===this._keyframes.size&&this._pendingStyles.size;this.duration||t?(this.forwardTime(this.currentTime+n),t&&this.snapshotCurrentStyles()):this.startTime+=n}fork(n,t){return this.applyStylesToKeyframe(),new Xy(this._driver,n,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(n){this.applyStylesToKeyframe(),this.duration=n,this._loadKeyframe()}_updateStyle(n,t){this._localTimelineStyles.set(n,t),this._globalTimelineStyles.set(n,t),this._styleSummary.set(n,{time:this.currentTime,value:t})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(n){n&&this._previousKeyframe.set("easing",n);for(let[t,i]of this._globalTimelineStyles)this._backFill.set(t,i||Qo),this._currentKeyframe.set(t,Qo);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(n,t,i,r){t&&this._previousKeyframe.set("easing",t);const s=r&&r.params||{},o=function mz(e,n){const t=new Map;let i;return e.forEach(r=>{if("*"===r){i??=n.keys();for(let s of i)t.set(s,Qo)}else for(let[s,o]of r)t.set(s,o)}),t}(n,this._globalTimelineStyles);for(let[l,u]of o){const d=Og(u,s,i);this._pendingStyles.set(l,d),this._localTimelineStyles.has(l)||this._backFill.set(l,this._globalTimelineStyles.get(l)??Qo),this._updateStyle(l,d)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((n,t)=>{this._currentKeyframe.set(t,n)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((n,t)=>{this._currentKeyframe.has(t)||this._currentKeyframe.set(t,n)}))}snapshotCurrentStyles(){for(let[n,t]of this._localTimelineStyles)this._pendingStyles.set(n,t),this._updateStyle(n,t)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const n=[];for(let t in this._currentKeyframe)n.push(t);return n}mergeTimelineCollectedStyles(n){n._styleSummary.forEach((t,i)=>{const r=this._styleSummary.get(i);(!r||t.time>r.time)&&this._updateStyle(i,t.value)})}buildKeyframes(){this.applyStylesToKeyframe();const n=new Set,t=new Set,i=1===this._keyframes.size&&0===this.duration;let r=[];this._keyframes.forEach((l,u)=>{const d=new Map([...this._backFill,...l]);d.forEach((h,p)=>{"!"===h?n.add(p):h===Qo&&t.add(p)}),i||d.set("offset",u/this.duration),r.push(d)});const s=[...n.values()],o=[...t.values()];if(i){const l=r[0],u=new Map(l);l.set("offset",0),u.set("offset",1),r=[l,u]}return MC(this.element,r,s,o,this.duration,this.startTime,this.easing,!1)}}class gz extends Xy{constructor(n,t,i,r,s,o,l=!1){super(n,t,o.delay),this.keyframes=i,this.preStyleProps=r,this.postStyleProps=s,this._stretchStartingKeyframe=l,this.timings={duration:o.duration,delay:o.delay,easing:o.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let n=this.keyframes,{delay:t,duration:i,easing:r}=this.timings;if(this._stretchStartingKeyframe&&t){const s=[],o=i+t,l=t/o,u=new Map(n[0]);u.set("offset",0),s.push(u);const d=new Map(n[0]);d.set("offset",Wx(l)),s.push(d);const h=n.length-1;for(let p=1;p<=h;p++){let m=new Map(n[p]);const v=m.get("offset");m.set("offset",Wx((t+v*i)/o)),s.push(m)}i=o,t=0,r="",n=s}return MC(this.element,n,this.preStyleProps,this.postStyleProps,i,t,r,!0)}}function Wx(e,n=3){const t=Math.pow(10,n-1);return Math.round(e*t)/t}function qx(e,n,t,i,r,s,o,l,u,d,h,p,m){return{type:0,element:e,triggerName:n,isRemovalTransition:r,fromState:t,fromStyles:s,toState:i,toStyles:o,timelines:l,queriedElements:u,preStyleProps:d,postStyleProps:h,totalTime:p,errors:m}}const AC={};class Jx{constructor(n,t,i){this._triggerName=n,this.ast=t,this._stateStyles=i}match(n,t,i,r){return function _z(e,n,t,i,r){return e.some(s=>s(n,t,i,r))}(this.ast.matchers,n,t,i,r)}buildStyles(n,t,i){let r=this._stateStyles.get("*");return void 0!==n&&(r=this._stateStyles.get(n?.toString())||r),r?r.buildStyles(t,i):new Map}build(n,t,i,r,s,o,l,u,d,h){const p=[],m=this.ast.options&&this.ast.options.params||AC,b=this.buildStyles(i,l&&l.params||AC,p),w=u&&u.params||AC,M=this.buildStyles(r,w,p),O=new Set,I=new Map,k=new Map,H="void"===r,Y={params:Yx(w,m),delay:this.ast.options?.delay},X=h?[]:IC(n,t,this.ast.animation,s,o,b,M,Y,d,p);let re=0;return X.forEach(ye=>{re=Math.max(ye.duration+ye.delay,re)}),p.length?qx(t,this._triggerName,i,r,H,b,M,[],[],I,k,re,p):(X.forEach(ye=>{const yt=ye.element,Pt=Dr(I,yt,new Set);ye.preStyleProps.forEach(Sn=>Pt.add(Sn));const Cn=Dr(k,yt,new Set);ye.postStyleProps.forEach(Sn=>Cn.add(Sn)),yt!==t&&O.add(yt)}),qx(t,this._triggerName,i,r,H,b,M,X,[...O.values()],I,k,re))}}function Yx(e,n){const t={...n};return Object.entries(e).forEach(([i,r])=>{null!=r&&(t[i]=r)}),t}class vz{constructor(n,t,i){this.styles=n,this.defaultParams=t,this.normalizer=i}buildStyles(n,t){const i=new Map,r=Yx(n,this.defaultParams);return this.styles.styles.forEach(s=>{"string"!=typeof s&&s.forEach((o,l)=>{o&&(o=Og(o,r,t));const u=this.normalizer.normalizePropertyName(l,t);o=this.normalizer.normalizeStyleValue(l,u,o,t),i.set(l,o)})}),i}}class bz{constructor(n,t,i){this.name=n,this.ast=t,this._normalizer=i,this.transitionFactories=[],this.states=new Map,t.states.forEach(r=>{this.states.set(r.name,new vz(r.style,r.options&&r.options.params||{},i))}),Zx(this.states,"true","1"),Zx(this.states,"false","0"),t.transitions.forEach(r=>{this.transitionFactories.push(new Jx(n,r,this.states))}),this.fallbackTransition=function Dz(e,n){return new Jx(e,{type:Se.Transition,animation:{type:Se.Sequence,steps:[],options:null},matchers:[(o,l)=>!0],options:null,queryCount:0,depCount:0},n)}(n,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(n,t,i,r){return this.transitionFactories.find(o=>o.match(n,t,i,r))||null}matchStyles(n,t,i){return this.fallbackTransition.buildStyles(n,t,i)}}function Zx(e,n,t){e.has(n)?e.has(t)||e.set(t,e.get(n)):e.has(t)&&e.set(n,e.get(t))}const wz=new Zy;class Ez{constructor(n,t,i){this.bodyNode=n,this._driver=t,this._normalizer=i,this._animations=new Map,this._playersById=new Map,this.players=[]}register(n,t){const i=[],s=SC(this._driver,t,i,[]);if(i.length)throw function I4(){return new R(3503,!1)}();this._animations.set(n,s)}_buildPlayer(n,t,i){const r=n.element,s=xx(this._normalizer,n.keyframes,t,i);return this._driver.animate(r,s,n.duration,n.delay,n.easing,[],!0)}create(n,t,i={}){const r=[],s=this._animations.get(n);let o;const l=new Map;if(s?(o=IC(this._driver,t,s,yC,Uy,new Map,new Map,i,wz,r),o.forEach(h=>{const p=Dr(l,h.element,new Map);h.postStyleProps.forEach(m=>p.set(m,null))})):(r.push(function N4(){return new R(3300,!1)}()),o=[]),r.length)throw function A4(){return new R(3504,!1)}();l.forEach((h,p)=>{h.forEach((m,v)=>{h.set(v,this._driver.computeStyle(p,v,Qo))})});const d=_l(o.map(h=>{const p=l.get(h.element);return this._buildPlayer(h,new Map,p)}));return this._playersById.set(n,d),d.onDestroy(()=>this.destroy(n)),this.players.push(d),d}destroy(n){const t=this._getPlayer(n);t.destroy(),this._playersById.delete(n);const i=this.players.indexOf(t);i>=0&&this.players.splice(i,1)}_getPlayer(n){const t=this._playersById.get(n);if(!t)throw function O4(){return new R(3301,!1)}();return t}listen(n,t,i,r){const s=pC(t,"","","");return fC(this._getPlayer(n),i,s,r),()=>{}}command(n,t,i,r){if("register"==i)return void this.register(n,r[0]);if("create"==i)return void this.create(n,t,r[0]||{});const s=this._getPlayer(n);switch(i){case"play":s.play();break;case"pause":s.pause();break;case"reset":s.reset();break;case"restart":s.restart();break;case"finish":s.finish();break;case"init":s.init();break;case"setPosition":s.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(n)}}}const Qx="ng-animate-queued",OC="ng-animate-disabled",Iz=[],Xx={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Nz={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Is="__ng_removed";class RC{get params(){return this.options.params}constructor(n,t=""){this.namespaceId=t;const i=n&&n.hasOwnProperty("value");if(this.value=function xz(e){return e??null}(i?n.value:n),i){const{value:s,...o}=n;this.options=o}else this.options={};this.options.params||(this.options.params={})}absorbOptions(n){const t=n.params;if(t){const i=this.options.params;Object.keys(t).forEach(r=>{null==i[r]&&(i[r]=t[r])})}}}const Rg="void",xC=new RC(Rg);class Az{constructor(n,t,i){this.id=n,this.hostElement=t,this._engine=i,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+n,Xr(t,this._hostClassName)}listen(n,t,i,r){if(!this._triggers.has(t))throw function R4(){return new R(3302,!1)}();if(null==i||0==i.length)throw function x4(){return new R(3303,!1)}();if(!function Pz(e){return"start"==e||"done"==e}(i))throw function P4(){return new R(3400,!1)}();const s=Dr(this._elementListeners,n,[]),o={name:t,phase:i,callback:r};s.push(o);const l=Dr(this._engine.statesByElement,n,new Map);return l.has(t)||(Xr(n,Gy),Xr(n,Gy+"-"+t),l.set(t,xC)),()=>{this._engine.afterFlush(()=>{const u=s.indexOf(o);u>=0&&s.splice(u,1),this._triggers.has(t)||l.delete(t)})}}register(n,t){return!this._triggers.has(n)&&(this._triggers.set(n,t),!0)}_getTrigger(n){const t=this._triggers.get(n);if(!t)throw function F4(){return new R(3401,!1)}();return t}trigger(n,t,i,r=!0){const s=this._getTrigger(t),o=new PC(this.id,t,n);let l=this._engine.statesByElement.get(n);l||(Xr(n,Gy),Xr(n,Gy+"-"+t),this._engine.statesByElement.set(n,l=new Map));let u=l.get(t);const d=new RC(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&u&&d.absorbOptions(u.options),l.set(t,d),u||(u=xC),d.value!==Rg&&u.value===d.value){if(!function Lz(e,n){const t=Object.keys(e),i=Object.keys(n);if(t.length!=i.length)return!1;for(let r=0;r<t.length;r++){const s=t[r];if(!n.hasOwnProperty(s)||e[s]!==n[s])return!1}return!0}(u.params,d.params)){const w=[],M=s.matchStyles(u.value,u.params,w),O=s.matchStyles(d.value,d.params,w);w.length?this._engine.reportError(w):this._engine.afterFlush(()=>{Vc(n,M),yo(n,O)})}return}const m=Dr(this._engine.playersByElement,n,[]);m.forEach(w=>{w.namespaceId==this.id&&w.triggerName==t&&w.queued&&w.destroy()});let v=s.matchTransition(u.value,d.value,n,d.params),b=!1;if(!v){if(!r)return;v=s.fallbackTransition,b=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:t,transition:v,fromState:u,toState:d,player:o,isFallbackTransition:b}),b||(Xr(n,Qx),o.onStart(()=>{af(n,Qx)})),o.onDone(()=>{let w=this.players.indexOf(o);w>=0&&this.players.splice(w,1);const M=this._engine.playersByElement.get(n);if(M){let O=M.indexOf(o);O>=0&&M.splice(O,1)}}),this.players.push(o),m.push(o),o}deregister(n){this._triggers.delete(n),this._engine.statesByElement.forEach(t=>t.delete(n)),this._elementListeners.forEach((t,i)=>{this._elementListeners.set(i,t.filter(r=>r.name!=n))})}clearElementCache(n){this._engine.statesByElement.delete(n),this._elementListeners.delete(n);const t=this._engine.playersByElement.get(n);t&&(t.forEach(i=>i.destroy()),this._engine.playersByElement.delete(n))}_signalRemovalForInnerTriggers(n,t){const i=this._engine.driver.query(n,zy,!0);i.forEach(r=>{if(r[Is])return;const s=this._engine.fetchNamespacesByElement(r);s.size?s.forEach(o=>o.triggerLeaveAnimation(r,t,!1,!0)):this.clearElementCache(r)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(r=>this.clearElementCache(r)))}triggerLeaveAnimation(n,t,i,r){const s=this._engine.statesByElement.get(n),o=new Map;if(s){const l=[];if(s.forEach((u,d)=>{if(o.set(d,u.value),this._triggers.has(d)){const h=this.trigger(n,d,Rg,r);h&&l.push(h)}}),l.length)return this._engine.markElementAsRemoved(this.id,n,!0,t,o),i&&_l(l).onDone(()=>this._engine.processLeaveNode(n)),!0}return!1}prepareLeaveAnimationListeners(n){const t=this._elementListeners.get(n),i=this._engine.statesByElement.get(n);if(t&&i){const r=new Set;t.forEach(s=>{const o=s.name;if(r.has(o))return;r.add(o);const u=this._triggers.get(o).fallbackTransition,d=i.get(o)||xC,h=new RC(Rg),p=new PC(this.id,o,n);this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:o,transition:u,fromState:d,toState:h,player:p,isFallbackTransition:!0})})}}removeNode(n,t){const i=this._engine;if(n.childElementCount&&this._signalRemovalForInnerTriggers(n,t),this.triggerLeaveAnimation(n,t,!0))return;let r=!1;if(i.totalAnimations){const s=i.players.length?i.playersByQueriedElement.get(n):[];if(s&&s.length)r=!0;else{let o=n;for(;o=o.parentNode;)if(i.statesByElement.get(o)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(n),r)i.markElementAsRemoved(this.id,n,!1,t);else{const s=n[Is];(!s||s===Xx)&&(i.afterFlush(()=>this.clearElementCache(n)),i.destroyInnerAnimations(n),i._onRemovalComplete(n,t))}}insertNode(n,t){Xr(n,this._hostClassName)}drainQueuedTransitions(n){const t=[];return this._queue.forEach(i=>{const r=i.player;if(r.destroyed)return;const s=i.element,o=this._elementListeners.get(s);o&&o.forEach(l=>{if(l.name==i.triggerName){const u=pC(s,i.triggerName,i.fromState.value,i.toState.value);u._data=n,fC(i.player,l.phase,u,l.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):t.push(i)}),this._queue=[],t.sort((i,r)=>{const s=i.transition.ast.depCount,o=r.transition.ast.depCount;return 0==s||0==o?s-o:this._engine.driver.containsElement(i.element,r.element)?1:-1})}destroy(n){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,n)}}class Oz{_onRemovalComplete(n,t){this.onRemovalComplete(n,t)}constructor(n,t,i){this.bodyNode=n,this.driver=t,this._normalizer=i,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(r,s)=>{}}get queuedPlayers(){const n=[];return this._namespaceList.forEach(t=>{t.players.forEach(i=>{i.queued&&n.push(i)})}),n}createNamespace(n,t){const i=new Az(n,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(i,t):(this.newHostElements.set(t,i),this.collectEnterElement(t)),this._namespaceLookup[n]=i}_balanceNamespaceList(n,t){const i=this._namespaceList,r=this.namespacesByHostElement;if(i.length-1>=0){let o=!1,l=this.driver.getParentElement(t);for(;l;){const u=r.get(l);if(u){const d=i.indexOf(u);i.splice(d+1,0,n),o=!0;break}l=this.driver.getParentElement(l)}o||i.unshift(n)}else i.push(n);return r.set(t,n),n}register(n,t){let i=this._namespaceLookup[n];return i||(i=this.createNamespace(n,t)),i}registerTrigger(n,t,i){let r=this._namespaceLookup[n];r&&r.register(t,i)&&this.totalAnimations++}destroy(n,t){n&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const i=this._fetchNamespace(n);this.namespacesByHostElement.delete(i.hostElement);const r=this._namespaceList.indexOf(i);r>=0&&this._namespaceList.splice(r,1),i.destroy(t),delete this._namespaceLookup[n]}))}_fetchNamespace(n){return this._namespaceLookup[n]}fetchNamespacesByElement(n){const t=new Set,i=this.statesByElement.get(n);if(i)for(let r of i.values())if(r.namespaceId){const s=this._fetchNamespace(r.namespaceId);s&&t.add(s)}return t}trigger(n,t,i,r){if(Ky(t)){const s=this._fetchNamespace(n);if(s)return s.trigger(t,i,r),!0}return!1}insertNode(n,t,i,r){if(!Ky(t))return;const s=t[Is];if(s&&s.setForRemoval){s.setForRemoval=!1,s.setForMove=!0;const o=this.collectedLeaveElements.indexOf(t);o>=0&&this.collectedLeaveElements.splice(o,1)}if(n){const o=this._fetchNamespace(n);o&&o.insertNode(t,i)}r&&this.collectEnterElement(t)}collectEnterElement(n){this.collectedEnterElements.push(n)}markElementAsDisabled(n,t){t?this.disabledNodes.has(n)||(this.disabledNodes.add(n),Xr(n,OC)):this.disabledNodes.has(n)&&(this.disabledNodes.delete(n),af(n,OC))}removeNode(n,t,i){if(Ky(t)){const r=n?this._fetchNamespace(n):null;r?r.removeNode(t,i):this.markElementAsRemoved(n,t,!1,i);const s=this.namespacesByHostElement.get(t);s&&s.id!==n&&s.removeNode(t,i)}else this._onRemovalComplete(t,i)}markElementAsRemoved(n,t,i,r,s){this.collectedLeaveElements.push(t),t[Is]={namespaceId:n,setForRemoval:r,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:s}}listen(n,t,i,r,s){return Ky(t)?this._fetchNamespace(n).listen(t,i,r,s):()=>{}}_buildInstruction(n,t,i,r,s){return n.transition.build(this.driver,n.element,n.fromState.value,n.toState.value,i,r,n.fromState.options,n.toState.options,t,s)}destroyInnerAnimations(n){let t=this.driver.query(n,zy,!0);t.forEach(i=>this.destroyActiveAnimationsForElement(i)),0!=this.playersByQueriedElement.size&&(t=this.driver.query(n,bC,!0),t.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(n){const t=this.playersByElement.get(n);t&&t.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(n){const t=this.playersByQueriedElement.get(n);t&&t.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(n=>{if(this.players.length)return _l(this.players).onDone(()=>n());n()})}processLeaveNode(n){const t=n[Is];if(t&&t.setForRemoval){if(n[Is]=Xx,t.namespaceId){this.destroyInnerAnimations(n);const i=this._fetchNamespace(t.namespaceId);i&&i.clearElementCache(n)}this._onRemovalComplete(n,t.setForRemoval)}n.classList?.contains(OC)&&this.markElementAsDisabled(n,!1),this.driver.query(n,".ng-animate-disabled",!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(n=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,r)=>this._balanceNamespaceList(i,r)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;i<this.collectedEnterElements.length;i++)Xr(this.collectedEnterElements[i],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const i=[];try{t=this._flushAnimations(i,n)}finally{for(let r=0;r<i.length;r++)i[r]()}}else for(let i=0;i<this.collectedLeaveElements.length;i++)this.processLeaveNode(this.collectedLeaveElements[i]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(i=>i()),this._flushFns=[],this._whenQuietFns.length){const i=this._whenQuietFns;this._whenQuietFns=[],t.length?_l(t).onDone(()=>{i.forEach(r=>r())}):i.forEach(r=>r())}}reportError(n){throw function k4(){return new R(3402,!1)}()}_flushAnimations(n,t){const i=new Zy,r=[],s=new Map,o=[],l=new Map,u=new Map,d=new Map,h=new Set;this.disabledNodes.forEach(K=>{h.add(K);const ie=this.driver.query(K,".ng-animate-queued",!0);for(let ge=0;ge<ie.length;ge++)h.add(ie[ge])});const p=this.bodyNode,m=Array.from(this.statesByElement.keys()),v=tP(m,this.collectedEnterElements),b=new Map;let w=0;v.forEach((K,ie)=>{const ge=yC+w++;b.set(ie,ge),K.forEach(Le=>Xr(Le,ge))});const M=[],O=new Set,I=new Set;for(let K=0;K<this.collectedLeaveElements.length;K++){const ie=this.collectedLeaveElements[K],ge=ie[Is];ge&&ge.setForRemoval&&(M.push(ie),O.add(ie),ge.hasAnimation?this.driver.query(ie,".ng-star-inserted",!0).forEach(Le=>O.add(Le)):I.add(ie))}const k=new Map,H=tP(m,Array.from(O));H.forEach((K,ie)=>{const ge=Uy+w++;k.set(ie,ge),K.forEach(Le=>Xr(Le,ge))}),n.push(()=>{v.forEach((K,ie)=>{const ge=b.get(ie);K.forEach(Le=>af(Le,ge))}),H.forEach((K,ie)=>{const ge=k.get(ie);K.forEach(Le=>af(Le,ge))}),M.forEach(K=>{this.processLeaveNode(K)})});const Y=[],X=[];for(let K=this._namespaceList.length-1;K>=0;K--)this._namespaceList[K].drainQueuedTransitions(t).forEach(ge=>{const Le=ge.player,qt=ge.element;if(Y.push(Le),this.collectedEnterElements.length){const cn=qt[Is];if(cn&&cn.setForMove){if(cn.previousTriggersValues&&cn.previousTriggersValues.has(ge.triggerName)){const Ri=cn.previousTriggersValues.get(ge.triggerName),hi=this.statesByElement.get(ge.element);if(hi&&hi.has(ge.triggerName)){const Rf=hi.get(ge.triggerName);Rf.value=Ri,hi.set(ge.triggerName,Rf)}}return void Le.destroy()}}const rr=!p||!this.driver.containsElement(p,qt),Mn=k.get(qt),Ir=b.get(qt),pt=this._buildInstruction(ge,i,Ir,Mn,rr);if(pt.errors&&pt.errors.length)return void X.push(pt);if(rr)return Le.onStart(()=>Vc(qt,pt.fromStyles)),Le.onDestroy(()=>yo(qt,pt.toStyles)),void r.push(Le);if(ge.isFallbackTransition)return Le.onStart(()=>Vc(qt,pt.fromStyles)),Le.onDestroy(()=>yo(qt,pt.toStyles)),void r.push(Le);const ks=[];pt.timelines.forEach(cn=>{cn.stretchStartingKeyframe=!0,this.disabledNodes.has(cn.element)||ks.push(cn)}),pt.timelines=ks,i.append(qt,pt.timelines),o.push({instruction:pt,player:Le,element:qt}),pt.queriedElements.forEach(cn=>Dr(l,cn,[]).push(Le)),pt.preStyleProps.forEach((cn,Ri)=>{if(cn.size){let hi=u.get(Ri);hi||u.set(Ri,hi=new Set),cn.forEach((Rf,lu)=>hi.add(lu))}}),pt.postStyleProps.forEach((cn,Ri)=>{let hi=d.get(Ri);hi||d.set(Ri,hi=new Set),cn.forEach((Rf,lu)=>hi.add(lu))})});if(X.length){const K=[];X.forEach(ie=>{K.push(function L4(){return new R(3505,!1)}())}),Y.forEach(ie=>ie.destroy()),this.reportError(K)}const re=new Map,ye=new Map;o.forEach(K=>{const ie=K.element;i.has(ie)&&(ye.set(ie,ie),this._beforeAnimationBuild(K.player.namespaceId,K.instruction,re))}),r.forEach(K=>{const ie=K.element;this._getPreviousPlayers(ie,!1,K.namespaceId,K.triggerName,null).forEach(Le=>{Dr(re,ie,[]).push(Le),Le.destroy()})});const yt=M.filter(K=>iP(K,u,d)),Pt=new Map;eP(Pt,this.driver,I,d,Qo).forEach(K=>{iP(K,u,d)&&yt.push(K)});const Sn=new Map;v.forEach((K,ie)=>{eP(Sn,this.driver,new Set(K),u,"!")}),yt.forEach(K=>{const ie=Pt.get(K),ge=Sn.get(K);Pt.set(K,new Map([...ie?.entries()??[],...ge?.entries()??[]]))});const Tn=[],To=[],Mo={};o.forEach(K=>{const{element:ie,player:ge,instruction:Le}=K;if(i.has(ie)){if(h.has(ie))return ge.onDestroy(()=>yo(ie,Le.toStyles)),ge.disabled=!0,ge.overrideTotalTime(Le.totalTime),void r.push(ge);let qt=Mo;if(ye.size>1){let Mn=ie;const Ir=[];for(;Mn=Mn.parentNode;){const pt=ye.get(Mn);if(pt){qt=pt;break}Ir.push(Mn)}Ir.forEach(pt=>ye.set(pt,qt))}const rr=this._buildAnimation(ge.namespaceId,Le,re,s,Sn,Pt);if(ge.setRealPlayer(rr),qt===Mo)Tn.push(ge);else{const Mn=this.playersByElement.get(qt);Mn&&Mn.length&&(ge.parentPlayer=_l(Mn)),r.push(ge)}}else Vc(ie,Le.fromStyles),ge.onDestroy(()=>yo(ie,Le.toStyles)),To.push(ge),h.has(ie)&&r.push(ge)}),To.forEach(K=>{const ie=s.get(K.element);if(ie&&ie.length){const ge=_l(ie);K.setRealPlayer(ge)}}),r.forEach(K=>{K.parentPlayer?K.syncPlayerEvents(K.parentPlayer):K.destroy()});for(let K=0;K<M.length;K++){const ie=M[K],ge=ie[Is];if(af(ie,Uy),ge&&ge.hasAnimation)continue;let Le=[];if(l.size){let rr=l.get(ie);rr&&rr.length&&Le.push(...rr);let Mn=this.driver.query(ie,bC,!0);for(let Ir=0;Ir<Mn.length;Ir++){let pt=l.get(Mn[Ir]);pt&&pt.length&&Le.push(...pt)}}const qt=Le.filter(rr=>!rr.destroyed);qt.length?Fz(this,ie,qt):this.processLeaveNode(ie)}return M.length=0,Tn.forEach(K=>{this.players.push(K),K.onDone(()=>{K.destroy();const ie=this.players.indexOf(K);this.players.splice(ie,1)}),K.play()}),Tn}afterFlush(n){this._flushFns.push(n)}afterFlushAnimationsDone(n){this._whenQuietFns.push(n)}_getPreviousPlayers(n,t,i,r,s){let o=[];if(t){const l=this.playersByQueriedElement.get(n);l&&(o=l)}else{const l=this.playersByElement.get(n);if(l){const u=!s||s==Rg;l.forEach(d=>{d.queued||!u&&d.triggerName!=r||o.push(d)})}}return(i||r)&&(o=o.filter(l=>!(i&&i!=l.namespaceId||r&&r!=l.triggerName))),o}_beforeAnimationBuild(n,t,i){const s=t.element,o=t.isRemovalTransition?void 0:n,l=t.isRemovalTransition?void 0:t.triggerName;for(const u of t.timelines){const d=u.element,h=d!==s,p=Dr(i,d,[]);this._getPreviousPlayers(d,h,o,l,t.toState).forEach(v=>{const b=v.getRealPlayer();b.beforeDestroy&&b.beforeDestroy(),v.destroy(),p.push(v)})}Vc(s,t.fromStyles)}_buildAnimation(n,t,i,r,s,o){const l=t.triggerName,u=t.element,d=[],h=new Set,p=new Set,m=t.timelines.map(b=>{const w=b.element;h.add(w);const M=w[Is];if(M&&M.removedBeforeQueried)return new Ng(b.duration,b.delay);const O=w!==u,I=function kz(e){const n=[];return nP(e,n),n}((i.get(w)||Iz).map(re=>re.getRealPlayer())).filter(re=>!!re.element&&re.element===w),k=s.get(w),H=o.get(w),Y=xx(this._normalizer,b.keyframes,k,H),X=this._buildPlayer(b,Y,I);if(b.subTimeline&&r&&p.add(w),O){const re=new PC(n,l,w);re.setRealPlayer(X),d.push(re)}return X});d.forEach(b=>{Dr(this.playersByQueriedElement,b.element,[]).push(b),b.onDone(()=>function Rz(e,n,t){let i=e.get(n);if(i){if(i.length){const r=i.indexOf(t);i.splice(r,1)}0==i.length&&e.delete(n)}return i}(this.playersByQueriedElement,b.element,b))}),h.forEach(b=>Xr(b,Vx));const v=_l(m);return v.onDestroy(()=>{h.forEach(b=>af(b,Vx)),yo(u,t.toStyles)}),p.forEach(b=>{Dr(r,b,[]).push(v)}),v}_buildPlayer(n,t,i){return t.length>0?this.driver.animate(n.element,t,n.duration,n.delay,n.easing,i):new Ng(n.duration,n.delay)}}class PC{constructor(n,t,i){this.namespaceId=n,this.triggerName=t,this.element=i,this._player=new Ng,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(n){this._containsRealPlayer||(this._player=n,this._queuedCallbacks.forEach((t,i)=>{t.forEach(r=>fC(n,i,void 0,r))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(n.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(n){this.totalTime=n}syncPlayerEvents(n){const t=this._player;t.triggerCallback&&n.onStart(()=>t.triggerCallback("start")),n.onDone(()=>this.finish()),n.onDestroy(()=>this.destroy())}_queueEvent(n,t){Dr(this._queuedCallbacks,n,[]).push(t)}onDone(n){this.queued&&this._queueEvent("done",n),this._player.onDone(n)}onStart(n){this.queued&&this._queueEvent("start",n),this._player.onStart(n)}onDestroy(n){this.queued&&this._queueEvent("destroy",n),this._player.onDestroy(n)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(n){this.queued||this._player.setPosition(n)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(n){const t=this._player;t.triggerCallback&&t.triggerCallback(n)}}function Ky(e){return e&&1===e.nodeType}function Kx(e,n){const t=e.style.display;return e.style.display=n??"none",t}function eP(e,n,t,i,r){const s=[];t.forEach(u=>s.push(Kx(u)));const o=[];i.forEach((u,d)=>{const h=new Map;u.forEach(p=>{const m=n.computeStyle(d,p,r);h.set(p,m),(!m||0==m.length)&&(d[Is]=Nz,o.push(d))}),e.set(d,h)});let l=0;return t.forEach(u=>Kx(u,s[l++])),o}function tP(e,n){const t=new Map;if(e.forEach(l=>t.set(l,[])),0==n.length)return t;const r=new Set(n),s=new Map;function o(l){if(!l)return 1;let u=s.get(l);if(u)return u;const d=l.parentNode;return u=t.has(d)?d:r.has(d)?1:o(d),s.set(l,u),u}return n.forEach(l=>{const u=o(l);1!==u&&t.get(u).push(l)}),t}function Xr(e,n){e.classList?.add(n)}function af(e,n){e.classList?.remove(n)}function Fz(e,n,t){_l(t).onDone(()=>e.processLeaveNode(n))}function nP(e,n){for(let t=0;t<e.length;t++){const i=e[t];i instanceof Ox?nP(i.players,n):n.push(i)}}function iP(e,n,t){const i=t.get(e);if(!i)return!1;let r=n.get(e);return r?i.forEach(s=>r.add(s)):n.set(e,i),t.delete(e),!0}class xg{constructor(n,t,i){this._driver=t,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(r,s)=>{},this._transitionEngine=new Oz(n.body,t,i),this._timelineEngine=new Ez(n.body,t,i),this._transitionEngine.onRemovalComplete=(r,s)=>this.onRemovalComplete(r,s)}registerTrigger(n,t,i,r,s){const o=n+"-"+r;let l=this._triggerCache[o];if(!l){const u=[],h=SC(this._driver,s,u,[]);if(u.length)throw function T4(){return new R(3404,!1)}();l=function yz(e,n,t){return new bz(e,n,t)}(r,h,this._normalizer),this._triggerCache[o]=l}this._transitionEngine.registerTrigger(t,r,l)}register(n,t){this._transitionEngine.register(n,t)}destroy(n,t){this._transitionEngine.destroy(n,t)}onInsert(n,t,i,r){this._transitionEngine.insertNode(n,t,i,r)}onRemove(n,t,i){this._transitionEngine.removeNode(n,t,i)}disableAnimations(n,t){this._transitionEngine.markElementAsDisabled(n,t)}process(n,t,i,r){if("@"==i.charAt(0)){const[s,o]=Px(i);this._timelineEngine.command(s,t,o,r)}else this._transitionEngine.trigger(n,t,i,r)}listen(n,t,i,r,s){if("@"==i.charAt(0)){const[o,l]=Px(i);return this._timelineEngine.listen(o,t,l,s)}return this._transitionEngine.listen(n,t,i,r,s)}flush(n=-1){this._transitionEngine.flush(n)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(n){this._transitionEngine.afterFlushAnimationsDone(n)}}class Pg{static{this.initialStylesByElement=new WeakMap}constructor(n,t,i){this._element=n,this._startStyles=t,this._endStyles=i,this._state=0;let r=Pg.initialStylesByElement.get(n);r||Pg.initialStylesByElement.set(n,r=new Map),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&yo(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(yo(this._element,this._initialStyles),this._endStyles&&(yo(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(Pg.initialStylesByElement.delete(this._element),this._startStyles&&(Vc(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Vc(this._element,this._endStyles),this._endStyles=null),yo(this._element,this._initialStyles),this._state=3)}}function FC(e){let n=null;return e.forEach((t,i)=>{(function Vz(e){return"display"===e||"position"===e})(i)&&(n=n||new Map,n.set(i,t))}),n}class rP{constructor(n,t,i,r){this.element=n,this.keyframes=t,this.options=i,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const n=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,n,this.options),this._finalKeyframe=n.length?n[n.length-1]:new Map;const t=()=>this._onFinish();this.domPlayer.addEventListener("finish",t),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",t)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(n){const t=[];return n.forEach(i=>{t.push(Object.fromEntries(i))}),t}_triggerWebAnimation(n,t,i){return n.animate(this._convertKeyframesToObject(t),i)}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(n=>n()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}setPosition(n){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=n*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const n=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,r)=>{"offset"!==r&&n.set(r,this._finished?i:CC(this.element,r))}),this.currentSnapshot=n}triggerCallback(n){const t="start"===n?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}}class sP{validateStyleProperty(n){return!0}validateAnimatableStyleProperty(n){return!0}containsElement(n,t){return kx(n,t)}getParentElement(n){return gC(n)}query(n,t,i){return Lx(n,t,i)}computeStyle(n,t,i){return CC(n,t)}animate(n,t,i,r,s,o=[]){const u={duration:i,delay:r,fill:0==r?"both":"forwards"};s&&(u.easing=s);const d=new Map,h=o.filter(v=>v instanceof rP);(function Z4(e,n){return 0===e||0===n})(i,r)&&h.forEach(v=>{v.currentSnapshot.forEach((b,w)=>d.set(w,b))});let p=function q4(e){return e.length?e[0]instanceof Map?e:e.map(n=>new Map(Object.entries(n))):[]}(t).map(v=>new Map(v));p=function Q4(e,n,t){if(t.size&&n.length){let i=n[0],r=[];if(t.forEach((s,o)=>{i.has(o)||r.push(o),i.set(o,s)}),r.length)for(let s=1;s<n.length;s++){let o=n[s];r.forEach(l=>o.set(l,CC(e,l)))}}return n}(n,p,d);const m=function Bz(e,n){let t=null,i=null;return Array.isArray(n)&&n.length?(t=FC(n[0]),n.length>1&&(i=FC(n[n.length-1]))):n instanceof Map&&(t=FC(n)),t||i?new Pg(e,t,i):null}(n,p);return new rP(n,p,u,m)}}const oP="@.disabled";class aP{constructor(n,t,i,r){this.namespaceId=n,this.delegate=t,this.engine=i,this._onDestroy=r,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(n){this.delegate.destroyNode?.(n)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(n,t){return this.delegate.createElement(n,t)}createComment(n){return this.delegate.createComment(n)}createText(n){return this.delegate.createText(n)}appendChild(n,t){this.delegate.appendChild(n,t),this.engine.onInsert(this.namespaceId,t,n,!1)}insertBefore(n,t,i,r=!0){this.delegate.insertBefore(n,t,i),this.engine.onInsert(this.namespaceId,t,n,r)}removeChild(n,t,i){this.parentNode(t)&&this.engine.onRemove(this.namespaceId,t,this.delegate)}selectRootElement(n,t){return this.delegate.selectRootElement(n,t)}parentNode(n){return this.delegate.parentNode(n)}nextSibling(n){return this.delegate.nextSibling(n)}setAttribute(n,t,i,r){this.delegate.setAttribute(n,t,i,r)}removeAttribute(n,t,i){this.delegate.removeAttribute(n,t,i)}addClass(n,t){this.delegate.addClass(n,t)}removeClass(n,t){this.delegate.removeClass(n,t)}setStyle(n,t,i,r){this.delegate.setStyle(n,t,i,r)}removeStyle(n,t,i){this.delegate.removeStyle(n,t,i)}setProperty(n,t,i){"@"==t.charAt(0)&&t==oP?this.disableAnimations(n,!!i):this.delegate.setProperty(n,t,i)}setValue(n,t){this.delegate.setValue(n,t)}listen(n,t,i){return this.delegate.listen(n,t,i)}disableAnimations(n,t){this.engine.disableAnimations(n,t)}}class Hz extends aP{constructor(n,t,i,r,s){super(t,i,r,s),this.factory=n,this.namespaceId=t}setProperty(n,t,i){"@"==t.charAt(0)?"."==t.charAt(1)&&t==oP?this.disableAnimations(n,i=void 0===i||!!i):this.engine.process(this.namespaceId,n,t.slice(1),i):this.delegate.setProperty(n,t,i)}listen(n,t,i){if("@"==t.charAt(0)){const r=function jz(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}(n);let s=t.slice(1),o="";return"@"!=s.charAt(0)&&([s,o]=function $z(e){const n=e.indexOf(".");return[e.substring(0,n),e.slice(n+1)]}(s)),this.engine.listen(this.namespaceId,r,s,o,l=>{this.factory.scheduleListenerCallback(l._data||-1,i,l)})}return this.delegate.listen(n,t,i)}}class Uz{constructor(n,t,i){this.delegate=n,this.engine=t,this._zone=i,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,t.onRemovalComplete=(r,s)=>{s?.removeChild(null,r)}}createRenderer(n,t){const r=this.delegate.createRenderer(n,t);if(!n||!t?.data?.animation){const d=this._rendererCache;let h=d.get(r);return h||(h=new aP("",r,this.engine,()=>d.delete(r)),d.set(r,h)),h}const s=t.id,o=t.id+"-"+this._currentId;this._currentId++,this.engine.register(o,n);const l=d=>{Array.isArray(d)?d.forEach(l):this.engine.registerTrigger(s,o,n,d.name,d)};return t.data.animation.forEach(l),new Hz(this,o,r,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(n,t,i){if(n>=0&&n<this._microtaskId)return void this._zone.run(()=>t(i));const r=this._animationCallbacksBuffer;0==r.length&&queueMicrotask(()=>{this._zone.run(()=>{r.forEach(s=>{const[o,l]=s;o(l)}),this._animationCallbacksBuffer=[]})}),r.push([t,i])}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}let Gz=(()=>{class e extends xg{constructor(t,i,r){super(t,i,r)}ngOnDestroy(){this.flush()}static{this.\u0275fac=function(i){return new(i||e)(ee(Gt),ee(_C),ee(vC))}}static{this.\u0275prov=U({token:e,factory:e.\u0275fac})}}return e})();const lP=[{provide:vC,useFactory:function zz(){return new $x}},{provide:xg,useClass:Gz},{provide:jv,useFactory:function Wz(e,n,t){return new Uz(e,n,t)},deps:[oC,xg,Ae]}],kC=[{provide:_C,useFactory:()=>new sP},{provide:Z_,useValue:"BrowserAnimations"},...lP],cP=[{provide:_C,useClass:mC},{provide:Z_,useValue:"NoopAnimations"},...lP];let qz=(()=>{class e{static withConfig(t){return{ngModule:e,providers:t.disableAnimations?cP:kC}}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=qe({type:e})}static{this.\u0275inj=We({providers:kC,imports:[Sx]})}}return e})();const uP=e=>n=>{for(let t=0,i=e.length;t<i&&!n.closed;t++)n.next(e[t]);n.complete()},vl=function Zz(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}(),dP=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function fP(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}const LC=e=>{if(e&&"function"==typeof e[Ro])return(e=>n=>{const t=e[Ro]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(n)})(e);if(dP(e))return uP(e);if(fP(e))return(e=>n=>(e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,la),n))(e);if(e&&"function"==typeof e[vl])return(e=>n=>{const t=e[vl]();for(;;){let i;try{i=t.next()}catch(r){return n.error(r),n}if(i.done){n.complete();break}if(n.next(i.value),n.closed)break}return"function"==typeof t.return&&n.add(()=>{t.return&&t.return()}),n})(e);{const t=`You provided ${Hf(e)?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(t)}};function BC(e,n){return new dt(t=>{const i=new nt;let r=0;return i.add(n.schedule(function(){r!==e.length?(t.next(e[r++]),t.closed||i.add(this.schedule())):t.complete()})),i})}function En(e,n){return n?function rW(e,n){if(null!=e){if(function nW(e){return e&&"function"==typeof e[Ro]}(e))return function Kz(e,n){return new dt(t=>{const i=new nt;return i.add(n.schedule(()=>{const r=e[Ro]();i.add(r.subscribe({next(s){i.add(n.schedule(()=>t.next(s)))},error(s){i.add(n.schedule(()=>t.error(s)))},complete(){i.add(n.schedule(()=>t.complete()))}}))})),i})}(e,n);if(fP(e))return function eW(e,n){return new dt(t=>{const i=new nt;return i.add(n.schedule(()=>e.then(r=>{i.add(n.schedule(()=>{t.next(r),i.add(n.schedule(()=>t.complete()))}))},r=>{i.add(n.schedule(()=>t.error(r)))}))),i})}(e,n);if(dP(e))return BC(e,n);if(function iW(e){return e&&"function"==typeof e[vl]}(e)||"string"==typeof e)return function tW(e,n){if(!e)throw new Error("Iterable cannot be null");return new dt(t=>{const i=new nt;let r;return i.add(()=>{r&&"function"==typeof r.return&&r.return()}),i.add(n.schedule(()=>{r=e[vl](),i.add(n.schedule(function(){if(t.closed)return;let s,o;try{const l=r.next();s=l.value,o=l.done}catch(l){return void t.error(l)}o?t.complete():(t.next(s),this.schedule())}))})),i})}(e,n)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}(e,n):e instanceof dt?e:new dt(LC(e))}function lf(e){return e&&"function"==typeof e.schedule}function Fg(e,n){return n?BC(e,n):new dt(uP(e))}function pe(...e){let n=e[e.length-1];return lf(n)?(e.pop(),BC(e,n)):Fg(e)}class VC extends it{notifyNext(n,t,i,r,s){this.destination.next(t)}notifyError(n,t){this.destination.error(n)}notifyComplete(n){this.destination.complete()}}class sW extends it{constructor(n,t,i){super(),this.parent=n,this.outerValue=t,this.outerIndex=i,this.index=0}_next(n){this.parent.notifyNext(this.outerValue,n,this.outerIndex,this.index++,this)}_error(n){this.parent.notifyError(n,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}function HC(e,n,t,i,r=new sW(e,t,i)){if(!r.closed)return n instanceof dt?n.subscribe(r):LC(n)(r)}const hP={};function jC(...e){let n,t;return lf(e[e.length-1])&&(t=e.pop()),"function"==typeof e[e.length-1]&&(n=e.pop()),1===e.length&&as(e[0])&&(e=e[0]),Fg(e,t).lift(new oW(n))}class oW{constructor(n){this.resultSelector=n}call(n,t){return t.subscribe(new aW(n,this.resultSelector))}}class aW extends VC{constructor(n,t){super(n),this.resultSelector=t,this.active=0,this.values=[],this.observables=[]}_next(n){this.values.push(hP),this.observables.push(n)}_complete(){const n=this.observables,t=n.length;if(0===t)this.destination.complete();else{this.active=t,this.toRespond=t;for(let i=0;i<t;i++)this.add(HC(this,n[i],void 0,i))}}notifyComplete(n){0==(this.active-=1)&&this.destination.complete()}notifyNext(n,t,i){const r=this.values,o=this.toRespond?r[i]===hP?--this.toRespond:this.toRespond:0;r[i]=t,0===o&&(this.resultSelector?this._tryResultSelector(r):this.destination.next(r.slice()))}_tryResultSelector(n){let t;try{t=this.resultSelector.apply(this,n)}catch(i){return void this.destination.error(i)}this.destination.next(t)}}const tb=(()=>{function e(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return e.prototype=Object.create(Error.prototype),e})();class kg extends it{constructor(n){super(),this.parent=n}_next(n){this.parent.notifyNext(n)}_error(n){this.parent.notifyError(n),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class Lg extends it{notifyNext(n){this.destination.next(n)}notifyError(n){this.destination.error(n)}notifyComplete(){this.destination.complete()}}function Bg(e,n){if(n.closed)return;if(e instanceof dt)return e.subscribe(n);let t;try{t=LC(e)(n)}catch(i){n.error(i)}return t}function di(e,n,t=Number.POSITIVE_INFINITY){return"function"==typeof n?i=>i.pipe(di((r,s)=>En(e(r,s)).pipe(xe((o,l)=>n(r,o,s,l))),t)):("number"==typeof n&&(t=n),i=>i.lift(new lW(e,t)))}class lW{constructor(n,t=Number.POSITIVE_INFINITY){this.project=n,this.concurrent=t}call(n,t){return t.subscribe(new cW(n,this.project,this.concurrent))}}class cW extends Lg{constructor(n,t,i=Number.POSITIVE_INFINITY){super(n),this.project=t,this.concurrent=i,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(n){this.active<this.concurrent?this._tryNext(n):this.buffer.push(n)}_tryNext(n){let t;const i=this.index++;try{t=this.project(n,i)}catch(r){return void this.destination.error(r)}this.active++,this._innerSub(t)}_innerSub(n){const t=new kg(this),i=this.destination;i.add(t);const r=Bg(n,t);r!==t&&i.add(r)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(n){this.destination.next(n)}notifyComplete(){const n=this.buffer;this.active--,n.length>0?this._next(n.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function cf(e=Number.POSITIVE_INFINITY){return di(da,e)}function nb(...e){return function uW(){return cf(1)}()(pe(...e))}const Ko=new dt(e=>e.complete());function ib(e){return e?function dW(e){return new dt(n=>e.schedule(()=>n.complete()))}(e):Ko}function pP(e){return new dt(n=>{let t;try{t=e()}catch(r){return void n.error(r)}return(t?En(t):ib()).subscribe(n)})}function Vg(e,n){return new dt(n?t=>n.schedule(fW,0,{error:e,subscriber:t}):t=>t.error(e))}function fW({error:e,subscriber:n}){n.error(e)}function $C(){return function(n){return n.lift(new hW(n))}}class hW{constructor(n){this.connectable=n}call(n,t){const{connectable:i}=this;i._refCount++;const r=new pW(n,i),s=t.subscribe(r);return r.closed||(r.connection=i.connect()),s}}class pW extends it{constructor(n,t){super(n),this.connectable=t}_unsubscribe(){const{connectable:n}=this;if(!n)return void(this.connection=null);this.connectable=null;const t=n._refCount;if(t<=0)return void(this.connection=null);if(n._refCount=t-1,t>1)return void(this.connection=null);const{connection:i}=this,r=n._connection;this.connection=null,r&&(!i||r===i)&&r.unsubscribe()}}class UC extends dt{constructor(n,t){super(),this.source=n,this.subjectFactory=t,this._refCount=0,this._isComplete=!1}_subscribe(n){return this.getSubject().subscribe(n)}getSubject(){const n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let n=this._connection;return n||(this._isComplete=!1,n=this._connection=new nt,n.add(this.source.subscribe(new gW(this.getSubject(),this))),n.closed&&(this._connection=null,n=nt.EMPTY)),n}refCount(){return $C()(this)}}class gW extends Em{constructor(n,t){super(n),this.connectable=t}_error(n){this._unsubscribe(),super._error(n)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const n=this.connectable;if(n){this.connectable=null;const t=n._connection;n._refCount=0,n._subject=null,n._connection=null,t&&t.unsubscribe()}}}function Er(e,n){return"function"==typeof n?t=>t.pipe(Er((i,r)=>En(e(i,r)).pipe(xe((s,o)=>n(i,s,r,o))))):t=>t.lift(new _W(e))}class _W{constructor(n){this.project=n}call(n,t){return t.subscribe(new vW(n,this.project))}}class vW extends Lg{constructor(n,t){super(n),this.project=t,this.index=0}_next(n){let t;const i=this.index++;try{t=this.project(n,i)}catch(r){return void this.destination.error(r)}this._innerSub(t)}_innerSub(n){const t=this.innerSubscription;t&&t.unsubscribe();const i=new kg(this),r=this.destination;r.add(i),this.innerSubscription=Bg(n,i),this.innerSubscription!==i&&r.add(this.innerSubscription)}_complete(){const{innerSubscription:n}=this;(!n||n.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(n){this.destination.next(n)}}const gP=(()=>{function e(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return e.prototype=Object.create(Error.prototype),e})();function bo(e){return n=>0===e?ib():n.lift(new yW(e))}class yW{constructor(n){if(this.total=n,this.total<0)throw new gP}call(n,t){return t.subscribe(new bW(n,this.total))}}class bW extends it{constructor(n,t){super(n),this.total=t,this.count=0}_next(n){const t=this.total,i=++this.count;i<=t&&(this.destination.next(n),i===t&&(this.destination.complete(),this.unsubscribe()))}}function Un(e,n){return function(i){return i.lift(new DW(e,n))}}class DW{constructor(n,t){this.predicate=n,this.thisArg=t}call(n,t){return t.subscribe(new wW(n,this.predicate,this.thisArg))}}class wW extends it{constructor(n,t,i){super(n),this.predicate=t,this.thisArg=i,this.count=0}_next(n){let t;try{t=this.predicate.call(this.thisArg,n,this.count++)}catch(i){return void this.destination.error(i)}t&&this.destination.next(n)}}function rb(e=null){return n=>n.lift(new EW(e))}class EW{constructor(n){this.defaultValue=n}call(n,t){return t.subscribe(new CW(n,this.defaultValue))}}class CW extends it{constructor(n,t){super(n),this.defaultValue=t,this.isEmpty=!0}_next(n){this.isEmpty=!1,this.destination.next(n)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}function _P(e=MW){return n=>n.lift(new SW(e))}class SW{constructor(n){this.errorFactory=n}call(n,t){return t.subscribe(new TW(n,this.errorFactory))}}class TW extends it{constructor(n,t){super(n),this.errorFactory=t,this.hasValue=!1}_next(n){this.hasValue=!0,this.destination.next(n)}_complete(){if(this.hasValue)return this.destination.complete();{let n;try{n=this.errorFactory()}catch(t){n=t}this.destination.error(n)}}}function MW(){return new tb}function jc(e,n){const t=arguments.length>=2;return i=>i.pipe(e?Un((r,s)=>e(r,s,i)):da,bo(1),t?rb(n):_P(()=>new tb))}function uf(e,n){return di(e,n,1)}function yl(){}function Gn(e,n,t){return function(r){return r.lift(new IW(e,n,t))}}class IW{constructor(n,t,i){this.nextOrObserver=n,this.error=t,this.complete=i}call(n,t){return t.subscribe(new NW(n,this.nextOrObserver,this.error,this.complete))}}class NW extends it{constructor(n,t,i,r){super(n),this._tapNext=yl,this._tapError=yl,this._tapComplete=yl,this._tapError=i||yl,this._tapComplete=r||yl,aa(t)?(this._context=this,this._tapNext=t):t&&(this._context=t,this._tapNext=t.next||yl,this._tapError=t.error||yl,this._tapComplete=t.complete||yl)}_next(n){try{this._tapNext.call(this._context,n)}catch(t){return void this.destination.error(t)}this.destination.next(n)}_error(n){try{this._tapError.call(this._context,n)}catch(t){return void this.destination.error(t)}this.destination.error(n)}_complete(){try{this._tapComplete.call(this._context)}catch(n){return void this.destination.error(n)}return this.destination.complete()}}function Hg(e){return function(t){const i=new AW(e),r=t.lift(i);return i.caught=r}}class AW{constructor(n){this.selector=n}call(n,t){return t.subscribe(new OW(n,this.selector,this.caught))}}class OW extends Lg{constructor(n,t,i){super(n),this.selector=t,this.caught=i}error(n){if(!this.isStopped){let t;try{t=this.selector(n,this.caught)}catch(s){return void super.error(s)}this._unsubscribeAndRecycle();const i=new kg(this);this.add(i);const r=Bg(t,i);r!==i&&this.add(r)}}}class xW{constructor(n,t,i=!1){this.accumulator=n,this.seed=t,this.hasSeed=i}call(n,t){return t.subscribe(new PW(n,this.accumulator,this.seed,this.hasSeed))}}class PW extends it{constructor(n,t,i,r){super(n),this.accumulator=t,this._seed=i,this.hasSeed=r,this.index=0}get seed(){return this._seed}set seed(n){this.hasSeed=!0,this._seed=n}_next(n){if(this.hasSeed)return this._tryNext(n);this.seed=n,this.destination.next(n)}_tryNext(n){const t=this.index++;let i;try{i=this.accumulator(this.seed,n,t)}catch(r){this.destination.error(r)}this.seed=i,this.destination.next(i)}}function GC(e){return function(t){return 0===e?ib():t.lift(new FW(e))}}class FW{constructor(n){if(this.total=n,this.total<0)throw new gP}call(n,t){return t.subscribe(new kW(n,this.total))}}class kW extends it{constructor(n,t){super(n),this.total=t,this.ring=new Array,this.count=0}_next(n){const t=this.ring,i=this.total,r=this.count++;t.length<i?t.push(n):t[r%i]=n}_complete(){const n=this.destination;let t=this.count;if(t>0){const i=this.count>=this.total?this.total:this.count,r=this.ring;for(let s=0;s<i;s++){const o=t++%i;n.next(r[o])}}n.complete()}}class VW{constructor(n){this.value=n}call(n,t){return t.subscribe(new HW(n,this.value))}}class HW extends it{constructor(n,t){super(n),this.value=t}_next(n){this.destination.next(this.value)}}function jg(e){return n=>n.lift(new jW(e))}class jW{constructor(n){this.callback=n}call(n,t){return t.subscribe(new $W(n,this.callback))}}class $W extends it{constructor(n,t){super(n),this.add(new nt(t))}}function ti(e){return n=>n.lift(new UW(e))}class UW{constructor(n){this.notifier=n}call(n,t){const i=new GW(n),r=Bg(this.notifier,new kg(i));return r&&!i.seenValue?(i.add(r),t.subscribe(i)):i}}class GW extends Lg{constructor(n){super(n),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}const ke="primary",$g=Symbol("RouteTitle");class zW{constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){const t=this.params[n];return Array.isArray(t)?t[0]:t}return null}getAll(n){if(this.has(n)){const t=this.params[n];return Array.isArray(t)?t:[t]}return[]}get keys(){return Object.keys(this.params)}}function df(e){return new zW(e)}function WW(e,n,t){const i=t.path.split("/");if(i.length>e.length||"full"===t.pathMatch&&(n.hasChildren()||i.length<e.length))return null;const r={};for(let s=0;s<i.length;s++){const o=i[s],l=e[s];if(":"===o[0])r[o.substring(1)]=l;else if(o!==l.path)return null}return{consumed:e.slice(0,i.length),posParams:r}}function Do(e,n){const t=e?zC(e):void 0,i=n?zC(n):void 0;if(!t||!i||t.length!=i.length)return!1;let r;for(let s=0;s<t.length;s++)if(r=t[s],!vP(e[r],n[r]))return!1;return!0}function zC(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}function vP(e,n){if(Array.isArray(e)&&Array.isArray(n)){if(e.length!==n.length)return!1;const t=[...e].sort(),i=[...n].sort();return t.every((r,s)=>i[s]===r)}return e===n}function yP(e){return e.length>0?e[e.length-1]:null}function bl(e){return function Jz(e){return!!e&&(e instanceof dt||"function"==typeof e.lift&&"function"==typeof e.subscribe)}(e)?e:_g(e)?En(Promise.resolve(e)):pe(e)}const JW={exact:function wP(e,n,t){if(!Uc(e.segments,n.segments)||!sb(e.segments,n.segments,t)||e.numberOfChildren!==n.numberOfChildren)return!1;for(const i in n.children)if(!e.children[i]||!wP(e.children[i],n.children[i],t))return!1;return!0},subset:EP},bP={exact:function YW(e,n){return Do(e,n)},subset:function ZW(e,n){return Object.keys(n).length<=Object.keys(e).length&&Object.keys(n).every(t=>vP(e[t],n[t]))},ignored:()=>!0};function DP(e,n,t){return JW[t.paths](e.root,n.root,t.matrixParams)&&bP[t.queryParams](e.queryParams,n.queryParams)&&!("exact"===t.fragment&&e.fragment!==n.fragment)}function EP(e,n,t){return CP(e,n,n.segments,t)}function CP(e,n,t,i){if(e.segments.length>t.length){const r=e.segments.slice(0,t.length);return!(!Uc(r,t)||n.hasChildren()||!sb(r,t,i))}if(e.segments.length===t.length){if(!Uc(e.segments,t)||!sb(e.segments,t,i))return!1;for(const r in n.children)if(!e.children[r]||!EP(e.children[r],n.children[r],i))return!1;return!0}{const r=t.slice(0,e.segments.length),s=t.slice(e.segments.length);return!!(Uc(e.segments,r)&&sb(e.segments,r,i)&&e.children[ke])&&CP(e.children[ke],n,s,i)}}function sb(e,n,t){return n.every((i,r)=>bP[t](e[r].parameters,i.parameters))}class $c{constructor(n=new Et([],{}),t={},i=null){this.root=n,this.queryParams=t,this.fragment=i}get queryParamMap(){return this._queryParamMap??=df(this.queryParams),this._queryParamMap}toString(){return KW.serialize(this)}}class Et{constructor(n,t){this.segments=n,this.children=t,this.parent=null,Object.values(t).forEach(i=>i.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return ab(this)}}class Ug{constructor(n,t){this.path=n,this.parameters=t}get parameterMap(){return this._parameterMap??=df(this.parameters),this._parameterMap}toString(){return MP(this)}}function Uc(e,n){return e.length===n.length&&e.every((t,i)=>t.path===n[i].path)}let ff=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=U({token:e,factory:()=>new ob,providedIn:"root"})}}return e})();class ob{parse(n){const t=new u6(n);return new $c(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(n){const t=`/${Gg(n.root,!0)}`,i=function n6(e){const n=Object.entries(e).map(([t,i])=>Array.isArray(i)?i.map(r=>`${lb(t)}=${lb(r)}`).join("&"):`${lb(t)}=${lb(i)}`).filter(t=>t);return n.length?`?${n.join("&")}`:""}(n.queryParams),r="string"==typeof n.fragment?`#${function e6(e){return encodeURI(e)}(n.fragment)}`:"";return`${t}${i}${r}`}}const KW=new ob;function ab(e){return e.segments.map(n=>MP(n)).join("/")}function Gg(e,n){if(!e.hasChildren())return ab(e);if(n){const t=e.children[ke]?Gg(e.children[ke],!1):"",i=[];return Object.entries(e.children).forEach(([r,s])=>{r!==ke&&i.push(`${r}:${Gg(s,!1)}`)}),i.length>0?`${t}(${i.join("//")})`:t}{const t=function XW(e,n){let t=[];return Object.entries(e.children).forEach(([i,r])=>{i===ke&&(t=t.concat(n(r,i)))}),Object.entries(e.children).forEach(([i,r])=>{i!==ke&&(t=t.concat(n(r,i)))}),t}(e,(i,r)=>r===ke?[Gg(e.children[ke],!1)]:[`${r}:${Gg(i,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children[ke]?`${ab(e)}/${t[0]}`:`${ab(e)}/(${t.join("//")})`}}function SP(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function lb(e){return SP(e).replace(/%3B/gi,";")}function WC(e){return SP(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function cb(e){return decodeURIComponent(e)}function TP(e){return cb(e.replace(/\+/g,"%20"))}function MP(e){return`${WC(e.path)}${function t6(e){return Object.entries(e).map(([n,t])=>`;${WC(n)}=${WC(t)}`).join("")}(e.parameters)}`}const i6=/^[^\/()?;#]+/;function qC(e){const n=e.match(i6);return n?n[0]:""}const r6=/^[^\/()?;=#]+/,o6=/^[^=?&#]+/,l6=/^[^&#]+/;class u6{constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Et([],{}):new Et([],this.parseChildren())}parseQueryParams(){const n={};if(this.consumeOptional("?"))do{this.parseQueryParam(n)}while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1)),(n.length>0||Object.keys(t).length>0)&&(i[ke]=new Et(n,t)),i}parseSegment(){const n=qC(this.remaining);if(""===n&&this.peekStartsWith(";"))throw new R(4009,!1);return this.capture(n),new Ug(cb(n),this.parseMatrixParams())}parseMatrixParams(){const n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){const t=function s6(e){const n=e.match(r6);return n?n[0]:""}(this.remaining);if(!t)return;this.capture(t);let i="";if(this.consumeOptional("=")){const r=qC(this.remaining);r&&(i=r,this.capture(i))}n[cb(t)]=cb(i)}parseQueryParam(n){const t=function a6(e){const n=e.match(o6);return n?n[0]:""}(this.remaining);if(!t)return;this.capture(t);let i="";if(this.consumeOptional("=")){const o=function c6(e){const n=e.match(l6);return n?n[0]:""}(this.remaining);o&&(i=o,this.capture(i))}const r=TP(t),s=TP(i);if(n.hasOwnProperty(r)){let o=n[r];Array.isArray(o)||(o=[o],n[r]=o),o.push(s)}else n[r]=s}parseParens(n){const t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const i=qC(this.remaining),r=this.remaining[i.length];if("/"!==r&&")"!==r&&";"!==r)throw new R(4010,!1);let s;i.indexOf(":")>-1?(s=i.slice(0,i.indexOf(":")),this.capture(s),this.capture(":")):n&&(s=ke);const o=this.parseChildren();t[s]=1===Object.keys(o).length?o[ke]:new Et([],o),this.consumeOptional("//")}return t}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return!!this.peekStartsWith(n)&&(this.remaining=this.remaining.substring(n.length),!0)}capture(n){if(!this.consumeOptional(n))throw new R(4011,!1)}}function IP(e){return e.segments.length>0?new Et([],{[ke]:e}):e}function NP(e){const n={};for(const[i,r]of Object.entries(e.children)){const s=NP(r);if(i===ke&&0===s.segments.length&&s.hasChildren())for(const[o,l]of Object.entries(s.children))n[o]=l;else(s.segments.length>0||s.hasChildren())&&(n[i]=s)}return function d6(e){if(1===e.numberOfChildren&&e.children[ke]){const n=e.children[ke];return new Et(e.segments.concat(n.segments),n.children)}return e}(new Et(e.segments,n))}function Gc(e){return e instanceof $c}function AP(e){let n;const r=IP(function t(s){const o={};for(const u of s.children){const d=t(u);o[u.outlet]=d}const l=new Et(s.url,o);return s===e&&(n=l),l}(e.root));return n??r}function OP(e,n,t,i){let r=e;for(;r.parent;)r=r.parent;if(0===n.length)return JC(r,r,r,t,i);const s=function h6(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new xP(!0,0,e);let n=0,t=!1;const i=e.reduce((r,s,o)=>{if("object"==typeof s&&null!=s){if(s.outlets){const l={};return Object.entries(s.outlets).forEach(([u,d])=>{l[u]="string"==typeof d?d.split("/"):d}),[...r,{outlets:l}]}if(s.segmentPath)return[...r,s.segmentPath]}return"string"!=typeof s?[...r,s]:0===o?(s.split("/").forEach((l,u)=>{0==u&&"."===l||(0==u&&""===l?t=!0:".."===l?n++:""!=l&&r.push(l))}),r):[...r,s]},[]);return new xP(t,n,i)}(n);if(s.toRoot())return JC(r,r,new Et([],{}),t,i);const o=function p6(e,n,t){if(e.isAbsolute)return new db(n,!0,0);if(!t)return new db(n,!1,NaN);if(null===t.parent)return new db(t,!0,0);const i=ub(e.commands[0])?0:1;return function g6(e,n,t){let i=e,r=n,s=t;for(;s>r;){if(s-=r,i=i.parent,!i)throw new R(4005,!1);r=i.segments.length}return new db(i,!1,r-s)}(t,t.segments.length-1+i,e.numberOfDoubleDots)}(s,r,e),l=o.processChildren?Wg(o.segmentGroup,o.index,s.commands):PP(o.segmentGroup,o.index,s.commands);return JC(r,o.segmentGroup,l,t,i)}function ub(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function zg(e){return"object"==typeof e&&null!=e&&e.outlets}function JC(e,n,t,i,r){let o,s={};i&&Object.entries(i).forEach(([u,d])=>{s[u]=Array.isArray(d)?d.map(h=>`${h}`):`${d}`}),o=e===n?t:RP(e,n,t);const l=IP(NP(o));return new $c(l,s,r)}function RP(e,n,t){const i={};return Object.entries(e.children).forEach(([r,s])=>{i[r]=s===n?t:RP(s,n,t)}),new Et(e.segments,i)}class xP{constructor(n,t,i){if(this.isAbsolute=n,this.numberOfDoubleDots=t,this.commands=i,n&&i.length>0&&ub(i[0]))throw new R(4003,!1);const r=i.find(zg);if(r&&r!==yP(i))throw new R(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class db{constructor(n,t,i){this.segmentGroup=n,this.processChildren=t,this.index=i}}function PP(e,n,t){if(e??=new Et([],{}),0===e.segments.length&&e.hasChildren())return Wg(e,n,t);const i=function _6(e,n,t){let i=0,r=n;const s={match:!1,pathIndex:0,commandIndex:0};for(;r<e.segments.length;){if(i>=t.length)return s;const o=e.segments[r],l=t[i];if(zg(l))break;const u=`${l}`,d=i<t.length-1?t[i+1]:null;if(r>0&&void 0===u)break;if(u&&d&&"object"==typeof d&&void 0===d.outlets){if(!kP(u,d,o))return s;i+=2}else{if(!kP(u,{},o))return s;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}(e,n,t),r=t.slice(i.commandIndex);if(i.match&&i.pathIndex<e.segments.length){const s=new Et(e.segments.slice(0,i.pathIndex),{});return s.children[ke]=new Et(e.segments.slice(i.pathIndex),e.children),Wg(s,0,r)}return i.match&&0===r.length?new Et(e.segments,{}):i.match&&!e.hasChildren()?YC(e,n,t):i.match?Wg(e,0,r):YC(e,n,t)}function Wg(e,n,t){if(0===t.length)return new Et(e.segments,{});{const i=function m6(e){return zg(e[0])?e[0].outlets:{[ke]:e}}(t),r={};if(Object.keys(i).some(s=>s!==ke)&&e.children[ke]&&1===e.numberOfChildren&&0===e.children[ke].segments.length){const s=Wg(e.children[ke],n,t);return new Et(e.segments,s.children)}return Object.entries(i).forEach(([s,o])=>{"string"==typeof o&&(o=[o]),null!==o&&(r[s]=PP(e.children[s],n,o))}),Object.entries(e.children).forEach(([s,o])=>{void 0===i[s]&&(r[s]=o)}),new Et(e.segments,r)}}function YC(e,n,t){const i=e.segments.slice(0,n);let r=0;for(;r<t.length;){const s=t[r];if(zg(s)){const u=v6(s.outlets);return new Et(i,u)}if(0===r&&ub(t[0])){i.push(new Ug(e.segments[n].path,FP(t[0]))),r++;continue}const o=zg(s)?s.outlets[ke]:`${s}`,l=r<t.length-1?t[r+1]:null;o&&l&&ub(l)?(i.push(new Ug(o,FP(l))),r+=2):(i.push(new Ug(o,{})),r++)}return new Et(i,{})}function v6(e){const n={};return Object.entries(e).forEach(([t,i])=>{"string"==typeof i&&(i=[i]),null!==i&&(n[t]=YC(new Et([],{}),0,i))}),n}function FP(e){const n={};return Object.entries(e).forEach(([t,i])=>n[t]=`${i}`),n}function kP(e,n,t){return e==t.path&&Do(n,t.parameters)}const qg="imperative";var ze=function(e){return e[e.NavigationStart=0]="NavigationStart",e[e.NavigationEnd=1]="NavigationEnd",e[e.NavigationCancel=2]="NavigationCancel",e[e.NavigationError=3]="NavigationError",e[e.RoutesRecognized=4]="RoutesRecognized",e[e.ResolveStart=5]="ResolveStart",e[e.ResolveEnd=6]="ResolveEnd",e[e.GuardsCheckStart=7]="GuardsCheckStart",e[e.GuardsCheckEnd=8]="GuardsCheckEnd",e[e.RouteConfigLoadStart=9]="RouteConfigLoadStart",e[e.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",e[e.ChildActivationStart=11]="ChildActivationStart",e[e.ChildActivationEnd=12]="ChildActivationEnd",e[e.ActivationStart=13]="ActivationStart",e[e.ActivationEnd=14]="ActivationEnd",e[e.Scroll=15]="Scroll",e[e.NavigationSkipped=16]="NavigationSkipped",e}(ze||{});class wo{constructor(n,t){this.id=n,this.url=t}}class fb extends wo{constructor(n,t,i="imperative",r=null){super(n,t),this.type=ze.NavigationStart,this.navigationTrigger=i,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class ea extends wo{constructor(n,t,i){super(n,t),this.urlAfterRedirects=i,this.type=ze.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var Cr=function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromResolver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e}(Cr||{}),hb=function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e}(hb||{});class zc extends wo{constructor(n,t,i,r){super(n,t),this.reason=i,this.code=r,this.type=ze.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class hf extends wo{constructor(n,t,i,r){super(n,t),this.reason=i,this.code=r,this.type=ze.NavigationSkipped}}class ZC extends wo{constructor(n,t,i,r){super(n,t),this.error=i,this.target=r,this.type=ze.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class LP extends wo{constructor(n,t,i,r){super(n,t),this.urlAfterRedirects=i,this.state=r,this.type=ze.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class y6 extends wo{constructor(n,t,i,r){super(n,t),this.urlAfterRedirects=i,this.state=r,this.type=ze.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class b6 extends wo{constructor(n,t,i,r,s){super(n,t),this.urlAfterRedirects=i,this.state=r,this.shouldActivate=s,this.type=ze.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class D6 extends wo{constructor(n,t,i,r){super(n,t),this.urlAfterRedirects=i,this.state=r,this.type=ze.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class w6 extends wo{constructor(n,t,i,r){super(n,t),this.urlAfterRedirects=i,this.state=r,this.type=ze.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class E6{constructor(n){this.route=n,this.type=ze.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class C6{constructor(n){this.route=n,this.type=ze.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class S6{constructor(n){this.snapshot=n,this.type=ze.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class T6{constructor(n){this.snapshot=n,this.type=ze.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class M6{constructor(n){this.snapshot=n,this.type=ze.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class I6{constructor(n){this.snapshot=n,this.type=ze.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class BP{constructor(n,t,i){this.routerEvent=n,this.position=t,this.anchor=i,this.type=ze.Scroll}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class QC{}class pb{constructor(n,t){this.url=n,this.navigationBehaviorOptions=t}}function Ns(e){return e.outlet||ke}function Jg(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let n=e.parent;n;n=n.parent){const t=n.routeConfig;if(t?._loadedInjector)return t._loadedInjector;if(t?._injector)return t._injector}return null}class P6{get injector(){return Jg(this.route?.snapshot)??this.rootInjector}set injector(n){}constructor(n){this.rootInjector=n,this.outlet=null,this.route=null,this.children=new Yg(this.rootInjector),this.attachRef=null}}let Yg=(()=>{class e{constructor(t){this.rootInjector=t,this.contexts=new Map}onChildOutletCreated(t,i){const r=this.getOrCreateContext(t);r.outlet=i,this.contexts.set(t,r)}onChildOutletDestroyed(t){const i=this.getContext(t);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let i=this.getContext(t);return i||(i=new P6(this.rootInjector),this.contexts.set(t,i)),i}getContext(t){return this.contexts.get(t)||null}static{this.\u0275fac=function(i){return new(i||e)(ee(_n))}}static{this.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();class VP{constructor(n){this._root=n}get root(){return this._root.value}parent(n){const t=this.pathFromRoot(n);return t.length>1?t[t.length-2]:null}children(n){const t=XC(n,this._root);return t?t.children.map(i=>i.value):[]}firstChild(n){const t=XC(n,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(n){const t=KC(n,this._root);return t.length<2?[]:t[t.length-2].children.map(r=>r.value).filter(r=>r!==n)}pathFromRoot(n){return KC(n,this._root).map(t=>t.value)}}function XC(e,n){if(e===n.value)return n;for(const t of n.children){const i=XC(e,t);if(i)return i}return null}function KC(e,n){if(e===n.value)return[n];for(const t of n.children){const i=KC(e,t);if(i.length)return i.unshift(n),i}return[]}class As{constructor(n,t){this.value=n,this.children=t}toString(){return`TreeNode(${this.value})`}}function pf(e){const n={};return e&&e.children.forEach(t=>n[t.value.outlet]=t),n}class HP extends VP{constructor(n,t){super(n),this.snapshot=t,eS(this,n)}toString(){return this.snapshot.toString()}}function jP(e){const n=function F6(e){const s=new mb([],{},{},"",{},ke,e,null,{});return new $P("",new As(s,[]))}(e),t=new _i([new Ug("",{})]),i=new _i({}),r=new _i({}),s=new _i({}),o=new _i(""),l=new Dl(t,i,s,o,r,ke,e,n.root);return l.snapshot=n.root,new HP(new As(l,[]),n)}class Dl{constructor(n,t,i,r,s,o,l,u){this.urlSubject=n,this.paramsSubject=t,this.queryParamsSubject=i,this.fragmentSubject=r,this.dataSubject=s,this.outlet=o,this.component=l,this._futureSnapshot=u,this.title=this.dataSubject?.pipe(xe(d=>d[$g]))??pe(void 0),this.url=n,this.params=t,this.queryParams=i,this.fragment=r,this.data=s}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(xe(n=>df(n))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(xe(n=>df(n))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function gb(e,n,t="emptyOnly"){let i;const{routeConfig:r}=e;return i=null===n||"always"!==t&&""!==r?.path&&(n.component||n.routeConfig?.loadComponent)?{params:{...e.params},data:{...e.data},resolve:{...e.data,...e._resolvedData??{}}}:{params:{...n.params,...e.params},data:{...n.data,...e.data},resolve:{...e.data,...n.data,...r?.data,...e._resolvedData}},r&&GP(r)&&(i.resolve[$g]=r.title),i}class mb{get title(){return this.data?.[$g]}constructor(n,t,i,r,s,o,l,u,d){this.url=n,this.params=t,this.queryParams=i,this.fragment=r,this.data=s,this.outlet=o,this.component=l,this.routeConfig=u,this._resolve=d}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=df(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=df(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(i=>i.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class $P extends VP{constructor(n,t){super(t),this.url=n,eS(this,t)}toString(){return UP(this._root)}}function eS(e,n){n.value._routerState=e,n.children.forEach(t=>eS(e,t))}function UP(e){const n=e.children.length>0?` { ${e.children.map(UP).join(", ")} } `:"";return`${e.value}${n}`}function tS(e){if(e.snapshot){const n=e.snapshot,t=e._futureSnapshot;e.snapshot=t,Do(n.queryParams,t.queryParams)||e.queryParamsSubject.next(t.queryParams),n.fragment!==t.fragment&&e.fragmentSubject.next(t.fragment),Do(n.params,t.params)||e.paramsSubject.next(t.params),function qW(e,n){if(e.length!==n.length)return!1;for(let t=0;t<e.length;++t)if(!Do(e[t],n[t]))return!1;return!0}(n.url,t.url)||e.urlSubject.next(t.url),Do(n.data,t.data)||e.dataSubject.next(t.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function nS(e,n){const t=Do(e.params,n.params)&&function QW(e,n){return Uc(e,n)&&e.every((t,i)=>Do(t.parameters,n[i].parameters))}(e.url,n.url);return t&&!(!e.parent!=!n.parent)&&(!e.parent||nS(e.parent,n.parent))}function GP(e){return"string"==typeof e.title||null===e.title}let _b=(()=>{class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=ke,this.activateEvents=new ue,this.deactivateEvents=new ue,this.attachEvents=new ue,this.detachEvents=new ue,this.parentContexts=S(Yg),this.location=S(Qi),this.changeDetector=S(Yr),this.inputBinder=S(vb,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(t){if(t.name){const{firstChange:i,previousValue:r}=t.name;if(i)return;this.isTrackedInParentContexts(r)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(r)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(t){return this.parentContexts.getContext(t)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const t=this.parentContexts.getContext(this.name);t?.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new R(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new R(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new R(4012,!1);this.location.detach();const t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,i){this.activated=t,this._activatedRoute=i,this.location.insert(t.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(t.instance)}deactivate(){if(this.activated){const t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,i){if(this.isActivated)throw new R(4013,!1);this._activatedRoute=t;const r=this.location,o=t.snapshot.component,l=this.parentContexts.getOrCreateContext(this.name).children,u=new iS(t,l,r.injector);this.activated=r.createComponent(o,{index:r.length,injector:u,environmentInjector:i}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275dir=J({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[jt]})}}return e})();class iS{__ngOutletInjector(n){return new iS(this.route,this.childContexts,n)}constructor(n,t,i){this.route=n,this.childContexts=t,this.parent=i}get(n,t){return n===Dl?this.route:n===Yg?this.childContexts:this.parent.get(n,t)}}const vb=new q("");let zP=(()=>{class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(t){this.unsubscribeFromRouteData(t),this.subscribeToRouteData(t)}unsubscribeFromRouteData(t){this.outletDataSubscriptions.get(t)?.unsubscribe(),this.outletDataSubscriptions.delete(t)}subscribeToRouteData(t){const{activatedRoute:i}=t,r=jC([i.queryParams,i.params,i.data]).pipe(Er(([s,o,l],u)=>(l={...s,...o,...l},0===u?pe(l):Promise.resolve(l)))).subscribe(s=>{if(!t.isActivated||!t.activatedComponentRef||t.activatedRoute!==i||null===i.component)return void this.unsubscribeFromRouteData(t);const o=function IG(e){const n=Ne(e);if(!n)return null;const t=new Qp(n);return{get selector(){return t.selector},get type(){return t.componentType},get inputs(){return t.inputs},get outputs(){return t.outputs},get ngContentSelectors(){return t.ngContentSelectors},get isStandalone(){return n.standalone},get isSignal(){return n.signals}}}(i.component);if(o)for(const{templateName:l}of o.inputs)t.activatedComponentRef.setInput(l,s[l]);else this.unsubscribeFromRouteData(t)});this.outletDataSubscriptions.set(t,r)}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=U({token:e,factory:e.\u0275fac})}}return e})();function Zg(e,n,t){if(t&&e.shouldReuseRoute(n.value,t.value.snapshot)){const i=t.value;i._futureSnapshot=n.value;const r=function L6(e,n,t){return n.children.map(i=>{for(const r of t.children)if(e.shouldReuseRoute(i.value,r.value.snapshot))return Zg(e,i,r);return Zg(e,i)})}(e,n,t);return new As(i,r)}{if(e.shouldAttach(n.value)){const s=e.retrieve(n.value);if(null!==s){const o=s.route;return o.value._futureSnapshot=n.value,o.children=n.children.map(l=>Zg(e,l)),o}}const i=function B6(e){return new Dl(new _i(e.url),new _i(e.params),new _i(e.queryParams),new _i(e.fragment),new _i(e.data),e.outlet,e.component,e)}(n.value),r=n.children.map(s=>Zg(e,s));return new As(i,r)}}class rS{constructor(n,t){this.redirectTo=n,this.navigationBehaviorOptions=t}}const WP="ngNavigationCancelingError";function yb(e,n){const{redirectTo:t,navigationBehaviorOptions:i}=Gc(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,r=qP(!1,Cr.Redirect);return r.url=t,r.navigationBehaviorOptions=i,r}function qP(e,n){const t=new Error(`NavigationCancelingError: ${e||""}`);return t[WP]=!0,t.cancellationCode=n,t}function JP(e){return!!e&&e[WP]}class j6{constructor(n,t,i,r,s){this.routeReuseStrategy=n,this.futureState=t,this.currState=i,this.forwardEvent=r,this.inputBindingEnabled=s}activate(n){const t=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,i,n),tS(this.futureState.root),this.activateChildRoutes(t,i,n)}deactivateChildRoutes(n,t,i){const r=pf(t);n.children.forEach(s=>{const o=s.value.outlet;this.deactivateRoutes(s,r[o],i),delete r[o]}),Object.values(r).forEach(s=>{this.deactivateRouteAndItsChildren(s,i)})}deactivateRoutes(n,t,i){const r=n.value,s=t?t.value:null;if(r===s)if(r.component){const o=i.getContext(r.outlet);o&&this.deactivateChildRoutes(n,t,o.children)}else this.deactivateChildRoutes(n,t,i);else s&&this.deactivateRouteAndItsChildren(t,i)}deactivateRouteAndItsChildren(n,t){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,t):this.deactivateRouteAndOutlet(n,t)}detachAndStoreRouteSubtree(n,t){const i=t.getContext(n.value.outlet),r=i&&n.value.component?i.children:t,s=pf(n);for(const o of Object.values(s))this.deactivateRouteAndItsChildren(o,r);if(i&&i.outlet){const o=i.outlet.detach(),l=i.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:o,route:n,contexts:l})}}deactivateRouteAndOutlet(n,t){const i=t.getContext(n.value.outlet),r=i&&n.value.component?i.children:t,s=pf(n);for(const o of Object.values(s))this.deactivateRouteAndItsChildren(o,r);i&&(i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated()),i.attachRef=null,i.route=null)}activateChildRoutes(n,t,i){const r=pf(t);n.children.forEach(s=>{this.activateRoutes(s,r[s.value.outlet],i),this.forwardEvent(new I6(s.value.snapshot))}),n.children.length&&this.forwardEvent(new T6(n.value.snapshot))}activateRoutes(n,t,i){const r=n.value,s=t?t.value:null;if(tS(r),r===s)if(r.component){const o=i.getOrCreateContext(r.outlet);this.activateChildRoutes(n,t,o.children)}else this.activateChildRoutes(n,t,i);else if(r.component){const o=i.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){const l=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),o.children.onOutletReAttached(l.contexts),o.attachRef=l.componentRef,o.route=l.route.value,o.outlet&&o.outlet.attach(l.componentRef,l.route.value),tS(l.route.value),this.activateChildRoutes(n,null,o.children)}else o.attachRef=null,o.route=r,o.outlet&&o.outlet.activateWith(r,o.injector),this.activateChildRoutes(n,null,o.children)}else this.activateChildRoutes(n,null,i)}}class YP{constructor(n){this.path=n,this.route=this.path[this.path.length-1]}}class bb{constructor(n,t){this.component=n,this.route=t}}function $6(e,n,t){const i=e._root;return Qg(i,n?n._root:null,t,[i.value])}function gf(e,n){const t=Symbol(),i=n.get(e,t);return i===t?"function"!=typeof e||function Rm(e){return null!==cs(e)}(e)?n.get(e):e:i}function Qg(e,n,t,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const s=pf(n);return e.children.forEach(o=>{(function G6(e,n,t,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const s=e.value,o=n?n.value:null,l=t?t.getContext(e.value.outlet):null;if(o&&s.routeConfig===o.routeConfig){const u=function z6(e,n,t){if("function"==typeof t)return t(e,n);switch(t){case"pathParamsChange":return!Uc(e.url,n.url);case"pathParamsOrQueryParamsChange":return!Uc(e.url,n.url)||!Do(e.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!nS(e,n)||!Do(e.queryParams,n.queryParams);default:return!nS(e,n)}}(o,s,s.routeConfig.runGuardsAndResolvers);u?r.canActivateChecks.push(new YP(i)):(s.data=o.data,s._resolvedData=o._resolvedData),Qg(e,n,s.component?l?l.children:null:t,i,r),u&&l&&l.outlet&&l.outlet.isActivated&&r.canDeactivateChecks.push(new bb(l.outlet.component,o))}else o&&Xg(n,l,r),r.canActivateChecks.push(new YP(i)),Qg(e,null,s.component?l?l.children:null:t,i,r)})(o,s[o.value.outlet],t,i.concat([o.value]),r),delete s[o.value.outlet]}),Object.entries(s).forEach(([o,l])=>Xg(l,t.getContext(o),r)),r}function Xg(e,n,t){const i=pf(e),r=e.value;Object.entries(i).forEach(([s,o])=>{Xg(o,r.component?n?n.children.getContext(s):null:n,t)}),t.canDeactivateChecks.push(new bb(r.component&&n&&n.outlet&&n.outlet.isActivated?n.outlet.component:null,r))}function Kg(e){return"function"==typeof e}function ZP(e){return e instanceof tb||"EmptyError"===e?.name}const Db=Symbol("INITIAL_VALUE");function mf(){return Er(e=>jC(e.map(n=>n.pipe(bo(1),function mP(...e){const n=e[e.length-1];return lf(n)?(e.pop(),t=>nb(e,t,n)):t=>nb(e,t)}(Db)))).pipe(xe(n=>{for(const t of n)if(!0!==t){if(t===Db)return Db;if(!1===t||X6(t))return t}return!0}),Un(n=>n!==Db),bo(1)))}function X6(e){return Gc(e)||e instanceof rS}function QP(e){return function $f(...e){return _u(e)}(Gn(n=>{if("boolean"!=typeof n)throw yb(0,n)}),xe(n=>!0===n))}class sS{constructor(n){this.segmentGroup=n||null}}class wb extends Error{constructor(n){super(),this.urlTree=n}}function _f(e){return Vg(new sS(e))}class dq{constructor(n,t){this.urlSerializer=n,this.urlTree=t}lineralizeSegments(n,t){let i=[],r=t.root;for(;;){if(i=i.concat(r.segments),0===r.numberOfChildren)return pe(i);if(r.numberOfChildren>1||!r.children[ke])return Vg(new R(4e3,!1));r=r.children[ke]}}applyRedirectCommands(n,t,i,r,s){if("string"!=typeof t){const l=t,{queryParams:u,fragment:d,routeConfig:h,url:p,outlet:m,params:v,data:b,title:w}=r,M=Zn(s,()=>l({params:v,data:b,queryParams:u,fragment:d,routeConfig:h,url:p,outlet:m,title:w}));if(M instanceof $c)throw new wb(M);t=M}const o=this.applyRedirectCreateUrlTree(t,this.urlSerializer.parse(t),n,i);if("/"===t[0])throw new wb(o);return o}applyRedirectCreateUrlTree(n,t,i,r){const s=this.createSegmentGroup(n,t.root,i,r);return new $c(s,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(n,t){const i={};return Object.entries(n).forEach(([r,s])=>{if("string"==typeof s&&":"===s[0]){const l=s.substring(1);i[r]=t[l]}else i[r]=s}),i}createSegmentGroup(n,t,i,r){const s=this.createSegments(n,t.segments,i,r);let o={};return Object.entries(t.children).forEach(([l,u])=>{o[l]=this.createSegmentGroup(n,u,i,r)}),new Et(s,o)}createSegments(n,t,i,r){return t.map(s=>":"===s.path[0]?this.findPosParam(n,s,r):this.findOrReturn(s,i))}findPosParam(n,t,i){const r=i[t.path.substring(1)];if(!r)throw new R(4001,!1);return r}findOrReturn(n,t){let i=0;for(const r of t){if(r.path===n.path)return t.splice(i),r;i++}return n}}const oS={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function fq(e,n,t,i,r){const s=XP(e,n,t);return s.matched?(i=function N6(e,n){return e.providers&&!e._injector&&(e._injector=Wv(e.providers,n,`Route: ${e.path}`)),e._injector??n}(n,i),function lq(e,n,t,i){const r=n.canMatch;return r&&0!==r.length?pe(r.map(o=>{const l=gf(o,e);return bl(function Q6(e){return e&&Kg(e.canMatch)}(l)?l.canMatch(n,t):Zn(e,()=>l(n,t)))})).pipe(mf(),QP()):pe(!0)}(i,n,t).pipe(xe(o=>!0===o?s:{...oS}))):pe(s)}function XP(e,n,t){if("**"===n.path)return function hq(e){return{matched:!0,parameters:e.length>0?yP(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}(t);if(""===n.path)return"full"===n.pathMatch&&(e.hasChildren()||t.length>0)?{...oS}:{matched:!0,consumedSegments:[],remainingSegments:t,parameters:{},positionalParamSegments:{}};const r=(n.matcher||WW)(t,e,n);if(!r)return{...oS};const s={};Object.entries(r.posParams??{}).forEach(([l,u])=>{s[l]=u.path});const o=r.consumed.length>0?{...s,...r.consumed[r.consumed.length-1].parameters}:s;return{matched:!0,consumedSegments:r.consumed,remainingSegments:t.slice(r.consumed.length),parameters:o,positionalParamSegments:r.posParams??{}}}function KP(e,n,t,i){return t.length>0&&function mq(e,n,t){return t.some(i=>Eb(e,n,i)&&Ns(i)!==ke)}(e,t,i)?{segmentGroup:new Et(n,gq(i,new Et(t,e.children))),slicedSegments:[]}:0===t.length&&function _q(e,n,t){return t.some(i=>Eb(e,n,i))}(e,t,i)?{segmentGroup:new Et(e.segments,pq(e,t,i,e.children)),slicedSegments:t}:{segmentGroup:new Et(e.segments,e.children),slicedSegments:t}}function pq(e,n,t,i){const r={};for(const s of t)if(Eb(e,n,s)&&!i[Ns(s)]){const o=new Et([],{});r[Ns(s)]=o}return{...i,...r}}function gq(e,n){const t={};t[ke]=n;for(const i of e)if(""===i.path&&Ns(i)!==ke){const r=new Et([],{});t[Ns(i)]=r}return t}function Eb(e,n,t){return(!(e.hasChildren()||n.length>0)||"full"!==t.pathMatch)&&""===t.path}class yq{}class wq{constructor(n,t,i,r,s,o,l){this.injector=n,this.configLoader=t,this.rootComponentType=i,this.config=r,this.urlTree=s,this.paramsInheritanceStrategy=o,this.urlSerializer=l,this.applyRedirects=new dq(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(n){return new R(4002,`'${n.segmentGroup}'`)}recognize(){const n=KP(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(n).pipe(xe(({children:t,rootSnapshot:i})=>{const r=new As(i,t),s=new $P("",r),o=function f6(e,n,t=null,i=null){return OP(AP(e),n,t,i)}(i,[],this.urlTree.queryParams,this.urlTree.fragment);return o.queryParams=this.urlTree.queryParams,s.url=this.urlSerializer.serialize(o),{state:s,tree:o}}))}match(n){const t=new mb([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Object.freeze({}),ke,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,n,ke,t).pipe(xe(i=>({children:i,rootSnapshot:t})),Hg(i=>{if(i instanceof wb)return this.urlTree=i.urlTree,this.match(i.urlTree.root);throw i instanceof sS?this.noMatchError(i):i}))}processSegmentGroup(n,t,i,r,s){return 0===i.segments.length&&i.hasChildren()?this.processChildren(n,t,i,s):this.processSegment(n,t,i,i.segments,r,!0,s).pipe(xe(o=>o instanceof As?[o]:[]))}processChildren(n,t,i,r){const s=[];for(const o of Object.keys(i.children))"primary"===o?s.unshift(o):s.push(o);return En(s).pipe(uf(o=>{const l=i.children[o],u=function x6(e,n){const t=e.filter(i=>Ns(i)===n);return t.push(...e.filter(i=>Ns(i)!==n)),t}(t,o);return this.processSegmentGroup(n,u,l,o,r)}),function RW(e,n){let t=!1;return arguments.length>=2&&(t=!0),function(r){return r.lift(new xW(e,n,t))}}((o,l)=>(o.push(...l),o)),rb(null),function LW(e,n){const t=arguments.length>=2;return i=>i.pipe(e?Un((r,s)=>e(r,s,i)):da,GC(1),t?rb(n):_P(()=>new tb))}(),di(o=>{if(null===o)return _f(i);const l=eF(o);return function Eq(e){e.sort((n,t)=>n.value.outlet===ke?-1:t.value.outlet===ke?1:n.value.outlet.localeCompare(t.value.outlet))}(l),pe(l)}))}processSegment(n,t,i,r,s,o,l){return En(t).pipe(uf(u=>this.processSegmentAgainstRoute(u._injector??n,t,u,i,r,s,o,l).pipe(Hg(d=>{if(d instanceof sS)return pe(null);throw d}))),jc(u=>!!u),Hg(u=>{if(ZP(u))return function vq(e,n,t){return 0===n.length&&!e.children[t]}(i,r,s)?pe(new yq):_f(i);throw u}))}processSegmentAgainstRoute(n,t,i,r,s,o,l,u){return Ns(i)===o||o!==ke&&Eb(r,s,i)?void 0===i.redirectTo?this.matchSegmentAgainstRoute(n,r,i,s,o,u):this.allowRedirects&&l?this.expandSegmentAgainstRouteUsingRedirect(n,r,t,i,s,o,u):_f(r):_f(r)}expandSegmentAgainstRouteUsingRedirect(n,t,i,r,s,o,l){const{matched:u,parameters:d,consumedSegments:h,positionalParamSegments:p,remainingSegments:m}=XP(t,r,s);if(!u)return _f(t);"string"==typeof r.redirectTo&&"/"===r.redirectTo[0]&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const v=new mb(s,d,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,tF(r),Ns(r),r.component??r._loadedComponent??null,r,nF(r)),b=gb(v,l,this.paramsInheritanceStrategy);v.params=Object.freeze(b.params),v.data=Object.freeze(b.data);const w=this.applyRedirects.applyRedirectCommands(h,r.redirectTo,p,v,n);return this.applyRedirects.lineralizeSegments(r,w).pipe(di(M=>this.processSegment(n,i,t,M.concat(m),o,!1,l)))}matchSegmentAgainstRoute(n,t,i,r,s,o){const l=fq(t,i,r,n);return"**"===i.path&&(t.children={}),l.pipe(Er(u=>u.matched?this.getChildConfig(n=i._injector??n,i,r).pipe(Er(({routes:d})=>{const h=i._loadedInjector??n,{parameters:p,consumedSegments:m,remainingSegments:v}=u,b=new mb(m,p,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,tF(i),Ns(i),i.component??i._loadedComponent??null,i,nF(i)),w=gb(b,o,this.paramsInheritanceStrategy);b.params=Object.freeze(w.params),b.data=Object.freeze(w.data);const{segmentGroup:M,slicedSegments:O}=KP(t,m,v,d);if(0===O.length&&M.hasChildren())return this.processChildren(h,d,M,b).pipe(xe(k=>new As(b,k)));if(0===d.length&&0===O.length)return pe(new As(b,[]));const I=Ns(i)===s;return this.processSegment(h,d,M,O,I?ke:s,!0,b).pipe(xe(k=>new As(b,k instanceof As?[k]:[])))})):_f(t)))}getChildConfig(n,t,i){return t.children?pe({routes:t.children,injector:n}):t.loadChildren?void 0!==t._loadedRoutes?pe({routes:t._loadedRoutes,injector:t._loadedInjector}):function aq(e,n,t,i){const r=n.canLoad;return void 0===r||0===r.length?pe(!0):pe(r.map(o=>{const l=gf(o,e);return bl(function q6(e){return e&&Kg(e.canLoad)}(l)?l.canLoad(n,t):Zn(e,()=>l(n,t)))})).pipe(mf(),QP())}(n,t,i).pipe(di(r=>r?this.configLoader.loadChildren(n,t).pipe(Gn(s=>{t._loadedRoutes=s.routes,t._loadedInjector=s.injector})):function uq(){return Vg(qP(!1,Cr.GuardRejected))}())):pe({routes:[],injector:n})}}function Cq(e){const n=e.value.routeConfig;return n&&""===n.path}function eF(e){const n=[],t=new Set;for(const i of e){if(!Cq(i)){n.push(i);continue}const r=n.find(s=>i.value.routeConfig===s.value.routeConfig);void 0!==r?(r.children.push(...i.children),t.add(r)):n.push(i)}for(const i of t){const r=eF(i.children);n.push(new As(i.value,r))}return n.filter(i=>!t.has(i))}function tF(e){return e.data||{}}function nF(e){return e.resolve||{}}function iF(e){const n=e.children.map(t=>iF(t)).flat();return[e,...n]}function aS(e){return Er(n=>{const t=e(n);return t?En(t).pipe(xe(()=>n)):pe(n)})}let rF=(()=>{class e{buildTitle(t){let i,r=t.root;for(;void 0!==r;)i=this.getResolvedTitleForRoute(r)??i,r=r.children.find(s=>s.outlet===ke);return i}getResolvedTitleForRoute(t){return t.data[$g]}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=U({token:e,factory:()=>S(Aq),providedIn:"root"})}}return e})(),Aq=(()=>{class e extends rF{constructor(t){super(),this.title=t}updateTitle(t){const i=this.buildTitle(t);void 0!==i&&this.title.setTitle(i)}static{this.\u0275fac=function(i){return new(i||e)(ee(Tx))}}static{this.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();const vf=new q("",{providedIn:"root",factory:()=>({})});let sF=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275cmp=Yn({type:e,selectors:[["ng-component"]],standalone:!0,features:[qr],decls:1,vars:0,template:function(i,r){1&i&&wt(0,"router-outlet")},dependencies:[_b],encapsulation:2})}}return e})();function lS(e){const n=e.children&&e.children.map(lS),t=n?{...e,children:n}:{...e};return!t.component&&!t.loadComponent&&(n||t.loadChildren)&&t.outlet&&t.outlet!==ke&&(t.component=sF),t}const yf=new q("");let cS=(()=>{class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=S(zO)}loadComponent(t){if(this.componentLoaders.get(t))return this.componentLoaders.get(t);if(t._loadedComponent)return pe(t._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(t);const i=bl(t.loadComponent()).pipe(xe(oF),Gn(s=>{this.onLoadEndListener&&this.onLoadEndListener(t),t._loadedComponent=s}),jg(()=>{this.componentLoaders.delete(t)})),r=new UC(i,()=>new ft).pipe($C());return this.componentLoaders.set(t,r),r}loadChildren(t,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return pe({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);const s=function Oq(e,n,t,i){return bl(e.loadChildren()).pipe(xe(oF),di(r=>r instanceof lN||Array.isArray(r)?pe(r):En(n.compileModuleAsync(r))),xe(r=>{i&&i(e);let s,o,l=!1;return Array.isArray(r)?(o=r,!0):(s=r.create(t).injector,o=s.get(yf,[],{optional:!0,self:!0}).flat()),{routes:o.map(lS),injector:s}}))}(i,this.compiler,t,this.onLoadEndListener).pipe(jg(()=>{this.childrenLoaders.delete(i)})),o=new UC(s,()=>new ft).pipe($C());return this.childrenLoaders.set(i,o),o}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function oF(e){return function Rq(e){return e&&"object"==typeof e&&"default"in e}(e)?e.default:e}let uS=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=U({token:e,factory:()=>S(xq),providedIn:"root"})}}return e})(),xq=(()=>{class e{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,i){return t}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();const aF=new q(""),lF=new q("");function Pq(e,n,t){const i=e.get(lF),r=e.get(Gt);return e.get(Ae).runOutsideAngular(()=>{if(!r.startViewTransition||i.skipNextTransition)return i.skipNextTransition=!1,new Promise(d=>setTimeout(d));let s;const o=new Promise(d=>{s=d}),l=r.startViewTransition(()=>(s(),function Fq(e){return new Promise(n=>{Wo({read:()=>setTimeout(n)},{injector:e})})}(e))),{onViewTransitionCreated:u}=i;return u&&Zn(e,()=>u({transition:l,from:n,to:t})),o})}const cF=new q("");let Cb=(()=>{class e{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new ft,this.transitionAbortSubject=new ft,this.configLoader=S(cS),this.environmentInjector=S(_n),this.urlSerializer=S(ff),this.rootContexts=S(Yg),this.location=S(Eg),this.inputBindingEnabled=null!==S(vb,{optional:!0}),this.titleStrategy=S(rF),this.options=S(vf,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=S(uS),this.createViewTransition=S(aF,{optional:!0}),this.navigationErrorHandler=S(cF,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>pe(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=r=>this.events.next(new C6(r)),this.configLoader.onLoadStartListener=r=>this.events.next(new E6(r))}complete(){this.transitions?.complete()}handleNavigationRequest(t){const i=++this.navigationId;this.transitions?.next({...this.transitions.value,...t,id:i})}setupNavigations(t,i,r){return this.transitions=new _i({id:0,currentUrlTree:i,currentRawUrl:i,extractedUrl:this.urlHandlingStrategy.extract(i),urlAfterRedirects:this.urlHandlingStrategy.extract(i),rawUrl:i,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:qg,restoredState:null,currentSnapshot:r.snapshot,targetSnapshot:null,currentRouterState:r,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(Un(s=>0!==s.id),xe(s=>({...s,extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),Er(s=>{let o=!1,l=!1;return pe(s).pipe(Er(u=>{if(this.navigationId>s.id)return this.cancelNavigationTransition(s,"",Cr.SupersededByNewNavigation),Ko;this.currentTransition=s,this.currentNavigation={id:u.id,initialUrl:u.rawUrl,extractedUrl:u.extractedUrl,targetBrowserUrl:"string"==typeof u.extras.browserUrl?this.urlSerializer.parse(u.extras.browserUrl):u.extras.browserUrl,trigger:u.source,extras:u.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null};const d=!t.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!d&&"reload"!==(u.extras.onSameUrlNavigation??t.onSameUrlNavigation)){const p="";return this.events.next(new hf(u.id,this.urlSerializer.serialize(u.rawUrl),p,hb.IgnoredSameUrlNavigation)),u.resolve(!1),Ko}if(this.urlHandlingStrategy.shouldProcessUrl(u.rawUrl))return pe(u).pipe(Er(p=>{const m=this.transitions?.getValue();return this.events.next(new fb(p.id,this.urlSerializer.serialize(p.extractedUrl),p.source,p.restoredState)),m!==this.transitions?.getValue()?Ko:Promise.resolve(p)}),function Sq(e,n,t,i,r,s){return di(o=>function bq(e,n,t,i,r,s,o="emptyOnly"){return new wq(e,n,t,i,r,o,s).recognize()}(e,n,t,i,o.extractedUrl,r,s).pipe(xe(({state:l,tree:u})=>({...o,targetSnapshot:l,urlAfterRedirects:u}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,t.config,this.urlSerializer,this.paramsInheritanceStrategy),Gn(p=>{s.targetSnapshot=p.targetSnapshot,s.urlAfterRedirects=p.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:p.urlAfterRedirects};const m=new LP(p.id,this.urlSerializer.serialize(p.extractedUrl),this.urlSerializer.serialize(p.urlAfterRedirects),p.targetSnapshot);this.events.next(m)}));if(d&&this.urlHandlingStrategy.shouldProcessUrl(u.currentRawUrl)){const{id:p,extractedUrl:m,source:v,restoredState:b,extras:w}=u,M=new fb(p,this.urlSerializer.serialize(m),v,b);this.events.next(M);const O=jP(this.rootComponentType).snapshot;return this.currentTransition=s={...u,targetSnapshot:O,urlAfterRedirects:m,extras:{...w,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=m,pe(s)}{const p="";return this.events.next(new hf(u.id,this.urlSerializer.serialize(u.extractedUrl),p,hb.IgnoredByUrlHandlingStrategy)),u.resolve(!1),Ko}}),Gn(u=>{const d=new y6(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(d)}),xe(u=>(this.currentTransition=s={...u,guards:$6(u.targetSnapshot,u.currentSnapshot,this.rootContexts)},s)),function K6(e,n){return di(t=>{const{targetSnapshot:i,currentSnapshot:r,guards:{canActivateChecks:s,canDeactivateChecks:o}}=t;return 0===o.length&&0===s.length?pe({...t,guardsResult:!0}):function eq(e,n,t,i){return En(e).pipe(di(r=>function oq(e,n,t,i,r){const s=n&&n.routeConfig?n.routeConfig.canDeactivate:null;return s&&0!==s.length?pe(s.map(l=>{const u=Jg(n)??r,d=gf(l,u);return bl(function Z6(e){return e&&Kg(e.canDeactivate)}(d)?d.canDeactivate(e,n,t,i):Zn(u,()=>d(e,n,t,i))).pipe(jc())})).pipe(mf()):pe(!0)}(r.component,r.route,t,n,i)),jc(r=>!0!==r,!0))}(o,i,r,e).pipe(di(l=>l&&function W6(e){return"boolean"==typeof e}(l)?function tq(e,n,t,i){return En(n).pipe(uf(r=>nb(function iq(e,n){return null!==e&&n&&n(new S6(e)),pe(!0)}(r.route.parent,i),function nq(e,n){return null!==e&&n&&n(new M6(e)),pe(!0)}(r.route,i),function sq(e,n,t){const i=n[n.length-1],s=n.slice(0,n.length-1).reverse().map(o=>function U6(e){const n=e.routeConfig?e.routeConfig.canActivateChild:null;return n&&0!==n.length?{node:e,guards:n}:null}(o)).filter(o=>null!==o).map(o=>pP(()=>pe(o.guards.map(u=>{const d=Jg(o.node)??t,h=gf(u,d);return bl(function Y6(e){return e&&Kg(e.canActivateChild)}(h)?h.canActivateChild(i,e):Zn(d,()=>h(i,e))).pipe(jc())})).pipe(mf())));return pe(s).pipe(mf())}(e,r.path,t),function rq(e,n,t){const i=n.routeConfig?n.routeConfig.canActivate:null;if(!i||0===i.length)return pe(!0);const r=i.map(s=>pP(()=>{const o=Jg(n)??t,l=gf(s,o);return bl(function J6(e){return e&&Kg(e.canActivate)}(l)?l.canActivate(n,e):Zn(o,()=>l(n,e))).pipe(jc())}));return pe(r).pipe(mf())}(e,r.route,t))),jc(r=>!0!==r,!0))}(i,s,e,n):pe(l)),xe(l=>({...t,guardsResult:l})))})}(this.environmentInjector,u=>this.events.next(u)),Gn(u=>{if(s.guardsResult=u.guardsResult,u.guardsResult&&"boolean"!=typeof u.guardsResult)throw yb(0,u.guardsResult);const d=new b6(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot,!!u.guardsResult);this.events.next(d)}),Un(u=>!!u.guardsResult||(this.cancelNavigationTransition(u,"",Cr.GuardRejected),!1)),aS(u=>{if(u.guards.canActivateChecks.length)return pe(u).pipe(Gn(d=>{const h=new D6(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(h)}),Er(d=>{let h=!1;return pe(d).pipe(function Tq(e,n){return di(t=>{const{targetSnapshot:i,guards:{canActivateChecks:r}}=t;if(!r.length)return pe(t);const s=new Set(r.map(u=>u.route)),o=new Set;for(const u of s)if(!o.has(u))for(const d of iF(u))o.add(d);let l=0;return En(o).pipe(uf(u=>s.has(u)?function Mq(e,n,t,i){const r=e.routeConfig,s=e._resolve;return void 0!==r?.title&&!GP(r)&&(s[$g]=r.title),function Iq(e,n,t,i){const r=zC(e);if(0===r.length)return pe({});const s={};return En(r).pipe(di(o=>function Nq(e,n,t,i){const r=Jg(n)??i,s=gf(e,r);return bl(s.resolve?s.resolve(n,t):Zn(r,()=>s(n,t)))}(e[o],n,t,i).pipe(jc(),Gn(l=>{if(l instanceof rS)throw yb(new ob,l);s[o]=l}))),GC(1),function BW(e){return n=>n.lift(new VW(e))}(s),Hg(o=>ZP(o)?Ko:Vg(o)))}(s,e,n,i).pipe(xe(o=>(e._resolvedData=o,e.data=gb(e,e.parent,t).resolve,null)))}(u,i,e,n):(u.data=gb(u,u.parent,e).resolve,pe(void 0))),Gn(()=>l++),GC(1),di(u=>l===o.size?pe(t):Ko))})}(this.paramsInheritanceStrategy,this.environmentInjector),Gn({next:()=>h=!0,complete:()=>{h||this.cancelNavigationTransition(d,"",Cr.NoDataFromResolver)}}))}),Gn(d=>{const h=new w6(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(h)}))}),aS(u=>{const d=h=>{const p=[];h.routeConfig?.loadComponent&&!h.routeConfig._loadedComponent&&p.push(this.configLoader.loadComponent(h.routeConfig).pipe(Gn(m=>{h.component=m}),xe(()=>{})));for(const m of h.children)p.push(...d(m));return p};return jC(d(u.targetSnapshot.root)).pipe(rb(null),bo(1))}),aS(()=>this.afterPreactivation()),Er(()=>{const{currentSnapshot:u,targetSnapshot:d}=s,h=this.createViewTransition?.(this.environmentInjector,u.root,d.root);return h?En(h).pipe(xe(()=>s)):pe(s)}),xe(u=>{const d=function k6(e,n,t){const i=Zg(e,n._root,t?t._root:void 0);return new HP(i,n)}(t.routeReuseStrategy,u.targetSnapshot,u.currentRouterState);return this.currentTransition=s={...u,targetRouterState:d},this.currentNavigation.targetRouterState=d,s}),Gn(()=>{this.events.next(new QC)}),((e,n,t,i)=>xe(r=>(new j6(n,r.targetRouterState,r.currentRouterState,t,i).activate(e),r)))(this.rootContexts,t.routeReuseStrategy,u=>this.events.next(u),this.inputBindingEnabled),bo(1),Gn({next:u=>{o=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new ea(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects))),this.titleStrategy?.updateTitle(u.targetRouterState.snapshot),u.resolve(!0)},complete:()=>{o=!0}}),ti(this.transitionAbortSubject.pipe(Gn(u=>{throw u}))),jg(()=>{!o&&!l&&this.cancelNavigationTransition(s,"",Cr.SupersededByNewNavigation),this.currentTransition?.id===s.id&&(this.currentNavigation=null,this.currentTransition=null)}),Hg(u=>{if(l=!0,JP(u))this.events.next(new zc(s.id,this.urlSerializer.serialize(s.extractedUrl),u.message,u.cancellationCode)),function V6(e){return JP(e)&&Gc(e.url)}(u)?this.events.next(new pb(u.url,u.navigationBehaviorOptions)):s.resolve(!1);else{const d=new ZC(s.id,this.urlSerializer.serialize(s.extractedUrl),u,s.targetSnapshot??void 0);try{const h=Zn(this.environmentInjector,()=>this.navigationErrorHandler?.(d));if(h instanceof rS){const{message:p,cancellationCode:m}=yb(0,h);this.events.next(new zc(s.id,this.urlSerializer.serialize(s.extractedUrl),p,m)),this.events.next(new pb(h.redirectTo,h.navigationBehaviorOptions))}else{this.events.next(d);const p=t.errorHandler(u);s.resolve(!!p)}}catch(h){this.options.resolveNavigationPromiseOnError?s.resolve(!1):s.reject(h)}}return Ko}))}))}cancelNavigationTransition(t,i,r){const s=new zc(t.id,this.urlSerializer.serialize(t.extractedUrl),i,r);this.events.next(s),t.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){const t=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),i=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return t.toString()!==i?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function kq(e){return e!==qg}let Lq=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=U({token:e,factory:()=>S(Vq),providedIn:"root"})}}return e})();class Bq{shouldDetach(n){return!1}store(n,t){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,t){return n.routeConfig===t.routeConfig}}let Vq=(()=>{class e extends Bq{static{this.\u0275fac=(()=>{let t;return function(r){return(t||(t=Je(e)))(r||e)}})()}static{this.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),uF=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=U({token:e,factory:()=>S(Hq),providedIn:"root"})}}return e})(),Hq=(()=>{class e extends uF{constructor(){super(...arguments),this.location=S(Eg),this.urlSerializer=S(ff),this.options=S(vf,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=S(uS),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new $c,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=jP(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(t){return this.location.subscribe(i=>{"popstate"===i.type&&t(i.url,i.state)})}handleRouterEvent(t,i){if(t instanceof fb)this.stateMemento=this.createStateMemento();else if(t instanceof hf)this.rawUrlTree=i.initialUrl;else if(t instanceof LP){if("eager"===this.urlUpdateStrategy&&!i.extras.skipLocationChange){const r=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl);this.setBrowserUrl(i.targetBrowserUrl??r,i)}}else t instanceof QC?(this.currentUrlTree=i.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl),this.routerState=i.targetRouterState,"deferred"===this.urlUpdateStrategy&&!i.extras.skipLocationChange&&this.setBrowserUrl(i.targetBrowserUrl??this.rawUrlTree,i)):t instanceof zc&&(t.code===Cr.GuardRejected||t.code===Cr.NoDataFromResolver)?this.restoreHistory(i):t instanceof ZC?this.restoreHistory(i,!0):t instanceof ea&&(this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId)}setBrowserUrl(t,i){const r=t instanceof $c?this.urlSerializer.serialize(t):t;if(this.location.isCurrentPathEqualTo(r)||i.extras.replaceUrl){const o={...i.extras.state,...this.generateNgRouterState(i.id,this.browserPageId)};this.location.replaceState(r,"",o)}else{const s={...i.extras.state,...this.generateNgRouterState(i.id,this.browserPageId+1)};this.location.go(r,"",s)}}restoreHistory(t,i=!1){if("computed"===this.canceledNavigationResolution){const s=this.currentPageId-this.browserPageId;0!==s?this.location.historyGo(s):this.currentUrlTree===t.finalUrl&&0===s&&(this.resetState(t),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(i&&this.resetState(t),this.resetUrlToCurrentUrlTree())}resetState(t){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(t,i){return"computed"===this.canceledNavigationResolution?{navigationId:t,\u0275routerPageId:i}:{navigationId:t}}static{this.\u0275fac=(()=>{let t;return function(r){return(t||(t=Je(e)))(r||e)}})()}static{this.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var em=function(e){return e[e.COMPLETE=0]="COMPLETE",e[e.FAILED=1]="FAILED",e[e.REDIRECTING=2]="REDIRECTING",e}(em||{});function dF(e,n){e.events.pipe(Un(t=>t instanceof ea||t instanceof zc||t instanceof ZC||t instanceof hf),xe(t=>t instanceof ea||t instanceof hf?em.COMPLETE:t instanceof zc&&(t.code===Cr.Redirect||t.code===Cr.SupersededByNewNavigation)?em.REDIRECTING:em.FAILED),Un(t=>t!==em.REDIRECTING),bo(1)).subscribe(()=>{n()})}function jq(e){throw e}const $q={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Uq={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Kr=(()=>{class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.console=S(PO),this.stateManager=S(uF),this.options=S(vf,{optional:!0})||{},this.pendingTasks=S(Ds),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=S(Cb),this.urlSerializer=S(ff),this.location=S(Eg),this.urlHandlingStrategy=S(uS),this._events=new ft,this.errorHandler=this.options.errorHandler||jq,this.navigated=!1,this.routeReuseStrategy=S(Lq),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=S(yf,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!S(vb,{optional:!0}),this.eventsSubscription=new nt,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:t=>{this.console.warn(t)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const t=this.navigationTransitions.events.subscribe(i=>{try{const r=this.navigationTransitions.currentTransition,s=this.navigationTransitions.currentNavigation;if(null!==r&&null!==s)if(this.stateManager.handleRouterEvent(i,s),i instanceof zc&&i.code!==Cr.Redirect&&i.code!==Cr.SupersededByNewNavigation)this.navigated=!0;else if(i instanceof ea)this.navigated=!0;else if(i instanceof pb){const o=i.navigationBehaviorOptions,l=this.urlHandlingStrategy.merge(i.url,r.currentRawUrl),u={browserUrl:r.extras.browserUrl,info:r.extras.info,skipLocationChange:r.extras.skipLocationChange,replaceUrl:r.extras.replaceUrl||"eager"===this.urlUpdateStrategy||kq(r.source),...o};this.scheduleNavigation(l,qg,null,u,{resolve:r.resolve,reject:r.reject,promise:r.promise})}(function zq(e){return!(e instanceof QC||e instanceof pb)})(i)&&this._events.next(i)}catch(r){this.navigationTransitions.transitionAbortSubject.next(r)}});this.eventsSubscription.add(t)}resetRootComponentType(t){this.routerState.root.component=t,this.navigationTransitions.rootComponentType=t}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),qg,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((t,i)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(t,"popstate",i)},0)})}navigateToSyncWithBrowser(t,i,r){const s={replaceUrl:!0},o=r?.navigationId?r:null;if(r){const u={...r};delete u.navigationId,delete u.\u0275routerPageId,0!==Object.keys(u).length&&(s.state=u)}const l=this.parseUrl(t);this.scheduleNavigation(l,i,o,s)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(t){this.config=t.map(lS),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(t,i={}){const{relativeTo:r,queryParams:s,fragment:o,queryParamsHandling:l,preserveFragment:u}=i,d=u?this.currentUrlTree.fragment:o;let p,h=null;switch(l??this.options.defaultQueryParamsHandling){case"merge":h={...this.currentUrlTree.queryParams,...s};break;case"preserve":h=this.currentUrlTree.queryParams;break;default:h=s||null}null!==h&&(h=this.removeEmptyProps(h));try{p=AP(r?r.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof t[0]||"/"!==t[0][0])&&(t=[]),p=this.currentUrlTree.root}return OP(p,t,h,d??null)}navigateByUrl(t,i={skipLocationChange:!1}){const r=Gc(t)?t:this.parseUrl(t),s=this.urlHandlingStrategy.merge(r,this.rawUrlTree);return this.scheduleNavigation(s,qg,null,i)}navigate(t,i={skipLocationChange:!1}){return function Gq(e){for(let n=0;n<e.length;n++)if(null==e[n])throw new R(4008,!1)}(t),this.navigateByUrl(this.createUrlTree(t,i),i)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){try{return this.urlSerializer.parse(t)}catch{return this.urlSerializer.parse("/")}}isActive(t,i){let r;if(r=!0===i?{...$q}:!1===i?{...Uq}:i,Gc(t))return DP(this.currentUrlTree,t,r);const s=this.parseUrl(t);return DP(this.currentUrlTree,s,r)}removeEmptyProps(t){return Object.entries(t).reduce((i,[r,s])=>(null!=s&&(i[r]=s),i),{})}scheduleNavigation(t,i,r,s,o){if(this.disposed)return Promise.resolve(!1);let l,u,d;o?(l=o.resolve,u=o.reject,d=o.promise):d=new Promise((p,m)=>{l=p,u=m});const h=this.pendingTasks.add();return dF(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(h))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:r,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:t,extras:s,resolve:l,reject:u,promise:d,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),d.catch(p=>Promise.reject(p))}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();class fF{}let Jq=(()=>{class e{constructor(t,i,r,s,o){this.router=t,this.injector=r,this.preloadingStrategy=s,this.loader=o}setUpPreloading(){this.subscription=this.router.events.pipe(Un(t=>t instanceof ea),uf(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,i){const r=[];for(const s of i){s.providers&&!s._injector&&(s._injector=Wv(s.providers,t,`Route: ${s.path}`));const o=s._injector??t,l=s._loadedInjector??o;(s.loadChildren&&!s._loadedRoutes&&void 0===s.canLoad||s.loadComponent&&!s._loadedComponent)&&r.push(this.preloadConfig(o,s)),(s.children||s._loadedRoutes)&&r.push(this.processRoutes(l,s.children??s._loadedRoutes))}return En(r).pipe(cf())}preloadConfig(t,i){return this.preloadingStrategy.preload(i,()=>{let r;r=i.loadChildren&&void 0===i.canLoad?this.loader.loadChildren(t,i):pe(null);const s=r.pipe(di(o=>null===o?pe(void 0):(i._loadedRoutes=o.routes,i._loadedInjector=o.injector,this.processRoutes(o.injector??t,o.routes))));return i.loadComponent&&!i._loadedComponent?En([s,this.loader.loadComponent(i)]).pipe(cf()):s})}static{this.\u0275fac=function(i){return new(i||e)(ee(Kr),ee(zO),ee(_n),ee(fF),ee(cS))}}static{this.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();const fS=new q("");let hF=(()=>{class e{constructor(t,i,r,s,o={}){this.urlSerializer=t,this.transitions=i,this.viewportScroller=r,this.zone=s,this.options=o,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},o.scrollPositionRestoration||="disabled",o.anchorScrolling||="disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof fb?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof ea?(this.lastId=t.id,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.urlAfterRedirects).fragment)):t instanceof hf&&t.code===hb.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof BP&&(t.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,i){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new BP(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,i))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static{this.\u0275fac=function(i){!function xM(){throw new Error("invalid")}()}}static{this.\u0275prov=U({token:e,factory:e.\u0275fac})}}return e})();function Eo(e,n){return{\u0275kind:e,\u0275providers:n}}function gF(){const e=S(lt);return n=>{const t=e.get(Jr);if(n!==t.components[0])return;const i=e.get(Kr),r=e.get(mF);1===e.get(hS)&&i.initialNavigation(),e.get(_F,null,Pe.Optional)?.setUpPreloading(),e.get(fS,null,Pe.Optional)?.init(),i.resetRootComponentType(t.componentTypes[0]),r.closed||(r.next(),r.complete(),r.unsubscribe())}}const mF=new q("",{factory:()=>new ft}),hS=new q("",{providedIn:"root",factory:()=>1}),_F=new q("");function Xq(e){return Eo(0,[{provide:_F,useExisting:Jq},{provide:fF,useExisting:e}])}function e9(e){return Eo(9,[{provide:aF,useValue:Pq},{provide:lF,useValue:{skipNextTransition:!!e?.skipInitialTransition,...e}}])}const vF=new q("ROUTER_FORROOT_GUARD"),t9=[Eg,{provide:ff,useClass:ob},Kr,Yg,{provide:Dl,useFactory:function pF(e){return e.routerState.root},deps:[Kr]},cS,[]];let yF=(()=>{class e{constructor(t){}static forRoot(t,i){return{ngModule:e,providers:[t9,[],{provide:yf,multi:!0,useValue:t},{provide:vF,useFactory:s9,deps:[[Kr,new Hl,new ba]]},{provide:vf,useValue:i||{}},i?.useHash?{provide:kc,useClass:xG}:{provide:kc,useClass:kR},{provide:fS,useFactory:()=>{const e=S(Z8),n=S(Ae),t=S(vf),i=S(Cb),r=S(ff);return t.scrollOffset&&e.setOffset(t.scrollOffset),new hF(r,i,e,n,t)}},i?.preloadingStrategy?Xq(i.preloadingStrategy).\u0275providers:[],i?.initialNavigation?o9(i):[],i?.bindToComponentInputs?Eo(8,[zP,{provide:vb,useExisting:zP}]).\u0275providers:[],i?.enableViewTransitions?e9().\u0275providers:[],[{provide:bF,useFactory:gF},{provide:py,multi:!0,useExisting:bF}]]}}static forChild(t){return{ngModule:e,providers:[{provide:yf,multi:!0,useValue:t}]}}static{this.\u0275fac=function(i){return new(i||e)(ee(vF,8))}}static{this.\u0275mod=qe({type:e})}static{this.\u0275inj=We({})}}return e})();function s9(e){return"guarded"}function o9(e){return["disabled"===e.initialNavigation?Eo(3,[{provide:vE,multi:!0,useFactory:()=>{const n=S(Kr);return()=>{n.setUpLocationChangeListener()}}},{provide:hS,useValue:2}]).\u0275providers:[],"enabledBlocking"===e.initialNavigation?Eo(2,[{provide:hS,useValue:0},{provide:vE,multi:!0,deps:[lt],useFactory:n=>{const t=n.get(OG,Promise.resolve());return()=>t.then(()=>new Promise(i=>{const r=n.get(Kr),s=n.get(mF);dF(r,()=>{i(!0)}),n.get(Cb).afterPreactivation=()=>(i(!0),s.closed?pe(void 0):s),r.initialNavigation()}))}}]).\u0275providers:[]]}const bF=new q("");let l9=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275cmp=Yn({type:e,selectors:[["app-root"]],decls:1,vars:0,template:function(i,r){1&i&&wt(0,"router-outlet")},dependencies:[_b],encapsulation:2})}return e})();function DF(...e){if(1===e.length){const n=e[0];if(as(n))return Sb(n,null);if(Hf(n)&&Object.getPrototypeOf(n)===Object.prototype){const t=Object.keys(n);return Sb(t.map(i=>n[i]),t)}}if("function"==typeof e[e.length-1]){const n=e.pop();return Sb(e=1===e.length&&as(e[0])?e[0]:e,null).pipe(xe(t=>n(...t)))}return Sb(e,null)}function Sb(e,n){return new dt(t=>{const i=e.length;if(0===i)return void t.complete();const r=new Array(i);let s=0,o=0;for(let l=0;l<i;l++){const u=En(e[l]);let d=!1;t.add(u.subscribe({next:h=>{d||(d=!0,o++),r[l]=h},error:h=>t.error(h),complete:()=>{s++,(s===i||!d)&&(o===i&&t.next(n?n.reduce((h,p,m)=>(h[p]=r[m],h),{}):r),t.complete())}}))}})}function wF(e,n,t,i,r,s,o){try{var l=e[s](o),u=l.value}catch(d){return void t(d)}l.done?n(u):Promise.resolve(u).then(i,r)}function EF(e){return function(){var n=this,t=arguments;return new Promise(function(i,r){var s=e.apply(n,t);function o(u){wF(s,i,r,o,l,"next",u)}function l(u){wF(s,i,r,o,l,"throw",u)}o(void 0)})}}class Tb{}class Mb{}class es{constructor(n){this.normalizedNames=new Map,this.lazyUpdate=null,n?"string"==typeof n?this.lazyInit=()=>{this.headers=new Map,n.split("\n").forEach(t=>{const i=t.indexOf(":");if(i>0){const r=t.slice(0,i),s=r.toLowerCase(),o=t.slice(i+1).trim();this.maybeSetNormalizedName(r,s),this.headers.has(s)?this.headers.get(s).push(o):this.headers.set(s,[o])}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((t,i)=>{this.setHeaderEntries(i,t)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([t,i])=>{this.setHeaderEntries(t,i)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();const t=this.headers.get(n.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,t){return this.clone({name:n,value:t,op:"a"})}set(n,t){return this.clone({name:n,value:t,op:"s"})}delete(n,t){return this.clone({name:n,value:t,op:"d"})}maybeSetNormalizedName(n,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,n)}init(){this.lazyInit&&(this.lazyInit instanceof es?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(t=>{this.headers.set(t,n.headers.get(t)),this.normalizedNames.set(t,n.normalizedNames.get(t))})}clone(n){const t=new es;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof es?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([n]),t}applyUpdate(n){const t=n.name.toLowerCase();switch(n.op){case"a":case"s":let i=n.value;if("string"==typeof i&&(i=[i]),0===i.length)return;this.maybeSetNormalizedName(n.name,t);const r=("a"===n.op?this.headers.get(t):void 0)||[];r.push(...i),this.headers.set(t,r);break;case"d":const s=n.value;if(s){let o=this.headers.get(t);if(!o)return;o=o.filter(l=>-1===s.indexOf(l)),0===o.length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,o)}else this.headers.delete(t),this.normalizedNames.delete(t)}}setHeaderEntries(n,t){const i=(Array.isArray(t)?t:[t]).map(s=>s.toString()),r=n.toLowerCase();this.headers.set(r,i),this.maybeSetNormalizedName(n,r)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>n(this.normalizedNames.get(t),this.headers.get(t)))}}class c9{encodeKey(n){return CF(n)}encodeValue(n){return CF(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}}const d9=/%(\d[a-f0-9])/gi,f9={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function CF(e){return encodeURIComponent(e).replace(d9,(n,t)=>f9[t]??n)}function Ib(e){return`${e}`}class Os{constructor(n={}){if(this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new c9,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function u9(e,n){const t=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(r=>{const s=r.indexOf("="),[o,l]=-1==s?[n.decodeKey(r),""]:[n.decodeKey(r.slice(0,s)),n.decodeValue(r.slice(s+1))],u=t.get(o)||[];u.push(l),t.set(o,u)}),t}(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(t=>{const i=n.fromObject[t],r=Array.isArray(i)?i.map(Ib):[Ib(i)];this.map.set(t,r)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();const t=this.map.get(n);return t?t[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,t){return this.clone({param:n,value:t,op:"a"})}appendAll(n){const t=[];return Object.keys(n).forEach(i=>{const r=n[i];Array.isArray(r)?r.forEach(s=>{t.push({param:i,value:s,op:"a"})}):t.push({param:i,value:r,op:"a"})}),this.clone(t)}set(n,t){return this.clone({param:n,value:t,op:"s"})}delete(n,t){return this.clone({param:n,value:t,op:"d"})}toString(){return this.init(),this.keys().map(n=>{const t=this.encoder.encodeKey(n);return this.map.get(n).map(i=>t+"="+this.encoder.encodeValue(i)).join("&")}).filter(n=>""!==n).join("&")}clone(n){const t=new Os({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(n),t}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":const t=("a"===n.op?this.map.get(n.param):void 0)||[];t.push(Ib(n.value)),this.map.set(n.param,t);break;case"d":if(void 0===n.value){this.map.delete(n.param);break}{let i=this.map.get(n.param)||[];const r=i.indexOf(Ib(n.value));-1!==r&&i.splice(r,1),i.length>0?this.map.set(n.param,i):this.map.delete(n.param)}}}),this.cloneFrom=this.updates=null)}}class h9{constructor(){this.map=new Map}set(n,t){return this.map.set(n,t),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}}function SF(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function TF(e){return typeof Blob<"u"&&e instanceof Blob}function MF(e){return typeof FormData<"u"&&e instanceof FormData}class tm{constructor(n,t,i,r){let s;if(this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=n.toUpperCase(),function p9(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==i?i:null,s=r):s=i,s&&(this.reportProgress=!!s.reportProgress,this.withCredentials=!!s.withCredentials,s.responseType&&(this.responseType=s.responseType),s.headers&&(this.headers=s.headers),s.context&&(this.context=s.context),s.params&&(this.params=s.params),this.transferCache=s.transferCache),this.headers??=new es,this.context??=new h9,this.params){const o=this.params.toString();if(0===o.length)this.urlWithParams=t;else{const l=t.indexOf("?");this.urlWithParams=t+(-1===l?"?":l<t.length-1?"&":"")+o}}else this.params=new Os,this.urlWithParams=t}serializeBody(){return null===this.body?null:"string"==typeof this.body||SF(this.body)||TF(this.body)||MF(this.body)||function g9(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}(this.body)?this.body:this.body instanceof Os?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||MF(this.body)?null:TF(this.body)?this.body.type||null:SF(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Os?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(n={}){const t=n.method||this.method,i=n.url||this.url,r=n.responseType||this.responseType,s=n.transferCache??this.transferCache,o=void 0!==n.body?n.body:this.body,l=n.withCredentials??this.withCredentials,u=n.reportProgress??this.reportProgress;let d=n.headers||this.headers,h=n.params||this.params;const p=n.context??this.context;return void 0!==n.setHeaders&&(d=Object.keys(n.setHeaders).reduce((m,v)=>m.set(v,n.setHeaders[v]),d)),n.setParams&&(h=Object.keys(n.setParams).reduce((m,v)=>m.set(v,n.setParams[v]),h)),new tm(t,i,o,{params:h,headers:d,context:p,reportProgress:u,responseType:r,withCredentials:l,transferCache:s})}}var wl=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}(wl||{});class pS{constructor(n,t=200,i="OK"){this.headers=n.headers||new es,this.status=void 0!==n.status?n.status:t,this.statusText=n.statusText||i,this.url=n.url||null,this.ok=this.status>=200&&this.status<300}}class Nb extends pS{constructor(n={}){super(n),this.type=wl.ResponseHeader}clone(n={}){return new Nb({headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class Wc extends pS{constructor(n={}){super(n),this.type=wl.Response,this.body=void 0!==n.body?n.body:null}clone(n={}){return new Wc({body:void 0!==n.body?n.body:this.body,headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class bf extends pS{constructor(n){super(n,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${n.url||"(unknown url)"}`:`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}}function gS(e,n){return{body:n,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,transferCache:e.transferCache}}let Ab=(()=>{class e{constructor(t){this.handler=t}request(t,i,r={}){let s;if(t instanceof tm)s=t;else{let u,d;u=r.headers instanceof es?r.headers:new es(r.headers),r.params&&(d=r.params instanceof Os?r.params:new Os({fromObject:r.params})),s=new tm(t,i,void 0!==r.body?r.body:null,{headers:u,context:r.context,params:d,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials,transferCache:r.transferCache})}const o=pe(s).pipe(uf(u=>this.handler.handle(u)));if(t instanceof tm||"events"===r.observe)return o;const l=o.pipe(Un(u=>u instanceof Wc));switch(r.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return l.pipe(xe(u=>{if(null!==u.body&&!(u.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return u.body}));case"blob":return l.pipe(xe(u=>{if(null!==u.body&&!(u.body instanceof Blob))throw new Error("Response is not a Blob.");return u.body}));case"text":return l.pipe(xe(u=>{if(null!==u.body&&"string"!=typeof u.body)throw new Error("Response is not a string.");return u.body}));default:return l.pipe(xe(u=>u.body))}case"response":return l;default:throw new Error(`Unreachable: unhandled observe type ${r.observe}}`)}}delete(t,i={}){return this.request("DELETE",t,i)}get(t,i={}){return this.request("GET",t,i)}head(t,i={}){return this.request("HEAD",t,i)}jsonp(t,i){return this.request("JSONP",t,{params:(new Os).append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,i={}){return this.request("OPTIONS",t,i)}patch(t,i,r={}){return this.request("PATCH",t,gS(r,i))}post(t,i,r={}){return this.request("POST",t,gS(r,i))}put(t,i,r={}){return this.request("PUT",t,gS(r,i))}static{this.\u0275fac=function(i){return new(i||e)(ee(Tb))}}static{this.\u0275prov=U({token:e,factory:e.\u0275fac})}}return e})();const v9=/^\)\]\}',?\n/;function NF(e){if(e.url)return e.url;const n="X-Request-URL".toLocaleLowerCase();return e.headers.get(n)}let mS=(()=>{class e{constructor(){this.fetchImpl=S(b9,{optional:!0})?.fetch??((...t)=>globalThis.fetch(...t)),this.ngZone=S(Ae)}handle(t){return new dt(i=>{const r=new AbortController;return this.doRequest(t,r.signal,i).then(_S,s=>i.error(new bf({error:s}))),()=>r.abort()})}doRequest(t,i,r){var s=this;return EF(function*(){const o=s.createRequestInit(t);let l;try{const b=s.ngZone.runOutsideAngular(()=>s.fetchImpl(t.urlWithParams,{signal:i,...o}));(function D9(e){e.then(_S,_S)})(b),r.next({type:wl.Sent}),l=yield b}catch(b){return void r.error(new bf({error:b,status:b.status??0,statusText:b.statusText,url:t.urlWithParams,headers:b.headers}))}const u=new es(l.headers),d=l.statusText,h=NF(l)??t.urlWithParams;let p=l.status,m=null;if(t.reportProgress&&r.next(new Nb({headers:u,status:p,statusText:d,url:h})),l.body){const b=l.headers.get("content-length"),w=[],M=l.body.getReader();let I,k,O=0;const H=typeof Zone<"u"&&Zone.current;yield s.ngZone.runOutsideAngular(EF(function*(){for(;;){const{done:X,value:re}=yield M.read();if(X)break;if(w.push(re),O+=re.length,t.reportProgress){k="text"===t.responseType?(k??"")+(I??=new TextDecoder).decode(re,{stream:!0}):void 0;const ye=()=>r.next({type:wl.DownloadProgress,total:b?+b:void 0,loaded:O,partialText:k});H?H.run(ye):ye()}}}));const Y=s.concatChunks(w,O);try{const X=l.headers.get("Content-Type")??"";m=s.parseBody(t,Y,X)}catch(X){return void r.error(new bf({error:X,headers:new es(l.headers),status:l.status,statusText:l.statusText,url:NF(l)??t.urlWithParams}))}}0===p&&(p=m?200:0),p>=200&&p<300?(r.next(new Wc({body:m,headers:u,status:p,statusText:d,url:h})),r.complete()):r.error(new bf({error:m,headers:u,status:p,statusText:d,url:h}))})()}parseBody(t,i,r){switch(t.responseType){case"json":const s=(new TextDecoder).decode(i).replace(v9,"");return""===s?null:JSON.parse(s);case"text":return(new TextDecoder).decode(i);case"blob":return new Blob([i],{type:r});case"arraybuffer":return i.buffer}}createRequestInit(t){const i={},r=t.withCredentials?"include":void 0;if(t.headers.forEach((s,o)=>i[s]=o.join(",")),t.headers.has("Accept")||(i.Accept="application/json, text/plain, */*"),!t.headers.has("Content-Type")){const s=t.detectContentTypeHeader();null!==s&&(i["Content-Type"]=s)}return{body:t.serializeBody(),method:t.method,headers:i,credentials:r}}concatChunks(t,i){const r=new Uint8Array(i);let s=0;for(const o of t)r.set(o,s),s+=o.length;return r}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=U({token:e,factory:e.\u0275fac})}}return e})();class b9{}function _S(){}function AF(e,n){return n(e)}function w9(e,n){return(t,i)=>n.intercept(t,{handle:r=>e(r,i)})}const OF=new q(""),nm=new q(""),RF=new q(""),xF=new q("",{providedIn:"root",factory:()=>!0});function C9(){let e=null;return(n,t)=>{null===e&&(e=(S(OF,{optional:!0})??[]).reduceRight(w9,AF));const i=S(Ds);if(S(xF)){const s=i.add();return e(n,t).pipe(jg(()=>i.remove(s)))}return e(n,t)}}let PF=(()=>{class e extends Tb{constructor(t,i){super(),this.backend=t,this.injector=i,this.chain=null,this.pendingTasks=S(Ds),this.contributeToStability=S(xF)}handle(t){if(null===this.chain){const i=Array.from(new Set([...this.injector.get(nm),...this.injector.get(RF,[])]));this.chain=i.reduceRight((r,s)=>function E9(e,n,t){return(i,r)=>Zn(t,()=>n(i,s=>e(s,r)))}(r,s,this.injector),AF)}if(this.contributeToStability){const i=this.pendingTasks.add();return this.chain(t,r=>this.backend.handle(r)).pipe(jg(()=>this.pendingTasks.remove(i)))}return this.chain(t,i=>this.backend.handle(i))}static{this.\u0275fac=function(i){return new(i||e)(ee(Mb),ee(_n))}}static{this.\u0275prov=U({token:e,factory:e.\u0275fac})}}return e})();const N9=/^\)\]\}',?\n/;let kF=(()=>{class e{constructor(t){this.xhrFactory=t}handle(t){if("JSONP"===t.method)throw new R(-2800,!1);const i=this.xhrFactory;return(i.\u0275loadImpl?En(i.\u0275loadImpl()):pe(null)).pipe(Er(()=>new dt(s=>{const o=i.build();if(o.open(t.method,t.urlWithParams),t.withCredentials&&(o.withCredentials=!0),t.headers.forEach((w,M)=>o.setRequestHeader(w,M.join(","))),t.headers.has("Accept")||o.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){const w=t.detectContentTypeHeader();null!==w&&o.setRequestHeader("Content-Type",w)}if(t.responseType){const w=t.responseType.toLowerCase();o.responseType="json"!==w?w:"text"}const l=t.serializeBody();let u=null;const d=()=>{if(null!==u)return u;const w=o.statusText||"OK",M=new es(o.getAllResponseHeaders()),O=function A9(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(o)||t.url;return u=new Nb({headers:M,status:o.status,statusText:w,url:O}),u},h=()=>{let{headers:w,status:M,statusText:O,url:I}=d(),k=null;204!==M&&(k=typeof o.response>"u"?o.responseText:o.response),0===M&&(M=k?200:0);let H=M>=200&&M<300;if("json"===t.responseType&&"string"==typeof k){const Y=k;k=k.replace(N9,"");try{k=""!==k?JSON.parse(k):null}catch(X){k=Y,H&&(H=!1,k={error:X,text:k})}}H?(s.next(new Wc({body:k,headers:w,status:M,statusText:O,url:I||void 0})),s.complete()):s.error(new bf({error:k,headers:w,status:M,statusText:O,url:I||void 0}))},p=w=>{const{url:M}=d(),O=new bf({error:w,status:o.status||0,statusText:o.statusText||"Unknown Error",url:M||void 0});s.error(O)};let m=!1;const v=w=>{m||(s.next(d()),m=!0);let M={type:wl.DownloadProgress,loaded:w.loaded};w.lengthComputable&&(M.total=w.total),"text"===t.responseType&&o.responseText&&(M.partialText=o.responseText),s.next(M)},b=w=>{let M={type:wl.UploadProgress,loaded:w.loaded};w.lengthComputable&&(M.total=w.total),s.next(M)};return o.addEventListener("load",h),o.addEventListener("error",p),o.addEventListener("timeout",p),o.addEventListener("abort",p),t.reportProgress&&(o.addEventListener("progress",v),null!==l&&o.upload&&o.upload.addEventListener("progress",b)),o.send(l),s.next({type:wl.Sent}),()=>{o.removeEventListener("error",p),o.removeEventListener("abort",p),o.removeEventListener("load",h),o.removeEventListener("timeout",p),t.reportProgress&&(o.removeEventListener("progress",v),null!==l&&o.upload&&o.upload.removeEventListener("progress",b)),o.readyState!==o.DONE&&o.abort()}})))}static{this.\u0275fac=function(i){return new(i||e)(ee(nx))}}static{this.\u0275prov=U({token:e,factory:e.\u0275fac})}}return e})();const vS=new q(""),LF=new q("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),BF=new q("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class VF{}let x9=(()=>{class e{constructor(t,i,r){this.doc=t,this.platform=i,this.cookieName=r,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=qR(t,this.cookieName),this.lastCookieString=t),this.lastToken}static{this.\u0275fac=function(i){return new(i||e)(ee(Gt),ee(ws),ee(LF))}}static{this.\u0275prov=U({token:e,factory:e.\u0275fac})}}return e})();function P9(e,n){const t=e.url.toLowerCase();if(!S(vS)||"GET"===e.method||"HEAD"===e.method||t.startsWith("http://")||t.startsWith("https://"))return n(e);const i=S(VF).getToken(),r=S(BF);return null!=i&&!e.headers.has(r)&&(e=e.clone({headers:e.headers.set(r,i)})),n(e)}var El=function(e){return e[e.Interceptors=0]="Interceptors",e[e.LegacyInterceptors=1]="LegacyInterceptors",e[e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",e[e.NoXsrfProtection=3]="NoXsrfProtection",e[e.JsonpSupport=4]="JsonpSupport",e[e.RequestsMadeViaParent=5]="RequestsMadeViaParent",e[e.Fetch=6]="Fetch",e}(El||{});function F9(...e){const n=[Ab,kF,PF,{provide:Tb,useExisting:PF},{provide:Mb,useFactory:()=>S(mS,{optional:!0})??S(kF)},{provide:nm,useValue:P9,multi:!0},{provide:vS,useValue:!0},{provide:VF,useClass:x9}];for(const t of e)n.push(...t.\u0275providers);return function Ea(e){return{\u0275providers:e}}(n)}const HF=new q("");function k9(){return function qc(e,n){return{\u0275kind:e,\u0275providers:n}}(El.LegacyInterceptors,[{provide:HF,useFactory:C9},{provide:nm,useExisting:HF,multi:!0}])}const W9_inboxListMessageBody=/(\*----)+\*/;var Jc=function(e){return e[e.Backspace=8]="Backspace",e[e.Tab=9]="Tab",e[e.Enter=13]="Enter",e[e.Shift=16]="Shift",e[e.Ctrl=17]="Ctrl",e[e.Alt=18]="Alt",e[e.PauseBreak=19]="PauseBreak",e[e.CapsLock=20]="CapsLock",e[e.Escape=27]="Escape",e[e.Space=32]="Space",e[e.PageUp=33]="PageUp",e[e.PageDown=34]="PageDown",e[e.End=35]="End",e[e.Home=36]="Home",e[e.LeftArrow=37]="LeftArrow",e[e.UpArrow=38]="UpArrow",e[e.RightArrow=39]="RightArrow",e[e.DownArrow=40]="DownArrow",e[e.Insert=45]="Insert",e[e.Delete=46]="Delete",e[e.Zero=48]="Zero",e[e.ClosedParen=48]="ClosedParen",e[e.One=49]="One",e[e.ExclamationMark=49]="ExclamationMark",e[e.Two=50]="Two",e[e.AtSign=50]="AtSign",e[e.Three=51]="Three",e[e.PoundSign=51]="PoundSign",e[e.Hash=51]="Hash",e[e.Four=52]="Four",e[e.DollarSign=52]="DollarSign",e[e.Five=53]="Five",e[e.PercentSign=53]="PercentSign",e[e.Six=54]="Six",e[e.Caret=54]="Caret",e[e.Hat=54]="Hat",e[e.Seven=55]="Seven",e[e.Ampersand=55]="Ampersand",e[e.Eight=56]="Eight",e[e.Star=56]="Star",e[e.Asterik=56]="Asterik",e[e.Nine=57]="Nine",e[e.OpenParen=57]="OpenParen",e[e.A=65]="A",e[e.B=66]="B",e[e.C=67]="C",e[e.D=68]="D",e[e.E=69]="E",e[e.F=70]="F",e[e.G=71]="G",e[e.H=72]="H",e[e.I=73]="I",e[e.J=74]="J",e[e.K=75]="K",e[e.L=76]="L",e[e.M=77]="M",e[e.N=78]="N",e[e.O=79]="O",e[e.P=80]="P",e[e.Q=81]="Q",e[e.R=82]="R",e[e.S=83]="S",e[e.T=84]="T",e[e.U=85]="U",e[e.V=86]="V",e[e.W=87]="W",e[e.X=88]="X",e[e.Y=89]="Y",e[e.Z=90]="Z",e[e.LeftWindowKey=91]="LeftWindowKey",e[e.RightWindowKey=92]="RightWindowKey",e[e.SelectKey=93]="SelectKey",e[e.Numpad0=96]="Numpad0",e[e.Numpad1=97]="Numpad1",e[e.Numpad2=98]="Numpad2",e[e.Numpad3=99]="Numpad3",e[e.Numpad4=100]="Numpad4",e[e.Numpad5=101]="Numpad5",e[e.Numpad6=102]="Numpad6",e[e.Numpad7=103]="Numpad7",e[e.Numpad8=104]="Numpad8",e[e.Numpad9=105]="Numpad9",e[e.Multiply=106]="Multiply",e[e.Add=107]="Add",e[e.Subtract=109]="Subtract",e[e.DecimalPoint=110]="DecimalPoint",e[e.Divide=111]="Divide",e[e.F1=112]="F1",e[e.F2=113]="F2",e[e.F3=114]="F3",e[e.F4=115]="F4",e[e.F5=116]="F5",e[e.F6=117]="F6",e[e.F7=118]="F7",e[e.F8=119]="F8",e[e.F9=120]="F9",e[e.F10=121]="F10",e[e.F11=122]="F11",e[e.F12=123]="F12",e[e.NumLock=144]="NumLock",e[e.ScrollLock=145]="ScrollLock",e[e.SemiColon=186]="SemiColon",e[e.Equals=187]="Equals",e[e.Comma=188]="Comma",e[e.Dash=189]="Dash",e[e.Period=190]="Period",e[e.UnderScore=189]="UnderScore",e[e.PlusSign=187]="PlusSign",e[e.ForwardSlash=191]="ForwardSlash",e[e.Tilde=192]="Tilde",e[e.GraveAccent=192]="GraveAccent",e[e.OpenBracket=219]="OpenBracket",e[e.ClosedBracket=221]="ClosedBracket",e[e.Quote=222]="Quote",e}(Jc||{});let yS=(()=>{class e{politeNotificationContainerId="angular-polite-sr-notification";assertiveNotificationContainerId="angular-assertive-sr-notification";aletNotificationContainerId="angular-alert-sr-notification";politeScreenReaderNotificationContainer;assertiveScreenReaderNotificationContainer;alertScreenReaderNotificationContainer;constructor(){this.init()}init=()=>{this.initPoliteNotificationContainer(),this.initAssertiveNotificationContainer(),this.initAlertNotificationContainer()};readPoliteNotification=t=>{this.politeScreenReaderNotificationContainer.textContent="",this.politeScreenReaderNotificationContainer.textContent=t};readAssertiveNotification=t=>{this.assertiveScreenReaderNotificationContainer.textContent="",this.assertiveScreenReaderNotificationContainer.textContent=t};alertNotification=t=>{this.alertScreenReaderNotificationContainer.textContent="",this.alertScreenReaderNotificationContainer.textContent=t};setAriaHidden=t=>{Array.from(document.querySelectorAll("#inbox-page, #title-bar, .floating-header, #footer-new, footer")).forEach(i=>i.setAttribute("aria-hidden",t.toString()))};initPoliteNotificationContainer(){const t=window.document.getElementById(this.politeNotificationContainerId);t?this.politeScreenReaderNotificationContainer=t:(this.politeScreenReaderNotificationContainer=window.document.createElement("span"),this.politeScreenReaderNotificationContainer.setAttribute("aria-live","polite"),this.politeScreenReaderNotificationContainer.setAttribute("aria-atomic","true"),this.politeScreenReaderNotificationContainer.setAttribute("id",this.politeNotificationContainerId),this.politeScreenReaderNotificationContainer.style.cssText="position:fixed;bottom:0;width:0;height:0;",window.document.body.appendChild(this.politeScreenReaderNotificationContainer))}initAssertiveNotificationContainer(){const t=window.document.getElementById(this.assertiveNotificationContainerId);t?this.assertiveScreenReaderNotificationContainer=t:(this.assertiveScreenReaderNotificationContainer=window.document.createElement("span"),this.assertiveScreenReaderNotificationContainer.setAttribute("aria-live","assertive"),this.assertiveScreenReaderNotificationContainer.setAttribute("aria-atomic","true"),this.assertiveScreenReaderNotificationContainer.setAttribute("id",this.assertiveNotificationContainerId),this.assertiveScreenReaderNotificationContainer.style.cssText="position:fixed;bottom:0;width:0;height:0;",window.document.body.appendChild(this.assertiveScreenReaderNotificationContainer))}initAlertNotificationContainer(){const t=window.document.getElementById(this.aletNotificationContainerId);t?this.alertScreenReaderNotificationContainer=t:(this.alertScreenReaderNotificationContainer=window.document.createElement("span"),this.alertScreenReaderNotificationContainer.setAttribute("role","alert"),this.alertScreenReaderNotificationContainer.setAttribute("aria-atomic","true"),this.alertScreenReaderNotificationContainer.setAttribute("id",this.aletNotificationContainerId),this.alertScreenReaderNotificationContainer.style.cssText="position:fixed;bottom:0;width:0;height:0;",window.document.body.appendChild(this.alertScreenReaderNotificationContainer))}static \u0275fac=function(i){return new(i||e)};static \u0275prov=U({token:e,factory:e.\u0275fac})}return e})();var Rb=xf(7376);let bS=(()=>{class e{lastElementId="angular-last-focusable-element";lastElementMessage="Press tab to move to the browser's controls";lastElement;firstElementId="angular-first-element";firstElement;firstElementInContainerClass="angular-container-first-unfocusable-element";focusableElementsSelector='a[href], area[href], input:not([disabled]),\n        select:not([disabled]), textarea:not([disabled]),\n        button:not([disabled]), [tabindex="0"]';removeFocus=()=>{null==this.firstElement&&(this.firstElement=document.getElementById(this.firstElementId),null==this.firstElement&&(this.firstElement=document.createElement("div"),this.firstElement.tabIndex=-1,this.firstElement.id=this.firstElementId,document.body.insertBefore(this.firstElement,document.body.firstChild))),this.firstElement.focus()};getFocusableElements=(t,i)=>{let r=t.nativeElement.querySelectorAll(this.focusableElementsSelector);return i&&(r=Array.from(document.getElementById("header").querySelectorAll(this.focusableElementsSelector)).concat(...r)),r=Array.prototype.slice.call(r),r=Rb.filter(r,s=>null!=s.offsetParent||i),r.unshift(document.getElementById("skip-to-content-button")),this.lastElement&&r.push(this.lastElement),r};containFocus=(t,i,r)=>{const s=this.getFocusableElements(t,i);1!==s.length?r.shiftKey?this.handleBackwardTab(s,r):this.handleForwardTab(s,r):r.preventDefault()};restoreFocusToBeginning=t=>{const i=t[0].firstElementChild;if(i.classList.contains(this.firstElementInContainerClass))i.focus();else{const r=document.createElement("div");r.tabIndex=-1,r.className=this.firstElementInContainerClass,t[0].insertBefore(r,i),r.focus()}};handleBackwardTab=(t,i)=>{const r=t[0],s=t[1],o=t[t.length-1],l=t[t.length-2];this.lastElement=document.getElementById(this.lastElementId),document.activeElement!==r&&(document.activeElement===s?(r.focus(),i.preventDefault()):document.activeElement===o?(this.lastElement.style.display="none",l.focus(),i.preventDefault()):Rb.every(t,u=>u!==document.activeElement)&&(o.focus(),i.preventDefault()))};handleForwardTab=(t,i)=>{const r=t[0],s=t[t.length-1],o=t[t.length-2];if(this.lastElement=document.getElementById(this.lastElementId),document.activeElement===o&&this.lastElement)this.lastElement.style.display="block",this.lastElement.focus(),i.preventDefault();else if(document.activeElement===s){if(null==this.lastElement){this.lastElement=document.createElement("div");var l=document.createElement("p");l.style.cssText="color: white;text-align: center;line-height: 35px;margin: 0; opacity: 1;text-decoration: underline;z-index: 9999;",this.lastElement.style.cssText="position:fixed;opacity:0.8;background:black;left:50%;z-index: 9999;",this.lastElement.id=this.lastElementId,this.lastElement.tabIndex=0,this.lastElement.setAttribute("aria-label",this.lastElementMessage),l.innerHTML=this.lastElementMessage,this.lastElement.appendChild(l),document.body.appendChild(this.lastElement)}else this.lastElement.style.display="block";if(s===this.lastElement)return void(this.lastElement.style.display="none");this.lastElement.focus(),i.preventDefault()}else{if(document.activeElement===r)return t[1].focus(),void i.preventDefault();Rb.every(t,u=>u!==document.activeElement)&&(i.preventDefault(),r.focus())}};static \u0275fac=function(i){return new(i||e)};static \u0275prov=U({token:e,factory:e.\u0275fac})}return e})(),DS=(()=>{class e{$http;router;route;screenReaderService;focusService;loggedIn;isLoading;isDataLoading;selectAll;messages;filters;allMessagesFilter;readMessagesFilter;unreadMessagesFilter;flaggedMessagesFilter;archivedMessagesFilter;siteFilters;gjobsSiteFilter;sjobsSiteFilter;allSiteFilter;selectedFilter;selectedSiteFilter;currentPage;pageSize;displayedPages;site;isSiteFilterHidden;headerClass;constructor(t,i,r,s,o){this.$http=t,this.router=i,this.route=r,this.screenReaderService=s,this.focusService=o}init=()=>{this.currentPage=1,this.pageSize=10,this.isLoading=!0,this.loggedIn=!0,this.site=window.location.href,this.isSiteFilterHidden=!(this.site.toLowerCase().includes("schooljobs")&&!this.site.toLowerCase().includes("careers")),this.headerClass=this.isSiteFilterHidden?"flyout-window-header gjobs-header":"sjobs-flyout-window-header gjobs-header",this.allMessagesFilter=new im("allMessages","All Messages",Df.all),this.readMessagesFilter=new im("read","Read",Df.read),this.unreadMessagesFilter=new im("unread","Unread",Df.unread),this.flaggedMessagesFilter=new im("flagged","Flagged",Df.flagged),this.archivedMessagesFilter=new im("archived","Archived",Df.archived),this.allSiteFilter=new wS("allSites","All Sites",xb.all),this.sjobsSiteFilter=new wS("schooljobs","SchoolJobs.com",xb.sjobscom),this.gjobsSiteFilter=new wS("governmentjobs","GovernmentJobs.com",xb.gjobscom),this.filters=[this.allMessagesFilter,this.readMessagesFilter,this.unreadMessagesFilter,this.flaggedMessagesFilter,this.archivedMessagesFilter],this.siteFilters=[this.allSiteFilter,this.gjobsSiteFilter,this.sjobsSiteFilter],this.selectedFilter=this.allMessagesFilter,this.selectedSiteFilter=this.allSiteFilter,this.fetchData(!1,!1,"Inbox page has been loaded")};isCurrentDeviceSmallPhone=()=>document.querySelector("html").classList.contains("device-small-phone");isCurrentDevicePhone=()=>document.querySelector("html").classList.contains("device-phone");canGoForward=(t,i)=>!!this.messages&&(this.messages.findIndex(r=>r.id===t&&r.source===parseInt(i,10))<this.messages.length-1||this.currentPage<this.getMaxPageIndex());canGoBack=(t,i)=>!!this.messages&&(this.messages.findIndex(r=>r.id===t&&r.source===parseInt(i,10))>0||this.currentPage>1);goForward=(t,i)=>{this.screenReaderService.readAssertiveNotification("Loading next message");const r=this.messages.findIndex(s=>s.id===t&&s.source===parseInt(i,10));if(r<this.messages.length-1)return this.setMessageAsRead(this.messages[r+1]),void this.router.navigate(["../messageDetails",this.messages[r+1].id,this.messages[r+1].source]);this.currentPage++,this.fetchData().subscribe(()=>{this.setMessageAsRead(this.messages[0]),this.router.navigate(["../messageDetails",this.messages[0].id,this.messages[0].source])})};goBack=(t,i)=>{this.screenReaderService.readAssertiveNotification("Loading previous message");const r=this.messages.findIndex(s=>s.id===t&&s.source===parseInt(i,10));if(r>0)return this.setMessageAsRead(this.messages[r-1]),void this.router.navigate(["../messageDetails",this.messages[r-1].id,this.messages[r-1].source]);this.currentPage--,this.fetchData().subscribe(()=>{this.setMessageAsRead(this.messages[this.messages.length-1]),this.router.navigate(["../messageDetails",this.messages[this.messages.length-1].id,this.messages[this.messages.length-1].source])})};getArchiveButtonText=()=>this.isArchivedFilter()?"Unarchive":"Archive";areAnyMessagesSelected=()=>!(!this.messages||!this.messages.length)&&-1!==this.messages.findIndex(t=>t.isChecked);numberOfSelectedMessages=()=>this.messages?this.messages.filter(t=>t.isChecked).length:0;areAllMessagesSelected=()=>!(!this.messages||!this.messages.length)&&-1===this.messages.findIndex(t=>!t.isChecked);selectAllChanged=t=>{this.messages.forEach(i=>{i.isChecked=t})};messageCheckedChanged=()=>{this.selectAll=this.areAllMessagesSelected()};inboxMessagesSetArchived=()=>{const t=this.messages.filter(s=>s.isChecked?s:null).map(s=>({messageId:s.id,source:s.source})),i=!this.isArchivedFilter();this.isDataLoading=!0,this.selectAll=!1;const r=this.$http.post("/api/inbox/InboxMessagesSetArchived",{selectedMessages:t,areArchived:i}).subscribe(()=>{this.fetchData(!1,!1),r.unsubscribe(),this.isDataLoading=!1,this.screenReaderService.readPoliteNotification(i?"Messages are archived successfully":"Messages are unarchived successfully")},s=>{this.fetchData(!1,!1),r.unsubscribe(),this.screenReaderService.alertNotification(i?"Error archiving messages":"Error unarchiving messages."),this.handleUnauthorizedRequestOnInboxPage(s)})};openMessage=t=>{this.screenReaderService.readAssertiveNotification("Loading message in flyout window."),this.setMessageAsRead(t),this.router.navigate(["messageDetails",t.id,t.source])};onEnterOrSpacePressOpenInboxMessage=(t,i)=>{(i.charCode===Jc.Space||i.charCode===Jc.Enter)&&this.openMessage(t),i.stopImmediatePropagation()};toggleFlagged=t=>{t.isFlagged=!t.isFlagged;const i=this.$http.post("/api/inbox/InboxMessageSetFlaggedObj",{messageId:t.id,messageSource:t.source,isFlagged:t.isFlagged}).subscribe(()=>{i.unsubscribe(),this.fetchData(!0),this.screenReaderService.readPoliteNotification(t.isFlagged?"Message has been marked as flagged":"Message has not been marked as flagged")},r=>{t.isFlagged=!t.isFlagged,this.handleUnauthorizedRequestOnInboxPage(r)})};onEnterPressInboxMessageSetFlagged=(t,i)=>((i.charCode===Jc.Space||i.charCode===Jc.Enter)&&this.toggleFlagged(t),i.stopImmediatePropagation(),!1);pageChanged=t=>{this.screenReaderService.readAssertiveNotification("Loading page "+t+" results"),this.fetchData(!1,!1,"Page "+t+" has been loaded"),setTimeout(()=>{this.focusService.restoreFocusToBeginning(document.getElementsByClassName("inbox-container"))})};getMaxPageIndex=()=>Math.ceil(this.selectedFilter.count/this.pageSize);siteFilterChanged=()=>{this.resetPageNumber(),this.selectedFilter=this.allMessagesFilter,this.filterChanged()};filterChanged=()=>{this.resetPageNumber(),this.fetchData(!1,!1,this.getNotificationForAppliedFilter())};getDisplayedBody=t=>{const s=(new DOMParser).parseFromString(t,"text/html").body.textContent,o=s.match(W9_inboxListMessageBody);if(!o||0===o.length)return s;const l=s.split(o[0]);return l[l.length-1]};getLocalDateTimeSent=t=>new Date(t);setMessageAsRead=t=>{const i=this.$http.post("/api/inbox/InboxMessageSetReadObj",{messageId:t.id,messageSource:t.source}).subscribe(()=>{i.unsubscribe(),this.fetchData(!0,!1),t.isRead=!0;const r=new Event("decreaseNumberOfUnreadMessages");window.document.dispatchEvent(r)},r=>{t.isRead=!1,this.handleUnauthorizedRequestOnInboxPage(r)})};resetPageNumber=()=>{this.currentPage=1};isArchivedFilter=()=>this.selectedFilter===this.archivedMessagesFilter;isAllMessagesFilter=()=>this.selectedFilter===this.allMessagesFilter;getNotificationForAppliedFilter=()=>this.selectedFilter.text+(this.isAllMessagesFilter()?"":" messages")+" are loaded";fetchData=(t=!1,i=!1,r="")=>{const s=(new Os).set("pageNumber",this.currentPage.toString()).set("pageSize",this.pageSize.toString()).set("filterType",this.selectedFilter.filterType.toString()).set("siteFilterType",this.selectedSiteFilter.filterType.toString()).set("employerFolderName",window.agencyFolderName),o=(new Os).set("siteFilterType",this.selectedSiteFilter.filterType.toString()).set("employerFolderName",window.agencyFolderName);this.isDataLoading=!t,this.selectAll=!!t&&this.selectAll;const l=[];t||l.push(this.$http.get("/api/inbox/GetMessagesByCriteria",{params:s})),i||l.push(this.$http.get("/api/inbox/GetNumberOfMessagesInCategories",{params:o}));const u=DF(l),d=u.subscribe(h=>{if(t||(this.messages=h[0]),this.messages.length<=0)return this.screenReaderService.readAssertiveNotification(r+" no messages found"),void(this.isDataLoading=!1);if(!i){const v=t?h[0]:h[1];this.allMessagesFilter.count=v.numberOfAllMessages,this.unreadMessagesFilter.count=v.numberOfUnreadMessages,this.flaggedMessagesFilter.count=v.numberOfFlaggedMessages,this.archivedMessagesFilter.count=v.numberOfArchivedMessages,this.readMessagesFilter.count=this.allMessagesFilter.count-this.unreadMessagesFilter.count,this.setDisplayedPages()}if(r.length){const v=this.selectedFilter.count;this.currentPage=0,h&&h.length>0&&this.messages&&this.messages.length>0&&this.messages[0]&&(this.currentPage=this.messages[0].pageNumber),this.pageSize=10;const b=v?" Showing "+((this.currentPage-1)*this.pageSize+1)+"-"+(v>0&&this.currentPage*this.pageSize>v?v:this.currentPage*this.pageSize)+" of "+v+" messages":"no messages found";v&&v>0&&(this.isDataLoading=!1),this.screenReaderService.readAssertiveNotification(r+b)}d.unsubscribe()},h=>{this.handleUnauthorizedRequestOnInboxPage(h)});return u};setDisplayedPages=()=>{let t=9;const i=this.currentPage,r=[{pageNumber:i}];let s=1;for(;t>0;){const o=i-s,l=i+s;s++;const u=t;if(o>0&&(r.unshift({pageNumber:o}),t--,0===t)||(l<=this.getMaxPageIndex()&&(r.push({pageNumber:l}),t--),u===t))break}this.displayedPages=r};reloadInboxPage=()=>{window.location.reload()};handleUnauthorizedRequestOnInboxPage=t=>{401===t.status&&this.reloadInboxPage()};static \u0275fac=function(i){return new(i||e)(ee(Ab),ee(Kr),ee(Dl),ee(yS),ee(bS))};static \u0275prov=U({token:e,factory:e.\u0275fac})}return e})();class im{name;text;filterType;count;constructor(n,t,i){this.name=n,this.text=t,this.filterType=i,this.count=0}fullText=()=>this.text+" ("+this.count+")"}class wS{name;text;filterType;count;constructor(n,t,i){this.name=n,this.text=t,this.filterType=i,this.count=0}fullText=()=>this.text}var Df=function(e){return e[e.all=1]="all",e[e.read=2]="read",e[e.unread=3]="unread",e[e.flagged=4]="flagged",e[e.archived=5]="archived",e}(Df||{}),xb=function(e){return e[e.all=1]="all",e[e.gjobscom=2]="gjobscom",e[e.sjobscom=3]="sjobscom",e}(xb||{});class JF{canDeactivate(n){return n.returnFocus()}}let YF=(()=>{class e{focusableElementsSelector='a,.flag-icon, area[href], input:not([disabled]),\n        select:not([disabled]), textarea:not([disabled]),\n        button:not([disabled]), [tabindex="0"]';setTabIndexForFocusableElements=t=>{["inbox-page","footer-new","cookie-consent"].forEach(r=>{var s=document.getElementById(r);s&&Array.from(s.querySelectorAll(this.focusableElementsSelector)).forEach(l=>{l.setAttribute("tabindex",t)})})};disableTabIndex=()=>{this.setTabIndexForFocusableElements("-1")};restoreTabIndex=()=>{this.setTabIndexForFocusableElements("0")};static \u0275fac=function(i){return new(i||e)};static \u0275prov=U({token:e,factory:e.\u0275fac})}return e})();var Yc=function(e){return e[e.GJobs=0]="GJobs",e[e.AgencyPages=1]="AgencyPages",e[e.CareerPages=2]="CareerPages",e}(Yc||{});let ZF=(()=>{class e{getCurrentArea=()=>window.window.agencyFolderName?document.getElementById("inbox").classList.contains("career-pages")?Yc.CareerPages:Yc.AgencyPages:Yc.GJobs;static \u0275fac=function(i){return new(i||e)};static \u0275prov=U({token:e,factory:e.\u0275fac})}return e})();function fi(e,n,t,i){return aa(t)&&(i=t,t=void 0),i?fi(e,n,t).pipe(xe(r=>as(r)?i(...r):i(r))):new dt(r=>{QF(e,n,function s(o){r.next(arguments.length>1?Array.prototype.slice.call(arguments):o)},r,t)})}function QF(e,n,t,i,r){let s;if(function K9(e){return e&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener}(e)){const o=e;e.addEventListener(n,t,r),s=()=>o.removeEventListener(n,t,r)}else if(function X9(e){return e&&"function"==typeof e.on&&"function"==typeof e.off}(e)){const o=e;e.on(n,t),s=()=>o.off(n,t)}else if(function Q9(e){return e&&"function"==typeof e.addListener&&"function"==typeof e.removeListener}(e)){const o=e;e.addListener(n,t),s=()=>o.removeListener(n,t)}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(let o=0,l=e.length;o<l;o++)QF(e[o],n,t,i,r)}i.add(s)}class eJ extends nt{constructor(n,t){super()}schedule(n,t=0){return this}}let XF=(()=>{class e{constructor(t,i=e.now){this.SchedulerAction=t,this.now=i}schedule(t,i=0,r){return new this.SchedulerAction(this,t).schedule(r,i)}}return e.now=()=>Date.now(),e})();class Cl extends XF{constructor(n,t=XF.now){super(n,()=>Cl.delegate&&Cl.delegate!==this?Cl.delegate.now():t()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(n,t=0,i){return Cl.delegate&&Cl.delegate!==this?Cl.delegate.schedule(n,t,i):super.schedule(n,t,i)}flush(n){const{actions:t}=this;if(this.active)return void t.push(n);let i;this.active=!0;do{if(i=n.execute(n.state,n.delay))break}while(n=t.shift());if(this.active=!1,i){for(;n=t.shift();)n.unsubscribe();throw i}}}const KF=new Cl(class tJ extends eJ{constructor(n,t){super(n,t),this.scheduler=n,this.work=t,this.pending=!1}schedule(n,t=0){if(this.closed)return this;this.state=n;const i=this.id,r=this.scheduler;return null!=i&&(this.id=this.recycleAsyncId(r,i,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(r,this.id,t),this}requestAsyncId(n,t,i=0){return setInterval(n.flush.bind(n,this),i)}recycleAsyncId(n,t,i=0){if(null!==i&&this.delay===i&&!1===this.pending)return t;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(s){i=!0,r=!!s&&s||new Error(s)}if(i)return this.unsubscribe(),r}_unsubscribe(){const n=this.id,t=this.scheduler,i=t.actions,r=i.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&i.splice(r,1),null!=n&&(this.id=this.recycleAsyncId(t,n,null)),this.delay=null}});function ek(e){return!as(e)&&e-parseFloat(e)+1>=0}function iJ(e){const{index:n,period:t,subscriber:i}=e;if(i.next(n),!i.closed){if(-1===t)return i.complete();e.index=n+1,this.schedule(e,t)}}function tk(...e){if(1===e.length){if(!as(e[0]))return e[0];e=e[0]}return Fg(e,void 0).lift(new rJ)}class rJ{call(n,t){return t.subscribe(new sJ(n))}}class sJ extends VC{constructor(n){super(n),this.hasFirst=!1,this.observables=[],this.subscriptions=[]}_next(n){this.observables.push(n)}_complete(){const n=this.observables,t=n.length;if(0===t)this.destination.complete();else{for(let i=0;i<t&&!this.hasFirst;i++){const s=HC(this,n[i],void 0,i);this.subscriptions&&this.subscriptions.push(s),this.add(s)}this.observables=null}}notifyNext(n,t,i){if(!this.hasFirst){this.hasFirst=!0;for(let r=0;r<this.subscriptions.length;r++)if(r!==i){let s=this.subscriptions[r];s.unsubscribe(),this.remove(s)}this.subscriptions=null}this.destination.next(t)}}function ES(...e){const n=e[e.length-1];return"function"==typeof n&&e.pop(),Fg(e,void 0).lift(new aJ(n))}class aJ{constructor(n){this.resultSelector=n}call(n,t){return t.subscribe(new lJ(n,this.resultSelector))}}class lJ extends it{constructor(n,t,i=Object.create(null)){super(n),this.resultSelector=t,this.iterators=[],this.active=0,this.resultSelector="function"==typeof t?t:void 0}_next(n){const t=this.iterators;as(n)?t.push(new uJ(n)):t.push("function"==typeof n[vl]?new cJ(n[vl]()):new dJ(this.destination,this,n))}_complete(){const n=this.iterators,t=n.length;if(this.unsubscribe(),0!==t){this.active=t;for(let i=0;i<t;i++){let r=n[i];r.stillUnsubscribed?this.destination.add(r.subscribe()):this.active--}}else this.destination.complete()}notifyInactive(){this.active--,0===this.active&&this.destination.complete()}checkIterators(){const n=this.iterators,t=n.length,i=this.destination;for(let o=0;o<t;o++){let l=n[o];if("function"==typeof l.hasValue&&!l.hasValue())return}let r=!1;const s=[];for(let o=0;o<t;o++){let l=n[o],u=l.next();if(l.hasCompleted()&&(r=!0),u.done)return void i.complete();s.push(u.value)}this.resultSelector?this._tryresultSelector(s):i.next(s),r&&i.complete()}_tryresultSelector(n){let t;try{t=this.resultSelector.apply(this,n)}catch(i){return void this.destination.error(i)}this.destination.next(t)}}class cJ{constructor(n){this.iterator=n,this.nextResult=n.next()}hasValue(){return!0}next(){const n=this.nextResult;return this.nextResult=this.iterator.next(),n}hasCompleted(){const n=this.nextResult;return!(!n||!n.done)}}class uJ{constructor(n){this.array=n,this.index=0,this.length=0,this.length=n.length}[vl](){return this}next(n){const t=this.index++;return t<this.length?{value:this.array[t],done:!1}:{value:null,done:!0}}hasValue(){return this.array.length>this.index}hasCompleted(){return this.array.length===this.index}}class dJ extends Lg{constructor(n,t,i){super(n),this.parent=t,this.observable=i,this.stillUnsubscribed=!0,this.buffer=[],this.isComplete=!1}[vl](){return this}next(){const n=this.buffer;return 0===n.length&&this.isComplete?{value:null,done:!0}:{value:n.shift(),done:!1}}hasValue(){return this.buffer.length>0}hasCompleted(){return 0===this.buffer.length&&this.isComplete}notifyComplete(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()}notifyNext(n){this.buffer.push(n),this.parent.checkIterators()}subscribe(){return Bg(this.observable,new kg(this))}}function CS(...e){return n=>{let t;return"function"==typeof e[e.length-1]&&(t=e.pop()),n.lift(new hJ(e,t))}}class hJ{constructor(n,t){this.observables=n,this.project=t}call(n,t){return t.subscribe(new pJ(n,this.observables,this.project))}}class pJ extends VC{constructor(n,t,i){super(n),this.observables=t,this.project=i,this.toRespond=[];const r=t.length;this.values=new Array(r);for(let s=0;s<r;s++)this.toRespond.push(s);for(let s=0;s<r;s++)this.add(HC(this,t[s],void 0,s))}notifyNext(n,t,i){this.values[i]=t;const r=this.toRespond;if(r.length>0){const s=r.indexOf(i);-1!==s&&r.splice(s,1)}}notifyComplete(){}_next(n){if(0===this.toRespond.length){const t=[n,...this.values];this.project?this._tryProject(t):this.destination.next(t)}}_tryProject(n){let t;try{t=this.project.apply(this,n)}catch(i){return void this.destination.error(i)}this.destination.next(t)}}class Rs{constructor(n,t,i){this.kind=n,this.value=t,this.error=i,this.hasValue="N"===n}observe(n){switch(this.kind){case"N":return n.next&&n.next(this.value);case"E":return n.error&&n.error(this.error);case"C":return n.complete&&n.complete()}}do(n,t,i){switch(this.kind){case"N":return n&&n(this.value);case"E":return t&&t(this.error);case"C":return i&&i()}}accept(n,t,i){return n&&"function"==typeof n.next?this.observe(n):this.do(n,t,i)}toObservable(){switch(this.kind){case"N":return pe(this.value);case"E":return Vg(this.error);case"C":return ib()}throw new Error("unexpected notification kind value")}static createNext(n){return typeof n<"u"?new Rs("N",n):Rs.undefinedValueNotification}static createError(n){return new Rs("E",void 0,n)}static createComplete(){return Rs.completeNotification}}Rs.completeNotification=new Rs("C"),Rs.undefinedValueNotification=new Rs("N",void 0);class vJ{constructor(n,t){this.delay=n,this.scheduler=t}call(n,t){return t.subscribe(new SS(n,this.delay,this.scheduler))}}class SS extends it{constructor(n,t,i){super(n),this.delay=t,this.scheduler=i,this.queue=[],this.active=!1,this.errored=!1}static dispatch(n){const t=n.source,i=t.queue,r=n.scheduler,s=n.destination;for(;i.length>0&&i[0].time-r.now()<=0;)i.shift().notification.observe(s);if(i.length>0){const o=Math.max(0,i[0].time-r.now());this.schedule(n,o)}else this.unsubscribe(),t.active=!1}_schedule(n){this.active=!0,this.destination.add(n.schedule(SS.dispatch,this.delay,{source:this,destination:this.destination,scheduler:n}))}scheduleNotification(n){if(!0===this.errored)return;const t=this.scheduler,i=new yJ(t.now()+this.delay,n);this.queue.push(i),!1===this.active&&this._schedule(t)}_next(n){this.scheduleNotification(Rs.createNext(n))}_error(n){this.errored=!0,this.queue=[],this.destination.error(n),this.unsubscribe()}_complete(){this.scheduleNotification(Rs.createComplete()),this.unsubscribe()}}class yJ{constructor(n,t){this.time=n,this.notification=t}}let nk=(()=>{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{this.\u0275fac=function(i){return new(i||e)($(zo),$(et))}}static{this.\u0275dir=J({type:e})}}return e})(),Zc=(()=>{class e extends nk{static{this.\u0275fac=(()=>{let t;return function(r){return(t||(t=Je(e)))(r||e)}})()}static{this.\u0275dir=J({type:e,features:[ot]})}}return e})();const ts=new q(""),TJ={provide:ts,useExisting:rt(()=>TS),multi:!0};let TS=(()=>{class e extends Zc{writeValue(t){this.setProperty("checked",t)}static{this.\u0275fac=(()=>{let t;return function(r){return(t||(t=Je(e)))(r||e)}})()}static{this.\u0275dir=J({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(i,r){1&i&&De("change",function(o){return r.onChange(o.target.checked)})("blur",function(){return r.onTouched()})},features:[Mt([TJ]),ot]})}}return e})();const MJ={provide:ts,useExisting:rt(()=>MS),multi:!0},NJ=new q("");let MS=(()=>{class e extends nk{constructor(t,i,r){super(t,i),this._compositionMode=r,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function IJ(){const e=gl()?gl().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{this.\u0275fac=function(i){return new(i||e)($(zo),$(et),$(NJ,8))}}static{this.\u0275dir=J({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&&De("input",function(o){return r._handleInput(o.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(o){return r._compositionEnd(o.target.value)})},features:[Mt([MJ]),ot]})}}return e})();const ni=new q(""),Tl=new q("");function fk(e){return null!=e}function hk(e){return _g(e)?En(e):e}function pk(e){let n={};return e.forEach(t=>{n=null!=t?{...n,...t}:n}),0===Object.keys(n).length?null:n}function gk(e,n){return n.map(t=>t(e))}function mk(e){return e.map(n=>function OJ(e){return!e.validate}(n)?n:t=>n.validate(t))}function IS(e){return null!=e?function _k(e){if(!e)return null;const n=e.filter(fk);return 0==n.length?null:function(t){return pk(gk(t,n))}}(mk(e)):null}function NS(e){return null!=e?function vk(e){if(!e)return null;const n=e.filter(fk);return 0==n.length?null:function(t){return DF(gk(t,n).map(hk)).pipe(xe(pk))}}(mk(e)):null}function yk(e,n){return null===e?[n]:Array.isArray(e)?[...e,n]:[e,n]}function AS(e){return e?Array.isArray(e)?e:[e]:[]}function Fb(e,n){return Array.isArray(e)?e.includes(n):e===n}function wk(e,n){const t=AS(n);return AS(e).forEach(r=>{Fb(t,r)||t.push(r)}),t}function Ek(e,n){return AS(n).filter(t=>!Fb(e,t))}class Ck{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=IS(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=NS(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 Oi extends Ck{get formDirective(){return null}get path(){return null}}class Ml extends Ck{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Sk{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 Tk=(()=>{class e extends Sk{constructor(t){super(t)}static{this.\u0275fac=function(i){return new(i||e)($(Ml,2))}}static{this.\u0275dir=J({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,r){2&i&&Tt("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:[ot]})}}return e})();const rm="VALID",Lb="INVALID",wf="PENDING",sm="DISABLED";class Ef{}class Ik extends Ef{constructor(n,t){super(),this.value=n,this.source=t}}class xS extends Ef{constructor(n,t){super(),this.pristine=n,this.source=t}}class PS extends Ef{constructor(n,t){super(),this.touched=n,this.source=t}}class Bb extends Ef{constructor(n,t){super(),this.status=n,this.source=t}}function Vb(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class LS{constructor(n,t){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=wg(()=>this.statusReactive()),this.statusReactive=Rd(void 0),this._pristine=wg(()=>this.pristineReactive()),this.pristineReactive=Rd(!0),this._touched=wg(()=>this.touchedReactive()),this.touchedReactive=Rd(!1),this._events=new ft,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 vo(this.statusReactive)}set status(n){vo(()=>this.statusReactive.set(n))}get valid(){return this.status===rm}get invalid(){return this.status===Lb}get pending(){return this.status==wf}get disabled(){return this.status===sm}get enabled(){return this.status!==sm}get pristine(){return vo(this.pristineReactive)}set pristine(n){vo(()=>this.pristineReactive.set(n))}get dirty(){return!this.pristine}get touched(){return vo(this.touchedReactive)}set touched(n){vo(()=>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(wk(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(wk(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(Ek(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(Ek(n,this._rawAsyncValidators))}hasValidator(n){return Fb(this._rawValidators,n)}hasAsyncValidator(n){return Fb(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 PS(!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 PS(!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 xS(!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 xS(!0,i))}markAsPending(n={}){this.status=wf;const t=n.sourceControl??this;!1!==n.emitEvent&&(this._events.next(new Bb(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=sm,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 Ik(this.value,i)),this._events.next(new Bb(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=rm,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===rm||this.status===wf)&&this._runAsyncValidator(i,n.emitEvent)}const t=n.sourceControl??this;!1!==n.emitEvent&&(this._events.next(new Ik(this.value,t)),this._events.next(new Bb(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()?sm:rm}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n,t){if(this.asyncValidator){this.status=wf,this._hasOwnPendingAsyncValidator={emitEvent:!1!==t};const i=hk(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 Bb(this.status,t)),this._parent&&this._parent._updateControlsErrors(n,t,i)}_initObservables(){this.valueChanges=new ue,this.statusChanges=new ue}_calculateStatus(){return this._allControlsDisabled()?sm:this.errors?Lb:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(wf)?wf:this._anyControlsHaveStatus(Lb)?Lb:rm}_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 xS(this.pristine,t))}_updateTouched(n={},t){this.touched=this._anyControlsTouched(),this._events.next(new PS(this.touched,t)),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,t)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){Vb(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 VJ(e){return Array.isArray(e)?IS(e):e||null}(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=function HJ(e){return Array.isArray(e)?NS(e):e||null}(this._rawAsyncValidators)}}const Cf=new q("CallSetDisabledState",{providedIn:"root",factory:()=>Hb}),Hb="always";function om(e,n,t=Hb){(function VS(e,n){const t=function bk(e){return e._rawValidators}(e);null!==n.validator?e.setValidators(yk(t,n.validator)):"function"==typeof t&&e.setValidators([t]);const i=function Dk(e){return e._rawAsyncValidators}(e);null!==n.asyncValidator?e.setAsyncValidators(yk(i,n.asyncValidator)):"function"==typeof i&&e.setAsyncValidators([i]);const r=()=>e.updateValueAndValidity();Ub(n._rawValidators,r),Ub(n._rawAsyncValidators,r)})(e,n),n.valueAccessor.writeValue(e.value),(e.disabled||"always"===t)&&n.valueAccessor.setDisabledState?.(e.disabled),function UJ(e,n){n.valueAccessor.registerOnChange(t=>{e._pendingValue=t,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&Ok(e,n)})}(e,n),function zJ(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 GJ(e,n){n.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&Ok(e,n),"submit"!==e.updateOn&&e.markAsTouched()})}(e,n),function $J(e,n){if(n.valueAccessor.setDisabledState){const t=i=>{n.valueAccessor.setDisabledState(i)};e.registerOnDisabledChange(t),n._registerOnDestroy(()=>{e._unregisterOnDisabledChange(t)})}}(e,n)}function Ub(e,n){e.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(n)})}function Ok(e,n){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function Pk(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function Fk(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}Promise.resolve();const kk=class extends LS{constructor(n=null,t,i){super(function FS(e){return(Vb(e)?e.validators:e)||null}(t),function kS(e,n){return(Vb(n)?n.asyncValidators:e)||null}(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}),Vb(t)&&(t.nonNullable||t.initialValueIsDefault)&&(this.defaultValue=Fk(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){Pk(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){Pk(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){Fk(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}},KJ={provide:Ml,useExisting:rt(()=>GS)},Vk=Promise.resolve();let GS=(()=>{class e extends Ml{constructor(t,i,r,s,o,l){super(),this._changeDetectorRef=o,this.callSetDisabledState=l,this.control=new kk,this._registered=!1,this.name="",this.update=new ue,this._parent=t,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=function $S(e,n){if(!n)return null;let t,i,r;return Array.isArray(n),n.forEach(s=>{s.constructor===MS?t=s:function JJ(e){return Object.getPrototypeOf(e.constructor)===Zc}(s)?i=s:r=s}),r||i||t||null}(0,s)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){const i=t.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),function jS(e,n){if(!e.hasOwnProperty("model"))return!1;const t=e.model;return!!t.isFirstChange()||!Object.is(n,t.currentValue)}(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){om(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(t){Vk.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){const i=t.isDisabled.currentValue,r=0!==i&&function nf(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}(i);Vk.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?function jb(e,n){return[...n.path,e]}(t,this._parent):[t]}static{this.\u0275fac=function(i){return new(i||e)($(Oi,9),$(ni,10),$(Tl,10),$(ts,10),$(Yr,8),$(Cf,8))}}static{this.\u0275dir=J({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Mt([KJ]),ot,jt]})}}return e})();const u7={provide:ts,useExisting:rt(()=>zb),multi:!0};function qk(e,n){return null==e?`${n}`:(n&&"object"==typeof n&&(n="Object"),`${e}: ${n}`.slice(0,50))}let zb=(()=>{class e extends Zc{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=qk(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 d7(e){return e.split(":")[0]}(t);return this._optionMap.has(i)?this._optionMap.get(i):t}static{this.\u0275fac=(()=>{let t;return function(r){return(t||(t=Je(e)))(r||e)}})()}static{this.\u0275dir=J({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(i,r){1&i&&De("change",function(o){return r.onChange(o.target.value)})("blur",function(){return r.onTouched()})},inputs:{compareWith:"compareWith"},features:[Mt([u7]),ot]})}}return e})(),Jk=(()=>{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(qk(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{this.\u0275fac=function(i){return new(i||e)($(et),$(zo),$(zb,9))}}static{this.\u0275dir=J({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}}return e})();const f7={provide:ts,useExisting:rt(()=>JS),multi:!0};function Yk(e,n){return null==e?`${n}`:("string"==typeof n&&(n=`'${n}'`),n&&"object"==typeof n&&(n="Object"),`${e}: ${n}`.slice(0,50))}let JS=(()=>{class e extends Zc{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(s=>this._getOptionId(s));i=(s,o)=>{s._setSelected(r.indexOf(o.toString())>-1)}}else i=(r,s)=>{r._setSelected(!1)};this._optionMap.forEach(i)}registerOnChange(t){this.onChange=i=>{const r=[],s=i.selectedOptions;if(void 0!==s){const o=s;for(let l=0;l<o.length;l++){const d=this._getOptionValue(o[l].value);r.push(d)}}else{const o=i.options;for(let l=0;l<o.length;l++){const u=o[l];if(u.selected){const d=this._getOptionValue(u.value);r.push(d)}}}this.value=r,t(r)}}_registerOption(t){const i=(this._idCounter++).toString();return this._optionMap.set(i,t),i}_getOptionId(t){for(const i of this._optionMap.keys())if(this._compareWith(this._optionMap.get(i)._value,t))return i;return null}_getOptionValue(t){const i=function h7(e){return e.split(":")[0]}(t);return this._optionMap.has(i)?this._optionMap.get(i)._value:t}static{this.\u0275fac=(()=>{let t;return function(r){return(t||(t=Je(e)))(r||e)}})()}static{this.\u0275dir=J({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(i,r){1&i&&De("change",function(o){return r.onChange(o.target)})("blur",function(){return r.onTouched()})},inputs:{compareWith:"compareWith"},features:[Mt([f7]),ot]})}}return e})(),Zk=(()=>{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(Yk(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._select?(this._value=t,this._setElementValue(Yk(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{this.\u0275fac=function(i){return new(i||e)($(et),$(zo),$(JS,9))}}static{this.\u0275dir=J({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}}return e})(),w7=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=qe({type:e})}static{this.\u0275inj=We({})}}return e})(),C7=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:Cf,useValue:t.callSetDisabledState??Hb}]}}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=qe({type:e})}static{this.\u0275inj=We({imports:[w7]})}}return e})();var S7={left:"right",right:"left",bottom:"top",top:"bottom"};function Wb(e){return e.replace(/left|right|bottom|top/g,function(n){return S7[n]})}function Co(e){return e.split("-")[0]}var T7={start:"end",end:"start"};function oL(e){return e.replace(/start|end/g,function(n){return T7[n]})}var Sr="top",xs="bottom",Ps="right",Tr="left",ZS="auto",lm=[Sr,xs,Ps,Tr],Sf="start",cm="end",aL="viewport",um="popper",lL=lm.reduce(function(e,n){return e.concat([n+"-"+Sf,n+"-"+cm])},[]),cL=[].concat(lm,[ZS]).reduce(function(e,n){return e.concat([n,n+"-"+Sf,n+"-"+cm])},[]),B7=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function Mr(e){if(null==e)return window;if("[object Window]"!==e.toString()){var n=e.ownerDocument;return n&&n.defaultView||window}return e}function Xc(e){return e instanceof Mr(e).Element||e instanceof Element}function ns(e){return e instanceof Mr(e).HTMLElement||e instanceof HTMLElement}function QS(e){return!(typeof ShadowRoot>"u")&&(e instanceof Mr(e).ShadowRoot||e instanceof ShadowRoot)}function Il(e){return((Xc(e)?e.ownerDocument:e.document)||window.document).documentElement}var Kc=Math.max,qb=Math.min,Tf=Math.round;function XS(){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 uL(){return!/^((?!chrome|android).)*safari/i.test(XS())}function Mf(e,n,t){void 0===n&&(n=!1),void 0===t&&(t=!1);var i=e.getBoundingClientRect(),r=1,s=1;n&&ns(e)&&(r=e.offsetWidth>0&&Tf(i.width)/e.offsetWidth||1,s=e.offsetHeight>0&&Tf(i.height)/e.offsetHeight||1);var l=(Xc(e)?Mr(e):window).visualViewport,u=!uL()&&t,d=(i.left+(u&&l?l.offsetLeft:0))/r,h=(i.top+(u&&l?l.offsetTop:0))/s,p=i.width/r,m=i.height/s;return{width:p,height:m,top:h,right:d+p,bottom:h+m,left:d,x:d,y:h}}function KS(e){var n=Mr(e);return{scrollLeft:n.pageXOffset,scrollTop:n.pageYOffset}}function eT(e){return Mf(Il(e)).left+KS(e).scrollLeft}function na(e){return Mr(e).getComputedStyle(e)}function So(e){return e?(e.nodeName||"").toLowerCase():null}function Jb(e){return"html"===So(e)?e:e.assignedSlot||e.parentNode||(QS(e)?e.host:null)||Il(e)}function tT(e){var n=na(e);return/auto|scroll|overlay|hidden/.test(n.overflow+n.overflowY+n.overflowX)}function dL(e){return["html","body","#document"].indexOf(So(e))>=0?e.ownerDocument.body:ns(e)&&tT(e)?e:dL(Jb(e))}function dm(e,n){var t;void 0===n&&(n=[]);var i=dL(e),r=i===(null==(t=e.ownerDocument)?void 0:t.body),s=Mr(i),o=r?[s].concat(s.visualViewport||[],tT(i)?i:[]):i,l=n.concat(o);return r?l:l.concat(dm(Jb(o)))}function j7(e){return["table","td","th"].indexOf(So(e))>=0}function fL(e){return ns(e)&&"fixed"!==na(e).position?e.offsetParent:null}function fm(e){for(var n=Mr(e),t=fL(e);t&&j7(t)&&"static"===na(t).position;)t=fL(t);return t&&("html"===So(t)||"body"===So(t)&&"static"===na(t).position)?n:t||function $7(e){var n=/firefox/i.test(XS());if(/Trident/i.test(XS())&&ns(e)&&"fixed"===na(e).position)return null;var r=Jb(e);for(QS(r)&&(r=r.host);ns(r)&&["html","body"].indexOf(So(r))<0;){var s=na(r);if("none"!==s.transform||"none"!==s.perspective||"paint"===s.contain||-1!==["transform","perspective"].indexOf(s.willChange)||n&&"filter"===s.willChange||n&&s.filter&&"none"!==s.filter)return r;r=r.parentNode}return null}(e)||n}function hL(e,n){var t=n.getRootNode&&n.getRootNode();if(e.contains(n))return!0;if(t&&QS(t)){var i=n;do{if(i&&e.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function nT(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function pL(e,n,t){return n===aL?nT(function V7(e,n){var t=Mr(e),i=Il(e),r=t.visualViewport,s=i.clientWidth,o=i.clientHeight,l=0,u=0;if(r){s=r.width,o=r.height;var d=uL();(d||!d&&"fixed"===n)&&(l=r.offsetLeft,u=r.offsetTop)}return{width:s,height:o,x:l+eT(e),y:u}}(e,t)):Xc(n)?function U7(e,n){var t=Mf(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):nT(function H7(e){var n,t=Il(e),i=KS(e),r=null==(n=e.ownerDocument)?void 0:n.body,s=Kc(t.scrollWidth,t.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),o=Kc(t.scrollHeight,t.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),l=-i.scrollLeft+eT(e),u=-i.scrollTop;return"rtl"===na(r||t).direction&&(l+=Kc(t.clientWidth,r?r.clientWidth:0)-s),{width:s,height:o,x:l,y:u}}(Il(e)))}function If(e){return e.split("-")[1]}function iT(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function gL(e){var u,n=e.reference,t=e.element,i=e.placement,r=i?Co(i):null,s=i?If(i):null,o=n.x+n.width/2-t.width/2,l=n.y+n.height/2-t.height/2;switch(r){case Sr:u={x:o,y:n.y-t.height};break;case xs:u={x:o,y:n.y+n.height};break;case Ps:u={x:n.x+n.width,y:l};break;case Tr:u={x:n.x-t.width,y:l};break;default:u={x:n.x,y:n.y}}var d=r?iT(r):null;if(null!=d){var h="y"===d?"height":"width";switch(s){case Sf:u[d]=u[d]-(n[h]/2-t[h]/2);break;case cm:u[d]=u[d]+(n[h]/2-t[h]/2)}}return u}function _L(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function vL(e,n){return n.reduce(function(t,i){return t[i]=e,t},{})}function rT(e,n){void 0===n&&(n={});var i=n.placement,r=void 0===i?e.placement:i,s=n.strategy,o=void 0===s?e.strategy:s,l=n.boundary,u=void 0===l?"clippingParents":l,d=n.rootBoundary,h=void 0===d?aL:d,p=n.elementContext,m=void 0===p?um:p,v=n.altBoundary,b=void 0!==v&&v,w=n.padding,M=void 0===w?0:w,O=_L("number"!=typeof M?M:vL(M,lm)),k=e.rects.popper,H=e.elements[b?m===um?"reference":um:m],Y=function z7(e,n,t,i){var r="clippingParents"===n?function G7(e){var n=dm(Jb(e)),i=["absolute","fixed"].indexOf(na(e).position)>=0&&ns(e)?fm(e):e;return Xc(i)?n.filter(function(r){return Xc(r)&&hL(r,i)&&"body"!==So(r)}):[]}(e):[].concat(n),s=[].concat(r,[t]),l=s.reduce(function(u,d){var h=pL(e,d,i);return u.top=Kc(h.top,u.top),u.right=qb(h.right,u.right),u.bottom=qb(h.bottom,u.bottom),u.left=Kc(h.left,u.left),u},pL(e,s[0],i));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}(Xc(H)?H:H.contextElement||Il(e.elements.popper),u,h,o),X=Mf(e.elements.reference),re=gL({reference:X,element:k,strategy:"absolute",placement:r}),ye=nT(Object.assign({},k,re)),yt=m===um?ye:X,Pt={top:Y.top-yt.top+O.top,bottom:yt.bottom-Y.bottom+O.bottom,left:Y.left-yt.left+O.left,right:yt.right-Y.right+O.right},Cn=e.modifiersData.offset;if(m===um&&Cn){var Sn=Cn[r];Object.keys(Pt).forEach(function(Tn){var To=[Ps,xs].indexOf(Tn)>=0?1:-1,Mo=[Sr,xs].indexOf(Tn)>=0?"y":"x";Pt[Tn]+=Sn[Mo]*To})}return Pt}const Y7={name:"flip",enabled:!0,phase:"main",fn:function J7(e){var n=e.state,t=e.options,i=e.name;if(!n.modifiersData[i]._skip){for(var r=t.mainAxis,s=void 0===r||r,o=t.altAxis,l=void 0===o||o,u=t.fallbackPlacements,d=t.padding,h=t.boundary,p=t.rootBoundary,m=t.altBoundary,v=t.flipVariations,b=void 0===v||v,w=t.allowedAutoPlacements,M=n.options.placement,O=Co(M),k=u||(O!==M&&b?function q7(e){if(Co(e)===ZS)return[];var n=Wb(e);return[oL(e),n,oL(n)]}(M):[Wb(M)]),H=[M].concat(k).reduce(function(pt,ks){return pt.concat(Co(ks)===ZS?function W7(e,n){void 0===n&&(n={});var r=n.boundary,s=n.rootBoundary,o=n.padding,l=n.flipVariations,u=n.allowedAutoPlacements,d=void 0===u?cL:u,h=If(n.placement),p=h?l?lL:lL.filter(function(b){return If(b)===h}):lm,m=p.filter(function(b){return d.indexOf(b)>=0});0===m.length&&(m=p);var v=m.reduce(function(b,w){return b[w]=rT(e,{placement:w,boundary:r,rootBoundary:s,padding:o})[Co(w)],b},{});return Object.keys(v).sort(function(b,w){return v[b]-v[w]})}(n,{placement:ks,boundary:h,rootBoundary:p,padding:d,flipVariations:b,allowedAutoPlacements:w}):ks)},[]),Y=n.rects.reference,X=n.rects.popper,re=new Map,ye=!0,yt=H[0],Pt=0;Pt<H.length;Pt++){var Cn=H[Pt],Sn=Co(Cn),Tn=If(Cn)===Sf,To=[Sr,xs].indexOf(Sn)>=0,Mo=To?"width":"height",K=rT(n,{placement:Cn,boundary:h,rootBoundary:p,altBoundary:m,padding:d}),ie=To?Tn?Ps:Tr:Tn?xs:Sr;Y[Mo]>X[Mo]&&(ie=Wb(ie));var ge=Wb(ie),Le=[];if(s&&Le.push(K[Sn]<=0),l&&Le.push(K[ie]<=0,K[ge]<=0),Le.every(function(pt){return pt})){yt=Cn,ye=!1;break}re.set(Cn,Le)}if(ye)for(var rr=function(ks){var au=H.find(function(cn){var Ri=re.get(cn);if(Ri)return Ri.slice(0,ks).every(function(hi){return hi})});if(au)return yt=au,"break"},Mn=b?3:1;Mn>0&&"break"!==rr(Mn);Mn--);n.placement!==yt&&(n.modifiersData[i]._skip=!0,n.placement=yt,n.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function hm(e,n,t){return Kc(e,qb(n,t))}function sT(e){var n=Mf(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 K7={name:"preventOverflow",enabled:!0,phase:"main",fn:function X7(e){var n=e.state,t=e.options,i=e.name,r=t.mainAxis,s=void 0===r||r,o=t.altAxis,l=void 0!==o&&o,m=t.tether,v=void 0===m||m,b=t.tetherOffset,w=void 0===b?0:b,M=rT(n,{boundary:t.boundary,rootBoundary:t.rootBoundary,padding:t.padding,altBoundary:t.altBoundary}),O=Co(n.placement),I=If(n.placement),k=!I,H=iT(O),Y=function Z7(e){return"x"===e?"y":"x"}(H),X=n.modifiersData.popperOffsets,re=n.rects.reference,ye=n.rects.popper,yt="function"==typeof w?w(Object.assign({},n.rects,{placement:n.placement})):w,Pt="number"==typeof yt?{mainAxis:yt,altAxis:yt}:Object.assign({mainAxis:0,altAxis:0},yt),Cn=n.modifiersData.offset?n.modifiersData.offset[n.placement]:null,Sn={x:0,y:0};if(X){if(s){var Tn,To="y"===H?Sr:Tr,Mo="y"===H?xs:Ps,K="y"===H?"height":"width",ie=X[H],ge=ie+M[To],Le=ie-M[Mo],qt=v?-ye[K]/2:0,rr=I===Sf?re[K]:ye[K],Mn=I===Sf?-ye[K]:-re[K],Ir=n.elements.arrow,pt=v&&Ir?sT(Ir):{width:0,height:0},ks=n.modifiersData["arrow#persistent"]?n.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},au=ks[To],cn=ks[Mo],Ri=hm(0,re[K],pt[K]),hi=k?re[K]/2-qt-Ri-au-Pt.mainAxis:rr-Ri-au-Pt.mainAxis,Rf=k?-re[K]/2+qt+Ri+cn+Pt.mainAxis:Mn+Ri+cn+Pt.mainAxis,lu=n.elements.arrow&&fm(n.elements.arrow),hK=lu?"y"===H?lu.clientTop||0:lu.clientLeft||0:0,AB=null!=(Tn=Cn?.[H])?Tn:0,gK=ie+Rf-AB,OB=hm(v?qb(ge,ie+hi-AB-hK):ge,ie,v?Kc(Le,gK):Le);X[H]=OB,Sn[H]=OB-ie}if(l){var RB,cu=X[Y],c0="y"===Y?"height":"width",xB=cu+M["x"===H?Sr:Tr],PB=cu-M["x"===H?xs:Ps],TT=-1!==[Sr,Tr].indexOf(O),FB=null!=(RB=Cn?.[Y])?RB:0,kB=TT?xB:cu-re[c0]-ye[c0]-FB+Pt.altAxis,LB=TT?cu+re[c0]+ye[c0]-FB-Pt.altAxis:PB,BB=v&&TT?function Q7(e,n,t){var i=hm(e,n,t);return i>t?t:i}(kB,cu,LB):hm(v?kB:xB,cu,v?LB:PB);X[Y]=BB,Sn[Y]=BB-cu}n.modifiersData[i]=Sn}},requiresIfExists:["offset"]},iY={name:"arrow",enabled:!0,phase:"main",fn:function tY(e){var n,t=e.state,i=e.name,r=e.options,s=t.elements.arrow,o=t.modifiersData.popperOffsets,l=Co(t.placement),u=iT(l),h=[Tr,Ps].indexOf(l)>=0?"height":"width";if(s&&o){var p=function(n,t){return _L("number"!=typeof(n="function"==typeof n?n(Object.assign({},t.rects,{placement:t.placement})):n)?n:vL(n,lm))}(r.padding,t),m=sT(s),v="y"===u?Sr:Tr,b="y"===u?xs:Ps,w=t.rects.reference[h]+t.rects.reference[u]-o[u]-t.rects.popper[h],M=o[u]-t.rects.reference[u],O=fm(s),I=O?"y"===u?O.clientHeight||0:O.clientWidth||0:0,X=I/2-m[h]/2+(w/2-M/2),re=hm(p[v],X,I-m[h]-p[b]);t.modifiersData[i]=((n={})[u]=re,n.centerOffset=re-X,n)}},effect:function nY(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))||hL(n.elements.popper,r)&&(n.elements.arrow=r))},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function aY(e,n,t){void 0===t&&(t=!1);var i=ns(n),r=ns(n)&&function oY(e){var n=e.getBoundingClientRect(),t=Tf(n.width)/e.offsetWidth||1,i=Tf(n.height)/e.offsetHeight||1;return 1!==t||1!==i}(n),s=Il(n),o=Mf(e,r,t),l={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(i||!i&&!t)&&(("body"!==So(n)||tT(s))&&(l=function sY(e){return e!==Mr(e)&&ns(e)?function rY(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}(e):KS(e)}(n)),ns(n)?((u=Mf(n,!0)).x+=n.clientLeft,u.y+=n.clientTop):s&&(u.x=eT(s))),{x:o.left+l.scrollLeft-u.x,y:o.top+l.scrollTop-u.y,width:o.width,height:o.height}}function lY(e){var n=new Map,t=new Set,i=[];function r(s){t.add(s.name),[].concat(s.requires||[],s.requiresIfExists||[]).forEach(function(l){if(!t.has(l)){var u=n.get(l);u&&r(u)}}),i.push(s)}return e.forEach(function(s){n.set(s.name,s)}),e.forEach(function(s){t.has(s.name)||r(s)}),i}function uY(e){var n;return function(){return n||(n=new Promise(function(t){Promise.resolve().then(function(){n=void 0,t(e())})})),n}}var yL={placement:"bottom",modifiers:[],strategy:"absolute"};function bL(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return!n.some(function(i){return!(i&&"function"==typeof i.getBoundingClientRect)})}function fY(e){void 0===e&&(e={});var t=e.defaultModifiers,i=void 0===t?[]:t,r=e.defaultOptions,s=void 0===r?yL:r;return function(l,u,d){void 0===d&&(d=s);var h={placement:"bottom",orderedModifiers:[],options:Object.assign({},yL,s),modifiersData:{},elements:{reference:l,popper:u},attributes:{},styles:{}},p=[],m=!1,v={state:h,setOptions:function(O){var I="function"==typeof O?O(h.options):O;w(),h.options=Object.assign({},s,h.options,I),h.scrollParents={reference:Xc(l)?dm(l):l.contextElement?dm(l.contextElement):[],popper:dm(u)};var k=function cY(e){var n=lY(e);return B7.reduce(function(t,i){return t.concat(n.filter(function(r){return r.phase===i}))},[])}(function dY(e){var n=e.reduce(function(t,i){var r=t[i.name];return t[i.name]=r?Object.assign({},r,i,{options:Object.assign({},r.options,i.options),data:Object.assign({},r.data,i.data)}):i,t},{});return Object.keys(n).map(function(t){return n[t]})}([].concat(i,h.options.modifiers)));return h.orderedModifiers=k.filter(function(H){return H.enabled}),function b(){h.orderedModifiers.forEach(function(M){var I=M.options,H=M.effect;if("function"==typeof H){var Y=H({state:h,name:M.name,instance:v,options:void 0===I?{}:I});p.push(Y||function(){})}})}(),v.update()},forceUpdate:function(){if(!m){var O=h.elements,I=O.reference,k=O.popper;if(bL(I,k)){h.rects={reference:aY(I,fm(k),"fixed"===h.options.strategy),popper:sT(k)},h.reset=!1,h.placement=h.options.placement,h.orderedModifiers.forEach(function(Pt){return h.modifiersData[Pt.name]=Object.assign({},Pt.data)});for(var H=0;H<h.orderedModifiers.length;H++)if(!0!==h.reset){var Y=h.orderedModifiers[H],X=Y.fn,re=Y.options;"function"==typeof X&&(h=X({state:h,options:void 0===re?{}:re,name:Y.name,instance:v})||h)}else h.reset=!1,H=-1}}},update:uY(function(){return new Promise(function(M){v.forceUpdate(),M(h)})}),destroy:function(){w(),m=!0}};if(!bL(l,u))return v;function w(){p.forEach(function(M){return M()}),p=[]}return v.setOptions(d).then(function(M){!m&&d.onFirstUpdate&&d.onFirstUpdate(M)}),v}}var Yb={passive:!0};const pY={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function hY(e){var n=e.state,t=e.instance,i=e.options,r=i.scroll,s=void 0===r||r,o=i.resize,l=void 0===o||o,u=Mr(n.elements.popper),d=[].concat(n.scrollParents.reference,n.scrollParents.popper);return s&&d.forEach(function(h){h.addEventListener("scroll",t.update,Yb)}),l&&u.addEventListener("resize",t.update,Yb),function(){s&&d.forEach(function(h){h.removeEventListener("scroll",t.update,Yb)}),l&&u.removeEventListener("resize",t.update,Yb)}},data:{}},mY={name:"popperOffsets",enabled:!0,phase:"read",fn:function gY(e){var n=e.state;n.modifiersData[e.name]=gL({reference:n.rects.reference,element:n.rects.popper,strategy:"absolute",placement:n.placement})},data:{}};var _Y={top:"auto",right:"auto",bottom:"auto",left:"auto"};function DL(e){var n,t=e.popper,i=e.popperRect,r=e.placement,s=e.variation,o=e.offsets,l=e.position,u=e.gpuAcceleration,d=e.adaptive,h=e.roundOffsets,p=e.isFixed,m=o.x,v=void 0===m?0:m,b=o.y,w=void 0===b?0:b,M="function"==typeof h?h({x:v,y:w}):{x:v,y:w};v=M.x,w=M.y;var O=o.hasOwnProperty("x"),I=o.hasOwnProperty("y"),k=Tr,H=Sr,Y=window;if(d){var X=fm(t),re="clientHeight",ye="clientWidth";X===Mr(t)&&"static"!==na(X=Il(t)).position&&"absolute"===l&&(re="scrollHeight",ye="scrollWidth"),(r===Sr||(r===Tr||r===Ps)&&s===cm)&&(H=xs,w-=(p&&X===Y&&Y.visualViewport?Y.visualViewport.height:X[re])-i.height,w*=u?1:-1),r!==Tr&&(r!==Sr&&r!==xs||s!==cm)||(k=Ps,v-=(p&&X===Y&&Y.visualViewport?Y.visualViewport.width:X[ye])-i.width,v*=u?1:-1)}var Tn,Cn=Object.assign({position:l},d&&_Y),Sn=!0===h?function vY(e,n){var i=e.y,r=n.devicePixelRatio||1;return{x:Tf(e.x*r)/r||0,y:Tf(i*r)/r||0}}({x:v,y:w},Mr(t)):{x:v,y:w};return v=Sn.x,w=Sn.y,Object.assign({},Cn,u?((Tn={})[H]=I?"0":"",Tn[k]=O?"0":"",Tn.transform=(Y.devicePixelRatio||1)<=1?"translate("+v+"px, "+w+"px)":"translate3d("+v+"px, "+w+"px, 0)",Tn):((n={})[H]=I?w+"px":"",n[k]=O?v+"px":"",n.transform="",n))}const bY={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function yY(e){var n=e.state,t=e.options,i=t.gpuAcceleration,r=void 0===i||i,s=t.adaptive,o=void 0===s||s,l=t.roundOffsets,u=void 0===l||l,d={placement:Co(n.placement),variation:If(n.placement),popper:n.elements.popper,popperRect:n.rects.popper,gpuAcceleration:r,isFixed:"fixed"===n.options.strategy};null!=n.modifiersData.popperOffsets&&(n.styles.popper=Object.assign({},n.styles.popper,DL(Object.assign({},d,{offsets:n.modifiersData.popperOffsets,position:n.options.strategy,adaptive:o,roundOffsets:u})))),null!=n.modifiersData.arrow&&(n.styles.arrow=Object.assign({},n.styles.arrow,DL(Object.assign({},d,{offsets:n.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),n.attributes.popper=Object.assign({},n.attributes.popper,{"data-popper-placement":n.placement})},data:{}};var EY=[pY,mY,bY,{name:"applyStyles",enabled:!0,phase:"write",fn:function DY(e){var n=e.state;Object.keys(n.elements).forEach(function(t){var i=n.styles[t]||{},r=n.attributes[t]||{},s=n.elements[t];!ns(s)||!So(s)||(Object.assign(s.style,i),Object.keys(r).forEach(function(o){var l=r[o];!1===l?s.removeAttribute(o):s.setAttribute(o,!0===l?"":l)}))})},effect:function wY(e){var n=e.state,t={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(n.elements.popper.style,t.popper),n.styles=t,n.elements.arrow&&Object.assign(n.elements.arrow.style,t.arrow),function(){Object.keys(n.elements).forEach(function(i){var r=n.elements[i],s=n.attributes[i]||{},l=Object.keys(n.styles.hasOwnProperty(i)?n.styles[i]:t[i]).reduce(function(u,d){return u[d]="",u},{});!ns(r)||!So(r)||(Object.assign(r.style,l),Object.keys(s).forEach(function(u){r.removeAttribute(u)}))})}},requires:["computeStyles"]}],CY=fY({defaultModifiers:EY});const MY={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function TY(e){var n=e.state,i=e.name,r=e.options.offset,s=void 0===r?[0,0]:r,o=cL.reduce(function(h,p){return h[p]=function SY(e,n,t){var i=Co(e),r=[Tr,Sr].indexOf(i)>=0?-1:1,s="function"==typeof t?t(Object.assign({},n,{placement:e})):t,o=s[0],l=s[1];return o=o||0,l=(l||0)*r,[Tr,Ps].indexOf(i)>=0?{x:l,y:o}:{x:o,y:l}}(p,n.rects,s),h},{}),l=o[n.placement],d=l.y;null!=n.modifiersData.popperOffsets&&(n.modifiersData.popperOffsets.x+=l.x,n.modifiersData.popperOffsets.y+=d),n.modifiersData[i]=o}},wL=["*"],iZ=["dialog"],lZ=(e,n,t)=>({$implicit:e,pages:n,disabled:t}),cZ=e=>({disabled:!0,currentPage:e}),uZ=(e,n,t)=>({disabled:e,$implicit:n,currentPage:t}),oT=(e,n)=>({disabled:e,currentPage:n}),dZ=e=>({disabled:e});function fZ(e,n){1&e&&(G(0,"span",13),dg(1,7),z())}function hZ(e,n){1&e&&(G(0,"span",13),dg(1,8),z())}function pZ(e,n){1&e&&(G(0,"span",13),dg(1,9),z())}function gZ(e,n){1&e&&(G(0,"span",13),dg(1,10),z())}function mZ(e,n){1&e&&he(0,"...")}function _Z(e,n){1&e&&he(0),2&e&&Qt(n.$implicit)}function vZ(e,n){}function yZ(e,n){if(1&e&&(G(0,"a",16),Ce(1,vZ,0,0,"ng-template",12),z()),2&e){const t=Z(2).$implicit,i=Z(),r=Ii(9);V(),ne("ngTemplateOutlet",(null==i.tplEllipsis?null:i.tplEllipsis.templateRef)||r)("ngTemplateOutletContext",hl(2,cZ,t))}}function bZ(e,n){}function DZ(e,n){if(1&e){const t=ui();G(0,"a",18),De("click",function(r){He(t);const s=Z().$implicit;return Z(2).selectPage(s),$e(r.preventDefault())}),Ce(1,bZ,0,0,"ng-template",12),z()}if(2&e){const t=Z().$implicit,i=Z(),r=i.$implicit,s=i.disabled,o=Z(),l=Ii(11);Ye("tabindex",s?"-1":null)("aria-disabled",s?"true":null),V(),ne("ngTemplateOutlet",(null==o.tplNumber?null:o.tplNumber.templateRef)||l)("ngTemplateOutletContext",cE(4,uZ,s,t,r))}}function wZ(e,n){if(1&e&&(G(0,"li",15),Ce(1,yZ,2,4,"a",16)(2,DZ,2,8,"a",17),z()),2&e){const t=n.$implicit,i=Z(),r=i.$implicit,s=i.disabled,o=Z();Tt("active",t===r)("disabled",o.isEllipsis(t)||s),Ye("aria-current",t===r?"page":null),V(),$n(o.isEllipsis(t)?1:2)}}function EZ(e,n){1&e&&function mo(e,n,t,i,r,s,o,l,u,d,h,p,m){Ti("NgControlFlow");const v=P(),b=Re(),w=void 0!==u,M=P(),O=l?o.bind(M[Ot][bt]):o,I=new Fj(w,O);M[se+e]=I,eg(v,b,e+1,n,t,i,r,Ui(b.consts,s)),w&&eg(v,b,e+2,u,d,h,p,Ui(b.consts,m))}(0,wZ,3,6,"li",14,Ww),2&e&&function _o(e){const n=me(null),t=rn();try{const i=P(),r=i[W],s=i[t],o=t+1,l=iy(i,o);if(void 0===s.liveCollection){const d=qw(r,o);s.liveCollection=new kj(l,i,d)}else s.liveCollection.reset();const u=s.liveCollection;if(function xj(e,n,t){let i,r,s=0,o=e.length-1;if(Array.isArray(n)){let u=n.length-1;for(;s<=o&&s<=u;){const d=e.at(s),h=n[s],p=Gw(s,d,s,h,t);if(0!==p){p<0&&e.updateValue(s,h),s++;continue}const m=e.at(o),v=n[u],b=Gw(o,m,u,v,t);if(0!==b){b<0&&e.updateValue(o,v),o--,u--;continue}const w=t(s,d),M=t(o,m),O=t(s,h);if(Object.is(O,M)){const I=t(u,v);Object.is(I,w)?(e.swap(s,o),e.updateValue(o,v),u--,o--):e.move(o,s),e.updateValue(s,h),s++}else if(i??=new aA,r??=oA(e,s,o,t),zw(e,i,s,O))e.updateValue(s,h),s++,o++;else if(r.has(O))i.set(w,e.detach(s)),o--;else{const I=e.create(s,n[s]);e.attach(s,I),s++,o++}}for(;s<=u;)sA(e,i,t,s,n[s]),s++}else if(null!=n){const u=n[Symbol.iterator]();let d=u.next();for(;!d.done&&s<=o;){const h=e.at(s),p=d.value,m=Gw(s,h,s,p,t);if(0!==m)m<0&&e.updateValue(s,p),s++,d=u.next();else{i??=new aA,r??=oA(e,s,o,t);const v=t(s,p);if(zw(e,i,s,v))e.updateValue(s,p),s++,o++,d=u.next();else if(r.has(v)){const b=t(s,h);i.set(b,e.detach(s)),o--}else e.attach(s,e.create(s,p)),s++,o++,d=u.next()}}for(;!d.done;)sA(e,i,t,e.length,d.value),d=u.next()}for(;s<=o;)e.destroy(e.detach(o--));i?.forEach(u=>{e.destroy(u)})}(u,e,s.trackByFn),u.updateIndexes(),s.hasEmptyBlock){const d=Wi(),h=0===u.length;if(on(i,d,h)){const p=t+2,m=iy(i,p);if(h){const v=qw(r,p),b=Sc(m,v.tView.ssrId);Nd(m,Id(i,v,void 0,{dehydratedView:b}),0,Ec(v,b))}else K1(m,0)}}}finally{me(n)}}(n.pages)}function CZ(e,n){}function SZ(e,n){if(1&e){const t=ui();G(0,"li",15)(1,"a",19),De("click",function(r){return He(t),Z().selectPage(1),$e(r.preventDefault())}),Ce(2,CZ,0,0,"ng-template",12),z()()}if(2&e){const t=Z(),i=Ii(1);Tt("disabled",t.previousDisabled()),V(),Ye("tabindex",t.previousDisabled()?"-1":null)("aria-disabled",t.previousDisabled()?"true":null),V(),ne("ngTemplateOutlet",(null==t.tplFirst?null:t.tplFirst.templateRef)||i)("ngTemplateOutletContext",uy(6,oT,t.previousDisabled(),t.page))}}function TZ(e,n){}function MZ(e,n){if(1&e){const t=ui();G(0,"li",15)(1,"a",20),De("click",function(r){He(t);const s=Z();return s.selectPage(s.page-1),$e(r.preventDefault())}),Ce(2,TZ,0,0,"ng-template",12),z()()}if(2&e){const t=Z(),i=Ii(3);Tt("disabled",t.previousDisabled()),V(),Ye("tabindex",t.previousDisabled()?"-1":null)("aria-disabled",t.previousDisabled()?"true":null),V(),ne("ngTemplateOutlet",(null==t.tplPrevious?null:t.tplPrevious.templateRef)||i)("ngTemplateOutletContext",hl(6,dZ,t.previousDisabled()))}}function IZ(e,n){}function NZ(e,n){}function AZ(e,n){if(1&e){const t=ui();G(0,"li",15)(1,"a",21),De("click",function(r){He(t);const s=Z();return s.selectPage(s.page+1),$e(r.preventDefault())}),Ce(2,NZ,0,0,"ng-template",12),z()()}if(2&e){const t=Z(),i=Ii(5);Tt("disabled",t.nextDisabled()),V(),Ye("tabindex",t.nextDisabled()?"-1":null)("aria-disabled",t.nextDisabled()?"true":null),V(),ne("ngTemplateOutlet",(null==t.tplNext?null:t.tplNext.templateRef)||i)("ngTemplateOutletContext",uy(6,oT,t.nextDisabled(),t.page))}}function OZ(e,n){}function RZ(e,n){if(1&e){const t=ui();G(0,"li",15)(1,"a",22),De("click",function(r){He(t);const s=Z();return s.selectPage(s.pageCount),$e(r.preventDefault())}),Ce(2,OZ,0,0,"ng-template",12),z()()}if(2&e){const t=Z(),i=Ii(7);Tt("disabled",t.nextDisabled()),V(),Ye("tabindex",t.nextDisabled()?"-1":null)("aria-disabled",t.nextDisabled()?"true":null),V(),ne("ngTemplateOutlet",(null==t.tplLast?null:t.tplLast.templateRef)||i)("ngTemplateOutletContext",uy(6,oT,t.nextDisabled(),t.page))}}const CL={animation:!0,transitionTimerDelayMs:5};let pm=(()=>{class e{constructor(){this.animation=CL.animation}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function eu(e){return"string"==typeof e}function ii(e){return!isNaN(function nr(e){return parseInt(`${e}`,10)}(e))}function tu(e){return null!=e}function Nf(e){return(e||document.body).getBoundingClientRect()}const ZZ=()=>{},{transitionTimerDelayMs:QZ}=CL,gm=new Map,is=(e,n,t,i)=>{let r=i.context||{};const s=gm.get(n);if(s)switch(i.runningTransition){case"continue":return Ko;case"stop":e.run(()=>s.transition$.complete()),r=Object.assign(s.context,r),gm.delete(n)}const o=t(n,i.animation,r)||ZZ;if(!i.animation||"none"===window.getComputedStyle(n).transitionProperty)return e.run(()=>o()),pe(void 0).pipe(function YZ(e){return n=>new dt(t=>n.subscribe({next:o=>e.run(()=>t.next(o)),error:o=>e.run(()=>t.error(o)),complete:()=>e.run(()=>t.complete())}))}(e));const l=new ft,u=new ft,d=l.pipe(function fJ(...e){return n=>nb(n,pe(...e))}(!0));gm.set(n,{transition$:l,complete:()=>{u.next(),u.complete()},context:r});const h=function WZ(e){const{transitionDelay:n,transitionDuration:t}=window.getComputedStyle(e);return 1e3*(parseFloat(n)+parseFloat(t))}(n);return e.runOutsideAngular(()=>{const p=fi(n,"transitionend").pipe(ti(d),Un(({target:v})=>v===n)),m=function nJ(e=0,n,t){let i=-1;return ek(n)?i=Number(n)<1?1:Number(n):lf(n)&&(t=n),lf(t)||(t=KF),new dt(r=>{const s=ek(e)?e:+e-t.now();return t.schedule(iJ,s,{index:0,period:i,subscriber:r})})}(h+QZ).pipe(ti(d));tk(m,p,u).pipe(ti(d)).subscribe(()=>{gm.delete(n),e.run(()=>{o(),l.next(),l.complete()})})}),l.asObservable()};let OL=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=qe({type:e})}static{this.\u0275inj=We({})}}return e})(),RL=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=qe({type:e})}static{this.\u0275inj=We({})}}return e})(),FL=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=qe({type:e})}static{this.\u0275inj=We({})}}return e})(),kL=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=qe({type:e})}static{this.\u0275inj=We({})}}return e})();const t0=(e,n)=>!!n&&n.some(t=>t.contains(e)),jL=(e,n)=>!n||null!=function JZ(e,n){return!n||typeof e.closest>"u"?null:e.closest(n)}(e,n),CQ=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 pT(e,n,t,i,r,s,o,l){t&&e.runOutsideAngular((e=>CQ?()=>setTimeout(()=>e(),100):e)(()=>{const d=fi(n,"keydown").pipe(ti(r),Un(m=>"Escape"===m.key),Gn(m=>m.preventDefault())),h=fi(n,"mousedown").pipe(xe(m=>{const v=m.target;return 2!==m.button&&!t0(v,o)&&("inside"===t?t0(v,s)&&jL(v,l):"outside"===t?!t0(v,s):jL(v,l)||!t0(v,s))}),ti(r)),p=fi(n,"mouseup").pipe(CS(h),Un(([m,v])=>v),function _J(e,n=KF){const i=function gJ(e){return e instanceof Date&&!isNaN(+e)}(e)?+e-n.now():Math.abs(e);return r=>r.lift(new vJ(i,n))}(0),ti(r));tk([d.pipe(xe(m=>0)),p.pipe(xe(m=>1))]).subscribe(m=>e.run(()=>i(m)))}))}const $L=["a[href]","button:not([disabled])",'input:not([disabled]):not([type="hidden"])',"select:not([disabled])","textarea:not([disabled])","[contenteditable]",'[tabindex]:not([tabindex="-1"])'].join(", ");function UL(e){const n=Array.from(e.querySelectorAll($L)).filter(t=>-1!==t.tabIndex);return[n[0],n[n.length-1]]}let TQ=(()=>{class e{constructor(){this._element=S(Gt).documentElement}isRTL(){return"rtl"===(this._element.getAttribute("dir")||"").toLowerCase()}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();const MQ=/\s+/,IQ=/  +/gi,NQ={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"]},OQ=/^left/,RQ=/^right/,xQ=/^start/,PQ=/^end/;function zL({placement:e,baseClass:n},t){let i=Array.isArray(e)?e:e.split(MQ),s=i.findIndex(d=>"auto"===d);s>=0&&["top","bottom","start","end","top-start","top-end","bottom-start","bottom-end","start-top","start-bottom","end-top","end-bottom"].forEach(function(d){null==i.find(h=>-1!==h.search("^"+d))&&i.splice(s++,1,d)});const o=i.map(d=>function AQ(e,n){const[t,i]=NQ[e];return n&&i||t}(d,t.isRTL()));return{placement:o.shift(),modifiers:[{name:"bootstrapClasses",enabled:!!n,phase:"write",fn({state:d}){const h=new RegExp(n+"(-[a-z]+)*","gi"),p=d.elements.popper,m=d.placement;let v=p.className;v=v.replace(h,""),v+=` ${function FQ(e,n){let[t,i]=n.split("-");const r=t.replace(OQ,"start").replace(RQ,"end");let s=[r];if(i){let o=i;("left"===t||"right"===t)&&(o=o.replace(xQ,"top").replace(PQ,"bottom")),s.push(`${r}-${o}`)}return e&&(s=s.map(o=>`${e}-${o}`)),s.join(" ")}(n,m)}`,v=v.trim().replace(IQ," "),p.className=v}},Y7,K7,iY,{enabled:!0,name:"flip",options:{fallbackPlacements:o}},{enabled:!0,name:"preventOverflow",phase:"main",fn:function(){}}]}}function WL(e){return e}new Date(1882,10,12),new Date(2174,10,25);let iB=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=qe({type:e})}static{this.\u0275inj=We({})}}return e})(),sB=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=qe({type:e})}static{this.\u0275inj=We({})}}return e})(),eX=(()=>{class e{constructor(){this._ngbConfig=S(pm),this.backdrop=!0,this.fullscreen=!1,this.keyboard=!0}get animation(){return this._animation??this._ngbConfig.animation}set animation(t){this._animation=t}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();class ou{constructor(n,t,i){this.nodes=n,this.viewRef=t,this.componentRef=i}}class tX{constructor(n){this._componentType=n,this._windowRef=null,this._contentRef=null,this._document=S(Gt),this._applicationRef=S(Jr),this._injector=S(lt),this._viewContainerRef=S(Qi),this._ngZone=S(Ae)}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:r}=this._windowRef.location,s=new ft;Wo(()=>{s.next(),s.complete()},{injector:this._injector,phase:Xi.MixedReadWrite});const o=s.pipe(di(()=>is(this._ngZone,r,({classList:l})=>l.add("show"),{animation:i,runningTransition:"continue"})));return{windowRef:this._windowRef,transition$:o}}close(n=!1){return this._windowRef?is(this._ngZone,this._windowRef.location.nativeElement,({classList:t})=>t.remove("show"),{animation:n,runningTransition:"stop"}).pipe(Gn(()=>{this._windowRef?.destroy(),this._contentRef?.viewRef?.destroy(),this._windowRef=null,this._contentRef=null})):pe(void 0)}_getContentRef(n,t){if(n){if(n instanceof sn){const i=n.createEmbeddedView(t);return this._applicationRef.attachView(i),new ou([i.rootNodes],i)}return new ou([[this._document.createTextNode(`${n}`)]])}return new ou([])}}let nX=(()=>{class e{constructor(){this._document=S(Gt)}hide(){const t=Math.abs(window.innerWidth-this._document.documentElement.clientWidth),i=this._document.body,r=i.style,{overflow:s,paddingRight:o}=r;if(t>0){const l=parseFloat(window.getComputedStyle(i).paddingRight);r.paddingRight=`${l+t}px`}return r.overflow="hidden",()=>{t>0&&(r.paddingRight=o),r.overflow=s}}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),iX=(()=>{class e{constructor(){this._nativeElement=S(et).nativeElement,this._zone=S(Ae),this._injector=S(lt)}ngOnInit(){Wo(()=>is(this._zone,this._nativeElement,(t,i)=>{i&&Nf(t),t.classList.add("show")},{animation:this.animation,runningTransition:"continue"}),{injector:this._injector,phase:Xi.MixedReadWrite})}hide(){return is(this._zone,this._nativeElement,({classList:t})=>t.remove("show"),{animation:this.animation,runningTransition:"stop"})}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275cmp=Yn({type:e,selectors:[["ngb-modal-backdrop"]],hostAttrs:[2,"z-index","1055"],hostVars:6,hostBindings:function(i,r){2&i&&(dl("modal-backdrop"+(r.backdropClass?" "+r.backdropClass:"")),Tt("show",!r.animation)("fade",r.animation))},inputs:{animation:"animation",backdropClass:"backdropClass"},standalone:!0,features:[qr],decls:0,vars:0,template:function(i,r){},encapsulation:2})}}return e})();class oB{update(n){}close(n){}dismiss(n){}}const rX=["animation","ariaLabelledBy","ariaDescribedBy","backdrop","centered","fullscreen","keyboard","scrollable","size","windowClass","modalDialogClass"],sX=["animation","backdropClass"];class oX{_applyWindowOptions(n,t){rX.forEach(i=>{tu(t[i])&&(n[i]=t[i])})}_applyBackdropOptions(n,t){sX.forEach(i=>{tu(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(ti(this._hidden))}get dismissed(){return this._dismissed.asObservable().pipe(ti(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 ft,this._dismissed=new ft,this._hidden=new ft,n.instance.dismissEvent.subscribe(s=>{this.dismiss(s)}),this.result=new Promise((s,o)=>{this._resolve=s,this._reject=o}),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 SL(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():pe(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}}),ES(n,t).subscribe(()=>{this._hidden.next(),this._hidden.complete()})}}var ET=function(e){return e[e.BACKDROP_CLICK=0]="BACKDROP_CLICK",e[e.ESC=1]="ESC",e}(ET||{});let aX=(()=>{class e{constructor(){this._document=S(Gt),this._elRef=S(et),this._zone=S(Ae),this._injector=S(lt),this._closed$=new ft,this._elWithFocus=null,this.backdrop=!0,this.keyboard=!0,this.dismissEvent=new ue,this.shown=new ft,this.hidden=new ft}get fullscreenClass(){return!0===this.fullscreen?" modal-fullscreen":eu(this.fullscreen)?` modal-fullscreen-${this.fullscreen}-down`:""}dismiss(t){this.dismissEvent.emit(t)}ngOnInit(){this._elWithFocus=this._document.activeElement,Wo(()=>this._show(),{injector:this._injector,phase:Xi.MixedReadWrite})}ngOnDestroy(){this._disableEventHandling()}hide(){const{nativeElement:t}=this._elRef,i={animation:this.animation,runningTransition:"stop"},o=ES(is(this._zone,t,()=>t.classList.remove("show"),i),is(this._zone,this._dialogEl.nativeElement,()=>{},i));return o.subscribe(()=>{this.hidden.next(),this.hidden.complete()}),this._disableEventHandling(),this._restoreFocus(),o}_show(){const t={animation:this.animation,runningTransition:"continue"};ES(is(this._zone,this._elRef.nativeElement,(s,o)=>{o&&Nf(s),s.classList.add("show")},t),is(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(()=>{fi(t,"keydown").pipe(ti(this._closed$),Un(r=>"Escape"===r.key)).subscribe(r=>{this.keyboard?requestAnimationFrame(()=>{r.defaultPrevented||this._zone.run(()=>this.dismiss(ET.ESC))}):"static"===this.backdrop&&this._bumpBackdrop()});let i=!1;fi(this._dialogEl.nativeElement,"mousedown").pipe(ti(this._closed$),Gn(()=>i=!1),Er(()=>fi(t,"mouseup").pipe(ti(this._closed$),bo(1))),Un(({target:r})=>t===r)).subscribe(()=>{i=!0}),fi(t,"click").pipe(ti(this._closed$)).subscribe(({target:r})=>{t===r&&("static"===this.backdrop?this._bumpBackdrop():!0===this.backdrop&&!i&&this._zone.run(()=>this.dismiss(ET.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=UL(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&&is(this._zone,this._elRef.nativeElement,({classList:t})=>(t.add("modal-static"),()=>t.remove("modal-static")),{animation:this.animation,runningTransition:"continue"})}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275cmp=Yn({type:e,selectors:[["ngb-modal-window"]],viewQuery:function(i,r){if(1&i&&Oc(iZ,7),2&i){let s;Lt(s=Bt())&&(r._dialogEl=s.first)}},hostAttrs:["role","dialog","tabindex","-1"],hostVars:7,hostBindings:function(i,r){2&i&&(Ye("aria-modal",!0)("aria-labelledby",r.ariaLabelledBy)("aria-describedby",r.ariaDescribedBy),dl("modal d-block"+(r.windowClass?" "+r.windowClass:"")),Tt("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:[qr],ngContentSelectors:wL,decls:4,vars:2,consts:[["dialog",""],["role","document"],[1,"modal-content"]],template:function(i,r){1&i&&(eE(),G(0,"div",1,0)(2,"div",2),tE(3),z()()),2&i&&dl("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})(),lX=(()=>{class e{constructor(){this._applicationRef=S(Jr),this._injector=S(lt),this._environmentInjector=S(_n),this._document=S(Gt),this._scrollBar=S(nX),this._activeWindowCmptHasChanged=new ft,this._ariaHiddenValues=new Map,this._scrollBarRestoreFn=null,this._modalRefs=[],this._windowCmpts=[],this._activeInstances=new ue;const t=S(Ae);this._activeWindowCmptHasChanged.subscribe(()=>{if(this._windowCmpts.length){const i=this._windowCmpts[this._windowCmpts.length-1];((e,n,t,i=!1)=>{e.runOutsideAngular(()=>{const r=fi(n,"focusin").pipe(ti(t),xe(s=>s.target));fi(n,"keydown").pipe(ti(t),Un(s=>"Tab"===s.key),CS(r)).subscribe(([s,o])=>{const[l,u]=UL(n);(o===l||o===n)&&s.shiftKey&&(u.focus(),s.preventDefault()),o===u&&!s.shiftKey&&(l.focus(),s.preventDefault())}),i&&fi(n,"click").pipe(ti(t),CS(r),xe(s=>s[1])).subscribe(s=>s.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 s=r.container instanceof HTMLElement?r.container:tu(r.container)?this._document.querySelector(r.container):this._document.body;if(!s)throw new Error(`The specified modal container "${r.container||"body"}" was not found in the DOM.`);this._hideScrollBar();const o=new oB,l=(t=r.injector||t).get(_n,null)||this._environmentInjector,u=this._getContentRef(t,l,i,o,r);let d=!1!==r.backdrop?this._attachBackdrop(s):void 0,h=this._attachWindowComponent(s,u.nodes),p=new oX(h,u,d,r.beforeDismiss);return this._registerModalRef(p),this._registerWindowCmpt(h),p.hidden.pipe(bo(1)).subscribe(()=>Promise.resolve(!0).then(()=>{this._modalRefs.length||(this._document.body.classList.remove("modal-open"),this._restoreScrollBar(),this._revertAriaHidden())})),o.close=m=>{p.close(m)},o.dismiss=m=>{p.dismiss(m)},o.update=m=>{p.update(m)},p.update(r),1===this._modalRefs.length&&this._document.body.classList.add("modal-open"),d&&d.instance&&d.changeDetectorRef.detectChanges(),h.changeDetectorRef.detectChanges(),p}get activeInstances(){return this._activeInstances}dismissAll(t){this._modalRefs.forEach(i=>i.dismiss(t))}hasOpenModals(){return this._modalRefs.length>0}_attachBackdrop(t){let i=AE(iX,{environmentInjector:this._applicationRef.injector,elementInjector:this._injector});return this._applicationRef.attachView(i.hostView),t.appendChild(i.location.nativeElement),i}_attachWindowComponent(t,i){let r=AE(aX,{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,s,o){return r?r instanceof sn?this._createFromTemplateRef(r,s):eu(r)?this._createFromString(r):this._createFromComponent(t,i,r,s,o):new ou([])}_createFromTemplateRef(t,i){const s=t.createEmbeddedView({$implicit:i,close(o){i.close(o)},dismiss(o){i.dismiss(o)}});return this._applicationRef.attachView(s),new ou([s.rootNodes],s)}_createFromString(t){const i=this._document.createTextNode(`${t}`);return new ou([[i]])}_createFromComponent(t,i,r,s,o){const u=AE(r,{environmentInjector:i,elementInjector:lt.create({providers:[{provide:oB,useValue:s}],parent:t})}),d=u.location.nativeElement;return o.scrollable&&d.classList.add("component-host-scrollable"),this._applicationRef.attachView(u.hostView),new ou([[d]],u.hostView,u)}_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{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),cX=(()=>{class e{constructor(){this._injector=S(lt),this._modalStack=S(lX),this._config=S(eX)}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{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),aB=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=qe({type:e})}static{this.\u0275inj=We({providers:[cX]})}}return e})(),uB=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=qe({type:e})}static{this.\u0275inj=We({})}}return e})(),_X=(()=>{class e{constructor(){this.disabled=!1,this.boundaryLinks=!1,this.directionLinks=!0,this.ellipses=!0,this.maxSize=0,this.pageSize=10,this.rotate=!1}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),dB=(()=>{class e{constructor(){this.templateRef=S(sn)}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275dir=J({type:e,selectors:[["ng-template","ngbPaginationEllipsis",""]],standalone:!0})}}return e})(),fB=(()=>{class e{constructor(){this.templateRef=S(sn)}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275dir=J({type:e,selectors:[["ng-template","ngbPaginationFirst",""]],standalone:!0})}}return e})(),hB=(()=>{class e{constructor(){this.templateRef=S(sn)}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275dir=J({type:e,selectors:[["ng-template","ngbPaginationLast",""]],standalone:!0})}}return e})(),pB=(()=>{class e{constructor(){this.templateRef=S(sn)}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275dir=J({type:e,selectors:[["ng-template","ngbPaginationNext",""]],standalone:!0})}}return e})(),gB=(()=>{class e{constructor(){this.templateRef=S(sn)}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275dir=J({type:e,selectors:[["ng-template","ngbPaginationNumber",""]],standalone:!0})}}return e})(),mB=(()=>{class e{constructor(){this.templateRef=S(sn)}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275dir=J({type:e,selectors:[["ng-template","ngbPaginationPrevious",""]],standalone:!0})}}return e})(),_B=(()=>{class e{constructor(){this.templateRef=S(sn)}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275dir=J({type:e,selectors:[["ng-template","ngbPaginationPages",""]],standalone:!0})}}return e})(),vB=(()=>{class e{constructor(){this._config=S(_X),this.pageCount=0,this.pages=[],this.disabled=this._config.disabled,this.boundaryLinks=this._config.boundaryLinks,this.directionLinks=this._config.directionLinks,this.ellipses=this._config.ellipses,this.rotate=this._config.rotate,this.maxSize=this._config.maxSize,this.page=1,this.pageSize=this._config.pageSize,this.pageChange=new ue(!0),this.size=this._config.size}hasPrevious(){return this.page>1}hasNext(){return this.page<this.pageCount}nextDisabled(){return!this.hasNext()||this.disabled}previousDisabled(){return!this.hasPrevious()||this.disabled}selectPage(t){this._updatePages(t)}ngOnChanges(t){this._updatePages(this.page)}isEllipsis(t){return-1===t}_applyEllipses(t,i){this.ellipses&&(t>0&&(t>2?this.pages.unshift(-1):2===t&&this.pages.unshift(2),this.pages.unshift(1)),i<this.pageCount&&(i<this.pageCount-2?this.pages.push(-1):i===this.pageCount-2&&this.pages.push(this.pageCount-1),this.pages.push(this.pageCount)))}_applyRotation(){let t=0,i=this.pageCount,r=Math.floor(this.maxSize/2);return this.page<=r?i=this.maxSize:this.pageCount-this.page<r?t=this.pageCount-this.maxSize:(t=this.page-r-1,i=this.page+(this.maxSize%2==0?r-1:r)),[t,i]}_applyPagination(){let i=(Math.ceil(this.page/this.maxSize)-1)*this.maxSize;return[i,i+this.maxSize]}_setPageInRange(t){const i=this.page;this.page=function qZ(e,n,t=0){return Math.max(Math.min(e,n),t)}(t,this.pageCount,1),this.page!==i&&ii(this.collectionSize)&&this.pageChange.emit(this.page)}_updatePages(t){this.pageCount=Math.ceil(this.collectionSize/this.pageSize),ii(this.pageCount)||(this.pageCount=0),this.pages.length=0;for(let i=1;i<=this.pageCount;i++)this.pages.push(i);if(this._setPageInRange(t),this.maxSize>0&&this.pageCount>this.maxSize){let i=0,r=this.pageCount;[i,r]=this.rotate?this._applyRotation():this._applyPagination(),this.pages=this.pages.slice(i,r),this._applyEllipses(i,r)}}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275cmp=Yn({type:e,selectors:[["ngb-pagination"]],contentQueries:function(i,r,s){if(1&i&&(Dn(s,dB,5),Dn(s,fB,5),Dn(s,hB,5),Dn(s,pB,5),Dn(s,gB,5),Dn(s,mB,5),Dn(s,_B,5)),2&i){let o;Lt(o=Bt())&&(r.tplEllipsis=o.first),Lt(o=Bt())&&(r.tplFirst=o.first),Lt(o=Bt())&&(r.tplLast=o.first),Lt(o=Bt())&&(r.tplNext=o.first),Lt(o=Bt())&&(r.tplNumber=o.first),Lt(o=Bt())&&(r.tplPrevious=o.first),Lt(o=Bt())&&(r.tplPages=o.first)}},hostAttrs:["role","navigation"],inputs:{disabled:"disabled",boundaryLinks:"boundaryLinks",directionLinks:"directionLinks",ellipses:"ellipses",rotate:"rotate",collectionSize:"collectionSize",maxSize:"maxSize",page:"page",pageSize:"pageSize",size:"size"},outputs:{pageChange:"pageChange"},standalone:!0,features:[jt,qr],decls:20,vars:12,consts:()=>{let t,i,r,s,o,l,u,d;return t=$localize`:@@ngb.pagination.first:««`,i=$localize`:@@ngb.pagination.previous:«`,r=$localize`:@@ngb.pagination.next:»`,s=$localize`:@@ngb.pagination.last:»»`,o=$localize`:@@ngb.pagination.first-aria:First`,l=$localize`:@@ngb.pagination.previous-aria:Previous`,u=$localize`:@@ngb.pagination.next-aria:Next`,d=$localize`:@@ngb.pagination.last-aria:Last`,[["first",""],["previous",""],["next",""],["last",""],["ellipsis",""],["defaultNumber",""],["defaultPages",""],t,i,r,s,[1,"page-item",3,"disabled"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["aria-hidden","true"],[1,"page-item",3,"active","disabled"],[1,"page-item"],["tabindex","-1","aria-disabled","true",1,"page-link"],["href","",1,"page-link"],["href","",1,"page-link",3,"click"],["aria-label",o,"href","",1,"page-link",3,"click"],["aria-label",l,"href","",1,"page-link",3,"click"],["aria-label",u,"href","",1,"page-link",3,"click"],["aria-label",d,"href","",1,"page-link",3,"click"]]},template:function(i,r){if(1&i&&(Ce(0,fZ,2,0,"ng-template",null,0,tr)(2,hZ,2,0,"ng-template",null,1,tr)(4,pZ,2,0,"ng-template",null,2,tr)(6,gZ,2,0,"ng-template",null,3,tr)(8,mZ,1,0,"ng-template",null,4,tr)(10,_Z,1,1,"ng-template",null,5,tr)(12,EZ,2,0,"ng-template",null,6,tr),G(14,"ul"),Ce(15,SZ,3,9,"li",11)(16,MZ,3,8,"li",11)(17,IZ,0,0,"ng-template",12)(18,AZ,3,9,"li",11)(19,RZ,3,9,"li",11),z()),2&i){const s=Ii(13);V(14),dl("pagination"+(r.size?" pagination-"+r.size:"")),V(),$n(r.boundaryLinks?15:-1),V(),$n(r.directionLinks?16:-1),V(),ne("ngTemplateOutlet",(null==r.tplPages?null:r.tplPages.templateRef)||s)("ngTemplateOutletContext",cE(8,lZ,r.page,r.pages,r.disabled)),V(),$n(r.directionLinks?18:-1),V(),$n(r.boundaryLinks?19:-1)}},dependencies:[Sg],encapsulation:2,changeDetection:0})}}return e})(),yB=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=qe({type:e})}static{this.\u0275inj=We({})}}return e})();const vX={hover:["mouseenter","mouseleave"],focus:["focusin","focusout"]};let bB=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=qe({type:e})}static{this.\u0275inj=We({})}}return e})(),DB=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=qe({type:e})}static{this.\u0275inj=We({})}}return e})(),wB=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=qe({type:e})}static{this.\u0275inj=We({})}}return e})(),EB=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=qe({type:e})}static{this.\u0275inj=We({})}}return e})(),CB=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=qe({type:e})}static{this.\u0275inj=We({})}}return e})(),SB=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=qe({type:e})}static{this.\u0275inj=We({})}}return e})(),CX=(()=>{class e{constructor(){this._ngbConfig=S(pm),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{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),SX=0,TX=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275cmp=Yn({type:e,selectors:[["ngb-tooltip-window"]],hostAttrs:["role","tooltip"],hostVars:5,hostBindings:function(i,r){2&i&&(yr("id",r.id),dl("tooltip"+(r.tooltipClass?" "+r.tooltipClass:"")),Tt("fade",r.animation))},inputs:{animation:"animation",id:"id",tooltipClass:"tooltipClass"},standalone:!0,features:[qr],ngContentSelectors:wL,decls:3,vars:0,consts:[["data-popper-arrow","",1,"tooltip-arrow"],[1,"tooltip-inner"]],template:function(i,r){1&i&&(eE(),wt(0,"div",0),G(1,"div",1),tE(2),z())},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})(),TB=(()=>{class e{constructor(){this._config=S(CX),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 ue,this.hidden=new ue,this._nativeElement=S(et).nativeElement,this._ngZone=S(Ae),this._document=S(Gt),this._changeDetector=S(Yr),this._injector=S(lt),this._ngbTooltipWindowId="ngb-tooltip-"+SX++,this._popupService=new tX(TX),this._windowRef=null,this._positioning=function gT(){const e=S(TQ);let n=null;return{createPopper(t){if(!n){let r=(t.updatePopperOptions||WL)(zL(t,e));n=CY(t.hostElement,t.targetElement,r)}},update(){n&&n.update()},setOptions(t){if(n){let r=(t.updatePopperOptions||WL)(zL(t,e));n.setOptions(r)}},destroy(){n&&(n.destroy(),n=null)}}}()}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$:r}=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:s=>this.popperOptions(function mT(e){return n=>(n.modifiers.push(MY,{name:"offset",options:{offset:()=>e}}),n)}([0,6])(s))}),Promise.resolve().then(()=>{this._positioning.update()}),this._afterRenderRef=function Xv(e,n){!n?.injector&&$u();const t=n?.injector??S(lt);return Si(t)?(Ti("NgAfterRender"),vN(e,t,n,!1)):yN}(()=>{this._positioning.update()},{phase:Xi.MixedReadWrite,injector:this._injector})}),pT(this._ngZone,this._document,this.autoClose,()=>this.close(),this.hidden,[this._windowRef.location.nativeElement],[this._nativeElement]),r.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._afterRenderRef?.destroy(),this.hidden.emit(),this._changeDetector.markForCheck()}))}toggle(){this._windowRef?this.close():this.open()}isOpen(){return null!=this._windowRef}ngOnInit(){this._unregisterListenersFn=function bX(e,n,t,i,r,s=0,o=0){const l=function yX(e){const n=(e||"").trim();if(0===n.length)return[];const t=n.split(/\s+/).map(r=>r.split(":")).map(r=>vX[r[0]]||r),i=t.filter(r=>r.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===l.length)return()=>{};const u=new Set,d=[];let h;function p(v,b){e.addEventListener(v,b),d.push(()=>e.removeEventListener(v,b))}function m(v,b){clearTimeout(h),b>0?h=setTimeout(v,b):v()}for(const[v,b]of l)b?(p(v,()=>{u.add(v),m(()=>u.size>0&&i(),s)}),p(b,()=>{u.delete(v),m(()=>0===u.size&&r(),o)})):p(v,()=>t()?m(r,o):m(i,s));return()=>d.forEach(v=>v())}(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(eu(this.positionTarget)?this._document.querySelector(this.positionTarget):this.positionTarget)||this._nativeElement}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275dir=J({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:[jt]})}}return e})(),MB=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=qe({type:e})}static{this.\u0275inj=We({})}}return e})();new q("live announcer delay",{providedIn:"root",factory:()=>100});let IB=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=qe({type:e})}static{this.\u0275inj=We({})}}return e})(),NB=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=qe({type:e})}static{this.\u0275inj=We({})}}return e})();const IX=[OL,RL,FL,kL,iB,sB,aB,uB,NB,yB,bB,DB,wB,EB,CB,SB,MB,IB];let NX=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=qe({type:e})}static{this.\u0275inj=We({imports:[IX,OL,RL,FL,kL,iB,sB,aB,uB,NB,yB,bB,DB,wB,EB,CB,SB,MB,IB]})}}return e})();const AX=e=>({active:e}),OX=e=>({unread:e});function RX(e,n){if(1&e){const t=ui();G(0,"div",6)(1,"span"),he(2),z(),G(3,"button",7),De("click",function(){return He(t),$e(Z().inboxListService.inboxMessagesSetArchived())}),he(4),z()()}if(2&e){const t=Z();V(2),er("",t.inboxListService.numberOfSelectedMessages()," messages selected"),V(),ne("disabled",!t.inboxListService.areAnyMessagesSelected()),Ye("aria-label",t.inboxListService.getArchiveButtonText()),V(),er(" ",t.inboxListService.getArchiveButtonText()," ")}}function xX(e,n){1&e&&(G(0,"h1"),he(1,"Inbox"),z())}function PX(e,n){1&e&&(G(0,"label",33),he(1,"Inbox"),z())}function FX(e,n){if(1&e&&(G(0,"option",34),he(1),z()),2&e){const t=n.$implicit;ne("ngValue",t),V(),er(" ",t.fullText()," ")}}function kX(e,n){if(1&e&&(G(0,"option",34),he(1),z()),2&e){const t=n.$implicit;ne("ngValue",t),V(),er(" ",t.fullText()," ")}}function LX(e,n){1&e&&(G(0,"div")(1,"div",35),wt(2,"img",36),z()())}function BX(e,n){1&e&&he(0),2&e&&Qt(Z().$implicit.isFlagged?"Flagged":"Not flagged")}function VX(e,n){1&e&&wt(0,"i",56)}function HX(e,n){1&e&&he(0,"Click here to view the complete email")}function jX(e,n){if(1&e){const t=ui();G(0,"li",40)(1,"div")(2,"span",13)(3,"input",41),xc("ngModelChange",function(r){const s=He(t).$implicit;return Xd(s.isChecked,r)||(s.isChecked=r),$e(r)}),De("ngModelChange",function(){return He(t),$e(Z(3).inboxListService.messageCheckedChanged())}),z(),G(4,"label")(5,"span",16),he(6),Pc(7,"date"),Pc(8,"date"),z()()()(),Ce(9,BX,1,1,"ng-template",null,0,tr),G(11,"div",42),De("keypress",function(r){const s=He(t).$implicit;return $e(Z(3).inboxListService.onEnterPressInboxMessageSetFlagged(s,r))}),G(12,"i",43),De("click",function(){const r=He(t).$implicit;return $e(Z(3).inboxListService.toggleFlagged(r))}),z()(),G(13,"div",44)(14,"div",45)(15,"span",46),he(16),z(),wt(17,"br"),G(18,"span",47)(19,"span",48),he(20),z(),he(21,", "),G(22,"span",49),he(23),z()()(),G(24,"div",50)(25,"div",51),Ce(26,VX,1,0,"i",52),z(),Ce(27,HX,1,0,"ng-template",null,1,tr),G(29,"a",53),De("click",function(){const r=He(t).$implicit;return $e(Z(3).inboxListService.openMessage(r))})("keypress",function(r){const s=He(t).$implicit;return $e(Z(3).inboxListService.onEnterOrSpacePressOpenInboxMessage(s,r))}),he(30),z()(),G(31,"div",54)(32,"span",55),he(33),Pc(34,"date"),z()()()()}if(2&e){const t=n.$implicit,i=n.index,r=Ii(10),s=Ii(28),o=Z(3);V(),dl("checkbox-container item"+i),V(2),Rc("ngModel",t.isChecked),Ye("id","message"+i),V(),Ye("for","message"+i),V(2),rE(" ",t.subjectLine," sent ",Kd(7,21,o.inboxListService.getLocalDateTimeSent(t.utcDateTimeSent),"MM/dd/yyyy")," at ",Kd(8,24,o.inboxListService.getLocalDateTimeSent(t.utcDateTimeSent),"shortTime")," "),V(5),ne("placement",o.inboxListService.isCurrentDevicePhone()?"top":"right")("ngbTooltip",r),V(),ne("ngClass",hl(30,AX,t.isFlagged)),Ye("aria-label",t.isFlagged?t.subjectLine+" flag. Marked as flagged "+o.inboxListService.getLocalDateTimeSent(t.utcDateTimeSent):t.subjectLine+" flag. Not marked as flagged "+o.inboxListService.getLocalDateTimeSent(t.utcDateTimeSent)),V(),ne("ngClass",hl(32,OX,!t.isRead)),V(3),Qt(t.subjectLine),V(4),Qt(t.organization),V(3),Qt(t.stateAbbreviation),V(3),ne("ngIf",t.hasAttachments),V(3),ne("ngbTooltip",s),Ye("aria-label","Body of message with "+t.subjectLine+" title. Press enter to open message in flyout window."),V(),er(" ",o.inboxListService.getDisplayedBody(t.body)," "),V(3),Qt(Kd(34,27,o.inboxListService.getLocalDateTimeSent(t.utcDateTimeSent),"mediumDate"))}}function $X(e,n){if(1&e&&(G(0,"div",37)(1,"div")(2,"span",38),he(3,"Select message"),z(),G(4,"ul"),Ce(5,jX,35,34,"li",39),z()()()),2&e){const t=Z(2);V(5),ne("ngForOf",t.inboxListService.messages)}}function UX(e,n){if(1&e){const t=ui();G(0,"div",8)(1,"div",9)(2,"div",10)(3,"div",11)(4,"div",12)(5,"span",13)(6,"input",14),xc("ngModelChange",function(r){He(t);const s=Z();return Xd(s.inboxListService.selectAll,r)||(s.inboxListService.selectAll=r),$e(r)}),De("ngModelChange",function(r){return He(t),$e(Z().inboxListService.selectAllChanged(r))}),z(),G(7,"label",15)(8,"span",16),he(9,"Select all messages"),z()()()(),G(10,"div",17),Ce(11,xX,2,0,"h1",18)(12,PX,2,0,"label",19),z()(),G(13,"div",20)(14,"div",21)(15,"div",22)(16,"button",23),De("click",function(){return He(t),$e(Z().inboxListService.inboxMessagesSetArchived())}),wt(17,"span",24),G(18,"span",25),he(19),z()()(),G(20,"div",26)(21,"select",27),xc("ngModelChange",function(r){He(t);const s=Z();return Xd(s.inboxListService.selectedSiteFilter,r)||(s.inboxListService.selectedSiteFilter=r),$e(r)}),De("ngModelChange",function(){return He(t),$e(Z().inboxListService.siteFilterChanged())}),Ce(22,FX,2,2,"option",28),z()(),G(23,"div",29)(24,"select",30),xc("ngModelChange",function(r){He(t);const s=Z();return Xd(s.inboxListService.selectedFilter,r)||(s.inboxListService.selectedFilter=r),$e(r)}),De("ngModelChange",function(){return He(t),$e(Z().inboxListService.filterChanged())}),Ce(25,kX,2,2,"option",28),z()()()()(),Ce(26,LX,3,0,"div",18),G(27,"div"),Ce(28,$X,6,1,"div",31),wt(29,"hr"),G(30,"ngb-pagination",32),xc("pageChange",function(r){He(t);const s=Z();return Xd(s.inboxListService.currentPage,r)||(s.inboxListService.currentPage=r),$e(r)}),De("pageChange",function(r){return He(t),$e(Z().inboxListService.pageChanged(r))}),z()()()()}if(2&e){const t=Z();V(6),Rc("ngModel",t.inboxListService.selectAll),V(5),ne("ngIf",""==t.employerFolderName),V(),ne("ngIf",""!=t.employerFolderName),V(4),ne("disabled",!t.inboxListService.areAnyMessagesSelected()),Ye("aria-label",t.inboxListService.getArchiveButtonText()+" selected messages"),V(3),Qt(t.inboxListService.getArchiveButtonText()),V(),ne("hidden",t.inboxListService.isSiteFilterHidden),V(),Rc("ngModel",t.inboxListService.selectedSiteFilter),V(),ne("ngForOf",t.inboxListService.siteFilters),V(2),Rc("ngModel",t.inboxListService.selectedFilter),V(),ne("ngForOf",t.inboxListService.filters),V(),ne("ngIf",t.inboxListService.isDataLoading),V(2),ne("ngIf",t.inboxListService.messages&&!t.inboxListService.isDataLoading),V(2),ne("collectionSize",t.inboxListService.selectedFilter.count),Rc("page",t.inboxListService.currentPage),ne("pageSize",10)("maxSize",9)("rotate",!0)("boundaryLinks",!0)("ellipses",!1)}}let GX=(()=>{class e{inboxList;$http;inboxListService;employerFolderName="";constructor(t,i){this.inboxList=t,this.$http=i,this.inboxListService=this.inboxList,this.employerFolderName=window.agencyFolderName,this.$http.get("/api/authenticate/isLoggedIn").subscribe(r=>{r?this.inboxListService.init():["angularLoginEvent","angularRegisterEvent"].forEach(s=>document.addEventListener(s,()=>{this.inboxListService.init()}))})}static \u0275fac=function(i){return new(i||e)($(DS),$(Ab))};static \u0275cmp=Yn({type:e,selectors:[["app-inbox-message-list-component"]],decls:5,vars:2,consts:[["toolTip",""],["inboxtoolTip",""],["id","inbox-page"],["class","mobile-navigation",4,"ngIf"],["class","inbox-container row",4,"ngIf"],[1,"view-side-form"],[1,"mobile-navigation"],[1,"btn","btn-link",3,"click","disabled"],[1,"inbox-container","row"],[1,"shade-container","col-md-12"],[1,"inbox-header"],[1,"inbox-title"],[1,"select-all"],[1,"container-mark"],["type","checkbox","name","select-all-messages","id","select-all",3,"ngModelChange","ngModel"],["for","select-all"],[1,"sr-only"],[1,"title-label"],[4,"ngIf"],["id","career-inbox-header",4,"ngIf"],[1,"field-container","tab-pane","ml-auto",2,"display","flex"],[1,"inner-field-container"],[1,"control-container","archive-btn"],[1,"btn","btn-gjobs-primary",3,"click","disabled"],[1,"icon","icon-folder-open"],[1,"text"],[1,"control-container",3,"hidden"],["aria-label","sites filter",3,"ngModelChange","ngModel"],[3,"ngValue",4,"ngFor","ngForOf"],[1,"control-container"],["aria-label","messages filter",3,"ngModelChange","ngModel"],["class","messages-container",4,"ngIf"],[3,"pageChange","collectionSize","page","pageSize","maxSize","rotate","boundaryLinks","ellipses"],["id","career-inbox-header"],[3,"ngValue"],["id","onlineapp-loading-spinner","tabindex","0","aria-hidden","true",1,"default"],["src","/Content/Images/Indicators/load-drawer.gif","alt","Loading ..."],[1,"messages-container"],[1,"sr-only","legend"],["class","d-flex message-row",4,"ngFor","ngForOf"],[1,"d-flex","message-row"],["type","checkbox","name","checked-message",3,"ngModelChange","ngModel"],["tabindex","0","triggers","hover focus:blur",1,"flag-left","flag-icon",3,"keypress","placement","ngbTooltip"],["role","button",1,"ss-flag","ss-standard",3,"click","ngClass"],[1,"message","clearfix","flex-column","flex-md-row",3,"ngClass"],[1,"subject-container"],["tabindex","-1",1,"subject"],[1,"organzation-info"],["tabindex","-1",1,"employer"],["tabindex","-1",1,"state"],[1,"content-container"],[1,"paperclip-holder"],["class","icon icon-sm icon-paperclip d-sm-block",4,"ngIf"],["role","link","triggers","hover focus:blur","tabindex","0",1,"message-body",3,"click","keypress","ngbTooltip"],[1,"inbox-date-container"],["tabindex","-1"],[1,"icon","icon-sm","icon-paperclip","d-sm-block"]],template:function(i,r){1&i&&(G(0,"div",2),Ce(1,RX,5,4,"div",3)(2,UX,31,20,"div",4),z(),G(3,"div",5),wt(4,"router-outlet"),z()),2&i&&(V(),ne("ngIf",r.inboxListService.areAnyMessagesSelected()),V(),ne("ngIf",r.inboxListService.loggedIn))},dependencies:[GE,zE,WE,_b,vB,TB,Jk,Zk,TS,zb,Tk,GS,YE],styles:[".message-row[_ngcontent-%COMP%]{width:100%}.message-row[_ngcontent-%COMP%]   .checkbox-container[_ngcontent-%COMP%]{top:-14px;position:relative}.message-row[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{align-self:center}.message-row[_ngcontent-%COMP%]   .message[_ngcontent-%COMP%]{flex:1;min-width:0;display:flex;width:100%;margin-left:0}.message-row[_ngcontent-%COMP%]   .message[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{align-self:center}.message-row[_ngcontent-%COMP%]   .message[_ngcontent-%COMP%]   .subject-container[_ngcontent-%COMP%]{width:210px;padding-left:10px;padding-right:10px;margin-right:10px}.message-row[_ngcontent-%COMP%]   .message[_ngcontent-%COMP%]   .content-container[_ngcontent-%COMP%]{display:flex;flex:1;min-width:0}.message-row[_ngcontent-%COMP%]   .message[_ngcontent-%COMP%]   .content-container[_ngcontent-%COMP%]   .paperclip-holder[_ngcontent-%COMP%]{width:14px;margin-right:2px;align-self:center}.message-row[_ngcontent-%COMP%]   .message[_ngcontent-%COMP%]   .content-container[_ngcontent-%COMP%]   .message-body[_ngcontent-%COMP%]{flex:1}.message-row[_ngcontent-%COMP%]   .message[_ngcontent-%COMP%]   .inbox-date-container[_ngcontent-%COMP%]{margin-left:10px}"],data:{animation:[Ax("fadeInAnimation",[uC(":enter",[ml({opacity:0}),cC("500ms",ml({opacity:1}))])])]}})}return e})();const zX=Ax("slideInOutAnimation",[function e4(e,n,t){return{type:Se.State,name:e,styles:n,options:t}}("*",ml({position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(0, 0, 0, 0.5)",zIndex:3})),uC(":enter",[ml({right:"-100%",backgroundColor:"rgba(0, 0, 0, 0)"}),cC(".5s ease-in-out",ml({right:0,backgroundColor:"rgba(0, 0, 0, 0.5)"}))]),uC(":leave",[cC(".5s ease-in-out",ml({right:"-100%",backgroundColor:"rgba(0, 0, 0, 0)"}))])]);let WX=(()=>{class e{sanitized;constructor(t){this.sanitized=t}transform(t){return this.sanitized.bypassSecurityTrustHtml(t)}static \u0275fac=function(i){return new(i||e)($(Nx,16))};static \u0275pipe=On({name:"safeHtml",type:e,pure:!0})}return e})();const qX=e=>({"keep-space":e});function JX(e,n){1&e&&(G(0,"div",6)(1,"div",7),wt(2,"img",8),z()())}function YX(e,n){if(1&e){const t=ui();G(0,"button",30),De("click",function(){return He(t),$e(Z(2).goBack())}),z()}2&e&&(Z(),ne("ngbTooltip",Ii(19)))}function ZX(e,n){if(1&e){const t=ui();G(0,"button",31),De("click",function(){return He(t),$e(Z(2).goForward())}),z()}2&e&&(Z(),ne("ngbTooltip",Ii(23)))}function QX(e,n){1&e&&(he(0,"Previous"),wt(1,"br"),he(2,"message"))}function XX(e,n){1&e&&(he(0,"Next"),wt(1,"br"),he(2,"message"))}function KX(e,n){if(1&e&&(G(0,"span"),he(1),z()),2&e){const t=Z(4);V(),er("",t.message.userFullName," (")}}function eK(e,n){1&e&&(G(0,"span"),he(1,")"),z())}function tK(e,n){if(1&e&&(G(0,"div",55)(1,"span"),he(2,"To: "),z(),Ce(3,KX,2,1,"span",50),G(4,"span"),he(5),z(),Ce(6,eK,2,0,"span",50),z()),2&e){const t=Z(3);V(3),ne("ngIf",t.message.shouldShowReceiverFullName),V(2),Qt(t.message.userEmailAddress),V(),ne("ngIf",t.message.shouldShowReceiverFullName)}}function nK(e,n){if(1&e&&(G(0,"span"),he(1),z()),2&e){const t=Z(3);V(),er("",t.message.employerFullName," (")}}function iK(e,n){if(1&e&&(G(0,"span"),he(1),z()),2&e){const t=Z(3);V(),Qt(t.message.email)}}function rK(e,n){1&e&&(G(0,"span"),he(1,")"),z())}function sK(e,n){if(1&e&&(G(0,"div",59)(1,"a",60)(2,"span",61),wt(3,"i",62),he(4),z()()()),2&e){const t=n.$implicit,i=Z(4);V(),ne("href","/api/attachments/downloadAttachmentForInboxMessage?attachmentId="+t.id+"&messageId="+i.message.id+"&messageSource="+i.message.source,bc),Ye("aria-label","Download attachment "+t.fileName),V(3),er(" ",t.fileName,"")}}function oK(e,n){if(1&e&&(G(0,"div",56)(1,"div",57)(2,"span"),he(3,"Attachments:"),z()(),Ce(4,sK,5,3,"div",58),z()),2&e){const t=Z(3);V(4),ne("ngForOf",t.message.attachments)}}function aK(e,n){if(1&e&&(G(0,"div",32)(1,"div",9)(2,"div",33)(3,"div",34),wt(4,"div",35),z()(),G(5,"div",36)(6,"div",37)(7,"div",38)(8,"div",39)(9,"div",40)(10,"div")(11,"div",41)(12,"h1",42),he(13),z()(),G(14,"div",41)(15,"h2",43),he(16),z()(),G(17,"div",44)(18,"span"),he(19),z()(),G(20,"div",45)(21,"div",46),Ce(22,tK,7,3,"div",47),G(23,"div",48)(24,"div",49)(25,"span"),he(26,"From: "),z(),Ce(27,nK,2,1,"span",50)(28,iK,2,1,"span",50)(29,rK,2,0,"span",50),z(),G(30,"div",51)(31,"span",52),he(32),Pc(33,"date"),z(),he(34," at "),G(35,"span",52),he(36),Pc(37,"date"),z()()()()(),wt(38,"hr")(39,"div",53),Pc(40,"safeHtml"),wt(41,"hr"),Ce(42,oK,5,1,"div",54),z()()()()()()()()),2&e){const t=Z(2);V(13),Qt(t.message.subjectLine),V(3),Qt(t.message.subjectLine),V(3),Qt(t.message.organization),V(3),ne("ngIf",t.message.shouldShowReceiverFullName||t.message.userEmailAddress),V(5),ne("ngIf",t.message.employerFullName),V(),ne("ngIf",t.message.email),V(),ne("ngIf",t.message.employerFullName),V(3),Qt(Kd(33,12,t.inboxListService.getLocalDateTimeSent(t.message.utcDateTimeSent),"MM/dd/yyyy")),V(4),Qt(Kd(37,15,t.inboxListService.getLocalDateTimeSent(t.message.utcDateTimeSent),"shortTime")),V(3),ne("innerHtml",function vO(e,n,t){const i=e+se,r=P(),s=Qs(r,i);return hg(r,i)?hO(r,kn(),n,s.transform,t,s):s.transform(t)}(40,18,t.modifyAnchors(t.message.body)),pv)("ngClass",hl(20,qX,!t.isMessageBodyHtml(t.message.body))),V(3),ne("ngIf",t.message.hasAttachments)}}function lK(e,n){if(1&e){const t=ui();G(0,"div",9)(1,"div",10),he(2,"On enter press new tab will be opened"),z(),G(3,"div")(4,"button",11),De("click",function(){return He(t),$e(Z().close())}),G(5,"span",12),he(6,"Screen reader span"),z()(),G(7,"div",13)(8,"a",14),wt(9,"i",15),G(10,"span"),he(11,"Print"),z()(),Ce(12,YX,1,1,"button",16)(13,ZX,1,1,"button",17),z(),G(14,"h1",18),he(15),z()(),G(16,"div",19)(17,"div",20),Ce(18,QX,3,0,"ng-template",null,0,tr),G(20,"button",21),De("click",function(){return He(t),$e(Z().goBack())}),wt(21,"i",22),z(),Ce(22,XX,3,0,"ng-template",null,1,tr),G(24,"button",23),De("click",function(){return He(t),$e(Z().goForward())}),wt(25,"i",24),z()(),G(26,"div",25),wt(27,"a",26),z(),G(28,"button",27),De("click",function(){return He(t),$e(Z().close())}),G(29,"span",28),he(30,"Close"),z()()(),Ce(31,aK,43,22,"div",29),z()}if(2&e){const t=Ii(19),i=Ii(23),r=Z();V(3),dl(r.inboxListService.headerClass),V(5),ne("href","/inbox/PrintMessageDetails/"+r.message.id+"/"+r.message.source+"/"+r.getTimeZoneOffset(),bc),V(4),ne("ngIf",r.canGoBack()),V(),ne("ngIf",r.canGoForward()),V(2),er(" ",r.message.subjectLine," "),V(5),ne("disabled",!r.canGoBack())("ngbTooltip",t),V(4),ne("disabled",!r.canGoForward())("ngbTooltip",i),V(3),ne("href","/inbox/PrintMessageDetails/"+r.message.id+"/"+r.message.source+"/"+r.getTimeZoneOffset(),bc),V(4),ne("ngIf",r.message)}}const cK=[{path:"",component:GX,children:[{path:"messageDetails/:messageId/:messageSource",component:(()=>{class e{router;route;$http;inboxList;screenReaderService;focusService;componentContainerElement;titleService;tabIndexService;areaInfoService;messageId;messageSource;filterId;message;oldTitle;previouslyFocusedElement;subscription;inboxListService;constructor(t,i,r,s,o,l,u,d,h,p){this.router=t,this.route=i,this.$http=r,this.inboxList=s,this.screenReaderService=o,this.focusService=l,this.componentContainerElement=u,this.titleService=d,this.tabIndexService=h,this.areaInfoService=p,this.subscription=this.route.params.subscribe(()=>{null==this.previouslyFocusedElement&&(this.previouslyFocusedElement=document.activeElement),this.focusService.removeFocus(),this.messageId=this.route.snapshot.params.messageId,this.messageSource=this.route.snapshot.params.messageSource,this.oldTitle=this.titleService.getTitle(),this.titleService.setTitle("Inbox - Message Details"),this.inboxListService=this.inboxList,this.init()})}returnFocus=()=>(this.previouslyFocusedElement&&this.previouslyFocusedElement.focus(),!0);canGoBack=()=>this.inboxListService.canGoBack(this.messageId,this.messageSource);goBack=()=>{this.message=null,this.inboxListService.goBack(this.messageId,this.messageSource)};canGoForward=()=>this.inboxListService.canGoForward(this.messageId,this.messageSource);goForward=()=>{this.message=null,this.inboxListService.goForward(this.messageId,this.messageSource)};close=()=>{this.areaInfoService.getCurrentArea()!==Yc.CareerPages&&this.tabIndexService.restoreTabIndex(),this.screenReaderService.setAriaHidden(!1),this.screenReaderService.readAssertiveNotification("Flyout has been closed"),this.router.navigate(["../"]),this.titleService.setTitle(this.oldTitle);var t=document.getElementById("angular-last-focusable-element");t&&t.remove();var i=document.getElementById("sjobs-footer-container");i&&(i.style.display="block");var r=document.getElementById("footer-container");r&&(r.style.display="block")};isMessageBodyHtml=t=>(new DOMParser).parseFromString(t,"text/html").getElementsByTagName("br").length>0;modifyAnchors=t=>{const r=(new DOMParser).parseFromString(t,"text/html"),s=r.getElementsByTagName("a");for(let o=0;o<s.length;o++){const l=s.item(o);if("apply-incomplete-application-link"===l.id){const u=l.href,d="/careers/",h=window.location.href.includes(d),p=u.includes(d);!h&&p?l.href=l.getAttribute("data-gjobs-href"):h&&!p&&(l.href=l.getAttribute("data-schooljobs-href"))}l.href&&(l.href.includes("/emailpreferences/jobapplication/")||l.href.includes("/talentsearch/preferences/"))&&l.setAttribute("target","_new")}return r.body.innerHTML};getTimeZoneOffset=()=>6e4*(new Date).getTimezoneOffset();init=()=>{this.$http.get("/api/Inbox/GetInboxMessageDetails",{params:(new Os).set("messageId",this.messageId).set("messageSource",this.messageSource).set("employerFolderName",window.agencyFolderName)}).subscribe(t=>{this.message=t,this.screenReaderService.setAriaHidden(!0),this.screenReaderService.readAssertiveNotification("Message has been loaded"),this.areaInfoService.getCurrentArea()!==Yc.CareerPages&&this.tabIndexService.disableTabIndex();var i=document.getElementById("sjobs-footer-container");i&&(i.style.display="none");var r=document.getElementById("footer-container");r&&(r.style.display="none")},t=>{this.close()})};handleKeyDown=t=>{switch(t.keyCode){case Jc.Tab:let i=this.areaInfoService.getCurrentArea()!==Yc.CareerPages;this.focusService.containFocus(this.componentContainerElement,i,t);break;case Jc.Escape:this.close()}};static \u0275fac=function(i){return new(i||e)($(Kr),$(Dl),$(Ab),$(DS),$(yS),$(bS),$(et),$(Tx),$(YF),$(ZF))};static \u0275cmp=Yn({type:e,selectors:[["app-inbox-message-details"]],hostVars:1,hostBindings:function(i,r){1&i&&De("keydown",function(o){return r.handleKeyDown(o)},0,wv),2&i&&Zw("@slideInOutAnimation",void 0)},decls:4,vars:2,consts:[["previousMessageTooltip",""],["nextMessageTooltip",""],[1,"side-form-backdrop",3,"click"],[1,"side-form","flyout-window","inbox-message-view-page","active"],["class","flyout-spinner-container",4,"ngIf"],["class","display-table",4,"ngIf"],[1,"flyout-spinner-container"],["tabindex","0","aria-hidden","true",1,"flyout-spinner-inner-container"],["src","/Content/Images/Indicators/load-drawer.gif","alt","Loading ..."],[1,"display-table"],["id","print-description",1,"hide"],["type","button","role","button","aria-label","Close","placement","right","ngbTooltip","Close","triggers","hover focus:blur",1,"close","ss-delete",3,"click"],[1,"hide"],[1,"pull-right","navigate-buttons"],["target","_blank","aria-label","Print","aria-describedby","print-description","rel","noopener",1,"print-button","pull-right",3,"href"],[1,"ss-standard","ss-print"],["type","button","class","navigate-up ss-navigateup","placement","left","triggers","hover focus:blur","aria-label","Previous Message",3,"ngbTooltip","click",4,"ngIf"],["type","button","class","navigate-down ss-navigatedown","placement","left","triggers","hover focus:blur","data-container","body","aria-label","Next Message",3,"ngbTooltip","click",4,"ngIf"],[1,"flyout-window-header-title"],[1,"flyout-header","career-header"],[1,"navigation-links"],["aria-label","Previous message","placement","bottom","triggers","hover focus:blur",1,"btn","btn-link","prev-posting",3,"click","disabled","ngbTooltip"],[1,"icon","icon-xs","icon-chevron-left"],["aria-label","Next message","placement","bottom","triggers","hover focus:blur",1,"btn","btn-link","next-posting",3,"click","disabled","ngbTooltip"],[1,"icon","icon-xs","icon-chevron-right"],[1,"header-buttons"],["target","_blank","rel","noopener noreferrer","aria-label","Print","aria-describedby","print-description","placement","bottom","ngbTooltip","Print","triggers","hover focus:blur",1,"icon","icon-xs","icon-printer","print-button","popover-trigger",3,"href"],["type","button","role","button","aria-label","Close","placement","bottom","ngbTooltip","Close","triggers","hover focus:blur",1,"close-button","ss-delete",3,"click"],[1,"hide","symbol-label"],["class","flyout-window-body",4,"ngIf"],["type","button","placement","left","triggers","hover focus:blur","aria-label","Previous Message",1,"navigate-up","ss-navigateup",3,"click","ngbTooltip"],["type","button","placement","left","triggers","hover focus:blur","data-container","body","aria-label","Next Message",1,"navigate-down","ss-navigatedown",3,"click","ngbTooltip"],[1,"flyout-window-body"],[1,"content-header","pull-right"],[1,"share","pull-right","additional-content-container"],[1,"additional-content"],[1,"display-table-row"],[1,"position-relative-maximized"],[1,"flyout-scroll-view","single-view","position-absolute-maximized"],[1,"inbox-message-container"],[1,"message-details"],[1,"job-title"],[1,"careers-job-title"],[1,"gjobs-job-title"],[1,"organization"],[1,"details"],[1,"names"],["class","receiver",4,"ngIf"],[1,"sender"],[1,"pull-left"],[4,"ngIf"],[1,"timestamp","pull-right"],[1,"date"],["id","inbox-message-body","tabindex","0",1,"body",3,"innerHtml","ngClass"],["class","attachments",4,"ngIf"],[1,"receiver"],[1,"attachments"],[1,"attachment-title"],["class","attachment span3",4,"ngFor","ngForOf"],[1,"attachment","span3"],[3,"href"],[1,"attachment-text"],[1,"icon","icon-sm","icon-files"]],template:function(i,r){1&i&&(G(0,"div",2),De("click",function(){return r.close()}),z(),G(1,"div",3),Ce(2,JX,3,0,"div",4)(3,lK,32,12,"div",5),z()),2&i&&(V(2),ne("ngIf",!r.message),V(),ne("ngIf",r.message))},dependencies:[GE,zE,WE,TB,YE,WX],styles:[".side-form-backdrop[_ngcontent-%COMP%]{position:absolute;inset:0;background-color:#000;opacity:0}.inbox-message-view-page[_ngcontent-%COMP%]{z-index:0}.inbox-message-view-page[_ngcontent-%COMP%]   .flyout-spinner-container[_ngcontent-%COMP%]{width:100%;height:100%;text-align:center;display:table}.inbox-message-view-page[_ngcontent-%COMP%]   .flyout-spinner-container[_ngcontent-%COMP%]   .flyout-spinner-inner-container[_ngcontent-%COMP%]{display:table-cell;vertical-align:middle}.inbox-message-view-page[_ngcontent-%COMP%]   .career-header.flyout-header[_ngcontent-%COMP%]{height:60px;padding:17px 15px 20px 22px}.inbox-message-view-page[_ngcontent-%COMP%]   .career-header.flyout-header[_ngcontent-%COMP%]   .support-link-container[_ngcontent-%COMP%]{display:none}.inbox-message-view-page[_ngcontent-%COMP%]   .career-header.flyout-header[_ngcontent-%COMP%]   .navigation-links[_ngcontent-%COMP%]{float:left}.inbox-message-view-page[_ngcontent-%COMP%]   .career-header.flyout-header[_ngcontent-%COMP%]   .navigation-links[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{font-size:28px;color:#6d6c69;padding:0;line-height:1;cursor:pointer;border-bottom:2px solid transparent}.inbox-message-view-page[_ngcontent-%COMP%]   .career-header.flyout-header[_ngcontent-%COMP%]   .navigation-links[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]   .icon[_ngcontent-%COMP%]{font-size:inherit}.inbox-message-view-page[_ngcontent-%COMP%]   .career-header.flyout-header[_ngcontent-%COMP%]   .navigation-links[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:hover{border-bottom-color:#6d6c69}.inbox-message-view-page[_ngcontent-%COMP%]   .career-header.flyout-header[_ngcontent-%COMP%]   .navigation-links[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:disabled{opacity:.4;pointer-events:none}.inbox-message-view-page[_ngcontent-%COMP%]   .career-header.flyout-header[_ngcontent-%COMP%]   .navigation-links[_ngcontent-%COMP%]   button.prev-posting[_ngcontent-%COMP%]{margin-right:10px}.inbox-message-view-page[_ngcontent-%COMP%]   .career-header.flyout-header[_ngcontent-%COMP%]   .navigation-links[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:before{color:#6d6c69}.inbox-message-view-page[_ngcontent-%COMP%]   .career-header.flyout-header[_ngcontent-%COMP%]   .header-buttons[_ngcontent-%COMP%]{display:block;margin:0 20px 0 85px}.inbox-message-view-page[_ngcontent-%COMP%]   .career-header.flyout-header[_ngcontent-%COMP%]   .header-buttons[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-size:19px;min-width:40px;min-height:40px;margin-right:10px;margin-top:3px;padding-bottom:6px;text-align:center;color:#6d6c69}.inbox-message-view-page[_ngcontent-%COMP%]   .career-header.flyout-header[_ngcontent-%COMP%]   .header-buttons[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:before{color:#6d6c69}.inbox-message-view-page[_ngcontent-%COMP%]   .career-header.flyout-header[_ngcontent-%COMP%]   .header-buttons[_ngcontent-%COMP%]   a.share-button[_ngcontent-%COMP%]:before{position:relative;top:-1px}.inbox-message-view-page[_ngcontent-%COMP%]   .career-header.flyout-header[_ngcontent-%COMP%]   .header-buttons[_ngcontent-%COMP%]   .flyout-switch-button[_ngcontent-%COMP%]{height:36px;min-width:90px;padding:11px 10px;text-transform:uppercase;font-size:15px;letter-spacing:1px;font-family:Nunito Sans;margin-right:24px;margin-top:-6px;float:right;font-weight:600}.inbox-message-view-page[_ngcontent-%COMP%]   .career-header.flyout-header[_ngcontent-%COMP%]   .header-buttons[_ngcontent-%COMP%]   div.popover.fade[_ngcontent-%COMP%]{margin-top:-18px}.inbox-message-view-page[_ngcontent-%COMP%]   .career-header.flyout-header[_ngcontent-%COMP%]   .header-buttons[_ngcontent-%COMP%]   div.popover.fade.in[_ngcontent-%COMP%]{margin-top:-8px}.inbox-message-view-page[_ngcontent-%COMP%]   .career-header.flyout-header[_ngcontent-%COMP%]   .close-button[_ngcontent-%COMP%]{display:block;position:absolute;top:16px;right:16px;background:none;border:none;padding:0;color:#6d6c69;cursor:pointer}.inbox-message-view-page[_ngcontent-%COMP%]   .career-header.flyout-header[_ngcontent-%COMP%]   .close-button[_ngcontent-%COMP%]:before{font-size:36px}"],data:{animation:[zX]}})}return e})(),canDeactivate:[JF]}]}];let uK=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=qe({type:e});static \u0275inj=We({imports:[yF.forRoot(cK),yF]})}return e})(),dK=(()=>{class e{ANTIFORGERY_ID="__RequestVerificationToken";API_URL_PREFIXES=["/api/","/user/"];inputSelector='input[name="'+this.ANTIFORGERY_ID+'"]';isMethodCsrfSafe=t=>/^(GET|HEAD|OPTIONS|TRACE)$/.test(t);isUrlSafe=function(t){for(let i=0;i<this.API_URL_PREFIXES.length;i++)if(0===t.indexOf(this.API_URL_PREFIXES[i]))return!1;return!0};extractAntiForgeryToken=function(){return!document.querySelector(this.inputSelector)||Rb.isFunction(!document.querySelector(this.inputSelector))?null:document.querySelector(this.inputSelector).getAttribute("value")};intercept(t,i){if(!this.isMethodCsrfSafe(t.method)&&t.url&&!this.isUrlSafe(t.url)){const r=this.extractAntiForgeryToken();if(!r)return i.handle(t);const s={};s[this.ANTIFORGERY_ID]=r,t=t.clone({setHeaders:s})}return i.handle(t)}static \u0275fac=function(i){return new(i||e)};static \u0275prov=U({token:e,factory:e.\u0275fac})}return e})(),fK=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=qe({type:e,bootstrap:[l9]});static \u0275inj=We({providers:[DS,yS,JF,bS,YF,ZF,{provide:xE,useValue:window.appBaseHref},{provide:OF,useClass:dK,multi:!0},F9(k9())],imports:[Sx,uK,NX,C7,qz]})}return e})();q5().bootstrapModule(fK).catch(e=>console.error(e))},7376:function(rs,ia,xf){var ra;rs=xf.nmd(rs),function(){var E,me="Expected a function",Ff="__lodash_hash_undefined__",Io="__lodash_placeholder__",Vs=1/0,os=9007199254740991,Or=4294967295,bm=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],oa="[object Arguments]",Bf="[object Array]",Rl="[object Boolean]",fu="[object Date]",hu="[object Error]",Vf="[object Function]",aa="[object GeneratorFunction]",mi="[object Map]",zn="[object Number]",Pi="[object Object]",as="[object Promise]",pu="[object RegExp]",ri="[object Set]",nt="[object String]",xl="[object Symbol]",mu="[object WeakMap]",ca="[object ArrayBuffer]",ua="[object DataView]",jf="[object Float32Array]",Ro="[object Float64Array]",da="[object Int8Array]",$f="[object Int16Array]",_u="[object Int32Array]",dt="[object Uint8Array]",vu="[object Uint8ClampedArray]",wm="[object Uint16Array]",Hs="[object Uint32Array]",g0=/\b__p \+= '';/g,Em=/\b(__p \+=) '' \+/g,ft=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Uf=/&(?:amp|lt|gt|quot|#39);/g,_i=/[&<>"']/g,xe=RegExp(Uf.source),m0=RegExp(_i.source),_0=/<%-([\s\S]+?)%>/g,AT=/<%([\s\S]+?)%>/g,Gf=/<%=([\s\S]+?)%>/g,R=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,fa=/^\w*$/,yu=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,bu=/[\\^$.*+?()[\]{}|]/g,OT=RegExp(bu.source),Cm=/^\s+/,Sm=/\s/,ls=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ha=/\{\n\/\* \[wrapped with (.+)\] \*/,pa=/,? & /,ga=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Tm=/[()=,{}\[\]\/\s]/,zf=/\\(\\)?/g,ma=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,v0=/\w*$/,Ct=/^[-+]0x[0-9a-f]+$/i,RT=/^0b[01]+$/i,xT=/^\[object .+?Constructor\]$/,at=/^0o[0-7]+$/i,y0=/^(?:0|[1-9]\d*)$/,Xt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,_a=/($^)/,PT=/['\n\r\u2028\u2029\\]/g,Du="\\ud800-\\udfff",si="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",b0="\\u2700-\\u27bf",Mm="a-z\\xdf-\\xf6\\xf8-\\xff",D0="A-Z\\xc0-\\xd6\\xd8-\\xde",w0="\\ufe0e\\ufe0f",Im="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",E0="["+Du+"]",C0="["+Im+"]",In="["+si+"]",de="\\d+",BT="["+b0+"]",S0="["+Mm+"]",T0="[^"+Du+Im+de+b0+Mm+D0+"]",Am="\\ud83c[\\udffb-\\udfff]",U="[^"+Du+"]",Om="(?:\\ud83c[\\udde6-\\uddff]){2}",We="[\\ud800-\\udbff][\\udc00-\\udfff]",cs="["+D0+"]",Wf="(?:"+S0+"|"+T0+")",M0="(?:"+cs+"|"+T0+")",Pl="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",Fl="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",Eu="(?:"+In+"|"+Am+")?",qf="["+w0+"]?",Cu=qf+Eu+"(?:\\u200d(?:"+[U,Om,We].join("|")+")"+qf+Eu+")*",xm="(?:"+[BT,Om,We].join("|")+")"+Cu,Yf="(?:"+[U+In+"?",In,Om,We,E0].join("|")+")",N0=RegExp("['\u2019]","g"),Zf=RegExp(In,"g"),Pm=RegExp(Am+"(?="+Am+")|"+Yf+Cu,"g"),HT=RegExp([cs+"?"+S0+"+"+Pl+"(?="+[C0,cs,"$"].join("|")+")",M0+"+"+Fl+"(?="+[C0,cs+Wf,"$"].join("|")+")",cs+"?"+Wf+"+"+Pl,cs+"+"+Fl,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",de,xm].join("|"),"g"),jT=RegExp("[\\u200d"+Du+si+w0+"]"),$T=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Qf=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],kl=-1,gt={};gt[jf]=gt[Ro]=gt[da]=gt[$f]=gt[_u]=gt[dt]=gt[vu]=gt[wm]=gt[Hs]=!0,gt[oa]=gt[Bf]=gt[ca]=gt[Rl]=gt[ua]=gt[fu]=gt[hu]=gt[Vf]=gt[mi]=gt[zn]=gt[Pi]=gt[pu]=gt[ri]=gt[nt]=gt[mu]=!1;var ht={};ht[oa]=ht[Bf]=ht[ca]=ht[ua]=ht[Rl]=ht[fu]=ht[jf]=ht[Ro]=ht[da]=ht[$f]=ht[_u]=ht[mi]=ht[zn]=ht[Pi]=ht[pu]=ht[ri]=ht[nt]=ht[xl]=ht[dt]=ht[vu]=ht[wm]=ht[Hs]=!0,ht[hu]=ht[Vf]=ht[mu]=!1;var km={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Te=parseFloat,Ze=parseInt,A0="object"==typeof global&&global&&global.Object===Object&&global,O0="object"==typeof self&&self&&self.Object===Object&&self,gn=A0||O0||Function("return this")(),R0=ia&&!ia.nodeType&&ia,Bl=R0&&rs&&!rs.nodeType&&rs,Su=Bl&&Bl.exports===R0,Pe=Su&&A0.process,oi=function(){try{return Bl&&Bl.require&&Bl.require("util").types||Pe&&Pe.binding&&Pe.binding("util")}catch{}}(),Xf=oi&&oi.isArrayBuffer,Wn=oi&&oi.isDate,Kf=oi&&oi.isMap,x0=oi&&oi.isRegExp,P0=oi&&oi.isSet,va=oi&&oi.isTypedArray;function qn(N,F,x){switch(x.length){case 0:return N.call(F);case 1:return N.call(F,x[0]);case 2:return N.call(F,x[0],x[1]);case 3:return N.call(F,x[0],x[1],x[2])}return N.apply(F,x)}function Tu(N,F,x,te){for(var Me=-1,Xe=null==N?0:N.length;++Me<Xe;){var Kt=N[Me];F(te,Kt,x(Kt),N)}return te}function Fi(N,F){for(var x=-1,te=null==N?0:N.length;++x<te&&!1!==F(N[x],x,N););return N}function F0(N,F){for(var x=null==N?0:N.length;x--&&!1!==F(N[x],x,N););return N}function Lm(N,F){for(var x=-1,te=null==N?0:N.length;++x<te;)if(!F(N[x],x,N))return!1;return!0}function ds(N,F){for(var x=-1,te=null==N?0:N.length,Me=0,Xe=[];++x<te;){var Kt=N[x];F(Kt,x,N)&&(Xe[Me++]=Kt)}return Xe}function fs(N,F){return!(null==N||!N.length)&&ya(N,F,0)>-1}function eh(N,F,x){for(var te=-1,Me=null==N?0:N.length;++te<Me;)if(x(F,N[te]))return!0;return!1}function Qe(N,F){for(var x=-1,te=null==N?0:N.length,Me=Array(te);++x<te;)Me[x]=F(N[x],x,N);return Me}function $s(N,F){for(var x=-1,te=F.length,Me=N.length;++x<te;)N[Me+x]=F[x];return N}function ee(N,F,x,te){var Me=-1,Xe=null==N?0:N.length;for(te&&Xe&&(x=N[++Me]);++Me<Xe;)x=F(x,N[Me],Me,N);return x}function Bm(N,F,x,te){var Me=null==N?0:N.length;for(te&&Me&&(x=N[--Me]);Me--;)x=F(x,N[Me],Me,N);return x}function S(N,F){for(var x=-1,te=null==N?0:N.length;++x<te;)if(F(N[x],x,N))return!0;return!1}var Mu=ba("length");function Vm(N,F,x){var te;return x(N,function(Me,Xe,Kt){if(F(Me,Xe,Kt))return te=Xe,!1}),te}function Iu(N,F,x,te){for(var Me=N.length,Xe=x+(te?1:-1);te?Xe--:++Xe<Me;)if(F(N[Xe],Xe,N))return Xe;return-1}function ya(N,F,x){return F==F?function zs(N,F,x){for(var te=x-1,Me=N.length;++te<Me;)if(N[te]===F)return te;return-1}(N,F,x):Iu(N,Hl,x)}function k0(N,F,x,te){for(var Me=x-1,Xe=N.length;++Me<Xe;)if(te(N[Me],F))return Me;return-1}function Hl(N){return N!=N}function Hm(N,F){var x=null==N?0:N.length;return x?Nn(N,F)/x:NaN}function ba(N){return function(F){return null==F?E:F[N]}}function nh(N){return function(F){return null==N?E:N[F]}}function Us(N,F,x,te,Me){return Me(N,function(Xe,Kt,mt){x=te?(te=!1,Xe):F(x,Xe,Kt,mt)}),x}function Nn(N,F){for(var x,te=-1,Me=N.length;++te<Me;){var Xe=F(N[te]);Xe!==E&&(x=x===E?Xe:x+Xe)}return x}function Gs(N,F){for(var x=-1,te=Array(N);++x<N;)te[x]=F(x);return te}function jl(N){return N&&N.slice(0,sh(N)+1).replace(Cm,"")}function An(N){return function(F){return N(F)}}function $l(N,F){return Qe(F,function(x){return N[x]})}function Nu(N,F){return N.has(F)}function ih(N,F){for(var x=-1,te=N.length;++x<te&&ya(F,N[x],0)>-1;);return x}function B0(N,F){for(var x=N.length;x--&&ya(F,N[x],0)>-1;);return x}var rh=nh({\u00c0:"A",\u00c1:"A",\u00c2:"A",\u00c3:"A",\u00c4:"A",\u00c5:"A",\u00e0:"a",\u00e1:"a",\u00e2:"a",\u00e3:"a",\u00e4:"a",\u00e5:"a",\u00c7:"C",\u00e7:"c",\u00d0:"D",\u00f0:"d",\u00c8:"E",\u00c9:"E",\u00ca:"E",\u00cb:"E",\u00e8:"e",\u00e9:"e",\u00ea:"e",\u00eb:"e",\u00cc:"I",\u00cd:"I",\u00ce:"I",\u00cf:"I",\u00ec:"i",\u00ed:"i",\u00ee:"i",\u00ef:"i",\u00d1:"N",\u00f1:"n",\u00d2:"O",\u00d3:"O",\u00d4:"O",\u00d5:"O",\u00d6:"O",\u00d8:"O",\u00f2:"o",\u00f3:"o",\u00f4:"o",\u00f5:"o",\u00f6:"o",\u00f8:"o",\u00d9:"U",\u00da:"U",\u00db:"U",\u00dc:"U",\u00f9:"u",\u00fa:"u",\u00fb:"u",\u00fc:"u",\u00dd:"Y",\u00fd:"y",\u00ff:"y",\u00c6:"Ae",\u00e6:"ae",\u00de:"Th",\u00fe:"th",\u00df:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010a:"C",\u010c:"C",\u0107:"c",\u0109:"c",\u010b:"c",\u010d:"c",\u010e:"D",\u0110:"D",\u010f:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011a:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011b:"e",\u011c:"G",\u011e:"G",\u0120:"G",\u0122:"G",\u011d:"g",\u011f:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012a:"I",\u012c:"I",\u012e:"I",\u0130:"I",\u0129:"i",\u012b:"i",\u012d:"i",\u012f:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013b:"L",\u013d:"L",\u013f:"L",\u0141:"L",\u013a:"l",\u013c:"l",\u013e:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014a:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014b:"n",\u014c:"O",\u014e:"O",\u0150:"O",\u014d:"o",\u014f:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015a:"S",\u015c:"S",\u015e:"S",\u0160:"S",\u015b:"s",\u015d:"s",\u015f:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016a:"U",\u016c:"U",\u016e:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016b:"u",\u016d:"u",\u016f:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017b:"Z",\u017d:"Z",\u017a:"z",\u017c:"z",\u017e:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017f:"s"}),Da=nh({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function UT(N){return"\\"+km[N]}function Jn(N){return jT.test(N)}function Au(N){var F=-1,x=Array(N.size);return N.forEach(function(te,Me){x[++F]=[Me,te]}),x}function Ou(N,F){return function(x){return N(F(x))}}function ar(N,F){for(var x=-1,te=N.length,Me=0,Xe=[];++x<te;){var Kt=N[x];(Kt===F||Kt===Io)&&(N[x]=Io,Xe[Me++]=x)}return Xe}function xo(N){var F=-1,x=Array(N.size);return N.forEach(function(te){x[++F]=te}),x}function Ws(N){return Jn(N)?function Um(N){for(var F=Pm.lastIndex=0;Pm.test(N);)++F;return F}(N):Mu(N)}function ki(N){return Jn(N)?function Gm(N){return N.match(Pm)||[]}(N):function th(N){return N.split("")}(N)}function sh(N){for(var F=N.length;F--&&Sm.test(N.charAt(F)););return F}var Ul=nh({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"}),Ru=function N(F){var a,x=(F=null==F?gn:Ru.defaults(gn.Object(),F,Ru.pick(gn,Qf))).Array,te=F.Date,Me=F.Error,Xe=F.Function,Kt=F.Math,mt=F.Object,xu=F.RegExp,j0=F.String,Li=F.TypeError,Pu=x.prototype,wa=mt.prototype,Fu=F["__core-js_shared__"],qe=Xe.prototype.toString,st=wa.hasOwnProperty,J=0,On=(a=/[^.]+$/.exec(Fu&&Fu.keys&&Fu.keys.IE_PROTO||""))?"Symbol(src)_1."+a:"",Ne=wa.toString,en=qe.call(mt),mn=gn._,qs=xu("^"+qe.call(st).replace(bu,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),tn=Su?F.Buffer:E,hs=F.Symbol,Gl=F.Uint8Array,zl=tn?tn.allocUnsafe:E,ku=Ou(mt.getPrototypeOf,mt),zm=mt.create,Ea=wa.propertyIsEnumerable,Lu=Pu.splice,Bu=hs?hs.isConcatSpreadable:E,Ca=hs?hs.iterator:E,xr=hs?hs.toStringTag:E,ah=function(){try{var a=Bo(mt,"defineProperty");return a({},"",{}),a}catch{}}(),lh=F.clearTimeout!==gn.clearTimeout&&F.clearTimeout,$0=te&&te.now!==gn.Date.now&&te.now,ch=F.setTimeout!==gn.setTimeout&&F.setTimeout,Wl=Kt.ceil,ql=Kt.floor,ps=mt.getOwnPropertySymbols,U0=tn?tn.isBuffer:E,Vu=F.isFinite,Hu=Pu.join,G0=Ou(mt.keys,mt),Wt=Kt.max,nn=Kt.min,_n=te.now,Sa=F.parseInt,ju=Kt.random,z0=Pu.reverse,uh=Bo(F,"DataView"),Ta=Bo(F,"Map"),Js=Bo(F,"Promise"),Ma=Bo(F,"Set"),Jl=Bo(F,"WeakMap"),Yl=Bo(mt,"create"),Ia=Jl&&new Jl,Zn={},Wm=Je(uh),$u=Je(Ta),Na=Je(Js),W0=Je(Ma),q0=Je(Jl),Vt=hs?hs.prototype:E,Aa=Vt?Vt.valueOf:E,qm=Vt?Vt.toString:E;function y(a){if(Ut(a)&&!Ee(a)&&!(a instanceof Ve)){if(a instanceof Bi)return a;if(st.call(a,"__wrapped__"))return w_(a)}return new Bi(a)}var Oa=function(){function a(){}return function(c){if(!_t(c))return{};if(zm)return zm(c);a.prototype=c;var f=new a;return a.prototype=E,f}}();function Uu(){}function Bi(a,c){this.__wrapped__=a,this.__actions__=[],this.__chain__=!!c,this.__index__=0,this.__values__=E}function Ve(a){this.__wrapped__=a,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Or,this.__views__=[]}function Pr(a){var c=-1,f=null==a?0:a.length;for(this.clear();++c<f;){var g=a[c];this.set(g[0],g[1])}}function St(a){var c=-1,f=null==a?0:a.length;for(this.clear();++c<f;){var g=a[c];this.set(g[0],g[1])}}function ae(a){var c=-1,f=null==a?0:a.length;for(this.clear();++c<f;){var g=a[c];this.set(g[0],g[1])}}function Vi(a){var c=-1,f=null==a?0:a.length;for(this.__data__=new ae;++c<f;)this.add(a[c])}function Hi(a){var c=this.__data__=new St(a);this.size=c.size}function Fa(a,c){var f=Ee(a),g=!f&&Za(a),_=!f&&!g&&gr(a),D=!f&&!g&&!_&&il(a),C=f||g||_||D,T=C?Gs(a.length,j0):[],A=T.length;for(var L in a)(c||st.call(a,L))&&(!C||!("length"==L||_&&("offset"==L||"parent"==L)||D&&("buffer"==L||"byteLength"==L||"byteOffset"==L)||ro(L,A)))&&T.push(L);return T}function ur(a){var c=a.length;return c?a[nc(0,c-1)]:E}function zu(a,c){return ys($t(a),dr(c,0,a.length))}function ka(a){return ys($t(a))}function Ft(a,c,f){(f!==E&&!pr(a[c],f)||f===E&&!(c in a))&&$i(a,c,f)}function Zs(a,c,f){var g=a[c];(!st.call(a,c)||!pr(g,f)||f===E&&!(c in a))&&$i(a,c,f)}function Ht(a,c){for(var f=a.length;f--;)if(pr(a[f][0],c))return f;return-1}function Rn(a,c,f,g){return kr(a,function(_,D,C){c(g,_,f(_),C)}),g}function Wu(a,c){return a&&Vr(c,dn(c),a)}function $i(a,c,f){"__proto__"==c&&ah?ah(a,c,{configurable:!0,enumerable:!0,value:f,writable:!0}):a[c]=f}function yi(a,c){for(var f=-1,g=c.length,_=x(g),D=null==a;++f<g;)_[f]=D?E:yp(a,c[f]);return _}function dr(a,c,f){return a==a&&(f!==E&&(a=a<=f?a:f),c!==E&&(a=a>=c?a:c)),a}function bi(a,c,f,g,_,D){var C,T=1&c,A=2&c,L=4&c;if(f&&(C=_?f(a,g,_,D):f(a)),C!==E)return C;if(!_t(a))return a;var B=Ee(a);if(B){if(C=function lD(a){var c=a.length,f=new a.constructor(c);return c&&"string"==typeof a[0]&&st.call(a,"index")&&(f.index=a.index,f.input=a.input),f}(a),!T)return $t(a,C)}else{var j=un(a),Q=j==Vf||j==aa;if(gr(a))return Dh(a,T);if(j==Pi||j==oa||Q&&!_){if(C=A||Q?{}:Ua(a),!T)return A?function sD(a,c){return Vr(a,aD(a),c)}(a,function Fo(a,c){return a&&Vr(c,ci(c),a)}(C,a)):function f_(a,c){return Vr(a,y_(a),c)}(a,Wu(C,a))}else{if(!ht[j])return _?a:{};C=function cD(a,c,f){var g=a.constructor;switch(c){case ca:return c_(a);case Rl:case fu:return new g(+a);case ua:return function ZT(a,c){var f=c?c_(a.buffer):a.buffer;return new a.constructor(f,a.byteOffset,a.byteLength)}(a,f);case jf:case Ro:case da:case $f:case _u:case dt:case vu:case wm:case Hs:return wh(a,f);case mi:return new g;case zn:case nt:return new g(a);case pu:return function u_(a){var c=new a.constructor(a.source,v0.exec(a));return c.lastIndex=a.lastIndex,c}(a);case ri:return new g;case xl:return function d_(a){return Aa?mt(Aa.call(a)):{}}(a)}}(a,j,T)}}D||(D=new Hi);var oe=D.get(a);if(oe)return oe;D.set(a,C),s1(a)?a.forEach(function(_e){C.add(bi(_e,c,f,_e,a,D))}):cp(a)&&a.forEach(function(_e,Be){C.set(Be,bi(_e,c,f,Be,a,D))});var Fe=B?E:(L?A?Nh:dd:A?ci:dn)(a);return Fi(Fe||a,function(_e,Be){Fe&&(_e=a[Be=_e]),Zs(C,Be,bi(_e,c,f,Be,a,D))}),C}function qu(a,c,f){var g=f.length;if(null==a)return!g;for(a=mt(a);g--;){var _=f[g],C=a[_];if(C===E&&!(_ in a)||!(0,c[_])(C))return!1}return!0}function hh(a,c,f){if("function"!=typeof a)throw new Li(me);return ac(function(){a.apply(E,f)},c)}function Ql(a,c,f,g){var _=-1,D=fs,C=!0,T=a.length,A=[],L=c.length;if(!T)return A;f&&(c=Qe(c,An(f))),g?(D=eh,C=!1):c.length>=200&&(D=Nu,C=!1,c=new Vi(c));e:for(;++_<T;){var B=a[_],j=null==f?B:f(B);if(B=g||0!==B?B:0,C&&j==j){for(var Q=L;Q--;)if(c[Q]===j)continue e;A.push(B)}else D(c,j,g)||A.push(B)}return A}y.templateSettings={escape:_0,evaluate:AT,interpolate:Gf,variable:"",imports:{_:y}},(y.prototype=Uu.prototype).constructor=y,(Bi.prototype=Oa(Uu.prototype)).constructor=Bi,(Ve.prototype=Oa(Uu.prototype)).constructor=Ve,Pr.prototype.clear=function At(){this.__data__=Yl?Yl(null):{},this.size=0},Pr.prototype.delete=function W(a){var c=this.has(a)&&delete this.__data__[a];return this.size-=c?1:0,c},Pr.prototype.get=function le(a){var c=this.__data__;if(Yl){var f=c[a];return f===Ff?E:f}return st.call(c,a)?c[a]:E},Pr.prototype.has=function Jt(a){var c=this.__data__;return Yl?c[a]!==E:st.call(c,a)},Pr.prototype.set=function cr(a,c){var f=this.__data__;return this.size+=this.has(a)?0:1,f[a]=Yl&&c===E?Ff:c,this},St.prototype.clear=function Qn(){this.__data__=[],this.size=0},St.prototype.delete=function Ra(a){var c=this.__data__,f=Ht(c,a);return!(f<0||(f==c.length-1?c.pop():Lu.call(c,f,1),--this.size,0))},St.prototype.get=function bt(a){var c=this.__data__,f=Ht(c,a);return f<0?E:c[f][1]},St.prototype.has=function Yt(a){return Ht(this.__data__,a)>-1},St.prototype.set=function Fr(a,c){var f=this.__data__,g=Ht(f,a);return g<0?(++this.size,f.push([a,c])):f[g][1]=c,this},ae.prototype.clear=function Zl(){this.size=0,this.__data__={hash:new Pr,map:new(Ta||St),string:new Pr}},ae.prototype.delete=function Jm(a){var c=sc(this,a).delete(a);return this.size-=c?1:0,c},ae.prototype.get=function xa(a){return sc(this,a).get(a)},ae.prototype.has=function Ot(a){return sc(this,a).has(a)},ae.prototype.set=function Po(a,c){var f=sc(this,a),g=f.size;return f.set(a,c),this.size+=f.size==g?0:1,this},Vi.prototype.add=Vi.prototype.push=function gs(a){return this.__data__.set(a,Ff),this},Vi.prototype.has=function Pa(a){return this.__data__.has(a)},Hi.prototype.clear=function Ys(){this.__data__=new St,this.size=0},Hi.prototype.delete=function Gu(a){var c=this.__data__,f=c.delete(a);return this.size=c.size,f},Hi.prototype.get=function ji(a){return this.__data__.get(a)},Hi.prototype.has=function se(a){return this.__data__.has(a)},Hi.prototype.set=function fh(a,c){var f=this.__data__;if(f instanceof St){var g=f.__data__;if(!Ta||g.length<199)return g.push([a,c]),this.size=++f.size,this;f=this.__data__=new ae(g)}return f.set(a,c),this.size=f.size,this};var kr=id(ms),Q0=id(Zm,!0);function GT(a,c){var f=!0;return kr(a,function(g,_,D){return f=!!c(g,_,D)}),f}function ph(a,c,f){for(var g=-1,_=a.length;++g<_;){var D=a[g],C=c(D);if(null!=C&&(T===E?C==C&&!yn(C):f(C,T)))var T=C,A=D}return A}function X0(a,c){var f=[];return kr(a,function(g,_,D){c(g,_,D)&&f.push(g)}),f}function xn(a,c,f,g,_){var D=-1,C=a.length;for(f||(f=fd),_||(_=[]);++D<C;){var T=a[D];c>0&&f(T)?c>1?xn(T,c-1,f,g,_):$s(_,T):g||(_[_.length]=T)}return _}var Ym=rd(),K0=rd(!0);function ms(a,c){return a&&Ym(a,c,dn)}function Zm(a,c){return a&&K0(a,c,dn)}function gh(a,c){return ds(c,function(f){return mr(a[f])})}function La(a,c){for(var f=0,g=(c=zi(c,a)).length;null!=a&&f<g;)a=a[$r(c[f++])];return f&&f==g?a:E}function mh(a,c,f){var g=c(a);return Ee(a)?g:$s(g,f(a))}function Pn(a){return null==a?a===E?"[object Undefined]":"[object Null]":xr&&xr in mt(a)?function oD(a){var c=st.call(a,xr),f=a[xr];try{a[xr]=E;var g=!0}catch{}var _=Ne.call(a);return g&&(c?a[xr]=f:delete a[xr]),_}(a):function D_(a){return Ne.call(a)}(a)}function Qm(a,c){return a>c}function WT(a,c){return null!=a&&st.call(a,c)}function qT(a,c){return null!=a&&c in mt(a)}function _h(a,c,f){for(var g=f?eh:fs,_=a[0].length,D=a.length,C=D,T=x(D),A=1/0,L=[];C--;){var B=a[C];C&&c&&(B=Qe(B,An(c))),A=nn(B.length,A),T[C]=!f&&(c||_>=120&&B.length>=120)?new Vi(C&&B):E}B=a[0];var j=-1,Q=T[0];e:for(;++j<_&&L.length<A;){var oe=B[j],fe=c?c(oe):oe;if(oe=f||0!==oe?oe:0,!(Q?Nu(Q,fe):g(L,fe,f))){for(C=D;--C;){var Fe=T[C];if(!(Fe?Nu(Fe,fe):g(a[C],fe,f)))continue e}Q&&Q.push(fe),L.push(oe)}}return L}function jt(a,c,f){var g=null==(a=kh(a,c=zi(c,a)))?a:a[$r(ai(c))];return null==g?E:qn(g,a,f)}function vh(a){return Ut(a)&&Pn(a)==oa}function Ba(a,c,f,g,_){return a===c||(null==a||null==c||!Ut(a)&&!Ut(c)?a!=a&&c!=c:function Km(a,c,f,g,_,D){var C=Ee(a),T=Ee(c),A=C?Bf:un(a),L=T?Bf:un(c),B=(A=A==oa?Pi:A)==Pi,j=(L=L==oa?Pi:L)==Pi,Q=A==L;if(Q&&gr(a)){if(!gr(c))return!1;C=!0,B=!1}if(Q&&!B)return D||(D=new Hi),C||il(a)?rc(a,c,f,g,_,D):function ud(a,c,f,g,_,D,C){switch(f){case ua:if(a.byteLength!=c.byteLength||a.byteOffset!=c.byteOffset)return!1;a=a.buffer,c=c.buffer;case ca:return!(a.byteLength!=c.byteLength||!D(new Gl(a),new Gl(c)));case Rl:case fu:case zn:return pr(+a,+c);case hu:return a.name==c.name&&a.message==c.message;case pu:case nt:return a==c+"";case mi:var T=Au;case ri:if(T||(T=xo),a.size!=c.size&&!(1&g))return!1;var L=C.get(a);if(L)return L==c;g|=2,C.set(a,c);var B=rc(T(a),T(c),g,_,D,C);return C.delete(a),B;case xl:if(Aa)return Aa.call(a)==Aa.call(c)}return!1}(a,c,A,f,g,_,D);if(!(1&f)){var oe=B&&st.call(a,"__wrapped__"),fe=j&&st.call(c,"__wrapped__");if(oe||fe){var Fe=oe?a.value():a,_e=fe?c.value():c;return D||(D=new Hi),_(Fe,_e,f,g,D)}}return!!Q&&(D||(D=new Hi),function Ih(a,c,f,g,_,D){var C=1&f,T=dd(a),A=T.length;if(A!=dd(c).length&&!C)return!1;for(var j=A;j--;){var Q=T[j];if(!(C?Q in c:st.call(c,Q)))return!1}var oe=D.get(a),fe=D.get(c);if(oe&&fe)return oe==c&&fe==a;var Fe=!0;D.set(a,c),D.set(c,a);for(var _e=C;++j<A;){var Be=a[Q=T[j]],je=c[Q];if(g)var ei=C?g(je,Be,Q,c,a,D):g(Be,je,Q,a,c,D);if(!(ei===E?Be===je||_(Be,je,f,g,D):ei)){Fe=!1;break}_e||(_e="constructor"==Q)}if(Fe&&!_e){var Hn=a.constructor,jn=c.constructor;Hn!=jn&&"constructor"in a&&"constructor"in c&&!("function"==typeof Hn&&Hn instanceof Hn&&"function"==typeof jn&&jn instanceof jn)&&(Fe=!1)}return D.delete(a),D.delete(c),Fe}(a,c,f,g,_,D))}(a,c,f,g,Ba,_))}function Xl(a,c,f,g){var _=f.length,D=_,C=!g;if(null==a)return!D;for(a=mt(a);_--;){var T=f[_];if(C&&T[2]?T[1]!==a[T[0]]:!(T[0]in a))return!1}for(;++_<D;){var A=(T=f[_])[0],L=a[A],B=T[1];if(C&&T[2]){if(L===E&&!(A in a))return!1}else{var j=new Hi;if(g)var Q=g(L,B,A,a,c,j);if(!(Q===E?Ba(B,L,3,g,j):Q))return!1}}return!0}function e_(a){return!(!_t(a)||function dD(a){return!!On&&On in a}(a))&&(mr(a)?qs:xT).test(Je(a))}function Ue(a){return"function"==typeof a?a:null==a?Ci:"object"==typeof a?Ee(a)?Qs(a[0],a[1]):Va(a):Rp(a)}function Kl(a){if(!Ho(a))return G0(a);var c=[];for(var f in mt(a))st.call(a,f)&&"constructor"!=f&&c.push(f);return c}function vn(a,c){return a<c}function i_(a,c){var f=-1,g=Vn(a)?x(a.length):[];return kr(a,function(_,D,C){g[++f]=c(_,D,C)}),g}function Va(a){var c=Ah(a);return 1==c.length&&c[0][2]?oc(c[0][0],c[0][1]):function(f){return f===a||Xl(f,a,c)}}function Qs(a,c){return hd(a)&&xh(c)?oc($r(a),c):function(f){var g=yp(f,a);return g===E&&g===c?bp(f,a):Ba(c,g,3)}}function Fn(a,c,f,g,_){a!==c&&Ym(c,function(D,C){if(_||(_=new Hi),_t(D))!function iD(a,c,f,g,_,D,C){var T=Ga(a,f),A=Ga(c,f),L=C.get(A);if(L)Ft(a,f,L);else{var B=D?D(T,A,f+"",a,c,C):E,j=B===E;if(j){var Q=Ee(A),oe=!Q&&gr(A),fe=!Q&&!oe&&il(A);B=A,Q||oe||fe?Ee(T)?B=T:kt(T)?B=$t(T):oe?(j=!1,B=Dh(A,!0)):fe?(j=!1,B=wh(A,!0)):B=[]:nl(A)||Za(A)?(B=T,Za(T)?B=pp(T):(!_t(T)||mr(T))&&(B=Ua(A))):j=!1}j&&(C.set(A,B),_(B,A,g,D,C),C.delete(A)),Ft(a,f,B)}}(a,c,C,f,Fn,g,_);else{var T=g?g(Ga(a,C),D,C+"",a,c,_):E;T===E&&(T=D),Ft(a,C,T)}},ci)}function Ju(a,c){var f=a.length;if(f)return ro(c+=c<0?f:0,f)?a[c]:E}function r_(a,c,f){c=c.length?Qe(c,function(D){return Ee(D)?function(C){return La(C,1===D.length?D[0]:D)}:D}):[Ci];var g=-1;return c=Qe(c,An(ce())),function L0(N,F){var x=N.length;for(N.sort(F);x--;)N[x]=N[x].value;return N}(i_(a,function(D,C,T){return{criteria:Qe(c,function(L){return L(D)}),index:++g,value:D}}),function(D,C){return function vs(a,c,f){for(var g=-1,_=a.criteria,D=c.criteria,C=_.length,T=f.length;++g<C;){var A=kn(_[g],D[g]);if(A)return g>=T?A:A*("desc"==f[g]?-1:1)}return a.index-c.index}(D,C,f)})}function yh(a,c,f){for(var g=-1,_=c.length,D={};++g<_;){var C=c[g],T=La(a,C);f(T,C)&&Xs(D,zi(C,a),T)}return D}function Yu(a,c,f,g){var _=g?k0:ya,D=-1,C=c.length,T=a;for(a===c&&(c=$t(c)),f&&(T=Qe(a,An(f)));++D<C;)for(var A=0,L=c[D],B=f?f(L):L;(A=_(T,B,A,g))>-1;)T!==a&&Lu.call(T,A,1),Lu.call(a,A,1);return a}function tc(a,c){for(var f=a?c.length:0,g=f-1;f--;){var _=c[f];if(f==g||_!==D){var D=_;ro(_)?Lu.call(a,_,1):bh(a,_)}}return a}function nc(a,c){return a+ql(ju()*(c-a+1))}function Ha(a,c){var f="";if(!a||c<1||c>os)return f;do{c%2&&(f+=a),(c=ql(c/2))&&(a+=a)}while(c);return f}function Oe(a,c){return gd(Fh(a,c,Ci),a+"")}function _s(a){return ur(lo(a))}function be(a,c){var f=lo(a);return ys(f,dr(c,0,f.length))}function Xs(a,c,f,g){if(!_t(a))return a;for(var _=-1,D=(c=zi(c,a)).length,C=D-1,T=a;null!=T&&++_<D;){var A=$r(c[_]),L=f;if("__proto__"===A||"constructor"===A||"prototype"===A)return a;if(_!=C){var B=T[A];(L=g?g(B,A,T):E)===E&&(L=_t(B)?B:ro(c[_+1])?[]:{})}Zs(T,A,L),T=T[A]}return a}var Qu=Ia?function(a,c){return Ia.set(a,c),a}:Ci,o_=ah?function(a,c){return ah(a,"toString",{configurable:!0,enumerable:!1,value:Ip(c),writable:!0})}:Ci;function YT(a){return ys(lo(a))}function Gi(a,c,f){var g=-1,_=a.length;c<0&&(c=-c>_?0:_+c),(f=f>_?_:f)<0&&(f+=_),_=c>f?0:f-c>>>0,c>>>=0;for(var D=x(_);++g<_;)D[g]=a[g+c];return D}function rD(a,c){var f;return kr(a,function(g,_,D){return!(f=c(g,_,D))}),!!f}function Xu(a,c,f){var g=0,_=null==a?g:a.length;if("number"==typeof c&&c==c&&_<=2147483647){for(;g<_;){var D=g+_>>>1,C=a[D];null!==C&&!yn(C)&&(f?C<=c:C<c)?g=D+1:_=D}return _}return Ku(a,c,Ci,f)}function Ku(a,c,f,g){var _=0,D=null==a?0:a.length;if(0===D)return 0;for(var C=(c=f(c))!=c,T=null===c,A=yn(c),L=c===E;_<D;){var B=ql((_+D)/2),j=f(a[B]),Q=j!==E,oe=null===j,fe=j==j,Fe=yn(j);if(C)var _e=g||fe;else _e=L?fe&&(g||Q):T?fe&&Q&&(g||!oe):A?fe&&Q&&!oe&&(g||!Fe):!oe&&!Fe&&(g?j<=c:j<c);_e?_=B+1:D=B}return nn(D,4294967294)}function Ks(a,c){for(var f=-1,g=a.length,_=0,D=[];++f<g;){var C=a[f],T=c?c(C):C;if(!f||!pr(T,A)){var A=T;D[_++]=0===C?0:C}}return D}function a_(a){return"number"==typeof a?a:yn(a)?NaN:+a}function Di(a){if("string"==typeof a)return a;if(Ee(a))return Qe(a,Di)+"";if(yn(a))return qm?qm.call(a):"";var c=a+"";return"0"==c&&1/a==-Vs?"-0":c}function eo(a,c,f){var g=-1,_=fs,D=a.length,C=!0,T=[],A=T;if(f)C=!1,_=eh;else if(D>=200){var L=c?null:__(a);if(L)return xo(L);C=!1,_=Nu,A=new Vi}else A=c?[]:T;e:for(;++g<D;){var B=a[g],j=c?c(B):B;if(B=f||0!==B?B:0,C&&j==j){for(var Q=A.length;Q--;)if(A[Q]===j)continue e;c&&A.push(j),T.push(B)}else _(A,j,f)||(A!==T&&A.push(j),T.push(B))}return T}function bh(a,c){return null==(a=kh(a,c=zi(c,a)))||delete a[$r(ai(c))]}function l_(a,c,f,g){return Xs(a,c,f(La(a,c)),g)}function P(a,c,f,g){for(var _=a.length,D=g?_:-1;(g?D--:++D<_)&&c(a[D],D,a););return f?Gi(a,g?0:D,g?D+1:_):Gi(a,g?D+1:0,g?_:D)}function Re(a,c){var f=a;return f instanceof Ve&&(f=f.value()),ee(c,function(g,_){return _.func.apply(_.thisArg,$s([g],_.args))},f)}function He(a,c,f){var g=a.length;if(g<2)return g?eo(a[0]):[];for(var _=-1,D=x(g);++_<g;)for(var C=a[_],T=-1;++T<g;)T!=_&&(D[_]=Ql(D[_]||C,a[T],c,f));return eo(xn(D,1),c,f)}function $e(a,c,f){for(var g=-1,_=a.length,D=c.length,C={};++g<_;)f(C,a[g],g<D?c[g]:E);return C}function Ke(a){return kt(a)?a:[]}function ed(a){return"function"==typeof a?a:Ci}function zi(a,c){return Ee(a)?a:hd(a,c)?[a]:Zt(tt(a))}var fr=Oe;function Br(a,c,f){var g=a.length;return f=f===E?g:f,!c&&f>=g?a:Gi(a,c,f)}var td=lh||function(a){return gn.clearTimeout(a)};function Dh(a,c){if(c)return a.slice();var f=a.length,g=zl?zl(f):new a.constructor(f);return a.copy(g),g}function c_(a){var c=new a.constructor(a.byteLength);return new Gl(c).set(new Gl(a)),c}function wh(a,c){var f=c?c_(a.buffer):a.buffer;return new a.constructor(f,a.byteOffset,a.length)}function kn(a,c){if(a!==c){var f=a!==E,g=null===a,_=a==a,D=yn(a),C=c!==E,T=null===c,A=c==c,L=yn(c);if(!T&&!L&&!D&&a>c||D&&C&&A&&!T&&!L||g&&C&&A||!f&&A||!_)return 1;if(!g&&!D&&!L&&a<c||L&&f&&_&&!g&&!D||T&&f&&_||!C&&_||!A)return-1}return 0}function Eh(a,c,f,g){for(var _=-1,D=a.length,C=f.length,T=-1,A=c.length,L=Wt(D-C,0),B=x(A+L),j=!g;++T<A;)B[T]=c[T];for(;++_<C;)(j||_<D)&&(B[f[_]]=a[_]);for(;L--;)B[T++]=a[_++];return B}function Wi(a,c,f,g){for(var _=-1,D=a.length,C=-1,T=f.length,A=-1,L=c.length,B=Wt(D-T,0),j=x(B+L),Q=!g;++_<B;)j[_]=a[_];for(var oe=_;++A<L;)j[oe+A]=c[A];for(;++C<T;)(Q||_<D)&&(j[oe+f[C]]=a[_++]);return j}function $t(a,c){var f=-1,g=a.length;for(c||(c=x(g));++f<g;)c[f]=a[f];return c}function Vr(a,c,f,g){var _=!f;f||(f={});for(var D=-1,C=c.length;++D<C;){var T=c[D],A=g?g(f[T],a[T],T,f,a):E;A===E&&(A=a[T]),_?$i(f,T,A):Zs(f,T,A)}return f}function nd(a,c){return function(f,g){var _=Ee(f)?Tu:Rn,D=c?c():{};return _(f,a,ce(g,2),D)}}function to(a){return Oe(function(c,f){var g=-1,_=f.length,D=_>1?f[_-1]:E,C=_>2?f[2]:E;for(D=a.length>3&&"function"==typeof D?(_--,D):E,C&&Ln(f[0],f[1],C)&&(D=_<3?E:D,_=1),c=mt(c);++g<_;){var T=f[g];T&&a(c,T,g,D)}return c})}function id(a,c){return function(f,g){if(null==f)return f;if(!Vn(f))return a(f,g);for(var _=f.length,D=c?_:-1,C=mt(f);(c?D--:++D<_)&&!1!==g(C[D],D,C););return f}}function rd(a){return function(c,f,g){for(var _=-1,D=mt(c),C=g(c),T=C.length;T--;){var A=C[a?T:++_];if(!1===f(D[A],A,D))break}return c}}function h_(a){return function(c){var f=Jn(c=tt(c))?ki(c):E,g=f?f[0]:c.charAt(0),_=f?Br(f,1).join(""):c.slice(1);return g[a]()+_}}function ko(a){return function(c){return ee(_v(cv(c).replace(N0,"")),a,"")}}function Lo(a){return function(){var c=arguments;switch(c.length){case 0:return new a;case 1:return new a(c[0]);case 2:return new a(c[0],c[1]);case 3:return new a(c[0],c[1],c[2]);case 4:return new a(c[0],c[1],c[2],c[3]);case 5:return new a(c[0],c[1],c[2],c[3],c[4]);case 6:return new a(c[0],c[1],c[2],c[3],c[4],c[5]);case 7:return new a(c[0],c[1],c[2],c[3],c[4],c[5],c[6])}var f=Oa(a.prototype),g=a.apply(f,c);return _t(g)?g:f}}function Ch(a){return function(c,f,g){var _=mt(c);if(!Vn(c)){var D=ce(f,3);c=dn(c),f=function(T){return D(_[T],T,_)}}var C=a(c,f,g);return C>-1?_[D?c[C]:C]:E}}function Sh(a){return jr(function(c){var f=c.length,g=f,_=Bi.prototype.thru;for(a&&c.reverse();g--;){var D=c[g];if("function"!=typeof D)throw new Li(me);if(_&&!C&&"wrapper"==io(D))var C=new Bi([],!0)}for(g=C?g:f;++g<f;){var T=io(D=c[g]),A="wrapper"==T?no(D):E;C=A&&qi(A[0])&&424==A[1]&&!A[4].length&&1==A[9]?C[io(A[0])].apply(C,A[3]):1==D.length&&qi(D)?C[T]():C.thru(D)}return function(){var L=arguments,B=L[0];if(C&&1==L.length&&Ee(B))return C.plant(B).value();for(var j=0,Q=f?c[j].apply(this,L):B;++j<f;)Q=c[j].call(this,Q);return Q}})}function ic(a,c,f,g,_,D,C,T,A,L){var B=128&c,j=1&c,Q=2&c,oe=24&c,fe=512&c,Fe=Q?E:Lo(a);return function _e(){for(var Be=arguments.length,je=x(Be),ei=Be;ei--;)je[ei]=arguments[ei];if(oe)var Hn=ja(_e),jn=function vi(N,F){for(var x=N.length,te=0;x--;)N[x]===F&&++te;return te}(je,Hn);if(g&&(je=Eh(je,g,_,oe)),D&&(je=Wi(je,D,C,oe)),Be-=jn,oe&&Be<L){var vt=ar(je,Hn);return m_(a,c,ic,_e.placeholder,f,je,vt,T,A,L-Be)}var Yi=j?f:this,_r=Q?Yi[a]:a;return Be=je.length,T?je=function hD(a,c){for(var f=a.length,g=nn(c.length,f),_=$t(a);g--;){var D=c[g];a[g]=ro(D,f)?_[D]:E}return a}(je,T):fe&&Be>1&&je.reverse(),B&&A<Be&&(je.length=A),this&&this!==gn&&this instanceof _e&&(_r=Fe||Lo(_r)),_r.apply(Yi,je)}}function od(a,c){return function(f,g){return function Xm(a,c,f,g){return ms(a,function(_,D,C){c(g,f(_),D,C)}),g}(f,a,c(g),{})}}function ad(a,c){return function(f,g){var _;if(f===E&&g===E)return c;if(f!==E&&(_=f),g!==E){if(_===E)return g;"string"==typeof f||"string"==typeof g?(f=Di(f),g=Di(g)):(f=a_(f),g=a_(g)),_=a(f,g)}return _}}function rn(a){return jr(function(c){return c=Qe(c,An(ce())),Oe(function(f){var g=this;return a(c,function(_){return qn(_,g,f)})})})}function Hr(a,c){var f=(c=c===E?" ":Di(c)).length;if(f<2)return f?Ha(c,a):c;var g=Ha(c,Wl(a/Ws(c)));return Jn(c)?Br(ki(g),0,a).join(""):g.slice(0,a)}function g_(a){return function(c,f,g){return g&&"number"!=typeof g&&Ln(c,f,g)&&(f=g=E),c=Gr(c),f===E?(f=c,c=0):f=Gr(f),function Zu(a,c,f,g){for(var _=-1,D=Wt(Wl((c-a)/(f||1)),0),C=x(D);D--;)C[g?D:++_]=a,a+=f;return C}(c,f,g=g===E?c<f?1:-1:Gr(g),a)}}function ld(a){return function(c,f){return"string"==typeof c&&"string"==typeof f||(c=Xn(c),f=Xn(f)),a(c,f)}}function m_(a,c,f,g,_,D,C,T,A,L){var B=8&c;c|=B?32:64,4&(c&=~(B?64:32))||(c&=-4);var Fe=[a,c,_,B?D:E,B?C:E,B?E:D,B?E:C,T,A,L],_e=f.apply(E,Fe);return qi(a)&&so(_e,Fe),_e.placeholder=g,Lh(_e,a,c)}function Th(a){var c=Kt[a];return function(f,g){if(f=Xn(f),(g=null==g?0:nn(we(g),292))&&Vu(f)){var _=(tt(f)+"e").split("e");return+((_=(tt(c(_[0]+"e"+(+_[1]+g)))+"e").split("e"))[0]+"e"+(+_[1]-g))}return c(f)}}var __=Ma&&1/xo(new Ma([,-0]))[1]==Vs?function(a){return new Ma(a)}:Op;function Mh(a){return function(c){var f=un(c);return f==mi?Au(c):f==ri?function lr(N){var F=-1,x=Array(N.size);return N.forEach(function(te){x[++F]=[te,te]}),x}(c):function jm(N,F){return Qe(F,function(x){return[x,N[x]]})}(c,a(c))}}function wi(a,c,f,g,_,D,C,T){var A=2&c;if(!A&&"function"!=typeof a)throw new Li(me);var L=g?g.length:0;if(L||(c&=-97,g=_=E),C=C===E?C:Wt(we(C),0),T=T===E?T:we(T),L-=_?_.length:0,64&c){var B=g,j=_;g=_=E}var Q=A?E:no(a),oe=[a,c,f,g,_,B,j,D,C,T];if(Q&&function fD(a,c){var f=a[1],g=c[1],_=f|g;if(!(_<131)&&!(128==g&&8==f||128==g&&256==f&&a[7].length<=c[8]||384==g&&c[7].length<=c[8]&&8==f))return a;1&g&&(a[2]=c[2],_|=1&f?0:4);var T=c[3];if(T){var A=a[3];a[3]=A?Eh(A,T,c[4]):T,a[4]=A?ar(a[3],Io):c[4]}(T=c[5])&&(a[5]=(A=a[5])?Wi(A,T,c[6]):T,a[6]=A?ar(a[5],Io):c[6]),(T=c[7])&&(a[7]=T),128&g&&(a[8]=null==a[8]?c[8]:nn(a[8],c[8])),null==a[9]&&(a[9]=c[9]),a[0]=c[0],a[1]=_}(oe,Q),a=oe[0],c=oe[1],f=oe[2],g=oe[3],_=oe[4],!(T=oe[9]=oe[9]===E?A?0:a.length:Wt(oe[9]-L,0))&&24&c&&(c&=-25),c&&1!=c)fe=8==c||16==c?function p_(a,c,f){var g=Lo(a);return function _(){for(var D=arguments.length,C=x(D),T=D,A=ja(_);T--;)C[T]=arguments[T];var L=D<3&&C[0]!==A&&C[D-1]!==A?[]:ar(C,A);return(D-=L.length)<f?m_(a,c,ic,_.placeholder,E,C,L,E,E,f-D):qn(this&&this!==gn&&this instanceof _?g:a,this,C)}}(a,c,T):32!=c&&33!=c||_.length?ic.apply(E,oe):function Dt(a,c,f,g){var _=1&c,D=Lo(a);return function C(){for(var T=-1,A=arguments.length,L=-1,B=g.length,j=x(B+A),Q=this&&this!==gn&&this instanceof C?D:a;++L<B;)j[L]=g[L];for(;A--;)j[L++]=arguments[++T];return qn(Q,_?f:this,j)}}(a,c,f,g);else var fe=function sd(a,c,f){var g=1&c,_=Lo(a);return function D(){return(this&&this!==gn&&this instanceof D?_:a).apply(g?f:this,arguments)}}(a,c,f);return Lh((Q?Qu:so)(fe,oe),a,c)}function hr(a,c,f,g){return a===E||pr(a,wa[f])&&!st.call(g,f)?c:a}function v_(a,c,f,g,_,D){return _t(a)&&_t(c)&&(D.set(c,a),Fn(a,c,E,v_,D),D.delete(c)),a}function cd(a){return nl(a)?E:a}function rc(a,c,f,g,_,D){var C=1&f,T=a.length,A=c.length;if(T!=A&&!(C&&A>T))return!1;var L=D.get(a),B=D.get(c);if(L&&B)return L==c&&B==a;var j=-1,Q=!0,oe=2&f?new Vi:E;for(D.set(a,c),D.set(c,a);++j<T;){var fe=a[j],Fe=c[j];if(g)var _e=C?g(Fe,fe,j,c,a,D):g(fe,Fe,j,a,c,D);if(_e!==E){if(_e)continue;Q=!1;break}if(oe){if(!S(c,function(Be,je){if(!Nu(oe,je)&&(fe===Be||_(fe,Be,f,g,D)))return oe.push(je)})){Q=!1;break}}else if(fe!==Fe&&!_(fe,Fe,f,g,D)){Q=!1;break}}return D.delete(a),D.delete(c),Q}function jr(a){return gd(Fh(a,E,I_),a+"")}function dd(a){return mh(a,dn,y_)}function Nh(a){return mh(a,ci,aD)}var no=Ia?function(a){return Ia.get(a)}:Op;function io(a){for(var c=a.name+"",f=Zn[c],g=st.call(Zn,c)?f.length:0;g--;){var _=f[g],D=_.func;if(null==D||D==a)return _.name}return c}function ja(a){return(st.call(y,"placeholder")?y:a).placeholder}function ce(){var a=y.iteratee||vv;return a=a===vv?Ue:a,arguments.length?a(arguments[0],arguments[1]):a}function sc(a,c){var f=a.__data__;return function uD(a){var c=typeof a;return"string"==c||"number"==c||"symbol"==c||"boolean"==c?"__proto__"!==a:null===a}(c)?f["string"==typeof c?"string":"hash"]:f.map}function Ah(a){for(var c=dn(a),f=c.length;f--;){var g=c[f],_=a[g];c[f]=[g,_,xh(_)]}return c}function Bo(a,c){var f=function $m(N,F){return null==N?E:N[F]}(a,c);return e_(f)?f:E}var y_=ps?function(a){return null==a?[]:(a=mt(a),ds(ps(a),function(c){return Ea.call(a,c)}))}:co,aD=ps?function(a){for(var c=[];a;)$s(c,y_(a)),a=ku(a);return c}:co,un=Pn;function $a(a,c,f){for(var g=-1,_=(c=zi(c,a)).length,D=!1;++g<_;){var C=$r(c[g]);if(!(D=null!=a&&f(a,C)))break;a=a[C]}return D||++g!=_?D:!!(_=null==a?0:a.length)&&el(_)&&ro(C,_)&&(Ee(a)||Za(a))}function Ua(a){return"function"!=typeof a.constructor||Ho(a)?{}:Oa(ku(a))}function fd(a){return Ee(a)||Za(a)||!!(Bu&&a&&a[Bu])}function ro(a,c){var f=typeof a;return!!(c=c??os)&&("number"==f||"symbol"!=f&&y0.test(a))&&a>-1&&a%1==0&&a<c}function Ln(a,c,f){if(!_t(f))return!1;var g=typeof c;return!!("number"==g?Vn(f)&&ro(c,f.length):"string"==g&&c in f)&&pr(f[c],a)}function hd(a,c){if(Ee(a))return!1;var f=typeof a;return!("number"!=f&&"symbol"!=f&&"boolean"!=f&&null!=a&&!yn(a))||fa.test(a)||!R.test(a)||null!=c&&a in mt(c)}function qi(a){var c=io(a),f=y[c];if("function"!=typeof f||!(c in Ve.prototype))return!1;if(a===f)return!0;var g=no(f);return!!g&&a===g[0]}(uh&&un(new uh(new ArrayBuffer(1)))!=ua||Ta&&un(new Ta)!=mi||Js&&un(Js.resolve())!=as||Ma&&un(new Ma)!=ri||Jl&&un(new Jl)!=mu)&&(un=function(a){var c=Pn(a),f=c==Pi?a.constructor:E,g=f?Je(f):"";if(g)switch(g){case Wm:return ua;case $u:return mi;case Na:return as;case W0:return ri;case q0:return mu}return c});var pd=Fu?mr:Kn;function Ho(a){var c=a&&a.constructor;return a===("function"==typeof c&&c.prototype||wa)}function xh(a){return a==a&&!_t(a)}function oc(a,c){return function(f){return null!=f&&f[a]===c&&(c!==E||a in mt(f))}}function Fh(a,c,f){return c=Wt(c===E?a.length-1:c,0),function(){for(var g=arguments,_=-1,D=Wt(g.length-c,0),C=x(D);++_<D;)C[_]=g[c+_];_=-1;for(var T=x(c+1);++_<c;)T[_]=g[_];return T[c]=f(C),qn(a,this,T)}}function kh(a,c){return c.length<2?a:La(a,Gi(c,0,-1))}function Ga(a,c){if(("constructor"!==c||"function"!=typeof a[c])&&"__proto__"!=c)return a[c]}var so=jo(Qu),ac=ch||function(a,c){return gn.setTimeout(a,c)},gd=jo(o_);function Lh(a,c,f){var g=c+"";return gd(a,function Rh(a,c){var f=c.length;if(!f)return a;var g=f-1;return c[g]=(f>1?"& ":"")+c[g],c=c.join(f>2?", ":" "),a.replace(ls,"{\n/* [wrapped with "+c+"] */\n")}(g,function Bh(a,c){return Fi(bm,function(f){var g="_."+f[0];c&f[1]&&!fs(a,g)&&a.push(g)}),a.sort()}(function Oh(a){var c=a.match(ha);return c?c[1].split(pa):[]}(g),f)))}function jo(a){var c=0,f=0;return function(){var g=_n(),_=16-(g-f);if(f=g,_>0){if(++c>=800)return arguments[0]}else c=0;return a.apply(E,arguments)}}function ys(a,c){var f=-1,g=a.length,_=g-1;for(c=c===E?g:c;++f<c;){var D=nc(f,_),C=a[D];a[D]=a[f],a[f]=C}return a.length=c,a}var Zt=function Ph(a){var c=gc(a,function(g){return 500===f.size&&f.clear(),g}),f=c.cache;return c}(function(a){var c=[];return 46===a.charCodeAt(0)&&c.push(""),a.replace(yu,function(f,g,_,D){c.push(_?D.replace(zf,"$1"):g||f)}),c});function $r(a){if("string"==typeof a||yn(a))return a;var c=a+"";return"0"==c&&1/a==-Vs?"-0":c}function Je(a){if(null!=a){try{return qe.call(a)}catch{}try{return a+""}catch{}}return""}function w_(a){if(a instanceof Ve)return a.clone();var c=new Bi(a.__wrapped__,a.__chain__);return c.__actions__=$t(a.__actions__),c.__index__=a.__index__,c.__values__=a.__values__,c}var C_=Oe(function(a,c){return kt(a)?Ql(a,xn(c,1,kt,!0)):[]}),Vh=Oe(function(a,c){var f=ai(c);return kt(f)&&(f=E),kt(a)?Ql(a,xn(c,1,kt,!0),ce(f,2)):[]}),md=Oe(function(a,c){var f=ai(c);return kt(f)&&(f=E),kt(a)?Ql(a,xn(c,1,kt,!0),E,f):[]});function M_(a,c,f){var g=null==a?0:a.length;if(!g)return-1;var _=null==f?0:we(f);return _<0&&(_=Wt(g+_,0)),Iu(a,ce(c,3),_)}function Hh(a,c,f){var g=null==a?0:a.length;if(!g)return-1;var _=g-1;return f!==E&&(_=we(f),_=f<0?Wt(g+_,0):nn(_,g-1)),Iu(a,ce(c,3),_,!0)}function I_(a){return null!=a&&a.length?xn(a,1):[]}function jh(a){return a&&a.length?a[0]:E}var yD=Oe(function(a){var c=Qe(a,Ke);return c.length&&c[0]===a[0]?_h(c):[]}),KT=Oe(function(a){var c=ai(a),f=Qe(a,Ke);return c===ai(f)?c=E:f.pop(),f.length&&f[0]===a[0]?_h(f,ce(c,2)):[]}),A_=Oe(function(a){var c=ai(a),f=Qe(a,Ke);return(c="function"==typeof c?c:E)&&f.pop(),f.length&&f[0]===a[0]?_h(f,E,c):[]});function ai(a){var c=null==a?0:a.length;return c?a[c-1]:E}var bD=Oe(R_);function R_(a,c){return a&&a.length&&c&&c.length?Yu(a,c):a}var DD=jr(function(a,c){var f=null==a?0:a.length,g=yi(a,c);return tc(a,Qe(c,function(_){return ro(_,f)?+_:_}).sort(kn)),g});function za(a){return null==a?a:z0.call(a)}var zh=Oe(function(a){return eo(xn(a,1,kt,!0))}),TD=Oe(function(a){var c=ai(a);return kt(c)&&(c=E),eo(xn(a,1,kt,!0),ce(c,2))}),MD=Oe(function(a){var c=ai(a);return c="function"==typeof c?c:E,eo(xn(a,1,kt,!0),E,c)});function Wh(a){if(!a||!a.length)return[];var c=0;return a=ds(a,function(f){if(kt(f))return c=Wt(f.length,c),!0}),Gs(c,function(f){return Qe(a,ba(f))})}function qh(a,c){if(!a||!a.length)return[];var f=Wh(a);return null==c?f:Qe(f,function(g){return qn(c,E,g)})}var iM=Oe(function(a,c){return kt(a)?Ql(a,c):[]}),rM=Oe(function(a){return He(ds(a,kt))}),sM=Oe(function(a){var c=ai(a);return kt(c)&&(c=E),He(ds(a,kt),ce(c,2))}),oM=Oe(function(a){var c=ai(a);return c="function"==typeof c?c:E,He(ds(a,kt),E,c)}),aM=Oe(Wh),et=Oe(function(a){var c=a.length,f=c>1?a[c-1]:E;return f="function"==typeof f?(a.pop(),f):E,qh(a,f)});function Jh(a){var c=y(a);return c.__chain__=!0,c}function qa(a,c){return c(a)}var lc=jr(function(a){var c=a.length,f=c?a[0]:0,g=this.__wrapped__,_=function(D){return yi(D,a)};return!(c>1||this.__actions__.length)&&g instanceof Ve&&ro(f)?((g=g.slice(f,+f+(c?1:0))).__actions__.push({func:qa,args:[_],thisArg:E}),new Bi(g,this.__chain__).thru(function(D){return c&&!D.length&&D.push(E),D})):this.thru(_)}),RD=nd(function(a,c,f){st.call(a,f)?++a[f]:$i(a,f,1)}),H_=Ch(M_),Qh=Ch(Hh);function Kh(a,c){return(Ee(a)?Fi:kr)(a,ce(c,3))}function dc(a,c){return(Ee(a)?F0:Q0)(a,ce(c,3))}var lM=nd(function(a,c,f){st.call(a,f)?a[f].push(c):$i(a,f,[c])}),Bn=Oe(function(a,c,f){var g=-1,_="function"==typeof c,D=Vn(a)?x(a.length):[];return kr(a,function(C){D[++g]=_?qn(c,C,f):jt(C,c,f)}),D}),Ja=nd(function(a,c,f){$i(a,f,c)});function fc(a,c){return(Ee(a)?Qe:i_)(a,ce(c,3))}var kD=nd(function(a,c,f){a[f?0:1].push(c)},function(){return[[],[]]}),$D=Oe(function(a,c){if(null==a)return[];var f=c.length;return f>1&&Ln(a,c[0],c[1])?c=[]:f>2&&Ln(c[0],c[1],c[2])&&(c=[c[0]]),r_(a,xn(c,1),[])}),hc=$0||function(){return gn.Date.now()};function ep(a,c,f){return c=f?E:c,wi(a,128,E,E,E,E,c=a&&null==c?a.length:c)}function pc(a,c){var f;if("function"!=typeof c)throw new Li(me);return a=we(a),function(){return--a>0&&(f=c.apply(this,arguments)),a<=1&&(c=E),f}}var vd=Oe(function(a,c,f){var g=1;if(f.length){var _=ar(f,ja(vd));g|=32}return wi(a,g,c,f,_)}),tp=Oe(function(a,c,f){var g=3;if(f.length){var _=ar(f,ja(tp));g|=32}return wi(c,g,a,f,_)});function W_(a,c,f){var g,_,D,C,T,A,L=0,B=!1,j=!1,Q=!0;if("function"!=typeof a)throw new Li(me);function oe(vt){var Yi=g,_r=_;return g=_=E,L=vt,C=a.apply(_r,Yi)}function _e(vt){var Yi=vt-A;return A===E||Yi>=c||Yi<0||j&&vt-L>=D}function Be(){var vt=hc();if(_e(vt))return je(vt);T=ac(Be,function Fe(vt){var ol=c-(vt-A);return j?nn(ol,D-(vt-L)):ol}(vt))}function je(vt){return T=E,Q&&g?oe(vt):(g=_=E,C)}function jn(){var vt=hc(),Yi=_e(vt);if(g=arguments,_=this,A=vt,Yi){if(T===E)return function fe(vt){return L=vt,T=ac(Be,c),B?oe(vt):C}(A);if(j)return td(T),T=ac(Be,c),oe(A)}return T===E&&(T=ac(Be,c)),C}return c=Xn(c)||0,_t(f)&&(B=!!f.leading,D=(j="maxWait"in f)?Wt(Xn(f.maxWait)||0,c):D,Q="trailing"in f?!!f.trailing:Q),jn.cancel=function ei(){T!==E&&td(T),L=0,g=A=_=T=E},jn.flush=function Hn(){return T===E?C:je(hc())},jn}var UD=Oe(function(a,c){return hh(a,1,c)}),GD=Oe(function(a,c,f){return hh(a,Xn(c)||0,f)});function gc(a,c){if("function"!=typeof a||null!=c&&"function"!=typeof c)throw new Li(me);var f=function(){var g=arguments,_=c?c.apply(this,g):g[0],D=f.cache;if(D.has(_))return D.get(_);var C=a.apply(this,g);return f.cache=D.set(_,C)||D,C};return f.cache=new(gc.Cache||ae),f}function rp(a){if("function"!=typeof a)throw new Li(me);return function(){var c=arguments;switch(c.length){case 0:return!a.call(this);case 1:return!a.call(this,c[0]);case 2:return!a.call(this,c[0],c[1]);case 3:return!a.call(this,c[0],c[1],c[2])}return!a.apply(this,c)}}gc.Cache=ae;var WD=fr(function(a,c){var f=(c=1==c.length&&Ee(c[0])?Qe(c[0],An(ce())):Qe(xn(c,1),An(ce()))).length;return Oe(function(g){for(var _=-1,D=nn(g.length,f);++_<D;)g[_]=c[_].call(this,g[_]);return qn(a,this,g)})}),sp=Oe(function(a,c){var f=ar(c,ja(sp));return wi(a,32,E,c,f)}),qD=Oe(function(a,c){var f=ar(c,ja(qD));return wi(a,64,E,c,f)}),JD=jr(function(a,c){return wi(a,256,E,E,E,c)});function pr(a,c){return a===c||a!=a&&c!=c}var QD=ld(Qm),dM=ld(function(a,c){return a>=c}),Za=vh(function(){return arguments}())?vh:function(a){return Ut(a)&&st.call(a,"callee")&&!Ea.call(a,"callee")},Ee=x.isArray,XD=Xf?An(Xf):function eD(a){return Ut(a)&&Pn(a)==ca};function Vn(a){return null!=a&&el(a.length)&&!mr(a)}function kt(a){return Ut(a)&&Vn(a)}var gr=U0||Kn,ap=Wn?An(Wn):function tD(a){return Ut(a)&&Pn(a)==fu};function Ka(a){if(!Ut(a))return!1;var c=Pn(a);return c==hu||"[object DOMException]"==c||"string"==typeof a.message&&"string"==typeof a.name&&!nl(a)}function mr(a){if(!_t(a))return!1;var c=Pn(a);return c==Vf||c==aa||"[object AsyncFunction]"==c||"[object Proxy]"==c}function KD(a){return"number"==typeof a&&a==we(a)}function el(a){return"number"==typeof a&&a>-1&&a%1==0&&a<=os}function _t(a){var c=typeof a;return null!=a&&("object"==c||"function"==c)}function Ut(a){return null!=a&&"object"==typeof a}var cp=Kf?An(Kf):function nD(a){return Ut(a)&&un(a)==mi};function tl(a){return"number"==typeof a||Ut(a)&&Pn(a)==zn}function nl(a){if(!Ut(a)||Pn(a)!=Pi)return!1;var c=ku(a);if(null===c)return!0;var f=st.call(c,"constructor")&&c.constructor;return"function"==typeof f&&f instanceof f&&qe.call(f)==en}var vc=x0?An(x0):function Lr(a){return Ut(a)&&Pn(a)==pu},s1=P0?An(P0):function t_(a){return Ut(a)&&un(a)==ri};function dp(a){return"string"==typeof a||!Ee(a)&&Ut(a)&&Pn(a)==nt}function yn(a){return"symbol"==typeof a||Ut(a)&&Pn(a)==xl}var il=va?An(va):function n_(a){return Ut(a)&&el(a.length)&&!!gt[Pn(a)]},o1=ld(vn),ev=ld(function(a,c){return a<=c});function Dd(a){if(!a)return[];if(Vn(a))return dp(a)?ki(a):$t(a);if(Ca&&a[Ca])return function Rr(N){for(var F,x=[];!(F=N.next()).done;)x.push(F.value);return x}(a[Ca]());var c=un(a);return(c==mi?Au:c==ri?xo:lo)(a)}function Gr(a){return a?(a=Xn(a))===Vs||a===-Vs?17976931348623157e292*(a<0?-1:1):a==a?a:0:0===a?a:0}function we(a){var c=Gr(a),f=c%1;return c==c?f?c-f:c:0}function hp(a){return a?dr(we(a),0,Or):0}function Xn(a){if("number"==typeof a)return a;if(yn(a))return NaN;if(_t(a)){var c="function"==typeof a.valueOf?a.valueOf():a;a=_t(c)?c+"":c}if("string"!=typeof a)return 0===a?a:+a;a=jl(a);var f=RT.test(a);return f||at.test(a)?Ze(a.slice(2),f?2:8):Ct.test(a)?NaN:+a}function pp(a){return Vr(a,ci(a))}function tt(a){return null==a?"":Di(a)}var gp=to(function(a,c){if(Ho(c)||Vn(c))Vr(c,dn(c),a);else for(var f in c)st.call(c,f)&&Zs(a,f,c[f])}),mp=to(function(a,c){Vr(c,ci(c),a)}),$o=to(function(a,c,f,g){Vr(c,ci(c),a,g)}),_p=to(function(a,c,f,g){Vr(c,dn(c),a,g)}),rl=jr(yi),l1=Oe(function(a,c){a=mt(a);var f=-1,g=c.length,_=g>2?c[2]:E;for(_&&Ln(c[0],c[1],_)&&(g=1);++f<g;)for(var D=c[f],C=ci(D),T=-1,A=C.length;++T<A;){var L=C[T],B=a[L];(B===E||pr(B,wa[L])&&!st.call(a,L))&&(a[L]=D[L])}return a}),fM=Oe(function(a){return a.push(E,v_),qn(Dp,E,a)});function yp(a,c,f){var g=null==a?E:La(a,c);return g===E?f:g}function bp(a,c){return null!=a&&$a(a,c,qT)}var Ei=od(function(a,c,f){null!=c&&"function"!=typeof c.toString&&(c=Ne.call(c)),a[c]=f},Ip(Ci)),zr=od(function(a,c,f){null!=c&&"function"!=typeof c.toString&&(c=Ne.call(c)),st.call(a,c)?a[c].push(f):a[c]=[f]},ce),f1=Oe(jt);function dn(a){return Vn(a)?Fa(a):Kl(a)}function ci(a){return Vn(a)?Fa(a,!0):function ec(a){if(!_t(a))return function b_(a){var c=[];if(null!=a)for(var f in mt(a))c.push(f);return c}(a);var c=Ho(a),f=[];for(var g in a)"constructor"==g&&(c||!st.call(a,g))||f.push(g);return f}(a)}var g1=to(function(a,c,f){Fn(a,c,f)}),Dp=to(function(a,c,f,g){Fn(a,c,f,g)}),m1=jr(function(a,c){var f={};if(null==a)return f;var g=!1;c=Qe(c,function(D){return D=zi(D,a),g||(g=D.length>1),D}),Vr(a,Nh(a),f),g&&(f=bi(f,7,cd));for(var _=c.length;_--;)bh(f,c[_]);return f}),v1=jr(function(a,c){return null==a?{}:function Ui(a,c){return yh(a,c,function(f,g){return bp(a,g)})}(a,c)});function sv(a,c){if(null==a)return{};var f=Qe(Nh(a),function(g){return[g]});return c=ce(c),yh(a,f,function(g,_){return c(g,_[0])})}var wp=Mh(dn),Ep=Mh(ci);function lo(a){return null==a?[]:$l(a,dn(a))}var y1=ko(function(a,c,f){return c=c.toLowerCase(),a+(f?lv(c):c)});function lv(a){return Tp(tt(a).toLowerCase())}function cv(a){return(a=tt(a))&&a.replace(Xt,rh).replace(Zf,"")}var dv=ko(function(a,c,f){return a+(f?"-":"")+c.toLowerCase()}),w1=ko(function(a,c,f){return a+(f?" ":"")+c.toLowerCase()}),E1=h_("toLowerCase"),pv=ko(function(a,c,f){return a+(f?"_":"")+c.toLowerCase()}),bc=ko(function(a,c,f){return a+(f?" ":"")+Tp(c)}),A1=ko(function(a,c,f){return a+(f?" ":"")+c.toUpperCase()}),Tp=h_("toUpperCase");function _v(a,c,f){return a=tt(a),(c=f?E:c)===E?function Ge(N){return $T.test(N)}(a)?function H0(N){return N.match(HT)||[]}(a):function Vl(N){return N.match(ga)||[]}(a):a.match(c)||[]}var Mp=Oe(function(a,c){try{return qn(a,E,c)}catch(f){return Ka(f)?f:new Me(f)}}),O1=jr(function(a,c){return Fi(c,function(f){f=$r(f),$i(a,f,vd(a[f],a))}),a});function Ip(a){return function(){return a}}var F1=Sh(),Np=Sh(!0);function Ci(a){return a}function vv(a){return Ue("function"==typeof a?a:bi(a,1))}var DM=Oe(function(a,c){return function(f){return jt(f,a,c)}}),wM=Oe(function(a,c){return function(f){return jt(a,f,c)}});function yv(a,c,f){var g=dn(c),_=gh(c,g);null==f&&(!_t(c)||!_.length&&g.length)&&(f=c,c=a,a=this,_=gh(c,dn(c)));var D=!(_t(f)&&"chain"in f&&!f.chain),C=mr(a);return Fi(_,function(T){var A=c[T];a[T]=A,C&&(a.prototype[T]=function(){var L=this.__chain__;if(D||L){var B=a(this.__wrapped__);return(B.__actions__=$t(this.__actions__)).push({func:A,args:arguments,thisArg:a}),B.__chain__=L,B}return A.apply(a,$s([this.value()],arguments))})}),a}function Op(){}var Td=rn(Qe),bv=rn(Lm),Dv=rn(S);function Rp(a){return hd(a)?ba($r(a)):function s_(a){return function(c){return La(c,a)}}(a)}var wv=g_(),Ev=g_(!0);function co(){return[]}function Kn(){return!1}var Sv=ad(function(a,c){return a+c},0),Tv=Th("ceil"),MM=ad(function(a,c){return a/c},1),uo=Th("floor"),kp=ad(function(a,c){return a*c},1),Md=Th("round"),V1=ad(function(a,c){return a-c},0);return y.after=function z_(a,c){if("function"!=typeof c)throw new Li(me);return a=we(a),function(){if(--a<1)return c.apply(this,arguments)}},y.ary=ep,y.assign=gp,y.assignIn=mp,y.assignInWith=$o,y.assignWith=_p,y.at=rl,y.before=pc,y.bind=vd,y.bindAll=O1,y.bindKey=tp,y.castArray=function ZD(){if(!arguments.length)return[];var a=arguments[0];return Ee(a)?a:[a]},y.chain=Jh,y.chunk=function E_(a,c,f){c=(f?Ln(a,c,f):c===E)?1:Wt(we(c),0);var g=null==a?0:a.length;if(!g||c<1)return[];for(var _=0,D=0,C=x(Wl(g/c));_<g;)C[D++]=Gi(a,_,_+=c);return C},y.compact=function oo(a){for(var c=-1,f=null==a?0:a.length,g=0,_=[];++c<f;){var D=a[c];D&&(_[g++]=D)}return _},y.concat=function pD(){var a=arguments.length;if(!a)return[];for(var c=x(a-1),f=arguments[0],g=a;g--;)c[g-1]=arguments[g];return $s(Ee(f)?$t(f):[f],xn(c,1))},y.cond=function R1(a){var c=null==a?0:a.length,f=ce();return a=c?Qe(a,function(g){if("function"!=typeof g[1])throw new Li(me);return[f(g[0]),g[1]]}):[],Oe(function(g){for(var _=-1;++_<c;){var D=a[_];if(qn(D[0],this,g))return qn(D[1],this,g)}})},y.conforms=function x1(a){return function Z0(a){var c=dn(a);return function(f){return qu(f,a,c)}}(bi(a,1))},y.constant=Ip,y.countBy=RD,y.create=function a1(a,c){var f=Oa(a);return null==c?f:Wu(f,c)},y.curry=function np(a,c,f){var g=wi(a,8,E,E,E,E,E,c=f?E:c);return g.placeholder=np.placeholder,g},y.curryRight=function ip(a,c,f){var g=wi(a,16,E,E,E,E,E,c=f?E:c);return g.placeholder=ip.placeholder,g},y.debounce=W_,y.defaults=l1,y.defaultsDeep=fM,y.defer=UD,y.delay=GD,y.difference=C_,y.differenceBy=Vh,y.differenceWith=md,y.drop=function S_(a,c,f){var g=null==a?0:a.length;return g?Gi(a,(c=f||c===E?1:we(c))<0?0:c,g):[]},y.dropRight=function gD(a,c,f){var g=null==a?0:a.length;return g?Gi(a,0,(c=g-(c=f||c===E?1:we(c)))<0?0:c):[]},y.dropRightWhile=function mD(a,c){return a&&a.length?P(a,ce(c,3),!0,!0):[]},y.dropWhile=function _D(a,c){return a&&a.length?P(a,ce(c,3),!0):[]},y.fill=function T_(a,c,f,g){var _=null==a?0:a.length;return _?(f&&"number"!=typeof f&&Ln(a,c,f)&&(f=0,g=_),function zT(a,c,f,g){var _=a.length;for((f=we(f))<0&&(f=-f>_?0:_+f),(g=g===E||g>_?_:we(g))<0&&(g+=_),g=f>g?0:hp(g);f<g;)a[f++]=c;return a}(a,c,f,g)):[]},y.filter=function PD(a,c){return(Ee(a)?ds:X0)(a,ce(c,3))},y.flatMap=function FD(a,c){return xn(fc(a,c),1)},y.flatMapDeep=function li(a,c){return xn(fc(a,c),Vs)},y.flatMapDepth=function Xh(a,c,f){return f=f===E?1:we(f),xn(fc(a,c),f)},y.flatten=I_,y.flattenDeep=function vD(a){return null!=a&&a.length?xn(a,Vs):[]},y.flattenDepth=function QT(a,c){return null!=a&&a.length?xn(a,c=c===E?1:we(c)):[]},y.flip=function zD(a){return wi(a,512)},y.flow=F1,y.flowRight=Np,y.fromPairs=function N_(a){for(var c=-1,f=null==a?0:a.length,g={};++c<f;){var _=a[c];g[_[0]]=_[1]}return g},y.functions=function c1(a){return null==a?[]:gh(a,dn(a))},y.functionsIn=function u1(a){return null==a?[]:gh(a,ci(a))},y.groupBy=lM,y.initial=function XT(a){return null!=a&&a.length?Gi(a,0,-1):[]},y.intersection=yD,y.intersectionBy=KT,y.intersectionWith=A_,y.invert=Ei,y.invertBy=zr,y.invokeMap=Bn,y.iteratee=vv,y.keyBy=Ja,y.keys=dn,y.keysIn=ci,y.map=fc,y.mapKeys=function h1(a,c){var f={};return c=ce(c,3),ms(a,function(g,_,D){$i(f,c(g,_,D),g)}),f},y.mapValues=function p1(a,c){var f={};return c=ce(c,3),ms(a,function(g,_,D){$i(f,_,c(g,_,D))}),f},y.matches=function Ap(a){return Va(bi(a,1))},y.matchesProperty=function bM(a,c){return Qs(a,bi(c,1))},y.memoize=gc,y.merge=g1,y.mergeWith=Dp,y.method=DM,y.methodOf=wM,y.mixin=yv,y.negate=rp,y.nthArg=function Sd(a){return a=we(a),Oe(function(c){return Ju(c,a)})},y.omit=m1,y.omitBy=function _1(a,c){return sv(a,rp(ce(c)))},y.once=function q_(a){return pc(2,a)},y.orderBy=function j_(a,c,f,g){return null==a?[]:(Ee(c)||(c=null==c?[]:[c]),Ee(f=g?E:f)||(f=null==f?[]:[f]),r_(a,c,f))},y.over=Td,y.overArgs=WD,y.overEvery=bv,y.overSome=Dv,y.partial=sp,y.partialRight=qD,y.partition=kD,y.pick=v1,y.pickBy=sv,y.property=Rp,y.propertyOf=function k1(a){return function(c){return null==a?E:La(a,c)}},y.pull=bD,y.pullAll=R_,y.pullAllBy=function Ds(a,c,f){return a&&a.length&&c&&c.length?Yu(a,c,ce(f,2)):a},y.pullAllWith=function tM(a,c,f){return a&&a.length&&c&&c.length?Yu(a,c,E,f):a},y.pullAt=DD,y.range=wv,y.rangeRight=Ev,y.rearg=JD,y.reject=function U_(a,c){return(Ee(a)?ds:X0)(a,rp(ce(c,3)))},y.remove=function ue(a,c){var f=[];if(!a||!a.length)return f;var g=-1,_=[],D=a.length;for(c=ce(c,3);++g<D;){var C=a[g];c(C,g,a)&&(f.push(C),_.push(g))}return tc(a,_),f},y.rest=function J_(a,c){if("function"!=typeof a)throw new Li(me);return Oe(a,c=c===E?c:we(c))},y.reverse=za,y.sampleSize=function G_(a,c,f){return c=(f?Ln(a,c,f):c===E)?1:we(c),(Ee(a)?zu:be)(a,c)},y.set=function Es(a,c,f){return null==a?a:Xs(a,c,f)},y.setWith=function yc(a,c,f,g){return g="function"==typeof g?g:E,null==a?a:Xs(a,c,f,g)},y.shuffle=function VD(a){return(Ee(a)?ka:YT)(a)},y.slice=function x_(a,c,f){var g=null==a?0:a.length;return g?(f&&"number"!=typeof f&&Ln(a,c,f)?(c=0,f=g):(c=null==c?0:we(c),f=f===E?g:we(f)),Gi(a,c,f)):[]},y.sortBy=$D,y.sortedUniq=function ED(a){return a&&a.length?Ks(a):[]},y.sortedUniqBy=function Uh(a,c){return a&&a.length?Ks(a,ce(c,2)):[]},y.split=function S1(a,c,f){return f&&"number"!=typeof f&&Ln(a,c,f)&&(c=f=E),(f=f===E?Or:f>>>0)?(a=tt(a))&&("string"==typeof c||null!=c&&!vc(c))&&!(c=Di(c))&&Jn(a)?Br(ki(a),0,f):a.split(c,f):[]},y.spread=function op(a,c){if("function"!=typeof a)throw new Li(me);return c=null==c?0:Wt(we(c),0),Oe(function(f){var g=f[c],_=Br(f,0,c);return g&&$s(_,g),qn(a,this,_)})},y.tail=function CD(a){var c=null==a?0:a.length;return c?Gi(a,1,c):[]},y.take=function SD(a,c,f){return a&&a.length?Gi(a,0,(c=f||c===E?1:we(c))<0?0:c):[]},y.takeRight=function Gh(a,c,f){var g=null==a?0:a.length;return g?Gi(a,(c=g-(c=f||c===E?1:we(c)))<0?0:c,g):[]},y.takeRightWhile=function F_(a,c){return a&&a.length?P(a,ce(c,3),!1,!0):[]},y.takeWhile=function k_(a,c){return a&&a.length?P(a,ce(c,3)):[]},y.tap=function AD(a,c){return c(a),a},y.throttle=function YD(a,c,f){var g=!0,_=!0;if("function"!=typeof a)throw new Li(me);return _t(f)&&(g="leading"in f?!!f.leading:g,_="trailing"in f?!!f.trailing:_),W_(a,c,{leading:g,maxWait:c,trailing:_})},y.thru=qa,y.toArray=Dd,y.toPairs=wp,y.toPairsIn=Ep,y.toPath=function SM(a){return Ee(a)?Qe(a,$r):yn(a)?[a]:$t(Zt(tt(a)))},y.toPlainObject=pp,y.transform=function ov(a,c,f){var g=Ee(a),_=g||gr(a)||il(a);if(c=ce(c,4),null==f){var D=a&&a.constructor;f=_?g?new D:[]:_t(a)&&mr(D)?Oa(ku(a)):{}}return(_?Fi:ms)(a,function(C,T,A){return c(f,C,T,A)}),f},y.unary=function ao(a){return ep(a,1)},y.union=zh,y.unionBy=TD,y.unionWith=MD,y.uniq=function L_(a){return a&&a.length?eo(a):[]},y.uniqBy=function ID(a,c){return a&&a.length?eo(a,ce(c,2)):[]},y.uniqWith=function Ur(a,c){return c="function"==typeof c?c:E,a&&a.length?eo(a,E,c):[]},y.unset=function hM(a,c){return null==a||bh(a,c)},y.unzip=Wh,y.unzipWith=qh,y.update=function pM(a,c,f){return null==a?a:l_(a,c,ed(f))},y.updateWith=function gM(a,c,f,g){return g="function"==typeof g?g:E,null==a?a:l_(a,c,ed(f),g)},y.values=lo,y.valuesIn=function Cp(a){return null==a?[]:$l(a,ci(a))},y.without=iM,y.words=_v,y.wrap=function Ya(a,c){return sp(ed(c),a)},y.xor=rM,y.xorBy=sM,y.xorWith=oM,y.zip=aM,y.zipObject=function ND(a,c){return $e(a||[],c||[],Zs)},y.zipObjectDeep=function Wa(a,c){return $e(a||[],c||[],Xs)},y.zipWith=et,y.entries=wp,y.entriesIn=Ep,y.extend=mp,y.extendWith=$o,yv(y,y),y.add=Sv,y.attempt=Mp,y.camelCase=y1,y.capitalize=lv,y.ceil=Tv,y.clamp=function mM(a,c,f){return f===E&&(f=c,c=E),f!==E&&(f=(f=Xn(f))==f?f:0),c!==E&&(c=(c=Xn(c))==c?c:0),dr(Xn(a),c,f)},y.clone=function Y_(a){return bi(a,4)},y.cloneDeep=function uM(a){return bi(a,5)},y.cloneDeepWith=function Z_(a,c){return bi(a,5,c="function"==typeof c?c:E)},y.cloneWith=function ws(a,c){return bi(a,4,c="function"==typeof c?c:E)},y.conformsTo=function Q_(a,c){return null==c||qu(a,c,dn(c))},y.deburr=cv,y.defaultTo=function P1(a,c){return null==a||a!=a?c:a},y.divide=MM,y.endsWith=function b1(a,c,f){a=tt(a),c=Di(c);var g=a.length,_=f=f===E?g:dr(we(f),0,g);return(f-=c.length)>=0&&a.slice(f,_)==c},y.eq=pr,y.escape=function D1(a){return(a=tt(a))&&m0.test(a)?a.replace(_i,Da):a},y.escapeRegExp=function uv(a){return(a=tt(a))&&OT.test(a)?a.replace(bu,"\\$&"):a},y.every=function xD(a,c,f){var g=Ee(a)?Lm:GT;return f&&Ln(a,c,f)&&(c=E),g(a,ce(c,3))},y.find=H_,y.findIndex=M_,y.findKey=function wd(a,c){return Vm(a,ce(c,3),ms)},y.findLast=Qh,y.findLastIndex=Hh,y.findLastKey=function vp(a,c){return Vm(a,ce(c,3),Zm)},y.floor=uo,y.forEach=Kh,y.forEachRight=dc,y.forIn=function nv(a,c){return null==a?a:Ym(a,ce(c,3),ci)},y.forInRight=function iv(a,c){return null==a?a:K0(a,ce(c,3),ci)},y.forOwn=function rv(a,c){return a&&ms(a,ce(c,3))},y.forOwnRight=function Uo(a,c){return a&&Zm(a,ce(c,3))},y.get=yp,y.gt=QD,y.gte=dM,y.has=function d1(a,c){return null!=a&&$a(a,c,WT)},y.hasIn=bp,y.head=jh,y.identity=Ci,y.includes=function cM(a,c,f,g){a=Vn(a)?a:lo(a),f=f&&!g?we(f):0;var _=a.length;return f<0&&(f=Wt(_+f,0)),dp(a)?f<=_&&a.indexOf(c,f)>-1:!!_&&ya(a,c,f)>-1},y.indexOf=function lt(a,c,f){var g=null==a?0:a.length;if(!g)return-1;var _=null==f?0:we(f);return _<0&&(_=Wt(g+_,0)),ya(a,c,_)},y.inRange=function _M(a,c,f){return c=Gr(c),f===E?(f=c,c=0):f=Gr(f),function JT(a,c,f){return a>=nn(c,f)&&a<Wt(c,f)}(a=Xn(a),c,f)},y.invoke=f1,y.isArguments=Za,y.isArray=Ee,y.isArrayBuffer=XD,y.isArrayLike=Vn,y.isArrayLikeObject=kt,y.isBoolean=function Qa(a){return!0===a||!1===a||Ut(a)&&Pn(a)==Rl},y.isBuffer=gr,y.isDate=ap,y.isElement=function mc(a){return Ut(a)&&1===a.nodeType&&!nl(a)},y.isEmpty=function yd(a){if(null==a)return!0;if(Vn(a)&&(Ee(a)||"string"==typeof a||"function"==typeof a.splice||gr(a)||il(a)||Za(a)))return!a.length;var c=un(a);if(c==mi||c==ri)return!a.size;if(Ho(a))return!Kl(a).length;for(var f in a)if(st.call(a,f))return!1;return!0},y.isEqual=function Xa(a,c){return Ba(a,c)},y.isEqualWith=function lp(a,c,f){var g=(f="function"==typeof f?f:E)?f(a,c):E;return g===E?Ba(a,c,E,f):!!g},y.isError=Ka,y.isFinite=function _c(a){return"number"==typeof a&&Vu(a)},y.isFunction=mr,y.isInteger=KD,y.isLength=el,y.isMap=cp,y.isMatch=function e1(a,c){return a===c||Xl(a,c,Ah(c))},y.isMatchWith=function t1(a,c,f){return f="function"==typeof f?f:E,Xl(a,c,Ah(c),f)},y.isNaN=function up(a){return tl(a)&&a!=+a},y.isNative=function X_(a){if(pd(a))throw new Me("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return e_(a)},y.isNil=function i1(a){return null==a},y.isNull=function n1(a){return null===a},y.isNumber=tl,y.isObject=_t,y.isObjectLike=Ut,y.isPlainObject=nl,y.isRegExp=vc,y.isSafeInteger=function r1(a){return KD(a)&&a>=-os&&a<=os},y.isSet=s1,y.isString=dp,y.isSymbol=yn,y.isTypedArray=il,y.isUndefined=function bd(a){return a===E},y.isWeakMap=function fp(a){return Ut(a)&&un(a)==mu},y.isWeakSet=function K_(a){return Ut(a)&&"[object WeakSet]"==Pn(a)},y.join=function eM(a,c){return null==a?"":Hu.call(a,c)},y.kebabCase=dv,y.last=ai,y.lastIndexOf=function O_(a,c,f){var g=null==a?0:a.length;if(!g)return-1;var _=g;return f!==E&&(_=(_=we(f))<0?Wt(g+_,0):nn(_,g-1)),c==c?function V0(N,F,x){for(var te=x+1;te--;)if(N[te]===F)return te;return te}(a,c,_):Iu(a,Hl,_,!0)},y.lowerCase=w1,y.lowerFirst=E1,y.lt=o1,y.lte=ev,y.max=function xp(a){return a&&a.length?ph(a,Ci,Qm):E},y.maxBy=function Pp(a,c){return a&&a.length?ph(a,ce(c,2),Qm):E},y.mean=function B1(a){return Hm(a,Ci)},y.meanBy=function sl(a,c){return Hm(a,ce(c,2))},y.min=function Fp(a){return a&&a.length?ph(a,Ci,vn):E},y.minBy=function Mv(a,c){return a&&a.length?ph(a,ce(c,2),vn):E},y.stubArray=co,y.stubFalse=Kn,y.stubObject=function Si(){return{}},y.stubString=function Cv(){return""},y.stubTrue=function CM(){return!0},y.multiply=kp,y.nth=function bs(a,c){return a&&a.length?Ju(a,we(c)):E},y.noConflict=function EM(){return gn._===this&&(gn._=mn),this},y.noop=Op,y.now=hc,y.pad=function fv(a,c,f){a=tt(a);var g=(c=we(c))?Ws(a):0;if(!c||g>=c)return a;var _=(c-g)/2;return Hr(ql(_),f)+a+Hr(Wl(_),f)},y.padEnd=function Cd(a,c,f){a=tt(a);var g=(c=we(c))?Ws(a):0;return c&&g<c?a+Hr(c-g,f):a},y.padStart=function hv(a,c,f){a=tt(a);var g=(c=we(c))?Ws(a):0;return c&&g<c?Hr(c-g,f)+a:a},y.parseInt=function Sp(a,c,f){return f||null==c?c=0:c&&(c=+c),Sa(tt(a).replace(Cm,""),c||0)},y.random=function av(a,c,f){if(f&&"boolean"!=typeof f&&Ln(a,c,f)&&(c=f=E),f===E&&("boolean"==typeof c?(f=c,c=E):"boolean"==typeof a&&(f=a,a=E)),a===E&&c===E?(a=0,c=1):(a=Gr(a),c===E?(c=a,a=0):c=Gr(c)),a>c){var g=a;a=c,c=g}if(f||a%1||c%1){var _=ju();return nn(a+_*(c-a+Te("1e-"+((_+"").length-1))),c)}return nc(a,c)},y.reduce=function $_(a,c,f){var g=Ee(a)?ee:Us,_=arguments.length<3;return g(a,ce(c,4),f,_,kr)},y.reduceRight=function LD(a,c,f){var g=Ee(a)?Bm:Us,_=arguments.length<3;return g(a,ce(c,4),f,_,Q0)},y.repeat=function C1(a,c,f){return c=(f?Ln(a,c,f):c===E)?1:we(c),Ha(tt(a),c)},y.replace=function Ji(){var a=arguments,c=tt(a[0]);return a.length<3?c:c.replace(a[1],a[2])},y.result=function Ed(a,c,f){var g=-1,_=(c=zi(c,a)).length;for(_||(_=1,a=E);++g<_;){var D=null==a?E:a[$r(c[g])];D===E&&(g=_,D=f),a=mr(D)?D.call(a):D}return a},y.round=Md,y.runInContext=N,y.sample=function BD(a){return(Ee(a)?ur:_s)(a)},y.size=function HD(a){if(null==a)return 0;if(Vn(a))return dp(a)?Ws(a):a.length;var c=un(a);return c==mi||c==ri?a.size:Kl(a).length},y.snakeCase=pv,y.some=function jD(a,c,f){var g=Ee(a)?S:rD;return f&&Ln(a,c,f)&&(c=E),g(a,ce(c,3))},y.sortedIndex=function P_(a,c){return Xu(a,c)},y.sortedIndexBy=function nM(a,c,f){return Ku(a,c,ce(f,2))},y.sortedIndexOf=function $h(a,c){var f=null==a?0:a.length;if(f){var g=Xu(a,c);if(g<f&&pr(a[g],c))return g}return-1},y.sortedLastIndex=function _d(a,c){return Xu(a,c,!0)},y.sortedLastIndexBy=function wD(a,c,f){return Ku(a,c,ce(f,2),!0)},y.sortedLastIndexOf=function Ae(a,c){if(null!=a&&a.length){var g=Xu(a,c,!0)-1;if(pr(a[g],c))return g}return-1},y.startCase=bc,y.startsWith=function gv(a,c,f){return a=tt(a),f=null==f?0:dr(we(f),0,a.length),c=Di(c),a.slice(f,f+c.length)==c},y.subtract=V1,y.sum=function H1(a){return a&&a.length?Nn(a,Ci):0},y.sumBy=function Iv(a,c){return a&&a.length?Nn(a,ce(c,2)):0},y.template=function T1(a,c,f){var g=y.templateSettings;f&&Ln(a,c,f)&&(c=E),a=tt(a),c=$o({},c,g,hr);var T,A,_=$o({},c.imports,g.imports,hr),D=dn(_),C=$l(_,D),L=0,B=c.interpolate||_a,j="__p += '",Q=xu((c.escape||_a).source+"|"+B.source+"|"+(B===Gf?ma:_a).source+"|"+(c.evaluate||_a).source+"|$","g"),oe="//# sourceURL="+(st.call(c,"sourceURL")?(c.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++kl+"]")+"\n";a.replace(Q,function(_e,Be,je,ei,Hn,jn){return je||(je=ei),j+=a.slice(L,jn).replace(PT,UT),Be&&(T=!0,j+="' +\n__e("+Be+") +\n'"),Hn&&(A=!0,j+="';\n"+Hn+";\n__p += '"),je&&(j+="' +\n((__t = ("+je+")) == null ? '' : __t) +\n'"),L=jn+_e.length,_e}),j+="';\n";var fe=st.call(c,"variable")&&c.variable;if(fe){if(Tm.test(fe))throw new Me("Invalid `variable` option passed into `_.template`")}else j="with (obj) {\n"+j+"\n}\n";j=(A?j.replace(g0,""):j).replace(Em,"$1").replace(ft,"$1;"),j="function("+(fe||"obj")+") {\n"+(fe?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(T?", __e = _.escape":"")+(A?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+j+"return __p\n}";var Fe=Mp(function(){return Xe(D,oe+"return "+j).apply(E,C)});if(Fe.source=j,Ka(Fe))throw Fe;return Fe},y.times=function L1(a,c){if((a=we(a))<1||a>os)return[];var f=Or,g=nn(a,Or);c=ce(c),a-=Or;for(var _=Gs(g,c);++f<a;)c(f);return _},y.toFinite=Gr,y.toInteger=we,y.toLength=hp,y.toLower=function M1(a){return tt(a).toLowerCase()},y.toNumber=Xn,y.toSafeInteger=function tv(a){return a?dr(we(a),-os,os):0===a?a:0},y.toString=tt,y.toUpper=function I1(a){return tt(a).toUpperCase()},y.trim=function N1(a,c,f){if((a=tt(a))&&(f||c===E))return jl(a);if(!a||!(c=Di(c)))return a;var g=ki(a),_=ki(c);return Br(g,ih(g,_),B0(g,_)+1).join("")},y.trimEnd=function mv(a,c,f){if((a=tt(a))&&(f||c===E))return a.slice(0,sh(a)+1);if(!a||!(c=Di(c)))return a;var g=ki(a);return Br(g,0,B0(g,ki(c))+1).join("")},y.trimStart=function vM(a,c,f){if((a=tt(a))&&(f||c===E))return a.replace(Cm,"");if(!a||!(c=Di(c)))return a;var g=ki(a);return Br(g,ih(g,ki(c))).join("")},y.truncate=function yM(a,c){var f=30,g="...";if(_t(c)){var _="separator"in c?c.separator:_;f="length"in c?we(c.length):f,g="omission"in c?Di(c.omission):g}var D=(a=tt(a)).length;if(Jn(a)){var C=ki(a);D=C.length}if(f>=D)return a;var T=f-Ws(g);if(T<1)return g;var A=C?Br(C,0,T).join(""):a.slice(0,T);if(_===E)return A+g;if(C&&(T+=A.length-T),vc(_)){if(a.slice(T).search(_)){var L,B=A;for(_.global||(_=xu(_.source,tt(v0.exec(_))+"g")),_.lastIndex=0;L=_.exec(B);)var j=L.index;A=A.slice(0,j===E?T:j)}}else if(a.indexOf(Di(_),T)!=T){var Q=A.lastIndexOf(_);Q>-1&&(A=A.slice(0,Q))}return A+g},y.unescape=function Dc(a){return(a=tt(a))&&xe.test(a)?a.replace(Uf,Ul):a},y.uniqueId=function TM(a){var c=++J;return tt(a)+c},y.upperCase=A1,y.upperFirst=Tp,y.each=Kh,y.eachRight=dc,y.first=jh,yv(y,function(){var a={};return ms(y,function(c,f){st.call(y.prototype,f)||(a[f]=c)}),a}(),{chain:!1}),y.VERSION="4.17.21",Fi(["bind","bindKey","curry","curryRight","partial","partialRight"],function(a){y[a].placeholder=y}),Fi(["drop","take"],function(a,c){Ve.prototype[a]=function(f){f=f===E?1:Wt(we(f),0);var g=this.__filtered__&&!c?new Ve(this):this.clone();return g.__filtered__?g.__takeCount__=nn(f,g.__takeCount__):g.__views__.push({size:nn(f,Or),type:a+(g.__dir__<0?"Right":"")}),g},Ve.prototype[a+"Right"]=function(f){return this.reverse()[a](f).reverse()}}),Fi(["filter","map","takeWhile"],function(a,c){var f=c+1,g=1==f||3==f;Ve.prototype[a]=function(_){var D=this.clone();return D.__iteratees__.push({iteratee:ce(_,3),type:f}),D.__filtered__=D.__filtered__||g,D}}),Fi(["head","last"],function(a,c){var f="take"+(c?"Right":"");Ve.prototype[a]=function(){return this[f](1).value()[0]}}),Fi(["initial","tail"],function(a,c){var f="drop"+(c?"":"Right");Ve.prototype[a]=function(){return this.__filtered__?new Ve(this):this[f](1)}}),Ve.prototype.compact=function(){return this.filter(Ci)},Ve.prototype.find=function(a){return this.filter(a).head()},Ve.prototype.findLast=function(a){return this.reverse().find(a)},Ve.prototype.invokeMap=Oe(function(a,c){return"function"==typeof a?new Ve(this):this.map(function(f){return jt(f,a,c)})}),Ve.prototype.reject=function(a){return this.filter(rp(ce(a)))},Ve.prototype.slice=function(a,c){a=we(a);var f=this;return f.__filtered__&&(a>0||c<0)?new Ve(f):(a<0?f=f.takeRight(-a):a&&(f=f.drop(a)),c!==E&&(f=(c=we(c))<0?f.dropRight(-c):f.take(c-a)),f)},Ve.prototype.takeRightWhile=function(a){return this.reverse().takeWhile(a).reverse()},Ve.prototype.toArray=function(){return this.take(Or)},ms(Ve.prototype,function(a,c){var f=/^(?:filter|find|map|reject)|While$/.test(c),g=/^(?:head|last)$/.test(c),_=y[g?"take"+("last"==c?"Right":""):c],D=g||/^find/.test(c);_&&(y.prototype[c]=function(){var C=this.__wrapped__,T=g?[1]:arguments,A=C instanceof Ve,L=T[0],B=A||Ee(C),j=function(Be){var je=_.apply(y,$s([Be],T));return g&&Q?je[0]:je};B&&f&&"function"==typeof L&&1!=L.length&&(A=B=!1);var Q=this.__chain__,fe=D&&!Q,Fe=A&&!this.__actions__.length;if(!D&&B){C=Fe?C:new Ve(this);var _e=a.apply(C,T);return _e.__actions__.push({func:qa,args:[j],thisArg:E}),new Bi(_e,Q)}return fe&&Fe?a.apply(this,T):(_e=this.thru(j),fe?g?_e.value()[0]:_e.value():_e)})}),Fi(["pop","push","shift","sort","splice","unshift"],function(a){var c=Pu[a],f=/^(?:push|sort|unshift)$/.test(a)?"tap":"thru",g=/^(?:pop|shift)$/.test(a);y.prototype[a]=function(){var _=arguments;if(g&&!this.__chain__){var D=this.value();return c.apply(Ee(D)?D:[],_)}return this[f](function(C){return c.apply(Ee(C)?C:[],_)})}}),ms(Ve.prototype,function(a,c){var f=y[c];if(f){var g=f.name+"";st.call(Zn,g)||(Zn[g]=[]),Zn[g].push({name:c,func:f})}}),Zn[ic(E,2).name]=[{name:"wrapper",func:E}],Ve.prototype.clone=function J0(){var a=new Ve(this.__wrapped__);return a.__actions__=$t(this.__actions__),a.__dir__=this.__dir__,a.__filtered__=this.__filtered__,a.__iteratees__=$t(this.__iteratees__),a.__takeCount__=this.__takeCount__,a.__views__=$t(this.__views__),a},Ve.prototype.reverse=function Y0(){if(this.__filtered__){var a=new Ve(this);a.__dir__=-1,a.__filtered__=!0}else(a=this.clone()).__dir__*=-1;return a},Ve.prototype.value=function dh(){var a=this.__wrapped__.value(),c=this.__dir__,f=Ee(a),g=c<0,_=f?a.length:0,D=function Vo(a,c,f){for(var g=-1,_=f.length;++g<_;){var D=f[g],C=D.size;switch(D.type){case"drop":a+=C;break;case"dropRight":c-=C;break;case"take":c=nn(c,a+C);break;case"takeRight":a=Wt(a,c-C)}}return{start:a,end:c}}(0,_,this.__views__),C=D.start,T=D.end,A=T-C,L=g?T:C-1,B=this.__iteratees__,j=B.length,Q=0,oe=nn(A,this.__takeCount__);if(!f||!g&&_==A&&oe==A)return Re(a,this.__actions__);var fe=[];e:for(;A--&&Q<oe;){for(var Fe=-1,_e=a[L+=c];++Fe<j;){var Be=B[Fe],ei=Be.type,Hn=(0,Be.iteratee)(_e);if(2==ei)_e=Hn;else if(!Hn){if(1==ei)continue e;break e}}fe[Q++]=_e}return fe},y.prototype.at=lc,y.prototype.chain=function OD(){return Jh(this)},y.prototype.commit=function Yh(){return new Bi(this.value(),this.__chain__)},y.prototype.next=function B_(){this.__values__===E&&(this.__values__=Dd(this.value()));var a=this.__index__>=this.__values__.length;return{done:a,value:a?E:this.__values__[this.__index__++]}},y.prototype.plant=function uc(a){for(var c,f=this;f instanceof Uu;){var g=w_(f);g.__index__=0,g.__values__=E,c?_.__wrapped__=g:c=g;var _=g;f=f.__wrapped__}return _.__wrapped__=a,c},y.prototype.reverse=function V_(){var a=this.__wrapped__;if(a instanceof Ve){var c=a;return this.__actions__.length&&(c=new Ve(this)),(c=c.reverse()).__actions__.push({func:qa,args:[za],thisArg:E}),new Bi(c,this.__chain__)}return this.thru(za)},y.prototype.toJSON=y.prototype.valueOf=y.prototype.value=function Zh(){return Re(this.__wrapped__,this.__actions__)},y.prototype.first=y.prototype.head,Ca&&(y.prototype[Ca]=function cc(){return this}),y}();gn._=Ru,(ra=function(){return Ru}.call(ia,xf,ia,rs))!==E&&(rs.exports=ra)}.call(this)}},rs=>{rs(rs.s=8528)}]);;
(self.webpackChunkclient=self.webpackChunkclient||[]).push([[461],{2523:(s,u,t)=>{"use strict";t(6935);const n=":";Error;const ue=function(T,...O){if(ue.translate){const w=ue.translate(T,O);T=w[0],O=w[1]}let L=ie(T[0],T.raw[0]);for(let w=1;w<T.length;w++)L+=O[w-1]+ie(T[w],T.raw[w]);return L},kt=":";function ie(T,O){return O.charAt(0)===kt?T.substring(function Mt(T,O){for(let L=1,w=1;L<T.length;L++,w++)if("\\"===O[w])w++;else if(T[L]===n)return L;throw new Error(`Unterminated $localize metadata block in "${O}".`)}(T,O)+1):T}globalThis.$localize=ue,t(8883),t(4940),t(9271),t(2444),t(6203),t(5626),t(8025),t(6442),t(2899),t(6374),t(4246),t(2913),t(5660),t(743),t(5846),t(9353),t(2207)},2207:()=>{!function(){if(!(typeof window>"u"))try{var s=new window.CustomEvent("test",{cancelable:!0});if(s.preventDefault(),!0!==s.defaultPrevented)throw new Error("Could not prevent default")}catch{var u=function(e,n){var o,r;return(n=n||{}).bubbles=!!n.bubbles,n.cancelable=!!n.cancelable,(o=document.createEvent("CustomEvent")).initCustomEvent(e,n.bubbles,n.cancelable,n.detail),r=o.preventDefault,o.preventDefault=function(){r.call(this);try{Object.defineProperty(this,"defaultPrevented",{get:function(){return!0}})}catch{this.defaultPrevented=!0}},o};u.prototype=window.Event.prototype,window.CustomEvent=u}}()},6935:()=>{"use strict";const s=globalThis;function u(h){return(s.__Zone_symbol_prefix||"__zone_symbol__")+h}const n=Object.getOwnPropertyDescriptor,o=Object.defineProperty,r=Object.getPrototypeOf,a=Object.create,i=Array.prototype.slice,c="addEventListener",f="removeEventListener",d=u(c),l=u(f),v="true",p="false",y=u("");function C(h,g){return Zone.current.wrap(h,g)}function N(h,g,M,m,j){return Zone.current.scheduleMacroTask(h,g,M,m,j)}const x=u,I=typeof window<"u",A=I?window:void 0,$=I&&A||globalThis,R="removeAttribute";function P(h,g){for(let M=h.length-1;M>=0;M--)"function"==typeof h[M]&&(h[M]=C(h[M],g+"_"+M));return h}function F(h){return!h||!1!==h.writable&&!("function"==typeof h.get&&typeof h.set>"u")}const z=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,rt=!("nw"in $)&&typeof $.process<"u"&&"[object process]"===$.process.toString(),pt=!rt&&!z&&!(!I||!A.HTMLElement),gt=typeof $.process<"u"&&"[object process]"===$.process.toString()&&!z&&!(!I||!A.HTMLElement),Pt={},Ot=x("enable_beforeunload"),lt=function(h){if(!(h=h||$.event))return;let g=Pt[h.type];g||(g=Pt[h.type]=x("ON_PROPERTY"+h.type));const M=this||h.target||$,m=M[g];let j;return pt&&M===A&&"error"===h.type?(j=m&&m.call(this,h.message,h.filename,h.lineno,h.colno,h.error),!0===j&&h.preventDefault()):(j=m&&m.apply(this,arguments),"beforeunload"===h.type&&$[Ot]&&"string"==typeof j?h.returnValue=j:null!=j&&!j&&h.preventDefault()),j};function Q(h,g,M){let m=n(h,g);if(!m&&M&&n(M,g)&&(m={enumerable:!0,configurable:!0}),!m||!m.configurable)return;const j=x("on"+g+"patched");if(h.hasOwnProperty(j)&&h[j])return;delete m.writable,delete m.value;const Z=m.get,X=m.set,K=g.slice(2);let V=Pt[K];V||(V=Pt[K]=x("ON_PROPERTY"+K)),m.set=function(it){let H=this;!H&&h===$&&(H=$),H&&("function"==typeof H[V]&&H.removeEventListener(K,lt),X&&X.call(H,null),H[V]=it,"function"==typeof it&&H.addEventListener(K,lt,!1))},m.get=function(){let it=this;if(!it&&h===$&&(it=$),!it)return null;const H=it[V];if(H)return H;if(Z){let ut=Z.call(this);if(ut)return m.set.call(this,ut),"function"==typeof it[R]&&it.removeAttribute(g),ut}return null},o(h,g,m),h[j]=!0}function mt(h,g,M){if(g)for(let m=0;m<g.length;m++)Q(h,"on"+g[m],M);else{const m=[];for(const j in h)"on"==j.slice(0,2)&&m.push(j);for(let j=0;j<m.length;j++)Q(h,m[j],M)}}const tt=x("originalInstance");function Mt(h){const g=$[h];if(!g)return;$[x(h)]=g,$[h]=function(){const j=P(arguments,h);switch(j.length){case 0:this[tt]=new g;break;case 1:this[tt]=new g(j[0]);break;case 2:this[tt]=new g(j[0],j[1]);break;case 3:this[tt]=new g(j[0],j[1],j[2]);break;case 4:this[tt]=new g(j[0],j[1],j[2],j[3]);break;default:throw new Error("Arg list too long.")}},Wt($[h],g);const M=new g(function(){});let m;for(m in M)"XMLHttpRequest"===h&&"responseBlob"===m||function(j){"function"==typeof M[j]?$[h].prototype[j]=function(){return this[tt][j].apply(this[tt],arguments)}:o($[h].prototype,j,{set:function(Z){"function"==typeof Z?(this[tt][j]=C(Z,h+"."+j),Wt(this[tt][j],Z)):this[tt][j]=Z},get:function(){return this[tt][j]}})}(m);for(m in g)"prototype"!==m&&g.hasOwnProperty(m)&&($[h][m]=g[m])}function Rt(h,g,M){let m=h;for(;m&&!m.hasOwnProperty(g);)m=r(m);!m&&h[g]&&(m=h);const j=x(g);let Z=null;if(m&&(!(Z=m[j])||!m.hasOwnProperty(j))&&(Z=m[j]=m[g],F(m&&n(m,g)))){const K=M(Z,j,g);m[g]=function(){return K(this,arguments)},Wt(m[g],Z)}return Z}function Qt(h,g,M){let m=null;function j(Z){const X=Z.data;return X.args[X.cbIdx]=function(){Z.invoke.apply(this,arguments)},m.apply(X.target,X.args),Z}m=Rt(h,g,Z=>function(X,K){const V=M(X,K);return V.cbIdx>=0&&"function"==typeof K[V.cbIdx]?N(V.name,K[V.cbIdx],V,j):Z.apply(X,K)})}function Wt(h,g){h[x("OriginalDelegate")]=g}let qt=!1,Yt=!1;function zt(){if(qt)return Yt;qt=!0;try{const h=A.navigator.userAgent;(-1!==h.indexOf("MSIE ")||-1!==h.indexOf("Trident/")||-1!==h.indexOf("Edge/"))&&(Yt=!0)}catch{}return Yt}function re(h){return"function"==typeof h}function pe(h){return"number"==typeof h}let _t=!1;if(typeof window<"u")try{const h=Object.defineProperty({},"passive",{get:function(){_t=!0}});window.addEventListener("test",h,h),window.removeEventListener("test",h,h)}catch{_t=!1}const ue={useG:!0},kt={},ie={},fe=new RegExp("^"+y+"(\\w+)(true|false)$"),ge=x("propagationStopped");function Ee(h,g){const M=(g?g(h):h)+p,m=(g?g(h):h)+v,j=y+M,Z=y+m;kt[h]={},kt[h][p]=j,kt[h][v]=Z}function Te(h,g,M,m){const j=m&&m.add||c,Z=m&&m.rm||f,X=m&&m.listeners||"eventListeners",K=m&&m.rmAll||"removeAllListeners",V=x(j),it="."+j+":",H="prependListener",ut="."+H+":",xt=function(ot,k,Dt){if(ot.isRemoved)return;const At=ot.callback;let Ht;"object"==typeof At&&At.handleEvent&&(ot.callback=q=>At.handleEvent(q),ot.originalDelegate=At);try{ot.invoke(ot,k,[Dt])}catch(q){Ht=q}const Lt=ot.options;return Lt&&"object"==typeof Lt&&Lt.once&&k[Z].call(k,Dt.type,ot.originalDelegate?ot.originalDelegate:ot.callback,Lt),Ht};function $t(ot,k,Dt){if(!(k=k||h.event))return;const At=ot||k.target||h,Ht=At[kt[k.type][Dt?v:p]];if(Ht){const Lt=[];if(1===Ht.length){const q=xt(Ht[0],At,k);q&&Lt.push(q)}else{const q=Ht.slice();for(let Zt=0;Zt<q.length&&(!k||!0!==k[ge]);Zt++){const yt=xt(q[Zt],At,k);yt&&Lt.push(yt)}}if(1===Lt.length)throw Lt[0];for(let q=0;q<Lt.length;q++){const Zt=Lt[q];g.nativeScheduleMicroTask(()=>{throw Zt})}}}const Ct=function(ot){return $t(this,ot,!1)},Xt=function(ot){return $t(this,ot,!0)};function Kt(ot,k){if(!ot)return!1;let Dt=!0;k&&void 0!==k.useG&&(Dt=k.useG);const At=k&&k.vh;let Ht=!0;k&&void 0!==k.chkDup&&(Ht=k.chkDup);let Lt=!1;k&&void 0!==k.rt&&(Lt=k.rt);let q=ot;for(;q&&!q.hasOwnProperty(j);)q=r(q);if(!q&&ot[j]&&(q=ot),!q||q[V])return!1;const Zt=k&&k.eventNameToString,yt={},dt=q[V]=q[j],ct=q[x(Z)]=q[Z],ht=q[x(X)]=q[X],Jt=q[x(K)]=q[K];let Gt;k&&k.prepend&&(Gt=q[x(k.prepend)]=q[k.prepend]);const Ut=Dt?function(b){if(!yt.isExisting)return dt.call(yt.target,yt.eventName,yt.capture?Xt:Ct,yt.options)}:function(b){return dt.call(yt.target,yt.eventName,b.invoke,yt.options)},Nt=Dt?function(b){if(!b.isRemoved){const U=kt[b.eventName];let st;U&&(st=U[b.capture?v:p]);const vt=st&&b.target[st];if(vt)for(let _=0;_<vt.length;_++)if(vt[_]===b){vt.splice(_,1),b.isRemoved=!0,b.removeAbortListener&&(b.removeAbortListener(),b.removeAbortListener=null),0===vt.length&&(b.allRemoved=!0,b.target[st]=null);break}}if(b.allRemoved)return ct.call(b.target,b.eventName,b.capture?Xt:Ct,b.options)}:function(b){return ct.call(b.target,b.eventName,b.invoke,b.options)},ce=k&&k.diff?k.diff:function(b,U){const st=typeof U;return"function"===st&&b.callback===U||"object"===st&&b.originalDelegate===U},le=Zone[x("UNPATCHED_EVENTS")],te=h[x("PASSIVE_EVENTS")],G=function(b,U,st,vt,_=!1,Tt=!1){return function(){const St=this||h;let It=arguments[0];k&&k.transferEventName&&(It=k.transferEventName(It));let Ft=arguments[1];if(!Ft)return b.apply(this,arguments);if(rt&&"uncaughtException"===It)return b.apply(this,arguments);let wt=!1;if("function"!=typeof Ft){if(!Ft.handleEvent)return b.apply(this,arguments);wt=!0}if(At&&!At(b,Ft,St,arguments))return;const he=_t&&!!te&&-1!==te.indexOf(It),se=function B(b){if("object"==typeof b&&null!==b){const U={...b};return b.signal&&(U.signal=b.signal),U}return b}(function Et(b,U){return!_t&&"object"==typeof b&&b?!!b.capture:_t&&U?"boolean"==typeof b?{capture:b,passive:!0}:b?"object"==typeof b&&!1!==b.passive?{...b,passive:!0}:b:{passive:!0}:b}(arguments[2],he)),xe=se?.signal;if(xe?.aborted)return;if(le)for(let ae=0;ae<le.length;ae++)if(It===le[ae])return he?b.call(St,It,Ft,se):b.apply(this,arguments);const Ne=!!se&&("boolean"==typeof se||se.capture),$e=!(!se||"object"!=typeof se)&&se.once,Fe=Zone.current;let je=kt[It];je||(Ee(It,Zt),je=kt[It]);const De=je[Ne?v:p];let Me,ye=St[De],Ae=!1;if(ye){if(Ae=!0,Ht)for(let ae=0;ae<ye.length;ae++)if(ce(ye[ae],Ft))return}else ye=St[De]=[];const Ce=St.constructor.name,Le=ie[Ce];Le&&(Me=Le[It]),Me||(Me=Ce+U+(Zt?Zt(It):It)),yt.options=se,$e&&(yt.options.once=!1),yt.target=St,yt.capture=Ne,yt.eventName=It,yt.isExisting=Ae;const Re=Dt?ue:void 0;Re&&(Re.taskData=yt),xe&&(yt.options.signal=void 0);const ee=Fe.scheduleEventTask(Me,Ft,Re,st,vt);if(xe){yt.options.signal=xe;const ae=()=>ee.zone.cancelTask(ee);b.call(xe,"abort",ae,{once:!0}),ee.removeAbortListener=()=>xe.removeEventListener("abort",ae)}return yt.target=null,Re&&(Re.taskData=null),$e&&(yt.options.once=!0),!_t&&"boolean"==typeof ee.options||(ee.options=se),ee.target=St,ee.capture=Ne,ee.eventName=It,wt&&(ee.originalDelegate=Ft),Tt?ye.unshift(ee):ye.push(ee),_?St:void 0}};return q[j]=G(dt,it,Ut,Nt,Lt),Gt&&(q[H]=G(Gt,ut,function(b){return Gt.call(yt.target,yt.eventName,b.invoke,yt.options)},Nt,Lt,!0)),q[Z]=function(){const b=this||h;let U=arguments[0];k&&k.transferEventName&&(U=k.transferEventName(U));const st=arguments[2],vt=!!st&&("boolean"==typeof st||st.capture),_=arguments[1];if(!_)return ct.apply(this,arguments);if(At&&!At(ct,_,b,arguments))return;const Tt=kt[U];let St;Tt&&(St=Tt[vt?v:p]);const It=St&&b[St];if(It)for(let Ft=0;Ft<It.length;Ft++){const wt=It[Ft];if(ce(wt,_))return It.splice(Ft,1),wt.isRemoved=!0,0!==It.length||(wt.allRemoved=!0,b[St]=null,vt||"string"!=typeof U)||(b[y+"ON_PROPERTY"+U]=null),wt.zone.cancelTask(wt),Lt?b:void 0}return ct.apply(this,arguments)},q[X]=function(){const b=this||h;let U=arguments[0];k&&k.transferEventName&&(U=k.transferEventName(U));const st=[],vt=me(b,Zt?Zt(U):U);for(let _=0;_<vt.length;_++){const Tt=vt[_];st.push(Tt.originalDelegate?Tt.originalDelegate:Tt.callback)}return st},q[K]=function(){const b=this||h;let U=arguments[0];if(U){k&&k.transferEventName&&(U=k.transferEventName(U));const st=kt[U];if(st){const Tt=b[st[p]],St=b[st[v]];if(Tt){const It=Tt.slice();for(let Ft=0;Ft<It.length;Ft++){const wt=It[Ft];this[Z].call(this,U,wt.originalDelegate?wt.originalDelegate:wt.callback,wt.options)}}if(St){const It=St.slice();for(let Ft=0;Ft<It.length;Ft++){const wt=It[Ft];this[Z].call(this,U,wt.originalDelegate?wt.originalDelegate:wt.callback,wt.options)}}}}else{const st=Object.keys(b);for(let vt=0;vt<st.length;vt++){const Tt=fe.exec(st[vt]);let St=Tt&&Tt[1];St&&"removeListener"!==St&&this[K].call(this,St)}this[K].call(this,"removeListener")}if(Lt)return this},Wt(q[j],dt),Wt(q[Z],ct),Jt&&Wt(q[K],Jt),ht&&Wt(q[X],ht),!0}let Bt=[];for(let ot=0;ot<M.length;ot++)Bt[ot]=Kt(M[ot],m);return Bt}function me(h,g){if(!g){const Z=[];for(let X in h){const K=fe.exec(X);let V=K&&K[1];if(V&&(!g||V===g)){const it=h[X];if(it)for(let H=0;H<it.length;H++)Z.push(it[H])}}return Z}let M=kt[g];M||(Ee(g),M=kt[g]);const m=h[M[p]],j=h[M[v]];return m?j?m.concat(j):m.slice():j?j.slice():[]}function Oe(h,g){const M=h.Event;M&&M.prototype&&g.patchMethod(M.prototype,"stopImmediatePropagation",m=>function(j,Z){j[ge]=!0,m&&m.apply(j,Z)})}const de=x("zoneTask");function oe(h,g,M,m){let j=null,Z=null;M+=m;const X={};function K(it){const H=it.data;H.args[0]=function(){return it.invoke.apply(this,arguments)};const ut=j.apply(h,H.args);return pe(ut)?H.handleId=ut:(H.handle=ut,H.isRefreshable=re(ut.refresh)),it}function V(it){const{handle:H,handleId:ut}=it.data;return Z.call(h,H??ut)}j=Rt(h,g+=m,it=>function(H,ut){if(re(ut[0])){const xt={isRefreshable:!1,isPeriodic:"Interval"===m,delay:"Timeout"===m||"Interval"===m?ut[1]||0:void 0,args:ut},$t=ut[0];ut[0]=function(){try{return $t.apply(this,arguments)}finally{const{handle:Dt,handleId:At,isPeriodic:Ht,isRefreshable:Lt}=xt;!Ht&&!Lt&&(At?delete X[At]:Dt&&(Dt[de]=null))}};const Ct=N(g,ut[0],xt,K,V);if(!Ct)return Ct;const{handleId:Xt,handle:Kt,isRefreshable:Bt,isPeriodic:ot}=Ct.data;if(Xt)X[Xt]=Ct;else if(Kt&&(Kt[de]=Ct,Bt&&!ot)){const k=Kt.refresh;Kt.refresh=function(){const{zone:Dt,state:At}=Ct;return"notScheduled"===At?(Ct._state="scheduled",Dt._updateTaskCount(Ct,1)):"running"===At&&(Ct._state="scheduling"),k.call(this)}}return Kt??Xt??Ct}return it.apply(h,ut)}),Z=Rt(h,M,it=>function(H,ut){const xt=ut[0];let $t;pe(xt)?($t=X[xt],delete X[xt]):($t=xt?.[de],$t?xt[de]=null:$t=xt),$t?.type?$t.cancelFn&&$t.zone.cancelTask($t):it.apply(h,ut)})}function bt(h,g,M){if(!M||0===M.length)return g;const m=M.filter(Z=>Z.target===h);if(!m||0===m.length)return g;const j=m[0].ignoreProperties;return g.filter(Z=>-1===j.indexOf(Z))}function W(h,g,M,m){h&&mt(h,bt(h,g,M),m)}function at(h){return Object.getOwnPropertyNames(h).filter(g=>g.startsWith("on")&&g.length>2).map(g=>g.substring(2))}function L(h,g,M,m,j){const Z=Zone.__symbol__(m);if(g[Z])return;const X=g[Z]=g[m];g[m]=function(K,V,it){return V&&V.prototype&&j.forEach(function(H){const ut=`${M}.${m}::`+H,xt=V.prototype;try{if(xt.hasOwnProperty(H)){const $t=h.ObjectGetOwnPropertyDescriptor(xt,H);$t&&$t.value?($t.value=h.wrapWithCurrentZone($t.value,ut),h._redefineProperty(V.prototype,H,$t)):xt[H]&&(xt[H]=h.wrapWithCurrentZone(xt[H],ut))}else xt[H]&&(xt[H]=h.wrapWithCurrentZone(xt[H],ut))}catch{}}),X.call(g,K,V,it)},h.attachOriginToPatched(g[m],X)}const et=function e(){const h=globalThis,g=!0===h[u("forceDuplicateZoneCheck")];if(h.Zone&&(g||"function"!=typeof h.Zone.__symbol__))throw new Error("Zone already loaded.");return h.Zone??=function t(){const h=s.performance;function g(Et){h&&h.mark&&h.mark(Et)}function M(Et,Y){h&&h.measure&&h.measure(Et,Y)}g("Zone");let m=(()=>{class Et{static{this.__symbol__=u}static assertZonePatched(){if(s.Promise!==yt.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let E=Et.current;for(;E.parent;)E=E.parent;return E}static get current(){return ct.zone}static get currentTask(){return ht}static __load_patch(E,S,nt=!1){if(yt.hasOwnProperty(E)){const ft=!0===s[u("forceDuplicateZoneCheck")];if(!nt&&ft)throw Error("Already loaded patch: "+E)}else if(!s["__Zone_disable_"+E]){const ft="Zone:"+E;g(ft),yt[E]=S(s,Et,dt),M(ft,ft)}}get parent(){return this._parent}get name(){return this._name}constructor(E,S){this._parent=E,this._name=S?S.name||"unnamed":"<root>",this._properties=S&&S.properties||{},this._zoneDelegate=new Z(this,this._parent&&this._parent._zoneDelegate,S)}get(E){const S=this.getZoneWith(E);if(S)return S._properties[E]}getZoneWith(E){let S=this;for(;S;){if(S._properties.hasOwnProperty(E))return S;S=S._parent}return null}fork(E){if(!E)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,E)}wrap(E,S){if("function"!=typeof E)throw new Error("Expecting function got: "+E);const nt=this._zoneDelegate.intercept(this,E,S),ft=this;return function(){return ft.runGuarded(nt,this,arguments,S)}}run(E,S,nt,ft){ct={parent:ct,zone:this};try{return this._zoneDelegate.invoke(this,E,S,nt,ft)}finally{ct=ct.parent}}runGuarded(E,S=null,nt,ft){ct={parent:ct,zone:this};try{try{return this._zoneDelegate.invoke(this,E,S,nt,ft)}catch(Ut){if(this._zoneDelegate.handleError(this,Ut))throw Ut}}finally{ct=ct.parent}}runTask(E,S,nt){if(E.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(E.zone||Kt).name+"; Execution: "+this.name+")");const ft=E,{type:Ut,data:{isPeriodic:Nt=!1,isRefreshable:ve=!1}={}}=E;if(E.state===Bt&&(Ut===Zt||Ut===q))return;const ce=E.state!=Dt;ce&&ft._transitionTo(Dt,k);const le=ht;ht=ft,ct={parent:ct,zone:this};try{Ut==q&&E.data&&!Nt&&!ve&&(E.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,ft,S,nt)}catch(te){if(this._zoneDelegate.handleError(this,te))throw te}}finally{const te=E.state;if(te!==Bt&&te!==Ht)if(Ut==Zt||Nt||ve&&te===ot)ce&&ft._transitionTo(k,Dt,ot);else{const B=ft._zoneDelegates;this._updateTaskCount(ft,-1),ce&&ft._transitionTo(Bt,Dt,Bt),ve&&(ft._zoneDelegates=B)}ct=ct.parent,ht=le}}scheduleTask(E){if(E.zone&&E.zone!==this){let nt=this;for(;nt;){if(nt===E.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${E.zone.name}`);nt=nt.parent}}E._transitionTo(ot,Bt);const S=[];E._zoneDelegates=S,E._zone=this;try{E=this._zoneDelegate.scheduleTask(this,E)}catch(nt){throw E._transitionTo(Ht,ot,Bt),this._zoneDelegate.handleError(this,nt),nt}return E._zoneDelegates===S&&this._updateTaskCount(E,1),E.state==ot&&E._transitionTo(k,ot),E}scheduleMicroTask(E,S,nt,ft){return this.scheduleTask(new X(Lt,E,S,nt,ft,void 0))}scheduleMacroTask(E,S,nt,ft,Ut){return this.scheduleTask(new X(q,E,S,nt,ft,Ut))}scheduleEventTask(E,S,nt,ft,Ut){return this.scheduleTask(new X(Zt,E,S,nt,ft,Ut))}cancelTask(E){if(E.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(E.zone||Kt).name+"; Execution: "+this.name+")");if(E.state===k||E.state===Dt){E._transitionTo(At,k,Dt);try{this._zoneDelegate.cancelTask(this,E)}catch(S){throw E._transitionTo(Ht,At),this._zoneDelegate.handleError(this,S),S}return this._updateTaskCount(E,-1),E._transitionTo(Bt,At),E.runCount=-1,E}}_updateTaskCount(E,S){const nt=E._zoneDelegates;-1==S&&(E._zoneDelegates=null);for(let ft=0;ft<nt.length;ft++)nt[ft]._updateTaskCount(E.type,S)}}return Et})();const j={name:"",onHasTask:(Et,Y,E,S)=>Et.hasTask(E,S),onScheduleTask:(Et,Y,E,S)=>Et.scheduleTask(E,S),onInvokeTask:(Et,Y,E,S,nt,ft)=>Et.invokeTask(E,S,nt,ft),onCancelTask:(Et,Y,E,S)=>Et.cancelTask(E,S)};class Z{get zone(){return this._zone}constructor(Y,E,S){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this._zone=Y,this._parentDelegate=E,this._forkZS=S&&(S&&S.onFork?S:E._forkZS),this._forkDlgt=S&&(S.onFork?E:E._forkDlgt),this._forkCurrZone=S&&(S.onFork?this._zone:E._forkCurrZone),this._interceptZS=S&&(S.onIntercept?S:E._interceptZS),this._interceptDlgt=S&&(S.onIntercept?E:E._interceptDlgt),this._interceptCurrZone=S&&(S.onIntercept?this._zone:E._interceptCurrZone),this._invokeZS=S&&(S.onInvoke?S:E._invokeZS),this._invokeDlgt=S&&(S.onInvoke?E:E._invokeDlgt),this._invokeCurrZone=S&&(S.onInvoke?this._zone:E._invokeCurrZone),this._handleErrorZS=S&&(S.onHandleError?S:E._handleErrorZS),this._handleErrorDlgt=S&&(S.onHandleError?E:E._handleErrorDlgt),this._handleErrorCurrZone=S&&(S.onHandleError?this._zone:E._handleErrorCurrZone),this._scheduleTaskZS=S&&(S.onScheduleTask?S:E._scheduleTaskZS),this._scheduleTaskDlgt=S&&(S.onScheduleTask?E:E._scheduleTaskDlgt),this._scheduleTaskCurrZone=S&&(S.onScheduleTask?this._zone:E._scheduleTaskCurrZone),this._invokeTaskZS=S&&(S.onInvokeTask?S:E._invokeTaskZS),this._invokeTaskDlgt=S&&(S.onInvokeTask?E:E._invokeTaskDlgt),this._invokeTaskCurrZone=S&&(S.onInvokeTask?this._zone:E._invokeTaskCurrZone),this._cancelTaskZS=S&&(S.onCancelTask?S:E._cancelTaskZS),this._cancelTaskDlgt=S&&(S.onCancelTask?E:E._cancelTaskDlgt),this._cancelTaskCurrZone=S&&(S.onCancelTask?this._zone:E._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const nt=S&&S.onHasTask;(nt||E&&E._hasTaskZS)&&(this._hasTaskZS=nt?S:j,this._hasTaskDlgt=E,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=this._zone,S.onScheduleTask||(this._scheduleTaskZS=j,this._scheduleTaskDlgt=E,this._scheduleTaskCurrZone=this._zone),S.onInvokeTask||(this._invokeTaskZS=j,this._invokeTaskDlgt=E,this._invokeTaskCurrZone=this._zone),S.onCancelTask||(this._cancelTaskZS=j,this._cancelTaskDlgt=E,this._cancelTaskCurrZone=this._zone))}fork(Y,E){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,Y,E):new m(Y,E)}intercept(Y,E,S){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,Y,E,S):E}invoke(Y,E,S,nt,ft){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,Y,E,S,nt,ft):E.apply(S,nt)}handleError(Y,E){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,Y,E)}scheduleTask(Y,E){let S=E;if(this._scheduleTaskZS)this._hasTaskZS&&S._zoneDelegates.push(this._hasTaskDlgtOwner),S=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,Y,E),S||(S=E);else if(E.scheduleFn)E.scheduleFn(E);else{if(E.type!=Lt)throw new Error("Task is missing scheduleFn.");Ct(E)}return S}invokeTask(Y,E,S,nt){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,Y,E,S,nt):E.callback.apply(S,nt)}cancelTask(Y,E){let S;if(this._cancelTaskZS)S=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,Y,E);else{if(!E.cancelFn)throw Error("Task is not cancelable");S=E.cancelFn(E)}return S}hasTask(Y,E){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,Y,E)}catch(S){this.handleError(Y,S)}}_updateTaskCount(Y,E){const S=this._taskCounts,nt=S[Y],ft=S[Y]=nt+E;if(ft<0)throw new Error("More tasks executed then were scheduled.");0!=nt&&0!=ft||this.hasTask(this._zone,{microTask:S.microTask>0,macroTask:S.macroTask>0,eventTask:S.eventTask>0,change:Y})}}class X{constructor(Y,E,S,nt,ft,Ut){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=Y,this.source=E,this.data=nt,this.scheduleFn=ft,this.cancelFn=Ut,!S)throw new Error("callback is not defined");this.callback=S;const Nt=this;this.invoke=Y===Zt&&nt&&nt.useG?X.invokeTask:function(){return X.invokeTask.call(s,Nt,this,arguments)}}static invokeTask(Y,E,S){Y||(Y=this),Jt++;try{return Y.runCount++,Y.zone.runTask(Y,E,S)}finally{1==Jt&&Xt(),Jt--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(Bt,ot)}_transitionTo(Y,E,S){if(this._state!==E&&this._state!==S)throw new Error(`${this.type} '${this.source}': can not transition to '${Y}', expecting state '${E}'${S?" or '"+S+"'":""}, was '${this._state}'.`);this._state=Y,Y==Bt&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const K=u("setTimeout"),V=u("Promise"),it=u("then");let xt,H=[],ut=!1;function $t(Et){if(xt||s[V]&&(xt=s[V].resolve(0)),xt){let Y=xt[it];Y||(Y=xt.then),Y.call(xt,Et)}else s[K](Et,0)}function Ct(Et){0===Jt&&0===H.length&&$t(Xt),Et&&H.push(Et)}function Xt(){if(!ut){for(ut=!0;H.length;){const Et=H;H=[];for(let Y=0;Y<Et.length;Y++){const E=Et[Y];try{E.zone.runTask(E,null,null)}catch(S){dt.onUnhandledError(S)}}}dt.microtaskDrainDone(),ut=!1}}const Kt={name:"NO ZONE"},Bt="notScheduled",ot="scheduling",k="scheduled",Dt="running",At="canceling",Ht="unknown",Lt="microTask",q="macroTask",Zt="eventTask",yt={},dt={symbol:u,currentZoneFrame:()=>ct,onUnhandledError:Gt,microtaskDrainDone:Gt,scheduleMicroTask:Ct,showUncaughtError:()=>!m[u("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:Gt,patchMethod:()=>Gt,bindArguments:()=>[],patchThen:()=>Gt,patchMacroTask:()=>Gt,patchEventPrototype:()=>Gt,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>Gt,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>Gt,wrapWithCurrentZone:()=>Gt,filterProperties:()=>[],attachOriginToPatched:()=>Gt,_redefineProperty:()=>Gt,patchCallbacks:()=>Gt,nativeScheduleMicroTask:$t};let ct={parent:null,zone:new m(null,null)},ht=null,Jt=0;function Gt(){}return M("Zone","Zone"),m}(),h.Zone}();(function J(h){(function T(h){h.__load_patch("ZoneAwarePromise",(g,M,m)=>{const j=Object.getOwnPropertyDescriptor,Z=Object.defineProperty,K=m.symbol,V=[],it=!1!==g[K("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],H=K("Promise"),ut=K("then"),xt="__creationTrace__";m.onUnhandledError=B=>{if(m.showUncaughtError()){const G=B&&B.rejection;G?console.error("Unhandled Promise rejection:",G instanceof Error?G.message:G,"; Zone:",B.zone.name,"; Task:",B.task&&B.task.source,"; Value:",G,G instanceof Error?G.stack:void 0):console.error(B)}},m.microtaskDrainDone=()=>{for(;V.length;){const B=V.shift();try{B.zone.runGuarded(()=>{throw B.throwOriginal?B.rejection:B})}catch(G){Ct(G)}}};const $t=K("unhandledPromiseRejectionHandler");function Ct(B){m.onUnhandledError(B);try{const G=M[$t];"function"==typeof G&&G.call(this,B)}catch{}}function Xt(B){return B&&B.then}function Kt(B){return B}function Bt(B){return Nt.reject(B)}const ot=K("state"),k=K("value"),Dt=K("finally"),At=K("parentPromiseValue"),Ht=K("parentPromiseState"),Lt="Promise.then",q=null,Zt=!0,yt=!1,dt=0;function ct(B,G){return b=>{try{Et(B,G,b)}catch(U){Et(B,!1,U)}}}const ht=function(){let B=!1;return function(b){return function(){B||(B=!0,b.apply(null,arguments))}}},Jt="Promise resolved with itself",Gt=K("currentTaskTrace");function Et(B,G,b){const U=ht();if(B===b)throw new TypeError(Jt);if(B[ot]===q){let st=null;try{("object"==typeof b||"function"==typeof b)&&(st=b&&b.then)}catch(vt){return U(()=>{Et(B,!1,vt)})(),B}if(G!==yt&&b instanceof Nt&&b.hasOwnProperty(ot)&&b.hasOwnProperty(k)&&b[ot]!==q)E(b),Et(B,b[ot],b[k]);else if(G!==yt&&"function"==typeof st)try{st.call(b,U(ct(B,G)),U(ct(B,!1)))}catch(vt){U(()=>{Et(B,!1,vt)})()}else{B[ot]=G;const vt=B[k];if(B[k]=b,B[Dt]===Dt&&G===Zt&&(B[ot]=B[Ht],B[k]=B[At]),G===yt&&b instanceof Error){const _=M.currentTask&&M.currentTask.data&&M.currentTask.data[xt];_&&Z(b,Gt,{configurable:!0,enumerable:!1,writable:!0,value:_})}for(let _=0;_<vt.length;)S(B,vt[_++],vt[_++],vt[_++],vt[_++]);if(0==vt.length&&G==yt){B[ot]=dt;let _=b;try{throw new Error("Uncaught (in promise): "+function X(B){return B&&B.toString===Object.prototype.toString?(B.constructor&&B.constructor.name||"")+": "+JSON.stringify(B):B?B.toString():Object.prototype.toString.call(B)}(b)+(b&&b.stack?"\n"+b.stack:""))}catch(Tt){_=Tt}it&&(_.throwOriginal=!0),_.rejection=b,_.promise=B,_.zone=M.current,_.task=M.currentTask,V.push(_),m.scheduleMicroTask()}}}return B}const Y=K("rejectionHandledHandler");function E(B){if(B[ot]===dt){try{const G=M[Y];G&&"function"==typeof G&&G.call(this,{rejection:B[k],promise:B})}catch{}B[ot]=yt;for(let G=0;G<V.length;G++)B===V[G].promise&&V.splice(G,1)}}function S(B,G,b,U,st){E(B);const vt=B[ot],_=vt?"function"==typeof U?U:Kt:"function"==typeof st?st:Bt;G.scheduleMicroTask(Lt,()=>{try{const Tt=B[k],St=!!b&&Dt===b[Dt];St&&(b[At]=Tt,b[Ht]=vt);const It=G.run(_,void 0,St&&_!==Bt&&_!==Kt?[]:[Tt]);Et(b,!0,It)}catch(Tt){Et(b,!1,Tt)}},b)}const ft=function(){},Ut=g.AggregateError;class Nt{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(G){return G instanceof Nt?G:Et(new this(null),Zt,G)}static reject(G){return Et(new this(null),yt,G)}static withResolvers(){const G={};return G.promise=new Nt((b,U)=>{G.resolve=b,G.reject=U}),G}static any(G){if(!G||"function"!=typeof G[Symbol.iterator])return Promise.reject(new Ut([],"All promises were rejected"));const b=[];let U=0;try{for(let _ of G)U++,b.push(Nt.resolve(_))}catch{return Promise.reject(new Ut([],"All promises were rejected"))}if(0===U)return Promise.reject(new Ut([],"All promises were rejected"));let st=!1;const vt=[];return new Nt((_,Tt)=>{for(let St=0;St<b.length;St++)b[St].then(It=>{st||(st=!0,_(It))},It=>{vt.push(It),U--,0===U&&(st=!0,Tt(new Ut(vt,"All promises were rejected")))})})}static race(G){let b,U,st=new this((Tt,St)=>{b=Tt,U=St});function vt(Tt){b(Tt)}function _(Tt){U(Tt)}for(let Tt of G)Xt(Tt)||(Tt=this.resolve(Tt)),Tt.then(vt,_);return st}static all(G){return Nt.allWithCallback(G)}static allSettled(G){return(this&&this.prototype instanceof Nt?this:Nt).allWithCallback(G,{thenCallback:U=>({status:"fulfilled",value:U}),errorCallback:U=>({status:"rejected",reason:U})})}static allWithCallback(G,b){let U,st,vt=new this((It,Ft)=>{U=It,st=Ft}),_=2,Tt=0;const St=[];for(let It of G){Xt(It)||(It=this.resolve(It));const Ft=Tt;try{It.then(wt=>{St[Ft]=b?b.thenCallback(wt):wt,_--,0===_&&U(St)},wt=>{b?(St[Ft]=b.errorCallback(wt),_--,0===_&&U(St)):st(wt)})}catch(wt){st(wt)}_++,Tt++}return _-=2,0===_&&U(St),vt}constructor(G){const b=this;if(!(b instanceof Nt))throw new Error("Must be an instanceof Promise.");b[ot]=q,b[k]=[];try{const U=ht();G&&G(U(ct(b,Zt)),U(ct(b,yt)))}catch(U){Et(b,!1,U)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return Nt}then(G,b){let U=this.constructor?.[Symbol.species];(!U||"function"!=typeof U)&&(U=this.constructor||Nt);const st=new U(ft),vt=M.current;return this[ot]==q?this[k].push(vt,st,G,b):S(this,vt,st,G,b),st}catch(G){return this.then(null,G)}finally(G){let b=this.constructor?.[Symbol.species];(!b||"function"!=typeof b)&&(b=Nt);const U=new b(ft);U[Dt]=Dt;const st=M.current;return this[ot]==q?this[k].push(st,U,G,G):S(this,st,U,G,G),U}}Nt.resolve=Nt.resolve,Nt.reject=Nt.reject,Nt.race=Nt.race,Nt.all=Nt.all;const ve=g[H]=g.Promise;g.Promise=Nt;const ce=K("thenPatched");function le(B){const G=B.prototype,b=j(G,"then");if(b&&(!1===b.writable||!b.configurable))return;const U=G.then;G[ut]=U,B.prototype.then=function(st,vt){return new Nt((Tt,St)=>{U.call(this,Tt,St)}).then(st,vt)},B[ce]=!0}return m.patchThen=le,ve&&(le(ve),Rt(g,"fetch",B=>function te(B){return function(G,b){let U=B.apply(G,b);if(U instanceof Nt)return U;let st=U.constructor;return st[ce]||le(st),U}}(B))),Promise[M.__symbol__("uncaughtPromiseErrors")]=V,Nt})})(h),function O(h){h.__load_patch("toString",g=>{const M=Function.prototype.toString,m=x("OriginalDelegate"),j=x("Promise"),Z=x("Error"),X=function(){if("function"==typeof this){const H=this[m];if(H)return"function"==typeof H?M.call(H):Object.prototype.toString.call(H);if(this===Promise){const ut=g[j];if(ut)return M.call(ut)}if(this===Error){const ut=g[Z];if(ut)return M.call(ut)}}return M.call(this)};X[m]=M,Function.prototype.toString=X;const K=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":K.call(this)}})}(h),function w(h){h.__load_patch("util",(g,M,m)=>{const j=at(g);m.patchOnProperties=mt,m.patchMethod=Rt,m.bindArguments=P,m.patchMacroTask=Qt;const Z=M.__symbol__("BLACK_LISTED_EVENTS"),X=M.__symbol__("UNPATCHED_EVENTS");g[X]&&(g[Z]=g[X]),g[Z]&&(M[Z]=M[X]=g[Z]),m.patchEventPrototype=Oe,m.patchEventTarget=Te,m.isIEOrEdge=zt,m.ObjectDefineProperty=o,m.ObjectGetOwnPropertyDescriptor=n,m.ObjectCreate=a,m.ArraySlice=i,m.patchClass=Mt,m.wrapWithCurrentZone=C,m.filterProperties=bt,m.attachOriginToPatched=Wt,m._redefineProperty=Object.defineProperty,m.patchCallbacks=L,m.getGlobalObjects=()=>({globalSources:ie,zoneSymbolEventNames:kt,eventNames:j,isBrowser:pt,isMix:gt,isNode:rt,TRUE_STR:v,FALSE_STR:p,ZONE_SYMBOL_PREFIX:y,ADD_EVENT_LISTENER_STR:c,REMOVE_EVENT_LISTENER_STR:f})})}(h)})(et),function Vt(h){h.__load_patch("legacy",g=>{const M=g[h.__symbol__("legacyPatch")];M&&M()}),h.__load_patch("timers",g=>{const M="set",m="clear";oe(g,M,m,"Timeout"),oe(g,M,m,"Interval"),oe(g,M,m,"Immediate")}),h.__load_patch("requestAnimationFrame",g=>{oe(g,"request","cancel","AnimationFrame"),oe(g,"mozRequest","mozCancel","AnimationFrame"),oe(g,"webkitRequest","webkitCancel","AnimationFrame")}),h.__load_patch("blocking",(g,M)=>{const m=["alert","prompt","confirm"];for(let j=0;j<m.length;j++)Rt(g,m[j],(X,K,V)=>function(it,H){return M.current.run(X,g,H,V)})}),h.__load_patch("EventTarget",(g,M,m)=>{(function be(h,g){g.patchEventPrototype(h,g)})(g,m),function Pe(h,g){if(Zone[g.symbol("patchEventTarget")])return;const{eventNames:M,zoneSymbolEventNames:m,TRUE_STR:j,FALSE_STR:Z,ZONE_SYMBOL_PREFIX:X}=g.getGlobalObjects();for(let V=0;V<M.length;V++){const it=M[V],xt=X+(it+Z),$t=X+(it+j);m[it]={},m[it][Z]=xt,m[it][j]=$t}const K=h.EventTarget;K&&K.prototype&&g.patchEventTarget(h,g,[K&&K.prototype])}(g,m);const j=g.XMLHttpRequestEventTarget;j&&j.prototype&&m.patchEventTarget(g,m,[j.prototype])}),h.__load_patch("MutationObserver",(g,M,m)=>{Mt("MutationObserver"),Mt("WebKitMutationObserver")}),h.__load_patch("IntersectionObserver",(g,M,m)=>{Mt("IntersectionObserver")}),h.__load_patch("FileReader",(g,M,m)=>{Mt("FileReader")}),h.__load_patch("on_property",(g,M,m)=>{!function jt(h,g){if(rt&&!gt||Zone[h.symbol("patchEvents")])return;const M=g.__Zone_ignore_on_properties;let m=[];if(pt){const j=window;m=m.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const Z=function ne(){try{const h=A.navigator.userAgent;if(-1!==h.indexOf("MSIE ")||-1!==h.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:j,ignoreProperties:["error"]}]:[];W(j,at(j),M&&M.concat(Z),r(j))}m=m.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let j=0;j<m.length;j++){const Z=g[m[j]];Z&&Z.prototype&&W(Z.prototype,at(Z.prototype),M)}}(m,g)}),h.__load_patch("customElements",(g,M,m)=>{!function Ie(h,g){const{isBrowser:M,isMix:m}=g.getGlobalObjects();(M||m)&&h.customElements&&"customElements"in h&&g.patchCallbacks(g,h.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback","formAssociatedCallback","formDisabledCallback","formResetCallback","formStateRestoreCallback"])}(g,m)}),h.__load_patch("XHR",(g,M)=>{!function it(H){const ut=H.XMLHttpRequest;if(!ut)return;const xt=ut.prototype;let Ct=xt[d],Xt=xt[l];if(!Ct){const dt=H.XMLHttpRequestEventTarget;if(dt){const ct=dt.prototype;Ct=ct[d],Xt=ct[l]}}const Kt="readystatechange",Bt="scheduled";function ot(dt){const ct=dt.data,ht=ct.target;ht[X]=!1,ht[V]=!1;const Jt=ht[Z];Ct||(Ct=ht[d],Xt=ht[l]),Jt&&Xt.call(ht,Kt,Jt);const Gt=ht[Z]=()=>{if(ht.readyState===ht.DONE)if(!ct.aborted&&ht[X]&&dt.state===Bt){const Y=ht[M.__symbol__("loadfalse")];if(0!==ht.status&&Y&&Y.length>0){const E=dt.invoke;dt.invoke=function(){const S=ht[M.__symbol__("loadfalse")];for(let nt=0;nt<S.length;nt++)S[nt]===dt&&S.splice(nt,1);!ct.aborted&&dt.state===Bt&&E.call(dt)},Y.push(dt)}else dt.invoke()}else!ct.aborted&&!1===ht[X]&&(ht[V]=!0)};return Ct.call(ht,Kt,Gt),ht[m]||(ht[m]=dt),Zt.apply(ht,ct.args),ht[X]=!0,dt}function k(){}function Dt(dt){const ct=dt.data;return ct.aborted=!0,yt.apply(ct.target,ct.args)}const At=Rt(xt,"open",()=>function(dt,ct){return dt[j]=0==ct[2],dt[K]=ct[1],At.apply(dt,ct)}),Lt=x("fetchTaskAborting"),q=x("fetchTaskScheduling"),Zt=Rt(xt,"send",()=>function(dt,ct){if(!0===M.current[q]||dt[j])return Zt.apply(dt,ct);{const ht={target:dt,url:dt[K],isPeriodic:!1,args:ct,aborted:!1},Jt=N("XMLHttpRequest.send",k,ht,ot,Dt);dt&&!0===dt[V]&&!ht.aborted&&Jt.state===Bt&&Jt.invoke()}}),yt=Rt(xt,"abort",()=>function(dt,ct){const ht=function $t(dt){return dt[m]}(dt);if(ht&&"string"==typeof ht.type){if(null==ht.cancelFn||ht.data&&ht.data.aborted)return;ht.zone.cancelTask(ht)}else if(!0===M.current[Lt])return yt.apply(dt,ct)})}(g);const m=x("xhrTask"),j=x("xhrSync"),Z=x("xhrListener"),X=x("xhrScheduled"),K=x("xhrURL"),V=x("xhrErrorBeforeScheduled")}),h.__load_patch("geolocation",g=>{g.navigator&&g.navigator.geolocation&&function D(h,g){const M=h.constructor.name;for(let m=0;m<g.length;m++){const j=g[m],Z=h[j];if(Z){if(!F(n(h,j)))continue;h[j]=(K=>{const V=function(){return K.apply(this,P(arguments,M+"."+j))};return Wt(V,K),V})(Z)}}}(g.navigator.geolocation,["getCurrentPosition","watchPosition"])}),h.__load_patch("PromiseRejectionEvent",(g,M)=>{function m(j){return function(Z){me(g,j).forEach(K=>{const V=g.PromiseRejectionEvent;if(V){const it=new V(j,{promise:Z.promise,reason:Z.rejection});K.invoke(it)}})}}g.PromiseRejectionEvent&&(M[x("unhandledPromiseRejectionHandler")]=m("unhandledrejection"),M[x("rejectionHandledHandler")]=m("rejectionhandled"))}),h.__load_patch("queueMicrotask",(g,M,m)=>{!function Se(h,g){g.patchMethod(h,"queueMicrotask",M=>function(m,j){Zone.current.scheduleMicroTask("queueMicrotask",j[0])})}(g,m)})}(et)},6374:(s,u,t)=>{t(2975),t(7899),t(3863),t(4570),t(6511),t(5853),t(7075),t(3504),t(4913),t(9813),t(8892),t(8888),t(1449),t(7874),t(4609),t(3706),t(9620),t(7762),t(5144),t(5369),t(6209),t(5165),t(6094)},2899:(s,u,t)=>{t(3292),t(2346),t(9429),t(7849),t(8951),s.exports=Date},9271:(s,u,t)=>{t(5049),t(489),t(5502),t(6094)},2913:(s,u,t)=>{t(7482),t(2975),t(5890),t(3386),t(6094)},8025:(s,u,t)=>{t(6648),t(5771),t(2392),t(2335),t(4896),t(4521),t(9147),t(1318),t(4352),t(5327),t(7509),t(5909),t(9584),t(345),t(9134),t(7901),t(6592),t(6094)},5626:(s,u,t)=>{t(4509),t(7727),t(6701),t(4419),t(1933),t(3157),t(9497),t(4104),t(210),t(6576),t(4437),t(8050),t(6094)},4940:(s,u,t)=>{t(9650),t(935),t(6064),t(7067),t(2642),t(3e3),t(8647),t(1895),t(8236),t(3822),t(5572),t(9318),t(5032),t(9073),t(1430),t(8451),t(8132),t(7482),t(6094)},6203:(s,u,t)=>{t(6108),t(6094)},2444:(s,u,t)=>{t(571),t(6094)},5846:(s,u,t)=>{t(7103),t(2586),t(2552),t(4376),t(5153),t(1879),t(2650),t(1104),t(1883),t(5433),t(5e3),t(5932),t(5443),t(6316),t(6094)},4246:(s,u,t)=>{t(8301),t(4116),t(8604),t(9638),t(4040),t(8305),t(4701),t(341),t(6094)},743:(s,u,t)=>{t(7482),t(2975),t(5890),t(1632),t(6094)},6442:(s,u,t)=>{t(2220),t(3483),t(957),t(2975),t(2405),t(7224),t(8872),t(4894),t(177),t(7360),t(9011),t(4591),t(7334),t(7083),t(9213),t(8437),t(9839),t(6549),t(2818),t(8543),t(3559),t(4153),t(4040),t(8305),t(4701),t(341),t(6094)},8883:(s,u,t)=>{t(9650),t(7482),t(6094)},5660:(s,u,t)=>{t(7482),t(5165),t(9397),t(6094)},9353:(s,u,t)=>{t(7491),t(4907),t(9100),t(9269),t(1319),t(9732),t(1176),t(3107),t(1691),t(6094)},3387:s=>{s.exports=function(u){if("function"!=typeof u)throw TypeError(u+" is not a function!");return u}},5122:(s,u,t)=>{var e=t(5089);s.exports=function(n,o){if("number"!=typeof n&&"Number"!=e(n))throw TypeError(o);return+n}},8184:(s,u,t)=>{var e=t(7574)("unscopables"),n=Array.prototype;null==n[e]&&t(3341)(n,e,{}),s.exports=function(o){n[e][o]=!0}},8828:(s,u,t)=>{"use strict";var e=t(1212)(!0);s.exports=function(n,o,r){return o+(r?e(n,o).length:1)}},6440:s=>{s.exports=function(u,t,e,n){if(!(u instanceof t)||void 0!==n&&n in u)throw TypeError(e+": incorrect invocation!");return u}},4228:(s,u,t)=>{var e=t(3305);s.exports=function(n){if(!e(n))throw TypeError(n+" is not an object!");return n}},4438:(s,u,t)=>{"use strict";var e=t(8270),n=t(157),o=t(1485);s.exports=[].copyWithin||function(a,i){var c=e(this),f=o(c.length),d=n(a,f),l=n(i,f),v=arguments.length>2?arguments[2]:void 0,p=Math.min((void 0===v?f:n(v,f))-l,f-d),y=1;for(l<d&&d<l+p&&(y=-1,l+=p-1,d+=p-1);p-- >0;)l in c?c[d]=c[l]:delete c[d],d+=y,l+=y;return c}},5564:(s,u,t)=>{"use strict";var e=t(8270),n=t(157),o=t(1485);s.exports=function(a){for(var i=e(this),c=o(i.length),f=arguments.length,d=n(f>1?arguments[1]:void 0,c),l=f>2?arguments[2]:void 0,v=void 0===l?c:n(l,c);v>d;)i[d++]=a;return i}},956:(s,u,t)=>{var e=t(8790);s.exports=function(n,o){var r=[];return e(n,!1,r.push,r,o),r}},1464:(s,u,t)=>{var e=t(7221),n=t(1485),o=t(157);s.exports=function(r){return function(a,i,c){var v,f=e(a),d=n(f.length),l=o(c,d);if(r&&i!=i){for(;d>l;)if((v=f[l++])!=v)return!0}else for(;d>l;l++)if((r||l in f)&&f[l]===i)return r||l||0;return!r&&-1}}},6179:(s,u,t)=>{var e=t(5052),n=t(1249),o=t(8270),r=t(1485),a=t(3191);s.exports=function(i,c){var f=1==i,d=2==i,l=3==i,v=4==i,p=6==i,y=5==i||p,C=c||a;return function(N,x,I){for(var z,rt,A=o(N),$=n(A),R=e(x,I,3),P=r($.length),D=0,F=f?C(N,P):d?C(N,0):void 0;P>D;D++)if((y||D in $)&&(rt=R(z=$[D],D,A),i))if(f)F[D]=rt;else if(rt)switch(i){case 3:return!0;case 5:return z;case 6:return D;case 2:F.push(z)}else if(v)return!1;return p?-1:l||v?v:F}}},6543:(s,u,t)=>{var e=t(3387),n=t(8270),o=t(1249),r=t(1485);s.exports=function(a,i,c,f,d){e(i);var l=n(a),v=o(l),p=r(l.length),y=d?p-1:0,C=d?-1:1;if(c<2)for(;;){if(y in v){f=v[y],y+=C;break}if(y+=C,d?y<0:p<=y)throw TypeError("Reduce of empty array with no initial value")}for(;d?y>=0:p>y;y+=C)y in v&&(f=i(f,v[y],y,l));return f}},3606:(s,u,t)=>{var e=t(3305),n=t(7981),o=t(7574)("species");s.exports=function(r){var a;return n(r)&&("function"==typeof(a=r.constructor)&&(a===Array||n(a.prototype))&&(a=void 0),e(a)&&null===(a=a[o])&&(a=void 0)),void 0===a?Array:a}},3191:(s,u,t)=>{var e=t(3606);s.exports=function(n,o){return new(e(n))(o)}},5538:(s,u,t)=>{"use strict";var e=t(3387),n=t(3305),o=t(4877),r=[].slice,a={};s.exports=Function.bind||function(f){var d=e(this),l=r.call(arguments,1),v=function(){var p=l.concat(r.call(arguments));return this instanceof v?function(c,f,d){if(!(f in a)){for(var l=[],v=0;v<f;v++)l[v]="a["+v+"]";a[f]=Function("F,a","return new F("+l.join(",")+")")}return a[f](c,d)}(d,p.length,p):o(d,p,f)};return n(d.prototype)&&(v.prototype=d.prototype),v}},4848:(s,u,t)=>{var e=t(5089),n=t(7574)("toStringTag"),o="Arguments"==e(function(){return arguments}());s.exports=function(a){var i,c,f;return void 0===a?"Undefined":null===a?"Null":"string"==typeof(c=function(a,i){try{return a[i]}catch{}}(i=Object(a),n))?c:o?e(i):"Object"==(f=e(i))&&"function"==typeof i.callee?"Arguments":f}},5089:s=>{var u={}.toString;s.exports=function(t){return u.call(t).slice(8,-1)}},6197:(s,u,t)=>{"use strict";var e=t(7967).f,n=t(4719),o=t(6065),r=t(5052),a=t(6440),i=t(8790),c=t(8175),f=t(4970),d=t(5762),l=t(1763),v=t(2988).fastKey,p=t(2888),y=l?"_s":"size",C=function(N,x){var A,I=v(x);if("F"!==I)return N._i[I];for(A=N._f;A;A=A.n)if(A.k==x)return A};s.exports={getConstructor:function(N,x,I,A){var $=N(function(R,P){a(R,$,x,"_i"),R._t=x,R._i=n(null),R._f=void 0,R._l=void 0,R[y]=0,null!=P&&i(P,I,R[A],R)});return o($.prototype,{clear:function(){for(var P=p(this,x),D=P._i,F=P._f;F;F=F.n)F.r=!0,F.p&&(F.p=F.p.n=void 0),delete D[F.i];P._f=P._l=void 0,P[y]=0},delete:function(R){var P=p(this,x),D=C(P,R);if(D){var F=D.n,z=D.p;delete P._i[D.i],D.r=!0,z&&(z.n=F),F&&(F.p=z),P._f==D&&(P._f=F),P._l==D&&(P._l=z),P[y]--}return!!D},forEach:function(P){p(this,x);for(var F,D=r(P,arguments.length>1?arguments[1]:void 0,3);F=F?F.n:this._f;)for(D(F.v,F.k,this);F&&F.r;)F=F.p},has:function(P){return!!C(p(this,x),P)}}),l&&e($.prototype,"size",{get:function(){return p(this,x)[y]}}),$},def:function(N,x,I){var $,R,A=C(N,x);return A?A.v=I:(N._l=A={i:R=v(x,!0),k:x,v:I,p:$=N._l,n:void 0,r:!1},N._f||(N._f=A),$&&($.n=A),N[y]++,"F"!==R&&(N._i[R]=A)),N},getEntry:C,setStrong:function(N,x,I){c(N,x,function(A,$){this._t=p(A,x),this._k=$,this._l=void 0},function(){for(var A=this,$=A._k,R=A._l;R&&R.r;)R=R.p;return A._t&&(A._l=R=R?R.n:A._t._f)?f(0,"keys"==$?R.k:"values"==$?R.v:[R.k,R.v]):(A._t=void 0,f(1))},I?"entries":"values",!I,!0),d(x)}}},9882:(s,u,t)=>{"use strict";var e=t(6065),n=t(2988).getWeak,o=t(4228),r=t(3305),a=t(6440),i=t(8790),c=t(6179),f=t(7917),d=t(2888),l=c(5),v=c(6),p=0,y=function(x){return x._l||(x._l=new C)},C=function(){this.a=[]},N=function(x,I){return l(x.a,function(A){return A[0]===I})};C.prototype={get:function(x){var I=N(this,x);if(I)return I[1]},has:function(x){return!!N(this,x)},set:function(x,I){var A=N(this,x);A?A[1]=I:this.a.push([x,I])},delete:function(x){var I=v(this.a,function(A){return A[0]===x});return~I&&this.a.splice(I,1),!!~I}},s.exports={getConstructor:function(x,I,A,$){var R=x(function(P,D){a(P,R,I,"_i"),P._t=I,P._i=p++,P._l=void 0,null!=D&&i(D,A,P[$],P)});return e(R.prototype,{delete:function(P){if(!r(P))return!1;var D=n(P);return!0===D?y(d(this,I)).delete(P):D&&f(D,this._i)&&delete D[this._i]},has:function(D){if(!r(D))return!1;var F=n(D);return!0===F?y(d(this,I)).has(D):F&&f(F,this._i)}}),R},def:function(x,I,A){var $=n(o(I),!0);return!0===$?y(x).set(I,A):$[x._i]=A,x},ufstore:y}},8933:(s,u,t)=>{"use strict";var e=t(7526),n=t(2127),o=t(8859),r=t(6065),a=t(2988),i=t(8790),c=t(6440),f=t(3305),d=t(9448),l=t(8931),v=t(3844),p=t(8880);s.exports=function(y,C,N,x,I,A){var $=e[y],R=$,P=I?"set":"add",D=R&&R.prototype,F={},z=function(lt){var Q=D[lt];o(D,lt,"delete"==lt?function(mt){return!(A&&!f(mt))&&Q.call(this,0===mt?0:mt)}:"has"==lt?function(tt){return!(A&&!f(tt))&&Q.call(this,0===tt?0:tt)}:"get"==lt?function(tt){return A&&!f(tt)?void 0:Q.call(this,0===tt?0:tt)}:"add"==lt?function(tt){return Q.call(this,0===tt?0:tt),this}:function(tt,Mt){return Q.call(this,0===tt?0:tt,Mt),this})};if("function"==typeof R&&(A||D.forEach&&!d(function(){(new R).entries().next()}))){var rt=new R,pt=rt[P](A?{}:-0,1)!=rt,gt=d(function(){rt.has(1)}),Pt=l(function(lt){new R(lt)}),Ot=!A&&d(function(){for(var lt=new R,Q=5;Q--;)lt[P](Q,Q);return!lt.has(-0)});Pt||((R=C(function(lt,Q){c(lt,R,y);var mt=p(new $,lt,R);return null!=Q&&i(Q,I,mt[P],mt),mt})).prototype=D,D.constructor=R),(gt||Ot)&&(z("delete"),z("has"),I&&z("get")),(Ot||pt)&&z(P),A&&D.clear&&delete D.clear}else R=x.getConstructor(C,y,I,P),r(R.prototype,N),a.NEED=!0;return v(R,y),F[y]=R,n(n.G+n.W+n.F*(R!=$),F),A||x.setStrong(R,y,I),R}},6094:s=>{var u=s.exports={version:"2.6.12"};"number"==typeof __e&&(__e=u)},7227:(s,u,t)=>{"use strict";var e=t(7967),n=t(1996);s.exports=function(o,r,a){r in o?e.f(o,r,n(0,a)):o[r]=a}},5052:(s,u,t)=>{var e=t(3387);s.exports=function(n,o,r){if(e(n),void 0===o)return n;switch(r){case 1:return function(a){return n.call(o,a)};case 2:return function(a,i){return n.call(o,a,i)};case 3:return function(a,i,c){return n.call(o,a,i,c)}}return function(){return n.apply(o,arguments)}}},5385:(s,u,t)=>{"use strict";var e=t(9448),n=Date.prototype.getTime,o=Date.prototype.toISOString,r=function(a){return a>9?a:"0"+a};s.exports=e(function(){return"0385-07-25T07:06:39.999Z"!=o.call(new Date(-50000000000001))})||!e(function(){o.call(new Date(NaN))})?function(){if(!isFinite(n.call(this)))throw RangeError("Invalid time value");var i=this,c=i.getUTCFullYear(),f=i.getUTCMilliseconds(),d=c<0?"-":c>9999?"+":"";return d+("00000"+Math.abs(c)).slice(d?-6:-4)+"-"+r(i.getUTCMonth()+1)+"-"+r(i.getUTCDate())+"T"+r(i.getUTCHours())+":"+r(i.getUTCMinutes())+":"+r(i.getUTCSeconds())+"."+(f>99?f:"0"+r(f))+"Z"}:o},107:(s,u,t)=>{"use strict";var e=t(4228),n=t(3048),o="number";s.exports=function(r){if("string"!==r&&r!==o&&"default"!==r)throw TypeError("Incorrect hint");return n(e(this),r!=o)}},3344:s=>{s.exports=function(u){if(null==u)throw TypeError("Can't call method on  "+u);return u}},1763:(s,u,t)=>{s.exports=!t(9448)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},6034:(s,u,t)=>{var e=t(3305),n=t(7526).document,o=e(n)&&e(n.createElement);s.exports=function(r){return o?n.createElement(r):{}}},6140:s=>{s.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},5969:(s,u,t)=>{var e=t(1311),n=t(1060),o=t(8449);s.exports=function(r){var a=e(r),i=n.f;if(i)for(var l,c=i(r),f=o.f,d=0;c.length>d;)f.call(r,l=c[d++])&&a.push(l);return a}},2127:(s,u,t)=>{var e=t(7526),n=t(6094),o=t(3341),r=t(8859),a=t(5052),i="prototype",c=function(f,d,l){var $,R,P,D,v=f&c.F,p=f&c.G,C=f&c.P,N=f&c.B,x=p?e:f&c.S?e[d]||(e[d]={}):(e[d]||{})[i],I=p?n:n[d]||(n[d]={}),A=I[i]||(I[i]={});for($ in p&&(l=d),l)P=((R=!v&&x&&void 0!==x[$])?x:l)[$],D=N&&R?a(P,e):C&&"function"==typeof P?a(Function.call,P):P,x&&r(x,$,P,f&c.U),I[$]!=P&&o(I,$,D),C&&A[$]!=P&&(A[$]=P)};e.core=n,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,s.exports=c},5203:(s,u,t)=>{var e=t(7574)("match");s.exports=function(n){var o=/./;try{"/./"[n](o)}catch{try{return o[e]=!1,!"/./"[n](o)}catch{}}return!0}},9448:s=>{s.exports=function(u){try{return!!u()}catch{return!0}}},9228:(s,u,t)=>{"use strict";t(4116);var e=t(8859),n=t(3341),o=t(9448),r=t(3344),a=t(7574),i=t(9600),c=a("species"),f=!o(function(){var l=/./;return l.exec=function(){var v=[];return v.groups={a:"7"},v},"7"!=="".replace(l,"$<a>")}),d=function(){var l=/(?:)/,v=l.exec;l.exec=function(){return v.apply(this,arguments)};var p="ab".split(l);return 2===p.length&&"a"===p[0]&&"b"===p[1]}();s.exports=function(l,v,p){var y=a(l),C=!o(function(){var R={};return R[y]=function(){return 7},7!=""[l](R)}),N=C?!o(function(){var R=!1,P=/a/;return P.exec=function(){return R=!0,null},"split"===l&&(P.constructor={},P.constructor[c]=function(){return P}),P[y](""),!R}):void 0;if(!C||!N||"replace"===l&&!f||"split"===l&&!d){var x=/./[y],I=p(r,y,""[l],function(P,D,F,z,rt){return D.exec===i?C&&!rt?{done:!0,value:x.call(D,F,z)}:{done:!0,value:P.call(F,D,z)}:{done:!1}}),$=I[1];e(String.prototype,l,I[0]),n(RegExp.prototype,y,2==v?function(R,P){return $.call(R,this,P)}:function(R){return $.call(R,this)})}}},1158:(s,u,t)=>{"use strict";var e=t(4228);s.exports=function(){var n=e(this),o="";return n.global&&(o+="g"),n.ignoreCase&&(o+="i"),n.multiline&&(o+="m"),n.unicode&&(o+="u"),n.sticky&&(o+="y"),o}},8790:(s,u,t)=>{var e=t(5052),n=t(7368),o=t(1508),r=t(4228),a=t(1485),i=t(762),c={},f={},d=s.exports=function(l,v,p,y,C){var A,$,R,P,N=C?function(){return l}:i(l),x=e(p,y,v?2:1),I=0;if("function"!=typeof N)throw TypeError(l+" is not iterable!");if(o(N)){for(A=a(l.length);A>I;I++)if((P=v?x(r($=l[I])[0],$[1]):x(l[I]))===c||P===f)return P}else for(R=N.call(l);!($=R.next()).done;)if((P=n(R,x,$.value,v))===c||P===f)return P};d.BREAK=c,d.RETURN=f},9461:(s,u,t)=>{s.exports=t(4556)("native-function-to-string",Function.toString)},7526:s=>{var u=s.exports=typeof window<"u"&&window.Math==Math?window:typeof self<"u"&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=u)},7917:s=>{var u={}.hasOwnProperty;s.exports=function(t,e){return u.call(t,e)}},3341:(s,u,t)=>{var e=t(7967),n=t(1996);s.exports=t(1763)?function(o,r,a){return e.f(o,r,n(1,a))}:function(o,r,a){return o[r]=a,o}},1308:(s,u,t)=>{var e=t(7526).document;s.exports=e&&e.documentElement},2956:(s,u,t)=>{s.exports=!t(1763)&&!t(9448)(function(){return 7!=Object.defineProperty(t(6034)("div"),"a",{get:function(){return 7}}).a})},8880:(s,u,t)=>{var e=t(3305),n=t(5170).set;s.exports=function(o,r,a){var c,i=r.constructor;return i!==a&&"function"==typeof i&&(c=i.prototype)!==a.prototype&&e(c)&&n&&n(o,c),o}},4877:s=>{s.exports=function(u,t,e){var n=void 0===e;switch(t.length){case 0:return n?u():u.call(e);case 1:return n?u(t[0]):u.call(e,t[0]);case 2:return n?u(t[0],t[1]):u.call(e,t[0],t[1]);case 3:return n?u(t[0],t[1],t[2]):u.call(e,t[0],t[1],t[2]);case 4:return n?u(t[0],t[1],t[2],t[3]):u.call(e,t[0],t[1],t[2],t[3])}return u.apply(e,t)}},1249:(s,u,t)=>{var e=t(5089);s.exports=Object("z").propertyIsEnumerable(0)?Object:function(n){return"String"==e(n)?n.split(""):Object(n)}},1508:(s,u,t)=>{var e=t(906),n=t(7574)("iterator"),o=Array.prototype;s.exports=function(r){return void 0!==r&&(e.Array===r||o[n]===r)}},7981:(s,u,t)=>{var e=t(5089);s.exports=Array.isArray||function(o){return"Array"==e(o)}},3842:(s,u,t)=>{var e=t(3305),n=Math.floor;s.exports=function(r){return!e(r)&&isFinite(r)&&n(r)===r}},3305:s=>{s.exports=function(u){return"object"==typeof u?null!==u:"function"==typeof u}},5411:(s,u,t)=>{var e=t(3305),n=t(5089),o=t(7574)("match");s.exports=function(r){var a;return e(r)&&(void 0!==(a=r[o])?!!a:"RegExp"==n(r))}},7368:(s,u,t)=>{var e=t(4228);s.exports=function(n,o,r,a){try{return a?o(e(r)[0],r[1]):o(r)}catch(c){var i=n.return;throw void 0!==i&&e(i.call(n)),c}}},6032:(s,u,t)=>{"use strict";var e=t(4719),n=t(1996),o=t(3844),r={};t(3341)(r,t(7574)("iterator"),function(){return this}),s.exports=function(a,i,c){a.prototype=e(r,{next:n(1,c)}),o(a,i+" Iterator")}},8175:(s,u,t)=>{"use strict";var e=t(2750),n=t(2127),o=t(8859),r=t(3341),a=t(906),i=t(6032),c=t(3844),f=t(627),d=t(7574)("iterator"),l=!([].keys&&"next"in[].keys()),p="keys",y="values",C=function(){return this};s.exports=function(N,x,I,A,$,R,P){i(I,x,A);var Q,mt,tt,D=function(Mt){if(!l&&Mt in pt)return pt[Mt];switch(Mt){case p:case y:return function(){return new I(this,Mt)}}return function(){return new I(this,Mt)}},F=x+" Iterator",z=$==y,rt=!1,pt=N.prototype,gt=pt[d]||pt["@@iterator"]||$&&pt[$],Pt=gt||D($),Ot=$?z?D("entries"):Pt:void 0,lt="Array"==x&&pt.entries||gt;if(lt&&(tt=f(lt.call(new N)))!==Object.prototype&&tt.next&&(c(tt,F,!0),!e&&"function"!=typeof tt[d]&&r(tt,d,C)),z&&gt&&gt.name!==y&&(rt=!0,Pt=function(){return gt.call(this)}),(!e||P)&&(l||rt||!pt[d])&&r(pt,d,Pt),a[x]=Pt,a[F]=C,$)if(Q={values:z?Pt:D(y),keys:R?Pt:D(p),entries:Ot},P)for(mt in Q)mt in pt||o(pt,mt,Q[mt]);else n(n.P+n.F*(l||rt),x,Q);return Q}},8931:(s,u,t)=>{var e=t(7574)("iterator"),n=!1;try{var o=[7][e]();o.return=function(){n=!0},Array.from(o,function(){throw 2})}catch{}s.exports=function(r,a){if(!a&&!n)return!1;var i=!1;try{var c=[7],f=c[e]();f.next=function(){return{done:i=!0}},c[e]=function(){return f},r(c)}catch{}return i}},4970:s=>{s.exports=function(u,t){return{value:t,done:!!u}}},906:s=>{s.exports={}},2750:s=>{s.exports=!1},5551:s=>{var u=Math.expm1;s.exports=!u||u(10)>22025.465794806718||u(10)<22025.465794806718||-2e-17!=u(-2e-17)?function(e){return 0==(e=+e)?e:e>-1e-6&&e<1e-6?e+e*e/2:Math.exp(e)-1}:u},2122:(s,u,t)=>{var e=t(3733),n=Math.pow,o=n(2,-52),r=n(2,-23),a=n(2,127)*(2-r),i=n(2,-126);s.exports=Math.fround||function(d){var p,y,l=Math.abs(d),v=e(d);return l<i?v*(l/i/r+1/o-1/o)*i*r:(y=(p=(1+r/o)*l)-(p-l))>a||y!=y?v*(1/0):v*y}},1473:s=>{s.exports=Math.log1p||function(t){return(t=+t)>-1e-8&&t<1e-8?t-t*t/2:Math.log(1+t)}},3733:s=>{s.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},2988:(s,u,t)=>{var e=t(4415)("meta"),n=t(3305),o=t(7917),r=t(7967).f,a=0,i=Object.isExtensible||function(){return!0},c=!t(9448)(function(){return i(Object.preventExtensions({}))}),f=function(y){r(y,e,{value:{i:"O"+ ++a,w:{}}})},p=s.exports={KEY:e,NEED:!1,fastKey:function(y,C){if(!n(y))return"symbol"==typeof y?y:("string"==typeof y?"S":"P")+y;if(!o(y,e)){if(!i(y))return"F";if(!C)return"E";f(y)}return y[e].i},getWeak:function(y,C){if(!o(y,e)){if(!i(y))return!0;if(!C)return!1;f(y)}return y[e].w},onFreeze:function(y){return c&&p.NEED&&i(y)&&!o(y,e)&&f(y),y}}},7380:(s,u,t)=>{var e=t(3386),n=t(2127),o=t(4556)("metadata"),r=o.store||(o.store=new(t(9397))),a=function(p,y,C){var N=r.get(p);if(!N){if(!C)return;r.set(p,N=new e)}var x=N.get(y);if(!x){if(!C)return;N.set(y,x=new e)}return x};s.exports={store:r,map:a,has:function(p,y,C){var N=a(y,C,!1);return void 0!==N&&N.has(p)},get:function(p,y,C){var N=a(y,C,!1);return void 0===N?void 0:N.get(p)},set:function(p,y,C,N){a(C,N,!0).set(p,y)},keys:function(p,y){var C=a(p,y,!1),N=[];return C&&C.forEach(function(x,I){N.push(I)}),N},key:function(p){return void 0===p||"symbol"==typeof p?p:String(p)},exp:function(p){n(n.S,"Reflect",p)}}},8206:(s,u,t)=>{"use strict";var e=t(1763),n=t(1311),o=t(1060),r=t(8449),a=t(8270),i=t(1249),c=Object.assign;s.exports=!c||t(9448)(function(){var f={},d={},l=Symbol(),v="abcdefghijklmnopqrst";return f[l]=7,v.split("").forEach(function(p){d[p]=p}),7!=c({},f)[l]||Object.keys(c({},d)).join("")!=v})?function(d,l){for(var v=a(d),p=arguments.length,y=1,C=o.f,N=r.f;p>y;)for(var R,x=i(arguments[y++]),I=C?n(x).concat(C(x)):n(x),A=I.length,$=0;A>$;)R=I[$++],(!e||N.call(x,R))&&(v[R]=x[R]);return v}:c},4719:(s,u,t)=>{var e=t(4228),n=t(1626),o=t(6140),r=t(766)("IE_PROTO"),a=function(){},i="prototype",c=function(){var p,f=t(6034)("iframe"),d=o.length;for(f.style.display="none",t(1308).appendChild(f),f.src="javascript:",(p=f.contentWindow.document).open(),p.write("<script>document.F=Object<\/script>"),p.close(),c=p.F;d--;)delete c[i][o[d]];return c()};s.exports=Object.create||function(d,l){var v;return null!==d?(a[i]=e(d),v=new a,a[i]=null,v[r]=d):v=c(),void 0===l?v:n(v,l)}},7967:(s,u,t)=>{var e=t(4228),n=t(2956),o=t(3048),r=Object.defineProperty;u.f=t(1763)?Object.defineProperty:function(i,c,f){if(e(i),c=o(c,!0),e(f),n)try{return r(i,c,f)}catch{}if("get"in f||"set"in f)throw TypeError("Accessors not supported!");return"value"in f&&(i[c]=f.value),i}},1626:(s,u,t)=>{var e=t(7967),n=t(4228),o=t(1311);s.exports=t(1763)?Object.defineProperties:function(a,i){n(a);for(var l,c=o(i),f=c.length,d=0;f>d;)e.f(a,l=c[d++],i[l]);return a}},8641:(s,u,t)=>{var e=t(8449),n=t(1996),o=t(7221),r=t(3048),a=t(7917),i=t(2956),c=Object.getOwnPropertyDescriptor;u.f=t(1763)?c:function(d,l){if(d=o(d),l=r(l,!0),i)try{return c(d,l)}catch{}if(a(d,l))return n(!e.f.call(d,l),d[l])}},4765:(s,u,t)=>{var e=t(7221),n=t(9415).f,o={}.toString,r="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];s.exports.f=function(c){return r&&"[object Window]"==o.call(c)?function(i){try{return n(i)}catch{return r.slice()}}(c):n(e(c))}},9415:(s,u,t)=>{var e=t(4561),n=t(6140).concat("length","prototype");u.f=Object.getOwnPropertyNames||function(r){return e(r,n)}},1060:(s,u)=>{u.f=Object.getOwnPropertySymbols},627:(s,u,t)=>{var e=t(7917),n=t(8270),o=t(766)("IE_PROTO"),r=Object.prototype;s.exports=Object.getPrototypeOf||function(a){return a=n(a),e(a,o)?a[o]:"function"==typeof a.constructor&&a instanceof a.constructor?a.constructor.prototype:a instanceof Object?r:null}},4561:(s,u,t)=>{var e=t(7917),n=t(7221),o=t(1464)(!1),r=t(766)("IE_PROTO");s.exports=function(a,i){var l,c=n(a),f=0,d=[];for(l in c)l!=r&&e(c,l)&&d.push(l);for(;i.length>f;)e(c,l=i[f++])&&(~o(d,l)||d.push(l));return d}},1311:(s,u,t)=>{var e=t(4561),n=t(6140);s.exports=Object.keys||function(r){return e(r,n)}},8449:(s,u)=>{u.f={}.propertyIsEnumerable},923:(s,u,t)=>{var e=t(2127),n=t(6094),o=t(9448);s.exports=function(r,a){var i=(n.Object||{})[r]||Object[r],c={};c[r]=a(i),e(e.S+e.F*o(function(){i(1)}),"Object",c)}},6222:(s,u,t)=>{var e=t(9415),n=t(1060),o=t(4228),r=t(7526).Reflect;s.exports=r&&r.ownKeys||function(i){var c=e.f(o(i)),f=n.f;return f?c.concat(f(i)):c}},3589:(s,u,t)=>{var e=t(7526).parseFloat,n=t(629).trim;s.exports=1/e(t(832)+"-0")!=-1/0?function(r){var a=n(String(r),3),i=e(a);return 0===i&&"-"==a.charAt(0)?-0:i}:e},2738:(s,u,t)=>{var e=t(7526).parseInt,n=t(629).trim,o=t(832),r=/^[-+]?0[xX]/;s.exports=8!==e(o+"08")||22!==e(o+"0x16")?function(i,c){var f=n(String(i),3);return e(f,c>>>0||(r.test(f)?16:10))}:e},1996:s=>{s.exports=function(u,t){return{enumerable:!(1&u),configurable:!(2&u),writable:!(4&u),value:t}}},6065:(s,u,t)=>{var e=t(8859);s.exports=function(n,o,r){for(var a in o)e(n,a,o[a],r);return n}},8859:(s,u,t)=>{var e=t(7526),n=t(3341),o=t(7917),r=t(4415)("src"),a=t(9461),i="toString",c=(""+a).split(i);t(6094).inspectSource=function(f){return a.call(f)},(s.exports=function(f,d,l,v){var p="function"==typeof l;p&&(o(l,"name")||n(l,"name",d)),f[d]!==l&&(p&&(o(l,r)||n(l,r,f[d]?""+f[d]:c.join(String(d)))),f===e?f[d]=l:v?f[d]?f[d]=l:n(f,d,l):(delete f[d],n(f,d,l)))})(Function.prototype,i,function(){return"function"==typeof this&&this[r]||a.call(this)})},2535:(s,u,t)=>{"use strict";var e=t(4848),n=RegExp.prototype.exec;s.exports=function(o,r){var a=o.exec;if("function"==typeof a){var i=a.call(o,r);if("object"!=typeof i)throw new TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==e(o))throw new TypeError("RegExp#exec called on incompatible receiver");return n.call(o,r)}},9600:(s,u,t)=>{"use strict";var d,l,e=t(1158),n=RegExp.prototype.exec,o=String.prototype.replace,r=n,a="lastIndex",i=(l=/b*/g,n.call(d=/a/,"a"),n.call(l,"a"),0!==d[a]||0!==l[a]),c=void 0!==/()??/.exec("")[1];(i||c)&&(r=function(l){var p,y,C,N,v=this;return c&&(y=new RegExp("^"+v.source+"$(?!\\s)",e.call(v))),i&&(p=v[a]),C=n.call(v,l),i&&C&&(v[a]=v.global?C.index+C[0].length:p),c&&C&&C.length>1&&o.call(C[0],y,function(){for(N=1;N<arguments.length-2;N++)void 0===arguments[N]&&(C[N]=void 0)}),C}),s.exports=r},7359:s=>{s.exports=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}},5170:(s,u,t)=>{var e=t(3305),n=t(4228),o=function(r,a){if(n(r),!e(a)&&null!==a)throw TypeError(a+": can't set as prototype!")};s.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(r,a,i){try{(i=t(5052)(Function.call,t(8641).f(Object.prototype,"__proto__").set,2))(r,[]),a=!(r instanceof Array)}catch{a=!0}return function(f,d){return o(f,d),a?f.__proto__=d:i(f,d),f}}({},!1):void 0),check:o}},5762:(s,u,t)=>{"use strict";var e=t(7526),n=t(7967),o=t(1763),r=t(7574)("species");s.exports=function(a){var i=e[a];o&&i&&!i[r]&&n.f(i,r,{configurable:!0,get:function(){return this}})}},3844:(s,u,t)=>{var e=t(7967).f,n=t(7917),o=t(7574)("toStringTag");s.exports=function(r,a,i){r&&!n(r=i?r:r.prototype,o)&&e(r,o,{configurable:!0,value:a})}},766:(s,u,t)=>{var e=t(4556)("keys"),n=t(4415);s.exports=function(o){return e[o]||(e[o]=n(o))}},4556:(s,u,t)=>{var e=t(6094),n=t(7526),o="__core-js_shared__",r=n[o]||(n[o]={});(s.exports=function(a,i){return r[a]||(r[a]=void 0!==i?i:{})})("versions",[]).push({version:e.version,mode:t(2750)?"pure":"global",copyright:"\xa9 2020 Denis Pushkarev (zloirock.ru)"})},9190:(s,u,t)=>{var e=t(4228),n=t(3387),o=t(7574)("species");s.exports=function(r,a){var c,i=e(r).constructor;return void 0===i||null==(c=e(i)[o])?a:n(c)}},6884:(s,u,t)=>{"use strict";var e=t(9448);s.exports=function(n,o){return!!n&&e(function(){o?n.call(null,function(){},1):n.call(null)})}},1212:(s,u,t)=>{var e=t(7087),n=t(3344);s.exports=function(o){return function(r,a){var d,l,i=String(n(r)),c=e(a),f=i.length;return c<0||c>=f?o?"":void 0:(d=i.charCodeAt(c))<55296||d>56319||c+1===f||(l=i.charCodeAt(c+1))<56320||l>57343?o?i.charAt(c):d:o?i.slice(c,c+2):l-56320+(d-55296<<10)+65536}}},8942:(s,u,t)=>{var e=t(5411),n=t(3344);s.exports=function(o,r,a){if(e(r))throw TypeError("String#"+a+" doesn't accept regex!");return String(n(o))}},2468:(s,u,t)=>{var e=t(2127),n=t(9448),o=t(3344),r=/"/g,a=function(i,c,f,d){var l=String(o(i)),v="<"+c;return""!==f&&(v+=" "+f+'="'+String(d).replace(r,"&quot;")+'"'),v+">"+l+"</"+c+">"};s.exports=function(i,c){var f={};f[i]=c(a),e(e.P+e.F*n(function(){var d=""[i]('"');return d!==d.toLowerCase()||d.split('"').length>3}),"String",f)}},7926:(s,u,t)=>{"use strict";var e=t(7087),n=t(3344);s.exports=function(r){var a=String(n(this)),i="",c=e(r);if(c<0||c==1/0)throw RangeError("Count can't be negative");for(;c>0;(c>>>=1)&&(a+=a))1&c&&(i+=a);return i}},629:(s,u,t)=>{var e=t(2127),n=t(3344),o=t(9448),r=t(832),a="["+r+"]",c=RegExp("^"+a+a+"*"),f=RegExp(a+a+"*$"),d=function(v,p,y){var C={},N=o(function(){return!!r[v]()||"\u200b\x85"!="\u200b\x85"[v]()}),x=C[v]=N?p(l):r[v];y&&(C[y]=x),e(e.P+e.F*N,"String",C)},l=d.trim=function(v,p){return v=String(n(v)),1&p&&(v=v.replace(c,"")),2&p&&(v=v.replace(f,"")),v};s.exports=d},832:s=>{s.exports="\t\n\v\f\r \xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff"},157:(s,u,t)=>{var e=t(7087),n=Math.max,o=Math.min;s.exports=function(r,a){return(r=e(r))<0?n(r+a,0):o(r,a)}},7087:s=>{var u=Math.ceil,t=Math.floor;s.exports=function(e){return isNaN(e=+e)?0:(e>0?t:u)(e)}},7221:(s,u,t)=>{var e=t(1249),n=t(3344);s.exports=function(o){return e(n(o))}},1485:(s,u,t)=>{var e=t(7087),n=Math.min;s.exports=function(o){return o>0?n(e(o),9007199254740991):0}},8270:(s,u,t)=>{var e=t(3344);s.exports=function(n){return Object(e(n))}},3048:(s,u,t)=>{var e=t(3305);s.exports=function(n,o){if(!e(n))return n;var r,a;if(o&&"function"==typeof(r=n.toString)&&!e(a=r.call(n))||"function"==typeof(r=n.valueOf)&&!e(a=r.call(n))||!o&&"function"==typeof(r=n.toString)&&!e(a=r.call(n)))return a;throw TypeError("Can't convert object to primitive value")}},4415:s=>{var u=0,t=Math.random();s.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++u+t).toString(36))}},2888:(s,u,t)=>{var e=t(3305);s.exports=function(n,o){if(!e(n)||n._t!==o)throw TypeError("Incompatible receiver, "+o+" required!");return n}},5392:(s,u,t)=>{var e=t(7526),n=t(6094),o=t(2750),r=t(7960),a=t(7967).f;s.exports=function(i){var c=n.Symbol||(n.Symbol=o?{}:e.Symbol||{});"_"!=i.charAt(0)&&!(i in c)&&a(c,i,{value:r.f(i)})}},7960:(s,u,t)=>{u.f=t(7574)},7574:(s,u,t)=>{var e=t(4556)("wks"),n=t(4415),o=t(7526).Symbol,r="function"==typeof o;(s.exports=function(i){return e[i]||(e[i]=r&&o[i]||(r?o:n)("Symbol."+i))}).store=e},762:(s,u,t)=>{var e=t(4848),n=t(7574)("iterator"),o=t(906);s.exports=t(6094).getIteratorMethod=function(r){if(null!=r)return r[n]||r["@@iterator"]||o[e(r)]}},9620:(s,u,t)=>{var e=t(2127);e(e.P,"Array",{copyWithin:t(4438)}),t(8184)("copyWithin")},8888:(s,u,t)=>{"use strict";var e=t(2127),n=t(6179)(4);e(e.P+e.F*!t(6884)([].every,!0),"Array",{every:function(r){return n(this,r,arguments[1])}})},7762:(s,u,t)=>{var e=t(2127);e(e.P,"Array",{fill:t(5564)}),t(8184)("fill")},9813:(s,u,t)=>{"use strict";var e=t(2127),n=t(6179)(2);e(e.P+e.F*!t(6884)([].filter,!0),"Array",{filter:function(r){return n(this,r,arguments[1])}})},5369:(s,u,t)=>{"use strict";var e=t(2127),n=t(6179)(6),o="findIndex",r=!0;o in[]&&Array(1)[o](function(){r=!1}),e(e.P+e.F*r,"Array",{findIndex:function(i){return n(this,i,arguments.length>1?arguments[1]:void 0)}}),t(8184)(o)},5144:(s,u,t)=>{"use strict";var e=t(2127),n=t(6179)(5),o="find",r=!0;o in[]&&Array(1)[o](function(){r=!1}),e(e.P+e.F*r,"Array",{find:function(i){return n(this,i,arguments.length>1?arguments[1]:void 0)}}),t(8184)(o)},3504:(s,u,t)=>{"use strict";var e=t(2127),n=t(6179)(0),o=t(6884)([].forEach,!0);e(e.P+e.F*!o,"Array",{forEach:function(a){return n(this,a,arguments[1])}})},3863:(s,u,t)=>{"use strict";var e=t(5052),n=t(2127),o=t(8270),r=t(7368),a=t(1508),i=t(1485),c=t(7227),f=t(762);n(n.S+n.F*!t(8931)(function(d){Array.from(d)}),"Array",{from:function(l){var A,$,R,P,v=o(l),p="function"==typeof this?this:Array,y=arguments.length,C=y>1?arguments[1]:void 0,N=void 0!==C,x=0,I=f(v);if(N&&(C=e(C,y>2?arguments[2]:void 0,2)),null==I||p==Array&&a(I))for($=new p(A=i(v.length));A>x;x++)c($,x,N?C(v[x],x):v[x]);else for(P=I.call(v),$=new p;!(R=P.next()).done;x++)c($,x,N?r(P,C,[R.value,x],!0):R.value);return $.length=x,$}})},4609:(s,u,t)=>{"use strict";var e=t(2127),n=t(1464)(!1),o=[].indexOf,r=!!o&&1/[1].indexOf(1,-0)<0;e(e.P+e.F*(r||!t(6884)(o)),"Array",{indexOf:function(i){return r?o.apply(this,arguments)||0:n(this,i,arguments[1])}})},7899:(s,u,t)=>{var e=t(2127);e(e.S,"Array",{isArray:t(7981)})},5165:(s,u,t)=>{"use strict";var e=t(8184),n=t(4970),o=t(906),r=t(7221);s.exports=t(8175)(Array,"Array",function(a,i){this._t=r(a),this._i=0,this._k=i},function(){var a=this._t,i=this._k,c=this._i++;return!a||c>=a.length?(this._t=void 0,n(1)):n(0,"keys"==i?c:"values"==i?a[c]:[c,a[c]])},"values"),o.Arguments=o.Array,e("keys"),e("values"),e("entries")},6511:(s,u,t)=>{"use strict";var e=t(2127),n=t(7221),o=[].join;e(e.P+e.F*(t(1249)!=Object||!t(6884)(o)),"Array",{join:function(a){return o.call(n(this),void 0===a?",":a)}})},3706:(s,u,t)=>{"use strict";var e=t(2127),n=t(7221),o=t(7087),r=t(1485),a=[].lastIndexOf,i=!!a&&1/[1].lastIndexOf(1,-0)<0;e(e.P+e.F*(i||!t(6884)(a)),"Array",{lastIndexOf:function(f){if(i)return a.apply(this,arguments)||0;var d=n(this),l=r(d.length),v=l-1;for(arguments.length>1&&(v=Math.min(v,o(arguments[1]))),v<0&&(v=l+v);v>=0;v--)if(v in d&&d[v]===f)return v||0;return-1}})},4913:(s,u,t)=>{"use strict";var e=t(2127),n=t(6179)(1);e(e.P+e.F*!t(6884)([].map,!0),"Array",{map:function(r){return n(this,r,arguments[1])}})},4570:(s,u,t)=>{"use strict";var e=t(2127),n=t(7227);e(e.S+e.F*t(9448)(function(){function o(){}return!(Array.of.call(o)instanceof o)}),"Array",{of:function(){for(var r=0,a=arguments.length,i=new("function"==typeof this?this:Array)(a);a>r;)n(i,r,arguments[r++]);return i.length=a,i}})},7874:(s,u,t)=>{"use strict";var e=t(2127),n=t(6543);e(e.P+e.F*!t(6884)([].reduceRight,!0),"Array",{reduceRight:function(r){return n(this,r,arguments.length,arguments[1],!0)}})},1449:(s,u,t)=>{"use strict";var e=t(2127),n=t(6543);e(e.P+e.F*!t(6884)([].reduce,!0),"Array",{reduce:function(r){return n(this,r,arguments.length,arguments[1],!1)}})},5853:(s,u,t)=>{"use strict";var e=t(2127),n=t(1308),o=t(5089),r=t(157),a=t(1485),i=[].slice;e(e.P+e.F*t(9448)(function(){n&&i.call(n)}),"Array",{slice:function(f,d){var l=a(this.length),v=o(this);if(d=void 0===d?l:d,"Array"==v)return i.call(this,f,d);for(var p=r(f,l),y=r(d,l),C=a(y-p),N=new Array(C),x=0;x<C;x++)N[x]="String"==v?this.charAt(p+x):this[p+x];return N}})},8892:(s,u,t)=>{"use strict";var e=t(2127),n=t(6179)(3);e(e.P+e.F*!t(6884)([].some,!0),"Array",{some:function(r){return n(this,r,arguments[1])}})},7075:(s,u,t)=>{"use strict";var e=t(2127),n=t(3387),o=t(8270),r=t(9448),a=[].sort,i=[1,2,3];e(e.P+e.F*(r(function(){i.sort(void 0)})||!r(function(){i.sort(null)})||!t(6884)(a)),"Array",{sort:function(f){return void 0===f?a.call(o(this)):a.call(o(this),n(f))}})},6209:(s,u,t)=>{t(5762)("Array")},3292:(s,u,t)=>{var e=t(2127);e(e.S,"Date",{now:function(){return(new Date).getTime()}})},9429:(s,u,t)=>{var e=t(2127),n=t(5385);e(e.P+e.F*(Date.prototype.toISOString!==n),"Date",{toISOString:n})},2346:(s,u,t)=>{"use strict";var e=t(2127),n=t(8270),o=t(3048);e(e.P+e.F*t(9448)(function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}),"Date",{toJSON:function(a){var i=n(this),c=o(i);return"number"!=typeof c||isFinite(c)?i.toISOString():null}})},8951:(s,u,t)=>{var e=t(7574)("toPrimitive"),n=Date.prototype;e in n||t(3341)(n,e,t(107))},7849:(s,u,t)=>{var e=Date.prototype,n="Invalid Date",o="toString",r=e[o],a=e.getTime;new Date(NaN)+""!=n&&t(8859)(e,o,function(){var c=a.call(this);return c==c?r.call(this):n})},5049:(s,u,t)=>{var e=t(2127);e(e.P,"Function",{bind:t(5538)})},5502:(s,u,t)=>{"use strict";var e=t(3305),n=t(627),o=t(7574)("hasInstance"),r=Function.prototype;o in r||t(7967).f(r,o,{value:function(a){if("function"!=typeof this||!e(a))return!1;if(!e(this.prototype))return a instanceof this;for(;a=n(a);)if(this.prototype===a)return!0;return!1}})},489:(s,u,t)=>{var e=t(7967).f,n=Function.prototype,o=/^\s*function ([^ (]*)/,r="name";r in n||t(1763)&&e(n,r,{configurable:!0,get:function(){try{return(""+this).match(o)[1]}catch{return""}}})},3386:(s,u,t)=>{"use strict";var e=t(6197),n=t(2888),o="Map";s.exports=t(8933)(o,function(r){return function(){return r(this,arguments.length>0?arguments[0]:void 0)}},{get:function(a){var i=e.getEntry(n(this,o),a);return i&&i.v},set:function(a,i){return e.def(n(this,o),0===a?0:a,i)}},e,!0)},6648:(s,u,t)=>{var e=t(2127),n=t(1473),o=Math.sqrt,r=Math.acosh;e(e.S+e.F*!(r&&710==Math.floor(r(Number.MAX_VALUE))&&r(1/0)==1/0),"Math",{acosh:function(i){return(i=+i)<1?NaN:i>94906265.62425156?Math.log(i)+Math.LN2:n(i-1+o(i-1)*o(i+1))}})},5771:(s,u,t)=>{var e=t(2127),n=Math.asinh;e(e.S+e.F*!(n&&1/n(0)>0),"Math",{asinh:function o(r){return isFinite(r=+r)&&0!=r?r<0?-o(-r):Math.log(r+Math.sqrt(r*r+1)):r}})},2392:(s,u,t)=>{var e=t(2127),n=Math.atanh;e(e.S+e.F*!(n&&1/n(-0)<0),"Math",{atanh:function(r){return 0==(r=+r)?r:Math.log((1+r)/(1-r))/2}})},2335:(s,u,t)=>{var e=t(2127),n=t(3733);e(e.S,"Math",{cbrt:function(r){return n(r=+r)*Math.pow(Math.abs(r),1/3)}})},4896:(s,u,t)=>{var e=t(2127);e(e.S,"Math",{clz32:function(o){return(o>>>=0)?31-Math.floor(Math.log(o+.5)*Math.LOG2E):32}})},4521:(s,u,t)=>{var e=t(2127),n=Math.exp;e(e.S,"Math",{cosh:function(r){return(n(r=+r)+n(-r))/2}})},9147:(s,u,t)=>{var e=t(2127),n=t(5551);e(e.S+e.F*(n!=Math.expm1),"Math",{expm1:n})},1318:(s,u,t)=>{var e=t(2127);e(e.S,"Math",{fround:t(2122)})},4352:(s,u,t)=>{var e=t(2127),n=Math.abs;e(e.S,"Math",{hypot:function(r,a){for(var l,v,i=0,c=0,f=arguments.length,d=0;c<f;)d<(l=n(arguments[c++]))?(i=i*(v=d/l)*v+1,d=l):i+=l>0?(v=l/d)*v:l;return d===1/0?1/0:d*Math.sqrt(i)}})},5327:(s,u,t)=>{var e=t(2127),n=Math.imul;e(e.S+e.F*t(9448)(function(){return-5!=n(4294967295,5)||2!=n.length}),"Math",{imul:function(r,a){var i=65535,c=+r,f=+a,d=i&c,l=i&f;return 0|d*l+((i&c>>>16)*l+d*(i&f>>>16)<<16>>>0)}})},7509:(s,u,t)=>{var e=t(2127);e(e.S,"Math",{log10:function(o){return Math.log(o)*Math.LOG10E}})},5909:(s,u,t)=>{var e=t(2127);e(e.S,"Math",{log1p:t(1473)})},9584:(s,u,t)=>{var e=t(2127);e(e.S,"Math",{log2:function(o){return Math.log(o)/Math.LN2}})},345:(s,u,t)=>{var e=t(2127);e(e.S,"Math",{sign:t(3733)})},9134:(s,u,t)=>{var e=t(2127),n=t(5551),o=Math.exp;e(e.S+e.F*t(9448)(function(){return-2e-17!=!Math.sinh(-2e-17)}),"Math",{sinh:function(a){return Math.abs(a=+a)<1?(n(a)-n(-a))/2:(o(a-1)-o(-a-1))*(Math.E/2)}})},7901:(s,u,t)=>{var e=t(2127),n=t(5551),o=Math.exp;e(e.S,"Math",{tanh:function(a){var i=n(a=+a),c=n(-a);return i==1/0?1:c==1/0?-1:(i-c)/(o(a)+o(-a))}})},6592:(s,u,t)=>{var e=t(2127);e(e.S,"Math",{trunc:function(o){return(o>0?Math.floor:Math.ceil)(o)}})},4509:(s,u,t)=>{"use strict";var e=t(7526),n=t(7917),o=t(5089),r=t(8880),a=t(3048),i=t(9448),c=t(9415).f,f=t(8641).f,d=t(7967).f,l=t(629).trim,v="Number",p=e[v],y=p,C=p.prototype,N=o(t(4719)(C))==v,x="trim"in String.prototype,I=function(P){var D=a(P,!1);if("string"==typeof D&&D.length>2){var z,rt,pt,F=(D=x?D.trim():l(D,3)).charCodeAt(0);if(43===F||45===F){if(88===(z=D.charCodeAt(2))||120===z)return NaN}else if(48===F){switch(D.charCodeAt(1)){case 66:case 98:rt=2,pt=49;break;case 79:case 111:rt=8,pt=55;break;default:return+D}for(var lt,gt=D.slice(2),Pt=0,Ot=gt.length;Pt<Ot;Pt++)if((lt=gt.charCodeAt(Pt))<48||lt>pt)return NaN;return parseInt(gt,rt)}}return+D};if(!p(" 0o1")||!p("0b1")||p("+0x1")){p=function(D){var F=arguments.length<1?0:D,z=this;return z instanceof p&&(N?i(function(){C.valueOf.call(z)}):o(z)!=v)?r(new y(I(F)),z,p):I(F)};for(var R,A=t(1763)?c(y):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),$=0;A.length>$;$++)n(y,R=A[$])&&!n(p,R)&&d(p,R,f(y,R));p.prototype=C,C.constructor=p,t(8859)(e,v,p)}},4419:(s,u,t)=>{var e=t(2127);e(e.S,"Number",{EPSILON:Math.pow(2,-52)})},1933:(s,u,t)=>{var e=t(2127),n=t(7526).isFinite;e(e.S,"Number",{isFinite:function(r){return"number"==typeof r&&n(r)}})},3157:(s,u,t)=>{var e=t(2127);e(e.S,"Number",{isInteger:t(3842)})},9497:(s,u,t)=>{var e=t(2127);e(e.S,"Number",{isNaN:function(o){return o!=o}})},4104:(s,u,t)=>{var e=t(2127),n=t(3842),o=Math.abs;e(e.S,"Number",{isSafeInteger:function(a){return n(a)&&o(a)<=9007199254740991}})},210:(s,u,t)=>{var e=t(2127);e(e.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},6576:(s,u,t)=>{var e=t(2127);e(e.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},4437:(s,u,t)=>{var e=t(2127),n=t(3589);e(e.S+e.F*(Number.parseFloat!=n),"Number",{parseFloat:n})},8050:(s,u,t)=>{var e=t(2127),n=t(2738);e(e.S+e.F*(Number.parseInt!=n),"Number",{parseInt:n})},7727:(s,u,t)=>{"use strict";var e=t(2127),n=t(7087),o=t(5122),r=t(7926),a=1..toFixed,i=Math.floor,c=[0,0,0,0,0,0],f="Number.toFixed: incorrect invocation!",d="0",l=function(N,x){for(var I=-1,A=x;++I<6;)c[I]=(A+=N*c[I])%1e7,A=i(A/1e7)},v=function(N){for(var x=6,I=0;--x>=0;)c[x]=i((I+=c[x])/N),I=I%N*1e7},p=function(){for(var N=6,x="";--N>=0;)if(""!==x||0===N||0!==c[N]){var I=String(c[N]);x=""===x?I:x+r.call(d,7-I.length)+I}return x},y=function(N,x,I){return 0===x?I:x%2==1?y(N,x-1,I*N):y(N*N,x/2,I)};e(e.P+e.F*(!!a&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!t(9448)(function(){a.call({})})),"Number",{toFixed:function(x){var P,D,F,z,I=o(this,f),A=n(x),$="",R=d;if(A<0||A>20)throw RangeError(f);if(I!=I)return"NaN";if(I<=-1e21||I>=1e21)return String(I);if(I<0&&($="-",I=-I),I>1e-21)if(P=function(N){for(var x=0,I=N;I>=4096;)x+=12,I/=4096;for(;I>=2;)x+=1,I/=2;return x}(I*y(2,69,1))-69,D=P<0?I*y(2,-P,1):I/y(2,P,1),D*=4503599627370496,(P=52-P)>0){for(l(0,D),F=A;F>=7;)l(1e7,0),F-=7;for(l(y(10,F,1),0),F=P-1;F>=23;)v(1<<23),F-=23;v(1<<F),l(1,1),v(2),R=p()}else l(0,D),l(1<<-P,0),R=p()+r.call(d,A);return R=A>0?$+((z=R.length)<=A?"0."+r.call(d,A-z)+R:R.slice(0,z-A)+"."+R.slice(z-A)):$+R}})},6701:(s,u,t)=>{"use strict";var e=t(2127),n=t(9448),o=t(5122),r=1..toPrecision;e(e.P+e.F*(n(function(){return"1"!==r.call(1,void 0)})||!n(function(){r.call({})})),"Number",{toPrecision:function(i){var c=o(this,"Number#toPrecision: incorrect invocation!");return void 0===i?r.call(c):r.call(c,i)}})},1430:(s,u,t)=>{var e=t(2127);e(e.S+e.F,"Object",{assign:t(8206)})},935:(s,u,t)=>{var e=t(2127);e(e.S,"Object",{create:t(4719)})},7067:(s,u,t)=>{var e=t(2127);e(e.S+e.F*!t(1763),"Object",{defineProperties:t(1626)})},6064:(s,u,t)=>{var e=t(2127);e(e.S+e.F*!t(1763),"Object",{defineProperty:t(7967).f})},8236:(s,u,t)=>{var e=t(3305),n=t(2988).onFreeze;t(923)("freeze",function(o){return function(a){return o&&e(a)?o(n(a)):a}})},2642:(s,u,t)=>{var e=t(7221),n=t(8641).f;t(923)("getOwnPropertyDescriptor",function(){return function(r,a){return n(e(r),a)}})},1895:(s,u,t)=>{t(923)("getOwnPropertyNames",function(){return t(4765).f})},3e3:(s,u,t)=>{var e=t(8270),n=t(627);t(923)("getPrototypeOf",function(){return function(r){return n(e(r))}})},9073:(s,u,t)=>{var e=t(3305);t(923)("isExtensible",function(n){return function(r){return!!e(r)&&(!n||n(r))}})},9318:(s,u,t)=>{var e=t(3305);t(923)("isFrozen",function(n){return function(r){return!e(r)||!!n&&n(r)}})},5032:(s,u,t)=>{var e=t(3305);t(923)("isSealed",function(n){return function(r){return!e(r)||!!n&&n(r)}})},8451:(s,u,t)=>{var e=t(2127);e(e.S,"Object",{is:t(7359)})},8647:(s,u,t)=>{var e=t(8270),n=t(1311);t(923)("keys",function(){return function(r){return n(e(r))}})},5572:(s,u,t)=>{var e=t(3305),n=t(2988).onFreeze;t(923)("preventExtensions",function(o){return function(a){return o&&e(a)?o(n(a)):a}})},3822:(s,u,t)=>{var e=t(3305),n=t(2988).onFreeze;t(923)("seal",function(o){return function(a){return o&&e(a)?o(n(a)):a}})},8132:(s,u,t)=>{var e=t(2127);e(e.S,"Object",{setPrototypeOf:t(5170).set})},7482:(s,u,t)=>{"use strict";var e=t(4848),n={};n[t(7574)("toStringTag")]="z",n+""!="[object z]"&&t(8859)(Object.prototype,"toString",function(){return"[object "+e(this)+"]"},!0)},6108:(s,u,t)=>{var e=t(2127),n=t(3589);e(e.G+e.F*(parseFloat!=n),{parseFloat:n})},571:(s,u,t)=>{var e=t(2127),n=t(2738);e(e.G+e.F*(parseInt!=n),{parseInt:n})},7103:(s,u,t)=>{var e=t(2127),n=t(3387),o=t(4228),r=(t(7526).Reflect||{}).apply,a=Function.apply;e(e.S+e.F*!t(9448)(function(){r(function(){})}),"Reflect",{apply:function(c,f,d){var l=n(c),v=o(d);return r?r(l,f,v):a.call(l,f,v)}})},2586:(s,u,t)=>{var e=t(2127),n=t(4719),o=t(3387),r=t(4228),a=t(3305),i=t(9448),c=t(5538),f=(t(7526).Reflect||{}).construct,d=i(function(){function v(){}return!(f(function(){},[],v)instanceof v)}),l=!i(function(){f(function(){})});e(e.S+e.F*(d||l),"Reflect",{construct:function(p,y){o(p),r(y);var C=arguments.length<3?p:o(arguments[2]);if(l&&!d)return f(p,y,C);if(p==C){switch(y.length){case 0:return new p;case 1:return new p(y[0]);case 2:return new p(y[0],y[1]);case 3:return new p(y[0],y[1],y[2]);case 4:return new p(y[0],y[1],y[2],y[3])}var N=[null];return N.push.apply(N,y),new(c.apply(p,N))}var x=C.prototype,I=n(a(x)?x:Object.prototype),A=Function.apply.call(p,I,y);return a(A)?A:I}})},2552:(s,u,t)=>{var e=t(7967),n=t(2127),o=t(4228),r=t(3048);n(n.S+n.F*t(9448)(function(){Reflect.defineProperty(e.f({},1,{value:1}),1,{value:2})}),"Reflect",{defineProperty:function(i,c,f){o(i),c=r(c,!0),o(f);try{return e.f(i,c,f),!0}catch{return!1}}})},4376:(s,u,t)=>{var e=t(2127),n=t(8641).f,o=t(4228);e(e.S,"Reflect",{deleteProperty:function(a,i){var c=n(o(a),i);return!(c&&!c.configurable)&&delete a[i]}})},5153:(s,u,t)=>{"use strict";var e=t(2127),n=t(4228),o=function(r){this._t=n(r),this._i=0;var i,a=this._k=[];for(i in r)a.push(i)};t(6032)(o,"Object",function(){var i,r=this,a=r._k;do{if(r._i>=a.length)return{value:void 0,done:!0}}while(!((i=a[r._i++])in r._t));return{value:i,done:!1}}),e(e.S,"Reflect",{enumerate:function(a){return new o(a)}})},2650:(s,u,t)=>{var e=t(8641),n=t(2127),o=t(4228);n(n.S,"Reflect",{getOwnPropertyDescriptor:function(a,i){return e.f(o(a),i)}})},1104:(s,u,t)=>{var e=t(2127),n=t(627),o=t(4228);e(e.S,"Reflect",{getPrototypeOf:function(a){return n(o(a))}})},1879:(s,u,t)=>{var e=t(8641),n=t(627),o=t(7917),r=t(2127),a=t(3305),i=t(4228);r(r.S,"Reflect",{get:function c(f,d){var v,p,l=arguments.length<3?f:arguments[2];return i(f)===l?f[d]:(v=e.f(f,d))?o(v,"value")?v.value:void 0!==v.get?v.get.call(l):void 0:a(p=n(f))?c(p,d,l):void 0}})},1883:(s,u,t)=>{var e=t(2127);e(e.S,"Reflect",{has:function(o,r){return r in o}})},5433:(s,u,t)=>{var e=t(2127),n=t(4228),o=Object.isExtensible;e(e.S,"Reflect",{isExtensible:function(a){return n(a),!o||o(a)}})},5e3:(s,u,t)=>{var e=t(2127);e(e.S,"Reflect",{ownKeys:t(6222)})},5932:(s,u,t)=>{var e=t(2127),n=t(4228),o=Object.preventExtensions;e(e.S,"Reflect",{preventExtensions:function(a){n(a);try{return o&&o(a),!0}catch{return!1}}})},6316:(s,u,t)=>{var e=t(2127),n=t(5170);n&&e(e.S,"Reflect",{setPrototypeOf:function(r,a){n.check(r,a);try{return n.set(r,a),!0}catch{return!1}}})},5443:(s,u,t)=>{var e=t(7967),n=t(8641),o=t(627),r=t(7917),a=t(2127),i=t(1996),c=t(4228),f=t(3305);a(a.S,"Reflect",{set:function d(l,v,p){var N,x,y=arguments.length<4?l:arguments[3],C=n.f(c(l),v);if(!C){if(f(x=o(l)))return d(x,v,p,y);C=i(0)}if(r(C,"value")){if(!1===C.writable||!f(y))return!1;if(N=n.f(y,v)){if(N.get||N.set||!1===N.writable)return!1;N.value=p,e.f(y,v,N)}else e.f(y,v,i(0,p));return!0}return void 0!==C.set&&(C.set.call(y,p),!0)}})},8301:(s,u,t)=>{var e=t(7526),n=t(8880),o=t(7967).f,r=t(9415).f,a=t(5411),i=t(1158),c=e.RegExp,f=c,d=c.prototype,l=/a/g,v=/a/g,p=new c(l)!==l;if(t(1763)&&(!p||t(9448)(function(){return v[t(7574)("match")]=!1,c(l)!=l||c(v)==v||"/a/i"!=c(l,"i")}))){c=function(I,A){var $=this instanceof c,R=a(I),P=void 0===A;return!$&&R&&I.constructor===c&&P?I:n(p?new f(R&&!P?I.source:I,A):f((R=I instanceof c)?I.source:I,R&&P?i.call(I):A),$?this:d,c)};for(var y=function(x){x in c||o(c,x,{configurable:!0,get:function(){return f[x]},set:function(I){f[x]=I}})},C=r(f),N=0;C.length>N;)y(C[N++]);d.constructor=c,c.prototype=d,t(8859)(e,"RegExp",c)}t(5762)("RegExp")},4116:(s,u,t)=>{"use strict";var e=t(9600);t(2127)({target:"RegExp",proto:!0,forced:e!==/./.exec},{exec:e})},9638:(s,u,t)=>{t(1763)&&"g"!=/./g.flags&&t(7967).f(RegExp.prototype,"flags",{configurable:!0,get:t(1158)})},4040:(s,u,t)=>{"use strict";var e=t(4228),n=t(1485),o=t(8828),r=t(2535);t(9228)("match",1,function(a,i,c,f){return[function(l){var v=a(this),p=l?.[i];return void 0!==p?p.call(l,v):new RegExp(l)[i](String(v))},function(d){var l=f(c,d,this);if(l.done)return l.value;var v=e(d),p=String(this);if(!v.global)return r(v,p);var y=v.unicode;v.lastIndex=0;for(var x,C=[],N=0;null!==(x=r(v,p));){var I=String(x[0]);C[N]=I,""===I&&(v.lastIndex=o(p,n(v.lastIndex),y)),N++}return 0===N?null:C}]})},8305:(s,u,t)=>{"use strict";var e=t(4228),n=t(8270),o=t(1485),r=t(7087),a=t(8828),i=t(2535),c=Math.max,f=Math.min,d=Math.floor,l=/\$([$&`']|\d\d?|<[^>]*>)/g,v=/\$([$&`']|\d\d?)/g,p=function(y){return void 0===y?y:String(y)};t(9228)("replace",2,function(y,C,N,x){return[function($,R){var P=y(this),D=$?.[C];return void 0!==D?D.call($,P,R):N.call(String(P),$,R)},function(A,$){var R=x(N,A,this,$);if(R.done)return R.value;var P=e(A),D=String(this),F="function"==typeof $;F||($=String($));var z=P.global;if(z){var rt=P.unicode;P.lastIndex=0}for(var pt=[];;){var gt=i(P,D);if(null===gt||(pt.push(gt),!z))break;""===String(gt[0])&&(P.lastIndex=a(D,o(P.lastIndex),rt))}for(var Ot="",lt=0,Q=0;Q<pt.length;Q++){gt=pt[Q];for(var mt=String(gt[0]),tt=c(f(r(gt.index),D.length),0),Mt=[],Rt=1;Rt<gt.length;Rt++)Mt.push(p(gt[Rt]));var Qt=gt.groups;if(F){var Wt=[mt].concat(Mt,tt,D);void 0!==Qt&&Wt.push(Qt);var qt=String($.apply(void 0,Wt))}else qt=I(mt,D,tt,Mt,Qt,$);tt>=lt&&(Ot+=D.slice(lt,tt)+qt,lt=tt+mt.length)}return Ot+D.slice(lt)}];function I(A,$,R,P,D,F){var z=R+A.length,rt=P.length,pt=v;return void 0!==D&&(D=n(D),pt=l),N.call(F,pt,function(gt,Pt){var Ot;switch(Pt.charAt(0)){case"$":return"$";case"&":return A;case"`":return $.slice(0,R);case"'":return $.slice(z);case"<":Ot=D[Pt.slice(1,-1)];break;default:var lt=+Pt;if(0===lt)return gt;if(lt>rt){var Q=d(lt/10);return 0===Q?gt:Q<=rt?void 0===P[Q-1]?Pt.charAt(1):P[Q-1]+Pt.charAt(1):gt}Ot=P[lt-1]}return void 0===Ot?"":Ot})}})},4701:(s,u,t)=>{"use strict";var e=t(4228),n=t(7359),o=t(2535);t(9228)("search",1,function(r,a,i,c){return[function(d){var l=r(this),v=d?.[a];return void 0!==v?v.call(d,l):new RegExp(d)[a](String(l))},function(f){var d=c(i,f,this);if(d.done)return d.value;var l=e(f),v=String(this),p=l.lastIndex;n(p,0)||(l.lastIndex=0);var y=o(l,v);return n(l.lastIndex,p)||(l.lastIndex=p),null===y?-1:y.index}]})},341:(s,u,t)=>{"use strict";var e=t(5411),n=t(4228),o=t(9190),r=t(8828),a=t(1485),i=t(2535),c=t(9600),f=t(9448),d=Math.min,l=[].push,v="split",p="length",y="lastIndex",C=4294967295,N=!f(function(){RegExp(C,"y")});t(9228)("split",2,function(x,I,A,$){var R;return R="c"=="abbc"[v](/(b)*/)[1]||4!="test"[v](/(?:)/,-1)[p]||2!="ab"[v](/(?:ab)*/)[p]||4!="."[v](/(.?)(.?)/)[p]||"."[v](/()()/)[p]>1||""[v](/.?/)[p]?function(P,D){var F=String(this);if(void 0===P&&0===D)return[];if(!e(P))return A.call(F,P,D);for(var Ot,lt,Q,z=[],pt=0,gt=void 0===D?C:D>>>0,Pt=new RegExp(P.source,(P.ignoreCase?"i":"")+(P.multiline?"m":"")+(P.unicode?"u":"")+(P.sticky?"y":"")+"g");(Ot=c.call(Pt,F))&&!((lt=Pt[y])>pt&&(z.push(F.slice(pt,Ot.index)),Ot[p]>1&&Ot.index<F[p]&&l.apply(z,Ot.slice(1)),Q=Ot[0][p],pt=lt,z[p]>=gt));)Pt[y]===Ot.index&&Pt[y]++;return pt===F[p]?(Q||!Pt.test(""))&&z.push(""):z.push(F.slice(pt)),z[p]>gt?z.slice(0,gt):z}:"0"[v](void 0,0)[p]?function(P,D){return void 0===P&&0===D?[]:A.call(this,P,D)}:A,[function(D,F){var z=x(this),rt=D?.[I];return void 0!==rt?rt.call(D,z,F):R.call(String(z),D,F)},function(P,D){var F=$(R,P,this,D,R!==A);if(F.done)return F.value;var z=n(P),rt=String(this),pt=o(z,RegExp),gt=z.unicode,Ot=new pt(N?z:"^(?:"+z.source+")",(z.ignoreCase?"i":"")+(z.multiline?"m":"")+(z.unicode?"u":"")+(N?"y":"g")),lt=void 0===D?C:D>>>0;if(0===lt)return[];if(0===rt.length)return null===i(Ot,rt)?[rt]:[];for(var Q=0,mt=0,tt=[];mt<rt.length;){Ot.lastIndex=N?mt:0;var Rt,Mt=i(Ot,N?rt:rt.slice(mt));if(null===Mt||(Rt=d(a(Ot.lastIndex+(N?0:mt)),rt.length))===Q)mt=r(rt,mt,gt);else{if(tt.push(rt.slice(Q,mt)),tt.length===lt)return tt;for(var Qt=1;Qt<=Mt.length-1;Qt++)if(tt.push(Mt[Qt]),tt.length===lt)return tt;mt=Q=Rt}}return tt.push(rt.slice(Q)),tt}]})},8604:(s,u,t)=>{"use strict";t(9638);var e=t(4228),n=t(1158),o=t(1763),r="toString",a=/./[r],i=function(c){t(8859)(RegExp.prototype,r,c,!0)};t(9448)(function(){return"/a/b"!=a.call({source:"a",flags:"b"})})?i(function(){var f=e(this);return"/".concat(f.source,"/","flags"in f?f.flags:!o&&f instanceof RegExp?n.call(f):void 0)}):a.name!=r&&i(function(){return a.call(this)})},1632:(s,u,t)=>{"use strict";var e=t(6197),n=t(2888);s.exports=t(8933)("Set",function(r){return function(){return r(this,arguments.length>0?arguments[0]:void 0)}},{add:function(a){return e.def(n(this,"Set"),a=0===a?0:a,a)}},e)},7360:(s,u,t)=>{"use strict";t(2468)("anchor",function(e){return function(o){return e(this,"a","name",o)}})},9011:(s,u,t)=>{"use strict";t(2468)("big",function(e){return function(){return e(this,"big","","")}})},4591:(s,u,t)=>{"use strict";t(2468)("blink",function(e){return function(){return e(this,"blink","","")}})},7334:(s,u,t)=>{"use strict";t(2468)("bold",function(e){return function(){return e(this,"b","","")}})},2405:(s,u,t)=>{"use strict";var e=t(2127),n=t(1212)(!1);e(e.P,"String",{codePointAt:function(r){return n(this,r)}})},7224:(s,u,t)=>{"use strict";var e=t(2127),n=t(1485),o=t(8942),r="endsWith",a=""[r];e(e.P+e.F*t(5203)(r),"String",{endsWith:function(c){var f=o(this,c,r),d=arguments.length>1?arguments[1]:void 0,l=n(f.length),v=void 0===d?l:Math.min(n(d),l),p=String(c);return a?a.call(f,p,v):f.slice(v-p.length,v)===p}})},7083:(s,u,t)=>{"use strict";t(2468)("fixed",function(e){return function(){return e(this,"tt","","")}})},9213:(s,u,t)=>{"use strict";t(2468)("fontcolor",function(e){return function(o){return e(this,"font","color",o)}})},8437:(s,u,t)=>{"use strict";t(2468)("fontsize",function(e){return function(o){return e(this,"font","size",o)}})},2220:(s,u,t)=>{var e=t(2127),n=t(157),o=String.fromCharCode,r=String.fromCodePoint;e(e.S+e.F*(!!r&&1!=r.length),"String",{fromCodePoint:function(i){for(var l,c=[],f=arguments.length,d=0;f>d;){if(l=+arguments[d++],n(l,1114111)!==l)throw RangeError(l+" is not a valid code point");c.push(l<65536?o(l):o(55296+((l-=65536)>>10),l%1024+56320))}return c.join("")}})},8872:(s,u,t)=>{"use strict";var e=t(2127),n=t(8942),o="includes";e(e.P+e.F*t(5203)(o),"String",{includes:function(a){return!!~n(this,a,o).indexOf(a,arguments.length>1?arguments[1]:void 0)}})},9839:(s,u,t)=>{"use strict";t(2468)("italics",function(e){return function(){return e(this,"i","","")}})},2975:(s,u,t)=>{"use strict";var e=t(1212)(!0);t(8175)(String,"String",function(n){this._t=String(n),this._i=0},function(){var r,n=this._t,o=this._i;return o>=n.length?{value:void 0,done:!0}:(r=e(n,o),this._i+=r.length,{value:r,done:!1})})},6549:(s,u,t)=>{"use strict";t(2468)("link",function(e){return function(o){return e(this,"a","href",o)}})},3483:(s,u,t)=>{var e=t(2127),n=t(7221),o=t(1485);e(e.S,"String",{raw:function(a){for(var i=n(a.raw),c=o(i.length),f=arguments.length,d=[],l=0;c>l;)d.push(String(i[l++])),l<f&&d.push(String(arguments[l]));return d.join("")}})},4894:(s,u,t)=>{var e=t(2127);e(e.P,"String",{repeat:t(7926)})},2818:(s,u,t)=>{"use strict";t(2468)("small",function(e){return function(){return e(this,"small","","")}})},177:(s,u,t)=>{"use strict";var e=t(2127),n=t(1485),o=t(8942),r="startsWith",a=""[r];e(e.P+e.F*t(5203)(r),"String",{startsWith:function(c){var f=o(this,c,r),d=n(Math.min(arguments.length>1?arguments[1]:void 0,f.length)),l=String(c);return a?a.call(f,l,d):f.slice(d,d+l.length)===l}})},8543:(s,u,t)=>{"use strict";t(2468)("strike",function(e){return function(){return e(this,"strike","","")}})},3559:(s,u,t)=>{"use strict";t(2468)("sub",function(e){return function(){return e(this,"sub","","")}})},4153:(s,u,t)=>{"use strict";t(2468)("sup",function(e){return function(){return e(this,"sup","","")}})},957:(s,u,t)=>{"use strict";t(629)("trim",function(e){return function(){return e(this,3)}})},9650:(s,u,t)=>{"use strict";var e=t(7526),n=t(7917),o=t(1763),r=t(2127),a=t(8859),i=t(2988).KEY,c=t(9448),f=t(4556),d=t(3844),l=t(4415),v=t(7574),p=t(7960),y=t(5392),C=t(5969),N=t(7981),x=t(4228),I=t(3305),A=t(8270),$=t(7221),R=t(3048),P=t(1996),D=t(4719),F=t(4765),z=t(8641),rt=t(1060),pt=t(7967),gt=t(1311),Pt=z.f,Ot=pt.f,lt=F.f,Q=e.Symbol,mt=e.JSON,tt=mt&&mt.stringify,Mt="prototype",Rt=v("_hidden"),Qt=v("toPrimitive"),Wt={}.propertyIsEnumerable,qt=f("symbol-registry"),Yt=f("symbols"),ne=f("op-symbols"),zt=Object[Mt],re="function"==typeof Q&&!!rt.f,pe=e.QObject,_t=!pe||!pe[Mt]||!pe[Mt].findChild,ue=o&&c(function(){return 7!=D(Ot({},"a",{get:function(){return Ot(this,"a",{value:7}).a}})).a})?function(bt,W,at){var jt=Pt(zt,W);jt&&delete zt[W],Ot(bt,W,at),jt&&bt!==zt&&Ot(zt,W,jt)}:Ot,kt=function(bt){var W=Yt[bt]=D(Q[Mt]);return W._k=bt,W},ie=re&&"symbol"==typeof Q.iterator?function(bt){return"symbol"==typeof bt}:function(bt){return bt instanceof Q},fe=function(W,at,jt){return W===zt&&fe(ne,at,jt),x(W),at=R(at,!0),x(jt),n(Yt,at)?(jt.enumerable?(n(W,Rt)&&W[Rt][at]&&(W[Rt][at]=!1),jt=D(jt,{enumerable:P(0,!1)})):(n(W,Rt)||Ot(W,Rt,P(1,{})),W[Rt][at]=!0),ue(W,at,jt)):Ot(W,at,jt)},ge=function(W,at){x(W);for(var O,jt=C(at=$(at)),Vt=0,T=jt.length;T>Vt;)fe(W,O=jt[Vt++],at[O]);return W},Te=function(W){var at=Wt.call(this,W=R(W,!0));return!(this===zt&&n(Yt,W)&&!n(ne,W))&&(!(at||!n(this,W)||!n(Yt,W)||n(this,Rt)&&this[Rt][W])||at)},me=function(W,at){if(W=$(W),at=R(at,!0),W!==zt||!n(Yt,at)||n(ne,at)){var jt=Pt(W,at);return jt&&n(Yt,at)&&!(n(W,Rt)&&W[Rt][at])&&(jt.enumerable=!0),jt}},Oe=function(W){for(var T,at=lt($(W)),jt=[],Vt=0;at.length>Vt;)!n(Yt,T=at[Vt++])&&T!=Rt&&T!=i&&jt.push(T);return jt},Se=function(W){for(var O,at=W===zt,jt=lt(at?ne:$(W)),Vt=[],T=0;jt.length>T;)n(Yt,O=jt[T++])&&(!at||n(zt,O))&&Vt.push(Yt[O]);return Vt};re||(a((Q=function(){if(this instanceof Q)throw TypeError("Symbol is not a constructor!");var W=l(arguments.length>0?arguments[0]:void 0),at=function(jt){this===zt&&at.call(ne,jt),n(this,Rt)&&n(this[Rt],W)&&(this[Rt][W]=!1),ue(this,W,P(1,jt))};return o&&_t&&ue(zt,W,{configurable:!0,set:at}),kt(W)})[Mt],"toString",function(){return this._k}),z.f=me,pt.f=fe,t(9415).f=F.f=Oe,t(8449).f=Te,rt.f=Se,o&&!t(2750)&&a(zt,"propertyIsEnumerable",Te,!0),p.f=function(bt){return kt(v(bt))}),r(r.G+r.W+r.F*!re,{Symbol:Q});for(var de="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),oe=0;de.length>oe;)v(de[oe++]);for(var Ie=gt(v.store),Pe=0;Ie.length>Pe;)y(Ie[Pe++]);r(r.S+r.F*!re,"Symbol",{for:function(bt){return n(qt,bt+="")?qt[bt]:qt[bt]=Q(bt)},keyFor:function(W){if(!ie(W))throw TypeError(W+" is not a symbol!");for(var at in qt)if(qt[at]===W)return at},useSetter:function(){_t=!0},useSimple:function(){_t=!1}}),r(r.S+r.F*!re,"Object",{create:function(W,at){return void 0===at?D(W):ge(D(W),at)},defineProperty:fe,defineProperties:ge,getOwnPropertyDescriptor:me,getOwnPropertyNames:Oe,getOwnPropertySymbols:Se});var be=c(function(){rt.f(1)});r(r.S+r.F*be,"Object",{getOwnPropertySymbols:function(W){return rt.f(A(W))}}),mt&&r(r.S+r.F*(!re||c(function(){var bt=Q();return"[null]"!=tt([bt])||"{}"!=tt({a:bt})||"{}"!=tt(Object(bt))})),"JSON",{stringify:function(W){for(var Vt,T,at=[W],jt=1;arguments.length>jt;)at.push(arguments[jt++]);if(T=Vt=at[1],(I(Vt)||void 0!==W)&&!ie(W))return N(Vt)||(Vt=function(O,L){if("function"==typeof T&&(L=T.call(this,O,L)),!ie(L))return L}),at[1]=Vt,tt.apply(mt,at)}}),Q[Mt][Qt]||t(3341)(Q[Mt],Qt,Q[Mt].valueOf),d(Q,"Symbol"),d(Math,"Math",!0),d(e.JSON,"JSON",!0)},9397:(s,u,t)=>{"use strict";var N,e=t(7526),n=t(6179)(0),o=t(8859),r=t(2988),a=t(8206),i=t(9882),c=t(3305),f=t(2888),d=t(2888),l=!e.ActiveXObject&&"ActiveXObject"in e,v="WeakMap",p=r.getWeak,y=Object.isExtensible,C=i.ufstore,x=function($){return function(){return $(this,arguments.length>0?arguments[0]:void 0)}},I={get:function(R){if(c(R)){var P=p(R);return!0===P?C(f(this,v)).get(R):P?P[this._i]:void 0}},set:function(R,P){return i.def(f(this,v),R,P)}},A=s.exports=t(8933)(v,x,I,i,!0,!0);d&&l&&(a((N=i.getConstructor(x,v)).prototype,I),r.NEED=!0,n(["delete","has","get","set"],function($){var R=A.prototype,P=R[$];o(R,$,function(D,F){if(c(D)&&!y(D)){this._f||(this._f=new N);var z=this._f[$](D,F);return"set"==$?this:z}return P.call(this,D,F)})}))},7491:(s,u,t)=>{var e=t(7380),n=t(4228),o=e.key,r=e.set;e.exp({defineMetadata:function(i,c,f,d){r(i,c,n(f),o(d))}})},4907:(s,u,t)=>{var e=t(7380),n=t(4228),o=e.key,r=e.map,a=e.store;e.exp({deleteMetadata:function(c,f){var d=arguments.length<3?void 0:o(arguments[2]),l=r(n(f),d,!1);if(void 0===l||!l.delete(c))return!1;if(l.size)return!0;var v=a.get(f);return v.delete(d),!!v.size||a.delete(f)}})},9269:(s,u,t)=>{var e=t(1632),n=t(956),o=t(7380),r=t(4228),a=t(627),i=o.keys,c=o.key,f=function(d,l){var v=i(d,l),p=a(d);if(null===p)return v;var y=f(p,l);return y.length?v.length?n(new e(v.concat(y))):y:v};o.exp({getMetadataKeys:function(l){return f(r(l),arguments.length<2?void 0:c(arguments[1]))}})},9100:(s,u,t)=>{var e=t(7380),n=t(4228),o=t(627),r=e.has,a=e.get,i=e.key,c=function(f,d,l){if(r(f,d,l))return a(f,d,l);var p=o(d);return null!==p?c(f,p,l):void 0};e.exp({getMetadata:function(d,l){return c(d,n(l),arguments.length<3?void 0:i(arguments[2]))}})},9732:(s,u,t)=>{var e=t(7380),n=t(4228),o=e.keys,r=e.key;e.exp({getOwnMetadataKeys:function(i){return o(n(i),arguments.length<2?void 0:r(arguments[1]))}})},1319:(s,u,t)=>{var e=t(7380),n=t(4228),o=e.get,r=e.key;e.exp({getOwnMetadata:function(i,c){return o(i,n(c),arguments.length<3?void 0:r(arguments[2]))}})},1176:(s,u,t)=>{var e=t(7380),n=t(4228),o=t(627),r=e.has,a=e.key,i=function(c,f,d){if(r(c,f,d))return!0;var v=o(f);return null!==v&&i(c,v,d)};e.exp({hasMetadata:function(f,d){return i(f,n(d),arguments.length<3?void 0:a(arguments[2]))}})},3107:(s,u,t)=>{var e=t(7380),n=t(4228),o=e.has,r=e.key;e.exp({hasOwnMetadata:function(i,c){return o(i,n(c),arguments.length<3?void 0:r(arguments[2]))}})},1691:(s,u,t)=>{var e=t(7380),n=t(4228),o=t(3387),r=e.key,a=e.set;e.exp({metadata:function(c,f){return function(l,v){a(c,f,(void 0!==v?n:o)(l),r(v))}}})},5890:(s,u,t)=>{for(var e=t(5165),n=t(1311),o=t(8859),r=t(7526),a=t(3341),i=t(906),c=t(7574),f=c("iterator"),d=c("toStringTag"),l=i.Array,v={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},p=n(v),y=0;y<p.length;y++){var A,C=p[y],N=v[C],x=r[C],I=x&&x.prototype;if(I&&(I[f]||a(I,f,l),I[d]||a(I,d,C),i[C]=l,N))for(A in e)I[A]||o(I,A,e[A],!0)}}},s=>{s(s.s=2523)}]);;
(()=>{"use strict";var e,v={},d={};function a(e){var f=d[e];if(void 0!==f)return f.exports;var r=d[e]={id:e,loaded:!1,exports:{}};return v[e].call(r.exports,r,r.exports,a),r.loaded=!0,r.exports}a.m=v,e=[],a.O=(f,r,t,l)=>{if(!r){var i=1/0;for(n=0;n<e.length;n++){for(var[r,t,l]=e[n],o=!0,c=0;c<r.length;c++)(!1&l||i>=l)&&Object.keys(a.O).every(_=>a.O[_](r[c]))?r.splice(c--,1):(o=!1,l<i&&(i=l));if(o){e.splice(n--,1);var s=t();void 0!==s&&(f=s)}}return f}l=l||0;for(var n=e.length;n>0&&e[n-1][2]>l;n--)e[n]=e[n-1];e[n]=[r,t,l]},a.o=(e,f)=>Object.prototype.hasOwnProperty.call(e,f),a.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e={121:0};a.O.j=t=>0===e[t];var f=(t,l)=>{var c,s,[n,i,o]=l,u=0;if(n.some(p=>0!==e[p])){for(c in i)a.o(i,c)&&(a.m[c]=i[c]);if(o)var h=o(a)}for(t&&t(l);u<n.length;u++)a.o(e,s=n[u])&&e[s]&&e[s][0](),e[s]=0;return a.O(h)},r=self.webpackChunkclient=self.webpackChunkclient||[];r.forEach(f.bind(null,0)),r.push=f.bind(null,r.push.bind(r))})()})();;
