1 |
- "use strict";(self.webpackChunkgc_form=self.webpackChunkgc_form||[]).push([[179],{207:()=>{function pe(e){return"function"==typeof e}function Si(e){const t=e(r=>{Error.call(r),r.stack=(new Error).stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}const Xo=Si(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((r,i)=>`${i+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t});function Ii(e,n){if(e){const t=e.indexOf(n);0<=t&&e.splice(t,1)}}class Pt{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;const{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(const o of t)o.remove(this);else t.remove(this);const{initialTeardown:r}=this;if(pe(r))try{r()}catch(o){n=o instanceof Xo?o.errors:[o]}const{_finalizers:i}=this;if(i){this._finalizers=null;for(const o of i)try{Jf(o)}catch(s){n=null!=n?n:[],s instanceof Xo?n=[...n,...s.errors]:n.push(s)}}if(n)throw new Xo(n)}}add(n){var t;if(n&&n!==this)if(this.closed)Jf(n);else{if(n instanceof Pt){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=null!==(t=this._finalizers)&&void 0!==t?t:[]).push(n)}}_hasParent(n){const{_parentage:t}=this;return t===n||Array.isArray(t)&&t.includes(n)}_addParent(n){const{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(n),t):t?[t,n]:n}_removeParent(n){const{_parentage:t}=this;t===n?this._parentage=null:Array.isArray(t)&&Ii(t,n)}remove(n){const{_finalizers:t}=this;t&&Ii(t,n),n instanceof Pt&&n._removeParent(this)}}Pt.EMPTY=(()=>{const e=new Pt;return e.closed=!0,e})();const Wf=Pt.EMPTY;function qf(e){return e instanceof Pt||e&&"closed"in e&&pe(e.remove)&&pe(e.add)&&pe(e.unsubscribe)}function Jf(e){pe(e)?e():e.unsubscribe()}const ar={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},es={setTimeout(e,n,...t){const{delegate:r}=es;return null!=r&&r.setTimeout?r.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){const{delegate:n}=es;return((null==n?void 0:n.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Kf(e){es.setTimeout(()=>{const{onUnhandledError:n}=ar;if(!n)throw e;n(e)})}function Qf(){}const P0=dl("C",void 0,void 0);function dl(e,n,t){return{kind:e,value:n,error:t}}let lr=null;function ts(e){if(ar.useDeprecatedSynchronousErrorHandling){const n=!lr;if(n&&(lr={errorThrown:!1,error:null}),e(),n){const{errorThrown:t,error:r}=lr;if(lr=null,t)throw r}}else e()}class fl extends Pt{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,qf(n)&&n.add(this)):this.destination=j0}static create(n,t,r){return new Ai(n,t,r)}next(n){this.isStopped?pl(function O0(e){return dl("N",e,void 0)}(n),this):this._next(n)}error(n){this.isStopped?pl(function R0(e){return dl("E",void 0,e)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?pl(P0,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const k0=Function.prototype.bind;function hl(e,n){return k0.call(e,n)}class L0{constructor(n){this.partialObserver=n}next(n){const{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(r){ns(r)}}error(n){const{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(r){ns(r)}else ns(n)}complete(){const{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){ns(t)}}}class Ai extends fl{constructor(n,t,r){let i;if(super(),pe(n)||!n)i={next:null!=n?n:void 0,error:null!=t?t:void 0,complete:null!=r?r:void 0};else{let o;this&&ar.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe(),i={next:n.next&&hl(n.next,o),error:n.error&&hl(n.error,o),complete:n.complete&&hl(n.complete,o)}):i=n}this.destination=new L0(i)}}function ns(e){ar.useDeprecatedSynchronousErrorHandling?function x0(e){ar.useDeprecatedSynchronousErrorHandling&&lr&&(lr.errorThrown=!0,lr.error=e)}(e):Kf(e)}function pl(e,n){const{onStoppedNotification:t}=ar;t&&es.setTimeout(()=>t(e,n))}const j0={closed:!0,next:Qf,error:function V0(e){throw e},complete:Qf},gl="function"==typeof Symbol&&Symbol.observable||"@@observable";function ur(e){return e}function Zf(e){return 0===e.length?ur:1===e.length?e[0]:function(t){return e.reduce((r,i)=>i(r),t)}}let Ae=(()=>{class e{constructor(t){t&&(this._subscribe=t)}lift(t){const r=new e;return r.source=this,r.operator=t,r}subscribe(t,r,i){const o=function H0(e){return e&&e instanceof fl||function $0(e){return e&&pe(e.next)&&pe(e.error)&&pe(e.complete)}(e)&&qf(e)}(t)?t:new Ai(t,r,i);return ts(()=>{const{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(t){try{return this._subscribe(t)}catch(r){t.error(r)}}forEach(t,r){return new(r=Yf(r))((i,o)=>{const s=new Ai({next:a=>{try{t(a)}catch(l){o(l),s.unsubscribe()}},error:o,complete:i});this.subscribe(s)})}_subscribe(t){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(t)}[gl](){return this}pipe(...t){return Zf(t)(this)}toPromise(t){return new(t=Yf(t))((r,i)=>{let o;this.subscribe(s=>o=s,s=>i(s),()=>r(o))})}}return e.create=n=>new e(n),e})();function Yf(e){var n;return null!==(n=null!=e?e:ar.Promise)&&void 0!==n?n:Promise}const U0=Si(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let sn=(()=>{class e extends Ae{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const r=new Xf(this,this);return r.operator=t,r}_throwIfClosed(){if(this.closed)throw new U0}next(t){ts(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(t)}})}error(t){ts(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;const{observers:r}=this;for(;r.length;)r.shift().error(t)}})}complete(){ts(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return(null===(t=this.observers)||void 0===t?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){const{hasError:r,isStopped:i,observers:o}=this;return r||i?Wf:(this.currentObservers=null,o.push(t),new Pt(()=>{this.currentObservers=null,Ii(o,t)}))}_checkFinalizedStatuses(t){const{hasError:r,thrownError:i,isStopped:o}=this;r?t.error(i):o&&t.complete()}asObservable(){const t=new Ae;return t.source=this,t}}return e.create=(n,t)=>new Xf(n,t),e})();class Xf extends sn{constructor(n,t){super(),this.destination=n,this.source=t}next(n){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===r||r.call(t,n)}error(n){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===r||r.call(t,n)}complete(){var n,t;null===(t=null===(n=this.destination)||void 0===n?void 0:n.complete)||void 0===t||t.call(n)}_subscribe(n){var t,r;return null!==(r=null===(t=this.source)||void 0===t?void 0:t.subscribe(n))&&void 0!==r?r:Wf}}function eh(e){return pe(null==e?void 0:e.lift)}function qe(e){return n=>{if(eh(n))return n.lift(function(t){try{return e(t,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function Be(e,n,t,r,i){return new G0(e,n,t,r,i)}class G0 extends fl{constructor(n,t,r,i,o,s){super(n),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=t?function(a){try{t(a)}catch(l){n.error(l)}}:super._next,this._error=i?function(a){try{i(a)}catch(l){n.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:t}=this;super.unsubscribe(),!t&&(null===(n=this.onFinalize)||void 0===n||n.call(this))}}}function ne(e,n){return qe((t,r)=>{let i=0;t.subscribe(Be(r,o=>{r.next(e.call(n,o,i++))}))})}function cr(e){return this instanceof cr?(this.v=e,this):new cr(e)}function q0(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,r=t.apply(e,n||[]),o=[];return i={},s("next"),s("throw"),s("return"),i[Symbol.asyncIterator]=function(){return this},i;function s(v){r[v]&&(i[v]=function(y){return new Promise(function(_,D){o.push([v,y,_,D])>1||a(v,y)})})}function a(v,y){try{!function l(v){v.value instanceof cr?Promise.resolve(v.value.v).then(u,c):f(o[0][2],v)}(r[v](y))}catch(_){f(o[0][3],_)}}function u(v){a("next",v)}function c(v){a("throw",v)}function f(v,y){v(y),o.shift(),o.length&&a(o[0][0],o[0][1])}}function J0(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=function rh(e){var n="function"==typeof Symbol&&Symbol.iterator,t=n&&e[n],r=0;if(t)return t.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(n?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(o){t[o]=e[o]&&function(s){return new Promise(function(a,l){!function i(o,s,a,l){Promise.resolve(l).then(function(u){o({value:u,done:a})},s)}(a,l,(s=e[o](s)).done,s.value)})}}}const ih=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function oh(e){return pe(null==e?void 0:e.then)}function sh(e){return pe(e[gl])}function ah(e){return Symbol.asyncIterator&&pe(null==e?void 0:e[Symbol.asyncIterator])}function lh(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const uh=function Q0(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function ch(e){return pe(null==e?void 0:e[uh])}function dh(e){return q0(this,arguments,function*(){const t=e.getReader();try{for(;;){const{value:r,done:i}=yield cr(t.read());if(i)return yield cr(void 0);yield yield cr(r)}}finally{t.releaseLock()}})}function fh(e){return pe(null==e?void 0:e.getReader)}function Gt(e){if(e instanceof Ae)return e;if(null!=e){if(sh(e))return function Z0(e){return new Ae(n=>{const t=e[gl]();if(pe(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(ih(e))return function Y0(e){return new Ae(n=>{for(let t=0;t<e.length&&!n.closed;t++)n.next(e[t]);n.complete()})}(e);if(oh(e))return function X0(e){return new Ae(n=>{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,Kf)})}(e);if(ah(e))return hh(e);if(ch(e))return function eD(e){return new Ae(n=>{for(const t of e)if(n.next(t),n.closed)return;n.complete()})}(e);if(fh(e))return function tD(e){return hh(dh(e))}(e)}throw lh(e)}function hh(e){return new Ae(n=>{(function nD(e,n){var t,r,i,o;return function z0(e,n,t,r){return new(t||(t=Promise))(function(o,s){function a(c){try{u(r.next(c))}catch(f){s(f)}}function l(c){try{u(r.throw(c))}catch(f){s(f)}}function u(c){c.done?o(c.value):function i(o){return o instanceof t?o:new t(function(s){s(o)})}(c.value).then(a,l)}u((r=r.apply(e,n||[])).next())})}(this,void 0,void 0,function*(){try{for(t=J0(e);!(r=yield t.next()).done;)if(n.next(r.value),n.closed)return}catch(s){i={error:s}}finally{try{r&&!r.done&&(o=t.return)&&(yield o.call(t))}finally{if(i)throw i.error}}n.complete()})})(e,n).catch(t=>n.error(t))})}function Dn(e,n,t,r=0,i=!1){const o=n.schedule(function(){t(),i?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(o),!i)return o}function Ke(e,n,t=1/0){return pe(n)?Ke((r,i)=>ne((o,s)=>n(r,o,i,s))(Gt(e(r,i))),t):("number"==typeof n&&(t=n),qe((r,i)=>function rD(e,n,t,r,i,o,s,a){const l=[];let u=0,c=0,f=!1;const v=()=>{f&&!l.length&&!u&&n.complete()},y=D=>u<r?_(D):l.push(D),_=D=>{o&&n.next(D),u++;let I=!1;Gt(t(D,c++)).subscribe(Be(n,A=>{null==i||i(A),o?y(A):n.next(A)},()=>{I=!0},void 0,()=>{if(I)try{for(u--;l.length&&u<r;){const A=l.shift();s?Dn(n,s,()=>_(A)):_(A)}v()}catch(A){n.error(A)}}))};return e.subscribe(Be(n,y,()=>{f=!0,v()})),()=>{null==a||a()}}(r,i,e,t)))}function Fr(e=1/0){return Ke(ur,e)}const bn=new Ae(e=>e.complete());function vl(e){return e[e.length-1]}function ph(e){return pe(vl(e))?e.pop():void 0}function Ti(e){return function oD(e){return e&&pe(e.schedule)}(vl(e))?e.pop():void 0}function gh(e,n=0){return qe((t,r)=>{t.subscribe(Be(r,i=>Dn(r,e,()=>r.next(i),n),()=>Dn(r,e,()=>r.complete(),n),i=>Dn(r,e,()=>r.error(i),n)))})}function mh(e,n=0){return qe((t,r)=>{r.add(e.schedule(()=>t.subscribe(r),n))})}function vh(e,n){if(!e)throw new Error("Iterable cannot be null");return new Ae(t=>{Dn(t,n,()=>{const r=e[Symbol.asyncIterator]();Dn(t,n,()=>{r.next().then(i=>{i.done?t.complete():t.next(i.value)})},0,!0)})})}function Re(e,n){return n?function fD(e,n){if(null!=e){if(sh(e))return function aD(e,n){return Gt(e).pipe(mh(n),gh(n))}(e,n);if(ih(e))return function uD(e,n){return new Ae(t=>{let r=0;return n.schedule(function(){r===e.length?t.complete():(t.next(e[r++]),t.closed||this.schedule())})})}(e,n);if(oh(e))return function lD(e,n){return Gt(e).pipe(mh(n),gh(n))}(e,n);if(ah(e))return vh(e,n);if(ch(e))return function cD(e,n){return new Ae(t=>{let r;return Dn(t,n,()=>{r=e[uh](),Dn(t,n,()=>{let i,o;try{({value:i,done:o}=r.next())}catch(s){return void t.error(s)}o?t.complete():t.next(i)},0,!0)}),()=>pe(null==r?void 0:r.return)&&r.return()})}(e,n);if(fh(e))return function dD(e,n){return vh(dh(e),n)}(e,n)}throw lh(e)}(e,n):Gt(e)}function yl(e,n,...t){if(!0===n)return void e();if(!1===n)return;const r=new Ai({next:()=>{r.unsubscribe(),e()}});return n(...t).subscribe(r)}function fe(e){for(let n in e)if(e[n]===fe)return n;throw Error("Could not find renamed property on target object.")}function _l(e,n){for(const t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function he(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(he).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const n=e.toString();if(null==n)return""+n;const t=n.indexOf("\n");return-1===t?n:n.substring(0,t)}function Cl(e,n){return null==e||""===e?null===n?"":n:null==n||""===n?e:e+" "+n}const gD=fe({__forward_ref__:fe});function ge(e){return e.__forward_ref__=ge,e.toString=function(){return he(this())},e}function G(e){return Dl(e)?e():e}function Dl(e){return"function"==typeof e&&e.hasOwnProperty(gD)&&e.__forward_ref__===ge}class F extends Error{constructor(n,t){super(function rs(e,n){return`NG0${Math.abs(e)}${n?": "+n.trim():""}`}(n,t)),this.code=n}}function K(e){return"string"==typeof e?e:null==e?"":String(e)}function is(e,n){throw new F(-201,!1)}function _t(e,n){null==e&&function ue(e,n,t,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${t} ${r} ${n} <=Actual]`))}(n,e,null,"!=")}function z(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Ct(e){return{providers:e.providers||[],imports:e.imports||[]}}function os(e){return yh(e,ss)||yh(e,Ch)}function yh(e,n){return e.hasOwnProperty(n)?e[n]:null}function _h(e){return e&&(e.hasOwnProperty(bl)||e.hasOwnProperty(ED))?e[bl]:null}const ss=fe({\u0275prov:fe}),bl=fe({\u0275inj:fe}),Ch=fe({ngInjectableDef:fe}),ED=fe({ngInjectorDef:fe});var H=(()=>((H=H||{})[H.Default=0]="Default",H[H.Host=1]="Host",H[H.Self=2]="Self",H[H.SkipSelf=4]="SkipSelf",H[H.Optional=8]="Optional",H))();let wl;function Rt(e){const n=wl;return wl=e,n}function Dh(e,n,t){const r=os(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:t&H.Optional?null:void 0!==n?n:void is(he(e))}function Un(e){return{toString:e}.toString()}var zt=(()=>((zt=zt||{})[zt.OnPush=0]="OnPush",zt[zt.Default=1]="Default",zt))(),an=(()=>{return(e=an||(an={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",an;var e})();const me=(()=>"undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof global&&global||"undefined"!=typeof window&&window||"undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self)(),Pr={},ae=[],as=fe({\u0275cmp:fe}),El=fe({\u0275dir:fe}),Ml=fe({\u0275pipe:fe}),bh=fe({\u0275mod:fe}),En=fe({\u0275fac:fe}),Ni=fe({__NG_ELEMENT_ID__:fe});let SD=0;function $e(e){return Un(()=>{const t=!0===e.standalone,r={},i={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===zt.OnPush,directiveDefs:null,pipeDefs:null,standalone:t,dependencies:t&&e.dependencies||null,getStandaloneInjector:null,selectors:e.selectors||ae,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||an.Emulated,id:"c"+SD++,styles:e.styles||ae,_:null,setInput:null,schemas:e.schemas||null,tView:null},o=e.dependencies,s=e.features;return i.inputs=Sh(e.inputs,r),i.outputs=Sh(e.outputs),s&&s.forEach(a=>a(i)),i.directiveDefs=o?()=>("function"==typeof o?o():o).map(Eh).filter(Mh):null,i.pipeDefs=o?()=>("function"==typeof o?o():o).map(st).filter(Mh):null,i})}function Eh(e){return ce(e)||ot(e)}function Mh(e){return null!==e}function Ot(e){return Un(()=>({type:e.type,bootstrap:e.bootstrap||ae,declarations:e.declarations||ae,imports:e.imports||ae,exports:e.exports||ae,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Sh(e,n){if(null==e)return Pr;const t={};for(const r in e)if(e.hasOwnProperty(r)){let i=e[r],o=i;Array.isArray(i)&&(o=i[1],i=i[0]),t[i]=r,n&&(n[i]=o)}return t}const W=$e;function pt(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 ce(e){return e[as]||null}function ot(e){return e[El]||null}function st(e){return e[Ml]||null}function Dt(e,n){const t=e[bh]||null;if(!t&&!0===n)throw new Error(`Type ${he(e)} does not have '\u0275mod' property.`);return t}const X=11;function gt(e){return Array.isArray(e)&&"object"==typeof e[1]}function qt(e){return Array.isArray(e)&&!0===e[1]}function Al(e){return 0!=(8&e.flags)}function ds(e){return 2==(2&e.flags)}function fs(e){return 1==(1&e.flags)}function Jt(e){return null!==e.template}function FD(e){return 0!=(256&e[2])}function gr(e,n){return e.hasOwnProperty(En)?e[En]:null}class OD{constructor(n,t,r){this.previousValue=n,this.currentValue=t,this.firstChange=r}isFirstChange(){return this.firstChange}}function kt(){return Th}function Th(e){return e.type.prototype.ngOnChanges&&(e.setInput=kD),xD}function xD(){const e=Fh(this),n=null==e?void 0:e.current;if(n){const t=e.previous;if(t===Pr)e.previous=n;else for(let r in n)t[r]=n[r];e.current=null,this.ngOnChanges(n)}}function kD(e,n,t,r){const i=Fh(e)||function LD(e,n){return e[Nh]=n}(e,{previous:Pr,current:null}),o=i.current||(i.current={}),s=i.previous,a=this.declaredInputs[t],l=s[a];o[a]=new OD(l&&l.currentValue,n,s===Pr),e[r]=n}kt.ngInherit=!0;const Nh="__ngSimpleChanges__";function Fh(e){return e[Nh]||null}function Oe(e){for(;Array.isArray(e);)e=e[0];return e}function hs(e,n){return Oe(n[e])}function Vt(e,n){return Oe(n[e.index])}function Rl(e,n){return e.data[n]}function wt(e,n){const t=n[e];return gt(t)?t:t[0]}function ps(e){return 64==(64&e[2])}function Gn(e,n){return null==n?null:e[n]}function Ph(e){e[18]=0}function Ol(e,n){e[5]+=n;let t=e,r=e[3];for(;null!==r&&(1===n&&1===t[5]||-1===n&&0===t[5]);)r[5]+=n,t=r,r=r[3]}const J={lFrame:Hh(null),bindingsEnabled:!0};function Oh(){return J.bindingsEnabled}function T(){return J.lFrame.lView}function oe(){return J.lFrame.tView}function Te(e){return J.lFrame.contextLView=e,e[8]}function Ne(e){return J.lFrame.contextLView=null,e}function He(){let e=xh();for(;null!==e&&64===e.type;)e=e.parent;return e}function xh(){return J.lFrame.currentTNode}function ln(e,n){const t=J.lFrame;t.currentTNode=e,t.isParent=n}function xl(){return J.lFrame.isParent}function at(){const e=J.lFrame;let n=e.bindingRootIndex;return-1===n&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function Mn(){return J.lFrame.bindingIndex}function Vr(){return J.lFrame.bindingIndex++}function Sn(e){const n=J.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function YD(e,n){const t=J.lFrame;t.bindingIndex=t.bindingRootIndex=e,Ll(n)}function Ll(e){J.lFrame.currentDirectiveIndex=e}function jh(){return J.lFrame.currentQueryIndex}function jl(e){J.lFrame.currentQueryIndex=e}function eb(e){const n=e[1];return 2===n.type?n.declTNode:1===n.type?e[6]:null}function Bh(e,n,t){if(t&H.SkipSelf){let i=n,o=e;for(;!(i=i.parent,null!==i||t&H.Host||(i=eb(o),null===i||(o=o[15],10&i.type))););if(null===i)return!1;n=i,e=o}const r=J.lFrame=$h();return r.currentTNode=n,r.lView=e,!0}function Bl(e){const n=$h(),t=e[1];J.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function $h(){const e=J.lFrame,n=null===e?null:e.child;return null===n?Hh(e):n}function Hh(e){const n={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=n),n}function Uh(){const e=J.lFrame;return J.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Gh=Uh;function $l(){const e=Uh();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 lt(){return J.lFrame.selectedIndex}function zn(e){J.lFrame.selectedIndex=e}function Me(){const e=J.lFrame;return Rl(e.tView,e.selectedIndex)}function gs(e,n){for(let t=n.directiveStart,r=n.directiveEnd;t<r;t++){const o=e.data[t].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:l,ngAfterViewChecked:u,ngOnDestroy:c}=o;s&&(e.contentHooks||(e.contentHooks=[])).push(-t,s),a&&((e.contentHooks||(e.contentHooks=[])).push(t,a),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(t,a)),l&&(e.viewHooks||(e.viewHooks=[])).push(-t,l),u&&((e.viewHooks||(e.viewHooks=[])).push(t,u),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(t,u)),null!=c&&(e.destroyHooks||(e.destroyHooks=[])).push(t,c)}}function ms(e,n,t){zh(e,n,3,t)}function vs(e,n,t,r){(3&e[2])===t&&zh(e,n,t,r)}function Hl(e,n){let t=e[2];(3&t)===n&&(t&=2047,t+=1,e[2]=t)}function zh(e,n,t,r){const o=null!=r?r:-1,s=n.length-1;let a=0;for(let l=void 0!==r?65535&e[18]:0;l<s;l++)if("number"==typeof n[l+1]){if(a=n[l],null!=r&&a>=r)break}else n[l]<0&&(e[18]+=65536),(a<o||-1==o)&&(ub(e,t,n,l),e[18]=(4294901760&e[18])+l+2),l++}function ub(e,n,t,r){const i=t[r]<0,o=t[r+1],a=e[i?-t[r]:t[r]];if(i){if(e[2]>>11<e[18]>>16&&(3&e[2])===n){e[2]+=2048;try{o.call(a)}finally{}}}else try{o.call(a)}finally{}}class ki{constructor(n,t,r){this.factory=n,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=r}}function ys(e,n,t){let r=0;for(;r<t.length;){const i=t[r];if("number"==typeof i){if(0!==i)break;r++;const o=t[r++],s=t[r++],a=t[r++];e.setAttribute(n,s,a,o)}else{const o=i,s=t[++r];qh(o)?e.setProperty(n,o,s):e.setAttribute(n,o,s),r++}}return r}function Wh(e){return 3===e||4===e||6===e}function qh(e){return 64===e.charCodeAt(0)}function _s(e,n){if(null!==n&&0!==n.length)if(null===e||0===e.length)e=n.slice();else{let t=-1;for(let r=0;r<n.length;r++){const i=n[r];"number"==typeof i?t=i:0===t||Jh(e,t,i,null,-1===t||2===t?n[++r]:null)}}return e}function Jh(e,n,t,r,i){let o=0,s=e.length;if(-1===n)s=-1;else for(;o<e.length;){const a=e[o++];if("number"==typeof a){if(a===n){s=-1;break}if(a>n){s=o-1;break}}}for(;o<e.length;){const a=e[o];if("number"==typeof a)break;if(a===t){if(null===r)return void(null!==i&&(e[o+1]=i));if(r===e[o+1])return void(e[o+2]=i)}o++,null!==r&&o++,null!==i&&o++}-1!==s&&(e.splice(s,0,n),o=s+1),e.splice(o++,0,t),null!==r&&e.splice(o++,0,r),null!==i&&e.splice(o++,0,i)}function Kh(e){return-1!==e}function jr(e){return 32767&e}function Br(e,n){let t=function pb(e){return e>>16}(e),r=n;for(;t>0;)r=r[15],t--;return r}let Gl=!0;function Cs(e){const n=Gl;return Gl=e,n}let gb=0;const un={};function Vi(e,n){const t=Wl(e,n);if(-1!==t)return t;const r=n[1];r.firstCreatePass&&(e.injectorIndex=n.length,zl(r.data,e),zl(n,null),zl(r.blueprint,null));const i=Ds(e,n),o=e.injectorIndex;if(Kh(i)){const s=jr(i),a=Br(i,n),l=a[1].data;for(let u=0;u<8;u++)n[o+u]=a[s+u]|l[s+u]}return n[o+8]=i,o}function zl(e,n){e.push(0,0,0,0,0,0,0,0,n)}function Wl(e,n){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===n[e.injectorIndex+8]?-1:e.injectorIndex}function Ds(e,n){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let t=0,r=null,i=n;for(;null!==i;){if(r=ip(i),null===r)return-1;if(t++,i=i[15],-1!==r.injectorIndex)return r.injectorIndex|t<<16}return-1}function bs(e,n,t){!function mb(e,n,t){let r;"string"==typeof t?r=t.charCodeAt(0)||0:t.hasOwnProperty(Ni)&&(r=t[Ni]),null==r&&(r=t[Ni]=gb++);const i=255&r;n.data[e+(i>>5)]|=1<<i}(e,n,t)}function Yh(e,n,t){if(t&H.Optional||void 0!==e)return e;is()}function Xh(e,n,t,r){if(t&H.Optional&&void 0===r&&(r=null),0==(t&(H.Self|H.Host))){const i=e[9],o=Rt(void 0);try{return i?i.get(n,r,t&H.Optional):Dh(n,r,t&H.Optional)}finally{Rt(o)}}return Yh(r,0,t)}function ep(e,n,t,r=H.Default,i){if(null!==e){if(1024&n[2]){const s=function Db(e,n,t,r,i){let o=e,s=n;for(;null!==o&&null!==s&&1024&s[2]&&!(256&s[2]);){const a=tp(o,s,t,r|H.Self,un);if(a!==un)return a;let l=o.parent;if(!l){const u=s[21];if(u){const c=u.get(t,un,r);if(c!==un)return c}l=ip(s),s=s[15]}o=l}return i}(e,n,t,r,un);if(s!==un)return s}const o=tp(e,n,t,r,un);if(o!==un)return o}return Xh(n,t,r,i)}function tp(e,n,t,r,i){const o=function _b(e){if("string"==typeof e)return e.charCodeAt(0)||0;const n=e.hasOwnProperty(Ni)?e[Ni]:void 0;return"number"==typeof n?n>=0?255&n:Cb:n}(t);if("function"==typeof o){if(!Bh(n,e,r))return r&H.Host?Yh(i,0,r):Xh(n,t,r,i);try{const s=o(r);if(null!=s||r&H.Optional)return s;is()}finally{Gh()}}else if("number"==typeof o){let s=null,a=Wl(e,n),l=-1,u=r&H.Host?n[16][6]:null;for((-1===a||r&H.SkipSelf)&&(l=-1===a?Ds(e,n):n[a+8],-1!==l&&rp(r,!1)?(s=n[1],a=jr(l),n=Br(l,n)):a=-1);-1!==a;){const c=n[1];if(np(o,a,c.data)){const f=yb(a,n,t,s,r,u);if(f!==un)return f}l=n[a+8],-1!==l&&rp(r,n[1].data[a+8]===u)&&np(o,a,n)?(s=c,a=jr(l),n=Br(l,n)):a=-1}}return i}function yb(e,n,t,r,i,o){const s=n[1],a=s.data[e+8],c=ws(a,s,t,null==r?ds(a)&&Gl:r!=s&&0!=(3&a.type),i&H.Host&&o===a);return null!==c?ji(n,s,c,a):un}function ws(e,n,t,r,i){const o=e.providerIndexes,s=n.data,a=1048575&o,l=e.directiveStart,c=o>>20,v=i?a+c:e.directiveEnd;for(let y=r?a:a+c;y<v;y++){const _=s[y];if(y<l&&t===_||y>=l&&_.type===t)return y}if(i){const y=s[l];if(y&&Jt(y)&&y.type===t)return l}return null}function ji(e,n,t,r){let i=e[t];const o=n.data;if(function cb(e){return e instanceof ki}(i)){const s=i;s.resolving&&function mD(e,n){const t=n?`. Dependency path: ${n.join(" > ")} > ${e}`:"";throw new F(-200,`Circular dependency in DI detected for ${e}${t}`)}(function se(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():K(e)}(o[t]));const a=Cs(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?Rt(s.injectImpl):null;Bh(e,r,H.Default);try{i=e[t]=s.factory(void 0,o,e,r),n.firstCreatePass&&t>=r.directiveStart&&function lb(e,n,t){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=n.type.prototype;if(r){const s=Th(n);(t.preOrderHooks||(t.preOrderHooks=[])).push(e,s),(t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(e,s)}i&&(t.preOrderHooks||(t.preOrderHooks=[])).push(0-e,i),o&&((t.preOrderHooks||(t.preOrderHooks=[])).push(e,o),(t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(e,o))}(t,o[t],n)}finally{null!==l&&Rt(l),Cs(a),s.resolving=!1,Gh()}}return i}function np(e,n,t){return!!(t[n+(e>>5)]&1<<e)}function rp(e,n){return!(e&H.Self||e&H.Host&&n)}class $r{constructor(n,t){this._tNode=n,this._lView=t}get(n,t,r){return ep(this._tNode,this._lView,n,r,t)}}function Cb(){return new $r(He(),T())}function Xe(e){return Un(()=>{const n=e.prototype.constructor,t=n[En]||ql(n),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const o=i[En]||ql(i);if(o&&o!==t)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function ql(e){return Dl(e)?()=>{const n=ql(G(e));return n&&n()}:gr(e)}function ip(e){const n=e[1],t=n.type;return 2===t?n.declTNode:1===t?e[6]:null}function Bi(e){return function vb(e,n){if("class"===n)return e.classes;if("style"===n)return e.styles;const t=e.attrs;if(t){const r=t.length;let i=0;for(;i<r;){const o=t[i];if(Wh(o))break;if(0===o)i+=2;else if("number"==typeof o)for(i++;i<r&&"string"==typeof t[i];)i++;else{if(o===n)return t[i+1];i+=2}}}return null}(He(),e)}const Ur="__parameters__";function zr(e,n,t){return Un(()=>{const r=function Jl(e){return function(...t){if(e){const r=e(...t);for(const i in r)this[i]=r[i]}}}(n);function i(...o){if(this instanceof i)return r.apply(this,o),this;const s=new i(...o);return a.annotation=s,a;function a(l,u,c){const f=l.hasOwnProperty(Ur)?l[Ur]:Object.defineProperty(l,Ur,{value:[]})[Ur];for(;f.length<=c;)f.push(null);return(f[c]=f[c]||[]).push(s),l}}return t&&(i.prototype=Object.create(t.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}class j{constructor(n,t){this._desc=n,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=z({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Et(e,n){void 0===n&&(n=e);for(let t=0;t<e.length;t++){let r=e[t];Array.isArray(r)?(n===e&&(n=e.slice(0,t)),Et(r,n)):n!==e&&n.push(r)}return n}function In(e,n){e.forEach(t=>Array.isArray(t)?In(t,n):n(t))}function sp(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function Es(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function Mt(e,n,t){let r=Wr(e,n);return r>=0?e[1|r]=t:(r=~r,function Mb(e,n,t,r){let i=e.length;if(i==n)e.push(t,r);else if(1===i)e.push(r,e[0]),e[0]=t;else{for(i--,e.push(e[i-1],e[i]);i>n;)e[i]=e[i-2],i--;e[n]=t,e[n+1]=r}}(e,r,n,t)),r}function Ql(e,n){const t=Wr(e,n);if(t>=0)return e[1|t]}function Wr(e,n){return function up(e,n,t){let r=0,i=e.length>>t;for(;i!==r;){const o=r+(i-r>>1),s=e[o<<t];if(n===s)return o<<t;s>n?i=o:r=o+1}return~(i<<t)}(e,n,1)}const Gi={},Yl="__NG_DI_FLAG__",Ss="ngTempTokenPath",Rb=/\n/gm,cp="__source";let zi;function qr(e){const n=zi;return zi=e,n}function xb(e,n=H.Default){if(void 0===zi)throw new F(-203,!1);return null===zi?Dh(e,void 0,n):zi.get(e,n&H.Optional?null:void 0,n)}function V(e,n=H.Default){return(function MD(){return wl}()||xb)(G(e),n)}function Fe(e,n=H.Default){return"number"!=typeof n&&(n=0|(n.optional&&8)|(n.host&&1)|(n.self&&2)|(n.skipSelf&&4)),V(e,n)}function Xl(e){const n=[];for(let t=0;t<e.length;t++){const r=G(e[t]);if(Array.isArray(r)){if(0===r.length)throw new F(900,!1);let i,o=H.Default;for(let s=0;s<r.length;s++){const a=r[s],l=kb(a);"number"==typeof l?-1===l?i=a.token:o|=l:i=a}n.push(V(i,o))}else n.push(V(r))}return n}function Wi(e,n){return e[Yl]=n,e.prototype[Yl]=n,e}function kb(e){return e[Yl]}const qi=Wi(zr("Optional"),8),Ji=Wi(zr("SkipSelf"),4);let tu;class wp{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}function qn(e){return e instanceof wp?e.changingThisBreaksApplicationSecurity:e}const sw=/^(?:(?:https?|mailto|data|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi;var xe=(()=>((xe=xe||{})[xe.NONE=0]="NONE",xe[xe.HTML=1]="HTML",xe[xe.STYLE=2]="STYLE",xe[xe.SCRIPT=3]="SCRIPT",xe[xe.URL=4]="URL",xe[xe.RESOURCE_URL=5]="RESOURCE_URL",xe))();function lu(e){const n=function Xi(){const e=T();return e&&e[12]}();return n?n.sanitize(xe.URL,e)||"":function Zi(e,n){const t=function nw(e){return e instanceof wp&&e.getTypeName()||null}(e);if(null!=t&&t!==n){if("ResourceURL"===t&&"URL"===n)return!0;throw new Error(`Required a safe ${n}, got a ${t} (see https://g.co/ng/security#xss)`)}return t===n}(e,"URL")?qn(e):function iu(e){return(e=String(e)).match(sw)?e:"unsafe:"+e}(K(e))}const uu=new j("ENVIRONMENT_INITIALIZER"),Fp=new j("INJECTOR",-1),Pp=new j("INJECTOR_DEF_TYPES");class Rp{get(n,t=Gi){if(t===Gi){const r=new Error(`NullInjectorError: No provider for ${he(n)}!`);throw r.name="NullInjectorError",r}return t}}function Cw(...e){return{\u0275providers:Op(0,e)}}function Op(e,...n){const t=[],r=new Set;let i;return In(n,o=>{const s=o;cu(s,t,[],r)&&(i||(i=[]),i.push(s))}),void 0!==i&&xp(i,t),t}function xp(e,n){for(let t=0;t<e.length;t++){const{providers:i}=e[t];In(i,o=>{n.push(o)})}}function cu(e,n,t,r){if(!(e=G(e)))return!1;let i=null,o=_h(e);const s=!o&&ce(e);if(o||s){if(s&&!s.standalone)return!1;i=e}else{const l=e.ngModule;if(o=_h(l),!o)return!1;i=l}const a=r.has(i);if(s){if(a)return!1;if(r.add(i),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const u of l)cu(u,n,t,r)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let u;r.add(i);try{In(o.imports,c=>{cu(c,n,t,r)&&(u||(u=[]),u.push(c))})}finally{}void 0!==u&&xp(u,n)}if(!a){const u=gr(i)||(()=>new i);n.push({provide:i,useFactory:u,deps:ae},{provide:Pp,useValue:i,multi:!0},{provide:uu,useValue:()=>V(i),multi:!0})}const l=o.providers;null==l||a||In(l,c=>{n.push(c)})}}return i!==e&&void 0!==e.providers}const Dw=fe({provide:String,useValue:fe});function du(e){return null!==e&&"object"==typeof e&&Dw in e}function mr(e){return"function"==typeof e}const fu=new j("Set Injector scope."),Ps={},ww={};let hu;function Rs(){return void 0===hu&&(hu=new Rp),hu}class Jn{}class Vp extends Jn{constructor(n,t,r,i){super(),this.parent=t,this.source=r,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,gu(n,s=>this.processProvider(s)),this.records.set(Fp,Qr(void 0,this)),i.has("environment")&&this.records.set(Jn,Qr(void 0,this));const o=this.records.get(fu);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Pp.multi,ae,H.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const n of this._ngOnDestroyHooks)n.ngOnDestroy();for(const n of this._onDestroyHooks)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(n){this._onDestroyHooks.push(n)}runInContext(n){this.assertNotDestroyed();const t=qr(this),r=Rt(void 0);try{return n()}finally{qr(t),Rt(r)}}get(n,t=Gi,r=H.Default){this.assertNotDestroyed();const i=qr(this),o=Rt(void 0);try{if(!(r&H.SkipSelf)){let a=this.records.get(n);if(void 0===a){const l=function Aw(e){return"function"==typeof e||"object"==typeof e&&e instanceof j}(n)&&os(n);a=l&&this.injectableDefInScope(l)?Qr(pu(n),Ps):null,this.records.set(n,a)}if(null!=a)return this.hydrate(n,a)}return(r&H.Self?Rs():this.parent).get(n,t=r&H.Optional&&t===Gi?null:t)}catch(s){if("NullInjectorError"===s.name){if((s[Ss]=s[Ss]||[]).unshift(he(n)),i)throw s;return function Lb(e,n,t,r){const i=e[Ss];throw n[cp]&&i.unshift(n[cp]),e.message=function Vb(e,n,t,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let i=he(n);if(Array.isArray(n))i=n.map(he).join(" -> ");else if("object"==typeof n){let o=[];for(let s in n)if(n.hasOwnProperty(s)){let a=n[s];o.push(s+":"+("string"==typeof a?JSON.stringify(a):he(a)))}i=`{${o.join(", ")}}`}return`${t}${r?"("+r+")":""}[${i}]: ${e.replace(Rb,"\n ")}`}("\n"+e.message,i,t,r),e.ngTokenPath=i,e[Ss]=null,e}(s,n,"R3InjectorError",this.source)}throw s}finally{Rt(o),qr(i)}}resolveInjectorInitializers(){const n=qr(this),t=Rt(void 0);try{const r=this.get(uu.multi,ae,H.Self);for(const i of r)i()}finally{qr(n),Rt(t)}}toString(){const n=[],t=this.records;for(const r of t.keys())n.push(he(r));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new F(205,!1)}processProvider(n){let t=mr(n=G(n))?n:G(n&&n.provide);const r=function Mw(e){return du(e)?Qr(void 0,e.useValue):Qr(jp(e),Ps)}(n);if(mr(n)||!0!==n.multi)this.records.get(t);else{let i=this.records.get(t);i||(i=Qr(void 0,Ps,!0),i.factory=()=>Xl(i.multi),this.records.set(t,i)),t=n,i.multi.push(n)}this.records.set(t,r)}hydrate(n,t){return t.value===Ps&&(t.value=ww,t.value=t.factory()),"object"==typeof t.value&&t.value&&function Iw(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}injectableDefInScope(n){if(!n.providedIn)return!1;const t=G(n.providedIn);return"string"==typeof t?"any"===t||this.scopes.has(t):this.injectorDefTypes.has(t)}}function pu(e){const n=os(e),t=null!==n?n.factory:gr(e);if(null!==t)return t;if(e instanceof j)throw new F(204,!1);if(e instanceof Function)return function Ew(e){const n=e.length;if(n>0)throw function Ui(e,n){const t=[];for(let r=0;r<e;r++)t.push(n);return t}(n,"?"),new F(204,!1);const t=function bD(e){const n=e&&(e[ss]||e[Ch]);if(n){const t=function wD(e){if(e.hasOwnProperty("name"))return e.name;const n=(""+e).match(/^function\s*([^\s(]+)/);return null===n?"":n[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${t}" 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 "${t}" class.`),n}return null}(e);return null!==t?()=>t.factory(e):()=>new e}(e);throw new F(204,!1)}function jp(e,n,t){let r;if(mr(e)){const i=G(e);return gr(i)||pu(i)}if(du(e))r=()=>G(e.useValue);else if(function Lp(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Xl(e.deps||[]));else if(function kp(e){return!(!e||!e.useExisting)}(e))r=()=>V(G(e.useExisting));else{const i=G(e&&(e.useClass||e.provide));if(!function Sw(e){return!!e.deps}(e))return gr(i)||pu(i);r=()=>new i(...Xl(e.deps))}return r}function Qr(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function Tw(e){return!!e.\u0275providers}function gu(e,n){for(const t of e)Array.isArray(t)?gu(t,n):Tw(t)?gu(t.\u0275providers,n):n(t)}class Bp{}class Pw{resolveComponentFactory(n){throw function Fw(e){const n=Error(`No component factory found for ${he(e)}. Did you add it to @NgModule.entryComponents?`);return n.ngComponent=e,n}(n)}}let eo=(()=>{class e{}return e.NULL=new Pw,e})();function Rw(){return Zr(He(),T())}function Zr(e,n){return new _e(Vt(e,n))}let _e=(()=>{class e{constructor(t){this.nativeElement=t}}return e.__NG_ELEMENT_ID__=Rw,e})();function Ow(e){return e instanceof _e?e.nativeElement:e}class Hp{}let Tn=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function xw(){const e=T(),t=wt(He().index,e);return(gt(t)?t:e)[X]}(),e})(),kw=(()=>{class e{}return e.\u0275prov=z({token:e,providedIn:"root",factory:()=>null}),e})();class to{constructor(n){this.full=n,this.major=n.split(".")[0],this.minor=n.split(".")[1],this.patch=n.split(".").slice(2).join(".")}}const Lw=new to("14.2.7"),mu={};function Du(e){return e.ngOriginalError}class Yr{constructor(){this._console=console}handleError(n){const t=this._findOriginalError(n);this._console.error("ERROR",n),t&&this._console.error("ORIGINAL ERROR",t)}_findOriginalError(n){let t=n&&Du(n);for(;t&&Du(t);)t=Du(t);return t||null}}const bu=new Map;let Kw=0;const Eu="__ngContext__";function et(e,n){gt(n)?(e[Eu]=n[20],function Zw(e){bu.set(e[20],e)}(n)):e[Eu]=n}function Nn(e){return e instanceof Function?e():e}var mt=(()=>((mt=mt||{})[mt.Important=1]="Important",mt[mt.DashCase=2]="DashCase",mt))();function Su(e,n){return undefined(e,n)}function ro(e){const n=e[3];return qt(n)?n[3]:n}function Iu(e){return ng(e[13])}function Au(e){return ng(e[4])}function ng(e){for(;null!==e&&!qt(e);)e=e[4];return e}function ei(e,n,t,r,i){if(null!=r){let o,s=!1;qt(r)?o=r:gt(r)&&(s=!0,r=r[0]);const a=Oe(r);0===e&&null!==t?null==i?lg(n,t,a):vr(n,t,a,i||null,!0):1===e&&null!==t?vr(n,t,a,i||null,!0):2===e?function gg(e,n,t){const r=Os(e,n);r&&function EE(e,n,t,r){e.removeChild(n,t,r)}(e,r,n,t)}(n,a,s):3===e&&n.destroyNode(a),null!=o&&function IE(e,n,t,r,i){const o=t[7];o!==Oe(t)&&ei(n,e,r,o,i);for(let a=10;a<t.length;a++){const l=t[a];io(l[1],l,e,n,r,o)}}(n,e,o,t,i)}}function Nu(e,n,t){return e.createElement(n,t)}function ig(e,n){const t=e[9],r=t.indexOf(n),i=n[3];512&n[2]&&(n[2]&=-513,Ol(i,-1)),t.splice(r,1)}function Fu(e,n){if(e.length<=10)return;const t=10+n,r=e[t];if(r){const i=r[17];null!==i&&i!==e&&ig(i,r),n>0&&(e[t-1][4]=r[4]);const o=Es(e,10+n);!function mE(e,n){io(e,n,n[X],2,null,null),n[0]=null,n[6]=null}(r[1],r);const s=o[19];null!==s&&s.detachView(o[1]),r[3]=null,r[4]=null,r[2]&=-65}return r}function og(e,n){if(!(128&n[2])){const t=n[X];t.destroyNode&&io(e,n,t,3,null,null),function _E(e){let n=e[13];if(!n)return Pu(e[1],e);for(;n;){let t=null;if(gt(n))t=n[13];else{const r=n[10];r&&(t=r)}if(!t){for(;n&&!n[4]&&n!==e;)gt(n)&&Pu(n[1],n),n=n[3];null===n&&(n=e),gt(n)&&Pu(n[1],n),t=n&&n[4]}n=t}}(n)}}function Pu(e,n){if(!(128&n[2])){n[2]&=-65,n[2]|=128,function wE(e,n){let t;if(null!=e&&null!=(t=e.destroyHooks))for(let r=0;r<t.length;r+=2){const i=n[t[r]];if(!(i instanceof ki)){const o=t[r+1];if(Array.isArray(o))for(let s=0;s<o.length;s+=2){const a=i[o[s]],l=o[s+1];try{l.call(a)}finally{}}else try{o.call(i)}finally{}}}}(e,n),function bE(e,n){const t=e.cleanup,r=n[7];let i=-1;if(null!==t)for(let o=0;o<t.length-1;o+=2)if("string"==typeof t[o]){const s=t[o+1],a="function"==typeof s?s(n):Oe(n[s]),l=r[i=t[o+2]],u=t[o+3];"boolean"==typeof u?a.removeEventListener(t[o],l,u):u>=0?r[i=u]():r[i=-u].unsubscribe(),o+=2}else{const s=r[i=t[o+1]];t[o].call(s)}if(null!==r){for(let o=i+1;o<r.length;o++)(0,r[o])();n[7]=null}}(e,n),1===n[1].type&&n[X].destroy();const t=n[17];if(null!==t&&qt(n[3])){t!==n[3]&&ig(t,n);const r=n[19];null!==r&&r.detachView(e)}!function Yw(e){bu.delete(e[20])}(n)}}function sg(e,n,t){return function ag(e,n,t){let r=n;for(;null!==r&&40&r.type;)r=(n=r).parent;if(null===r)return t[0];if(2&r.flags){const i=e.data[r.directiveStart].encapsulation;if(i===an.None||i===an.Emulated)return null}return Vt(r,t)}(e,n.parent,t)}function vr(e,n,t,r,i){e.insertBefore(n,t,r,i)}function lg(e,n,t){e.appendChild(n,t)}function ug(e,n,t,r,i){null!==r?vr(e,n,t,r,i):lg(e,n,t)}function Os(e,n){return e.parentNode(n)}let fg=function dg(e,n,t){return 40&e.type?Vt(e,t):null};function xs(e,n,t,r){const i=sg(e,r,n),o=n[X],a=function cg(e,n,t){return fg(e,n,t)}(r.parent||n[6],r,n);if(null!=i)if(Array.isArray(t))for(let l=0;l<t.length;l++)ug(o,i,t[l],a,!1);else ug(o,i,t,a,!1)}function ks(e,n){if(null!==n){const t=n.type;if(3&t)return Vt(n,e);if(4&t)return Ou(-1,e[n.index]);if(8&t){const r=n.child;if(null!==r)return ks(e,r);{const i=e[n.index];return qt(i)?Ou(-1,i):Oe(i)}}if(32&t)return Su(n,e)()||Oe(e[n.index]);{const r=pg(e,n);return null!==r?Array.isArray(r)?r[0]:ks(ro(e[16]),r):ks(e,n.next)}}return null}function pg(e,n){return null!==n?e[16][6].projection[n.projection]:null}function Ou(e,n){const t=10+e+1;if(t<n.length){const r=n[t],i=r[1].firstChild;if(null!==i)return ks(r,i)}return n[7]}function xu(e,n,t,r,i,o,s){for(;null!=t;){const a=r[t.index],l=t.type;if(s&&0===n&&(a&&et(Oe(a),r),t.flags|=4),64!=(64&t.flags))if(8&l)xu(e,n,t.child,r,i,o,!1),ei(n,e,i,a,o);else if(32&l){const u=Su(t,r);let c;for(;c=u();)ei(n,e,i,c,o);ei(n,e,i,a,o)}else 16&l?mg(e,n,r,t,i,o):ei(n,e,i,a,o);t=s?t.projectionNext:t.next}}function io(e,n,t,r,i,o){xu(t,r,e.firstChild,n,i,o,!1)}function mg(e,n,t,r,i,o){const s=t[16],l=s[6].projection[r.projection];if(Array.isArray(l))for(let u=0;u<l.length;u++)ei(n,e,i,l[u],o);else xu(e,n,l,s[3],i,o,!0)}function vg(e,n,t){e.setAttribute(n,"style",t)}function ku(e,n,t){""===t?e.removeAttribute(n,"class"):e.setAttribute(n,"class",t)}function yg(e,n,t){let r=e.length;for(;;){const i=e.indexOf(n,t);if(-1===i)return i;if(0===i||e.charCodeAt(i-1)<=32){const o=n.length;if(i+o===r||e.charCodeAt(i+o)<=32)return i}t=i+1}}const _g="ng-template";function TE(e,n,t){let r=0;for(;r<e.length;){let i=e[r++];if(t&&"class"===i){if(i=e[r],-1!==yg(i.toLowerCase(),n,0))return!0}else if(1===i){for(;r<e.length&&"string"==typeof(i=e[r++]);)if(i.toLowerCase()===n)return!0;return!1}}return!1}function Cg(e){return 4===e.type&&e.value!==_g}function NE(e,n,t){return n===(4!==e.type||t?e.value:_g)}function FE(e,n,t){let r=4;const i=e.attrs||[],o=function OE(e){for(let n=0;n<e.length;n++)if(Wh(e[n]))return n;return e.length}(i);let s=!1;for(let a=0;a<n.length;a++){const l=n[a];if("number"!=typeof l){if(!s)if(4&r){if(r=2|1&r,""!==l&&!NE(e,l,t)||""===l&&1===n.length){if(Kt(r))return!1;s=!0}}else{const u=8&r?l:n[++a];if(8&r&&null!==e.attrs){if(!TE(e.attrs,u,t)){if(Kt(r))return!1;s=!0}continue}const f=PE(8&r?"class":l,i,Cg(e),t);if(-1===f){if(Kt(r))return!1;s=!0;continue}if(""!==u){let v;v=f>o?"":i[f+1].toLowerCase();const y=8&r?v:null;if(y&&-1!==yg(y,u,0)||2&r&&u!==v){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 PE(e,n,t,r){if(null===n)return-1;let i=0;if(r||!t){let o=!1;for(;i<n.length;){const s=n[i];if(s===e)return i;if(3===s||6===s)o=!0;else{if(1===s||2===s){let a=n[++i];for(;"string"==typeof a;)a=n[++i];continue}if(4===s)break;if(0===s){i+=4;continue}}i+=o?1:2}return-1}return function xE(e,n){let t=e.indexOf(4);if(t>-1)for(t++;t<e.length;){const r=e[t];if("number"==typeof r)return-1;if(r===n)return t;t++}return-1}(n,e)}function Dg(e,n,t=!1){for(let r=0;r<n.length;r++)if(FE(e,n[r],t))return!0;return!1}function bg(e,n){return e?":not("+n.trim()+")":n}function LE(e){let n=e[0],t=1,r=2,i="",o=!1;for(;t<e.length;){let s=e[t];if("string"==typeof s)if(2&r){const a=e[++t];i+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else 8&r?i+="."+s:4&r&&(i+=" "+s);else""!==i&&!Kt(s)&&(n+=bg(o,i),i=""),r=s,o=o||!Kt(r);t++}return""!==i&&(n+=bg(o,i)),n}const Q={};function d(e){wg(oe(),T(),lt()+e,!1)}function wg(e,n,t,r){if(!r)if(3==(3&n[2])){const o=e.preOrderCheckHooks;null!==o&&ms(n,o,t)}else{const o=e.preOrderHooks;null!==o&&vs(n,o,0,t)}zn(t)}function Ig(e,n=null,t=null,r){const i=Ag(e,n,t,r);return i.resolveInjectorInitializers(),i}function Ag(e,n=null,t=null,r,i=new Set){const o=[t||ae,Cw(e)];return r=r||("object"==typeof e?void 0:he(e)),new Vp(o,n||Rs(),r||null,i)}let St=(()=>{class e{static create(t,r){var i;if(Array.isArray(t))return Ig({name:""},r,t,"");{const o=null!==(i=t.name)&&void 0!==i?i:"";return Ig({name:o},t.parent,t.providers,o)}}}return e.THROW_IF_NOT_FOUND=Gi,e.NULL=new Rp,e.\u0275prov=z({token:e,providedIn:"any",factory:()=>V(Fp)}),e.__NG_ELEMENT_ID__=-1,e})();function M(e,n=H.Default){const t=T();return null===t?V(e,n):ep(He(),t,G(e),n)}function $u(){throw new Error("invalid")}function Vs(e,n){return e<<17|n<<2}function Qt(e){return e>>17&32767}function Hu(e){return 2|e}function Fn(e){return(131068&e)>>2}function Uu(e,n){return-131069&e|n<<2}function Gu(e){return 1|e}function zg(e,n){const t=e.contentQueries;if(null!==t)for(let r=0;r<t.length;r+=2){const i=t[r],o=t[r+1];if(-1!==o){const s=e.data[o];jl(i),s.contentQueries(2,n[o],o)}}}function $s(e,n,t,r,i,o,s,a,l,u,c){const f=n.blueprint.slice();return f[0]=i,f[2]=76|r,(null!==c||e&&1024&e[2])&&(f[2]|=1024),Ph(f),f[3]=f[15]=e,f[8]=t,f[10]=s||e&&e[10],f[X]=a||e&&e[X],f[12]=l||e&&e[12]||null,f[9]=u||e&&e[9]||null,f[6]=o,f[20]=function Qw(){return Kw++}(),f[21]=c,f[16]=2==n.type?e[16]:f,f}function ni(e,n,t,r,i){let o=e.data[n];if(null===o)o=function Yu(e,n,t,r,i){const o=xh(),s=xl(),l=e.data[n]=function _M(e,n,t,r,i,o){return{type:t,index:r,insertBeforeIndex:null,injectorIndex:n?n.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?o:o&&o.parent,t,n,r,i);return null===e.firstChild&&(e.firstChild=l),null!==o&&(s?null==o.child&&null!==l.parent&&(o.child=l):null===o.next&&(o.next=l)),l}(e,n,t,r,i),function ZD(){return J.lFrame.inI18n}()&&(o.flags|=64);else if(64&o.type){o.type=t,o.value=r,o.attrs=i;const s=function xi(){const e=J.lFrame,n=e.currentTNode;return e.isParent?n:n.parent}();o.injectorIndex=null===s?-1:s.injectorIndex}return ln(o,!0),o}function ri(e,n,t,r){if(0===t)return-1;const i=n.length;for(let o=0;o<t;o++)n.push(r),e.blueprint.push(r),e.data.push(null);return i}function Xu(e,n,t){Bl(n);try{const r=e.viewQuery;null!==r&&ac(1,r,t);const i=e.template;null!==i&&Wg(e,n,i,1,t),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&zg(e,n),e.staticViewQueries&&ac(2,e.viewQuery,t);const o=e.components;null!==o&&function mM(e,n){for(let t=0;t<n.length;t++)xM(e,n[t])}(n,o)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{n[2]&=-5,$l()}}function Hs(e,n,t,r){const i=n[2];if(128!=(128&i)){Bl(n);try{Ph(n),function Lh(e){return J.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==t&&Wg(e,n,t,2,r);const s=3==(3&i);if(s){const u=e.preOrderCheckHooks;null!==u&&ms(n,u,null)}else{const u=e.preOrderHooks;null!==u&&vs(n,u,0,null),Hl(n,0)}if(function RM(e){for(let n=Iu(e);null!==n;n=Au(n)){if(!n[2])continue;const t=n[9];for(let r=0;r<t.length;r++){const i=t[r],o=i[3];0==(512&i[2])&&Ol(o,1),i[2]|=512}}}(n),function PM(e){for(let n=Iu(e);null!==n;n=Au(n))for(let t=10;t<n.length;t++){const r=n[t],i=r[1];ps(r)&&Hs(i,r,i.template,r[8])}}(n),null!==e.contentQueries&&zg(e,n),s){const u=e.contentCheckHooks;null!==u&&ms(n,u)}else{const u=e.contentHooks;null!==u&&vs(n,u,1),Hl(n,1)}!function pM(e,n){const t=e.hostBindingOpCodes;if(null!==t)try{for(let r=0;r<t.length;r++){const i=t[r];if(i<0)zn(~i);else{const o=i,s=t[++r],a=t[++r];YD(s,o),a(2,n[o])}}}finally{zn(-1)}}(e,n);const a=e.components;null!==a&&function gM(e,n){for(let t=0;t<n.length;t++)OM(e,n[t])}(n,a);const l=e.viewQuery;if(null!==l&&ac(2,l,r),s){const u=e.viewCheckHooks;null!==u&&ms(n,u)}else{const u=e.viewHooks;null!==u&&vs(n,u,2),Hl(n,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),n[2]&=-41,512&n[2]&&(n[2]&=-513,Ol(n[3],-1))}finally{$l()}}}function Wg(e,n,t,r,i){const o=lt(),s=2&r;try{zn(-1),s&&n.length>22&&wg(e,n,22,!1),t(r,i)}finally{zn(o)}}function ec(e,n,t){!Oh()||(function EM(e,n,t,r){const i=t.directiveStart,o=t.directiveEnd;e.firstCreatePass||Vi(t,n),et(r,n);const s=t.initialInputs;for(let a=i;a<o;a++){const l=e.data[a],u=Jt(l);u&&TM(n,t,l);const c=ji(n,e,a,t);et(c,n),null!==s&&NM(0,a-i,c,l,0,s),u&&(wt(t.index,n)[8]=c)}}(e,n,t,Vt(t,n)),128==(128&t.flags)&&function MM(e,n,t){const r=t.directiveStart,i=t.directiveEnd,o=t.index,s=function XD(){return J.lFrame.currentDirectiveIndex}();try{zn(o);for(let a=r;a<i;a++){const l=e.data[a],u=n[a];Ll(a),(null!==l.hostBindings||0!==l.hostVars||null!==l.hostAttrs)&&em(l,u)}}finally{zn(-1),Ll(s)}}(e,n,t))}function tc(e,n,t=Vt){const r=n.localNames;if(null!==r){let i=n.index+1;for(let o=0;o<r.length;o+=2){const s=r[o+1],a=-1===s?t(n,e):e[s];e[i++]=a}}}function Jg(e){const n=e.tView;return null===n||n.incompleteFirstPass?e.tView=nc(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):n}function nc(e,n,t,r,i,o,s,a,l,u){const c=22+r,f=c+i,v=function vM(e,n){const t=[];for(let r=0;r<n;r++)t.push(r<e?null:Q);return t}(c,f),y="function"==typeof u?u():u;return v[1]={type:e,blueprint:v,template:t,queries:null,viewQuery:a,declTNode:n,data:v.slice().fill(null,c),bindingStartIndex:c,expandoStartIndex:f,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 o?o():o,pipeRegistry:"function"==typeof s?s():s,firstChild:null,schemas:l,consts:y,incompleteFirstPass:!1}}function Kg(e,n,t,r){const i=om(n);null===t?i.push(r):(i.push(t),e.firstCreatePass&&sm(e).push(r,i.length-1))}function Qg(e,n,t){for(let r in e)if(e.hasOwnProperty(r)){const i=e[r];(t=null===t?{}:t).hasOwnProperty(r)?t[r].push(n,i):t[r]=[n,i]}return t}function Zg(e,n){const r=n.directiveEnd,i=e.data,o=n.attrs,s=[];let a=null,l=null;for(let u=n.directiveStart;u<r;u++){const c=i[u],f=c.inputs,v=null===o||Cg(n)?null:FM(f,o);s.push(v),a=Qg(f,u,a),l=Qg(c.outputs,u,l)}null!==a&&(a.hasOwnProperty("class")&&(n.flags|=16),a.hasOwnProperty("style")&&(n.flags|=32)),n.initialInputs=s,n.inputs=a,n.outputs=l}function It(e,n,t,r,i,o,s,a){const l=Vt(n,t);let c,u=n.inputs;!a&&null!=u&&(c=u[r])?(lc(e,t,c,r,i),ds(n)&&Yg(t,n.index)):3&n.type&&(r=function CM(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),i=null!=s?s(i,n.value||"",r):i,o.setProperty(l,r,i))}function Yg(e,n){const t=wt(n,e);16&t[2]||(t[2]|=32)}function rc(e,n,t,r){let i=!1;if(Oh()){const o=function SM(e,n,t){const r=e.directiveRegistry;let i=null;if(r)for(let o=0;o<r.length;o++){const s=r[o];Dg(t,s.selectors,!1)&&(i||(i=[]),bs(Vi(t,n),e,s.type),Jt(s)?(tm(e,t),i.unshift(s)):i.push(s))}return i}(e,n,t),s=null===r?null:{"":-1};if(null!==o){i=!0,nm(t,e.data.length,o.length);for(let c=0;c<o.length;c++){const f=o[c];f.providersResolver&&f.providersResolver(f)}let a=!1,l=!1,u=ri(e,n,o.length,null);for(let c=0;c<o.length;c++){const f=o[c];t.mergedAttrs=_s(t.mergedAttrs,f.hostAttrs),rm(e,t,n,u,f),AM(u,f,s),null!==f.contentQueries&&(t.flags|=8),(null!==f.hostBindings||null!==f.hostAttrs||0!==f.hostVars)&&(t.flags|=128);const v=f.type.prototype;!a&&(v.ngOnChanges||v.ngOnInit||v.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(t.index),a=!0),!l&&(v.ngOnChanges||v.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(t.index),l=!0),u++}Zg(e,t)}s&&function IM(e,n,t){if(n){const r=e.localNames=[];for(let i=0;i<n.length;i+=2){const o=t[n[i+1]];if(null==o)throw new F(-301,!1);r.push(n[i],o)}}}(t,r,s)}return t.mergedAttrs=_s(t.mergedAttrs,t.attrs),i}function Xg(e,n,t,r,i,o){const s=o.hostBindings;if(s){let a=e.hostBindingOpCodes;null===a&&(a=e.hostBindingOpCodes=[]);const l=~n.index;(function wM(e){let n=e.length;for(;n>0;){const t=e[--n];if("number"==typeof t&&t<0)return t}return 0})(a)!=l&&a.push(l),a.push(r,i,s)}}function em(e,n){null!==e.hostBindings&&e.hostBindings(1,n)}function tm(e,n){n.flags|=2,(e.components||(e.components=[])).push(n.index)}function AM(e,n,t){if(t){if(n.exportAs)for(let r=0;r<n.exportAs.length;r++)t[n.exportAs[r]]=e;Jt(n)&&(t[""]=e)}}function nm(e,n,t){e.flags|=1,e.directiveStart=n,e.directiveEnd=n+t,e.providerIndexes=n}function rm(e,n,t,r,i){e.data[r]=i;const o=i.factory||(i.factory=gr(i.type)),s=new ki(o,Jt(i),M);e.blueprint[r]=s,t[r]=s,Xg(e,n,0,r,ri(e,t,i.hostVars,Q),i)}function TM(e,n,t){const r=Vt(n,e),i=Jg(t),o=e[10],s=Us(e,$s(e,i,null,t.onPush?32:16,r,n,o,o.createRenderer(r,t),null,null,null));e[n.index]=s}function cn(e,n,t,r,i,o){const s=Vt(e,n);!function ic(e,n,t,r,i,o,s){if(null==o)e.removeAttribute(n,i,t);else{const a=null==s?K(o):s(o,r||"",i);e.setAttribute(n,i,a,t)}}(n[X],s,o,e.value,t,r,i)}function NM(e,n,t,r,i,o){const s=o[n];if(null!==s){const a=r.setInput;for(let l=0;l<s.length;){const u=s[l++],c=s[l++],f=s[l++];null!==a?r.setInput(t,f,u,c):t[c]=f}}}function FM(e,n){let t=null,r=0;for(;r<n.length;){const i=n[r];if(0!==i)if(5!==i){if("number"==typeof i)break;e.hasOwnProperty(i)&&(null===t&&(t=[]),t.push(i,e[i],n[r+1])),r+=2}else r+=2;else r+=4}return t}function im(e,n,t,r){return new Array(e,!0,!1,n,null,0,r,t,null,null)}function OM(e,n){const t=wt(n,e);if(ps(t)){const r=t[1];48&t[2]?Hs(r,t,r.template,t[8]):t[5]>0&&oc(t)}}function oc(e){for(let r=Iu(e);null!==r;r=Au(r))for(let i=10;i<r.length;i++){const o=r[i];if(ps(o))if(512&o[2]){const s=o[1];Hs(s,o,s.template,o[8])}else o[5]>0&&oc(o)}const t=e[1].components;if(null!==t)for(let r=0;r<t.length;r++){const i=wt(t[r],e);ps(i)&&i[5]>0&&oc(i)}}function xM(e,n){const t=wt(n,e),r=t[1];(function kM(e,n){for(let t=n.length;t<e.blueprint.length;t++)n.push(e.blueprint[t])})(r,t),Xu(r,t,t[8])}function Us(e,n){return e[13]?e[14][4]=n:e[13]=n,e[14]=n,n}function sc(e){for(;e;){e[2]|=32;const n=ro(e);if(FD(e)&&!n)return e;e=n}return null}function Gs(e,n,t,r=!0){const i=n[10];i.begin&&i.begin();try{Hs(e,n,e.template,t)}catch(s){throw r&&lm(n,s),s}finally{i.end&&i.end()}}function ac(e,n,t){jl(0),n(e,t)}function om(e){return e[7]||(e[7]=[])}function sm(e){return e.cleanup||(e.cleanup=[])}function lm(e,n){const t=e[9],r=t?t.get(Yr,null):null;r&&r.handleError(n)}function lc(e,n,t,r,i){for(let o=0;o<t.length;){const s=t[o++],a=t[o++],l=n[s],u=e.data[s];null!==u.setInput?u.setInput(l,i,r,a):l[a]=i}}function zs(e,n,t){let r=t?e.styles:null,i=t?e.classes:null,o=0;if(null!==n)for(let s=0;s<n.length;s++){const a=n[s];"number"==typeof a?o=a:1==o?i=Cl(i,a):2==o&&(r=Cl(r,a+": "+n[++s]+";"))}t?e.styles=r:e.stylesWithoutHost=r,t?e.classes=i:e.classesWithoutHost=i}function Ws(e,n,t,r,i=!1){for(;null!==t;){const o=n[t.index];if(null!==o&&r.push(Oe(o)),qt(o))for(let a=10;a<o.length;a++){const l=o[a],u=l[1].firstChild;null!==u&&Ws(l[1],l,u,r)}const s=t.type;if(8&s)Ws(e,n,t.child,r);else if(32&s){const a=Su(t,n);let l;for(;l=a();)r.push(l)}else if(16&s){const a=pg(n,t);if(Array.isArray(a))r.push(...a);else{const l=ro(n[16]);Ws(l[1],l,a,r,!0)}}t=i?t.projectionNext:t.next}return r}class oo{constructor(n,t){this._lView=n,this._cdRefInjectingView=t,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const n=this._lView,t=n[1];return Ws(t,n,t.firstChild,[])}get context(){return this._lView[8]}set context(n){this._lView[8]=n}get destroyed(){return 128==(128&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const n=this._lView[3];if(qt(n)){const t=n[8],r=t?t.indexOf(this):-1;r>-1&&(Fu(n,r),Es(t,r))}this._attachedToViewContainer=!1}og(this._lView[1],this._lView)}onDestroy(n){Kg(this._lView[1],this._lView,null,n)}markForCheck(){sc(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){Gs(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new F(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function yE(e,n){io(e,n,n[X],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new F(902,!1);this._appRef=n}}class LM extends oo{constructor(n){super(n),this._view=n}detectChanges(){const n=this._view;Gs(n[1],n,n[8],!1)}checkNoChanges(){}get context(){return null}}class uc extends eo{constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){const t=ce(n);return new so(t,this.ngModule)}}function um(e){const n=[];for(let t in e)e.hasOwnProperty(t)&&n.push({propName:e[t],templateName:t});return n}class jM{constructor(n,t){this.injector=n,this.parentInjector=t}get(n,t,r){const i=this.injector.get(n,mu,r);return i!==mu||t===mu?i:this.parentInjector.get(n,t,r)}}class so extends Bp{constructor(n,t){super(),this.componentDef=n,this.ngModule=t,this.componentType=n.type,this.selector=function VE(e){return e.map(LE).join(",")}(n.selectors),this.ngContentSelectors=n.ngContentSelectors?n.ngContentSelectors:[],this.isBoundToModule=!!t}get inputs(){return um(this.componentDef.inputs)}get outputs(){return um(this.componentDef.outputs)}create(n,t,r,i){let o=(i=i||this.ngModule)instanceof Jn?i:null==i?void 0:i.injector;o&&null!==this.componentDef.getStandaloneInjector&&(o=this.componentDef.getStandaloneInjector(o)||o);const s=o?new jM(n,o):n,a=s.get(Hp,null);if(null===a)throw new F(407,!1);const l=s.get(kw,null),u=a.createRenderer(null,this.componentDef),c=this.componentDef.selectors[0][0]||"div",f=r?function yM(e,n,t){return e.selectRootElement(n,t===an.ShadowDom)}(u,r,this.componentDef.encapsulation):Nu(a.createRenderer(null,this.componentDef),c,function VM(e){const n=e.toLowerCase();return"svg"===n?"svg":"math"===n?"math":null}(c)),v=this.componentDef.onPush?288:272,y=nc(0,null,null,1,0,null,null,null,null,null),_=$s(null,y,null,v,null,null,a,u,l,s,null);let D,I;Bl(_);try{const A=function HM(e,n,t,r,i,o){const s=t[1];t[22]=e;const l=ni(s,22,2,"#host",null),u=l.mergedAttrs=n.hostAttrs;null!==u&&(zs(l,u,!0),null!==e&&(ys(i,e,u),null!==l.classes&&ku(i,e,l.classes),null!==l.styles&&vg(i,e,l.styles)));const c=r.createRenderer(e,n),f=$s(t,Jg(n),null,n.onPush?32:16,t[22],l,r,c,o||null,null,null);return s.firstCreatePass&&(bs(Vi(l,t),s,n.type),tm(s,l),nm(l,t.length,1)),Us(t,f),t[22]=f}(f,this.componentDef,_,a,u);if(f)if(r)ys(u,f,["ng-version",Lw.full]);else{const{attrs:P,classes:S}=function jE(e){const n=[],t=[];let r=1,i=2;for(;r<e.length;){let o=e[r];if("string"==typeof o)2===i?""!==o&&n.push(o,e[++r]):8===i&&t.push(o);else{if(!Kt(i))break;i=o}r++}return{attrs:n,classes:t}}(this.componentDef.selectors[0]);P&&ys(u,f,P),S&&S.length>0&&ku(u,f,S.join(" "))}if(I=Rl(y,22),void 0!==t){const P=I.projection=[];for(let S=0;S<this.ngContentSelectors.length;S++){const L=t[S];P.push(null!=L?Array.from(L):null)}}D=function UM(e,n,t,r){const i=t[1],o=function bM(e,n,t){const r=He();e.firstCreatePass&&(t.providersResolver&&t.providersResolver(t),rm(e,r,n,ri(e,n,1,null),t),Zg(e,r));const i=ji(n,e,r.directiveStart,r);et(i,n);const o=Vt(r,n);return o&&et(o,n),i}(i,t,n);if(e[8]=t[8]=o,null!==r)for(const a of r)a(o,n);if(n.contentQueries){const a=He();n.contentQueries(1,o,a.directiveStart)}const s=He();return!i.firstCreatePass||null===n.hostBindings&&null===n.hostAttrs||(zn(s.index),Xg(t[1],s,0,s.directiveStart,s.directiveEnd,n),em(n,o)),o}(A,this.componentDef,_,[GM]),Xu(y,_,null)}finally{$l()}return new $M(this.componentType,D,Zr(I,_),_,I)}}class $M extends class Nw{}{constructor(n,t,r,i,o){super(),this.location=r,this._rootLView=i,this._tNode=o,this.instance=t,this.hostView=this.changeDetectorRef=new LM(i),this.componentType=n}setInput(n,t){const r=this._tNode.inputs;let i;if(null!==r&&(i=r[n])){const o=this._rootLView;lc(o[1],o,i,n,t),Yg(o,this._tNode.index)}}get injector(){return new $r(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}}function GM(){const e=He();gs(T()[1],e)}function de(e){let n=function cm(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),t=!0;const r=[e];for(;n;){let i;if(Jt(e))i=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new F(903,!1);i=n.\u0275dir}if(i){if(t){r.push(i);const s=e;s.inputs=cc(e.inputs),s.declaredInputs=cc(e.declaredInputs),s.outputs=cc(e.outputs);const a=i.hostBindings;a&&JM(e,a);const l=i.viewQuery,u=i.contentQueries;if(l&&WM(e,l),u&&qM(e,u),_l(e.inputs,i.inputs),_l(e.declaredInputs,i.declaredInputs),_l(e.outputs,i.outputs),Jt(i)&&i.data.animation){const c=e.data;c.animation=(c.animation||[]).concat(i.data.animation)}}const o=i.features;if(o)for(let s=0;s<o.length;s++){const a=o[s];a&&a.ngInherit&&a(e),a===de&&(t=!1)}}n=Object.getPrototypeOf(n)}!function zM(e){let n=0,t=null;for(let r=e.length-1;r>=0;r--){const i=e[r];i.hostVars=n+=i.hostVars,i.hostAttrs=_s(i.hostAttrs,t=_s(t,i.hostAttrs))}}(r)}function cc(e){return e===Pr?{}:e===ae?[]:e}function WM(e,n){const t=e.viewQuery;e.viewQuery=t?(r,i)=>{n(r,i),t(r,i)}:n}function qM(e,n){const t=e.contentQueries;e.contentQueries=t?(r,i,o)=>{n(r,i,o),t(r,i,o)}:n}function JM(e,n){const t=e.hostBindings;e.hostBindings=t?(r,i)=>{n(r,i),t(r,i)}:n}let qs=null;function yr(){if(!qs){const e=me.Symbol;if(e&&e.iterator)qs=e.iterator;else{const n=Object.getOwnPropertyNames(Map.prototype);for(let t=0;t<n.length;++t){const r=n[t];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(qs=r)}}}return qs}function ao(e){return!!dc(e)&&(Array.isArray(e)||!(e instanceof Map)&&yr()in e)}function dc(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function dn(e,n,t){return e[n]=t}function tt(e,n,t){return!Object.is(e[n],t)&&(e[n]=t,!0)}function _r(e,n,t,r){const i=tt(e,n,t);return tt(e,n+1,r)||i}function fn(e,n,t,r){const i=T();return tt(i,Vr(),n)&&(oe(),cn(Me(),i,e,n,t,r)),fn}function oi(e,n,t,r){return tt(e,Vr(),t)?n+K(t)+r:Q}function ai(e,n,t,r,i,o,s,a){const u=function Js(e,n,t,r,i){const o=_r(e,n,t,r);return tt(e,n+2,i)||o}(e,Mn(),t,i,s);return Sn(3),u?n+K(t)+r+K(i)+o+K(s)+a:Q}function q(e,n,t,r,i,o,s,a){const l=T(),u=oe(),c=e+22,f=u.firstCreatePass?function nS(e,n,t,r,i,o,s,a,l){const u=n.consts,c=ni(n,e,4,s||null,Gn(u,a));rc(n,t,c,Gn(u,l)),gs(n,c);const f=c.tViews=nc(2,c,r,i,o,n.directiveRegistry,n.pipeRegistry,null,n.schemas,u);return null!==n.queries&&(n.queries.template(n,c),f.queries=n.queries.embeddedTView(c)),c}(c,u,l,n,t,r,i,o,s):u.data[c];ln(f,!1);const v=l[X].createComment("");xs(u,l,v,f),et(v,l),Us(l,l[c]=im(v,l,v,f)),fs(f)&&ec(u,l,f),null!=s&&tc(l,f,a)}function g(e,n,t){const r=T();return tt(r,Vr(),n)&&It(oe(),Me(),r,e,n,r[X],t,!1),g}function fc(e,n,t,r,i){const s=i?"class":"style";lc(e,t,n.inputs[s],s,r)}function h(e,n,t,r){const i=T(),o=oe(),s=22+e,a=i[X],l=i[s]=Nu(a,n,function ab(){return J.lFrame.currentNamespace}()),u=o.firstCreatePass?function oS(e,n,t,r,i,o,s){const a=n.consts,u=ni(n,e,2,i,Gn(a,o));return rc(n,t,u,Gn(a,s)),null!==u.attrs&&zs(u,u.attrs,!1),null!==u.mergedAttrs&&zs(u,u.mergedAttrs,!0),null!==n.queries&&n.queries.elementStart(n,u),u}(s,o,i,0,n,t,r):o.data[s];ln(u,!0);const c=u.mergedAttrs;null!==c&&ys(a,l,c);const f=u.classes;null!==f&&ku(a,l,f);const v=u.styles;return null!==v&&vg(a,l,v),64!=(64&u.flags)&&xs(o,i,l,u),0===function zD(){return J.lFrame.elementDepthCount}()&&et(l,i),function WD(){J.lFrame.elementDepthCount++}(),fs(u)&&(ec(o,i,u),function qg(e,n,t){if(Al(n)){const i=n.directiveEnd;for(let o=n.directiveStart;o<i;o++){const s=e.data[o];s.contentQueries&&s.contentQueries(1,t[o],o)}}}(o,u,i)),null!==r&&tc(i,u),h}function p(){let e=He();xl()?function kl(){J.lFrame.isParent=!1}():(e=e.parent,ln(e,!1));const n=e;!function qD(){J.lFrame.elementDepthCount--}();const t=oe();return t.firstCreatePass&&(gs(t,e),Al(e)&&t.queries.elementEnd(e)),null!=n.classesWithoutHost&&function fb(e){return 0!=(16&e.flags)}(n)&&fc(t,n,T(),n.classesWithoutHost,!0),null!=n.stylesWithoutHost&&function hb(e){return 0!=(32&e.flags)}(n)&&fc(t,n,T(),n.stylesWithoutHost,!1),p}function b(e,n,t,r){return h(e,n,t,r),p(),b}function At(){return T()}function uo(e){return!!e&&"function"==typeof e.then}const gc=function Dm(e){return!!e&&"function"==typeof e.subscribe};function N(e,n,t,r){const i=T(),o=oe(),s=He();return function wm(e,n,t,r,i,o,s,a){const l=fs(r),c=e.firstCreatePass&&sm(e),f=n[8],v=om(n);let y=!0;if(3&r.type||a){const I=Vt(r,n),A=a?a(I):I,P=v.length,S=a?te=>a(Oe(te[r.index])):r.index;let L=null;if(!a&&l&&(L=function aS(e,n,t,r){const i=e.cleanup;if(null!=i)for(let o=0;o<i.length-1;o+=2){const s=i[o];if(s===t&&i[o+1]===r){const a=n[7],l=i[o+2];return a.length>l?a[l]:null}"string"==typeof s&&(o+=2)}return null}(e,n,i,r.index)),null!==L)(L.__ngLastListenerFn__||L).__ngNextListenerFn__=o,L.__ngLastListenerFn__=o,y=!1;else{o=Mm(r,n,f,o,!1);const te=t.listen(A,i,o);v.push(o,te),c&&c.push(i,S,P,P+1)}}else o=Mm(r,n,f,o,!1);const _=r.outputs;let D;if(y&&null!==_&&(D=_[i])){const I=D.length;if(I)for(let A=0;A<I;A+=2){const be=n[D[A]][D[A+1]].subscribe(o),Nr=v.length;v.push(o,be),c&&c.push(i,r.index,Nr,-(Nr+1))}}}(o,i,i[X],s,e,n,0,r),N}function Em(e,n,t,r){try{return!1!==t(r)}catch(i){return lm(e,i),!1}}function Mm(e,n,t,r,i){return function o(s){if(s===Function)return r;sc(2&e.flags?wt(e.index,n):n);let l=Em(n,0,r,s),u=o.__ngNextListenerFn__;for(;u;)l=Em(n,0,u,s)&&l,u=u.__ngNextListenerFn__;return i&&!1===l&&(s.preventDefault(),s.returnValue=!1),l}}function k(e=1){return function tb(e){return(J.lFrame.contextLView=function nb(e,n){for(;e>0;)n=n[15],e--;return n}(e,J.lFrame.contextLView))[8]}(e)}function mc(e,n,t){return co(e,"",n,"",t),mc}function co(e,n,t,r,i){const o=T(),s=oi(o,n,t,r);return s!==Q&&It(oe(),Me(),o,e,s,o[X],i,!1),co}function vc(e,n,t,r,i,o,s){const a=T(),l=function si(e,n,t,r,i,o){const a=_r(e,Mn(),t,i);return Sn(2),a?n+K(t)+r+K(i)+o:Q}(a,n,t,r,i,o);return l!==Q&&It(oe(),Me(),a,e,l,a[X],s,!1),vc}function Rm(e,n,t,r,i){const o=e[t+1],s=null===n;let a=r?Qt(o):Fn(o),l=!1;for(;0!==a&&(!1===l||s);){const c=e[a+1];hS(e[a],n)&&(l=!0,e[a+1]=r?Gu(c):Hu(c)),a=r?Qt(c):Fn(c)}l&&(e[t+1]=r?Hu(o):Gu(o))}function hS(e,n){return null===e||null==n||(Array.isArray(e)?e[1]:e)===n||!(!Array.isArray(e)||"string"!=typeof n)&&Wr(e,n)>=0}const Ge={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Om(e){return e.substring(Ge.key,Ge.keyEnd)}function xm(e,n){const t=Ge.textEnd;return t===n?-1:(n=Ge.keyEnd=function vS(e,n,t){for(;n<t&&e.charCodeAt(n)>32;)n++;return n}(e,Ge.key=n,t),hi(e,n,t))}function hi(e,n,t){for(;n<t&&e.charCodeAt(n)<=32;)n++;return n}function Ks(e,n){return function Zt(e,n,t,r){const i=T(),o=oe(),s=Sn(2);o.firstUpdatePass&&Hm(o,e,s,r),n!==Q&&tt(i,s,n)&&Gm(o,o.data[lt()],i,i[X],e,i[s+1]=function AS(e,n){return null==e||("string"==typeof n?e+=n:"object"==typeof e&&(e=he(qn(e)))),e}(n,t),r,s)}(e,n,null,!0),Ks}function pn(e,n){for(let t=function gS(e){return function Lm(e){Ge.key=0,Ge.keyEnd=0,Ge.value=0,Ge.valueEnd=0,Ge.textEnd=e.length}(e),xm(e,hi(e,0,Ge.textEnd))}(n);t>=0;t=xm(n,t))Mt(e,Om(n),!0)}function Yt(e,n,t,r){const i=oe(),o=Sn(2);i.firstUpdatePass&&Hm(i,null,o,r);const s=T();if(t!==Q&&tt(s,o,t)){const a=i.data[lt()];if(Wm(a,r)&&!$m(i,o)){let l=r?a.classesWithoutHost:a.stylesWithoutHost;null!==l&&(t=Cl(l,t||"")),fc(i,a,s,t,r)}else!function IS(e,n,t,r,i,o,s,a){i===Q&&(i=ae);let l=0,u=0,c=0<i.length?i[0]:null,f=0<o.length?o[0]:null;for(;null!==c||null!==f;){const v=l<i.length?i[l+1]:void 0,y=u<o.length?o[u+1]:void 0;let D,_=null;c===f?(l+=2,u+=2,v!==y&&(_=f,D=y)):null===f||null!==c&&c<f?(l+=2,_=c):(u+=2,_=f,D=y),null!==_&&Gm(e,n,t,r,_,D,s,a),c=l<i.length?i[l]:null,f=u<o.length?o[u]:null}}(i,a,s,s[X],s[o+1],s[o+1]=function SS(e,n,t){if(null==t||""===t)return ae;const r=[],i=qn(t);if(Array.isArray(i))for(let o=0;o<i.length;o++)e(r,i[o],!0);else if("object"==typeof i)for(const o in i)i.hasOwnProperty(o)&&e(r,o,i[o]);else"string"==typeof i&&n(r,i);return r}(e,n,t),r,o)}}function $m(e,n){return n>=e.expandoStartIndex}function Hm(e,n,t,r){const i=e.data;if(null===i[t+1]){const o=i[lt()],s=$m(e,t);Wm(o,r)&&null===n&&!s&&(n=!1),n=function bS(e,n,t,r){const i=function Vl(e){const n=J.lFrame.currentDirectiveIndex;return-1===n?null:e[n]}(e);let o=r?n.residualClasses:n.residualStyles;if(null===i)0===(r?n.classBindings:n.styleBindings)&&(t=fo(t=yc(null,e,n,t,r),n.attrs,r),o=null);else{const s=n.directiveStylingLast;if(-1===s||e[s]!==i)if(t=yc(i,e,n,t,r),null===o){let l=function wS(e,n,t){const r=t?n.classBindings:n.styleBindings;if(0!==Fn(r))return e[Qt(r)]}(e,n,r);void 0!==l&&Array.isArray(l)&&(l=yc(null,e,n,l[1],r),l=fo(l,n.attrs,r),function ES(e,n,t,r){e[Qt(t?n.classBindings:n.styleBindings)]=r}(e,n,r,l))}else o=function MS(e,n,t){let r;const i=n.directiveEnd;for(let o=1+n.directiveStylingLast;o<i;o++)r=fo(r,e[o].hostAttrs,t);return fo(r,n.attrs,t)}(e,n,r)}return void 0!==o&&(r?n.residualClasses=o:n.residualStyles=o),t}(i,o,n,r),function dS(e,n,t,r,i,o){let s=o?n.classBindings:n.styleBindings,a=Qt(s),l=Fn(s);e[r]=t;let c,u=!1;if(Array.isArray(t)){const f=t;c=f[1],(null===c||Wr(f,c)>0)&&(u=!0)}else c=t;if(i)if(0!==l){const v=Qt(e[a+1]);e[r+1]=Vs(v,a),0!==v&&(e[v+1]=Uu(e[v+1],r)),e[a+1]=function iM(e,n){return 131071&e|n<<17}(e[a+1],r)}else e[r+1]=Vs(a,0),0!==a&&(e[a+1]=Uu(e[a+1],r)),a=r;else e[r+1]=Vs(l,0),0===a?a=r:e[l+1]=Uu(e[l+1],r),l=r;u&&(e[r+1]=Hu(e[r+1])),Rm(e,c,r,!0),Rm(e,c,r,!1),function fS(e,n,t,r,i){const o=i?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof n&&Wr(o,n)>=0&&(t[r+1]=Gu(t[r+1]))}(n,c,e,r,o),s=Vs(a,l),o?n.classBindings=s:n.styleBindings=s}(i,o,n,t,s,r)}}function yc(e,n,t,r,i){let o=null;const s=t.directiveEnd;let a=t.directiveStylingLast;for(-1===a?a=t.directiveStart:a++;a<s&&(o=n[a],r=fo(r,o.hostAttrs,i),o!==e);)a++;return null!==e&&(t.directiveStylingLast=a),r}function fo(e,n,t){const r=t?1:2;let i=-1;if(null!==n)for(let o=0;o<n.length;o++){const s=n[o];"number"==typeof s?i=s:i===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Mt(e,s,!!t||n[++o]))}return void 0===e?null:e}function Gm(e,n,t,r,i,o,s,a){if(!(3&n.type))return;const l=e.data,u=l[a+1];Qs(function Lg(e){return 1==(1&e)}(u)?zm(l,n,t,i,Fn(u),s):void 0)||(Qs(o)||function kg(e){return 2==(2&e)}(u)&&(o=zm(l,null,t,i,a,s)),function AE(e,n,t,r,i){if(n)i?e.addClass(t,r):e.removeClass(t,r);else{let o=-1===r.indexOf("-")?void 0:mt.DashCase;null==i?e.removeStyle(t,r,o):("string"==typeof i&&i.endsWith("!important")&&(i=i.slice(0,-10),o|=mt.Important),e.setStyle(t,r,i,o))}}(r,s,hs(lt(),t),i,o))}function zm(e,n,t,r,i,o){const s=null===n;let a;for(;i>0;){const l=e[i],u=Array.isArray(l),c=u?l[1]:l,f=null===c;let v=t[i+1];v===Q&&(v=f?ae:void 0);let y=f?Ql(v,r):c===r?v:void 0;if(u&&!Qs(y)&&(y=Ql(l,r)),Qs(y)&&(a=y,s))return a;const _=e[i+1];i=s?Qt(_):Fn(_)}if(null!==n){let l=o?n.residualClasses:n.residualStyles;null!=l&&(a=Ql(l,r))}return a}function Qs(e){return void 0!==e}function Wm(e,n){return 0!=(e.flags&(n?16:32))}function m(e,n=""){const t=T(),r=oe(),i=e+22,o=r.firstCreatePass?ni(r,i,1,n,null):r.data[i],s=t[i]=function Tu(e,n){return e.createText(n)}(t[X],n);xs(r,t,s,o),ln(o,!1)}function C(e){return le("",e,""),C}function le(e,n,t){const r=T(),i=oi(r,e,n,t);return i!==Q&&function Pn(e,n,t){const r=hs(n,e);!function rg(e,n,t){e.setValue(n,t)}(e[X],r,t)}(r,lt(),i),le}function ho(e,n,t){Yt(Mt,pn,oi(T(),e,n,t),!0)}function _c(e,n,t,r,i,o,s){Yt(Mt,pn,ai(T(),e,n,t,r,i,o,s),!0)}const Cr=void 0;var WS=["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}, {0}",Cr,"{1} 'at' {0}",Cr],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function zS(e){const t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===r?1:5}];let pi={};function ct(e){const n=function qS(e){return e.toLowerCase().replace(/_/g,"-")}(e);let t=hv(n);if(t)return t;const r=n.split("-")[0];if(t=hv(r),t)return t;if("en"===r)return WS;throw new F(701,!1)}function hv(e){return e in pi||(pi[e]=me.ng&&me.ng.common&&me.ng.common.locales&&me.ng.common.locales[e]),pi[e]}var x=(()=>((x=x||{})[x.LocaleId=0]="LocaleId",x[x.DayPeriodsFormat=1]="DayPeriodsFormat",x[x.DayPeriodsStandalone=2]="DayPeriodsStandalone",x[x.DaysFormat=3]="DaysFormat",x[x.DaysStandalone=4]="DaysStandalone",x[x.MonthsFormat=5]="MonthsFormat",x[x.MonthsStandalone=6]="MonthsStandalone",x[x.Eras=7]="Eras",x[x.FirstDayOfWeek=8]="FirstDayOfWeek",x[x.WeekendRange=9]="WeekendRange",x[x.DateFormat=10]="DateFormat",x[x.TimeFormat=11]="TimeFormat",x[x.DateTimeFormat=12]="DateTimeFormat",x[x.NumberSymbols=13]="NumberSymbols",x[x.NumberFormats=14]="NumberFormats",x[x.CurrencyCode=15]="CurrencyCode",x[x.CurrencySymbol=16]="CurrencySymbol",x[x.CurrencyName=17]="CurrencyName",x[x.Currencies=18]="Currencies",x[x.Directionality=19]="Directionality",x[x.PluralCase=20]="PluralCase",x[x.ExtraData=21]="ExtraData",x))();const gi="en-US";let pv=gi;function bc(e,n,t,r,i){if(e=G(e),Array.isArray(e))for(let o=0;o<e.length;o++)bc(e[o],n,t,r,i);else{const o=oe(),s=T();let a=mr(e)?e:G(e.provide),l=jp(e);const u=He(),c=1048575&u.providerIndexes,f=u.directiveStart,v=u.providerIndexes>>20;if(mr(e)||!e.multi){const y=new ki(l,i,M),_=Ec(a,n,i?c:c+v,f);-1===_?(bs(Vi(u,s),o,a),wc(o,e,n.length),n.push(a),u.directiveStart++,u.directiveEnd++,i&&(u.providerIndexes+=1048576),t.push(y),s.push(y)):(t[_]=y,s[_]=y)}else{const y=Ec(a,n,c+v,f),_=Ec(a,n,c,c+v),D=y>=0&&t[y],I=_>=0&&t[_];if(i&&!I||!i&&!D){bs(Vi(u,s),o,a);const A=function GI(e,n,t,r,i){const o=new ki(e,t,M);return o.multi=[],o.index=n,o.componentProviders=0,jv(o,i,r&&!t),o}(i?UI:HI,t.length,i,r,l);!i&&I&&(t[_].providerFactory=A),wc(o,e,n.length,0),n.push(a),u.directiveStart++,u.directiveEnd++,i&&(u.providerIndexes+=1048576),t.push(A),s.push(A)}else wc(o,e,y>-1?y:_,jv(t[i?_:y],l,!i&&r));!i&&r&&I&&t[_].componentProviders++}}}function wc(e,n,t,r){const i=mr(n),o=function bw(e){return!!e.useClass}(n);if(i||o){const l=(o?G(n.useClass):n).prototype.ngOnDestroy;if(l){const u=e.destroyHooks||(e.destroyHooks=[]);if(!i&&n.multi){const c=u.indexOf(t);-1===c?u.push(t,[r,l]):u[c+1].push(r,l)}else u.push(t,l)}}}function jv(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function Ec(e,n,t,r){for(let i=t;i<r;i++)if(n[i]===e)return i;return-1}function HI(e,n,t,r){return Mc(this.multi,[])}function UI(e,n,t,r){const i=this.multi;let o;if(this.providerFactory){const s=this.providerFactory.componentProviders,a=ji(t,t[1],this.providerFactory.index,r);o=a.slice(0,s),Mc(i,o);for(let l=s;l<a.length;l++)o.push(a[l])}else o=[],Mc(i,o);return o}function Mc(e,n){for(let t=0;t<e.length;t++)n.push((0,e[t])());return n}function De(e,n=[]){return t=>{t.providersResolver=(r,i)=>function $I(e,n,t){const r=oe();if(r.firstCreatePass){const i=Jt(e);bc(t,r.data,r.blueprint,i,!0),bc(n,r.data,r.blueprint,i,!1)}}(r,i?i(e):e,n)}}class Dr{}class Bv{}class $v extends Dr{constructor(n,t){super(),this._parent=t,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new uc(this);const r=Dt(n);this._bootstrapComponents=Nn(r.bootstrap),this._r3Injector=Ag(n,t,[{provide:Dr,useValue:this},{provide:eo,useValue:this.componentFactoryResolver}],he(n),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(n)}get injector(){return this._r3Injector}destroy(){const n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}}class Sc extends Bv{constructor(n){super(),this.moduleType=n}create(n){return new $v(this.moduleType,n)}}class WI extends Dr{constructor(n,t,r){super(),this.componentFactoryResolver=new uc(this),this.instance=null;const i=new Vp([...n,{provide:Dr,useValue:this},{provide:eo,useValue:this.componentFactoryResolver}],t||Rs(),r,new Set(["environment"]));this.injector=i,i.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}}function ta(e,n,t=null){return new WI(e,n,t).injector}let qI=(()=>{class e{constructor(t){this._injector=t,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t.id)){const r=Op(0,t.type),i=r.length>0?ta([r],this._injector,`Standalone[${t.type.name}]`):null;this.cachedInjectors.set(t.id,i)}return this.cachedInjectors.get(t.id)}ngOnDestroy(){try{for(const t of this.cachedInjectors.values())null!==t&&t.destroy()}finally{this.cachedInjectors.clear()}}}return e.\u0275prov=z({token:e,providedIn:"environment",factory:()=>new e(V(Jn))}),e})();function Hv(e){e.getStandaloneInjector=n=>n.get(qI).getOrCreateStandaloneInjector(e)}function Rn(e,n,t){const r=at()+e,i=T();return i[r]===Q?dn(i,r,t?n.call(t):n()):function lo(e,n){return e[n]}(i,r)}function Kv(e,n,t,r){return function Qv(e,n,t,r,i,o){const s=n+t;return tt(e,s,i)?dn(e,s+1,o?r.call(o,i):r(i)):Co(e,s+1)}(T(),at(),e,n,t,r)}function _o(e,n,t,r,i){return Zv(T(),at(),e,n,t,r,i)}function Co(e,n){const t=e[n];return t===Q?void 0:t}function Zv(e,n,t,r,i,o,s){const a=n+t;return _r(e,a,i,o)?dn(e,a+2,s?r.call(s,i,o):r(i,o)):Co(e,a+2)}function w(e,n){const t=oe();let r;const i=e+22;t.firstCreatePass?(r=function uA(e,n){if(n)for(let t=n.length-1;t>=0;t--){const r=n[t];if(e===r.name)return r}}(n,t.pipeRegistry),t.data[i]=r,r.onDestroy&&(t.destroyHooks||(t.destroyHooks=[])).push(i,r.onDestroy)):r=t.data[i];const o=r.factory||(r.factory=gr(r.type)),s=Rt(M);try{const a=Cs(!1),l=o();return Cs(a),function rS(e,n,t,r){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=r}(t,T(),i,l),l}finally{Rt(s)}}function E(e,n,t,r){const i=e+22,o=T(),s=function Lr(e,n){return e[n]}(o,i);return function Do(e,n){return e[1].data[n].pure}(o,i)?Zv(o,at(),n,s.transform,t,r,s):s.transform(t,r)}function Ac(e){return n=>{setTimeout(e,void 0,n)}}const Ie=class pA extends sn{constructor(n=!1){super(),this.__isAsync=n}emit(n){super.next(n)}subscribe(n,t,r){var i,o,s;let a=n,l=t||(()=>null),u=r;if(n&&"object"==typeof n){const f=n;a=null===(i=f.next)||void 0===i?void 0:i.bind(f),l=null===(o=f.error)||void 0===o?void 0:o.bind(f),u=null===(s=f.complete)||void 0===s?void 0:s.bind(f)}this.__isAsync&&(l=Ac(l),a&&(a=Ac(a)),u&&(u=Ac(u)));const c=super.subscribe({next:a,error:l,complete:u});return n instanceof Pt&&n.add(c),c}};function gA(){return this._results[yr()]()}class Tc{constructor(n=!1){this._emitDistinctChangesOnly=n,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const t=yr(),r=Tc.prototype;r[t]||(r[t]=gA)}get changes(){return this._changes||(this._changes=new Ie)}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,t){return this._results.reduce(n,t)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,t){const r=this;r.dirty=!1;const i=Et(n);(this._changesDetected=!function wb(e,n,t){if(e.length!==n.length)return!1;for(let r=0;r<e.length;r++){let i=e[r],o=n[r];if(t&&(i=t(i),o=t(o)),o!==i)return!1}return!0}(r._results,i,t))&&(r._results=i,r.length=i.length,r.last=i[this.length-1],r.first=i[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}let On=(()=>{class e{}return e.__NG_ELEMENT_ID__=yA,e})();const mA=On,vA=class extends mA{constructor(n,t,r){super(),this._declarationLView=n,this._declarationTContainer=t,this.elementRef=r}createEmbeddedView(n,t){const r=this._declarationTContainer.tViews,i=$s(this._declarationLView,r,n,16,null,r.declTNode,null,null,null,null,t||null);i[17]=this._declarationLView[this._declarationTContainer.index];const s=this._declarationLView[19];return null!==s&&(i[19]=s.createEmbeddedView(r)),Xu(r,i,n),new oo(i)}};function yA(){return na(He(),T())}function na(e,n){return 4&e.type?new vA(n,e,Zr(e,n)):null}let Xt=(()=>{class e{}return e.__NG_ELEMENT_ID__=_A,e})();function _A(){return ry(He(),T())}const CA=Xt,ty=class extends CA{constructor(n,t,r){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=r}get element(){return Zr(this._hostTNode,this._hostLView)}get injector(){return new $r(this._hostTNode,this._hostLView)}get parentInjector(){const n=Ds(this._hostTNode,this._hostLView);if(Kh(n)){const t=Br(n,this._hostLView),r=jr(n);return new $r(t[1].data[r+8],t)}return new $r(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const t=ny(this._lContainer);return null!==t&&t[n]||null}get length(){return this._lContainer.length-10}createEmbeddedView(n,t,r){let i,o;"number"==typeof r?i=r:null!=r&&(i=r.index,o=r.injector);const s=n.createEmbeddedView(t||{},o);return this.insert(s,i),s}createComponent(n,t,r,i,o){const s=n&&!function Hi(e){return"function"==typeof e}(n);let a;if(s)a=t;else{const f=t||{};a=f.index,r=f.injector,i=f.projectableNodes,o=f.environmentInjector||f.ngModuleRef}const l=s?n:new so(ce(n)),u=r||this.parentInjector;if(!o&&null==l.ngModule){const v=(s?u:this.parentInjector).get(Jn,null);v&&(o=v)}const c=l.create(u,i,void 0,o);return this.insert(c.hostView,a),c}insert(n,t){const r=n._lView,i=r[1];if(function GD(e){return qt(e[3])}(r)){const c=this.indexOf(n);if(-1!==c)this.detach(c);else{const f=r[3],v=new ty(f,f[6],f[3]);v.detach(v.indexOf(n))}}const o=this._adjustIndex(t),s=this._lContainer;!function CE(e,n,t,r){const i=10+r,o=t.length;r>0&&(t[i-1][4]=n),r<o-10?(n[4]=t[i],sp(t,10+r,n)):(t.push(n),n[4]=null),n[3]=t;const s=n[17];null!==s&&t!==s&&function DE(e,n){const t=e[9];n[16]!==n[3][3][16]&&(e[2]=!0),null===t?e[9]=[n]:t.push(n)}(s,n);const a=n[19];null!==a&&a.insertView(e),n[2]|=64}(i,r,s,o);const a=Ou(o,s),l=r[X],u=Os(l,s[7]);return null!==u&&function vE(e,n,t,r,i,o){r[0]=i,r[6]=n,io(e,r,t,1,i,o)}(i,s[6],l,r,u,a),n.attachToViewContainerRef(),sp(Nc(s),o,n),n}move(n,t){return this.insert(n,t)}indexOf(n){const t=ny(this._lContainer);return null!==t?t.indexOf(n):-1}remove(n){const t=this._adjustIndex(n,-1),r=Fu(this._lContainer,t);r&&(Es(Nc(this._lContainer),t),og(r[1],r))}detach(n){const t=this._adjustIndex(n,-1),r=Fu(this._lContainer,t);return r&&null!=Es(Nc(this._lContainer),t)?new oo(r):null}_adjustIndex(n,t=0){return null==n?this.length+t:n}};function ny(e){return e[8]}function Nc(e){return e[8]||(e[8]=[])}function ry(e,n){let t;const r=n[e.index];if(qt(r))t=r;else{let i;if(8&e.type)i=Oe(r);else{const o=n[X];i=o.createComment("");const s=Vt(e,n);vr(o,Os(o,s),i,function ME(e,n){return e.nextSibling(n)}(o,s),!1)}n[e.index]=t=im(r,n,i,e),Us(n,t)}return new ty(t,e,n)}class Fc{constructor(n){this.queryList=n,this.matches=null}clone(){return new Fc(this.queryList)}setDirty(){this.queryList.setDirty()}}class Pc{constructor(n=[]){this.queries=n}createEmbeddedView(n){const t=n.queries;if(null!==t){const r=null!==n.contentQueries?n.contentQueries[0]:t.length,i=[];for(let o=0;o<r;o++){const s=t.getByIndex(o);i.push(this.queries[s.indexInDeclarationView].clone())}return new Pc(i)}return null}insertView(n){this.dirtyQueriesWithMatches(n)}detachView(n){this.dirtyQueriesWithMatches(n)}dirtyQueriesWithMatches(n){for(let t=0;t<this.queries.length;t++)null!==ly(n,t).matches&&this.queries[t].setDirty()}}class iy{constructor(n,t,r=null){this.predicate=n,this.flags=t,this.read=r}}class Rc{constructor(n=[]){this.queries=n}elementStart(n,t){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(n,t)}elementEnd(n){for(let t=0;t<this.queries.length;t++)this.queries[t].elementEnd(n)}embeddedTView(n){let t=null;for(let r=0;r<this.length;r++){const i=null!==t?t.length:0,o=this.getByIndex(r).embeddedTView(n,i);o&&(o.indexInDeclarationView=r,null!==t?t.push(o):t=[o])}return null!==t?new Rc(t):null}template(n,t){for(let r=0;r<this.queries.length;r++)this.queries[r].template(n,t)}getByIndex(n){return this.queries[n]}get length(){return this.queries.length}track(n){this.queries.push(n)}}class Oc{constructor(n,t=-1){this.metadata=n,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=t}elementStart(n,t){this.isApplyingToNode(t)&&this.matchTNode(n,t)}elementEnd(n){this._declarationNodeIndex===n.index&&(this._appliesToNextNode=!1)}template(n,t){this.elementStart(n,t)}embeddedTView(n,t){return this.isApplyingToNode(n)?(this.crossesNgTemplate=!0,this.addMatch(-n.index,t),new Oc(this.metadata)):null}isApplyingToNode(n){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const t=this._declarationNodeIndex;let r=n.parent;for(;null!==r&&8&r.type&&r.index!==t;)r=r.parent;return t===(null!==r?r.index:-1)}return this._appliesToNextNode}matchTNode(n,t){const r=this.metadata.predicate;if(Array.isArray(r))for(let i=0;i<r.length;i++){const o=r[i];this.matchTNodeWithReadOption(n,t,wA(t,o)),this.matchTNodeWithReadOption(n,t,ws(t,n,o,!1,!1))}else r===On?4&t.type&&this.matchTNodeWithReadOption(n,t,-1):this.matchTNodeWithReadOption(n,t,ws(t,n,r,!1,!1))}matchTNodeWithReadOption(n,t,r){if(null!==r){const i=this.metadata.read;if(null!==i)if(i===_e||i===Xt||i===On&&4&t.type)this.addMatch(t.index,-2);else{const o=ws(t,n,i,!1,!1);null!==o&&this.addMatch(t.index,o)}else this.addMatch(t.index,r)}}addMatch(n,t){null===this.matches?this.matches=[n,t]:this.matches.push(n,t)}}function wA(e,n){const t=e.localNames;if(null!==t)for(let r=0;r<t.length;r+=2)if(t[r]===n)return t[r+1];return null}function MA(e,n,t,r){return-1===t?function EA(e,n){return 11&e.type?Zr(e,n):4&e.type?na(e,n):null}(n,e):-2===t?function SA(e,n,t){return t===_e?Zr(n,e):t===On?na(n,e):t===Xt?ry(n,e):void 0}(e,n,r):ji(e,e[1],t,n)}function oy(e,n,t,r){const i=n[19].queries[r];if(null===i.matches){const o=e.data,s=t.matches,a=[];for(let l=0;l<s.length;l+=2){const u=s[l];a.push(u<0?null:MA(n,o[u],s[l+1],t.metadata.read))}i.matches=a}return i.matches}function xc(e,n,t,r){const i=e.queries.getByIndex(t),o=i.matches;if(null!==o){const s=oy(e,n,i,t);for(let a=0;a<o.length;a+=2){const l=o[a];if(l>0)r.push(s[a/2]);else{const u=o[a+1],c=n[-l];for(let f=10;f<c.length;f++){const v=c[f];v[17]===v[3]&&xc(v[1],v,u,r)}if(null!==c[9]){const f=c[9];for(let v=0;v<f.length;v++){const y=f[v];xc(y[1],y,u,r)}}}}}return r}function kc(e){const n=T(),t=oe(),r=jh();jl(r+1);const i=ly(t,r);if(e.dirty&&function UD(e){return 4==(4&e[2])}(n)===(2==(2&i.metadata.flags))){if(null===i.matches)e.reset([]);else{const o=i.crossesNgTemplate?xc(t,n,r,[]):oy(t,n,i,r);e.reset(o,Ow),e.notifyOnChanges()}return!0}return!1}function Lc(e,n,t,r){const i=oe();if(i.firstCreatePass){const o=He();(function ay(e,n,t){null===e.queries&&(e.queries=new Rc),e.queries.track(new Oc(n,t))})(i,new iy(n,t,r),o.index),function TA(e,n){const t=e.contentQueries||(e.contentQueries=[]);n!==(t.length?t[t.length-1]:-1)&&t.push(e.queries.length-1,n)}(i,e),2==(2&t)&&(i.staticContentQueries=!0)}!function sy(e,n,t){const r=new Tc(4==(4&t));Kg(e,n,r,r.destroy),null===n[19]&&(n[19]=new Pc),n[19].queries.push(new Fc(r))}(i,T(),t)}function Vc(){return function AA(e,n){return e[19].queries[n].queryList}(T(),jh())}function ly(e,n){return e.queries.getByIndex(n)}function ia(...e){}const wo=new j("Application Initializer");let oa=(()=>{class e{constructor(t){this.appInits=t,this.resolve=ia,this.reject=ia,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,i)=>{this.resolve=r,this.reject=i})}runInitializers(){if(this.initialized)return;const t=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let i=0;i<this.appInits.length;i++){const o=this.appInits[i]();if(uo(o))t.push(o);else if(gc(o)){const s=new Promise((a,l)=>{o.subscribe({complete:a,error:l})});t.push(s)}}Promise.all(t).then(()=>{r()}).catch(i=>{this.reject(i)}),0===t.length&&r(),this.initialized=!0}}return e.\u0275fac=function(t){return new(t||e)(V(wo,8))},e.\u0275prov=z({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Eo=new j("AppId",{providedIn:"root",factory:function Iy(){return`${Uc()}${Uc()}${Uc()}`}});function Uc(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Ay=new j("Platform Initializer"),Gc=new j("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Ty=new j("appBootstrapListener");let QA=(()=>{class e{log(t){console.log(t)}warn(t){console.warn(t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=z({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const gn=new j("LocaleId",{providedIn:"root",factory:()=>Fe(gn,H.Optional|H.SkipSelf)||function ZA(){return"undefined"!=typeof $localize&&$localize.locale||gi}()});class XA{constructor(n,t){this.ngModuleFactory=n,this.componentFactories=t}}let zc=(()=>{class e{compileModuleSync(t){return new Sc(t)}compileModuleAsync(t){return Promise.resolve(this.compileModuleSync(t))}compileModuleAndAllComponentsSync(t){const r=this.compileModuleSync(t),o=Nn(Dt(t).declarations).reduce((s,a)=>{const l=ce(a);return l&&s.push(new so(l)),s},[]);return new XA(r,o)}compileModuleAndAllComponentsAsync(t){return Promise.resolve(this.compileModuleAndAllComponentsSync(t))}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=z({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const nT=(()=>Promise.resolve(0))();function Wc(e){"undefined"==typeof Zone?nT.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class ze{constructor({enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ie(!1),this.onMicrotaskEmpty=new Ie(!1),this.onStable=new Ie(!1),this.onError=new Ie(!1),"undefined"==typeof Zone)throw new F(908,!1);Zone.assertZonePatched();const i=this;if(i._nesting=0,i._outer=i._inner=Zone.current,Zone.AsyncStackTaggingZoneSpec){const o=Zone.AsyncStackTaggingZoneSpec;i._inner=i._inner.fork(new o("Angular"))}Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!r&&t,i.shouldCoalesceRunChangeDetection=r,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function rT(){let e=me.requestAnimationFrame,n=me.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&n){const t=e[Zone.__symbol__("OriginalDelegate")];t&&(e=t);const r=n[Zone.__symbol__("OriginalDelegate")];r&&(n=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function sT(e){const n=()=>{!function oT(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(me,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Jc(e),e.isCheckStableRunning=!0,qc(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Jc(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(t,r,i,o,s,a)=>{try{return Py(e),t.invokeTask(i,o,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||e.shouldCoalesceRunChangeDetection)&&n(),Ry(e)}},onInvoke:(t,r,i,o,s,a,l)=>{try{return Py(e),t.invoke(i,o,s,a,l)}finally{e.shouldCoalesceRunChangeDetection&&n(),Ry(e)}},onHasTask:(t,r,i,o)=>{t.hasTask(i,o),r===i&&("microTask"==o.change?(e._hasPendingMicrotasks=o.microTask,Jc(e),qc(e)):"macroTask"==o.change&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(t,r,i,o)=>(t.handleError(i,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}(i)}static isInAngularZone(){return"undefined"!=typeof Zone&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!ze.isInAngularZone())throw new F(909,!1)}static assertNotInAngularZone(){if(ze.isInAngularZone())throw new F(909,!1)}run(n,t,r){return this._inner.run(n,t,r)}runTask(n,t,r,i){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,n,iT,ia,ia);try{return o.runTask(s,t,r)}finally{o.cancelTask(s)}}runGuarded(n,t,r){return this._inner.runGuarded(n,t,r)}runOutsideAngular(n){return this._outer.run(n)}}const iT={};function qc(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 Py(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Ry(e){e._nesting--,qc(e)}class aT{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ie,this.onMicrotaskEmpty=new Ie,this.onStable=new Ie,this.onError=new Ie}run(n,t,r){return n.apply(t,r)}runGuarded(n,t,r){return n.apply(t,r)}runOutsideAngular(n){return n()}runTask(n,t,r,i){return n.apply(t,r)}}const Oy=new j(""),sa=new j("");let Mo,Kc=(()=>{class e{constructor(t,r,i){this._ngZone=t,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Mo||(function lT(e){Mo=e}(i),i.addToWindow(r)),this._watchAngularEvents(),t.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?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:()=>{ze.assertNotInAngularZone(),Wc(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())Wc(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(this._didWork)}this._didWork=!1});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(t)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,r,i){let o=-1;r&&r>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),t(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:t,timeoutId:o,updateCb:i})}whenStable(t,r,i){if(i&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(t,r,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(t){this.registry.registerApplication(t,this)}unregisterApplication(t){this.registry.unregisterApplication(t)}findProviders(t,r,i){return[]}}return e.\u0275fac=function(t){return new(t||e)(V(ze),V(Qc),V(sa))},e.\u0275prov=z({token:e,factory:e.\u0275fac}),e})(),Qc=(()=>{class e{constructor(){this._applications=new Map}registerApplication(t,r){this._applications.set(t,r)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,r=!0){var i;return null!==(i=null==Mo?void 0:Mo.findTestabilityInTree(this,t,r))&&void 0!==i?i:null}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=z({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})(),mn=null;const xy=new j("AllowMultipleToken"),Zc=new j("PlatformDestroyListeners");class ky{constructor(n,t){this.name=n,this.token=t}}function Vy(e,n,t=[]){const r=`Platform: ${n}`,i=new j(r);return(o=[])=>{let s=Yc();if(!s||s.injector.get(xy,!1)){const a=[...t,...o,{provide:i,useValue:!0}];e?e(a):function dT(e){if(mn&&!mn.get(xy,!1))throw new F(400,!1);mn=e;const n=e.get(By);(function Ly(e){const n=e.get(Ay,null);n&&n.forEach(t=>t())})(e)}(function jy(e=[],n){return St.create({name:n,providers:[{provide:fu,useValue:"platform"},{provide:Zc,useValue:new Set([()=>mn=null])},...e]})}(a,r))}return function hT(e){const n=Yc();if(!n)throw new F(401,!1);return n}()}}function Yc(){var e;return null!==(e=null==mn?void 0:mn.get(By))&&void 0!==e?e:null}let By=(()=>{class e{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,r){const i=function Hy(e,n){let t;return t="noop"===e?new aT:("zone.js"===e?void 0:e)||new ze(n),t}(null==r?void 0:r.ngZone,function $y(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}(r)),o=[{provide:ze,useValue:i}];return i.run(()=>{const s=St.create({providers:o,parent:this.injector,name:t.moduleType.name}),a=t.create(s),l=a.injector.get(Yr,null);if(!l)throw new F(402,!1);return i.runOutsideAngular(()=>{const u=i.onError.subscribe({next:c=>{l.handleError(c)}});a.onDestroy(()=>{la(this._modules,a),u.unsubscribe()})}),function Uy(e,n,t){try{const r=t();return uo(r)?r.catch(i=>{throw n.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw n.runOutsideAngular(()=>e.handleError(r)),r}}(l,i,()=>{const u=a.injector.get(oa);return u.runInitializers(),u.donePromise.then(()=>(function gv(e){_t(e,"Expected localeId to be defined"),"string"==typeof e&&(pv=e.toLowerCase().replace(/_/g,"-"))}(a.injector.get(gn,gi)||gi),this._moduleDoBootstrap(a),a))})})}bootstrapModule(t,r=[]){const i=Gy({},r);return function uT(e,n,t){const r=new Sc(t);return Promise.resolve(r)}(0,0,t).then(o=>this.bootstrapModuleFactory(o,i))}_moduleDoBootstrap(t){const r=t.injector.get(aa);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(i=>r.bootstrap(i));else{if(!t.instance.ngDoBootstrap)throw new F(403,!1);t.instance.ngDoBootstrap(r)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new F(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const t=this._injector.get(Zc,null);t&&(t.forEach(r=>r()),t.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(t){return new(t||e)(V(St))},e.\u0275prov=z({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function Gy(e,n){return Array.isArray(n)?n.reduce(Gy,e):Object.assign(Object.assign({},e),n)}let aa=(()=>{class e{constructor(t,r,i){this._zone=t,this._injector=r,this._exceptionHandler=i,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 o=new Ae(a=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{a.next(this._stable),a.complete()})}),s=new Ae(a=>{let l;this._zone.runOutsideAngular(()=>{l=this._zone.onStable.subscribe(()=>{ze.assertNotInAngularZone(),Wc(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,a.next(!0))})})});const u=this._zone.onUnstable.subscribe(()=>{ze.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{a.next(!1)}))});return()=>{l.unsubscribe(),u.unsubscribe()}});this.isStable=function hD(...e){const n=Ti(e),t=function sD(e,n){return"number"==typeof vl(e)?e.pop():n}(e,1/0),r=e;return r.length?1===r.length?Gt(r[0]):Fr(t)(Re(r,n)):bn}(o,s.pipe(function pD(e={}){const{connector:n=(()=>new sn),resetOnError:t=!0,resetOnComplete:r=!0,resetOnRefCountZero:i=!0}=e;return o=>{let s,a,l,u=0,c=!1,f=!1;const v=()=>{null==a||a.unsubscribe(),a=void 0},y=()=>{v(),s=l=void 0,c=f=!1},_=()=>{const D=s;y(),null==D||D.unsubscribe()};return qe((D,I)=>{u++,!f&&!c&&v();const A=l=null!=l?l:n();I.add(()=>{u--,0===u&&!f&&!c&&(a=yl(_,i))}),A.subscribe(I),!s&&u>0&&(s=new Ai({next:P=>A.next(P),error:P=>{f=!0,v(),a=yl(y,t,P),A.error(P)},complete:()=>{c=!0,v(),a=yl(y,r),A.complete()}}),Gt(D).subscribe(s))})(o)}}()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(t,r){const i=t instanceof Bp;if(!this._injector.get(oa).done)throw!i&&function Rr(e){const n=ce(e)||ot(e)||st(e);return null!==n&&n.standalone}(t),new F(405,false);let s;s=i?t:this._injector.get(eo).resolveComponentFactory(t),this.componentTypes.push(s.componentType);const a=function cT(e){return e.isBoundToModule}(s)?void 0:this._injector.get(Dr),u=s.create(St.NULL,[],r||s.selector,a),c=u.location.nativeElement,f=u.injector.get(Oy,null);return null==f||f.registerApplication(c),u.onDestroy(()=>{this.detachView(u.hostView),la(this.components,u),null==f||f.unregisterApplication(c)}),this._loadComponent(u),u}tick(){if(this._runningTick)throw new F(101,!1);try{this._runningTick=!0;for(let t of this._views)t.detectChanges()}catch(t){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(t))}finally{this._runningTick=!1}}attachView(t){const r=t;this._views.push(r),r.attachToAppRef(this)}detachView(t){const r=t;la(this._views,r),r.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(Ty,[]).concat(this._bootstrapListeners).forEach(i=>i(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>la(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new F(406,!1);const t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.\u0275fac=function(t){return new(t||e)(V(ze),V(Jn),V(Yr))},e.\u0275prov=z({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function la(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}let ua=(()=>{class e{}return e.__NG_ELEMENT_ID__=mT,e})();function mT(e){return function vT(e,n,t){if(ds(e)&&!t){const r=wt(e.index,n);return new oo(r,r)}return 47&e.type?new oo(n[16],n):null}(He(),T(),16==(16&e))}class Zy{constructor(){}supports(n){return ao(n)}create(n){return new wT(n)}}const bT=(e,n)=>n;class wT{constructor(n){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=n||bT}forEachItem(n){let t;for(t=this._itHead;null!==t;t=t._next)n(t)}forEachOperation(n){let t=this._itHead,r=this._removalsHead,i=0,o=null;for(;t||r;){const s=!r||t&&t.currentIndex<Xy(r,i,o)?t:r,a=Xy(s,i,o),l=s.currentIndex;if(s===r)i--,r=r._nextRemoved;else if(t=t._next,null==s.previousIndex)i++;else{o||(o=[]);const u=a-i,c=l-i;if(u!=c){for(let v=0;v<u;v++){const y=v<o.length?o[v]:o[v]=0,_=y+v;c<=_&&_<u&&(o[v]=y+1)}o[s.previousIndex]=c-u}}a!==l&&n(s,a,l)}}forEachPreviousItem(n){let t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)n(t)}forEachAddedItem(n){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)n(t)}forEachMovedItem(n){let t;for(t=this._movesHead;null!==t;t=t._nextMoved)n(t)}forEachRemovedItem(n){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)n(t)}forEachIdentityChange(n){let t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)n(t)}diff(n){if(null==n&&(n=[]),!ao(n))throw new F(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let i,o,s,t=this._itHead,r=!1;if(Array.isArray(n)){this.length=n.length;for(let a=0;a<this.length;a++)o=n[a],s=this._trackByFn(a,o),null!==t&&Object.is(t.trackById,s)?(r&&(t=this._verifyReinsertion(t,o,s,a)),Object.is(t.item,o)||this._addIdentityChange(t,o)):(t=this._mismatch(t,o,s,a),r=!0),t=t._next}else i=0,function XM(e,n){if(Array.isArray(e))for(let t=0;t<e.length;t++)n(e[t]);else{const t=e[yr()]();let r;for(;!(r=t.next()).done;)n(r.value)}}(n,a=>{s=this._trackByFn(i,a),null!==t&&Object.is(t.trackById,s)?(r&&(t=this._verifyReinsertion(t,a,s,i)),Object.is(t.item,a)||this._addIdentityChange(t,a)):(t=this._mismatch(t,a,s,i),r=!0),t=t._next,i++}),this.length=i;return this._truncate(t),this.collection=n,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;null!==n;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;null!==n;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,t,r,i){let o;return null===n?o=this._itTail:(o=n._prev,this._remove(n)),null!==(n=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._reinsertAfter(n,o,i)):null!==(n=null===this._linkedRecords?null:this._linkedRecords.get(r,i))?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._moveAfter(n,o,i)):n=this._addAfter(new ET(t,r),o,i),n}_verifyReinsertion(n,t,r,i){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==o?n=this._reinsertAfter(o,n._prev,i):n.currentIndex!=i&&(n.currentIndex=i,this._addToMoves(n,i)),n}_truncate(n){for(;null!==n;){const t=n._next;this._addToRemovals(this._unlink(n)),n=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(n,t,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(n);const i=n._prevRemoved,o=n._nextRemoved;return null===i?this._removalsHead=o:i._nextRemoved=o,null===o?this._removalsTail=i:o._prevRemoved=i,this._insertAfter(n,t,r),this._addToMoves(n,r),n}_moveAfter(n,t,r){return this._unlink(n),this._insertAfter(n,t,r),this._addToMoves(n,r),n}_addAfter(n,t,r){return this._insertAfter(n,t,r),this._additionsTail=null===this._additionsTail?this._additionsHead=n:this._additionsTail._nextAdded=n,n}_insertAfter(n,t,r){const i=null===t?this._itHead:t._next;return n._next=i,n._prev=t,null===i?this._itTail=n:i._prev=n,null===t?this._itHead=n:t._next=n,null===this._linkedRecords&&(this._linkedRecords=new Yy),this._linkedRecords.put(n),n.currentIndex=r,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){null!==this._linkedRecords&&this._linkedRecords.remove(n);const t=n._prev,r=n._next;return null===t?this._itHead=r:t._next=r,null===r?this._itTail=t:r._prev=t,n}_addToMoves(n,t){return n.previousIndex===t||(this._movesTail=null===this._movesTail?this._movesHead=n:this._movesTail._nextMoved=n),n}_addToRemovals(n){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Yy),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,t){return n.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=n:this._identityChangesTail._nextIdentityChange=n,n}}class ET{constructor(n,t){this.item=n,this.trackById=t,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class MT{constructor(){this._head=null,this._tail=null}add(n){null===this._head?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,t){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===t||t<=r.currentIndex)&&Object.is(r.trackById,n))return r;return null}remove(n){const t=n._prevDup,r=n._nextDup;return null===t?this._head=r:t._nextDup=r,null===r?this._tail=t:r._prevDup=t,null===this._head}}class Yy{constructor(){this.map=new Map}put(n){const t=n.trackById;let r=this.map.get(t);r||(r=new MT,this.map.set(t,r)),r.add(n)}get(n,t){const i=this.map.get(n);return i?i.get(n,t):null}remove(n){const t=n.trackById;return this.map.get(t).remove(n)&&this.map.delete(t),n}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Xy(e,n,t){const r=e.previousIndex;if(null===r)return r;let i=0;return t&&r<t.length&&(i=t[r]),r+n+i}class e_{constructor(){}supports(n){return n instanceof Map||dc(n)}create(){return new ST}}class ST{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(n){let t;for(t=this._mapHead;null!==t;t=t._next)n(t)}forEachPreviousItem(n){let t;for(t=this._previousMapHead;null!==t;t=t._nextPrevious)n(t)}forEachChangedItem(n){let t;for(t=this._changesHead;null!==t;t=t._nextChanged)n(t)}forEachAddedItem(n){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)n(t)}forEachRemovedItem(n){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)n(t)}diff(n){if(n){if(!(n instanceof Map||dc(n)))throw new F(900,!1)}else n=new Map;return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(n,(r,i)=>{if(t&&t.key===i)this._maybeAddToChanges(t,r),this._appendAfter=t,t=t._next;else{const o=this._getOrCreateRecordForKey(i,r);t=this._insertBeforeOrAppend(t,o)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let r=t;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(n,t){if(n){const r=n._prev;return t._next=n,t._prev=r,n._prev=t,r&&(r._next=t),n===this._mapHead&&(this._mapHead=t),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(n,t){if(this._records.has(n)){const i=this._records.get(n);this._maybeAddToChanges(i,t);const o=i._prev,s=i._next;return o&&(o._next=s),s&&(s._prev=o),i._next=null,i._prev=null,i}const r=new IT(n);return this._records.set(n,r),r.currentValue=t,this._addToAdditions(r),r}_reset(){if(this.isDirty){let n;for(this._previousMapHead=this._mapHead,n=this._previousMapHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._changesHead;null!==n;n=n._nextChanged)n.previousValue=n.currentValue;for(n=this._additionsHead;null!=n;n=n._nextAdded)n.previousValue=n.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(n,t){Object.is(t,n.currentValue)||(n.previousValue=n.currentValue,n.currentValue=t,this._addToChanges(n))}_addToAdditions(n){null===this._additionsHead?this._additionsHead=this._additionsTail=n:(this._additionsTail._nextAdded=n,this._additionsTail=n)}_addToChanges(n){null===this._changesHead?this._changesHead=this._changesTail=n:(this._changesTail._nextChanged=n,this._changesTail=n)}_forEach(n,t){n instanceof Map?n.forEach(t):Object.keys(n).forEach(r=>t(n[r],r))}}class IT{constructor(n){this.key=n,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function t_(){return new fa([new Zy])}let fa=(()=>{class e{constructor(t){this.factories=t}static create(t,r){if(null!=r){const i=r.factories.slice();t=t.concat(i)}return new e(t)}static extend(t){return{provide:e,useFactory:r=>e.create(t,r||t_()),deps:[[e,new Ji,new qi]]}}find(t){const r=this.factories.find(i=>i.supports(t));if(null!=r)return r;throw new F(901,!1)}}return e.\u0275prov=z({token:e,providedIn:"root",factory:t_}),e})();function n_(){return new So([new e_])}let So=(()=>{class e{constructor(t){this.factories=t}static create(t,r){if(r){const i=r.factories.slice();t=t.concat(i)}return new e(t)}static extend(t){return{provide:e,useFactory:r=>e.create(t,r||n_()),deps:[[e,new Ji,new qi]]}}find(t){const r=this.factories.find(i=>i.supports(t));if(r)return r;throw new F(901,!1)}}return e.\u0275prov=z({token:e,providedIn:"root",factory:n_}),e})();const NT=Vy(null,"core",[]);let FT=(()=>{class e{constructor(t){}}return e.\u0275fac=function(t){return new(t||e)(V(aa))},e.\u0275mod=Ot({type:e}),e.\u0275inj=Ct({}),e})();function kn(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}let ha=null;function vn(){return ha}const ft=new j("DocumentToken");let rd=(()=>{class e{historyGo(t){throw new Error("Not implemented")}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=z({token:e,factory:function(){return function xT(){return V(r_)}()},providedIn:"platform"}),e})();const kT=new j("Location Initialized");let r_=(()=>{class e extends rd{constructor(t){super(),this._doc=t,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return vn().getBaseHref(this._doc)}onPopState(t){const r=vn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",t,!1),()=>r.removeEventListener("popstate",t)}onHashChange(t){const r=vn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",t,!1),()=>r.removeEventListener("hashchange",t)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(t){this.location.pathname=t}pushState(t,r,i){i_()?this._history.pushState(t,r,i):this.location.hash=i}replaceState(t,r,i){i_()?this._history.replaceState(t,r,i):this.location.hash=i}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}}return e.\u0275fac=function(t){return new(t||e)(V(ft))},e.\u0275prov=z({token:e,factory:function(){return function LT(){return new r_(V(ft))}()},providedIn:"platform"}),e})();function i_(){return!!window.history.pushState}function id(e,n){if(0==e.length)return n;if(0==n.length)return e;let t=0;return e.endsWith("/")&&t++,n.startsWith("/")&&t++,2==t?e+n.substring(1):1==t?e+n:e+"/"+n}function o_(e){const n=e.match(/#|\?|$/),t=n&&n.index||e.length;return e.slice(0,t-("/"===e[t-1]?1:0))+e.slice(t)}function Ln(e){return e&&"?"!==e[0]?"?"+e:e}let wr=(()=>{class e{historyGo(t){throw new Error("Not implemented")}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=z({token:e,factory:function(){return Fe(a_)},providedIn:"root"}),e})();const s_=new j("appBaseHref");let a_=(()=>{class e extends wr{constructor(t,r){var i,o,s;super(),this._platformLocation=t,this._removeListenerFns=[],this._baseHref=null!==(s=null!==(i=null!=r?r:this._platformLocation.getBaseHrefFromDOM())&&void 0!==i?i:null===(o=Fe(ft).location)||void 0===o?void 0:o.origin)&&void 0!==s?s:""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return id(this._baseHref,t)}path(t=!1){const r=this._platformLocation.pathname+Ln(this._platformLocation.search),i=this._platformLocation.hash;return i&&t?`${r}${i}`:r}pushState(t,r,i,o){const s=this.prepareExternalUrl(i+Ln(o));this._platformLocation.pushState(t,r,s)}replaceState(t,r,i,o){const s=this.prepareExternalUrl(i+Ln(o));this._platformLocation.replaceState(t,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){var r,i;null===(i=(r=this._platformLocation).historyGo)||void 0===i||i.call(r,t)}}return e.\u0275fac=function(t){return new(t||e)(V(rd),V(s_,8))},e.\u0275prov=z({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),VT=(()=>{class e extends wr{constructor(t,r){super(),this._platformLocation=t,this._baseHref="",this._removeListenerFns=[],null!=r&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}path(t=!1){let r=this._platformLocation.hash;return null==r&&(r="#"),r.length>0?r.substring(1):r}prepareExternalUrl(t){const r=id(this._baseHref,t);return r.length>0?"#"+r:r}pushState(t,r,i,o){let s=this.prepareExternalUrl(i+Ln(o));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(t,r,s)}replaceState(t,r,i,o){let s=this.prepareExternalUrl(i+Ln(o));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(t,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){var r,i;null===(i=(r=this._platformLocation).historyGo)||void 0===i||i.call(r,t)}}return e.\u0275fac=function(t){return new(t||e)(V(rd),V(s_,8))},e.\u0275prov=z({token:e,factory:e.\u0275fac}),e})(),od=(()=>{class e{constructor(t){this._subject=new Ie,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=t;const r=this._locationStrategy.getBaseHref();this._baseHref=o_(l_(r)),this._locationStrategy.onPopState(i=>{this._subject.emit({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){var t;null===(t=this._urlChangeSubscription)||void 0===t||t.unsubscribe(),this._urlChangeListeners=[]}path(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,r=""){return this.path()==this.normalize(t+Ln(r))}normalize(t){return e.stripTrailingSlash(function BT(e,n){return e&&n.startsWith(e)?n.substring(e.length):n}(this._baseHref,l_(t)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,r="",i=null){this._locationStrategy.pushState(i,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Ln(r)),i)}replaceState(t,r="",i=null){this._locationStrategy.replaceState(i,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Ln(r)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(t=0){var r,i;null===(i=(r=this._locationStrategy).historyGo)||void 0===i||i.call(r,t)}onUrlChange(t){return this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)})),()=>{var r;const i=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(i,1),0===this._urlChangeListeners.length&&(null===(r=this._urlChangeSubscription)||void 0===r||r.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(t="",r){this._urlChangeListeners.forEach(i=>i(t,r))}subscribe(t,r,i){return this._subject.subscribe({next:t,error:r,complete:i})}}return e.normalizeQueryParams=Ln,e.joinWithSlash=id,e.stripTrailingSlash=o_,e.\u0275fac=function(t){return new(t||e)(V(wr))},e.\u0275prov=z({token:e,factory:function(){return function jT(){return new od(V(wr))}()},providedIn:"root"}),e})();function l_(e){return e.replace(/\/index.html$/,"")}var vt=(()=>((vt=vt||{})[vt.Decimal=0]="Decimal",vt[vt.Percent=1]="Percent",vt[vt.Currency=2]="Currency",vt[vt.Scientific=3]="Scientific",vt))(),$=(()=>(($=$||{})[$.Decimal=0]="Decimal",$[$.Group=1]="Group",$[$.List=2]="List",$[$.PercentSign=3]="PercentSign",$[$.PlusSign=4]="PlusSign",$[$.MinusSign=5]="MinusSign",$[$.Exponential=6]="Exponential",$[$.SuperscriptingExponent=7]="SuperscriptingExponent",$[$.PerMille=8]="PerMille",$[$.Infinity=9]="Infinity",$[$.NaN=10]="NaN",$[$.TimeSeparator=11]="TimeSeparator",$[$.CurrencyDecimal=12]="CurrencyDecimal",$[$.CurrencyGroup=13]="CurrencyGroup",$))();function Bt(e,n){const t=ct(e),r=t[x.NumberSymbols][n];if(void 0===r){if(n===$.CurrencyDecimal)return t[x.NumberSymbols][$.Decimal];if(n===$.CurrencyGroup)return t[x.NumberSymbols][$.Group]}return r}const f2=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function hd(e){const n=parseInt(e);if(isNaN(n))throw new Error("Invalid integer literal when parsing "+e);return n}function v_(e,n){n=encodeURIComponent(n);for(const t of e.split(";")){const r=t.indexOf("="),[i,o]=-1==r?[t,""]:[t.slice(0,r),t.slice(r+1)];if(i.trim()===n)return decodeURIComponent(o)}return null}let gd=(()=>{class e{constructor(t,r,i,o){this._iterableDiffers=t,this._keyValueDiffers=r,this._ngEl=i,this._renderer=o,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(t){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(t){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&(ao(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){const t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}}_applyKeyValueChanges(t){t.forEachAddedItem(r=>this._toggleClass(r.key,r.currentValue)),t.forEachChangedItem(r=>this._toggleClass(r.key,r.currentValue)),t.forEachRemovedItem(r=>{r.previousValue&&this._toggleClass(r.key,!1)})}_applyIterableChanges(t){t.forEachAddedItem(r=>{if("string"!=typeof r.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${he(r.item)}`);this._toggleClass(r.item,!0)}),t.forEachRemovedItem(r=>this._toggleClass(r.item,!1))}_applyClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(r=>this._toggleClass(r,!0)):Object.keys(t).forEach(r=>this._toggleClass(r,!!t[r])))}_removeClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(r=>this._toggleClass(r,!1)):Object.keys(t).forEach(r=>this._toggleClass(r,!1)))}_toggleClass(t,r){(t=t.trim())&&t.split(/\s+/g).forEach(i=>{r?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}}return e.\u0275fac=function(t){return new(t||e)(M(fa),M(So),M(_e),M(Tn))},e.\u0275dir=W({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),e})();class E2{constructor(n,t,r,i){this.$implicit=n,this.ngForOf=t,this.index=r,this.count=i}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let md=(()=>{class e{constructor(t,r,i){this._viewContainer=t,this._template=r,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const t=this._ngForOf;!this._differ&&t&&(this._differ=this._differs.find(t).create(this.ngForTrackBy))}if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const r=this._viewContainer;t.forEachOperation((i,o,s)=>{if(null==i.previousIndex)r.createEmbeddedView(this._template,new E2(i.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)r.remove(null===o?void 0:o);else if(null!==o){const a=r.get(o);r.move(a,s),C_(a,i)}});for(let i=0,o=r.length;i<o;i++){const a=r.get(i).context;a.index=i,a.count=o,a.ngForOf=this._ngForOf}t.forEachIdentityChange(i=>{C_(r.get(i.currentIndex),i)})}static ngTemplateContextGuard(t,r){return!0}}return e.\u0275fac=function(t){return new(t||e)(M(Xt),M(On),M(fa))},e.\u0275dir=W({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),e})();function C_(e,n){e.context.$implicit=n.item}let vd=(()=>{class e{constructor(t,r){this._viewContainer=t,this._context=new S2,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){D_("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){D_("ngIfElse",t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(t,r){return!0}}return e.\u0275fac=function(t){return new(t||e)(M(Xt),M(On))},e.\u0275dir=W({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),e})();class S2{constructor(){this.$implicit=null,this.ngIf=null}}function D_(e,n){if(n&&!n.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${he(n)}'.`)}let Tt=(()=>{class e{constructor(t){this._locale=t}transform(t,r,i){if(!function Cd(e){return!(null==e||""===e||e!=e)}(t))return null;i=i||this._locale;try{return function y2(e,n,t){return function dd(e,n,t,r,i,o,s=!1){let a="",l=!1;if(isFinite(e)){let u=function C2(e){let r,i,o,s,a,n=Math.abs(e)+"",t=0;for((i=n.indexOf("."))>-1&&(n=n.replace(".","")),(o=n.search(/e/i))>0?(i<0&&(i=o),i+=+n.slice(o+1),n=n.substring(0,o)):i<0&&(i=n.length),o=0;"0"===n.charAt(o);o++);if(o===(a=n.length))r=[0],i=1;else{for(a--;"0"===n.charAt(a);)a--;for(i-=o,r=[],s=0;o<=a;o++,s++)r[s]=Number(n.charAt(o))}return i>22&&(r=r.splice(0,21),t=i-1,i=1),{digits:r,exponent:t,integerLen:i}}(e);s&&(u=function _2(e){if(0===e.digits[0])return e;const n=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(0===n?e.digits.push(0,0):1===n&&e.digits.push(0),e.integerLen+=2),e}(u));let c=n.minInt,f=n.minFrac,v=n.maxFrac;if(o){const P=o.match(f2);if(null===P)throw new Error(`${o} is not a valid digit info`);const S=P[1],L=P[3],te=P[5];null!=S&&(c=hd(S)),null!=L&&(f=hd(L)),null!=te?v=hd(te):null!=L&&f>v&&(v=f)}!function D2(e,n,t){if(n>t)throw new Error(`The minimum number of digits after fraction (${n}) is higher than the maximum (${t}).`);let r=e.digits,i=r.length-e.integerLen;const o=Math.min(Math.max(n,i),t);let s=o+e.integerLen,a=r[s];if(s>0){r.splice(Math.max(e.integerLen,s));for(let f=s;f<r.length;f++)r[f]=0}else{i=Math.max(0,i),e.integerLen=1,r.length=Math.max(1,s=o+1),r[0]=0;for(let f=1;f<s;f++)r[f]=0}if(a>=5)if(s-1<0){for(let f=0;f>s;f--)r.unshift(0),e.integerLen++;r.unshift(1),e.integerLen++}else r[s-1]++;for(;i<Math.max(0,o);i++)r.push(0);let l=0!==o;const u=n+e.integerLen,c=r.reduceRight(function(f,v,y,_){return _[y]=(v+=f)<10?v:v-10,l&&(0===_[y]&&y>=u?_.pop():l=!1),v>=10?1:0},0);c&&(r.unshift(c),e.integerLen++)}(u,f,v);let y=u.digits,_=u.integerLen;const D=u.exponent;let I=[];for(l=y.every(P=>!P);_<c;_++)y.unshift(0);for(;_<0;_++)y.unshift(0);_>0?I=y.splice(_,y.length):(I=y,y=[0]);const A=[];for(y.length>=n.lgSize&&A.unshift(y.splice(-n.lgSize,y.length).join(""));y.length>n.gSize;)A.unshift(y.splice(-n.gSize,y.length).join(""));y.length&&A.unshift(y.join("")),a=A.join(Bt(t,r)),I.length&&(a+=Bt(t,i)+I.join("")),D&&(a+=Bt(t,$.Exponential)+"+"+D)}else a=Bt(t,$.Infinity);return a=e<0&&!l?n.negPre+a+n.negSuf:n.posPre+a+n.posSuf,a}(e,function fd(e,n="-"){const t={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=e.split(";"),i=r[0],o=r[1],s=-1!==i.indexOf(".")?i.split("."):[i.substring(0,i.lastIndexOf("0")+1),i.substring(i.lastIndexOf("0")+1)],a=s[0],l=s[1]||"";t.posPre=a.substring(0,a.indexOf("#"));for(let c=0;c<l.length;c++){const f=l.charAt(c);"0"===f?t.minFrac=t.maxFrac=c+1:"#"===f?t.maxFrac=c+1:t.posSuf+=f}const u=a.split(",");if(t.gSize=u[1]?u[1].length:0,t.lgSize=u[2]||u[1]?(u[2]||u[1]).length:0,o){const c=i.length-t.posPre.length-t.posSuf.length,f=o.indexOf("#");t.negPre=o.substring(0,f).replace(/'/g,""),t.negSuf=o.slice(f+c).replace(/'/g,"")}else t.negPre=n+t.posPre,t.negSuf=t.posSuf;return t}(function sd(e,n){return ct(e)[x.NumberFormats][n]}(n,vt.Decimal),Bt(n,$.MinusSign)),n,$.Group,$.Decimal,t)}(function Dd(e){if("string"==typeof e&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if("number"!=typeof e)throw new Error(`${e} is not a number`);return e}(t),i,r)}catch(o){throw function nn(e,n){return new F(2100,!1)}()}}}return e.\u0275fac=function(t){return new(t||e)(M(gn,16))},e.\u0275pipe=pt({name:"number",type:e,pure:!0,standalone:!0}),e})();let Y2=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Ot({type:e}),e.\u0275inj=Ct({}),e})();let nN=(()=>{class e{}return e.\u0275prov=z({token:e,providedIn:"root",factory:()=>new rN(V(ft),window)}),e})();class rN{constructor(n,t){this.document=n,this.window=t,this.offset=()=>[0,0]}setOffset(n){this.offset=Array.isArray(n)?()=>n:n}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(n){this.supportsScrolling()&&this.window.scrollTo(n[0],n[1])}scrollToAnchor(n){if(!this.supportsScrolling())return;const t=function iN(e,n){const t=e.getElementById(n)||e.getElementsByName(n)[0];if(t)return t;if("function"==typeof e.createTreeWalker&&e.body&&(e.body.createShadowRoot||e.body.attachShadow)){const r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT);let i=r.currentNode;for(;i;){const o=i.shadowRoot;if(o){const s=o.getElementById(n)||o.querySelector(`[name="${n}"]`);if(s)return s}i=r.nextNode()}}return null}(this.document,n);t&&(this.scrollToElement(t),t.focus())}setHistoryScrollRestoration(n){if(this.supportScrollRestoration()){const t=this.window.history;t&&t.scrollRestoration&&(t.scrollRestoration=n)}}scrollToElement(n){const t=n.getBoundingClientRect(),r=t.left+this.window.pageXOffset,i=t.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(r-o[0],i-o[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const n=M_(this.window.history)||M_(Object.getPrototypeOf(this.window.history));return!(!n||!n.writable&&!n.set)}catch(n){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(n){return!1}}}function M_(e){return Object.getOwnPropertyDescriptor(e,"scrollRestoration")}class S_{}class Ed extends class bN extends class OT{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){!function RT(e){ha||(ha=e)}(new Ed)}onAndCancel(n,t,r){return n.addEventListener(t,r,!1),()=>{n.removeEventListener(t,r,!1)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.parentNode&&n.parentNode.removeChild(n)}createElement(n,t){return(t=t||this.getDefaultDocument()).createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,t){return"window"===t?window:"document"===t?n:"body"===t?n.body:null}getBaseHref(n){const t=function wN(){return No=No||document.querySelector("base"),No?No.getAttribute("href"):null}();return null==t?null:function EN(e){Ea=Ea||document.createElement("a"),Ea.setAttribute("href",e);const n=Ea.pathname;return"/"===n.charAt(0)?n:`/${n}`}(t)}resetBaseElement(){No=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return v_(document.cookie,n)}}let Ea,No=null;const N_=new j("TRANSITION_ID"),SN=[{provide:wo,useFactory:function MN(e,n,t){return()=>{t.get(oa).donePromise.then(()=>{const r=vn(),i=n.querySelectorAll(`style[ng-transition="${e}"]`);for(let o=0;o<i.length;o++)r.remove(i[o])})}},deps:[N_,ft,St],multi:!0}];let AN=(()=>{class e{build(){return new XMLHttpRequest}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=z({token:e,factory:e.\u0275fac}),e})();const Ma=new j("EventManagerPlugins");let Sa=(()=>{class e{constructor(t,r){this._zone=r,this._eventNameToPlugin=new Map,t.forEach(i=>i.manager=this),this._plugins=t.slice().reverse()}addEventListener(t,r,i){return this._findPluginFor(r).addEventListener(t,r,i)}addGlobalEventListener(t,r,i){return this._findPluginFor(r).addGlobalEventListener(t,r,i)}getZone(){return this._zone}_findPluginFor(t){const r=this._eventNameToPlugin.get(t);if(r)return r;const i=this._plugins;for(let o=0;o<i.length;o++){const s=i[o];if(s.supports(t))return this._eventNameToPlugin.set(t,s),s}throw new Error(`No event manager plugin found for event ${t}`)}}return e.\u0275fac=function(t){return new(t||e)(V(Ma),V(ze))},e.\u0275prov=z({token:e,factory:e.\u0275fac}),e})();class F_{constructor(n){this._doc=n}addGlobalEventListener(n,t,r){const i=vn().getGlobalEventTarget(this._doc,n);if(!i)throw new Error(`Unsupported event target ${i} for event ${t}`);return this.addEventListener(i,t,r)}}let P_=(()=>{class e{constructor(){this._stylesSet=new Set}addStyles(t){const r=new Set;t.forEach(i=>{this._stylesSet.has(i)||(this._stylesSet.add(i),r.add(i))}),this.onStylesAdded(r)}onStylesAdded(t){}getAllStyles(){return Array.from(this._stylesSet)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=z({token:e,factory:e.\u0275fac}),e})(),Fo=(()=>{class e extends P_{constructor(t){super(),this._doc=t,this._hostNodes=new Map,this._hostNodes.set(t.head,[])}_addStylesToHost(t,r,i){t.forEach(o=>{const s=this._doc.createElement("style");s.textContent=o,i.push(r.appendChild(s))})}addHost(t){const r=[];this._addStylesToHost(this._stylesSet,t,r),this._hostNodes.set(t,r)}removeHost(t){const r=this._hostNodes.get(t);r&&r.forEach(R_),this._hostNodes.delete(t)}onStylesAdded(t){this._hostNodes.forEach((r,i)=>{this._addStylesToHost(t,i,r)})}ngOnDestroy(){this._hostNodes.forEach(t=>t.forEach(R_))}}return e.\u0275fac=function(t){return new(t||e)(V(ft))},e.\u0275prov=z({token:e,factory:e.\u0275fac}),e})();function R_(e){vn().remove(e)}const Md={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/"},Sd=/%COMP%/g;function Ia(e,n,t){for(let r=0;r<n.length;r++){let i=n[r];Array.isArray(i)?Ia(e,i,t):(i=i.replace(Sd,e),t.push(i))}return t}function k_(e){return n=>{if("__ngUnwrap__"===n)return e;!1===e(n)&&(n.preventDefault(),n.returnValue=!1)}}let Id=(()=>{class e{constructor(t,r,i){this.eventManager=t,this.sharedStylesHost=r,this.appId=i,this.rendererByCompId=new Map,this.defaultRenderer=new Ad(t)}createRenderer(t,r){if(!t||!r)return this.defaultRenderer;switch(r.encapsulation){case an.Emulated:{let i=this.rendererByCompId.get(r.id);return i||(i=new ON(this.eventManager,this.sharedStylesHost,r,this.appId),this.rendererByCompId.set(r.id,i)),i.applyToHost(t),i}case 1:case an.ShadowDom:return new xN(this.eventManager,this.sharedStylesHost,t,r);default:if(!this.rendererByCompId.has(r.id)){const i=Ia(r.id,r.styles,[]);this.sharedStylesHost.addStyles(i),this.rendererByCompId.set(r.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return e.\u0275fac=function(t){return new(t||e)(V(Sa),V(Fo),V(Eo))},e.\u0275prov=z({token:e,factory:e.\u0275fac}),e})();class Ad{constructor(n){this.eventManager=n,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(n,t){return t?document.createElementNS(Md[t]||t,n):document.createElement(n)}createComment(n){return document.createComment(n)}createText(n){return document.createTextNode(n)}appendChild(n,t){(V_(n)?n.content:n).appendChild(t)}insertBefore(n,t,r){n&&(V_(n)?n.content:n).insertBefore(t,r)}removeChild(n,t){n&&n.removeChild(t)}selectRootElement(n,t){let r="string"==typeof n?document.querySelector(n):n;if(!r)throw new Error(`The selector "${n}" did not match any elements`);return t||(r.textContent=""),r}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,t,r,i){if(i){t=i+":"+t;const o=Md[i];o?n.setAttributeNS(o,t,r):n.setAttribute(t,r)}else n.setAttribute(t,r)}removeAttribute(n,t,r){if(r){const i=Md[r];i?n.removeAttributeNS(i,t):n.removeAttribute(`${r}:${t}`)}else n.removeAttribute(t)}addClass(n,t){n.classList.add(t)}removeClass(n,t){n.classList.remove(t)}setStyle(n,t,r,i){i&(mt.DashCase|mt.Important)?n.style.setProperty(t,r,i&mt.Important?"important":""):n.style[t]=r}removeStyle(n,t,r){r&mt.DashCase?n.style.removeProperty(t):n.style[t]=""}setProperty(n,t,r){n[t]=r}setValue(n,t){n.nodeValue=t}listen(n,t,r){return"string"==typeof n?this.eventManager.addGlobalEventListener(n,t,k_(r)):this.eventManager.addEventListener(n,t,k_(r))}}function V_(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class ON extends Ad{constructor(n,t,r,i){super(n),this.component=r;const o=Ia(i+"-"+r.id,r.styles,[]);t.addStyles(o),this.contentAttr=function FN(e){return"_ngcontent-%COMP%".replace(Sd,e)}(i+"-"+r.id),this.hostAttr=function PN(e){return"_nghost-%COMP%".replace(Sd,e)}(i+"-"+r.id)}applyToHost(n){super.setAttribute(n,this.hostAttr,"")}createElement(n,t){const r=super.createElement(n,t);return super.setAttribute(r,this.contentAttr,""),r}}class xN extends Ad{constructor(n,t,r,i){super(n),this.sharedStylesHost=t,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const o=Ia(i.id,i.styles,[]);for(let s=0;s<o.length;s++){const a=document.createElement("style");a.textContent=o[s],this.shadowRoot.appendChild(a)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(n,t){return super.appendChild(this.nodeOrShadowRoot(n),t)}insertBefore(n,t,r){return super.insertBefore(this.nodeOrShadowRoot(n),t,r)}removeChild(n,t){return super.removeChild(this.nodeOrShadowRoot(n),t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}}let kN=(()=>{class e extends F_{constructor(t){super(t)}supports(t){return!0}addEventListener(t,r,i){return t.addEventListener(r,i,!1),()=>this.removeEventListener(t,r,i)}removeEventListener(t,r,i){return t.removeEventListener(r,i)}}return e.\u0275fac=function(t){return new(t||e)(V(ft))},e.\u0275prov=z({token:e,factory:e.\u0275fac}),e})();const j_=["alt","control","meta","shift"],LN={"\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"},VN={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let jN=(()=>{class e extends F_{constructor(t){super(t)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,r,i){const o=e.parseEventName(r),s=e.eventCallback(o.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>vn().onAndCancel(t,o.domEventName,s))}static parseEventName(t){const r=t.toLowerCase().split("."),i=r.shift();if(0===r.length||"keydown"!==i&&"keyup"!==i)return null;const o=e._normalizeKey(r.pop());let s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),j_.forEach(u=>{const c=r.indexOf(u);c>-1&&(r.splice(c,1),s+=u+".")}),s+=o,0!=r.length||0===o.length)return null;const l={};return l.domEventName=i,l.fullKey=s,l}static matchEventFullKeyCode(t,r){let i=LN[t.key]||t.key,o="";return r.indexOf("code.")>-1&&(i=t.code,o="code."),!(null==i||!i)&&(i=i.toLowerCase()," "===i?i="space":"."===i&&(i="dot"),j_.forEach(s=>{s!==i&&(0,VN[s])(t)&&(o+=s+".")}),o+=i,o===r)}static eventCallback(t,r,i){return o=>{e.matchEventFullKeyCode(o,t)&&i.runGuarded(()=>r(o))}}static _normalizeKey(t){return"esc"===t?"escape":t}}return e.\u0275fac=function(t){return new(t||e)(V(ft))},e.\u0275prov=z({token:e,factory:e.\u0275fac}),e})();const UN=Vy(NT,"browser",[{provide:Gc,useValue:"browser"},{provide:Ay,useValue:function BN(){Ed.makeCurrent()},multi:!0},{provide:ft,useFactory:function HN(){return function Jb(e){tu=e}(document),document},deps:[]}]),H_=new j(""),U_=[{provide:sa,useClass:class IN{addToWindow(n){me.getAngularTestability=(r,i=!0)=>{const o=n.findTestabilityInTree(r,i);if(null==o)throw new Error("Could not find testability for element.");return o},me.getAllAngularTestabilities=()=>n.getAllTestabilities(),me.getAllAngularRootElements=()=>n.getAllRootElements(),me.frameworkStabilizers||(me.frameworkStabilizers=[]),me.frameworkStabilizers.push(r=>{const i=me.getAllAngularTestabilities();let o=i.length,s=!1;const a=function(l){s=s||l,o--,0==o&&r(s)};i.forEach(function(l){l.whenStable(a)})})}findTestabilityInTree(n,t,r){if(null==t)return null;const i=n.getTestability(t);return null!=i?i:r?vn().isShadowRoot(t)?this.findTestabilityInTree(n,t.host,!0):this.findTestabilityInTree(n,t.parentElement,!0):null}},deps:[]},{provide:Oy,useClass:Kc,deps:[ze,Qc,sa]},{provide:Kc,useClass:Kc,deps:[ze,Qc,sa]}],G_=[{provide:fu,useValue:"root"},{provide:Yr,useFactory:function $N(){return new Yr},deps:[]},{provide:Ma,useClass:kN,multi:!0,deps:[ft,ze,Gc]},{provide:Ma,useClass:jN,multi:!0,deps:[ft]},{provide:Id,useClass:Id,deps:[Sa,Fo,Eo]},{provide:Hp,useExisting:Id},{provide:P_,useExisting:Fo},{provide:Fo,useClass:Fo,deps:[ft]},{provide:Sa,useClass:Sa,deps:[Ma,ze]},{provide:S_,useClass:AN,deps:[]},[]];let GN=(()=>{class e{constructor(t){}static withServerTransition(t){return{ngModule:e,providers:[{provide:Eo,useValue:t.appId},{provide:N_,useExisting:Eo},SN]}}}return e.\u0275fac=function(t){return new(t||e)(V(H_,12))},e.\u0275mod=Ot({type:e}),e.\u0275inj=Ct({providers:[...G_,...U_],imports:[Y2,FT]}),e})(),z_=(()=>{class e{constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}}return e.\u0275fac=function(t){return new(t||e)(V(ft))},e.\u0275prov=z({token:e,factory:function(t){let r=null;return r=t?new t:function WN(){return new z_(V(ft))}(),r},providedIn:"root"}),e})();function B(...e){return Re(e,Ti(e))}function Yn(e,n){return pe(n)?Ke(e,n,1):Ke(e,1)}function jn(e,n){return qe((t,r)=>{let i=0;t.subscribe(Be(r,o=>e.call(n,o,i++)&&r.next(o)))})}"undefined"!=typeof window&&window;class J_{}class K_{}class Bn{constructor(n){this.normalizedNames=new Map,this.lazyUpdate=null,n?this.lazyInit="string"==typeof n?()=>{this.headers=new Map,n.split("\n").forEach(t=>{const r=t.indexOf(":");if(r>0){const i=t.slice(0,r),o=i.toLowerCase(),s=t.slice(r+1).trim();this.maybeSetNormalizedName(i,o),this.headers.has(o)?this.headers.get(o).push(s):this.headers.set(o,[s])}})}:()=>{this.headers=new Map,Object.keys(n).forEach(t=>{let r=n[t];const i=t.toLowerCase();"string"==typeof r&&(r=[r]),r.length>0&&(this.headers.set(i,r),this.maybeSetNormalizedName(t,i))})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();const t=this.headers.get(n.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,t){return this.clone({name:n,value:t,op:"a"})}set(n,t){return this.clone({name:n,value:t,op:"s"})}delete(n,t){return this.clone({name:n,value:t,op:"d"})}maybeSetNormalizedName(n,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,n)}init(){this.lazyInit&&(this.lazyInit instanceof Bn?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(t=>{this.headers.set(t,n.headers.get(t)),this.normalizedNames.set(t,n.normalizedNames.get(t))})}clone(n){const t=new Bn;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof Bn?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([n]),t}applyUpdate(n){const t=n.name.toLowerCase();switch(n.op){case"a":case"s":let r=n.value;if("string"==typeof r&&(r=[r]),0===r.length)return;this.maybeSetNormalizedName(n.name,t);const i=("a"===n.op?this.headers.get(t):void 0)||[];i.push(...r),this.headers.set(t,i);break;case"d":const o=n.value;if(o){let s=this.headers.get(t);if(!s)return;s=s.filter(a=>-1===o.indexOf(a)),0===s.length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,s)}else this.headers.delete(t),this.normalizedNames.delete(t)}}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>n(this.normalizedNames.get(t),this.headers.get(t)))}}class eF{encodeKey(n){return Q_(n)}encodeValue(n){return Q_(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}}const nF=/%(\d[a-f0-9])/gi,rF={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Q_(e){return encodeURIComponent(e).replace(nF,(n,t)=>{var r;return null!==(r=rF[t])&&void 0!==r?r:n})}function Aa(e){return`${e}`}class Xn{constructor(n={}){if(this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new eF,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function tF(e,n){const t=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(i=>{const o=i.indexOf("="),[s,a]=-1==o?[n.decodeKey(i),""]:[n.decodeKey(i.slice(0,o)),n.decodeValue(i.slice(o+1))],l=t.get(s)||[];l.push(a),t.set(s,l)}),t}(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(t=>{const r=n.fromObject[t],i=Array.isArray(r)?r.map(Aa):[Aa(r)];this.map.set(t,i)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();const t=this.map.get(n);return t?t[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,t){return this.clone({param:n,value:t,op:"a"})}appendAll(n){const t=[];return Object.keys(n).forEach(r=>{const i=n[r];Array.isArray(i)?i.forEach(o=>{t.push({param:r,value:o,op:"a"})}):t.push({param:r,value:i,op:"a"})}),this.clone(t)}set(n,t){return this.clone({param:n,value:t,op:"s"})}delete(n,t){return this.clone({param:n,value:t,op:"d"})}toString(){return this.init(),this.keys().map(n=>{const t=this.encoder.encodeKey(n);return this.map.get(n).map(r=>t+"="+this.encoder.encodeValue(r)).join("&")}).filter(n=>""!==n).join("&")}clone(n){const t=new Xn({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(n),t}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":const t=("a"===n.op?this.map.get(n.param):void 0)||[];t.push(Aa(n.value)),this.map.set(n.param,t);break;case"d":if(void 0===n.value){this.map.delete(n.param);break}{let r=this.map.get(n.param)||[];const i=r.indexOf(Aa(n.value));-1!==i&&r.splice(i,1),r.length>0?this.map.set(n.param,r):this.map.delete(n.param)}}}),this.cloneFrom=this.updates=null)}}class iF{constructor(){this.map=new Map}set(n,t){return this.map.set(n,t),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}}function Z_(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function Y_(e){return"undefined"!=typeof Blob&&e instanceof Blob}function X_(e){return"undefined"!=typeof FormData&&e instanceof FormData}class Po{constructor(n,t,r,i){let o;if(this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=n.toUpperCase(),function oF(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||i?(this.body=void 0!==r?r:null,o=i):o=r,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params)),this.headers||(this.headers=new Bn),this.context||(this.context=new iF),this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=t;else{const a=t.indexOf("?");this.urlWithParams=t+(-1===a?"?":a<t.length-1?"&":"")+s}}else this.params=new Xn,this.urlWithParams=t}serializeBody(){return null===this.body?null:Z_(this.body)||Y_(this.body)||X_(this.body)||function sF(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof Xn?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||X_(this.body)?null:Y_(this.body)?this.body.type||null:Z_(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Xn?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(n={}){var t;const r=n.method||this.method,i=n.url||this.url,o=n.responseType||this.responseType,s=void 0!==n.body?n.body:this.body,a=void 0!==n.withCredentials?n.withCredentials:this.withCredentials,l=void 0!==n.reportProgress?n.reportProgress:this.reportProgress;let u=n.headers||this.headers,c=n.params||this.params;const f=null!==(t=n.context)&&void 0!==t?t:this.context;return void 0!==n.setHeaders&&(u=Object.keys(n.setHeaders).reduce((v,y)=>v.set(y,n.setHeaders[y]),u)),n.setParams&&(c=Object.keys(n.setParams).reduce((v,y)=>v.set(y,n.setParams[y]),c)),new Po(r,i,s,{params:c,headers:u,context:f,reportProgress:l,responseType:o,withCredentials:a})}}var Ve=(()=>((Ve=Ve||{})[Ve.Sent=0]="Sent",Ve[Ve.UploadProgress=1]="UploadProgress",Ve[Ve.ResponseHeader=2]="ResponseHeader",Ve[Ve.DownloadProgress=3]="DownloadProgress",Ve[Ve.Response=4]="Response",Ve[Ve.User=5]="User",Ve))();class Fd{constructor(n,t=200,r="OK"){this.headers=n.headers||new Bn,this.status=void 0!==n.status?n.status:t,this.statusText=n.statusText||r,this.url=n.url||null,this.ok=this.status>=200&&this.status<300}}class Pd extends Fd{constructor(n={}){super(n),this.type=Ve.ResponseHeader}clone(n={}){return new Pd({headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class Ta extends Fd{constructor(n={}){super(n),this.type=Ve.Response,this.body=void 0!==n.body?n.body:null}clone(n={}){return new Ta({body:void 0!==n.body?n.body:this.body,headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class e1 extends Fd{constructor(n){super(n,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${n.url||"(unknown url)"}`:`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}}function Rd(e,n){return{body:n,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}let Ro=(()=>{class e{constructor(t){this.handler=t}request(t,r,i={}){let o;if(t instanceof Po)o=t;else{let l,u;l=i.headers instanceof Bn?i.headers:new Bn(i.headers),i.params&&(u=i.params instanceof Xn?i.params:new Xn({fromObject:i.params})),o=new Po(t,r,void 0!==i.body?i.body:null,{headers:l,context:i.context,params:u,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials})}const s=B(o).pipe(Yn(l=>this.handler.handle(l)));if(t instanceof Po||"events"===i.observe)return s;const a=s.pipe(jn(l=>l instanceof Ta));switch(i.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(ne(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(ne(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(ne(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new Error("Response is not a string.");return l.body}));default:return a.pipe(ne(l=>l.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${i.observe}}`)}}delete(t,r={}){return this.request("DELETE",t,r)}get(t,r={}){return this.request("GET",t,r)}head(t,r={}){return this.request("HEAD",t,r)}jsonp(t,r){return this.request("JSONP",t,{params:(new Xn).append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,r={}){return this.request("OPTIONS",t,r)}patch(t,r,i={}){return this.request("PATCH",t,Rd(i,r))}post(t,r,i={}){return this.request("POST",t,Rd(i,r))}put(t,r,i={}){return this.request("PUT",t,Rd(i,r))}}return e.\u0275fac=function(t){return new(t||e)(V(J_))},e.\u0275prov=z({token:e,factory:e.\u0275fac}),e})();class t1{constructor(n,t){this.next=n,this.interceptor=t}handle(n){return this.interceptor.intercept(n,this.next)}}const n1=new j("HTTP_INTERCEPTORS");let aF=(()=>{class e{intercept(t,r){return r.handle(t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=z({token:e,factory:e.\u0275fac}),e})();const lF=/^\)\]\}',?\n/;let r1=(()=>{class e{constructor(t){this.xhrFactory=t}handle(t){if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new Ae(r=>{const i=this.xhrFactory.build();if(i.open(t.method,t.urlWithParams),t.withCredentials&&(i.withCredentials=!0),t.headers.forEach((y,_)=>i.setRequestHeader(y,_.join(","))),t.headers.has("Accept")||i.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){const y=t.detectContentTypeHeader();null!==y&&i.setRequestHeader("Content-Type",y)}if(t.responseType){const y=t.responseType.toLowerCase();i.responseType="json"!==y?y:"text"}const o=t.serializeBody();let s=null;const a=()=>{if(null!==s)return s;const y=i.statusText||"OK",_=new Bn(i.getAllResponseHeaders()),D=function uF(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(i)||t.url;return s=new Pd({headers:_,status:i.status,statusText:y,url:D}),s},l=()=>{let{headers:y,status:_,statusText:D,url:I}=a(),A=null;204!==_&&(A=void 0===i.response?i.responseText:i.response),0===_&&(_=A?200:0);let P=_>=200&&_<300;if("json"===t.responseType&&"string"==typeof A){const S=A;A=A.replace(lF,"");try{A=""!==A?JSON.parse(A):null}catch(L){A=S,P&&(P=!1,A={error:L,text:A})}}P?(r.next(new Ta({body:A,headers:y,status:_,statusText:D,url:I||void 0})),r.complete()):r.error(new e1({error:A,headers:y,status:_,statusText:D,url:I||void 0}))},u=y=>{const{url:_}=a(),D=new e1({error:y,status:i.status||0,statusText:i.statusText||"Unknown Error",url:_||void 0});r.error(D)};let c=!1;const f=y=>{c||(r.next(a()),c=!0);let _={type:Ve.DownloadProgress,loaded:y.loaded};y.lengthComputable&&(_.total=y.total),"text"===t.responseType&&!!i.responseText&&(_.partialText=i.responseText),r.next(_)},v=y=>{let _={type:Ve.UploadProgress,loaded:y.loaded};y.lengthComputable&&(_.total=y.total),r.next(_)};return i.addEventListener("load",l),i.addEventListener("error",u),i.addEventListener("timeout",u),i.addEventListener("abort",u),t.reportProgress&&(i.addEventListener("progress",f),null!==o&&i.upload&&i.upload.addEventListener("progress",v)),i.send(o),r.next({type:Ve.Sent}),()=>{i.removeEventListener("error",u),i.removeEventListener("abort",u),i.removeEventListener("load",l),i.removeEventListener("timeout",u),t.reportProgress&&(i.removeEventListener("progress",f),null!==o&&i.upload&&i.upload.removeEventListener("progress",v)),i.readyState!==i.DONE&&i.abort()}})}}return e.\u0275fac=function(t){return new(t||e)(V(S_))},e.\u0275prov=z({token:e,factory:e.\u0275fac}),e})();const Od=new j("XSRF_COOKIE_NAME"),xd=new j("XSRF_HEADER_NAME");class i1{}let cF=(()=>{class e{constructor(t,r,i){this.doc=t,this.platform=r,this.cookieName=i,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=v_(t,this.cookieName),this.lastCookieString=t),this.lastToken}}return e.\u0275fac=function(t){return new(t||e)(V(ft),V(Gc),V(Od))},e.\u0275prov=z({token:e,factory:e.\u0275fac}),e})(),kd=(()=>{class e{constructor(t,r){this.tokenService=t,this.headerName=r}intercept(t,r){const i=t.url.toLowerCase();if("GET"===t.method||"HEAD"===t.method||i.startsWith("http://")||i.startsWith("https://"))return r.handle(t);const o=this.tokenService.getToken();return null!==o&&!t.headers.has(this.headerName)&&(t=t.clone({headers:t.headers.set(this.headerName,o)})),r.handle(t)}}return e.\u0275fac=function(t){return new(t||e)(V(i1),V(xd))},e.\u0275prov=z({token:e,factory:e.\u0275fac}),e})(),dF=(()=>{class e{constructor(t,r){this.backend=t,this.injector=r,this.chain=null}handle(t){if(null===this.chain){const r=this.injector.get(n1,[]);this.chain=r.reduceRight((i,o)=>new t1(i,o),this.backend)}return this.chain.handle(t)}}return e.\u0275fac=function(t){return new(t||e)(V(K_),V(St))},e.\u0275prov=z({token:e,factory:e.\u0275fac}),e})(),fF=(()=>{class e{static disable(){return{ngModule:e,providers:[{provide:kd,useClass:aF}]}}static withOptions(t={}){return{ngModule:e,providers:[t.cookieName?{provide:Od,useValue:t.cookieName}:[],t.headerName?{provide:xd,useValue:t.headerName}:[]]}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Ot({type:e}),e.\u0275inj=Ct({providers:[kd,{provide:n1,useExisting:kd,multi:!0},{provide:i1,useClass:cF},{provide:Od,useValue:"XSRF-TOKEN"},{provide:xd,useValue:"X-XSRF-TOKEN"}]}),e})(),hF=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Ot({type:e}),e.\u0275inj=Ct({providers:[Ro,{provide:J_,useClass:dF},r1,{provide:K_,useExisting:r1}],imports:[fF.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]}),e})();const{isArray:pF}=Array,{getPrototypeOf:gF,prototype:mF,keys:vF}=Object;function o1(e){if(1===e.length){const n=e[0];if(pF(n))return{args:n,keys:null};if(function yF(e){return e&&"object"==typeof e&&gF(e)===mF}(n)){const t=vF(n);return{args:t.map(r=>n[r]),keys:t}}}return{args:e,keys:null}}const{isArray:_F}=Array;function s1(e){return ne(n=>function CF(e,n){return _F(n)?e(...n):e(n)}(e,n))}function a1(e,n){return e.reduce((t,r,i)=>(t[r]=n[i],t),{})}let l1=(()=>{class e{constructor(t,r){this._renderer=t,this._elementRef=r,this.onChange=i=>{},this.onTouched=()=>{}}setProperty(t,r){this._renderer.setProperty(this._elementRef.nativeElement,t,r)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}}return e.\u0275fac=function(t){return new(t||e)(M(Tn),M(_e))},e.\u0275dir=W({type:e}),e})(),Er=(()=>{class e extends l1{}return e.\u0275fac=function(){let n;return function(r){return(n||(n=Xe(e)))(r||e)}}(),e.\u0275dir=W({type:e,features:[de]}),e})();const yn=new j("NgValueAccessor"),bF={provide:yn,useExisting:ge(()=>Ld),multi:!0};let Ld=(()=>{class e extends Er{writeValue(t){this.setProperty("checked",t)}}return e.\u0275fac=function(){let n;return function(r){return(n||(n=Xe(e)))(r||e)}}(),e.\u0275dir=W({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(t,r){1&t&&N("change",function(o){return r.onChange(o.target.checked)})("blur",function(){return r.onTouched()})},features:[De([bF]),de]}),e})();const wF={provide:yn,useExisting:ge(()=>Nt),multi:!0},MF=new j("CompositionEventMode");let Nt=(()=>{class e extends l1{constructor(t,r,i){super(t,r),this._compositionMode=i,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function EF(){const e=vn()?vn().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(t){this.setProperty("value",null==t?"":t)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}}return e.\u0275fac=function(t){return new(t||e)(M(Tn),M(_e),M(MF,8))},e.\u0275dir=W({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(t,r){1&t&&N("input",function(o){return r._handleInput(o.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(o){return r._compositionEnd(o.target.value)})},features:[De([wF]),de]}),e})();const rt=new j("NgValidators"),tr=new j("NgAsyncValidators");function y1(e){return null!=e}function _1(e){return uo(e)?Re(e):e}function C1(e){let n={};return e.forEach(t=>{n=null!=t?Object.assign(Object.assign({},n),t):n}),0===Object.keys(n).length?null:n}function D1(e,n){return n.map(t=>t(e))}function b1(e){return e.map(n=>function AF(e){return!e.validate}(n)?n:t=>n.validate(t))}function Vd(e){return null!=e?function w1(e){if(!e)return null;const n=e.filter(y1);return 0==n.length?null:function(t){return C1(D1(t,n))}}(b1(e)):null}function jd(e){return null!=e?function E1(e){if(!e)return null;const n=e.filter(y1);return 0==n.length?null:function(t){return function DF(...e){const n=ph(e),{args:t,keys:r}=o1(e),i=new Ae(o=>{const{length:s}=t;if(!s)return void o.complete();const a=new Array(s);let l=s,u=s;for(let c=0;c<s;c++){let f=!1;Gt(t[c]).subscribe(Be(o,v=>{f||(f=!0,u--),a[c]=v},()=>l--,void 0,()=>{(!l||!f)&&(u||o.next(r?a1(r,a):a),o.complete())}))}});return n?i.pipe(s1(n)):i}(D1(t,n).map(_1)).pipe(ne(C1))}}(b1(e)):null}function M1(e,n){return null===e?[n]:Array.isArray(e)?[...e,n]:[e,n]}function Bd(e){return e?Array.isArray(e)?e:[e]:[]}function Fa(e,n){return Array.isArray(e)?e.includes(n):e===n}function A1(e,n){const t=Bd(n);return Bd(e).forEach(i=>{Fa(t,i)||t.push(i)}),t}function T1(e,n){return Bd(n).filter(t=>!Fa(e,t))}class N1{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=Vd(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=jd(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n){this.control&&this.control.reset(n)}hasError(n,t){return!!this.control&&this.control.hasError(n,t)}getError(n,t){return this.control?this.control.getError(n,t):null}}class nr extends N1{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class ht extends N1{get formDirective(){return null}get path(){return null}}class F1{constructor(n){this._cd=n}get isTouched(){var n,t;return!(null===(t=null===(n=this._cd)||void 0===n?void 0:n.control)||void 0===t||!t.touched)}get isUntouched(){var n,t;return!(null===(t=null===(n=this._cd)||void 0===n?void 0:n.control)||void 0===t||!t.untouched)}get isPristine(){var n,t;return!(null===(t=null===(n=this._cd)||void 0===n?void 0:n.control)||void 0===t||!t.pristine)}get isDirty(){var n,t;return!(null===(t=null===(n=this._cd)||void 0===n?void 0:n.control)||void 0===t||!t.dirty)}get isValid(){var n,t;return!(null===(t=null===(n=this._cd)||void 0===n?void 0:n.control)||void 0===t||!t.valid)}get isInvalid(){var n,t;return!(null===(t=null===(n=this._cd)||void 0===n?void 0:n.control)||void 0===t||!t.invalid)}get isPending(){var n,t;return!(null===(t=null===(n=this._cd)||void 0===n?void 0:n.control)||void 0===t||!t.pending)}get isSubmitted(){var n;return!(null===(n=this._cd)||void 0===n||!n.submitted)}}let Ht=(()=>{class e extends F1{constructor(t){super(t)}}return e.\u0275fac=function(t){return new(t||e)(M(nr,2))},e.\u0275dir=W({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,r){2&t&&Ks("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:[de]}),e})(),P1=(()=>{class e extends F1{constructor(t){super(t)}}return e.\u0275fac=function(t){return new(t||e)(M(ht,10))},e.\u0275dir=W({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(t,r){2&t&&Ks("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:[de]}),e})();const Oo="VALID",Ra="INVALID",yi="PENDING",xo="DISABLED";function Gd(e){return(Oa(e)?e.validators:e)||null}function O1(e){return Array.isArray(e)?Vd(e):e||null}function zd(e,n){return(Oa(n)?n.asyncValidators:e)||null}function x1(e){return Array.isArray(e)?jd(e):e||null}function Oa(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class V1{constructor(n,t){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=n,this._rawAsyncValidators=t,this._composedValidatorFn=O1(this._rawValidators),this._composedAsyncValidatorFn=x1(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get valid(){return this.status===Oo}get invalid(){return this.status===Ra}get pending(){return this.status==yi}get disabled(){return this.status===xo}get enabled(){return this.status!==xo}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._rawValidators=n,this._composedValidatorFn=O1(n)}setAsyncValidators(n){this._rawAsyncValidators=n,this._composedAsyncValidatorFn=x1(n)}addValidators(n){this.setValidators(A1(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(A1(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(T1(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(T1(n,this._rawAsyncValidators))}hasValidator(n){return Fa(this._rawValidators,n)}hasAsyncValidator(n){return Fa(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){this.touched=!0,this._parent&&!n.onlySelf&&this._parent.markAsTouched(n)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(n=>n.markAllAsTouched())}markAsUntouched(n={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}markAsDirty(n={}){this.pristine=!1,this._parent&&!n.onlySelf&&this._parent.markAsDirty(n)}markAsPristine(n={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}markAsPending(n={}){this.status=yi,!1!==n.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!n.onlySelf&&this._parent.markAsPending(n)}disable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=xo,this.errors=null,this._forEachChild(r=>{r.disable(Object.assign(Object.assign({},n),{onlySelf:!0}))}),this._updateValue(),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},n),{skipPristineCheck:t})),this._onDisabledChange.forEach(r=>r(!0))}enable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=Oo,this._forEachChild(r=>{r.enable(Object.assign(Object.assign({},n),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},n),{skipPristineCheck:t})),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(n){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Oo||this.status===yi)&&this._runAsyncValidator(n.emitEvent)),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(n)}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?xo:Oo}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n){if(this.asyncValidator){this.status=yi,this._hasOwnPendingAsyncValidator=!0;const t=_1(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(r=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(r,{emitEvent:n})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(n,t={}){this.errors=n,this._updateControlsErrors(!1!==t.emitEvent)}get(n){let t=n;return null==t||(Array.isArray(t)||(t=t.split(".")),0===t.length)?null:t.reduce((r,i)=>r&&r._find(i),this)}getError(n,t){const r=t?this.get(t):this;return r&&r.errors?r.errors[n]:null}hasError(n,t){return!!this.getError(n,t)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(n)}_initObservables(){this.valueChanges=new Ie,this.statusChanges=new Ie}_calculateStatus(){return this._allControlsDisabled()?xo:this.errors?Ra:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(yi)?yi:this._anyControlsHaveStatus(Ra)?Ra:Oo}_anyControlsHaveStatus(n){return this._anyControls(t=>t.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n={}){this.pristine=!this._anyControlsDirty(),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}_updateTouched(n={}){this.touched=this._anyControlsTouched(),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){Oa(n)&&null!=n.updateOn&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(n){return null}}class Wd extends V1{constructor(n,t,r){super(Gd(t),zd(r,t)),this.controls=n,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(n,t){return this.controls[n]?this.controls[n]:(this.controls[n]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(n,t,r={}){this.registerControl(n,t),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(n,t={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}setControl(n,t,r={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],t&&this.registerControl(n,t),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,t={}){(function L1(e,n,t){e._forEachChild((r,i)=>{if(void 0===t[i])throw new F(1002,"")})})(this,0,n),Object.keys(n).forEach(r=>{(function k1(e,n,t){const r=e.controls;if(!(n?Object.keys(r):r).length)throw new F(1e3,"");if(!r[t])throw new F(1001,"")})(this,!0,r),this.controls[r].setValue(n[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(n,t={}){null!=n&&(Object.keys(n).forEach(r=>{const i=this.controls[r];i&&i.patchValue(n[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(n={},t={}){this._forEachChild((r,i)=>{r.reset(n[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(n,t,r)=>(n[r]=t.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(t,r)=>!!r._syncPendingControls()||t);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(t=>{const r=this.controls[t];r&&n(r,t)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(const[t,r]of Object.entries(this.controls))if(this.contains(t)&&n(r))return!0;return!1}_reduceValue(){return this._reduceChildren({},(t,r,i)=>((r.enabled||this.disabled)&&(t[i]=r.value),t))}_reduceChildren(n,t){let r=n;return this._forEachChild((i,o)=>{r=t(r,i,o)}),r}_allControlsDisabled(){for(const n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}}function ko(e,n){var t,r;qd(e,n),n.valueAccessor.writeValue(e.value),e.disabled&&(null===(r=(t=n.valueAccessor).setDisabledState)||void 0===r||r.call(t,!0)),function LF(e,n){n.valueAccessor.registerOnChange(t=>{e._pendingValue=t,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&j1(e,n)})}(e,n),function jF(e,n){const t=(r,i)=>{n.valueAccessor.writeValue(r),i&&n.viewToModelUpdate(r)};e.registerOnChange(t),n._registerOnDestroy(()=>{e._unregisterOnChange(t)})}(e,n),function VF(e,n){n.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&j1(e,n),"submit"!==e.updateOn&&e.markAsTouched()})}(e,n),function kF(e,n){if(n.valueAccessor.setDisabledState){const t=r=>{n.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(t),n._registerOnDestroy(()=>{e._unregisterOnDisabledChange(t)})}}(e,n)}function La(e,n){e.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(n)})}function qd(e,n){const t=function S1(e){return e._rawValidators}(e);null!==n.validator?e.setValidators(M1(t,n.validator)):"function"==typeof t&&e.setValidators([t]);const r=function I1(e){return e._rawAsyncValidators}(e);null!==n.asyncValidator?e.setAsyncValidators(M1(r,n.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]);const i=()=>e.updateValueAndValidity();La(n._rawValidators,i),La(n._rawAsyncValidators,i)}function j1(e,n){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}const GF={provide:ht,useExisting:ge(()=>ja)},Lo=(()=>Promise.resolve())();let ja=(()=>{class e extends ht{constructor(t,r){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new Ie,this.form=new Wd({},Vd(t),jd(r))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){Lo.then(()=>{const r=this._findContainer(t.path);t.control=r.registerControl(t.name,t.control),ko(t.control,t),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){Lo.then(()=>{const r=this._findContainer(t.path);r&&r.removeControl(t.name),this._directives.delete(t)})}addFormGroup(t){Lo.then(()=>{const r=this._findContainer(t.path),i=new Wd({});(function B1(e,n){qd(e,n)})(i,t),r.registerControl(t.name,i),i.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){Lo.then(()=>{const r=this._findContainer(t.path);r&&r.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,r){Lo.then(()=>{this.form.get(t.path).setValue(r)})}setValue(t){this.control.setValue(t)}onSubmit(t){var r;return this.submitted=!0,function H1(e,n){e._syncPendingControls(),n.forEach(t=>{const r=t.control;"submit"===r.updateOn&&r._pendingChange&&(t.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}(this.form,this._directives),this.ngSubmit.emit(t),"dialog"===(null===(r=null==t?void 0:t.target)||void 0===r?void 0:r.method)}onReset(){this.resetForm()}resetForm(t){this.form.reset(t),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}}return e.\u0275fac=function(t){return new(t||e)(M(rt,10),M(tr,10))},e.\u0275dir=W({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(t,r){1&t&&N("submit",function(o){return r.onSubmit(o)})("reset",function(){return r.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[De([GF]),de]}),e})();function U1(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function G1(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}const z1=class extends V1{constructor(n=null,t,r){super(Gd(t),zd(r,t)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Oa(t)&&(t.nonNullable||t.initialValueIsDefault)&&(this.defaultValue=G1(n)?n.value:n)}setValue(n,t={}){this.value=this._pendingValue=n,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(r=>r(this.value,!1!==t.emitViewToModelChange)),this.updateValueAndValidity(t)}patchValue(n,t={}){this.setValue(n,t)}reset(n=this.defaultValue,t={}){this._applyFormState(n),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){U1(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){U1(this._onDisabledChange,n)}_forEachChild(n){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(n){G1(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}},qF={provide:nr,useExisting:ge(()=>Ft)},J1=(()=>Promise.resolve())();let Ft=(()=>{class e extends nr{constructor(t,r,i,o,s){super(),this._changeDetectorRef=s,this.control=new z1,this._registered=!1,this.update=new Ie,this._parent=t,this._setValidators(r),this._setAsyncValidators(i),this.valueAccessor=function Kd(e,n){if(!n)return null;let t,r,i;return Array.isArray(n),n.forEach(o=>{o.constructor===Nt?t=o:function HF(e){return Object.getPrototypeOf(e.constructor)===Er}(o)?r=o:i=o}),i||r||t||null}(0,o)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){const r=t.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),function Jd(e,n){if(!e.hasOwnProperty("model"))return!1;const t=e.model;return!!t.isFirstChange()||!Object.is(n,t.currentValue)}(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){ko(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(t){J1.then(()=>{var r;this.control.setValue(t,{emitViewToModelChange:!1}),null===(r=this._changeDetectorRef)||void 0===r||r.markForCheck()})}_updateDisabled(t){const r=t.isDisabled.currentValue,i=0!==r&&kn(r);J1.then(()=>{var o;i&&!this.control.disabled?this.control.disable():!i&&this.control.disabled&&this.control.enable(),null===(o=this._changeDetectorRef)||void 0===o||o.markForCheck()})}_getPath(t){return this._parent?function xa(e,n){return[...n.path,e]}(t,this._parent):[t]}}return e.\u0275fac=function(t){return new(t||e)(M(ht,9),M(rt,10),M(tr,10),M(yn,10),M(ua,8))},e.\u0275dir=W({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:[De([qF]),de,kt]}),e})(),K1=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=W({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),e})();const JF={provide:yn,useExisting:ge(()=>rn),multi:!0};let rn=(()=>{class e extends Er{writeValue(t){this.setProperty("value",null==t?"":t)}registerOnChange(t){this.onChange=r=>{t(""==r?null:parseFloat(r))}}}return e.\u0275fac=function(){let n;return function(r){return(n||(n=Xe(e)))(r||e)}}(),e.\u0275dir=W({type:e,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(t,r){1&t&&N("input",function(o){return r.onChange(o.target.value)})("blur",function(){return r.onTouched()})},features:[De([JF]),de]}),e})(),Q1=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Ot({type:e}),e.\u0275inj=Ct({}),e})();const rP={provide:yn,useExisting:ge(()=>Ba),multi:!0};function rC(e,n){return null==e?`${n}`:(n&&"object"==typeof n&&(n="Object"),`${e}: ${n}`.slice(0,50))}let Ba=(()=>{class e extends Er{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){this.value=t;const i=rC(this._getOptionId(t),t);this.setProperty("value",i)}registerOnChange(t){this.onChange=r=>{this.value=this._getOptionValue(r),t(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(t){for(const r of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(r),t))return r;return null}_getOptionValue(t){const r=function iP(e){return e.split(":")[0]}(t);return this._optionMap.has(r)?this._optionMap.get(r):t}}return e.\u0275fac=function(){let n;return function(r){return(n||(n=Xe(e)))(r||e)}}(),e.\u0275dir=W({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(t,r){1&t&&N("change",function(o){return r.onChange(o.target.value)})("blur",function(){return r.onTouched()})},inputs:{compareWith:"compareWith"},features:[De([rP]),de]}),e})(),iC=(()=>{class e{constructor(t,r,i){this._element=t,this._renderer=r,this._select=i,this._select&&(this.id=this._select._registerOption())}set ngValue(t){null!=this._select&&(this._select._optionMap.set(this.id,t),this._setElementValue(rC(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._setElementValue(t),this._select&&this._select.writeValue(this._select.value)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return e.\u0275fac=function(t){return new(t||e)(M(_e),M(Tn),M(Ba,9))},e.\u0275dir=W({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),e})();const oP={provide:yn,useExisting:ge(()=>Xd),multi:!0};function oC(e,n){return null==e?`${n}`:("string"==typeof n&&(n=`'${n}'`),n&&"object"==typeof n&&(n="Object"),`${e}: ${n}`.slice(0,50))}let Xd=(()=>{class e extends Er{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){let r;if(this.value=t,Array.isArray(t)){const i=t.map(o=>this._getOptionId(o));r=(o,s)=>{o._setSelected(i.indexOf(s.toString())>-1)}}else r=(i,o)=>{i._setSelected(!1)};this._optionMap.forEach(r)}registerOnChange(t){this.onChange=r=>{const i=[],o=r.selectedOptions;if(void 0!==o){const s=o;for(let a=0;a<s.length;a++){const u=this._getOptionValue(s[a].value);i.push(u)}}else{const s=r.options;for(let a=0;a<s.length;a++){const l=s[a];if(l.selected){const u=this._getOptionValue(l.value);i.push(u)}}}this.value=i,t(i)}}_registerOption(t){const r=(this._idCounter++).toString();return this._optionMap.set(r,t),r}_getOptionId(t){for(const r of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(r)._value,t))return r;return null}_getOptionValue(t){const r=function sP(e){return e.split(":")[0]}(t);return this._optionMap.has(r)?this._optionMap.get(r)._value:t}}return e.\u0275fac=function(){let n;return function(r){return(n||(n=Xe(e)))(r||e)}}(),e.\u0275dir=W({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(t,r){1&t&&N("change",function(o){return r.onChange(o.target)})("blur",function(){return r.onTouched()})},inputs:{compareWith:"compareWith"},features:[De([oP]),de]}),e})(),sC=(()=>{class e{constructor(t,r,i){this._element=t,this._renderer=r,this._select=i,this._select&&(this.id=this._select._registerOption(this))}set ngValue(t){null!=this._select&&(this._value=t,this._setElementValue(oC(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._select?(this._value=t,this._setElementValue(oC(this.id,t)),this._select.writeValue(this._select.value)):this._setElementValue(t)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}_setSelected(t){this._renderer.setProperty(this._element.nativeElement,"selected",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return e.\u0275fac=function(t){return new(t||e)(M(_e),M(Tn),M(Xd,9))},e.\u0275dir=W({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),e})(),gP=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Ot({type:e}),e.\u0275inj=Ct({imports:[Q1]}),e})(),mP=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Ot({type:e}),e.\u0275inj=Ct({imports:[gP]}),e})();class on extends sn{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){const t=super._subscribe(n);return!t.closed&&n.next(this._value),t}getValue(){const{hasError:n,thrownError:t,_value:r}=this;if(n)throw t;return this._throwIfClosed(),r}next(n){super.next(this._value=n)}}const $a=Si(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function mC(...e){const n=Ti(e),t=ph(e),{args:r,keys:i}=o1(e);if(0===r.length)return Re([],n);const o=new Ae(function yP(e,n,t=ur){return r=>{vC(n,()=>{const{length:i}=e,o=new Array(i);let s=i,a=i;for(let l=0;l<i;l++)vC(n,()=>{const u=Re(e[l],n);let c=!1;u.subscribe(Be(r,f=>{o[l]=f,c||(c=!0,a--),a||r.next(t(o.slice()))},()=>{--s||r.complete()}))},r)},r)}}(r,n,i?s=>a1(i,s):ur));return t?o.pipe(s1(t)):o}function vC(e,n,t){e?Dn(t,e,n):n()}function tf(...e){return function _P(){return Fr(1)}()(Re(e,Ti(e)))}function yC(e){return new Ae(n=>{Gt(e()).subscribe(n)})}function Vo(e,n){const t=pe(e)?e:()=>e,r=i=>i.error(t());return new Ae(n?i=>n.schedule(r,0,i):r)}function nf(){return qe((e,n)=>{let t=null;e._refCount++;const r=Be(n,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount)return void(t=null);const i=e._connection,o=t;t=null,i&&(!o||i===o)&&i.unsubscribe(),n.unsubscribe()});e.subscribe(r),r.closed||(t=e.connect())})}class _C extends Ae{constructor(n,t){super(),this.source=n,this.subjectFactory=t,this._subject=null,this._refCount=0,this._connection=null,eh(n)&&(this.lift=n.lift)}_subscribe(n){return this.getSubject().subscribe(n)}getSubject(){const n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:n}=this;this._subject=this._connection=null,null==n||n.unsubscribe()}connect(){let n=this._connection;if(!n){n=this._connection=new Pt;const t=this.getSubject();n.add(this.source.subscribe(Be(t,void 0,()=>{this._teardown(),t.complete()},r=>{this._teardown(),t.error(r)},()=>this._teardown()))),n.closed&&(this._connection=null,n=Pt.EMPTY)}return n}refCount(){return nf()(this)}}function _n(e,n){return qe((t,r)=>{let i=null,o=0,s=!1;const a=()=>s&&!i&&r.complete();t.subscribe(Be(r,l=>{null==i||i.unsubscribe();let u=0;const c=o++;Gt(e(l,c)).subscribe(i=Be(r,f=>r.next(n?n(l,f,c,u++):f),()=>{i=null,a()}))},()=>{s=!0,a()}))})}function jo(e){return e<=0?()=>bn:qe((n,t)=>{let r=0;n.subscribe(Be(t,i=>{++r<=e&&(t.next(i),e<=r&&t.complete())}))})}function Ha(e){return qe((n,t)=>{let r=!1;n.subscribe(Be(t,i=>{r=!0,t.next(i)},()=>{r||t.next(e),t.complete()}))})}function CC(e=DP){return qe((n,t)=>{let r=!1;n.subscribe(Be(t,i=>{r=!0,t.next(i)},()=>r?t.complete():t.error(e())))})}function DP(){return new $a}function rr(e,n){const t=arguments.length>=2;return r=>r.pipe(e?jn((i,o)=>e(i,o,r)):ur,jo(1),t?Ha(n):CC(()=>new $a))}function it(e,n,t){const r=pe(e)||n||t?{next:e,error:n,complete:t}:e;return r?qe((i,o)=>{var s;null===(s=r.subscribe)||void 0===s||s.call(r);let a=!0;i.subscribe(Be(o,l=>{var u;null===(u=r.next)||void 0===u||u.call(r,l),o.next(l)},()=>{var l;a=!1,null===(l=r.complete)||void 0===l||l.call(r),o.complete()},l=>{var u;a=!1,null===(u=r.error)||void 0===u||u.call(r,l),o.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)}))}):ur}function ir(e){return qe((n,t)=>{let o,r=null,i=!1;r=n.subscribe(Be(t,void 0,void 0,s=>{o=Gt(e(s,ir(e)(n))),r?(r.unsubscribe(),r=null,o.subscribe(t)):i=!0})),i&&(r.unsubscribe(),r=null,o.subscribe(t))})}function bP(e,n,t,r,i){return(o,s)=>{let a=t,l=n,u=0;o.subscribe(Be(s,c=>{const f=u++;l=a?e(l,c,f):(a=!0,c),r&&s.next(l)},i&&(()=>{a&&s.next(l),s.complete()})))}}function DC(e,n){return qe(bP(e,n,arguments.length>=2,!0))}function rf(e){return e<=0?()=>bn:qe((n,t)=>{let r=[];n.subscribe(Be(t,i=>{r.push(i),e<r.length&&r.shift()},()=>{for(const i of r)t.next(i);t.complete()},void 0,()=>{r=null}))})}function bC(e,n){const t=arguments.length>=2;return r=>r.pipe(e?jn((i,o)=>e(i,o,r)):ur,rf(1),t?Ha(n):CC(()=>new $a))}function sf(e){return qe((n,t)=>{try{n.subscribe(t)}finally{t.add(e)}})}const ee="primary",Bo=Symbol("RouteTitle");class MP{constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){const t=this.params[n];return Array.isArray(t)?t[0]:t}return null}getAll(n){if(this.has(n)){const t=this.params[n];return Array.isArray(t)?t:[t]}return[]}get keys(){return Object.keys(this.params)}}function _i(e){return new MP(e)}function SP(e,n,t){const r=t.path.split("/");if(r.length>e.length||"full"===t.pathMatch&&(n.hasChildren()||r.length<e.length))return null;const i={};for(let o=0;o<r.length;o++){const s=r[o],a=e[o];if(s.startsWith(":"))i[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:e.slice(0,r.length),posParams:i}}function Cn(e,n){const t=e?Object.keys(e):void 0,r=n?Object.keys(n):void 0;if(!t||!r||t.length!=r.length)return!1;let i;for(let o=0;o<t.length;o++)if(i=t[o],!wC(e[i],n[i]))return!1;return!0}function wC(e,n){if(Array.isArray(e)&&Array.isArray(n)){if(e.length!==n.length)return!1;const t=[...e].sort(),r=[...n].sort();return t.every((i,o)=>r[o]===i)}return e===n}function EC(e){return Array.prototype.concat.apply([],e)}function MC(e){return e.length>0?e[e.length-1]:null}function Qe(e,n){for(const t in e)e.hasOwnProperty(t)&&n(e[t],t)}function or(e){return gc(e)?e:uo(e)?Re(Promise.resolve(e)):B(e)}const TP={exact:function AC(e,n,t){if(!Ir(e.segments,n.segments)||!Ua(e.segments,n.segments,t)||e.numberOfChildren!==n.numberOfChildren)return!1;for(const r in n.children)if(!e.children[r]||!AC(e.children[r],n.children[r],t))return!1;return!0},subset:TC},SC={exact:function NP(e,n){return Cn(e,n)},subset:function FP(e,n){return Object.keys(n).length<=Object.keys(e).length&&Object.keys(n).every(t=>wC(e[t],n[t]))},ignored:()=>!0};function IC(e,n,t){return TP[t.paths](e.root,n.root,t.matrixParams)&&SC[t.queryParams](e.queryParams,n.queryParams)&&!("exact"===t.fragment&&e.fragment!==n.fragment)}function TC(e,n,t){return NC(e,n,n.segments,t)}function NC(e,n,t,r){if(e.segments.length>t.length){const i=e.segments.slice(0,t.length);return!(!Ir(i,t)||n.hasChildren()||!Ua(i,t,r))}if(e.segments.length===t.length){if(!Ir(e.segments,t)||!Ua(e.segments,t,r))return!1;for(const i in n.children)if(!e.children[i]||!TC(e.children[i],n.children[i],r))return!1;return!0}{const i=t.slice(0,e.segments.length),o=t.slice(e.segments.length);return!!(Ir(e.segments,i)&&Ua(e.segments,i,r)&&e.children[ee])&&NC(e.children[ee],n,o,r)}}function Ua(e,n,t){return n.every((r,i)=>SC[t](e[i].parameters,r.parameters))}class Sr{constructor(n,t,r){this.root=n,this.queryParams=t,this.fragment=r}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=_i(this.queryParams)),this._queryParamMap}toString(){return OP.serialize(this)}}class re{constructor(n,t){this.segments=n,this.children=t,this.parent=null,Qe(t,(r,i)=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Ga(this)}}class $o{constructor(n,t){this.path=n,this.parameters=t}get parameterMap(){return this._parameterMap||(this._parameterMap=_i(this.parameters)),this._parameterMap}toString(){return OC(this)}}function Ir(e,n){return e.length===n.length&&e.every((t,r)=>t.path===n[r].path)}let FC=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=z({token:e,factory:function(){return new lf},providedIn:"root"}),e})();class lf{parse(n){const t=new UP(n);return new Sr(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(n){const t=`/${Ho(n.root,!0)}`,r=function LP(e){const n=Object.keys(e).map(t=>{const r=e[t];return Array.isArray(r)?r.map(i=>`${za(t)}=${za(i)}`).join("&"):`${za(t)}=${za(r)}`}).filter(t=>!!t);return n.length?`?${n.join("&")}`:""}(n.queryParams);return`${t}${r}${"string"==typeof n.fragment?`#${function xP(e){return encodeURI(e)}(n.fragment)}`:""}`}}const OP=new lf;function Ga(e){return e.segments.map(n=>OC(n)).join("/")}function Ho(e,n){if(!e.hasChildren())return Ga(e);if(n){const t=e.children[ee]?Ho(e.children[ee],!1):"",r=[];return Qe(e.children,(i,o)=>{o!==ee&&r.push(`${o}:${Ho(i,!1)}`)}),r.length>0?`${t}(${r.join("//")})`:t}{const t=function RP(e,n){let t=[];return Qe(e.children,(r,i)=>{i===ee&&(t=t.concat(n(r,i)))}),Qe(e.children,(r,i)=>{i!==ee&&(t=t.concat(n(r,i)))}),t}(e,(r,i)=>i===ee?[Ho(e.children[ee],!1)]:[`${i}:${Ho(r,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children[ee]?`${Ga(e)}/${t[0]}`:`${Ga(e)}/(${t.join("//")})`}}function PC(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function za(e){return PC(e).replace(/%3B/gi,";")}function uf(e){return PC(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Wa(e){return decodeURIComponent(e)}function RC(e){return Wa(e.replace(/\+/g,"%20"))}function OC(e){return`${uf(e.path)}${function kP(e){return Object.keys(e).map(n=>`;${uf(n)}=${uf(e[n])}`).join("")}(e.parameters)}`}const VP=/^[^\/()?;=#]+/;function qa(e){const n=e.match(VP);return n?n[0]:""}const jP=/^[^=?&#]+/,$P=/^[^&#]+/;class UP{constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new re([],{}):new re([],this.parseChildren())}parseQueryParams(){const n={};if(this.consumeOptional("?"))do{this.parseQueryParam(n)}while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(n.length>0||Object.keys(t).length>0)&&(r[ee]=new re(n,t)),r}parseSegment(){const n=qa(this.remaining);if(""===n&&this.peekStartsWith(";"))throw new F(4009,!1);return this.capture(n),new $o(Wa(n),this.parseMatrixParams())}parseMatrixParams(){const n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){const t=qa(this.remaining);if(!t)return;this.capture(t);let r="";if(this.consumeOptional("=")){const i=qa(this.remaining);i&&(r=i,this.capture(r))}n[Wa(t)]=Wa(r)}parseQueryParam(n){const t=function BP(e){const n=e.match(jP);return n?n[0]:""}(this.remaining);if(!t)return;this.capture(t);let r="";if(this.consumeOptional("=")){const s=function HP(e){const n=e.match($P);return n?n[0]:""}(this.remaining);s&&(r=s,this.capture(r))}const i=RC(t),o=RC(r);if(n.hasOwnProperty(i)){let s=n[i];Array.isArray(s)||(s=[s],n[i]=s),s.push(o)}else n[i]=o}parseParens(n){const t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const r=qa(this.remaining),i=this.remaining[r.length];if("/"!==i&&")"!==i&&";"!==i)throw new F(4010,!1);let o;r.indexOf(":")>-1?(o=r.slice(0,r.indexOf(":")),this.capture(o),this.capture(":")):n&&(o=ee);const s=this.parseChildren();t[o]=1===Object.keys(s).length?s[ee]:new re([],s),this.consumeOptional("//")}return t}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return!!this.peekStartsWith(n)&&(this.remaining=this.remaining.substring(n.length),!0)}capture(n){if(!this.consumeOptional(n))throw new F(4011,!1)}}function cf(e){return e.segments.length>0?new re([],{[ee]:e}):e}function Ja(e){const n={};for(const r of Object.keys(e.children)){const o=Ja(e.children[r]);(o.segments.length>0||o.hasChildren())&&(n[r]=o)}return function GP(e){if(1===e.numberOfChildren&&e.children[ee]){const n=e.children[ee];return new re(e.segments.concat(n.segments),n.children)}return e}(new re(e.segments,n))}function Ar(e){return e instanceof Sr}function qP(e,n,t,r,i){var o;if(0===t.length)return Ci(n.root,n.root,n.root,r,i);const a=function LC(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new kC(!0,0,e);let n=0,t=!1;const r=e.reduce((i,o,s)=>{if("object"==typeof o&&null!=o){if(o.outlets){const a={};return Qe(o.outlets,(l,u)=>{a[u]="string"==typeof l?l.split("/"):l}),[...i,{outlets:a}]}if(o.segmentPath)return[...i,o.segmentPath]}return"string"!=typeof o?[...i,o]:0===s?(o.split("/").forEach((a,l)=>{0==l&&"."===a||(0==l&&""===a?t=!0:".."===a?n++:""!=a&&i.push(a))}),i):[...i,o]},[]);return new kC(t,n,r)}(t);return a.toRoot()?Ci(n.root,n.root,new re([],{}),r,i):function l(c){var f;const v=function KP(e,n,t,r){if(e.isAbsolute)return new Di(n.root,!0,0);if(-1===r)return new Di(t,t===n.root,0);return function VC(e,n,t){let r=e,i=n,o=t;for(;o>i;){if(o-=i,r=r.parent,!r)throw new F(4005,!1);i=r.segments.length}return new Di(r,!1,i-o)}(t,r+(Uo(e.commands[0])?0:1),e.numberOfDoubleDots)}(a,n,null===(f=e.snapshot)||void 0===f?void 0:f._urlSegment,c),y=v.processChildren?zo(v.segmentGroup,v.index,a.commands):ff(v.segmentGroup,v.index,a.commands);return Ci(n.root,v.segmentGroup,y,r,i)}(null===(o=e.snapshot)||void 0===o?void 0:o._lastPathIndex)}function Uo(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function Go(e){return"object"==typeof e&&null!=e&&e.outlets}function Ci(e,n,t,r,i){let s,o={};r&&Qe(r,(l,u)=>{o[u]=Array.isArray(l)?l.map(c=>`${c}`):`${l}`}),s=e===n?t:xC(e,n,t);const a=cf(Ja(s));return new Sr(a,o,i)}function xC(e,n,t){const r={};return Qe(e.children,(i,o)=>{r[o]=i===n?t:xC(i,n,t)}),new re(e.segments,r)}class kC{constructor(n,t,r){if(this.isAbsolute=n,this.numberOfDoubleDots=t,this.commands=r,n&&r.length>0&&Uo(r[0]))throw new F(4003,!1);const i=r.find(Go);if(i&&i!==MC(r))throw new F(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Di{constructor(n,t,r){this.segmentGroup=n,this.processChildren=t,this.index=r}}function ff(e,n,t){if(e||(e=new re([],{})),0===e.segments.length&&e.hasChildren())return zo(e,n,t);const r=function ZP(e,n,t){let r=0,i=n;const o={match:!1,pathIndex:0,commandIndex:0};for(;i<e.segments.length;){if(r>=t.length)return o;const s=e.segments[i],a=t[r];if(Go(a))break;const l=`${a}`,u=r<t.length-1?t[r+1]:null;if(i>0&&void 0===l)break;if(l&&u&&"object"==typeof u&&void 0===u.outlets){if(!BC(l,u,s))return o;r+=2}else{if(!BC(l,{},s))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}(e,n,t),i=t.slice(r.commandIndex);if(r.match&&r.pathIndex<e.segments.length){const o=new re(e.segments.slice(0,r.pathIndex),{});return o.children[ee]=new re(e.segments.slice(r.pathIndex),e.children),zo(o,0,i)}return r.match&&0===i.length?new re(e.segments,{}):r.match&&!e.hasChildren()?hf(e,n,t):r.match?zo(e,0,i):hf(e,n,t)}function zo(e,n,t){if(0===t.length)return new re(e.segments,{});{const r=function QP(e){return Go(e[0])?e[0].outlets:{[ee]:e}}(t),i={};return Qe(r,(o,s)=>{"string"==typeof o&&(o=[o]),null!==o&&(i[s]=ff(e.children[s],n,o))}),Qe(e.children,(o,s)=>{void 0===r[s]&&(i[s]=o)}),new re(e.segments,i)}}function hf(e,n,t){const r=e.segments.slice(0,n);let i=0;for(;i<t.length;){const o=t[i];if(Go(o)){const l=YP(o.outlets);return new re(r,l)}if(0===i&&Uo(t[0])){r.push(new $o(e.segments[n].path,jC(t[0]))),i++;continue}const s=Go(o)?o.outlets[ee]:`${o}`,a=i<t.length-1?t[i+1]:null;s&&a&&Uo(a)?(r.push(new $o(s,jC(a))),i+=2):(r.push(new $o(s,{})),i++)}return new re(r,{})}function YP(e){const n={};return Qe(e,(t,r)=>{"string"==typeof t&&(t=[t]),null!==t&&(n[r]=hf(new re([],{}),0,t))}),n}function jC(e){const n={};return Qe(e,(t,r)=>n[r]=`${t}`),n}function BC(e,n,t){return e==t.path&&Cn(n,t.parameters)}class $n{constructor(n,t){this.id=n,this.url=t}}class pf extends $n{constructor(n,t,r="imperative",i=null){super(n,t),this.type=0,this.navigationTrigger=r,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Tr extends $n{constructor(n,t,r){super(n,t),this.urlAfterRedirects=r,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Ka extends $n{constructor(n,t,r,i){super(n,t),this.reason=r,this.code=i,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class $C extends $n{constructor(n,t,r,i){super(n,t),this.error=r,this.target=i,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class XP extends $n{constructor(n,t,r,i){super(n,t),this.urlAfterRedirects=r,this.state=i,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class eR extends $n{constructor(n,t,r,i){super(n,t),this.urlAfterRedirects=r,this.state=i,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class tR extends $n{constructor(n,t,r,i,o){super(n,t),this.urlAfterRedirects=r,this.state=i,this.shouldActivate=o,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class nR extends $n{constructor(n,t,r,i){super(n,t),this.urlAfterRedirects=r,this.state=i,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class rR extends $n{constructor(n,t,r,i){super(n,t),this.urlAfterRedirects=r,this.state=i,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class iR{constructor(n){this.route=n,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class oR{constructor(n){this.route=n,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class sR{constructor(n){this.snapshot=n,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class aR{constructor(n){this.snapshot=n,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class lR{constructor(n){this.snapshot=n,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class uR{constructor(n){this.snapshot=n,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class HC{constructor(n,t,r){this.routerEvent=n,this.position=t,this.anchor=r,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class UC{constructor(n){this._root=n}get root(){return this._root.value}parent(n){const t=this.pathFromRoot(n);return t.length>1?t[t.length-2]:null}children(n){const t=gf(n,this._root);return t?t.children.map(r=>r.value):[]}firstChild(n){const t=gf(n,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(n){const t=mf(n,this._root);return t.length<2?[]:t[t.length-2].children.map(i=>i.value).filter(i=>i!==n)}pathFromRoot(n){return mf(n,this._root).map(t=>t.value)}}function gf(e,n){if(e===n.value)return n;for(const t of n.children){const r=gf(e,t);if(r)return r}return null}function mf(e,n){if(e===n.value)return[n];for(const t of n.children){const r=mf(e,t);if(r.length)return r.unshift(n),r}return[]}class Hn{constructor(n,t){this.value=n,this.children=t}toString(){return`TreeNode(${this.value})`}}function bi(e){const n={};return e&&e.children.forEach(t=>n[t.value.outlet]=t),n}class GC extends UC{constructor(n,t){super(n),this.snapshot=t,vf(this,n)}toString(){return this.snapshot.toString()}}function zC(e,n){const t=function dR(e,n){const s=new Qa([],{},{},"",{},ee,n,null,e.root,-1,{});return new qC("",new Hn(s,[]))}(e,n),r=new on([new $o("",{})]),i=new on({}),o=new on({}),s=new on({}),a=new on(""),l=new sr(r,i,s,a,o,ee,n,t.root);return l.snapshot=t.root,new GC(new Hn(l,[]),t)}class sr{constructor(n,t,r,i,o,s,a,l){var u,c;this.url=n,this.params=t,this.queryParams=r,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.title=null!==(c=null===(u=this.data)||void 0===u?void 0:u.pipe(ne(f=>f[Bo])))&&void 0!==c?c:B(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(ne(n=>_i(n)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(ne(n=>_i(n)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function WC(e,n="emptyOnly"){const t=e.pathFromRoot;let r=0;if("always"!==n)for(r=t.length-1;r>=1;){const i=t[r],o=t[r-1];if(i.routeConfig&&""===i.routeConfig.path)r--;else{if(o.component)break;r--}}return function fR(e){return e.reduce((n,t)=>{var r;return{params:Object.assign(Object.assign({},n.params),t.params),data:Object.assign(Object.assign({},n.data),t.data),resolve:Object.assign(Object.assign(Object.assign(Object.assign({},t.data),n.resolve),null===(r=t.routeConfig)||void 0===r?void 0:r.data),t._resolvedData)}},{params:{},data:{},resolve:{}})}(t.slice(r))}class Qa{constructor(n,t,r,i,o,s,a,l,u,c,f,v){var y;this.url=n,this.params=t,this.queryParams=r,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.title=null===(y=this.data)||void 0===y?void 0:y[Bo],this.routeConfig=l,this._urlSegment=u,this._lastPathIndex=c,this._correctedLastPathIndex=null!=v?v:c,this._resolve=f}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=_i(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=_i(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(r=>r.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class qC extends UC{constructor(n,t){super(t),this.url=n,vf(this,t)}toString(){return JC(this._root)}}function vf(e,n){n.value._routerState=e,n.children.forEach(t=>vf(e,t))}function JC(e){const n=e.children.length>0?` { ${e.children.map(JC).join(", ")} } `:"";return`${e.value}${n}`}function yf(e){if(e.snapshot){const n=e.snapshot,t=e._futureSnapshot;e.snapshot=t,Cn(n.queryParams,t.queryParams)||e.queryParams.next(t.queryParams),n.fragment!==t.fragment&&e.fragment.next(t.fragment),Cn(n.params,t.params)||e.params.next(t.params),function IP(e,n){if(e.length!==n.length)return!1;for(let t=0;t<e.length;++t)if(!Cn(e[t],n[t]))return!1;return!0}(n.url,t.url)||e.url.next(t.url),Cn(n.data,t.data)||e.data.next(t.data)}else e.snapshot=e._futureSnapshot,e.data.next(e._futureSnapshot.data)}function _f(e,n){const t=Cn(e.params,n.params)&&function PP(e,n){return Ir(e,n)&&e.every((t,r)=>Cn(t.parameters,n[r].parameters))}(e.url,n.url);return t&&!(!e.parent!=!n.parent)&&(!e.parent||_f(e.parent,n.parent))}function Wo(e,n,t){if(t&&e.shouldReuseRoute(n.value,t.value.snapshot)){const r=t.value;r._futureSnapshot=n.value;const i=function pR(e,n,t){return n.children.map(r=>{for(const i of t.children)if(e.shouldReuseRoute(r.value,i.value.snapshot))return Wo(e,r,i);return Wo(e,r)})}(e,n,t);return new Hn(r,i)}{if(e.shouldAttach(n.value)){const o=e.retrieve(n.value);if(null!==o){const s=o.route;return s.value._futureSnapshot=n.value,s.children=n.children.map(a=>Wo(e,a)),s}}const r=function gR(e){return new sr(new on(e.url),new on(e.params),new on(e.queryParams),new on(e.fragment),new on(e.data),e.outlet,e.component,e)}(n.value),i=n.children.map(o=>Wo(e,o));return new Hn(r,i)}}const Cf="ngNavigationCancelingError";function KC(e,n){const{redirectTo:t,navigationBehaviorOptions:r}=Ar(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,i=QC(!1,0,n);return i.url=t,i.navigationBehaviorOptions=r,i}function QC(e,n,t){const r=new Error("NavigationCancelingError: "+(e||""));return r[Cf]=!0,r.cancellationCode=n,t&&(r.url=t),r}function ZC(e){return YC(e)&&Ar(e.url)}function YC(e){return e&&e[Cf]}class mR{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new qo,this.attachRef=null}}let qo=(()=>{class e{constructor(){this.contexts=new Map}onChildOutletCreated(t,r){const i=this.getOrCreateContext(t);i.outlet=r,this.contexts.set(t,i)}onChildOutletDestroyed(t){const r=this.getContext(t);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let r=this.getContext(t);return r||(r=new mR,this.contexts.set(t,r)),r}getContext(t){return this.contexts.get(t)||null}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=z({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Za=!1;let Df=(()=>{class e{constructor(t,r,i,o,s){this.parentContexts=t,this.location=r,this.changeDetector=o,this.environmentInjector=s,this.activated=null,this._activatedRoute=null,this.activateEvents=new Ie,this.deactivateEvents=new Ie,this.attachEvents=new Ie,this.detachEvents=new Ie,this.name=i||ee,t.onChildOutletCreated(this.name,this)}ngOnDestroy(){var t;(null===(t=this.parentContexts.getContext(this.name))||void 0===t?void 0:t.outlet)===this&&this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const t=this.parentContexts.getContext(this.name);t&&t.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.injector))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new F(4012,Za);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new F(4012,Za);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new F(4012,Za);this.location.detach();const t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,r){this.activated=t,this._activatedRoute=r,this.location.insert(t.hostView),this.attachEvents.emit(t.instance)}deactivate(){if(this.activated){const t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,r){if(this.isActivated)throw new F(4013,Za);this._activatedRoute=t;const i=this.location,s=t._futureSnapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,l=new vR(t,a,i.injector);if(r&&function yR(e){return!!e.resolveComponentFactory}(r)){const u=r.resolveComponentFactory(s);this.activated=i.createComponent(u,i.length,l)}else this.activated=i.createComponent(s,{index:i.length,injector:l,environmentInjector:null!=r?r:this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return e.\u0275fac=function(t){return new(t||e)(M(qo),M(Xt),Bi("name"),M(ua),M(Jn))},e.\u0275dir=W({type:e,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0}),e})();class vR{constructor(n,t,r){this.route=n,this.childContexts=t,this.parent=r}get(n,t){return n===sr?this.route:n===qo?this.childContexts:this.parent.get(n,t)}}let bf=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=$e({type:e,selectors:[["ng-component"]],standalone:!0,features:[Hv],decls:1,vars:0,template:function(t,r){1&t&&b(0,"router-outlet")},dependencies:[Df],encapsulation:2}),e})();function XC(e,n){var t;return e.providers&&!e._injector&&(e._injector=ta(e.providers,n,`Route: ${e.path}`)),null!==(t=e._injector)&&void 0!==t?t:n}function Ef(e){const n=e.children&&e.children.map(Ef),t=n?Object.assign(Object.assign({},e),{children:n}):Object.assign({},e);return!t.component&&!t.loadComponent&&(n||t.loadChildren)&&t.outlet&&t.outlet!==ee&&(t.component=bf),t}function Ut(e){return e.outlet||ee}function e0(e,n){const t=e.filter(r=>Ut(r)===n);return t.push(...e.filter(r=>Ut(r)!==n)),t}function Jo(e){var n;if(!e)return null;if(null!==(n=e.routeConfig)&&void 0!==n&&n._injector)return e.routeConfig._injector;for(let t=e.parent;t;t=t.parent){const r=t.routeConfig;if(null!=r&&r._loadedInjector)return r._loadedInjector;if(null!=r&&r._injector)return r._injector}return null}class wR{constructor(n,t,r,i){this.routeReuseStrategy=n,this.futureState=t,this.currState=r,this.forwardEvent=i}activate(n){const t=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,r,n),yf(this.futureState.root),this.activateChildRoutes(t,r,n)}deactivateChildRoutes(n,t,r){const i=bi(t);n.children.forEach(o=>{const s=o.value.outlet;this.deactivateRoutes(o,i[s],r),delete i[s]}),Qe(i,(o,s)=>{this.deactivateRouteAndItsChildren(o,r)})}deactivateRoutes(n,t,r){const i=n.value,o=t?t.value:null;if(i===o)if(i.component){const s=r.getContext(i.outlet);s&&this.deactivateChildRoutes(n,t,s.children)}else this.deactivateChildRoutes(n,t,r);else o&&this.deactivateRouteAndItsChildren(t,r)}deactivateRouteAndItsChildren(n,t){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,t):this.deactivateRouteAndOutlet(n,t)}detachAndStoreRouteSubtree(n,t){const r=t.getContext(n.value.outlet),i=r&&n.value.component?r.children:t,o=bi(n);for(const s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],i);if(r&&r.outlet){const s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:s,route:n,contexts:a})}}deactivateRouteAndOutlet(n,t){const r=t.getContext(n.value.outlet),i=r&&n.value.component?r.children:t,o=bi(n);for(const s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],i);r&&r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated(),r.attachRef=null,r.resolver=null,r.route=null)}activateChildRoutes(n,t,r){const i=bi(t);n.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],r),this.forwardEvent(new uR(o.value.snapshot))}),n.children.length&&this.forwardEvent(new aR(n.value.snapshot))}activateRoutes(n,t,r){var i;const o=n.value,s=t?t.value:null;if(yf(o),o===s)if(o.component){const a=r.getOrCreateContext(o.outlet);this.activateChildRoutes(n,t,a.children)}else this.activateChildRoutes(n,t,r);else if(o.component){const a=r.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){const l=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),a.children.onOutletReAttached(l.contexts),a.attachRef=l.componentRef,a.route=l.route.value,a.outlet&&a.outlet.attach(l.componentRef,l.route.value),yf(l.route.value),this.activateChildRoutes(n,null,a.children)}else{const l=Jo(o.snapshot),u=null!==(i=null==l?void 0:l.get(eo))&&void 0!==i?i:null;a.attachRef=null,a.route=o,a.resolver=u,a.injector=l,a.outlet&&a.outlet.activateWith(o,a.injector),this.activateChildRoutes(n,null,a.children)}}else this.activateChildRoutes(n,null,r)}}class t0{constructor(n){this.path=n,this.route=this.path[this.path.length-1]}}class Ya{constructor(n,t){this.component=n,this.route=t}}function ER(e,n,t){const r=e._root;return Ko(r,n?n._root:null,t,[r.value])}function wi(e,n){const t=Symbol(),r=n.get(e,t);return r===t?"function"!=typeof e||function DD(e){return null!==os(e)}(e)?n.get(e):e:r}function Ko(e,n,t,r,i={canDeactivateChecks:[],canActivateChecks:[]}){const o=bi(n);return e.children.forEach(s=>{(function SR(e,n,t,r,i={canDeactivateChecks:[],canActivateChecks:[]}){const o=e.value,s=n?n.value:null,a=t?t.getContext(e.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){const l=function IR(e,n,t){if("function"==typeof t)return t(e,n);switch(t){case"pathParamsChange":return!Ir(e.url,n.url);case"pathParamsOrQueryParamsChange":return!Ir(e.url,n.url)||!Cn(e.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!_f(e,n)||!Cn(e.queryParams,n.queryParams);default:return!_f(e,n)}}(s,o,o.routeConfig.runGuardsAndResolvers);l?i.canActivateChecks.push(new t0(r)):(o.data=s.data,o._resolvedData=s._resolvedData),Ko(e,n,o.component?a?a.children:null:t,r,i),l&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new Ya(a.outlet.component,s))}else s&&Qo(n,a,i),i.canActivateChecks.push(new t0(r)),Ko(e,null,o.component?a?a.children:null:t,r,i)})(s,o[s.value.outlet],t,r.concat([s.value]),i),delete o[s.value.outlet]}),Qe(o,(s,a)=>Qo(s,t.getContext(a),i)),i}function Qo(e,n,t){const r=bi(e),i=e.value;Qe(r,(o,s)=>{Qo(o,i.component?n?n.children.getContext(s):null:n,t)}),t.canDeactivateChecks.push(new Ya(i.component&&n&&n.outlet&&n.outlet.isActivated?n.outlet.component:null,i))}function Zo(e){return"function"==typeof e}function Mf(e){return e instanceof $a||"EmptyError"===(null==e?void 0:e.name)}const Xa=Symbol("INITIAL_VALUE");function Ei(){return _n(e=>mC(e.map(n=>n.pipe(jo(1),function CP(...e){const n=Ti(e);return qe((t,r)=>{(n?tf(e,t,n):tf(e,t)).subscribe(r)})}(Xa)))).pipe(ne(n=>{for(const t of n)if(!0!==t){if(t===Xa)return Xa;if(!1===t||t instanceof Sr)return t}return!0}),jn(n=>n!==Xa),jo(1)))}function n0(e){return function B0(...e){return Zf(e)}(it(n=>{if(Ar(n))throw KC(0,n)}),ne(n=>!0===n))}const Sf={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function r0(e,n,t,r,i){const o=If(e,n,t);return o.matched?function GR(e,n,t,r){const i=n.canMatch;return i&&0!==i.length?B(i.map(s=>{const a=wi(s,e);return or(function RR(e){return e&&Zo(e.canMatch)}(a)?a.canMatch(n,t):e.runInContext(()=>a(n,t)))})).pipe(Ei(),n0()):B(!0)}(r=XC(n,r),n,t).pipe(ne(s=>!0===s?o:Object.assign({},Sf))):B(o)}function If(e,n,t){var r;if(""===n.path)return"full"===n.pathMatch&&(e.hasChildren()||t.length>0)?Object.assign({},Sf):{matched:!0,consumedSegments:[],remainingSegments:t,parameters:{},positionalParamSegments:{}};const o=(n.matcher||SP)(t,e,n);if(!o)return Object.assign({},Sf);const s={};Qe(o.posParams,(l,u)=>{s[u]=l.path});const a=o.consumed.length>0?Object.assign(Object.assign({},s),o.consumed[o.consumed.length-1].parameters):s;return{matched:!0,consumedSegments:o.consumed,remainingSegments:t.slice(o.consumed.length),parameters:a,positionalParamSegments:null!==(r=o.posParams)&&void 0!==r?r:{}}}function el(e,n,t,r,i="corrected"){if(t.length>0&&function qR(e,n,t){return t.some(r=>tl(e,n,r)&&Ut(r)!==ee)}(e,t,r)){const s=new re(n,function WR(e,n,t,r){const i={};i[ee]=r,r._sourceSegment=e,r._segmentIndexShift=n.length;for(const o of t)if(""===o.path&&Ut(o)!==ee){const s=new re([],{});s._sourceSegment=e,s._segmentIndexShift=n.length,i[Ut(o)]=s}return i}(e,n,r,new re(t,e.children)));return s._sourceSegment=e,s._segmentIndexShift=n.length,{segmentGroup:s,slicedSegments:[]}}if(0===t.length&&function JR(e,n,t){return t.some(r=>tl(e,n,r))}(e,t,r)){const s=new re(e.segments,function zR(e,n,t,r,i,o){const s={};for(const a of r)if(tl(e,t,a)&&!i[Ut(a)]){const l=new re([],{});l._sourceSegment=e,l._segmentIndexShift="legacy"===o?e.segments.length:n.length,s[Ut(a)]=l}return Object.assign(Object.assign({},i),s)}(e,n,t,r,e.children,i));return s._sourceSegment=e,s._segmentIndexShift=n.length,{segmentGroup:s,slicedSegments:t}}const o=new re(e.segments,e.children);return o._sourceSegment=e,o._segmentIndexShift=n.length,{segmentGroup:o,slicedSegments:t}}function tl(e,n,t){return(!(e.hasChildren()||n.length>0)||"full"!==t.pathMatch)&&""===t.path}function o0(e,n,t,r){return!!(Ut(e)===r||r!==ee&&tl(n,t,e))&&("**"===e.path||If(n,e,t).matched)}function s0(e,n,t){return 0===n.length&&!e.children[t]}const nl=!1;class rl{constructor(n){this.segmentGroup=n||null}}class a0{constructor(n){this.urlTree=n}}function Yo(e){return Vo(new rl(e))}function l0(e){return Vo(new a0(e))}class YR{constructor(n,t,r,i,o){this.injector=n,this.configLoader=t,this.urlSerializer=r,this.urlTree=i,this.config=o,this.allowRedirects=!0}apply(){const n=el(this.urlTree.root,[],[],this.config).segmentGroup,t=new re(n.segments,n.children);return this.expandSegmentGroup(this.injector,this.config,t,ee).pipe(ne(o=>this.createUrlTree(Ja(o),this.urlTree.queryParams,this.urlTree.fragment))).pipe(ir(o=>{if(o instanceof a0)return this.allowRedirects=!1,this.match(o.urlTree);throw o instanceof rl?this.noMatchError(o):o}))}match(n){return this.expandSegmentGroup(this.injector,this.config,n.root,ee).pipe(ne(i=>this.createUrlTree(Ja(i),n.queryParams,n.fragment))).pipe(ir(i=>{throw i instanceof rl?this.noMatchError(i):i}))}noMatchError(n){return new F(4002,nl)}createUrlTree(n,t,r){const i=cf(n);return new Sr(i,t,r)}expandSegmentGroup(n,t,r,i){return 0===r.segments.length&&r.hasChildren()?this.expandChildren(n,t,r).pipe(ne(o=>new re([],o))):this.expandSegment(n,r,t,r.segments,i,!0)}expandChildren(n,t,r){const i=[];for(const o of Object.keys(r.children))"primary"===o?i.unshift(o):i.push(o);return Re(i).pipe(Yn(o=>{const s=r.children[o],a=e0(t,o);return this.expandSegmentGroup(n,a,s,o).pipe(ne(l=>({segment:l,outlet:o})))}),DC((o,s)=>(o[s.outlet]=s.segment,o),{}),bC())}expandSegment(n,t,r,i,o,s){return Re(r).pipe(Yn(a=>this.expandSegmentAgainstRoute(n,t,r,a,i,o,s).pipe(ir(u=>{if(u instanceof rl)return B(null);throw u}))),rr(a=>!!a),ir((a,l)=>{if(Mf(a))return s0(t,i,o)?B(new re([],{})):Yo(t);throw a}))}expandSegmentAgainstRoute(n,t,r,i,o,s,a){return o0(i,t,o,s)?void 0===i.redirectTo?this.matchSegmentAgainstRoute(n,t,i,o,s):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(n,t,r,i,o,s):Yo(t):Yo(t)}expandSegmentAgainstRouteUsingRedirect(n,t,r,i,o,s){return"**"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(n,r,i,s):this.expandRegularSegmentAgainstRouteUsingRedirect(n,t,r,i,o,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(n,t,r,i){const o=this.applyRedirectCommands([],r.redirectTo,{});return r.redirectTo.startsWith("/")?l0(o):this.lineralizeSegments(r,o).pipe(Ke(s=>{const a=new re(s,{});return this.expandSegment(n,a,t,s,i,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(n,t,r,i,o,s){const{matched:a,consumedSegments:l,remainingSegments:u,positionalParamSegments:c}=If(t,i,o);if(!a)return Yo(t);const f=this.applyRedirectCommands(l,i.redirectTo,c);return i.redirectTo.startsWith("/")?l0(f):this.lineralizeSegments(i,f).pipe(Ke(v=>this.expandSegment(n,t,r,v.concat(u),s,!1)))}matchSegmentAgainstRoute(n,t,r,i,o){return"**"===r.path?(n=XC(r,n),r.loadChildren?(r._loadedRoutes?B({routes:r._loadedRoutes,injector:r._loadedInjector}):this.configLoader.loadChildren(n,r)).pipe(ne(a=>(r._loadedRoutes=a.routes,r._loadedInjector=a.injector,new re(i,{})))):B(new re(i,{}))):r0(t,r,i,n).pipe(_n(({matched:s,consumedSegments:a,remainingSegments:l})=>{var u;return s?(n=null!==(u=r._injector)&&void 0!==u?u:n,this.getChildConfig(n,r,i).pipe(Ke(f=>{var v;const y=null!==(v=f.injector)&&void 0!==v?v:n,_=f.routes,{segmentGroup:D,slicedSegments:I}=el(t,a,l,_),A=new re(D.segments,D.children);if(0===I.length&&A.hasChildren())return this.expandChildren(y,_,A).pipe(ne(te=>new re(a,te)));if(0===_.length&&0===I.length)return B(new re(a,{}));const P=Ut(r)===o;return this.expandSegment(y,A,_,I,P?ee:o,!0).pipe(ne(L=>new re(a.concat(L.segments),L.children)))}))):Yo(t)}))}getChildConfig(n,t,r){return t.children?B({routes:t.children,injector:n}):t.loadChildren?void 0!==t._loadedRoutes?B({routes:t._loadedRoutes,injector:t._loadedInjector}):function UR(e,n,t,r){const i=n.canLoad;return void 0===i||0===i.length?B(!0):B(i.map(s=>{const a=wi(s,e);return or(function TR(e){return e&&Zo(e.canLoad)}(a)?a.canLoad(n,t):e.runInContext(()=>a(n,t)))})).pipe(Ei(),n0())}(n,t,r).pipe(Ke(i=>i?this.configLoader.loadChildren(n,t).pipe(it(o=>{t._loadedRoutes=o.routes,t._loadedInjector=o.injector})):function QR(e){return Vo(QC(nl,3))}())):B({routes:[],injector:n})}lineralizeSegments(n,t){let r=[],i=t.root;for(;;){if(r=r.concat(i.segments),0===i.numberOfChildren)return B(r);if(i.numberOfChildren>1||!i.children[ee])return Vo(new F(4e3,nl));i=i.children[ee]}}applyRedirectCommands(n,t,r){return this.applyRedirectCreateUrlTree(t,this.urlSerializer.parse(t),n,r)}applyRedirectCreateUrlTree(n,t,r,i){const o=this.createSegmentGroup(n,t.root,r,i);return new Sr(o,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(n,t){const r={};return Qe(n,(i,o)=>{if("string"==typeof i&&i.startsWith(":")){const a=i.substring(1);r[o]=t[a]}else r[o]=i}),r}createSegmentGroup(n,t,r,i){const o=this.createSegments(n,t.segments,r,i);let s={};return Qe(t.children,(a,l)=>{s[l]=this.createSegmentGroup(n,a,r,i)}),new re(o,s)}createSegments(n,t,r,i){return t.map(o=>o.path.startsWith(":")?this.findPosParam(n,o,i):this.findOrReturn(o,r))}findPosParam(n,t,r){const i=r[t.path.substring(1)];if(!i)throw new F(4001,nl);return i}findOrReturn(n,t){let r=0;for(const i of t){if(i.path===n.path)return t.splice(r),i;r++}return n}}class eO{}class rO{constructor(n,t,r,i,o,s,a,l){this.injector=n,this.rootComponentType=t,this.config=r,this.urlTree=i,this.url=o,this.paramsInheritanceStrategy=s,this.relativeLinkResolution=a,this.urlSerializer=l}recognize(){const n=el(this.urlTree.root,[],[],this.config.filter(t=>void 0===t.redirectTo),this.relativeLinkResolution).segmentGroup;return this.processSegmentGroup(this.injector,this.config,n,ee).pipe(ne(t=>{if(null===t)return null;const r=new Qa([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},ee,this.rootComponentType,null,this.urlTree.root,-1,{}),i=new Hn(r,t),o=new qC(this.url,i);return this.inheritParamsAndData(o._root),o}))}inheritParamsAndData(n){const t=n.value,r=WC(t,this.paramsInheritanceStrategy);t.params=Object.freeze(r.params),t.data=Object.freeze(r.data),n.children.forEach(i=>this.inheritParamsAndData(i))}processSegmentGroup(n,t,r,i){return 0===r.segments.length&&r.hasChildren()?this.processChildren(n,t,r):this.processSegment(n,t,r,r.segments,i)}processChildren(n,t,r){return Re(Object.keys(r.children)).pipe(Yn(i=>{const o=r.children[i],s=e0(t,i);return this.processSegmentGroup(n,s,o,i)}),DC((i,o)=>i&&o?(i.push(...o),i):null),function wP(e,n=!1){return qe((t,r)=>{let i=0;t.subscribe(Be(r,o=>{const s=e(o,i++);(s||n)&&r.next(o),!s&&r.complete()}))})}(i=>null!==i),Ha(null),bC(),ne(i=>{if(null===i)return null;const o=u0(i);return function iO(e){e.sort((n,t)=>n.value.outlet===ee?-1:t.value.outlet===ee?1:n.value.outlet.localeCompare(t.value.outlet))}(o),o}))}processSegment(n,t,r,i,o){return Re(t).pipe(Yn(s=>{var a;return this.processSegmentAgainstRoute(null!==(a=s._injector)&&void 0!==a?a:n,s,r,i,o)}),rr(s=>!!s),ir(s=>{if(Mf(s))return s0(r,i,o)?B([]):B(null);throw s}))}processSegmentAgainstRoute(n,t,r,i,o){var s,a;if(t.redirectTo||!o0(t,r,i,o))return B(null);let l;if("**"===t.path){const u=i.length>0?MC(i).parameters:{},c=d0(r)+i.length;l=B({snapshot:new Qa(i,u,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,h0(t),Ut(t),null!==(a=null!==(s=t.component)&&void 0!==s?s:t._loadedComponent)&&void 0!==a?a:null,t,c0(r),c,p0(t),c),consumedSegments:[],remainingSegments:[]})}else l=r0(r,t,i,n).pipe(ne(({matched:u,consumedSegments:c,remainingSegments:f,parameters:v})=>{var y,_;if(!u)return null;const D=d0(r)+c.length;return{snapshot:new Qa(c,v,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,h0(t),Ut(t),null!==(_=null!==(y=t.component)&&void 0!==y?y:t._loadedComponent)&&void 0!==_?_:null,t,c0(r),D,p0(t),D),consumedSegments:c,remainingSegments:f}}));return l.pipe(_n(u=>{var c,f;if(null===u)return B(null);const{snapshot:v,consumedSegments:y,remainingSegments:_}=u;n=null!==(c=t._injector)&&void 0!==c?c:n;const D=null!==(f=t._loadedInjector)&&void 0!==f?f:n,I=function oO(e){return e.children?e.children:e.loadChildren?e._loadedRoutes:[]}(t),{segmentGroup:A,slicedSegments:P}=el(r,y,_,I.filter(L=>void 0===L.redirectTo),this.relativeLinkResolution);if(0===P.length&&A.hasChildren())return this.processChildren(D,I,A).pipe(ne(L=>null===L?null:[new Hn(v,L)]));if(0===I.length&&0===P.length)return B([new Hn(v,[])]);const S=Ut(t)===o;return this.processSegment(D,I,A,P,S?ee:o).pipe(ne(L=>null===L?null:[new Hn(v,L)]))}))}}function sO(e){const n=e.value.routeConfig;return n&&""===n.path&&void 0===n.redirectTo}function u0(e){const n=[],t=new Set;for(const r of e){if(!sO(r)){n.push(r);continue}const i=n.find(o=>r.value.routeConfig===o.value.routeConfig);void 0!==i?(i.children.push(...r.children),t.add(i)):n.push(r)}for(const r of t){const i=u0(r.children);n.push(new Hn(r.value,i))}return n.filter(r=>!t.has(r))}function c0(e){let n=e;for(;n._sourceSegment;)n=n._sourceSegment;return n}function d0(e){var n,t;let r=e,i=null!==(n=r._segmentIndexShift)&&void 0!==n?n:0;for(;r._sourceSegment;)r=r._sourceSegment,i+=null!==(t=r._segmentIndexShift)&&void 0!==t?t:0;return i-1}function h0(e){return e.data||{}}function p0(e){return e.resolve||{}}function g0(e){return"string"==typeof e.title||null===e.title}function Af(e){return _n(n=>{const t=e(n);return t?Re(t).pipe(ne(()=>n)):B(n)})}let m0=(()=>{class e{buildTitle(t){var r;let i,o=t.root;for(;void 0!==o;)i=null!==(r=this.getResolvedTitleForRoute(o))&&void 0!==r?r:i,o=o.children.find(s=>s.outlet===ee);return i}getResolvedTitleForRoute(t){return t.data[Bo]}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=z({token:e,factory:function(){return Fe(v0)},providedIn:"root"}),e})(),v0=(()=>{class e extends m0{constructor(t){super(),this.title=t}updateTitle(t){const r=this.buildTitle(t);void 0!==r&&this.title.setTitle(r)}}return e.\u0275fac=function(t){return new(t||e)(V(z_))},e.\u0275prov=z({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();class pO{}class mO extends class gO{shouldDetach(n){return!1}store(n,t){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,t){return n.routeConfig===t.routeConfig}}{}const ol=new j("",{providedIn:"root",factory:()=>({})}),Tf=new j("ROUTES");let Nf=(()=>{class e{constructor(t,r){this.injector=t,this.compiler=r,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(t){if(this.componentLoaders.get(t))return this.componentLoaders.get(t);if(t._loadedComponent)return B(t._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(t);const r=or(t.loadComponent()).pipe(it(o=>{this.onLoadEndListener&&this.onLoadEndListener(t),t._loadedComponent=o}),sf(()=>{this.componentLoaders.delete(t)})),i=new _C(r,()=>new sn).pipe(nf());return this.componentLoaders.set(t,i),i}loadChildren(t,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return B({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);const o=this.loadModuleFactoryOrRoutes(r.loadChildren).pipe(ne(a=>{this.onLoadEndListener&&this.onLoadEndListener(r);let l,u,c=!1;Array.isArray(a)?u=a:(l=a.create(t).injector,u=EC(l.get(Tf,[],H.Self|H.Optional)));return{routes:u.map(Ef),injector:l}}),sf(()=>{this.childrenLoaders.delete(r)})),s=new _C(o,()=>new sn).pipe(nf());return this.childrenLoaders.set(r,s),s}loadModuleFactoryOrRoutes(t){return or(t()).pipe(Ke(r=>r instanceof Bv||Array.isArray(r)?B(r):Re(this.compiler.compileModuleAsync(r))))}}return e.\u0275fac=function(t){return new(t||e)(V(St),V(zc))},e.\u0275prov=z({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();class yO{}class _O{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,t){return n}}function CO(e){throw e}function DO(e,n,t){return n.parse("/")}const bO={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},wO={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function _0(){var e,n;const t=Fe(FC),r=Fe(qo),i=Fe(od),o=Fe(St),s=Fe(zc),a=null!==(e=Fe(Tf,{optional:!0}))&&void 0!==e?e:[],l=null!==(n=Fe(ol,{optional:!0}))&&void 0!==n?n:{},u=Fe(v0),c=Fe(m0,{optional:!0}),f=Fe(yO,{optional:!0}),v=Fe(pO,{optional:!0}),y=new je(null,t,r,i,o,s,EC(a));return f&&(y.urlHandlingStrategy=f),v&&(y.routeReuseStrategy=v),y.titleStrategy=null!=c?c:u,function EO(e,n){e.errorHandler&&(n.errorHandler=e.errorHandler),e.malformedUriErrorHandler&&(n.malformedUriErrorHandler=e.malformedUriErrorHandler),e.onSameUrlNavigation&&(n.onSameUrlNavigation=e.onSameUrlNavigation),e.paramsInheritanceStrategy&&(n.paramsInheritanceStrategy=e.paramsInheritanceStrategy),e.relativeLinkResolution&&(n.relativeLinkResolution=e.relativeLinkResolution),e.urlUpdateStrategy&&(n.urlUpdateStrategy=e.urlUpdateStrategy),e.canceledNavigationResolution&&(n.canceledNavigationResolution=e.canceledNavigationResolution)}(l,y),y}let je=(()=>{class e{constructor(t,r,i,o,s,a,l){this.rootComponentType=t,this.urlSerializer=r,this.rootContexts=i,this.location=o,this.config=l,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new sn,this.errorHandler=CO,this.malformedUriErrorHandler=DO,this.navigated=!1,this.lastSuccessfulId=-1,this.afterPreactivation=()=>B(void 0),this.urlHandlingStrategy=new _O,this.routeReuseStrategy=new mO,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.configLoader=s.get(Nf),this.configLoader.onLoadEndListener=v=>this.triggerEvent(new oR(v)),this.configLoader.onLoadStartListener=v=>this.triggerEvent(new iR(v)),this.ngModule=s.get(Dr),this.console=s.get(QA);const f=s.get(ze);this.isNgZoneEnabled=f instanceof ze&&ze.isInAngularZone(),this.resetConfig(l),this.currentUrlTree=function AP(){return new Sr(new re([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=zC(this.currentUrlTree,this.rootComponentType),this.transitions=new on({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(){var t;return null===(t=this.location.getState())||void 0===t?void 0:t.\u0275routerPageId}setupNavigations(t){const r=this.events;return t.pipe(jn(i=>0!==i.id),ne(i=>Object.assign(Object.assign({},i),{extractedUrl:this.urlHandlingStrategy.extract(i.rawUrl)})),_n(i=>{let o=!1,s=!1;return B(i).pipe(it(a=>{this.currentNavigation={id:a.id,initialUrl:a.rawUrl,extractedUrl:a.extractedUrl,trigger:a.source,extras:a.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),_n(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 C0(a.source)&&(this.browserUrlTree=a.extractedUrl),B(a).pipe(_n(f=>{const v=this.transitions.getValue();return r.next(new pf(f.id,this.serializeUrl(f.extractedUrl),f.source,f.restoredState)),v!==this.transitions.getValue()?bn:Promise.resolve(f)}),function XR(e,n,t,r){return _n(i=>function ZR(e,n,t,r,i){return new YR(e,n,t,r,i).apply()}(e,n,t,i.extractedUrl,r).pipe(ne(o=>Object.assign(Object.assign({},i),{urlAfterRedirects:o}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),it(f=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:f.urlAfterRedirects}),i.urlAfterRedirects=f.urlAfterRedirects}),function lO(e,n,t,r,i,o){return Ke(s=>function nO(e,n,t,r,i,o,s="emptyOnly",a="legacy"){return new rO(e,n,t,r,i,s,a,o).recognize().pipe(_n(l=>null===l?function tO(e){return new Ae(n=>n.error(e))}(new eO):B(l)))}(e,n,t,s.urlAfterRedirects,r.serialize(s.urlAfterRedirects),r,i,o).pipe(ne(a=>Object.assign(Object.assign({},s),{targetSnapshot:a}))))}(this.ngModule.injector,this.rootComponentType,this.config,this.urlSerializer,this.paramsInheritanceStrategy,this.relativeLinkResolution),it(f=>{if(i.targetSnapshot=f.targetSnapshot,"eager"===this.urlUpdateStrategy){if(!f.extras.skipLocationChange){const y=this.urlHandlingStrategy.merge(f.urlAfterRedirects,f.rawUrl);this.setBrowserUrl(y,f)}this.browserUrlTree=f.urlAfterRedirects}const v=new XP(f.id,this.serializeUrl(f.extractedUrl),this.serializeUrl(f.urlAfterRedirects),f.targetSnapshot);r.next(v)}));if(u&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:v,extractedUrl:y,source:_,restoredState:D,extras:I}=a,A=new pf(v,this.serializeUrl(y),_,D);r.next(A);const P=zC(y,this.rootComponentType).snapshot;return B(i=Object.assign(Object.assign({},a),{targetSnapshot:P,urlAfterRedirects:y,extras:Object.assign(Object.assign({},I),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=a.rawUrl,a.resolve(null),bn}),it(a=>{const l=new eR(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot);this.triggerEvent(l)}),ne(a=>i=Object.assign(Object.assign({},a),{guards:ER(a.targetSnapshot,a.currentSnapshot,this.rootContexts)})),function xR(e,n){return Ke(t=>{const{targetSnapshot:r,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=t;return 0===s.length&&0===o.length?B(Object.assign(Object.assign({},t),{guardsResult:!0})):function kR(e,n,t,r){return Re(e).pipe(Ke(i=>function HR(e,n,t,r,i){const o=n&&n.routeConfig?n.routeConfig.canDeactivate:null;return o&&0!==o.length?B(o.map(a=>{var l;const u=null!==(l=Jo(n))&&void 0!==l?l:i,c=wi(a,u);return or(function PR(e){return e&&Zo(e.canDeactivate)}(c)?c.canDeactivate(e,n,t,r):u.runInContext(()=>c(e,n,t,r))).pipe(rr())})).pipe(Ei()):B(!0)}(i.component,i.route,t,n,r)),rr(i=>!0!==i,!0))}(s,r,i,e).pipe(Ke(a=>a&&function AR(e){return"boolean"==typeof e}(a)?function LR(e,n,t,r){return Re(n).pipe(Yn(i=>tf(function jR(e,n){return null!==e&&n&&n(new sR(e)),B(!0)}(i.route.parent,r),function VR(e,n){return null!==e&&n&&n(new lR(e)),B(!0)}(i.route,r),function $R(e,n,t){const r=n[n.length-1],o=n.slice(0,n.length-1).reverse().map(s=>function MR(e){const n=e.routeConfig?e.routeConfig.canActivateChild:null;return n&&0!==n.length?{node:e,guards:n}:null}(s)).filter(s=>null!==s).map(s=>yC(()=>B(s.guards.map(l=>{var u;const c=null!==(u=Jo(s.node))&&void 0!==u?u:t,f=wi(l,c);return or(function FR(e){return e&&Zo(e.canActivateChild)}(f)?f.canActivateChild(r,e):c.runInContext(()=>f(r,e))).pipe(rr())})).pipe(Ei())));return B(o).pipe(Ei())}(e,i.path,t),function BR(e,n,t){const r=n.routeConfig?n.routeConfig.canActivate:null;if(!r||0===r.length)return B(!0);const i=r.map(o=>yC(()=>{var s;const a=null!==(s=Jo(n))&&void 0!==s?s:t,l=wi(o,a);return or(function NR(e){return e&&Zo(e.canActivate)}(l)?l.canActivate(n,e):a.runInContext(()=>l(n,e))).pipe(rr())}));return B(i).pipe(Ei())}(e,i.route,t))),rr(i=>!0!==i,!0))}(r,o,e,n):B(a)),ne(a=>Object.assign(Object.assign({},t),{guardsResult:a})))})}(this.ngModule.injector,a=>this.triggerEvent(a)),it(a=>{if(i.guardsResult=a.guardsResult,Ar(a.guardsResult))throw KC(0,a.guardsResult);const l=new tR(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);this.triggerEvent(l)}),jn(a=>!!a.guardsResult||(this.restoreHistory(a),this.cancelNavigationTransition(a,"",3),!1)),Af(a=>{if(a.guards.canActivateChecks.length)return B(a).pipe(it(l=>{const u=new nR(l.id,this.serializeUrl(l.extractedUrl),this.serializeUrl(l.urlAfterRedirects),l.targetSnapshot);this.triggerEvent(u)}),_n(l=>{let u=!1;return B(l).pipe(function uO(e,n){return Ke(t=>{const{targetSnapshot:r,guards:{canActivateChecks:i}}=t;if(!i.length)return B(t);let o=0;return Re(i).pipe(Yn(s=>function cO(e,n,t,r){const i=e.routeConfig,o=e._resolve;return void 0!==(null==i?void 0:i.title)&&!g0(i)&&(o[Bo]=i.title),function dO(e,n,t,r){const i=function fO(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}(e);if(0===i.length)return B({});const o={};return Re(i).pipe(Ke(s=>function hO(e,n,t,r){var i;const o=null!==(i=Jo(n))&&void 0!==i?i:r,s=wi(e,o);return or(s.resolve?s.resolve(n,t):o.runInContext(()=>s(n,t)))}(e[s],n,t,r).pipe(rr(),it(a=>{o[s]=a}))),rf(1),function EP(e){return ne(()=>e)}(o),ir(s=>Mf(s)?bn:Vo(s)))}(o,e,n,r).pipe(ne(s=>(e._resolvedData=s,e.data=WC(e,t).resolve,i&&g0(i)&&(e.data[Bo]=i.title),null)))}(s.route,r,e,n)),it(()=>o++),rf(1),Ke(s=>o===i.length?B(t):bn))})}(this.paramsInheritanceStrategy,this.ngModule.injector),it({next:()=>u=!0,complete:()=>{u||(this.restoreHistory(l),this.cancelNavigationTransition(l,"",2))}}))}),it(l=>{const u=new rR(l.id,this.serializeUrl(l.extractedUrl),this.serializeUrl(l.urlAfterRedirects),l.targetSnapshot);this.triggerEvent(u)}))}),Af(a=>{const l=u=>{var c;const f=[];(null===(c=u.routeConfig)||void 0===c?void 0:c.loadComponent)&&!u.routeConfig._loadedComponent&&f.push(this.configLoader.loadComponent(u.routeConfig).pipe(it(v=>{u.component=v}),ne(()=>{})));for(const v of u.children)f.push(...l(v));return f};return mC(l(a.targetSnapshot.root)).pipe(Ha(),jo(1))}),Af(()=>this.afterPreactivation()),ne(a=>{const l=function hR(e,n,t){const r=Wo(e,n._root,t?t._root:void 0);return new GC(r,n)}(this.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);return i=Object.assign(Object.assign({},a),{targetRouterState:l})}),it(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,n,t)=>ne(r=>(new wR(n,r.targetRouterState,r.currentRouterState,t).activate(e),r)))(this.rootContexts,this.routeReuseStrategy,a=>this.triggerEvent(a)),it({next(){o=!0},complete(){o=!0}}),sf(()=>{var a;o||s||this.cancelNavigationTransition(i,"",1),(null===(a=this.currentNavigation)||void 0===a?void 0:a.id)===i.id&&(this.currentNavigation=null)}),ir(a=>{var l;if(s=!0,YC(a)){ZC(a)||(this.navigated=!0,this.restoreHistory(i,!0));const u=new Ka(i.id,this.serializeUrl(i.extractedUrl),a.message,a.cancellationCode);if(r.next(u),ZC(a)){const c=this.urlHandlingStrategy.merge(a.url,this.rawUrlTree),f={skipLocationChange:i.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||C0(i.source)};this.scheduleNavigation(c,"imperative",null,f,{resolve:i.resolve,reject:i.reject,promise:i.promise})}else i.resolve(!1)}else{this.restoreHistory(i,!0);const u=new $C(i.id,this.serializeUrl(i.extractedUrl),a,null!==(l=i.targetSnapshot)&&void 0!==l?l:void 0);r.next(u);try{i.resolve(this.errorHandler(a))}catch(c){i.reject(c)}}return bn}))}))}resetRootComponentType(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType}setTransition(t){this.transitions.next(Object.assign(Object.assign({},this.transitions.value),t))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(t=>{const r="popstate"===t.type?"popstate":"hashchange";"popstate"===r&&setTimeout(()=>{var i;const o={replaceUrl:!0},s=null!==(i=t.state)&&void 0!==i&&i.navigationId?t.state:null;if(s){const l=Object.assign({},s);delete l.navigationId,delete l.\u0275routerPageId,0!==Object.keys(l).length&&(o.state=l)}const a=this.parseUrl(t.url);this.scheduleNavigation(a,r,s,o)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(t){this.events.next(t)}resetConfig(t){this.config=t.map(Ef),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(t,r={}){const{relativeTo:i,queryParams:o,fragment:s,queryParamsHandling:a,preserveFragment:l}=r,u=i||this.routerState.root,c=l?this.currentUrlTree.fragment:s;let f=null;switch(a){case"merge":f=Object.assign(Object.assign({},this.currentUrlTree.queryParams),o);break;case"preserve":f=this.currentUrlTree.queryParams;break;default:f=o||null}return null!==f&&(f=this.removeEmptyProps(f)),qP(u,this.currentUrlTree,t,f,null!=c?c:null)}navigateByUrl(t,r={skipLocationChange:!1}){const i=Ar(t)?t:this.parseUrl(t),o=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(o,"imperative",null,r)}navigate(t,r={skipLocationChange:!1}){return function MO(e){for(let n=0;n<e.length;n++){if(null==e[n])throw new F(4008,false)}}(t),this.navigateByUrl(this.createUrlTree(t,r),r)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){let r;try{r=this.urlSerializer.parse(t)}catch(i){r=this.malformedUriErrorHandler(i,this.urlSerializer,t)}return r}isActive(t,r){let i;if(i=!0===r?Object.assign({},bO):!1===r?Object.assign({},wO):r,Ar(t))return IC(this.currentUrlTree,t,i);const o=this.parseUrl(t);return IC(this.currentUrlTree,o,i)}removeEmptyProps(t){return Object.keys(t).reduce((r,i)=>{const o=t[i];return null!=o&&(r[i]=o),r},{})}processNavigations(){this.navigations.subscribe(t=>{var r;this.navigated=!0,this.lastSuccessfulId=t.id,this.currentPageId=t.targetPageId,this.events.next(new Tr(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,null===(r=this.titleStrategy)||void 0===r||r.updateTitle(this.routerState.snapshot),t.resolve(!0)},t=>{this.console.warn(`Unhandled Navigation Error: ${t}`)})}scheduleNavigation(t,r,i,o,s){var a,l;if(this.disposed)return Promise.resolve(!1);let u,c,f;s?(u=s.resolve,c=s.reject,f=s.promise):f=new Promise((_,D)=>{u=_,c=D});const v=++this.navigationId;let y;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(i=this.location.getState()),y=i&&i.\u0275routerPageId?i.\u0275routerPageId:o.replaceUrl||o.skipLocationChange?null!==(a=this.browserPageId)&&void 0!==a?a:0:(null!==(l=this.browserPageId)&&void 0!==l?l:0)+1):y=0,this.setTransition({id:v,targetPageId:y,source:r,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:o,resolve:u,reject:c,promise:f,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),f.catch(_=>Promise.reject(_))}setBrowserUrl(t,r){const i=this.urlSerializer.serialize(t),o=Object.assign(Object.assign({},r.extras.state),this.generateNgRouterState(r.id,r.targetPageId));this.location.isCurrentPathEqualTo(i)||r.extras.replaceUrl?this.location.replaceState(i,"",o):this.location.go(i,"",o)}restoreHistory(t,r=!1){var i,o;if("computed"===this.canceledNavigationResolution){const s=this.currentPageId-t.targetPageId;"popstate"!==t.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(i=this.currentNavigation)||void 0===i?void 0:i.finalUrl)||0===s?this.currentUrlTree===(null===(o=this.currentNavigation)||void 0===o?void 0:o.finalUrl)&&0===s&&(this.resetState(t),this.browserUrlTree=t.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(s)}else"replace"===this.canceledNavigationResolution&&(r&&this.resetState(t),this.resetUrlToCurrentUrlTree())}resetState(t){this.routerState=t.currentRouterState,this.currentUrlTree=t.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(t,r,i){const o=new Ka(t.id,this.serializeUrl(t.extractedUrl),r,i);this.triggerEvent(o),t.resolve(!1)}generateNgRouterState(t,r){return"computed"===this.canceledNavigationResolution?{navigationId:t,\u0275routerPageId:r}:{navigationId:t}}}return e.\u0275fac=function(t){$u()},e.\u0275prov=z({token:e,factory:function(){return _0()},providedIn:"root"}),e})();function C0(e){return"imperative"!==e}let Ff=(()=>{class e{constructor(t,r,i,o,s){this.router=t,this.route=r,this.tabIndexAttribute=i,this.renderer=o,this.el=s,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.commands=null,this.onChanges=new sn,this.setTabIndexIfNotOnNativeEl("0")}set preserveFragment(t){this._preserveFragment=kn(t)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(t){this._skipLocationChange=kn(t)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(t){this._replaceUrl=kn(t)}get replaceUrl(){return this._replaceUrl}setTabIndexIfNotOnNativeEl(t){if(null!=this.tabIndexAttribute)return;const r=this.renderer,i=this.el.nativeElement;null!==t?r.setAttribute(i,"tabindex",t):r.removeAttribute(i,"tabindex")}ngOnChanges(t){this.onChanges.next(this)}set routerLink(t){null!=t?(this.commands=Array.isArray(t)?t:[t],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(){return null===this.urlTree||this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!0}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return e.\u0275fac=function(t){return new(t||e)(M(je),M(sr),Bi("tabindex"),M(Tn),M(_e))},e.\u0275dir=W({type:e,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(t,r){1&t&&N("click",function(){return r.onClick()})},inputs:{queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[kt]}),e})(),al=(()=>{class e{constructor(t,r,i){this.router=t,this.route=r,this.locationStrategy=i,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.commands=null,this.href=null,this.onChanges=new sn,this.subscription=t.events.subscribe(o=>{o instanceof Tr&&this.updateTargetUrlAndHref()})}set preserveFragment(t){this._preserveFragment=kn(t)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(t){this._skipLocationChange=kn(t)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(t){this._replaceUrl=kn(t)}get replaceUrl(){return this._replaceUrl}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:null}ngOnChanges(t){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(t,r,i,o,s){return!!(0!==t||r||i||o||s||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!1)}updateTargetUrlAndHref(){this.href=null!==this.urlTree?this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return e.\u0275fac=function(t){return new(t||e)(M(je),M(sr),M(wr))},e.\u0275dir=W({type:e,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(t,r){1&t&&N("click",function(o){return r.onClick(o.button,o.ctrlKey,o.shiftKey,o.altKey,o.metaKey)}),2&t&&fn("target",r.target)("href",r.href,lu)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[kt]}),e})(),D0=(()=>{class e{constructor(t,r,i,o,s,a){this.router=t,this.element=r,this.renderer=i,this.cdr=o,this.link=s,this.linkWithHref=a,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new Ie,this.routerEventsSubscription=t.events.subscribe(l=>{l instanceof Tr&&this.update()})}ngAfterContentInit(){B(this.links.changes,this.linksWithHrefs.changes,B(null)).pipe(Fr()).subscribe(t=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){var t;null===(t=this.linkInputChangesSubscription)||void 0===t||t.unsubscribe();const r=[...this.links.toArray(),...this.linksWithHrefs.toArray(),this.link,this.linkWithHref].filter(i=>!!i).map(i=>i.onChanges);this.linkInputChangesSubscription=Re(r).pipe(Fr()).subscribe(i=>{this.isActive!==this.isLinkActive(this.router)(i)&&this.update()})}set routerLinkActive(t){const r=Array.isArray(t)?t:t.split(" ");this.classes=r.filter(i=>!!i)}ngOnChanges(t){this.update()}ngOnDestroy(){var t;this.routerEventsSubscription.unsubscribe(),null===(t=this.linkInputChangesSubscription)||void 0===t||t.unsubscribe()}update(){!this.links||!this.linksWithHrefs||!this.router.navigated||Promise.resolve().then(()=>{const t=this.hasActiveLinks();this.isActive!==t&&(this.isActive=t,this.cdr.markForCheck(),this.classes.forEach(r=>{t?this.renderer.addClass(this.element.nativeElement,r):this.renderer.removeClass(this.element.nativeElement,r)}),t&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(t))})}isLinkActive(t){const r=function SO(e){return!!e.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return i=>!!i.urlTree&&t.isActive(i.urlTree,r)}hasActiveLinks(){const t=this.isLinkActive(this.router);return this.link&&t(this.link)||this.linkWithHref&&t(this.linkWithHref)||this.links.some(t)||this.linksWithHrefs.some(t)}}return e.\u0275fac=function(t){return new(t||e)(M(je),M(_e),M(Tn),M(ua),M(Ff,8),M(al,8))},e.\u0275dir=W({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(t,r,i){if(1&t&&(Lc(i,Ff,5),Lc(i,al,5)),2&t){let o;kc(o=Vc())&&(r.links=o),kc(o=Vc())&&(r.linksWithHrefs=o)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[kt]}),e})();class b0{}let IO=(()=>{class e{constructor(t,r,i,o,s){this.router=t,this.injector=i,this.preloadingStrategy=o,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe(jn(t=>t instanceof Tr),Yn(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,r){var i,o,s;const a=[];for(const l of r){l.providers&&!l._injector&&(l._injector=ta(l.providers,t,`Route: ${l.path}`));const u=null!==(i=l._injector)&&void 0!==i?i:t,c=null!==(o=l._loadedInjector)&&void 0!==o?o:u;l.loadChildren&&!l._loadedRoutes&&void 0===l.canLoad||l.loadComponent&&!l._loadedComponent?a.push(this.preloadConfig(u,l)):(l.children||l._loadedRoutes)&&a.push(this.processRoutes(c,null!==(s=l.children)&&void 0!==s?s:l._loadedRoutes))}return Re(a).pipe(Fr())}preloadConfig(t,r){return this.preloadingStrategy.preload(r,()=>{let i;i=r.loadChildren&&void 0===r.canLoad?this.loader.loadChildren(t,r):B(null);const o=i.pipe(Ke(s=>{var a;return null===s?B(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,this.processRoutes(null!==(a=s.injector)&&void 0!==a?a:t,s.routes))}));return r.loadComponent&&!r._loadedComponent?Re([o,this.loader.loadComponent(r)]).pipe(Fr()):o})}}return e.\u0275fac=function(t){return new(t||e)(V(je),V(zc),V(Jn),V(b0),V(Nf))},e.\u0275prov=z({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Pf=new j("");let w0=(()=>{class e{constructor(t,r,i={}){this.router=t,this.viewportScroller=r,this.options=i,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},i.scrollPositionRestoration=i.scrollPositionRestoration||"disabled",i.anchorScrolling=i.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(t=>{t instanceof pf?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof Tr&&(this.lastId=t.id,this.scheduleScrollEvent(t,this.router.parseUrl(t.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(t=>{t instanceof HC&&(t.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,r){this.router.triggerEvent(new HC(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,r))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return e.\u0275fac=function(t){$u()},e.\u0275prov=z({token:e,factory:e.\u0275fac}),e})();function Mi(e,n){return{\u0275kind:e,\u0275providers:n}}function Rf(e){return[{provide:Tf,multi:!0,useValue:e}]}function M0(){const e=Fe(St);return n=>{var t,r;const i=e.get(aa);if(n!==i.components[0])return;const o=e.get(je),s=e.get(S0);1===e.get(Of)&&o.initialNavigation(),null===(t=e.get(I0,null,H.Optional))||void 0===t||t.setUpPreloading(),null===(r=e.get(Pf,null,H.Optional))||void 0===r||r.init(),o.resetRootComponentType(i.componentTypes[0]),s.next(),s.complete()}}const S0=new j("",{factory:()=>new sn}),Of=new j("",{providedIn:"root",factory:()=>1});const I0=new j("");function FO(e){return Mi(0,[{provide:I0,useExisting:IO},{provide:b0,useExisting:e}])}const A0=new j("ROUTER_FORROOT_GUARD"),PO=[od,{provide:FC,useClass:lf},{provide:je,useFactory:_0},qo,{provide:sr,useFactory:function E0(e){return e.routerState.root},deps:[je]},Nf];function RO(){return new ky("Router",je)}let T0=(()=>{class e{constructor(t){}static forRoot(t,r){return{ngModule:e,providers:[PO,[],Rf(t),{provide:A0,useFactory:LO,deps:[[je,new qi,new Ji]]},{provide:ol,useValue:r||{}},null!=r&&r.useHash?{provide:wr,useClass:VT}:{provide:wr,useClass:a_},{provide:Pf,useFactory:()=>{const e=Fe(je),n=Fe(nN),t=Fe(ol);return t.scrollOffset&&n.setOffset(t.scrollOffset),new w0(e,n,t)}},null!=r&&r.preloadingStrategy?FO(r.preloadingStrategy).\u0275providers:[],{provide:ky,multi:!0,useFactory:RO},null!=r&&r.initialNavigation?VO(r):[],[{provide:N0,useFactory:M0},{provide:Ty,multi:!0,useExisting:N0}]]}}static forChild(t){return{ngModule:e,providers:[Rf(t)]}}}return e.\u0275fac=function(t){return new(t||e)(V(A0,8))},e.\u0275mod=Ot({type:e}),e.\u0275inj=Ct({imports:[bf]}),e})();function LO(e){return"guarded"}function VO(e){return["disabled"===e.initialNavigation?Mi(3,[{provide:wo,multi:!0,useFactory:()=>{const n=Fe(je);return()=>{n.setUpLocationChangeListener()}}},{provide:Of,useValue:2}]).\u0275providers:[],"enabledBlocking"===e.initialNavigation?Mi(2,[{provide:Of,useValue:0},{provide:wo,multi:!0,deps:[St],useFactory:n=>{const t=n.get(kT,Promise.resolve());let r=!1;return()=>t.then(()=>new Promise(o=>{const s=n.get(je),a=n.get(S0);(function i(o){n.get(je).events.pipe(jn(a=>a instanceof Tr||a instanceof Ka||a instanceof $C),ne(a=>a instanceof Tr||a instanceof Ka&&(0===a.code||1===a.code)&&null),jn(a=>null!==a),jo(1)).subscribe(()=>{o()})})(()=>{o(!0),r=!0}),s.afterPreactivation=()=>(o(!0),r||a.closed?B(void 0):a),s.initialNavigation()}))}}]).\u0275providers:[]]}const N0=new j("");let BO=(()=>{class e{constructor(t,r){this.router=t,this.http=r,this.config={user:"test",password:"asdf"},this.webservice="http://localhost:8082",this.form={user:"",password:""}}ngOnInit(){}checkLogin(){this.http.post(this.webservice+"/login/",{data:this.form}).subscribe(t=>{null==t?window.alert("Falsch!"):(sessionStorage.setItem("user",JSON.stringify(t)),this.router.navigate(["/select"]))})}}return e.\u0275fac=function(t){return new(t||e)(M(je),M(Ro))},e.\u0275cmp=$e({type:e,selectors:[["app-login"]],decls:59,vars:2,consts:[[1,"blur-bg-images"],[1,"auth-wrapper"],[1,"auth-content","container"],[1,"card"],[1,"row","align-items-center"],[1,"col-md-6"],[1,"card-body"],[1,"mb-4"],[1,"text-c-blue"],[1,"toggle-block"],[1,"position-relative","carousel-indicators","justify-content-start"],[1,""],[1,"active"],[1,"input-group","mb-2"],[1,"input-group-prepend"],[1,"input-group-text"],[1,"feather","icon-user"],["type","email","placeholder","Benutzername",1,"form-control",3,"ngModel","ngModelChange"],[1,"input-group","mb-4"],[1,"feather","icon-lock"],["type","password","placeholder","Passwort",1,"form-control",3,"ngModel","ngModelChange"],[1,"btn","btn-primary","mb-4",3,"click"],[1,"mb-2","text-muted"],["href","reset-password.html",1,"f-w-400"],[1,"toggle-block","collapse"],["type","text","placeholder","Benutzername",1,"form-control"],[1,"feather","icon-mail"],["type","email","placeholder","Emailadresse",1,"form-control"],[1,"input-group","mb-3"],["type","password","placeholder","Passwort",1,"form-control"],["routerLink","/select","routerLinkActive","active"],[1,"btn","btn-primary","mb-4"],[1,"btn","btn-primary","btn-outline-primary","mb-4","toggle-btn"],[1,"col-md-6","d-none","d-md-block"],["src","assets/images/auth/dashboard2.jpg","alt","",1,"img-fluid","bd-placeholder-img","bd-placeholder-img-lg","d-block","w-100"]],template:function(t,r){1&t&&(b(0,"div",0),h(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5)(6,"div",6)(7,"h2",7),m(8,"Reisacher "),h(9,"span",8),m(10,"Planner"),p()(),h(11,"p"),m(12,"Bitte loggen Sie sich ein, um auf Planungsversionen und -jahre zuzugreifen."),p(),h(13,"div",9)(14,"ol",10),b(15,"li",11)(16,"li",12),p(),h(17,"div",13)(18,"div",14)(19,"span",15),b(20,"i",16),p()(),h(21,"input",17),N("ngModelChange",function(o){return r.form.user=o}),p()(),h(22,"div",18)(23,"div",14)(24,"span",15),b(25,"i",19),p()(),h(26,"input",20),N("ngModelChange",function(o){return r.form.password=o}),p()(),h(27,"button",21),N("click",function(){return r.checkLogin()}),m(28,"Anmelden"),p(),h(29,"p",22),m(30,"Passwort vergessen? "),h(31,"a",23),m(32,"Hier zur\xfccksetzen"),p()()(),h(33,"div",24)(34,"ol",10),b(35,"li",12)(36,"li",11),p(),h(37,"div",13)(38,"div",14)(39,"span",15),b(40,"i",16),p()(),b(41,"input",25),p(),h(42,"div",13)(43,"div",14)(44,"span",15),b(45,"i",26),p()(),b(46,"input",27),p(),h(47,"div",28)(48,"div",14)(49,"span",15),b(50,"i",19),p()(),b(51,"input",29),p(),h(52,"a",30)(53,"button",31),m(54,"Registrieren"),p()(),h(55,"button",32),m(56,"Vorhandener Benutzer"),p()()()(),h(57,"div",33),b(58,"img",34),p()()()()()),2&t&&(d(21),g("ngModel",r.form.user),d(5),g("ngModel",r.form.password))},dependencies:[Nt,Ht,Ft,al,D0]}),e})();function $O(e,n){if(1&e&&(h(0,"option",23),m(1),p()),2&e){const t=n.$implicit;g("value",t),d(1),C(t)}}function HO(e,n){if(1&e&&(h(0,"option",23),m(1),p()),2&e){const t=n.$implicit;g("value",t),d(1),C(t)}}function UO(e,n){if(1&e&&(h(0,"option",23),m(1),p()),2&e){const t=n.$implicit,r=k();g("value",t),d(1),C(r.timeformat(t))}}let GO=(()=>{class e{constructor(t,r){this.http=t,this.router=r,this.config={files:[],service:"http://localhost:8082/"},this.selected={year:"2021",version:"V1",timestamp:"current"}}ngOnInit(){this.http.get(this.config.service+"/list").subscribe(t=>{this.config.files=t.list;var r=t.list[t.list.length-1];this.selected.year=r.year,this.selected.version=r.version}),this.user=JSON.parse(sessionStorage.getItem("user"))}onlyUnique(t,r,i){return i.indexOf(t)===r}years(){return this.config.files.map(t=>t.year).filter(this.onlyUnique).sort().reverse()}versions(){return this.config.files.filter(t=>t.year==this.selected.year).map(t=>t.version).filter(this.onlyUnique).sort().reverse()}timestamps(){return this.config.files.filter(t=>t.year==this.selected.year&&t.version==this.selected.version).map(t=>t.timestamp).filter(this.onlyUnique).reverse()}timeformat(t){return t.substring(6,8)+"."+t.substring(4,6)+"."+t.substring(0,4)+" "+t.substring(8,10)+":"+t.substring(10,12)+":"+t.substring(12,14)}redirect(){this.router.navigate(["/planner",this.selected.year,this.selected.version,this.selected.timestamp])}}return e.\u0275fac=function(t){return new(t||e)(M(Ro),M(je))},e.\u0275cmp=$e({type:e,selectors:[["app-select"]],decls:40,vars:7,consts:[[1,"blur-bg-images"],[1,"auth-wrapper"],[1,"auth-content","container"],[1,"card"],[1,"row","align-items-center"],[1,"col-md-6","d-none","d-md-block"],["src","assets/images/auth/selection.jpg","alt","",1,"img-fluid","bd-placeholder-img","bd-placeholder-img-lg","d-block","w-100"],[1,"col-md-6"],[1,"card-body"],[1,"mb-4"],[1,"text-c-blue"],[1,"form-group","row"],["for","exampleFormControlSelect1",1,"col-sm-3","col-form-label","col-form-label-sm"],[1,"col-sm-9"],["id","exampleFormControlSelect1",1,"form-control",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],["for","exampleFormControlSelect2",1,"col-sm-3","col-form-label","col-form-label-sm"],["id","exampleFormControlSelect2",1,"form-control",3,"ngModel","ngModelChange"],["for","exampleFormControlSelect3",1,"col-sm-3","col-form-label","col-form-label-sm"],["id","exampleFormControlSelect3",1,"form-control",3,"ngModel","disabled","ngModelChange"],["value","current"],[1,"btn-toolbar","sw-toolbar","sw-toolbar-bottom","justify-content-end"],[1,"btn","btn-primary","mb-4",3,"click"],[3,"value"]],template:function(t,r){1&t&&(b(0,"div",0),h(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5),b(6,"img",6),p(),h(7,"div",7)(8,"div",8)(9,"h2",9),m(10,"Reisacher "),h(11,"span",10),m(12,"Planner"),p()(),h(13,"p"),m(14,"Bitte w\xe4hlen Sie die gew\xfcnschte Version aus:"),p(),h(15,"div",11)(16,"label",12),m(17,"Jahr"),p(),h(18,"div",13)(19,"select",14),N("ngModelChange",function(o){return r.selected.year=o}),q(20,$O,2,2,"option",15),p()()(),h(21,"div",11)(22,"label",16),m(23,"Version"),p(),h(24,"div",13)(25,"select",17),N("ngModelChange",function(o){return r.selected.version=o}),q(26,HO,2,2,"option",15),p()()(),h(27,"div",11)(28,"label",18),m(29,"Stand"),p(),h(30,"div",13)(31,"select",19),N("ngModelChange",function(o){return r.selected.timestamp=o}),h(32,"option",20),m(33,"Aktueller Stand"),p(),q(34,UO,2,2,"option",15),p()()(),h(35,"div",11),m(36,"\xa0"),p(),h(37,"div",21)(38,"button",22),N("click",function(){return r.redirect()}),m(39,"\xd6ffnen"),p()()()()()()()()),2&t&&(d(19),g("ngModel",r.selected.year),d(1),g("ngForOf",r.years()),d(5),g("ngModel",r.selected.version),d(1),g("ngForOf",r.versions()),d(5),g("ngModel",r.selected.timestamp)("disabled",!r.user.write),d(3),g("ngForOf",r.timestamps()))},dependencies:[md,iC,sC,Ba,Ht,Ft]}),e})(),xf=(()=>{class e{constructor(t){this.http=t,this.data={}}load(t){return new Promise(r=>{this.http.get("app.config.json").subscribe({next:i=>{console.log("using server-side configuration"),this.data=Object.assign({},t||{},i||{}),r(this.data)},error:()=>{console.log("using default configuration"),this.data=Object.assign({},t||{}),r(this.data)}})})}}return e.\u0275fac=function(t){return new(t||e)(V(Ro))},e.\u0275prov=z({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function zO(e,n){if(1&e){const t=At();h(0,"li",87)(1,"div",63)(2,"input",88),N("change",function(){const o=Te(t).index,s=k(2);return Ne(s.config.display.previous[o]=!s.config.display.previous[o])}),p(),b(3,"label",89),p(),h(4,"label"),m(5),p()()}if(2&e){const t=n.$implicit,r=n.index,i=k(2);d(2),co("id","switch-2-",r,""),g("ngModel",i.config.display.previous[r]),d(1),co("for","switch-2-",r,""),d(2),C(t)}}function WO(e,n){if(1&e){const t=At();h(0,"a",82),N("click",function(){const o=Te(t).$implicit;return Ne(k(2).setFilter("costcenter",o))}),m(1),p()}if(2&e){const t=n.$implicit;d(1),C(t)}}function qO(e,n){if(1&e){const t=At();h(0,"a",82),N("click",function(){return Te(t),Ne(k(2).setFilter("costcenter",""))}),m(1,"Gesamt"),p()}}function JO(e,n){if(1&e){const t=At();h(0,"a",82),N("click",function(){const o=Te(t).$implicit;return Ne(k(2).setFilter("department",o.id))}),m(1),p()}if(2&e){const t=n.$implicit;ho("level-",t.level,""),d(1),C(t.text)}}function KO(e,n){if(1&e){const t=At();h(0,"button",90),N("click",function(){return Te(t),Ne(k(2).save())}),b(1,"i",91),m(2),p()}if(2&e){const t=k(2);d(2),le("\xa0",t.file.version,"")}}function QO(e,n){if(1&e&&(h(0,"button",92),b(1,"i",93),m(2),p()),2&e){const t=k(2);d(2),le("\xa0",t.file.version,"")}}function ZO(e,n){if(1&e){const t=At();h(0,"a",82),N("click",function(){return Te(t),Ne(k(2).save())}),m(1,"Speichern"),p()}}function YO(e,n){1&e&&b(0,"div",83)}function XO(e,n){1&e&&(h(0,"a",94),m(1,"Export zu MIS"),p())}function ex(e,n){1&e&&b(0,"div",83)}function tx(e,n){1&e&&(h(0,"a",95),m(1,"Kopieren in neue Version"),p())}function nx(e,n){1&e&&b(0,"div",83)}function rx(e,n){if(1&e){const t=At();h(0,"ul",56)(1,"li")(2,"div",57)(3,"div",58)(4,"button",59),b(5,"i",60),p(),h(6,"ul",61),q(7,zO,6,4,"li",62),p()()()(),h(8,"li")(9,"div",63)(10,"input",64),N("change",function(){Te(t);const i=k();return Ne(i.config.display.readonly=!i.config.display.readonly)}),p(),b(11,"label",65),p(),h(12,"label"),m(13,"Nur-Lesen"),p()(),h(14,"li")(15,"div",63)(16,"input",66),N("change",function(){Te(t);const i=k();return Ne(i.config.display.seasonal=!i.config.display.seasonal)}),p(),b(17,"label",67),p(),h(18,"label"),m(19,"Saison"),p()(),h(20,"li")(21,"div",63)(22,"input",68),N("change",function(){Te(t);const i=k();return Ne(i.config.display.period13=!i.config.display.period13)}),p(),b(23,"label",69),p(),h(24,"label"),m(25,"Periode 13"),p()(),h(26,"li")(27,"div",57)(28,"div",58)(29,"button",59),b(30,"i",70),m(31),p(),h(32,"div",61),q(33,WO,2,1,"a",71),q(34,qO,2,0,"a",72),p()()()(),h(35,"li")(36,"div",57)(37,"div",58)(38,"button",59),b(39,"i",70),m(40),p(),h(41,"div",61),q(42,JO,2,4,"a",73),p()()()(),h(43,"li")(44,"div",57)(45,"div",74),q(46,KO,3,1,"button",75),q(47,QO,3,1,"button",76),h(48,"button",77)(49,"span",78),m(50,"Toggle Dropdown"),p()(),h(51,"div",79),q(52,ZO,2,0,"a",72),q(53,YO,1,0,"div",80),h(54,"a",81),m(55,"Druckansicht"),p(),h(56,"a",82),N("click",function(){return Te(t),Ne(k().csvExport())}),m(57,"CSV-Export"),p(),b(58,"div",83),q(59,XO,2,0,"a",84),q(60,ex,1,0,"div",80),q(61,tx,2,0,"a",85),q(62,nx,1,0,"div",80),h(63,"a",86),m(64,"Versionsauswahl"),p(),b(65,"div",83),h(66,"a",82),N("click",function(){return Te(t),Ne(k().logout())}),m(67),p()()()()()()}if(2&e){const t=k();d(7),g("ngForOf",t.config.previous),d(3),g("disabled",t.getDepartmentById(t.filter.department).children.length>0||!t.user.write)("ngModel",t.config.display.readonly),d(6),g("ngModel",t.config.display.seasonal),d(6),g("ngModel",t.config.display.period13),d(9),le(" Bereich: ",t.filter.costcenter,""),d(2),g("ngForOf",t.config.filter.costcenter),d(1),g("ngIf",0==t.user.costcenter.length),d(6),le(" Betrieb: ",t.getDepartmentById(t.filter.department).text,""),d(2),g("ngForOf",t.config.filter.department),d(4),g("ngIf",t.user.write),d(1),g("ngIf",!t.user.write),d(5),g("ngIf",t.user.write),d(1),g("ngIf",t.user.write),d(6),g("ngIf",t.user.admin),d(1),g("ngIf",t.user.admin),d(1),g("ngIf",t.user.admin),d(1),g("ngIf",t.user.admin),d(5),le("",t.user.username," abmelden")}}const ix=function(e,n){return{"icon-chevrons-right":e,"icon-chevrons-down":n}};function ox(e,n){if(1&e){const t=At();h(0,"th",119)(1,"i",120),N("click",function(){Te(t);const i=k(2).$implicit;return Ne(i.drilldown=!i.drilldown)}),p(),m(2),p()}if(2&e){const t=k(2).$implicit;d(1),g("ngClass",_o(2,ix,!t.drilldown,t.drilldown)),d(1),le(" \xa0\xa0 ",t.text," ")}}function sx(e,n){if(1&e&&(h(0,"th",119),b(1,"i",121),m(2),p()),2&e){const t=k(2).$implicit;d(2),le(" \xa0\xa0 ",t.text," ")}}function ax(e,n){1&e&&(h(0,"span"),m(1,"+"),p())}function lx(e,n){if(1&e&&b(0,"app-seasonal-p",122),2&e){const t=k(2).$implicit,r=k(2);g("value",r.sumchildren(t,r.values.Plan_berechnet))("s",t)("seasonal",r.config.seasonal)("display",r.config.display.seasonal)}}const ux=function(e){return{"level-0":e}};function cx(e,n){if(1&e&&(h(0,"tr",107),q(1,ox,3,5,"th",108),q(2,sx,3,1,"th",108),h(3,"td",109)(4,"span",99),m(5),w(6,"number"),p()(),h(7,"td",109),m(8),w(9,"number"),p(),h(10,"td",110),m(11),w(12,"number"),p(),h(13,"td",109)(14,"span",99),m(15),w(16,"number"),p()(),h(17,"td",109),m(18),w(19,"number"),p(),h(20,"td",110),m(21),w(22,"number"),p(),h(23,"td",109)(24,"span",99),m(25),w(26,"number"),p()(),h(27,"td",109),m(28),w(29,"number"),p(),h(30,"td",110),m(31),w(32,"number"),p(),h(33,"td",109)(34,"span",99),m(35),w(36,"number"),p()(),h(37,"td",111),m(38),w(39,"number"),p(),h(40,"td",110),m(41),w(42,"number"),p(),h(43,"td",109)(44,"span",99),m(45),w(46,"number"),p()(),h(47,"td",109),m(48),w(49,"number"),p(),h(50,"td",110),m(51),w(52,"number"),p(),b(53,"td"),h(54,"td",109),m(55),w(56,"number"),p(),b(57,"td",109)(58,"td",112)(59,"td",112),h(60,"td",113),m(61),w(62,"number"),p(),h(63,"td",114),m(64),w(65,"number"),p(),h(66,"td",114),q(67,ax,2,0,"span",115),m(68),w(69,"number"),p(),q(70,lx,1,4,"app-seasonal-p",116),h(71,"td",117),m(72),w(73,"number"),p(),b(74,"td",118),h(75,"td",117),m(76),w(77,"number"),p(),b(78,"td",118),p()),2&e){const t=k().$implicit,r=k(2);ho("table-active level-",t.level,""),g("hidden",!r.showsub(t)||"ZS2"==r.form(t)&&""!=r.filter.costcenter)("ngClass",Kv(119,ux,"ZS"==r.form(t))),d(1),g("ngIf","S"==r.form(t)),d(1),g("ngIf","S"!=r.form(t)),d(1),g("hidden",!r.config.display.previous[0]),d(1),g("hidden",!r.showquantity(t)),d(1),C(E(6,56,t.sumvalues[r.values.VJ_Stk],"1.0-0")),d(2),g("hidden",!r.config.display.previous[0]),d(1),C(E(9,59,t.sumvalues[r.values.VJ_Wert],"1.0-0")),d(2),g("hidden",!r.config.display.previous[0]),d(1),C(E(12,62,r.sumpercent(t,r.values.VJ_Wert),"1.1-1")),d(2),g("hidden",!r.config.display.previous[1]),d(1),g("hidden",!r.showquantity(t)),d(1),C(E(16,65,t.sumvalues[r.values.Plan_VJ_Stk],"1.0-0")),d(2),g("hidden",!r.config.display.previous[1]),d(1),C(E(19,68,t.sumvalues[r.values.Plan_VJ_Wert],"1.0-0")),d(2),g("hidden",!r.config.display.previous[1]),d(1),C(E(22,71,r.sumpercent(t,r.values.Plan_VJ_Wert),"1.1-1")),d(2),g("hidden",!r.config.display.previous[2]),d(1),g("hidden",!r.showquantity(t)),d(1),C(E(26,74,t.sumvalues[r.values.AJ_Okt_Stk],"1.0-0")),d(2),g("hidden",!r.config.display.previous[2]),d(1),C(E(29,77,t.sumvalues[r.values.AJ_Okt_Wert],"1.0-0")),d(2),g("hidden",!r.config.display.previous[2]),d(1),C(E(32,80,r.sumpercent(t,r.values.AJ_Okt_Wert),"1.1-1")),d(2),g("hidden",!r.config.display.previous[3]),d(1),g("hidden",!r.showquantity(t)),d(1),C(E(36,83,t.sumvalues[r.values.FC_Stk],"1.0-0")),d(2),g("hidden",!r.config.display.previous[3]),d(1),C(E(39,86,t.sumvalues[r.values.FC_Wert],"1.0-0")),d(2),g("hidden",!r.config.display.previous[3]),d(1),C(E(42,89,r.sumpercent(t,r.values.FC_Wert),"1.1-1")),d(2),g("hidden",!r.config.display.previous[4]),d(1),g("hidden",!r.showquantity(t)),d(1),C(E(46,92,t.sumvalues[r.values.AJ_kompl_Stk],"1.0-0")),d(2),g("hidden",!r.config.display.previous[4]),d(1),C(E(49,95,t.sumvalues[r.values.AJ_kompl_Wert],"1.0-0")),d(2),g("hidden",!r.config.display.previous[4]),d(1),C(E(52,98,r.sumpercent(t,r.values.AJ_kompl_Wert),"1.1-1")),d(3),g("hidden",!r.showquantity(t)),d(1),C(E(56,101,r.sumchildren(t,r.values.Plan_Stk),"1.0-0")),d(2),g("hidden",r.showquantity(t)),d(4),C(E(62,104,r.sumchildren(t,r.values.Plan_berechnet),"1.0-0")),d(3),C(E(65,107,r.sumchildren(t,r.values.Plan_berechnet)/r.sumchildren(r.getbasis(t),r.values.Plan_berechnet)*100,"1.1-1")),d(3),g("ngIf",r.sumchildren(t,r.values.Plan_berechnet)>t.sumvalues[r.values.FC_Wert]),d(1),C(E(69,110,100*r.sumchildren(t,r.values.Plan_berechnet)/t.sumvalues[r.values.FC_Wert]-100,"1.1-1")),d(2),g("ngIf",r.isbasis(t)),d(1),g("hidden",!r.config.display.period13),d(1),C(E(73,113,r.sumchildren(t,r.values.Periode13),"1.0-0")),d(2),g("hidden",!r.config.display.period13),d(1),g("hidden",!r.config.display.period13),d(1),C(E(77,116,r.sumchildren(t,r.values.Plan_berechnet)+r.sumchildren(t,r.values.Periode13),"1.0-0")),d(2),g("hidden",!r.config.display.period13)}}function dx(e,n){1&e&&(h(0,"span"),m(1,"+"),p())}function fx(e,n){if(1&e&&b(0,"app-seasonal-s",128),2&e){const t=k(2).$implicit,r=k(2);g("s",t)("basis",r.getbasis(t))("seasonal",r.config.seasonal)("display",r.config.display.seasonal)}}function hx(e,n){if(1&e&&b(0,"app-seasonal-m",128),2&e){const t=k(2).$implicit,r=k(2);g("s",t)("basis",r.getbasis(t))("seasonal",r.config.seasonal)("display",r.config.display.seasonal)}}function px(e,n){if(1&e&&b(0,"app-seasonal-q",128),2&e){const t=k(2).$implicit,r=k(2);g("s",t)("basis",r.getbasis(t))("seasonal",r.config.seasonal)("display",r.config.display.seasonal)}}function gx(e,n){if(1&e&&b(0,"app-seasonal-p",129),2&e){const t=k(2).$implicit,r=k(2);g("s",t)("seasonal",r.config.seasonal)("display",r.config.display.seasonal)}}const cl=function(){return["2","3"]},F0=function(){return["3","5","7"]};function mx(e,n){if(1&e&&(h(0,"tr",99),b(1,"app-row-header",123),h(2,"td",109),m(3),w(4,"number"),p(),b(5,"td",109),h(6,"td",109),m(7),w(8,"number"),p(),b(9,"td",109),h(10,"td",109),m(11),w(12,"number"),p(),b(13,"td",109),h(14,"td",112),m(15),w(16,"number"),p(),h(17,"td",124),m(18),w(19,"number"),p(),h(20,"td",125),m(21),w(22,"number"),p(),h(23,"td",114),q(24,dx,2,0,"span",115),m(25),w(26,"number"),p(),q(27,fx,1,4,"app-seasonal-s",126),q(28,hx,1,4,"app-seasonal-m",126),q(29,px,1,4,"app-seasonal-q",126),q(30,gx,1,3,"app-seasonal-p",127),h(31,"td",117),m(32),w(33,"number"),p(),b(34,"td",118),h(35,"td",117),m(36),w(37,"number"),p(),b(38,"td",118),p()),2&e){const t=k().$implicit,r=k(2);_c("level-",t.level," form-no",t.form," ",r.formstyle(t),""),g("hidden",!r.showsub(t)),d(1),g("s",t)("basis",r.basisValue)("formchange",r.config.display.formchange)("filter",r.filter)("display",r.config.display),d(1),g("hidden",!Rn(62,cl).includes(t.form)),d(1),C(E(4,35,t.values[r.values.Plan_Stk],"1.0-0")),d(2),g("hidden",Rn(63,cl).includes(t.form)),d(1),g("hidden",!Rn(64,cl).includes(t.form)),d(1),C(E(8,38,t.values[r.values.VAK],"1.0-0")),d(2),g("hidden",Rn(65,cl).includes(t.form)),d(1),g("hidden",!Rn(66,F0).includes(t.form)),d(1),C(E(12,41,t.values[r.values.BE_Proz],"1.1-1")),d(2),g("hidden",Rn(67,F0).includes(t.form)),d(2),C(E(16,44,t.values[r.values.Plan_berechnet],"1.0-0")),d(3),C(E(19,47,t.values[r.values.Plan_berechnet]/r.sumchildren(r.getbasis(t),r.values.Plan_berechnet)*100,"1.3-3")),d(3),C(E(22,50,t.values[r.values.Plan_Proz_FC],"1.3-3")),d(3),g("ngIf",t.values[r.values.Plan_berechnet]>t.values[r.values.FC_Wert]),d(1),C(E(26,53,100*t.values[r.values.Plan_berechnet]/t.values[r.values.FC_Wert]-100,"1.1-1")),d(2),g("ngIf","S"==r.seasonal(t)),d(1),g("ngIf","M"==r.seasonal(t)),d(1),g("ngIf","Q"==r.seasonal(t)),d(1),g("ngIf",!1),d(1),g("hidden",!r.config.display.period13),d(1),C(E(33,56,t.values[r.values.Periode13],"1.0-0")),d(2),g("hidden",!r.config.display.period13),d(1),g("hidden",!r.config.display.period13),d(1),C(E(37,59,t.values[r.values.Plan_berechnet]+t.values[r.values.Periode13],"1.0-0")),d(2),g("hidden",!r.config.display.period13)}}function vx(e,n){if(1&e&&b(0,"app-form-no1",137),2&e){const t=k(2).$implicit,r=k(2);g("s",t)("filter",r.filter)("value",r.sumchildren(r.getbasis(t),r.values.Plan_berechnet))}}function yx(e,n){1&e&&b(0,"app-form-no2",138),2&e&&g("s",k(2).$implicit)}function _x(e,n){1&e&&b(0,"app-form-no3",138),2&e&&g("s",k(2).$implicit)}function Cx(e,n){if(1&e&&b(0,"app-form-no4",139),2&e){const t=k(2).$implicit,r=k(2);g("s",t)("linked",r.getlink(t))}}function Dx(e,n){1&e&&b(0,"app-form-no5",138),2&e&&g("s",k(2).$implicit)}function bx(e,n){if(1&e&&b(0,"app-form-no6",139),2&e){const t=k(2).$implicit,r=k(2);g("s",t)("linked",r.getlink(t))}}function wx(e,n){if(1&e&&b(0,"app-form-no7",140),2&e){const t=k(2).$implicit,r=k(2);g("s",t)("linked",r.getlink(t))("value",r.sumchildren(r.getlink(t),r.values.Plan_berechnet))("factor",r.getfactor(t))}}function Ex(e,n){1&e&&(h(0,"span"),m(1,"+"),p())}function Mx(e,n){if(1&e&&b(0,"app-seasonal-s",128),2&e){const t=k(2).$implicit,r=k(2);g("s",t)("basis",r.getbasis(t))("seasonal",r.config.seasonal)("display",r.config.display.seasonal)}}function Sx(e,n){if(1&e&&b(0,"app-seasonal-m",128),2&e){const t=k(2).$implicit,r=k(2);g("s",t)("basis",r.getbasis(t))("seasonal",r.config.seasonal)("display",r.config.display.seasonal)}}function Ix(e,n){if(1&e&&b(0,"app-seasonal-q",128),2&e){const t=k(2).$implicit,r=k(2);g("s",t)("basis",r.getbasis(t))("seasonal",r.config.seasonal)("display",r.config.display.seasonal)}}function Ax(e,n){if(1&e&&b(0,"app-seasonal-p",129),2&e){const t=k(2).$implicit,r=k(2);g("s",t)("seasonal",r.config.seasonal)("display",r.config.display.seasonal)}}function Tx(e,n){if(1&e){const t=At();h(0,"tr",99),b(1,"app-row-header",123),q(2,vx,1,3,"app-form-no1",130),q(3,yx,1,1,"app-form-no2",131),q(4,_x,1,1,"app-form-no3",131),q(5,Cx,1,2,"app-form-no4",132),q(6,Dx,1,1,"app-form-no5",131),q(7,bx,1,2,"app-form-no6",132),q(8,wx,1,4,"app-form-no7",133),h(9,"td",124),m(10),w(11,"number"),p(),h(12,"td",134)(13,"input",135),N("ngModelChange",function(i){Te(t);const o=k().$implicit,s=k(2);return Ne(o.values[s.values.Plan_Proz_FC]=i)}),p()(),h(14,"td",114),q(15,Ex,2,0,"span",115),m(16),w(17,"number"),p(),q(18,Mx,1,4,"app-seasonal-s",126),q(19,Sx,1,4,"app-seasonal-m",126),q(20,Ix,1,4,"app-seasonal-q",126),q(21,Ax,1,3,"app-seasonal-p",127),h(22,"td",117)(23,"input",136),N("ngModelChange",function(i){Te(t);const o=k().$implicit,s=k(2);return Ne(o.values[s.values.Periode13]=i)}),p()(),b(24,"td",118),h(25,"td",117),m(26),w(27,"number"),p(),b(28,"td",118),p()}if(2&e){const t=k().$implicit,r=k(2);_c("level-",t.level," form-no",t.form," ",r.formstyle(t),""),g("hidden",!r.showsub(t)),d(1),g("s",t)("basis",r.basisValue)("formchange",r.config.display.formchange)("filter",r.filter)("display",r.config.display),d(1),g("ngIf","1"==t.form),d(1),g("ngIf","2"==t.form),d(1),g("ngIf","3"==t.form),d(1),g("ngIf","4"==t.form),d(1),g("ngIf","5"==t.form),d(1),g("ngIf","6"==t.form),d(1),g("ngIf","7"==t.form),d(2),C(E(11,32,t.values[r.values.Plan_berechnet]/r.sumchildren(r.getbasis(t),r.values.Plan_berechnet)*100,"1.3-3")),d(3),g("ngModel",t.values[r.values.Plan_Proz_FC]),d(2),g("ngIf",r.getvalue3(t)>r.sumchildren(t,r.values.FC_Wert)),d(1),C(E(17,35,100*r.getvalue3(t)/r.sumchildren(t,r.values.FC_Wert)-100,"1.1-1")),d(2),g("ngIf","S"==r.seasonal(t)),d(1),g("ngIf","M"==r.seasonal(t)),d(1),g("ngIf","Q"==r.seasonal(t)),d(1),g("ngIf",!1),d(1),g("hidden",!r.config.display.period13),d(1),g("ngModel",t.values[r.values.Periode13]),d(1),g("hidden",!r.config.display.period13),d(1),g("hidden",!r.config.display.period13),d(1),C(E(27,38,t.values[r.values.Plan_berechnet]+t.values[r.values.Periode13],"1.0-0")),d(2),g("hidden",!r.config.display.period13)}}function Nx(e,n){if(1&e&&(h(0,"tbody"),q(1,cx,79,121,"tr",105),q(2,mx,39,68,"tr",106),q(3,Tx,29,41,"tr",106),p()),2&e){const t=n.$implicit,r=k(2);d(1),g("ngIf","SUM"==r.rowform(t)),d(1),g("ngIf","VIEW"==r.rowform(t)),d(1),g("ngIf","EDIT"==r.rowform(t))}}function Fx(e,n){if(1&e&&(h(0,"div",34)(1,"div",96)(2,"div",97)(3,"table",98)(4,"thead")(5,"tr")(6,"th"),m(7,"Struktureintrag"),p(),h(8,"th",99),m(9),b(10,"br"),m(11,"Stk"),p(),h(12,"th",99),m(13),p(),h(14,"th",99),m(15,"%"),p(),h(16,"th",99),m(17),b(18,"br"),m(19,"Stk"),p(),h(20,"th",99),m(21),p(),h(22,"th",99),m(23,"%"),p(),h(24,"th",99),m(25),b(26,"br"),m(27,"Stk"),p(),h(28,"th",99),m(29),p(),h(30,"th",99),m(31,"%"),p(),h(32,"th",99),m(33),b(34,"br"),m(35,"Stk"),p(),h(36,"th",100),m(37),p(),h(38,"th",99),m(39,"%"),p(),h(40,"th",99),m(41),b(42,"br"),m(43,"Stk"),p(),h(44,"th",99),m(45),p(),h(46,"th",99),m(47,"%"),p(),h(48,"th"),m(49," Zeile/Konto"),b(50,"br"),m(51," Abs/Proz."),b(52,"br"),m(53," Saisonal "),p(),h(54,"th"),m(55,"St\xfcck"),p(),h(56,"th"),m(57,"VAK/Stk"),p(),h(58,"th"),m(59,"BE in %"),p(),h(60,"th",101),m(61),p(),h(62,"th"),m(63,"%"),p(),h(64,"th"),m(65,"Abw. FC %"),p(),h(66,"th",102),m(67),p(),h(68,"th",102),m(69,"%"),p(),h(70,"th",102),m(71),p(),h(72,"th",102),m(73,"%"),p(),h(74,"th",102),m(75),p(),h(76,"th",102),m(77,"%"),p(),h(78,"th",102),m(79),p(),h(80,"th",102),m(81,"%"),p(),h(82,"th",102),m(83),p(),h(84,"th",102),m(85,"%"),p(),h(86,"th",102),m(87),p(),h(88,"th",102),m(89,"%"),p(),h(90,"th",102),m(91),p(),h(92,"th",102),m(93,"%"),p(),h(94,"th",102),m(95),p(),h(96,"th",102),m(97,"%"),p(),h(98,"th",102),m(99),p(),h(100,"th",102),m(101,"%"),p(),h(102,"th",102),m(103),p(),h(104,"th",102),m(105,"%"),p(),h(106,"th",102),m(107),p(),h(108,"th",102),m(109,"%"),p(),h(110,"th",102),m(111),p(),h(112,"th",102),m(113,"%"),p(),h(114,"th",103),m(115,"Periode 13"),p(),h(116,"th",103),m(117,"%"),p(),h(118,"th",103),m(119),p(),h(120,"th",103),m(121,"%"),p()()(),q(122,Nx,4,3,"tbody",104),p()()()()),2&e){const t=k();d(8),g("hidden",!t.config.display.previous[0]),d(1),le("",t.config.previous[0]," "),d(3),g("hidden",!t.config.display.previous[0]),d(1),C(t.config.previous[0]),d(1),g("hidden",!t.config.display.previous[0]),d(2),g("hidden",!t.config.display.previous[1]),d(1),le("",t.config.previous[1]," "),d(3),g("hidden",!t.config.display.previous[1]),d(1),C(t.config.previous[1]),d(1),g("hidden",!t.config.display.previous[1]),d(2),g("hidden",!t.config.display.previous[2]),d(1),le("",t.config.previous[2]," "),d(3),g("hidden",!t.config.display.previous[2]),d(1),C(t.config.previous[2]),d(1),g("hidden",!t.config.display.previous[2]),d(2),g("hidden",!t.config.display.previous[3]),d(1),le("",t.config.previous[3]," "),d(3),g("hidden",!t.config.display.previous[3]),d(1),C(t.config.previous[3]),d(1),g("hidden",!t.config.display.previous[3]),d(2),g("hidden",!t.config.display.previous[4]),d(1),le("",t.config.previous[4]," "),d(3),g("hidden",!t.config.display.previous[4]),d(1),C(t.config.previous[4]),d(1),g("hidden",!t.config.display.previous[4]),d(15),le("Plan ",t.config.year.plan,""),d(5),g("hidden",!t.config.display.seasonal),d(1),le("01/",t.config.year.plan,""),d(1),g("hidden",!t.config.display.seasonal),d(2),g("hidden",!t.config.display.seasonal),d(1),le("02/",t.config.year.plan,""),d(1),g("hidden",!t.config.display.seasonal),d(2),g("hidden",!t.config.display.seasonal),d(1),le("03/",t.config.year.plan,""),d(1),g("hidden",!t.config.display.seasonal),d(2),g("hidden",!t.config.display.seasonal),d(1),le("04/",t.config.year.plan,""),d(1),g("hidden",!t.config.display.seasonal),d(2),g("hidden",!t.config.display.seasonal),d(1),le("05/",t.config.year.plan,""),d(1),g("hidden",!t.config.display.seasonal),d(2),g("hidden",!t.config.display.seasonal),d(1),le("06/",t.config.year.plan,""),d(1),g("hidden",!t.config.display.seasonal),d(2),g("hidden",!t.config.display.seasonal),d(1),le("07/",t.config.year.plan,""),d(1),g("hidden",!t.config.display.seasonal),d(2),g("hidden",!t.config.display.seasonal),d(1),le("08/",t.config.year.plan,""),d(1),g("hidden",!t.config.display.seasonal),d(2),g("hidden",!t.config.display.seasonal),d(1),le("09/",t.config.year.plan,""),d(1),g("hidden",!t.config.display.seasonal),d(2),g("hidden",!t.config.display.seasonal),d(1),le("10/",t.config.year.plan,""),d(1),g("hidden",!t.config.display.seasonal),d(2),g("hidden",!t.config.display.seasonal),d(1),le("11/",t.config.year.plan,""),d(1),g("hidden",!t.config.display.seasonal),d(2),g("hidden",!t.config.display.seasonal),d(1),le("12/",t.config.year.plan,""),d(1),g("hidden",!t.config.display.seasonal),d(2),g("hidden",!t.config.display.period13),d(2),g("hidden",!t.config.display.period13),d(2),g("hidden",!t.config.display.period13),d(1),le("",t.config.year.plan," inkl. Per.13"),d(1),g("hidden",!t.config.display.period13),d(2),g("ngForOf",t.structure)}}var O=(()=>{return(e=O||(O={}))[e.Plan_berechnet=0]="Plan_berechnet",e[e.Januar=1]="Januar",e[e.Februar=2]="Februar",e[e.M\u00e4rz=3]="M\xe4rz",e[e.April=4]="April",e[e.Mai=5]="Mai",e[e.Juni=6]="Juni",e[e.Juli=7]="Juli",e[e.August=8]="August",e[e.September=9]="September",e[e.Oktober=10]="Oktober",e[e.November=11]="November",e[e.Dezember=12]="Dezember",e[e.Periode13=13]="Periode13",e[e.Plan_Wert=14]="Plan_Wert",e[e.Plan_Proz_FC=15]="Plan_Proz_FC",e[e.Plan_Stk=16]="Plan_Stk",e[e.VAK=17]="VAK",e[e.BE_Proz=18]="BE_Proz",e[e.frei19=19]="frei19",e[e.VJ_Wert=20]="VJ_Wert",e[e.VJ_Stk=21]="VJ_Stk",e[e.AJ_kompl_Wert=22]="AJ_kompl_Wert",e[e.AJ_kompl_Stk=23]="AJ_kompl_Stk",e[e.AJ_Okt_Wert=24]="AJ_Okt_Wert",e[e.AJ_Okt_Stk=25]="AJ_Okt_Stk",e[e.FC_Wert=26]="FC_Wert",e[e.FC_Stk=27]="FC_Stk",e[e.Plan_VJ_Wert=28]="Plan_VJ_Wert",e[e.Plan_VJ_Stk=29]="Plan_VJ_Stk",O;var e})();let kf=(()=>{class e{constructor(t,r,i,o){this.http=t,this.route=r,this.router=i,this.values=O,this.quantityValues=[O.VJ_Stk,O.Plan_VJ_Stk,O.AJ_Okt_Stk,O.FC_Stk,O.AJ_kompl_Stk],this.sumValues=[O.VJ_Wert,O.Plan_VJ_Wert,O.AJ_Okt_Wert,O.FC_Wert,O.AJ_kompl_Wert,O.VJ_Stk,O.Plan_VJ_Stk,O.AJ_Okt_Stk,O.FC_Stk,O.AJ_kompl_Stk],this.filter={department:"10",costcenter:"NA"},this.structureIds={},this.title=o.data.title,this.webservice=o.data.webservice}sumchildren(t,r,i=!1){var s=t.children.concat(t.children2).filter(a=>this.isCurrentCostcenter(a)).map(a=>this.sumchildren(this.getStructureById(a),r,a.startsWith("-")));return s.push(t.values[r]),i?-1*this.sum(s):this.sum(s)}sumpercent(t,r){return void 0===this.basisValue?0:100*t.sumvalues[r]/this.basisValue.sumvalues[r]}setSumFromChildren(t){var r=this.getStructureById(t);if(void 0===r)return Array(30).fill(0);var o=r.children.concat(r.children2).filter(s=>this.isCurrentCostcenter(s)).map(s=>this.setSumFromChildren(s));return this.sumValues.forEach(s=>{r.sumvalues[s]=this.sum(o.map(a=>a[s])),0==r.sumvalues[s]&&(r.sumvalues[s]=r.values[s])}),t.startsWith("-")?this.negative(r.sumvalues):r.sumvalues}sum(t){return t.reduce((r,i)=>r+i,0)}negative(t){return t.map(r=>-1*r)}getvalue3(t){switch(t.form){case"2":return t.values[O.Plan_berechnet]=t.values[O.Plan_Stk]*t.values[O.VAK],t.values[O.Plan_berechnet];case"3":return t.values[O.Plan_berechnet]=t.values[O.Plan_Stk]*t.values[O.VAK]/((100-t.values[O.BE_Proz])/100),t.values[O.Plan_berechnet];case"4":return void 0===(r=this.getlink(t))?0:(t.values[O.Plan_berechnet]=r.values[O.Plan_Stk]*r.values[O.VAK],t.values[O.Plan_berechnet]);case"6":return void 0===(r=this.getlink(t))?0:(t.values[O.Plan_berechnet]=r.values[O.Plan_Wert]*(100-r.values[O.BE_Proz])/100,t.values[O.Plan_berechnet]);case"7":var r;if(void 0===(r=this.getlink(t)))return 0;var i=this.sumchildren(r,O.Plan_Wert);t.id in r.children&&(i-=t.values[O.Plan_Wert]);var o=this.getfactor(t);return t.values[O.Plan_berechnet]=o*i*t.values[O.BE_Proz]/100,t.values[O.Plan_berechnet];default:return t.values[O.Plan_berechnet]=t.values[O.Plan_Wert],t.values[O.Plan_berechnet]}}setFormForChildren(t,r){var i=this.getStructureById(t);void 0!==i&&(""==i.form&&(i.form=r),i.children.forEach(o=>this.setFormForChildren(o,i.form)))}isCurrentCostcenter(t){var r=this.getStructureById(t);return void 0!==r&&(""==this.filter.costcenter||""==r.costcenter||r.costcenter==this.filter.costcenter)}setCostcenterFromChildren(t){var r=this.getStructureById(t);if(void 0!==r){if(r.children.length>0){var i=r.children.map(s=>this.setCostcenterFromChildren(s)),o=Array.from(new Set(i));r.costcenter=1==o.length?o.pop():""}return r.costcenter}}hasCostcenter(t,r){var i=this.getStructureById(t);return void 0!==i&&(i.costcenter==r||i.children.length>0&&i.children.filter(s=>this.hasCostcenter(s,r)).length>0)}setFilter(t,r){this.filter[t]=r,this.changeDepartment()}defaultSeasonal(t){for(var r=O.Januar;r<=O.Dezember;r++)t.values[r]=8.3333}isConsolidated(t){return this.getDepartmentById(t).children.length>0}getfactor(t){return t.id.startsWith(this.config.salesbasis)?1:-1}isbasis(t){return t.parents[0]==this.config.basisid}getbasis(t){return t.parents[0]in this.config.withcostcenter&&this.seasonValues.hasOwnProperty(t.text)?this.seasonValues[t.text]:this.basisValue}getlink(t){var r=void 0;return t.id.startsWith(this.config.saleslink)&&(r=this.getStructureById(this.config.salesbasis+t.id.substring(this.config.saleslink.length))),"7"==t.form&&(r=this.getStructureById(t.parents[0])),void 0!==r?r:{text:"",id:"",children:[],children2:[],parents:[],accounts:[],costcenter:"",level:"1",drilldown:!1,form:"1",values:[],values2:{},options:{},sumvalues:[]}}getStructureById(t){return t.startsWith("-")?this.structureIds[t.substring(1)]:this.structureIds[t]}getDepartmentById(t){return this.config.filter.department.find(r=>r.id==t)}form(t){return"?"==t.form||t.id==this.config.root?"?":"1"==t.level&&t.children2.length>0?t.id.startsWith("DB")||""==this.filter.costcenter?"ZS":"ZS2":""==this.filter.costcenter||this.hasCostcenter(t.id,this.filter.costcenter)?0==t.accounts.length?"S":this.accountlevel(!1)+this.absolute(t.options[this.filter.department].absolute)+this.seasonal(t):"?"}rowform(t){return"?"==this.form(t)?"?":t.options[this.filter.department].planlevel?this.config.display.readonly||"2"==t.options[this.filter.department].status?"VIEW":"EDIT":t.accounts.length>0?"VIEW":"SUM"}formstyle(t){return"form-"+this.accountlevel(!1)+" form-"+this.absolute(t.options[this.filter.department].absolute)+" form-"+this.seasonal(t)}accountform(t){return"blank"}accountlevel(t){return t?"K":"Z"}absolute(t){return t?"A":"P"}seasonal(t){return t.options[this.filter.department].seasonal?"S":["2","3"].includes(t.form)?"Q":"M"}showsub(t){return 0==t.parents.length||t.parents.map(r=>this.structure.find(i=>i.id==r)).every(r=>void 0===r||r.drilldown)}showquantity(t){return t.id.startsWith(this.config.salesbasis)}toggle(t){"readonly"==t&&0==this.getDepartmentById(this.filter.department).children.length&&(this.config.display.readonly=!this.config.display.readonly)}changeDepartment(){this.isConsolidated(this.filter.department)?this.calculateConsolidatedDepartment():this.structure.forEach(t=>{this.filter.department in t.values2||(t.values2[this.filter.department]=Array(30).fill(0)),t.values=t.values2[this.filter.department]}),this.setSumFromChildren(this.config.root),this.defaultSeasonal(this.basisValue),this.basisValue.children.map(t=>this.getStructureById(t)).forEach(t=>{t.values[O.Januar]<=0&&this.defaultSeasonal(t),this.seasonValues[t.text]=t})}calculateConsolidatedDepartment(){this.structure.forEach(t=>{this.config.display.readonly=!0,t.values=Array(30).fill(0);var r=0;t.options[this.filter.department].status="2",this.getDepartmentById(this.filter.department).children.forEach(i=>{i in t.values2&&(r+=1,t.values2[i].forEach((o,s)=>t.values[s]+=o),t.values[O.frei19]+=t.values2[i][O.Plan_Stk]*t.values2[i][O.VAK],t.options[i].status<t.options[this.filter.department].status&&(t.options[this.filter.department].status=t.options[i].status))}),"3"==t.form&&(t.values[O.BE_Proz]=100*(t.values[O.Plan_berechnet]-t.values[O.frei19])/t.values[O.Plan_berechnet],t.values[O.VAK]=t.values[O.frei19]/t.values[O.Plan_Stk]),"2"==t.form&&(t.values[O.VAK]=t.values[O.Plan_berechnet]/t.values[O.Plan_Stk]),"7"==t.form&&(t.values[O.BE_Proz]=t.values[O.BE_Proz]/r)})}ngOnInit(){this.file={year:this.route.snapshot.paramMap.get("year"),version:this.route.snapshot.paramMap.get("version"),timestamp:this.route.snapshot.paramMap.get("timestamp")},this.user=JSON.parse(sessionStorage.getItem("user")),(null==this.user||null==this.user.lastname)&&this.logout(),this.seasonValues={},this.http.get(this.webservice+"/config").subscribe(t=>{this.config=t.config,this.user.department.length>0&&(this.config.filter.department=this.config.filter.department.filter(r=>this.user.department.includes(r.id)),this.filter.department=this.config.filter.department[0].id),this.user.costcenter.length>0&&(this.config.filter.costcenter=this.config.filter.costcenter.filter(r=>this.user.costcenter.includes(r)),this.filter.costcenter=this.config.filter.costcenter[0]),this.user.write||(this.config.display.readonly=!0),this.load(this.file)})}mapaccounts(){this.structure.forEach(t=>{this.structureIds[t.id]=t}),this.basisValue=this.getStructureById(this.config.basisid),this.setFormForChildren(this.config.root,"1"),Object.keys(this.config.specials).forEach(t=>this.getStructureById(t).children2=this.config.specials[t]),this.setCostcenterFromChildren(this.config.root)}load(t){this.http.get(this.webservice+"/load/"+t.year+"/"+t.version+"/"+t.timestamp).subscribe(r=>{this.structure=r,this.mapaccounts(),this.changeDepartment()})}save(){this.http.post(this.webservice+"/save/"+this.file.year+"/"+this.file.version,{data:this.structure}).subscribe(t=>{})}csvExport(){this.http.get(this.webservice+"/export/"+this.file.year+"/"+this.file.version+"/"+this.file.timestamp).subscribe(t=>{this.downloadFile(t,this.file.year+"_"+this.file.version+".csv")})}logout(){sessionStorage.clear(),this.router.navigate(["/login"])}versionSelect(){this.router.navigate(["/select"])}downloadFile(t,r="data"){var i=new Blob(["\ufeff"+t],{type:"text/csv;charset=utf-8;"}),o=URL.createObjectURL(i),s=document.createElement("a");-1!=navigator.userAgent.indexOf("Safari")&&-1==navigator.userAgent.indexOf("Chrome")&&s.setAttribute("target","_blank"),s.setAttribute("href",o),s.setAttribute("download",r+".csv"),s.style.visibility="hidden",document.body.appendChild(s),s.click(),document.body.removeChild(s)}}return e.\u0275fac=function(t){return new(t||e)(M(Ro),M(sr),M(je),M(xf))},e.\u0275cmp=$e({type:e,selectors:[["app-planung"]],decls:131,vars:3,consts:[[1,"navbar","pcoded-header","navbar-expand-lg","header-dark","headerpos-fixed"],[1,"m-header"],["id","mobile-collapse1","href","#!",1,"mobile-menu"],["href","index.html",1,"b-brand"],[1,"b-bg"],[1,"b-title"],["id","mobile-header","href","#!",1,"mobile-menu"],[1,"feather","icon-more-horizontal"],[1,"collapse","navbar-collapse"],["href","#!",1,"mob-toggler"],[1,"navbar-nav","mr-auto"],[1,"page-header"],[1,"page-block"],[1,"row","align-items-left"],[1,"col-md-2"],[1,"page-header-title"],["src","assets/images/BMW-Autohaus.png","height","40"],["class","navbar-nav ml-auto",4,"ngIf"],["role","alert","aria-live","assertive","data-delay","5000","aria-atomic","true",1,"toast","toast-5s","fade","hide"],[1,"toast-header"],["src","../assets/images/favicon.ico","alt","",1,"img-fluid","m-r-5",2,"width","20px"],[1,"mr-auto"],[1,"text-muted"],["type","button","data-dismiss","toast","aria-label","Close",1,"m-l-5","mb-1","mt-1","close"],[1,"toast-body"],["class","row",4,"ngIf"],["id","print","tabindex","-1","role","dialog",1,"modal"],["role","document",1,"modal-dialog","modal-lg"],[1,"modal-content"],[1,"modal-header"],[1,"modal-title"],["type","button","data-dismiss","modal","aria-label","Close",1,"close"],["aria-hidden","true"],[1,"modal-body"],[1,"row"],[1,"col-lg-4","col-sm-6"],[1,"thumbnail","mb-4"],[1,"thumb"],["href",""],["src","assets/images/reports/1.1.1 Umsatz - DB 3 gesamt Vormonat.gif","alt","",1,"img-fluid","img-thumbnail"],["src","assets/images/reports/1.1.2 Umsatz - DB 3 gesamt aktuell.gif","alt","",1,"img-fluid","img-thumbnail"],["src","assets/images/reports/1.1.3 Ergebnis Vormonat.gif","alt","",1,"img-fluid","img-thumbnail"],["src","assets/images/reports/1.1.4 Ergebnis aktueller Monat.gif","alt","",1,"img-fluid","img-thumbnail"],["src","assets/images/reports/1.1.11 Ergebnis Vorjahr.gif","alt","",1,"img-fluid","img-thumbnail"],[1,"modal-footer"],["type","button","data-dismiss","modal",1,"btn","btn-secondary"],["id","confirmExport","tabindex","-1","role","dialog",1,"modal"],["role","document",1,"modal-dialog"],["type","button",1,"btn","btn-primary","mr-0"],["id","confirmSave","tabindex","-1","role","dialog",1,"modal"],["type","button","data-dismiss","modal",1,"btn","btn-secondary",3,"click"],["type","button",1,"btn","btn-primary","mr-0",3,"click"],["id","copyVersion","tabindex","-1","role","dialog",1,"modal"],[1,"form-group"],["for","recipient-name",1,"col-form-label"],["type","text","id","recipient-name",1,"form-control",3,"value"],[1,"navbar-nav","ml-auto"],[1,"col-md-4"],[1,"btn-group","mb-2","mr-2","show"],["type","button","data-toggle","dropdown","aria-haspopup","true","aria-expanded","true",1,"btn","btn-secondary","dropdown-toggle"],[1,"feather","icon-layers"],[1,"dropdown-menu"],["class","dropdown-item",4,"ngFor","ngForOf"],[1,"switch","switch-info","d-inline","m-r-10"],["type","checkbox","id","switch-i-1",3,"disabled","ngModel","change"],["for","switch-i-1",1,"cr"],["type","checkbox","id","switch-i-2",3,"ngModel","change"],["for","switch-i-2",1,"cr"],["type","checkbox","id","switch-i-3",3,"ngModel","change"],["for","switch-i-3",1,"cr"],[1,"feather","icon-filter"],["class","dropdown-item",3,"click",4,"ngFor","ngForOf"],["class","dropdown-item",3,"click",4,"ngIf"],["class","dropdown-item",3,"class","click",4,"ngFor","ngForOf"],[1,"btn-group","mb-2","mr-2"],["type","button","class","btn btn-info",3,"click",4,"ngIf"],["type","button","class","btn btn-info",4,"ngIf"],["type","button","data-toggle","dropdown","aria-haspopup","true","aria-expanded","false",1,"btn","btn-info","dropdown-toggle","dropdown-toggle-split"],[1,"sr-only"],[1,"dropdown-menu","dropdown-menu-right"],["class","dropdown-divider",4,"ngIf"],["data-toggle","modal","data-target","#print",1,"dropdown-item"],[1,"dropdown-item",3,"click"],[1,"dropdown-divider"],["class","dropdown-item","data-toggle","modal","data-target","#confirmExport",4,"ngIf"],["class","dropdown-item","data-toggle","modal","data-target","#copyVersion",4,"ngIf"],["data-toggle","modal","data-target","#confirmSave",1,"dropdown-item"],[1,"dropdown-item"],["type","checkbox",3,"id","ngModel","change"],[1,"cr",3,"for"],["type","button",1,"btn","btn-info",3,"click"],[1,"feather","icon-save"],["type","button",1,"btn","btn-info"],[1,"feather","icon-info"],["data-toggle","modal","data-target","#confirmExport",1,"dropdown-item"],["data-toggle","modal","data-target","#copyVersion",1,"dropdown-item"],[1,"col-sm-12"],["role","region","tabindex","0",1,"rowheaders"],["id","scr-vtr-dynamic","role","grid",1,"table","table-bordered","nowrap","dataTable"],[3,"hidden"],[1,"fc",3,"hidden"],[1,"plan"],[1,"seasonal",3,"hidden"],[1,"period13",3,"hidden"],[4,"ngFor","ngForOf"],[3,"hidden","ngClass","class",4,"ngIf"],[3,"hidden","class",4,"ngIf"],[3,"hidden","ngClass"],["class","row-header","scope","row",4,"ngIf"],[1,"text-right",3,"hidden"],[1,"text-right","percent",3,"hidden"],[1,"text-right","fc",3,"hidden"],[1,"text-right"],[1,"text-right","plan"],[1,"text-right","percent"],[4,"ngIf"],[3,"value","s","seasonal","display",4,"ngIf"],[1,"text-right","period13",3,"hidden"],[1,"text-right","period13","percent",3,"hidden"],["scope","row",1,"row-header"],[1,"feather","pointer",3,"ngClass","click"],[1,"mdi","mdi-sigma"],[3,"value","s","seasonal","display"],[3,"s","basis","formchange","filter","display"],[1,"text-right","percent","form-A"],[1,"text-right","percent","form-P"],[3,"s","basis","seasonal","display",4,"ngIf"],[3,"s","seasonal","display",4,"ngIf"],[3,"s","basis","seasonal","display"],[3,"s","seasonal","display"],[3,"s","filter","value",4,"ngIf"],[3,"s",4,"ngIf"],[3,"s","linked",4,"ngIf"],[3,"s","linked","value","factor",4,"ngIf"],[1,"text-right","form-P"],["type","number",1,"text-right","input-sm",3,"ngModel","ngModelChange"],["type","number",1,"text-right",3,"ngModel","ngModelChange"],[3,"s","filter","value"],[3,"s"],[3,"s","linked"],[3,"s","linked","value","factor"]],template:function(t,r){1&t&&(h(0,"header",0)(1,"div",1)(2,"a",2),b(3,"span"),p(),h(4,"a",3)(5,"div",4),m(6," GC "),p(),h(7,"span",5),m(8,"Global Cube"),p()()(),h(9,"a",6),b(10,"i",7),p(),h(11,"div",8),b(12,"a",9),h(13,"ul",10)(14,"li")(15,"div",11)(16,"div",11)(17,"div",12)(18,"div",13)(19,"div",14)(20,"div",15),b(21,"img",16),p()()()()()()()(),q(22,rx,68,19,"ul",17),p()(),h(23,"div",18)(24,"div",19),b(25,"img",20),h(26,"strong",21),m(27,"Bootstrap 5s"),p(),h(28,"small",22),m(29,"11 mins ago"),p(),h(30,"button",23)(31,"span"),m(32,"\xd7"),p()()(),h(33,"div",24),m(34," Hello, world! This is a toast message. "),p()(),q(35,Fx,123,68,"div",25),h(36,"div",26)(37,"div",27)(38,"div",28)(39,"div",29)(40,"h5",30),m(41,"Druckansicht / Reports"),p(),h(42,"button",31)(43,"span",32),m(44,"\xd7"),p()()(),h(45,"div",33)(46,"div",34)(47,"div",35)(48,"div",36)(49,"div",37)(50,"a",38),b(51,"img",39),p()()()(),h(52,"div",35)(53,"div",36)(54,"div",37)(55,"a",38),b(56,"img",40),p()()()(),h(57,"div",35)(58,"div",36)(59,"div",37)(60,"a",38),b(61,"img",41),p()()()(),h(62,"div",35)(63,"div",36)(64,"div",37)(65,"a",38),b(66,"img",42),p()()()(),h(67,"div",35)(68,"div",36)(69,"div",37)(70,"a",38),b(71,"img",43),p()()()()()(),h(72,"div",44)(73,"button",45),m(74,"Abbrechen"),p()()()()(),h(75,"div",46)(76,"div",47)(77,"div",28)(78,"div",29)(79,"h5",30),m(80,"Export zu MIS"),p(),h(81,"button",31)(82,"span",32),m(83,"\xd7"),p()()(),h(84,"div",33)(85,"p"),m(86,"M\xf6chten Sie die aktuelle Version ins MIS exportieren?"),p(),h(87,"p"),m(88,"Bitte beachten Sie: Die \xc4nderungen sind erst ab morgen im MIS sichtbar."),p()(),h(89,"div",44)(90,"button",45),m(91,"Abbrechen"),p(),h(92,"button",48),m(93,"Speichern"),p()()()()(),h(94,"div",49)(95,"div",47)(96,"div",28)(97,"div",29)(98,"h5",30),m(99,"Aktuelle \xc4nderungen"),p(),h(100,"button",31)(101,"span",32),m(102,"\xd7"),p()()(),h(103,"div",33)(104,"p"),m(105,"M\xf6chten Sie die \xc4nderungen speichern?"),p()(),h(106,"div",44)(107,"button",50),N("click",function(){return r.save(),r.versionSelect()}),m(108,"Verwerfen"),p(),h(109,"button",51),N("click",function(){return r.versionSelect()}),m(110,"Speichern"),p()()()()(),h(111,"div",52)(112,"div",47)(113,"div",28)(114,"div",29)(115,"h5",30),m(116,"Version kopieren"),p(),h(117,"button",31)(118,"span",32),m(119,"\xd7"),p()()(),h(120,"div",33)(121,"form")(122,"div",53)(123,"label",54),m(124,"Name der neuen Version:"),p(),b(125,"input",55),p()()(),h(126,"div",44)(127,"button",45),m(128,"Abbrechen"),p(),h(129,"button",48),m(130,"Speichern"),p()()()()()),2&t&&(d(22),g("ngIf",null!=r.config),d(13),g("ngIf",null!=r.config&&null!=r.structure),d(90),mc("value",r.file.version))}}),e})();const Px=[{path:"login",component:BO},{path:"select",component:GO},{path:"planung",component:kf},{path:"planner/:year/:version/:timestamp",component:kf},{path:"",redirectTo:"/login",pathMatch:"full"}];let Rx=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Ot({type:e}),e.\u0275inj=Ct({imports:[T0.forRoot(Px),T0]}),e})(),Ox=(()=>{class e{constructor(t){this.title="Global Cube",this.title=t.data.title}}return e.\u0275fac=function(t){return new(t||e)(M(xf))},e.\u0275cmp=$e({type:e,selectors:[["app-root"]],decls:283,vars:0,consts:[[1,"header-user-list"],["href","#!",1,"h-close-text"],[1,"feather","icon-x"],["id","chatTab","role","tablist",1,"nav","nav-tabs"],[1,"nav-item"],["id","chat-tab","data-toggle","tab","href","#chat","role","tab","aria-controls","chat","aria-selected","false",1,"nav-link","text-uppercase"],[1,"feather","icon-message-circle","mr-2"],["id","user-tab","data-toggle","tab","href","#user","role","tab","aria-controls","user","aria-selected","false",1,"nav-link","text-uppercase"],[1,"feather","icon-users","mr-2"],["id","setting-tab","data-toggle","tab","href","#setting","role","tab","aria-controls","setting","aria-selected","true",1,"nav-link","text-uppercase","active"],[1,"feather","icon-settings","mr-2"],["id","chatTabContent",1,"tab-content"],["id","chat","role","tabpanel","aria-labelledby","chat-tab",1,"tab-pane","fade"],[1,"h-list-header"],[1,"input-group"],["type","text","id","search-friends","placeholder","Search Friend . . .",1,"form-control"],[1,"h-list-body"],[1,"main-friend-cont","scroll-div","ps","ps--active-y"],[1,"main-friend-list"],["data-id","1","data-status","online","data-username","Josephin Doe",1,"media","userlist-box"],["href","#!",1,"media-left"],["src","../assets/images/user/avatar-1.jpg","alt","Generic placeholder image ",1,"media-object","img-radius"],[1,"live-status"],[1,"media-body"],[1,"chat-header"],[1,"d-block","text-c-green"],["data-id","2","data-status","online","data-username","Lary Doe",1,"media","userlist-box"],["src","../assets/images/user/avatar-2.jpg","alt","Generic placeholder image",1,"media-object","img-radius"],["data-id","3","data-status","online","data-username","Alice",1,"media","userlist-box"],["src","../assets/images/user/avatar-3.jpg","alt","Generic placeholder image",1,"media-object","img-radius"],["data-id","4","data-status","offline","data-username","Alia",1,"media","userlist-box"],["src","../assets/images/user/avatar-1.jpg","alt","Generic placeholder image",1,"media-object","img-radius"],[1,"d-block","text-muted"],["data-id","5","data-status","offline","data-username","Suzen",1,"media","userlist-box"],["src","../assets/images/user/avatar-4.jpg","alt","Generic placeholder image",1,"media-object","img-radius"],[1,"ps__rail-x",2,"left","0px","bottom","0px"],["tabindex","0",1,"ps__thumb-x",2,"left","0px","width","0px"],[1,"ps__rail-y",2,"top","0px","right","0px","height","468px"],["tabindex","0",1,"ps__thumb-y",2,"top","0px","height","210px"],["id","user","role","tabpanel","aria-labelledby","user-tab",1,"tab-pane","fade"],[1,"main-friend-cont","scroll-div","ps"],[1,"media","px-3","d-flex","align-items-center","mt-3"],["href","#!",1,"media-left","m-r-15"],[1,"hei-50","wid-50","bg-primary","img-radius","d-flex","text-white","f-22","align-items-center","justify-content-center"],[1,"icon","feather","icon-users"],[1,"chat-header","f-w-600","mb-0"],[1,"media","p-3","d-flex","align-items-center"],[1,"icon","feather","icon-user-plus"],[1,"d-block"],[1,"hei-50","wid-50","img-radius","bg-success","d-flex","text-white","f-22","align-items-center","justify-content-center"],[1,"hei-50","wid-50","bg-danger","img-radius","d-flex","text-white","f-22","align-items-center","justify-content-center"],[1,"ps__rail-y",2,"top","0px","right","0px"],["tabindex","0",1,"ps__thumb-y",2,"top","0px","height","0px"],["id","setting","role","tabpanel","aria-labelledby","setting-tab",1,"tab-pane","fade","active","show"],[1,"p-4","main-friend-cont","scroll-div","ps","ps--active-y"],[1,"mt-2"],[1,"feather","icon-monitor","mr-2"],[1,"form-group","mb-0"],[1,"switch","switch-primary","d-inline","m-r-10"],["type","checkbox","id","cn-p-1","checked",""],["for","cn-p-1",1,"cr"],[1,"f-w-600"],[1,"text-muted","ml-5"],["type","checkbox","id","cn-p-5"],["for","cn-p-5",1,"cr"],[1,"mb-0","mt-5"],[1,"feather","icon-layout","mr-2"],["type","checkbox","id","cn-p-3","checked",""],["for","cn-p-3",1,"cr"],[1,"text-muted","mb-0","ml-5"],[1,"form-group","mb-4"],["type","checkbox","id","cn-p-4","checked",""],["for","cn-p-4",1,"cr"],[1,"feather","icon-globe","mr-2"],["type","checkbox","id","cn-p-2"],["for","cn-p-2",1,"cr"],[1,"ps__rail-y",2,"top","0px","right","0px","height","538px"],["tabindex","0",1,"ps__thumb-y",2,"top","0px","height","448px"]],template:function(t,r){1&t&&(h(0,"section",0)(1,"a",1),b(2,"i",2),p(),h(3,"ul",3)(4,"li",4)(5,"a",5),b(6,"i",6),m(7,"Chat"),p()(),h(8,"li",4)(9,"a",7),b(10,"i",8),m(11,"User"),p()(),h(12,"li",4)(13,"a",9),b(14,"i",10),m(15,"Setting"),p()()(),h(16,"div",11)(17,"div",12)(18,"div",13)(19,"div",14),b(20,"input",15),p()(),h(21,"div",16)(22,"div",17)(23,"div",18)(24,"div",19)(25,"a",20),b(26,"img",21),h(27,"div",22),m(28,"3"),p()(),h(29,"div",23)(30,"h6",24),m(31,"Josephin Doe"),h(32,"small",25),m(33,"Typing . . "),p()()()(),h(34,"div",26)(35,"a",20),b(36,"img",27),h(37,"div",22),m(38,"1"),p()(),h(39,"div",23)(40,"h6",24),m(41,"Lary Doe"),h(42,"small",25),m(43,"online"),p()()()(),h(44,"div",28)(45,"a",20),b(46,"img",29),p(),h(47,"div",23)(48,"h6",24),m(49,"Alice"),h(50,"small",25),m(51,"online"),p()()()(),h(52,"div",30)(53,"a",20),b(54,"img",31),h(55,"div",22),m(56,"1"),p()(),h(57,"div",23)(58,"h6",24),m(59,"Alia"),h(60,"small",32),m(61,"10 min ago"),p()()()(),h(62,"div",33)(63,"a",20),b(64,"img",34),p(),h(65,"div",23)(66,"h6",24),m(67,"Suzen"),h(68,"small",32),m(69,"15 min ago"),p()()()(),h(70,"div",19)(71,"a",20),b(72,"img",21),h(73,"div",22),m(74,"3"),p()(),h(75,"div",23)(76,"h6",24),m(77,"Josephin Doe"),h(78,"small",25),m(79,"Typing . . "),p()()()(),h(80,"div",26)(81,"a",20),b(82,"img",27),h(83,"div",22),m(84,"1"),p()(),h(85,"div",23)(86,"h6",24),m(87,"Lary Doe"),h(88,"small",25),m(89,"online"),p()()()(),h(90,"div",28)(91,"a",20),b(92,"img",29),p(),h(93,"div",23)(94,"h6",24),m(95,"Alice"),h(96,"small",25),m(97,"online"),p()()()(),h(98,"div",30)(99,"a",20),b(100,"img",31),h(101,"div",22),m(102,"1"),p()(),h(103,"div",23)(104,"h6",24),m(105,"Alia"),h(106,"small",32),m(107,"10 min ago"),p()()()(),h(108,"div",33)(109,"a",20),b(110,"img",34),p(),h(111,"div",23)(112,"h6",24),m(113,"Suzen"),h(114,"small",32),m(115,"15 min ago"),p()()()(),h(116,"div",19)(117,"a",20),b(118,"img",21),h(119,"div",22),m(120,"3"),p()(),h(121,"div",23)(122,"h6",24),m(123,"Josephin Doe"),h(124,"small",25),m(125,"Typing . . "),p()()()(),h(126,"div",26)(127,"a",20),b(128,"img",27),h(129,"div",22),m(130,"1"),p()(),h(131,"div",23)(132,"h6",24),m(133,"Lary Doe"),h(134,"small",25),m(135,"online"),p()()()(),h(136,"div",28)(137,"a",20),b(138,"img",29),p(),h(139,"div",23)(140,"h6",24),m(141,"Alice"),h(142,"small",25),m(143,"online"),p()()()()(),h(144,"div",35),b(145,"div",36),p(),h(146,"div",37),b(147,"div",38),p()()()(),h(148,"div",39)(149,"div",16)(150,"div",40)(151,"div",18)(152,"div",41)(153,"a",42)(154,"div",43),b(155,"i",44),p()(),h(156,"div",23)(157,"p",45),m(158,"New Group"),p()()(),h(159,"div",46)(160,"a",42)(161,"div",43),b(162,"i",47),p()(),h(163,"div",23)(164,"p",45),m(165,"New Contact"),p()()(),h(166,"div",19)(167,"a",20),b(168,"img",21),p(),h(169,"div",23)(170,"p",24),m(171,"Josephin Doe"),h(172,"small",48),m(173,"i am not what happened . ."),p()()()(),h(174,"div",26)(175,"a",20),b(176,"img",27),p(),h(177,"div",23)(178,"h6",24),m(179,"Lary Doe"),h(180,"small",48),m(181,"Avalable"),p()()()(),h(182,"div",28)(183,"a",20),b(184,"img",29),p(),h(185,"div",23)(186,"h6",24),m(187,"Alice"),h(188,"small",48),m(189,"hear using Elite able"),p()()()(),h(190,"div",30)(191,"a",20)(192,"div",49),m(193,"A"),p()(),h(194,"div",23)(195,"h6",24),m(196,"Alia"),h(197,"small",32),m(198,"Avalable"),p()()()(),h(199,"div",33)(200,"a",20),b(201,"img",34),p(),h(202,"div",23)(203,"h6",24),m(204,"Suzen"),h(205,"small",32),m(206,"Avalable"),p()()()(),h(207,"div",19)(208,"a",20)(209,"div",50),m(210,"JD"),p()(),h(211,"div",23)(212,"h6",24),m(213,"Josephin Doe"),h(214,"small",32),m(215,"Don't send me image"),p()()()(),h(216,"div",26)(217,"a",20),b(218,"img",27),p(),h(219,"div",23)(220,"h6",24),m(221,"Lary Doe"),h(222,"small",32),m(223,"not send free msg"),p()()()()(),h(224,"div",35),b(225,"div",36),p(),h(226,"div",51),b(227,"div",52),p()()()(),h(228,"div",53)(229,"div",54)(230,"h6",55),b(231,"i",56),m(232,"Desktop settings"),p(),b(233,"hr"),h(234,"div",57)(235,"div",58),b(236,"input",59)(237,"label",60),p(),h(238,"label",61),m(239,"Allow desktop notification"),p()(),h(240,"p",62),m(241,"you get lettest content at a time when data will updated"),p(),h(242,"div",57)(243,"div",58),b(244,"input",63)(245,"label",64),p(),h(246,"label",61),m(247,"Store Cookie"),p()(),h(248,"h6",65),b(249,"i",66),m(250,"Application settings"),p(),b(251,"hr"),h(252,"div",57)(253,"div",58),b(254,"input",67)(255,"label",68),p(),h(256,"label",61),m(257,"Backup Storage"),p()(),h(258,"p",69),m(259,"Automaticaly take backup as par schedule"),p(),h(260,"div",70)(261,"div",58),b(262,"input",71)(263,"label",72),p(),h(264,"label",61),m(265,"Allow guest to print file"),p()(),h(266,"h6",65),b(267,"i",73),m(268,"System settings"),p(),b(269,"hr"),h(270,"div",57)(271,"div",58),b(272,"input",74)(273,"label",75),p(),h(274,"label",61),m(275,"View other user chat"),p()(),h(276,"p",62),m(277,"Allow to show public user message"),p(),h(278,"div",35),b(279,"div",36),p(),h(280,"div",76),b(281,"div",77),p()()()()(),b(282,"router-outlet"))},dependencies:[Df]}),e})();!function(e){e.ng=e.ng||{},e.ng.common=e.ng.common||{},e.ng.common.locales=e.ng.common.locales||{};const n=void 0;e.ng.common.locales.de=["de",[["AM","PM"],n,n],n,[["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."],n,n],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}",n,"{1} 'um' {0}",n],[",",".",";","%","+","-","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:[n,"\u0440."],CUC:[n,"Cub$"],DEM:["DM"],FKP:[n,"Fl\xa3"],GHS:[n,"\u20b5"],GNF:[n,"F.G."],KMF:[n,"FC"],PHP:[n,"\u20b1"],RON:[n,"L"],RUR:[n,"\u0440."],RWF:[n,"F.Rw"],SYP:[],THB:["\u0e3f"],TWD:["NT$"],XXX:[],ZMW:[n,"K"]},"ltr",function t(r){const o=Math.floor(Math.abs(r)),s=r.toString().replace(/^[^.]*\.?/,"").length;return 1===o&&0===s?1:5},[[["Mitternacht","morgens","vorm.","mittags","nachm.","abends","nachts"],n,["Mitternacht","morgens","vormittags","mittags","nachmittags","abends","nachts"]],[["Mitternacht","Morgen","Vorm.","Mittag","Nachm.","Abend","Nacht"],n,["Mitternacht","Morgen","Vormittag","Mittag","Nachmittag","Abend","Nacht"]],["00:00",["05:00","10:00"],["10:00","12:00"],["12:00","13:00"],["13:00","18:00"],["18:00","24:00"],["00:00","05:00"]]]]}("undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof global&&global||"undefined"!=typeof window&&window);const xx=function(e,n){return{"icon-chevron-right":e,"icon-chevron-down":n}};function kx(e,n){if(1&e){const t=At();h(0,"th",6)(1,"i",7),N("click",function(){Te(t);const i=k();return Ne(i.s.drilldown=!i.s.drilldown)}),p(),m(2),p()}if(2&e){const t=k();d(1),g("ngClass",_o(2,xx,!t.s.drilldown,t.s.drilldown)),d(1),le(" \xa0\xa0 ",t.s.text,"\n")}}function Lx(e,n){if(1&e&&(h(0,"th",6),b(1,"i",8),m(2),p()),2&e){const t=k();d(2),le(" \xa0\xa0 ",t.s.text,"\n")}}const Vx=function(){return["2","3","4","6","7"]},jx=function(e,n){return{"btn-secondary":e,"btn-danger":n}},Bx=function(){return["4","6"]},$x=function(e,n){return{"btn-secondary":e,"btn-primary":n}};function Hx(e,n){if(1&e){const t=At();h(0,"td")(1,"div",9)(2,"button",10),N("click",function(){return Te(t),Ne(k().formtoggle())}),m(3),p(),h(4,"button",11),N("click",function(){return Te(t),Ne(k().toggle("absolute"))}),m(5),p(),h(6,"button",12),N("click",function(){return Te(t),Ne(k().toggle("seasonal"))}),m(7),p(),h(8,"button",13),N("click",function(){return Te(t),Ne(k().statustoggle())}),b(9,"i"),p()()()}if(2&e){const t=k();d(2),vc("title","Formular #",t.s.form," ",t.formtext(t.s.form),""),g("hidden",!t.formchange),d(1),C(t.s.form),d(1),g("hidden",Rn(16,Vx).includes(t.s.form)||t.showquantity())("ngClass",_o(17,jx,t.s.options[t.filter.department].absolute,!t.s.options[t.filter.department].absolute)),d(1),C(t.absolute(t.s)),d(1),g("hidden",Rn(20,Bx).includes(t.s.form))("ngClass",_o(21,$x,t.s.options[t.filter.department].seasonal,!t.s.options[t.filter.department].seasonal)),d(1),C(t.seasonal(t.s)),d(1),ho("btn btn-icon ",t.statuscolor[t.s.options[t.filter.department].status],""),d(1),ho("mdi ",t.statusicon[t.s.options[t.filter.department].status],"")}}function Ux(e,n){if(1&e){const t=At();h(0,"td")(1,"div",9)(2,"button",14),N("click",function(){return Te(t),Ne(k().planlevel())}),b(3,"i",15),p()()()}}let Gx=(()=>{class e{constructor(t){this.el=t,this.values=O,this.form=["1","2","3","4","5","6","7"],this.status=["0","1","2"],this.statusicon={0:"mdi-arrow-right-bold-outline",1:"mdi-help",2:"mdi-check",3:"mdi-autorenew",4:"mdi-alert-circle",5:"mdi-border-color",6:"mdi-phone-classic",7:"mdi-eye",8:"mdi-calendar-clock",9:"mdi-checkbox-marked-circle"},this.statuscolor={0:"btn-danger",1:"btn-warning",2:"btn-success"}}ngOnInit(){for(var t=this.el.nativeElement,r=t.parentElement;t.firstChild;)r.insertBefore(t.firstChild,t);r.removeChild(t)}accountlevel(t){return t?"K":"Z"}absolute(t){return t.options[this.filter.department].absolute?"A":"P"}seasonal(t){return t.options[this.filter.department].seasonal?"S":["2","3"].includes(t.form)?"Q":"M"}toggle(t){"seasonal"==t&&(this.s.options[this.filter.department].seasonal=!this.s.options[this.filter.department].seasonal),"absolute"==t&&(this.s.options[this.filter.department].absolute=!this.s.options[this.filter.department].absolute)}formtoggle(){this.s.form=this.form[(this.form.indexOf(this.s.form)+1)%this.form.length]}statustoggle(){this.s.options[this.filter.department].status=this.status[(this.status.indexOf(this.s.options[this.filter.department].status)+1)%this.status.length]}showquantity(){return this.s.id.startsWith("Umsatzerl\xf6se;")}sumpercent(t,r){return 100*t.sumvalues[r]/this.basis.sumvalues[r]}formtext(t){switch(t){case"1":return"Einfache Eingabe Planzahl - absolut oder prozentual zum FC";case"2":return"Berechnung \xfcber St\xfcckzahl und Preis/Stk";case"3":return"Umsatzerl\xf6s \xfcber St\xfcck, VAK/Stk und BE in %";case"4":return"Gegenbuchung zu Umsatzerl\xf6s (Formular 3)";case"5":return"Planzahl (absolut) und BE in % f\xfcr Berechnung Materialaufwand";case"6":return"Gegenbuchung zu Umsatzerl\xf6s (Formular 5)";case"7":return"Prozentuale Bonusberechnung"}return""}planlevel(){console.log(this.s.text)}}return e.\u0275fac=function(t){return new(t||e)(M(_e))},e.\u0275cmp=$e({type:e,selectors:[["app-row-header"]],inputs:{s:"s",basis:"basis",formchange:"formchange",filter:"filter",display:"display"},decls:54,vars:84,consts:[["class","row-header","scope","row",4,"ngIf"],[1,"text-right",3,"hidden"],[3,"hidden"],[1,"text-right","percent",3,"hidden"],[1,"text-right","fc",3,"hidden"],[4,"ngIf"],["scope","row",1,"row-header"],[1,"feather","pointer",3,"ngClass","click"],[1,"feather","icon-corner-down-right"],["role","group","aria-label","button groups sm",1,"btn-group","btn-group-sm"],["type","button","data-toggle","tooltip","data-placement","bottom","tabindex","-1",1,"btn","btn-info","period13",3,"title","hidden","click"],["type","button","data-toggle","tooltip","data-placement","bottom","title","Eingabe Absolutwert oder<br/>Prozentuale Ver\xe4nderung zum FC","tabindex","-1",1,"btn","form-Z",3,"hidden","ngClass","click"],["type","button","data-toggle","tooltip","data-placement","bottom","title","Automatische Saisonalisierung oder manuelle Verteilung","tabindex","-1",1,"btn",3,"hidden","ngClass","click"],["type","button","data-toggle","tooltip","data-placement","bottom","title","Bearbeitungsstand","tabindex","-1",3,"click"],["type","button","tabindex","-1",1,"btn","btn-secondary",3,"click"],[1,"feather","icon-edit-1"]],template:function(t,r){1&t&&(q(0,kx,3,5,"th",0),q(1,Lx,3,1,"th",0),h(2,"td",1)(3,"span",2),m(4),w(5,"number"),p()(),h(6,"td",1),m(7),w(8,"number"),p(),h(9,"td",3),m(10),w(11,"number"),p(),h(12,"td",1)(13,"span",2),m(14),w(15,"number"),p()(),h(16,"td",1),m(17),w(18,"number"),p(),h(19,"td",3),m(20),w(21,"number"),p(),h(22,"td",1)(23,"span",2),m(24),w(25,"number"),p()(),h(26,"td",1),m(27),w(28,"number"),p(),h(29,"td",3),m(30),w(31,"number"),p(),h(32,"td",1)(33,"span",2),m(34),w(35,"number"),p()(),h(36,"td",4),m(37),w(38,"number"),p(),h(39,"td",3),m(40),w(41,"number"),p(),h(42,"td",1)(43,"span",2),m(44),w(45,"number"),p()(),h(46,"td",1),m(47),w(48,"number"),p(),h(49,"td",3),m(50),w(51,"number"),p(),q(52,Hx,10,24,"td",5),q(53,Ux,4,0,"td",5)),2&t&&(g("ngIf",r.s.options[r.filter.department].planlevel),d(1),g("ngIf",!r.s.options[r.filter.department].planlevel),d(1),g("hidden",!r.display.previous[0]),d(1),g("hidden",!r.showquantity()),d(1),C(E(5,39,r.s.sumvalues[r.values.VJ_Stk],"1.0-0")),d(2),g("hidden",!r.display.previous[0]),d(1),C(E(8,42,r.s.sumvalues[r.values.VJ_Wert],"1.0-0")),d(2),g("hidden",!r.display.previous[0]),d(1),C(E(11,45,r.sumpercent(r.s,r.values.VJ_Wert),"1.3-3")),d(2),g("hidden",!r.display.previous[1]),d(1),g("hidden",!r.showquantity()),d(1),C(E(15,48,r.s.sumvalues[r.values.Plan_VJ_Stk],"1.0-0")),d(2),g("hidden",!r.display.previous[1]),d(1),C(E(18,51,r.s.sumvalues[r.values.Plan_VJ_Wert],"1.0-0")),d(2),g("hidden",!r.display.previous[1]),d(1),C(E(21,54,r.sumpercent(r.s,r.values.Plan_VJ_Wert),"1.3-3")),d(2),g("hidden",!r.display.previous[2]),d(1),g("hidden",!r.showquantity()),d(1),C(E(25,57,r.s.sumvalues[r.values.AJ_Okt_Stk],"1.0-0")),d(2),g("hidden",!r.display.previous[2]),d(1),C(E(28,60,r.s.sumvalues[r.values.AJ_Okt_Wert],"1.0-0")),d(2),g("hidden",!r.display.previous[2]),d(1),C(E(31,63,r.sumpercent(r.s,r.values.AJ_Okt_Wert),"1.3-3")),d(2),g("hidden",!r.display.previous[3]),d(1),g("hidden",!r.showquantity()),d(1),C(E(35,66,r.s.sumvalues[r.values.FC_Stk],"1.0-0")),d(2),g("hidden",!r.display.previous[3]),d(1),C(E(38,69,r.s.sumvalues[r.values.FC_Wert],"1.0-0")),d(2),g("hidden",!r.display.previous[3]),d(1),C(E(41,72,r.sumpercent(r.s,r.values.FC_Wert),"1.3-3")),d(2),g("hidden",!r.display.previous[4]),d(1),g("hidden",!r.showquantity()),d(1),C(E(45,75,r.s.sumvalues[r.values.AJ_kompl_Stk],"1.0-0")),d(2),g("hidden",!r.display.previous[4]),d(1),C(E(48,78,r.s.sumvalues[r.values.AJ_kompl_Wert],"1.0-0")),d(2),g("hidden",!r.display.previous[4]),d(1),C(E(51,81,r.sumpercent(r.s,r.values.AJ_kompl_Wert),"1.3-3")),d(2),g("ngIf",r.s.options[r.filter.department].planlevel),d(1),g("ngIf",!r.s.options[r.filter.department].planlevel))},dependencies:[gd,vd,Tt]}),e})(),zx=(()=>{class e{constructor(t){this.el=t,this.values=O}ngOnInit(){for(var t=this.el.nativeElement,r=t.parentElement;t.firstChild;)r.insertBefore(t.firstChild,t);r.removeChild(t)}sumaccounts(t,r){return 0}absolutevalue(t){return t.options[this.filter.department].absolute?0:(t.values[O.Plan_Wert]=this.value*t.values[O.Plan_Proz_FC]/100,t.values[O.Plan_Wert])}}return e.\u0275fac=function(t){return new(t||e)(M(_e))},e.\u0275cmp=$e({type:e,selectors:[["app-form-no1"]],inputs:{s:"s",value:"value",filter:"filter"},decls:11,vars:9,consts:[[1,"text-right"],[1,"text-right","plan","form-Z","form-A"],["type","number",1,"text-right",3,"ngModel","ngModelChange"],[1,"text-right","plan","form-K"],[1,"text-right","plan","form-Z","form-P"]],template:function(t,r){1&t&&(b(0,"td",0)(1,"td",0)(2,"td",0),h(3,"td",1)(4,"input",2),N("ngModelChange",function(o){return r.s.values[r.values.Plan_Wert]=o}),p()(),h(5,"td",3),m(6),w(7,"number"),p(),h(8,"td",4),m(9),w(10,"number"),p()),2&t&&(d(4),g("ngModel",r.s.values[r.values.Plan_Wert]),d(2),C(E(7,3,r.sumaccounts(r.s,r.values.Plan_Wert),"1.0-0")),d(3),C(E(10,6,r.absolutevalue(r.s),"1.0-0")))},dependencies:[Nt,rn,Ht,Ft,Tt]}),e})(),Wx=(()=>{class e{constructor(t){this.el=t,this.values=O}ngOnInit(){for(var t=this.el.nativeElement,r=t.parentElement;t.firstChild;)r.insertBefore(t.firstChild,t);r.removeChild(t)}}return e.\u0275fac=function(t){return new(t||e)(M(_e))},e.\u0275cmp=$e({type:e,selectors:[["app-form-no2"]],inputs:{s:"s"},decls:8,vars:6,consts:[[1,"text-right"],["type","number",1,"text-right","input-sm",3,"ngModel","ngModelChange"],["type","number",1,"text-right","input-md",3,"ngModel","ngModelChange"],[1,"text-right","plan"]],template:function(t,r){1&t&&(h(0,"td",0)(1,"input",1),N("ngModelChange",function(o){return r.s.values[r.values.Plan_Stk]=o}),p()(),h(2,"td",0)(3,"input",2),N("ngModelChange",function(o){return r.s.values[r.values.VAK]=o}),p()(),b(4,"td"),h(5,"td",3),m(6),w(7,"number"),p()),2&t&&(d(1),g("ngModel",r.s.values[r.values.Plan_Stk]),d(2),g("ngModel",r.s.values[r.values.VAK]),d(3),C(E(7,3,r.s.values[r.values.Plan_Stk]*r.s.values[r.values.VAK],"1.0-0")))},dependencies:[Nt,rn,Ht,Ft,Tt]}),e})(),qx=(()=>{class e{constructor(t){this.el=t,this.values=O}ngOnInit(){for(var t=this.el.nativeElement,r=t.parentElement;t.firstChild;)r.insertBefore(t.firstChild,t);r.removeChild(t)}sumaccounts(t,r){return t.values[r]}}return e.\u0275fac=function(t){return new(t||e)(M(_e))},e.\u0275cmp=$e({type:e,selectors:[["app-form-no3"]],inputs:{s:"s"},decls:12,vars:11,consts:[[1,"text-right","form-Z"],["type","number",1,"text-right","input-sm",3,"ngModel","ngModelChange"],[1,"text-right","form-K"],[1,"text-right"],["type","number",1,"text-right","input-md",3,"ngModel","ngModelChange"],[1,"text-right","plan"]],template:function(t,r){1&t&&(h(0,"td",0)(1,"input",1),N("ngModelChange",function(o){return r.s.values[r.values.Plan_Stk]=o}),p()(),h(2,"td",2),m(3),w(4,"number"),p(),h(5,"td",3)(6,"input",4),N("ngModelChange",function(o){return r.s.values[r.values.VAK]=o}),p()(),h(7,"td",3)(8,"input",4),N("ngModelChange",function(o){return r.s.values[r.values.BE_Proz]=o}),p()(),h(9,"td",5),m(10),w(11,"number"),p()),2&t&&(d(1),g("ngModel",r.s.values[r.values.Plan_Stk]),d(2),C(E(4,5,r.sumaccounts(r.s,r.values.Plan_Stk),"1.0-0")),d(3),g("ngModel",r.s.values[r.values.VAK]),d(2),g("ngModel",r.s.values[r.values.BE_Proz]),d(2),C(E(11,8,r.s.values[r.values.Plan_Stk]*r.s.values[r.values.VAK]/((100-r.s.values[r.values.BE_Proz])/100),"1.0-0")))},dependencies:[Nt,rn,Ht,Ft,Tt]}),e})(),Jx=(()=>{class e{constructor(t){this.el=t,this.values=O}ngOnInit(){for(var t=this.el.nativeElement,r=t.parentElement;t.firstChild;)r.insertBefore(t.firstChild,t);r.removeChild(t)}}return e.\u0275fac=function(t){return new(t||e)(M(_e))},e.\u0275cmp=$e({type:e,selectors:[["app-form-no4"]],inputs:{s:"s",linked:"linked"},decls:8,vars:8,consts:[[1,"text-right"],[1,"text-right","plan"]],template:function(t,r){1&t&&(h(0,"td",0),m(1),w(2,"number"),p(),b(3,"td",0)(4,"td",0),h(5,"td",1),m(6),w(7,"number"),p()),2&t&&(d(1),C(E(2,2,r.linked.values[r.values.Plan_Stk],"1.0-0")),d(5),C(E(7,5,r.linked.values[r.values.Plan_Stk]*r.linked.values[r.values.VAK],"1.0-0")))},dependencies:[Tt]}),e})(),Kx=(()=>{class e{constructor(t){this.el=t,this.values=O}ngOnInit(){for(var t=this.el.nativeElement,r=t.parentElement;t.firstChild;)r.insertBefore(t.firstChild,t);r.removeChild(t)}}return e.\u0275fac=function(t){return new(t||e)(M(_e))},e.\u0275cmp=$e({type:e,selectors:[["app-form-no5"]],inputs:{s:"s"},decls:6,vars:2,consts:[[1,"text-right"],["type","number",1,"text-right","input-md",3,"ngModel","ngModelChange"],[1,"text-right","plan"],["type","number",1,"text-right",3,"ngModel","ngModelChange"]],template:function(t,r){1&t&&(b(0,"td",0)(1,"td",0),h(2,"td",0)(3,"input",1),N("ngModelChange",function(o){return r.s.values[r.values.BE_Proz]=o}),p()(),h(4,"td",2)(5,"input",3),N("ngModelChange",function(o){return r.s.values[r.values.Plan_Wert]=o}),p()()),2&t&&(d(3),g("ngModel",r.s.values[r.values.BE_Proz]),d(2),g("ngModel",r.s.values[r.values.Plan_Wert]))},dependencies:[Nt,rn,Ht,Ft]}),e})(),Qx=(()=>{class e{constructor(t){this.el=t,this.values=O}ngOnInit(){for(var t=this.el.nativeElement,r=t.parentElement;t.firstChild;)r.insertBefore(t.firstChild,t);r.removeChild(t)}}return e.\u0275fac=function(t){return new(t||e)(M(_e))},e.\u0275cmp=$e({type:e,selectors:[["app-form-no6"]],inputs:{s:"s",linked:"linked"},decls:6,vars:4,consts:[[1,"text-right"],[1,"text-right","plan"]],template:function(t,r){1&t&&(b(0,"td",0)(1,"td",0)(2,"td",0),h(3,"td",1),m(4),w(5,"number"),p()),2&t&&(d(4),C(E(5,1,r.linked.values[r.values.Plan_Wert]*(100-r.linked.values[r.values.BE_Proz])/100,"1.0-0")))},dependencies:[Tt]}),e})(),Zx=(()=>{class e{constructor(t){this.el=t,this.values=O}ngOnInit(){for(var t=this.el.nativeElement,r=t.parentElement;t.firstChild;)r.insertBefore(t.firstChild,t);r.removeChild(t)}}return e.\u0275fac=function(t){return new(t||e)(M(_e))},e.\u0275cmp=$e({type:e,selectors:[["app-form-no7"]],inputs:{s:"s",linked:"linked",value:"value",factor:"factor"},decls:7,vars:5,consts:[[1,"text-right"],["type","number",1,"text-right","input-md",3,"ngModel","ngModelChange"],[1,"text-right","plan"]],template:function(t,r){1&t&&(b(0,"td",0)(1,"td",0),h(2,"td",0)(3,"input",1),N("ngModelChange",function(o){return r.s.values[r.values.BE_Proz]=o}),p()(),h(4,"td",2),m(5),w(6,"number"),p()),2&t&&(d(3),g("ngModel",r.s.values[r.values.BE_Proz]),d(2),C(E(6,2,r.s.values[r.values.Plan_berechnet],"1.0-0")))},dependencies:[Nt,rn,Ht,Ft,Tt]}),e})(),Yx=(()=>{class e{constructor(t){this.el=t,this.seasonal=[0,0,0,0,0,0,0,0,0,0,0,0],this.display=!1}ngOnInit(){for(var t=this.el.nativeElement,r=t.parentElement;t.firstChild;)r.insertBefore(t.firstChild,t);r.removeChild(t)}sumyear(t){for(var r=0,i=11;i<=22;i++)r+=t.values[i];return r}diffyear(t){for(var r=0,i=11;i<22;i++)r+=t.values[i];return 100-r}}return e.\u0275fac=function(t){return new(t||e)(M(_e))},e.\u0275cmp=$e({type:e,selectors:[["app-seasonal-s"]],inputs:{s:"s",basis:"basis",seasonal:"seasonal",display:"display"},decls:72,vars:120,consts:[[1,"text-right","form-S","seasonal",3,"hidden"],[1,"text-right","form-S","percent","seasonal",3,"hidden"]],template:function(t,r){1&t&&(h(0,"td",0),m(1),w(2,"number"),p(),h(3,"td",1),m(4),w(5,"number"),p(),h(6,"td",0),m(7),w(8,"number"),p(),h(9,"td",1),m(10),w(11,"number"),p(),h(12,"td",0),m(13),w(14,"number"),p(),h(15,"td",1),m(16),w(17,"number"),p(),h(18,"td",0),m(19),w(20,"number"),p(),h(21,"td",1),m(22),w(23,"number"),p(),h(24,"td",0),m(25),w(26,"number"),p(),h(27,"td",1),m(28),w(29,"number"),p(),h(30,"td",0),m(31),w(32,"number"),p(),h(33,"td",1),m(34),w(35,"number"),p(),h(36,"td",0),m(37),w(38,"number"),p(),h(39,"td",1),m(40),w(41,"number"),p(),h(42,"td",0),m(43),w(44,"number"),p(),h(45,"td",1),m(46),w(47,"number"),p(),h(48,"td",0),m(49),w(50,"number"),p(),h(51,"td",1),m(52),w(53,"number"),p(),h(54,"td",0),m(55),w(56,"number"),p(),h(57,"td",1),m(58),w(59,"number"),p(),h(60,"td",0),m(61),w(62,"number"),p(),h(63,"td",1),m(64),w(65,"number"),p(),h(66,"td",0),m(67),w(68,"number"),p(),h(69,"td",1),m(70),w(71,"number"),p()),2&t&&(g("hidden",!r.display),d(1),C(E(2,48,r.s.values[10]*r.basis.values[11]/100,"1.0-0")),d(2),g("hidden",!r.display),d(1),C(E(5,51,r.basis.values[11],"1.1-1")),d(2),g("hidden",!r.display),d(1),C(E(8,54,r.s.values[10]*r.basis.values[12]/100,"1.0-0")),d(2),g("hidden",!r.display),d(1),C(E(11,57,r.basis.values[12],"1.1-1")),d(2),g("hidden",!r.display),d(1),C(E(14,60,r.s.values[10]*r.basis.values[13]/100,"1.0-0")),d(2),g("hidden",!r.display),d(1),C(E(17,63,r.basis.values[13],"1.1-1")),d(2),g("hidden",!r.display),d(1),C(E(20,66,r.s.values[10]*r.basis.values[14]/100,"1.0-0")),d(2),g("hidden",!r.display),d(1),C(E(23,69,r.basis.values[14],"1.1-1")),d(2),g("hidden",!r.display),d(1),C(E(26,72,r.s.values[10]*r.basis.values[15]/100,"1.0-0")),d(2),g("hidden",!r.display),d(1),C(E(29,75,r.basis.values[15],"1.1-1")),d(2),g("hidden",!r.display),d(1),C(E(32,78,r.s.values[10]*r.basis.values[16]/100,"1.0-0")),d(2),g("hidden",!r.display),d(1),C(E(35,81,r.basis.values[16],"1.1-1")),d(2),g("hidden",!r.display),d(1),C(E(38,84,r.s.values[10]*r.basis.values[17]/100,"1.0-0")),d(2),g("hidden",!r.display),d(1),C(E(41,87,r.basis.values[17],"1.1-1")),d(2),g("hidden",!r.display),d(1),C(E(44,90,r.s.values[10]*r.basis.values[18]/100,"1.0-0")),d(2),g("hidden",!r.display),d(1),C(E(47,93,r.basis.values[18],"1.1-1")),d(2),g("hidden",!r.display),d(1),C(E(50,96,r.s.values[10]*r.basis.values[19]/100,"1.0-0")),d(2),g("hidden",!r.display),d(1),C(E(53,99,r.basis.values[19],"1.1-1")),d(2),g("hidden",!r.display),d(1),C(E(56,102,r.s.values[10]*r.basis.values[20]/100,"1.0-0")),d(2),g("hidden",!r.display),d(1),C(E(59,105,r.basis.values[20],"1.1-1")),d(2),g("hidden",!r.display),d(1),C(E(62,108,r.s.values[10]*r.basis.values[21]/100,"1.0-0")),d(2),g("hidden",!r.display),d(1),C(E(65,111,r.basis.values[21],"1.1-1")),d(2),g("hidden",!r.display),d(1),C(E(68,114,r.s.values[10]*r.diffyear(r.basis)/100,"1.0-0")),d(2),g("hidden",!r.display),d(1),C(E(71,117,r.diffyear(r.basis),"1.1-1")))},dependencies:[Tt]}),e})(),Xx=(()=>{class e{constructor(t){this.el=t,this.seasonal=[0,0,0,0,0,0,0,0,0,0,0,0],this.display=!1}ngOnInit(){for(var t=this.el.nativeElement,r=t.parentElement;t.firstChild;)r.insertBefore(t.firstChild,t);r.removeChild(t)}sumyear(t){for(var r=0,i=11;i<=22;i++)r+=t.values[i];return r}diffyear(t){for(var r=0,i=11;i<22;i++)r+=t.values[i];return this.s.values[10]-r}}return e.\u0275fac=function(t){return new(t||e)(M(_e))},e.\u0275cmp=$e({type:e,selectors:[["app-seasonal-m"]],inputs:{s:"s",basis:"basis",seasonal:"seasonal",display:"display"},decls:61,vars:87,consts:[[1,"text-right","form-M","seasonal",3,"hidden"],["type","number",1,"text-right","input-md",3,"ngModel","ngModelChange"],[1,"text-right","form-M","percent","seasonal",3,"hidden"]],template:function(t,r){1&t&&(h(0,"td",0)(1,"input",1),N("ngModelChange",function(o){return r.s.values[11]=o}),p()(),h(2,"td",2),m(3),w(4,"number"),p(),h(5,"td",0)(6,"input",1),N("ngModelChange",function(o){return r.s.values[12]=o}),p()(),h(7,"td",2),m(8),w(9,"number"),p(),h(10,"td",0)(11,"input",1),N("ngModelChange",function(o){return r.s.values[13]=o}),p()(),h(12,"td",2),m(13),w(14,"number"),p(),h(15,"td",0)(16,"input",1),N("ngModelChange",function(o){return r.s.values[14]=o}),p()(),h(17,"td",2),m(18),w(19,"number"),p(),h(20,"td",0)(21,"input",1),N("ngModelChange",function(o){return r.s.values[15]=o}),p()(),h(22,"td",2),m(23),w(24,"number"),p(),h(25,"td",0)(26,"input",1),N("ngModelChange",function(o){return r.s.values[16]=o}),p()(),h(27,"td",2),m(28),w(29,"number"),p(),h(30,"td",0)(31,"input",1),N("ngModelChange",function(o){return r.s.values[17]=o}),p()(),h(32,"td",2),m(33),w(34,"number"),p(),h(35,"td",0)(36,"input",1),N("ngModelChange",function(o){return r.s.values[18]=o}),p()(),h(37,"td",2),m(38),w(39,"number"),p(),h(40,"td",0)(41,"input",1),N("ngModelChange",function(o){return r.s.values[19]=o}),p()(),h(42,"td",2),m(43),w(44,"number"),p(),h(45,"td",0)(46,"input",1),N("ngModelChange",function(o){return r.s.values[20]=o}),p()(),h(47,"td",2),m(48),w(49,"number"),p(),h(50,"td",0)(51,"input",1),N("ngModelChange",function(o){return r.s.values[21]=o}),p()(),h(52,"td",2),m(53),w(54,"number"),p(),h(55,"td",0),m(56),w(57,"number"),p(),h(58,"td",2),m(59),w(60,"number"),p()),2&t&&(g("hidden",!r.display),d(1),g("ngModel",r.s.values[11]),d(1),g("hidden",!r.display),d(1),C(E(4,48,100*r.s.values[11]/r.s.values[10],"1.1-1")),d(2),g("hidden",!r.display),d(1),g("ngModel",r.s.values[12]),d(1),g("hidden",!r.display),d(1),C(E(9,51,100*r.s.values[12]/r.s.values[10],"1.1-1")),d(2),g("hidden",!r.display),d(1),g("ngModel",r.s.values[13]),d(1),g("hidden",!r.display),d(1),C(E(14,54,100*r.s.values[13]/r.s.values[10],"1.1-1")),d(2),g("hidden",!r.display),d(1),g("ngModel",r.s.values[14]),d(1),g("hidden",!r.display),d(1),C(E(19,57,100*r.s.values[14]/r.s.values[10],"1.1-1")),d(2),g("hidden",!r.display),d(1),g("ngModel",r.s.values[15]),d(1),g("hidden",!r.display),d(1),C(E(24,60,100*r.s.values[15]/r.s.values[10],"1.1-1")),d(2),g("hidden",!r.display),d(1),g("ngModel",r.s.values[16]),d(1),g("hidden",!r.display),d(1),C(E(29,63,100*r.s.values[16]/r.s.values[10],"1.1-1")),d(2),g("hidden",!r.display),d(1),g("ngModel",r.s.values[17]),d(1),g("hidden",!r.display),d(1),C(E(34,66,100*r.s.values[17]/r.s.values[10],"1.1-1")),d(2),g("hidden",!r.display),d(1),g("ngModel",r.s.values[18]),d(1),g("hidden",!r.display),d(1),C(E(39,69,100*r.s.values[18]/r.s.values[10],"1.1-1")),d(2),g("hidden",!r.display),d(1),g("ngModel",r.s.values[19]),d(1),g("hidden",!r.display),d(1),C(E(44,72,100*r.s.values[19]/r.s.values[10],"1.1-1")),d(2),g("hidden",!r.display),d(1),g("ngModel",r.s.values[20]),d(1),g("hidden",!r.display),d(1),C(E(49,75,100*r.s.values[20]/r.s.values[10],"1.1-1")),d(2),g("hidden",!r.display),d(1),g("ngModel",r.s.values[21]),d(1),g("hidden",!r.display),d(1),C(E(54,78,100*r.s.values[21]/r.s.values[10],"1.1-1")),d(2),g("hidden",!r.display),d(1),C(E(57,81,r.diffyear(r.s),"1.0-0")),d(2),g("hidden",!r.display),d(1),C(E(60,84,100*r.diffyear(r.s)/r.s.values[10],"1.1-1")))},dependencies:[Nt,rn,Ht,Ft,Tt]}),e})(),ek=(()=>{class e{constructor(t){this.el=t,this.value=0,this.seasonal=[0,0,0,0,0,0,0,0,0,0,0,0],this.display=!1}ngOnInit(){for(var t=this.el.nativeElement,r=t.parentElement;t.firstChild;)r.insertBefore(t.firstChild,t);r.removeChild(t)}sumyear(t){for(var r=0,i=11;i<=22;i++)r+=t.values[i];return r}diffyear(t){for(var r=0,i=11;i<22;i++)r+=t.values[i];return 100-r}}return e.\u0275fac=function(t){return new(t||e)(M(_e))},e.\u0275cmp=$e({type:e,selectors:[["app-seasonal-p"]],inputs:{value:"value",s:"s",seasonal:"seasonal",display:"display"},decls:61,vars:87,consts:[[1,"text-right","seasonal",3,"hidden"],["type","number",1,"text-right","input-sm",3,"ngModel","ngModelChange"],[1,"text-right","percent","seasonal",3,"hidden"]],template:function(t,r){1&t&&(h(0,"td",0),m(1),w(2,"number"),p(),h(3,"td",0)(4,"input",1),N("ngModelChange",function(o){return r.s.values[11]=o}),p()(),h(5,"td",0),m(6),w(7,"number"),p(),h(8,"td",0)(9,"input",1),N("ngModelChange",function(o){return r.s.values[12]=o}),p()(),h(10,"td",0),m(11),w(12,"number"),p(),h(13,"td",0)(14,"input",1),N("ngModelChange",function(o){return r.s.values[13]=o}),p()(),h(15,"td",0),m(16),w(17,"number"),p(),h(18,"td",0)(19,"input",1),N("ngModelChange",function(o){return r.s.values[14]=o}),p()(),h(20,"td",0),m(21),w(22,"number"),p(),h(23,"td",0)(24,"input",1),N("ngModelChange",function(o){return r.s.values[15]=o}),p()(),h(25,"td",0),m(26),w(27,"number"),p(),h(28,"td",0)(29,"input",1),N("ngModelChange",function(o){return r.s.values[16]=o}),p()(),h(30,"td",0),m(31),w(32,"number"),p(),h(33,"td",0)(34,"input",1),N("ngModelChange",function(o){return r.s.values[17]=o}),p()(),h(35,"td",0),m(36),w(37,"number"),p(),h(38,"td",0)(39,"input",1),N("ngModelChange",function(o){return r.s.values[18]=o}),p()(),h(40,"td",0),m(41),w(42,"number"),p(),h(43,"td",0)(44,"input",1),N("ngModelChange",function(o){return r.s.values[19]=o}),p()(),h(45,"td",0),m(46),w(47,"number"),p(),h(48,"td",0)(49,"input",1),N("ngModelChange",function(o){return r.s.values[20]=o}),p()(),h(50,"td",0),m(51),w(52,"number"),p(),h(53,"td",0)(54,"input",1),N("ngModelChange",function(o){return r.s.values[21]=o}),p()(),h(55,"td",0),m(56),w(57,"number"),p(),h(58,"td",2),m(59),w(60,"number"),p()),2&t&&(g("hidden",!r.display),d(1),C(E(2,48,r.value*(r.s.values[11]/100),"1.0-0")),d(2),g("hidden",!r.display),d(1),g("ngModel",r.s.values[11]),d(1),g("hidden",!r.display),d(1),C(E(7,51,r.value*(r.s.values[12]/100),"1.0-0")),d(2),g("hidden",!r.display),d(1),g("ngModel",r.s.values[12]),d(1),g("hidden",!r.display),d(1),C(E(12,54,r.value*(r.s.values[13]/100),"1.0-0")),d(2),g("hidden",!r.display),d(1),g("ngModel",r.s.values[13]),d(1),g("hidden",!r.display),d(1),C(E(17,57,r.value*(r.s.values[14]/100),"1.0-0")),d(2),g("hidden",!r.display),d(1),g("ngModel",r.s.values[14]),d(1),g("hidden",!r.display),d(1),C(E(22,60,r.value*(r.s.values[15]/100),"1.0-0")),d(2),g("hidden",!r.display),d(1),g("ngModel",r.s.values[15]),d(1),g("hidden",!r.display),d(1),C(E(27,63,r.value*(r.s.values[16]/100),"1.0-0")),d(2),g("hidden",!r.display),d(1),g("ngModel",r.s.values[16]),d(1),g("hidden",!r.display),d(1),C(E(32,66,r.value*(r.s.values[17]/100),"1.0-0")),d(2),g("hidden",!r.display),d(1),g("ngModel",r.s.values[17]),d(1),g("hidden",!r.display),d(1),C(E(37,69,r.value*(r.s.values[18]/100),"1.0-0")),d(2),g("hidden",!r.display),d(1),g("ngModel",r.s.values[18]),d(1),g("hidden",!r.display),d(1),C(E(42,72,r.value*(r.s.values[19]/100),"1.0-0")),d(2),g("hidden",!r.display),d(1),g("ngModel",r.s.values[19]),d(1),g("hidden",!r.display),d(1),C(E(47,75,r.value*(r.s.values[20]/100),"1.0-0")),d(2),g("hidden",!r.display),d(1),g("ngModel",r.s.values[20]),d(1),g("hidden",!r.display),d(1),C(E(52,78,r.value*(r.s.values[21]/100),"1.0-0")),d(2),g("hidden",!r.display),d(1),g("ngModel",r.s.values[21]),d(1),g("hidden",!r.display),d(1),C(E(57,81,r.value*(r.diffyear(r.s)/100),"1.0-0")),d(2),g("hidden",!r.display),d(1),C(E(60,84,r.diffyear(r.s),"1.1-1")))},dependencies:[Nt,rn,Ht,Ft,Tt]}),e})(),tk=(()=>{class e{constructor(t){this.el=t,this.seasonal=[0,0,0,0,0,0,0,0,0,0,0,0],this.display=!1}ngOnInit(){for(var t=this.el.nativeElement,r=t.parentElement;t.firstChild;)r.insertBefore(t.firstChild,t);r.removeChild(t)}sumyear(t){for(var r=0,i=11;i<=22;i++)r+=t.values[i];return r}diffyear(t){for(var r=0,i=11;i<22;i++)r+=t.values[i];return t.values[5]-r}}return e.\u0275fac=function(t){return new(t||e)(M(_e))},e.\u0275cmp=$e({type:e,selectors:[["app-seasonal-q"]],inputs:{s:"s",basis:"basis",seasonal:"seasonal",display:"display"},decls:61,vars:87,consts:[[1,"text-right","form-Q","seasonal",3,"hidden"],["type","number",1,"text-right","input-sm",3,"ngModel","ngModelChange"],[1,"text-right","form-Q","percent","seasonal",3,"hidden"]],template:function(t,r){1&t&&(h(0,"td",0),m(1),w(2,"number"),p(),h(3,"td",0)(4,"input",1),N("ngModelChange",function(o){return r.s.values[11]=o}),p()(),h(5,"td",0),m(6),w(7,"number"),p(),h(8,"td",0)(9,"input",1),N("ngModelChange",function(o){return r.s.values[12]=o}),p()(),h(10,"td",0),m(11),w(12,"number"),p(),h(13,"td",0)(14,"input",1),N("ngModelChange",function(o){return r.s.values[13]=o}),p()(),h(15,"td",0),m(16),w(17,"number"),p(),h(18,"td",0)(19,"input",1),N("ngModelChange",function(o){return r.s.values[14]=o}),p()(),h(20,"td",0),m(21),w(22,"number"),p(),h(23,"td",0)(24,"input",1),N("ngModelChange",function(o){return r.s.values[15]=o}),p()(),h(25,"td",0),m(26),w(27,"number"),p(),h(28,"td",0)(29,"input",1),N("ngModelChange",function(o){return r.s.values[16]=o}),p()(),h(30,"td",0),m(31),w(32,"number"),p(),h(33,"td",0)(34,"input",1),N("ngModelChange",function(o){return r.s.values[17]=o}),p()(),h(35,"td",0),m(36),w(37,"number"),p(),h(38,"td",0)(39,"input",1),N("ngModelChange",function(o){return r.s.values[18]=o}),p()(),h(40,"td",0),m(41),w(42,"number"),p(),h(43,"td",0)(44,"input",1),N("ngModelChange",function(o){return r.s.values[19]=o}),p()(),h(45,"td",0),m(46),w(47,"number"),p(),h(48,"td",0)(49,"input",1),N("ngModelChange",function(o){return r.s.values[20]=o}),p()(),h(50,"td",0),m(51),w(52,"number"),p(),h(53,"td",0)(54,"input",1),N("ngModelChange",function(o){return r.s.values[21]=o}),p()(),h(55,"td",0),m(56),w(57,"number"),p(),h(58,"td",2),m(59),w(60,"number"),p()),2&t&&(g("hidden",!r.display),d(1),C(E(2,48,r.s.values[6]*r.s.values[11],"1.0-0")),d(2),g("hidden",!r.display),d(1),g("ngModel",r.s.values[11]),d(1),g("hidden",!r.display),d(1),C(E(7,51,r.s.values[6]*r.s.values[12],"1.0-0")),d(2),g("hidden",!r.display),d(1),g("ngModel",r.s.values[12]),d(1),g("hidden",!r.display),d(1),C(E(12,54,r.s.values[6]*r.s.values[13],"1.0-0")),d(2),g("hidden",!r.display),d(1),g("ngModel",r.s.values[13]),d(1),g("hidden",!r.display),d(1),C(E(17,57,r.s.values[6]*r.s.values[14],"1.0-0")),d(2),g("hidden",!r.display),d(1),g("ngModel",r.s.values[14]),d(1),g("hidden",!r.display),d(1),C(E(22,60,r.s.values[6]*r.s.values[15],"1.0-0")),d(2),g("hidden",!r.display),d(1),g("ngModel",r.s.values[15]),d(1),g("hidden",!r.display),d(1),C(E(27,63,r.s.values[6]*r.s.values[16],"1.0-0")),d(2),g("hidden",!r.display),d(1),g("ngModel",r.s.values[16]),d(1),g("hidden",!r.display),d(1),C(E(32,66,r.s.values[6]*r.s.values[17],"1.0-0")),d(2),g("hidden",!r.display),d(1),g("ngModel",r.s.values[17]),d(1),g("hidden",!r.display),d(1),C(E(37,69,r.s.values[6]*r.s.values[18],"1.0-0")),d(2),g("hidden",!r.display),d(1),g("ngModel",r.s.values[18]),d(1),g("hidden",!r.display),d(1),C(E(42,72,r.s.values[6]*r.s.values[19],"1.0-0")),d(2),g("hidden",!r.display),d(1),g("ngModel",r.s.values[19]),d(1),g("hidden",!r.display),d(1),C(E(47,75,r.s.values[6]*r.s.values[20],"1.0-0")),d(2),g("hidden",!r.display),d(1),g("ngModel",r.s.values[20]),d(1),g("hidden",!r.display),d(1),C(E(52,78,r.s.values[6]*r.s.values[21],"1.0-0")),d(2),g("hidden",!r.display),d(1),g("ngModel",r.s.values[21]),d(1),g("hidden",!r.display),d(1),C(E(57,81,r.s.values[6]*r.diffyear(r.s),"1.0-0")),d(2),g("hidden",!r.display),d(1),C(E(60,84,r.diffyear(r.s),"1.1-1")))},dependencies:[Nt,rn,Ht,Ft,Tt]}),e})();function nk(e){return()=>e.load()}let rk=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Ot({type:e,bootstrap:[Ox]}),e.\u0275inj=Ct({providers:[{provide:gn,useValue:"de"},{provide:wo,useFactory:nk,deps:[xf],multi:!0}],imports:[GN,hF,mP,Rx]}),e})();(function wh(e,n,t){const r=e.\u0275cmp;r.directiveDefs=()=>("function"==typeof n?n():n).map(Eh),r.pipeDefs=()=>("function"==typeof t?t():t).map(st)})(kf,[gd,md,vd,K1,Nt,rn,Ld,Ht,P1,Ft,ja,Gx,zx,Wx,qx,Jx,Kx,Qx,Zx,Yx,Xx,ek,tk],[Tt]),UN().bootstrapModule(rk).catch(e=>console.error(e))}},pe=>{pe(pe.s=207)}]);
|