1 line
375 KiB
JavaScript
1 line
375 KiB
JavaScript
"use strict";(self.webpackChunkfamilySite1=self.webpackChunkfamilySite1||[]).push([[792],{270:()=>{function Hi(e,n,t,r,o,i,s){try{var a=e[i](s),l=a.value}catch(c){return void t(c)}a.done?n(l):Promise.resolve(l).then(r,o)}function Co(e){return function(){var n=this,t=arguments;return new Promise(function(r,o){var i=e.apply(n,t);function s(l){Hi(i,r,o,s,a,"next",l)}function a(l){Hi(i,r,o,s,a,"throw",l)}s(void 0)})}}let Oe=null,La=1;const zr=Symbol("SIGNAL");function Q(e){const n=Oe;return Oe=e,n}function Zg(e){if((!Gi(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==La)){if(!e.producerMustRecompute(e)&&!Ru(e))return e.dirty=!1,void(e.lastCleanEpoch=La);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=La}}function Ru(e){_o(e);for(let n=0;n<e.producerNode.length;n++){const t=e.producerNode[n],r=e.producerLastReadVersion[n];if(r!==t.version||(Zg(t),r!==t.version))return!0}return!1}function Va(e,n){if(function nm(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}(e),_o(e),1===e.liveConsumerNode.length)for(let r=0;r<e.producerNode.length;r++)Va(e.producerNode[r],e.producerIndexOfThis[r]);const t=e.liveConsumerNode.length-1;if(e.liveConsumerNode[n]=e.liveConsumerNode[t],e.liveConsumerIndexOfThis[n]=e.liveConsumerIndexOfThis[t],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,n<e.liveConsumerNode.length){const r=e.liveConsumerIndexOfThis[n],o=e.liveConsumerNode[n];_o(o),o.producerIndexOfThis[r]=n}}function Gi(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function _o(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let rm=null;function be(e){return"function"==typeof e}function Pu(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 xu=Pu(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((r,o)=>`${o+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t});function Fu(e,n){if(e){const t=e.indexOf(n);0<=t&&e.splice(t,1)}}class bt{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 i of t)i.remove(this);else t.remove(this);const{initialTeardown:r}=this;if(be(r))try{r()}catch(i){n=i instanceof xu?i.errors:[i]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const i of o)try{lm(i)}catch(s){n=n??[],s instanceof xu?n=[...n,...s.errors]:n.push(s)}}if(n)throw new xu(n)}}add(n){var t;if(n&&n!==this)if(this.closed)lm(n);else{if(n instanceof bt){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)&&Fu(t,n)}remove(n){const{_finalizers:t}=this;t&&Fu(t,n),n instanceof bt&&n._removeParent(this)}}bt.EMPTY=(()=>{const e=new bt;return e.closed=!0,e})();const sm=bt.EMPTY;function am(e){return e instanceof bt||e&&"closed"in e&&be(e.remove)&&be(e.add)&&be(e.unsubscribe)}function lm(e){be(e)?e():e.unsubscribe()}const Gr={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},ja={setTimeout(e,n,...t){const{delegate:r}=ja;return r?.setTimeout?r.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){const{delegate:n}=ja;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function cm(e){ja.setTimeout(()=>{const{onUnhandledError:n}=Gr;if(!n)throw e;n(e)})}function Lu(){}const nI=Vu("C",void 0,void 0);function Vu(e,n,t){return{kind:e,value:n,error:t}}let qr=null;function Ua(e){if(Gr.useDeprecatedSynchronousErrorHandling){const n=!qr;if(n&&(qr={errorThrown:!1,error:null}),e(),n){const{errorThrown:t,error:r}=qr;if(qr=null,t)throw r}}else e()}class ju extends bt{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,am(n)&&n.add(this)):this.destination=cI}static create(n,t,r){return new $u(n,t,r)}next(n){this.isStopped?Bu(function oI(e){return Vu("N",e,void 0)}(n),this):this._next(n)}error(n){this.isStopped?Bu(function rI(e){return Vu("E",void 0,e)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?Bu(nI,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 sI=Function.prototype.bind;function Uu(e,n){return sI.call(e,n)}class aI{constructor(n){this.partialObserver=n}next(n){const{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(r){$a(r)}}error(n){const{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(r){$a(r)}else $a(n)}complete(){const{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){$a(t)}}}class $u extends ju{constructor(n,t,r){let o;if(super(),be(n)||!n)o={next:n??void 0,error:t??void 0,complete:r??void 0};else{let i;this&&Gr.useDeprecatedNextContext?(i=Object.create(n),i.unsubscribe=()=>this.unsubscribe(),o={next:n.next&&Uu(n.next,i),error:n.error&&Uu(n.error,i),complete:n.complete&&Uu(n.complete,i)}):o=n}this.destination=new aI(o)}}function $a(e){Gr.useDeprecatedSynchronousErrorHandling?function iI(e){Gr.useDeprecatedSynchronousErrorHandling&&qr&&(qr.errorThrown=!0,qr.error=e)}(e):cm(e)}function Bu(e,n){const{onStoppedNotification:t}=Gr;t&&ja.setTimeout(()=>t(e,n))}const cI={closed:!0,next:Lu,error:function lI(e){throw e},complete:Lu},Hu="function"==typeof Symbol&&Symbol.observable||"@@observable";function Wr(e){return e}function um(e){return 0===e.length?Wr:1===e.length?e[0]:function(t){return e.reduce((r,o)=>o(r),t)}}let Be=(()=>{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,o){const i=function fI(e){return e&&e instanceof ju||function dI(e){return e&&be(e.next)&&be(e.error)&&be(e.complete)}(e)&&am(e)}(t)?t:new $u(t,r,o);return Ua(()=>{const{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(t){try{return this._subscribe(t)}catch(r){t.error(r)}}forEach(t,r){return new(r=dm(r))((o,i)=>{const s=new $u({next:a=>{try{t(a)}catch(l){i(l),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(t){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(t)}[Hu](){return this}pipe(...t){return um(t)(this)}toPromise(t){return new(t=dm(t))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=n=>new e(n),e})();function dm(e){var n;return null!==(n=e??Gr.Promise)&&void 0!==n?n:Promise}const hI=Pu(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let qt=(()=>{class e extends Be{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const r=new fm(this,this);return r.operator=t,r}_throwIfClosed(){if(this.closed)throw new hI}next(t){Ua(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(t)}})}error(t){Ua(()=>{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(){Ua(()=>{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:o,observers:i}=this;return r||o?sm:(this.currentObservers=null,i.push(t),new bt(()=>{this.currentObservers=null,Fu(i,t)}))}_checkFinalizedStatuses(t){const{hasError:r,thrownError:o,isStopped:i}=this;r?t.error(o):i&&t.complete()}asObservable(){const t=new Be;return t.source=this,t}}return e.create=(n,t)=>new fm(n,t),e})();class fm extends qt{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:sm}}class Wt extends qt{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)}}function hm(e){return be(e?.lift)}function ot(e){return n=>{if(hm(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 qe(e,n,t,r,o){return new pI(e,n,t,r,o)}class pI extends ju{constructor(n,t,r,o,i,s){super(n),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=t?function(a){try{t(a)}catch(l){n.error(l)}}:super._next,this._error=o?function(a){try{o(a)}catch(l){n.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=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 ie(e,n){return ot((t,r)=>{let o=0;t.subscribe(qe(r,i=>{r.next(e.call(n,i,o++))}))})}const pm="https://g.co/ng/security#xss";class I extends Error{constructor(n,t){super(function Do(e,n){return`NG0${Math.abs(e)}${n?": "+n:""}`}(n,t)),this.code=n}}function qn(e){return{toString:e}.toString()}const Mo="__parameters__";function bo(e,n,t){return qn(()=>{const r=function zu(e){return function(...t){if(e){const r=e(...t);for(const o in r)this[o]=r[o]}}}(n);function o(...i){if(this instanceof o)return r.apply(this,i),this;const s=new o(...i);return a.annotation=s,a;function a(l,c,u){const d=l.hasOwnProperty(Mo)?l[Mo]:Object.defineProperty(l,Mo,{value:[]})[Mo];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),l}}return t&&(o.prototype=Object.create(t.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}const de=globalThis;function he(e){for(let n in e)if(e[n]===he)return n;throw Error("Could not find renamed property on target object.")}function gI(e,n){for(const t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function We(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(We).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 Gu(e,n){return null==e||""===e?null===n?"":n:null==n||""===n?e:e+" "+n}const mI=he({__forward_ref__:he});function Ce(e){return e.__forward_ref__=Ce,e.toString=function(){return We(this())},e}function L(e){return Ha(e)?e():e}function Ha(e){return"function"==typeof e&&e.hasOwnProperty(mI)&&e.__forward_ref__===Ce}function k(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Jt(e){return{providers:e.providers||[],imports:e.imports||[]}}function za(e){return ym(e,qa)||ym(e,Cm)}function ym(e,n){return e.hasOwnProperty(n)?e[n]:null}function Ga(e){return e&&(e.hasOwnProperty(qu)||e.hasOwnProperty(wI))?e[qu]:null}const qa=he({\u0275prov:he}),qu=he({\u0275inj:he}),Cm=he({ngInjectableDef:he}),wI=he({ngInjectorDef:he});class N{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=k({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Xu(e){return e&&!!e.\u0275providers}const qi=he({\u0275cmp:he}),Ku=he({\u0275dir:he}),Ju=he({\u0275pipe:he}),Dm=he({\u0275mod:he}),Wn=he({\u0275fac:he}),Wi=he({__NG_ELEMENT_ID__:he}),wm=he({__NG_ENV_ID__:he});function B(e){return"string"==typeof e?e:null==e?"":String(e)}function ed(e,n){throw new I(-201,!1)}var K=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(K||{});let td;function Mm(){return td}function It(e){const n=td;return td=e,n}function Em(e,n,t){const r=za(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:t&K.Optional?null:void 0!==n?n:void ed()}const Zi={},nd="__NG_DI_FLAG__",Wa="ngTempTokenPath",TI=/\n/gm,bm="__source";let Io;function fr(e){const n=Io;return Io=e,n}function kI(e,n=K.Default){if(void 0===Io)throw new I(-203,!1);return null===Io?Em(e,void 0,n):Io.get(e,n&K.Optional?null:void 0,n)}function R(e,n=K.Default){return(Mm()||kI)(L(e),n)}function b(e,n=K.Default){return R(e,Za(n))}function Za(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function rd(e){const n=[];for(let t=0;t<e.length;t++){const r=L(e[t]);if(Array.isArray(r)){if(0===r.length)throw new I(900,!1);let o,i=K.Default;for(let s=0;s<r.length;s++){const a=r[s],l=RI(a);"number"==typeof l?-1===l?o=a.token:i|=l:o=a}n.push(R(o,i))}else n.push(R(r))}return n}function Qi(e,n){return e[nd]=n,e.prototype[nd]=n,e}function RI(e){return e[nd]}const Qa=Qi(bo("Optional"),8),Ya=Qi(bo("SkipSelf"),4);function Zr(e,n){return e.hasOwnProperty(Wn)?e[Wn]:null}function So(e,n){e.forEach(t=>Array.isArray(t)?So(t,n):n(t))}function Sm(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function Xa(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function xt(e,n,t){let r=To(e,n);return r>=0?e[1|r]=t:(r=~r,function Tm(e,n,t,r){let o=e.length;if(o==n)e.push(t,r);else if(1===o)e.push(r,e[0]),e[0]=t;else{for(o--,e.push(e[o-1],e[o]);o>n;)e[o]=e[o-2],o--;e[n]=t,e[n+1]=r}}(e,r,n,t)),r}function id(e,n){const t=To(e,n);if(t>=0)return e[1|t]}function To(e,n){return function Am(e,n,t){let r=0,o=e.length>>t;for(;o!==r;){const i=r+(o-r>>1),s=e[i<<t];if(n===s)return i<<t;s>n?o=i:r=i+1}return~(o<<t)}(e,n,1)}const Cn={},se=[],Qr=new N(""),Nm=new N("",-1),sd=new N("");class Ja{get(n,t=Zi){if(t===Zi){const r=new Error(`NullInjectorError: No provider for ${We(n)}!`);throw r.name="NullInjectorError",r}return t}}var el=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(el||{}),en=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(en||{}),Ie=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Ie||{});function jI(e,n,t){let r=e.length;for(;;){const o=e.indexOf(n,t);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const i=n.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}t=o+1}}function ad(e,n,t){let r=0;for(;r<t.length;){const o=t[r];if("number"==typeof o){if(0!==o)break;r++;const i=t[r++],s=t[r++],a=t[r++];e.setAttribute(n,s,a,i)}else{const i=o,s=t[++r];Rm(i)?e.setProperty(n,i,s):e.setAttribute(n,i,s),r++}}return r}function km(e){return 3===e||4===e||6===e}function Rm(e){return 64===e.charCodeAt(0)}function Yi(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 o=n[r];"number"==typeof o?t=o:0===t||Om(e,t,o,null,-1===t||2===t?n[++r]:null)}}return e}function Om(e,n,t,r,o){let i=0,s=e.length;if(-1===n)s=-1;else for(;i<e.length;){const a=e[i++];if("number"==typeof a){if(a===n){s=-1;break}if(a>n){s=i-1;break}}}for(;i<e.length;){const a=e[i];if("number"==typeof a)break;if(a===t){if(null===r)return void(null!==o&&(e[i+1]=o));if(r===e[i+1])return void(e[i+2]=o)}i++,null!==r&&i++,null!==o&&i++}-1!==s&&(e.splice(s,0,n),i=s+1),e.splice(i++,0,t),null!==r&&e.splice(i++,0,r),null!==o&&e.splice(i++,0,o)}const Pm="ng-template";function UI(e,n,t,r){let o=0;if(r){for(;o<n.length&&"string"==typeof n[o];o+=2)if("class"===n[o]&&-1!==jI(n[o+1].toLowerCase(),t,0))return!0}else if(ld(e))return!1;if(o=n.indexOf(1,o),o>-1){let i;for(;++o<n.length&&"string"==typeof(i=n[o]);)if(i.toLowerCase()===t)return!0}return!1}function ld(e){return 4===e.type&&e.value!==Pm}function $I(e,n,t){return n===(4!==e.type||t?e.value:Pm)}function BI(e,n,t){let r=4;const o=e.attrs,i=null!==o?function GI(e){for(let n=0;n<e.length;n++)if(km(e[n]))return n;return e.length}(o):0;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&&!$I(e,l,t)||""===l&&1===n.length){if(tn(r))return!1;s=!0}}else if(8&r){if(null===o||!UI(e,o,l,t)){if(tn(r))return!1;s=!0}}else{const c=n[++a],u=HI(l,o,ld(e),t);if(-1===u){if(tn(r))return!1;s=!0;continue}if(""!==c){let d;if(d=u>i?"":o[u+1].toLowerCase(),2&r&&c!==d){if(tn(r))return!1;s=!0}}}}else{if(!s&&!tn(r)&&!tn(l))return!1;if(s&&tn(l))continue;s=!1,r=l|1&r}}return tn(r)||s}function tn(e){return!(1&e)}function HI(e,n,t,r){if(null===n)return-1;let o=0;if(r||!t){let i=!1;for(;o<n.length;){const s=n[o];if(s===e)return o;if(3===s||6===s)i=!0;else{if(1===s||2===s){let a=n[++o];for(;"string"==typeof a;)a=n[++o];continue}if(4===s)break;if(0===s){o+=4;continue}}o+=i?1:2}return-1}return function qI(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 xm(e,n,t=!1){for(let r=0;r<n.length;r++)if(BI(e,n[r],t))return!0;return!1}function Fm(e,n){return e?":not("+n.trim()+")":n}function ZI(e){let n=e[0],t=1,r=2,o="",i=!1;for(;t<e.length;){let s=e[t];if("string"==typeof s)if(2&r){const a=e[++t];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else 8&r?o+="."+s:4&r&&(o+=" "+s);else""!==o&&!tn(s)&&(n+=Fm(i,o),o=""),r=s,i=i||!tn(r);t++}return""!==o&&(n+=Fm(i,o)),n}function st(e){return qn(()=>{const n=Vm(e),t={...n,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===el.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||en.Emulated,styles:e.styles||se,_:null,schemas:e.schemas||null,tView:null,id:""};jm(t);const r=e.dependencies;return t.directiveDefs=tl(r,!1),t.pipeDefs=tl(r,!0),t.id=function eS(e){let n=0;const t=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const o of t)n=Math.imul(31,n)+o.charCodeAt(0)|0;return n+=2147483648,"c"+n}(t),t})}function XI(e){return Y(e)||Ze(e)}function KI(e){return null!==e}function _n(e){return qn(()=>({type:e.type,bootstrap:e.bootstrap||se,declarations:e.declarations||se,imports:e.imports||se,exports:e.exports||se,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Lm(e,n){if(null==e)return Cn;const t={};for(const r in e)if(e.hasOwnProperty(r)){const o=e[r];let i,s,a=Ie.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),n?(t[i]=a!==Ie.None?[r,a]:r,n[i]=s):t[i]=r}return t}function $(e){return qn(()=>{const n=Vm(e);return jm(n),n})}function at(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 Y(e){return e[qi]||null}function Ze(e){return e[Ku]||null}function it(e){return e[Ju]||null}function lt(e,n){const t=e[Dm]||null;if(!t&&!0===n)throw new Error(`Type ${We(e)} does not have '\u0275mod' property.`);return t}function Vm(e){const n={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputTransforms:null,inputConfig:e.inputs||Cn,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||se,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Lm(e.inputs,n),outputs:Lm(e.outputs),debugInfo:null}}function jm(e){e.features?.forEach(n=>n(e))}function tl(e,n){if(!e)return null;const t=n?it:XI;return()=>("function"==typeof e?e():e).map(r=>t(r)).filter(KI)}function tS(...e){return{\u0275providers:cd(0,e),\u0275fromNgModule:!0}}function cd(e,...n){const t=[],r=new Set;let o;const i=s=>{t.push(s)};return So(n,s=>{const a=s;nl(a,i,[],r)&&(o||=[],o.push(a))}),void 0!==o&&Um(o,i),t}function Um(e,n){for(let t=0;t<e.length;t++){const{ngModule:r,providers:o}=e[t];ud(o,i=>{n(i,r)})}}function nl(e,n,t,r){if(!(e=L(e)))return!1;let o=null,i=Ga(e);const s=!i&&Y(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const l=e.ngModule;if(i=Ga(l),!i)return!1;o=l}const a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const c of l)nl(c,n,t,r)}}else{if(!i)return!1;{if(null!=i.imports&&!a){let c;r.add(o);try{So(i.imports,u=>{nl(u,n,t,r)&&(c||=[],c.push(u))})}finally{}void 0!==c&&Um(c,n)}if(!a){const c=Zr(o)||(()=>new o);n({provide:o,useFactory:c,deps:se},o),n({provide:sd,useValue:o,multi:!0},o),n({provide:Qr,useValue:()=>R(o),multi:!0},o)}const l=i.providers;if(null!=l&&!a){const c=e;ud(l,u=>{n(u,c)})}}}return o!==e&&void 0!==e.providers}function ud(e,n){for(let t of e)Xu(t)&&(t=t.\u0275providers),Array.isArray(t)?ud(t,n):n(t)}const nS=he({provide:String,useValue:he});function dd(e){return null!==e&&"object"==typeof e&&nS in e}function Yr(e){return"function"==typeof e}const fd=new N(""),rl={},oS={};let hd;function ol(){return void 0===hd&&(hd=new Ja),hd}class mt{}class Ao extends mt{get destroyed(){return this._destroyed}constructor(n,t,r,o){super(),this.parent=t,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,gd(n,s=>this.processProvider(s)),this.records.set(Nm,No(void 0,this)),o.has("environment")&&this.records.set(mt,No(void 0,this));const i=this.records.get(fd);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(sd,se,K.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const n=Q(null);try{for(const r of this._ngOnDestroyHooks)r.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const r of t)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),Q(n)}}onDestroy(n){return this.assertNotDestroyed(),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){this.assertNotDestroyed();const t=fr(this),r=It(void 0);try{return n()}finally{fr(t),It(r)}}get(n,t=Zi,r=K.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(wm))return n[wm](this);r=Za(r);const i=fr(this),s=It(void 0);try{if(!(r&K.SkipSelf)){let l=this.records.get(n);if(void 0===l){const c=function cS(e){return"function"==typeof e||"object"==typeof e&&e instanceof N}(n)&&za(n);l=c&&this.injectableDefInScope(c)?No(pd(n),rl):null,this.records.set(n,l)}if(null!=l)return this.hydrate(n,l)}return(r&K.Self?ol():this.parent).get(n,t=r&K.Optional&&t===Zi?null:t)}catch(a){if("NullInjectorError"===a.name){if((a[Wa]=a[Wa]||[]).unshift(We(n)),i)throw a;return function OI(e,n,t,r){const o=e[Wa];throw n[bm]&&o.unshift(n[bm]),e.message=function PI(e,n,t,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=We(n);if(Array.isArray(n))o=n.map(We).join(" -> ");else if("object"==typeof n){let i=[];for(let s in n)if(n.hasOwnProperty(s)){let a=n[s];i.push(s+":"+("string"==typeof a?JSON.stringify(a):We(a)))}o=`{${i.join(", ")}}`}return`${t}${r?"("+r+")":""}[${o}]: ${e.replace(TI,"\n ")}`}("\n"+e.message,o,t,r),e.ngTokenPath=o,e[Wa]=null,e}(a,n,"R3InjectorError",this.source)}throw a}finally{It(s),fr(i)}}resolveInjectorInitializers(){const n=Q(null),t=fr(this),r=It(void 0);try{const i=this.get(Qr,se,K.Self);for(const s of i)s()}finally{fr(t),It(r),Q(n)}}toString(){const n=[],t=this.records;for(const r of t.keys())n.push(We(r));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new I(205,!1)}processProvider(n){let t=Yr(n=L(n))?n:L(n&&n.provide);const r=function sS(e){return dd(e)?No(void 0,e.useValue):No(Hm(e),rl)}(n);if(!Yr(n)&&!0===n.multi){let o=this.records.get(t);o||(o=No(void 0,rl,!0),o.factory=()=>rd(o.multi),this.records.set(t,o)),t=n,o.multi.push(n)}this.records.set(t,r)}hydrate(n,t){const r=Q(null);try{return t.value===rl&&(t.value=oS,t.value=t.factory()),"object"==typeof t.value&&t.value&&function lS(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{Q(r)}}injectableDefInScope(n){if(!n.providedIn)return!1;const t=L(n.providedIn);return"string"==typeof t?"any"===t||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(n){const t=this._onDestroyHooks.indexOf(n);-1!==t&&this._onDestroyHooks.splice(t,1)}}function pd(e){const n=za(e),t=null!==n?n.factory:Zr(e);if(null!==t)return t;if(e instanceof N)throw new I(204,!1);if(e instanceof Function)return function iS(e){if(e.length>0)throw new I(204,!1);const t=function DI(e){return e&&(e[qa]||e[Cm])||null}(e);return null!==t?()=>t.factory(e):()=>new e}(e);throw new I(204,!1)}function Hm(e,n,t){let r;if(Yr(e)){const o=L(e);return Zr(o)||pd(o)}if(dd(e))r=()=>L(e.useValue);else if(function Bm(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...rd(e.deps||[]));else if(function $m(e){return!(!e||!e.useExisting)}(e))r=()=>R(L(e.useExisting));else{const o=L(e&&(e.useClass||e.provide));if(!function aS(e){return!!e.deps}(e))return Zr(o)||pd(o);r=()=>new o(...rd(e.deps))}return r}function No(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function gd(e,n){for(const t of e)Array.isArray(t)?gd(t,n):t&&Xu(t)?gd(t.\u0275providers,n):n(t)}function Dn(e,n){e instanceof Ao&&e.assertNotDestroyed();const r=fr(e),o=It(void 0);try{return n()}finally{fr(r),It(o)}}function zm(){return void 0!==Mm()||null!=function NI(){return Io}()}const Se=0,S=1,P=2,Pe=3,nn=4,ct=5,Ft=6,Ro=7,_e=8,He=9,rn=10,V=11,Ji=12,qm=13,Oo=14,Ae=15,es=16,Po=17,Zn=18,ts=19,Wm=20,pr=21,al=22,Xr=23,H=25,vd=1,wn=7,xo=9,xe=10;var yd=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(yd||{});function ut(e){return Array.isArray(e)&&"object"==typeof e[vd]}function dt(e){return Array.isArray(e)&&!0===e[vd]}function Cd(e){return!!(4&e.flags)}function Kr(e){return e.componentOffset>-1}function cl(e){return!(1&~e.flags)}function on(e){return!!e.template}function _d(e){return!!(512&e[P])}class wS{constructor(n,t,r){this.previousValue=n,this.currentValue=t,this.firstChange=r}isFirstChange(){return this.firstChange}}function Xm(e,n,t,r){null!==n?n.applyValueToInputSignal(n,r):e[t]=r}function Zt(){return Km}function Km(e){return e.type.prototype.ngOnChanges&&(e.setInput=ES),MS}function MS(){const e=ev(this),n=e?.current;if(n){const t=e.previous;if(t===Cn)e.previous=n;else for(let r in n)t[r]=n[r];e.current=null,this.ngOnChanges(n)}}function ES(e,n,t,r,o){const i=this.declaredInputs[r],s=ev(e)||function bS(e,n){return e[Jm]=n}(e,{previous:Cn,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[i];a[i]=new wS(c&&c.currentValue,t,l===Cn),Xm(e,n,o,t)}Zt.ngInherit=!0;const Jm="__ngSimpleChanges__";function ev(e){return e[Jm]||null}const Mn=function(e,n,t){};let rv=!1;function me(e){for(;Array.isArray(e);)e=e[Se];return e}function rs(e,n){return me(n[e])}function vt(e,n){return me(n[e.index])}function os(e,n){return e.data[n]}function Fo(e,n){return e[n]}function Lt(e,n){const t=n[e];return ut(t)?t:t[Se]}function bd(e){return!(128&~e[P])}function En(e,n){return null==n?null:e[n]}function ov(e){e[Po]=0}function kS(e){1024&e[P]||(e[P]|=1024,bd(e)&&is(e))}function Id(e){return!!(9216&e[P]||e[Xr]?.dirty)}function Sd(e){e[rn].changeDetectionScheduler?.notify(1),Id(e)?is(e):64&e[P]&&(function SS(){return rv}()?(e[P]|=1024,is(e)):e[rn].changeDetectionScheduler?.notify())}function is(e){e[rn].changeDetectionScheduler?.notify();let n=Jr(e);for(;null!==n&&!(8192&n[P])&&(n[P]|=8192,bd(n));)n=Jr(n)}function ul(e,n){if(!(256&~e[P]))throw new I(911,!1);null===e[pr]&&(e[pr]=[]),e[pr].push(n)}function Jr(e){const n=e[Pe];return dt(n)?n[Pe]:n}const j={lFrame:pv(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function av(){return j.bindingsEnabled}function M(){return j.lFrame.lView}function J(){return j.lFrame.tView}function Ne(e){return j.lFrame.contextLView=e,e[_e]}function ke(e){return j.lFrame.contextLView=null,e}function pe(){let e=lv();for(;null!==e&&64===e.type;)e=e.parent;return e}function lv(){return j.lFrame.currentTNode}function bn(e,n){const t=j.lFrame;t.currentTNode=e,t.isParent=n}function Ad(){return j.lFrame.isParent}function yt(){const e=j.lFrame;let n=e.bindingRootIndex;return-1===n&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function sn(){return j.lFrame.bindingIndex++}function Yn(e){const n=j.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function BS(e,n){const t=j.lFrame;t.bindingIndex=t.bindingRootIndex=e,kd(n)}function kd(e){j.lFrame.currentDirectiveIndex=e}function Od(){return j.lFrame.currentQueryIndex}function dl(e){j.lFrame.currentQueryIndex=e}function zS(e){const n=e[S];return 2===n.type?n.declTNode:1===n.type?e[ct]:null}function fv(e,n,t){if(t&K.SkipSelf){let o=n,i=e;for(;!(o=o.parent,null!==o||t&K.Host||(o=zS(i),null===o||(i=i[Oo],10&o.type))););if(null===o)return!1;n=o,e=i}const r=j.lFrame=hv();return r.currentTNode=n,r.lView=e,!0}function Pd(e){const n=hv(),t=e[S];j.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function hv(){const e=j.lFrame,n=null===e?null:e.child;return null===n?pv(e):n}function pv(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 gv(){const e=j.lFrame;return j.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const mv=gv;function xd(){const e=gv();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 ft(){return j.lFrame.selectedIndex}function eo(e){j.lFrame.selectedIndex=e}function De(){const e=j.lFrame;return os(e.tView,e.selectedIndex)}let yv=!0;function as(){return yv}function In(e){yv=e}function fl(e,n){for(let t=n.directiveStart,r=n.directiveEnd;t<r;t++){const i=e.data[t].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:l,ngAfterViewChecked:c,ngOnDestroy:u}=i;s&&(e.contentHooks??=[]).push(-t,s),a&&((e.contentHooks??=[]).push(t,a),(e.contentCheckHooks??=[]).push(t,a)),l&&(e.viewHooks??=[]).push(-t,l),c&&((e.viewHooks??=[]).push(t,c),(e.viewCheckHooks??=[]).push(t,c)),null!=u&&(e.destroyHooks??=[]).push(t,u)}}function hl(e,n,t){Cv(e,n,3,t)}function pl(e,n,t,r){(3&e[P])===t&&Cv(e,n,t,r)}function Fd(e,n){let t=e[P];(3&t)===n&&(t&=16383,t+=1,e[P]=t)}function Cv(e,n,t,r){const i=r??-1,s=n.length-1;let a=0;for(let l=void 0!==r?65535&e[Po]:0;l<s;l++)if("number"==typeof n[l+1]){if(a=n[l],null!=r&&a>=r)break}else n[l]<0&&(e[Po]+=65536),(a<i||-1==i)&&(XS(e,t,n,l),e[Po]=(4294901760&e[Po])+l+2),l++}function _v(e,n){Mn(4,e,n);const t=Q(null);try{n.call(e)}finally{Q(t),Mn(5,e,n)}}function XS(e,n,t,r){const o=t[r]<0,i=t[r+1],a=e[o?-t[r]:t[r]];o?e[P]>>14<e[Po]>>16&&(3&e[P])===n&&(e[P]+=16384,_v(a,i)):_v(a,i)}const Vo=-1;class ls{constructor(n,t,r){this.factory=n,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=r}}function Vd(e){return e!==Vo}function cs(e){return 32767&e}function us(e,n){let t=function nT(e){return e>>16}(e),r=n;for(;t>0;)r=r[Oo],t--;return r}let jd=!0;function gl(e){const n=jd;return jd=e,n}const Dv=255,wv=5;let rT=0;const Sn={};function ml(e,n){const t=Mv(e,n);if(-1!==t)return t;const r=n[S];r.firstCreatePass&&(e.injectorIndex=n.length,Ud(r.data,e),Ud(n,null),Ud(r.blueprint,null));const o=vl(e,n),i=e.injectorIndex;if(Vd(o)){const s=cs(o),a=us(o,n),l=a[S].data;for(let c=0;c<8;c++)n[i+c]=a[s+c]|l[s+c]}return n[i+8]=o,i}function Ud(e,n){e.push(0,0,0,0,0,0,0,0,n)}function Mv(e,n){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===n[e.injectorIndex+8]?-1:e.injectorIndex}function vl(e,n){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let t=0,r=null,o=n;for(;null!==o;){if(r=Nv(o),null===r)return Vo;if(t++,o=o[Oo],-1!==r.injectorIndex)return r.injectorIndex|t<<16}return Vo}function $d(e,n,t){!function oT(e,n,t){let r;"string"==typeof t?r=t.charCodeAt(0)||0:t.hasOwnProperty(Wi)&&(r=t[Wi]),null==r&&(r=t[Wi]=rT++);const o=r&Dv;n.data[e+(o>>wv)]|=1<<o}(e,n,t)}function Ev(e,n,t){if(t&K.Optional||void 0!==e)return e;ed()}function bv(e,n,t,r){if(t&K.Optional&&void 0===r&&(r=null),!(t&(K.Self|K.Host))){const o=e[He],i=It(void 0);try{return o?o.get(n,r,t&K.Optional):Em(n,r,t&K.Optional)}finally{It(i)}}return Ev(r,0,t)}function Iv(e,n,t,r=K.Default,o){if(null!==e){if(2048&n[P]&&!(r&K.Self)){const s=function cT(e,n,t,r,o){let i=e,s=n;for(;null!==i&&null!==s&&2048&s[P]&&!(512&s[P]);){const a=Sv(i,s,t,r|K.Self,Sn);if(a!==Sn)return a;let l=i.parent;if(!l){const c=s[Wm];if(c){const u=c.get(t,Sn,r);if(u!==Sn)return u}l=Nv(s),s=s[Oo]}i=l}return o}(e,n,t,r,Sn);if(s!==Sn)return s}const i=Sv(e,n,t,r,Sn);if(i!==Sn)return i}return bv(n,t,r,o)}function Sv(e,n,t,r,o){const i=function aT(e){if("string"==typeof e)return e.charCodeAt(0)||0;const n=e.hasOwnProperty(Wi)?e[Wi]:void 0;return"number"==typeof n?n>=0?n&Dv:lT:n}(t);if("function"==typeof i){if(!fv(n,e,r))return r&K.Host?Ev(o,0,r):bv(n,t,r,o);try{let s;if(s=i(r),null!=s||r&K.Optional)return s;ed()}finally{mv()}}else if("number"==typeof i){let s=null,a=Mv(e,n),l=Vo,c=r&K.Host?n[Ae][ct]:null;for((-1===a||r&K.SkipSelf)&&(l=-1===a?vl(e,n):n[a+8],l!==Vo&&Av(r,!1)?(s=n[S],a=cs(l),n=us(l,n)):a=-1);-1!==a;){const u=n[S];if(Tv(i,a,u.data)){const d=sT(a,n,t,s,r,c);if(d!==Sn)return d}l=n[a+8],l!==Vo&&Av(r,n[S].data[a+8]===c)&&Tv(i,a,n)?(s=u,a=cs(l),n=us(l,n)):a=-1}}return o}function sT(e,n,t,r,o,i){const s=n[S],a=s.data[e+8],u=yl(a,s,t,null==r?Kr(a)&&jd:r!=s&&!!(3&a.type),o&K.Host&&i===a);return null!==u?to(n,s,u,a):Sn}function yl(e,n,t,r,o){const i=e.providerIndexes,s=n.data,a=1048575&i,l=e.directiveStart,u=i>>20,f=o?a+u:e.directiveEnd;for(let h=r?a:a+u;h<f;h++){const p=s[h];if(h<l&&t===p||h>=l&&p.type===t)return h}if(o){const h=s[l];if(h&&on(h)&&h.type===t)return l}return null}function to(e,n,t,r){let o=e[t];const i=n.data;if(function KS(e){return e instanceof ls}(o)){const s=o;s.resolving&&function bI(e,n){throw n&&n.join(" > "),new I(-200,e)}(function ae(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():B(e)}(i[t]));const a=gl(s.canSeeViewProviders);s.resolving=!0;const c=s.injectImpl?It(s.injectImpl):null;fv(e,r,K.Default);try{o=e[t]=s.factory(void 0,i,e,r),n.firstCreatePass&&t>=r.directiveStart&&function YS(e,n,t){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=n.type.prototype;if(r){const s=Km(n);(t.preOrderHooks??=[]).push(e,s),(t.preOrderCheckHooks??=[]).push(e,s)}o&&(t.preOrderHooks??=[]).push(0-e,o),i&&((t.preOrderHooks??=[]).push(e,i),(t.preOrderCheckHooks??=[]).push(e,i))}(t,i[t],n)}finally{null!==c&&It(c),gl(a),s.resolving=!1,mv()}}return o}function Tv(e,n,t){return!!(t[n+(e>>wv)]&1<<e)}function Av(e,n){return!(e&K.Self||e&K.Host&&n)}class Ye{constructor(n,t){this._tNode=n,this._lView=t}get(n,t,r){return Iv(this._tNode,this._lView,n,Za(r),t)}}function lT(){return new Ye(pe(),M())}function nt(e){return qn(()=>{const n=e.prototype.constructor,t=n[Wn]||Bd(n),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const i=o[Wn]||Bd(o);if(i&&i!==t)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Bd(e){return Ha(e)?()=>{const n=Bd(L(e));return n&&n()}:Zr(e)}function Nv(e){const n=e[S],t=n.type;return 2===t?n.declTNode:1===t?e[ct]:null}function xv(e,n=null,t=null,r){const o=Fv(e,n,t,r);return o.resolveInjectorInitializers(),o}function Fv(e,n=null,t=null,r,o=new Set){const i=[t||se,tS(e)];return r=r||("object"==typeof e?void 0:We(e)),new Ao(i,n||ol(),r||null,o)}let Ct=(()=>{class e{static{this.THROW_IF_NOT_FOUND=Zi}static{this.NULL=new Ja}static create(t,r){if(Array.isArray(t))return xv({name:""},r,t,"");{const o=t.name??"";return xv({name:o},t.parent,t.providers,o)}}static{this.\u0275prov=k({token:e,providedIn:"any",factory:()=>R(Nm)})}static{this.__NG_ELEMENT_ID__=-1}}return e})();function zd(e){return e.ngOriginalError}class Tn{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&&zd(n);for(;t&&zd(t);)t=zd(t);return t||null}}const Vv=new N("",{providedIn:"root",factory:()=>b(Tn).handleError.bind(void 0)});let $o=(()=>{class e{static{this.__NG_ELEMENT_ID__=yT}static{this.__NG_ENV_ID__=t=>t}}return e})();class vT extends $o{constructor(n){super(),this._lView=n}onDestroy(n){return ul(this._lView,n),()=>function Td(e,n){if(null===e[pr])return;const t=e[pr].indexOf(n);-1!==t&&e[pr].splice(t,1)}(this._lView,n)}}function yT(){return new vT(M())}function CT(){return Bo(pe(),M())}function Bo(e,n){return new Vt(vt(e,n))}let Vt=(()=>{class e{constructor(t){this.nativeElement=t}static{this.__NG_ELEMENT_ID__=CT}}return e})();function Uv(e){return e instanceof Vt?e.nativeElement:e}function Gd(e){return n=>{setTimeout(e,void 0,n)}}const Re=class _T extends qt{constructor(n=!1){super(),this.destroyRef=void 0,this.__isAsync=n,zm()&&(this.destroyRef=b($o,{optional:!0})??void 0)}emit(n){const t=Q(null);try{super.next(n)}finally{Q(t)}}subscribe(n,t,r){let o=n,i=t||(()=>null),s=r;if(n&&"object"==typeof n){const l=n;o=l.next?.bind(l),i=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(i=Gd(i),o&&(o=Gd(o)),s&&(s=Gd(s)));const a=super.subscribe({next:o,error:i,complete:s});return n instanceof bt&&n.add(a),a}};function DT(){return this._results[Symbol.iterator]()}class qd{get changes(){return this._changes??=new Re}constructor(n=!1){this._emitDistinctChangesOnly=n,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;const t=qd.prototype;t[Symbol.iterator]||(t[Symbol.iterator]=DT)}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,t){return this._results.reduce(n,t)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,t){this.dirty=!1;const r=function St(e){return e.flat(Number.POSITIVE_INFINITY)}(n);(this._changesDetected=!function VI(e,n,t){if(e.length!==n.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],i=n[r];if(t&&(o=t(o),i=t(i)),i!==o)return!1}return!0}(this._results,r,t))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){void 0!==this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(n){this._onDirty=n}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){void 0!==this._changes&&(this._changes.complete(),this._changes.unsubscribe())}}function _l(e){return!(128&~e.flags)}const Wd=new Map;let MT=0;const Qd="__ngContext__";function ht(e,n){ut(n)?(e[Qd]=n[ts],function bT(e){Wd.set(e[ts],e)}(n)):e[Qd]=n}function Yv(e){return Kv(e[Ji])}function Xv(e){return Kv(e[nn])}function Kv(e){for(;null!==e&&!dt(e);)e=e[nn];return e}let Yd;function gr(){if(void 0!==Yd)return Yd;if(typeof document<"u")return document;throw new I(210,!1)}const Ml=new N("",{providedIn:"root",factory:()=>HT}),HT="ng",sy=new N(""),mr=new N("",{providedIn:"platform",factory:()=>"unknown"}),ay=new N("",{providedIn:"root",factory:()=>gr().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let ly=()=>null;function sf(e,n,t=!1){return ly(e,n,t)}const hy=new N("",{providedIn:"root",factory:()=>!1});let Nl,kl;function Go(e){return function uf(){if(void 0===Nl&&(Nl=null,de.trustedTypes))try{Nl=de.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Nl}()?.createHTML(e)||e}function df(){if(void 0===kl&&(kl=null,de.trustedTypes))try{kl=de.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return kl}function gy(e){return df()?.createHTML(e)||e}function vy(e){return df()?.createScriptURL(e)||e}class yy{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${pm})`}}function vr(e){return e instanceof yy?e.changingThisBreaksApplicationSecurity:e}function ys(e,n){const t=function lA(e){return e instanceof yy&&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 ${pm})`)}return t===n}class cA{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{const t=(new window.DOMParser).parseFromString(Go(n),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(n):(t.removeChild(t.firstChild),t)}catch{return null}}}class uA{constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){const t=this.inertDocument.createElement("template");return t.innerHTML=Go(n),t}}const fA=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function ff(e){return(e=String(e)).match(fA)?e:"unsafe:"+e}function Xn(e){const n={};for(const t of e.split(","))n[t]=!0;return n}function Cs(...e){const n={};for(const t of e)for(const r in t)t.hasOwnProperty(r)&&(n[r]=!0);return n}const _y=Xn("area,br,col,hr,img,wbr"),Dy=Xn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),wy=Xn("rp,rt"),hf=Cs(_y,Cs(Dy,Xn("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Cs(wy,Xn("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Cs(wy,Dy)),pf=Xn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),My=Cs(pf,Xn("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Xn("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),hA=Xn("script,style,template");class pA{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(n){let t=n.firstChild,r=!0,o=[];for(;t;)if(t.nodeType===Node.ELEMENT_NODE?r=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,r&&t.firstChild)o.push(t),t=vA(t);else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let i=mA(t);if(i){t=i;break}t=o.pop()}return this.buf.join("")}startElement(n){const t=Ey(n).toLowerCase();if(!hf.hasOwnProperty(t))return this.sanitizedSomething=!0,!hA.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const r=n.attributes;for(let o=0;o<r.length;o++){const i=r.item(o),s=i.name,a=s.toLowerCase();if(!My.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let l=i.value;pf[a]&&(l=ff(l)),this.buf.push(" ",s,'="',Iy(l),'"')}return this.buf.push(">"),!0}endElement(n){const t=Ey(n).toLowerCase();hf.hasOwnProperty(t)&&!_y.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(n){this.buf.push(Iy(n))}}function mA(e){const n=e.nextSibling;if(n&&e!==n.previousSibling)throw by(n);return n}function vA(e){const n=e.firstChild;if(n&&function gA(e,n){return(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,n))throw by(n);return n}function Ey(e){const n=e.nodeName;return"string"==typeof n?n:"FORM"}function by(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const yA=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,CA=/([^\#-~ |!])/g;function Iy(e){return e.replace(/&/g,"&").replace(yA,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(CA,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let Rl;function gf(e){return"content"in e&&function DA(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var qo=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(qo||{});function mf(e){const n=_s();return n?gy(n.sanitize(qo.HTML,e)||""):ys(e,"HTML")?gy(vr(e)):function _A(e,n){let t=null;try{Rl=Rl||function Cy(e){const n=new uA(e);return function dA(){try{return!!(new window.DOMParser).parseFromString(Go(""),"text/html")}catch{return!1}}()?new cA(n):n}(e);let r=n?String(n):"";t=Rl.getInertBodyElement(r);let o=5,i=r;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=t.innerHTML,t=Rl.getInertBodyElement(r)}while(r!==i);return Go((new pA).sanitizeChildren(gf(t)||t))}finally{if(t){const r=gf(t)||t;for(;r.firstChild;)r.removeChild(r.firstChild)}}}(gr(),B(e))}function vf(e){const n=_s();return n?n.sanitize(qo.URL,e)||"":ys(e,"URL")?vr(e):ff(B(e))}function Sy(e){const n=_s();if(n)return vy(n.sanitize(qo.RESOURCE_URL,e)||"");if(ys(e,"ResourceURL"))return vy(vr(e));throw new I(904,!1)}function _s(){const e=M();return e&&e[rn].sanitizer}function jt(e){return e instanceof Function?e():e}var yr=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(yr||{});let Df;function wf(e,n){return Df(e,n)}function Zo(e,n,t,r,o){if(null!=r){let i,s=!1;dt(r)?i=r:ut(r)&&(s=!0,r=r[Se]);const a=me(r);0===e&&null!==t?null==o?Uy(n,t,a):no(n,t,a,o||null,!0):1===e&&null!==t?no(n,t,a,o||null,!0):2===e?function Ms(e,n,t){const r=Ll(e,n);r&&function ZA(e,n,t,r){e.removeChild(n,t,r)}(e,r,n,t)}(n,a,s):3===e&&n.destroyNode(a),null!=i&&function XA(e,n,t,r,o){const i=t[wn];i!==me(t)&&Zo(n,e,r,i,o);for(let a=xe;a<t.length;a++){const l=t[a];jl(l[S],l,e,n,r,i)}}(n,e,i,t,o)}}function xl(e,n,t){return e.createElement(n,t)}function Ly(e,n){n[rn].changeDetectionScheduler?.notify(1),jl(e,n,n[V],2,null,null)}function Vy(e,n){const t=e[xo],r=t.indexOf(n);t.splice(r,1)}function Ds(e,n){if(e.length<=xe)return;const t=xe+n,r=e[t];if(r){const o=r[es];null!==o&&o!==e&&Vy(o,r),n>0&&(e[t-1][nn]=r[nn]);const i=Xa(e,xe+n);!function $A(e,n){Ly(e,n),n[Se]=null,n[ct]=null}(r[S],r);const s=i[Zn];null!==s&&s.detachView(i[S]),r[Pe]=null,r[nn]=null,r[P]&=-129}return r}function Fl(e,n){if(!(256&n[P])){const t=n[V];t.destroyNode&&jl(e,n,t,3,null,null),function HA(e){let n=e[Ji];if(!n)return bf(e[S],e);for(;n;){let t=null;if(ut(n))t=n[Ji];else{const r=n[xe];r&&(t=r)}if(!t){for(;n&&!n[nn]&&n!==e;)ut(n)&&bf(n[S],n),n=n[Pe];null===n&&(n=e),ut(n)&&bf(n[S],n),t=n&&n[nn]}n=t}}(n)}}function bf(e,n){if(256&n[P])return;const t=Q(null);try{n[P]&=-129,n[P]|=256,n[Xr]&&function em(e){if(_o(e),Gi(e))for(let n=0;n<e.producerNode.length;n++)Va(e.producerNode[n],e.producerIndexOfThis[n]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}(n[Xr]),function WA(e,n){let t;if(null!=e&&null!=(t=e.destroyHooks))for(let r=0;r<t.length;r+=2){const o=n[t[r]];if(!(o instanceof ls)){const i=t[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){const a=o[i[s]],l=i[s+1];Mn(4,a,l);try{l.call(a)}finally{Mn(5,a,l)}}else{Mn(4,o,i);try{i.call(o)}finally{Mn(5,o,i)}}}}}(e,n),function qA(e,n){const t=e.cleanup,r=n[Ro];if(null!==t)for(let i=0;i<t.length-1;i+=2)if("string"==typeof t[i]){const s=t[i+3];s>=0?r[s]():r[-s].unsubscribe(),i+=2}else t[i].call(r[t[i+1]]);null!==r&&(n[Ro]=null);const o=n[pr];if(null!==o){n[pr]=null;for(let i=0;i<o.length;i++)(0,o[i])()}}(e,n),1===n[S].type&&n[V].destroy();const r=n[es];if(null!==r&&dt(n[Pe])){r!==n[Pe]&&Vy(r,n);const o=n[Zn];null!==o&&o.detachView(e)}!function IT(e){Wd.delete(e[ts])}(n)}finally{Q(t)}}function If(e,n,t){return function jy(e,n,t){let r=n;for(;null!==r&&40&r.type;)r=(n=r).parent;if(null===r)return t[Se];{const{componentOffset:o}=r;if(o>-1){const{encapsulation:i}=e.data[r.directiveStart+o];if(i===en.None||i===en.Emulated)return null}return vt(r,t)}}(e,n.parent,t)}function no(e,n,t,r,o){e.insertBefore(n,t,r,o)}function Uy(e,n,t){e.appendChild(n,t)}function $y(e,n,t,r,o){null!==r?no(e,n,t,r,o):Uy(e,n,t)}function Ll(e,n){return e.parentNode(n)}let Sf,zy=function Hy(e,n,t){return 40&e.type?vt(e,t):null};function Vl(e,n,t,r){const o=If(e,r,n),i=n[V],a=function By(e,n,t){return zy(e,n,t)}(r.parent||n[ct],r,n);if(null!=o)if(Array.isArray(t))for(let l=0;l<t.length;l++)$y(i,o,t[l],a,!1);else $y(i,o,t,a,!1);void 0!==Sf&&Sf(i,r,n,t,o)}function ws(e,n){if(null!==n){const t=n.type;if(3&t)return vt(n,e);if(4&t)return Tf(-1,e[n.index]);if(8&t){const r=n.child;if(null!==r)return ws(e,r);{const o=e[n.index];return dt(o)?Tf(-1,o):me(o)}}if(32&t)return wf(n,e)()||me(e[n.index]);{const r=qy(e,n);return null!==r?Array.isArray(r)?r[0]:ws(Jr(e[Ae]),r):ws(e,n.next)}}return null}function qy(e,n){return null!==n?e[Ae][ct].projection[n.projection]:null}function Tf(e,n){const t=xe+e+1;if(t<n.length){const r=n[t],o=r[S].firstChild;if(null!==o)return ws(r,o)}return n[wn]}function Af(e,n,t,r,o,i,s){for(;null!=t;){const a=r[t.index],l=t.type;if(s&&0===n&&(a&&ht(me(a),r),t.flags|=2),32&~t.flags)if(8&l)Af(e,n,t.child,r,o,i,!1),Zo(n,e,o,a,i);else if(32&l){const c=wf(t,r);let u;for(;u=c();)Zo(n,e,o,u,i);Zo(n,e,o,a,i)}else 16&l?Zy(e,n,r,t,o,i):Zo(n,e,o,a,i);t=s?t.projectionNext:t.next}}function jl(e,n,t,r,o,i){Af(t,r,e.firstChild,n,o,i,!1)}function Zy(e,n,t,r,o,i){const s=t[Ae],l=s[ct].projection[r.projection];if(Array.isArray(l))for(let c=0;c<l.length;c++)Zo(n,e,o,l[c],i);else{let c=l;const u=s[Pe];_l(r)&&(c.flags|=128),Af(e,n,c,u,o,i,!0)}}function Qy(e,n,t){""===t?e.removeAttribute(n,"class"):e.setAttribute(n,"class",t)}function Yy(e,n,t){const{mergedAttrs:r,classes:o,styles:i}=t;null!==r&&ad(e,n,r),null!==o&&Qy(e,n,o),null!==i&&function JA(e,n,t){e.setAttribute(n,"style",t)}(e,n,i)}const G={};function _(e=1){Xy(J(),M(),ft()+e,!1)}function Xy(e,n,t,r){if(!r)if(3&~n[P]){const i=e.preOrderHooks;null!==i&&pl(n,i,0,t)}else{const i=e.preOrderCheckHooks;null!==i&&hl(n,i,t)}eo(t)}function E(e,n=K.Default){const t=M();return null===t?R(e,n):Iv(pe(),t,L(e),n)}function Jy(e,n,t,r,o,i){const s=Q(null);try{let a=null;o&Ie.SignalBased&&(a=n[r][zr]),null!==a&&void 0!==a.transformFn&&(i=a.transformFn(i)),o&Ie.HasDecoratorInputTransform&&(i=e.inputTransforms[r].call(n,i)),null!==e.setInput?e.setInput(n,a,i,t,r):Xm(n,a,r,i)}finally{Q(s)}}function Ul(e,n,t,r,o,i,s,a,l,c,u){const d=n.blueprint.slice();return d[Se]=o,d[P]=204|r,(null!==c||e&&2048&e[P])&&(d[P]|=2048),ov(d),d[Pe]=d[Oo]=e,d[_e]=t,d[rn]=s||e&&e[rn],d[V]=a||e&&e[V],d[He]=l||e&&e[He]||null,d[ct]=i,d[ts]=function ET(){return MT++}(),d[Ft]=u,d[Wm]=c,d[Ae]=2==n.type?e[Ae]:d,d}function Qo(e,n,t,r,o){let i=e.data[n];if(null===i)i=function Nf(e,n,t,r,o){const i=lv(),s=Ad(),l=e.data[n]=function aN(e,n,t,r,o,i){let s=n?n.injectorIndex:-1,a=0;return function Lo(){return null!==j.skipHydrationRootTNode}()&&(a|=128),{type:t,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?i:i&&i.parent,t,n,r,o);return null===e.firstChild&&(e.firstChild=l),null!==i&&(s?null==i.child&&null!==l.parent&&(i.child=l):null===i.next&&(i.next=l,l.prev=i)),l}(e,n,t,r,o),function $S(){return j.lFrame.inI18n}()&&(i.flags|=32);else if(64&i.type){i.type=t,i.value=r,i.attrs=o;const s=function ss(){const e=j.lFrame,n=e.currentTNode;return e.isParent?n:n.parent}();i.injectorIndex=null===s?-1:s.injectorIndex}return bn(i,!0),i}function Es(e,n,t,r){if(0===t)return-1;const o=n.length;for(let i=0;i<t;i++)n.push(r),e.blueprint.push(r),e.data.push(null);return o}function eC(e,n,t,r,o){const i=ft(),s=2&r;try{eo(-1),s&&n.length>H&&Xy(e,n,H,!1),Mn(s?2:0,o),t(r,o)}finally{eo(i),Mn(s?3:1,o)}}function kf(e,n,t){if(Cd(n)){const r=Q(null);try{const i=n.directiveEnd;for(let s=n.directiveStart;s<i;s++){const a=e.data[s];a.contentQueries&&a.contentQueries(1,t[s],s)}}finally{Q(r)}}}function Rf(e,n,t){av()&&(function pN(e,n,t,r){const o=t.directiveStart,i=t.directiveEnd;Kr(t)&&function DN(e,n,t){const r=vt(n,e),o=tC(t);let s=16;t.signals?s=4096:t.onPush&&(s=64);const a=$l(e,Ul(e,o,null,s,r,n,null,e[rn].rendererFactory.createRenderer(r,t),null,null,null));e[n.index]=a}(n,t,e.data[o+t.componentOffset]),e.firstCreatePass||ml(t,n),ht(r,n);const s=t.initialInputs;for(let a=o;a<i;a++){const l=e.data[a],c=to(n,e,a,t);ht(c,n),null!==s&&wN(0,a-o,c,l,0,s),on(l)&&(Lt(t.index,n)[_e]=to(n,e,a,t))}}(e,n,t,vt(t,n)),!(64&~t.flags)&&sC(e,n,t))}function Of(e,n,t=vt){const r=n.localNames;if(null!==r){let o=n.index+1;for(let i=0;i<r.length;i+=2){const s=r[i+1],a=-1===s?t(n,e):e[s];e[o++]=a}}}function tC(e){const n=e.tView;return null===n||n.incompleteFirstPass?e.tView=Pf(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):n}function Pf(e,n,t,r,o,i,s,a,l,c,u){const d=H+r,f=d+o,h=function tN(e,n){const t=[];for(let r=0;r<n;r++)t.push(r<e?null:G);return t}(d,f),p="function"==typeof c?c():c;return h[S]={type:e,blueprint:h,template:t,queries:null,viewQuery:a,declTNode:n,data:h.slice().fill(null,d),bindingStartIndex:d,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 i?i():i,pipeRegistry:"function"==typeof s?s():s,firstChild:null,schemas:l,consts:p,incompleteFirstPass:!1,ssrId:u}}let nC=()=>null;function rC(e,n,t,r,o){for(let i in n){if(!n.hasOwnProperty(i))continue;const s=n[i];if(void 0===s)continue;r??={};let a,l=Ie.None;Array.isArray(s)?(a=s[0],l=s[1]):a=s;let c=i;if(null!==o){if(!o.hasOwnProperty(i))continue;c=o[i]}0===e?oC(r,t,c,a,l):oC(r,t,c,a)}return r}function oC(e,n,t,r,o){let i;e.hasOwnProperty(t)?(i=e[t]).push(n,r):i=e[t]=[n,r],void 0!==o&&i.push(o)}function At(e,n,t,r,o,i,s,a){const l=vt(n,t);let u,c=n.inputs;!a&&null!=c&&(u=c[r])?(jf(e,t,u,r,o),Kr(n)&&function uN(e,n){const t=Lt(n,e);16&t[P]||(t[P]|=64)}(t,n.index)):3&n.type&&(r=function cN(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),o=null!=s?s(o,n.value||"",r):o,i.setProperty(l,r,o))}function xf(e,n,t,r){if(av()){const o=null===r?null:{"":-1},i=function mN(e,n){const t=e.directiveRegistry;let r=null,o=null;if(t)for(let i=0;i<t.length;i++){const s=t[i];if(xm(n,s.selectors,!1))if(r||(r=[]),on(s))if(null!==s.findHostDirectiveDefs){const a=[];o=o||new Map,s.findHostDirectiveDefs(s,a,o),r.unshift(...a,s),Ff(e,n,a.length)}else r.unshift(s),Ff(e,n,0);else o=o||new Map,s.findHostDirectiveDefs?.(s,r,o),r.push(s)}return null===r?null:[r,o]}(e,t);let s,a;null===i?s=a=null:[s,a]=i,null!==s&&iC(e,n,t,s,o,a),o&&function vN(e,n,t){if(n){const r=e.localNames=[];for(let o=0;o<n.length;o+=2){const i=t[n[o+1]];if(null==i)throw new I(-301,!1);r.push(n[o],i)}}}(t,r,o)}t.mergedAttrs=Yi(t.mergedAttrs,t.attrs)}function iC(e,n,t,r,o,i){for(let c=0;c<r.length;c++)$d(ml(t,n),e,r[c].type);!function CN(e,n,t){e.flags|=1,e.directiveStart=n,e.directiveEnd=n+t,e.providerIndexes=n}(t,e.data.length,r.length);for(let c=0;c<r.length;c++){const u=r[c];u.providersResolver&&u.providersResolver(u)}let s=!1,a=!1,l=Es(e,n,r.length,null);for(let c=0;c<r.length;c++){const u=r[c];t.mergedAttrs=Yi(t.mergedAttrs,u.hostAttrs),_N(e,t,n,l,u),yN(l,u,o),null!==u.contentQueries&&(t.flags|=4),(null!==u.hostBindings||null!==u.hostAttrs||0!==u.hostVars)&&(t.flags|=64);const d=u.type.prototype;!s&&(d.ngOnChanges||d.ngOnInit||d.ngDoCheck)&&((e.preOrderHooks??=[]).push(t.index),s=!0),!a&&(d.ngOnChanges||d.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(t.index),a=!0),l++}!function lN(e,n,t){const o=n.directiveEnd,i=e.data,s=n.attrs,a=[];let l=null,c=null;for(let u=n.directiveStart;u<o;u++){const d=i[u],f=t?t.get(d):null,p=f?f.outputs:null;l=rC(0,d.inputs,u,l,f?f.inputs:null),c=rC(1,d.outputs,u,c,p);const v=null===l||null===s||ld(n)?null:MN(l,u,s);a.push(v)}null!==l&&(l.hasOwnProperty("class")&&(n.flags|=8),l.hasOwnProperty("style")&&(n.flags|=16)),n.initialInputs=a,n.inputs=l,n.outputs=c}(e,t,i)}function sC(e,n,t){const r=t.directiveStart,o=t.directiveEnd,i=t.index,s=function HS(){return j.lFrame.currentDirectiveIndex}();try{eo(i);for(let a=r;a<o;a++){const l=e.data[a],c=n[a];kd(a),(null!==l.hostBindings||0!==l.hostVars||null!==l.hostAttrs)&&gN(l,c)}}finally{eo(-1),kd(s)}}function gN(e,n){null!==e.hostBindings&&e.hostBindings(1,n)}function Ff(e,n,t){n.componentOffset=t,(e.components??=[]).push(n.index)}function yN(e,n,t){if(t){if(n.exportAs)for(let r=0;r<n.exportAs.length;r++)t[n.exportAs[r]]=e;on(n)&&(t[""]=e)}}function _N(e,n,t,r,o){e.data[r]=o;const i=o.factory||(o.factory=Zr(o.type)),s=new ls(i,on(o),E);e.blueprint[r]=s,t[r]=s,function fN(e,n,t,r,o){const i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;null===s&&(s=e.hostBindingOpCodes=[]);const a=~n.index;(function hN(e){let n=e.length;for(;n>0;){const t=e[--n];if("number"==typeof t&&t<0)return t}return 0})(s)!=a&&s.push(a),s.push(t,r,i)}}(e,n,r,Es(e,t,o.hostVars,G),o)}function An(e,n,t,r,o,i){const s=vt(e,n);!function Lf(e,n,t,r,o,i,s){if(null==i)e.removeAttribute(n,o,t);else{const a=null==s?B(i):s(i,r||"",o);e.setAttribute(n,o,a,t)}}(n[V],s,i,e.value,t,r,o)}function wN(e,n,t,r,o,i){const s=i[n];if(null!==s)for(let a=0;a<s.length;)Jy(r,t,s[a++],s[a++],s[a++],s[a++])}function MN(e,n,t){let r=null,o=0;for(;o<t.length;){const i=t[o];if(0!==i)if(5!==i){if("number"==typeof i)break;if(e.hasOwnProperty(i)){null===r&&(r=[]);const s=e[i];for(let a=0;a<s.length;a+=3)if(s[a]===n){r.push(i,s[a+1],s[a+2],t[o+1]);break}}o+=2}else o+=2;else o+=4}return r}function aC(e,n,t,r){return[e,!0,0,n,null,r,null,t,null,null]}function lC(e,n){const t=e.contentQueries;if(null!==t){const r=Q(null);try{for(let o=0;o<t.length;o+=2){const s=t[o+1];if(-1!==s){const a=e.data[s];dl(t[o]),a.contentQueries(2,n[s],s)}}}finally{Q(r)}}}function $l(e,n){return e[Ji]?e[qm][nn]=n:e[Ji]=n,e[qm]=n,n}function Vf(e,n,t){dl(0);const r=Q(null);try{n(e,t)}finally{Q(r)}}function cC(e){return e[Ro]||(e[Ro]=[])}function uC(e){return e.cleanup||(e.cleanup=[])}function Bl(e,n){const t=e[He],r=t?t.get(Tn,null):null;r&&r.handleError(n)}function jf(e,n,t,r,o){for(let i=0;i<t.length;){const s=t[i++],a=t[i++],l=t[i++];Jy(e.data[s],n[s],r,a,l,o)}}function Kn(e,n,t){const r=rs(n,e);!function Fy(e,n,t){e.setValue(n,t)}(e[V],r,t)}function EN(e,n){const t=Lt(n,e),r=t[S];!function bN(e,n){for(let t=n.length;t<e.blueprint.length;t++)n.push(e.blueprint[t])}(r,t);const o=t[Se];null!==o&&null===t[Ft]&&(t[Ft]=sf(o,t[He])),Uf(r,t,t[_e])}function Uf(e,n,t){Pd(n);try{const r=e.viewQuery;null!==r&&Vf(1,r,t);const o=e.template;null!==o&&eC(e,n,o,1,t),e.firstCreatePass&&(e.firstCreatePass=!1),n[Zn]?.finishViewCreation(e),e.staticContentQueries&&lC(e,n),e.staticViewQueries&&Vf(2,e.viewQuery,t);const i=e.components;null!==i&&function IN(e,n){for(let t=0;t<n.length;t++)EN(e,n[t])}(n,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{n[P]&=-5,xd()}}function Yo(e,n){return!n||null===n.firstChild||_l(e)}function Is(e,n,t,r=!0){const o=n[S];if(function zA(e,n,t,r){const o=xe+r,i=t.length;r>0&&(t[o-1][nn]=n),r<i-xe?(n[nn]=t[o],Sm(t,xe+r,n)):(t.push(n),n[nn]=null),n[Pe]=t;const s=n[es];null!==s&&t!==s&&function GA(e,n){const t=e[xo];n[Ae]!==n[Pe][Pe][Ae]&&(e[P]|=yd.HasTransplantedViews),null===t?e[xo]=[n]:t.push(n)}(s,n);const a=n[Zn];null!==a&&a.insertView(e),Sd(n),n[P]|=128}(o,n,e,t),r){const s=Tf(t,e),a=n[V],l=Ll(a,e[wn]);null!==l&&function BA(e,n,t,r,o,i){r[Se]=o,r[ct]=n,jl(e,r,t,1,o,i)}(o,e[ct],a,n,l,s)}const i=n[Ft];null!==i&&null!==i.firstChild&&(i.firstChild=null)}function Ss(e,n,t,r,o=!1){for(;null!==t;){const i=n[t.index];null!==i&&r.push(me(i)),dt(i)&&hC(i,r);const s=t.type;if(8&s)Ss(e,n,t.child,r);else if(32&s){const a=wf(t,n);let l;for(;l=a();)r.push(l)}else if(16&s){const a=qy(n,t);if(Array.isArray(a))r.push(...a);else{const l=Jr(n[Ae]);Ss(l[S],l,a,r,!0)}}t=o?t.projectionNext:t.next}return r}function hC(e,n){for(let t=xe;t<e.length;t++){const r=e[t],o=r[S].firstChild;null!==o&&Ss(r[S],r,o,n)}e[wn]!==e[Se]&&n.push(e[wn])}let pC=[];const NN={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{},consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{is(e.lView)},consumerOnSignalRead(){this.lView[Xr]=this}},gC=100;function Hl(e,n=!0,t=0){const r=e[rn],o=r.rendererFactory;o.begin?.();try{!function kN(e,n){Bf(e,n);let t=0;for(;Id(e);){if(t===gC)throw new I(103,!1);t++,Bf(e,1)}}(e,t)}catch(s){throw n&&Bl(e,s),s}finally{o.end?.(),r.inlineEffectRunner?.flush()}}function RN(e,n,t,r){const o=n[P];if(!(256&~o))return;n[rn].inlineEffectRunner?.flush(),Pd(n);let s=null,a=null;(function ON(e){return 2!==e.type})(e)&&(a=function SN(e){return e[Xr]??function TN(e){const n=pC.pop()??Object.create(NN);return n.lView=e,n}(e)}(n),s=function Kg(e){return e&&(e.nextProducerIndex=0),Q(e)}(a));try{ov(n),function uv(e){return j.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==t&&eC(e,n,t,2,r);const l=!(3&~o);if(l){const d=e.preOrderCheckHooks;null!==d&&hl(n,d,null)}else{const d=e.preOrderHooks;null!==d&&pl(n,d,0,null),Fd(n,0)}if(function PN(e){for(let n=Yv(e);null!==n;n=Xv(n)){if(!(n[P]&yd.HasTransplantedViews))continue;const t=n[xo];for(let r=0;r<t.length;r++){kS(t[r])}}}(n),mC(n,0),null!==e.contentQueries&&lC(e,n),l){const d=e.contentCheckHooks;null!==d&&hl(n,d)}else{const d=e.contentHooks;null!==d&&pl(n,d,1),Fd(n,1)}!function eN(e,n){const t=e.hostBindingOpCodes;if(null!==t)try{for(let r=0;r<t.length;r++){const o=t[r];if(o<0)eo(~o);else{const i=o,s=t[++r],a=t[++r];BS(s,i),a(2,n[i])}}}finally{eo(-1)}}(e,n);const c=e.components;null!==c&&yC(n,c,0);const u=e.viewQuery;if(null!==u&&Vf(2,u,r),l){const d=e.viewCheckHooks;null!==d&&hl(n,d)}else{const d=e.viewHooks;null!==d&&pl(n,d,2),Fd(n,2)}if(!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),n[al]){for(const d of n[al])d();n[al]=null}n[P]&=-73}catch(l){throw is(n),l}finally{null!==a&&(function Jg(e,n){if(Q(n),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(Gi(e))for(let t=e.nextProducerIndex;t<e.producerNode.length;t++)Va(e.producerNode[t],e.producerIndexOfThis[t]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}(a,s),function AN(e){e.lView[Xr]!==e&&(e.lView=null,pC.push(e))}(a)),xd()}}function mC(e,n){for(let t=Yv(e);null!==t;t=Xv(t))for(let r=xe;r<t.length;r++)vC(t[r],n)}function xN(e,n,t){vC(Lt(n,e),t)}function vC(e,n){bd(e)&&Bf(e,n)}function Bf(e,n){const r=e[S],o=e[P],i=e[Xr];let s=!!(0===n&&16&o);if(s||=!!(64&o&&0===n),s||=!!(1024&o),s||=!(!i?.dirty||!Ru(i)),i&&(i.dirty=!1),e[P]&=-9217,s)RN(r,e,r.template,e[_e]);else if(8192&o){mC(e,1);const a=r.components;null!==a&&yC(e,a,1)}}function yC(e,n,t){for(let r=0;r<n.length;r++)xN(e,n[r],t)}function Ts(e){for(e[rn].changeDetectionScheduler?.notify();e;){e[P]|=64;const n=Jr(e);if(_d(e)&&!n)return e;e=n}return null}class As{get rootNodes(){const n=this._lView,t=n[S];return Ss(t,n,t.firstChild,[])}constructor(n,t,r=!0){this._lView=n,this._cdRefInjectingView=t,this.notifyErrorHandler=r,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[_e]}set context(n){this._lView[_e]=n}get destroyed(){return!(256&~this._lView[P])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const n=this._lView[Pe];if(dt(n)){const t=n[8],r=t?t.indexOf(this):-1;r>-1&&(Ds(n,r),Xa(t,r))}this._attachedToViewContainer=!1}Fl(this._lView[S],this._lView)}onDestroy(n){ul(this._lView,n)}markForCheck(){Ts(this._cdRefInjectingView||this._lView)}detach(){this._lView[P]&=-129}reattach(){Sd(this._lView),this._lView[P]|=128}detectChanges(){this._lView[P]|=1024,Hl(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new I(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,Ly(this._lView[S],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new I(902,!1);this._appRef=n,Sd(this._lView)}}let Jn=(()=>{class e{static{this.__NG_ELEMENT_ID__=VN}}return e})();const FN=Jn,LN=class extends FN{constructor(n,t,r){super(),this._declarationLView=n,this._declarationTContainer=t,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,t){return this.createEmbeddedViewImpl(n,t)}createEmbeddedViewImpl(n,t,r){const o=function bs(e,n,t,r){const o=Q(null);try{const i=n.tView,l=Ul(e,i,t,4096&e[P]?4096:16,null,n,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null);l[es]=e[n.index];const u=e[Zn];return null!==u&&(l[Zn]=u.createEmbeddedView(i)),Uf(i,l,t),l}finally{Q(o)}}(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:t,dehydratedView:r});return new As(o)}};function VN(){return zl(pe(),M())}function zl(e,n){return 4&e.type?new LN(n,e,Bo(e,n)):null}class Zf{}class l2{}class bC{}class u2{resolveComponentFactory(n){throw function c2(e){const n=Error(`No component factory found for ${We(e)}.`);return n.ngComponent=e,n}(n)}}let Ql=(()=>{class e{static{this.NULL=new u2}}return e})();class SC{}let er=(()=>{class e{constructor(){this.destroyNode=null}static{this.__NG_ELEMENT_ID__=()=>function d2(){const e=M(),t=Lt(pe().index,e);return(ut(t)?t:e)[V]}()}}return e})(),f2=(()=>{class e{static{this.\u0275prov=k({token:e,providedIn:"root",factory:()=>null})}}return e})();const Qf={},TC=new Set;function Nn(e){TC.has(e)||(TC.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function AC(...e){}class fe{constructor({enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Re(!1),this.onMicrotaskEmpty=new Re(!1),this.onStable=new Re(!1),this.onError=new Re(!1),typeof Zone>"u")throw new I(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&t,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function h2(){const e="function"==typeof de.requestAnimationFrame;let n=de[e?"requestAnimationFrame":"setTimeout"],t=de[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&n&&t){const r=n[Zone.__symbol__("OriginalDelegate")];r&&(n=r);const o=t[Zone.__symbol__("OriginalDelegate")];o&&(t=o)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function m2(e){const n=()=>{!function g2(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(de,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Xf(e),e.isCheckStableRunning=!0,Yf(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Xf(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(t,r,o,i,s,a)=>{if(function v2(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(a))return t.invokeTask(o,i,s,a);try{return NC(e),t.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&n(),kC(e)}},onInvoke:(t,r,o,i,s,a,l)=>{try{return NC(e),t.invoke(o,i,s,a,l)}finally{e.shouldCoalesceRunChangeDetection&&n(),kC(e)}},onHasTask:(t,r,o,i)=>{t.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,Xf(e),Yf(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(t,r,o,i)=>(t.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!fe.isInAngularZone())throw new I(909,!1)}static assertNotInAngularZone(){if(fe.isInAngularZone())throw new I(909,!1)}run(n,t,r){return this._inner.run(n,t,r)}runTask(n,t,r,o){const i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,n,p2,AC,AC);try{return i.runTask(s,t,r)}finally{i.cancelTask(s)}}runGuarded(n,t,r){return this._inner.runGuarded(n,t,r)}runOutsideAngular(n){return this._outer.run(n)}}const p2={};function Yf(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 Xf(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function NC(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function kC(e){e._nesting--,Yf(e)}class RC{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Re,this.onMicrotaskEmpty=new Re,this.onStable=new Re,this.onError=new Re}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,o){return n.apply(t,r)}}var ro=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(ro||{});const OC={destroy(){}};function Jf(e,n){!n&&function il(e){if(!zm())throw new I(-203,!1)}();const t=n?.injector??b(Ct);if(!function an(e){return"browser"===(e??b(Ct)).get(mr)}(t))return OC;Nn("NgAfterNextRender");const r=t.get(Ps),o=r.handler??=new xC,i=n?.phase??ro.MixedReadWrite,s=()=>{o.unregister(l),a()},a=t.get($o).onDestroy(s),l=Dn(t,()=>new PC(i,()=>{s(),e()}));return o.register(l),{destroy:s}}class PC{constructor(n,t){this.phase=n,this.callbackFn=t,this.zone=b(fe),this.errorHandler=b(Tn,{optional:!0}),b(Zf,{optional:!0})?.notify(1)}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(n){this.errorHandler?.handleError(n)}}}class xC{constructor(){this.executingCallbacks=!1,this.buckets={[ro.EarlyRead]:new Set,[ro.Write]:new Set,[ro.MixedReadWrite]:new Set,[ro.Read]:new Set},this.deferredCallbacks=new Set}register(n){(this.executingCallbacks?this.deferredCallbacks:this.buckets[n.phase]).add(n)}unregister(n){this.buckets[n.phase].delete(n),this.deferredCallbacks.delete(n)}execute(){this.executingCallbacks=!0;for(const n of Object.values(this.buckets))for(const t of n)t.invoke();this.executingCallbacks=!1;for(const n of this.deferredCallbacks)this.buckets[n.phase].add(n);this.deferredCallbacks.clear()}destroy(){for(const n of Object.values(this.buckets))n.clear();this.deferredCallbacks.clear()}}let Ps=(()=>{class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){const t=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const r of t)r()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static{this.\u0275prov=k({token:e,providedIn:"root",factory:()=>new e})}}return e})();function Xl(e,n,t){let r=t?e.styles:null,o=t?e.classes:null,i=0;if(null!==n)for(let s=0;s<n.length;s++){const a=n[s];"number"==typeof a?i=a:1==i?o=Gu(o,a):2==i&&(r=Gu(r,a+": "+n[++s]+";"))}t?e.styles=r:e.stylesWithoutHost=r,t?e.classes=o:e.classesWithoutHost=o}class VC extends Ql{constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){const t=Y(n);return new Ls(t,this.ngModule)}}function jC(e){const n=[];for(const t in e){if(!e.hasOwnProperty(t))continue;const r=e[t];void 0!==r&&n.push({propName:Array.isArray(r)?r[0]:r,templateName:t})}return n}class Kl{constructor(n,t){this.injector=n,this.parentInjector=t}get(n,t,r){r=Za(r);const o=this.injector.get(n,Qf,r);return o!==Qf||t===Qf?o:this.parentInjector.get(n,t,r)}}class Ls extends bC{get inputs(){const n=this.componentDef,t=n.inputTransforms,r=jC(n.inputs);if(null!==t)for(const o of r)t.hasOwnProperty(o.propName)&&(o.transform=t[o.propName]);return r}get outputs(){return jC(this.componentDef.outputs)}constructor(n,t){super(),this.componentDef=n,this.ngModule=t,this.componentType=n.type,this.selector=function QI(e){return e.map(ZI).join(",")}(n.selectors),this.ngContentSelectors=n.ngContentSelectors?n.ngContentSelectors:[],this.isBoundToModule=!!t}create(n,t,r,o){const i=Q(null);try{let s=(o=o||this.ngModule)instanceof mt?o:o?.injector;s&&null!==this.componentDef.getStandaloneInjector&&(s=this.componentDef.getStandaloneInjector(s)||s);const a=s?new Kl(n,s):n,l=a.get(SC,null);if(null===l)throw new I(407,!1);const c=a.get(f2,null),f={rendererFactory:l,sanitizer:c,inlineEffectRunner:null,afterRenderEventManager:a.get(Ps,null),changeDetectionScheduler:a.get(Zf,null)},h=l.createRenderer(null,this.componentDef),p=this.componentDef.selectors[0][0]||"div",v=r?function nN(e,n,t,r){const i=r.get(hy,!1)||t===en.ShadowDom,s=e.selectRootElement(n,i);return function rN(e){nC(e)}(s),s}(h,r,this.componentDef.encapsulation,a):xl(h,p,function w2(e){const n=e.toLowerCase();return"svg"===n?"svg":"math"===n?"math":null}(p));let C=512;this.componentDef.signals?C|=4096:this.componentDef.onPush||(C|=16);let D=null;null!==v&&(D=sf(v,a,!0));const w=Pf(0,null,null,1,0,null,null,null,null,null,null),A=Ul(null,w,null,C,null,null,f,h,a,null,D);let F,X;Pd(A);try{const ue=this.componentDef;let rt,ur=null;ue.findHostDirectiveDefs?(rt=[],ur=new Map,ue.findHostDirectiveDefs(ue,rt,ur),rt.push(ue)):rt=[ue];const H1=function E2(e,n){const t=e[S],r=H;return e[r]=n,Qo(t,r,2,"#host",null)}(A,v),i9=function b2(e,n,t,r,o,i,s){const a=o[S];!function I2(e,n,t,r){for(const o of e)n.mergedAttrs=Yi(n.mergedAttrs,o.hostAttrs);null!==n.mergedAttrs&&(Xl(n,n.mergedAttrs,!0),null!==t&&Yy(r,t,n))}(r,e,n,s);let l=null;null!==n&&(l=sf(n,o[He]));const c=i.rendererFactory.createRenderer(n,t);let u=16;t.signals?u=4096:t.onPush&&(u=64);const d=Ul(o,tC(t),null,u,o[e.index],e,i,c,null,null,l);return a.firstCreatePass&&Ff(a,e,r.length-1),$l(o,d),o[e.index]=d}(H1,v,ue,rt,A,f,h);X=os(w,H),v&&function T2(e,n,t,r){if(r)ad(e,t,["ng-version","17.3.12"]);else{const{attrs:o,classes:i}=function YI(e){const n=[],t=[];let r=1,o=2;for(;r<e.length;){let i=e[r];if("string"==typeof i)2===o?""!==i&&n.push(i,e[++r]):8===o&&t.push(i);else{if(!tn(o))break;o=i}r++}return{attrs:n,classes:t}}(n.selectors[0]);o&&ad(e,t,o),i&&i.length>0&&Qy(e,t,i.join(" "))}}(h,ue,v,r),void 0!==t&&function A2(e,n,t){const r=e.projection=[];for(let o=0;o<n.length;o++){const i=t[o];r.push(null!=i?Array.from(i):null)}}(X,this.ngContentSelectors,t),F=function S2(e,n,t,r,o,i){const s=pe(),a=o[S],l=vt(s,o);iC(a,o,s,t,null,r);for(let u=0;u<t.length;u++)ht(to(o,a,s.directiveStart+u,s),o);sC(a,o,s),l&&ht(l,o);const c=to(o,a,s.directiveStart+s.componentOffset,s);if(e[_e]=o[_e]=c,null!==i)for(const u of i)u(c,n);return kf(a,s,o),c}(i9,ue,rt,ur,A,[N2]),Uf(w,A,null)}finally{xd()}return new M2(this.componentType,F,Bo(X,A),A,X)}finally{Q(i)}}}class M2 extends l2{constructor(n,t,r,o,i){super(),this.location=r,this._rootLView=o,this._tNode=i,this.previousInputValues=null,this.instance=t,this.hostView=this.changeDetectorRef=new As(o,void 0,!1),this.componentType=n}setInput(n,t){const r=this._tNode.inputs;let o;if(null!==r&&(o=r[n])){if(this.previousInputValues??=new Map,this.previousInputValues.has(n)&&Object.is(this.previousInputValues.get(n),t))return;const i=this._rootLView;jf(i[S],i,o,n,t),this.previousInputValues.set(n,t),Ts(Lt(this._tNode.index,i))}}get injector(){return new Ye(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}}function N2(){const e=pe();fl(M()[S],e)}let ln=(()=>{class e{static{this.__NG_ELEMENT_ID__=k2}}return e})();function k2(){return BC(pe(),M())}const R2=ln,UC=class extends R2{constructor(n,t,r){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=r}get element(){return Bo(this._hostTNode,this._hostLView)}get injector(){return new Ye(this._hostTNode,this._hostLView)}get parentInjector(){const n=vl(this._hostTNode,this._hostLView);if(Vd(n)){const t=us(n,this._hostLView),r=cs(n);return new Ye(t[S].data[r+8],t)}return new Ye(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const t=$C(this._lContainer);return null!==t&&t[n]||null}get length(){return this._lContainer.length-xe}createEmbeddedView(n,t,r){let o,i;"number"==typeof r?o=r:null!=r&&(o=r.index,i=r.injector);const a=n.createEmbeddedViewImpl(t||{},i,null);return this.insertImpl(a,o,Yo(this._hostTNode,null)),a}createComponent(n,t,r,o,i){const s=n&&!function Ki(e){return"function"==typeof e}(n);let a;if(s)a=t;else{const p=t||{};a=p.index,r=p.injector,o=p.projectableNodes,i=p.environmentInjector||p.ngModuleRef}const l=s?n:new Ls(Y(n)),c=r||this.parentInjector;if(!i&&null==l.ngModule){const v=(s?c:this.parentInjector).get(mt,null);v&&(i=v)}Y(l.componentType??{});const h=l.create(c,o,null,i);return this.insertImpl(h.hostView,a,Yo(this._hostTNode,null)),h}insert(n,t){return this.insertImpl(n,t,!0)}insertImpl(n,t,r){const o=n._lView;if(function NS(e){return dt(e[Pe])}(o)){const a=this.indexOf(n);if(-1!==a)this.detach(a);else{const l=o[Pe],c=new UC(l,l[ct],l[Pe]);c.detach(c.indexOf(n))}}const i=this._adjustIndex(t),s=this._lContainer;return Is(s,o,i,r),n.attachToViewContainerRef(),Sm(nh(s),i,n),n}move(n,t){return this.insert(n,t)}indexOf(n){const t=$C(this._lContainer);return null!==t?t.indexOf(n):-1}remove(n){const t=this._adjustIndex(n,-1),r=Ds(this._lContainer,t);r&&(Xa(nh(this._lContainer),t),Fl(r[S],r))}detach(n){const t=this._adjustIndex(n,-1),r=Ds(this._lContainer,t);return r&&null!=Xa(nh(this._lContainer),t)?new As(r):null}_adjustIndex(n,t=0){return n??this.length+t}};function $C(e){return e[8]}function nh(e){return e[8]||(e[8]=[])}function BC(e,n){let t;const r=n[e.index];return dt(r)?t=r:(t=aC(r,n,null,e),n[e.index]=t,$l(n,t)),HC(t,n,e,r),new UC(t,e,n)}let HC=function GC(e,n,t,r){if(e[wn])return;let o;o=8&t.type?me(r):function O2(e,n){const t=e[V],r=t.createComment(""),o=vt(n,e);return no(t,Ll(t,o),r,function QA(e,n){return e.nextSibling(n)}(t,o),!1),r}(n,t),e[wn]=o},rh=()=>!1;class oh{constructor(n){this.queryList=n,this.matches=null}clone(){return new oh(this.queryList)}setDirty(){this.queryList.setDirty()}}class ih{constructor(n=[]){this.queries=n}createEmbeddedView(n){const t=n.queries;if(null!==t){const r=null!==n.contentQueries?n.contentQueries[0]:t.length,o=[];for(let i=0;i<r;i++){const s=t.getByIndex(i);o.push(this.queries[s.indexInDeclarationView].clone())}return new ih(o)}return null}insertView(n){this.dirtyQueriesWithMatches(n)}detachView(n){this.dirtyQueriesWithMatches(n)}finishViewCreation(n){this.dirtyQueriesWithMatches(n)}dirtyQueriesWithMatches(n){for(let t=0;t<this.queries.length;t++)null!==uh(n,t).matches&&this.queries[t].setDirty()}}class qC{constructor(n,t,r=null){this.flags=t,this.read=r,this.predicate="string"==typeof n?function $2(e){return e.split(",").map(n=>n.trim())}(n):n}}class sh{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 o=null!==t?t.length:0,i=this.getByIndex(r).embeddedTView(n,o);i&&(i.indexInDeclarationView=r,null!==t?t.push(i):t=[i])}return null!==t?new sh(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 ah{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 ah(this.metadata)):null}isApplyingToNode(n){if(this._appliesToNextNode&&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 o=0;o<r.length;o++){const i=r[o];this.matchTNodeWithReadOption(n,t,L2(t,i)),this.matchTNodeWithReadOption(n,t,yl(t,n,i,!1,!1))}else r===Jn?4&t.type&&this.matchTNodeWithReadOption(n,t,-1):this.matchTNodeWithReadOption(n,t,yl(t,n,r,!1,!1))}matchTNodeWithReadOption(n,t,r){if(null!==r){const o=this.metadata.read;if(null!==o)if(o===Vt||o===ln||o===Jn&&4&t.type)this.addMatch(t.index,-2);else{const i=yl(t,n,o,!1,!1);null!==i&&this.addMatch(t.index,i)}else this.addMatch(t.index,r)}}addMatch(n,t){null===this.matches?this.matches=[n,t]:this.matches.push(n,t)}}function L2(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 j2(e,n,t,r){return-1===t?function V2(e,n){return 11&e.type?Bo(e,n):4&e.type?zl(e,n):null}(n,e):-2===t?function U2(e,n,t){return t===Vt?Bo(n,e):t===Jn?zl(n,e):t===ln?BC(n,e):void 0}(e,n,r):to(e,e[S],t,n)}function WC(e,n,t,r){const o=n[Zn].queries[r];if(null===o.matches){const i=e.data,s=t.matches,a=[];for(let l=0;null!==s&&l<s.length;l+=2){const c=s[l];a.push(c<0?null:j2(n,i[c],s[l+1],t.metadata.read))}o.matches=a}return o.matches}function lh(e,n,t,r){const o=e.queries.getByIndex(t),i=o.matches;if(null!==i){const s=WC(e,n,o,t);for(let a=0;a<i.length;a+=2){const l=i[a];if(l>0)r.push(s[a/2]);else{const c=i[a+1],u=n[-l];for(let d=xe;d<u.length;d++){const f=u[d];f[es]===f[Pe]&&lh(f[S],f,c,r)}if(null!==u[xo]){const d=u[xo];for(let f=0;f<d.length;f++){const h=d[f];lh(h[S],h,c,r)}}}}}return r}function ZC(e,n,t){const r=new qd(!(4&~t));return function sN(e,n,t,r){const o=cC(n);o.push(t),e.firstCreatePass&&uC(e).push(r,o.length-1)}(e,n,r,r.destroy),(n[Zn]??=new ih).queries.push(new oh(r))-1}function XC(e,n,t){null===e.queries&&(e.queries=new sh),e.queries.track(new ah(n,t))}function uh(e,n){return e.queries.getByIndex(n)}function KC(e,n){const t=e[S],r=uh(t,n);return r.crossesNgTemplate?lh(t,e,n,[]):WC(t,e,r,n)}function t_(e){return function JC(e){return"function"==typeof e&&void 0!==e[zr]}(e)&&"function"==typeof e.set}function ge(e){let n=function f_(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),t=!0;const r=[e];for(;n;){let o;if(on(e))o=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new I(903,!1);o=n.\u0275dir}if(o){if(t){r.push(o);const s=e;s.inputs=ec(e.inputs),s.inputTransforms=ec(e.inputTransforms),s.declaredInputs=ec(e.declaredInputs),s.outputs=ec(e.outputs);const a=o.hostBindings;a&&rk(e,a);const l=o.viewQuery,c=o.contentQueries;if(l&&tk(e,l),c&&nk(e,c),J2(e,o),gI(e.outputs,o.outputs),on(o)&&o.data.animation){const u=e.data;u.animation=(u.animation||[]).concat(o.data.animation)}}const i=o.features;if(i)for(let s=0;s<i.length;s++){const a=i[s];a&&a.ngInherit&&a(e),a===ge&&(t=!1)}}n=Object.getPrototypeOf(n)}!function ek(e){let n=0,t=null;for(let r=e.length-1;r>=0;r--){const o=e[r];o.hostVars=n+=o.hostVars,o.hostAttrs=Yi(o.hostAttrs,t=Yi(t,o.hostAttrs))}}(r)}function J2(e,n){for(const t in n.inputs){if(!n.inputs.hasOwnProperty(t)||e.inputs.hasOwnProperty(t))continue;const r=n.inputs[t];if(void 0!==r&&(e.inputs[t]=r,e.declaredInputs[t]=n.declaredInputs[t],null!==n.inputTransforms)){const o=Array.isArray(r)?r[0]:r;if(!n.inputTransforms.hasOwnProperty(o))continue;e.inputTransforms??={},e.inputTransforms[o]=n.inputTransforms[o]}}}function ec(e){return e===Cn?{}:e===se?[]:e}function tk(e,n){const t=e.viewQuery;e.viewQuery=t?(r,o)=>{n(r,o),t(r,o)}:n}function nk(e,n){const t=e.contentQueries;e.contentQueries=t?(r,o,i)=>{n(r,o,i),t(r,o,i)}:n}function rk(e,n){const t=e.hostBindings;e.hostBindings=t?(r,o)=>{n(r,o),t(r,o)}:n}function m_(e){const n=e.inputConfig,t={};for(const r in n)if(n.hasOwnProperty(r)){const o=n[r];Array.isArray(o)&&o[3]&&(t[r]=o[3])}e.inputTransforms=t}class oo{}class v_{}class fh extends oo{constructor(n,t,r){super(),this._parent=t,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new VC(this);const o=lt(n);this._bootstrapComponents=jt(o.bootstrap),this._r3Injector=Fv(n,t,[{provide:oo,useValue:this},{provide:Ql,useValue:this.componentFactoryResolver},...r],We(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 hh extends v_{constructor(n){super(),this.moduleType=n}create(n){return new fh(this.moduleType,n,[])}}class y_ extends oo{constructor(n){super(),this.componentFactoryResolver=new VC(this),this.instance=null;const t=new Ao([...n.providers,{provide:oo,useValue:this},{provide:Ql,useValue:this.componentFactoryResolver}],n.parent||ol(),n.debugName,new Set(["environment"]));this.injector=t,n.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}}function tc(e,n,t=null){return new y_({providers:e,parent:n,debugName:t,runEnvironmentInitializers:!0}).injector}let Dr=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Wt(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const t=this.taskId++;return this.pendingTasks.add(t),t}remove(t){this.pendingTasks.delete(t),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=k({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function rc(e){return!!function ph(e){return null!==e&&("function"==typeof e||"object"==typeof e)}(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function kn(e,n,t){return e[n]=t}function Fe(e,n,t){return!Object.is(e[n],t)&&(e[n]=t,!0)}function io(e,n,t,r){const o=Fe(e,n,t);return Fe(e,n+1,r)||o}function Le(e,n,t,r,o,i,s,a){const l=M(),c=J(),u=e+H,d=c.firstCreatePass?function mk(e,n,t,r,o,i,s,a,l){const c=n.consts,u=Qo(n,e,4,s||null,En(c,a));xf(n,t,u,En(c,l)),fl(n,u);const d=u.tView=Pf(2,u,r,o,i,n.directiveRegistry,n.pipeRegistry,null,n.schemas,c,null);return null!==n.queries&&(n.queries.template(n,u),d.queries=n.queries.embeddedTView(u)),u}(u,c,l,n,t,r,o,i,s):c.data[u];bn(d,!1);const f=C_(c,l,d,e);as()&&Vl(c,l,f,d),ht(f,l);const h=aC(f,l,f,d);return l[u]=h,$l(l,h),function zC(e,n,t){return rh(e,n,t)}(h,d,l),cl(d)&&Rf(c,l,d),null!=s&&Of(l,d,a),Le}let C_=function __(e,n,t,r){return In(!0),n[V].createComment("")};function Rn(e,n,t,r){const o=M();return Fe(o,sn(),n)&&(J(),An(De(),o,e,n,t,r)),Rn}function si(e,n,t,r){return Fe(e,sn(),t)?n+B(t)+r:G}function ai(e,n,t,r,o,i){const a=io(e,function Qn(){return j.lFrame.bindingIndex}(),t,o);return Yn(2),a?n+B(t)+r+B(o)+i:G}function uc(e,n){return e<<17|n<<2}function Mr(e){return e>>17&32767}function Eh(e){return 2|e}function ao(e){return(131068&e)>>2}function bh(e,n){return-131069&e|n<<2}function Ih(e){return 1|e}function X_(e,n,t,r){const o=e[t+1],i=null===n;let s=r?Mr(o):ao(o),a=!1;for(;0!==s&&(!1===a||i);){const c=e[s+1];nR(e[s],n)&&(a=!0,e[s+1]=r?Ih(c):Eh(c)),s=r?Mr(c):ao(c)}a&&(e[t+1]=r?Eh(o):Ih(o))}function nR(e,n){return null===e||null==n||(Array.isArray(e)?e[1]:e)===n||!(!Array.isArray(e)||"string"!=typeof n)&&To(e,n)>=0}function O(e,n,t){const r=M();return Fe(r,sn(),n)&&At(J(),De(),r,e,n,r[V],t,!1),O}function Sh(e,n,t,r,o){const s=o?"class":"style";jf(e,t,n.inputs[s],s,r)}function dc(e,n){return function cn(e,n,t,r){const o=M(),i=J(),s=Yn(2);i.firstUpdatePass&&function sD(e,n,t,r){const o=e.data;if(null===o[t+1]){const i=o[ft()],s=function iD(e,n){return n>=e.expandoStartIndex}(e,t);(function uD(e,n){return!!(e.flags&(n?8:16))})(i,r)&&null===n&&!s&&(n=!1),n=function dR(e,n,t,r){const o=function Rd(e){const n=j.lFrame.currentDirectiveIndex;return-1===n?null:e[n]}(e);let i=r?n.residualClasses:n.residualStyles;if(null===o)0===(r?n.classBindings:n.styleBindings)&&(t=zs(t=Th(null,e,n,t,r),n.attrs,r),i=null);else{const s=n.directiveStylingLast;if(-1===s||e[s]!==o)if(t=Th(o,e,n,t,r),null===i){let l=function fR(e,n,t){const r=t?n.classBindings:n.styleBindings;if(0!==ao(r))return e[Mr(r)]}(e,n,r);void 0!==l&&Array.isArray(l)&&(l=Th(null,e,n,l[1],r),l=zs(l,n.attrs,r),function hR(e,n,t,r){e[Mr(t?n.classBindings:n.styleBindings)]=r}(e,n,r,l))}else i=function pR(e,n,t){let r;const o=n.directiveEnd;for(let i=1+n.directiveStylingLast;i<o;i++)r=zs(r,e[i].hostAttrs,t);return zs(r,n.attrs,t)}(e,n,r)}return void 0!==i&&(r?n.residualClasses=i:n.residualStyles=i),t}(o,i,n,r),function eR(e,n,t,r,o,i){let s=i?n.classBindings:n.styleBindings,a=Mr(s),l=ao(s);e[r]=t;let u,c=!1;if(Array.isArray(t)?(u=t[1],(null===u||To(t,u)>0)&&(c=!0)):u=t,o)if(0!==l){const f=Mr(e[a+1]);e[r+1]=uc(f,a),0!==f&&(e[f+1]=bh(e[f+1],r)),e[a+1]=function Kk(e,n){return 131071&e|n<<17}(e[a+1],r)}else e[r+1]=uc(a,0),0!==a&&(e[a+1]=bh(e[a+1],r)),a=r;else e[r+1]=uc(l,0),0===a?a=r:e[l+1]=bh(e[l+1],r),l=r;c&&(e[r+1]=Eh(e[r+1])),X_(e,u,r,!0),X_(e,u,r,!1),function tR(e,n,t,r,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof n&&To(i,n)>=0&&(t[r+1]=Ih(t[r+1]))}(n,u,e,r,i),s=uc(a,l),i?n.classBindings=s:n.styleBindings=s}(o,i,n,t,s,r)}}(i,e,s,r),n!==G&&Fe(o,s,n)&&function lD(e,n,t,r,o,i,s,a){if(!(3&n.type))return;const l=e.data,c=l[a+1],u=function Jk(e){return!(1&~e)}(c)?cD(l,n,t,o,ao(c),s):void 0;fc(u)||(fc(i)||function Xk(e){return!(2&~e)}(c)&&(i=cD(l,null,t,o,a,s)),function KA(e,n,t,r,o){if(n)o?e.addClass(t,r):e.removeClass(t,r);else{let i=-1===r.indexOf("-")?void 0:yr.DashCase;null==o?e.removeStyle(t,r,i):("string"==typeof o&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=yr.Important),e.setStyle(t,r,o,i))}}(r,s,rs(ft(),t),o,i))}(i,i.data[ft()],o,o[V],e,o[s+1]=function yR(e,n){return null==e||""===e||("string"==typeof n?e+=n:"object"==typeof e&&(e=We(vr(e)))),e}(n,t),r,s)}(e,n,null,!0),dc}function Th(e,n,t,r,o){let i=null;const s=t.directiveEnd;let a=t.directiveStylingLast;for(-1===a?a=t.directiveStart:a++;a<s&&(i=n[a],r=zs(r,i.hostAttrs,o),i!==e);)a++;return null!==e&&(t.directiveStylingLast=a),r}function zs(e,n,t){const r=t?1:2;let o=-1;if(null!==n)for(let i=0;i<n.length;i++){const s=n[i];"number"==typeof s?o=s:o===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),xt(e,s,!!t||n[++i]))}return void 0===e?null:e}function cD(e,n,t,r,o,i){const s=null===n;let a;for(;o>0;){const l=e[o],c=Array.isArray(l),u=c?l[1]:l,d=null===u;let f=t[o+1];f===G&&(f=d?se:void 0);let h=d?id(f,r):u===r?f:void 0;if(c&&!fc(h)&&(h=id(l,r)),fc(h)&&(a=h,s))return a;const p=e[o+1];o=s?Mr(p):ao(p)}if(null!==n){let l=i?n.residualClasses:n.residualStyles;null!=l&&(a=id(l,r))}return a}function fc(e){return void 0!==e}function m(e,n,t,r){const o=M(),i=J(),s=H+e,a=o[V],l=i.firstCreatePass?function $R(e,n,t,r,o,i){const s=n.consts,l=Qo(n,e,2,r,En(s,o));return xf(n,t,l,En(s,i)),null!==l.attrs&&Xl(l,l.attrs,!1),null!==l.mergedAttrs&&Xl(l,l.mergedAttrs,!0),null!==n.queries&&n.queries.elementStart(n,l),l}(s,i,o,n,t,r):i.data[s],c=pD(i,o,l,a,n,e);o[s]=c;const u=cl(l);return bn(l,!0),Yy(a,c,l),!function Us(e){return!(32&~e.flags)}(l)&&as()&&Vl(i,o,c,l),0===function RS(){return j.lFrame.elementDepthCount}()&&ht(c,o),function OS(){j.lFrame.elementDepthCount++}(),u&&(Rf(i,o,l),kf(i,l,o)),null!==r&&Of(o,l),m}function g(){let e=pe();Ad()?function Nd(){j.lFrame.isParent=!1}():(e=e.parent,bn(e,!1));const n=e;(function xS(e){return j.skipHydrationRootTNode===e})(n)&&function jS(){j.skipHydrationRootTNode=null}(),function PS(){j.lFrame.elementDepthCount--}();const t=J();return t.firstCreatePass&&(fl(t,e),Cd(e)&&t.queries.elementEnd(e)),null!=n.classesWithoutHost&&function eT(e){return!!(8&e.flags)}(n)&&Sh(t,n,M(),n.classesWithoutHost,!0),null!=n.stylesWithoutHost&&function tT(e){return!!(16&e.flags)}(n)&&Sh(t,n,M(),n.stylesWithoutHost,!1),g}function z(e,n,t,r){return m(e,n,t,r),g(),z}let pD=(e,n,t,r,o,i)=>(In(!0),xl(r,o,function vv(){return j.lFrame.currentNamespace}()));function tr(){return M()}const lo=void 0;var ZR=["en",[["a","p"],["AM","PM"],lo],[["AM","PM"],lo,lo],[["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"]],lo,[["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"]],lo,[["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}",lo,"{1} 'at' {0}",lo],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function WR(e){const t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===r?1:5}];let gi={};function _t(e){const n=function YR(e){return e.toLowerCase().replace(/_/g,"-")}(e);let t=_D(n);if(t)return t;const r=n.split("-")[0];if(t=_D(r),t)return t;if("en"===r)return ZR;throw new I(701,!1)}function _D(e){return e in gi||(gi[e]=de.ng&&de.ng.common&&de.ng.common.locales&&de.ng.common.locales[e]),gi[e]}var we=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(we||{});const mi="en-US";let DD=mi;function T(e,n,t,r){const o=M(),i=J(),s=pe();return Lh(i,o,o[V],s,e,n,r),T}function Lh(e,n,t,r,o,i,s){const a=cl(r),c=e.firstCreatePass&&uC(e),u=n[_e],d=cC(n);let f=!0;if(3&r.type||s){const v=vt(r,n),C=s?s(v):v,D=d.length,w=s?F=>s(me(F[r.index])):r.index;let A=null;if(!s&&a&&(A=function qO(e,n,t,r){const o=e.cleanup;if(null!=o)for(let i=0;i<o.length-1;i+=2){const s=o[i];if(s===t&&o[i+1]===r){const a=n[Ro],l=o[i+2];return a.length>l?a[l]:null}"string"==typeof s&&(i+=2)}return null}(e,n,o,r.index)),null!==A)(A.__ngLastListenerFn__||A).__ngNextListenerFn__=i,A.__ngLastListenerFn__=i,f=!1;else{i=QD(r,n,u,i,!1);const F=t.listen(C,o,i);d.push(i,F),c&&c.push(o,w,D,D+1)}}else i=QD(r,n,u,i,!1);const h=r.outputs;let p;if(f&&null!==h&&(p=h[o])){const v=p.length;if(v)for(let C=0;C<v;C+=2){const X=n[p[C]][p[C+1]].subscribe(i),ue=d.length;d.push(i,X),c&&c.push(o,r.index,ue,-(ue+1))}}}function ZD(e,n,t,r){const o=Q(null);try{return Mn(6,n,t),!1!==t(r)}catch(i){return Bl(e,i),!1}finally{Mn(7,n,t),Q(o)}}function QD(e,n,t,r,o){return function i(s){if(s===Function)return r;Ts(e.componentOffset>-1?Lt(e.index,n):n);let l=ZD(n,t,r,s),c=i.__ngNextListenerFn__;for(;c;)l=ZD(n,t,c,s)&&l,c=c.__ngNextListenerFn__;return o&&!1===l&&s.preventDefault(),l}}function Ue(e=1){return function GS(e){return(j.lFrame.contextLView=function iv(e,n){for(;e>0;)n=n[Oo],e--;return n}(e,j.lFrame.contextLView))[_e]}(e)}function vc(e,n,t,r,o){const i=M(),s=si(i,n,t,r);return s!==G&&At(J(),De(),i,e,s,i[V],o,!1),vc}function iw(e,n,t,r){!function YC(e,n,t,r){const o=J();if(o.firstCreatePass){const i=pe();XC(o,new qC(n,t,r),i.index),function B2(e,n){const t=e.contentQueries||(e.contentQueries=[]);n!==(t.length?t[t.length-1]:-1)&&t.push(e.queries.length-1,n)}(o,e),!(2&~t)&&(o.staticContentQueries=!0)}return ZC(o,M(),t)}(e,n,t,r)}function yc(e,n,t){!function QC(e,n,t){const r=J();return r.firstCreatePass&&(XC(r,new qC(e,n,t),-1),!(2&~n)&&(r.staticViewQueries=!0)),ZC(r,M(),n)}(e,n,t)}function Xs(e){const n=M(),t=J(),r=Od();dl(r+1);const o=uh(t,r);if(e.dirty&&function AS(e){return!(4&~e[P])}(n)===!(2&~o.metadata.flags)){if(null===o.matches)e.reset([]);else{const i=KC(n,r);e.reset(i,Uv),e.notifyOnChanges()}return!0}return!1}function Ks(){return function ch(e,n){return e[Zn].queries[n].queryList}(M(),Od())}function y(e,n=""){const t=M(),r=J(),o=e+H,i=r.firstCreatePass?Qo(r,o,1,n,null):r.data[o],s=gw(r,t,i,n,e);t[o]=s,as()&&Vl(r,t,s,i),bn(i,!1)}let gw=(e,n,t,r,o)=>(In(!0),function Mf(e,n){return e.createText(n)}(n[V],r));function q(e){return Ke("",e,""),q}function Ke(e,n,t){const r=M(),o=si(r,e,n,t);return o!==G&&Kn(r,ft(),o),Ke}function Cc(e,n,t,r,o){const i=M(),s=ai(i,e,n,t,r,o);return s!==G&&Kn(i,ft(),s),Cc}function ee(e,n,t){t_(n)&&(n=n());const r=M();return Fe(r,sn(),n)&&At(J(),De(),r,e,n,r[V],t,!1),ee}function ne(e,n){const t=t_(e);return t&&e.set(n),t}function te(e,n){const t=M(),r=J(),o=pe();return Lh(r,t,t[V],o,e,n),te}function Vh(e,n,t,r,o){if(e=L(e),Array.isArray(e))for(let i=0;i<e.length;i++)Vh(e[i],n,t,r,o);else{const i=J(),s=M(),a=pe();let l=Yr(e)?e:L(e.provide);const c=Hm(e),u=1048575&a.providerIndexes,d=a.directiveStart,f=a.providerIndexes>>20;if(Yr(e)||!e.multi){const h=new ls(c,o,E),p=Uh(l,n,o?u:u+f,d);-1===p?($d(ml(a,s),i,l),jh(i,e,n.length),n.push(l),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),t.push(h),s.push(h)):(t[p]=h,s[p]=h)}else{const h=Uh(l,n,u+f,d),p=Uh(l,n,u,u+f),C=p>=0&&t[p];if(o&&!C||!o&&!(h>=0&&t[h])){$d(ml(a,s),i,l);const D=function gP(e,n,t,r,o){const i=new ls(e,t,E);return i.multi=[],i.index=n,i.componentProviders=0,Mw(i,o,r&&!t),i}(o?pP:hP,t.length,o,r,c);!o&&C&&(t[p].providerFactory=D),jh(i,e,n.length,0),n.push(l),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),t.push(D),s.push(D)}else jh(i,e,h>-1?h:p,Mw(t[o?p:h],c,!o&&r));!o&&r&&C&&t[p].componentProviders++}}}function jh(e,n,t,r){const o=Yr(n),i=function rS(e){return!!e.useClass}(n);if(o||i){const l=(i?L(n.useClass):n).prototype.ngOnDestroy;if(l){const c=e.destroyHooks||(e.destroyHooks=[]);if(!o&&n.multi){const u=c.indexOf(t);-1===u?c.push(t,[r,l]):c[u+1].push(r,l)}else c.push(t,l)}}}function Mw(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function Uh(e,n,t,r){for(let o=t;o<r;o++)if(n[o]===e)return o;return-1}function hP(e,n,t,r){return $h(this.multi,[])}function pP(e,n,t,r){const o=this.multi;let i;if(this.providerFactory){const s=this.providerFactory.componentProviders,a=to(t,t[S],this.providerFactory.index,r);i=a.slice(0,s),$h(o,i);for(let l=s;l<a.length;l++)i.push(a[l])}else i=[],$h(o,i);return i}function $h(e,n){for(let t=0;t<e.length;t++)n.push((0,e[t])());return n}function Te(e,n=[]){return t=>{t.providersResolver=(r,o)=>function fP(e,n,t){const r=J();if(r.firstCreatePass){const o=on(e);Vh(t,r.data,r.blueprint,o,!0),Vh(n,r.data,r.blueprint,o,!1)}}(r,o?o(e):e,n)}}let mP=(()=>{class e{constructor(t){this._injector=t,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t)){const r=cd(0,t.type),o=r.length>0?tc([r],this._injector,`Standalone[${t.type.name}]`):null;this.cachedInjectors.set(t,o)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(const t of this.cachedInjectors.values())null!==t&&t.destroy()}finally{this.cachedInjectors.clear()}}static{this.\u0275prov=k({token:e,providedIn:"environment",factory:()=>new e(R(mt))})}}return e})();function Ew(e){Nn("NgStandalone"),e.getStandaloneInjector=n=>n.get(mP).getOrCreateStandaloneInjector(e)}function Bh(e,n,t){const r=yt()+e,o=M();return o[r]===G?kn(o,r,t?n.call(t):n()):function js(e,n){return e[n]}(o,r)}function vi(e,n,t,r){return Iw(M(),yt(),e,n,t,r)}function Js(e,n){const t=e[n];return t===G?void 0:t}function Iw(e,n,t,r,o,i){const s=n+t;return Fe(e,s,o)?kn(e,s+1,i?r.call(i,o):r(o)):Js(e,s+1)}function kt(e,n){const t=J();let r;const o=e+H;t.firstCreatePass?(r=function SP(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[o]=r,r.onDestroy&&(t.destroyHooks??=[]).push(o,r.onDestroy)):r=t.data[o];const i=r.factory||(r.factory=Zr(r.type)),a=It(E);try{const l=gl(!1),c=i();return gl(l),function JO(e,n,t,r){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=r}(t,M(),o,c),c}finally{It(a)}}function co(e,n,t){const r=e+H,o=M(),i=Fo(o,r);return ea(o,r)?Iw(o,yt(),n,i.transform,t,i):i.transform(t)}function Er(e,n,t,r){const o=e+H,i=M(),s=Fo(i,o);return ea(i,o)?function Sw(e,n,t,r,o,i,s){const a=n+t;return io(e,a,o,i)?kn(e,a+2,s?r.call(s,o,i):r(o,i)):Js(e,a+2)}(i,yt(),n,s.transform,t,r,s):s.transform(t,r)}function ea(e,n){return e[S].data[n].pure}class na{constructor(n){this.full=n;const t=n.split(".");this.major=t[0],this.minor=t[1],this.patch=t.slice(2).join(".")}}const JP=new na("17.3.12");let qw=(()=>{class e{log(t){console.log(t)}warn(t){console.warn(t)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=k({token:e,factory:e.\u0275fac,providedIn:"platform"})}}return e})();const Xw=new N(""),Mc=new N("");let Yh,Zh=(()=>{class e{constructor(t,r,o){this._ngZone=t,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,Yh||(function b3(e){Yh=e}(o),o.addToWindow(r)),this._watchAngularEvents(),t.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{fe.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,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())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb()}});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(t)||(clearTimeout(r.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),t()},r)),this._callbacks.push({doneCb:t,timeoutId:i,updateCb:o})}whenStable(t,r,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(t,r,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(t){this.registry.registerApplication(t,this)}unregisterApplication(t){this.registry.unregisterApplication(t)}findProviders(t,r,o){return[]}static{this.\u0275fac=function(r){return new(r||e)(R(fe),R(Qh),R(Mc))}}static{this.\u0275prov=k({token:e,factory:e.\u0275fac})}}return e})(),Qh=(()=>{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){return Yh?.findTestabilityInTree(this,t,r)??null}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=k({token:e,factory:e.\u0275fac,providedIn:"platform"})}}return e})();function oa(e){return!!e&&"function"==typeof e.then}function Kw(e){return!!e&&"function"==typeof e.subscribe}const Xh=new N("");let Kh=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,r)=>{this.resolve=t,this.reject=r}),this.appInits=b(Xh,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const t=[];for(const o of this.appInits){const i=o();if(oa(i))t.push(i);else if(Kw(i)){const s=new Promise((a,l)=>{i.subscribe({complete:a,error:l})});t.push(s)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{r()}).catch(o=>{this.reject(o)}),0===t.length&&r(),this.initialized=!0}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=k({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();const Jh=new N("");function t0(e,n){return Array.isArray(n)?n.reduce(t0,e):{...e,...n}}let br=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=b(Vv),this.afterRenderEffectManager=b(Ps),this.externalTestViews=new Set,this.beforeRender=new qt,this.afterTick=new qt,this.componentTypes=[],this.components=[],this.isStable=b(Dr).hasPendingTasks.pipe(ie(t=>!t)),this._injector=b(mt)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(t,r){const o=t instanceof bC;if(!this._injector.get(Kh).done)throw!o&&function hr(e){const n=Y(e)||Ze(e)||it(e);return null!==n&&n.standalone}(t),new I(405,!1);let s;s=o?t:this._injector.get(Ql).resolveComponentFactory(t),this.componentTypes.push(s.componentType);const a=function I3(e){return e.isBoundToModule}(s)?void 0:this._injector.get(oo),c=s.create(Ct.NULL,[],r||s.selector,a),u=c.location.nativeElement,d=c.injector.get(Xw,null);return d?.registerApplication(u),c.onDestroy(()=>{this.detachView(c.hostView),Ec(this.components,c),d?.unregisterApplication(u)}),this._loadComponent(c),c}tick(){this._tick(!0)}_tick(t){if(this._runningTick)throw new I(101,!1);const r=Q(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(t)}catch(o){this.internalErrorHandler(o)}finally{this.afterTick.next(),this._runningTick=!1,Q(r)}}detectChangesInAttachedViews(t){let r=0;const o=this.afterRenderEffectManager;for(;;){if(r===gC)throw new I(103,!1);if(t){const i=0===r;this.beforeRender.next(i);for(let{_lView:s,notifyErrorHandler:a}of this._views)T3(s,i,a)}if(r++,o.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:i})=>ep(i))&&(o.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:i})=>ep(i))))break}}attachView(t){const r=t;this._views.push(r),r.attachToAppRef(this)}detachView(t){const r=t;Ec(this._views,r),r.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t);const r=this._injector.get(Jh,[]);[...this._bootstrapListeners,...r].forEach(o=>o(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>Ec(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new I(406,!1);const t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=k({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function Ec(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function T3(e,n,t){!n&&!ep(e)||function A3(e,n,t){let r;t?(r=0,e[P]|=1024):r=64&e[P]?0:1,Hl(e,n,r)}(e,t,n)}function ep(e){return Id(e)}class N3{constructor(n,t){this.ngModuleFactory=n,this.componentFactories=t}}let n0=(()=>{class e{compileModuleSync(t){return new hh(t)}compileModuleAsync(t){return Promise.resolve(this.compileModuleSync(t))}compileModuleAndAllComponentsSync(t){const r=this.compileModuleSync(t),i=jt(lt(t).declarations).reduce((s,a)=>{const l=Y(a);return l&&s.push(new Ls(l)),s},[]);return new N3(r,i)}compileModuleAndAllComponentsAsync(t){return Promise.resolve(this.compileModuleAndAllComponentsSync(t))}clearCache(){}clearCacheFor(t){}getModuleId(t){}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=k({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),O3=(()=>{class e{constructor(){this.zone=b(fe),this.applicationRef=b(br)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=k({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function P3(){const e=b(fe),n=b(Tn);return t=>e.runOutsideAngular(()=>n.handleError(t))}let F3=(()=>{class e{constructor(){this.subscription=new bt,this.initialized=!1,this.zone=b(fe),this.pendingTasks=b(Dr)}initialize(){if(this.initialized)return;this.initialized=!0;let t=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(t=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{fe.assertNotInAngularZone(),queueMicrotask(()=>{null!==t&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(t),t=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{fe.assertInAngularZone(),t??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=k({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();const xn=new N("",{providedIn:"root",factory:()=>b(xn,K.Optional|K.SkipSelf)||function L3(){return typeof $localize<"u"&&$localize.locale||mi}()}),tp=new N("");let a0=(()=>{class e{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,r){const o=function y2(e="zone.js",n){return"noop"===e?new RC:"zone.js"===e?new fe(n):e}(r?.ngZone,function s0(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return o.run(()=>{const i=function uk(e,n,t){return new fh(e,n,t)}(t.moduleType,this.injector,function o0(e){return[{provide:fe,useFactory:e},{provide:Qr,multi:!0,useFactory:()=>{const n=b(O3,{optional:!0});return()=>n.initialize()}},{provide:Qr,multi:!0,useFactory:()=>{const n=b(F3);return()=>{n.initialize()}}},{provide:Vv,useFactory:P3}]}(()=>o)),s=i.injector.get(Tn,null);return o.runOutsideAngular(()=>{const a=o.onError.subscribe({next:l=>{s.handleError(l)}});i.onDestroy(()=>{Ec(this._modules,i),a.unsubscribe()})}),function e0(e,n,t){try{const r=t();return oa(r)?r.catch(o=>{throw n.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw n.runOutsideAngular(()=>e.handleError(r)),r}}(s,o,()=>{const a=i.injector.get(Kh);return a.runInitializers(),a.donePromise.then(()=>(function wD(e){"string"==typeof e&&(DD=e.toLowerCase().replace(/_/g,"-"))}(i.injector.get(xn,mi)||mi),this._moduleDoBootstrap(i),i))})})}bootstrapModule(t,r=[]){const o=t0({},r);return function R3(e,n,t){const r=new hh(t);return Promise.resolve(r)}(0,0,t).then(i=>this.bootstrapModuleFactory(i,o))}_moduleDoBootstrap(t){const r=t.injector.get(br);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!t.instance.ngDoBootstrap)throw new I(-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 I(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const t=this._injector.get(tp,null);t&&(t.forEach(r=>r()),t.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static{this.\u0275fac=function(r){return new(r||e)(R(Ct))}}static{this.\u0275prov=k({token:e,factory:e.\u0275fac,providedIn:"platform"})}}return e})(),Ir=null;const l0=new N("");function c0(e,n,t=[]){const r=`Platform: ${n}`,o=new N(r);return(i=[])=>{let s=np();if(!s||s.injector.get(l0,!1)){const a=[...t,...i,{provide:o,useValue:!0}];e?e(a):function U3(e){if(Ir&&!Ir.get(l0,!1))throw new I(400,!1);(function Jw(){!function X1(e){rm=e}(()=>{throw new I(600,!1)})})(),Ir=e;const n=e.get(a0);(function d0(e){e.get(sy,null)?.forEach(t=>t())})(e)}(function u0(e=[],n){return Ct.create({name:n,providers:[{provide:fd,useValue:"platform"},{provide:tp,useValue:new Set([()=>Ir=null])},...e]})}(a,r))}return function $3(e){const n=np();if(!n)throw new I(401,!1);return n}()}}function np(){return Ir?.get(a0)??null}let ia=(()=>{class e{static{this.__NG_ELEMENT_ID__=H3}}return e})();function H3(e){return function z3(e,n,t){if(Kr(e)&&!t){const r=Lt(e.index,n);return new As(r,r)}return 47&e.type?new As(n[Ae],n):null}(pe(),M(),!(16&~e))}class m0{constructor(){}supports(n){return rc(n)}create(n){return new Q3(n)}}const Z3=(e,n)=>n;class Q3{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||Z3}forEachItem(n){let t;for(t=this._itHead;null!==t;t=t._next)n(t)}forEachOperation(n){let t=this._itHead,r=this._removalsHead,o=0,i=null;for(;t||r;){const s=!r||t&&t.currentIndex<y0(r,o,i)?t:r,a=y0(s,o,i),l=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(t=t._next,null==s.previousIndex)o++;else{i||(i=[]);const c=a-o,u=l-o;if(c!=u){for(let f=0;f<c;f++){const h=f<i.length?i[f]:i[f]=0,p=h+f;u<=p&&p<c&&(i[f]=h+1)}i[s.previousIndex]=u-c}}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=[]),!rc(n))throw new I(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let o,i,s,t=this._itHead,r=!1;if(Array.isArray(n)){this.length=n.length;for(let a=0;a<this.length;a++)i=n[a],s=this._trackByFn(a,i),null!==t&&Object.is(t.trackById,s)?(r&&(t=this._verifyReinsertion(t,i,s,a)),Object.is(t.item,i)||this._addIdentityChange(t,i)):(t=this._mismatch(t,i,s,a),r=!0),t=t._next}else o=0,function pk(e,n){if(Array.isArray(e))for(let t=0;t<e.length;t++)n(e[t]);else{const t=e[Symbol.iterator]();let r;for(;!(r=t.next()).done;)n(r.value)}}(n,a=>{s=this._trackByFn(o,a),null!==t&&Object.is(t.trackById,s)?(r&&(t=this._verifyReinsertion(t,a,s,o)),Object.is(t.item,a)||this._addIdentityChange(t,a)):(t=this._mismatch(t,a,s,o),r=!0),t=t._next,o++}),this.length=o;return this._truncate(t),this.collection=n,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;null!==n;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;null!==n;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,t,r,o){let i;return null===n?i=this._itTail:(i=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,i,o)):null!==(n=null===this._linkedRecords?null:this._linkedRecords.get(r,o))?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._moveAfter(n,i,o)):n=this._addAfter(new Y3(t,r),i,o),n}_verifyReinsertion(n,t,r,o){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==i?n=this._reinsertAfter(i,n._prev,o):n.currentIndex!=o&&(n.currentIndex=o,this._addToMoves(n,o)),n}_truncate(n){for(;null!==n;){const t=n._next;this._addToRemovals(this._unlink(n)),n=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(n,t,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(n);const o=n._prevRemoved,i=n._nextRemoved;return null===o?this._removalsHead=i:o._nextRemoved=i,null===i?this._removalsTail=o:i._prevRemoved=o,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 o=null===t?this._itHead:t._next;return n._next=o,n._prev=t,null===o?this._itTail=n:o._prev=n,null===t?this._itHead=n:t._next=n,null===this._linkedRecords&&(this._linkedRecords=new v0),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 v0),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 Y3{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 X3{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 v0{constructor(){this.map=new Map}put(n){const t=n.trackById;let r=this.map.get(t);r||(r=new X3,this.map.set(t,r)),r.add(n)}get(n,t){const o=this.map.get(n);return o?o.get(n,t):null}remove(n){const t=n.trackById;return this.map.get(t).remove(n)&&this.map.delete(t),n}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function y0(e,n,t){const r=e.previousIndex;if(null===r)return r;let o=0;return t&&r<t.length&&(o=t[r]),r+n+o}function _0(){return new ap([new m0])}let ap=(()=>{class e{static{this.\u0275prov=k({token:e,providedIn:"root",factory:_0})}constructor(t){this.factories=t}static create(t,r){if(null!=r){const o=r.factories.slice();t=t.concat(o)}return new e(t)}static extend(t){return{provide:e,useFactory:r=>e.create(t,r||_0()),deps:[[e,new Ya,new Qa]]}}find(t){const r=this.factories.find(o=>o.supports(t));if(null!=r)return r;throw new I(901,!1)}}return e})();const nx=c0(null,"core",[]);let rx=(()=>{class e{constructor(t){}static{this.\u0275fac=function(r){return new(r||e)(R(br))}}static{this.\u0275mod=_n({type:e})}static{this.\u0275inj=Jt({})}}return e})();function Di(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}let z0=null;function Sr(){return z0}class Ux{}const $t=new N("");let up=(()=>{class e{historyGo(t){throw new Error("")}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=k({token:e,factory:()=>b(Bx),providedIn:"platform"})}}return e})();const $x=new N("");let Bx=(()=>{class e extends up{constructor(){super(),this._doc=b($t),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Sr().getBaseHref(this._doc)}onPopState(t){const r=Sr().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",t,!1),()=>r.removeEventListener("popstate",t)}onHashChange(t){const r=Sr().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,o){this._history.pushState(t,r,o)}replaceState(t,r,o){this._history.replaceState(t,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=k({token:e,factory:()=>new e,providedIn:"platform"})}}return e})();function dp(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 G0(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 nr(e){return e&&"?"!==e[0]?"?"+e:e}let Tr=(()=>{class e{historyGo(t){throw new Error("")}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=k({token:e,factory:()=>b(W0),providedIn:"root"})}}return e})();const q0=new N("");let W0=(()=>{class e extends Tr{constructor(t,r){super(),this._platformLocation=t,this._removeListenerFns=[],this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??b($t).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return dp(this._baseHref,t)}path(t=!1){const r=this._platformLocation.pathname+nr(this._platformLocation.search),o=this._platformLocation.hash;return o&&t?`${r}${o}`:r}pushState(t,r,o,i){const s=this.prepareExternalUrl(o+nr(i));this._platformLocation.pushState(t,r,s)}replaceState(t,r,o,i){const s=this.prepareExternalUrl(o+nr(i));this._platformLocation.replaceState(t,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static{this.\u0275fac=function(r){return new(r||e)(R(up),R(q0,8))}}static{this.\u0275prov=k({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),Z0=(()=>{class e extends Tr{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){const r=this._platformLocation.hash??"#";return r.length>0?r.substring(1):r}prepareExternalUrl(t){const r=dp(this._baseHref,t);return r.length>0?"#"+r:r}pushState(t,r,o,i){let s=this.prepareExternalUrl(o+nr(i));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(t,r,s)}replaceState(t,r,o,i){let s=this.prepareExternalUrl(o+nr(i));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){this._platformLocation.historyGo?.(t)}static{this.\u0275fac=function(r){return new(r||e)(R(up),R(q0,8))}}static{this.\u0275prov=k({token:e,factory:e.\u0275fac})}}return e})(),wi=(()=>{class e{constructor(t){this._subject=new Re,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=t;const r=this._locationStrategy.getBaseHref();this._basePath=function Gx(e){if(new RegExp("^(https?:)?//").test(e)){const[,t]=e.split(/\/\/[^\/]+/);return t}return e}(G0(Q0(r))),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,r=""){return this.path()==this.normalize(t+nr(r))}normalize(t){return e.stripTrailingSlash(function zx(e,n){if(!e||!n.startsWith(e))return n;const t=n.substring(e.length);return""===t||["/",";","?","#"].includes(t[0])?t:n}(this._basePath,Q0(t)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,r="",o=null){this._locationStrategy.pushState(o,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+nr(r)),o)}replaceState(t,r="",o=null){this._locationStrategy.replaceState(o,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+nr(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(t=0){this._locationStrategy.historyGo?.(t)}onUrlChange(t){return this._urlChangeListeners.push(t),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{const r=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(r,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(t="",r){this._urlChangeListeners.forEach(o=>o(t,r))}subscribe(t,r,o){return this._subject.subscribe({next:t,error:r,complete:o})}static{this.normalizeQueryParams=nr}static{this.joinWithSlash=dp}static{this.stripTrailingSlash=G0}static{this.\u0275fac=function(r){return new(r||e)(R(Tr))}}static{this.\u0275prov=k({token:e,factory:()=>function Hx(){return new wi(R(Tr))}(),providedIn:"root"})}}return e})();function Q0(e){return e.replace(/\/index.html$/,"")}var wt=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}(wt||{}),ye=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}(ye||{}),Bt=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}(Bt||{});const ze={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function xc(e,n){return Xt(_t(e)[we.DateFormat],n)}function Fc(e,n){return Xt(_t(e)[we.TimeFormat],n)}function Lc(e,n){return Xt(_t(e)[we.DateTimeFormat],n)}function Yt(e,n){const t=_t(e),r=t[we.NumberSymbols][n];if(typeof r>"u"){if(n===ze.CurrencyDecimal)return t[we.NumberSymbols][ze.Decimal];if(n===ze.CurrencyGroup)return t[we.NumberSymbols][ze.Group]}return r}function X0(e){if(!e[we.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[we.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Xt(e,n){for(let t=n;t>-1;t--)if(typeof e[t]<"u")return e[t];throw new Error("Locale data API: locale data undefined")}function hp(e){const[n,t]=e.split(":");return{hours:+n,minutes:+t}}const iF=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Vc={},sF=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var rr=function(e){return e[e.Short=0]="Short",e[e.ShortGMT=1]="ShortGMT",e[e.Long=2]="Long",e[e.Extended=3]="Extended",e}(rr||{}),le=function(e){return e[e.FullYear=0]="FullYear",e[e.Month=1]="Month",e[e.Date=2]="Date",e[e.Hours=3]="Hours",e[e.Minutes=4]="Minutes",e[e.Seconds=5]="Seconds",e[e.FractionalSeconds=6]="FractionalSeconds",e[e.Day=7]="Day",e}(le||{}),ce=function(e){return e[e.DayPeriods=0]="DayPeriods",e[e.Days=1]="Days",e[e.Months=2]="Months",e[e.Eras=3]="Eras",e}(ce||{});function aF(e,n,t,r){let o=function mF(e){if(eM(e))return e;if("number"==typeof e&&!isNaN(e))return new Date(e);if("string"==typeof e){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){const[o,i=1,s=1]=e.split("-").map(a=>+a);return jc(o,i-1,s)}const t=parseFloat(e);if(!isNaN(e-t))return new Date(t);let r;if(r=e.match(iF))return function vF(e){const n=new Date(0);let t=0,r=0;const o=e[8]?n.setUTCFullYear:n.setFullYear,i=e[8]?n.setUTCHours:n.setHours;e[9]&&(t=Number(e[9]+e[10]),r=Number(e[9]+e[11])),o.call(n,Number(e[1]),Number(e[2])-1,Number(e[3]));const s=Number(e[4]||0)-t,a=Number(e[5]||0)-r,l=Number(e[6]||0),c=Math.floor(1e3*parseFloat("0."+(e[7]||0)));return i.call(n,s,a,l,c),n}(r)}const n=new Date(e);if(!eM(n))throw new Error(`Unable to convert "${e}" into a date`);return n}(e);n=or(t,n)||n;let a,s=[];for(;n;){if(a=sF.exec(n),!a){s.push(n);break}{s=s.concat(a.slice(1));const u=s.pop();if(!u)break;n=u}}let l=o.getTimezoneOffset();r&&(l=J0(r,l),o=function gF(e,n,t){const r=t?-1:1,o=e.getTimezoneOffset();return function pF(e,n){return(e=new Date(e.getTime())).setMinutes(e.getMinutes()+n),e}(e,r*(J0(n,o)-o))}(o,r,!0));let c="";return s.forEach(u=>{const d=function hF(e){if(gp[e])return gp[e];let n;switch(e){case"G":case"GG":case"GGG":n=Me(ce.Eras,ye.Abbreviated);break;case"GGGG":n=Me(ce.Eras,ye.Wide);break;case"GGGGG":n=Me(ce.Eras,ye.Narrow);break;case"y":n=Ge(le.FullYear,1,0,!1,!0);break;case"yy":n=Ge(le.FullYear,2,0,!0,!0);break;case"yyy":n=Ge(le.FullYear,3,0,!1,!0);break;case"yyyy":n=Ge(le.FullYear,4,0,!1,!0);break;case"Y":n=Hc(1);break;case"YY":n=Hc(2,!0);break;case"YYY":n=Hc(3);break;case"YYYY":n=Hc(4);break;case"M":case"L":n=Ge(le.Month,1,1);break;case"MM":case"LL":n=Ge(le.Month,2,1);break;case"MMM":n=Me(ce.Months,ye.Abbreviated);break;case"MMMM":n=Me(ce.Months,ye.Wide);break;case"MMMMM":n=Me(ce.Months,ye.Narrow);break;case"LLL":n=Me(ce.Months,ye.Abbreviated,wt.Standalone);break;case"LLLL":n=Me(ce.Months,ye.Wide,wt.Standalone);break;case"LLLLL":n=Me(ce.Months,ye.Narrow,wt.Standalone);break;case"w":n=pp(1);break;case"ww":n=pp(2);break;case"W":n=pp(1,!0);break;case"d":n=Ge(le.Date,1);break;case"dd":n=Ge(le.Date,2);break;case"c":case"cc":n=Ge(le.Day,1);break;case"ccc":n=Me(ce.Days,ye.Abbreviated,wt.Standalone);break;case"cccc":n=Me(ce.Days,ye.Wide,wt.Standalone);break;case"ccccc":n=Me(ce.Days,ye.Narrow,wt.Standalone);break;case"cccccc":n=Me(ce.Days,ye.Short,wt.Standalone);break;case"E":case"EE":case"EEE":n=Me(ce.Days,ye.Abbreviated);break;case"EEEE":n=Me(ce.Days,ye.Wide);break;case"EEEEE":n=Me(ce.Days,ye.Narrow);break;case"EEEEEE":n=Me(ce.Days,ye.Short);break;case"a":case"aa":case"aaa":n=Me(ce.DayPeriods,ye.Abbreviated);break;case"aaaa":n=Me(ce.DayPeriods,ye.Wide);break;case"aaaaa":n=Me(ce.DayPeriods,ye.Narrow);break;case"b":case"bb":case"bbb":n=Me(ce.DayPeriods,ye.Abbreviated,wt.Standalone,!0);break;case"bbbb":n=Me(ce.DayPeriods,ye.Wide,wt.Standalone,!0);break;case"bbbbb":n=Me(ce.DayPeriods,ye.Narrow,wt.Standalone,!0);break;case"B":case"BB":case"BBB":n=Me(ce.DayPeriods,ye.Abbreviated,wt.Format,!0);break;case"BBBB":n=Me(ce.DayPeriods,ye.Wide,wt.Format,!0);break;case"BBBBB":n=Me(ce.DayPeriods,ye.Narrow,wt.Format,!0);break;case"h":n=Ge(le.Hours,1,-12);break;case"hh":n=Ge(le.Hours,2,-12);break;case"H":n=Ge(le.Hours,1);break;case"HH":n=Ge(le.Hours,2);break;case"m":n=Ge(le.Minutes,1);break;case"mm":n=Ge(le.Minutes,2);break;case"s":n=Ge(le.Seconds,1);break;case"ss":n=Ge(le.Seconds,2);break;case"S":n=Ge(le.FractionalSeconds,1);break;case"SS":n=Ge(le.FractionalSeconds,2);break;case"SSS":n=Ge(le.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":n=$c(rr.Short);break;case"ZZZZZ":n=$c(rr.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":n=$c(rr.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":n=$c(rr.Long);break;default:return null}return gp[e]=n,n}(u);c+=d?d(o,t,l):"''"===u?"'":u.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function jc(e,n,t){const r=new Date(0);return r.setFullYear(e,n,t),r.setHours(0,0,0),r}function or(e,n){const t=function Wx(e){return _t(e)[we.LocaleId]}(e);if(Vc[t]??={},Vc[t][n])return Vc[t][n];let r="";switch(n){case"shortDate":r=xc(e,Bt.Short);break;case"mediumDate":r=xc(e,Bt.Medium);break;case"longDate":r=xc(e,Bt.Long);break;case"fullDate":r=xc(e,Bt.Full);break;case"shortTime":r=Fc(e,Bt.Short);break;case"mediumTime":r=Fc(e,Bt.Medium);break;case"longTime":r=Fc(e,Bt.Long);break;case"fullTime":r=Fc(e,Bt.Full);break;case"short":const o=or(e,"shortTime"),i=or(e,"shortDate");r=Uc(Lc(e,Bt.Short),[o,i]);break;case"medium":const s=or(e,"mediumTime"),a=or(e,"mediumDate");r=Uc(Lc(e,Bt.Medium),[s,a]);break;case"long":const l=or(e,"longTime"),c=or(e,"longDate");r=Uc(Lc(e,Bt.Long),[l,c]);break;case"full":const u=or(e,"fullTime"),d=or(e,"fullDate");r=Uc(Lc(e,Bt.Full),[u,d])}return r&&(Vc[t][n]=r),r}function Uc(e,n){return n&&(e=e.replace(/\{([^}]+)}/g,function(t,r){return null!=n&&r in n?n[r]:t})),e}function dn(e,n,t="-",r,o){let i="";(e<0||o&&e<=0)&&(o?e=1-e:(e=-e,i=t));let s=String(e);for(;s.length<n;)s="0"+s;return r&&(s=s.slice(s.length-n)),i+s}function Ge(e,n,t=0,r=!1,o=!1){return function(i,s){let a=function cF(e,n){switch(e){case le.FullYear:return n.getFullYear();case le.Month:return n.getMonth();case le.Date:return n.getDate();case le.Hours:return n.getHours();case le.Minutes:return n.getMinutes();case le.Seconds:return n.getSeconds();case le.FractionalSeconds:return n.getMilliseconds();case le.Day:return n.getDay();default:throw new Error(`Unknown DateType value "${e}".`)}}(e,i);if((t>0||a>-t)&&(a+=t),e===le.Hours)0===a&&-12===t&&(a=12);else if(e===le.FractionalSeconds)return function lF(e,n){return dn(e,3).substring(0,n)}(a,n);const l=Yt(s,ze.MinusSign);return dn(a,n,l,r,o)}}function Me(e,n,t=wt.Format,r=!1){return function(o,i){return function uF(e,n,t,r,o,i){switch(t){case ce.Months:return function Yx(e,n,t){const r=_t(e),i=Xt([r[we.MonthsFormat],r[we.MonthsStandalone]],n);return Xt(i,t)}(n,o,r)[e.getMonth()];case ce.Days:return function Qx(e,n,t){const r=_t(e),i=Xt([r[we.DaysFormat],r[we.DaysStandalone]],n);return Xt(i,t)}(n,o,r)[e.getDay()];case ce.DayPeriods:const s=e.getHours(),a=e.getMinutes();if(i){const c=function eF(e){const n=_t(e);return X0(n),(n[we.ExtraData][2]||[]).map(r=>"string"==typeof r?hp(r):[hp(r[0]),hp(r[1])])}(n),u=function tF(e,n,t){const r=_t(e);X0(r);const i=Xt([r[we.ExtraData][0],r[we.ExtraData][1]],n)||[];return Xt(i,t)||[]}(n,o,r),d=c.findIndex(f=>{if(Array.isArray(f)){const[h,p]=f,v=s>=h.hours&&a>=h.minutes,C=s<p.hours||s===p.hours&&a<p.minutes;if(h.hours<p.hours){if(v&&C)return!0}else if(v||C)return!0}else if(f.hours===s&&f.minutes===a)return!0;return!1});if(-1!==d)return u[d]}return function Zx(e,n,t){const r=_t(e),i=Xt([r[we.DayPeriodsFormat],r[we.DayPeriodsStandalone]],n);return Xt(i,t)}(n,o,r)[s<12?0:1];case ce.Eras:return function Xx(e,n){return Xt(_t(e)[we.Eras],n)}(n,r)[e.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${t}`)}}(o,i,e,n,t,r)}}function $c(e){return function(n,t,r){const o=-1*r,i=Yt(t,ze.MinusSign),s=o>0?Math.floor(o/60):Math.ceil(o/60);switch(e){case rr.Short:return(o>=0?"+":"")+dn(s,2,i)+dn(Math.abs(o%60),2,i);case rr.ShortGMT:return"GMT"+(o>=0?"+":"")+dn(s,1,i);case rr.Long:return"GMT"+(o>=0?"+":"")+dn(s,2,i)+":"+dn(Math.abs(o%60),2,i);case rr.Extended:return 0===r?"Z":(o>=0?"+":"")+dn(s,2,i)+":"+dn(Math.abs(o%60),2,i);default:throw new Error(`Unknown zone width "${e}"`)}}}const dF=0,Bc=4;function K0(e){const n=e.getDay(),t=0===n?-3:Bc-n;return jc(e.getFullYear(),e.getMonth(),e.getDate()+t)}function pp(e,n=!1){return function(t,r){let o;if(n){const i=new Date(t.getFullYear(),t.getMonth(),1).getDay()-1,s=t.getDate();o=1+Math.floor((s+i)/7)}else{const i=K0(t),s=function fF(e){const n=jc(e,dF,1).getDay();return jc(e,0,1+(n<=Bc?Bc:Bc+7)-n)}(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return dn(o,e,Yt(r,ze.MinusSign))}}function Hc(e,n=!1){return function(t,r){return dn(K0(t).getFullYear(),e,Yt(r,ze.MinusSign),n)}}const gp={};function J0(e,n){e=e.replace(/:/g,"");const t=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(t)?n:t}function eM(e){return e instanceof Date&&!isNaN(e.valueOf())}function oM(e,n){n=encodeURIComponent(n);for(const t of e.split(";")){const r=t.indexOf("="),[o,i]=-1==r?[t,""]:[t.slice(0,r),t.slice(r+1)];if(o.trim()===n)return decodeURIComponent(i)}return null}const Dp=/\s+/,iM=[];let wp=(()=>{class e{constructor(t,r){this._ngEl=t,this._renderer=r,this.initialClasses=iM,this.stateMap=new Map}set klass(t){this.initialClasses=null!=t?t.trim().split(Dp):iM}set ngClass(t){this.rawClass="string"==typeof t?t.trim().split(Dp):t}ngDoCheck(){for(const r of this.initialClasses)this._updateState(r,!0);const t=this.rawClass;if(Array.isArray(t)||t instanceof Set)for(const r of t)this._updateState(r,!0);else if(null!=t)for(const r of Object.keys(t))this._updateState(r,!!t[r]);this._applyStateDiff()}_updateState(t,r){const o=this.stateMap.get(t);void 0!==o?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(t,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(const t of this.stateMap){const r=t[0],o=t[1];o.changed?(this._toggleClass(r,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),o.touched=!1}}_toggleClass(t,r){(t=t.trim()).length>0&&t.split(Dp).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}static{this.\u0275fac=function(r){return new(r||e)(E(Vt),E(er))}}static{this.\u0275dir=$({type:e,selectors:[["","ngClass",""]],inputs:{klass:[Ie.None,"class","klass"],ngClass:"ngClass"},standalone:!0})}}return e})();class kF{constructor(n,t,r,o){this.$implicit=n,this.ngForOf=t,this.index=r,this.count=o}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let fn=(()=>{class e{set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}constructor(t,r,o){this._viewContainer=t,this._template=r,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const t=this._ngForOf;!this._differ&&t&&(this._differ=this._differs.find(t).create(this.ngForTrackBy))}if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const r=this._viewContainer;t.forEachOperation((o,i,s)=>{if(null==o.previousIndex)r.createEmbeddedView(this._template,new kF(o.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)r.remove(null===i?void 0:i);else if(null!==i){const a=r.get(i);r.move(a,s),aM(a,o)}});for(let o=0,i=r.length;o<i;o++){const a=r.get(o).context;a.index=o,a.count=i,a.ngForOf=this._ngForOf}t.forEachIdentityChange(o=>{aM(r.get(o.currentIndex),o)})}static ngTemplateContextGuard(t,r){return!0}static{this.\u0275fac=function(r){return new(r||e)(E(ln),E(Jn),E(ap))}}static{this.\u0275dir=$({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}}return e})();function aM(e,n){e.context.$implicit=n.item}let Mp=(()=>{class e{constructor(t,r){this._viewContainer=t,this._context=new RF,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){lM("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){lM("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}static{this.\u0275fac=function(r){return new(r||e)(E(ln),E(Jn))}}static{this.\u0275dir=$({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}}return e})();class RF{constructor(){this.$implicit=null,this.ngIf=null}}function lM(e,n){if(n&&!n.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${We(n)}'.`)}const qF=new N(""),WF=new N("");let Ar=(()=>{class e{constructor(t,r,o){this.locale=t,this.defaultTimezone=r,this.defaultOptions=o}transform(t,r,o,i){if(null==t||""===t||t!=t)return null;try{return aF(t,r??this.defaultOptions?.dateFormat??"mediumDate",i||this.locale,o??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(s){throw function hn(e,n){return new I(2100,!1)}()}}static{this.\u0275fac=function(r){return new(r||e)(E(xn,16),E(qF,24),E(WF,24))}}static{this.\u0275pipe=at({name:"date",type:e,pure:!0,standalone:!0})}}return e})(),r4=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275mod=_n({type:e})}static{this.\u0275inj=Jt({})}}return e})();const dM="browser";function fM(e){return"server"===e}let l4=(()=>{class e{static{this.\u0275prov=k({token:e,providedIn:"root",factory:()=>function a4(e){return e===dM}(b(mr))?new c4(b($t),window):new d4})}}return e})();class c4{constructor(n,t){this.document=n,this.window=t,this.offset=()=>[0,0]}setOffset(n){this.offset=Array.isArray(n)?()=>n:n}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(n){this.window.scrollTo(n[0],n[1])}scrollToAnchor(n){const t=function u4(e,n){const t=e.getElementById(n)||e.getElementsByName(n)[0];if(t)return t;if("function"==typeof e.createTreeWalker&&e.body&&"function"==typeof e.body.attachShadow){const r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT);let o=r.currentNode;for(;o;){const i=o.shadowRoot;if(i){const s=i.getElementById(n)||i.querySelector(`[name="${n}"]`);if(s)return s}o=r.nextNode()}}return null}(this.document,n);t&&(this.scrollToElement(t),t.focus())}setHistoryScrollRestoration(n){this.window.history.scrollRestoration=n}scrollToElement(n){const t=n.getBoundingClientRect(),r=t.left+this.window.pageXOffset,o=t.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(r-i[0],o-i[1])}}class d4{setOffset(n){}getScrollPosition(){return[0,0]}scrollToPosition(n){}scrollToAnchor(n){}setHistoryScrollRestoration(n){}}class hM{}class j4 extends Ux{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Ap extends j4{static makeCurrent(){!function jx(e){z0??=e}(new Ap)}onAndCancel(n,t,r){return n.addEventListener(t,r),()=>{n.removeEventListener(t,r)}}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 U4(){return da=da||document.querySelector("base"),da?da.getAttribute("href"):null}();return null==t?null:function $4(e){return new URL(e,document.baseURI).pathname}(t)}resetBaseElement(){da=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return oM(document.cookie,n)}}let da=null,H4=(()=>{class e{build(){return new XMLHttpRequest}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=k({token:e,factory:e.\u0275fac})}}return e})();const Np=new N("");let wM=(()=>{class e{constructor(t,r){this._zone=r,this._eventNameToPlugin=new Map,t.forEach(o=>{o.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,r,o){return this._findPluginFor(r).addEventListener(t,r,o)}getZone(){return this._zone}_findPluginFor(t){let r=this._eventNameToPlugin.get(t);if(r)return r;if(r=this._plugins.find(i=>i.supports(t)),!r)throw new I(5101,!1);return this._eventNameToPlugin.set(t,r),r}static{this.\u0275fac=function(r){return new(r||e)(R(Np),R(fe))}}static{this.\u0275prov=k({token:e,factory:e.\u0275fac})}}return e})();class MM{constructor(n){this._doc=n}}const kp="ng-app-id";let EM=(()=>{class e{constructor(t,r,o,i={}){this.doc=t,this.appId=r,this.nonce=o,this.platformId=i,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=fM(i),this.resetHostNodes()}addStyles(t){for(const r of t)1===this.changeUsageCount(r,1)&&this.onStyleAdded(r)}removeStyles(t){for(const r of t)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){const t=this.styleNodesInDOM;t&&(t.forEach(r=>r.remove()),t.clear());for(const r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(t){this.hostNodes.add(t);for(const r of this.getAllStyles())this.addStyleToHost(t,r)}removeHost(t){this.hostNodes.delete(t)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(t){for(const r of this.hostNodes)this.addStyleToHost(r,t)}onStyleRemoved(t){const r=this.styleRef;r.get(t)?.elements?.forEach(o=>o.remove()),r.delete(t)}collectServerRenderedStyles(){const t=this.doc.head?.querySelectorAll(`style[${kp}="${this.appId}"]`);if(t?.length){const r=new Map;return t.forEach(o=>{null!=o.textContent&&r.set(o.textContent,o)}),r}return null}changeUsageCount(t,r){const o=this.styleRef;if(o.has(t)){const i=o.get(t);return i.usage+=r,i.usage}return o.set(t,{usage:r,elements:[]}),r}getStyleElement(t,r){const o=this.styleNodesInDOM,i=o?.get(r);if(i?.parentNode===t)return o.delete(r),i.removeAttribute(kp),i;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=r,this.platformIsServer&&s.setAttribute(kp,this.appId),t.appendChild(s),s}}addStyleToHost(t,r){const o=this.getStyleElement(t,r),i=this.styleRef,s=i.get(r)?.elements;s?s.push(o):i.set(r,{elements:[o],usage:1})}resetHostNodes(){const t=this.hostNodes;t.clear(),t.add(this.doc.head)}static{this.\u0275fac=function(r){return new(r||e)(R($t),R(Ml),R(ay,8),R(mr))}}static{this.\u0275prov=k({token:e,factory:e.\u0275fac})}}return e})();const Rp={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/"},Op=/%COMP%/g,W4=new N("",{providedIn:"root",factory:()=>!0});function IM(e,n){return n.map(t=>t.replace(Op,e))}let SM=(()=>{class e{constructor(t,r,o,i,s,a,l,c=null){this.eventManager=t,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.platformId=a,this.ngZone=l,this.nonce=c,this.rendererByCompId=new Map,this.platformIsServer=fM(a),this.defaultRenderer=new Pp(t,s,l,this.platformIsServer)}createRenderer(t,r){if(!t||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===en.ShadowDom&&(r={...r,encapsulation:en.Emulated});const o=this.getOrCreateRenderer(t,r);return o instanceof AM?o.applyToHost(t):o instanceof xp&&o.applyStyles(),o}getOrCreateRenderer(t,r){const o=this.rendererByCompId;let i=o.get(r.id);if(!i){const s=this.doc,a=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,d=this.platformIsServer;switch(r.encapsulation){case en.Emulated:i=new AM(l,c,r,this.appId,u,s,a,d);break;case en.ShadowDom:return new X4(l,c,t,r,s,a,this.nonce,d);default:i=new xp(l,c,r,u,s,a,d)}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}static{this.\u0275fac=function(r){return new(r||e)(R(wM),R(EM),R(Ml),R(W4),R($t),R(mr),R(fe),R(ay))}}static{this.\u0275prov=k({token:e,factory:e.\u0275fac})}}return e})();class Pp{constructor(n,t,r,o){this.eventManager=n,this.doc=t,this.ngZone=r,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(n,t){return t?this.doc.createElementNS(Rp[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(TM(n)?n.content:n).appendChild(t)}insertBefore(n,t,r){n&&(TM(n)?n.content:n).insertBefore(t,r)}removeChild(n,t){n&&n.removeChild(t)}selectRootElement(n,t){let r="string"==typeof n?this.doc.querySelector(n):n;if(!r)throw new I(-5104,!1);return t||(r.textContent=""),r}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,t,r,o){if(o){t=o+":"+t;const i=Rp[o];i?n.setAttributeNS(i,t,r):n.setAttribute(t,r)}else n.setAttribute(t,r)}removeAttribute(n,t,r){if(r){const o=Rp[r];o?n.removeAttributeNS(o,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,o){o&(yr.DashCase|yr.Important)?n.style.setProperty(t,r,o&yr.Important?"important":""):n.style[t]=r}removeStyle(n,t,r){r&yr.DashCase?n.style.removeProperty(t):n.style[t]=""}setProperty(n,t,r){null!=n&&(n[t]=r)}setValue(n,t){n.nodeValue=t}listen(n,t,r){if("string"==typeof n&&!(n=Sr().getGlobalEventTarget(this.doc,n)))throw new Error(`Unsupported event target ${n} for event ${t}`);return this.eventManager.addEventListener(n,t,this.decoratePreventDefault(r))}decoratePreventDefault(n){return t=>{if("__ngUnwrap__"===t)return n;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>n(t)):n(t))&&t.preventDefault()}}}function TM(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class X4 extends Pp{constructor(n,t,r,o,i,s,a,l){super(n,i,s,l),this.sharedStylesHost=t,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const c=IM(o.id,o.styles);for(const u of c){const d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=u,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,t){return super.appendChild(this.nodeOrShadowRoot(n),t)}insertBefore(n,t,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)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class xp extends Pp{constructor(n,t,r,o,i,s,a,l){super(n,i,s,a),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=o,this.styles=l?IM(l,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class AM extends xp{constructor(n,t,r,o,i,s,a,l){const c=o+"-"+r.id;super(n,t,r,i,s,a,l,c),this.contentAttr=function Z4(e){return"_ngcontent-%COMP%".replace(Op,e)}(c),this.hostAttr=function Q4(e){return"_nghost-%COMP%".replace(Op,e)}(c)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,t){const r=super.createElement(n,t);return super.setAttribute(r,this.contentAttr,""),r}}let K4=(()=>{class e extends MM{constructor(t){super(t)}supports(t){return!0}addEventListener(t,r,o){return t.addEventListener(r,o,!1),()=>this.removeEventListener(t,r,o)}removeEventListener(t,r,o){return t.removeEventListener(r,o)}static{this.\u0275fac=function(r){return new(r||e)(R($t))}}static{this.\u0275prov=k({token:e,factory:e.\u0275fac})}}return e})();const NM=["alt","control","meta","shift"],J4={"\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"},eL={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let tL=(()=>{class e extends MM{constructor(t){super(t)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,r,o){const i=e.parseEventName(r),s=e.eventCallback(i.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Sr().onAndCancel(t,i.domEventName,s))}static parseEventName(t){const r=t.toLowerCase().split("."),o=r.shift();if(0===r.length||"keydown"!==o&&"keyup"!==o)return null;const i=e._normalizeKey(r.pop());let s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),NM.forEach(c=>{const u=r.indexOf(c);u>-1&&(r.splice(u,1),s+=c+".")}),s+=i,0!=r.length||0===i.length)return null;const l={};return l.domEventName=o,l.fullKey=s,l}static matchEventFullKeyCode(t,r){let o=J4[t.key]||t.key,i="";return r.indexOf("code.")>-1&&(o=t.code,i="code."),!(null==o||!o)&&(o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),NM.forEach(s=>{s!==o&&(0,eL[s])(t)&&(i+=s+".")}),i+=o,i===r)}static eventCallback(t,r,o){return i=>{e.matchEventFullKeyCode(i,t)&&o.runGuarded(()=>r(i))}}static _normalizeKey(t){return"esc"===t?"escape":t}static{this.\u0275fac=function(r){return new(r||e)(R($t))}}static{this.\u0275prov=k({token:e,factory:e.\u0275fac})}}return e})();const iL=c0(nx,"browser",[{provide:mr,useValue:dM},{provide:sy,useValue:function nL(){Ap.makeCurrent()},multi:!0},{provide:$t,useFactory:function oL(){return function BT(e){Yd=e}(document),document},deps:[]}]),sL=new N(""),OM=[{provide:Mc,useClass:class B4{addToWindow(n){de.getAngularTestability=(r,o=!0)=>{const i=n.findTestabilityInTree(r,o);if(null==i)throw new I(5103,!1);return i},de.getAllAngularTestabilities=()=>n.getAllTestabilities(),de.getAllAngularRootElements=()=>n.getAllRootElements(),de.frameworkStabilizers||(de.frameworkStabilizers=[]),de.frameworkStabilizers.push(r=>{const o=de.getAllAngularTestabilities();let i=o.length;const s=function(){i--,0==i&&r()};o.forEach(a=>{a.whenStable(s)})})}findTestabilityInTree(n,t,r){return null==t?null:n.getTestability(t)??(r?Sr().isShadowRoot(t)?this.findTestabilityInTree(n,t.host,!0):this.findTestabilityInTree(n,t.parentElement,!0):null)}},deps:[]},{provide:Xw,useClass:Zh,deps:[fe,Qh,Mc]},{provide:Zh,useClass:Zh,deps:[fe,Qh,Mc]}],PM=[{provide:fd,useValue:"root"},{provide:Tn,useFactory:function rL(){return new Tn},deps:[]},{provide:Np,useClass:K4,multi:!0,deps:[$t,fe,mr]},{provide:Np,useClass:tL,multi:!0,deps:[$t]},SM,EM,wM,{provide:SC,useExisting:SM},{provide:hM,useClass:H4,deps:[]},[]];let aL=(()=>{class e{constructor(t){}static withServerTransition(t){return{ngModule:e,providers:[{provide:Ml,useValue:t.appId}]}}static{this.\u0275fac=function(r){return new(r||e)(R(sL,12))}}static{this.\u0275mod=_n({type:e})}static{this.\u0275inj=Jt({providers:[...PM,...OM],imports:[r4,rx]})}}return e})(),lL=(()=>{class e{constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}static{this.\u0275fac=function(r){return new(r||e)(R($t))}}static{this.\u0275prov=k({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function Nr(e){return this instanceof Nr?(this.v=e,this):new Nr(e)}function $M(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 jp(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(i){t[i]=e[i]&&function(s){return new Promise(function(a,l){!function o(i,s,a,l){Promise.resolve(l).then(function(c){i({value:c,done:a})},s)}(a,l,(s=e[i](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const BM=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function HM(e){return be(e?.then)}function zM(e){return be(e[Hu])}function GM(e){return Symbol.asyncIterator&&be(e?.[Symbol.asyncIterator])}function qM(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 WM=function VL(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function ZM(e){return be(e?.[WM])}function QM(e){return function UM(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,r=t.apply(e,n||[]),i=[];return o=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",function s(h){return function(p){return Promise.resolve(p).then(h,d)}}),o[Symbol.asyncIterator]=function(){return this},o;function a(h,p){r[h]&&(o[h]=function(v){return new Promise(function(C,D){i.push([h,v,C,D])>1||l(h,v)})},p&&(o[h]=p(o[h])))}function l(h,p){try{!function c(h){h.value instanceof Nr?Promise.resolve(h.value.v).then(u,d):f(i[0][2],h)}(r[h](p))}catch(v){f(i[0][3],v)}}function u(h){l("next",h)}function d(h){l("throw",h)}function f(h,p){h(p),i.shift(),i.length&&l(i[0][0],i[0][1])}}(this,arguments,function*(){const t=e.getReader();try{for(;;){const{value:r,done:o}=yield Nr(t.read());if(o)return yield Nr(void 0);yield yield Nr(r)}}finally{t.releaseLock()}})}function YM(e){return be(e?.getReader)}function Fn(e){if(e instanceof Be)return e;if(null!=e){if(zM(e))return function jL(e){return new Be(n=>{const t=e[Hu]();if(be(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(BM(e))return function UL(e){return new Be(n=>{for(let t=0;t<e.length&&!n.closed;t++)n.next(e[t]);n.complete()})}(e);if(HM(e))return function $L(e){return new Be(n=>{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,cm)})}(e);if(GM(e))return XM(e);if(ZM(e))return function BL(e){return new Be(n=>{for(const t of e)if(n.next(t),n.closed)return;n.complete()})}(e);if(YM(e))return function HL(e){return XM(QM(e))}(e)}throw qM(e)}function XM(e){return new Be(n=>{(function zL(e,n){var t,r,o,i;return function VM(e,n,t,r){return new(t||(t=Promise))(function(i,s){function a(u){try{c(r.next(u))}catch(d){s(d)}}function l(u){try{c(r.throw(u))}catch(d){s(d)}}function c(u){u.done?i(u.value):function o(i){return i instanceof t?i:new t(function(s){s(i)})}(u.value).then(a,l)}c((r=r.apply(e,n||[])).next())})}(this,void 0,void 0,function*(){try{for(t=$M(e);!(r=yield t.next()).done;)if(n.next(r.value),n.closed)return}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=t.return)&&(yield i.call(t))}finally{if(o)throw o.error}}n.complete()})})(e,n).catch(t=>n.error(t))})}function ir(e,n,t,r=0,o=!1){const i=n.schedule(function(){t(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function KM(e,n=0){return ot((t,r)=>{t.subscribe(qe(r,o=>ir(r,e,()=>r.next(o),n),()=>ir(r,e,()=>r.complete(),n),o=>ir(r,e,()=>r.error(o),n)))})}function JM(e,n=0){return ot((t,r)=>{r.add(e.schedule(()=>t.subscribe(r),n))})}function eE(e,n){if(!e)throw new Error("Iterable cannot be null");return new Be(t=>{ir(t,n,()=>{const r=e[Symbol.asyncIterator]();ir(t,n,()=>{r.next().then(o=>{o.done?t.complete():t.next(o.value)})},0,!0)})})}function et(e,n){return n?function YL(e,n){if(null!=e){if(zM(e))return function GL(e,n){return Fn(e).pipe(JM(n),KM(n))}(e,n);if(BM(e))return function WL(e,n){return new Be(t=>{let r=0;return n.schedule(function(){r===e.length?t.complete():(t.next(e[r++]),t.closed||this.schedule())})})}(e,n);if(HM(e))return function qL(e,n){return Fn(e).pipe(JM(n),KM(n))}(e,n);if(GM(e))return eE(e,n);if(ZM(e))return function ZL(e,n){return new Be(t=>{let r;return ir(t,n,()=>{r=e[WM](),ir(t,n,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){return void t.error(s)}i?t.complete():t.next(o)},0,!0)}),()=>be(r?.return)&&r.return()})}(e,n);if(YM(e))return function QL(e,n){return eE(QM(e),n)}(e,n)}throw qM(e)}(e,n):Fn(e)}const{isArray:XL}=Array,{getPrototypeOf:KL,prototype:JL,keys:e5}=Object;function tE(e){if(1===e.length){const n=e[0];if(XL(n))return{args:n,keys:null};if(function t5(e){return e&&"object"==typeof e&&KL(e)===JL}(n)){const t=e5(n);return{args:t.map(r=>n[r]),keys:t}}}return{args:e,keys:null}}function $p(e){return e[e.length-1]}function nE(e){return be($p(e))?e.pop():void 0}function Zc(e){return function n5(e){return e&&be(e.schedule)}($p(e))?e.pop():void 0}const{isArray:r5}=Array;function rE(e){return ie(n=>function o5(e,n){return r5(n)?e(...n):e(n)}(e,n))}function oE(e,n){return e.reduce((t,r,o)=>(t[r]=n[o],t),{})}let iE=(()=>{class e{constructor(t,r){this._renderer=t,this._elementRef=r,this.onChange=o=>{},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)}static{this.\u0275fac=function(r){return new(r||e)(E(er),E(Vt))}}static{this.\u0275dir=$({type:e})}}return e})(),fo=(()=>{class e extends iE{static{this.\u0275fac=(()=>{let t;return function(o){return(t||(t=nt(e)))(o||e)}})()}static{this.\u0275dir=$({type:e,features:[ge]})}}return e})();const Ln=new N(""),s5={provide:Ln,useExisting:Ce(()=>ha),multi:!0};let ha=(()=>{class e extends fo{writeValue(t){this.setProperty("checked",t)}static{this.\u0275fac=(()=>{let t;return function(o){return(t||(t=nt(e)))(o||e)}})()}static{this.\u0275dir=$({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(r,o){1&r&&T("change",function(s){return o.onChange(s.target.checked)})("blur",function(){return o.onTouched()})},features:[Te([s5]),ge]})}}return e})();const a5={provide:Ln,useExisting:Ce(()=>Mt),multi:!0},c5=new N("");let Mt=(()=>{class e extends iE{constructor(t,r,o){super(t,r),this._compositionMode=o,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function l5(){const e=Sr()?Sr().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(t){this.setProperty("value",t??"")}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}static{this.\u0275fac=function(r){return new(r||e)(E(er),E(Vt),E(c5,8))}}static{this.\u0275dir=$({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(r,o){1&r&&T("input",function(s){return o._handleInput(s.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(s){return o._compositionEnd(s.target.value)})},features:[Te([a5]),ge]})}}return e})();const pt=new N(""),Rr=new N("");function gE(e){return null!=e}function mE(e){return oa(e)?et(e):e}function vE(e){let n={};return e.forEach(t=>{n=null!=t?{...n,...t}:n}),0===Object.keys(n).length?null:n}function yE(e,n){return n.map(t=>t(e))}function CE(e){return e.map(n=>function d5(e){return!e.validate}(n)?n:t=>n.validate(t))}function Bp(e){return null!=e?function _E(e){if(!e)return null;const n=e.filter(gE);return 0==n.length?null:function(t){return vE(yE(t,n))}}(CE(e)):null}function Hp(e){return null!=e?function DE(e){if(!e)return null;const n=e.filter(gE);return 0==n.length?null:function(t){return function i5(...e){const n=nE(e),{args:t,keys:r}=tE(e),o=new Be(i=>{const{length:s}=t;if(!s)return void i.complete();const a=new Array(s);let l=s,c=s;for(let u=0;u<s;u++){let d=!1;Fn(t[u]).subscribe(qe(i,f=>{d||(d=!0,c--),a[u]=f},()=>l--,void 0,()=>{(!l||!d)&&(c||i.next(r?oE(r,a):a),i.complete())}))}});return n?o.pipe(rE(n)):o}(yE(t,n).map(mE)).pipe(ie(vE))}}(CE(e)):null}function wE(e,n){return null===e?[n]:Array.isArray(e)?[...e,n]:[e,n]}function zp(e){return e?Array.isArray(e)?e:[e]:[]}function Yc(e,n){return Array.isArray(e)?e.includes(n):e===n}function bE(e,n){const t=zp(n);return zp(e).forEach(o=>{Yc(t,o)||t.push(o)}),t}function IE(e,n){return zp(n).filter(t=>!Yc(e,t))}class SE{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=Bp(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=Hp(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control&&this.control.reset(n)}hasError(n,t){return!!this.control&&this.control.hasError(n,t)}getError(n,t){return this.control?this.control.getError(n,t):null}}class Et extends SE{get formDirective(){return null}get path(){return null}}class Or extends SE{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class TE{constructor(n){this._cd=n}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let Ht=(()=>{class e extends TE{constructor(t){super(t)}static{this.\u0275fac=function(r){return new(r||e)(E(Or,2))}}static{this.\u0275dir=$({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,o){2&r&&dc("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[ge]})}}return e})(),AE=(()=>{class e extends TE{constructor(t){super(t)}static{this.\u0275fac=function(r){return new(r||e)(E(Et,10))}}static{this.\u0275dir=$({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(r,o){2&r&&dc("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)("ng-submitted",o.isSubmitted)},features:[ge]})}}return e})();const pa="VALID",Kc="INVALID",Ei="PENDING",ga="DISABLED";function Wp(e){return(Jc(e)?e.validators:e)||null}function Zp(e,n){return(Jc(n)?n.asyncValidators:e)||null}function Jc(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class Qp{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._assignValidators(n),this._assignAsyncValidators(t)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get valid(){return this.status===pa}get invalid(){return this.status===Kc}get pending(){return this.status==Ei}get disabled(){return this.status===ga}get enabled(){return this.status!==ga}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._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(bE(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(bE(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(IE(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(IE(n,this._rawAsyncValidators))}hasValidator(n){return Yc(this._rawValidators,n)}hasAsyncValidator(n){return Yc(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=Ei,!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=ga,this.errors=null,this._forEachChild(r=>{r.disable({...n,onlySelf:!0})}),this._updateValue(),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...n,skipPristineCheck:t}),this._onDisabledChange.forEach(r=>r(!0))}enable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=pa,this._forEachChild(r=>{r.enable({...n,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors({...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===pa||this.status===Ei)&&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()?ga:pa}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n){if(this.asyncValidator){this.status=Ei,this._hasOwnPendingAsyncValidator=!0;const t=mE(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,o)=>r&&r._find(o),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 Re,this.statusChanges=new Re}_calculateStatus(){return this._allControlsDisabled()?ga:this.errors?Kc:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Ei)?Ei:this._anyControlsHaveStatus(Kc)?Kc:pa}_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){Jc(n)&&null!=n.updateOn&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=function g5(e){return Array.isArray(e)?Bp(e):e||null}(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=function m5(e){return Array.isArray(e)?Hp(e):e||null}(this._rawAsyncValidators)}}class Yp extends Qp{constructor(n,t,r){super(Wp(t),Zp(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 RE(e,n,t){e._forEachChild((r,o)=>{if(void 0===t[o])throw new I(1002,"")})})(this,0,n),Object.keys(n).forEach(r=>{(function kE(e,n,t){const r=e.controls;if(!(n?Object.keys(r):r).length)throw new I(1e3,"");if(!r[t])throw new I(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 o=this.controls[r];o&&o.patchValue(n[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(n={},t={}){this._forEachChild((r,o)=>{r.reset(n?n[o]:null,{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,o)=>((r.enabled||this.disabled)&&(t[o]=r.value),t))}_reduceChildren(n,t){let r=n;return this._forEachChild((o,i)=>{r=t(r,o,i)}),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}}const bi=new N("CallSetDisabledState",{providedIn:"root",factory:()=>eu}),eu="always";function ma(e,n,t=eu){Xp(e,n),n.valueAccessor.writeValue(e.value),(e.disabled||"always"===t)&&n.valueAccessor.setDisabledState?.(e.disabled),function C5(e,n){n.valueAccessor.registerOnChange(t=>{e._pendingValue=t,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&OE(e,n)})}(e,n),function D5(e,n){const t=(r,o)=>{n.valueAccessor.writeValue(r),o&&n.viewToModelUpdate(r)};e.registerOnChange(t),n._registerOnDestroy(()=>{e._unregisterOnChange(t)})}(e,n),function _5(e,n){n.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&OE(e,n),"submit"!==e.updateOn&&e.markAsTouched()})}(e,n),function y5(e,n){if(n.valueAccessor.setDisabledState){const t=r=>{n.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(t),n._registerOnDestroy(()=>{e._unregisterOnDisabledChange(t)})}}(e,n)}function ru(e,n){e.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(n)})}function Xp(e,n){const t=function ME(e){return e._rawValidators}(e);null!==n.validator?e.setValidators(wE(t,n.validator)):"function"==typeof t&&e.setValidators([t]);const r=function EE(e){return e._rawAsyncValidators}(e);null!==n.asyncValidator?e.setAsyncValidators(wE(r,n.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]);const o=()=>e.updateValueAndValidity();ru(n._rawValidators,o),ru(n._rawAsyncValidators,o)}function OE(e,n){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}const I5={provide:Et,useExisting:Ce(()=>iu)},va=Promise.resolve();let iu=(()=>{class e extends Et{constructor(t,r,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._directives=new Set,this.ngSubmit=new Re,this.form=new Yp({},Bp(t),Hp(r))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){va.then(()=>{const r=this._findContainer(t.path);t.control=r.registerControl(t.name,t.control),ma(t.control,t,this.callSetDisabledState),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){va.then(()=>{const r=this._findContainer(t.path);r&&r.removeControl(t.name),this._directives.delete(t)})}addFormGroup(t){va.then(()=>{const r=this._findContainer(t.path),o=new Yp({});(function PE(e,n){Xp(e,n)})(o,t),r.registerControl(t.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){va.then(()=>{const r=this._findContainer(t.path);r&&r.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,r){va.then(()=>{this.form.get(t.path).setValue(r)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submitted=!0,function xE(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"===t?.target?.method}onReset(){this.resetForm()}resetForm(t=void 0){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}static{this.\u0275fac=function(r){return new(r||e)(E(pt,10),E(Rr,10),E(bi,8))}}static{this.\u0275dir=$({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(r,o){1&r&&T("submit",function(s){return o.onSubmit(s)})("reset",function(){return o.onReset()})},inputs:{options:[Ie.None,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Te([I5]),ge]})}}return e})();function FE(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function LE(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}const VE=class extends Qp{constructor(n=null,t,r){super(Wp(t),Zp(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}),Jc(t)&&(t.nonNullable||t.initialValueIsDefault)&&(this.defaultValue=LE(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){FE(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){FE(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){LE(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}},A5={provide:Or,useExisting:Ce(()=>Rt)},$E=Promise.resolve();let Rt=(()=>{class e extends Or{constructor(t,r,o,i,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new VE,this._registered=!1,this.name="",this.update=new Re,this._parent=t,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=function eg(e,n){if(!n)return null;let t,r,o;return Array.isArray(n),n.forEach(i=>{i.constructor===Mt?t=i:function E5(e){return Object.getPrototypeOf(e.constructor)===fo}(i)?r=i:o=i}),o||r||t||null}(0,i)}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 Jp(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(){ma(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(t){$E.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){const r=t.isDisabled.currentValue,o=0!==r&&Di(r);$E.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?function tu(e,n){return[...n.path,e]}(t,this._parent):[t]}static{this.\u0275fac=function(r){return new(r||e)(E(Et,9),E(pt,10),E(Rr,10),E(Ln,10),E(ia,8),E(bi,8))}}static{this.\u0275dir=$({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[Ie.None,"disabled","isDisabled"],model:[Ie.None,"ngModel","model"],options:[Ie.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Te([A5]),ge,Zt]})}}return e})(),BE=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275dir=$({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}}return e})(),J5=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275mod=_n({type:e})}static{this.\u0275inj=Jt({})}}return e})(),t8=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:bi,useValue:t.callSetDisabledState??eu}]}}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275mod=_n({type:e})}static{this.\u0275inj=Jt({imports:[J5]})}}return e})();function U(...e){return et(e,Zc(e))}function gt(e,n,t=1/0){return be(n)?gt((r,o)=>ie((i,s)=>n(r,i,o,s))(Fn(e(r,o))),t):("number"==typeof n&&(t=n),ot((r,o)=>function n8(e,n,t,r,o,i,s,a){const l=[];let c=0,u=0,d=!1;const f=()=>{d&&!l.length&&!c&&n.complete()},h=v=>c<r?p(v):l.push(v),p=v=>{i&&n.next(v),c++;let C=!1;Fn(t(v,u++)).subscribe(qe(n,D=>{o?.(D),i?h(D):n.next(D)},()=>{C=!0},void 0,()=>{if(C)try{for(c--;l.length&&c<r;){const D=l.shift();s?ir(n,s,()=>p(D)):p(D)}f()}catch(D){n.error(D)}}))};return e.subscribe(qe(n,h,()=>{d=!0,f()})),()=>{a?.()}}(r,o,e,t)))}function Ii(e,n){return be(n)?gt(e,n,1):gt(e,1)}function sr(e,n){return ot((t,r)=>{let o=0;t.subscribe(qe(r,i=>e.call(n,i,o++)&&r.next(i)))})}function ya(e){return ot((n,t)=>{try{n.subscribe(t)}finally{t.add(e)}})}function pn(e,n){return ot((t,r)=>{let o=null,i=0,s=!1;const a=()=>s&&!o&&r.complete();t.subscribe(qe(r,l=>{o?.unsubscribe();let c=0;const u=i++;Fn(e(l,u)).subscribe(o=qe(r,d=>r.next(n?n(l,d,u,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}class su{}class au{}class $e{constructor(n){this.normalizedNames=new Map,this.lazyUpdate=null,n?"string"==typeof n?this.lazyInit=()=>{this.headers=new Map,n.split("\n").forEach(t=>{const r=t.indexOf(":");if(r>0){const o=t.slice(0,r),i=o.toLowerCase(),s=t.slice(r+1).trim();this.maybeSetNormalizedName(o,i),this.headers.has(i)?this.headers.get(i).push(s):this.headers.set(i,[s])}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((t,r)=>{this.setHeaderEntries(r,t)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([t,r])=>{this.setHeaderEntries(t,r)})}: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 $e?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 $e;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof $e?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 o=("a"===n.op?this.headers.get(t):void 0)||[];o.push(...r),this.headers.set(t,o);break;case"d":const i=n.value;if(i){let s=this.headers.get(t);if(!s)return;s=s.filter(a=>-1===i.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)}}setHeaderEntries(n,t){const r=(Array.isArray(t)?t:[t]).map(i=>i.toString()),o=n.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(n,o)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>n(this.normalizedNames.get(t),this.headers.get(t)))}}class r8{encodeKey(n){return ab(n)}encodeValue(n){return ab(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}}const i8=/%(\d[a-f0-9])/gi,s8={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function ab(e){return encodeURIComponent(e).replace(i8,(n,t)=>s8[t]??n)}function lu(e){return`${e}`}class Pr{constructor(n={}){if(this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new r8,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function o8(e,n){const t=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{const i=o.indexOf("="),[s,a]=-1==i?[n.decodeKey(o),""]:[n.decodeKey(o.slice(0,i)),n.decodeValue(o.slice(i+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],o=Array.isArray(r)?r.map(lu):[lu(r)];this.map.set(t,o)})):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 o=n[r];Array.isArray(o)?o.forEach(i=>{t.push({param:r,value:i,op:"a"})}):t.push({param:r,value:o,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 Pr({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(lu(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 o=r.indexOf(lu(n.value));-1!==o&&r.splice(o,1),r.length>0?this.map.set(n.param,r):this.map.delete(n.param)}}}),this.cloneFrom=this.updates=null)}}class a8{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 lb(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function cb(e){return typeof Blob<"u"&&e instanceof Blob}function ub(e){return typeof FormData<"u"&&e instanceof FormData}class Ca{constructor(n,t,r,o){let i;if(this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=n.toUpperCase(),function l8(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||o?(this.body=void 0!==r?r:null,i=o):i=r,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),this.transferCache=i.transferCache),this.headers??=new $e,this.context??=new a8,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 Pr,this.urlWithParams=t}serializeBody(){return null===this.body?null:"string"==typeof this.body||lb(this.body)||cb(this.body)||ub(this.body)||function c8(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}(this.body)?this.body:this.body instanceof Pr?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||ub(this.body)?null:cb(this.body)?this.body.type||null:lb(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Pr?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(n={}){const t=n.method||this.method,r=n.url||this.url,o=n.responseType||this.responseType,i=n.transferCache??this.transferCache,s=void 0!==n.body?n.body:this.body,a=n.withCredentials??this.withCredentials,l=n.reportProgress??this.reportProgress;let c=n.headers||this.headers,u=n.params||this.params;const d=n.context??this.context;return void 0!==n.setHeaders&&(c=Object.keys(n.setHeaders).reduce((f,h)=>f.set(h,n.setHeaders[h]),c)),n.setParams&&(u=Object.keys(n.setParams).reduce((f,h)=>f.set(h,n.setParams[h]),u)),new Ca(t,r,s,{params:u,headers:c,context:d,reportProgress:l,responseType:o,withCredentials:a,transferCache:i})}}var xr=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}(xr||{});class ag{constructor(n,t=_a.Ok,r="OK"){this.headers=n.headers||new $e,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 cu extends ag{constructor(n={}){super(n),this.type=xr.ResponseHeader}clone(n={}){return new cu({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 po extends ag{constructor(n={}){super(n),this.type=xr.Response,this.body=void 0!==n.body?n.body:null}clone(n={}){return new po({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 Si extends ag{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}}var _a=function(e){return e[e.Continue=100]="Continue",e[e.SwitchingProtocols=101]="SwitchingProtocols",e[e.Processing=102]="Processing",e[e.EarlyHints=103]="EarlyHints",e[e.Ok=200]="Ok",e[e.Created=201]="Created",e[e.Accepted=202]="Accepted",e[e.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",e[e.NoContent=204]="NoContent",e[e.ResetContent=205]="ResetContent",e[e.PartialContent=206]="PartialContent",e[e.MultiStatus=207]="MultiStatus",e[e.AlreadyReported=208]="AlreadyReported",e[e.ImUsed=226]="ImUsed",e[e.MultipleChoices=300]="MultipleChoices",e[e.MovedPermanently=301]="MovedPermanently",e[e.Found=302]="Found",e[e.SeeOther=303]="SeeOther",e[e.NotModified=304]="NotModified",e[e.UseProxy=305]="UseProxy",e[e.Unused=306]="Unused",e[e.TemporaryRedirect=307]="TemporaryRedirect",e[e.PermanentRedirect=308]="PermanentRedirect",e[e.BadRequest=400]="BadRequest",e[e.Unauthorized=401]="Unauthorized",e[e.PaymentRequired=402]="PaymentRequired",e[e.Forbidden=403]="Forbidden",e[e.NotFound=404]="NotFound",e[e.MethodNotAllowed=405]="MethodNotAllowed",e[e.NotAcceptable=406]="NotAcceptable",e[e.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",e[e.RequestTimeout=408]="RequestTimeout",e[e.Conflict=409]="Conflict",e[e.Gone=410]="Gone",e[e.LengthRequired=411]="LengthRequired",e[e.PreconditionFailed=412]="PreconditionFailed",e[e.PayloadTooLarge=413]="PayloadTooLarge",e[e.UriTooLong=414]="UriTooLong",e[e.UnsupportedMediaType=415]="UnsupportedMediaType",e[e.RangeNotSatisfiable=416]="RangeNotSatisfiable",e[e.ExpectationFailed=417]="ExpectationFailed",e[e.ImATeapot=418]="ImATeapot",e[e.MisdirectedRequest=421]="MisdirectedRequest",e[e.UnprocessableEntity=422]="UnprocessableEntity",e[e.Locked=423]="Locked",e[e.FailedDependency=424]="FailedDependency",e[e.TooEarly=425]="TooEarly",e[e.UpgradeRequired=426]="UpgradeRequired",e[e.PreconditionRequired=428]="PreconditionRequired",e[e.TooManyRequests=429]="TooManyRequests",e[e.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",e[e.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",e[e.InternalServerError=500]="InternalServerError",e[e.NotImplemented=501]="NotImplemented",e[e.BadGateway=502]="BadGateway",e[e.ServiceUnavailable=503]="ServiceUnavailable",e[e.GatewayTimeout=504]="GatewayTimeout",e[e.HttpVersionNotSupported=505]="HttpVersionNotSupported",e[e.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",e[e.InsufficientStorage=507]="InsufficientStorage",e[e.LoopDetected=508]="LoopDetected",e[e.NotExtended=510]="NotExtended",e[e.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",e}(_a||{});function lg(e,n){return{body:n,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,transferCache:e.transferCache}}let ar=(()=>{class e{constructor(t){this.handler=t}request(t,r,o={}){let i;if(t instanceof Ca)i=t;else{let l,c;l=o.headers instanceof $e?o.headers:new $e(o.headers),o.params&&(c=o.params instanceof Pr?o.params:new Pr({fromObject:o.params})),i=new Ca(t,r,void 0!==o.body?o.body:null,{headers:l,context:o.context,params:c,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}const s=U(i).pipe(Ii(l=>this.handler.handle(l)));if(t instanceof Ca||"events"===o.observe)return s;const a=s.pipe(sr(l=>l instanceof po));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(ie(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(ie(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(ie(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new Error("Response is not a string.");return l.body}));default:return a.pipe(ie(l=>l.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${o.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 Pr).append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,r={}){return this.request("OPTIONS",t,r)}patch(t,r,o={}){return this.request("PATCH",t,lg(o,r))}post(t,r,o={}){return this.request("POST",t,lg(o,r))}put(t,r,o={}){return this.request("PUT",t,lg(o,r))}static{this.\u0275fac=function(r){return new(r||e)(R(su))}}static{this.\u0275prov=k({token:e,factory:e.\u0275fac})}}return e})();function fb(e,n){return n(e)}function p8(e,n){return(t,r)=>n.intercept(t,{handle:o=>e(o,r)})}const hb=new N(""),Da=new N(""),pb=new N(""),gb=new N("");function m8(){let e=null;return(n,t)=>{null===e&&(e=(b(hb,{optional:!0})??[]).reduceRight(p8,fb));const r=b(Dr),o=r.add();return e(n,t).pipe(ya(()=>r.remove(o)))}}let mb=(()=>{class e extends su{constructor(t,r){super(),this.backend=t,this.injector=r,this.chain=null,this.pendingTasks=b(Dr);const o=b(gb,{optional:!0});this.backend=o??t}handle(t){if(null===this.chain){const o=Array.from(new Set([...this.injector.get(Da),...this.injector.get(pb,[])]));this.chain=o.reduceRight((i,s)=>function g8(e,n,t){return(r,o)=>Dn(t,()=>n(r,i=>e(i,o)))}(i,s,this.injector),fb)}const r=this.pendingTasks.add();return this.chain(t,o=>this.backend.handle(o)).pipe(ya(()=>this.pendingTasks.remove(r)))}static{this.\u0275fac=function(r){return new(r||e)(R(au),R(mt))}}static{this.\u0275prov=k({token:e,factory:e.\u0275fac})}}return e})();const D8=/^\)\]\}',?\n/;let yb=(()=>{class e{constructor(t){this.xhrFactory=t}handle(t){if("JSONP"===t.method)throw new I(-2800,!1);const r=this.xhrFactory;return(r.\u0275loadImpl?et(r.\u0275loadImpl()):U(null)).pipe(pn(()=>new Be(i=>{const s=r.build();if(s.open(t.method,t.urlWithParams),t.withCredentials&&(s.withCredentials=!0),t.headers.forEach((v,C)=>s.setRequestHeader(v,C.join(","))),t.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){const v=t.detectContentTypeHeader();null!==v&&s.setRequestHeader("Content-Type",v)}if(t.responseType){const v=t.responseType.toLowerCase();s.responseType="json"!==v?v:"text"}const a=t.serializeBody();let l=null;const c=()=>{if(null!==l)return l;const v=s.statusText||"OK",C=new $e(s.getAllResponseHeaders()),D=function w8(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(s)||t.url;return l=new cu({headers:C,status:s.status,statusText:v,url:D}),l},u=()=>{let{headers:v,status:C,statusText:D,url:w}=c(),A=null;C!==_a.NoContent&&(A=typeof s.response>"u"?s.responseText:s.response),0===C&&(C=A?_a.Ok:0);let F=C>=200&&C<300;if("json"===t.responseType&&"string"==typeof A){const X=A;A=A.replace(D8,"");try{A=""!==A?JSON.parse(A):null}catch(ue){A=X,F&&(F=!1,A={error:ue,text:A})}}F?(i.next(new po({body:A,headers:v,status:C,statusText:D,url:w||void 0})),i.complete()):i.error(new Si({error:A,headers:v,status:C,statusText:D,url:w||void 0}))},d=v=>{const{url:C}=c(),D=new Si({error:v,status:s.status||0,statusText:s.statusText||"Unknown Error",url:C||void 0});i.error(D)};let f=!1;const h=v=>{f||(i.next(c()),f=!0);let C={type:xr.DownloadProgress,loaded:v.loaded};v.lengthComputable&&(C.total=v.total),"text"===t.responseType&&s.responseText&&(C.partialText=s.responseText),i.next(C)},p=v=>{let C={type:xr.UploadProgress,loaded:v.loaded};v.lengthComputable&&(C.total=v.total),i.next(C)};return s.addEventListener("load",u),s.addEventListener("error",d),s.addEventListener("timeout",d),s.addEventListener("abort",d),t.reportProgress&&(s.addEventListener("progress",h),null!==a&&s.upload&&s.upload.addEventListener("progress",p)),s.send(a),i.next({type:xr.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",u),s.removeEventListener("timeout",d),t.reportProgress&&(s.removeEventListener("progress",h),null!==a&&s.upload&&s.upload.removeEventListener("progress",p)),s.readyState!==s.DONE&&s.abort()}})))}static{this.\u0275fac=function(r){return new(r||e)(R(hM))}}static{this.\u0275prov=k({token:e,factory:e.\u0275fac})}}return e})();const dg=new N(""),Cb=new N("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),_b=new N("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class Db{}let b8=(()=>{class e{constructor(t,r,o){this.doc=t,this.platform=r,this.cookieName=o,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=oM(t,this.cookieName),this.lastCookieString=t),this.lastToken}static{this.\u0275fac=function(r){return new(r||e)(R($t),R(mr),R(Cb))}}static{this.\u0275prov=k({token:e,factory:e.\u0275fac})}}return e})();function I8(e,n){const t=e.url.toLowerCase();if(!b(dg)||"GET"===e.method||"HEAD"===e.method||t.startsWith("http://")||t.startsWith("https://"))return n(e);const r=b(Db).getToken(),o=b(_b);return null!=r&&!e.headers.has(o)&&(e=e.clone({headers:e.headers.set(o,r)})),n(e)}var Fr=function(e){return e[e.Interceptors=0]="Interceptors",e[e.LegacyInterceptors=1]="LegacyInterceptors",e[e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",e[e.NoXsrfProtection=3]="NoXsrfProtection",e[e.JsonpSupport=4]="JsonpSupport",e[e.RequestsMadeViaParent=5]="RequestsMadeViaParent",e[e.Fetch=6]="Fetch",e}(Fr||{});function go(e,n){return{\u0275kind:e,\u0275providers:n}}function S8(...e){const n=[ar,yb,mb,{provide:su,useExisting:mb},{provide:au,useExisting:yb},{provide:Da,useValue:I8,multi:!0},{provide:dg,useValue:!0},{provide:Db,useClass:b8}];for(const t of e)n.push(...t.\u0275providers);return function Xi(e){return{\u0275providers:e}}(n)}const wb=new N("");let A8=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275mod=_n({type:e})}static{this.\u0275inj=Jt({providers:[S8(go(Fr.LegacyInterceptors,[{provide:wb,useFactory:m8},{provide:Da,useExisting:wb,multi:!0}]))]})}}return e})();function W(e,n,t){const r=be(e)||n||t?{next:e,error:n,complete:t}:e;return r?ot((o,i)=>{var s;null===(s=r.subscribe)||void 0===s||s.call(r);let a=!0;o.subscribe(qe(i,l=>{var c;null===(c=r.next)||void 0===c||c.call(r,l),i.next(l)},()=>{var l;a=!1,null===(l=r.complete)||void 0===l||l.call(r),i.complete()},l=>{var c;a=!1,null===(c=r.error)||void 0===c||c.call(r,l),i.error(l)},()=>{var l,c;a&&(null===(l=r.unsubscribe)||void 0===l||l.call(r)),null===(c=r.finalize)||void 0===c||c.call(r)}))}):Wr}function oe(e){return ot((n,t)=>{let i,r=null,o=!1;r=n.subscribe(qe(t,void 0,void 0,s=>{i=Fn(e(s,oe(e)(n))),r?(r.unsubscribe(),r=null,i.subscribe(t)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(t))})}const Vn_restServerUrl="https://sf.truyen.network";function Lr(e="operation",n,t){return r=>{throw n&&(t.trim().length>0?n.add(`${t}: ${e} failed. Response status = ${r.status} statusText = ${r.statusText}`):n.add(`${e} failed: response status = ${r.status} statusText = ${r.statusText}`)),0===r.status&&!1===r.ok?new Error("Could not reach API, check your internet connection."):new Error(`${e} failed: status = ${r.status}`,{cause:r})}}let lr=(()=>{class e{constructor(){this.messages=[],this.add("Angular version: "+JP.full)}add(t){this.messages.push((new Date).toLocaleTimeString()+") "+t)}clear(){this.messages=[]}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=k({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();class mo{static{this.REST_URL=Vn_restServerUrl+"/api/chat"}constructor(n,t){this.http=n,this.appMessageService=t,this.httpOptions={headers:new $e({"Content-Type":"application/json",Accept:"application/json"})}}handleError(n){return Lr(n,this.appMessageService,this.constructor.name)}log(n){this.appMessageService.add(`${this.constructor.name}: ${n}`)}getChatMessages(){return this.http.get(mo.REST_URL,this.httpOptions).pipe(W(n=>this.log(`fetched ${n.length} messages`)),oe(this.handleError("getChatMessages")))}addChatMessage(n,t){return this.http.post(mo.REST_URL,{author:n,text:t},this.httpOptions).pipe(W(o=>this.log(`added message w/ id=${o.id}`)),oe(this.handleError("addChatMessage")))}static{this.\u0275fac=function(t){return new(t||mo)(R(ar),R(lr))}}static{this.\u0275prov=k({token:mo,factory:mo.\u0275fac,providedIn:"root"})}}const Ti="./ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),fg=Array.from({length:64},(e,n)=>n),du=e=>Array(e).fill(-1),Vr=[...du(46),0,1,...fg.slice(54,64),...du(7),...fg.slice(2,28),...du(6),...fg.slice(28,54),...du(5)],Nb=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],kb=[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946,1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055,3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504,976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462],Rb=[1332899944,1700884034,1701343084,1684370003,1668446532,1869963892],hg=(e,n)=>{if(n<=0||n>e.length)throw Error(`Illegal len: ${n}`);let r,o,t=0;const i=[];for(;t<n;){if(r=255&e[t++],i.push(Ti[r>>2&63]),r=(3&r)<<4,t>=n){i.push(Ti[63&r]);break}if(o=255&e[t++],r|=o>>4&15,i.push(Ti[63&r]),r=(15&o)<<2,t>=n){i.push(Ti[63&r]);break}o=255&e[t++],r|=o>>6&3,i.push(Ti[63&r]),i.push(Ti[63&o])}return i.join("")},fu="object"==typeof process&&"edge"===process.env.NEXT_RUNTIME?setTimeout:"function"==typeof setImmediate?setImmediate:"object"==typeof process&&"function"==typeof process.nextTick?process.nextTick:setTimeout,wa=(e,n,t,r)=>{let o,i=e[n],s=e[n+1];return i^=t[0],o=r[i>>>24],o+=r[256|i>>16&255],o^=r[512|i>>8&255],o+=r[768|255&i],s^=o^t[1],o=r[s>>>24],o+=r[256|s>>16&255],o^=r[512|s>>8&255],o+=r[768|255&s],i^=o^t[2],o=r[i>>>24],o+=r[256|i>>16&255],o^=r[512|i>>8&255],o+=r[768|255&i],s^=o^t[3],o=r[s>>>24],o+=r[256|s>>16&255],o^=r[512|s>>8&255],o+=r[768|255&s],i^=o^t[4],o=r[i>>>24],o+=r[256|i>>16&255],o^=r[512|i>>8&255],o+=r[768|255&i],s^=o^t[5],o=r[s>>>24],o+=r[256|s>>16&255],o^=r[512|s>>8&255],o+=r[768|255&s],i^=o^t[6],o=r[i>>>24],o+=r[256|i>>16&255],o^=r[512|i>>8&255],o+=r[768|255&i],s^=o^t[7],o=r[s>>>24],o+=r[256|s>>16&255],o^=r[512|s>>8&255],o+=r[768|255&s],i^=o^t[8],o=r[i>>>24],o+=r[256|i>>16&255],o^=r[512|i>>8&255],o+=r[768|255&i],s^=o^t[9],o=r[s>>>24],o+=r[256|s>>16&255],o^=r[512|s>>8&255],o+=r[768|255&s],i^=o^t[10],o=r[i>>>24],o+=r[256|i>>16&255],o^=r[512|i>>8&255],o+=r[768|255&i],s^=o^t[11],o=r[s>>>24],o+=r[256|s>>16&255],o^=r[512|s>>8&255],o+=r[768|255&s],i^=o^t[12],o=r[i>>>24],o+=r[256|i>>16&255],o^=r[512|i>>8&255],o+=r[768|255&i],s^=o^t[13],o=r[s>>>24],o+=r[256|s>>16&255],o^=r[512|s>>8&255],o+=r[768|255&s],i^=o^t[14],o=r[i>>>24],o+=r[256|i>>16&255],o^=r[512|i>>8&255],o+=r[768|255&i],s^=o^t[15],o=r[s>>>24],o+=r[256|s>>16&255],o^=r[512|s>>8&255],o+=r[768|255&s],i^=o^t[16],e[n]=s^t[17],e[n+1]=i,e},Ai=(e,n)=>{let t=0;for(let r=0;r<4;++r)t=t<<8|255&e[n],n=(n+1)%e.length;return{key:t,offp:n}},Ob=(e,n,t)=>{const r=n.length,o=t.length;let a,i=0,s=[0,0];for(let l=0;l<r;l++)a=Ai(e,i),i=a.offp,n[l]=n[l]^a.key;for(let l=0;l<r;l+=2)s=wa(s,0,n,t),n[l]=s[0],n[l+1]=s[1];for(let l=0;l<o;l+=2)s=wa(s,0,n,t),t[l]=s[0],t[l+1]=s[1]},Pb=(e,n,t,r,o)=>{const i=Rb.slice(),s=i.length;if(t<4||t>31){const f=new Error(`Illegal number of rounds (4-31): ${t}`);if(!1===r)return Promise.reject(f);throw f}if(16!==n.length){const f=new Error(`Illegal salt length: ${n.length} != 16`);if(!1===r)return Promise.reject(f);throw f}t=1<<t>>>0;let a,l,u,c=0;Int32Array?(a=new Int32Array(Nb),l=new Int32Array(kb)):(a=Nb.slice(),l=kb.slice()),((e,n,t,r)=>{const o=t.length,i=r.length;let l,s=0,a=[0,0];for(let c=0;c<o;c++)l=Ai(n,s),s=l.offp,t[c]=t[c]^l.key;s=0;for(let c=0;c<o;c+=2)l=Ai(e,s),s=l.offp,a[0]^=l.key,l=Ai(e,s),s=l.offp,a[1]^=l.key,a=wa(a,0,t,r),t[c]=a[0],t[c+1]=a[1];for(let c=0;c<i;c+=2)l=Ai(e,s),s=l.offp,a[0]^=l.key,l=Ai(e,s),s=l.offp,a[1]^=l.key,a=wa(a,0,t,r),r[c]=a[0],r[c+1]=a[1]})(n,e,a,l);const d=()=>{if(o&&o(c/t),!(c<t)){for(c=0;c<64;c++)for(u=0;u<s>>1;u++)wa(i,u<<1,a,l);const f=[];for(c=0;c<s;c++)f.push((i[c]>>24&255)>>>0),f.push((i[c]>>16&255)>>>0),f.push((i[c]>>8&255)>>>0),f.push((255&i[c])>>>0);return!1===r?Promise.resolve(f):f}{const f=Date.now();for(;c<t&&(c+=1,Ob(e,a,l),Ob(n,a,l),!(Date.now()-f>100)););}if(!1===r)return new Promise(f=>fu(()=>{d().then(f)}))};if(!1===r)return d();{let f;for(;;)if(typeof(f=d())<"u")return f||[]}},pg=(e=10)=>{if("number"!=typeof e)throw Error("Illegal arguments: "+typeof e);e<4?e=4:e>31&&(e=31);const n=[];return n.push("$2a$"),e<10&&n.push("0"),n.push(e.toString()),n.push("$"),n.push(hg((e=>{try{let n;n=typeof window<"u"?window.crypto??window.msCrypto:globalThis.crypto;const t=new Uint32Array(16);return n?.getRandomValues(t),Array.from(t)}catch{throw Error("WebCryptoAPI is not available")}})(),16)),n.join("")};const xb=(e,n=10)=>{if("number"==typeof n&&(n=pg(n)),"string"!=typeof e||"string"!=typeof n)throw Error("Illegal arguments: "+typeof e+", "+typeof n);return function gg(e,n,t,r){if("string"!=typeof e||"string"!=typeof n){const h=new Error("Invalid string / salt: Not a string");if(!1===t)return Promise.reject(h);throw h}let o,i;if("$"!==n.charAt(0)||"2"!==n.charAt(1)){const h=new Error("Invalid salt version: "+n.substring(0,2));if(!1===t)return Promise.reject(h);throw h}if("$"===n.charAt(2))o="\0",i=3;else{if(o=n.charAt(2),"a"!==o&&"b"!==o&&"y"!==o||"$"!==n.charAt(3)){const h=Error("Invalid salt revision: "+n.substring(2,4));if(!1===t)return Promise.reject(h);throw h}i=4}if(n.charAt(i+2)>"$"){const h=new Error("Missing salt rounds");if(!1===t)return Promise.reject(h);throw h}const l=10*parseInt(n.substring(i,i+1),10)+parseInt(n.substring(i+1,i+2),10),c=n.substring(i+3,i+25),u=(e=>{let n=0;const t=[];return((e,n)=>{((e,n)=>{let t,r=null;for(;null!==(t=null!==r?r:e());)t>=55296&&t<=57343&&null!==(r=e())&&r>=56320&&r<=57343?(n(1024*(t-55296)+r-56320+65536),r=null):n(t);null!==r&&n(r)})(e,t=>{((e,n)=>{let t=null;for("number"==typeof e&&(t=e,e=()=>null);null!==t||null!==(t=e());)t<128?n(127&t):t<2048?(n(t>>6&31|192),n(63&t|128)):t<65536?(n(t>>12&15|224),n(t>>6&63|128),n(63&t|128)):(n(t>>18&7|240),n(t>>12&63|128),n(t>>6&63|128),n(63&t|128)),t=null})(t,n)})})(()=>n<e.length?e.charCodeAt(n++):null,r=>{t.push(r)}),t})(e+=o>="a"?"\0":""),d=((e,n)=>{const t=e.length;let i,s,a,l,c,u,r=0,o=0;const d=[];for(;r<t-1&&o<16&&(u=e.charCodeAt(r++),i=u<Vr.length?Vr[u]:-1,u=e.charCodeAt(r++),s=u<Vr.length?Vr[u]:-1,!(-1==i||-1==s||(c=i<<2>>>0,c|=(48&s)>>4,d.push(String.fromCharCode(c)),++o>=16||r>=t)||(u=e.charCodeAt(r++),a=u<Vr.length?Vr[u]:-1,-1==a)||(c=(15&s)<<4>>>0,c|=(60&a)>>2,d.push(String.fromCharCode(c)),++o>=16||r>=t)));)u=e.charCodeAt(r++),l=u<Vr.length?Vr[u]:-1,c=(3&a)<<6>>>0,c|=l,d.push(String.fromCharCode(c)),++o;return d.map(f=>f.charCodeAt(0))})(c),f=h=>{const p=[];return p.push("$2"),o>="a"&&p.push(o),p.push("$"),l<10&&p.push("0"),p.push(l.toString()),p.push("$"),p.push(hg(d,d.length)),p.push(hg(h,4*Rb.length-1)),p.join("")};return!1===t?Pb(u,d,l,!1,r).then(h=>f(h)):f(Pb(u,d,l,!0,r))}(e,n,!0)};function mg(...e){const n=Zc(e),t=nE(e),{args:r,keys:o}=tE(e);if(0===r.length)return et([],n);const i=new Be(function G8(e,n,t=Wr){return r=>{Fb(n,()=>{const{length:o}=e,i=new Array(o);let s=o,a=o;for(let l=0;l<o;l++)Fb(n,()=>{const c=et(e[l],n);let u=!1;c.subscribe(qe(r,d=>{i[l]=d,u||(u=!0,a--),a||r.next(t(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}(r,n,o?s=>oE(o,s):Wr));return t?i.pipe(rE(t)):i}function Fb(e,n,t){e?ir(t,e,n):n()}const hu=Pu(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Ma(e=1/0){return gt(Wr,e)}function vg(...e){return function q8(){return Ma(1)}()(et(e,Zc(e)))}function Lb(e){return new Be(n=>{Fn(e()).subscribe(n)})}function pu(e,n){const t=be(e)?e:()=>e,r=o=>o.error(t());return new Be(n?o=>n.schedule(r,0,o):r)}const jn=new Be(e=>e.complete());function yg(){return ot((e,n)=>{let t=null;e._refCount++;const r=qe(n,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount)return void(t=null);const o=e._connection,i=t;t=null,o&&(!i||o===i)&&o.unsubscribe(),n.unsubscribe()});e.subscribe(r),r.closed||(t=e.connect())})}class Vb extends Be{constructor(n,t){super(),this.source=n,this.subjectFactory=t,this._subject=null,this._refCount=0,this._connection=null,hm(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,n?.unsubscribe()}connect(){let n=this._connection;if(!n){n=this._connection=new bt;const t=this.getSubject();n.add(this.source.subscribe(qe(t,void 0,()=>{this._teardown(),t.complete()},r=>{this._teardown(),t.error(r)},()=>this._teardown()))),n.closed&&(this._connection=null,n=bt.EMPTY)}return n}refCount(){return yg()(this)}}function Ni(e){return e<=0?()=>jn:ot((n,t)=>{let r=0;n.subscribe(qe(t,o=>{++r<=e&&(t.next(o),e<=r&&t.complete())}))})}function gu(e){return ot((n,t)=>{let r=!1;n.subscribe(qe(t,o=>{r=!0,t.next(o)},()=>{r||t.next(e),t.complete()}))})}function jb(e=Q8){return ot((n,t)=>{let r=!1;n.subscribe(qe(t,o=>{r=!0,t.next(o)},()=>r?t.complete():t.error(e())))})}function Q8(){return new hu}function vo(e,n){const t=arguments.length>=2;return r=>r.pipe(e?sr((o,i)=>e(o,i,r)):Wr,Ni(1),t?gu(n):jb(()=>new hu))}function Cg(e){return e<=0?()=>jn:ot((n,t)=>{let r=[];n.subscribe(qe(t,o=>{r.push(o),e<r.length&&r.shift()},()=>{for(const o of r)t.next(o);t.complete()},void 0,()=>{r=null}))})}const Z="primary",Ea=Symbol("RouteTitle");class t6{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 ki(e){return new t6(e)}function n6(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 o={};for(let i=0;i<r.length;i++){const s=r[i],a=e[i];if(s.startsWith(":"))o[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:e.slice(0,r.length),posParams:o}}function Un(e,n){const t=e?_g(e):void 0,r=n?_g(n):void 0;if(!t||!r||t.length!=r.length)return!1;let o;for(let i=0;i<t.length;i++)if(o=t[i],!Ub(e[o],n[o]))return!1;return!0}function _g(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}function Ub(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((o,i)=>r[i]===o)}return e===n}function $b(e){return e.length>0?e[e.length-1]:null}function jr(e){return function z8(e){return!!e&&(e instanceof Be||be(e.lift)&&be(e.subscribe))}(e)?e:oa(e)?et(Promise.resolve(e)):U(e)}const o6={exact:function zb(e,n,t){if(!yo(e.segments,n.segments)||!mu(e.segments,n.segments,t)||e.numberOfChildren!==n.numberOfChildren)return!1;for(const r in n.children)if(!e.children[r]||!zb(e.children[r],n.children[r],t))return!1;return!0},subset:Gb},Bb={exact:function i6(e,n){return Un(e,n)},subset:function s6(e,n){return Object.keys(n).length<=Object.keys(e).length&&Object.keys(n).every(t=>Ub(e[t],n[t]))},ignored:()=>!0};function Hb(e,n,t){return o6[t.paths](e.root,n.root,t.matrixParams)&&Bb[t.queryParams](e.queryParams,n.queryParams)&&!("exact"===t.fragment&&e.fragment!==n.fragment)}function Gb(e,n,t){return qb(e,n,n.segments,t)}function qb(e,n,t,r){if(e.segments.length>t.length){const o=e.segments.slice(0,t.length);return!(!yo(o,t)||n.hasChildren()||!mu(o,t,r))}if(e.segments.length===t.length){if(!yo(e.segments,t)||!mu(e.segments,t,r))return!1;for(const o in n.children)if(!e.children[o]||!Gb(e.children[o],n.children[o],r))return!1;return!0}{const o=t.slice(0,e.segments.length),i=t.slice(e.segments.length);return!!(yo(e.segments,o)&&mu(e.segments,o,r)&&e.children[Z])&&qb(e.children[Z],n,i,r)}}function mu(e,n,t){return n.every((r,o)=>Bb[t](e[o].parameters,r.parameters))}class Ri{constructor(n=new ve([],{}),t={},r=null){this.root=n,this.queryParams=t,this.fragment=r}get queryParamMap(){return this._queryParamMap??=ki(this.queryParams),this._queryParamMap}toString(){return c6.serialize(this)}}class ve{constructor(n,t){this.segments=n,this.children=t,this.parent=null,Object.values(t).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return vu(this)}}class ba{constructor(n,t){this.path=n,this.parameters=t}get parameterMap(){return this._parameterMap??=ki(this.parameters),this._parameterMap}toString(){return Qb(this)}}function yo(e,n){return e.length===n.length&&e.every((t,r)=>t.path===n[r].path)}let Oi=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=k({token:e,factory:()=>new Dg,providedIn:"root"})}}return e})();class Dg{parse(n){const t=new _6(n);return new Ri(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(n){const t=`/${Ia(n.root,!0)}`,r=function f6(e){const n=Object.entries(e).map(([t,r])=>Array.isArray(r)?r.map(o=>`${yu(t)}=${yu(o)}`).join("&"):`${yu(t)}=${yu(r)}`).filter(t=>t);return n.length?`?${n.join("&")}`:""}(n.queryParams);return`${t}${r}${"string"==typeof n.fragment?`#${function u6(e){return encodeURI(e)}(n.fragment)}`:""}`}}const c6=new Dg;function vu(e){return e.segments.map(n=>Qb(n)).join("/")}function Ia(e,n){if(!e.hasChildren())return vu(e);if(n){const t=e.children[Z]?Ia(e.children[Z],!1):"",r=[];return Object.entries(e.children).forEach(([o,i])=>{o!==Z&&r.push(`${o}:${Ia(i,!1)}`)}),r.length>0?`${t}(${r.join("//")})`:t}{const t=function l6(e,n){let t=[];return Object.entries(e.children).forEach(([r,o])=>{r===Z&&(t=t.concat(n(o,r)))}),Object.entries(e.children).forEach(([r,o])=>{r!==Z&&(t=t.concat(n(o,r)))}),t}(e,(r,o)=>o===Z?[Ia(e.children[Z],!1)]:[`${o}:${Ia(r,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children[Z]?`${vu(e)}/${t[0]}`:`${vu(e)}/(${t.join("//")})`}}function Wb(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function yu(e){return Wb(e).replace(/%3B/gi,";")}function wg(e){return Wb(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Cu(e){return decodeURIComponent(e)}function Zb(e){return Cu(e.replace(/\+/g,"%20"))}function Qb(e){return`${wg(e.path)}${function d6(e){return Object.entries(e).map(([n,t])=>`;${wg(n)}=${wg(t)}`).join("")}(e.parameters)}`}const h6=/^[^\/()?;#]+/;function Mg(e){const n=e.match(h6);return n?n[0]:""}const p6=/^[^\/()?;=#]+/,m6=/^[^=?&#]+/,y6=/^[^&#]+/;class _6{constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new ve([],{}):new ve([],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[Z]=new ve(n,t)),r}parseSegment(){const n=Mg(this.remaining);if(""===n&&this.peekStartsWith(";"))throw new I(4009,!1);return this.capture(n),new ba(Cu(n),this.parseMatrixParams())}parseMatrixParams(){const n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){const t=function g6(e){const n=e.match(p6);return n?n[0]:""}(this.remaining);if(!t)return;this.capture(t);let r="";if(this.consumeOptional("=")){const o=Mg(this.remaining);o&&(r=o,this.capture(r))}n[Cu(t)]=Cu(r)}parseQueryParam(n){const t=function v6(e){const n=e.match(m6);return n?n[0]:""}(this.remaining);if(!t)return;this.capture(t);let r="";if(this.consumeOptional("=")){const s=function C6(e){const n=e.match(y6);return n?n[0]:""}(this.remaining);s&&(r=s,this.capture(r))}const o=Zb(t),i=Zb(r);if(n.hasOwnProperty(o)){let s=n[o];Array.isArray(s)||(s=[s],n[o]=s),s.push(i)}else n[o]=i}parseParens(n){const t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const r=Mg(this.remaining),o=this.remaining[r.length];if("/"!==o&&")"!==o&&";"!==o)throw new I(4010,!1);let i;r.indexOf(":")>-1?(i=r.slice(0,r.indexOf(":")),this.capture(i),this.capture(":")):n&&(i=Z);const s=this.parseChildren();t[i]=1===Object.keys(s).length?s[Z]:new ve([],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 I(4011,!1)}}function Yb(e){return e.segments.length>0?new ve([],{[Z]:e}):e}function Xb(e){const n={};for(const[r,o]of Object.entries(e.children)){const i=Xb(o);if(r===Z&&0===i.segments.length&&i.hasChildren())for(const[s,a]of Object.entries(i.children))n[s]=a;else(i.segments.length>0||i.hasChildren())&&(n[r]=i)}return function D6(e){if(1===e.numberOfChildren&&e.children[Z]){const n=e.children[Z];return new ve(e.segments.concat(n.segments),n.children)}return e}(new ve(e.segments,n))}function Pi(e){return e instanceof Ri}function Kb(e){let n;const o=Yb(function t(i){const s={};for(const l of i.children){const c=t(l);s[l.outlet]=c}const a=new ve(i.url,s);return i===e&&(n=a),a}(e.root));return n??o}function Jb(e,n,t,r){let o=e;for(;o.parent;)o=o.parent;if(0===n.length)return Eg(o,o,o,t,r);const i=function M6(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new t1(!0,0,e);let n=0,t=!1;const r=e.reduce((o,i,s)=>{if("object"==typeof i&&null!=i){if(i.outlets){const a={};return Object.entries(i.outlets).forEach(([l,c])=>{a[l]="string"==typeof c?c.split("/"):c}),[...o,{outlets:a}]}if(i.segmentPath)return[...o,i.segmentPath]}return"string"!=typeof i?[...o,i]:0===s?(i.split("/").forEach((a,l)=>{0==l&&"."===a||(0==l&&""===a?t=!0:".."===a?n++:""!=a&&o.push(a))}),o):[...o,i]},[]);return new t1(t,n,r)}(n);if(i.toRoot())return Eg(o,o,new ve([],{}),t,r);const s=function E6(e,n,t){if(e.isAbsolute)return new Du(n,!0,0);if(!t)return new Du(n,!1,NaN);if(null===t.parent)return new Du(t,!0,0);const r=_u(e.commands[0])?0:1;return function b6(e,n,t){let r=e,o=n,i=t;for(;i>o;){if(i-=o,r=r.parent,!r)throw new I(4005,!1);o=r.segments.length}return new Du(r,!1,o-i)}(t,t.segments.length-1+r,e.numberOfDoubleDots)}(i,o,e),a=s.processChildren?Ta(s.segmentGroup,s.index,i.commands):n1(s.segmentGroup,s.index,i.commands);return Eg(o,s.segmentGroup,a,t,r)}function _u(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function Sa(e){return"object"==typeof e&&null!=e&&e.outlets}function Eg(e,n,t,r,o){let s,i={};r&&Object.entries(r).forEach(([l,c])=>{i[l]=Array.isArray(c)?c.map(u=>`${u}`):`${c}`}),s=e===n?t:e1(e,n,t);const a=Yb(Xb(s));return new Ri(a,i,o)}function e1(e,n,t){const r={};return Object.entries(e.children).forEach(([o,i])=>{r[o]=i===n?t:e1(i,n,t)}),new ve(e.segments,r)}class t1{constructor(n,t,r){if(this.isAbsolute=n,this.numberOfDoubleDots=t,this.commands=r,n&&r.length>0&&_u(r[0]))throw new I(4003,!1);const o=r.find(Sa);if(o&&o!==$b(r))throw new I(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Du{constructor(n,t,r){this.segmentGroup=n,this.processChildren=t,this.index=r}}function n1(e,n,t){if(e??=new ve([],{}),0===e.segments.length&&e.hasChildren())return Ta(e,n,t);const r=function S6(e,n,t){let r=0,o=n;const i={match:!1,pathIndex:0,commandIndex:0};for(;o<e.segments.length;){if(r>=t.length)return i;const s=e.segments[o],a=t[r];if(Sa(a))break;const l=`${a}`,c=r<t.length-1?t[r+1]:null;if(o>0&&void 0===l)break;if(l&&c&&"object"==typeof c&&void 0===c.outlets){if(!o1(l,c,s))return i;r+=2}else{if(!o1(l,{},s))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}(e,n,t),o=t.slice(r.commandIndex);if(r.match&&r.pathIndex<e.segments.length){const i=new ve(e.segments.slice(0,r.pathIndex),{});return i.children[Z]=new ve(e.segments.slice(r.pathIndex),e.children),Ta(i,0,o)}return r.match&&0===o.length?new ve(e.segments,{}):r.match&&!e.hasChildren()?bg(e,n,t):r.match?Ta(e,0,o):bg(e,n,t)}function Ta(e,n,t){if(0===t.length)return new ve(e.segments,{});{const r=function I6(e){return Sa(e[0])?e[0].outlets:{[Z]:e}}(t),o={};if(Object.keys(r).some(i=>i!==Z)&&e.children[Z]&&1===e.numberOfChildren&&0===e.children[Z].segments.length){const i=Ta(e.children[Z],n,t);return new ve(e.segments,i.children)}return Object.entries(r).forEach(([i,s])=>{"string"==typeof s&&(s=[s]),null!==s&&(o[i]=n1(e.children[i],n,s))}),Object.entries(e.children).forEach(([i,s])=>{void 0===r[i]&&(o[i]=s)}),new ve(e.segments,o)}}function bg(e,n,t){const r=e.segments.slice(0,n);let o=0;for(;o<t.length;){const i=t[o];if(Sa(i)){const l=T6(i.outlets);return new ve(r,l)}if(0===o&&_u(t[0])){r.push(new ba(e.segments[n].path,r1(t[0]))),o++;continue}const s=Sa(i)?i.outlets[Z]:`${i}`,a=o<t.length-1?t[o+1]:null;s&&a&&_u(a)?(r.push(new ba(s,r1(a))),o+=2):(r.push(new ba(s,{})),o++)}return new ve(r,{})}function T6(e){const n={};return Object.entries(e).forEach(([t,r])=>{"string"==typeof r&&(r=[r]),null!==r&&(n[t]=bg(new ve([],{}),0,r))}),n}function r1(e){const n={};return Object.entries(e).forEach(([t,r])=>n[t]=`${r}`),n}function o1(e,n,t){return e==t.path&&Un(n,t.parameters)}const Aa="imperative";var re=function(e){return e[e.NavigationStart=0]="NavigationStart",e[e.NavigationEnd=1]="NavigationEnd",e[e.NavigationCancel=2]="NavigationCancel",e[e.NavigationError=3]="NavigationError",e[e.RoutesRecognized=4]="RoutesRecognized",e[e.ResolveStart=5]="ResolveStart",e[e.ResolveEnd=6]="ResolveEnd",e[e.GuardsCheckStart=7]="GuardsCheckStart",e[e.GuardsCheckEnd=8]="GuardsCheckEnd",e[e.RouteConfigLoadStart=9]="RouteConfigLoadStart",e[e.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",e[e.ChildActivationStart=11]="ChildActivationStart",e[e.ChildActivationEnd=12]="ChildActivationEnd",e[e.ActivationStart=13]="ActivationStart",e[e.ActivationEnd=14]="ActivationEnd",e[e.Scroll=15]="Scroll",e[e.NavigationSkipped=16]="NavigationSkipped",e}(re||{});class $n{constructor(n,t){this.id=n,this.url=t}}class wu extends $n{constructor(n,t,r="imperative",o=null){super(n,t),this.type=re.NavigationStart,this.navigationTrigger=r,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class cr extends $n{constructor(n,t,r){super(n,t),this.urlAfterRedirects=r,this.type=re.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var zt=function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromResolver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e}(zt||{}),Mu=function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e}(Mu||{});class xi extends $n{constructor(n,t,r,o){super(n,t),this.reason=r,this.code=o,this.type=re.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Fi extends $n{constructor(n,t,r,o){super(n,t),this.reason=r,this.code=o,this.type=re.NavigationSkipped}}class Eu extends $n{constructor(n,t,r,o){super(n,t),this.error=r,this.target=o,this.type=re.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class i1 extends $n{constructor(n,t,r,o){super(n,t),this.urlAfterRedirects=r,this.state=o,this.type=re.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class A6 extends $n{constructor(n,t,r,o){super(n,t),this.urlAfterRedirects=r,this.state=o,this.type=re.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class N6 extends $n{constructor(n,t,r,o,i){super(n,t),this.urlAfterRedirects=r,this.state=o,this.shouldActivate=i,this.type=re.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class k6 extends $n{constructor(n,t,r,o){super(n,t),this.urlAfterRedirects=r,this.state=o,this.type=re.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class R6 extends $n{constructor(n,t,r,o){super(n,t),this.urlAfterRedirects=r,this.state=o,this.type=re.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class O6{constructor(n){this.route=n,this.type=re.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class P6{constructor(n){this.route=n,this.type=re.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class x6{constructor(n){this.snapshot=n,this.type=re.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class F6{constructor(n){this.snapshot=n,this.type=re.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class L6{constructor(n){this.snapshot=n,this.type=re.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class V6{constructor(n){this.snapshot=n,this.type=re.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class s1{constructor(n,t,r){this.routerEvent=n,this.position=t,this.anchor=r,this.type=re.Scroll}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Ig{}class Sg{constructor(n){this.url=n}}class j6{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Na,this.attachRef=null}}let Na=(()=>{class e{constructor(){this.contexts=new Map}onChildOutletCreated(t,r){const o=this.getOrCreateContext(t);o.outlet=r,this.contexts.set(t,o)}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 j6,this.contexts.set(t,r)),r}getContext(t){return this.contexts.get(t)||null}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=k({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();class a1{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=Tg(n,this._root);return t?t.children.map(r=>r.value):[]}firstChild(n){const t=Tg(n,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(n){const t=Ag(n,this._root);return t.length<2?[]:t[t.length-2].children.map(o=>o.value).filter(o=>o!==n)}pathFromRoot(n){return Ag(n,this._root).map(t=>t.value)}}function Tg(e,n){if(e===n.value)return n;for(const t of n.children){const r=Tg(e,t);if(r)return r}return null}function Ag(e,n){if(e===n.value)return[n];for(const t of n.children){const r=Ag(e,t);if(r.length)return r.unshift(n),r}return[]}class gn{constructor(n,t){this.value=n,this.children=t}toString(){return`TreeNode(${this.value})`}}function Li(e){const n={};return e&&e.children.forEach(t=>n[t.value.outlet]=t),n}class l1 extends a1{constructor(n,t){super(n),this.snapshot=t,Rg(this,n)}toString(){return this.snapshot.toString()}}function c1(e){const n=function U6(e){const i=new kg([],{},{},"",{},Z,e,null,{});return new u1("",new gn(i,[]))}(e),t=new Wt([new ba("",{})]),r=new Wt({}),o=new Wt({}),i=new Wt({}),s=new Wt(""),a=new Kt(t,r,i,s,o,Z,e,n.root);return a.snapshot=n.root,new l1(new gn(a,[]),n)}class Kt{constructor(n,t,r,o,i,s,a,l){this.urlSubject=n,this.paramsSubject=t,this.queryParamsSubject=r,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(ie(c=>c[Ea]))??U(void 0),this.url=n,this.params=t,this.queryParams=r,this.fragment=o,this.data=i}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(ie(n=>ki(n))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(ie(n=>ki(n))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Ng(e,n,t="emptyOnly"){let r;const{routeConfig:o}=e;return r=null===n||"always"!==t&&""!==o?.path&&(n.component||n.routeConfig?.loadComponent)?{params:{...e.params},data:{...e.data},resolve:{...e.data,...e._resolvedData??{}}}:{params:{...n.params,...e.params},data:{...n.data,...e.data},resolve:{...e.data,...n.data,...o?.data,...e._resolvedData}},o&&f1(o)&&(r.resolve[Ea]=o.title),r}class kg{get title(){return this.data?.[Ea]}constructor(n,t,r,o,i,s,a,l,c){this.url=n,this.params=t,this.queryParams=r,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=l,this._resolve=c}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??=ki(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=ki(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(r=>r.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class u1 extends a1{constructor(n,t){super(t),this.url=n,Rg(this,t)}toString(){return d1(this._root)}}function Rg(e,n){n.value._routerState=e,n.children.forEach(t=>Rg(e,t))}function d1(e){const n=e.children.length>0?` { ${e.children.map(d1).join(", ")} } `:"";return`${e.value}${n}`}function Og(e){if(e.snapshot){const n=e.snapshot,t=e._futureSnapshot;e.snapshot=t,Un(n.queryParams,t.queryParams)||e.queryParamsSubject.next(t.queryParams),n.fragment!==t.fragment&&e.fragmentSubject.next(t.fragment),Un(n.params,t.params)||e.paramsSubject.next(t.params),function r6(e,n){if(e.length!==n.length)return!1;for(let t=0;t<e.length;++t)if(!Un(e[t],n[t]))return!1;return!0}(n.url,t.url)||e.urlSubject.next(t.url),Un(n.data,t.data)||e.dataSubject.next(t.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function Pg(e,n){const t=Un(e.params,n.params)&&function a6(e,n){return yo(e,n)&&e.every((t,r)=>Un(t.parameters,n[r].parameters))}(e.url,n.url);return t&&!(!e.parent!=!n.parent)&&(!e.parent||Pg(e.parent,n.parent))}function f1(e){return"string"==typeof e.title||null===e.title}let xg=(()=>{class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=Z,this.activateEvents=new Re,this.deactivateEvents=new Re,this.attachEvents=new Re,this.detachEvents=new Re,this.parentContexts=b(Na),this.location=b(ln),this.changeDetector=b(ia),this.environmentInjector=b(mt),this.inputBinder=b(bu,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(t){if(t.name){const{firstChange:r,previousValue:o}=t.name;if(r)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(t){return this.parentContexts.getContext(t)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const t=this.parentContexts.getContext(this.name);t?.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new I(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new I(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new I(4012,!1);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.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(t.instance)}deactivate(){if(this.activated){const t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,r){if(this.isActivated)throw new I(4013,!1);this._activatedRoute=t;const o=this.location,s=t.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,l=new Fg(t,a,o.injector);this.activated=o.createComponent(s,{index:o.length,injector:l,environmentInjector:r??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275dir=$({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Zt]})}}return e})();class Fg{__ngOutletInjector(n){return new Fg(this.route,this.childContexts,n)}constructor(n,t,r){this.route=n,this.childContexts=t,this.parent=r}get(n,t){return n===Kt?this.route:n===Na?this.childContexts:this.parent.get(n,t)}}const bu=new N("");let h1=(()=>{class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(t){this.unsubscribeFromRouteData(t),this.subscribeToRouteData(t)}unsubscribeFromRouteData(t){this.outletDataSubscriptions.get(t)?.unsubscribe(),this.outletDataSubscriptions.delete(t)}subscribeToRouteData(t){const{activatedRoute:r}=t,o=mg([r.queryParams,r.params,r.data]).pipe(pn(([i,s,a],l)=>(a={...i,...s,...a},0===l?U(a):Promise.resolve(a)))).subscribe(i=>{if(!t.isActivated||!t.activatedComponentRef||t.activatedRoute!==r||null===r.component)return void this.unsubscribeFromRouteData(t);const s=function Vx(e){const n=Y(e);if(!n)return null;const t=new Ls(n);return{get selector(){return t.selector},get type(){return t.componentType},get inputs(){return t.inputs},get outputs(){return t.outputs},get ngContentSelectors(){return t.ngContentSelectors},get isStandalone(){return n.standalone},get isSignal(){return n.signals}}}(r.component);if(s)for(const{templateName:a}of s.inputs)t.activatedComponentRef.setInput(a,i[a]);else this.unsubscribeFromRouteData(t)});this.outletDataSubscriptions.set(t,o)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=k({token:e,factory:e.\u0275fac})}}return e})();function ka(e,n,t){if(t&&e.shouldReuseRoute(n.value,t.value.snapshot)){const r=t.value;r._futureSnapshot=n.value;const o=function B6(e,n,t){return n.children.map(r=>{for(const o of t.children)if(e.shouldReuseRoute(r.value,o.value.snapshot))return ka(e,r,o);return ka(e,r)})}(e,n,t);return new gn(r,o)}{if(e.shouldAttach(n.value)){const i=e.retrieve(n.value);if(null!==i){const s=i.route;return s.value._futureSnapshot=n.value,s.children=n.children.map(a=>ka(e,a)),s}}const r=function H6(e){return new Kt(new Wt(e.url),new Wt(e.params),new Wt(e.queryParams),new Wt(e.fragment),new Wt(e.data),e.outlet,e.component,e)}(n.value),o=n.children.map(i=>ka(e,i));return new gn(r,o)}}const p1="ngNavigationCancelingError";function g1(e,n){const{redirectTo:t,navigationBehaviorOptions:r}=Pi(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,o=m1(!1,zt.Redirect);return o.url=t,o.navigationBehaviorOptions=r,o}function m1(e,n){const t=new Error(`NavigationCancelingError: ${e||""}`);return t[p1]=!0,t.cancellationCode=n,t}function v1(e){return!!e&&e[p1]}let y1=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=st({type:e,selectors:[["ng-component"]],standalone:!0,features:[Ew],decls:1,vars:0,template:function(r,o){1&r&&z(0,"router-outlet")},dependencies:[xg],encapsulation:2})}}return e})();function Lg(e){const n=e.children&&e.children.map(Lg),t=n?{...e,children:n}:{...e};return!t.component&&!t.loadComponent&&(n||t.loadChildren)&&t.outlet&&t.outlet!==Z&&(t.component=y1),t}function Bn(e){return e.outlet||Z}function Ra(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let n=e.parent;n;n=n.parent){const t=n.routeConfig;if(t?._loadedInjector)return t._loadedInjector;if(t?._injector)return t._injector}return null}class X6{constructor(n,t,r,o,i){this.routeReuseStrategy=n,this.futureState=t,this.currState=r,this.forwardEvent=o,this.inputBindingEnabled=i}activate(n){const t=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,r,n),Og(this.futureState.root),this.activateChildRoutes(t,r,n)}deactivateChildRoutes(n,t,r){const o=Li(t);n.children.forEach(i=>{const s=i.value.outlet;this.deactivateRoutes(i,o[s],r),delete o[s]}),Object.values(o).forEach(i=>{this.deactivateRouteAndItsChildren(i,r)})}deactivateRoutes(n,t,r){const o=n.value,i=t?t.value:null;if(o===i)if(o.component){const s=r.getContext(o.outlet);s&&this.deactivateChildRoutes(n,t,s.children)}else this.deactivateChildRoutes(n,t,r);else i&&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),o=r&&n.value.component?r.children:t,i=Li(n);for(const s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);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),o=r&&n.value.component?r.children:t,i=Li(n);for(const s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(n,t,r){const o=Li(t);n.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new V6(i.value.snapshot))}),n.children.length&&this.forwardEvent(new F6(n.value.snapshot))}activateRoutes(n,t,r){const o=n.value,i=t?t.value:null;if(Og(o),o===i)if(o.component){const s=r.getOrCreateContext(o.outlet);this.activateChildRoutes(n,t,s.children)}else this.activateChildRoutes(n,t,r);else if(o.component){const s=r.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){const a=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),Og(a.route.value),this.activateChildRoutes(n,null,s.children)}else{const a=Ra(o.snapshot);s.attachRef=null,s.route=o,s.injector=a,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(n,null,s.children)}}else this.activateChildRoutes(n,null,r)}}class C1{constructor(n){this.path=n,this.route=this.path[this.path.length-1]}}class Iu{constructor(n,t){this.component=n,this.route=t}}function K6(e,n,t){const r=e._root;return Oa(r,n?n._root:null,t,[r.value])}function Vi(e,n){const t=Symbol(),r=n.get(e,t);return r===t?"function"!=typeof e||function _I(e){return null!==za(e)}(e)?n.get(e):e:r}function Oa(e,n,t,r,o={canDeactivateChecks:[],canActivateChecks:[]}){const i=Li(n);return e.children.forEach(s=>{(function eV(e,n,t,r,o={canDeactivateChecks:[],canActivateChecks:[]}){const i=e.value,s=n?n.value:null,a=t?t.getContext(e.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){const l=function tV(e,n,t){if("function"==typeof t)return t(e,n);switch(t){case"pathParamsChange":return!yo(e.url,n.url);case"pathParamsOrQueryParamsChange":return!yo(e.url,n.url)||!Un(e.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Pg(e,n)||!Un(e.queryParams,n.queryParams);default:return!Pg(e,n)}}(s,i,i.routeConfig.runGuardsAndResolvers);l?o.canActivateChecks.push(new C1(r)):(i.data=s.data,i._resolvedData=s._resolvedData),Oa(e,n,i.component?a?a.children:null:t,r,o),l&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new Iu(a.outlet.component,s))}else s&&Pa(n,a,o),o.canActivateChecks.push(new C1(r)),Oa(e,null,i.component?a?a.children:null:t,r,o)})(s,i[s.value.outlet],t,r.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>Pa(a,t.getContext(s),o)),o}function Pa(e,n,t){const r=Li(e),o=e.value;Object.entries(r).forEach(([i,s])=>{Pa(s,o.component?n?n.children.getContext(i):null:n,t)}),t.canDeactivateChecks.push(new Iu(o.component&&n&&n.outlet&&n.outlet.isActivated?n.outlet.component:null,o))}function xa(e){return"function"==typeof e}function _1(e){return e instanceof hu||"EmptyError"===e?.name}const Su=Symbol("INITIAL_VALUE");function ji(){return pn(e=>mg(e.map(n=>n.pipe(Ni(1),function Z8(...e){const n=Zc(e);return ot((t,r)=>{(n?vg(e,t,n):vg(e,t)).subscribe(r)})}(Su)))).pipe(ie(n=>{for(const t of n)if(!0!==t){if(t===Su)return Su;if(!1===t||t instanceof Ri)return t}return!0}),sr(n=>n!==Su),Ni(1)))}function D1(e){return function uI(...e){return um(e)}(W(n=>{if(Pi(n))throw g1(0,n)}),ie(n=>!0===n))}class Vg{constructor(n){this.segmentGroup=n||null}}class jg extends Error{constructor(n){super(),this.urlTree=n}}function Ui(e){return pu(new Vg(e))}class _V{constructor(n,t){this.urlSerializer=n,this.urlTree=t}lineralizeSegments(n,t){let r=[],o=t.root;for(;;){if(r=r.concat(o.segments),0===o.numberOfChildren)return U(r);if(o.numberOfChildren>1||!o.children[Z])return pu(new I(4e3,!1));o=o.children[Z]}}applyRedirectCommands(n,t,r){const o=this.applyRedirectCreateUrlTree(t,this.urlSerializer.parse(t),n,r);if(t.startsWith("/"))throw new jg(o);return o}applyRedirectCreateUrlTree(n,t,r,o){const i=this.createSegmentGroup(n,t.root,r,o);return new Ri(i,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(n,t){const r={};return Object.entries(n).forEach(([o,i])=>{if("string"==typeof i&&i.startsWith(":")){const a=i.substring(1);r[o]=t[a]}else r[o]=i}),r}createSegmentGroup(n,t,r,o){const i=this.createSegments(n,t.segments,r,o);let s={};return Object.entries(t.children).forEach(([a,l])=>{s[a]=this.createSegmentGroup(n,l,r,o)}),new ve(i,s)}createSegments(n,t,r,o){return t.map(i=>i.path.startsWith(":")?this.findPosParam(n,i,o):this.findOrReturn(i,r))}findPosParam(n,t,r){const o=r[t.path.substring(1)];if(!o)throw new I(4001,!1);return o}findOrReturn(n,t){let r=0;for(const o of t){if(o.path===n.path)return t.splice(r),o;r++}return n}}const Ug={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function DV(e,n,t,r,o){const i=$g(e,n,t);return i.matched?(r=function G6(e,n){return e.providers&&!e._injector&&(e._injector=tc(e.providers,n,`Route: ${e.path}`)),e._injector??n}(n,r),function vV(e,n,t,r){const o=n.canMatch;return o&&0!==o.length?U(o.map(s=>{const a=Vi(s,e);return jr(function aV(e){return e&&xa(e.canMatch)}(a)?a.canMatch(n,t):Dn(e,()=>a(n,t)))})).pipe(ji(),D1()):U(!0)}(r,n,t).pipe(ie(s=>!0===s?i:{...Ug}))):U(i)}function $g(e,n,t){if("**"===n.path)return function wV(e){return{matched:!0,parameters:e.length>0?$b(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}(t);if(""===n.path)return"full"===n.pathMatch&&(e.hasChildren()||t.length>0)?{...Ug}:{matched:!0,consumedSegments:[],remainingSegments:t,parameters:{},positionalParamSegments:{}};const o=(n.matcher||n6)(t,e,n);if(!o)return{...Ug};const i={};Object.entries(o.posParams??{}).forEach(([a,l])=>{i[a]=l.path});const s=o.consumed.length>0?{...i,...o.consumed[o.consumed.length-1].parameters}:i;return{matched:!0,consumedSegments:o.consumed,remainingSegments:t.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function w1(e,n,t,r){return t.length>0&&function bV(e,n,t){return t.some(r=>Tu(e,n,r)&&Bn(r)!==Z)}(e,t,r)?{segmentGroup:new ve(n,EV(r,new ve(t,e.children))),slicedSegments:[]}:0===t.length&&function IV(e,n,t){return t.some(r=>Tu(e,n,r))}(e,t,r)?{segmentGroup:new ve(e.segments,MV(e,t,r,e.children)),slicedSegments:t}:{segmentGroup:new ve(e.segments,e.children),slicedSegments:t}}function MV(e,n,t,r){const o={};for(const i of t)if(Tu(e,n,i)&&!r[Bn(i)]){const s=new ve([],{});o[Bn(i)]=s}return{...r,...o}}function EV(e,n){const t={};t[Z]=n;for(const r of e)if(""===r.path&&Bn(r)!==Z){const o=new ve([],{});t[Bn(r)]=o}return t}function Tu(e,n,t){return(!(e.hasChildren()||n.length>0)||"full"!==t.pathMatch)&&""===t.path}class AV{}class RV{constructor(n,t,r,o,i,s,a){this.injector=n,this.configLoader=t,this.rootComponentType=r,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new _V(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(n){return new I(4002,`'${n.segmentGroup}'`)}recognize(){const n=w1(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(n).pipe(ie(t=>{const r=new kg([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Z,this.rootComponentType,null,{}),o=new gn(r,t),i=new u1("",o),s=function w6(e,n,t=null,r=null){return Jb(Kb(e),n,t,r)}(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),this.inheritParamsAndData(i._root,null),{state:i,tree:s}}))}match(n){return this.processSegmentGroup(this.injector,this.config,n,Z).pipe(oe(r=>{if(r instanceof jg)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof Vg?this.noMatchError(r):r}))}inheritParamsAndData(n,t){const r=n.value,o=Ng(r,t,this.paramsInheritanceStrategy);r.params=Object.freeze(o.params),r.data=Object.freeze(o.data),n.children.forEach(i=>this.inheritParamsAndData(i,r))}processSegmentGroup(n,t,r,o){return 0===r.segments.length&&r.hasChildren()?this.processChildren(n,t,r):this.processSegment(n,t,r,r.segments,o,!0).pipe(ie(i=>i instanceof gn?[i]:[]))}processChildren(n,t,r){const o=[];for(const i of Object.keys(r.children))"primary"===i?o.unshift(i):o.push(i);return et(o).pipe(Ii(i=>{const s=r.children[i],a=function Q6(e,n){const t=e.filter(r=>Bn(r)===n);return t.push(...e.filter(r=>Bn(r)!==n)),t}(t,i);return this.processSegmentGroup(n,a,s,i)}),function X8(e,n){return ot(function Y8(e,n,t,r,o){return(i,s)=>{let a=t,l=n,c=0;i.subscribe(qe(s,u=>{const d=c++;l=a?e(l,u,d):(a=!0,u),r&&s.next(l)},o&&(()=>{a&&s.next(l),s.complete()})))}}(e,n,arguments.length>=2,!0))}((i,s)=>(i.push(...s),i)),gu(null),function K8(e,n){const t=arguments.length>=2;return r=>r.pipe(e?sr((o,i)=>e(o,i,r)):Wr,Cg(1),t?gu(n):jb(()=>new hu))}(),gt(i=>{if(null===i)return Ui(r);const s=M1(i);return function OV(e){e.sort((n,t)=>n.value.outlet===Z?-1:t.value.outlet===Z?1:n.value.outlet.localeCompare(t.value.outlet))}(s),U(s)}))}processSegment(n,t,r,o,i,s){return et(t).pipe(Ii(a=>this.processSegmentAgainstRoute(a._injector??n,t,a,r,o,i,s).pipe(oe(l=>{if(l instanceof Vg)return U(null);throw l}))),vo(a=>!!a),oe(a=>{if(_1(a))return function TV(e,n,t){return 0===n.length&&!e.children[t]}(r,o,i)?U(new AV):Ui(r);throw a}))}processSegmentAgainstRoute(n,t,r,o,i,s,a){return function SV(e,n,t,r){return!!(Bn(e)===r||r!==Z&&Tu(n,t,e))&&$g(n,e,t).matched}(r,o,i,s)?void 0===r.redirectTo?this.matchSegmentAgainstRoute(n,o,r,i,s):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(n,o,t,r,i,s):Ui(o):Ui(o)}expandSegmentAgainstRouteUsingRedirect(n,t,r,o,i,s){const{matched:a,consumedSegments:l,positionalParamSegments:c,remainingSegments:u}=$g(t,o,i);if(!a)return Ui(t);o.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const d=this.applyRedirects.applyRedirectCommands(l,o.redirectTo,c);return this.applyRedirects.lineralizeSegments(o,d).pipe(gt(f=>this.processSegment(n,r,t,f.concat(u),s,!1)))}matchSegmentAgainstRoute(n,t,r,o,i){const s=DV(t,r,o,n);return"**"===r.path&&(t.children={}),s.pipe(pn(a=>a.matched?this.getChildConfig(n=r._injector??n,r,o).pipe(pn(({routes:l})=>{const c=r._loadedInjector??n,{consumedSegments:u,remainingSegments:d,parameters:f}=a,h=new kg(u,f,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function xV(e){return e.data||{}}(r),Bn(r),r.component??r._loadedComponent??null,r,function FV(e){return e.resolve||{}}(r)),{segmentGroup:p,slicedSegments:v}=w1(t,u,d,l);if(0===v.length&&p.hasChildren())return this.processChildren(c,l,p).pipe(ie(D=>null===D?null:new gn(h,D)));if(0===l.length&&0===v.length)return U(new gn(h,[]));const C=Bn(r)===i;return this.processSegment(c,l,p,v,C?Z:i,!0).pipe(ie(D=>new gn(h,D instanceof gn?[D]:[])))})):Ui(t)))}getChildConfig(n,t,r){return t.children?U({routes:t.children,injector:n}):t.loadChildren?void 0!==t._loadedRoutes?U({routes:t._loadedRoutes,injector:t._loadedInjector}):function mV(e,n,t,r){const o=n.canLoad;return void 0===o||0===o.length?U(!0):U(o.map(s=>{const a=Vi(s,e);return jr(function rV(e){return e&&xa(e.canLoad)}(a)?a.canLoad(n,t):Dn(e,()=>a(n,t)))})).pipe(ji(),D1())}(n,t,r).pipe(gt(o=>o?this.configLoader.loadChildren(n,t).pipe(W(i=>{t._loadedRoutes=i.routes,t._loadedInjector=i.injector})):function CV(e){return pu(m1(!1,zt.GuardRejected))}())):U({routes:[],injector:n})}}function PV(e){const n=e.value.routeConfig;return n&&""===n.path}function M1(e){const n=[],t=new Set;for(const r of e){if(!PV(r)){n.push(r);continue}const o=n.find(i=>r.value.routeConfig===i.value.routeConfig);void 0!==o?(o.children.push(...r.children),t.add(o)):n.push(r)}for(const r of t){const o=M1(r.children);n.push(new gn(r.value,o))}return n.filter(r=>!t.has(r))}function E1(e){const n=e.children.map(t=>E1(t)).flat();return[e,...n]}function Bg(e){return pn(n=>{const t=e(n);return t?et(t).pipe(ie(()=>n)):U(n)})}let b1=(()=>{class e{buildTitle(t){let r,o=t.root;for(;void 0!==o;)r=this.getResolvedTitleForRoute(o)??r,o=o.children.find(i=>i.outlet===Z);return r}getResolvedTitleForRoute(t){return t.data[Ea]}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=k({token:e,factory:()=>b(BV),providedIn:"root"})}}return e})(),BV=(()=>{class e extends b1{constructor(t){super(),this.title=t}updateTitle(t){const r=this.buildTitle(t);void 0!==r&&this.title.setTitle(r)}static{this.\u0275fac=function(r){return new(r||e)(R(lL))}}static{this.\u0275prov=k({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();const $i=new N("",{providedIn:"root",factory:()=>({})}),Bi=new N("");let Hg=(()=>{class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=b(n0)}loadComponent(t){if(this.componentLoaders.get(t))return this.componentLoaders.get(t);if(t._loadedComponent)return U(t._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(t);const r=jr(t.loadComponent()).pipe(ie(I1),W(i=>{this.onLoadEndListener&&this.onLoadEndListener(t),t._loadedComponent=i}),ya(()=>{this.componentLoaders.delete(t)})),o=new Vb(r,()=>new qt).pipe(yg());return this.componentLoaders.set(t,o),o}loadChildren(t,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return U({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);const i=function HV(e,n,t,r){return jr(e.loadChildren()).pipe(ie(I1),gt(o=>o instanceof v_||Array.isArray(o)?U(o):et(n.compileModuleAsync(o))),ie(o=>{r&&r(e);let i,s,a=!1;return Array.isArray(o)?(s=o,!0):(i=o.create(t).injector,s=i.get(Bi,[],{optional:!0,self:!0}).flat()),{routes:s.map(Lg),injector:i}}))}(r,this.compiler,t,this.onLoadEndListener).pipe(ya(()=>{this.childrenLoaders.delete(r)})),s=new Vb(i,()=>new qt).pipe(yg());return this.childrenLoaders.set(r,s),s}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=k({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function I1(e){return function zV(e){return e&&"object"==typeof e&&"default"in e}(e)?e.default:e}let zg=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=k({token:e,factory:()=>b(GV),providedIn:"root"})}}return e})(),GV=(()=>{class e{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,r){return t}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=k({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();const S1=new N(""),T1=new N("");function qV(e,n,t){const r=e.get(T1),o=e.get($t);return e.get(fe).runOutsideAngular(()=>{if(!o.startViewTransition||r.skipNextTransition)return r.skipNextTransition=!1,new Promise(c=>setTimeout(c));let i;const s=new Promise(c=>{i=c}),a=o.startViewTransition(()=>(i(),function WV(e){return new Promise(n=>{Jf(n,{injector:e})})}(e))),{onViewTransitionCreated:l}=r;return l&&Dn(e,()=>l({transition:a,from:n,to:t})),s})}let Au=(()=>{class e{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new qt,this.transitionAbortSubject=new qt,this.configLoader=b(Hg),this.environmentInjector=b(mt),this.urlSerializer=b(Oi),this.rootContexts=b(Na),this.location=b(wi),this.inputBindingEnabled=null!==b(bu,{optional:!0}),this.titleStrategy=b(b1),this.options=b($i,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=b(zg),this.createViewTransition=b(S1,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>U(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=o=>this.events.next(new P6(o)),this.configLoader.onLoadStartListener=o=>this.events.next(new O6(o))}complete(){this.transitions?.complete()}handleNavigationRequest(t){const r=++this.navigationId;this.transitions?.next({...this.transitions.value,...t,id:r})}setupNavigations(t,r,o){return this.transitions=new Wt({id:0,currentUrlTree:r,currentRawUrl:r,extractedUrl:this.urlHandlingStrategy.extract(r),urlAfterRedirects:this.urlHandlingStrategy.extract(r),rawUrl:r,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Aa,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(sr(i=>0!==i.id),ie(i=>({...i,extractedUrl:this.urlHandlingStrategy.extract(i.rawUrl)})),pn(i=>{let s=!1,a=!1;return U(i).pipe(pn(l=>{if(this.navigationId>i.id)return this.cancelNavigationTransition(i,"",zt.SupersededByNewNavigation),jn;this.currentTransition=i,this.currentNavigation={id:l.id,initialUrl:l.rawUrl,extractedUrl:l.extractedUrl,trigger:l.source,extras:l.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null};const c=!t.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!c&&"reload"!==(l.extras.onSameUrlNavigation??t.onSameUrlNavigation)){const d="";return this.events.next(new Fi(l.id,this.urlSerializer.serialize(l.rawUrl),d,Mu.IgnoredSameUrlNavigation)),l.resolve(null),jn}if(this.urlHandlingStrategy.shouldProcessUrl(l.rawUrl))return U(l).pipe(pn(d=>{const f=this.transitions?.getValue();return this.events.next(new wu(d.id,this.urlSerializer.serialize(d.extractedUrl),d.source,d.restoredState)),f!==this.transitions?.getValue()?jn:Promise.resolve(d)}),function LV(e,n,t,r,o,i){return gt(s=>function NV(e,n,t,r,o,i,s="emptyOnly"){return new RV(e,n,t,r,o,s,i).recognize()}(e,n,t,r,s.extractedUrl,o,i).pipe(ie(({state:a,tree:l})=>({...s,targetSnapshot:a,urlAfterRedirects:l}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,t.config,this.urlSerializer,this.paramsInheritanceStrategy),W(d=>{i.targetSnapshot=d.targetSnapshot,i.urlAfterRedirects=d.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:d.urlAfterRedirects};const f=new i1(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(f)}));if(c&&this.urlHandlingStrategy.shouldProcessUrl(l.currentRawUrl)){const{id:d,extractedUrl:f,source:h,restoredState:p,extras:v}=l,C=new wu(d,this.urlSerializer.serialize(f),h,p);this.events.next(C);const D=c1(this.rootComponentType).snapshot;return this.currentTransition=i={...l,targetSnapshot:D,urlAfterRedirects:f,extras:{...v,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=f,U(i)}{const d="";return this.events.next(new Fi(l.id,this.urlSerializer.serialize(l.extractedUrl),d,Mu.IgnoredByUrlHandlingStrategy)),l.resolve(null),jn}}),W(l=>{const c=new A6(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(c)}),ie(l=>(this.currentTransition=i={...l,guards:K6(l.targetSnapshot,l.currentSnapshot,this.rootContexts)},i)),function lV(e,n){return gt(t=>{const{targetSnapshot:r,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=t;return 0===s.length&&0===i.length?U({...t,guardsResult:!0}):function cV(e,n,t,r){return et(e).pipe(gt(o=>function gV(e,n,t,r,o){const i=n&&n.routeConfig?n.routeConfig.canDeactivate:null;return i&&0!==i.length?U(i.map(a=>{const l=Ra(n)??o,c=Vi(a,l);return jr(function sV(e){return e&&xa(e.canDeactivate)}(c)?c.canDeactivate(e,n,t,r):Dn(l,()=>c(e,n,t,r))).pipe(vo())})).pipe(ji()):U(!0)}(o.component,o.route,t,n,r)),vo(o=>!0!==o,!0))}(s,r,o,e).pipe(gt(a=>a&&function nV(e){return"boolean"==typeof e}(a)?function uV(e,n,t,r){return et(n).pipe(Ii(o=>vg(function fV(e,n){return null!==e&&n&&n(new x6(e)),U(!0)}(o.route.parent,r),function dV(e,n){return null!==e&&n&&n(new L6(e)),U(!0)}(o.route,r),function pV(e,n,t){const r=n[n.length-1],i=n.slice(0,n.length-1).reverse().map(s=>function J6(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=>Lb(()=>U(s.guards.map(l=>{const c=Ra(s.node)??t,u=Vi(l,c);return jr(function iV(e){return e&&xa(e.canActivateChild)}(u)?u.canActivateChild(r,e):Dn(c,()=>u(r,e))).pipe(vo())})).pipe(ji())));return U(i).pipe(ji())}(e,o.path,t),function hV(e,n,t){const r=n.routeConfig?n.routeConfig.canActivate:null;if(!r||0===r.length)return U(!0);const o=r.map(i=>Lb(()=>{const s=Ra(n)??t,a=Vi(i,s);return jr(function oV(e){return e&&xa(e.canActivate)}(a)?a.canActivate(n,e):Dn(s,()=>a(n,e))).pipe(vo())}));return U(o).pipe(ji())}(e,o.route,t))),vo(o=>!0!==o,!0))}(r,i,e,n):U(a)),ie(a=>({...t,guardsResult:a})))})}(this.environmentInjector,l=>this.events.next(l)),W(l=>{if(i.guardsResult=l.guardsResult,Pi(l.guardsResult))throw g1(0,l.guardsResult);const c=new N6(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot,!!l.guardsResult);this.events.next(c)}),sr(l=>!!l.guardsResult||(this.cancelNavigationTransition(l,"",zt.GuardRejected),!1)),Bg(l=>{if(l.guards.canActivateChecks.length)return U(l).pipe(W(c=>{const u=new k6(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(u)}),pn(c=>{let u=!1;return U(c).pipe(function VV(e,n){return gt(t=>{const{targetSnapshot:r,guards:{canActivateChecks:o}}=t;if(!o.length)return U(t);const i=new Set(o.map(l=>l.route)),s=new Set;for(const l of i)if(!s.has(l))for(const c of E1(l))s.add(c);let a=0;return et(s).pipe(Ii(l=>i.has(l)?function jV(e,n,t,r){const o=e.routeConfig,i=e._resolve;return void 0!==o?.title&&!f1(o)&&(i[Ea]=o.title),function UV(e,n,t,r){const o=_g(e);if(0===o.length)return U({});const i={};return et(o).pipe(gt(s=>function $V(e,n,t,r){const o=Ra(n)??r,i=Vi(e,o);return jr(i.resolve?i.resolve(n,t):Dn(o,()=>i(n,t)))}(e[s],n,t,r).pipe(vo(),W(a=>{i[s]=a}))),Cg(1),function J8(e){return ie(()=>e)}(i),oe(s=>_1(s)?jn:pu(s)))}(i,e,n,r).pipe(ie(s=>(e._resolvedData=s,e.data=Ng(e,e.parent,t).resolve,null)))}(l,r,e,n):(l.data=Ng(l,l.parent,e).resolve,U(void 0))),W(()=>a++),Cg(1),gt(l=>a===s.size?U(t):jn))})}(this.paramsInheritanceStrategy,this.environmentInjector),W({next:()=>u=!0,complete:()=>{u||this.cancelNavigationTransition(c,"",zt.NoDataFromResolver)}}))}),W(c=>{const u=new R6(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(u)}))}),Bg(l=>{const c=u=>{const d=[];u.routeConfig?.loadComponent&&!u.routeConfig._loadedComponent&&d.push(this.configLoader.loadComponent(u.routeConfig).pipe(W(f=>{u.component=f}),ie(()=>{})));for(const f of u.children)d.push(...c(f));return d};return mg(c(l.targetSnapshot.root)).pipe(gu(null),Ni(1))}),Bg(()=>this.afterPreactivation()),pn(()=>{const{currentSnapshot:l,targetSnapshot:c}=i,u=this.createViewTransition?.(this.environmentInjector,l.root,c.root);return u?et(u).pipe(ie(()=>i)):U(i)}),ie(l=>{const c=function $6(e,n,t){const r=ka(e,n._root,t?t._root:void 0);return new l1(r,n)}(t.routeReuseStrategy,l.targetSnapshot,l.currentRouterState);return this.currentTransition=i={...l,targetRouterState:c},this.currentNavigation.targetRouterState=c,i}),W(()=>{this.events.next(new Ig)}),((e,n,t,r)=>ie(o=>(new X6(n,o.targetRouterState,o.currentRouterState,t,r).activate(e),o)))(this.rootContexts,t.routeReuseStrategy,l=>this.events.next(l),this.inputBindingEnabled),Ni(1),W({next:l=>{s=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new cr(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects))),this.titleStrategy?.updateTitle(l.targetRouterState.snapshot),l.resolve(!0)},complete:()=>{s=!0}}),function e6(e){return ot((n,t)=>{Fn(e).subscribe(qe(t,()=>t.complete(),Lu)),!t.closed&&n.subscribe(t)})}(this.transitionAbortSubject.pipe(W(l=>{throw l}))),ya(()=>{!s&&!a&&this.cancelNavigationTransition(i,"",zt.SupersededByNewNavigation),this.currentTransition?.id===i.id&&(this.currentNavigation=null,this.currentTransition=null)}),oe(l=>{if(a=!0,v1(l))this.events.next(new xi(i.id,this.urlSerializer.serialize(i.extractedUrl),l.message,l.cancellationCode)),function z6(e){return v1(e)&&Pi(e.url)}(l)?this.events.next(new Sg(l.url)):i.resolve(!1);else{this.events.next(new Eu(i.id,this.urlSerializer.serialize(i.extractedUrl),l,i.targetSnapshot??void 0));try{i.resolve(t.errorHandler(l))}catch(c){this.options.resolveNavigationPromiseOnError?i.resolve(!1):i.reject(c)}}return jn}))}))}cancelNavigationTransition(t,r,o){const i=new xi(t.id,this.urlSerializer.serialize(t.extractedUrl),r,o);this.events.next(i),t.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=k({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function ZV(e){return e!==Aa}let QV=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=k({token:e,factory:()=>b(XV),providedIn:"root"})}}return e})();class YV{shouldDetach(n){return!1}store(n,t){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,t){return n.routeConfig===t.routeConfig}}let XV=(()=>{class e extends YV{static{this.\u0275fac=(()=>{let t;return function(o){return(t||(t=nt(e)))(o||e)}})()}static{this.\u0275prov=k({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),A1=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=k({token:e,factory:()=>b(KV),providedIn:"root"})}}return e})(),KV=(()=>{class e extends A1{constructor(){super(...arguments),this.location=b(wi),this.urlSerializer=b(Oi),this.options=b($i,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=b(zg),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Ri,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=c1(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(t){return this.location.subscribe(r=>{"popstate"===r.type&&t(r.url,r.state)})}handleRouterEvent(t,r){if(t instanceof wu)this.stateMemento=this.createStateMemento();else if(t instanceof Fi)this.rawUrlTree=r.initialUrl;else if(t instanceof i1){if("eager"===this.urlUpdateStrategy&&!r.extras.skipLocationChange){const o=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl);this.setBrowserUrl(o,r)}}else t instanceof Ig?(this.currentUrlTree=r.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl),this.routerState=r.targetRouterState,"deferred"===this.urlUpdateStrategy&&(r.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,r))):t instanceof xi&&(t.code===zt.GuardRejected||t.code===zt.NoDataFromResolver)?this.restoreHistory(r):t instanceof Eu?this.restoreHistory(r,!0):t instanceof cr&&(this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId)}setBrowserUrl(t,r){const o=this.urlSerializer.serialize(t);if(this.location.isCurrentPathEqualTo(o)||r.extras.replaceUrl){const s={...r.extras.state,...this.generateNgRouterState(r.id,this.browserPageId)};this.location.replaceState(o,"",s)}else{const i={...r.extras.state,...this.generateNgRouterState(r.id,this.browserPageId+1)};this.location.go(o,"",i)}}restoreHistory(t,r=!1){if("computed"===this.canceledNavigationResolution){const i=this.currentPageId-this.browserPageId;0!==i?this.location.historyGo(i):this.currentUrlTree===t.finalUrl&&0===i&&(this.resetState(t),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(r&&this.resetState(t),this.resetUrlToCurrentUrlTree())}resetState(t){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(t,r){return"computed"===this.canceledNavigationResolution?{navigationId:t,\u0275routerPageId:r}:{navigationId:t}}static{this.\u0275fac=(()=>{let t;return function(o){return(t||(t=nt(e)))(o||e)}})()}static{this.\u0275prov=k({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var Fa=function(e){return e[e.COMPLETE=0]="COMPLETE",e[e.FAILED=1]="FAILED",e[e.REDIRECTING=2]="REDIRECTING",e}(Fa||{});function N1(e,n){e.events.pipe(sr(t=>t instanceof cr||t instanceof xi||t instanceof Eu||t instanceof Fi),ie(t=>t instanceof cr||t instanceof Fi?Fa.COMPLETE:t instanceof xi&&(t.code===zt.Redirect||t.code===zt.SupersededByNewNavigation)?Fa.REDIRECTING:Fa.FAILED),sr(t=>t!==Fa.REDIRECTING),Ni(1)).subscribe(()=>{n()})}function JV(e){throw e}const e7={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},t7={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let tt=(()=>{class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=b(qw),this.stateManager=b(A1),this.options=b($i,{optional:!0})||{},this.pendingTasks=b(Dr),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=b(Au),this.urlSerializer=b(Oi),this.location=b(wi),this.urlHandlingStrategy=b(zg),this._events=new qt,this.errorHandler=this.options.errorHandler||JV,this.navigated=!1,this.routeReuseStrategy=b(QV),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=b(Bi,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!b(bu,{optional:!0}),this.eventsSubscription=new bt,this.isNgZoneEnabled=b(fe)instanceof fe&&fe.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:t=>{this.console.warn(t)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const t=this.navigationTransitions.events.subscribe(r=>{try{const o=this.navigationTransitions.currentTransition,i=this.navigationTransitions.currentNavigation;if(null!==o&&null!==i)if(this.stateManager.handleRouterEvent(r,i),r instanceof xi&&r.code!==zt.Redirect&&r.code!==zt.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof cr)this.navigated=!0;else if(r instanceof Sg){const s=this.urlHandlingStrategy.merge(r.url,o.currentRawUrl),a={info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||ZV(o.source)};this.scheduleNavigation(s,Aa,null,a,{resolve:o.resolve,reject:o.reject,promise:o.promise})}(function r7(e){return!(e instanceof Ig||e instanceof Sg)})(r)&&this._events.next(r)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(t)}resetRootComponentType(t){this.routerState.root.component=t,this.navigationTransitions.rootComponentType=t}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Aa,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((t,r)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(t,"popstate",r)},0)})}navigateToSyncWithBrowser(t,r,o){const i={replaceUrl:!0},s=o?.navigationId?o:null;if(o){const l={...o};delete l.navigationId,delete l.\u0275routerPageId,0!==Object.keys(l).length&&(i.state=l)}const a=this.parseUrl(t);this.scheduleNavigation(a,r,s,i)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(t){this.config=t.map(Lg),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(t,r={}){const{relativeTo:o,queryParams:i,fragment:s,queryParamsHandling:a,preserveFragment:l}=r,c=l?this.currentUrlTree.fragment:s;let d,u=null;switch(a){case"merge":u={...this.currentUrlTree.queryParams,...i};break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=i||null}null!==u&&(u=this.removeEmptyProps(u));try{d=Kb(o?o.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof t[0]||!t[0].startsWith("/"))&&(t=[]),d=this.currentUrlTree.root}return Jb(d,t,u,c??null)}navigateByUrl(t,r={skipLocationChange:!1}){const o=Pi(t)?t:this.parseUrl(t),i=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(i,Aa,null,r)}navigate(t,r={skipLocationChange:!1}){return function n7(e){for(let n=0;n<e.length;n++)if(null==e[n])throw new I(4008,!1)}(t),this.navigateByUrl(this.createUrlTree(t,r),r)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){try{return this.urlSerializer.parse(t)}catch{return this.urlSerializer.parse("/")}}isActive(t,r){let o;if(o=!0===r?{...e7}:!1===r?{...t7}:r,Pi(t))return Hb(this.currentUrlTree,t,o);const i=this.parseUrl(t);return Hb(this.currentUrlTree,i,o)}removeEmptyProps(t){return Object.entries(t).reduce((r,[o,i])=>(null!=i&&(r[o]=i),r),{})}scheduleNavigation(t,r,o,i,s){if(this.disposed)return Promise.resolve(!1);let a,l,c;s?(a=s.resolve,l=s.reject,c=s.promise):c=new Promise((d,f)=>{a=d,l=f});const u=this.pendingTasks.add();return N1(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(u))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:t,extras:i,resolve:a,reject:l,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(d=>Promise.reject(d))}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=k({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),Ur=(()=>{class e{constructor(t,r,o,i,s,a){this.router=t,this.route=r,this.tabIndexAttribute=o,this.renderer=i,this.el=s,this.locationStrategy=a,this.href=null,this.commands=null,this.onChanges=new qt,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const l=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===l||"area"===l,this.isAnchorElement?this.subscription=t.events.subscribe(c=>{c instanceof cr&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(t){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",t)}ngOnChanges(t){this.isAnchorElement&&this.updateHref(),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(t,r,o,i,s){const a=this.urlTree;return!!(null===a||this.isAnchorElement&&(0!==t||r||o||i||s||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(a,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){const t=this.urlTree;this.href=null!==t&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(t)):null;const r=null===this.href?null:function Ty(e,n,t){return function IA(e,n){return"src"===n&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===n&&("base"===e||"link"===e)?Sy:vf}(n,t)(e)}(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",r)}applyAttributeValue(t,r){const o=this.renderer,i=this.el.nativeElement;null!==r?o.setAttribute(i,t,r):o.removeAttribute(i,t)}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})}static{this.\u0275fac=function(r){return new(r||e)(E(tt),E(Kt),function ds(e){return function iT(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 o=0;for(;o<r;){const i=t[o];if(km(i))break;if(0===i)o+=2;else if("number"==typeof i)for(o++;o<r&&"string"==typeof t[o];)o++;else{if(i===n)return t[o+1];o+=2}}}return null}(pe(),e)}("tabindex"),E(er),E(Vt),E(Tr))}}static{this.\u0275dir=$({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(r,o){1&r&&T("click",function(s){return o.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),2&r&&Rn("target",o.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[Ie.HasDecoratorInputTransform,"preserveFragment","preserveFragment",Di],skipLocationChange:[Ie.HasDecoratorInputTransform,"skipLocationChange","skipLocationChange",Di],replaceUrl:[Ie.HasDecoratorInputTransform,"replaceUrl","replaceUrl",Di],routerLink:"routerLink"},standalone:!0,features:[m_,Zt]})}}return e})(),k1=(()=>{class e{get isActive(){return this._isActive}constructor(t,r,o,i,s){this.router=t,this.element=r,this.renderer=o,this.cdr=i,this.link=s,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new Re,this.routerEventsSubscription=t.events.subscribe(a=>{a instanceof cr&&this.update()})}ngAfterContentInit(){U(this.links.changes,U(null)).pipe(Ma()).subscribe(t=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const t=[...this.links.toArray(),this.link].filter(r=>!!r).map(r=>r.onChanges);this.linkInputChangesSubscription=et(t).pipe(Ma()).subscribe(r=>{this._isActive!==this.isLinkActive(this.router)(r)&&this.update()})}set routerLinkActive(t){const r=Array.isArray(t)?t:t.split(" ");this.classes=r.filter(o=>!!o)}ngOnChanges(t){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const t=this.hasActiveLinks();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._isActive!==t&&(this._isActive=t,this.cdr.markForCheck(),this.isActiveChange.emit(t))})}isLinkActive(t){const r=function o7(e){return!!e.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return o=>{const i=o.urlTree;return!!i&&t.isActive(i,r)}}hasActiveLinks(){const t=this.isLinkActive(this.router);return this.link&&t(this.link)||this.links.some(t)}static{this.\u0275fac=function(r){return new(r||e)(E(tt),E(Vt),E(er),E(ia),E(Ur,8))}}static{this.\u0275dir=$({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(r,o,i){if(1&r&&iw(i,Ur,5),2&r){let s;Xs(s=Ks())&&(o.links=s)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[Zt]})}}return e})();class R1{}let i7=(()=>{class e{constructor(t,r,o,i,s){this.router=t,this.injector=o,this.preloadingStrategy=i,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe(sr(t=>t instanceof cr),Ii(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,r){const o=[];for(const i of r){i.providers&&!i._injector&&(i._injector=tc(i.providers,t,`Route: ${i.path}`));const s=i._injector??t,a=i._loadedInjector??s;(i.loadChildren&&!i._loadedRoutes&&void 0===i.canLoad||i.loadComponent&&!i._loadedComponent)&&o.push(this.preloadConfig(s,i)),(i.children||i._loadedRoutes)&&o.push(this.processRoutes(a,i.children??i._loadedRoutes))}return et(o).pipe(Ma())}preloadConfig(t,r){return this.preloadingStrategy.preload(r,()=>{let o;o=r.loadChildren&&void 0===r.canLoad?this.loader.loadChildren(t,r):U(null);const i=o.pipe(gt(s=>null===s?U(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,this.processRoutes(s.injector??t,s.routes))));return r.loadComponent&&!r._loadedComponent?et([i,this.loader.loadComponent(r)]).pipe(Ma()):i})}static{this.\u0275fac=function(r){return new(r||e)(R(tt),R(n0),R(mt),R(R1),R(Hg))}}static{this.\u0275prov=k({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();const Gg=new N("");let O1=(()=>{class e{constructor(t,r,o,i,s={}){this.urlSerializer=t,this.transitions=r,this.viewportScroller=o,this.zone=i,this.options=s,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},this.environmentInjector=b(mt),s.scrollPositionRestoration||="disabled",s.anchorScrolling||="disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof wu?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof cr?(this.lastId=t.id,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.urlAfterRedirects).fragment)):t instanceof Fi&&t.code===Mu.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof s1&&(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){var o=this;this.zone.runOutsideAngular(Co(function*(){yield new Promise(i=>{setTimeout(()=>{i()}),Jf(()=>{i()},{injector:o.environmentInjector})}),o.zone.run(()=>{o.transitions.events.next(new s1(t,"popstate"===o.lastSource?o.store[o.restoredId]:null,r))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static{this.\u0275fac=function(r){!function Ky(){throw new Error("invalid")}()}}static{this.\u0275prov=k({token:e,factory:e.\u0275fac})}}return e})();function Hn(e,n){return{\u0275kind:e,\u0275providers:n}}function x1(){const e=b(Ct);return n=>{const t=e.get(br);if(n!==t.components[0])return;const r=e.get(tt),o=e.get(F1);1===e.get(qg)&&r.initialNavigation(),e.get(L1,null,K.Optional)?.setUpPreloading(),e.get(Gg,null,K.Optional)?.init(),r.resetRootComponentType(t.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}const F1=new N("",{factory:()=>new qt}),qg=new N("",{providedIn:"root",factory:()=>1}),L1=new N("");function c7(e){return Hn(0,[{provide:L1,useExisting:i7},{provide:R1,useExisting:e}])}function d7(e){return Hn(9,[{provide:S1,useValue:qV},{provide:T1,useValue:{skipNextTransition:!!e?.skipInitialTransition,...e}}])}const V1=new N("ROUTER_FORROOT_GUARD"),f7=[wi,{provide:Oi,useClass:Dg},tt,Na,{provide:Kt,useFactory:function P1(e){return e.routerState.root},deps:[tt]},Hg,[]];let j1=(()=>{class e{constructor(t){}static forRoot(t,r){return{ngModule:e,providers:[f7,[],{provide:Bi,multi:!0,useValue:t},{provide:V1,useFactory:m7,deps:[[tt,new Qa,new Ya]]},{provide:$i,useValue:r||{}},r?.useHash?{provide:Tr,useClass:Z0}:{provide:Tr,useClass:W0},{provide:Gg,useFactory:()=>{const e=b(l4),n=b(fe),t=b($i),r=b(Au),o=b(Oi);return t.scrollOffset&&e.setOffset(t.scrollOffset),new O1(o,r,e,n,t)}},r?.preloadingStrategy?c7(r.preloadingStrategy).\u0275providers:[],r?.initialNavigation?v7(r):[],r?.bindToComponentInputs?Hn(8,[h1,{provide:bu,useExisting:h1}]).\u0275providers:[],r?.enableViewTransitions?d7().\u0275providers:[],[{provide:U1,useFactory:x1},{provide:Jh,multi:!0,useExisting:U1}]]}}static forChild(t){return{ngModule:e,providers:[{provide:Bi,multi:!0,useValue:t}]}}static{this.\u0275fac=function(r){return new(r||e)(R(V1,8))}}static{this.\u0275mod=_n({type:e})}static{this.\u0275inj=Jt({})}}return e})();function m7(e){return"guarded"}function v7(e){return["disabled"===e.initialNavigation?Hn(3,[{provide:Xh,multi:!0,useFactory:()=>{const n=b(tt);return()=>{n.setUpLocationChangeListener()}}},{provide:qg,useValue:2}]).\u0275providers:[],"enabledBlocking"===e.initialNavigation?Hn(2,[{provide:qg,useValue:0},{provide:Xh,multi:!0,deps:[Ct],useFactory:n=>{const t=n.get($x,Promise.resolve());return()=>t.then(()=>new Promise(r=>{const o=n.get(tt),i=n.get(F1);N1(o,()=>{r(!0)}),n.get(Au).afterPreactivation=()=>(r(!0),i.closed?U(void 0):i),o.initialNavigation()}))}}]).\u0275providers:[]]}const U1=new N("");class Gt{static{this.REST_URL=Vn_restServerUrl+"/api/user"}constructor(n,t,r){this.http=n,this.router=t,this.appMessageService=r,this.authenticated=!1,this.credentials={username:"",password:""},this.authority="none",this.httpOptions={headers:new $e({"Content-Type":"application/json",Accept:"application/json"})}}handleError(n){return Lr(n,this.appMessageService,this.constructor.name)}log(n){this.appMessageService.add(`${this.constructor.name}: ${n}`)}isAuthenticated(){return this.authenticated}getAuthorizationToken(){return`Basic ${window.btoa(this.credentials.username+":"+this.credentials.password)}`}getUsername(){return this.credentials.username}getAuthority(){return this.authority}authenticate(n){this.log(`Authenticating: ${n.username}`),this.credentials=n;const t=new $e({"Content-Type":"application/json",Accept:"application/json",Authorization:this.getAuthorizationToken()});return this.http.get(Gt.REST_URL,{headers:t}).pipe(W(r=>this.authorizationRecieved(r)),oe(this.handleError("authenticating user")))}logout(){this.authenticated=!1,this.log("Logged out"),this.router.navigateByUrl("/").then(()=>{})}authorizationRecieved(n){if(this.authenticated=!0,n.authorities){let t=n.authorities[0].authority;t=t.substring(t.indexOf("_")+1),this.authority=t}this.log(`Authenticated '${n.name}' as '${this.authority}'`)}changePassword(n){this.log("Changing password.");const t=pg(10),r=xb(n,t);let o={};return o.username=this.credentials.username,o.password=r,this.http.post(Gt.REST_URL,o,this.httpOptions).pipe(W(i=>this.authorizationRecieved(i)),oe(this.handleError("changePassword")))}static{this.\u0275fac=function(t){return new(t||Gt)(R(ar),R(tt),R(lr))}}static{this.\u0275prov=k({token:Gt,factory:Gt.\u0275fac,providedIn:"root"})}}const C7=["scrollMe"];function _7(e,n){if(1&e&&(m(0,"li")(1,"div",9)(2,"span",10),y(3),g(),m(4,"span",11),y(5),kt(6,"date"),g(),m(7,"span",12),y(8),g()(),m(9,"span",13),y(10),g()()),2&e){const t=n.$implicit;_(3),q(t.id),_(2),q(Er(6,4,t.dateCreated,"medium")),_(3),q(t.author),_(2),q(t.text)}}function D7(e,n){if(1&e&&(m(0,"ul",7,0),Le(2,_7,11,7,"li",8),g()),2&e){const t=Ue();_(2),O("ngForOf",t.chatMessages)}}let Wg=(()=>{class e{constructor(t,r){this.chatService=t,this.loginService=r,this.disableScrollDown=!1,this.chatMessages=[],this.newMessage="",this.serviceMessage="",this.errorMessage=""}getChatMessages(){this.serviceMessage="Loading chat ...",this.chatService.getChatMessages().subscribe({next:t=>{this.chatMessages=t,this.scrollToBottom(),this.serviceMessage="Loaded chat."},error:t=>{this.serviceMessage="",this.errorMessage=`Error loading chat: ${t.message}`}})}ngOnInit(){this.loginService.isAuthenticated()&&this.getChatMessages()}sendMessage(){this.serviceMessage="Sending message ...",this.chatService.addChatMessage(this.loginService.getUsername(),this.newMessage).subscribe({next:t=>{this.chatMessages.push(t),this.serviceMessage="Send OK.",this.disableScrollDown=!1,this.scrollToBottom()},error:t=>{this.serviceMessage="",this.errorMessage=`Error loading chat: ${t.message}`}}),this.newMessage=""}ngAfterViewChecked(){this.scrollToBottom()}scrollToBottom(){try{this.myScrollContainer.nativeElement.scrollTop=this.myScrollContainer.nativeElement.scrollHeight}catch{}}static{this.\u0275fac=function(r){return new(r||e)(E(mo),E(Gt))}}static{this.\u0275cmp=st({type:e,selectors:[["app-chat"]],viewQuery:function(r,o){if(1&r&&yc(C7,5),2&r){let i;Xs(i=Ks())&&(o.myScrollContainer=i.first)}},decls:11,vars:6,consts:[["scrollMe",""],[1,"servicemessage",3,"hidden"],[1,"alert","servicemessage",3,"hidden"],["class","chat",4,"ngIf"],[1,"input"],["id","message-text","placeholder","hello",3,"ngModelChange","keydown.enter","ngModel"],[3,"click"],[1,"chat"],[4,"ngFor","ngForOf"],[1,"message-title"],[1,"badge"],[1,"date"],[1,"author"],[1,"text"]],template:function(r,o){1&r&&(m(0,"p",1),y(1),g(),m(2,"p",2),y(3),g(),Le(4,D7,3,1,"ul",3),m(5,"div",4)(6,"input",5),te("ngModelChange",function(s){return ne(o.newMessage,s)||(o.newMessage=s),s}),T("keydown.enter",function(){return o.sendMessage()}),g(),m(7,"button",6),T("click",function(){return o.sendMessage()}),y(8,"Send"),g(),m(9,"button",6),T("click",function(){return o.getChatMessages()}),y(10,"Reload"),g()()),2&r&&(O("hidden",""===o.serviceMessage),_(),q(o.serviceMessage),_(),O("hidden",""===o.errorMessage),_(),q(o.errorMessage),_(),O("ngIf",o.chatMessages.length),_(2),ee("ngModel",o.newMessage))},dependencies:[fn,Mp,Mt,Ht,Rt,Ar],styles:[".chat[_ngcontent-%COMP%]{margin:0;list-style-type:none;padding:.1em;max-height:20em;overflow:auto;background-color:#30303040;border:solid 1px #336699}.chat[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{position:relative;left:0;margin:.1em;padding:0;border-radius:4px;border:solid 1px darkblue}.chat[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:hover{background-color:#e6e6e688}.servicemessage[_ngcontent-%COMP%]{margin:0}.message-title[_ngcontent-%COMP%]{display:block;text-align:left;font-size:x-small}.message-title[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline-block;color:#fff}.badge[_ngcontent-%COMP%]{padding:.3em .7em;background-color:#405061;border-radius:2px 0 0}.date[_ngcontent-%COMP%]{padding:.3em .7em;background-color:#605061}.author[_ngcontent-%COMP%]{padding:.3em .7em;background-color:#a0b0b1;border-radius:0 0 2px}.chat[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{align-self:center;margin:0 .1em .1em}.input[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{left:0;padding:0}.input[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{display:inline-block;padding-right:.2em}"]})}}return e})();const w7=["scrollMe"];function M7(e,n){if(1&e&&(m(0,"p"),y(1),g()),2&e){const t=n.$implicit;_(),q(t)}}function E7(e,n){if(1&e){const t=tr();m(0,"div",2)(1,"div")(2,"button",3),T("click",function(){return Ne(t),ke(Ue().appMessagesService.clear())}),y(3,"Clear messages"),g(),m(4,"h2"),y(5,"App messages"),g()(),m(6,"div",4,0),T("scroll",function(){return Ne(t),ke(Ue().onScroll())}),Le(8,M7,2,1,"p",5),g()()}if(2&e){const t=Ue();_(8),O("ngForOf",t.appMessagesService.messages)}}let b7=(()=>{class e{constructor(t){this.appMessagesService=t,this.disableScrollDown=!1}ngAfterViewChecked(){this.scrollToBottom()}onScroll(){let t=this.myScrollContainer.nativeElement;this.disableScrollDown=!(this.disableScrollDown&&t.scrollHeight-t.scrollTop===t.clientHeight)}scrollToBottom(){if(!this.disableScrollDown)try{this.myScrollContainer.nativeElement.scrollTop=this.myScrollContainer.nativeElement.scrollHeight}catch{}}static{this.\u0275fac=function(r){return new(r||e)(E(lr))}}static{this.\u0275cmp=st({type:e,selectors:[["app-messages"]],viewQuery:function(r,o){if(1&r&&yc(w7,5),2&r){let i;Xs(i=Ks())&&(o.myScrollContainer=i.first)}},decls:1,vars:1,consts:[["scrollMe",""],["class","app-messages",4,"ngIf"],[1,"app-messages"],["type","button",1,"clear",3,"click"],[1,"output",3,"scroll"],[4,"ngFor","ngForOf"]],template:function(r,o){1&r&&Le(0,E7,9,1,"div",1),2&r&&O("ngIf",o.appMessagesService.messages.length)},dependencies:[fn,Mp],styles:[".app-messages[_ngcontent-%COMP%]{font-size:small;color:#888;padding:.2em}.app-messages[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{float:right}h2[_ngcontent-%COMP%]{display:inline-block}.clear[_ngcontent-%COMP%]{margin:.4em}.output[_ngcontent-%COMP%]{border:2px solid #c0c0c0;min-height:4.5em;max-height:4.5em;margin:0 0 2px;padding:2px 4px;overflow-y:scroll;font-family:Monospace,Incosolata,Courier;font-size:12px;width:unset}.output[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0 .1em}"]})}}return e})();const $1=()=>({exact:!0});let I7=(()=>{class e{constructor(t,r){this.loginService=t,this.location=r,this.title="Sample Family",this.chatLoaded=!1,this.chatHidden=!0,this.linksHidden=!0,this.profileHidden=!0,this.pos1=0,this.pos2=0,this.pos3=0,this.pos4=0,this.target=null}ngOnInit(){this.location.onUrlChange(()=>this.hideMenus()),this.detectTheme()}hideMenus(){this.linksHidden=!0,this.profileHidden=!0}isAppMessagesHidden(){return!(this.loginService.isAuthenticated()&&"ADMIN"===this.loginService.getAuthority())}isAuthenticated(){return this.loginService.isAuthenticated()}username(){return this.loginService.getUsername()}logout(){localStorage.setItem("username",""),localStorage.setItem("password",""),this.loginService.logout()}toggleLinks(){this.linksHidden=!this.linksHidden,this.profileHidden=!0}isLinksHidden(){return this.linksHidden}toggleProfile(){this.profileHidden=!this.profileHidden,this.linksHidden=!0}isProfileHidden(){return this.profileHidden}toggleChatHidden(t){if(this.chatHidden=!this.chatHidden,!this.chatHidden&&!this.chatLoaded&&(this.chatComponent.getChatMessages(),this.chatLoaded=!0),this.chatHidden){const r=document.getElementById("chatwindow"),o=r.getBoundingClientRect();o.right>window.innerWidth&&(r.style.left=window.innerWidth-o.width+"px"),o.bottom>window.innerHeight&&(r.style.top=window.innerHeight-o.height+"px")}t.stopImmediatePropagation()}isChatHidden(){return this.chatHidden}startMouseDragging(t){t.target instanceof Element&&"chattitlebar"!=t.target.getAttribute("id")||0===t.button&&(t.preventDefault(),this.pos3=t.clientX,this.pos4=t.clientY,document.onmouseup=()=>this.endMouseDrag(),document.onmousemove=r=>this.mouseDragElement(r),this.target=document.getElementById("chatwindow"))}mouseDragElement(t){t.preventDefault(),this.pos1=this.pos3-t.clientX,this.pos2=this.pos4-t.clientY,this.pos3=t.clientX,this.pos4=t.clientY;let r=this.target.offsetTop-this.pos2;r<0&&(r=0),r>window.innerHeight-100&&(r=window.innerHeight-100),this.target.style.top=r+"px";let o=this.target.offsetLeft-this.pos1;o<0&&(o=0),o>window.innerWidth-200&&(o=window.innerWidth-200),this.target.style.left=o+"px"}endMouseDrag(){document.onmouseup=null,document.onmousemove=null,this.target=null}startTouchDragging(t){t.preventDefault(),this.pos3=t.targetTouches[0].clientX,this.pos4=t.targetTouches[0].clientY,document.ontouchend=()=>this.endTouchDrag(),document.ontouchmove=r=>this.touchDragElement(r),this.target=document.getElementById("chatwindow")}touchDragElement(t){t.preventDefault(),this.pos1=this.pos3-t.targetTouches[0].clientX,this.pos2=this.pos4-t.targetTouches[0].clientY,this.pos3=t.targetTouches[0].clientX,this.pos4=t.targetTouches[0].clientY;let r=this.target.offsetTop-this.pos2;r<0&&(r=0),this.target.style.top=r+"px";let o=this.target.offsetLeft-this.pos1;o<0&&(o=0),this.target.style.left=o+"px"}endTouchDrag(){document.ontouchend=null,document.ontouchmove=null,this.target=null}toggleTheme(){const t="theme-dark",r=document.querySelector(":root");if(!r)throw new Error("No root!?");r.classList.toggle(t),r.classList.contains(t)?localStorage.setItem("theme",t):localStorage.setItem("theme","theme-light")}setTheme(t){const r=document.querySelector(":root");if(!r)throw new Error("No root!?");r.classList.add(t),localStorage.setItem("theme",t)}detectTheme(){const t=localStorage.getItem("theme");"theme-dark"!==t&&"theme-light"!==t?window.matchMedia("(prefers-color-scheme: dark)").matches?this.setTheme("theme-dark"):(window.matchMedia("(prefers-color-scheme: light)"),this.setTheme("theme-light")):this.setTheme(t)}static{this.\u0275fac=function(r){return new(r||e)(E(Gt),E(wi))}}static{this.\u0275cmp=st({type:e,selectors:[["app-root"]],viewQuery:function(r,o){if(1&r&&yc(Wg,5),2&r){let i;Xs(i=Ks())&&(o.chatComponent=i.first)}},decls:69,vars:14,consts:[[3,"hidden"],[1,"nav-toggle",3,"click"],[1,"nav-toggle","float-right",3,"click"],["id","links",3,"hidden"],[1,"title-link"],["routerLinkActive","active-link","routerLink","/",3,"routerLinkActiveOptions"],["routerLinkActive","active-link","routerLink","/checklists"],["routerLinkActive","active-link","routerLink","/contacts"],["routerLinkActive","active-link","routerLink","/notes"],["routerLinkActive","active-link","routerLink","/mychecklists"],["routerLinkActive","active-link","routerLink","/mynotes"],[3,"click"],["id","profile",3,"hidden"],["routerLinkActive","active-link","routerLink","/profile"],["id","logout",3,"click"],["title","Dark theme on/off",3,"click"],[1,"float-right"],["routerLinkActive","active-link","routerLink","/login"],["id","tools",3,"hidden"],["id","chatwindow",3,"hidden"],["id","chattitlebar",3,"mousedown","touchstart"],["id","chattitle"],[1,"close-button",3,"click"],["id","chatcontent"],[1,"footer",3,"hidden"]],template:function(r,o){1&r&&(m(0,"nav")(1,"span",0)(2,"button",1),T("click",function(){return o.toggleLinks()}),y(3,"\u2261"),g(),m(4,"button",2),T("click",function(){return o.toggleProfile()}),y(5),g(),m(6,"div",3)(7,"ul")(8,"li")(9,"button",1),T("click",function(){return o.toggleLinks()}),y(10,"\u2261"),g()(),m(11,"li",4),y(12,"Family:"),g(),m(13,"li")(14,"a",5),y(15,"Home"),g()(),m(16,"li")(17,"a",6),y(18,"Checklists"),g()(),m(19,"li")(20,"a",7),y(21,"Contacts"),g()(),m(22,"li")(23,"a",8),y(24,"Notes"),g()(),m(25,"li",4),y(26,"Personal:"),g(),m(27,"li")(28,"a",9),y(29,"Checklists"),g()(),m(30,"li")(31,"a",10),y(32,"Notes"),g()(),m(33,"li")(34,"button",11),T("click",function(s){return o.toggleChatHidden(s)}),y(35,"Chat"),g()()()(),m(36,"div",12)(37,"ul")(38,"li")(39,"button",1),T("click",function(){return o.toggleProfile()}),y(40),g()(),m(41,"li")(42,"a",13),y(43,"Profile"),g()(),m(44,"li")(45,"a",14),T("click",function(){return o.logout()}),y(46,"Logout"),g()(),m(47,"li")(48,"button",15),T("click",function(){return o.toggleTheme()}),y(49,"\u2600 Theme"),g()()()()(),m(50,"span",0)(51,"h1",16),y(52),g(),m(53,"a",5),y(54,"Home"),g(),m(55,"a",17),y(56,"Login"),g()()(),m(57,"div",18)(58,"div",19)(59,"div",20),T("mousedown",function(s){return o.startMouseDragging(s)})("touchstart",function(s){return o.startTouchDragging(s)}),m(60,"span",21),y(61,"Chat"),g(),m(62,"button",22),T("click",function(s){return o.toggleChatHidden(s)}),y(63,"\u2716"),g()(),m(64,"div",23),z(65,"app-chat"),g()()(),m(66,"main"),z(67,"router-outlet"),g(),z(68,"app-messages",24)),2&r&&(_(),O("hidden",!o.isAuthenticated()),_(4),q(o.username()),_(),O("hidden",o.isLinksHidden()),_(8),O("routerLinkActiveOptions",Bh(12,$1)),_(22),O("hidden",o.isProfileHidden()),_(4),q(o.username()),_(10),O("hidden",o.isAuthenticated()),_(2),q(o.title),_(),O("routerLinkActiveOptions",Bh(13,$1)),_(4),O("hidden",!o.isAuthenticated()),_(),O("hidden",o.isChatHidden()),_(10),O("hidden",o.isAppMessagesHidden()))},dependencies:[xg,Ur,k1,b7,Wg],styles:[".big[_ngcontent-%COMP%]{font-size:x-large}.nav-toggle[_ngcontent-%COMP%]{font-size:x-large;border:none;background:none;padding:0 .2em}.nav-toggle[_ngcontent-%COMP%]:hover{background-color:#42545c42;-webkit-text-decoration:underline #83b6f9;text-decoration:underline #83b6f9}.float-right[_ngcontent-%COMP%]{margin:0;float:right}nav[_ngcontent-%COMP%]{display:block;background:#93c6f948 linear-gradient(80deg,#84a8cd 05%,#91b9e0 30%,#0000);border-bottom:1px solid #336699;padding:.4em}nav[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:0;float:right}nav[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{margin-right:.2rem;padding:.2rem .3rem;text-decoration:none;text-shadow:2px 2px 2px #40404080;display:inline-block;border-radius:2px}nav[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{color:#fff;background-color:#42545c;-webkit-text-decoration:underline #93c6f9;text-decoration:underline #93c6f9}.active-link[_ngcontent-%COMP%]{background-color:#00000048}.title-link[_ngcontent-%COMP%]{text-decoration:underline}#profile[_ngcontent-%COMP%]{box-shadow:3px 3px 3px #0006;border:1px solid #336699;z-index:2;position:fixed;padding:.4em;top:0;right:0;background:#7896b6;border-bottom-left-radius:.4em}#profile[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:none;margin:0;padding:0;text-align:center}#profile[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{display:block;text-decoration:none}#profile[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > button[_ngcontent-%COMP%]{width:100%;margin:1px}#links[_ngcontent-%COMP%]{box-shadow:3px 3px 3px #0006;border:1px solid #336699;z-index:2;position:fixed;padding:.4em;top:0;left:0;background:#84a8cd;border-end-end-radius:.4em}#links[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:none;margin:0;padding:0}#links[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{display:block;text-decoration:none}#links[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > button[_ngcontent-%COMP%]{width:100%;margin:1px}#logout[_ngcontent-%COMP%]{color:#ef4040;cursor:pointer}#logout[_ngcontent-%COMP%]:hover{background-color:#604040}#chatwindow[_ngcontent-%COMP%]{border:1px solid black;z-index:9990;background:#f0f0f080;border-radius:2px;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);box-shadow:3px 3px 3px #0006;position:fixed;top:5em;left:5em}#chattitlebar[_ngcontent-%COMP%]{border-bottom:1px solid black;background:#d0d0d080;cursor:grab}#chatcontent[_ngcontent-%COMP%]{padding:2px}#chattitle[_ngcontent-%COMP%]{margin:2px;display:inline-block}.close-button[_ngcontent-%COMP%]{padding:1px 5px;margin:1px;float:right;background:#f99}"]})}}return e})();class $r{static{this.REST_URL=Vn_restServerUrl+"/api/news"}constructor(n,t){this.http=n,this.appMessageService=t,this.httpOptions={headers:new $e({"Content-Type":"application/json",Accept:"application/json"})}}handleError(n){return Lr(n,this.appMessageService,this.constructor.name)}log(n){this.appMessageService.add(`${this.constructor.name}: ${n}`)}getNewsPosts(){return this.http.get($r.REST_URL,this.httpOptions).pipe(W(n=>this.log(`fetched ${n.length} news posts`)),oe(this.handleError("getNews")))}addNewsPost(n,t){return this.http.post($r.REST_URL,{author:n,text:t},this.httpOptions).pipe(W(o=>this.log(`added message w/ id=${o.id}`)),oe(this.handleError("addNewsPost")))}deleteNewsPost(n){return this.http.delete(`${$r.REST_URL}/${n}`,this.httpOptions).pipe(W(r=>this.log(`deleted newspost id=${n}`)),oe(this.handleError("deleteNewsPost")))}static{this.\u0275fac=function(t){return new(t||$r)(R(ar),R(lr))}}static{this.\u0275prov=k({token:$r,factory:$r.\u0275fac,providedIn:"root"})}}function S7(e,n){if(1&e){const t=tr();m(0,"div",16)(1,"span")(2,"b"),y(3),g(),y(4),kt(5,"date"),g(),m(6,"button",17),T("click",function(){const o=Ne(t).$implicit;return ke(Ue().delete(o))}),y(7,"x"),g(),z(8,"p",18),g()}if(2&e){const t=n.$implicit,r=Ue();_(3),q(t.author),_(),Ke(" posted on ",Er(5,4,t.dateCreated,"medium"),""),_(2),O("hidden",!r.isAdmin()),_(2),O("innerHTML",t.text,mf)}}let T7=(()=>{class e{constructor(t,r){this.loginService=t,this.newsService=r,this.newNewsMessage="",this.newsMessages=[],this.serviceMessage="",this.errorMessage=""}getNews(){this.loginService.isAuthenticated()&&(this.serviceMessage="Loading news messages ...",this.newsService.getNewsPosts().subscribe({next:t=>{this.newsMessages=t.reverse(),this.serviceMessage=""},error:t=>{this.serviceMessage="",this.errorMessage=`Error while loading news: ${t.message}`}}))}ngOnInit(){this.getNews()}reload(){this.getNews()}isAuthenticated(){return this.loginService.isAuthenticated()}isAdmin(){return"ADMIN"===this.loginService.getAuthority()}username(){return this.loginService.getUsername()}newNewsKeyDown(t){"Enter"===t.key&&t.ctrlKey&&(t.preventDefault(),this.addNews())}addNews(){""!==this.newNewsMessage&&(this.serviceMessage="Adding news ...",this.errorMessage="",this.newsService.addNewsPost(this.loginService.getUsername(),this.newNewsMessage).subscribe({next:t=>{this.newsMessages.unshift(t),this.serviceMessage="Added news."},error:t=>{this.serviceMessage="",this.errorMessage=`Error while adding news: ${t.message}`}}),this.newNewsMessage="")}delete(t){window.confirm("Do you realy want to delete this newspost?")&&(this.serviceMessage="Removing newspost ...",this.newsService.deleteNewsPost(t.id).subscribe({next:()=>{this.newsMessages=this.newsMessages.filter(r=>r!==t),this.serviceMessage="Removed newspost."},error:r=>{this.serviceMessage="",this.errorMessage=`Error while removing newspost: ${r.message}`}}))}static{this.\u0275fac=function(r){return new(r||e)(E(Gt),E($r))}}static{this.\u0275cmp=st({type:e,selectors:[["app-home"]],decls:44,vars:9,consts:[[3,"hidden"],[1,"top-buttons","float-right"],["title","Refresh data",3,"click"],[1,"inline-block"],[1,"alert",3,"hidden"],[1,"context"],["class","message",4,"ngFor","ngForOf"],[1,"input",3,"hidden"],["id","input-text","placeholder","Your message",1,"big-text-input",3,"ngModelChange","keydown","ngModel"],[3,"click"],[1,"title-link"],["routerLink","/checklists"],["routerLink","/contacts"],["routerLink","/notes"],["routerLink","/mychecklists"],["routerLink","/mynotes"],[1,"message"],["type","button","title","Delete newspost",1,"delete",3,"click","hidden"],[1,"text",3,"innerHTML"]],template:function(r,o){1&r&&(m(0,"span",0)(1,"span",1)(2,"button",2),T("click",function(){return o.reload()}),y(3,"Reload"),g()(),m(4,"h1",3),y(5,"News:"),g(),z(6,"br"),m(7,"p",0),y(8),g(),m(9,"p",4),y(10),g(),m(11,"div",5),Le(12,S7,9,7,"div",6),g(),m(13,"div",7)(14,"h3"),y(15,"Add news:"),g(),m(16,"textarea",8),te("ngModelChange",function(s){return ne(o.newNewsMessage,s)||(o.newNewsMessage=s),s}),T("keydown",function(s){return o.newNewsKeyDown(s)}),g(),m(17,"button",9),T("click",function(){return o.addNews()}),y(18,"Add news message"),g()(),z(19,"br"),m(20,"h2"),y(21,"Links:"),g(),m(22,"ul")(23,"li",10),y(24,"Family:"),g(),m(25,"li")(26,"a",11),y(27,"Checklists"),g()(),m(28,"li")(29,"a",12),y(30,"Contacts"),g()(),m(31,"li")(32,"a",13),y(33,"Notes"),g()(),m(34,"li",10),y(35,"Personal:"),g(),m(36,"li")(37,"a",14),y(38,"Checklists"),g()(),m(39,"li")(40,"a",15),y(41,"Notes"),g()()()(),m(42,"p",0),y(43,"Welcome to our family site! Please login."),g()),2&r&&(O("hidden",!o.isAuthenticated()),_(7),O("hidden",""===o.serviceMessage),_(),q(o.serviceMessage),_(),O("hidden",""===o.errorMessage),_(),q(o.errorMessage),_(2),O("ngForOf",o.newsMessages),_(),O("hidden",!o.isAdmin()),_(3),ee("ngModel",o.newNewsMessage),_(26),O("hidden",o.isAuthenticated()))},dependencies:[fn,Mt,Ht,Rt,Ur,Ar],styles:[".context[_ngcontent-%COMP%]{margin-bottom:.4em}.message[_ngcontent-%COMP%]{padding:.2em;margin-bottom:.8em;border:1px solid darkgrey}.message[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{border-bottom:1px solid darkgrey}.delete[_ngcontent-%COMP%]{font-size:small;padding:1px 6px;margin:0;border-radius:2px;float:right;background-color:#ff000080}.title-link[_ngcontent-%COMP%]{font-weight:700}ul[_ngcontent-%COMP%]{list-style-type:none;margin:0;padding:0}ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{margin-left:1em}.text[_ngcontent-%COMP%]{white-space:pre-wrap;margin:.4em .2em}"]})}}return e})(),A7=(()=>{class e{constructor(t,r,o){this.loginService=t,this.router=r,this.route=o,this.rememberme=!1,this.credentials={username:"",password:""},this.serviceMessage="",this.errorMessage="",this.checkPreviousLogin()}checkPreviousLogin(){this.credentials.username=localStorage.getItem("username"),this.credentials.password=localStorage.getItem("password"),this.credentials.username&&this.credentials.password&&this.login()}login(){const t=this.route.snapshot.queryParamMap.get("r");if(""!==this.credentials.username&&""!==this.credentials.password)return this.serviceMessage="Loggin in ...",this.loginService.authenticate(this.credentials).subscribe({next:()=>{this.rememberme&&(localStorage.setItem("username",this.credentials.username),localStorage.setItem("password",this.credentials.password)),this.router.navigateByUrl(t||"/")},error:r=>{console.log("Login failed",r),this.errorMessage=`Login failed: ${r.message}`,this.serviceMessage=""}}),!1;this.errorMessage="Login failed: Username and password required."}static{this.\u0275fac=function(r){return new(r||e)(E(Gt),E(tt),E(Kt))}}static{this.\u0275cmp=st({type:e,selectors:[["app-login"]],decls:21,vars:7,consts:[[3,"hidden"],[1,"alert",3,"hidden"],["role","form",3,"submit"],[1,"form-group"],["for","username"],["type","text","id","username","name","username","placeholder","username",1,"form-control",3,"ngModelChange","ngModel"],["for","password"],["type","password","id","password","name","password","placeholder","password",1,"form-control",3,"ngModelChange","ngModel"],["for","rememberme"],["type","checkbox","id","rememberme","name","rememberme",1,"form-control",3,"ngModelChange","ngModel"],["type","submit",1,"btn","btn-primary"]],template:function(r,o){1&r&&(m(0,"h2"),y(1,"Login form"),g(),m(2,"p",0),y(3),g(),m(4,"p",1),y(5),g(),m(6,"form",2),T("submit",function(){return o.login()}),m(7,"div",3)(8,"label",4),y(9,"Username:"),g(),m(10,"input",5),te("ngModelChange",function(s){return ne(o.credentials.username,s)||(o.credentials.username=s),s}),g()(),m(11,"div",3)(12,"label",6),y(13,"Password:"),g(),m(14,"input",7),te("ngModelChange",function(s){return ne(o.credentials.password,s)||(o.credentials.password=s),s}),g()(),m(15,"div",3)(16,"label",8),y(17,"Remember me:"),g(),m(18,"input",9),te("ngModelChange",function(s){return ne(o.rememberme,s)||(o.rememberme=s),s}),g()(),m(19,"button",10),y(20,"Login"),g()()),2&r&&(_(2),O("hidden",""===o.serviceMessage),_(),q(o.serviceMessage),_(),O("hidden",""===o.errorMessage),_(),q(o.errorMessage),_(5),ee("ngModel",o.credentials.username),_(4),ee("ngModel",o.credentials.password),_(4),ee("ngModel",o.rememberme))},dependencies:[BE,Mt,ha,Ht,AE,Rt,iu],styles:["button[_ngcontent-%COMP%]{border:revert}"]})}}return e})();const zn=(e,n)=>{const t=b(Gt),r=b(tt);return!!t.isAuthenticated()||r.navigate(["/login"],{queryParams:{r:n.url}})};class mn{static{this.REST_URL=Vn_restServerUrl+"/api/contacts"}constructor(n,t){this.http=n,this.appMessageService=t,this.httpOptions={headers:new $e({"Content-Type":"application/json",Accept:"application/json"})}}handleError(n){return Lr(n,this.appMessageService,this.constructor.name)}log(n){this.appMessageService.add(`${this.constructor.name}: ${n}`)}getContacts(){return this.http.get(mn.REST_URL,this.httpOptions).pipe(W(n=>this.log(`fetched ${n.length} contacts`)),oe(this.handleError("getContacts")))}getContact(n){return this.http.get(`${mn.REST_URL}/${n}`,this.httpOptions).pipe(W(t=>this.log(`fetched Contact ${t.id}`)),oe(this.handleError("getContact")))}addContact(n){return this.http.post(mn.REST_URL,n,this.httpOptions).pipe(W(t=>this.log(`added contact w/ id=${t.id}`)),oe(this.handleError("addContact")))}saveContact(n){return this.http.post(mn.REST_URL,n,this.httpOptions).pipe(W(t=>this.log(`saved contact w/ id=${t.id}`)),oe(this.handleError("addContact")))}deleteContact(n){return this.http.delete(`${mn.REST_URL}/${n}`,this.httpOptions).pipe(W(r=>this.log(`deleted contact id=${n}`)),oe(this.handleError("deleteContact")))}static{this.\u0275fac=function(t){return new(t||mn)(R(ar),R(lr))}}static{this.\u0275prov=k({token:mn,factory:mn.\u0275fac,providedIn:"root"})}}const N7=e=>["/contact",e];function k7(e,n){if(1&e&&(m(0,"li")(1,"a",24)(2,"span",25)(3,"span",26),y(4),g(),z(5,"br"),y(6),z(7,"br"),y(8),z(9,"br"),y(10),z(11,"br"),y(12,"Website: "),m(13,"span"),y(14),g(),z(15,"br"),y(16),g()()()),2&e){const t=n.$implicit;_(),O("routerLink",vi(8,N7,t.id)),_(3),Cc("",t.firstName," ",t.lastName,""),_(2),Ke("Telephone: ",t.telephone," "),_(2),Ke("E-mail: ",t.email," "),_(2),Ke("Address: ",t.address," "),_(4),q(t.website),_(2),Ke("Description: ",t.description,"")}}let R7=(()=>{class e{constructor(t){this.contactsService=t,this.contacts=[],this.filter="",this.filteredContacts=[],this.newContact={},this.serviceMessage="",this.errorMessage=""}getContacts(){this.serviceMessage="Loading contacts ...",this.contactsService.getContacts().subscribe({next:t=>{this.contacts=t,this.filterResults()},error:t=>{this.serviceMessage="",this.errorMessage=`Error while loading contacts: ${t.message}`}})}filterResults(){let t=this.filter;this.serviceMessage=this.contacts.length?"":"No contacts in database.",t?(t=t.toLowerCase(),this.filteredContacts=this.contacts.filter(r=>r?.firstName.toLowerCase().includes(t)||r?.lastName.toLowerCase().includes(t)),0==this.filteredContacts.length&&this.contacts.length&&(this.serviceMessage=`No contacts after searching for "${t}".`)):this.filteredContacts=this.contacts}filterChange(t){this.filterResults()}ngOnInit(){this.getContacts()}reload(){this.getContacts()}sendContact(){this.serviceMessage="Adding contact ...",this.contactsService.addContact(this.newContact).subscribe({next:t=>{this.contacts.push(t),this.serviceMessage="Added contact."},error:t=>{this.serviceMessage="",this.errorMessage=`Error while adding contact: ${t.message}`}}),this.newContact={}}static{this.\u0275fac=function(r){return new(r||e)(E(mn))}}static{this.\u0275cmp=st({type:e,selectors:[["app-contacts"]],decls:48,vars:13,consts:[[1,"top-buttons","float-right"],["title","Refresh data",3,"click"],[1,"inline-block"],["type","text","placeholder","Search by name",3,"ngModelChange","ngModel"],[3,"hidden"],[1,"alert",3,"hidden"],[1,"element-list"],[4,"ngFor","ngForOf"],[1,"form-group"],["for","input-firstName"],["id","input-firstName","placeholder","firstname",3,"ngModelChange","ngModel"],["for","input-lastName"],["id","input-lastName","placeholder","lastname",3,"ngModelChange","ngModel"],["for","input-telephone"],["id","input-telephone","placeholder","telephone",3,"ngModelChange","ngModel"],["for","input-email"],["id","input-email","placeholder","email",3,"ngModelChange","ngModel"],["for","input-website"],["id","input-website","placeholder","website",3,"ngModelChange","ngModel"],["for","input-address"],["id","input-address","placeholder","address",3,"ngModelChange","ngModel"],["for","input-description"],["id","input-description","placeholder","description",3,"ngModelChange","ngModel"],[3,"click"],[1,"element",3,"routerLink"],[1,"text"],[1,"name"]],template:function(r,o){1&r&&(m(0,"span",0)(1,"button",1),T("click",function(){return o.reload()}),y(2,"Reload"),g()(),m(3,"h1",2),y(4,"Family contacts:"),g(),z(5,"br"),m(6,"label"),y(7,"Search: "),g(),m(8,"input",3),te("ngModelChange",function(s){return ne(o.filter,s)||(o.filter=s),s}),T("ngModelChange",function(s){return o.filterChange(s)}),g(),m(9,"p",4),y(10),g(),m(11,"p",5),y(12),g(),m(13,"ol",6),Le(14,k7,17,10,"li",7),g(),m(15,"h2"),y(16,"New contact:"),g(),m(17,"div",8)(18,"label",9),y(19,"Firstname:"),g(),m(20,"input",10),te("ngModelChange",function(s){return ne(o.newContact.firstName,s)||(o.newContact.firstName=s),s}),g(),z(21,"br"),m(22,"label",11),y(23,"Lastname:"),g(),m(24,"input",12),te("ngModelChange",function(s){return ne(o.newContact.lastName,s)||(o.newContact.lastName=s),s}),g(),z(25,"br"),m(26,"label",13),y(27,"Telephone:"),g(),m(28,"input",14),te("ngModelChange",function(s){return ne(o.newContact.telephone,s)||(o.newContact.telephone=s),s}),g(),z(29,"br"),m(30,"label",15),y(31,"Email:"),g(),m(32,"input",16),te("ngModelChange",function(s){return ne(o.newContact.email,s)||(o.newContact.email=s),s}),g(),z(33,"br"),m(34,"label",17),y(35,"Website:"),g(),m(36,"input",18),te("ngModelChange",function(s){return ne(o.newContact.website,s)||(o.newContact.website=s),s}),g(),z(37,"br"),m(38,"label",19),y(39,"Address:"),g(),m(40,"input",20),te("ngModelChange",function(s){return ne(o.newContact.address,s)||(o.newContact.address=s),s}),g(),z(41,"br"),m(42,"label",21),y(43,"Description:"),g(),m(44,"input",22),te("ngModelChange",function(s){return ne(o.newContact.description,s)||(o.newContact.description=s),s}),g(),z(45,"br"),m(46,"button",23),T("click",function(){return o.sendContact()}),y(47,"Add contact"),g()()),2&r&&(_(8),ee("ngModel",o.filter),_(),O("hidden",""===o.serviceMessage),_(),q(o.serviceMessage),_(),O("hidden",""===o.errorMessage),_(),q(o.errorMessage),_(2),O("ngForOf",o.filteredContacts),_(6),ee("ngModel",o.newContact.firstName),_(4),ee("ngModel",o.newContact.lastName),_(4),ee("ngModel",o.newContact.telephone),_(4),ee("ngModel",o.newContact.email),_(4),ee("ngModel",o.newContact.website),_(4),ee("ngModel",o.newContact.address),_(4),ee("ngModel",o.newContact.description))},dependencies:[fn,Mt,Ht,Rt,Ur],styles:[".element-list[_ngcontent-%COMP%]{margin-left:2em;padding:0}.name[_ngcontent-%COMP%]{font-size:larger;text-decoration:underline}.element-list[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{position:relative;left:0;margin-top:.5em;padding:.2em;border-radius:4px;border:solid 1px #808080}.element[_ngcontent-%COMP%]{text-decoration:none;display:block}.element-list[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:hover{background-color:#e6e6e660}"]})}}return e})();class vn{static{this.REST_URL=Vn_restServerUrl+"/api/checklists"}constructor(n,t){this.http=n,this.appMessageService=t,this.httpOptions={headers:new $e({"Content-Type":"application/json",Accept:"application/json"})}}handleError(n){return Lr(n,this.appMessageService,this.constructor.name)}log(n){this.appMessageService.add(`${this.constructor.name}: ${n}`)}getChecklists(){return this.http.get(vn.REST_URL,this.httpOptions).pipe(W(n=>this.log(`fetched ${n.length} checklists`)),oe(this.handleError("getChecklists")))}getChecklist(n){return this.http.get(`${vn.REST_URL}/${n}`,this.httpOptions).pipe(W(t=>this.log(`fetched checklist ${t.id}`)),oe(this.handleError("getChecklist")))}addChecklist(n){return this.http.post(vn.REST_URL,{name:n},this.httpOptions).pipe(W(r=>this.log(`added checklist w/ id=${r.id}`)),oe(this.handleError("addChecklist")))}saveChecklist(n){return this.http.post(vn.REST_URL,n,this.httpOptions).pipe(W(t=>this.log(`saved checklist w/ id=${t.id}`)),oe(this.handleError("addChecklist")))}deleteChecklist(n){return this.http.delete(`${vn.REST_URL}/${n}`,this.httpOptions).pipe(W(r=>this.log(`deleted checklist id=${n}`)),oe(this.handleError("deleteChecklist")))}static{this.\u0275fac=function(t){return new(t||vn)(R(ar),R(lr))}}static{this.\u0275prov=k({token:vn,factory:vn.\u0275fac,providedIn:"root"})}}let Nu=(()=>{class e{transform(t){return t&&t.filter(r=>!r.unlisted)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275pipe=at({name:"onlyListedItems",type:e,pure:!0})}}return e})();const O7=e=>["/checklist",e],P7=e=>({strikethrough:e});function x7(e,n){if(1&e&&(m(0,"li",15),y(1),g()),2&e){const t=n.$implicit;O("ngClass",vi(2,P7,!0===t.checked)),_(),Ke(" ",t.text," ")}}function F7(e,n){if(1&e&&(m(0,"li")(1,"a",11)(2,"span",12),y(3),g(),m(4,"ul",13),Le(5,x7,2,4,"li",14),kt(6,"onlyListedItems"),g()()()),2&e){const t=n.$implicit;_(),O("routerLink",vi(5,O7,t.id)),_(2),q(t.name),_(2),O("ngForOf",co(6,3,t.checks))}}let L7=(()=>{class e{constructor(t,r){this.checklistService=t,this.router=r,this.route=b(Kt),this.checklists=[],this.newChecklist="",this.serviceMessage="",this.errorMessage=""}getChecklists(){this.serviceMessage="Loading checklists ...",this.checklistService.getChecklists().subscribe({next:t=>{this.checklists=t,this.serviceMessage=t.length?"":"No checklist in database."},error:t=>{this.serviceMessage="",this.errorMessage=`Error while loading checklists: ${t.message}`}})}ngOnInit(){this.getChecklists()}reload(){this.getChecklists()}sendChecklist(){""!==this.newChecklist&&(this.serviceMessage="Creating checklist ...",this.checklistService.addChecklist(this.newChecklist).subscribe({next:t=>this.router.navigate(["/checklist/",t.id]),error:t=>{this.serviceMessage="",this.errorMessage=`Error while creating checklists: ${t.message}`}}))}static{this.\u0275fac=function(r){return new(r||e)(E(vn),E(tt))}}static{this.\u0275cmp=st({type:e,selectors:[["app-checklists"]],decls:21,vars:6,consts:[[1,"top-buttons","float-right"],["title","Refresh data",3,"click"],[1,"inline-block"],[3,"hidden"],[1,"alert",3,"hidden"],[1,"element-list"],[4,"ngFor","ngForOf"],[1,"input"],["for","input-name"],["id","input-name","placeholder","myChecklist",3,"ngModelChange","keydown.enter","ngModel"],[3,"click"],[1,"element",3,"routerLink"],[1,"list-name"],[1,"item-list"],[3,"ngClass",4,"ngFor","ngForOf"],[3,"ngClass"]],template:function(r,o){1&r&&(m(0,"span",0)(1,"button",1),T("click",function(){return o.reload()}),y(2,"Reload"),g()(),m(3,"h1",2),y(4,"Family checklists:"),g(),z(5,"br"),m(6,"p",3),y(7),g(),m(8,"p",4),y(9),g(),m(10,"ol",5),Le(11,F7,7,7,"li",6),g(),m(12,"h2"),y(13,"New checklist:"),g(),m(14,"div",7)(15,"div")(16,"label",8),y(17,"name:"),g(),m(18,"input",9),te("ngModelChange",function(s){return ne(o.newChecklist,s)||(o.newChecklist=s),s}),T("keydown.enter",function(){return o.sendChecklist()}),g(),m(19,"button",10),T("click",function(){return o.sendChecklist()}),y(20,"Add checklist"),g()()()),2&r&&(_(6),O("hidden",""===o.serviceMessage),_(),q(o.serviceMessage),_(),O("hidden",""===o.errorMessage),_(),q(o.errorMessage),_(2),O("ngForOf",o.checklists),_(7),ee("ngModel",o.newChecklist))},dependencies:[wp,fn,Mt,Ht,Rt,Ur,Nu],styles:[".element-list[_ngcontent-%COMP%]{margin-left:2em;padding:0}.element-list[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{position:relative;left:0;margin-top:.5em;padding:.2em;border-radius:4px;border:solid 1px #808080}.element[_ngcontent-%COMP%]{text-decoration:none;display:block}.element-list[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:hover{background-color:#e6e6e680}.strikethrough[_ngcontent-%COMP%]{text-decoration:line-through}.list-name[_ngcontent-%COMP%]{font-size:larger;text-decoration:underline}"]})}}return e})(),B1=(()=>{class e{transform(t){return t&&t.filter(r=>r.unlisted)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275pipe=at({name:"onlyUnlistedItems",type:e,pure:!0})}}return e})();function V7(e,n){if(1&e){const t=tr();m(0,"li")(1,"input",15),te("ngModelChange",function(o){const i=Ne(t).$implicit;return ne(i.checked,o)||(i.checked=o),ke(o)}),T("change",function(){return Ne(t),ke(Ue().saveCheckList())}),g(),m(2,"label",16),y(3),g(),m(4,"span",17)(5,"button",18),T("click",function(){const o=Ne(t).$implicit;return ke(Ue().unlistItem(o.id))}),y(6,"v"),g()()()}if(2&e){const t=n.$implicit;_(),ee("ngModel",t.checked),_(2),q(t.text)}}function j7(e,n){if(1&e){const t=tr();m(0,"li")(1,"input",19),te("ngModelChange",function(o){const i=Ne(t).$implicit;return ne(i.text,o)||(i.text=o),ke(o)}),T("change",function(){return Ne(t),ke(Ue().saveCheckList())}),g(),m(2,"span",17)(3,"button",20),T("click",function(){return Ne(t),ke(Ue().saveCheckList())}),y(4,"\u{1f4be}"),g(),m(5,"button",21),T("click",function(){const o=Ne(t).$implicit;return ke(Ue().relistItem(o.id))}),y(6,"^"),g(),m(7,"button",22),T("click",function(){const o=Ne(t).$implicit;return ke(Ue().removeItem(o.id))}),y(8,"x"),g()()()}if(2&e){const t=n.$implicit;_(),ee("ngModel",t.text)}}let U7=(()=>{class e{constructor(t,r){this.checklistService=t,this.router=r,this.route=b(Kt),this.checklistId=-1,this.checklist={},this.newItem="",this.serviceMessage="",this.errorMessage="",this.checklistId=Number(this.route.snapshot.params.id)}getChecklist(){this.serviceMessage="Loading checklist ...",this.checklistService.getChecklist(this.checklistId).subscribe({next:t=>{this.checklist=t,this.serviceMessage=""},error:t=>{this.serviceMessage="",this.errorMessage=`Error while getting checklists: ${t.message}`}})}back(){this.router.navigate(["/checklists"])}ngOnInit(){this.getChecklist()}reload(){this.getChecklist()}addItem(){""!==this.newItem&&(this.checklist.checks.push({text:this.newItem,checklist_id:this.checklist.id}),this.newItem="",this.saveCheckList())}getItemById(t){for(let r of this.checklist.checks)if(r.id==t)return r;return null}unlistItem(t){const r=this.getItemById(t);null!==r&&(r.unlisted=!0,this.saveCheckList())}relistItem(t){const r=this.getItemById(t);null!==r&&(r.unlisted=!1,r.checked=!1,this.saveCheckList())}removeItem(t){for(let r=0;r<this.checklist.checks.length;r++)if(this.checklist.checks[r].id==t){if(!window.confirm(`Do you realy want to delete item "${this.checklist.checks[r].text}"?`))return;this.checklist.checks.splice(r,1),this.saveCheckList()}}saveCheckList(){this.serviceMessage="Updating checklist ...",this.checklistService.saveChecklist(this.checklist).subscribe({next:t=>{this.checklist=t,this.serviceMessage="Saved checklist."},error:t=>{this.serviceMessage="",this.errorMessage=`Error while saving checklists: ${t.message}`}})}deleteChecklist(){window.confirm(`Do you realy want to delete checklist "${this.checklist.name}"?`)&&(this.serviceMessage="Removing checklist ...",this.checklistService.deleteChecklist(this.checklistId).subscribe({next:()=>{this.router.navigateByUrl("/checklists")},error:t=>{this.serviceMessage="",this.errorMessage=`Error while deleting checklists: ${t.message}`}}))}static{this.\u0275fac=function(r){return new(r||e)(E(vn),E(tt))}}static{this.\u0275cmp=st({type:e,selectors:[["app-edit-checklist"]],decls:47,vars:18,consts:[[1,"top-buttons","float-right"],["title","Back to: Family checklists",3,"click"],["title","Refresh data",3,"click"],["title","Delete checklist",1,"delete",3,"click"],[1,"inline-block"],[1,"id"],[3,"hidden"],[1,"alert",3,"hidden"],[4,"ngFor","ngForOf"],[1,"input"],["for","input-item"],["id","input-item","placeholder","Remember x",3,"ngModelChange","keydown.enter","ngModel"],[3,"click"],["for","input-checklist-name"],["id","input-checklist-name","placeholder","myChecklist",3,"ngModelChange","keydown.enter","ngModel"],["type","checkbox",3,"ngModelChange","change","ngModel"],[1,"item-text"],[1,"element-buttons"],["type","button","title","Unlist item",1,"unlist",3,"click"],["type","text",1,"item-text",3,"ngModelChange","change","ngModel"],["type","button","title","Save item",1,"save",3,"click"],["type","button","title","Relist item",1,"relist",3,"click"],["type","button","title","Delete item",1,"delete",3,"click"]],template:function(r,o){1&r&&(m(0,"span",0)(1,"button",1),T("click",function(){return o.back()}),y(2,"Back"),g(),m(3,"button",2),T("click",function(){return o.reload()}),y(4,"Reload"),g(),m(5,"button",3),T("click",function(){return o.deleteChecklist()}),y(6,"Delete checklist"),g()(),m(7,"h1",4),y(8),g(),m(9,"span",5),y(10),g(),z(11,"br"),m(12,"p",6),y(13),g(),m(14,"p",7),y(15),g(),m(16,"span"),y(17),kt(18,"date"),g(),z(19,"br"),m(20,"h2"),y(21,"Items:"),g(),m(22,"ol"),Le(23,V7,7,2,"li",8),kt(24,"onlyListedItems"),g(),m(25,"h3"),y(26,"Unlisted Items:"),g(),m(27,"ol"),Le(28,j7,9,1,"li",8),kt(29,"onlyUnlistedItems"),g(),z(30,"hr"),m(31,"h2"),y(32,"Add item:"),g(),m(33,"div",9)(34,"label",10),y(35,"item:"),g(),m(36,"input",11),te("ngModelChange",function(s){return ne(o.newItem,s)||(o.newItem=s),s}),T("keydown.enter",function(){return o.addItem()}),g(),m(37,"button",12),T("click",function(){return o.addItem()}),y(38,"Add item"),g()(),m(39,"h2"),y(40,"Change list name:"),g(),m(41,"div",9)(42,"label",13),y(43,"newName:"),g(),m(44,"input",14),te("ngModelChange",function(s){return ne(o.checklist.name,s)||(o.checklist.name=s),s}),T("keydown.enter",function(){return o.saveCheckList()}),g(),m(45,"button",12),T("click",function(){return o.saveCheckList()}),y(46,"Save name"),g()()),2&r&&(_(8),Ke("Editing checklist: ",o.checklist.name,""),_(2),Ke("Id: ",o.checklist.id,""),_(2),O("hidden",""===o.serviceMessage),_(),q(o.serviceMessage),_(),O("hidden",""===o.errorMessage),_(),q(o.errorMessage),_(2),Ke("Updated on: ",Er(18,11,o.checklist.dateUpdated,"medium"),""),_(6),O("ngForOf",co(24,14,o.checklist.checks)),_(5),O("ngForOf",co(29,16,o.checklist.checks)),_(8),ee("ngModel",o.newItem),_(8),ee("ngModel",o.checklist.name))},dependencies:[fn,Mt,ha,Ht,Rt,Ar,B1,Nu],styles:["li[_ngcontent-%COMP%]{padding:1px}.delete[_ngcontent-%COMP%]{margin-left:1em;background-color:#ff000080}.unlist[_ngcontent-%COMP%]{background-color:#0000ff80}.relist[_ngcontent-%COMP%]{background-color:#00ff0080}.element-buttons[_ngcontent-%COMP%]{margin-left:2em}.item-text[_ngcontent-%COMP%]{display:inline-block;min-width:8em}.id[_ngcontent-%COMP%]{margin-left:1em}"]})}}return e})(),$7=(()=>{class e{constructor(t,r){this.contactsService=t,this.router=r,this.route=b(Kt),this.contactId=-1,this.contact={},this.serviceMessage="",this.errorMessage="",this.contactId=Number(this.route.snapshot.params.id)}getContact(){this.serviceMessage="Loading contact ...",this.contactsService.getContact(this.contactId).subscribe({next:t=>{this.contact=t,this.serviceMessage=""},error:t=>{this.serviceMessage="",this.errorMessage=`Error while loading contact: ${t.message}`}})}back(){this.router.navigate(["/checklists"])}ngOnInit(){this.getContact()}reload(){this.getContact()}saveContact(){this.serviceMessage="Updating contact ...",this.contactsService.saveContact(this.contact).subscribe({next:t=>{this.contact=t,this.serviceMessage="Updated contact."},error:t=>{this.serviceMessage="",this.errorMessage=`Error while updating contact: ${t.message}`}})}deleteContact(){window.confirm(`Do you realy want to delete contact "${this.contact.firstName+" "+this.contact.lastName}"?`)&&(this.serviceMessage="Deleting contact ...",this.contactsService.deleteContact(this.contactId).subscribe({next:()=>this.router.navigateByUrl("/contacts"),error:t=>{this.serviceMessage="",this.errorMessage=`Error while deleting contact: ${t.message}`}}))}static{this.\u0275fac=function(r){return new(r||e)(E(mn),E(tt))}}static{this.\u0275cmp=st({type:e,selectors:[["app-edit-contact"]],decls:55,vars:20,consts:[[1,"top-buttons","float-right"],["title","Back to: Family contacts",3,"click"],["title","Refresh data",3,"click"],["title","Delete contact",1,"delete",3,"click"],[1,"inline-block"],[1,"id"],[3,"hidden"],[1,"alert",3,"hidden"],[1,"form-group"],["for","input-firstName"],["id","input-firstName","placeholder","firstname",3,"ngModelChange","ngModel"],["for","input-lastName"],["id","input-lastName","placeholder","lastname",3,"ngModelChange","ngModel"],["for","input-telephone"],["id","input-telephone","placeholder","telephone",3,"ngModelChange","ngModel"],["for","input-email"],["id","input-email","placeholder","email",3,"ngModelChange","ngModel"],["for","input-website"],["id","input-website","placeholder","website",3,"ngModelChange","ngModel"],["target","_blank",3,"href"],["for","input-address"],["id","input-address","placeholder","address",3,"ngModelChange","ngModel"],["for","input-description"],["id","input-description","placeholder","description",3,"ngModelChange","ngModel"],[3,"click"]],template:function(r,o){1&r&&(m(0,"span",0)(1,"button",1),T("click",function(){return o.back()}),y(2,"Back"),g(),m(3,"button",2),T("click",function(){return o.reload()}),y(4,"Reload"),g(),m(5,"button",3),T("click",function(){return o.deleteContact()}),y(6,"Delete checklist"),g()(),m(7,"h1",4),y(8),g(),m(9,"span",5),y(10),g(),z(11,"br"),m(12,"p",6),y(13),g(),m(14,"p",7),y(15),g(),m(16,"span"),y(17),kt(18,"date"),g(),z(19,"br"),m(20,"h3"),y(21,"Details:"),g(),m(22,"div",8)(23,"label",9),y(24,"Firstname:"),g(),m(25,"input",10),te("ngModelChange",function(s){return ne(o.contact.firstName,s)||(o.contact.firstName=s),s}),g(),z(26,"br"),m(27,"label",11),y(28,"Lastname:"),g(),m(29,"input",12),te("ngModelChange",function(s){return ne(o.contact.lastName,s)||(o.contact.lastName=s),s}),g(),z(30,"br"),m(31,"label",13),y(32,"Telephone:"),g(),m(33,"input",14),te("ngModelChange",function(s){return ne(o.contact.telephone,s)||(o.contact.telephone=s),s}),g(),z(34,"br"),m(35,"label",15),y(36,"Email:"),g(),m(37,"input",16),te("ngModelChange",function(s){return ne(o.contact.email,s)||(o.contact.email=s),s}),g(),z(38,"br"),m(39,"label",17),y(40,"Website:"),g(),m(41,"input",18),te("ngModelChange",function(s){return ne(o.contact.website,s)||(o.contact.website=s),s}),g(),m(42,"a",19),y(43,"go to website"),g(),z(44,"br"),m(45,"label",20),y(46,"Address:"),g(),m(47,"input",21),te("ngModelChange",function(s){return ne(o.contact.address,s)||(o.contact.address=s),s}),g(),z(48,"br"),m(49,"label",22),y(50,"Description:"),g(),m(51,"input",23),te("ngModelChange",function(s){return ne(o.contact.description,s)||(o.contact.description=s),s}),g(),z(52,"br"),m(53,"button",24),T("click",function(){return o.saveContact()}),y(54,"Save changes"),g()()),2&r&&(_(8),Cc("Editing contact: ",o.contact.firstName," ",o.contact.lastName,""),_(2),Ke("Id: ",o.contact.id,""),_(2),O("hidden",""===o.serviceMessage),_(),q(o.serviceMessage),_(),O("hidden",""===o.errorMessage),_(),q(o.errorMessage),_(2),Ke("Updated on: ",Er(18,17,o.contact.dateUpdated,"medium"),""),_(8),ee("ngModel",o.contact.firstName),_(4),ee("ngModel",o.contact.lastName),_(4),ee("ngModel",o.contact.telephone),_(4),ee("ngModel",o.contact.email),_(4),ee("ngModel",o.contact.website),_(),vc("href","https://",o.contact.website,"",vf),_(5),ee("ngModel",o.contact.address),_(4),ee("ngModel",o.contact.description))},dependencies:[Mt,Ht,Rt,Ar],styles:[".delete[_ngcontent-%COMP%]{background-color:#ff000080}.id[_ngcontent-%COMP%]{margin-left:1em}"]})}}return e})(),B7=(()=>{class e{constructor(t){this.loginService=t,this.newPassword1="",this.newPassword2="",this.serviceMessage="",this.errorMessage=""}username(){return this.loginService.getUsername()}checkPasswordsMatch(){return this.newPassword1==this.newPassword2}saveProfile(){this.newPassword1==this.newPassword2?(this.serviceMessage="Updating password ...",this.loginService.changePassword(this.newPassword1).subscribe({next:()=>{this.serviceMessage="Password changed",this.loginService.authenticate({username:this.loginService.getUsername(),password:this.newPassword1}).subscribe()},error:t=>{this.serviceMessage="",this.errorMessage=`Error while updating password: ${t.message}`}})):this.serviceMessage="Passwords do not match!"}toggleTheme(){const t="theme-dark",r=document.querySelector(":root");if(!r)throw new Error("No root!?");r.classList.toggle(t),r.classList.contains(t)?localStorage.setItem("theme",t):localStorage.setItem("theme","theme-light")}static{this.\u0275fac=function(r){return new(r||e)(E(Gt))}}static{this.\u0275cmp=st({type:e,selectors:[["app-profile"]],decls:25,vars:8,consts:[["title","Dark theme on/off",3,"click"],[3,"hidden"],[1,"alert",3,"hidden"],[1,"input"],[1,"form-group"],["for","input-newPassword1"],["type","password","id","input-newPassword1","placeholder","new password",3,"ngModelChange","ngModel"],["for","input-newPassword2"],["type","password","id","input-newPassword2","placeholder","new password",3,"ngModelChange","ngModel"],[3,"click"]],template:function(r,o){1&r&&(m(0,"h1"),y(1),g(),m(2,"button",0),T("click",function(){return o.toggleTheme()}),y(3,"\u2600 Switch theme"),g(),z(4,"br"),m(5,"h2"),y(6,"Change password:"),g(),m(7,"p",1),y(8),g(),m(9,"p",2),y(10),g(),m(11,"div",3)(12,"div",4)(13,"label",5),y(14,"New password:"),g(),m(15,"input",6),te("ngModelChange",function(s){return ne(o.newPassword1,s)||(o.newPassword1=s),s}),g(),z(16,"br"),m(17,"label",7),y(18,"Verify password:"),g(),m(19,"input",8),te("ngModelChange",function(s){return ne(o.newPassword2,s)||(o.newPassword2=s),s}),g(),m(20,"span",2),y(21,"No match"),g(),z(22,"br"),m(23,"button",9),T("click",function(){return o.saveProfile()}),y(24,"Save password"),g()()()),2&r&&(_(),Ke("Profile of: ",o.username(),""),_(6),O("hidden",""===o.serviceMessage),_(),q(o.serviceMessage),_(),O("hidden",""===o.errorMessage),_(),q(o.errorMessage),_(5),ee("ngModel",o.newPassword1),_(4),ee("ngModel",o.newPassword2),_(),O("hidden",o.checkPasswordsMatch()))},dependencies:[Mt,Ht,Rt]})}}return e})();class Br{static{this.REST_URL=Vn_restServerUrl+"/api/notes"}constructor(n,t){this.http=n,this.appMessageService=t,this.httpOptions={headers:new $e({"Content-Type":"application/json",Accept:"application/json"})}}handleError(n){return Lr(n,this.appMessageService,this.constructor.name)}log(n){this.appMessageService.add(`${this.constructor.name}: ${n}`)}getNotes(){return this.http.get(Br.REST_URL,this.httpOptions).pipe(W(n=>this.log(`fetched ${n.length} notes`)),oe(this.handleError("getNotes")))}addNote(n){return this.http.post(Br.REST_URL,{text:n},this.httpOptions).pipe(W(r=>this.log(`added note w/ id=${r.id}`)),oe(this.handleError("addNote")))}deleteNote(n){return this.http.delete(`${Br.REST_URL}/${n}`,this.httpOptions).pipe(W(r=>this.log(`deleted note id=${n}`)),oe(this.handleError("deleteNote")))}static{this.\u0275fac=function(t){return new(t||Br)(R(ar),R(lr))}}static{this.\u0275prov=k({token:Br,factory:Br.\u0275fac,providedIn:"root"})}}function H7(e,n){if(1&e){const t=tr();m(0,"li")(1,"div",10)(2,"span",11),y(3),kt(4,"date"),g(),m(5,"button",12),T("click",function(){const o=Ne(t).$implicit;return ke(Ue().deleteNote(o))}),y(6,"x"),g()(),z(7,"p",13),g()}if(2&e){const t=n.$implicit;_(3),q(Er(4,2,t.dateCreated,"medium")),_(4),O("innerHTML",t.text,mf)}}let z7=(()=>{class e{constructor(t){this.noteService=t,this.notes=[],this.newNote="",this.serviceMessage="",this.errorMessage=""}ngOnInit(){this.getNotes()}reload(){this.getNotes()}getNotes(){this.errorMessage="",this.serviceMessage="Loading notes ...",this.noteService.getNotes().subscribe({next:t=>{this.notes=t,this.serviceMessage=0==t.length?"Nothing to do!":""},error:t=>{this.serviceMessage="",this.errorMessage=`Error while loading notes: ${t.message}`}})}newNoteKeyDown(t){"Enter"===t.key&&t.ctrlKey&&(t.preventDefault(),this.addNote())}addNote(){""!==this.newNote?(this.errorMessage="",this.serviceMessage="Adding note ...",this.noteService.addNote(this.newNote).subscribe({next:t=>{this.notes.push(t),this.newNote="",this.serviceMessage="Added note."},error:t=>{this.serviceMessage="",this.errorMessage=`Error while adding note: ${t.message}`}})):this.errorMessage="Note empty"}deleteNote(t){window.confirm("Do you realy want to delete this note?")&&(this.errorMessage="",this.serviceMessage="Removing note ...",this.noteService.deleteNote(t.id).subscribe({next:()=>{this.notes=this.notes.filter(r=>r!==t),this.serviceMessage="Removed note."},error:r=>{this.serviceMessage="",this.errorMessage=`Error while removing note: ${r.message}`}}))}static{this.\u0275fac=function(r){return new(r||e)(E(Br))}}static{this.\u0275cmp=st({type:e,selectors:[["app-note"]],decls:20,vars:6,consts:[[1,"top-buttons","float-right"],["title","Refresh data",3,"click"],[1,"inline-block"],[3,"hidden"],[1,"alert",3,"hidden"],[1,"element-list"],[4,"ngFor","ngForOf"],[1,"input"],["id","input-text","placeholder","Write a note here.",1,"big-text-input",3,"ngModelChange","keydown","ngModel"],[3,"click"],[1,"element-title"],[1,"date"],["type","button","title","Delete note",1,"delete",3,"click"],[1,"text",3,"innerHTML"]],template:function(r,o){1&r&&(m(0,"span",0)(1,"button",1),T("click",function(){return o.reload()}),y(2,"Reload"),g()(),m(3,"h1",2),y(4,"Family notes:"),g(),z(5,"br"),m(6,"p",3),y(7),g(),m(8,"p",4),y(9),g(),m(10,"ol",5),Le(11,H7,8,5,"li",6),g(),m(12,"h2"),y(13,"New note:"),g(),m(14,"div",7)(15,"div")(16,"textarea",8),te("ngModelChange",function(s){return ne(o.newNote,s)||(o.newNote=s),s}),T("keydown",function(s){return o.newNoteKeyDown(s)}),g(),z(17,"br"),m(18,"button",9),T("click",function(){return o.addNote()}),y(19,"Add note"),g()()()),2&r&&(_(6),O("hidden",""===o.serviceMessage),_(),q(o.serviceMessage),_(),O("hidden",""===o.errorMessage),_(),q(o.errorMessage),_(2),O("ngForOf",o.notes),_(5),ee("ngModel",o.newNote))},dependencies:[fn,Mt,Ht,Rt,Ar],styles:[".element-list[_ngcontent-%COMP%]{margin-left:2em;padding:0}.element-list[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{position:relative;left:0;margin-top:.5em;padding:0;border-radius:4px;border:solid 1px #808080}.element-list[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:hover{background-color:#e6e6e680}.element-title[_ngcontent-%COMP%]{display:block;text-align:left;font-size:x-small}.element-title[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline-block;color:#fff}.element-title[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{font-size:small;padding:1px 6px;margin:0;border-radius:2px;float:right;background-color:#ff000080}.badge[_ngcontent-%COMP%]{padding:.3em .7em;background-color:#405061;border-radius:2px 0 0}.date[_ngcontent-%COMP%]{padding:.3em .7em;background-color:#605061;border-radius:0 0 2px}.text[_ngcontent-%COMP%]{white-space:pre-wrap;margin:.2em .4em}.input[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{left:0;margin:0 0 .2em;padding:0}.input[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{display:inline-block;width:4em;text-align:right;padding-right:.2em}"]})}}return e})();class Hr{static{this.REST_URL=Vn_restServerUrl+"/api/mynotes"}constructor(n,t){this.http=n,this.appMessageService=t,this.httpOptions={headers:new $e({"Content-Type":"application/json",Accept:"application/json"})}}handleError(n){return Lr(n,this.appMessageService,this.constructor.name)}log(n){this.appMessageService.add(`${this.constructor.name}: ${n}`)}getNotes(){return this.http.get(Hr.REST_URL,this.httpOptions).pipe(W(n=>this.log(`fetched ${n.length} notes`)),oe(this.handleError("getNotes")))}addNote(n){return this.http.post(Hr.REST_URL,{text:n},this.httpOptions).pipe(W(r=>this.log(`added note w/ id=${r.id}`)),oe(this.handleError("addNote")))}deleteNote(n){return this.http.delete(`${Hr.REST_URL}/${n}`,this.httpOptions).pipe(W(r=>this.log(`deleted note id=${n}`)),oe(this.handleError("deleteNote")))}static{this.\u0275fac=function(t){return new(t||Hr)(R(ar),R(lr))}}static{this.\u0275prov=k({token:Hr,factory:Hr.\u0275fac,providedIn:"root"})}}function G7(e,n){if(1&e){const t=tr();m(0,"li")(1,"div",10)(2,"span",11),y(3),kt(4,"date"),g(),m(5,"button",12),T("click",function(){const o=Ne(t).$implicit;return ke(Ue().deleteNote(o))}),y(6,"x"),g()(),m(7,"p",13),y(8),g()()}if(2&e){const t=n.$implicit;_(3),q(Er(4,2,t.dateCreated,"medium")),_(5),q(t.text)}}let q7=(()=>{class e{constructor(t){this.noteService=t,this.notes=[],this.newNote="",this.serviceMessage="",this.errorMessage=""}ngOnInit(){this.getNotes()}reload(){this.getNotes()}getNotes(){this.errorMessage="",this.serviceMessage="Loading notes ...",this.noteService.getNotes().subscribe({next:t=>{this.notes=t,this.serviceMessage=0==t.length?"Nothing to do!":""},error:t=>{this.serviceMessage="",this.errorMessage=`Error while loading notes: ${t.message}`}})}newNoteKeyDown(t){"Enter"===t.key&&t.ctrlKey&&(t.preventDefault(),this.addNote())}addNote(){""!==this.newNote?(this.errorMessage="",this.serviceMessage="Adding note ...",this.noteService.addNote(this.newNote).subscribe({next:t=>{this.notes.push(t),this.newNote="",this.serviceMessage="Added note."},error:t=>{this.serviceMessage="",this.errorMessage=`Error while adding note: ${t.message}`}})):this.errorMessage="Note empty"}deleteNote(t){window.confirm("Do you realy want to delete this note?")&&(this.errorMessage="",this.serviceMessage="Removing note ...",this.noteService.deleteNote(t.id).subscribe({next:()=>{this.notes=this.notes.filter(r=>r!==t),this.serviceMessage="Removed note."},error:r=>{this.serviceMessage="",this.errorMessage=`Error while removing note: ${r.message}`}}))}static{this.\u0275fac=function(r){return new(r||e)(E(Hr))}}static{this.\u0275cmp=st({type:e,selectors:[["app-mynote"]],decls:20,vars:6,consts:[[1,"top-buttons","float-right"],["title","Refresh data",3,"click"],[1,"inline-block"],[3,"hidden"],[1,"alert",3,"hidden"],[1,"element-list"],[4,"ngFor","ngForOf"],[1,"input"],["id","input-text","placeholder","Write a note here.",1,"big-text-input",3,"ngModelChange","keydown","ngModel"],[3,"click"],[1,"element-title"],[1,"date"],["type","button","title","Delete note",1,"delete",3,"click"],[1,"text"]],template:function(r,o){1&r&&(m(0,"span",0)(1,"button",1),T("click",function(){return o.reload()}),y(2,"Reload"),g()(),m(3,"h1",2),y(4,"Your notes:"),g(),z(5,"br"),m(6,"p",3),y(7),g(),m(8,"p",4),y(9),g(),m(10,"ol",5),Le(11,G7,9,5,"li",6),g(),m(12,"h2"),y(13,"New note:"),g(),m(14,"div",7)(15,"div")(16,"textarea",8),te("ngModelChange",function(s){return ne(o.newNote,s)||(o.newNote=s),s}),T("keydown",function(s){return o.newNoteKeyDown(s)}),g(),z(17,"br"),m(18,"button",9),T("click",function(){return o.addNote()}),y(19,"Add note"),g()()()),2&r&&(_(6),O("hidden",""===o.serviceMessage),_(),q(o.serviceMessage),_(),O("hidden",""===o.errorMessage),_(),q(o.errorMessage),_(2),O("ngForOf",o.notes),_(5),ee("ngModel",o.newNote))},dependencies:[fn,Mt,Ht,Rt,Ar],styles:[".element-list[_ngcontent-%COMP%]{margin-left:2em;padding:0}.element-list[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{position:relative;left:0;margin-top:.5em;padding:0;border-radius:4px;border:solid 1px #808080}.element-list[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:hover{background-color:#e6e6e680}.element-title[_ngcontent-%COMP%]{display:block;text-align:left;font-size:x-small}.element-title[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline-block;color:#fff}.element-title[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{font-size:small;padding:1px 6px;margin:0;border-radius:2px;float:right;background-color:#ff000080}.badge[_ngcontent-%COMP%]{padding:.3em .7em;background-color:#405061;border-radius:2px 0 0}.date[_ngcontent-%COMP%]{padding:.3em .7em;background-color:#605061;border-radius:0 0 2px}.text[_ngcontent-%COMP%]{white-space:pre-wrap;margin:.2em .4em}.input[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{left:0;margin:0 0 .2em;padding:0}.input[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{display:inline-block;width:4em;text-align:right;padding-right:.2em}"]})}}return e})();class yn{static{this.REST_URL=Vn_restServerUrl+"/api/mychecklists"}constructor(n,t){this.http=n,this.appMessageService=t,this.httpOptions={headers:new $e({"Content-Type":"application/json",Accept:"application/json"})}}handleError(n){return Lr(n,this.appMessageService,this.constructor.name)}log(n){this.appMessageService.add(`${this.constructor.name}: ${n}`)}getChecklists(){return this.http.get(yn.REST_URL,this.httpOptions).pipe(W(n=>this.log(`fetched ${n.length} checklists`)),oe(this.handleError("getChecklists")))}getChecklist(n){return this.http.get(`${yn.REST_URL}/${n}`,this.httpOptions).pipe(W(t=>this.log(`fetched checklist ${t.id}`)),oe(this.handleError("getChecklist")))}addChecklist(n){return this.http.post(yn.REST_URL,{name:n},this.httpOptions).pipe(W(r=>this.log(`added checklist w/ id=${r.id}`)),oe(this.handleError("addChecklist")))}saveChecklist(n){return this.http.post(yn.REST_URL,n,this.httpOptions).pipe(W(t=>this.log(`saved checklist w/ id=${t.id}`)),oe(this.handleError("addChecklist")))}deleteChecklist(n){return this.http.delete(`${yn.REST_URL}/${n}`,this.httpOptions).pipe(W(r=>this.log(`deleted checklist id=${n}`)),oe(this.handleError("deleteChecklist")))}static{this.\u0275fac=function(t){return new(t||yn)(R(ar),R(lr))}}static{this.\u0275prov=k({token:yn,factory:yn.\u0275fac,providedIn:"root"})}}const W7=e=>["/mychecklist",e],Z7=e=>({strikethrough:e});function Q7(e,n){if(1&e&&(m(0,"li",15),y(1),g()),2&e){const t=n.$implicit;O("ngClass",vi(2,Z7,!0===t.checked)),_(),Ke(" ",t.text," ")}}function Y7(e,n){if(1&e&&(m(0,"li")(1,"a",11)(2,"span",12),y(3),g(),m(4,"ul",13),Le(5,Q7,2,4,"li",14),kt(6,"onlyListedItems"),g()()()),2&e){const t=n.$implicit;_(),O("routerLink",vi(5,W7,t.id)),_(2),q(t.name),_(2),O("ngForOf",co(6,3,t.checks))}}function K7(e,n){if(1&e){const t=tr();m(0,"li")(1,"input",15),te("ngModelChange",function(o){const i=Ne(t).$implicit;return ne(i.checked,o)||(i.checked=o),ke(o)}),T("change",function(){return Ne(t),ke(Ue().saveCheckList())}),g(),m(2,"label",16),y(3),g(),m(4,"span",17)(5,"button",18),T("click",function(){const o=Ne(t).$implicit;return ke(Ue().unlistItem(o.id))}),y(6,"v"),g()()()}if(2&e){const t=n.$implicit;_(),ee("ngModel",t.checked),_(2),q(t.text)}}function J7(e,n){if(1&e){const t=tr();m(0,"li")(1,"input",19),te("ngModelChange",function(o){const i=Ne(t).$implicit;return ne(i.text,o)||(i.text=o),ke(o)}),T("change",function(){return Ne(t),ke(Ue().saveCheckList())}),g(),m(2,"span",17)(3,"button",20),T("click",function(){return Ne(t),ke(Ue().saveCheckList())}),y(4,"\u{1f4be}"),g(),m(5,"button",21),T("click",function(){const o=Ne(t).$implicit;return ke(Ue().relistItem(o.id))}),y(6,"^"),g(),m(7,"button",22),T("click",function(){const o=Ne(t).$implicit;return ke(Ue().removeItem(o.id))}),y(8,"x"),g()()()}if(2&e){const t=n.$implicit;_(),ee("ngModel",t.text)}}const e9=[{path:"",component:T7,pathMatch:"full"},{path:"login",component:A7},{path:"profile",component:B7,canActivate:[zn]},{path:"chat",component:Wg,canActivate:[zn]},{path:"notes",component:z7,canActivate:[zn]},{path:"mynotes",component:q7,canActivate:[zn]},{path:"contacts",component:R7,canActivate:[zn]},{path:"contact/:id",component:$7,canActivate:[zn]},{path:"checklists",component:L7,canActivate:[zn]},{path:"checklist/:id",component:U7,canActivate:[zn]},{path:"mychecklists",component:(()=>{class e{constructor(t,r){this.checklistService=t,this.router=r,this.route=b(Kt),this.checklists=[],this.newChecklist="",this.serviceMessage="",this.errorMessage=""}getChecklists(){this.serviceMessage="Loading checklists ...",this.checklistService.getChecklists().subscribe({next:t=>{this.checklists=t,this.serviceMessage=t.length?"":"No checklist in database."},error:t=>{this.serviceMessage="",this.errorMessage=`Error while loading checklists: ${t.message}`}})}ngOnInit(){this.getChecklists()}reload(){this.getChecklists()}sendChecklist(){""!==this.newChecklist&&(this.serviceMessage="Creating checklist ...",this.checklistService.addChecklist(this.newChecklist).subscribe({next:t=>this.router.navigate(["/mychecklist/",t.id]),error:t=>{this.serviceMessage="",this.errorMessage=`Error while creating checklists: ${t.message}`}}))}static{this.\u0275fac=function(r){return new(r||e)(E(yn),E(tt))}}static{this.\u0275cmp=st({type:e,selectors:[["app-mychecklists"]],decls:21,vars:6,consts:[[1,"top-buttons","float-right"],["title","Refresh data",3,"click"],[1,"inline-block"],[3,"hidden"],[1,"alert",3,"hidden"],[1,"element-list"],[4,"ngFor","ngForOf"],[1,"input"],["for","input-name"],["id","input-name","placeholder","myChecklist",3,"ngModelChange","keydown.enter","ngModel"],[3,"click"],[1,"element",3,"routerLink"],[1,"text"],[1,"item-list"],[3,"ngClass",4,"ngFor","ngForOf"],[3,"ngClass"]],template:function(r,o){1&r&&(m(0,"span",0)(1,"button",1),T("click",function(){return o.reload()}),y(2,"Reload"),g()(),m(3,"h1",2),y(4,"Your checklists:"),g(),z(5,"br"),m(6,"p",3),y(7),g(),m(8,"p",4),y(9),g(),m(10,"ol",5),Le(11,Y7,7,7,"li",6),g(),m(12,"h2"),y(13,"New checklist:"),g(),m(14,"div",7)(15,"div")(16,"label",8),y(17,"name:"),g(),m(18,"input",9),te("ngModelChange",function(s){return ne(o.newChecklist,s)||(o.newChecklist=s),s}),T("keydown.enter",function(){return o.sendChecklist()}),g(),m(19,"button",10),T("click",function(){return o.sendChecklist()}),y(20,"Add checklist"),g()()()),2&r&&(_(6),O("hidden",""===o.serviceMessage),_(),q(o.serviceMessage),_(),O("hidden",""===o.errorMessage),_(),q(o.errorMessage),_(2),O("ngForOf",o.checklists),_(7),ee("ngModel",o.newChecklist))},dependencies:[wp,fn,Mt,Ht,Rt,Ur,Nu],styles:[".element-list[_ngcontent-%COMP%]{margin-left:2em;padding:0}.element-list[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{position:relative;left:0;margin-top:.5em;padding:.2em;border-radius:4px;border:solid 1px #808080}.element[_ngcontent-%COMP%]{text-decoration:none;display:block}.element-list[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:hover{background-color:#e6e6e680}.strikethrough[_ngcontent-%COMP%]{text-decoration:line-through}"]})}}return e})(),canActivate:[zn]},{path:"mychecklist/:id",component:(()=>{class e{constructor(t,r){this.checklistService=t,this.router=r,this.route=b(Kt),this.checklistId=-1,this.checklist={},this.newItem="",this.serviceMessage="",this.errorMessage="",this.checklistId=Number(this.route.snapshot.params.id)}getChecklist(){this.serviceMessage="Loading checklist ...",this.checklistService.getChecklist(this.checklistId).subscribe({next:t=>{this.checklist=t,this.serviceMessage=""},error:t=>{this.serviceMessage="",this.errorMessage=`Error while getting checklists: ${t.message}`}})}ngOnInit(){this.getChecklist()}back(){this.router.navigate(["/checklists"])}reload(){this.getChecklist()}addItem(){""!==this.newItem&&(this.checklist.checks.push({text:this.newItem,checklist_id:this.checklist.id}),this.newItem="",this.saveCheckList())}getItemById(t){for(let r of this.checklist.checks)if(r.id==t)return r;return null}unlistItem(t){const r=this.getItemById(t);null!==r&&(r.unlisted=!0,this.saveCheckList())}relistItem(t){const r=this.getItemById(t);null!==r&&(r.unlisted=!1,this.saveCheckList())}removeItem(t){for(let r=0;r<this.checklist.checks.length;r++)if(this.checklist.checks[r].id==t){if(!window.confirm(`Do you realy want to delete item "${this.checklist.checks[r].text}"?`))return;this.checklist.checks.splice(r,1),this.saveCheckList()}}saveCheckList(){this.serviceMessage="Updating checklist ...",this.checklistService.saveChecklist(this.checklist).subscribe({next:t=>{this.checklist=t,this.serviceMessage="Saved checklist."},error:t=>{this.serviceMessage="",this.errorMessage=`Error while saving checklists: ${t.message}`}})}deleteChecklist(){window.confirm(`Do you realy want to delete checklist "${this.checklist.name}"?`)&&(this.serviceMessage="Removing checklist ...",this.checklistService.deleteChecklist(this.checklistId).subscribe({next:()=>{this.router.navigateByUrl("/mychecklists")},error:t=>{this.serviceMessage="",this.errorMessage=`Error while deleting checklists: ${t.message}`}}))}static{this.\u0275fac=function(r){return new(r||e)(E(yn),E(tt))}}static{this.\u0275cmp=st({type:e,selectors:[["app-edit-mychecklists"]],decls:45,vars:18,consts:[[1,"top-buttons","float-right"],["title","Back to: my checklists",3,"click"],["title","Refresh data",3,"click"],["title","Delete checklist",1,"delete",3,"click"],[1,"inline-block"],[1,"id"],[3,"hidden"],[1,"alert",3,"hidden"],[4,"ngFor","ngForOf"],[1,"input"],["for","input-item"],["id","input-item","placeholder","Remember x",3,"ngModelChange","keydown.enter","ngModel"],[3,"click"],["for","input-checklist-name"],["id","input-checklist-name","placeholder","myChecklist",3,"ngModelChange","keydown.enter","ngModel"],["type","checkbox",3,"ngModelChange","change","ngModel"],[1,"item-text"],[1,"element-buttons"],["type","button","title","Unlist item",1,"unlist",3,"click"],["type","text",1,"item-text",3,"ngModelChange","change","ngModel"],["type","button","title","Save item",1,"save",3,"click"],["type","button","title","Relist item",1,"relist",3,"click"],["type","button","title","Delete item",1,"delete",3,"click"]],template:function(r,o){1&r&&(m(0,"span",0)(1,"button",1),T("click",function(){return o.back()}),y(2,"Back"),g(),m(3,"button",2),T("click",function(){return o.reload()}),y(4,"Reload"),g(),m(5,"button",3),T("click",function(){return o.deleteChecklist()}),y(6,"Delete checklist"),g()(),m(7,"h1",4),y(8),g(),m(9,"span",5),y(10),g(),z(11,"br"),m(12,"p",6),y(13),g(),m(14,"p",7),y(15),g(),m(16,"span"),y(17),kt(18,"date"),g(),m(19,"h3"),y(20,"Items:"),g(),m(21,"ol"),Le(22,K7,7,2,"li",8),kt(23,"onlyListedItems"),g(),m(24,"h3"),y(25,"Unlisted Items:"),g(),m(26,"ol"),Le(27,J7,9,1,"li",8),kt(28,"onlyUnlistedItems"),g(),m(29,"h2"),y(30,"Add item:"),g(),m(31,"div",9)(32,"label",10),y(33,"item:"),g(),m(34,"input",11),te("ngModelChange",function(s){return ne(o.newItem,s)||(o.newItem=s),s}),T("keydown.enter",function(){return o.addItem()}),g(),m(35,"button",12),T("click",function(){return o.addItem()}),y(36,"Add item"),g()(),m(37,"h2"),y(38,"Change name:"),g(),m(39,"div",9)(40,"label",13),y(41,"newName:"),g(),m(42,"input",14),te("ngModelChange",function(s){return ne(o.checklist.name,s)||(o.checklist.name=s),s}),T("keydown.enter",function(){return o.saveCheckList()}),g(),m(43,"button",12),T("click",function(){return o.saveCheckList()}),y(44,"Save name"),g()()),2&r&&(_(8),Ke("Editing checklist: ",o.checklist.name,""),_(2),Ke("Id: ",o.checklist.id,""),_(2),O("hidden",""===o.serviceMessage),_(),q(o.serviceMessage),_(),O("hidden",""===o.errorMessage),_(),q(o.errorMessage),_(2),Ke("Updated on: ",Er(18,11,o.checklist.dateUpdated,"medium"),""),_(5),O("ngForOf",co(23,14,o.checklist.checks)),_(5),O("ngForOf",co(28,16,o.checklist.checks)),_(7),ee("ngModel",o.newItem),_(8),ee("ngModel",o.checklist.name))},dependencies:[fn,Mt,ha,Ht,Rt,Ar,B1,Nu],styles:["li[_ngcontent-%COMP%]{padding:1px}.delete[_ngcontent-%COMP%]{margin-left:1em;background-color:#ff000080}.unlist[_ngcontent-%COMP%]{background-color:#0000ff80}.relist[_ngcontent-%COMP%]{background-color:#00ff0080}.element-buttons[_ngcontent-%COMP%]{margin-left:2em}.item-text[_ngcontent-%COMP%]{display:inline-block;min-width:8em}.id[_ngcontent-%COMP%]{margin-left:1em}"]})}}return e})(),canActivate:[zn]}];let t9=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275mod=_n({type:e})}static{this.\u0275inj=Jt({imports:[j1.forRoot(e9),j1]})}}return e})(),n9=(()=>{class e{constructor(t){this.auth=t}intercept(t,r){if(this.auth.isAuthenticated()){const o=this.auth.getAuthorizationToken(),i=t.clone({headers:t.headers.set("Authorization",o)});return r.handle(i)}return r.handle(t)}static{this.\u0275fac=function(r){return new(r||e)(R(Gt))}}static{this.\u0275prov=k({token:e,factory:e.\u0275fac})}}return e})();const Gn=void 0;!function AF(e,n,t){(function QR(e,n,t){"string"!=typeof n&&(t=n,n=e[we.LocaleId]),n=n.toLowerCase().replace(/_/g,"-"),gi[n]=e,t&&(gi[n][we.ExtraData]=t)})(e,n,t)}(["nl",[["a.m.","p.m."],Gn,Gn],Gn,[["Z","M","D","W","D","V","Z"],["zo","ma","di","wo","do","vr","za"],["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"],["zo","ma","di","wo","do","vr","za"]],Gn,[["J","F","M","A","M","J","J","A","S","O","N","D"],["jan.","feb.","mrt.","apr.","mei","jun.","jul.","aug.","sep.","okt.","nov.","dec."],["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"]],Gn,[["v.C.","n.C."],["v.Chr.","n.Chr."],["voor Christus","na Christus"]],1,[6,0],["dd-MM-y","d MMM y","d MMMM y","EEEE d MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1} {0}",Gn,"{1} 'om' {0}",Gn],[",",".",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4\xa0#,##0.00;\xa4\xa0-#,##0.00","#E0"],"EUR","\u20ac","Euro",{AUD:["AU$","$"],BYN:[Gn,"\u0440."],CAD:["C$","$"],FJD:["FJ$","$"],JPY:["JP\xa5","\xa5"],PHP:[Gn,"\u20b1"],RUR:[Gn,"\u0440."],SBD:["SI$","$"],THB:["\u0e3f"],TWD:["NT$"],USD:["US$","$"],XPF:[],XXX:[]},"ltr",function r9(e){const t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===r?1:5}]);let o9=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275mod=_n({type:e,bootstrap:[I7]})}static{this.\u0275inj=Jt({providers:[{provide:hb,useClass:n9,multi:!0},{provide:Tr,useClass:Z0},{provide:xn,useValue:"nl-BE"}],imports:[aL,t8,A8,t9]})}}return e})();iL().bootstrapModule(o9).catch(e=>console.error(e))}},Hi=>{Hi(Hi.s=270)}]); |