vendor: 5,854 bytes, line 1
1"use strict";(self.webpackChunkLoginFs=self.webpackChunkLoginFs||[]).push([[179],{379:()=>{function Y(e){return"function"==typeof e}function wo(e){const n=e(r=>{Error.call(r),r.stack=(new Error).stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}const qi=wo(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((r,o)=>`${o+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=n});function Eo(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class Ct{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(const i of n)i.remove(this);else n.remove(this);const{initialTeardown:r}=this;if(Y(r))try{r()}catch(i){t=i instanceof qi?i.errors:[i]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const i of o)try{eh(i)}catch(s){t=t??[],s instanceof qi?t=[...t,...s.errors]:t.push(s)}}if(t)throw new qi(t)}}add(t){var n;if(t&&t!==this)if(this.closed)eh(t);else{if(t instanceof Ct){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}}_hasParent(t){const{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){const{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){const{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&Eo(n,t)}remove(t){const{_finalizers:n}=this;n&&Eo(n,t),t instanceof Ct&&t._removeParent(this)}}Ct.EMPTY=(()=>{const e=new Ct;return e.closed=!0,e})();const Yf=Ct.EMPTY;function Xf(e){return e instanceof Ct||e&&"closed"in e&&Y(e.remove)&&Y(e.add)&&Y(e.unsubscribe)}function eh(e){Y(e)?e():e.unsubscribe()}const Xn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Ki={setTimeout(e,t,...n){const{delegate:r}=Ki;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=Ki;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function th(e){Ki.setTimeout(()=>{const{onUnhandledError:t}=Xn;if(!t)throw e;t(e)})}function nh(){}const Yw=ul("C",void 0,void 0);function ul(e,t,n){return{kind:e,value:t,error:n}}let er=null;function Ji(e){if(Xn.useDeprecatedSynchronousErrorHandling){const t=!er;if(t&&(er={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=er;if(er=null,n)throw r}}else e()}class cl extends Ct{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Xf(t)&&t.add(this)):this.destination=iE}static create(t,n,r){return new bo(t,n,r)}next(t){this.isStopped?fl(function eE(e){return ul("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?fl(function Xw(e){return ul("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?fl(Yw,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const nE=Function.prototype.bind;function dl(e,t){return nE.call(e,t)}class rE{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Zi(r)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Zi(r)}else Zi(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Zi(n)}}}class bo extends cl{constructor(t,n,r){let o;if(super(),Y(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&Xn.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&dl(t.next,i),error:t.error&&dl(t.error,i),complete:t.complete&&dl(t.complete,i)}):o=t}this.destination=new rE(o)}}function Zi(e){Xn.useDeprecatedSynchronousErrorHandling?function tE(e){Xn.useDeprecatedSynchronousErrorHandling&&er&&(er.errorThrown=!0,er.error=e)}(e):th(e)}function fl(e,t){const{onStoppedNotification:n}=Xn;n&&Ki.setTimeout(()=>n(e,t))}const iE={closed:!0,next:nh,error:function oE(e){throw e},complete:nh},hl="function"==typeof Symbol&&Symbol.observable||"@@observable";function tr(e){return e}function rh(e){return 0===e.length?tr:1===e.length?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}let fe=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){const r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){const i=function lE(e){return e&&e instanceof cl||function aE(e){return e&&Y(e.next)&&Y(e.error)&&Y(e.complete)}(e)&&Xf(e)}(n)?n:new bo(n,r,o);return Ji(()=>{const{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return new(r=oh(r))((o,i)=>{const s=new bo({next:a=>{try{n(a)}catch(l){i(l),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(n)}[hl](){return this}pipe(...n){return rh(n)(this)}toPromise(n){return new(n=oh(n))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function oh(e){var t;return null!==(t=e??Xn.Promise)&&void 0!==t?t:Promise}const uE=wo(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let Nt=(()=>{class e extends fe{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new ih(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new uE}next(n){Ji(()=>
vendor: 4,409 bytes, line 1
1{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(n)}})}error(n){Ji(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;const{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){Ji(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return(null===(n=this.observers)||void 0===n?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){const{hasError:r,isStopped:o,observers:i}=this;return r||o?Yf:(this.currentObservers=null,i.push(n),new Ct(()=>{this.currentObservers=null,Eo(i,n)}))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){const n=new fe;return n.source=this,n}}return e.create=(t,n)=>new ih(t,n),e})();class ih extends Nt{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.next)||void 0===r||r.call(n,t)}error(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.error)||void 0===r||r.call(n,t)}complete(){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===n||n.call(t)}_subscribe(t){var n,r;return null!==(r=null===(n=this.source)||void 0===n?void 0:n.subscribe(t))&&void 0!==r?r:Yf}}function sh(e){return Y(e?.lift)}function Re(e){return t=>{if(sh(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function Me(e,t,n,r,o){return new cE(e,t,n,r,o)}class cE extends cl{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(l){t.error(l)}}:super._next,this._error=o?function(a){try{o(a)}catch(l){t.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:n}=this;super.unsubscribe(),!n&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function $(e,t){return Re((n,r)=>{let o=0;n.subscribe(Me(r,i=>{r.next(e.call(t,i,o++))}))})}function Nn(e){return this instanceof Nn?(this.v=e,this):new Nn(e)}function uh(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,r=n.apply(e,t||[]),i=[];return o={},a("next"),a("throw"),a("return",function s(h){return function(p){return Promise.resolve(p).then(h,d)}}),o[Symbol.asyncIterator]=function(){return this},o;function a(h,p){r[h]&&(o[h]=function(g){return new Promise(function(m,v){i.push([h,g,m,v])>1||l(h,g)})},p&&(o[h]=p(o[h])))}function l(h,p){try{!function u(h){h.value instanceof Nn?Promise.resolve(h.value.v).then(c,d):f(i[0][2],h)}(r[h](p))}catch(g){f(i[0][3],g)}}function c(h){l("next",h)}function d(h){l("throw",h)}function f(h,p){h(p),i.shift(),i.length&&l(i[0][0],i[0][1])}}function ch(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,t=e[Symbol.asyncIterator];return t?t.call(e):(e=function yl(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,l){!function o(i,s,a,l){Promise.resolve(l).then(function(u){i({value:u,done:a})},s)}(a,l,(s=e[i](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const dh=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function fh(e){return Y(e?.then)}function hh(e){return Y(e[hl])}function ph(e){return Symbol.asyncIterator&&Y(e?.[Symbol.asyncIterator])}function gh(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invali
1d object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const mh=function PE(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function yh(e){return Y(e?.[mh])}function vh(e){return uh(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:r,done:o}=yield Nn(n.read());if(o)return yield Nn(void 0);yield yield Nn(r)}}finally{n.releaseLock()}})}function _h(e){return Y(e?.getReader)}function Pt(e){if(e instanceof fe)return e;if(null!=e){if(hh(e))return function RE(e){return new fe(t=>{const n=e[hl]();if(Y(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(dh(e))return function OE(e){return new fe(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}(e);if(fh(e))return function FE(e){return new fe(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,th)})}(e);if(ph(e))return Dh(e);if(yh(e))return function LE(e){return new fe(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(_h(e))return function kE(e){return Dh(vh(e))}(e)}throw gh(e)}function Dh(e){return new fe(t=>{(function VE(e,t){var n,r,o,i;return function ah(e,t,n,r){return new(n||(n=Promise))(function(i,s){function a(c){try{u(r.next(c))}catch(d){s(d)}}function l(c){try{u(r.throw(c))}catch(d){s(d)}}function u(c){c.done?i(c.value):function o(i){return i instanceof n?i:new n(function(s){s(i)})}(c.value).then(a,l)}u((r=r.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=ch(e);!(r=yield n.next()).done;)if(t.next(r.value),t.closed)return}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})})(e,t).catch(n=>t.error(n))})}function an(e,t,n,r=0,o=!1){const i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function Ve(e,t,n=1/0){return Y(t)?Ve((r,o)=>$((i,s)=>t(r,i,o,s))(Pt(e(r,o))),n):("number"==typeof t&&(n=t),Re((r,o)=>function jE(e,t,n,r,o,i,s,a){const l=[];let u=0,c=0,d=!1;const f=()=>{d&&!l.length&&!u&&t.complete()},h=g=>u<r?p(g):l.push(g),p=g=>{i&&t.next(g),u++;let m=!1;Pt(n(g,c++)).subscribe(Me(t,v=>{o?.(v),i?h(v):t.next(v)},()=>{m=!0},void 0,()=>{if(m)try{for(u--;l.length&&u<r;){const v=l.shift();s?an(t,s,()=>p(v)):p(v)}f()}catch(v){t.error(v)}}))};return e.subscribe(Me(t,h,()=>{d=!0,f()})),()=>{a?.()}}(r,o,e,n)))}function Sr(e=1/0){return Ve(tr,e)}const ln=new fe(e=>e.complete());function vl(e){return e[e.length-1]}function Ch(e){return Y(vl(e))?e.pop():void 0}function Mo(e){return function $E(e){return e&&Y(e.schedule)}(vl(e))?e.pop():void 0}function wh(e,t=0){return Re((n,r)=>{n.subscribe(Me(r,o=>an(r,e,()=>r.next(o),t),()=>an(r,e,()=>r.complete(),t),o=>an(r,e,()=>r.error(o),t)))})}function Eh(e,t=0){return Re((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function bh(e,t){if(!e)throw new Error("Iterable cannot be null");return new fe(n=>{an(n,t,()=>{const r=e[Symbol.asyncIterator]();an(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function _e(e,t){return t?function KE(e,t){if(null!=e){if(hh(e))return function UE(e,t){return Pt(e).pipe(Eh(t),wh(t))}(e,t);if(dh(e))return function zE(e,t){return new fe(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if(fh(e))return function GE(e,t){return Pt(e).pipe(Eh(t),wh(t))}(e,t);if(ph(e))return bh(e,t);if(yh(e))return function WE(e,t){return new fe(n=>{let r;return an(n,t,()=>{r=e[mh](),an(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){return void n.error(s)}i?n.complete():n.next(o)},0,!0)}),()=>Y(r?.return)&&r.return()})}(e,t);if(_h(e))return function qE(e,t){return bh(vh(e),t)}(e,t)}throw gh(e)}(e,t):Pt(e)}function Mh(e={}){const{connector:t=(()=>new Nt),resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,l,u=0,c=!1,d=!1;const f=()=>{a?.unsubscribe(),a=void 0},h=()=>{f(),s=l=void 0,c=d=!1},p=()=>{const g=s;h(),g?.unsubscribe()};return Re((g,m)=>{u++,!d&&!c&&f();const v=l=l??t();m.add(()=>
1{u--,0===u&&!d&&!c&&(a=_l(p,o))}),v.subscribe(m),!s&&u>0&&(s=new bo({next:w=>v.next(w),error:w=>{d=!0,f(),a=_l(h,n,w),v.error(w)},complete:()=>{c=!0,f(),a=_l(h,r),v.complete()}}),Pt(g).subscribe(s))})(i)}}function _l(e,t,...n){if(!0===t)return void e();if(!1===t)return;const r=new bo({next:()=>{r.unsubscribe(),e()}});return t(...n).subscribe(r)}function ee(e){for(let t in e)if(e[t]===ee)return t;throw Error("Could not find renamed property on target object.")}function Dl(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function te(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(te).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function Cl(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const ZE=ee({__forward_ref__:ee});function ne(e){return e.__forward_ref__=ne,e.toString=function(){return te(this())},e}function R(e){return wl(e)?e():e}function wl(e){return"function"==typeof e&&e.hasOwnProperty(ZE)&&e.__forward_ref__===ne}class C extends Error{constructor(t,n){super(function Qi(e,t){return`NG0${Math.abs(e)}${t?": "+t.trim():""}`}(t,n)),this.code=t}}function L(e){return"string"==typeof e?e:null==e?"":String(e)}function Yi(e,t){throw new C(-201,!1)}function ut(e,t){null==e&&function J(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function T(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function ot(e){return{providers:e.providers||[],imports:e.imports||[]}}function Xi(e){return Sh(e,es)||Sh(e,Ah)}function Sh(e,t){return e.hasOwnProperty(t)?e[t]:null}function Ih(e){return e&&(e.hasOwnProperty(El)||e.hasOwnProperty(ib))?e[El]:null}const es=ee({\u0275prov:ee}),El=ee({\u0275inj:ee}),Ah=ee({ngInjectableDef:ee}),ib=ee({ngInjectorDef:ee});var N=(()=>((N=N||{})[N.Default=0]="Default",N[N.Host=1]="Host",N[N.Self=2]="Self",N[N.SkipSelf=4]="SkipSelf",N[N.Optional=8]="Optional",N))();let bl;function wt(e){const t=bl;return bl=e,t}function Th(e,t,n){const r=Xi(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&N.Optional?null:void 0!==t?t:void Yi(te(e))}function Pn(e){return{toString:e}.toString()}var Rt=(()=>((Rt=Rt||{})[Rt.OnPush=0]="OnPush",Rt[Rt.Default=1]="Default",Rt))(),Kt=(()=>{return(e=Kt||(Kt={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",Kt;var e})();const re=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Ir={},K=[],ts=ee({\u0275cmp:ee}),Ml=ee({\u0275dir:ee}),Sl=ee({\u0275pipe:ee}),xh=ee({\u0275mod:ee}),cn=ee({\u0275fac:ee}),So=ee({__NG_ELEMENT_ID__:ee});let ab=0;function Io(e){return Pn(()=>{const n=!0===e.standalone,r={},o={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:r,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===Rt.OnPush,directiveDefs:null,pipeDefs:null,standalone:n,dependencies:n&&e.dependencies||null,getStandaloneInjector:null,selectors:e.selectors||K,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||Kt.Emulated,id:"c"+ab++,styles:e.styles||K,_:null,setInput:null,schemas:e.schemas||null,tView:null},i=e.dependencies,s=e.features;return o.inputs=Rh(e.inputs,r),o.outputs=Rh(e.outputs),s&&s.forEach(a=>a(o)),o.directiveDefs=i?()=>("function"==typeof i?i():i).map(Nh).filter(Ph):null,o.pipeDefs=i?()=>("function"==typeof i?i():i).map(Ze).filter(Ph):null,o})}function Nh(e){return Z(e)||Je(e)}function Ph(e){return null!==e}function ct(e){return Pn(()=>({type:e.type,bootstrap:e.bootstrap||K,declarations:e.declarations||K,imports:e.imports||K,exports:e.exports||K,transitiveCompileScopes:null,
1schemas:e.schemas||null,id:e.id||null}))}function Rh(e,t){if(null==e)return Ir;const n={};for(const r in e)if(e.hasOwnProperty(r)){let o=e[r],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),n[o]=r,t&&(t[o]=i)}return n}const O=Io;function Ke(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function Z(e){return e[ts]||null}function Je(e){return e[Ml]||null}function Ze(e){return e[Sl]||null}function dt(e,t){const n=e[xh]||null;if(!n&&!0===t)throw new Error(`Type ${te(e)} does not have '\u0275mod' property.`);return n}const j=11;function it(e){return Array.isArray(e)&&"object"==typeof e[1]}function Ft(e){return Array.isArray(e)&&!0===e[1]}function Tl(e){return 0!=(8&e.flags)}function is(e){return 2==(2&e.flags)}function ss(e){return 1==(1&e.flags)}function Lt(e){return null!==e.template}function hb(e){return 0!=(256&e[2])}function sr(e,t){return e.hasOwnProperty(cn)?e[cn]:null}class mb{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function bt(){return Lh}function Lh(e){return e.type.prototype.ngOnChanges&&(e.setInput=vb),yb}function yb(){const e=Vh(this),t=e?.current;if(t){const n=e.previous;if(n===Ir)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function vb(e,t,n,r){const o=Vh(e)||function _b(e,t){return e[kh]=t}(e,{previous:Ir,current:null}),i=o.current||(o.current={}),s=o.previous,a=this.declaredInputs[n],l=s[a];i[a]=new mb(l&&l.currentValue,t,s===Ir),e[r]=t}bt.ngInherit=!0;const kh="__ngSimpleChanges__";function Vh(e){return e[kh]||null}function De(e){for(;Array.isArray(e);)e=e[0];return e}function as(e,t){return De(t[e])}function ht(e,t){return De(t[e.index])}function Ol(e,t){return e.data[t]}function pt(e,t){const n=t[e];return it(n)?n:n[0]}function ls(e){return 64==(64&e[2])}function Rn(e,t){return null==t?null:e[t]}function jh(e){e[18]=0}function Fl(e,t){e[5]+=t;let n=e,r=e[3];for(;null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}const F={lFrame:Jh(null),bindingsEnabled:!0};function $h(){return F.bindingsEnabled}function _(){return F.lFrame.lView}function z(){return F.lFrame.tView}function Se(){let e=Hh();for(;null!==e&&64===e.type;)e=e.parent;return e}function Hh(){return F.lFrame.currentTNode}function Jt(e,t){const n=F.lFrame;n.currentTNode=e,n.isParent=t}function Ll(){return F.lFrame.isParent}function Qe(){const e=F.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Rr(){return F.lFrame.bindingIndex++}function Lb(e,t){const n=F.lFrame;n.bindingIndex=n.bindingRootIndex=e,Vl(t)}function Vl(e){F.lFrame.currentDirectiveIndex=e}function Bl(e){F.lFrame.currentQueryIndex=e}function Vb(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function qh(e,t,n){if(n&N.SkipSelf){let o=t,i=e;for(;!(o=o.parent,null!==o||n&N.Host||(o=Vb(i),null===o||(i=i[15],10&o.type))););if(null===o)return!1;t=o,e=i}const r=F.lFrame=Kh();return r.currentTNode=t,r.lView=e,!0}function $l(e){const t=Kh(),n=e[1];F.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Kh(){const e=F.lFrame,t=null===e?null:e.child;return null===t?Jh(e):t}function Jh(e){const t={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=t),t}function Zh(){const e=F.lFrame;return F.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Qh=Zh;function Hl(){const e=Zh();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 Ye(){return F.lFrame.selectedIndex}function On(e){F.lFrame.selectedIndex=e}function us(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:l,ngAfterViewChecked:u,ngOnDestroy:c}=i;s&&(e.contentHooks||(e.contentHooks=[])).push(-n,s),a&&((e.contentHooks||(e.contentHooks=[])).push(n,a),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,a)),l&&(e.viewHooks||(e.viewHooks=[])).push(-n,l),u&&((e.viewHooks||(e.viewHooks=[])).push(n,u),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,u)),null!=c&&(e.destroyHooks||(e.destroyHooks=[])).push(n,c)}}function cs(e,t,n){Yh(e,t,3,n)}function ds(e,t,n,r){(3&e[2])===n&&Yh(e,t,n,r)}function Ul(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function Yh(e,t,n,r){const i=r??-1,s=t.length-1;let a=0;for(let l=void 0!==r?65535&e[18]:0;l<s;l++)if("number"==typeof t[l+1]){if(a=t[l],null!=r&&a>=r)break}else t[l]<0&&(e[18]+=65536),(a<i||-1==i)&&(qb(e,n,t,l),e[18]=(4294901760&e[18])+l+2),l++}function qb(e,t,n,r){const o=n[r]<0,i=n[r+1],a=e[o?-n[r]:n[r]];if(o){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048;try{i.call(a)}finally{}}}else try{i.call(a)}finally{}}class Ro{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function fs(e,t,n){let r=0;for(;r<n.length;){const o=n[r];if("number"==typeof o){if(0!==o)break;r++;const i=n[r++],s=n[r++],a=n[r++];e.setAttribute(t,s,a,i)}else{const i=o,s=n[++r];ep(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function Xh(e){return 3===e||4===e||6===e}function ep(e){return 64===e.charCodeAt(0)}function hs(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const o=t[r];"number"==typeof o?n=o:0===n||tp(e,n,o,null,-1===n||2===n?t[++r]:null)}}return e}function tp(e,t,n,r,o){let i=0,s=e.length;if(-1===t)s=-1;else for(;i<e.length;){const a=e[i++];if("number"==typeof a){if(a===t){s=-1;break}if(a>t){s=i-1;break}}}for(;i<e.length;){const a=e[i];if("number"==typeof a)break;if(a===n){if(null===r)return void(null!==o&&(e[i+1]=o));if(r===e[i+1])return void(e[i+2]=o)}i++,null!==r&&i++,null!==o&&i++}
1-1!==s&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),null!==r&&e.splice(i++,0,r),null!==o&&e.splice(i++,0,o)}function np(e){return-1!==e}function Or(e){return 32767&e}function Fr(e,t){let n=function Yb(e){return e>>16}(e),r=t;for(;n>0;)r=r[15],n--;return r}let zl=!0;function ps(e){const t=zl;return zl=e,t}let Xb=0;const Zt={};function Fo(e,t){const n=ql(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,Wl(r.data,e),Wl(t,null),Wl(r.blueprint,null));const o=gs(e,t),i=e.injectorIndex;if(np(o)){const s=Or(o),a=Fr(o,t),l=a[1].data;for(let u=0;u<8;u++)t[i+u]=a[s+u]|l[s+u]}return t[i+8]=o,i}function Wl(e,t){e.push(0,0,0,0,0,0,0,0,t)}function ql(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function gs(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;null!==o;){if(r=dp(o),null===r)return-1;if(n++,o=o[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function ms(e,t,n){!function eM(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(So)&&(r=n[So]),null==r&&(r=n[So]=Xb++);const o=255&r;t.data[e+(o>>5)]|=1<<o}(e,t,n)}function ip(e,t,n){if(n&N.Optional||void 0!==e)return e;Yi()}function sp(e,t,n,r){if(n&N.Optional&&void 0===r&&(r=null),0==(n&(N.Self|N.Host))){const o=e[9],i=wt(void 0);try{return o?o.get(t,r,n&N.Optional):Th(t,r,n&N.Optional)}finally{wt(i)}}return ip(r,0,n)}function ap(e,t,n,r=N.Default,o){if(null!==e){if(1024&t[2]){const s=function iM(e,t,n,r,o){let i=e,s=t;for(;null!==i&&null!==s&&1024&s[2]&&!(256&s[2]);){const a=lp(i,s,n,r|N.Self,Zt);if(a!==Zt)return a;let l=i.parent;if(!l){const u=s[21];if(u){const c=u.get(n,Zt,r);if(c!==Zt)return c}l=dp(s),s=s[15]}i=l}return o}(e,t,n,r,Zt);if(s!==Zt)return s}const i=lp(e,t,n,r,Zt);if(i!==Zt)return i}return sp(t,n,r,o)}function lp(e,t,n,r,o){const i=function rM(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(So)?e[So]:void 0;return"number"==typeof t?t>=0?255&t:oM:t}(n);if("function"==typeof i){if(!qh(t,e,r))return r&N.Host?ip(o,0,r):sp(t,n,r,o);try{const s=i(r);if(null!=s||r&N.Optional)return s;Yi()}finally{Qh()}}else if("number"==typeof i){let s=null,a=ql(e,t),l=-1,u=r&N.Host?t[16][6]:null;for((-1===a||r&N.SkipSelf)&&(l=-1===a?gs(e,t):t[a+8],-1!==l&&cp(r,!1)?(s=t[1],a=Or(l),t=Fr(l,t)):a=-1);-1!==a;){const c=t[1];if(up(i,a,c.data)){const d=nM(a,t,n,s,r,u);if(d!==Zt)return d}l=t[a+8],-1!==l&&cp(r,t[1].data[a+8]===u)&&up(i,a,t)?(s=c,a=Or(l),t=Fr(l,t)):a=-1}}return o}function nM(e,t,n,r,o,i){const s=t[1],a=s.data[e+8],c=function ys(e,t,n,r,o){const i=e.providerIndexes,s=t.data,a=1048575&i,l=e.directiveStart,c=i>>20,f=o?a+c:e.directiveEnd;for(let h=r?a:a+c;h<f;h++){const p=s[h];if(h<l&&n===p||h>=l&&p.type===n)return h}if(o){const h=s[l];if(h&&Lt(h)&&h.type===n)return l}return null}(a,s,n,null==r?is(a)&&zl:r!=s&&0!=(3&a.type),o&N.Host&&i===a);return null!==c?Lo(t,s,c,a):Zt}function Lo(e,t,n,r){let o=e[n];const i=t.data;if(function Kb(e){return e instanceof Ro}(o)){const s=o;s.resolving&&function QE(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new C(-200,`Circular dependency in DI detected for ${e}${n}`)}(function q(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():L(e)}(i[n]));const a=ps(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?wt(s.injectImpl):null;qh(e,r,N.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function Wb(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const s=Lh(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,s)}o&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,o),i&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,i))}(n,i[n],t)}finally{null!==l&&wt(l),ps(a),s.resolving=!1,Qh()}}return o}function up(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function cp(e,t){return!(e&N.Self||e&N.Host&&t)}class Lr{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return ap(this._tNode,this._lView,t,r,n)}}function oM(){return new Lr(Se(),_())}function Ie(e){return Pn(()=>{const t=e.prototype.constructor,n=t[cn]||Kl(t),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const i=o[cn]||Kl(o);if(i&&i!==n)return i;
1o=Object.getPrototypeOf(o)}return i=>new i})}function Kl(e){return wl(e)?()=>{const t=Kl(R(e));return t&&t()}:sr(e)}function dp(e){const t=e[1],n=t.type;return 2===n?t.declTNode:1===n?e[6]:null}const Vr="__parameters__";function Br(e,t,n){return Pn(()=>{const r=function Jl(e){return function(...n){if(e){const r=e(...n);for(const o in r)this[o]=r[o]}}}(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;const s=new o(...i);return a.annotation=s,a;function a(l,u,c){const d=l.hasOwnProperty(Vr)?l[Vr]:Object.defineProperty(l,Vr,{value:[]})[Vr];for(;d.length<=c;)d.push(null);return(d[c]=d[c]||[]).push(s),l}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}class I{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=T({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function hn(e,t){e.forEach(n=>Array.isArray(n)?hn(n,t):t(n))}function hp(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function vs(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function mt(e,t,n){let r=$r(e,t);return r>=0?e[1|r]=n:(r=~r,function uM(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(1===o)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function Ql(e,t){const n=$r(e,t);if(n>=0)return e[1|n]}function $r(e,t){return function mp(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){const i=r+(o-r>>1),s=e[i<<n];if(t===s)return i<<n;s>t?o=i:r=i+1}return~(o<<n)}(e,t,1)}const $o={},Xl="__NG_DI_FLAG__",Ds="ngTempTokenPath",yM=/\n/gm,yp="__source";let Ho;function Hr(e){const t=Ho;return Ho=e,t}function _M(e,t=N.Default){if(void 0===Ho)throw new C(-203,!1);return null===Ho?Th(e,void 0,t):Ho.get(e,t&N.Optional?null:void 0,t)}function M(e,t=N.Default){return(function sb(){return bl}()||_M)(R(e),t)}function ge(e,t=N.Default){return"number"!=typeof t&&(t=0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)),M(e,t)}function eu(e){const t=[];for(let n=0;n<e.length;n++){const r=R(e[n]);if(Array.isArray(r)){if(0===r.length)throw new C(900,!1);let o,i=N.Default;for(let s=0;s<r.length;s++){const a=r[s],l=DM(a);"number"==typeof l?-1===l?o=a.token:i|=l:o=a}t.push(M(o,i))}else t.push(M(r))}return t}function Uo(e,t){return e[Xl]=t,e.prototype[Xl]=t,e}function DM(e){return e[Xl]}const Go=Uo(Br("Optional"),8),zo=Uo(Br("SkipSelf"),4);var st=(()=>((st=st||{})[st.Important=1]="Important",st[st.DashCase=2]="DashCase",st))();const iu=new Map;let VM=0;const au="__ngContext__";function Ue(e,t){it(t)?(e[au]=t[20],function BM(e){iu.set(e[20],e)}(t)):e[au]=t}function uu(e,t){return undefined(e,t)}function Jo(e){const t=e[3];return Ft(t)?t[3]:t}function cu(e){return Vp(e[13])}function du(e){return Vp(e[4])}function Vp(e){for(;null!==e&&!Ft(e);)e=e[4];return e}function Gr(e,t,n,r,o){if(null!=r){let i,s=!1;Ft(r)?i=r:it(r)&&(s=!0,r=r[0]);const a=De(r);0===e&&null!==n?null==o?Gp(t,n,a):ar(t,n,a,o||null,!0):1===e&&null!==n?ar(t,n,a,o||null,!0):2===e?function vu(e,t,n){const r=Es(e,t);r&&function lS(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,a,s):3===e&&t.destroyNode(a),null!=i&&function dS(e,t,n,r,o){const i=n[7];i!==De(n)&&Gr(t,e,r,i,o);for(let a=10;a<n.length;a++){const l=n[a];Zo(l[1],l,e,t,r,i)}}(t,e,i,n,o)}}function hu(e,t,n){return e.createElement(t,n)}function Bp(e,t){const n=e[9],r=n.indexOf(t),o=t[3];512&t[2]&&(t[2]&=-513,Fl(o,-1)),n.splice(r,1)}function pu(e,t){if(e.length<=10)return;const n=10+t,r=e[n];if(r){const o=r[17];null!==o&&o!==e&&Bp(o,r),t>0&&(e[n-1][4]=r[4]);const i=vs(e,10+t);!function eS(e,t){Zo(e,t,t[j],2,null,null),t[0]=null,t[6]=null}(r[1],r);const s=i[19];null!==s&&s.detachView(i[1]),r[3]=null,r[4]=null,r[2]&=-65}return r}function $p(e,t){if(!(128&t[2])){const n=t[j];n.destroyNode&&Zo(e,t,n,3,null,null),function rS(e){let t=e[13];if(!t)return gu(e[1],e);for(;t;){let n=null;if(it(t))n=t[13];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)it(t)&&gu(t[1],t),t=t[3];null===t&&(t=e),it(t)&&gu(t[1],t),n=t&&t[4]}t=n}}(t)}}function gu(e,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function aS(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const o=t[n[r]];if(!(o instanceof Ro)){const i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){const a=o[i[s]],l=i[s+1];try{l.call(a)}finally{}}else try{i.call(o)}finally{}}}}(e,t),function sS(e,t){const n=e.cleanup,r=t[7];let o=-1;if(null!==n)for(let i=0;i<n.length-1;i+=2)if("string"==typeof n[i]){const s=n[i+1],a="function"==typeof s?s(t):De(t[s]),l=r[o=n[i+2]],u=n[i+3];"boolean"==typeof u?a.removeEventListener(n[i],l,u):u>=0?r[o=u]():r[o=-u].unsubscribe(),i+=2}else{const s=r[o=n[i+1]];n[i].call(s)}if(null!==r){for(let i=o+1;i<r.length;i++)(0,r[i])();t[7]=null}}(e,t),1===t[1].type&&t[j].destroy();const n=t[17];if(null!==n&&Ft(t[3])){n!==t[3]&&Bp(n,t);const r=t[19];null!==r&&r.detachView(e)}!function $M(e){iu.delete(e[20])}(t)}}
1function Hp(e,t,n){return function Up(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[0];if(2&r.flags){const o=e.data[r.directiveStart].encapsulation;if(o===Kt.None||o===Kt.Emulated)return null}return ht(r,n)}(e,t.parent,n)}function ar(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Gp(e,t,n){e.appendChild(t,n)}function zp(e,t,n,r,o){null!==r?ar(e,t,n,r,o):Gp(e,t,n)}function Es(e,t){return e.parentNode(t)}let wu,Kp=function qp(e,t,n){return 40&e.type?ht(e,n):null};function bs(e,t,n,r){const o=Hp(e,r,t),i=t[j],a=function Wp(e,t,n){return Kp(e,t,n)}(r.parent||t[6],r,t);if(null!=o)if(Array.isArray(n))for(let l=0;l<n.length;l++)zp(i,o,n[l],a,!1);else zp(i,o,n,a,!1)}function Ms(e,t){if(null!==t){const n=t.type;if(3&n)return ht(t,e);if(4&n)return yu(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return Ms(e,r);{const o=e[t.index];return Ft(o)?yu(-1,o):De(o)}}if(32&n)return uu(t,e)()||De(e[t.index]);{const r=Zp(e,t);return null!==r?Array.isArray(r)?r[0]:Ms(Jo(e[16]),r):Ms(e,t.next)}}return null}function Zp(e,t){return null!==t?e[16][6].projection[t.projection]:null}function yu(e,t){const n=10+e+1;if(n<t.length){const r=t[n],o=r[1].firstChild;if(null!==o)return Ms(r,o)}return t[7]}function _u(e,t,n,r,o,i,s){for(;null!=n;){const a=r[n.index],l=n.type;if(s&&0===t&&(a&&Ue(De(a),r),n.flags|=4),64!=(64&n.flags))if(8&l)_u(e,t,n.child,r,o,i,!1),Gr(t,e,o,a,i);else if(32&l){const u=uu(n,r);let c;for(;c=u();)Gr(t,e,o,c,i);Gr(t,e,o,a,i)}else 16&l?Qp(e,t,r,n,o,i):Gr(t,e,o,a,i);n=s?n.projectionNext:n.next}}function Zo(e,t,n,r,o,i){_u(n,r,e.firstChild,t,o,i,!1)}function Qp(e,t,n,r,o,i){const s=n[16],l=s[6].projection[r.projection];if(Array.isArray(l))for(let u=0;u<l.length;u++)Gr(t,e,o,l[u],i);else _u(e,t,l,s[3],o,i,!0)}function Yp(e,t,n){e.setAttribute(t,"style",n)}function Du(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}const Tu=new I("ENVIRONMENT_INITIALIZER"),dg=new I("INJECTOR",-1),fg=new I("INJECTOR_DEF_TYPES");class hg{get(t,n=$o){if(n===$o){const r=new Error(`NullInjectorError: No provider for ${te(t)}!`);throw r.name="NullInjectorError",r}return n}}function BS(...e){return{\u0275providers:pg(0,e)}}function pg(e,...t){const n=[],r=new Set;let o;return hn(t,i=>{const s=i;xu(s,n,[],r)&&(o||(o=[]),o.push(s))}),void 0!==o&&gg(o,n),n}function gg(e,t){for(let n=0;n<e.length;n++){const{providers:o}=e[n];hn(o,i=>{t.push(i)})}}function xu(e,t,n,r){if(!(e=R(e)))return!1;let o=null,i=Ih(e);const s=!i&&Z(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const l=e.ngModule;if(i=Ih(l),!i)return!1;o=l}const a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const u of l)xu(u,t,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!a){let u;r.add(o);try{hn(i.imports,c=>{xu(c,t,n,r)&&(u||(u=[]),u.push(c))})}finally{}void 0!==u&&gg(u,t)}if(!a){const u=sr(o)||(()=>new o);t.push({provide:o,useFactory:u,deps:K},{provide:fg,useValue:o,multi:!0},{provide:Tu,useValue:()=>M(o),multi:!0})}const l=i.providers;null==l||a||hn(l,c=>{t.push(c)})}}return o!==e&&void 0!==e.providers}const $S=ee({provide:String,useValue:ee});function Nu(e){return null!==e&&"object"==typeof e&&$S in e}function ur(e){return"function"==typeof e}const Pu=new I("Set Injector scope."),Ts={},US={};let Ru;function xs(){return void 0===Ru&&(Ru=new hg),Ru}class kn{}class vg extends kn{constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Fu(t,s=>this.processProvider(s)),this.records.set(dg,zr(void 0,this)),o.has("environment")&&this.records.set(kn,zr(void 0,this));const i=this.records.get(Pu);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(fg.multi,K,N.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}
1runInContext(t){this.assertNotDestroyed();const n=Hr(this),r=wt(void 0);try{return t()}finally{Hr(n),wt(r)}}get(t,n=$o,r=N.Default){this.assertNotDestroyed();const o=Hr(this),i=wt(void 0);try{if(!(r&N.SkipSelf)){let a=this.records.get(t);if(void 0===a){const l=function KS(e){return"function"==typeof e||"object"==typeof e&&e instanceof I}(t)&&Xi(t);a=l&&this.injectableDefInScope(l)?zr(Ou(t),Ts):null,this.records.set(t,a)}if(null!=a)return this.hydrate(t,a)}return(r&N.Self?xs():this.parent).get(t,n=r&N.Optional&&n===$o?null:n)}catch(s){if("NullInjectorError"===s.name){if((s[Ds]=s[Ds]||[]).unshift(te(t)),o)throw s;return function CM(e,t,n,r){const o=e[Ds];throw t[yp]&&o.unshift(t[yp]),e.message=function wM(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=te(t);if(Array.isArray(t))o=t.map(te).join(" -> ");else if("object"==typeof t){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+("string"==typeof a?JSON.stringify(a):te(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(yM,"\n ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[Ds]=null,e}(s,t,"R3InjectorError",this.source)}throw s}finally{wt(i),Hr(o)}}resolveInjectorInitializers(){const t=Hr(this),n=wt(void 0);try{const r=this.get(Tu.multi,K,N.Self);for(const o of r)o()}finally{Hr(t),wt(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(te(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new C(205,!1)}processProvider(t){let n=ur(t=R(t))?t:R(t&&t.provide);const r=function zS(e){return Nu(e)?zr(void 0,e.useValue):zr(_g(e),Ts)}(t);if(ur(t)||!0!==t.multi)this.records.get(n);else{let o=this.records.get(n);o||(o=zr(void 0,Ts,!0),o.factory=()=>eu(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===Ts&&(n.value=US,n.value=n.factory()),"object"==typeof n.value&&n.value&&function qS(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=R(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}}function Ou(e){const t=Xi(e),n=null!==t?t.factory:sr(e);if(null!==n)return n;if(e instanceof I)throw new C(204,!1);if(e instanceof Function)return function GS(e){const t=e.length;if(t>0)throw function Bo(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}(t,"?"),new C(204,!1);const n=function rb(e){const t=e&&(e[es]||e[Ah]);if(t){const n=function ob(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),t}return null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new C(204,!1)}function _g(e,t,n){let r;if(ur(e)){const o=R(e);return sr(o)||Ou(o)}if(Nu(e))r=()=>R(e.useValue);else if(function yg(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...eu(e.deps||[]));else if(function mg(e){return!(!e||!e.useExisting)}(e))r=()=>M(R(e.useExisting));else{const o=R(e&&(e.useClass||e.provide));if(!function WS(e){return!!e.deps}(e))return sr(o)||Ou(o);r=()=>new o(...eu(e.deps))}return r}function zr(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function JS(e){return!!e.\u0275providers}function Fu(e,t){for(const n of e)Array.isArray(n)?Fu(n,t):JS(n)?Fu(n.\u0275providers,t):t(n)}class Dg{}class YS{resolveComponentFactory(t){throw function QS(e){const t=Error(`No component factory found for ${te(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let ei=(()=>{class e{}return e.NULL=new YS,e})();function XS(){return Wr(Se(),_())}function Wr(e,t){return new yt(ht(e,t))}let yt=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=XS,e})();class wg{}let gn=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function t0(){const e=_(),n=pt(Se().index,e);return(it(n)?n:e)[j]}(),e})(),n0=(()=>{class e{}return e.\u0275prov=T({token:e,providedIn:"root",factory:()=>null}),e})();class ti{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const r0=new ti("14.3.0"),Lu={};function Vu(e){return e.ngOriginalError}class qr{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Vu(t);for(;
1n&&Vu(n);)n=Vu(n);return n||null}}function mn(e){return e instanceof Function?e():e}function bg(e,t,n){let r=e.length;for(;;){const o=e.indexOf(t,n);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}const Mg="ng-template";function g0(e,t,n){let r=0;for(;r<e.length;){let o=e[r++];if(n&&"class"===o){if(o=e[r],-1!==bg(o.toLowerCase(),t,0))return!0}else if(1===o){for(;r<e.length&&"string"==typeof(o=e[r++]);)if(o.toLowerCase()===t)return!0;return!1}}return!1}function Sg(e){return 4===e.type&&e.value!==Mg}function m0(e,t,n){return t===(4!==e.type||n?e.value:Mg)}function y0(e,t,n){let r=4;const o=e.attrs||[],i=function D0(e){for(let t=0;t<e.length;t++)if(Xh(e[t]))return t;return e.length}(o);let s=!1;for(let a=0;a<t.length;a++){const l=t[a];if("number"!=typeof l){if(!s)if(4&r){if(r=2|1&r,""!==l&&!m0(e,l,n)||""===l&&1===t.length){if(kt(r))return!1;s=!0}}else{const u=8&r?l:t[++a];if(8&r&&null!==e.attrs){if(!g0(e.attrs,u,n)){if(kt(r))return!1;s=!0}continue}const d=v0(8&r?"class":l,o,Sg(e),n);if(-1===d){if(kt(r))return!1;s=!0;continue}if(""!==u){let f;f=d>i?"":o[d+1].toLowerCase();const h=8&r?f:null;if(h&&-1!==bg(h,u,0)||2&r&&u!==f){if(kt(r))return!1;s=!0}}}}else{if(!s&&!kt(r)&&!kt(l))return!1;if(s&&kt(l))continue;s=!1,r=l|1&r}}return kt(r)||s}function kt(e){return 0==(1&e)}function v0(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let i=!1;for(;o<t.length;){const s=t[o];if(s===e)return o;if(3===s||6===s)i=!0;else{if(1===s||2===s){let a=t[++o];for(;"string"==typeof a;)a=t[++o];continue}if(4===s)break;if(0===s){o+=4;continue}}o+=i?1:2}return-1}return function C0(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function Ig(e,t,n=!1){for(let r=0;r<t.length;r++)if(y0(e,t[r],n))return!0;return!1}function Ag(e,t){return e?":not("+t.trim()+")":t}function E0(e){let t=e[0],n=1,r=2,o="",i=!1;for(;n<e.length;){let s=e[n];if("string"==typeof s)if(2&r){const a=e[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else 8&r?o+="."+s:4&r&&(o+=" "+s);else""!==o&&!kt(s)&&(t+=Ag(i,o),o=""),r=s,i=i||!kt(r);n++}return""!==o&&(t+=Ag(i,o)),t}const k={};function Vt(e){Tg(z(),_(),Ye()+e,!1)}function Tg(e,t,n,r){if(!r)if(3==(3&t[2])){const i=e.preOrderCheckHooks;null!==i&&cs(t,i,n)}else{const i=e.preOrderHooks;null!==i&&ds(t,i,0,n)}On(n)}function Rg(e,t=null,n=null,r){const o=Og(e,t,n,r);return o.resolveInjectorInitializers(),o}function Og(e,t=null,n=null,r,o=new Set){const i=[n||K,BS(e)];return r=r||("object"==typeof e?void 0:te(e)),new vg(i,t||xs(),r||null,o)}let vt=(()=>{class e{static create(n,r){if(Array.isArray(n))return Rg({name:""},r,n,"");{const o=n.name??"";return Rg({name:o},n.parent,n.providers,o)}}}return e.THROW_IF_NOT_FOUND=$o,e.NULL=new hg,e.\u0275prov=T({token:e,providedIn:"any",factory:()=>M(dg)}),e.__NG_ELEMENT_ID__=-1,e})();function D(e,t=N.Default){const n=_();return null===n?M(e,t):ap(Se(),n,R(e),t)}function Uu(){throw new Error("invalid")}function Ps(e,t){return e<<17|t<<2}function jt(e){return e>>17&32767}function Gu(e){return 2|e}function yn(e){return(131068&e)>>2}function zu(e,t){return-131069&e|t<<2}function Wu(e){return 1|e}function Qg(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const o=n[r],i=n[r+1];if(-1!==i){const s=e.data[i];Bl(o),s.contentQueries(2,t[i],i)}}}function Fs(e,t,n,r,o,i,s,a,l,u,c){const d=t.blueprint.slice();return d[0]=o,d[2]=76|r,(null!==c||e&&1024&e[2])&&(d[2]|=1024),jh(d),d[3]=d[15]=e,d[8]=n,d[10]=s||e&&e[10],d[j]=a||e&&e[j],d[12]=l||e&&e[12]||null,d[9]=u||e&&e[9]||null,d[6]=i,d[20]=function jM(){return VM++}(),d[21]=c,d[16]=2==t.type?e[16]:d,d}function Zr(e,t,n,r,o){let i=e.data[t];if(null===i)i=function ec(e,t,n,r,o){const i=Hh(),s=Ll(),l=e.data[t]=function iI(e,t,n,r,o,i){return{type:n,index:r,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?i:i&&i.parent,n,t,r,o);return null===e.firstChild&&(e.firstChild=l),null!==i&&(s?null==i.child&&null!==l.parent&&(i.child=l):null===i.next&&(i.next=l)),l}(e,t,n,r,o),function Fb(){return F.lFrame.inI18n}()&&(i.flags|=64);else if(64&i.type){i.type=n,i.value=r,i.attrs=o;const s=function Po(){const e=F.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();i.injectorIndex=null===s?-1:s.injectorIndex}return Jt(i,!0),i}function Qr(e,t,n,r){if(0===n)return-1;const o=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}
1function tc(e,t,n){$l(t);try{const r=e.viewQuery;null!==r&&uc(1,r,n);const o=e.template;null!==o&&Yg(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Qg(e,t),e.staticViewQueries&&uc(2,e.viewQuery,n);const i=e.components;null!==i&&function nI(e,t){for(let n=0;n<t.length;n++)CI(e,t[n])}(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[2]&=-5,Hl()}}function Ls(e,t,n,r){const o=t[2];if(128!=(128&o)){$l(t);try{jh(t),function Gh(e){return F.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&Yg(e,t,n,2,r);const s=3==(3&o);if(s){const u=e.preOrderCheckHooks;null!==u&&cs(t,u,null)}else{const u=e.preOrderHooks;null!==u&&ds(t,u,0,null),Ul(t,0)}if(function _I(e){for(let t=cu(e);null!==t;t=du(t)){if(!t[2])continue;const n=t[9];for(let r=0;r<n.length;r++){const o=n[r],i=o[3];0==(512&o[2])&&Fl(i,1),o[2]|=512}}}(t),function vI(e){for(let t=cu(e);null!==t;t=du(t))for(let n=10;n<t.length;n++){const r=t[n],o=r[1];ls(r)&&Ls(o,r,o.template,r[8])}}(t),null!==e.contentQueries&&Qg(e,t),s){const u=e.contentCheckHooks;null!==u&&cs(t,u)}else{const u=e.contentHooks;null!==u&&ds(t,u,1),Ul(t,1)}!function eI(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const o=n[r];if(o<0)On(~o);else{const i=o,s=n[++r],a=n[++r];Lb(s,i),a(2,t[i])}}}finally{On(-1)}}(e,t);const a=e.components;null!==a&&function tI(e,t){for(let n=0;n<t.length;n++)DI(e,t[n])}(t,a);const l=e.viewQuery;if(null!==l&&uc(2,l,r),s){const u=e.viewCheckHooks;null!==u&&cs(t,u)}else{const u=e.viewHooks;null!==u&&ds(t,u,2),Ul(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[2]&=-41,512&t[2]&&(t[2]&=-513,Fl(t[3],-1))}finally{Hl()}}}function Yg(e,t,n,r,o){const i=Ye(),s=2&r;try{On(-1),s&&t.length>22&&Tg(e,t,22,!1),n(r,o)}finally{On(i)}}function nc(e,t,n){!$h()||(function cI(e,t,n,r){const o=n.directiveStart,i=n.directiveEnd;e.firstCreatePass||Fo(n,t),Ue(r,t);const s=n.initialInputs;for(let a=o;a<i;a++){const l=e.data[a],u=Lt(l);u&&gI(t,n,l);const c=Lo(t,e,a,n);Ue(c,t),null!==s&&mI(0,a-o,c,l,0,s),u&&(pt(n.index,t)[8]=c)}}(e,t,n,ht(n,t)),128==(128&n.flags)&&function dI(e,t,n){const r=n.directiveStart,o=n.directiveEnd,i=n.index,s=function kb(){return F.lFrame.currentDirectiveIndex}();try{On(i);for(let a=r;a<o;a++){const l=e.data[a],u=t[a];Vl(a),(null!==l.hostBindings||0!==l.hostVars||null!==l.hostAttrs)&&sm(l,u)}}finally{On(-1),Vl(s)}}(e,t,n))}function rc(e,t,n=ht){const r=t.localNames;if(null!==r){let o=t.index+1;for(let i=0;i<r.length;i+=2){const s=r[i+1],a=-1===s?n(t,e):e[s];e[o++]=a}}}function em(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=oc(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function oc(e,t,n,r,o,i,s,a,l,u){const c=22+r,d=c+o,f=function rI(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:k);return n}(c,d),h="function"==typeof u?u():u;return f[1]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,c),bindingStartIndex:c,expandoStartIndex:d,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 i?i():i,pipeRegistry:"function"==typeof s?s():s,firstChild:null,schemas:l,consts:h,incompleteFirstPass:!1}}function nm(e,t,n){for(let r in e)if(e.hasOwnProperty(r)){const o=e[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(t,o):n[r]=[t,o]}return n}function rm(e,t){const r=t.directiveEnd,o=e.data,i=t.attrs,s=[];let a=null,l=null;for(let u=t.directiveStart;u<r;u++){const c=o[u],d=c.inputs,f=null===i||Sg(t)?null:yI(d,i);s.push(f),a=nm(d,u,a),l=nm(c.outputs,u,l)}null!==a&&(a.hasOwnProperty("class")&&(t.flags|=16),a.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=s,t.inputs=a,t.outputs=l}function om(e,t){const n=pt(t,e);16&n[2]||(n[2]|=32)}function ic(e,t,n,r){let o=!1;if($h()){const i=function fI(e,t,n){const r=e.directiveRegistry;let o=null;if(r)for(let i=0;i<r.length;i++){const s=r[i];Ig(n,s.selectors,!1)&&(o||(o=[]),ms(Fo(n,t),e,s.type),Lt(s)?(am(e,n),o.unshift(s)):o.push(s))}return o}(e,t,n),s=null===r?null:{"":-1};if(null!==i){o=!0,lm(n,e.data.length,i.length);for(let c=0;c<i.length;c++){const d=i[c];d.providersResolver&&d.providersResolver(d)}let a=!1,l=!1,u=Qr(e,t,i.length,null);for(let c=0;c<i.length;c++){const d=i[c];n.mergedAttrs=hs(n.mergedAttrs,d.hostAttrs),um(e,n,t,u,d),pI(u,d,s),null!==d.contentQueries&&(n.flags|=8),(null!==d.hostBindings||null!==d.hostAttrs||0!==d.hostVars)&&(n.flags|=128);const f=d.type.prototype;
1!a&&(f.ngOnChanges||f.ngOnInit||f.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),a=!0),!l&&(f.ngOnChanges||f.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),l=!0),u++}rm(e,n)}s&&function hI(e,t,n){if(t){const r=e.localNames=[];for(let o=0;o<t.length;o+=2){const i=n[t[o+1]];if(null==i)throw new C(-301,!1);r.push(t[o],i)}}}(n,r,s)}return n.mergedAttrs=hs(n.mergedAttrs,n.attrs),o}function im(e,t,n,r,o,i){const s=i.hostBindings;if(s){let a=e.hostBindingOpCodes;null===a&&(a=e.hostBindingOpCodes=[]);const l=~t.index;(function uI(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(a)!=l&&a.push(l),a.push(r,o,s)}}function sm(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function am(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function pI(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Lt(t)&&(n[""]=e)}}function lm(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function um(e,t,n,r,o){e.data[r]=o;const i=o.factory||(o.factory=sr(o.type)),s=new Ro(i,Lt(o),D);e.blueprint[r]=s,n[r]=s,im(e,t,0,r,Qr(e,n,o.hostVars,k),o)}function gI(e,t,n){const r=ht(t,e),o=em(n),i=e[10],s=ks(e,Fs(e,o,null,n.onPush?32:16,r,t,i,i.createRenderer(r,n),null,null,null));e[t.index]=s}function mI(e,t,n,r,o,i){const s=i[t];if(null!==s){const a=r.setInput;for(let l=0;l<s.length;){const u=s[l++],c=s[l++],d=s[l++];null!==a?r.setInput(n,d,u,c):n[c]=d}}}function yI(e,t){let n=null,r=0;for(;r<t.length;){const o=t[r];if(0!==o)if(5!==o){if("number"==typeof o)break;e.hasOwnProperty(o)&&(null===n&&(n=[]),n.push(o,e[o],t[r+1])),r+=2}else r+=2;else r+=4}return n}function cm(e,t,n,r){return new Array(e,!0,!1,t,null,0,r,n,null,null)}function DI(e,t){const n=pt(t,e);if(ls(n)){const r=n[1];48&n[2]?Ls(r,n,r.template,n[8]):n[5]>0&&ac(n)}}function ac(e){for(let r=cu(e);null!==r;r=du(r))for(let o=10;o<r.length;o++){const i=r[o];if(ls(i))if(512&i[2]){const s=i[1];Ls(s,i,s.template,i[8])}else i[5]>0&&ac(i)}const n=e[1].components;if(null!==n)for(let r=0;r<n.length;r++){const o=pt(n[r],e);ls(o)&&o[5]>0&&ac(o)}}function CI(e,t){const n=pt(t,e),r=n[1];(function wI(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])})(r,n),tc(r,n,n[8])}function ks(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function lc(e){for(;e;){e[2]|=32;const t=Jo(e);if(hb(e)&&!t)return e;e=t}return null}function Vs(e,t,n,r=!0){const o=t[10];o.begin&&o.begin();try{Ls(e,t,e.template,n)}catch(s){throw r&&pm(t,s),s}finally{o.end&&o.end()}}function uc(e,t,n){Bl(0),t(e,n)}function dm(e){return e[7]||(e[7]=[])}function fm(e){return e.cleanup||(e.cleanup=[])}function pm(e,t){const n=e[9],r=n?n.get(qr,null):null;r&&r.handleError(t)}function cc(e,t,n,r,o){for(let i=0;i<n.length;){const s=n[i++],a=n[i++],l=t[s],u=e.data[s];null!==u.setInput?u.setInput(l,o,r,a):l[a]=o}}function js(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(null!==t)for(let s=0;s<t.length;s++){const a=t[s];"number"==typeof a?i=a:1==i?o=Cl(o,a):2==i&&(r=Cl(r,a+": "+t[++s]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function Bs(e,t,n,r,o=!1){for(;null!==n;){const i=t[n.index];if(null!==i&&r.push(De(i)),Ft(i))for(let a=10;a<i.length;a++){const l=i[a],u=l[1].firstChild;null!==u&&Bs(l[1],l,u,r)}const s=n.type;if(8&s)Bs(e,t,n.child,r);else if(32&s){const a=uu(n,t);let l;for(;l=a();)r.push(l)}else if(16&s){const a=Zp(t,n);if(Array.isArray(a))r.push(...a);else{const l=Jo(t[16]);Bs(l[1],l,a,r,!0)}}n=o?n.projectionNext:n.next}return r}class ni{constructor(t,n){this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const t=this._lView,n=t[1];return Bs(n,t,n.firstChild,[])}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return 128==(128&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(Ft(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(pu(t,r),vs(n,r))}this._attachedToViewContainer=!1}$p(this._lView[1],this._lView)}onDestroy(t){!function tm(e,t,n,r){const o=dm(t);null===n?o.push(r):(o.push(n),e.firstCreatePass&&fm(e).push(r,o.length-1))}(this._lView[1],this._lView,null,t)}markForCheck(){lc(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){Vs(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new C(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function nS(e,t){Zo(e,t,t[j],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new C(902,!1);this._appRef=t}}class EI extends ni{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;Vs(t[1],t,t[8],!1)}checkNoChanges(){}get context(){return null}}class dc extends ei{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=Z(t);return new ri(n,this.ngModule)}}function gm(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class MI{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){const o=this.injector.get(t,Lu,r);return o!==Lu||n===Lu?o:this.parentInjector.get(t,n,r)}}class ri extends Dg{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function b0(e){return e.map(E0).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return gm(this.componentDef.inputs)}get outputs(){return gm(this.componentDef.outputs)}create(t,n,r,o){let i=(o=o||this.ngModule)instanceof kn?o:o?.injector;i&&null!==this.componentDef.getStandaloneInjector&&(i=this.componentDef.getStandaloneInjector(i)||i);const s=i?new MI(t,i):t,a=s.get(wg,null);if(null===a)throw new C(407,!1);const l=s.get(n0,null),u=a.createRenderer(null,this.componentDef),c=this.componentDef.selectors[0][0]||"div",d=r?function oI(e,t,n
1){return e.selectRootElement(t,n===Kt.ShadowDom)}(u,r,this.componentDef.encapsulation):hu(u,c,function bI(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(c)),f=this.componentDef.onPush?288:272,h=oc(0,null,null,1,0,null,null,null,null,null),p=Fs(null,h,null,f,null,null,a,u,l,s,null);let g,m;$l(p);try{const v=function AI(e,t,n,r,o,i){const s=n[1];n[22]=e;const l=Zr(s,22,2,"#host",null),u=l.mergedAttrs=t.hostAttrs;null!==u&&(js(l,u,!0),null!==e&&(fs(o,e,u),null!==l.classes&&Du(o,e,l.classes),null!==l.styles&&Yp(o,e,l.styles)));const c=r.createRenderer(e,t),d=Fs(n,em(t),null,t.onPush?32:16,n[22],l,r,c,i||null,null,null);return s.firstCreatePass&&(ms(Fo(l,n),s,t.type),am(s,l),lm(l,n.length,1)),ks(n,d),n[22]=d}(d,this.componentDef,p,a,u);if(d)if(r)fs(u,d,["ng-version",r0.full]);else{const{attrs:w,classes:y}=function M0(e){const t=[],n=[];let r=1,o=2;for(;r<e.length;){let i=e[r];if("string"==typeof i)2===o?""!==i&&t.push(i,e[++r]):8===o&&n.push(i);else{if(!kt(o))break;o=i}r++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);w&&fs(u,d,w),y&&y.length>0&&Du(u,d,y.join(" "))}if(m=Ol(h,22),void 0!==n){const w=m.projection=[];for(let y=0;y<this.ngContentSelectors.length;y++){const A=n[y];w.push(null!=A?Array.from(A):null)}}g=function TI(e,t,n,r){const o=n[1],i=function lI(e,t,n){const r=Se();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),um(e,r,t,Qr(e,t,1,null),n),rm(e,r));const o=Lo(t,e,r.directiveStart,r);Ue(o,t);const i=ht(r,t);return i&&Ue(i,t),o}(o,n,t);if(e[8]=n[8]=i,null!==r)for(const a of r)a(i,t);if(t.contentQueries){const a=Se();t.contentQueries(1,i,a.directiveStart)}const s=Se();return!o.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(On(s.index),im(n[1],s,0,s.directiveStart,s.directiveEnd,t),sm(t,i)),i}(v,this.componentDef,p,[xI]),tc(h,p,null)}finally{Hl()}return new II(this.componentType,g,Wr(m,p),p,m)}}class II extends class ZS{}{constructor(t,n,r,o,i){super(),this.location=r,this._rootLView=o,this._tNode=i,this.instance=n,this.hostView=this.changeDetectorRef=new EI(o),this.componentType=t}setInput(t,n){const r=this._tNode.inputs;let o;if(null!==r&&(o=r[t])){const i=this._rootLView;cc(i[1],i,o,t,n),om(i,this._tNode.index)}}get injector(){return new Lr(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function xI(){const e=Se();us(_()[1],e)}function Q(e){let t=function mm(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let o;if(Lt(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new C(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);const s=e;s.inputs=fc(e.inputs),s.declaredInputs=fc(e.declaredInputs),s.outputs=fc(e.outputs);const a=o.hostBindings;a&&OI(e,a);const l=o.viewQuery,u=o.contentQueries;
1if(l&&PI(e,l),u&&RI(e,u),Dl(e.inputs,o.inputs),Dl(e.declaredInputs,o.declaredInputs),Dl(e.outputs,o.outputs),Lt(o)&&o.data.animation){const c=e.data;c.animation=(c.animation||[]).concat(o.data.animation)}}const i=o.features;if(i)for(let s=0;s<i.length;s++){const a=i[s];a&&a.ngInherit&&a(e),a===Q&&(n=!1)}}t=Object.getPrototypeOf(t)}!function NI(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=hs(o.hostAttrs,n=hs(n,o.hostAttrs))}}(r)}function fc(e){return e===Ir?{}:e===K?[]:e}function PI(e,t){const n=e.viewQuery;e.viewQuery=n?(r,o)=>{t(r,o),n(r,o)}:t}function RI(e,t){const n=e.contentQueries;e.contentQueries=n?(r,o,i)=>{t(r,o,i),n(r,o,i)}:t}function OI(e,t){const n=e.hostBindings;e.hostBindings=n?(r,o)=>{t(r,o),n(r,o)}:t}function Yt(e,t,n){return e[t]=n}function Ge(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function si(e,t,n){const r=_();return Ge(r,Rr(),t)&&function _t(e,t,n,r,o,i,s,a){const l=ht(t,n);let c,u=t.inputs;!a&&null!=u&&(c=u[r])?(cc(e,n,c,r,o),is(t)&&om(n,t.index)):3&t.type&&(r=function sI(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),o=null!=s?s(o,t.value||"",r):o,i.setProperty(l,r,o))}(z(),function ce(){const e=F.lFrame;return Ol(e.tView,e.selectedIndex)}(),r,e,t,r[j],n,!1),si}function pc(e,t,n,r,o){const s=o?"class":"style";cc(e,n,t.inputs[s],s,r)}function Te(e,t,n,r){const o=_(),i=z(),s=22+e,a=o[j],l=o[s]=hu(a,t,function zb(){return F.lFrame.currentNamespace}()),u=i.firstCreatePass?function zI(e,t,n,r,o,i,s){const a=t.consts,u=Zr(t,e,2,o,Rn(a,i));return ic(t,n,u,Rn(a,s)),null!==u.attrs&&js(u,u.attrs,!1),null!==u.mergedAttrs&&js(u,u.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,u),u}(s,i,o,0,t,n,r):i.data[s];Jt(u,!0);const c=u.mergedAttrs;null!==c&&fs(a,l,c);const d=u.classes;null!==d&&Du(a,l,d);const f=u.styles;return null!==f&&Yp(a,l,f),64!=(64&u.flags)&&bs(i,o,l,u),0===function Ib(){return F.lFrame.elementDepthCount}()&&Ue(l,o),function Ab(){F.lFrame.elementDepthCount++}(),ss(u)&&(nc(i,o,u),function Xg(e,t,n){if(Tl(t)){const o=t.directiveEnd;for(let i=t.directiveStart;i<o;i++){const s=e.data[i];s.contentQueries&&s.contentQueries(1,n[i],i)}}}(i,u,o)),null!==r&&rc(o,u),Te}function Fe(){let e=Se();Ll()?function kl(){F.lFrame.isParent=!1}():(e=e.parent,Jt(e,!1));const t=e;!function Tb(){F.lFrame.elementDepthCount--}();const n=z();return n.firstCreatePass&&(us(n,e),Tl(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function Zb(e){return 0!=(16&e.flags)}(t)&&pc(n,t,_(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function Qb(e){return 0!=(32&e.flags)}(t)&&pc(n,t,_(),t.stylesWithoutHost,!1),Fe}function _n(e,t,n,r){return Te(e,t,n,r),Fe(),_n}function ai(e){return!!e&&"function"==typeof e.then}const yc=function Am(e){return!!e&&"function"==typeof e.subscribe};function ze(e,t,n,r){const o=_(),i=z(),s=Se();return function xm(e,t,n,r,o,i,s,a){const l=ss(r),c=e.firstCreatePass&&fm(e),d=t[8],f=dm(t);let h=!0;if(3&r.type||a){const m=ht(r,t),v=a?a(m):m,w=f.length,y=a?W=>a(De(W[r.index])):r.index;let A=null;if(!a&&l&&(A=function KI(e,t,n,r){const o=e.cleanup;if(null!=o)for(let i=0;i<o.length-1;i+=2){const s=o[i];if(s===n&&o[i+1]===r){const a=t[7],l=o[i+2];return a.length>l?a[l]:null}"string"==typeof s&&(i+=2)}return null}(e,t,o,r.index)),null!==A)(A.__ngLastListenerFn__||A).__ngNextListenerFn__=i,A.__ngLastListenerFn__=i,h=!1;else{i=Pm(r,t,d,i,!1);const W=n.listen(v,o,i);f.push(i,W),c&&c.push(o,y,w,w+1)}}else i=Pm(r,t,d,i,!1);const p=r.outputs;let g;if(h&&null!==p&&(g=p[o])){const m=g.length;if(m)for(let v=0;v<m;v+=2){const ue=t[g[v]][g[v+1]].subscribe(i),Mr=f.length;f.push(i,ue),c&&c.push(o,r.index,Mr,-(Mr+1))}}}(i,o,o[j],s,e,t,0,r),ze}function Nm(e,t,n,r){try{return!1!==n(r)}catch(o){return pm(e,o),!1}}function Pm(e,t,n,r,o){return function i(s){if(s===Function)return r;lc(2&e.flags?pt(e.index,t):t);let l=Nm(t,0,r,s),u=i.__ngNextListenerFn__;for(;u;)l=Nm(t,0,u,s)&&l,u=u.__ngNextListenerFn__;return o&&!1===l&&(s.preventDefault(),s.returnValue=!1),l}}function Rm(e=1){return function jb(e){return(F.lFrame.contextLView=function Bb(e,t){for(;e>0;)t=t[15],e--;return t}(e,F.lFrame.contextLView))[8]}(e)}function Um(e,t,n,r,o){const i=e[n+1],s=null===t;let a=r?jt(i):yn(i),l=!1;for(;0!==a&&(!1===l||s);){const c=e[a+1];
1eA(e[a],t)&&(l=!0,e[a+1]=r?Wu(c):Gu(c)),a=r?jt(c):yn(c)}l&&(e[n+1]=r?Gu(i):Wu(i))}function eA(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&$r(e,t)>=0}function Us(e,t){return function Bt(e,t,n,r){const o=_(),i=z(),s=function fn(e){const t=F.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}(2);i.firstUpdatePass&&function Ym(e,t,n,r){const o=e.data;if(null===o[n+1]){const i=o[Ye()],s=function Qm(e,t){return t>=e.expandoStartIndex}(e,n);(function ny(e,t){return 0!=(e.flags&(t?16:32))})(i,r)&&null===t&&!s&&(t=!1),t=function uA(e,t,n,r){const o=function jl(e){const t=F.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let i=r?t.residualClasses:t.residualStyles;if(null===o)0===(r?t.classBindings:t.styleBindings)&&(n=li(n=_c(null,e,t,n,r),t.attrs,r),i=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==o)if(n=_c(o,e,t,n,r),null===i){let l=function cA(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==yn(r))return e[jt(r)]}(e,t,r);void 0!==l&&Array.isArray(l)&&(l=_c(null,e,t,l[1],r),l=li(l,t.attrs,r),function dA(e,t,n,r){e[jt(n?t.classBindings:t.styleBindings)]=r}(e,t,r,l))}else i=function fA(e,t,n){let r;const o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++)r=li(r,e[i].hostAttrs,n);return li(r,t.attrs,n)}(e,t,r)}return void 0!==i&&(r?t.residualClasses=i:t.residualStyles=i),n}(o,i,t,r),function YI(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=jt(s),l=yn(s);e[r]=n;let c,u=!1;if(Array.isArray(n)){const d=n;c=d[1],(null===c||$r(d,c)>0)&&(u=!0)}else c=n;if(o)if(0!==l){const f=jt(e[a+1]);e[r+1]=Ps(f,a),0!==f&&(e[f+1]=zu(e[f+1],r)),e[a+1]=function G0(e,t){return 131071&e|t<<17}(e[a+1],r)}else e[r+1]=Ps(a,0),0!==a&&(e[a+1]=zu(e[a+1],r)),a=r;else e[r+1]=Ps(l,0),0===a?a=r:e[l+1]=zu(e[l+1],r),l=r;u&&(e[r+1]=Gu(e[r+1])),Um(e,c,r,!0),Um(e,c,r,!1),function XI(e,t,n,r,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&$r(i,t)>=0&&(n[r+1]=Wu(n[r+1]))}(t,c,e,r,i),s=Ps(a,l),i?t.classBindings=s:t.styleBindings=s}(o,i,t,n,s,r)}}(i,e,s,r),t!==k&&Ge(o,s,t)&&function ey(e,t,n,r,o,i,s,a){if(!(3&t.type))return;const l=e.data,u=l[a+1];Gs(function Ug(e){return 1==(1&e)}(u)?ty(l,t,n,o,yn(u),s):void 0)||(Gs(i)||function Hg(e){return 2==(2&e)}(u)&&(i=ty(l,null,n,o,a,s)),function fS(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=-1===r.indexOf("-")?void 0:st.DashCase;null==o?e.removeStyle(n,r,i):("string"==typeof o&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=st.Important),e.setStyle(n,r,o,i))}}(r,s,as(Ye(),n),o,i))}(i,i.data[Ye()],o,o[j],e,o[s+1]=function gA(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=te(function Ln(e){return e instanceof class rg{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}?e.changingThisBreaksApplicationSecurity:e}(e)))),e}(t,n),r,s)}(e,t,null,!0),Us}function _c(e,t,n,r,o){let i=null;const s=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a<s&&(i=t[a],r=li(r,i.hostAttrs,o),i!==e);)a++;return null!==e&&(n.directiveStylingLast=a),r}function li(e,t,n){const r=n?1:2;let o=-1;if(null!==t)for(let i=0;i<t.length;i++){const s=t[i];"number"==typeof s?o=s:o===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),mt(e,s,!!n||t[++i]))}return void 0===e?null:e}function ty(e,t,n,r,o,i){const s=null===t;let a;for(;o>0;){const l=e[o],u=Array.isArray(l),c=u?l[1]:l,d=null===c;let f=n[o+1];f===k&&(f=d?K:void 0);let h=d?Ql(f,r):c===r?f:void 0;if(u&&!Gs(h)&&(h=Ql(l,r)),Gs(h)&&(a=h,s))return a;const p=e[o+1];o=s?jt(p):yn(p)}if(null!==t){let l=i?t.residualClasses:t.residualStyles;null!=l&&(a=Ql(l,r))}return a}function Gs(e){return void 0!==e}function Ht(e,t=""){const n=_(),r=z(),o=e+22,i=r.firstCreatePass?Zr(r,o,1,t,null):r.data[o],s=n[o]=function fu(e,t){return e.createText(t)}(n[j],t);bs(r,n,s,i),Jt(i,!1)}function fr(e){return ui("",e,""),fr}function ui(e,t,n){const r=_(),o=function Xr(e,t,n,r){return Ge(e,Rr(),n)?t+L(n)+r:k}(r,e,t,n);
1return o!==k&&function vn(e,t,n){const r=as(t,e);!function jp(e,t,n){e.setValue(t,n)}(e[j],r,n)}(r,Ye(),o),ui}let lo={};var b=(()=>((b=b||{})[b.LocaleId=0]="LocaleId",b[b.DayPeriodsFormat=1]="DayPeriodsFormat",b[b.DayPeriodsStandalone=2]="DayPeriodsStandalone",b[b.DaysFormat=3]="DaysFormat",b[b.DaysStandalone=4]="DaysStandalone",b[b.MonthsFormat=5]="MonthsFormat",b[b.MonthsStandalone=6]="MonthsStandalone",b[b.Eras=7]="Eras",b[b.FirstDayOfWeek=8]="FirstDayOfWeek",b[b.WeekendRange=9]="WeekendRange",b[b.DateFormat=10]="DateFormat",b[b.TimeFormat=11]="TimeFormat",b[b.DateTimeFormat=12]="DateTimeFormat",b[b.NumberSymbols=13]="NumberSymbols",b[b.NumberFormats=14]="NumberFormats",b[b.CurrencyCode=15]="CurrencyCode",b[b.CurrencySymbol=16]="CurrencySymbol",b[b.CurrencyName=17]="CurrencyName",b[b.Currencies=18]="Currencies",b[b.Directionality=19]="Directionality",b[b.PluralCase=20]="PluralCase",b[b.ExtraData=21]="ExtraData",b))();const uo="en-US";let by=uo;function wc(e,t,n,r,o){if(e=R(e),Array.isArray(e))for(let i=0;i<e.length;i++)wc(e[i],t,n,r,o);else{const i=z(),s=_();let a=ur(e)?e:R(e.provide),l=_g(e);const u=Se(),c=1048575&u.providerIndexes,d=u.directiveStart,f=u.providerIndexes>>20;if(ur(e)||!e.multi){const h=new Ro(l,o,D),p=bc(a,t,o?c:c+f,d);-1===p?(ms(Fo(u,s),i,a),Ec(i,e,t.length),t.push(a),u.directiveStart++,u.directiveEnd++,o&&(u.providerIndexes+=1048576),n.push(h),s.push(h)):(n[p]=h,s[p]=h)}else{const h=bc(a,t,c+f,d),p=bc(a,t,c,c+f),g=h>=0&&n[h],m=p>=0&&n[p];if(o&&!m||!o&&!g){ms(Fo(u,s),i,a);const v=function OT(e,t,n,r,o){const i=new Ro(e,n,D);return i.multi=[],i.index=t,i.componentProviders=0,Jy(i,o,r&&!n),i}(o?RT:PT,n.length,o,r,l);!o&&m&&(n[p].providerFactory=v),Ec(i,e,t.length,0),t.push(a),u.directiveStart++,u.directiveEnd++,o&&(u.providerIndexes+=1048576),n.push(v),s.push(v)}else Ec(i,e,h>-1?h:p,Jy(n[o?p:h],l,!o&&r));!o&&r&&m&&n[p].componentProviders++}}}function Ec(e,t,n,r){const o=ur(t),i=function HS(e){return!!e.useClass}(t);if(o||i){const l=(i?R(t.useClass):t).prototype.ngOnDestroy;if(l){const u=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const c=u.indexOf(n);-1===c?u.push(n,[r,l]):u[c+1].push(r,l)}else u.push(n,l)}}}function Jy(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function bc(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function PT(e,t,n,r){return Mc(this.multi,[])}function RT(e,t,n,r){const o=this.multi;let i;if(this.providerFactory){const s=this.providerFactory.componentProviders,a=Lo(n,n[1],this.providerFactory.index,r);i=a.slice(0,s),Mc(o,i);for(let l=s;l<a.length;l++)i.push(a[l])}else i=[],Mc(o,i);return i}function Mc(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function le(e,t=[]){return n=>{n.providersResolver=(r,o)=>function NT(e,t,n){const r=z();if(r.firstCreatePass){const o=Lt(e);wc(n,r.data,r.blueprint,o,!0),wc(t,r.data,r.blueprint,o,!1)}}(r,o?o(e):e,t)}}class pr{}class Zy{}class Qy extends pr{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new dc(this);const r=dt(t);this._bootstrapComponents=mn(r.bootstrap),this._r3Injector=Og(t,n,[{provide:pr,useValue:this},{provide:ei,useValue:this.componentFactoryResolver}],te(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Sc extends Zy{constructor(t){super(),this.moduleType=t}create(t){return new Qy(this.moduleType,t)}}class LT extends pr{constructor(t,n,r){super(),this.componentFactoryResolver=new dc(this),this.instance=null;const o=new vg([...t,{provide:pr,useValue:this},{provide:ei,useValue:this.componentFactoryResolver}],n||xs(),r,new Set(["environment"]));this.injector=o,o.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function Js(e,t,n=null){return new LT(e,t,n).injector}let kT=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n.id)){const r=pg(0,n.type),o=r.length>0?Js([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n.id,o)}return this.cachedInjectors.get(n.id)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}}return e.\u0275prov=T({token:e,providedIn:"environment",factory:()=>new e(M(kn))}),e})();function Yy(e){e.getStandaloneInjector=t=>t.get(kT).getOrCreateStandaloneInjector(e)}function Ac(e,t,n){const r=Qe()+e,o=_();return o[r]===k?Yt(o,r,n?t.call(n):t()):function ii(e,t){return e[t]}(o,r)}function iv(e,t,n,r,o,i){const s=t+n;return Ge(e,s,o)?Yt(e,s+1,i?r.call(i,o):r(o)):function gi(e,t){const n=e[t];return n===k?void 0:n}(e,s+1)}function Bn(e,t){const n=z();let r;const o=e+22;n.firstCreatePass?(r=function tx(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}}(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(o,r.onDestroy)):r=n.data[o];const i=r.factory||(r.factory=sr(r.type)),s=wt(D);try{const a=ps(!1),l=i();return ps(a),function UI(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,_(),o,l),l}finally{wt(s)}}function $n(e,t,n){const r=e+22,o=_(),i=function Pr(e,t){return e[t]}(o,r);return function mi(e,t){return e[1].data[t].pure}(o,r)?iv(o,Qe(),t,i.transform,n,i):i.transform(n)}function Tc(e){return t=>{setTimeout(e,void 0,t)}}const X=class sx extends Nt{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&"object"==typeof t){const l=t;o=l.next?.bind(l),i=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(i=Tc(i),o&&(o=Tc(o)),s&&(s=Tc(s)));const a=super.subscribe({next:o,error:i,complete:s});return t instanceof Ct&&t.add(a),a}};let Dn=(()=>{class e{}return e.__NG_ELEMENT_ID__=cx,e})();const lx=Dn,ux=class extends lx{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(t,n){const r=this._declarationTContainer.tViews,o=Fs(this._declarationLView,r,t,16,null,r.declTNode,null,null,null,null,n||null);o[17]=this._declarationLView[this._declarationTContainer.index];const s=this._declarationLView[19];return null!==s&&(o[19]=s.createEmbeddedView(r)),tc(r,o,t),new ni(o)}};function cx(){return function Zs(e,t){return 4&e.type?new ux(t,e,Wr(e,t)):null}(Se(),_())}let Ut=(()=>{class e{}return e.__NG_ELEMENT_ID__=dx,e})();function dx(){return function fv(e,t){let n;const r=t[e.index];if(Ft(r))n=r;else{let o;if(8&e.type)o=De(r);else{const i=t[j];o=i.createComment("");const s=ht(e,t);ar(i,Es(i,s),o,function uS(e,t){return e.nextSibling(t)}(i,s),!1)}t[e.index]=n=cm(r,t,o,e),ks(t,n)}return new cv(n,e,t)}(Se(),_())}const fx=Ut,cv=class extends fx{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}
1get element(){return Wr(this._hostTNode,this._hostLView)}get injector(){return new Lr(this._hostTNode,this._hostLView)}get parentInjector(){const t=gs(this._hostTNode,this._hostLView);if(np(t)){const n=Fr(t,this._hostLView),r=Or(t);return new Lr(n[1].data[r+8],n)}return new Lr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=dv(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,r){let o,i;"number"==typeof r?o=r:null!=r&&(o=r.index,i=r.injector);const s=t.createEmbeddedView(n||{},i);return this.insert(s,o),s}createComponent(t,n,r,o,i){const s=t&&!function jo(e){return"function"==typeof e}(t);let a;if(s)a=n;else{const d=n||{};a=d.index,r=d.injector,o=d.projectableNodes,i=d.environmentInjector||d.ngModuleRef}const l=s?t:new ri(Z(t)),u=r||this.parentInjector;if(!i&&null==l.ngModule){const f=(s?u:this.parentInjector).get(kn,null);f&&(i=f)}const c=l.create(u,o,void 0,i);return this.insert(c.hostView,a),c}insert(t,n){const r=t._lView,o=r[1];if(function Sb(e){return Ft(e[3])}(r)){const c=this.indexOf(t);if(-1!==c)this.detach(c);else{const d=r[3],f=new cv(d,d[6],d[3]);f.detach(f.indexOf(t))}}const i=this._adjustIndex(n),s=this._lContainer;!function oS(e,t,n,r){const o=10+r,i=n.length;r>0&&(n[o-1][4]=t),r<i-10?(t[4]=n[o],hp(n,10+r,t)):(n.push(t),t[4]=null),t[3]=n;const s=t[17];null!==s&&n!==s&&function iS(e,t){const n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(s,t);const a=t[19];null!==a&&a.insertView(e),t[2]|=64}(o,r,s,i);const a=yu(i,s),l=r[j],u=Es(l,s[7]);return null!==u&&function tS(e,t,n,r,o,i){r[0]=o,r[6]=t,Zo(e,r,n,1,o,i)}(o,s[6],l,r,u,a),t.attachToViewContainerRef(),hp(Nc(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=dv(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=pu(this._lContainer,n);r&&(vs(Nc(this._lContainer),n),$p(r[1],r))}detach(t){const n=this._adjustIndex(t,-1),r=pu(this._lContainer,n);return r&&null!=vs(Nc(this._lContainer),n)?new ni(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function dv(e){return e[8]}function Nc(e){return e[8]||(e[8]=[])}function Ys(...e){}const Xs=new I("Application Initializer");let ea=(()=>{class e{constructor(n){this.appInits=n,this.resolve=Ys,this.reject=Ys,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o})}runInitializers(){if(this.initialized)return;const n=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let o=0;o<this.appInits.length;o++){const i=this.appInits[o]();if(ai(i))n.push(i);else if(yc(i)){const s=new Promise((a,l)=>{i.subscribe({complete:a,error:l})});n.push(s)}}Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),0===n.length&&r(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(M(Xs,8))},e.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const vi=new I("AppId",{providedIn:"root",factory:function Lv(){return`${Gc()}${Gc()}${Gc()}`}});function Gc(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const kv=new I("Platform Initializer"),zc=new I("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Vv=new I("appBootstrapListener");let Hx=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const nn=new I("LocaleId",{providedIn:"root",factory:()=>ge(nn,N.Optional|N.SkipSelf)||function Ux(){return typeof $localize<"u"&&$localize.locale||uo}()});class zx{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let Wc=(()=>{class e{compileModuleSync(n){return new Sc(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),i=mn(dt(n).declarations).reduce((s,a)=>{const l=Z(a);return l&&s.push(new ri(l)),s},[]);return new zx(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Kx=(()=>Promise.resolve(0))();function qc(e){typeof Zone>"u"?Kx.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Ne{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new X(!1),this.onMicrotaskEmpty=new X(!1),this.onStable=new X(!1),this.onError=ne
1w X(!1),typeof Zone>"u")throw new C(908,!1);Zone.assertZonePatched();const o=this;if(o._nesting=0,o._outer=o._inner=Zone.current,Zone.AsyncStackTaggingZoneSpec){const i=Zone.AsyncStackTaggingZoneSpec;o._inner=o._inner.fork(new i("Angular"))}Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function Jx(){let e=re.requestAnimationFrame,t=re.cancelAnimationFrame;if(typeof Zone<"u"&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function Yx(e){const t=()=>{!function Qx(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(re,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Jc(e),e.isCheckStableRunning=!0,Kc(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Jc(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{try{return $v(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),Hv(e)}},onInvoke:(n,r,o,i,s,a,l)=>{try{return $v(e),n.invoke(o,i,s,a,l)}finally{e.shouldCoalesceRunChangeDetection&&t(),Hv(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,Jc(e),Kc(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Ne.isInAngularZone())throw new C(909,!1)}static assertNotInAngularZone(){if(Ne.isInAngularZone())throw new C(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){const i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,Zx,Ys,Ys);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const Zx={};function Kc(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 Jc(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function $v(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Hv(e){e._nesting--,Kc(e)}class Xx{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new X,this.onMicrotaskEmpty=new X,this.onStable=new X,this.onError=new X}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}}const Uv=new I(""),ta=new I("");let Yc,Zc=(()=>{class e{constructor(n,r,o){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Yc||(function eN(e){Yc=e}(o),o.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Ne.assertNotInAngularZone(),qc(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}
1decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())qc(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:o})}whenStable(n,r,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,o){return[]}}return e.\u0275fac=function(n){return new(n||e)(M(Ne),M(Qc),M(ta))},e.\u0275prov=T({token:e,factory:e.\u0275fac}),e})(),Qc=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return Yc?.findTestabilityInTree(this,n,r)??null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})(),Hn=null;const Gv=new I("AllowMultipleToken"),Xc=new I("PlatformDestroyListeners");class zv{constructor(t,n){this.name=t,this.token=n}}function qv(e,t,n=[]){const r=`Platform: ${t}`,o=new I(r);return(i=[])=>{let s=ed();if(!s||s.injector.get(Gv,!1)){const a=[...n,...i,{provide:o,useValue:!0}];e?e(a):function rN(e){if(Hn&&!Hn.get(Gv,!1))throw new C(400,!1);Hn=e;const t=e.get(Jv);(function Wv(e){const t=e.get(kv,null);t&&t.forEach(n=>n())})(e)}(function Kv(e=[],t){return vt.create({name:t,providers:[{provide:Pu,useValue:"platform"},{provide:Xc,useValue:new Set([()=>Hn=null])},...e]})}(a,r))}return function iN(e){const t=ed();if(!t)throw new C(401,!1);return t}()}}function ed(){return Hn?.get(Jv)??null}let Jv=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const o=function Qv(e,t){let n;return n="noop"===e?new Xx:("zone.js"===e?void 0:e)||new Ne(t),n}(r?.ngZone,function Zv(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}(r)),i=[{provide:Ne,useValue:o}];return o.run(()=>{const s=vt.create({providers:i,parent:this.injector,name:n.moduleType.name}),a=n.create(s),l=a.injector.get(qr,null);if(!l)throw new C(402,!1);return o.runOutsideAngular(()=>{const u=o.onError.subscribe({next:c=>{l.handleError(c)}});a.onDestroy(()=>{ra(this._modules,a),u.unsubscribe()})}),function Yv(e,t,n){try{const r=n();return ai(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(l,o,()=>{const u=a.injector.get(ea);return u.runInitializers(),u.donePromise.then(()=>(function My(e){ut(e,"Expected localeId to be defined"),"string"==typeof e&&(by=e.toLowerCase().replace(/_/g,"-"))}(a.injector.get(nn,uo)||uo),this._moduleDoBootstrap(a),a))})})}bootstrapModule(n,r=[]){const o=Xv({},r);return function tN(e,t,n){const r=new Sc(n);return Promise.resolve(r)}(0,0,n).then(i=>this.bootstrapModuleFactory(i,o))}_moduleDoBootstrap(n){const r=n.injector.get(na);if(n._bootstrapComponents.length>
10)n._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new C(403,!1);n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new C(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(Xc,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(M(vt))},e.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function Xv(e,t){return Array.isArray(t)?t.reduce(Xv,e):{...e,...t}}let na=(()=>{class e{constructor(n,r,o){this._zone=n,this._injector=r,this._exceptionHandler=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const i=new fe(a=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{a.next(this._stable),a.complete()})}),s=new fe(a=>{let l;this._zone.runOutsideAngular(()=>{l=this._zone.onStable.subscribe(()=>{Ne.assertNotInAngularZone(),qc(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,a.next(!0))})})});const u=this._zone.onUnstable.subscribe(()=>{Ne.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{a.next(!1)}))});return()=>{l.unsubscribe(),u.unsubscribe()}});this.isStable=function JE(...e){const t=Mo(e),n=function HE(e,t){return"number"==typeof vl(e)?e.pop():t}(e,1/0),r=e;return r.length?1===r.length?Pt(r[0]):Sr(n)(_e(r,t)):ln}(i,s.pipe(Mh()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const o=n instanceof Dg;if(!this._injector.get(ea).done)throw!o&&function Ar(e){const t=Z(e)||Je(e)||Ze(e);return null!==t&&t.standalone}(n),new C(405,false);let s;s=o?n:this._injector.get(ei).resolveComponentFactory(n),this.componentTypes.push(s.componentType);const a=function nN(e){return e.isBoundToModule}(s)?void 0:this._injector.get(pr),u=s.create(vt.NULL,[],r||s.selector,a),c=u.location.nativeElement,d=u.injector.get(Uv,null);return d?.registerApplication(c),u.onDestroy(()=>{this.detachView(u.hostView),ra(this.components,u),d?.unregisterApplication(c)}),this._loadComponent(u),u}tick(){if(this._runningTick)throw new C(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;ra(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(Vv,[]).concat(this._bootstrapListeners).forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>ra(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new C(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.\u0275fac=function(n){return new(n||e)(M(Ne),M(kn),M(qr))},e.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function ra(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let t_=!0,_i=(()=>{class e{}return e.__NG_ELEMENT_ID__=lN,e})();function lN(e){return function uN(e,t,n){if(is(e)&&!n){const r=pt(e.index,t);return new ni(r,r)}return 47&e.type?new ni(t[16],t):null}(Se(),_(),16==(16&e))}const wN=qv(null,"core",[]);let EN=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(M(na))},e.\u0275mod=ct({type:e}),e.\u0275inj=ot({}),e})();let aa=null;function rn(){return aa}const nt=new I("DocumentToken");let id=(()=>{class e{historyGo(n){throw new Error("Not implemented")}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=T({token:e,factory:function(){return function IN(){return M(f_)}()},providedIn:"platform"}),e})();const AN=new I("Location Initialized");let f_=(()=>{class e extends id{constructor(n){super(),this._doc=n,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return rn().getBaseHref(this._doc)}onPopState(n){const r=rn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){const r=rn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}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(n){this.location.pathname=n}pushState(n,r,o){h_()?this._history.pushState(n,r,o):this.location.hash=o}replaceState(n,r,o){h_()?this._history.replaceState(n,r,o):this.location.hash=o}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}}return e.\u0275fac=function(n){return new(n||e)(M(nt))},e.\u0275prov=T({token:e,factory:function(){return function TN(){return new f_(M(nt))}()},providedIn:"platform"}),e})();function h_(){return!!window.history.pushState}function sd(e,t){if(0==e.length)return t;if(0==t.length)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t}function p_(e){const t=e.match(/#|\?|$/),n=t&&t.index||e.length;return e.slice(0,n-("/"===e[n-1]?1:0))+e.slice(n)}function En(e){return e&&"?"!==e[0]?"?"+e:e}let mr=(()=>{class e{historyGo(n){throw new Error("Not implemented")}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=T({token:e,factory:function(){return ge(m_)},providedIn:"root"}),e})();const g_=new I("appBaseHref");let m_=(()=>{class e extends mr{constructor(n,r){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??ge(nt).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.on
1HashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return sd(this._baseHref,n)}path(n=!1){const r=this._platformLocation.pathname+En(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){const s=this.prepareExternalUrl(o+En(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){const s=this.prepareExternalUrl(o+En(i));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}}return e.\u0275fac=function(n){return new(n||e)(M(id),M(g_,8))},e.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),xN=(()=>{class e extends mr{constructor(n,r){super(),this._platformLocation=n,this._baseHref="",this._removeListenerFns=[],null!=r&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let r=this._platformLocation.hash;return null==r&&(r="#"),r.length>0?r.substring(1):r}prepareExternalUrl(n){const r=sd(this._baseHref,n);return r.length>0?"#"+r:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+En(i));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+En(i));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}}return e.\u0275fac=function(n){return new(n||e)(M(id),M(g_,8))},e.\u0275prov=T({token:e,factory:e.\u0275fac}),e})(),ad=(()=>{class e{constructor(n){this._subject=new X,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;const r=this._locationStrategy.getBaseHref();this._baseHref=p_(y_(r)),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+En(r))}normalize(n){return e.stripTrailingSlash(function PN(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,y_(n)))}prepareExternalUrl(n){return n&&"/"!==n[0]&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",o=null){this._locationStrategy.pushState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+En(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+En(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)})),()=>{const r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r,complete:o})}}return e.normalizeQueryParams=En,e.joinWithSlash=sd,e.stripTrailingSlash=p_,e.\u0275fac=function(n){return new(n||e)(M(mr))},e.\u0275prov=T({token:e,factory:function(){return function NN(){return new ad(M(mr))}()},providedIn:"root"}),e})();function y_(e){return e.replace(/\/index.html$/,"")}function ho(e,t,n){return function LA(e,t,n){"string"!=typeof t&&(n=t,t=e[b.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),lo[t]=e,n&&(lo[t][b.ExtraData]=n)}
1(e,t,n)}function S_(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const r=n.indexOf("="),[o,i]=-1==r?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}let x_=(()=>{class e{constructor(n,r){this._viewContainer=n,this._context=new DP,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){N_("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){N_("ngIfElse",n),this._elseTemplateRef=n,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(n,r){return!0}}return e.\u0275fac=function(n){return new(n||e)(D(Ut),D(Dn))},e.\u0275dir=O({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),e})();class DP{constructor(){this.$implicit=null,this.ngIf=null}}function N_(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${te(t)}'.`)}let qP=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=ct({type:e}),e.\u0275inj=ot({}),e})();let QP=(()=>{class e{}return e.\u0275prov=T({token:e,providedIn:"root",factory:()=>new YP(M(nt),window)}),e})();class YP{constructor(t,n){this.document=t,this.window=n,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(!this.supportsScrolling())return;const n=function XP(e,t){const n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;if("function"==typeof e.createTreeWalker&&e.body&&(e.body.createShadowRoot||e.body.attachShadow)){const r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT);let o=r.currentNode;for(;o;){const i=o.shadowRoot;if(i){const s=i.getElementById(t)||i.querySelector(`[name="${t}"]`);if(s)return s}o=r.nextNode()}}return null}(this.document,t);n&&(this.scrollToElement(n),n.focus())}setHistoryScrollRestoration(t){if(this.supportScrollRestoration()){const n=this.window.history;n&&n.scrollRestoration&&(n.scrollRestoration=t)}}scrollToElement(t){const n=t.getBoundingClientRect(),r=n.left+this.window.pageXOffset,o=n.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(r-i[0],o-i[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const t=F_(this.window.history)||F_(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function F_(e){return Object.getOwnPropertyDescriptor(e,"scrollRestoration")}class L_{}class Ed extends class SR extends class SN{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){!function MN(e){aa||(aa=e)}(new Ed)}onAndCancel(t,n,r){return t.addEventListener(n,r,!1),()=>{t.removeEventListener(n,r,!1)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,n){return(n=n||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return"window"===n?window:"document"===n?t:"body"===n?t.body:null}getBaseHref(t){const n=function IR(){return bi=bi||document.querySelector("base"),bi?bi.getAttribute("href"):null}();return null==n?null:function AR(e){_a=_a||document.createElement("a"),_a.setAttribute("href",e);const t=_a.pathname;return"/"===t.charAt(0)?t:`/${t}`}(n)}resetBaseElement(){bi=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return S_(document.cookie,t)}}let _a,bi=null;const $_=new I("TRANSITION_ID"),xR=[{provide:Xs,useFactory:function TR(e,t,n){return()=>{n.get(ea).donePromise.then(()=>{const r=rn(),o=t.querySelectorAll(`style[ng-transition="${e}"]`);for(let i=0;i<o.length;i++)r.remove(o[i])})}},deps:[$_,nt,vt],multi:!0}];let PR=(()=>{class e{build(){return new XMLHttpRequest}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=T({token:e,factory:e.\u0275fac}),e})();const Da=new I("EventManagerPlugins");let Ca=(()=>{class e{constructor(n,r){this._zone=r,this._eventNameToPlugin=new Map,n.forEac
vendor: 7,300 bytes, line 1
1h(o=>o.manager=this),this._plugins=n.slice().reverse()}addEventListener(n,r,o){return this._findPluginFor(r).addEventListener(n,r,o)}addGlobalEventListener(n,r,o){return this._findPluginFor(r).addGlobalEventListener(n,r,o)}getZone(){return this._zone}_findPluginFor(n){const r=this._eventNameToPlugin.get(n);if(r)return r;const o=this._plugins;for(let i=0;i<o.length;i++){const s=o[i];if(s.supports(n))return this._eventNameToPlugin.set(n,s),s}throw new Error(`No event manager plugin found for event ${n}`)}}return e.\u0275fac=function(n){return new(n||e)(M(Da),M(Ne))},e.\u0275prov=T({token:e,factory:e.\u0275fac}),e})();class H_{constructor(t){this._doc=t}addGlobalEventListener(t,n,r){const o=rn().getGlobalEventTarget(this._doc,t);if(!o)throw new Error(`Unsupported event target ${o} for event ${n}`);return this.addEventListener(o,n,r)}}let U_=(()=>{class e{constructor(){this._stylesSet=new Set}addStyles(n){const r=new Set;n.forEach(o=>{this._stylesSet.has(o)||(this._stylesSet.add(o),r.add(o))}),this.onStylesAdded(r)}onStylesAdded(n){}getAllStyles(){return Array.from(this._stylesSet)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=T({token:e,factory:e.\u0275fac}),e})(),Mi=(()=>{class e extends U_{constructor(n){super(),this._doc=n,this._hostNodes=new Map,this._hostNodes.set(n.head,[])}_addStylesToHost(n,r,o){n.forEach(i=>{const s=this._doc.createElement("style");s.textContent=i,o.push(r.appendChild(s))})}addHost(n){const r=[];this._addStylesToHost(this._stylesSet,n,r),this._hostNodes.set(n,r)}removeHost(n){const r=this._hostNodes.get(n);r&&r.forEach(G_),this._hostNodes.delete(n)}onStylesAdded(n){this._hostNodes.forEach((r,o)=>{this._addStylesToHost(n,o,r)})}ngOnDestroy(){this._hostNodes.forEach(n=>n.forEach(G_))}}return e.\u0275fac=function(n){return new(n||e)(M(nt))},e.\u0275prov=T({token:e,factory:e.\u0275fac}),e})();function G_(e){rn().remove(e)}const bd={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},Md=/%COMP%/g;function wa(e,t,n){for(let r=0;r<t.length;r++){let o=t[r];Array.isArray(o)?wa(e,o,n):(o=o.replace(Md,e),n.push(o))}return n}function q_(e){return t=>{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}let Sd=(()=>{class e{constructor(n,r,o){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.rendererByCompId=new Map,this.defaultRenderer=new Id(n)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;switch(r.encapsulation){case Kt.Emulated:{let o=this.rendererByCompId.get(r.id);return o||(o=new VR(this.eventManager,this.sharedStylesHost,r,this.appId),this.rendererByCompId.set(r.id,o)),o.applyToHost(n),o}case 1:case Kt.ShadowDom:return new jR(this.eventManager,this.sharedStylesHost,n,r);default:if(!this.rendererByCompId.has(r.id)){const o=wa(r.id,r.styles,[]);this.sharedStylesHost.addStyles(o),this.rendererByCompId.set(r.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return e.\u0275fac=function(n){return new(n||e)(M(Ca),M(Mi),M(vi))},e.\u0275prov=T({token:e,factory:e.\u0275fac}),e})();class Id{constructor(t){this.eventManager=t,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,n){return n?document.createElementNS(bd[n]||n,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,n){(J_(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(J_(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){t&&t.removeChild(n)}selectRootElement(t,n){let r="string"==typeof t?document.querySelector(t):t;if(!r)throw new Error(`The selector "${t}" did not match any elements`);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;const i=bd[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const o=bd[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){o&(st.DashCase|st.Important)?t.style.setProperty(n,r,o&st.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&st.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t[n]=r}setValue(t,n){t.nodeValue=n}listen(t,n,r){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,n,q_(r)):this.eventManager.addEventListener(t,n,q_(r))}}function J_(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class VR extends Id{constructor(t,n,r,o){super(t),this.component=r;const i=wa(o+"-"+r.id,r.styles,[]);n.addStyles(i),this.contentAttr=function FR(e){return"_ngcontent-%COMP%".replace(Md,e)}(o+"-"+r.id),this.hostAttr=function LR(e){return"_nghost-%COMP%".replace(Md,e)}(o+"-"+r.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,n){const r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}}class jR extends Id{constructor(t,n,r,o){super(t),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const i=wa(o.id,o.styles,[]);for(let s=0;s<i.length;s++){const a=document.createElement("style");a.textContent=i[s],this.shadowRoot.appendChild(a)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(this.nodeOrShadowRoot(t),n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}}let BR=(()=>{class e extends H_{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o){return n.addEventListener(r,o,!1),()=>this.removeEventListener(n,r,o)}removeEventListener(n,r,o){return n.removeEventListener(r,o)}}return e.\u0275fac=function(n){return new(n||e)(M(nt))},e.\u0275prov=T({token:e,factory:e.\u0275fac}),e})();const Z_=["alt","control","meta","shift"],$R={"\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"},HR={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let UR=(()=>{class e extends H_{constructor(n){super(n)}supports(n){return null!=e.parseEventName(n)}addEventListener(n,r,o){const i=e.parseEventName(r),s=e.eventCallback(i.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>rn().onAndCancel(n,i.domEventName,s))}static parseEventName(n){const r=n.toLowerCase().split("."),o=r.shift();if(0===r.length||"keydown"!==o&&"keyup"!==o)return null;const i=e._normalizeKey(r.pop());let s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),Z_.forEach(u=>{const c=r.indexOf(u);c>-1&&(r.splice(c,1),s+=u+".")}),s+=i,0!=r.length||0===i.length)return null;const l={};return l.domEventName=o,l.fullKey=s,l}static matchEventFullKeyCode(n,r){let o=$R[n.key]||n.key,i="";return r.indexOf("code.")>
1-1&&(o=n.code,i="code."),!(null==o||!o)&&(o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),Z_.forEach(s=>{s!==o&&(0,HR[s])(n)&&(i+=s+".")}),i+=o,i===r)}static eventCallback(n,r,o){return i=>{e.matchEventFullKeyCode(i,n)&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return"esc"===n?"escape":n}}return e.\u0275fac=function(n){return new(n||e)(M(nt))},e.\u0275prov=T({token:e,factory:e.\u0275fac}),e})();const qR=qv(wN,"browser",[{provide:zc,useValue:"browser"},{provide:kv,useValue:function GR(){Ed.makeCurrent()},multi:!0},{provide:nt,useFactory:function WR(){return function mS(e){wu=e}(document),document},deps:[]}]),X_=new I(""),eD=[{provide:ta,useClass:class NR{addToWindow(t){re.getAngularTestability=(r,o=!0)=>{const i=t.findTestabilityInTree(r,o);if(null==i)throw new Error("Could not find testability for element.");return i},re.getAllAngularTestabilities=()=>t.getAllTestabilities(),re.getAllAngularRootElements=()=>t.getAllRootElements(),re.frameworkStabilizers||(re.frameworkStabilizers=[]),re.frameworkStabilizers.push(r=>{const o=re.getAllAngularTestabilities();let i=o.length,s=!1;const a=function(l){s=s||l,i--,0==i&&r(s)};o.forEach(function(l){l.whenStable(a)})})}findTestabilityInTree(t,n,r){return null==n?null:t.getTestability(n)??(r?rn().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}},deps:[]},{provide:Uv,useClass:Zc,deps:[Ne,Qc,ta]},{provide:Zc,useClass:Zc,deps:[Ne,Qc,ta]}],tD=[{provide:Pu,useValue:"root"},{provide:qr,useFactory:function zR(){return new qr},deps:[]},{provide:Da,useClass:BR,multi:!0,deps:[nt,Ne,zc]},{provide:Da,useClass:UR,multi:!0,deps:[nt]},{provide:Sd,useClass:Sd,deps:[Ca,Mi,vi]},{provide:wg,useExisting:Sd},{provide:U_,useExisting:Mi},{provide:Mi,useClass:Mi,deps:[nt]},{provide:Ca,useClass:Ca,deps:[Da,Ne]},{provide:L_,useClass:PR,deps:[]},[]];let KR=(()=>{class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:vi,useValue:n.appId},{provide:$_,useExisting:vi},xR]}}}return e.\u0275fac=function(n){return new(n||e)(M(X_,12))},e.\u0275mod=ct({type:e}),e.\u0275inj=ot({providers:[...tD,...eD],imports:[qP,EN]}),e})(),nD=(()=>{class e{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}}return e.\u0275fac=function(n){return new(n||e)(M(nt))},e.\u0275prov=T({token:e,factory:function(n){let r=null;return r=n?new n:function ZR(){return new nD(M(nt))}(),r},providedIn:"root"}),e})();function S(...e){return _e(e,Mo(e))}function Mn(e,t){return Y(t)?Ve(e,t,1):Ve(e,1)}function Sn(e,t){return Re((n,r)=>{let o=0;n.subscribe(Me(r,i=>e.call(t,i,o++)&&r.next(i)))})}typeof window<"u"&&window;class iD{}class sD{}class In{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(n=>{const r=n.indexOf(":");if(r>0){const o=n.slice(0,r),i=o.toLowerCase(),s=n.slice(r+1).trim();this.maybeSetNormalizedName(o,i),this.headers.has(i)?this.headers.get(i).push(s):this.headers.set(i,[s])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(n=>{let r=t[n];const o=n.toLowerCase();"string"==typeof r&&(r=[r]),r.length>0&&(this.headers.set(o,r),this.maybeSetNormalizedName(n,o))})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof In?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){const n=new In;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof In?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){const n=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if("string"==typeof r&&(r=[r]),0===r.length)return;this.maybeSetNormalizedName(t.name,n);const o=("a"===t.op?this.headers.get(n):void 0)||[];o.push(...r),this.headers.set(n,o);break;case"d":const i=t.value;if(i){let s=this.headers.get(n);if(!s)return;s=s.filter(a=>-1===i.indexOf(a)),0===s.length?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}else this.headers.delete(n),this.normalizedNames.delete(n)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEac
vendor: 5,205 bytes, line 1
1h(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}}class oO{encodeKey(t){return aD(t)}encodeValue(t){return aD(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const sO=/%(\d[a-f0-9])/gi,aO={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function aD(e){return encodeURIComponent(e).replace(sO,(t,n)=>aO[n]??t)}function Ea(e){return`${e}`}class Gn{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new oO,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function iO(e,t){const n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{const i=o.indexOf("="),[s,a]=-1==i?[t.decodeKey(o),""]:[t.decodeKey(o.slice(0,i)),t.decodeValue(o.slice(i+1))],l=n.get(s)||[];l.push(a),n.set(s,l)}),n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{const r=t.fromObject[n],o=Array.isArray(r)?r.map(Ea):[Ea(r)];this.map.set(n,o)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){const n=[];return Object.keys(t).forEach(r=>{const o=t[r];Array.isArray(o)?o.forEach(i=>{n.push({param:r,value:i,op:"a"})}):n.push({param:r,value:o,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const n=this.encoder.encodeKey(t);return this.map.get(t).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const n=new Gn({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const n=("a"===t.op?this.map.get(t.param):void 0)||[];n.push(Ea(t.value)),this.map.set(t.param,n);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let r=this.map.get(t.param)||[];const o=r.indexOf(Ea(t.value));-1!==o&&r.splice(o,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class lO{constructor(){this.map=new Map}set(t,n){return this.map.set(t,n),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}}function lD(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function uD(e){return typeof Blob<"u"&&e instanceof Blob}function cD(e){return typeof FormData<"u"&&e instanceof FormData}class Si{constructor(t,n,r,o){let i;if(this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function uO(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||o?(this.body=void 0!==r?r:null,i=o):i=r,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params)),this.headers||(this.headers=new In),this.context||(this.context=new lO),this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=n;else{const a=n.indexOf("?");this.urlWithParams=n+(-1===a?"?":a<n.length-1?"&":"")+s}}else this.params=new Gn,this.urlWithParams=n}serializeBody(){return null===this.body?null:lD(this.body)||uD(this.body)||cD(this.body)||function cO(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof Gn?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||cD(this.body)?null:uD(this.body)?this.body.type||null:lD(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Gn?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(t={}){const n=t.method||this.method,r=t.url||this.url,o=t.responseType||this.responseType,i=void 0!==t.body?t.body:this.body,s=void 0!==t.withCredentials?t.withCredentials:this.withCredentials,a=void 0!==t.reportProgress?t.reportProgress:this.reportProgress;let l=t.headers||this.headers,u=t.params||this.params;const c=t.context??this.context;return void 0!==t.setHeaders&&(l=Object.keys(t.setHeaders).reduce((d,f)=>d.set(f,t.setHeaders[f]),l)),t.setParams&&(u=Object.keys(t.setParams).reduce((d,f)=>d.set(f,t.setParams[f]),u)),new Si(n,r,i,{params:u,headers:l,context:c,reportProgress:a,responseType:o,withCredentials:s})}}var be=(()=>((be=be||{}
vendor: 4,311 bytes, line 1
1)[be.Sent=0]="Sent",be[be.UploadProgress=1]="UploadProgress",be[be.ResponseHeader=2]="ResponseHeader",be[be.DownloadProgress=3]="DownloadProgress",be[be.Response=4]="Response",be[be.User=5]="User",be))();class xd{constructor(t,n=200,r="OK"){this.headers=t.headers||new In,this.status=void 0!==t.status?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class Nd extends xd{constructor(t={}){super(t),this.type=be.ResponseHeader}clone(t={}){return new Nd({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class ba extends xd{constructor(t={}){super(t),this.type=be.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new ba({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class dD extends xd{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||"(unknown url)"}`:`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function Pd(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}let Rd=(()=>{class e{constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof Si)i=n;else{let l,u;l=o.headers instanceof In?o.headers:new In(o.headers),o.params&&(u=o.params instanceof Gn?o.params:new Gn({fromObject:o.params})),i=new Si(n,r,void 0!==o.body?o.body:null,{headers:l,context:o.context,params:u,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials})}const s=S(i).pipe(Mn(l=>this.handler.handle(l)));if(n instanceof Si||"events"===o.observe)return s;const a=s.pipe(Sn(l=>l instanceof ba));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe($(l=>{if(null!==l.body&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return a.pipe($(l=>{if(null!==l.body&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return a.pipe($(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new Error("Response is not a string.");return l.body}));default:return a.pipe($(l=>l.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:(new Gn).append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,o={}){return this.request("PATCH",n,Pd(o,r))}post(n,r,o={}){return this.request("POST",n,Pd(o,r))}put(n,r,o={}){return this.request("PUT",n,Pd(o,r))}}return e.\u0275fac=function(n){return new(n||e)(M(iD))},e.\u0275prov=T({token:e,factory:e.\u0275fac}),e})();class fD{constructor(t,n){this.next=t,this.interceptor=n}handle(t){return this.interceptor.intercept(t,this.next)}}const hD=new I("HTTP_INTERCEPTORS");let dO=(()=>{class e{intercept(n,r){return r.handle(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=T({token:e,factory:e.\u0275fac}),e})();const fO=/^\)\]\}',?\n/;let pD=(()=>{class e{constructor(n){this.xhrFactory=n}handle(n){if("JSONP"===n.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new fe(r=>{const o=this.xhrFactory.build();if(o.open(n.method,n.urlWithParams),n.withCredentials&&(o.withCredentials=!0),n.headers.forEach((h,p)=>o.setRequestHeader(h,p.join(","))),n.headers.has("Accept")||o.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){const h=n.detectContentTypeHeader();null!==h&&o.setRequestHeader("Content-Type",h)}if(n.responseType){const h=n.responseType.toLowerCase();o.responseType="json"!==h?h:"text"}const i=n.serializeBody();let s=null;const a=()=>
1{if(null!==s)return s;const h=o.statusText||"OK",p=new In(o.getAllResponseHeaders()),g=function hO(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(o)||n.url;return s=new Nd({headers:p,status:o.status,statusText:h,url:g}),s},l=()=>{let{headers:h,status:p,statusText:g,url:m}=a(),v=null;204!==p&&(v=typeof o.response>"u"?o.responseText:o.response),0===p&&(p=v?200:0);let w=p>=200&&p<300;if("json"===n.responseType&&"string"==typeof v){const y=v;v=v.replace(fO,"");try{v=""!==v?JSON.parse(v):null}catch(A){v=y,w&&(w=!1,v={error:A,text:v})}}w?(r.next(new ba({body:v,headers:h,status:p,statusText:g,url:m||void 0})),r.complete()):r.error(new dD({error:v,headers:h,status:p,statusText:g,url:m||void 0}))},u=h=>{const{url:p}=a(),g=new dD({error:h,status:o.status||0,statusText:o.statusText||"Unknown Error",url:p||void 0});r.error(g)};let c=!1;const d=h=>{c||(r.next(a()),c=!0);let p={type:be.DownloadProgress,loaded:h.loaded};h.lengthComputable&&(p.total=h.total),"text"===n.responseType&&!!o.responseText&&(p.partialText=o.responseText),r.next(p)},f=h=>{let p={type:be.UploadProgress,loaded:h.loaded};h.lengthComputable&&(p.total=h.total),r.next(p)};return o.addEventListener("load",l),o.addEventListener("error",u),o.addEventListener("timeout",u),o.addEventListener("abort",u),n.reportProgress&&(o.addEventListener("progress",d),null!==i&&o.upload&&o.upload.addEventListener("progress",f)),o.send(i),r.next({type:be.Sent}),()=>{o.removeEventListener("error",u),o.removeEventListener("abort",u),o.removeEventListener("load",l),o.removeEventListener("timeout",u),n.reportProgress&&(o.removeEventListener("progress",d),null!==i&&o.upload&&o.upload.removeEventListener("progress",f)),o.readyState!==o.DONE&&o.abort()}})}}return e.\u0275fac=function(n){return new(n||e)(M(L_))},e.\u0275prov=T({token:e,factory:e.\u0275fac}),e})();const Od=new I("XSRF_COOKIE_NAME"),Fd=new I("XSRF_HEADER_NAME");class gD{}let pO=(()=>{class e{constructor(n,r,o){this.doc=n,this.platform=r,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=S_(n,this.cookieName),this.lastCookieString=n),this.lastToken}}return e.\u0275fac=function(n){return new(n||e)(M(nt),M(zc),M(Od))},e.\u0275prov=T({token:e,factory:e.\u0275fac}),e})(),Ld=(()=>{class e{constructor(n,r){this.tokenService=n,this.headerName=r}intercept(n,r){const o=n.url.toLowerCase();if("GET"===n.method||"HEAD"===n.method||o.startsWith("http://")||o.startsWith("https://"))return r.handle(n);const i=this.tokenService.getToken();return null!==i&&!n.headers.has(this.headerName)&&(n=n.clone({headers:n.headers.set(this.headerName,i)})),r.handle(n)}}return e.\u0275fac=function(n){return new(n||e)(M(gD),M(Fd))},e.\u0275prov=T({token:e,factory:e.\u0275fac}),e})(),gO=(()=>{class e{constructor(n,r){this.backend=n,this.injector=r,this.chain=null}handle(n){if(null===this.chain){const r=this.injector.get(hD,[]);this.chain=r.reduceRight((o,i)=>new fD(o,i),this.backend)}return this.chain.handle(n)}}return e.\u0275fac=function(n){return new(n||e)(M(sD),M(vt))},e.\u0275prov=T({token:e,factory:e.\u0275fac}),e})(),mO=(()=>{class e{static disable(){return{ngModule:e,providers:[{provide:Ld,useClass:dO}]}}static withOptions(n={}){return{ngModule:e,providers:[n.cookieName?{provide:Od,useValue:n.cookieName}:[],n.headerName?{provide:Fd,useValue:n.headerName}:[]]}}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=ct({type:e}),e.\u0275inj=ot({providers:[Ld,{provide:hD,useExisting:Ld,multi:!0},{provide:gD,useClass:pO},{provide:Od,useValue:"XSRF-TOKEN"},{provide:Fd,useValue:"X-XSRF-TOKEN"}]}),e})(),yO=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=ct({type:e}),e.\u0275inj=ot({providers:[Rd,{provide:iD,useClass:gO},pD,{provide:sD,useExisting:pD}],imports:[mO.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]}),e})();class qt extends Nt{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){const{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}}const Ma=wo(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"}),{isArray:vO}=Array,{getPrototypeOf:_O,prototype:DO,keys:CO}=Object;function mD(e){if(1===e.length){const t=e[0];if(vO(t))return{args:t,keys:null};if(function wO(e){return e&&"object"==typeof e&&_O(e)===DO}(t)){const n=CO(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}const{isArray:EO}=Array;function yD(e){return $(t=>function bO(e,t){return EO(t)?e(...t):e(t)}(e,t))}function vD(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function _D(...e){const t=Mo(e),n=Ch(e),{args:r,keys:o}=mD(e);if(0===r.length)return _e([],t);const i=new fe(function MO(e,t,n=tr){return r=>{DD(t,()=>{const{length:o}=e,i=new Array(o);let s=o,a=o;for(let l=0;l<o;l++)DD(t,()=>{const u=_e(e[l],t);let c=!1;u.subscribe(Me(r,d=>{i[l]=d,c||(c=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}
1))},r)},r)}}(r,t,o?s=>vD(o,s):tr));return n?i.pipe(yD(n)):i}function DD(e,t,n){e?an(n,e,t):t()}function Ii(...e){return function SO(){return Sr(1)}()(_e(e,Mo(e)))}function Sa(e){return new fe(t=>{Pt(e()).subscribe(t)})}function Ai(e,t){const n=Y(e)?e:()=>e,r=o=>o.error(n());return new fe(t?o=>t.schedule(r,0,o):r)}function kd(){return Re((e,t)=>{let n=null;e._refCount++;const r=Me(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount)return void(n=null);const o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}class CD extends fe{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,sh(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new Ct;const n=this.getSubject();t.add(this.source.subscribe(Me(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=Ct.EMPTY)}return t}refCount(){return kd()(this)}}function Tt(e,t){return Re((n,r)=>{let o=null,i=0,s=!1;const a=()=>s&&!o&&r.complete();n.subscribe(Me(r,l=>{o?.unsubscribe();let u=0;const c=i++;Pt(e(l,c)).subscribe(o=Me(r,d=>r.next(t?t(l,d,c,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function An(e){return e<=0?()=>ln:Re((t,n)=>{let r=0;t.subscribe(Me(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Ia(e){return Re((t,n)=>{let r=!1;t.subscribe(Me(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function wD(e=AO){return Re((t,n)=>{let r=!1;t.subscribe(Me(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function AO(){return new Ma}function zn(e,t){const n=arguments.length>=2;return r=>r.pipe(e?Sn((o,i)=>e(o,i,r)):tr,An(1),n?Ia(t):wD(()=>new Ma))}function We(e,t,n){const r=Y(e)||t||n?{next:e,error:t,complete:n}:e;return r?Re((o,i)=>{var s;null===(s=r.subscribe)||void 0===s||s.call(r);let a=!0;o.subscribe(Me(i,l=>{var u;null===(u=r.next)||void 0===u||u.call(r,l),i.next(l)},()=>{var l;a=!1,null===(l=r.complete)||void 0===l||l.call(r),i.complete()},l=>{var u;a=!1,null===(u=r.error)||void 0===u||u.call(r,l),i.error(l)},()=>{var l,u;a&&(null===(l=r.unsubscribe)||void 0===l||l.call(r)),null===(u=r.finalize)||void 0===u||u.call(r)}))}):tr}function Wn(e){return Re((t,n)=>{let i,r=null,o=!1;r=t.subscribe(Me(n,void 0,void 0,s=>{i=Pt(e(s,Wn(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function TO(e,t,n,r,o){return(i,s)=>{let a=n,l=t,u=0;i.subscribe(Me(s,c=>{const d=u++;l=a?e(l,c,d):(a=!0,c),r&&s.next(l)},o&&(()=>{a&&s.next(l),s.complete()})))}}function ED(e,t){return Re(TO(e,t,arguments.length>=2,!0))}function Vd(e){return e<=0?()=>ln:Re((t,n)=>{let r=[];t.subscribe(Me(n,o=>{r.push(o),e<r.length&&r.shift()},()=>{for(const o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function bD(e,t){const n=arguments.length>=2;return r=>r.pipe(e?Sn((o,i)=>e(o,i,r)):tr,Vd(1),n?Ia(t):wD(()=>new Ma))}function jd(e){return Re((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}const H="primary",Ti=Symbol("RouteTitle");class PO{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const n=this.params[t];return Array.isArray(n)?n[0]:n}return null}getAll(t){if(this.has(t)){const n=this.params[t];return Array.isArray(n)?n:[n]}return[]}get keys(){return Object.keys(this.params)}}function po(e){return new PO(e)}function RO(e,t,n){const r=n.path.split("/");if(r.length>e.length||"full"===n.pathMatch&&(t.hasChildren()||r.length<e.length))return null;const o={};for(let i=0;i<r.length;i++){const s=r[i],a=e[i];if(s.startsWith(":"))o[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:e.slice(0,r.length),posParams:o}}function on(e,t){const n=e?Object.keys(e):void 0,r=t?Object.keys(t):void 0;if(!n||!r||n.length!=r.length)return!1;let o;for(let i=0;i<n.length;i++)if(o=n[i],!MD(e[o],t[o]))return!1;return!0}function MD(e,t){if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;const n=[...e].sort(),r=[...t].sort();return n.every((o,i)=>r[i]===o)}return e===t}function SD(e){return Array.prototype.concat.apply([],e)}function ID(e){return e.length>0?e[e.length-1]:null}function je(e,t){for(const n in e)e.hasOwnProperty(n)&&t(e[n],n)}function qn(e){return yc(e)?e:ai(e)?_e(Promise.resolve(e)):S(e)}
1const LO={exact:function xD(e,t,n){if(!vr(e.segments,t.segments)||!Aa(e.segments,t.segments,n)||e.numberOfChildren!==t.numberOfChildren)return!1;for(const r in t.children)if(!e.children[r]||!xD(e.children[r],t.children[r],n))return!1;return!0},subset:ND},AD={exact:function kO(e,t){return on(e,t)},subset:function VO(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>MD(e[n],t[n]))},ignored:()=>!0};function TD(e,t,n){return LO[n.paths](e.root,t.root,n.matrixParams)&&AD[n.queryParams](e.queryParams,t.queryParams)&&!("exact"===n.fragment&&e.fragment!==t.fragment)}function ND(e,t,n){return PD(e,t,t.segments,n)}function PD(e,t,n,r){if(e.segments.length>n.length){const o=e.segments.slice(0,n.length);return!(!vr(o,n)||t.hasChildren()||!Aa(o,n,r))}if(e.segments.length===n.length){if(!vr(e.segments,n)||!Aa(e.segments,n,r))return!1;for(const o in t.children)if(!e.children[o]||!ND(e.children[o],t.children[o],r))return!1;return!0}{const o=n.slice(0,e.segments.length),i=n.slice(e.segments.length);return!!(vr(e.segments,o)&&Aa(e.segments,o,r)&&e.children[H])&&PD(e.children[H],t,i,r)}}function Aa(e,t,n){return t.every((r,o)=>AD[n](e[o].parameters,r.parameters))}class yr{constructor(t,n,r){this.root=t,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=po(this.queryParams)),this._queryParamMap}toString(){return $O.serialize(this)}}class U{constructor(t,n){this.segments=t,this.children=n,this.parent=null,je(n,(r,o)=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Ta(this)}}class xi{constructor(t,n){this.path=t,this.parameters=n}get parameterMap(){return this._parameterMap||(this._parameterMap=po(this.parameters)),this._parameterMap}toString(){return LD(this)}}function vr(e,t){return e.length===t.length&&e.every((n,r)=>n.path===t[r].path)}let RD=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=T({token:e,factory:function(){return new $d},providedIn:"root"}),e})();class $d{parse(t){const n=new ZO(t);return new yr(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){const n=`/${Ni(t.root,!0)}`,r=function GO(e){const t=Object.keys(e).map(n=>{const r=e[n];return Array.isArray(r)?r.map(o=>`${xa(n)}=${xa(o)}`).join("&"):`${xa(n)}=${xa(r)}`}).filter(n=>!!n);return t.length?`?${t.join("&")}`:""}(t.queryParams);return`${n}${r}${"string"==typeof t.fragment?`#${function HO(e){return encodeURI(e)}(t.fragment)}`:""}`}}const $O=new $d;function Ta(e){return e.segments.map(t=>LD(t)).join("/")}function Ni(e,t){if(!e.hasChildren())return Ta(e);if(t){const n=e.children[H]?Ni(e.children[H],!1):"",r=[];return je(e.children,(o,i)=>{i!==H&&r.push(`${i}:${Ni(o,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}{const n=function BO(e,t){let n=[];return je(e.children,(r,o)=>{o===H&&(n=n.concat(t(r,o)))}),je(e.children,(r,o)=>{o!==H&&(n=n.concat(t(r,o)))}),n}(e,(r,o)=>o===H?[Ni(e.children[H],!1)]:[`${o}:${Ni(r,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children[H]?`${Ta(e)}/${n[0]}`:`${Ta(e)}/(${n.join("//")})`}}function OD(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function xa(e){return OD(e).replace(/%3B/gi,";")}function Hd(e){return OD(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Na(e){return decodeURIComponent(e)}function FD(e){return Na(e.replace(/\+/g,"%20"))}function LD(e){return`${Hd(e.path)}${function UO(e){return Object.keys(e).map(t=>`;${Hd(t)}=${Hd(e[t])}`).join("")}(e.parameters)}`}const zO=/^[^\/()?;=#]+/;function Pa(e){const t=e.match(zO);return t?t[0]:""}const WO=/^[^=?&#]+/,KO=/^[^&#]+/;class ZO{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new U([],{}):new U([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}
1parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(t.length>0||Object.keys(n).length>0)&&(r[H]=new U(t,n)),r}parseSegment(){const t=Pa(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new C(4009,!1);return this.capture(t),new xi(Na(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const n=Pa(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const o=Pa(this.remaining);o&&(r=o,this.capture(r))}t[Na(n)]=Na(r)}parseQueryParam(t){const n=function qO(e){const t=e.match(WO);return t?t[0]:""}(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const s=function JO(e){const t=e.match(KO);return t?t[0]:""}(this.remaining);s&&(r=s,this.capture(r))}const o=FD(n),i=FD(r);if(t.hasOwnProperty(o)){let s=t[o];Array.isArray(s)||(s=[s],t[o]=s),s.push(i)}else t[o]=i}parseParens(t){const n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const r=Pa(this.remaining),o=this.remaining[r.length];if("/"!==o&&")"!==o&&";"!==o)throw new C(4010,!1);let i;r.indexOf(":")>-1?(i=r.slice(0,r.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=H);const s=this.parseChildren();n[i]=1===Object.keys(s).length?s[H]:new U([],s),this.consumeOptional("//")}return n}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new C(4011,!1)}}function Ud(e){return e.segments.length>0?new U([],{[H]:e}):e}function Ra(e){const t={};for(const r of Object.keys(e.children)){const i=Ra(e.children[r]);(i.segments.length>0||i.hasChildren())&&(t[r]=i)}return function QO(e){if(1===e.numberOfChildren&&e.children[H]){const t=e.children[H];return new U(e.segments.concat(t.segments),t.children)}return e}(new U(e.segments,t))}function _r(e){return e instanceof yr}function eF(e,t,n,r,o){if(0===n.length)return go(t.root,t.root,t.root,r,o);const i=function jD(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new VD(!0,0,e);let t=0,n=!1;const r=e.reduce((o,i,s)=>{if("object"==typeof i&&null!=i){if(i.outlets){const a={};return je(i.outlets,(l,u)=>{a[u]="string"==typeof l?l.split("/"):l}),[...o,{outlets:a}]}if(i.segmentPath)return[...o,i.segmentPath]}return"string"!=typeof i?[...o,i]:0===s?(i.split("/").forEach((a,l)=>{0==l&&"."===a||(0==l&&""===a?n=!0:".."===a?t++:""!=a&&o.push(a))}),o):[...o,i]},[]);return new VD(n,t,r)}(n);return i.toRoot()?go(t.root,t.root,new U([],{}),r,o):function s(l){const u=function nF(e,t,n,r){if(e.isAbsolute)return new mo(t.root,!0,0);if(-1===r)return new mo(n,n===t.root,0);return function BD(e,t,n){let r=e,o=t,i=n;for(;i>o;){if(i-=o,r=r.parent,!r)throw new C(4005,!1);o=r.segments.length}return new mo(r,!1,o-i)}(n,r+(Pi(e.commands[0])?0:1),e.numberOfDoubleDots)}(i,t,e.snapshot?._urlSegment,l),c=u.processChildren?Oi(u.segmentGroup,u.index,i.commands):zd(u.segmentGroup,u.index,i.commands);return go(t.root,u.segmentGroup,c,r,o)}(e.snapshot?._lastPathIndex)}function Pi(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function Ri(e){return"object"==typeof e&&null!=e&&e.outlets}function go(e,t,n,r,o){let s,i={};r&&je(r,(l,u)=>{i[u]=Array.isArray(l)?l.map(c=>`${c}`):`${l}`}),s=e===t?n:kD(e,t,n);const a=Ud(Ra(s));return new yr(a,i,o)}function kD(e,t,n){const r={};return je(e.children,(o,i)=>{r[i]=o===t?n:kD(o,t,n)}),new U(e.segments,r)}class VD{constructor(t,n,r){if(this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&Pi(r[0]))throw new C(4003,!1);const o=r.find(Ri);if(o&&o!==ID(r))throw new C(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class mo{constructor(t,n,r){this.segmentGroup=t,this.processChildren=n,this.index=r}}function zd(e,t,n){if(e||(e=new U([],{})),0===e.segments.length&&e.hasChildren())return Oi(e,t,n);const r=function oF(e,t,n){let r=0,o=t;const i={match:!1,pathIndex:0,commandIndex:0};for(;o<e.segments.length;){if(r>=n.length)return i;const s=e.segments[o],a=n[r];if(Ri(a))break;const l=`${a}`,u=r<n.length-1?n[r+1]:null;if(o>0&&void 0===l)break;if(l&&u&&"object"==typeof u&&void 0===u.outlets){if(!HD(l,u,s))return i;r+=2}else{if(!HD(l,{},s))return i;r++}
1o++}return{match:!0,pathIndex:o,commandIndex:r}}(e,t,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndex<e.segments.length){const i=new U(e.segments.slice(0,r.pathIndex),{});return i.children[H]=new U(e.segments.slice(r.pathIndex),e.children),Oi(i,0,o)}return r.match&&0===o.length?new U(e.segments,{}):r.match&&!e.hasChildren()?Wd(e,t,n):r.match?Oi(e,0,o):Wd(e,t,n)}function Oi(e,t,n){if(0===n.length)return new U(e.segments,{});{const r=function rF(e){return Ri(e[0])?e[0].outlets:{[H]:e}}(n),o={};return je(r,(i,s)=>{"string"==typeof i&&(i=[i]),null!==i&&(o[s]=zd(e.children[s],t,i))}),je(e.children,(i,s)=>{void 0===r[s]&&(o[s]=i)}),new U(e.segments,o)}}function Wd(e,t,n){const r=e.segments.slice(0,t);let o=0;for(;o<n.length;){const i=n[o];if(Ri(i)){const l=iF(i.outlets);return new U(r,l)}if(0===o&&Pi(n[0])){r.push(new xi(e.segments[t].path,$D(n[0]))),o++;continue}const s=Ri(i)?i.outlets[H]:`${i}`,a=o<n.length-1?n[o+1]:null;s&&a&&Pi(a)?(r.push(new xi(s,$D(a))),o+=2):(r.push(new xi(s,{})),o++)}return new U(r,{})}function iF(e){const t={};return je(e,(n,r)=>{"string"==typeof n&&(n=[n]),null!==n&&(t[r]=Wd(new U([],{}),0,n))}),t}function $D(e){const t={};return je(e,(n,r)=>t[r]=`${n}`),t}function HD(e,t,n){return e==n.path&&on(t,n.parameters)}class Tn{constructor(t,n){this.id=t,this.url=n}}class qd extends Tn{constructor(t,n,r="imperative",o=null){super(t,n),this.type=0,this.navigationTrigger=r,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Dr extends Tn{constructor(t,n,r){super(t,n),this.urlAfterRedirects=r,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Oa extends Tn{constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class UD extends Tn{constructor(t,n,r,o){super(t,n),this.error=r,this.target=o,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class sF extends Tn{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class aF extends Tn{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class lF extends Tn{constructor(t,n,r,o,i){super(t,n),this.urlAfterRedirects=r,this.state=o,this.shouldActivate=i,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class uF extends Tn{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class cF extends Tn{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class dF{constructor(t){this.route=t,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class fF{constructor(t){this.route=t,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class hF{constructor(t){this.snapshot=t,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class pF{constructor(t){this.snapshot=t,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class gF{constructor(t){this.snapshot=t,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class mF{constructor(t){this.snapshot=t,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class GD{constructor(t,n,r){this.routerEvent=t,this.position=n,this.anchor=r,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class zD{constructor(t){this._root=t}get root(){return this._root.value}
vendor: 2,222 bytes, line 1
1parent(t){const n=this.pathFromRoot(t);return n.length>1?n[n.length-2]:null}children(t){const n=Kd(t,this._root);return n?n.children.map(r=>r.value):[]}firstChild(t){const n=Kd(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){const n=Jd(t,this._root);return n.length<2?[]:n[n.length-2].children.map(o=>o.value).filter(o=>o!==t)}pathFromRoot(t){return Jd(t,this._root).map(n=>n.value)}}function Kd(e,t){if(e===t.value)return t;for(const n of t.children){const r=Kd(e,n);if(r)return r}return null}function Jd(e,t){if(e===t.value)return[t];for(const n of t.children){const r=Jd(e,n);if(r.length)return r.unshift(t),r}return[]}class xn{constructor(t,n){this.value=t,this.children=n}toString(){return`TreeNode(${this.value})`}}function yo(e){const t={};return e&&e.children.forEach(n=>t[n.value.outlet]=n),t}class WD extends zD{constructor(t,n){super(t),this.snapshot=n,Zd(this,t)}toString(){return this.snapshot.toString()}}function qD(e,t){const n=function vF(e,t){const s=new Fa([],{},{},"",{},H,t,null,e.root,-1,{});return new JD("",new xn(s,[]))}(e,t),r=new qt([new xi("",{})]),o=new qt({}),i=new qt({}),s=new qt({}),a=new qt(""),l=new Kn(r,o,s,a,i,H,t,n.root);return l.snapshot=n.root,new WD(new xn(l,[]),n)}class Kn{constructor(t,n,r,o,i,s,a,l){this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.title=this.data?.pipe($(u=>u[Ti]))??S(void 0),this._futureSnapshot=l}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe($(t=>po(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe($(t=>po(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function KD(e,t="emptyOnly"){const n=e.pathFromRoot;let r=0;if("always"!==t)for(r=n.length-1;r>=1;){const o=n[r],i=n[r-1];
1if(o.routeConfig&&""===o.routeConfig.path)r--;else{if(i.component)break;r--}}return function _F(e){return e.reduce((t,n)=>({params:{...t.params,...n.params},data:{...t.data,...n.data},resolve:{...n.data,...t.resolve,...n.routeConfig?.data,...n._resolvedData}}),{params:{},data:{},resolve:{}})}(n.slice(r))}class Fa{constructor(t,n,r,o,i,s,a,l,u,c,d,f){this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.title=this.data?.[Ti],this.routeConfig=l,this._urlSegment=u,this._lastPathIndex=c,this._correctedLastPathIndex=f??c,this._resolve=d}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=po(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=po(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(r=>r.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class JD extends zD{constructor(t,n){super(n),this.url=t,Zd(this,n)}toString(){return ZD(this._root)}}function Zd(e,t){t.value._routerState=e,t.children.forEach(n=>Zd(e,n))}function ZD(e){const t=e.children.length>0?` { ${e.children.map(ZD).join(", ")} } `:"";return`${e.value}${t}`}function Qd(e){if(e.snapshot){const t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,on(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),on(t.params,n.params)||e.params.next(n.params),function OO(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;++n)if(!on(e[n],t[n]))return!1;return!0}(t.url,n.url)||e.url.next(n.url),on(t.data,n.data)||e.data.next(n.data)}else e.snapshot=e._futureSnapshot,e.data.next(e._futureSnapshot.data)}function Yd(e,t){const n=on(e.params,t.params)&&function jO(e,t){return vr(e,t)&&e.every((n,r)=>on(n.parameters,t[r].parameters))}(e.url,t.url);return n&&!(!e.parent!=!t.parent)&&(!e.parent||Yd(e.parent,t.parent))}function Fi(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){const r=n.value;r._futureSnapshot=t.value;const o=function CF(e,t,n){return t.children.map(r=>{for(const o of n.children)if(e.shouldReuseRoute(r.value,o.value.snapshot))return Fi(e,r,o);return Fi(e,r)})}(e,t,n);return new xn(r,o)}{if(e.shouldAttach(t.value)){const i=e.retrieve(t.value);if(null!==i){const s=i.route;return s.value._futureSnapshot=t.value,s.children=t.children.map(a=>Fi(e,a)),s}}const r=function wF(e){return new Kn(new qt(e.url),new qt(e.params),new qt(e.queryParams),new qt(e.fragment),new qt(e.data),e.outlet,e.component,e)}(t.value),o=t.children.map(i=>Fi(e,i));return new xn(r,o)}}const Xd="ngNavigationCancelingError";function QD(e,t){const{redirectTo:n,navigationBehaviorOptions:r}=_r(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,o=YD(!1,0,t);return o.url=n,o.navigationBehaviorOptions=r,o}function YD(e,t,n){const r=new Error("NavigationCancelingError: "+(e||""));return r[Xd]=!0,r.cancellationCode=t,n&&(r.url=n),r}function XD(e){return eC(e)&&_r(e.url)}function eC(e){return e&&e[Xd]}class EF{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new Li,this.attachRef=null}}let Li=(()=>{class e{constructor(){this.contexts=new Map}onChildOutletCreated(n,r){const o=this.getOrCreateContext(n);o.outlet=r,this.contexts.set(n,o)}onChildOutletDestroyed(n){const r=this.getContext(n);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){const n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let r=this.getContext(n);return r||(r=new EF,this.contexts.set(n,r)),r}getContext(n){return this.contexts.get(n)||null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const La=!1;let ef=(()=>{class e{constructor(n,r,o,i,s){this.parentContexts=n,this.location=r,this.changeDetector=i,this.environmentInjector=s,this.activated=null,this._activatedRoute=null,this.activateEvents=new X,this.deactivateEvents=new X,this.attachEvents=new X,this.detachEvents=new X,this.name=o||H,n.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.getContext(this.name)?.outlet===this&&this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const n=this.parentContexts.getContext(this.name);n&&n.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new C(4012,La);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new C(4012,La);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new C(4012,La);this.location.detach();const n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,r){this.activated=n,this._activatedRoute=r,this.location.insert(n.hostView),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){const n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,r){if(this.isActivated)throw new C(4013,La);this._activatedRoute=n;const o=this.location,s=n._futureSnapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,l=new bF(n,a,o.injector);
1if(r&&function MF(e){return!!e.resolveComponentFactory}(r)){const u=r.resolveComponentFactory(s);this.activated=o.createComponent(u,o.length,l)}else this.activated=o.createComponent(s,{index:o.length,injector:l,environmentInjector:r??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return e.\u0275fac=function(n){return new(n||e)(D(Li),D(Ut),function ko(e){return function tM(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let o=0;for(;o<r;){const i=n[o];if(Xh(i))break;if(0===i)o+=2;else if("number"==typeof i)for(o++;o<r&&"string"==typeof n[o];)o++;else{if(i===t)return n[o+1];o+=2}}}return null}(Se(),e)}("name"),D(_i),D(kn))},e.\u0275dir=O({type:e,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0}),e})();class bF{constructor(t,n,r){this.route=t,this.childContexts=n,this.parent=r}get(t,n){return t===Kn?this.route:t===Li?this.childContexts:this.parent.get(t,n)}}let tf=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=Io({type:e,selectors:[["ng-component"]],standalone:!0,features:[Yy],decls:1,vars:0,template:function(n,r){1&n&&_n(0,"router-outlet")},dependencies:[ef],encapsulation:2}),e})();function tC(e,t){return e.providers&&!e._injector&&(e._injector=Js(e.providers,t,`Route: ${e.path}`)),e._injector??t}function rf(e){const t=e.children&&e.children.map(rf),n=t?{...e,children:t}:{...e};return!n.component&&!n.loadComponent&&(t||n.loadChildren)&&n.outlet&&n.outlet!==H&&(n.component=tf),n}function xt(e){return e.outlet||H}function nC(e,t){const n=e.filter(r=>xt(r)===t);return n.push(...e.filter(r=>xt(r)!==t)),n}function ki(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let t=e.parent;t;t=t.parent){const n=t.routeConfig;if(n?._loadedInjector)return n._loadedInjector;if(n?._injector)return n._injector}return null}class xF{constructor(t,n,r,o){this.routeReuseStrategy=t,this.futureState=n,this.currState=r,this.forwardEvent=o}activate(t){const n=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,r,t),Qd(this.futureState.root),this.activateChildRoutes(n,r,t)}deactivateChildRoutes(t,n,r){const o=yo(n);t.children.forEach(i=>{const s=i.value.outlet;this.deactivateRoutes(i,o[s],r),delete o[s]}),je(o,(i,s)=>{this.deactivateRouteAndItsChildren(i,r)})}deactivateRoutes(t,n,r){const o=t.value,i=n?n.value:null;if(o===i)if(o.component){const s=r.getContext(o.outlet);s&&this.deactivateChildRoutes(t,n,s.children)}else this.deactivateChildRoutes(t,n,r);else i&&this.deactivateRouteAndItsChildren(n,r)}deactivateRouteAndItsChildren(t,n){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,n):this.deactivateRouteAndOutlet(t,n)}detachAndStoreRouteSubtree(t,n){const r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=yo(t);for(const s of Object.keys(i))this.deactivateRouteAndItsChildren(i[s],o);if(r&&r.outlet){const s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,n){const r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=yo(t);for(const s of Object.keys(i))this.deactivateRouteAndItsChildren(i[s],o);r&&r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated(),r.attachRef=null,r.resolver=null,r.route=null)}activateChildRoutes(t,n,r){const o=yo(n);t.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new mF(i.value.snapshot))}),t.children.length&&this.forwardEvent(new pF(t.value.snapshot))}activateRoutes(t,n,r){const o=t.value,i=n?n.value:null;if(Qd(o),o===i)if(o.component){const s=r.getOrCreateContext(o.outlet);this.activateChildRoutes(t,n,s.children)}else this.activateChildRoutes(t,n,r);else if(o.component){const s=r.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){const a=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),Qd(a.route.value),this.activateChildRoutes(t,null,s.children)}
1else{const a=ki(o.snapshot),l=a?.get(ei)??null;s.attachRef=null,s.route=o,s.resolver=l,s.injector=a,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(t,null,s.children)}}else this.activateChildRoutes(t,null,r)}}class rC{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class ka{constructor(t,n){this.component=t,this.route=n}}function NF(e,t,n){const r=e._root;return Vi(r,t?t._root:null,n,[r.value])}function vo(e,t){const n=Symbol(),r=t.get(e,n);return r===n?"function"!=typeof e||function nb(e){return null!==Xi(e)}(e)?t.get(e):e:r}function Vi(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){const i=yo(t);return e.children.forEach(s=>{(function RF(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){const i=e.value,s=t?t.value:null,a=n?n.getContext(e.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){const l=function OF(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!vr(e.url,t.url);case"pathParamsOrQueryParamsChange":return!vr(e.url,t.url)||!on(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Yd(e,t)||!on(e.queryParams,t.queryParams);default:return!Yd(e,t)}}(s,i,i.routeConfig.runGuardsAndResolvers);l?o.canActivateChecks.push(new rC(r)):(i.data=s.data,i._resolvedData=s._resolvedData),Vi(e,t,i.component?a?a.children:null:n,r,o),l&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new ka(a.outlet.component,s))}else s&&ji(t,a,o),o.canActivateChecks.push(new rC(r)),Vi(e,null,i.component?a?a.children:null:n,r,o)})(s,i[s.value.outlet],n,r.concat([s.value]),o),delete i[s.value.outlet]}),je(i,(s,a)=>ji(s,n.getContext(a),o)),o}function ji(e,t,n){const r=yo(e),o=e.value;je(r,(i,s)=>{ji(i,o.component?t?t.children.getContext(s):null:t,n)}),n.canDeactivateChecks.push(new ka(o.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,o))}function Bi(e){return"function"==typeof e}function sf(e){return e instanceof Ma||"EmptyError"===e?.name}const Va=Symbol("INITIAL_VALUE");function _o(){return Tt(e=>_D(e.map(t=>t.pipe(An(1),function IO(...e){const t=Mo(e);return Re((n,r)=>{(t?Ii(e,n,t):Ii(e,n)).subscribe(r)})}(Va)))).pipe($(t=>{for(const n of t)if(!0!==n){if(n===Va)return Va;if(!1===n||n instanceof yr)return n}return!0}),Sn(t=>t!==Va),An(1)))}function oC(e){return function sE(...e){return rh(e)}(We(t=>{if(_r(t))throw QD(0,t)}),$(t=>!0===t))}const af={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function iC(e,t,n,r,o){const i=lf(e,t,n);return i.matched?function QF(e,t,n,r){const o=t.canMatch;return o&&0!==o.length?S(o.map(s=>{const a=vo(s,e);return qn(function BF(e){return e&&Bi(e.canMatch)}(a)?a.canMatch(t,n):e.runInContext(()=>a(t,n)))})).pipe(_o(),oC()):S(!0)}(r=tC(t,r),t,n).pipe($(s=>!0===s?i:{...af})):S(i)}function lf(e,t,n){if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?{...af}:{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};const o=(t.matcher||RO)(n,e,t);if(!o)return{...af};const i={};je(o.posParams,(a,l)=>{i[l]=a.path});const s=o.consumed.length>0?{...i,...o.consumed[o.consumed.length-1].parameters}:i;return{matched:!0,consumedSegments:o.consumed,remainingSegments:n.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function ja(e,t,n,r,o="corrected"){if(n.length>0&&function e1(e,t,n){return n.some(r=>Ba(e,t,r)&&xt(r)!==H)}(e,n,r)){const s=new U(t,function XF(e,t,n,r){const o={};o[H]=r,r._sourceSegment=e,r._segmentIndexShift=t.length;for(const i of n)if(""===i.path&&xt(i)!==H){const s=new U([],{});s._sourceSegment=e,s._segmentIndexShift=t.length,o[xt(i)]=s}return o}(e,t,r,new U(n,e.children)));return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:[]}}if(0===n.length&&function t1(e,t,n){return n.some(r=>Ba(e,t,r))}(e,n,r)){const s=new U(e.segments,function YF(e,t,n,r,o,i){const s={};for(const a of r)if(Ba(e,n,a)&&!o[xt(a)]){const l=new U([],{});l._sourceSegment=e,l._segmentIndexShift="legacy"===i?e.segments.length:t.length,s[xt(a)]=l}return{...o,...s}}(e,t,n,r,e.children,o));return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:n}}const i=new U(e.segments,e.children);return i._sourceSegment=e,i._segmentIndexShift=t.length,{segmentGroup:i,slicedSegments:n}}
1function Ba(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path}function sC(e,t,n,r){return!!(xt(e)===r||r!==H&&Ba(t,n,e))&&("**"===e.path||lf(t,e,n).matched)}function aC(e,t,n){return 0===t.length&&!e.children[n]}const $a=!1;class Ha{constructor(t){this.segmentGroup=t||null}}class lC{constructor(t){this.urlTree=t}}function $i(e){return Ai(new Ha(e))}function uC(e){return Ai(new lC(e))}class i1{constructor(t,n,r,o,i){this.injector=t,this.configLoader=n,this.urlSerializer=r,this.urlTree=o,this.config=i,this.allowRedirects=!0}apply(){const t=ja(this.urlTree.root,[],[],this.config).segmentGroup,n=new U(t.segments,t.children);return this.expandSegmentGroup(this.injector,this.config,n,H).pipe($(i=>this.createUrlTree(Ra(i),this.urlTree.queryParams,this.urlTree.fragment))).pipe(Wn(i=>{if(i instanceof lC)return this.allowRedirects=!1,this.match(i.urlTree);throw i instanceof Ha?this.noMatchError(i):i}))}match(t){return this.expandSegmentGroup(this.injector,this.config,t.root,H).pipe($(o=>this.createUrlTree(Ra(o),t.queryParams,t.fragment))).pipe(Wn(o=>{throw o instanceof Ha?this.noMatchError(o):o}))}noMatchError(t){return new C(4002,$a)}createUrlTree(t,n,r){const o=Ud(t);return new yr(o,n,r)}expandSegmentGroup(t,n,r,o){return 0===r.segments.length&&r.hasChildren()?this.expandChildren(t,n,r).pipe($(i=>new U([],i))):this.expandSegment(t,r,n,r.segments,o,!0)}expandChildren(t,n,r){const o=[];for(const i of Object.keys(r.children))"primary"===i?o.unshift(i):o.push(i);return _e(o).pipe(Mn(i=>{const s=r.children[i],a=nC(n,i);return this.expandSegmentGroup(t,a,s,i).pipe($(l=>({segment:l,outlet:i})))}),ED((i,s)=>(i[s.outlet]=s.segment,i),{}),bD())}expandSegment(t,n,r,o,i,s){return _e(r).pipe(Mn(a=>this.expandSegmentAgainstRoute(t,n,r,a,o,i,s).pipe(Wn(u=>{if(u instanceof Ha)return S(null);throw u}))),zn(a=>!!a),Wn((a,l)=>{if(sf(a))return aC(n,o,i)?S(new U([],{})):$i(n);throw a}))}expandSegmentAgainstRoute(t,n,r,o,i,s,a){return sC(o,n,i,s)?void 0===o.redirectTo?this.matchSegmentAgainstRoute(t,n,o,i,s):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s):$i(n):$i(n)}expandSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s){return"**"===o.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,r,o,s):this.expandRegularSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,r,o){const i=this.applyRedirectCommands([],r.redirectTo,{});return r.redirectTo.startsWith("/")?uC(i):this.lineralizeSegments(r,i).pipe(Ve(s=>{const a=new U(s,{});return this.expandSegment(t,a,n,s,o,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s){const{matched:a,consumedSegments:l,remainingSegments:u,positionalParamSegments:c}=lf(n,o,i);if(!a)return $i(n);const d=this.applyRedirectCommands(l,o.redirectTo,c);return o.redirectTo.startsWith("/")?uC(d):this.lineralizeSegments(o,d).pipe(Ve(f=>this.expandSegment(t,n,r,f.concat(u),s,!1)))}matchSegmentAgainstRoute(t,n,r,o,i){return"**"===r.path?(t=tC(r,t),r.loadChildren?(r._loadedRoutes?S({routes:r._loadedRoutes,injector:r._loadedInjector}):this.configLoader.loadChildren(t,r)).pipe($(a=>(r._loadedRoutes=a.routes,r._loadedInjector=a.injector,new U(o,{})))):S(new U(o,{}))):iC(n,r,o,t).pipe(Tt(({matched:s,consumedSegments:a,remainingSegments:l})=>s?this.getChildConfig(t=r._injector??t,r,o).pipe(Ve(c=>{const d=c.injector??t,f=c.routes,{segmentGroup:h,slicedSegments:p}=ja(n,a,l,f),g=new U(h.segments,h.children);if(0===p.length&&g.hasChildren())return this.expandChildren(d,f,g).pipe($(y=>new U(a,y)));if(0===f.length&&0===p.length)return S(new U(a,{}));const m=xt(r)===i;return this.expandSegment(d,g,f,p,m?H:i,!0).pipe($(w=>new U(a.concat(w.segments),w.children)))})):$i(n)))}getChildConfig(t,n,r){return n.children?S({routes:n.children,injector:t}):n.loadChildren?void 0!==n._loadedRoutes?S({routes:n._loadedRoutes,injector:n._loadedInjector}):function ZF(e,t,n,r){const o=t.canLoad;return void 0===o||0===o.length?S(!0):S(o.map(s=>{const a=vo(s,e);return qn(function LF(e){return e&&Bi(e.canLoad)}(a)?a.canLoad(t,n):e.runInContext(()=>a(t,n)))})).pipe(_o(),oC())}
1(t,n,r).pipe(Ve(o=>o?this.configLoader.loadChildren(t,n).pipe(We(i=>{n._loadedRoutes=i.routes,n._loadedInjector=i.injector})):function r1(e){return Ai(YD($a,3))}())):S({routes:[],injector:t})}lineralizeSegments(t,n){let r=[],o=n.root;for(;;){if(r=r.concat(o.segments),0===o.numberOfChildren)return S(r);if(o.numberOfChildren>1||!o.children[H])return Ai(new C(4e3,$a));o=o.children[H]}}applyRedirectCommands(t,n,r){return this.applyRedirectCreateUrlTree(n,this.urlSerializer.parse(n),t,r)}applyRedirectCreateUrlTree(t,n,r,o){const i=this.createSegmentGroup(t,n.root,r,o);return new yr(i,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(t,n){const r={};return je(t,(o,i)=>{if("string"==typeof o&&o.startsWith(":")){const a=o.substring(1);r[i]=n[a]}else r[i]=o}),r}createSegmentGroup(t,n,r,o){const i=this.createSegments(t,n.segments,r,o);let s={};return je(n.children,(a,l)=>{s[l]=this.createSegmentGroup(t,a,r,o)}),new U(i,s)}createSegments(t,n,r,o){return n.map(i=>i.path.startsWith(":")?this.findPosParam(t,i,o):this.findOrReturn(i,r))}findPosParam(t,n,r){const o=r[n.path.substring(1)];if(!o)throw new C(4001,$a);return o}findOrReturn(t,n){let r=0;for(const o of n){if(o.path===t.path)return n.splice(r),o;r++}return t}}class a1{}class c1{constructor(t,n,r,o,i,s,a,l){this.injector=t,this.rootComponentType=n,this.config=r,this.urlTree=o,this.url=i,this.paramsInheritanceStrategy=s,this.relativeLinkResolution=a,this.urlSerializer=l}recognize(){const t=ja(this.urlTree.root,[],[],this.config.filter(n=>void 0===n.redirectTo),this.relativeLinkResolution).segmentGroup;return this.processSegmentGroup(this.injector,this.config,t,H).pipe($(n=>{if(null===n)return null;const r=new Fa([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},H,this.rootComponentType,null,this.urlTree.root,-1,{}),o=new xn(r,n),i=new JD(this.url,o);return this.inheritParamsAndData(i._root),i}))}inheritParamsAndData(t){const n=t.value,r=KD(n,this.paramsInheritanceStrategy);n.params=Object.freeze(r.params),n.data=Object.freeze(r.data),t.children.forEach(o=>this.inheritParamsAndData(o))}processSegmentGroup(t,n,r,o){return 0===r.segments.length&&r.hasChildren()?this.processChildren(t,n,r):this.processSegment(t,n,r,r.segments,o)}processChildren(t,n,r){return _e(Object.keys(r.children)).pipe(Mn(o=>{const i=r.children[o],s=nC(n,o);return this.processSegmentGroup(t,s,i,o)}),ED((o,i)=>o&&i?(o.push(...i),o):null),function xO(e,t=!1){return Re((n,r)=>{let o=0;n.subscribe(Me(r,i=>{const s=e(i,o++);(s||t)&&r.next(i),!s&&r.complete()}))})}(o=>null!==o),Ia(null),bD(),$(o=>{if(null===o)return null;const i=cC(o);return function d1(e){e.sort((t,n)=>t.value.outlet===H?-1:n.value.outlet===H?1:t.value.outlet.localeCompare(n.value.outlet))}(i),i}))}processSegment(t,n,r,o,i){return _e(n).pipe(Mn(s=>this.processSegmentAgainstRoute(s._injector??t,s,r,o,i)),zn(s=>!!s),Wn(s=>{if(sf(s))return aC(r,o,i)?S([]):S(null);throw s}))}processSegmentAgainstRoute(t,n,r,o,i){if(n.redirectTo||!sC(n,r,o,i))return S(null);let s;if("**"===n.path){const a=o.length>0?ID(o).parameters:{},l=fC(r)+o.length;s=S({snapshot:new Fa(o,a,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,pC(n),xt(n),n.component??n._loadedComponent??null,n,dC(r),l,gC(n),l),consumedSegments:[],remainingSegments:[]})}else s=iC(r,n,o,t).pipe($(({matched:a,consumedSegments:l,remainingSegments:u,parameters:c})=>{if(!a)return null;const d=fC(r)+l.length;return{snapshot:new Fa(l,c,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,pC(n),xt(n),n.component??n._loadedComponent??null,n,dC(r),d,gC(n),d),consumedSegments:l,remainingSegments:u}}));return s.pipe(Tt(a=>{if(null===a)return S(null);const{snapshot:l,consumedSegments:u,remainingSegments:c}=a;t=n._injector??t;const d=n._loadedInjector??t,f=function f1(e){return e.children?e.children:e.loadChildren?e._loadedRoutes:[]}(n),{segmentGroup:h,slicedSegments:p}=ja(r,u,c,f.filter(m=>void 0===m.redirectTo),this.relativeLinkResolution);if(0===p.length&&h.hasChildren())return this.processChildren(d,f,h).pipe($(m=>null===m?null:[new xn(l,m)]));if(0===f.length&&0===p.length)return S([new xn(l,[])]);const g=xt(n)===i;return this.processSegment(d,f,h,p,g?H:i).pipe($(m=>null===m?null:[new xn(l,m)]))}))}}function h1(e){const t=e.value.routeConfig;return t&&""===t.path&&void 0===t.redirectTo}function cC(e){const t=[],n=new Set;for(const r of e){if(!h1(r)){t.push(r);continue}const o=t.find(i=>r.value.routeConfig===i.value.routeConfig);void 0!==o?(o.children.push(...r.children),n.add(o)):t.push(r)}for(const r of n){const o=cC(r.children);t.push(new xn(r.value,o))}return t.filter(r=>!n.has(r))}function dC(e){let t=e;for(;t._sourceSegment;)t=t._sourceSegment;return t}function fC(e){let t=e,n=t._segmentIndexShift??0;for(;t._sourceSegment;)t=t._sourceSegment,n+=t._segmentIndexShift??0;return n-1}function pC(e){return e.data||{}}function gC(e){return e.resolve||{}}function mC(e){return"string"==typeof e.title||null===e.title}function uf(e){return Tt(t=>{const n=e(t);return n?_e(n).pipe($(()=>t)):S(t)})}let yC=(()=>{class e{buildTitle(n){let r,o=n.root;for(;void 0!==o;)r=this.getResolvedTitleForRoute(o)??r,o=o.children.find(i=>i.outlet===H);return r}getResolvedTitleForRoute(n){return n.data[Ti]}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=T({token:e,factory:function(){return ge(vC)},providedIn:"root"}),e})(),vC=(()=>{class e extends yC{constructor(n){super(),this.title=n}updateTitle(n){const r=this.buildTitle(n);void 0!==r&&this.title.setTitle(r)}}return e.\u0275fac=function(n){return new(n||e)(M(nD))},e.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();class C1{}class E1 extends class w1{shouldDetach(t){return!1}store(t,n){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,n){return t.routeConfig===n.routeConfig}}{}const Ga=new I("",{providedIn:"root",factory:()=>({})}),cf=new I("ROUTES");let df=(()=>{class e{constructor(n,r){this.injector=n,this.compiler=r,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return S(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);const r=qn(n.loadComponent()).pipe(We(i=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=i}),jd(()=>{this.componentLoaders.delete(n)})),o=new CD(r,()=>new Nt).pipe(kd());return this.componentLoaders.set(n,o),o}loadChildren(n,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return S({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);const i=this.loadModuleFactoryOrRoutes(r.loadChildren).pipe($(a=>{this.onLoadEndListener&&this.onLoadEndListener(r);let l,u,c=!1;Array.isArray(a)?u=a:(l=a.create(n).injector,u=SD(l.get(cf,[],N.Self|N.Optional)));return{routes:u.map(rf),injector:l}}),jd(()=>{this.childrenLoaders.delete(r)})),s=new CD(i,()=>new Nt).pipe(kd());return this.childrenLoaders.set(r,s),s}loadModuleFactoryOrRoutes(n){return qn(n()).pipe(Ve(r=>r instanceof Zy||Array.isArray(r)?S(r):_e(this.compiler.compileModuleAsync(r))))}}return e.\u0275fac=function(n){return new(n||e)(M(vt),M(Wc))},e.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();class M1{}class S1{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,n){return t}}function I1(e){throw e}function A1(e,t,n){return t.parse("/")}const T1={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},x1={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function DC(){const e=ge(RD),t=ge(Li),n=ge(ad),r=ge(vt),o=ge(Wc),i=ge(cf,{optional:!0})??[],s=ge(Ga,{optional:!0})??{},a=ge(vC),l=ge(yC,{optional:!0}),u=ge(M1,{optional:!0}),c=ge(C1,{optional:!0}),d=new Be(null,e,t,n,r,o,SD(i));return u&&(d.urlHandlingStrategy=u),c&&(d.routeReuseStrategy=c),d.titleStrategy=l??a,function N1(e,t){e.errorHandler&&(t.errorHandler=e.errorHandler),e.malformedUriErrorHandler&&(t.malformedUriErrorHandler=e.malformedUriErrorHandler),e.onSameUrlNavigation&&(t.onSameUrlNavigation=e.onSameUrlNavigation),e.paramsInheritanceStrategy&&(t.paramsInheritanceStrategy=e.paramsInheritanceStrategy),e.relativeLinkResolution&&(t.relativeLinkResolution=e.relativeLinkResolution),e.urlUpdateStrategy&&(t.urlUpdateStrategy=e.urlUpdateStrategy),e.canceledNavigationResolution&&(t.canceledNavigationResolution=e.canceledNavigationResolution)}(s,d),d}let Be=(()=>{class e{constructor(n,r,o,i,s,a,l){this.rootComponentType=n,this.urlSerializer
1=r,this.rootContexts=o,this.location=i,this.config=l,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new Nt,this.errorHandler=I1,this.malformedUriErrorHandler=A1,this.navigated=!1,this.lastSuccessfulId=-1,this.afterPreactivation=()=>S(void 0),this.urlHandlingStrategy=new S1,this.routeReuseStrategy=new E1,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.configLoader=s.get(df),this.configLoader.onLoadEndListener=f=>this.triggerEvent(new fF(f)),this.configLoader.onLoadStartListener=f=>this.triggerEvent(new dF(f)),this.ngModule=s.get(pr),this.console=s.get(Hx);const d=s.get(Ne);this.isNgZoneEnabled=d instanceof Ne&&Ne.isInAngularZone(),this.resetConfig(l),this.currentUrlTree=function FO(){return new yr(new U([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=qD(this.currentUrlTree,this.rootComponentType),this.transitions=new qt({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){return this.location.getState()?.\u0275routerPageId}setupNavigations(n){const r=this.events;return n.pipe(Sn(o=>0!==o.id),$(o=>({...o,extractedUrl:this.urlHandlingStrategy.extract(o.rawUrl)})),Tt(o=>{let i=!1,s=!1;
1return S(o).pipe(We(a=>{this.currentNavigation={id:a.id,initialUrl:a.rawUrl,extractedUrl:a.extractedUrl,trigger:a.source,extras:a.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),Tt(a=>{const l=this.browserUrlTree.toString(),u=!this.navigated||a.extractedUrl.toString()!==l||l!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||u)&&this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return CC(a.source)&&(this.browserUrlTree=a.extractedUrl),S(a).pipe(Tt(d=>{const f=this.transitions.getValue();return r.next(new qd(d.id,this.serializeUrl(d.extractedUrl),d.source,d.restoredState)),f!==this.transitions.getValue()?ln:Promise.resolve(d)}),function s1(e,t,n,r){return Tt(o=>function o1(e,t,n,r,o){return new i1(e,t,n,r,o).apply()}(e,t,n,o.extractedUrl,r).pipe($(i=>({...o,urlAfterRedirects:i}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),We(d=>{this.currentNavigation={...this.currentNavigation,finalUrl:d.urlAfterRedirects},o.urlAfterRedirects=d.urlAfterRedirects}),function g1(e,t,n,r,o,i){return Ve(s=>function u1(e,t,n,r,o,i,s="emptyOnly",a="legacy"){return new c1(e,t,n,r,o,s,a,i).recognize().pipe(Tt(l=>null===l?function l1(e){return new fe(t=>t.error(e))}(new a1):S(l)))}(e,t,n,s.urlAfterRedirects,r.serialize(s.urlAfterRedirects),r,o,i).pipe($(a=>({...s,targetSnapshot:a}))))}(this.ngModule.injector,this.rootComponentType,this.config,this.urlSerializer,this.paramsInheritanceStrategy,this.relativeLinkResolution),We(d=>{if(o.targetSnapshot=d.targetSnapshot,"eager"===this.urlUpdateStrategy){if(!d.extras.skipLocationChange){const h=this.urlHandlingStrategy.merge(d.urlAfterRedirects,d.rawUrl);this.setBrowserUrl(h,d)}this.browserUrlTree=d.urlAfterRedirects}const f=new sF(d.id,this.serializeUrl(d.extractedUrl),this.serializeUrl(d.urlAfterRedirects),d.targetSnapshot);r.next(f)}));if(u&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:f,extractedUrl:h,source:p,restoredState:g,extras:m}=a,v=new qd(f,this.serializeUrl(h),p,g);r.next(v);const w=qD(h,this.rootComponentType).snapshot;return S(o={...a,targetSnapshot:w,urlAfterRedirects:h,extras:{...m,skipLocationChange:!1,replaceUrl:!1}})}return this.rawUrlTree=a.rawUrl,a.resolve(null),ln}),We(a=>{const l=new aF(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot);this.triggerEvent(l)}),$(a=>o={...a,guards:NF(a.targetSnapshot,a.currentSnapshot,this.rootContexts)}),function HF(e,t){return Ve(n=>{const{targetSnapshot:r,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=n;return 0===s.length&&0===i.length?S({...n,guardsResult:!0}):function UF(e,t,n,r){return _e(e).pipe(Ve(o=>function JF(e,t,n,r,o){const i=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return i&&0!==i.length?S(i.map(a=>{const l=ki(t)??o,u=vo(a,l);return qn(function jF(e){return e&&Bi(e.canDeactivate)}(u)?u.canDeactivate(e,t,n,r):l.runInContext(()=>u(e,t,n,r))).pipe(zn())})).pipe(_o()):S(!0)}(o.component,o.route,n,t,r)),zn(o=>!0!==o,!0))}(s,r,o,e).pipe(Ve(a=>a&&function FF(e){return"boolean"==typeof e}(a)?function GF(e,t,n,r){return _e(t).pipe(Mn(o=>Ii(function WF(e,t){return null!==e&&t&&t(new hF(e)),S(!0)}(o.route.parent,r),function zF(e,t){return null!==e&&t&&t(new gF(e)),S(!0)}(o.route,r),function KF(e,t,n){const r=t[t.length-1],i=t.slice(0,t.length-1).reverse().map(s=>function PF(e){const t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null}(s)).filter(s=>null!==s).map(s=>Sa(()=>S(s.guards.map(l=>{const u=ki(s.node)??n,c=vo(l,u);return qn(function VF(e){return e&&Bi(e.canActivateChild)}(c)?c.canActivateChild(r,e):u.runInContext(()=>c(r,e))).pipe(zn())})).pipe(_o())));return S(i).pipe(_o())}(e,o.path,n),function qF(e,t,n){const r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||0===r.length)return S(!0);const o=r.map(i=>Sa(()=>{const s=ki(t)??n,a=vo(i,s);return qn(function kF(e){return e&&Bi(e.canActivate)}(a)?a.canActivate(t,e):s.runInContext(()=>a(t,e))).pipe(zn())}));return S(o).pipe(_o())}(e,o.route,n))),zn(o=>!0!==o,!0))}(r,i,e,t):S(a)),$(a=>({...n,guardsResult:a})))})}(this.ngModule.injector,a=>this.triggerEvent(a)),We(a=>{if(o.guardsResult=a.guardsResult,_r(a.guardsResult))throw QD(0,a.guardsResult);const l=new lF(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);this.triggerEvent(l)}),Sn(a=>!!a.guardsResult||(this.restoreHistory(a),this.cancelNavigationTransition(a,"",3),!1)),uf(a=>{if(a.guards.canActivateChecks.length)return S(a).pipe(We(l=>{const u=new uF(l.id,this.serializeUrl(l.extractedUrl),this.serializeUrl(l.urlAfterRedirects),l.targetSnapshot);this.triggerEvent(u)}),Tt(l=>{let u=!1;return S(l).pipe(function m1(e,t){return Ve(n=>{const{targetSnapshot:r,guards:{canActivateChecks:o}}=n;if(!o.length)return S(n);let i=0;return _e(o).pipe(Mn(s=>function y1(e,t,n,r){const o=e.routeConfig,i=e._resolve;return void 0!==o?.title&&!mC(o)&&(i[Ti]=o.title),function v1(e,t,n,r){const o=function _1(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}(e);if(0===o.length)return S({});const i={};return _e(o).pipe(Ve(s=>function D1(e,t,n,r){const o=ki(t)??r,i=vo(e,o);return qn(i.resolve?i.resolve(t,n):o.runInContext(()=>i(t,n)))}(e[s],t,n,r).pipe(zn(),We(a=>{i[s]=a}))),Vd(1),function NO(e){return $(()=>e)}(i),Wn(s=>sf(s)?ln:Ai(s)))}(i,e,t,r).pipe($(s=>(e._resolvedData=s,e.data=KD(e,n).resolve,o&&mC(o)&&(e.data[Ti]=o.title),null)))}(s.route,r,e,t)),We(()=>i++),Vd(1),Ve(s=>i===o.length?S(n):ln))})}(this.paramsInheritanceStrategy,this.ngModule.injector),We({next:()=>u=!0,complete:()=>{u||(this.restoreHistory(l),this.cancelNavigationTransition(l,"",2))}}))}),We(l=>{const u=new cF(l.id,this.serializeUrl(l.extractedUrl),this.serializeUrl(l.urlAfterRedirects),l.targetSnapshot);this.triggerEvent(u)}))}),uf(a=>{const l=u=>{const c=[];u.routeConfig?.loadComponent&&!u.routeConfig._loadedComponent&&c.push(this.configLoader.loadComponent(u.routeConfig).pipe(We(d=>{u.component=d}),$(()=>{})));for(const d of u.children)c.push(...l(d));return c};return _D(l(a.targetSnapshot.root)).pipe(Ia(),An(1))}),uf(()=>this.afterPreactivation()),$(a=>{const l=function DF(e,t,n){const r=Fi(e,t._root,n?n._root:void 0);return new WD(r,t)}(this.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);return o={...a,targetRouterState:l}}),We(a=>{this.currentUrlTree=a.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(a.urlAfterRedirects,a.rawUrl),this.routerState=a.targetRouterState,"deferred"===this.urlUpdateStrategy&&(a.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,a),this.browserUrlTree=a.urlAfterRedirects)}),((e,t,n)=>$(r=>(new xF(t,r.targetRouterState,r.currentRouterState,n).activate(e),r)))(this.rootContexts,this.routeReuseStrategy,a=>this.triggerEvent(a)),We({next(){i=!0},complete(){i=!0}}),jd(()=>{i||s||this.cancelNavigationTransition(o,"",1),this.currentNavigation?.id===o.id&&(this.currentNavigation=null)}),Wn(a=>{if(s=!0,eC(a)){XD(a)||(this.navigated=!0,this.restoreHistory(o,!0));const l=new Oa(o.id,this.serializeUrl(o.extractedUrl),a.message,a.cancellationCode);if(r.next(l),XD(a)){const u=this.urlHandlingStrategy.merge(a.url,this.rawUrlTree),c={skipLocationChange:o.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||CC(o.source)};this.scheduleNavigation(u,"imperative",null,c,{resolve:o.resolve,reject:o.reject,promise:o.promise})}else o.resolve(!1)}else{this.restoreHistory(o,!0);const l=new UD(o.id,this.serializeUrl(o.extractedUrl),a,o.targetSnapshot??void 0);r.next(l);try{o.resolve(this.errorHandler(a))}catch(u){o.reject(u)}}return ln}))}))}resetRootComponentType(n){this.rootComponentType=n,this.routerState.root.component=this.rootComponentType}setTransition(n){this.transitions.next({...this.transitions.value,...n})}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(n=>{const r="popstate"===n.type?"popstate":"hashchange";"popstate"===r&&setTimeout(()=>{const o={replaceUrl:!0},i=n.state?.navigationId?n.state:null;if(i){const a={...i};delete a.navigationId,delete a.\u0275routerPageId,0!==Object.keys(a).length&&(o.state=a)}const s=this.parseUrl(n.url);this.scheduleNavigation(s,r,i,o)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(n){this.events.next(n)}resetConfig(n){this.config=n.map(rf),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(n,r={}){const{relativeTo:o,queryParams:i,fragment:s,queryParamsHandling:a,preserveFragment:l}=r,u=o||this.routerState.root,c=l?this.currentUrlTree.fragment:s;let d=null;switch(a){case"merge":d={...this.currentUrlTree.queryParams,...i};break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=i||null}return null!==d&&(d=this.removeEmptyProps(d)),eF(u,this.currentUrlTree,n,d,c??null)}navigateByUrl(n,r={skipLocationChange:!1}){const o=_r(n)?n:this.parseUrl(n),i=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(i,"imperative",null,r)}navigate(n,r={skipLocationChange:!1}){return function P1(e){for(let t=0;t<e.length;t++){if(null==e[t])throw new C(4008,false)}}(n),this.navigateByUrl(this.createUrlTree(n,r),r)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){let r;try{r=this.urlSerializer.parse(n)}catch(o){r=this.malformedUriErrorHandler(o,this.urlSerializer,n)}return r}isActive(n,r){let o;if(o=!0===r?{...T1}:!1===r?{...x1}:r,_r(n))return TD(this.currentUrlTree,n,o);const i=this.parseUrl(n);return TD(this.currentUrlTree,i,o)}removeEmptyProps(n){return Object.keys(n).reduce((r,o)=>{const i=n[o];return null!=i&&(r[o]=i),r},{})}processNavigations(){this.navigations.subscribe(n=>{this.navigated=!0,this.lastSuccessfulId=n.id,this.currentPageId=n.targetPageId,this.events.next(new Dr(n.id,this.serializeUrl(n.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.titleStrategy?.updateTitle(this.routerState.snapshot),n.resolve(!0)},n=>{this.console.warn(`Unhandled Navigation Error: ${n}`)})}scheduleNavigation(n,r,o,i,s){if(this.disposed)return Promise.resolve(!1);let a,l,u;s?(a=s.resolve,l=s.reject,u=s.promise):u=new Promise((f,h)=>{a=f,l=h});const c=++this.navigationId;let d;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(o=this.location.getState()),d=o&&o.\u0275routerPageId?o.\u0275routerPageId:i.replaceUrl||i.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1):d=0,this.setTransition({id:c,targetPageId:d,source:r,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:n,extras:i,resolve:a,reject:l,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(f=>Promise.reject(f))}setBrowserUrl(n,r){const o=this.urlSerializer.serialize(n),i={...r.extras.state,...this.generateNgRouterState(r.id,r.targetPageId)};this.location.isCurrentPathEqualTo(o)||r.extras.replaceUrl?this.location.replaceState(o,"",i):this.location.go(o,"",i)}restoreHistory(n,r=!1){if("computed"===this.canceledNavigationResolution){const o=this.currentPageId-n.targetPageId;"popstate"!==n.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.currentNavigation?.finalUrl||0===o?this.currentUrlTree===this.currentNavigation?.finalUrl&&0===o&&(this.resetState(n),this.browserUrlTree=n.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(o)}else"replace"===this.canceledNavigationResolution&&(r&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=n.currentRouterState,this.currentUrlTree=n.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(n,r,o){const i=new Oa(n.id,this.serializeUrl(n.extractedUrl),r,o);this.triggerEvent(i),n.resolve(!1)}generateNgRouterState(n,r){return"computed"===this.canceledNavigationResolution?{navigationId:n,\u0275routerPageId:r}:{navigationId:n}}}return e.\u0275fac=function(n){Uu()},e.\u0275prov=T({token:e,factory:function(){return DC()},providedIn:"root"}),e})();function CC(e){return"imperative"!==e}class wC{}let F1=(()=>{class e{constructor(n,r,o,i,s){this.router=n,this.injector=o,this.preloadingStrategy=i,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe(Sn(n=>n instanceof Dr),Mn(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,r){const o=[];for(const i of r){i.providers&&!i._injector&&(i._injector=Js(i.providers,n,`Route: ${i.path}`));const s=i._injector??n,a=i._loadedInjector??s;i.loadChildren&&!i._loadedRoutes&&void 0===i.canLoad||i.loadComponent&&!i._loadedComponent?o.push(this.preloadConfig(s,i)):(i.children||i._loadedRoutes)&&o.push(this.processRoutes(a,i.children??i._loadedRoutes))}return _e(o).pipe(Sr())}preloadConfig(n,r){return this.preloadingStrategy.preload(r,()=>{let o;o=r.loadChildren&&void 0===r.canLoad?this.loader.loadChildren(n,r):S(null);const i=o.pipe(Ve(s=>null===s?S(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,this.processRoutes(s.injector??n,s.routes))));return r.loadComponent&&!r._loadedComponent?_e([i,this.loader.loadComponent(r)]).pipe(Sr()):i})}}return e.\u0275fac=function(n){return new(n||e)(M(Be),M(Wc),M(kn),M(wC),M(df))},e.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const pf=new I("");let EC=(()=>{class e{constructor(n,r,o={}){this.router=n,this.viewportScroller=r,this.options=o,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},o.scrollPositionRestoration=o.scrollPositionRestoration||"disabled",o.anchorScrolling=o.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(n=>{n instanceof qd?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof Dr&&(this.lastId=n.id,this.scheduleScrollEvent(n,this.router.parseUrl(n.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(n=>{n instanceof GD&&(n.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(n.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,r){this.router.triggerEvent(new GD(n,"popstate"===this.lastSource?this.store[this.restoredId]:null,r))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return e.\u0275fac=function(n){Uu()},e.\u0275prov=T({token:e,factory:e.\u0275fac}),e})();function Do(e,t){return{\u0275kind:e,\u0275providers:t}}function gf(e){return[{provide:cf,multi:!0,useValue:e}]}function MC(){const e=ge(vt);return t=>{const n=e.get(na);if(t!==n.components[0])return;const r=e.get(Be),o=e.get(SC);1===e.get(mf)&&r.initialNavigation(),e.get(IC,null,N.Optional)?.setUpPreloading(),e.get(pf,null,N.Optional)?.init(),r.resetRootComponentType(n.componentTypes[0]),o.closed||(o.next(),o.unsubscribe())}}const SC=new I("",{factory:()=>new Nt}),mf=new I("",{providedIn:"root
1",factory:()=>1});const IC=new I("");function j1(e){return Do(0,[{provide:IC,useExisting:F1},{provide:wC,useExisting:e}])}const AC=new I("ROUTER_FORROOT_GUARD"),B1=[ad,{provide:RD,useClass:$d},{provide:Be,useFactory:DC},Li,{provide:Kn,useFactory:function bC(e){return e.routerState.root},deps:[Be]},df];function $1(){return new zv("Router",Be)}let TC=(()=>{class e{constructor(n){}static forRoot(n,r){return{ngModule:e,providers:[B1,[],gf(n),{provide:AC,useFactory:z1,deps:[[Be,new Go,new zo]]},{provide:Ga,useValue:r||{}},r?.useHash?{provide:mr,useClass:xN}:{provide:mr,useClass:m_},{provide:pf,useFactory:()=>{const e=ge(Be),t=ge(QP),n=ge(Ga);return n.scrollOffset&&t.setOffset(n.scrollOffset),new EC(e,t,n)}},r?.preloadingStrategy?j1(r.preloadingStrategy).\u0275providers:[],{provide:zv,multi:!0,useFactory:$1},r?.initialNavigation?W1(r):[],[{provide:xC,useFactory:MC},{provide:Vv,multi:!0,useExisting:xC}]]}}static forChild(n){return{ngModule:e,providers:[gf(n)]}}}return e.\u0275fac=function(n){return new(n||e)(M(AC,8))},e.\u0275mod=ct({type:e}),e.\u0275inj=ot({imports:[tf]}),e})();function z1(e){return"guarded"}function W1(e){return["disabled"===e.initialNavigation?Do(3,[{provide:Xs,multi:!0,useFactory:()=>{const t=ge(Be);return()=>{t.setUpLocationChangeListener()}}},{provide:mf,useValue:2}]).\u0275providers:[],"enabledBlocking"===e.initialNavigation?Do(2,[{provide:mf,useValue:0},{provide:Xs,multi:!0,deps:[vt],useFactory:t=>{const n=t.get(AN,Promise.resolve());let r=!1;return()=>n.then(()=>new Promise(i=>{const s=t.get(Be),a=t.get(SC);(function o(i){t.get(Be).events.pipe(Sn(a=>a instanceof Dr||a instanceof Oa||a instanceof UD),$(a=>a instanceof Dr||a instanceof Oa&&(0===a.code||1===a.code)&&null),Sn(a=>null!==a),An(1)).subscribe(()=>{i()})})(()=>{i(!0),r=!0}),s.afterPreactivation=()=>(i(!0),r||a.closed?S(void 0):a),s.initialNavigation()}))}}]).\u0275providers:[]]}const xC=new I(""),K1=[];let J1=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=ct({type:e}),e.\u0275inj=ot({imports:[TC.forRoot(K1),TC]}),e})(),NC=(()=>{class e{constructor(n){this.http=n}postApiLogin(n,r){return this.http.post("https://forsales.it/licenze_fs/remotoLoginNew.php",{login:n,passwd:r})}}return e.\u0275fac=function(n){return new(n||e)(M(Rd))},e.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Le=void 0,Q1=["it",[["m.","p."],["AM","PM"],Le],Le,[["D","L","M","M","G","V","S"],["dom","lun","mar","mer","gio","ven","sab"],["domenica","luned\xec","marted\xec","mercoled\xec","gioved\xec","venerd\xec","sabato"],["dom","lun","mar","mer","gio","ven","sab"]],Le,[["G","F","M","A","M","G","L","A","S","O","N","D"],["gen","feb","mar","apr","mag","giu","lug","ago","set","ott","nov","dic"],["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre"]],Le,[["aC","dC"],["a.C.","d.C."],["avanti Cristo","dopo Cristo"]],1,[6,0],["dd/MM/yy","d MMM y","d MMMM y","EEEE d MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1}, {0}",Le,"{1} {0}",Le],[",",".",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","#,##0.00\xa0\xa4","#E0"],"EUR","\u20ac","euro",{BRL:[Le,"R$"],BYN:[Le,"Br"],EGP:[Le,"\xa3E"],HKD:[Le,"$"],INR:[Le,"\u20b9"],JPY:[Le,"\xa5"],KRW:[Le,"\u20a9"],MXN:[Le,"$"],NOK:[Le,"NKr"],THB:["\u0e3f"],TWD:[Le,"NT$"],USD:[Le,"$"],VND:[Le,"\u20ab"]},"ltr",function Z1(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length,o=parseInt(e.toString().replace(/^[^e]*(e([-+]?\d+))?/,"$2"))||0;return 1===n&&0===r?1:0===o&&0!==n&&n%1e6==0&&0===r||!(o>=0&&o<=5)?4:5}],Cr=void 0,X1=["en",[["a","p"],["AM","PM"],Cr],[["AM","PM"],Cr,Cr],[["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"]],Cr,[["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"]],Cr,[["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}
1, {0}",Cr,"{1} 'at' {0}",Cr],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function Y1(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}],ke=void 0,tL=["de",[["AM","PM"],ke,ke],ke,[["S","M","D","M","D","F","S"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."],["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."]],[["S","M","D","M","D","F","S"],["So","Mo","Di","Mi","Do","Fr","Sa"],["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."]],[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan.","Feb.","M\xe4rz","Apr.","Mai","Juni","Juli","Aug.","Sept.","Okt.","Nov.","Dez."],["Januar","Februar","M\xe4rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]],[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","M\xe4r","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],["Januar","Februar","M\xe4rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]],[["v. Chr.","n. Chr."],ke,ke],1,[6,0],["dd.MM.yy","dd.MM.y","d. MMMM y","EEEE, d. MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1}, {0}",ke,"{1} 'um' {0}",ke],[",",".",";","%","+","-","E","\xb7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0\xa0%","#,##0.00\xa0\xa4","#E0"],"EUR","\u20ac","Euro",{ATS:["\xf6S"],AUD:["AU$","$"],BGM:["BGK"],BGO:["BGJ"],BYN:[ke,"\u0440."],CUC:[ke,"Cub$"],DEM:["DM"],FKP:[ke,"Fl\xa3"],GHS:[ke,"\u20b5"],GNF:[ke,"F.G."],KMF:[ke,"FC"],PHP:[ke,"\u20b1"],RON:[ke,"L"],RUR:[ke,"\u0440."],RWF:[ke,"F.Rw"],SYP:[],THB:["\u0e3f"],TWD:["NT$"],XXX:[],ZMW:[ke,"K"]},"ltr",function eL(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}],ve=void 0,rL=["fr",[["AM","PM"],ve,ve],ve,[["D","L","M","M","J","V","S"],["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],["di","lu","ma","me","je","ve","sa"]],ve,[["J","F","M","A","M","J","J","A","S","O","N","D"],["janv.","f\xe9vr.","mars","avr.","mai","juin","juil.","ao\xfbt","sept.","oct.","nov.","d\xe9c."],["janvier","f\xe9vrier","mars","avril","mai","juin","juillet","ao\xfbt","septembre","octobre","novembre","d\xe9cembre"]],ve,[["av. J.-C.","ap. J.-C."],ve,["avant J\xe9sus-Christ","apr\xe8s J\xe9sus-Christ"]],1,[6,0],["dd/MM/y","d MMM y","d MMMM y","EEEE d MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1} {0}","{1}, {0}","{1} '\xe0' {0}",ve],[",","\u202f",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0\xa0%","#,##0.00\xa0\xa4","#E0"],"EUR","\u20ac","euro",{ARS:["$AR","$"],AUD:["$AU","$"],BEF:["FB"],BMD:["$BM","$"],BND:["$BN","$"],BYN:[ve,"\u0440."],BZD:["$BZ","$"],CAD:["$CA","$"],CLP:["$CL","$"],CNY:[ve,"\xa5"],COP:["$CO","$"],CYP:["\xa3CY"],EGP:[ve,"\xa3E"],FJD:["$FJ","$"],FKP:["\xa3FK","\xa3"],FRF:["F"],GBP:["\xa3GB","\xa3"],GIP:["\xa3GI","\xa3"],HKD:[ve,"$"],IEP:["\xa3IE"],ILP:["\xa3IL"],ITL:["\u20a4IT"],JPY:[ve,"\xa5"],KMF:[ve,"FC"],LBP:["\xa3LB","\xa3L"],MTP:["\xa3MT"],MXN:["$MX","$"],NAD:["$NA","$"],NIO:[ve,"$C"],NZD:["$NZ","$"],PHP:[ve,"\u20b1"],RHD:["$RH"],RON:[ve,"L"],RWF:[ve,"FR"],SBD:["$SB","$"],SGD:["$SG","$"],SRD:["$SR","$"],TOP:[ve,"$T"],TTD:["$TT","$"],TWD:[ve,"NT$"],USD:["$US","$"],UYU:["$UY","$"],WST:["$WS"],XCD:[ve,"$"],XPF:["FCFP"],ZMW:[ve,"Kw"]},"ltr",function nL(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length,o=parseInt(e.toString().replace(/^[^e]*(e([-+]?\d+))?/,"$2"))||0;return 0===n||1===n?1:0===o&&0!==n&&n%1e6==0&&0===r||!(o>=0&&o<=5)?4:5}],se=void 0,iL=["es",[["a.\xa0m.","p.\xa0m."],se,se],se,[["D","L","M","X","J","V","S"],["dom","lun","mar","mi\xe9","jue","vie","s\xe1b"],["domingo","lunes","martes","mi\xe9rcoles","jueves","viernes","s\xe1bado"],["DO","LU","MA","MI","JU","VI","SA"]],se,[["E","F","M","A","M","J","J","A","S","O","N","D"],["ene","feb","mar","abr","may","jun","jul","ago","sept","oct","nov","dic"],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"]],se,[["a. C.","d. C."],se,["antes de Cristo","despu\xe9s de Cristo"]],1,[6,0],["d/M/yy","d MMM y","d 'de' MMMM 'de' y","EEEE, d 'de' MMMM 'de' y"],["H:mm","H:mm:ss","H:mm:ss z","H:mm:ss (zzzz)"],["{1}
1, {0}",se,se,se],[",",".",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0\xa0%","#,##0.00\xa0\xa4","#E0"],"EUR","\u20ac","euro",{AUD:[se,"$"],BRL:[se,"R$"],BYN:[se,"\u0440."],CAD:[se,"$"],CNY:[se,"\xa5"],EGP:[],ESP:["\u20a7"],GBP:[se,"\xa3"],HKD:[se,"$"],ILS:[se,"\u20aa"],INR:[se,"\u20b9"],JPY:[se,"\xa5"],KRW:[se,"\u20a9"],MXN:[se,"$"],NZD:[se,"$"],PHP:[se,"\u20b1"],RON:[se,"L"],THB:["\u0e3f"],TWD:[se,"NT$"],USD:["US$","$"],XAF:[],XCD:[se,"$"],XOF:[]},"ltr",function oL(e){const t=e,n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length,o=parseInt(e.toString().replace(/^[^e]*(e([-+]?\d+))?/,"$2"))||0;return 1===t?1:0===o&&0!==n&&n%1e6==0&&0===r||!(o>=0&&o<=5)?4:5}],Dt=void 0,aL=["pt",[["AM","PM"],Dt,Dt],Dt,[["D","S","T","Q","Q","S","S"],["dom.","seg.","ter.","qua.","qui.","sex.","s\xe1b."],["domingo","segunda-feira","ter\xe7a-feira","quarta-feira","quinta-feira","sexta-feira","s\xe1bado"],["dom.","seg.","ter.","qua.","qui.","sex.","s\xe1b."]],Dt,[["J","F","M","A","M","J","J","A","S","O","N","D"],["jan.","fev.","mar.","abr.","mai.","jun.","jul.","ago.","set.","out.","nov.","dez."],["janeiro","fevereiro","mar\xe7o","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro"]],Dt,[["a.C.","d.C."],Dt,["antes de Cristo","depois de Cristo"]],0,[6,0],["dd/MM/y","d 'de' MMM 'de' y","d 'de' MMMM 'de' y","EEEE, d 'de' MMMM 'de' y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1} {0}",Dt,Dt,Dt],[",",".",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4\xa0#,##0.00","#E0"],"BRL","R$","Real brasileiro",{AUD:["AU$","$"],BYN:[Dt,"\u0440."],JPY:["JP\xa5","\xa5"],PHP:[Dt,"\u20b1"],PTE:["Esc."],RON:[Dt,"L"],SYP:[Dt,"S\xa3"],THB:["\u0e3f"],TWD:["NT$"],USD:["US$","$"]},"ltr",function sL(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length,o=parseInt(e.toString().replace(/^[^e]*(e([-+]?\d+))?/,"$2"))||0;return n===Math.floor(n)&&n>=0&&n<=1?1:0===o&&0!==n&&n%1e6==0&&0===r||!(o>=0&&o<=5)?4:5}];function wr(e){return!!e&&(e instanceof fe||Y(e.lift)&&Y(e.subscribe))}function PC(...e){const t=Ch(e),{args:n,keys:r}=mD(e),o=new fe(i=>{const{length:s}=n;if(!s)return void i.complete();const a=new Array(s);let l=s,u=s;for(let c=0;c<s;c++){let d=!1;Pt(n[c]).subscribe(Me(i,f=>{d||(d=!0,u--),a[c]=f},()=>l--,void 0,()=>{(!l||!d)&&(u||i.next(r?vD(r,a):a),i.complete())}))}});return t?o.pipe(yD(t)):o}const RC={now:()=>(RC.delegate||Date).now(),delegate:void 0};class lL extends Nt{constructor(t=1/0,n=1/0,r=RC){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){const{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();const n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!t.closed;s+=r?1:2)t.next(i[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){const{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*t;if(t<1/0&&i<r.length&&r.splice(0,r.length-i),!o){const s=n.now();let a=0;for(let l=1;l<r.length&&r[l]<=s;l+=2)a=l;a&&r.splice(0,a+1)}}}function OC(e,t,n){let r,o=!1;return e&&"object"==typeof e?({bufferSize:r=1/0,windowTime:t=1/0,refCount:o=!1,scheduler:n}=e):r=e??1/0,Mh({connector:()=>new lL(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}class Hi{}let FC=(()=>{class e extends Hi{getTranslation(n){return S({})}}return e.\u0275fac=function(){let t;return function(r){return(t||(t=Ie(e)))(r||e)}}(),e.\u0275prov=T({token:e,factory:e.\u0275fac}),e})();class yf{}let LC=(()=>{class e{handle(n){return n.key}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=T({token:e,factory:e.\u0275fac}),e})();function Ka(e,t){if(e===t)return!0;if(null===e||null===t)return!1;if(e!=e&&t!=t)return!0;let o,i,s,n=typeof e;if(n==typeof t&&"object"==n){if(!Array.isArray(e)){if(Array.isArray(t))return!1;for(i in s=Object.create(null),e){if(!Ka(e[i],t[i]))return!1;s[i]=!0}for(i in t)if(!(i in s)&&typeof t[i]<"u")return!1;return!0}if(!Array.isArray(t))return!1;if((o=e.length)==t.length){for(i=0;i<o;i++)if(!Ka(e[i],t[i]))return!1;return!0}}return!1}function Jn(e){return typeof e<"u"&&null!==e}function vf(e){return e&&"object"==typeof e&&!Array.isArray(e)}function kC(e,t){let n=Object.assign({},e);return vf(e)&&vf(t)&&Object.keys(t).forEach(r=>{vf(t[r])?r in e?n[r]=kC(e[r],t[r]):Object.assign(n,{[r]:t[r]}):Object.assign(n,{[r]:t[r]})}),n}class Ja{}let VC=(()=>{class e extends Ja{constructor(){super(...arguments),this.templateMatcher=/{{\s?([^{}\s]*)\s?}}/g}interpolate(n,r){let o;
1return o="string"==typeof n?this.interpolateString(n,r):"function"==typeof n?this.interpolateFunction(n,r):n,o}getValue(n,r){let o="string"==typeof r?r.split("."):[r];r="";do{r+=o.shift(),!Jn(n)||!Jn(n[r])||"object"!=typeof n[r]&&o.length?o.length?r+=".":n=void 0:(n=n[r],r="")}while(o.length);return n}interpolateFunction(n,r){return n(r)}interpolateString(n,r){return r?n.replace(this.templateMatcher,(o,i)=>{let s=this.getValue(r,i);return Jn(s)?s:o}):n}}return e.\u0275fac=function(){let t;return function(r){return(t||(t=Ie(e)))(r||e)}}(),e.\u0275prov=T({token:e,factory:e.\u0275fac}),e})();class Za{}let jC=(()=>{class e extends Za{compile(n,r){return n}compileTranslations(n,r){return n}}return e.\u0275fac=function(){let t;return function(r){return(t||(t=Ie(e)))(r||e)}}(),e.\u0275prov=T({token:e,factory:e.\u0275fac}),e})();class BC{constructor(){this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new X,this.onLangChange=new X,this.onDefaultLangChange=new X}}const _f=new I("USE_STORE"),Df=new I("USE_DEFAULT_LANG"),Cf=new I("DEFAULT_LANGUAGE"),wf=new I("USE_EXTEND");let Qa=(()=>{class e{constructor(n,r,o,i,s,a=!0,l=!1,u=!1,c){this.store=n,this.currentLoader=r,this.compiler=o,this.parser=i,this.missingTranslationHandler=s,this.useDefaultLang=a,this.isolate=l,this.extend=u,this.pending=!1,this._onTranslationChange=new X,this._onLangChange=new X,this._onDefaultLangChange=new X,this._langs=[],this._translations={},this._translationRequests={},c&&this.setDefaultLang(c)}get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(n){this.isolate?this._defaultLang=n:this.store.defaultLang=n}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(n){this.isolate?this._currentLang=n:this.store.currentLang=n}get langs(){return this.isolate?this._langs:this.store.langs}set langs(n){this.isolate?this._langs=n:this.store.langs=n}get translations(){return this.isolate?this._translations:this.store.translations}set translations(n){this.isolate?this._translations=n:this.store.translations=n}setDefaultLang(n){if(n===this.defaultLang)return;let r=this.retrieveTranslations(n);typeof r<"u"?(null==this.defaultLang&&(this.defaultLang=n),r.pipe(An(1)).subscribe(o=>{this.changeDefaultLang(n)})):this.changeDefaultLang(n)}getDefaultLang(){return this.defaultLang}use(n){if(n===this.currentLang)return S(this.translations[n]);let r=this.retrieveTranslations(n);return typeof r<"u"?(this.currentLang||(this.currentLang=n),r.pipe(An(1)).subscribe(o=>{this.changeLang(n)}),r):(this.changeLang(n),S(this.translations[n]))}retrieveTranslations(n){let r;return(typeof this.translations[n]>"u"||this.extend)&&(this._translationRequests[n]=this._translationRequests[n]||this.getTranslation(n),r=this._translationRequests[n]),r}getTranslation(n){this.pending=!0;const r=this.currentLoader.getTranslation(n).pipe(OC(1),An(1));return this.loadingTranslations=r.pipe($(o=>this.compiler.compileTranslations(o,n)),OC(1),An(1)),this.loadingTranslations.subscribe({next:o=>{this.translations[n]=this.extend&&this.translations[n]?{...o,...this.translations[n]}:o,this.updateLangs(),this.pending=!1},error:o=>{this.pending=!1}}),r}setTranslation(n,r,o=!1){r=this.compiler.compileTranslations(r,n),this.translations[n]=(o||this.extend)&&this.translations[n]?kC(this.translations[n],r):r,this.updateLangs(),this.onTranslationChange.emit({lang:n,translations:this.translations[n]})}getLangs(){return this.langs}addLangs(n){n.forEach(r=>{-1===this.langs.indexOf(r)&&this.langs.push(r)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(n,r,o){let i;if(r instanceof Array){let s={},a=!1;for(let l of r)s[l]=this.getParsedResult(n,l,o),wr(s[l])&&(a=!0);return a?PC(r.map(u=>wr(s[u])?s[u]:S(s[u]))).pipe($(u=>{let c={};return u.forEach((d,f)=>{c[r[f]]=d}),c})):s}if(n&&(i=this.parser.interpolate(this.parser.getValue(n,r),o)),typeof i>"u"&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(i=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],r),o)),typeof i>"u"){let s={key:r,translateService:this};typeof o<"u"&&(s.interpolateParams=o),i=this.missingTranslationHandler.handle(s)}return typeof i<"u"?i:r}get(n,r){if(!Jn(n)||!n.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe(Mn(o=>wr(o=this.getParsedResult(o,n,r))?o:S(o)));{let o=this.getParsedResult(this.translations[this.currentLang],n,r);return wr(o)?o:S(o)}}getStreamOnTranslationChange(n,r){if(!Jn(n)||!n.length)throw new Error('Parameter "key" required');return Ii(Sa(()=>this.get(n,r)),this.onTranslationChange.pipe(Tt(o=>{const i=this.getParsedResult(o.translations,n,r);return"function"==typeof i.subscribe?i:S(i)})))}stream(n,r){if(!Jn(n)||!n.length)throw new Error('Parameter "key" required');return Ii(Sa(()=>this.get(n,r)),this.onLangChange.pipe(Tt(o=>{const i=this.getParsedResult(o.translations,n,r);return wr(i)?i:S(i)})))}instant(n,r){if(!Jn(n)||!n.length)throw new Error('Parameter "key" required');let o=this.getParsedResult(this.translations[this.currentLang],n,r);if(wr(o)){if(n instanceof Array){let i={};
1return n.forEach((s,a)=>{i[n[a]]=n[a]}),i}return n}return o}set(n,r,o=this.currentLang){this.translations[o][n]=this.compiler.compile(r,o),this.updateLangs(),this.onTranslationChange.emit({lang:o,translations:this.translations[o]})}changeLang(n){this.currentLang=n,this.onLangChange.emit({lang:n,translations:this.translations[n]}),null==this.defaultLang&&this.changeDefaultLang(n)}changeDefaultLang(n){this.defaultLang=n,this.onDefaultLangChange.emit({lang:n,translations:this.translations[n]})}reloadLang(n){return this.resetLang(n),this.getTranslation(n)}resetLang(n){this._translationRequests[n]=void 0,this.translations[n]=void 0}getBrowserLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let n=window.navigator.languages?window.navigator.languages[0]:null;return n=n||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,typeof n>"u"?void 0:(-1!==n.indexOf("-")&&(n=n.split("-")[0]),-1!==n.indexOf("_")&&(n=n.split("_")[0]),n)}getBrowserCultureLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let n=window.navigator.languages?window.navigator.languages[0]:null;return n=n||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,n}}return e.\u0275fac=function(n){return new(n||e)(M(BC),M(Hi),M(Za),M(Ja),M(yf),M(Df),M(_f),M(wf),M(Cf))},e.\u0275prov=T({token:e,factory:e.\u0275fac}),e})(),$C=(()=>{class e{constructor(n,r){this.translate=n,this._ref=r,this.value="",this.lastKey=null,this.lastParams=[]}updateValue(n,r,o){let i=s=>{this.value=void 0!==s?s:n,this.lastKey=n,this._ref.markForCheck()};if(o){let s=this.translate.getParsedResult(o,n,r);wr(s.subscribe)?s.subscribe(i):i(s)}this.translate.get(n,r).subscribe(i)}transform(n,...r){if(!n||!n.length)return n;if(Ka(n,this.lastKey)&&Ka(r,this.lastParams))return this.value;let o;if(Jn(r[0])&&r.length)if("string"==typeof r[0]&&r[0].length){let i=r[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{o=JSON.parse(i)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${r[0]}`)}}else"object"==typeof r[0]&&!Array.isArray(r[0])&&(o=r[0]);return this.lastKey=n,this.lastParams=r,this.updateValue(n,o),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(i=>{this.lastKey&&i.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(n,o,i.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(i=>{this.lastKey&&(this.lastKey=null,this.updateValue(n,o,i.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(n,o))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}}return e.\u0275fac=function(n){return new(n||e)(D(Qa,16),D(_i,16))},e.\u0275pipe=Ke({name:"translate",type:e,pure:!1}),e.\u0275prov=T({token:e,factory:e.\u0275fac}),e})(),uL=(()=>{class e{static forRoot(n={}){return{ngModule:e,providers:[n.loader||{provide:Hi,useClass:FC},n.compiler||{provide:Za,useClass:jC},n.parser||{provide:Ja,useClass:VC},n.missingTranslationHandler||{provide:yf,useClass:LC},BC,{provide:_f,useValue:n.isolate},{provide:Df,useValue:n.useDefaultLang},{provide:wf,useValue:n.extend},{provide:Cf,useValue:n.defaultLanguage},Qa]}}static forChild(n={}){return{ngModule:e,providers:[n.loader||{provide:Hi,useClass:FC},n.compiler||{provide:Za,useClass:jC},n.parser||{provide:Ja,useClass:VC},n.missingTranslationHandler||{provide:yf,useClass:LC},{provide:_f,useValue:n.isolate},{provide:Df,useValue:n.useDefaultLang},{provide:wf,useValue:n.extend},{provide:Cf,useValue:n.defaultLanguage},Qa]}}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=ct({type:e}),e.\u0275inj=ot({}),e})(),Ef=(()=>{class e{constructor(n){this.translateService=n,this.supportedLanguages=["it","en","fr","es"]}getLang(){const n=localStorage.getItem("fs_lang")||this.translateService.getBrowserLang()||"it";return this._checkLang(n)}getSupportedLangs(){return this.supportedLanguages}setLang(n){const r=this._checkLang(n);return localStorage.setItem("fs_lang",r),this.registerCulture(r),this.translateService.use(r)}getLocale(){return this.locale||"en-US"}getLocaleCurrency(){let r="";switch(localStorage.getItem("fs_lang")||this.translateService.getBrowserLang()){case"it":r="it-IT";break;case"en":r="en-US";break;case"de":r="de-DE";break;case"fr":r="fr-FR";break;case"es":r="es-ES";break;case"pt":r="pt-PT"}return r}registerCulture(n){if(n)switch(n){case"it":this.locale="it-IT",ho(Q1);break;case"en":this.locale="en-US",ho(X1);break;case"de":this.locale="de-DE",ho(tL);break;case"fr":this.locale="fr-FR",ho(rL);break;case"es":this.locale="es-ES",ho(iL);break;case"pt":this.locale="pt-PT",ho(aL)}}_checkLang(n){return-1!==this.supportedLanguages.indexOf(n)?n:"en"}setDefaultLang(){const n=this.getLang();this.setLang(n)}}return e.\u0275fac=function(n){return new(n||e)(M(Qa))},e.\u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),HC=(()=>{class e{constructor(n,r){this._renderer=n,this._elementRef=r,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(n,r){this._renderer.setProperty(this._elementRef.nativeElement,n,r)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}}return e.\u0275fac=function(n){return new(n||e)(D(gn),D(yt))},e.\u0275dir=O({type:e}),e})(),Er=(()=>{class e extends HC{}return e.\u0275fac=function(){let t;return function(r){return(t||(t=Ie(e)))(r||e)}}(),e.\u0275dir=O({type:e,features:[Q]}),e})();const sn=new I("NgValueAccessor"),dL={provide:sn,useExisting:ne(()=>Ya),multi:!0},hL=new I("CompositionEventMode");let Ya=(()=>{class e extends HC{constructor(n,r,o){super(n,r),this._compositionMode=o,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function fL(){const e=rn()?rn().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(n){this.setProperty("value",n??"")}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}}return e.\u0275fac=function(n){return new(n||e)(D(gn),D(yt),D(hL,8))},e.\u0275dir=O({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(n,r){1&n&&ze("input",function(i){return r._handleInput(i.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(i){return r._compositionEnd(i.target.value)})},features:[le([dL]),Q]}),e})();const qe=new I("NgValidators"),Qn=new I("NgAsyncValidators");function XC(e){return null!=e}function ew(e){return ai(e)?_e(e):e}function tw(e){let t={};return e.forEach(n=>{t=null!=n?{...t,...n}:t}),0===Object.keys(t).length?null:t}function nw(e,t){return t.map(n=>n(e))}function rw(e){return e.map(t=>function mL(e){return!e.validate}(t)?t:n=>t.validate(n))}function bf(e){return null!=e?function ow(e){if(!e)return null;const t=e.filter(XC);return 0==t.length?null:function(n){return tw(nw(n,t))}}(rw(e)):null}function Mf(e){return null!=e?function iw(e){if(!e)return null;const t=e.filter(XC);return 0==t.length?null:function(n){return PC(nw(n,t).map(ew)).pipe($(tw))}}(rw(e)):null}function sw(e,t){return null===e?[t]:Array.isArray(e)?[...e,t]:[e,t]}function Sf(e){return e?Array.isArray(e)?e:[e]:[]}function el(e,t){return Array.isArray(e)?e.includes(t):e===t}function uw(e,t){const n=Sf(t);return Sf(e).forEach(o=>{el(n,o)||n.push(o)}),n}function cw(e,t){return Sf(t).filter(n=>!el(e,n))}class dw{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(t){this._rawValidators=t||[],this._composedValidatorFn=bf(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=Mf(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t){this.control&&this.control.reset(t)}hasError(t,n){return!!this.control&&this.control.hasError(t,n)}getError(t,n){return this.control?this.control.getError(t,n):null}}class rt extends dw{get formDirective(){return null}get path(){return null}}class Yn extends dw{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class fw{constructor(t){this._cd=t}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}
1get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let hw=(()=>{class e extends fw{constructor(n){super(n)}}return e.\u0275fac=function(n){return new(n||e)(D(Yn,2))},e.\u0275dir=O({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(n,r){2&n&&Us("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:[Q]}),e})(),pw=(()=>{class e extends fw{constructor(n){super(n)}}return e.\u0275fac=function(n){return new(n||e)(D(rt,10))},e.\u0275dir=O({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(n,r){2&n&&Us("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)("ng-submitted",r.isSubmitted)},features:[Q]}),e})();const Ui="VALID",nl="INVALID",Co="PENDING",Gi="DISABLED";function xf(e){return(rl(e)?e.validators:e)||null}function mw(e){return Array.isArray(e)?bf(e):e||null}function Nf(e,t){return(rl(t)?t.asyncValidators:e)||null}function yw(e){return Array.isArray(e)?Mf(e):e||null}function rl(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class Dw{constructor(t,n){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=t,this._rawAsyncValidators=n,this._composedValidatorFn=mw(this._rawValidators),this._composedAsyncValidatorFn=yw(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===Ui}get invalid(){return this.status===nl}get pending(){return this.status==Co}get disabled(){return this.status===Gi}get enabled(){return this.status!==Gi}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._rawValidators=t,this._composedValidatorFn=mw(t)}setAsyncValidators(t){this._rawAsyncValidators=t,this._composedAsyncValidatorFn=yw(t)}addValidators(t){this.setValidators(uw(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(uw(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(cw(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(cw(t,this._rawAsyncValidators))}hasValidator(t){return el(this._rawValidators,t)}hasAsyncValidator(t){return el(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(n=>{n.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(n=>{n.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=Co,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const n=this._parentMarkedDirty(t.onlySelf);this.status=Gi,this.errors=null,this._forEachChild(r=>{r.disable({...t,onlySelf:!0})}
1),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...t,skipPristineCheck:n}),this._onDisabledChange.forEach(r=>r(!0))}enable(t={}){const n=this._parentMarkedDirty(t.onlySelf);this.status=Ui,this._forEachChild(r=>{r.enable({...t,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors({...t,skipPristineCheck:n}),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Ui||this.status===Co)&&this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(n=>n._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Gi:Ui}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=Co,this._hasOwnPendingAsyncValidator=!0;const n=ew(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(r=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(r,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,n={}){this.errors=t,this._updateControlsErrors(!1!==n.emitEvent)}get(t){let n=t;return null==n||(Array.isArray(n)||(n=n.split(".")),0===n.length)?null:n.reduce((r,o)=>r&&r._find(o),this)}getError(t,n){const r=n?this.get(n):this;return r&&r.errors?r.errors[t]:null}hasError(t,n){return!!this.getError(t,n)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new X,this.statusChanges=new X}_calculateStatus(){return this._allControlsDisabled()?Gi:this.errors?nl:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Co)?Co:this._anyControlsHaveStatus(nl)?nl:Ui}_anyControlsHaveStatus(t){return this._anyControls(n=>n.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){rl(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(t){return null}}class Pf extends Dw{constructor(t,n,r){super(xf(n),Nf(r,n)),this.controls=t,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,n){return this.controls[t]?this.controls[t]:(this.controls[t]=n,n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange),n)}addControl(t,n,r={}){this.registerControl(t,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(t,n={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}setControl(t,n,r={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],n&&this.registerControl(t,n),this.updateV
1alueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,n={}){(function _w(e,t,n){e._forEachChild((r,o)=>{if(void 0===n[o])throw new C(1002,"")})})(this,0,t),Object.keys(t).forEach(r=>{(function vw(e,t,n){const r=e.controls;if(!(t?Object.keys(r):r).length)throw new C(1e3,"");if(!r[n])throw new C(1001,"")})(this,!0,r),this.controls[r].setValue(t[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(t,n={}){null!=t&&(Object.keys(t).forEach(r=>{const o=this.controls[r];o&&o.patchValue(t[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(t={},n={}){this._forEachChild((r,o)=>{r.reset(t[o],{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n),this._updateTouched(n),this.updateValueAndValidity(n)}getRawValue(){return this._reduceChildren({},(t,n,r)=>(t[r]=n.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(n,r)=>!!r._syncPendingControls()||n);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(n=>{const r=this.controls[n];r&&t(r,n)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const[n,r]of Object.entries(this.controls))if(this.contains(n)&&t(r))return!0;return!1}_reduceValue(){return this._reduceChildren({},(n,r,o)=>((r.enabled||this.disabled)&&(n[o]=r.value),n))}_reduceChildren(t,n){let r=t;return this._forEachChild((o,i)=>{r=n(r,o,i)}),r}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}}function zi(e,t){Rf(e,t),t.valueAccessor.writeValue(e.value),e.disabled&&t.valueAccessor.setDisabledState?.(!0),function ML(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&Cw(e,t)})}(e,t),function IL(e,t){const n=(r,o)=>{t.valueAccessor.writeValue(r),o&&t.viewToModelUpdate(r)};e.registerOnChange(n),t._registerOnDestroy(()=>{e._unregisterOnChange(n)})}(e,t),function SL(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&Cw(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),function bL(e,t){if(t.valueAccessor.setDisabledState){const n=r=>{t.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}(e,t)}function sl(e,t){e.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(t)})}function Rf(e,t){const n=function aw(e){return e._rawValidators}(e);null!==t.validator?e.setValidators(sw(n,t.validator)):"function"==typeof n&&e.setValidators([n]);const r=function lw(e){return e._rawAsyncValidators}(e);null!==t.asyncValidator?e.setAsyncValidators(sw(r,t.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]);const o=()=>e.updateValueAndValidity();sl(t._rawValidators,o),sl(t._rawAsyncValidators,o)}function Cw(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}const PL={provide:rt,useExisting:ne(()=>ll)},Wi=(()=>Promise.resolve())();let ll=(()=>{class e extends rt{constructor(n,r){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new X,this.form=new Pf({},bf(n),Mf(r))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(n){Wi.then(()=>{const r=this._findContainer(n.path);n.control=r.registerControl(n.name,n.control),zi(n.control,n),n.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(n)})}getControl(n){return this.form.get(n.path)}
1removeControl(n){Wi.then(()=>{const r=this._findContainer(n.path);r&&r.removeControl(n.name),this._directives.delete(n)})}addFormGroup(n){Wi.then(()=>{const r=this._findContainer(n.path),o=new Pf({});(function ww(e,t){Rf(e,t)})(o,n),r.registerControl(n.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(n){Wi.then(()=>{const r=this._findContainer(n.path);r&&r.removeControl(n.name)})}getFormGroup(n){return this.form.get(n.path)}updateModel(n,r){Wi.then(()=>{this.form.get(n.path).setValue(r)})}setValue(n){this.control.setValue(n)}onSubmit(n){return this.submitted=!0,function bw(e,t){e._syncPendingControls(),t.forEach(n=>{const r=n.control;"submit"===r.updateOn&&r._pendingChange&&(n.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}(this.form,this._directives),this.ngSubmit.emit(n),"dialog"===n?.target?.method}onReset(){this.resetForm()}resetForm(n){this.form.reset(n),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(n){return n.pop(),n.length?this.form.get(n):this.form}}return e.\u0275fac=function(n){return new(n||e)(D(qe,10),D(Qn,10))},e.\u0275dir=O({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(n,r){1&n&&ze("submit",function(i){return r.onSubmit(i)})("reset",function(){return r.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[le([PL]),Q]}),e})();function Mw(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function Sw(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}const Iw=class extends Dw{constructor(t=null,n,r){super(xf(n),Nf(r,n)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(n),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),rl(n)&&(n.nonNullable||n.initialValueIsDefault)&&(this.defaultValue=Sw(t)?t.value:t)}setValue(t,n={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==n.emitModelToViewChange&&this._onChange.forEach(r=>r(this.value,!1!==n.emitViewToModelChange)),this.updateValueAndValidity(n)}patchValue(t,n={}){this.setValue(t,n)}reset(t=this.defaultValue,n={}){this._applyFormState(t),this.markAsPristine(n),this.markAsUntouched(n),this.setValue(this.value,n),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){Mw(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){Mw(this._onDisabledChange,t)}_forEachChild(t){}_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(t){Sw(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}},FL={provide:Yn,useExisting:ne(()=>Lf)},xw=(()=>Promise.resolve())();let Lf=(()=>{class e extends Yn{constructor(n,r,o,i,s){super(),this._changeDetectorRef=s,this.control=new Iw,this._registered=!1,this.update=new X,this._parent=n,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=function Ff(e,t){if(!t)return null;let n,r,o;return Array.isArray(t),t.forEach(i=>{i.constructor===Ya?n=i:function xL(e){return Object.getPrototypeOf(e.constructor)===Er}(i)?r=i:o=i}),o||r||n||null}(0,i)}ngOnChanges(n){if(this._checkForErrors(),!this._registered||"name"in n){if(this._registered&&(this._checkName(),this.formDirective)){const r=n.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in n&&this._updateDisabled(n),function Of(e,t){if(!e.hasOwnProperty("model"))return!1;const n=e.model;return!!n.isFirstChange()||!Object.is(t,n.currentValue)}
1(n,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(n){this.viewModel=n,this.update.emit(n)}_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(){zi(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(n){xw.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(n){const r=n.isDisabled.currentValue,o=0!==r&&function wn(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}(r);xw.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(n){return this._parent?function ol(e,t){return[...t.path,e]}(n,this._parent):[n]}}return e.\u0275fac=function(n){return new(n||e)(D(rt,9),D(qe,10),D(Qn,10),D(sn,10),D(_i,8))},e.\u0275dir=O({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[le([FL]),Q,bt]}),e})(),Nw=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=O({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),e})(),Rw=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=ct({type:e}),e.\u0275inj=ot({}),e})(),ik=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=ct({type:e}),e.\u0275inj=ot({imports:[Rw]}),e})(),sk=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=ct({type:e}),e.\u0275inj=ot({imports:[ik]}),e})();function lk(e,t){if(1&e&&(Te(0,"div",25),Ht(1),Bn(2,"translate"),Fe()),2&e){const n=Rm();Vt(1),ui(" ",$n(2,1,n.MsgError)," ")}}const Qw=function(){return{standalone:!0}};let uk=(()=>{class e{constructor(n,r,o){this.apiService=n,this.route=r,this.TranslationService=o,this.UsernameVar="",this.PasswordVar="",this.MsgError="",this.lng="it"}ngOnInit(){this.route.queryParamMap.subscribe(n=>{const r=n.get("lng")?.toLowerCase();r&&(this.lng=r,this.TranslationService.setLang(this.lng))})}eseguiLogin(){""!=this.UsernameVar&&""!=this.PasswordVar?this.apiService.postApiLogin(this.UsernameVar,this.PasswordVar).subscribe(n=>{0==n.status?window.location.href=n.data:this.MsgError=n.statusDes}):this.MsgError="msgError"}}return e.\u0275fac=function(n){return new(n||e)(D(NC),D(Kn),D(Ef))},e.\u0275cmp=Io({type:e,selectors:[["app-login"]],decls:46,vars:22,consts:[[1,"row-fluid-wrapper","row-depth-1","row-number-11","dnd-section","content_bucket-row-2-hidden"],[1,"row-fluid"],[1,"title"],[1,"section-intro__title"],[1,"section-intro__divider","section-intro__divider--auto"],[1,"section-intro__divider-line"],[1,"row"],[1,"col","d-none","d-lg-block","d-xl-block"],[1,"fotoFS"],[1,"module"],[1,"module__inner"],["id","box_over_image",1,"box-over-image","box-over-image--align-left"],["src","./assets/img/img.jpg","alt","agnti vendita team","srcset","./assets/img/img.jpg","width","4200","height","2847","loading","lazy",1,"box-over-image__img"],[1,"box-over-image__box","clear","box-over-image__box--white","box-over-image__box--shadow","txt","txt--light"],[2,"color","#be2716"],[2,"color","#000000"],[1,"col","moduleForm"],[1,"form"],[1,"form-group"],["for","username"],["type","email","id","username","placeholder","",1,"form-control",3,"ngModel","ngModelOptions","ngModelChange"],["for","password"],["type","password","id","password","placeholder","",1,"form-control",3,"ngModel","ngModelOptions","ngModelChange"],["type","button",1,"btn","btn-primary",3,"click"],["class","alert alert-danger","role","alert",4,"ngIf"],["role","alert",1,"alert","alert-danger"]],template:function(n,r){1&n&&(Te(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"h1"),Ht(5,"Login forSales"),Fe()(),Te(6,"div",4),_n(7,"div",5),Fe()()(),Te(8,"div",6)(9,"div",7)(10,"div",8)(11,"div",9)(12,"div",10)(13,"div",11),_n(14,"img",12),Te(15,"div",13)(16,"h2"),Ht(1
17),Bn(18,"translate"),Fe(),Te(19,"p")(20,"span",14)(21,"span",15),Ht(22),Bn(23,"translate"),Fe()(),Te(24,"span",14),Ht(25,"forSales "),Te(26,"span",15),_n(27,"br"),Ht(28),Bn(29,"translate"),Fe()()()()()()()()(),Te(30,"div",16)(31,"div",17)(32,"form")(33,"div",18)(34,"label",19),Ht(35),Bn(36,"translate"),Fe(),Te(37,"input",20),ze("ngModelChange",function(i){return r.UsernameVar=i}),Fe()(),Te(38,"div",18)(39,"label",21),Ht(40),Bn(41,"translate"),Fe(),Te(42,"input",22),ze("ngModelChange",function(i){return r.PasswordVar=i}),Fe()(),Te(43,"button",23),ze("click",function(){return r.eseguiLogin()}),Ht(44,"Login"),Fe(),function Sm(e,t,n,r,o,i,s,a){const l=_(),u=z(),c=e+22,d=u.firstCreatePass?function HI(e,t,n,r,o,i,s,a,l){const u=t.consts,c=Zr(t,e,4,s||null,Rn(u,a));ic(t,n,c,Rn(u,l)),us(t,c);const d=c.tViews=oc(2,c,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,u);return null!==t.queries&&(t.queries.template(t,c),d.queries=t.queries.embeddedTView(c)),c}(c,u,l,t,n,r,o,i,s):u.data[c];Jt(d,!1);const f=l[j].createComment("");bs(u,l,f,d),Ue(f,l),ks(l,l[c]=cm(f,l,f,d)),ss(d)&&nc(u,l,d),null!=s&&rc(l,d,a)}(45,lk,3,3,"div",24),Fe()()()()()),2&n&&(Vt(17),fr($n(18,10,"login")),Vt(5),ui("",$n(23,12,"body_1")," "),Vt(6),fr($n(29,14,"body_2")),Vt(7),fr($n(36,16,"username")),Vt(2),si("ngModel",r.UsernameVar)("ngModelOptions",Ac(20,Qw)),Vt(3),fr($n(41,18,"Password")),Vt(2),si("ngModel",r.PasswordVar)("ngModelOptions",Ac(21,Qw)),Vt(3),si("ngIf",""!=r.MsgError))},dependencies:[x_,Nw,Ya,hw,pw,Lf,ll,$C],styles:[".dnd-section[_ngcontent-%COMP%]{padding:96px 24px;position:relative;display:block!important}.dnd-section[_ngcontent-%COMP%] .section[_ngcontent-%COMP%]{position:relative}.dnd-section[_ngcontent-%COMP%] .row-fluid[_ngcontent-%COMP%]{margin:0 auto 48px;max-width:1480px;display:flex;flex-direction:column;text-align:center;align-items:center}.dnd-section[_ngcontent-%COMP%] .row-fluid[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{text-align:center;width:550px;color:#222326}.dnd-section[_ngcontent-%COMP%] .row-fluid[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] .section-intro__divider[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{background:#be2615;border-radius:4px;display:inline-block;height:4px;max-width:100%;vertical-align:top;width:80px}.dnd-section[_ngcontent-%COMP%] .fotoFS[_ngcontent-%COMP%]{display:block;width:100%}.dnd-section[_ngcontent-%COMP%] .fotoFS[_ngcontent-%COMP%] .module[_ngcontent-%COMP%]{align-items:stretch;display:flex;flex-direction:column}.dnd-section[_ngcontent-%COMP%] .fotoFS[_ngcontent-%COMP%] .module[_ngcontent-%COMP%] .module__inner[_ngcontent-%COMP%]{max-width:100%;width:100%}.dnd-section[_ngcontent-%COMP%] .fotoFS[_ngcontent-%COMP%] .module[_ngcontent-%COMP%] .module__inner[_ngcontent-%COMP%] .box-over-image[_ngcontent-%COMP%]{position:relative;width:100%}.dnd-section[_ngcontent-%COMP%] .fotoFS[_ngcontent-%COMP%] .module[_ngcontent-%COMP%] .module__inner[_ngcontent-%COMP%] .box-over-image[_ngcontent-%COMP%] img[_ngcontent-%COMP%], .dnd-section[_ngcontent-%COMP%] .fotoFS[_ngcontent-%COMP%] .module[_ngcontent-%COMP%] .module__inner[_ngcontent-%COMP%] .box-over-image[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{height:auto;max-width:80%;vertical-align:middle}.dnd-section[_ngcontent-%COMP%] .fotoFS[_ngcontent-%COMP%] .module[_ngcontent-%COMP%] .module__inner[_ngcontent-%COMP%] .box-over-image[_ngcontent-%COMP%] .box-over-image__img[_ngcontent-%COMP%]{border-radius:24px;width:100%}.dnd-section[_ngcontent-%COMP%] .fotoFS[_ngcontent-%COMP%] .module[_ngcontent-%COMP%] .module__inner[_ngcontent-%COMP%] .box-over-image[_ngcontent-%COMP%] .box-over-image--align-left[_ngcontent-%COMP%] .box-over-image__img[_ngcontent-%COMP%], .dnd-section[_ngcontent-%COMP%] .fotoFS[_ngcontent-%COMP%] .module[_ngcontent-%COMP%] .module__inner[_ngcontent-%COMP%] .box-over-image[_ngcontent-%COMP%] .box-over-image--align-right[_ngcontent-%COMP%] .box-over-image__img[_ngcontent-%COMP%]{width:83%}.dnd-section[_ngcontent-%COMP%] .fotoFS[_ngcontent-%COMP%] .module[_ngcontent-%COMP%] .module__inner[_ngcontent-%COMP%] .box-over-image[_ngcontent-%COMP%] .box-over-image__box[_ngcontent-%COMP%]{border-radius:24px;padding:24px;text-align:start}.dnd-section[_ngcontent-%COMP%] .fotoFS[_ngcontent-%COMP%] .module[_ngcontent-%COMP%] .module__inner[_ngcontent-%COMP%] .box-over-image[_ngcontent-%COMP%] .box-over-image__box--shadow[_ngcontent-%COMP%]{box-shadow:0 16px 32px #2223260d,0 8px 16px #2223260d}.dnd-section[_ngcontent-%COMP%] .fotoFS[_ngcontent-%COMP%] .module[_ngcontent-%COMP%] .module__inner[_ngcontent-%COMP%] .box-over-image[_ngcontent-%COMP%] .box-over-image__box--white[_ngcontent-%COMP%]{background:#fff}.dnd-section[_ngcontent-%COMP%] .fotoFS[_ngcontent-%COMP%] .module[_ngcontent-%COMP%] .module__inner[_ngcontent-%COMP%] .box-over-image[_ngcontent-%COMP%] .box-over-image__box[_ngcontent-%COMP%]{position:absolute;width:40%;top:20%}.dnd-section[_ngcontent-%COMP%] .fotoFS[_ngcontent-%COMP%] .module[_ngcontent-%COMP%] .module__inner[_ngcontent-%COMP%] .box-over-image[_ngcontent-%COMP%] .box-over-image--align-left[_ngcontent-%COMP%] .box-over-image__box[_ngcontent-%COMP%], .dnd-section[_ngcontent-%COMP%] .fotoFS[_ngcontent-%COMP%] .module[_ngcontent-%COMP%] .module__inner[_ngcontent-%COMP%] .box-over-image[_ngcontent-%COMP%] .box-over-image--align-right[_ngcontent-%COMP%] .box-over-image__box[_ngcontent-%COMP%]{top:50%;transform:translateY(-50%)}.dnd-section[_ngcontent-%COMP%] .fotoFS[_ngcontent-%COMP%] .module[_ngcontent-%COMP%] .module__inner[_ngcontent-%COMP%] .box-over-image[_ngcontent-%COMP%] .box-over-image--align-left[_ngcontent-%COMP%] .box-over-image__box[_ngcontent-%COMP%]{left:0}.dnd-section[_ngcontent-%COMP%] .fotoFS[_ngcontent-%COMP%] .module[_ngcontent-%COMP%] .module__inner[_ngcontent-%COMP%] .box-over-image[_ngcontent-%COMP%] #box_over_image[_ngcontent-%COMP%]{padding:48px}.dnd-section[_ngcontent-%COMP%] .fotoFS[_ngcontent-%COMP%] .module[_ngcontent-%COMP%] .module__inner[_ngcontent-%COMP%] .box-over-image--align-left[_ngcontent-%COMP%]{text-align:right}.dnd-section[_ngcontent-%COMP%] .moduleForm[_ngcontent-%COMP%]{max-width:100%;width:100%}.dnd-section[_ngcontent-%COMP%] .moduleForm[_ngcontent-%COMP%] .form[_ngcontent-%COMP%]{border-radius:24px;margin-bottom:24px;padding:24px}.dnd-section[_ngcontent-%COMP%] .moduleForm[_ngcontent-%COMP%] .form[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%]{margin-bottom:1rem}.dnd-section[_ngcontent-%COMP%] .moduleForm[_ngcontent-%COMP%] .form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{background-color:#be2615;border-color:#be2615;width:5rem;height:3rem}.dnd-section[_ngcontent-%COMP%] .moduleForm[_ngcontent-%COMP%] .form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover{border-color:#000}.dnd-section[_ngcontent-%COMP%] .moduleForm[_ngcontent-%COMP%] .form[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{margin-top:1rem}"]}),e})(),ck=(()=>{class e{constructor(){this.title="LoginFs"}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=Io({type:e,selectors:[["app-root"]],decls:11,vars:3,consts:[[1,"container"],[1,"d-flex","flex-wrap","justify-content-center","py-3","mb-4","border-bottom"],["href","https://forsales.it",1,"d-flex","align-items-center","mb-3","mb-md-0","me-md-auto","link-body-emphasis","text-decoration-none"],["src","https://26601386.fs1.hubspotusercontent-eu1.net/hub/26601386/hubfs/logo-forsales-black.png?width=119&height=50&name=logo-forsales-black.png"],[1,"nav","nav-pills"],[1,"nav-item"],["href","https://forsales.it",1,"nav-link","linkFS"]],template:function(n,r){1&n&&(Te(0,"div",0),_n(1,"router-outlet"),Te(2,"header",1)(3,"a",2),_n(4,"img",3),Fe(),Te(5,"ul",4)(6,"li",5)(7,"a",6),Ht(8),Bn(9,"translate"),Fe()()()(),_n(10,"app-login"),Fe()),2&n&&(Vt(8),fr($n(9,1,"torna")))},dependencies:[ef,uk,$C]}),e})();class dk{constructor(t,n="/assets/i18n/",r=".json"){this.http=t,this.prefix=n,this.suffix=r}getTranslation(t){return this.http.get(`${this.prefix}${t}${this.suffix}`)}}function fk(e){return new dk(e,"./assets/i18n/",".json?cb="+(new Date).getTime())}let hk=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=ct({type:e,bootstrap:[ck]}),e.\u0275inj=ot({providers:[NC,Ef,{provide:nn,deps:[Ef],useFactory:t=>t.setDefaultLang()}],imports:[KR,J1,yO,sk,uL.forRoot({loader:{provide:Hi,useFactory:fk,deps:[Rd]}})]}),e})();(function aN(){t_=!1})(),qR().bootstrapModule(hk).catch(e=>console.error(e))}},Y=>{Y(Y.s=379)}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.