-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.707ce155ecd9e753.js
1 lines (1 loc) · 194 KB
/
main.707ce155ecd9e753.js
1
"use strict";(self.webpackChunkcookies=self.webpackChunkcookies||[]).push([[792],{843:()=>{function ne(e){return"function"==typeof e}function ni(e){const n=e(r=>{Error.call(r),r.stack=(new Error).stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}const ri=ni(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((r,o)=>`${o+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=n});function Br(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class mt{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(const i of n)i.remove(this);else n.remove(this);const{initialTeardown:r}=this;if(ne(r))try{r()}catch(i){t=i instanceof ri?i.errors:[i]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const i of o)try{bd(i)}catch(s){t=t??[],s instanceof ri?t=[...t,...s.errors]:t.push(s)}}if(t)throw new ri(t)}}add(t){var n;if(t&&t!==this)if(this.closed)bd(t);else{if(t instanceof mt){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}}_hasParent(t){const{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){const{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){const{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&Br(n,t)}remove(t){const{_finalizers:n}=this;n&&Br(n,t),t instanceof mt&&t._removeParent(this)}}mt.EMPTY=(()=>{const e=new mt;return e.closed=!0,e})();const Ed=mt.EMPTY;function wd(e){return e instanceof mt||e&&"closed"in e&&ne(e.remove)&&ne(e.add)&&ne(e.unsubscribe)}function bd(e){ne(e)?e():e.unsubscribe()}const Dn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},oi={setTimeout(e,t,...n){const{delegate:r}=oi;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=oi;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Md(e){oi.setTimeout(()=>{const{onUnhandledError:t}=Dn;if(!t)throw e;t(e)})}function Id(){}const Z_=ya("C",void 0,void 0);function ya(e,t,n){return{kind:e,value:t,error:n}}let _n=null;function ii(e){if(Dn.useDeprecatedSynchronousErrorHandling){const t=!_n;if(t&&(_n={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=_n;if(_n=null,n)throw r}}else e()}class va extends mt{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,wd(t)&&t.add(this)):this.destination=t0}static create(t,n,r){return new Hr(t,n,r)}next(t){this.isStopped?_a(function Q_(e){return ya("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?_a(function Y_(e){return ya("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?_a(Z_,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 J_=Function.prototype.bind;function Da(e,t){return J_.call(e,t)}class K_{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){si(r)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){si(r)}else si(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){si(n)}}}class Hr extends va{constructor(t,n,r){let o;if(super(),ne(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&Dn.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Da(t.next,i),error:t.error&&Da(t.error,i),complete:t.complete&&Da(t.complete,i)}):o=t}this.destination=new K_(o)}}function si(e){Dn.useDeprecatedSynchronousErrorHandling?function X_(e){Dn.useDeprecatedSynchronousErrorHandling&&_n&&(_n.errorThrown=!0,_n.error=e)}(e):Md(e)}function _a(e,t){const{onStoppedNotification:n}=Dn;n&&oi.setTimeout(()=>n(e,t))}const t0={closed:!0,next:Id,error:function e0(e){throw e},complete:Id},Ca="function"==typeof Symbol&&Symbol.observable||"@@observable";function Ea(e){return e}let we=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){const r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){const i=function r0(e){return e&&e instanceof va||function n0(e){return e&&ne(e.next)&&ne(e.error)&&ne(e.complete)}(e)&&wd(e)}(n)?n:new Hr(n,r,o);return ii(()=>{const{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return new(r=Ad(r))((o,i)=>{const s=new Hr({next:a=>{try{n(a)}catch(u){i(u),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(n)}[Ca](){return this}pipe(...n){return function Sd(e){return 0===e.length?Ea:1===e.length?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}(n)(this)}toPromise(n){return new(n=Ad(n))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function Ad(e){var t;return null!==(t=e??Dn.Promise)&&void 0!==t?t:Promise}const o0=ni(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let ai=(()=>{class e extends we{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new Td(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new o0}next(n){ii(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(n)}})}error(n){ii(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;const{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){ii(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return(null===(n=this.observers)||void 0===n?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){const{hasError:r,isStopped:o,observers:i}=this;return r||o?Ed:(this.currentObservers=null,i.push(n),new mt(()=>{this.currentObservers=null,Br(i,n)}))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){const n=new we;return n.source=this,n}}return e.create=(t,n)=>new Td(t,n),e})();class Td extends ai{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.next)||void 0===r||r.call(n,t)}error(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.error)||void 0===r||r.call(n,t)}complete(){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===n||n.call(t)}_subscribe(t){var n,r;return null!==(r=null===(n=this.source)||void 0===n?void 0:n.subscribe(t))&&void 0!==r?r:Ed}}function Ft(e){return t=>{if(function s0(e){return ne(e?.lift)}(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function Rt(e,t,n,r,o){return new a0(e,t,n,r,o)}class a0 extends va{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(u){t.error(u)}}:super._next,this._error=o?function(a){try{o(a)}catch(u){t.error(u)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:n}=this;super.unsubscribe(),!n&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function Cn(e,t){return Ft((n,r)=>{let o=0;n.subscribe(Rt(r,i=>{r.next(e.call(t,i,o++))}))})}function Jt(e){return this instanceof Jt?(this.v=e,this):new Jt(e)}function Pd(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,t=e[Symbol.asyncIterator];return t?t.call(e):(e=function Ia(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,u){!function o(i,s,a,u){Promise.resolve(u).then(function(l){i({value:l,done:a})},s)}(a,u,(s=e[i](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const Fd=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function Rd(e){return ne(e?.then)}function kd(e){return ne(e[Ca])}function Ld(e){return Symbol.asyncIterator&&ne(e?.[Symbol.asyncIterator])}function Vd(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 jd=function T0(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Bd(e){return ne(e?.[jd])}function Hd(e){return function Od(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,r=n.apply(e,t||[]),i=[];return o=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",function s(h){return function(p){return Promise.resolve(p).then(h,d)}}),o[Symbol.asyncIterator]=function(){return this},o;function a(h,p){r[h]&&(o[h]=function(g){return new Promise(function(y,D){i.push([h,g,y,D])>1||u(h,g)})},p&&(o[h]=p(o[h])))}function u(h,p){try{!function l(h){h.value instanceof Jt?Promise.resolve(h.value.v).then(c,d):f(i[0][2],h)}(r[h](p))}catch(g){f(i[0][3],g)}}function c(h){u("next",h)}function d(h){u("throw",h)}function f(h,p){h(p),i.shift(),i.length&&u(i[0][0],i[0][1])}}(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:r,done:o}=yield Jt(n.read());if(o)return yield Jt(void 0);yield yield Jt(r)}}finally{n.releaseLock()}})}function $d(e){return ne(e?.getReader)}function yt(e){if(e instanceof we)return e;if(null!=e){if(kd(e))return function N0(e){return new we(t=>{const n=e[Ca]();if(ne(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Fd(e))return function x0(e){return new we(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}(e);if(Rd(e))return function O0(e){return new we(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Md)})}(e);if(Ld(e))return Ud(e);if(Bd(e))return function P0(e){return new we(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if($d(e))return function F0(e){return Ud(Hd(e))}(e)}throw Vd(e)}function Ud(e){return new we(t=>{(function R0(e,t){var n,r,o,i;return function Nd(e,t,n,r){return new(n||(n=Promise))(function(i,s){function a(c){try{l(r.next(c))}catch(d){s(d)}}function u(c){try{l(r.throw(c))}catch(d){s(d)}}function l(c){c.done?i(c.value):function o(i){return i instanceof n?i:new n(function(s){s(i)})}(c.value).then(a,u)}l((r=r.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=Pd(e);!(r=yield n.next()).done;)if(t.next(r.value),t.closed)return}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})})(e,t).catch(n=>t.error(n))})}function Kt(e,t,n,r=0,o=!1){const i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function ui(e,t,n=1/0){return ne(t)?ui((r,o)=>Cn((i,s)=>t(r,i,o,s))(yt(e(r,o))),n):("number"==typeof t&&(n=t),Ft((r,o)=>function k0(e,t,n,r,o,i,s,a){const u=[];let l=0,c=0,d=!1;const f=()=>{d&&!u.length&&!l&&t.complete()},h=g=>l<r?p(g):u.push(g),p=g=>{i&&t.next(g),l++;let y=!1;yt(n(g,c++)).subscribe(Rt(t,D=>{o?.(D),i?h(D):t.next(D)},()=>{y=!0},void 0,()=>{if(y)try{for(l--;u.length&&l<r;){const D=u.shift();s?Kt(t,s,()=>p(D)):p(D)}f()}catch(D){t.error(D)}}))};return e.subscribe(Rt(t,h,()=>{d=!0,f()})),()=>{a?.()}}(r,o,e,n)))}const Gd=new we(e=>e.complete());function Sa(e){return e[e.length-1]}function zd(e){return function j0(e){return e&&ne(e.schedule)}(Sa(e))?e.pop():void 0}function qd(e,t=0){return Ft((n,r)=>{n.subscribe(Rt(r,o=>Kt(r,e,()=>r.next(o),t),()=>Kt(r,e,()=>r.complete(),t),o=>Kt(r,e,()=>r.error(o),t)))})}function Wd(e,t=0){return Ft((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Zd(e,t){if(!e)throw new Error("Iterable cannot be null");return new we(n=>{Kt(n,t,()=>{const r=e[Symbol.asyncIterator]();Kt(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function li(e,t){return t?function W0(e,t){if(null!=e){if(kd(e))return function $0(e,t){return yt(e).pipe(Wd(t),qd(t))}(e,t);if(Fd(e))return function G0(e,t){return new we(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if(Rd(e))return function U0(e,t){return yt(e).pipe(Wd(t),qd(t))}(e,t);if(Ld(e))return Zd(e,t);if(Bd(e))return function z0(e,t){return new we(n=>{let r;return Kt(n,t,()=>{r=e[jd](),Kt(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){return void n.error(s)}i?n.complete():n.next(o)},0,!0)}),()=>ne(r?.return)&&r.return()})}(e,t);if($d(e))return function q0(e,t){return Zd(Hd(e),t)}(e,t)}throw Vd(e)}(e,t):yt(e)}class Y0 extends ai{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){const{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}}function Aa(...e){return li(e,zd(e))}function Yd(e={}){const{connector:t=(()=>new ai),resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,u,l=0,c=!1,d=!1;const f=()=>{a?.unsubscribe(),a=void 0},h=()=>{f(),s=u=void 0,c=d=!1},p=()=>{const g=s;h(),g?.unsubscribe()};return Ft((g,y)=>{l++,!d&&!c&&f();const D=u=u??t();y.add(()=>{l--,0===l&&!d&&!c&&(a=Ta(p,o))}),D.subscribe(y),!s&&l>0&&(s=new Hr({next:m=>D.next(m),error:m=>{d=!0,f(),a=Ta(h,n,m),D.error(m)},complete:()=>{c=!0,f(),a=Ta(h,r),D.complete()}}),yt(g).subscribe(s))})(i)}}function Ta(e,t,...n){if(!0===t)return void e();if(!1===t)return;const r=new Hr({next:()=>{r.unsubscribe(),e()}});return yt(t(...n)).subscribe(r)}function Qd(e,t){return Ft((n,r)=>{let o=null,i=0,s=!1;const a=()=>s&&!o&&r.complete();n.subscribe(Rt(r,u=>{o?.unsubscribe();let l=0;const c=i++;yt(e(u,c)).subscribe(o=Rt(r,d=>r.next(t?t(u,d,c,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function X0(e,t){return e===t}function Z(e){for(let t in e)if(e[t]===Z)return t;throw Error("Could not find renamed property on target object.")}function ci(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function ge(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(ge).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function Na(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const J0=Z({__forward_ref__:Z});function X(e){return e.__forward_ref__=X,e.toString=function(){return ge(this())},e}function A(e){return xa(e)?e():e}function xa(e){return"function"==typeof e&&e.hasOwnProperty(J0)&&e.__forward_ref__===X}function Oa(e){return e&&!!e.\u0275providers}const Xd="https://g.co/ng/security#xss";class C extends Error{constructor(t,n){super(function di(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function T(e){return"string"==typeof e?e:null==e?"":String(e)}function Pa(e,t){throw new C(-201,!1)}function et(e,t){null==e&&function I(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function $(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function vt(e){return{providers:e.providers||[],imports:e.imports||[]}}function fi(e){return Jd(e,pi)||Jd(e,Kd)}function Jd(e,t){return e.hasOwnProperty(t)?e[t]:null}function hi(e){return e&&(e.hasOwnProperty(Fa)||e.hasOwnProperty(iC))?e[Fa]:null}const pi=Z({\u0275prov:Z}),Fa=Z({\u0275inj:Z}),Kd=Z({ngInjectableDef:Z}),iC=Z({ngInjectorDef:Z});var V=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}(V||{});let Ra;function He(e){const t=Ra;return Ra=e,t}function tf(e,t,n){const r=fi(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&V.Optional?null:void 0!==t?t:void Pa(ge(e))}const J=globalThis;class b{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=$({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const $r={},Ba="__NG_DI_FLAG__",gi="ngTempTokenPath",uC=/\n/gm,rf="__source";let Bn;function en(e){const t=Bn;return Bn=e,t}function dC(e,t=V.Default){if(void 0===Bn)throw new C(-203,!1);return null===Bn?tf(e,void 0,t):Bn.get(e,t&V.Optional?null:void 0,t)}function F(e,t=V.Default){return(function ef(){return Ra}()||dC)(A(e),t)}function U(e,t=V.Default){return F(e,mi(t))}function mi(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Ha(e){const t=[];for(let n=0;n<e.length;n++){const r=A(e[n]);if(Array.isArray(r)){if(0===r.length)throw new C(900,!1);let o,i=V.Default;for(let s=0;s<r.length;s++){const a=r[s],u=fC(a);"number"==typeof u?-1===u?o=a.token:i|=u:o=a}t.push(F(o,i))}else t.push(F(r))}return t}function Ur(e,t){return e[Ba]=t,e.prototype[Ba]=t,e}function fC(e){return e[Ba]}function kt(e){return{toString:e}.toString()}var yi=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(yi||{}),st=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(st||{});const Dt={},G=[],vi=Z({\u0275cmp:Z}),$a=Z({\u0275dir:Z}),Ua=Z({\u0275pipe:Z}),af=Z({\u0275mod:Z}),Lt=Z({\u0275fac:Z}),Gr=Z({__NG_ELEMENT_ID__:Z}),uf=Z({__NG_ENV_ID__:Z});function lf(e,t,n){let r=e.length;for(;;){const o=e.indexOf(t,n);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}function Ga(e,t,n){let r=0;for(;r<n.length;){const o=n[r];if("number"==typeof o){if(0!==o)break;r++;const i=n[r++],s=n[r++],a=n[r++];e.setAttribute(t,s,a,i)}else{const i=o,s=n[++r];df(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function cf(e){return 3===e||4===e||6===e}function df(e){return 64===e.charCodeAt(0)}function zr(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const o=t[r];"number"==typeof o?n=o:0===n||ff(e,n,o,null,-1===n||2===n?t[++r]:null)}}return e}function ff(e,t,n,r,o){let i=0,s=e.length;if(-1===t)s=-1;else for(;i<e.length;){const a=e[i++];if("number"==typeof a){if(a===t){s=-1;break}if(a>t){s=i-1;break}}}for(;i<e.length;){const a=e[i];if("number"==typeof a)break;if(a===n){if(null===r)return void(null!==o&&(e[i+1]=o));if(r===e[i+1])return void(e[i+2]=o)}i++,null!==r&&i++,null!==o&&i++}-1!==s&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),null!==r&&e.splice(i++,0,r),null!==o&&e.splice(i++,0,o)}const hf="ng-template";function gC(e,t,n){let r=0,o=!0;for(;r<e.length;){let i=e[r++];if("string"==typeof i&&o){const s=e[r++];if(n&&"class"===i&&-1!==lf(s.toLowerCase(),t,0))return!0}else{if(1===i){for(;r<e.length&&"string"==typeof(i=e[r++]);)if(i.toLowerCase()===t)return!0;return!1}"number"==typeof i&&(o=!1)}}return!1}function pf(e){return 4===e.type&&e.value!==hf}function mC(e,t,n){return t===(4!==e.type||n?e.value:hf)}function yC(e,t,n){let r=4;const o=e.attrs||[],i=function _C(e){for(let t=0;t<e.length;t++)if(cf(e[t]))return t;return e.length}(o);let s=!1;for(let a=0;a<t.length;a++){const u=t[a];if("number"!=typeof u){if(!s)if(4&r){if(r=2|1&r,""!==u&&!mC(e,u,n)||""===u&&1===t.length){if(at(r))return!1;s=!0}}else{const l=8&r?u:t[++a];if(8&r&&null!==e.attrs){if(!gC(e.attrs,l,n)){if(at(r))return!1;s=!0}continue}const d=vC(8&r?"class":u,o,pf(e),n);if(-1===d){if(at(r))return!1;s=!0;continue}if(""!==l){let f;f=d>i?"":o[d+1].toLowerCase();const h=8&r?f:null;if(h&&-1!==lf(h,l,0)||2&r&&l!==f){if(at(r))return!1;s=!0}}}}else{if(!s&&!at(r)&&!at(u))return!1;if(s&&at(u))continue;s=!1,r=u|1&r}}return at(r)||s}function at(e){return 0==(1&e)}function vC(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let i=!1;for(;o<t.length;){const s=t[o];if(s===e)return o;if(3===s||6===s)i=!0;else{if(1===s||2===s){let a=t[++o];for(;"string"==typeof a;)a=t[++o];continue}if(4===s)break;if(0===s){o+=4;continue}}o+=i?1:2}return-1}return function CC(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function gf(e,t,n=!1){for(let r=0;r<t.length;r++)if(yC(e,t[r],n))return!0;return!1}function mf(e,t){return e?":not("+t.trim()+")":t}function wC(e){let t=e[0],n=1,r=2,o="",i=!1;for(;n<e.length;){let s=e[n];if("string"==typeof s)if(2&r){const a=e[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else 8&r?o+="."+s:4&r&&(o+=" "+s);else""!==o&&!at(s)&&(t+=mf(i,o),o=""),r=s,i=i||!at(r);n++}return""!==o&&(t+=mf(i,o)),t}function yf(e){return kt(()=>{const t=Df(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===yi.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||st.Emulated,styles:e.styles||G,_:null,schemas:e.schemas||null,tView:null,id:""};_f(n);const r=e.dependencies;return n.directiveDefs=Di(r,!1),n.pipeDefs=Di(r,!0),n.id=function xC(e){let t=0;const n=[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 n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(n),n})}function SC(e){return j(e)||De(e)}function AC(e){return null!==e}function Vt(e){return kt(()=>({type:e.type,bootstrap:e.bootstrap||G,declarations:e.declarations||G,imports:e.imports||G,exports:e.exports||G,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function vf(e,t){if(null==e)return Dt;const n={};for(const r in e)if(e.hasOwnProperty(r)){let o=e[r],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),n[o]=r,t&&(t[o]=i)}return n}function x(e){return kt(()=>{const t=Df(e);return _f(t),t})}function j(e){return e[vi]||null}function De(e){return e[$a]||null}function xe(e){return e[Ua]||null}function Df(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||Dt,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||G,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:vf(e.inputs,t),outputs:vf(e.outputs)}}function _f(e){e.features?.forEach(t=>t(e))}function Di(e,t){if(!e)return null;const n=t?xe:SC;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(AC)}const ae=0,E=1,P=2,re=3,ut=4,Wr=5,be=6,Hn=7,ce=8,tn=9,$n=10,N=11,Zr=12,Cf=13,Un=14,de=15,Yr=16,Gn=17,_t=18,Qr=19,Ef=20,nn=21,jt=22,Xr=23,Jr=24,k=25,za=1,wf=2,Ct=7,zn=9,_e=11;function Ue(e){return Array.isArray(e)&&"object"==typeof e[za]}function Oe(e){return Array.isArray(e)&&!0===e[za]}function qa(e){return 0!=(4&e.flags)}function wn(e){return e.componentOffset>-1}function Ci(e){return 1==(1&e.flags)}function lt(e){return!!e.template}function Wa(e){return 0!=(512&e[P])}function bn(e,t){return e.hasOwnProperty(Lt)?e[Lt]:null}let Ce=null,Ei=!1;function tt(e){const t=Ce;return Ce=e,t}const If={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 Af(e){if(!eo(e)||e.dirty){if(!e.producerMustRecompute(e)&&!xf(e))return void(e.dirty=!1);e.producerRecomputeValue(e),e.dirty=!1}}function Nf(e){e.dirty=!0,function Tf(e){if(void 0===e.liveConsumerNode)return;const t=Ei;Ei=!0;try{for(const n of e.liveConsumerNode)n.dirty||Nf(n)}finally{Ei=t}}(e),e.consumerMarkedDirty?.(e)}function Ya(e){return e&&(e.nextProducerIndex=0),tt(e)}function Qa(e,t){if(tt(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(eo(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)wi(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function xf(e){qn(e);for(let t=0;t<e.producerNode.length;t++){const n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(Af(n),r!==n.version))return!0}return!1}function Of(e){if(qn(e),eo(e))for(let t=0;t<e.producerNode.length;t++)wi(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function wi(e,t){if(function Ff(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}(e),qn(e),1===e.liveConsumerNode.length)for(let r=0;r<e.producerNode.length;r++)wi(e.producerNode[r],e.producerIndexOfThis[r]);const n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){const r=e.liveConsumerIndexOfThis[t],o=e.liveConsumerNode[t];qn(o),o.producerIndexOfThis[r]=t}}function eo(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function qn(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let Rf=null;const jf=()=>{},GC=(()=>({...If,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule(e.ref)},hasRun:!1,cleanupFn:jf}))();class zC{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Bt(){return Bf}function Bf(e){return e.type.prototype.ngOnChanges&&(e.setInput=WC),qC}function qC(){const e=$f(this),t=e?.current;if(t){const n=e.previous;if(n===Dt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function WC(e,t,n,r){const o=this.declaredInputs[n],i=$f(e)||function ZC(e,t){return e[Hf]=t}(e,{previous:Dt,current:null}),s=i.current||(i.current={}),a=i.previous,u=a[o];s[o]=new zC(u&&u.currentValue,t,a===Dt),e[r]=t}Bt.ngInherit=!0;const Hf="__ngSimpleChanges__";function $f(e){return e[Hf]||null}const Et=function(e,t,n){};function K(e){for(;Array.isArray(e);)e=e[ae];return e}function bi(e,t){return K(t[e])}function Ge(e,t){return K(t[e.index])}function zf(e,t){return e.data[t]}function Qe(e,t){const n=t[e];return Ue(n)?n:n[ae]}function on(e,t){return null==t?null:e[t]}function qf(e){e[Gn]=0}function eE(e){1024&e[P]||(e[P]|=1024,Zf(e,1))}function Wf(e){1024&e[P]&&(e[P]&=-1025,Zf(e,-1))}function Zf(e,t){let n=e[re];if(null===n)return;n[Wr]+=t;let r=n;for(n=n[re];null!==n&&(1===t&&1===r[Wr]||-1===t&&0===r[Wr]);)n[Wr]+=t,r=n,n=n[re]}const S={lFrame:ih(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Xf(){return S.bindingsEnabled}function v(){return S.lFrame.lView}function B(){return S.lFrame.tView}function Yn(e){return S.lFrame.contextLView=e,e[ce]}function Qn(e){return S.lFrame.contextLView=null,e}function Ee(){let e=Jf();for(;null!==e&&64===e.type;)e=e.parent;return e}function Jf(){return S.lFrame.currentTNode}function wt(e,t){const n=S.lFrame;n.currentTNode=e,n.isParent=t}function tu(){return S.lFrame.isParent}function Xn(){return S.lFrame.bindingIndex++}function $t(e){const t=S.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function fE(e,t){const n=S.lFrame;n.bindingIndex=n.bindingRootIndex=e,ru(t)}function ru(e){S.lFrame.currentDirectiveIndex=e}function iu(e){S.lFrame.currentQueryIndex=e}function pE(e){const t=e[E];return 2===t.type?t.declTNode:1===t.type?e[be]:null}function rh(e,t,n){if(n&V.SkipSelf){let o=t,i=e;for(;!(o=o.parent,null!==o||n&V.Host||(o=pE(i),null===o||(i=i[Un],10&o.type))););if(null===o)return!1;t=o,e=i}const r=S.lFrame=oh();return r.currentTNode=t,r.lView=e,!0}function su(e){const t=oh(),n=e[E];S.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function oh(){const e=S.lFrame,t=null===e?null:e.child;return null===t?ih(e):t}function ih(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 sh(){const e=S.lFrame;return S.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const ah=sh;function au(){const e=sh();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Fe(){return S.lFrame.selectedIndex}function Mn(e){S.lFrame.selectedIndex=e}function ie(){const e=S.lFrame;return zf(e.tView,e.selectedIndex)}let lh=!0;function Mi(){return lh}function sn(e){lh=e}function Ii(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:u,ngAfterViewChecked:l,ngOnDestroy:c}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),u&&(e.viewHooks??=[]).push(-n,u),l&&((e.viewHooks??=[]).push(n,l),(e.viewCheckHooks??=[]).push(n,l)),null!=c&&(e.destroyHooks??=[]).push(n,c)}}function Si(e,t,n){ch(e,t,3,n)}function Ai(e,t,n,r){(3&e[P])===n&&ch(e,t,n,r)}function uu(e,t){let n=e[P];(3&n)===t&&(n&=8191,n+=1,e[P]=n)}function ch(e,t,n,r){const i=r??-1,s=t.length-1;let a=0;for(let u=void 0!==r?65535&e[Gn]:0;u<s;u++)if("number"==typeof t[u+1]){if(a=t[u],null!=r&&a>=r)break}else t[u]<0&&(e[Gn]+=65536),(a<i||-1==i)&&(EE(e,n,t,u),e[Gn]=(4294901760&e[Gn])+u+2),u++}function dh(e,t){Et(4,e,t);const n=tt(null);try{t.call(e)}finally{tt(n),Et(5,e,t)}}function EE(e,t,n,r){const o=n[r]<0,i=n[r+1],a=e[o?-n[r]:n[r]];o?e[P]>>13<e[Gn]>>16&&(3&e[P])===t&&(e[P]+=8192,dh(a,i)):dh(a,i)}const Jn=-1;class no{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function cu(e){return e!==Jn}function ro(e){return 32767&e}function oo(e,t){let n=function IE(e){return e>>16}(e),r=t;for(;n>0;)r=r[Un],n--;return r}let du=!0;function Ti(e){const t=du;return du=e,t}const fh=255,hh=5;let SE=0;const bt={};function Ni(e,t){const n=ph(e,t);if(-1!==n)return n;const r=t[E];r.firstCreatePass&&(e.injectorIndex=t.length,fu(r.data,e),fu(t,null),fu(r.blueprint,null));const o=xi(e,t),i=e.injectorIndex;if(cu(o)){const s=ro(o),a=oo(o,t),u=a[E].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|u[s+l]}return t[i+8]=o,i}function fu(e,t){e.push(0,0,0,0,0,0,0,0,t)}function ph(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function xi(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;null!==o;){if(r=Ch(o),null===r)return Jn;if(n++,o=o[Un],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return Jn}function hu(e,t,n){!function AE(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Gr)&&(r=n[Gr]),null==r&&(r=n[Gr]=SE++);const o=r&fh;t.data[e+(o>>hh)]|=1<<o}(e,t,n)}function gh(e,t,n){if(n&V.Optional||void 0!==e)return e;Pa()}function mh(e,t,n,r){if(n&V.Optional&&void 0===r&&(r=null),!(n&(V.Self|V.Host))){const o=e[tn],i=He(void 0);try{return o?o.get(t,r,n&V.Optional):tf(t,r,n&V.Optional)}finally{He(i)}}return gh(r,0,n)}function yh(e,t,n,r=V.Default,o){if(null!==e){if(2048&t[P]&&!(r&V.Self)){const s=function FE(e,t,n,r,o){let i=e,s=t;for(;null!==i&&null!==s&&2048&s[P]&&!(512&s[P]);){const a=vh(i,s,n,r|V.Self,bt);if(a!==bt)return a;let u=i.parent;if(!u){const l=s[Ef];if(l){const c=l.get(n,bt,r);if(c!==bt)return c}u=Ch(s),s=s[Un]}i=u}return o}(e,t,n,r,bt);if(s!==bt)return s}const i=vh(e,t,n,r,bt);if(i!==bt)return i}return mh(t,n,r,o)}function vh(e,t,n,r,o){const i=function xE(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(Gr)?e[Gr]:void 0;return"number"==typeof t?t>=0?t&fh:PE:t}(n);if("function"==typeof i){if(!rh(t,e,r))return r&V.Host?gh(o,0,r):mh(t,n,r,o);try{let s;if(s=i(r),null!=s||r&V.Optional)return s;Pa()}finally{ah()}}else if("number"==typeof i){let s=null,a=ph(e,t),u=Jn,l=r&V.Host?t[de][be]:null;for((-1===a||r&V.SkipSelf)&&(u=-1===a?xi(e,t):t[a+8],u!==Jn&&_h(r,!1)?(s=t[E],a=ro(u),t=oo(u,t)):a=-1);-1!==a;){const c=t[E];if(Dh(i,a,c.data)){const d=NE(a,t,n,s,r,l);if(d!==bt)return d}u=t[a+8],u!==Jn&&_h(r,t[E].data[a+8]===l)&&Dh(i,a,t)?(s=c,a=ro(u),t=oo(u,t)):a=-1}}return o}function NE(e,t,n,r,o,i){const s=t[E],a=s.data[e+8],c=function Oi(e,t,n,r,o){const i=e.providerIndexes,s=t.data,a=1048575&i,u=e.directiveStart,c=i>>20,f=o?a+c:e.directiveEnd;for(let h=r?a:a+c;h<f;h++){const p=s[h];if(h<u&&n===p||h>=u&&p.type===n)return h}if(o){const h=s[u];if(h&<(h)&&h.type===n)return u}return null}(a,s,n,null==r?wn(a)&&du:r!=s&&0!=(3&a.type),o&V.Host&&i===a);return null!==c?In(t,s,c,a):bt}function In(e,t,n,r){let o=e[n];const i=t.data;if(function wE(e){return e instanceof no}(o)){const s=o;s.resolving&&function K0(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new C(-200,`Circular dependency in DI detected for ${e}${n}`)}(function W(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():T(e)}(i[n]));const a=Ti(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?He(s.injectImpl):null;rh(e,r,V.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function CE(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const s=Bf(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}(n,i[n],t)}finally{null!==l&&He(l),Ti(a),s.resolving=!1,ah()}}return o}function Dh(e,t,n){return!!(n[t+(e>>hh)]&1<<e)}function _h(e,t){return!(e&V.Self||e&V.Host&&t)}class Re{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return yh(this._tNode,this._lView,t,mi(r),n)}}function PE(){return new Re(Ee(),v())}function pu(e){return xa(e)?()=>{const t=pu(A(e));return t&&t()}:bn(e)}function Ch(e){const t=e[E],n=t.type;return 2===n?t.declTNode:1===n?e[be]:null}const er="__parameters__";function nr(e,t,n){return kt(()=>{const r=function mu(e){return function(...n){if(e){const r=e(...n);for(const o in r)this[o]=r[o]}}}(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;const s=new o(...i);return a.annotation=s,a;function a(u,l,c){const d=u.hasOwnProperty(er)?u[er]:Object.defineProperty(u,er,{value:[]})[er];for(;d.length<=c;)d.push(null);return(d[c]=d[c]||[]).push(s),u}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}function or(e,t){e.forEach(n=>Array.isArray(n)?or(n,t):t(n))}function wh(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Pi(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Xe(e,t,n){let r=ir(e,t);return r>=0?e[1|r]=n:(r=~r,function HE(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(1===o)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function yu(e,t){const n=ir(e,t);if(n>=0)return e[1|n]}function ir(e,t){return function bh(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){const i=r+(o-r>>1),s=e[i<<n];if(t===s)return i<<n;s>t?o=i:r=i+1}return~(o<<n)}(e,t,1)}const Du=Ur(nr("Optional"),8),_u=Ur(nr("SkipSelf"),4);function ji(e){return 128==(128&e.flags)}var an=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(an||{});const bu=new Map;let dw=0;const Iu="__ngContext__";function Ie(e,t){Ue(t)?(e[Iu]=t[Qr],function hw(e){bu.set(e[Qr],e)}(t)):e[Iu]=t}let Su;function Au(e,t){return Su(e,t)}function co(e){const t=e[re];return Oe(t)?t[re]:t}function Gh(e){return qh(e[Zr])}function zh(e){return qh(e[ut])}function qh(e){for(;null!==e&&!Oe(e);)e=e[ut];return e}function ur(e,t,n,r,o){if(null!=r){let i,s=!1;Oe(r)?i=r:Ue(r)&&(s=!0,r=r[ae]);const a=K(r);0===e&&null!==n?null==o?Qh(t,n,a):Sn(t,n,a,o||null,!0):1===e&&null!==n?Sn(t,n,a,o||null,!0):2===e?function qi(e,t,n){const r=Gi(e,t);r&&function Ow(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,a,s):3===e&&t.destroyNode(a),null!=i&&function Rw(e,t,n,r,o){const i=n[Ct];i!==K(n)&&ur(t,e,r,i,o);for(let a=_e;a<n.length;a++){const u=n[a];ho(u[E],u,e,t,r,i)}}(t,e,i,n,o)}}function $i(e,t,n){return e.createElement(t,n)}function Zh(e,t){const n=e[zn],r=n.indexOf(t);Wf(t),n.splice(r,1)}function Ui(e,t){if(e.length<=_e)return;const n=_e+t,r=e[n];if(r){const o=r[Yr];null!==o&&o!==e&&Zh(o,r),t>0&&(e[n-1][ut]=r[ut]);const i=Pi(e,_e+t);!function bw(e,t){ho(e,t,t[N],2,null,null),t[ae]=null,t[be]=null}(r[E],r);const s=i[_t];null!==s&&s.detachView(i[E]),r[re]=null,r[ut]=null,r[P]&=-129}return r}function Nu(e,t){if(!(256&t[P])){const n=t[N];t[Xr]&&Of(t[Xr]),t[Jr]&&Of(t[Jr]),n.destroyNode&&ho(e,t,n,3,null,null),function Sw(e){let t=e[Zr];if(!t)return xu(e[E],e);for(;t;){let n=null;if(Ue(t))n=t[Zr];else{const r=t[_e];r&&(n=r)}if(!n){for(;t&&!t[ut]&&t!==e;)Ue(t)&&xu(t[E],t),t=t[re];null===t&&(t=e),Ue(t)&&xu(t[E],t),n=t&&t[ut]}t=n}}(t)}}function xu(e,t){if(!(256&t[P])){t[P]&=-129,t[P]|=256,function xw(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const o=t[n[r]];if(!(o instanceof no)){const i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){const a=o[i[s]],u=i[s+1];Et(4,a,u);try{u.call(a)}finally{Et(5,a,u)}}else{Et(4,o,i);try{i.call(o)}finally{Et(5,o,i)}}}}}(e,t),function Nw(e,t){const n=e.cleanup,r=t[Hn];if(null!==n)for(let i=0;i<n.length-1;i+=2)if("string"==typeof n[i]){const s=n[i+3];s>=0?r[s]():r[-s].unsubscribe(),i+=2}else n[i].call(r[n[i+1]]);null!==r&&(t[Hn]=null);const o=t[nn];if(null!==o){t[nn]=null;for(let i=0;i<o.length;i++)(0,o[i])()}}(e,t),1===t[E].type&&t[N].destroy();const n=t[Yr];if(null!==n&&Oe(t[re])){n!==t[re]&&Zh(n,t);const r=t[_t];null!==r&&r.detachView(e)}!function pw(e){bu.delete(e[Qr])}(t)}}function Ou(e,t,n){return function Yh(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[ae];{const{componentOffset:o}=r;if(o>-1){const{encapsulation:i}=e.data[r.directiveStart+o];if(i===st.None||i===st.Emulated)return null}return Ge(r,n)}}(e,t.parent,n)}function Sn(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Qh(e,t,n){e.appendChild(t,n)}function Xh(e,t,n,r,o){null!==r?Sn(e,t,n,r,o):Qh(e,t,n)}function Gi(e,t){return e.parentNode(t)}let Pu,Lu,ep=function Kh(e,t,n){return 40&e.type?Ge(e,n):null};function zi(e,t,n,r){const o=Ou(e,r,t),i=t[N],a=function Jh(e,t,n){return ep(e,t,n)}(r.parent||t[be],r,t);if(null!=o)if(Array.isArray(n))for(let u=0;u<n.length;u++)Xh(i,o,n[u],a,!1);else Xh(i,o,n,a,!1);void 0!==Pu&&Pu(i,r,t,n,o)}function fo(e,t){if(null!==t){const n=t.type;if(3&n)return Ge(t,e);if(4&n)return Fu(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return fo(e,r);{const o=e[t.index];return Oe(o)?Fu(-1,o):K(o)}}if(32&n)return Au(t,e)()||K(e[t.index]);{const r=np(e,t);return null!==r?Array.isArray(r)?r[0]:fo(co(e[de]),r):fo(e,t.next)}}return null}function np(e,t){return null!==t?e[de][be].projection[t.projection]:null}function Fu(e,t){const n=_e+e+1;if(n<t.length){const r=t[n],o=r[E].firstChild;if(null!==o)return fo(r,o)}return t[Ct]}function Ru(e,t,n,r,o,i,s){for(;null!=n;){const a=r[n.index],u=n.type;if(s&&0===t&&(a&&Ie(K(a),r),n.flags|=2),32!=(32&n.flags))if(8&u)Ru(e,t,n.child,r,o,i,!1),ur(t,e,o,a,i);else if(32&u){const l=Au(n,r);let c;for(;c=l();)ur(t,e,o,c,i);ur(t,e,o,a,i)}else 16&u?op(e,t,r,n,o,i):ur(t,e,o,a,i);n=s?n.projectionNext:n.next}}function ho(e,t,n,r,o,i){Ru(n,r,e.firstChild,t,o,i,!1)}function op(e,t,n,r,o,i){const s=n[de],u=s[be].projection[r.projection];if(Array.isArray(u))for(let l=0;l<u.length;l++)ur(t,e,o,u[l],i);else{let l=u;const c=s[re];ji(r)&&(l.flags|=128),Ru(e,t,l,c,o,i,!0)}}function ip(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function sp(e,t,n){const{mergedAttrs:r,classes:o,styles:i}=n;null!==r&&Ga(e,t,r),null!==o&&ip(e,t,o),null!==i&&function Lw(e,t,n){e.setAttribute(t,"style",n)}(e,t,i)}class cp{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Xd})`}}function un(e){return e instanceof cp?e.changingThisBreaksApplicationSecurity:e}const Xw=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;var dr=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(dr||{});function Uu(e){const t=function mo(){const e=v();return e&&e[$n].sanitizer}();return t?t.sanitize(dr.URL,e)||"":function po(e,t){const n=function Ww(e){return e instanceof cp&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Xd})`)}return n===t}(e,"URL")?un(e):function ju(e){return(e=String(e)).match(Xw)?e:"unsafe:"+e}(T(e))}const Qi=new b("ENVIRONMENT_INITIALIZER"),vp=new b("INJECTOR",-1),Dp=new b("INJECTOR_DEF_TYPES");class Gu{get(t,n=$r){if(n===$r){const r=new Error(`NullInjectorError: No provider for ${ge(t)}!`);throw r.name="NullInjectorError",r}return n}}function db(...e){return{\u0275providers:_p(0,e),\u0275fromNgModule:!0}}function _p(e,...t){const n=[],r=new Set;let o;const i=s=>{n.push(s)};return or(t,s=>{const a=s;Xi(a,i,[],r)&&(o||=[],o.push(a))}),void 0!==o&&Cp(o,i),n}function Cp(e,t){for(let n=0;n<e.length;n++){const{ngModule:r,providers:o}=e[n];qu(o,i=>{t(i,r)})}}function Xi(e,t,n,r){if(!(e=A(e)))return!1;let o=null,i=hi(e);const s=!i&&j(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const u=e.ngModule;if(i=hi(u),!i)return!1;o=u}const a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){const u="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const l of u)Xi(l,t,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!a){let l;r.add(o);try{or(i.imports,c=>{Xi(c,t,n,r)&&(l||=[],l.push(c))})}finally{}void 0!==l&&Cp(l,t)}if(!a){const l=bn(o)||(()=>new o);t({provide:o,useFactory:l,deps:G},o),t({provide:Dp,useValue:o,multi:!0},o),t({provide:Qi,useValue:()=>F(o),multi:!0},o)}const u=i.providers;if(null!=u&&!a){const l=e;qu(u,c=>{t(c,l)})}}}return o!==e&&void 0!==e.providers}function qu(e,t){for(let n of e)Oa(n)&&(n=n.\u0275providers),Array.isArray(n)?qu(n,t):t(n)}const fb=Z({provide:String,useValue:Z});function Wu(e){return null!==e&&"object"==typeof e&&fb in e}function An(e){return"function"==typeof e}const Zu=new b("Set Injector scope."),Ji={},pb={};let Yu;function Ki(){return void 0===Yu&&(Yu=new Gu),Yu}class Mt{}class fr extends Mt{get destroyed(){return this._destroyed}constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Xu(t,s=>this.processProvider(s)),this.records.set(vp,hr(void 0,this)),o.has("environment")&&this.records.set(Mt,hr(void 0,this));const i=this.records.get(Zu);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Dp.multi,G,V.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const n of this._ngOnDestroyHooks)n.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const n of t)n()}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 n=en(this),r=He(void 0);try{return t()}finally{en(n),He(r)}}get(t,n=$r,r=V.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(uf))return t[uf](this);r=mi(r);const i=en(this),s=He(void 0);try{if(!(r&V.SkipSelf)){let u=this.records.get(t);if(void 0===u){const l=function Db(e){return"function"==typeof e||"object"==typeof e&&e instanceof b}(t)&&fi(t);u=l&&this.injectableDefInScope(l)?hr(Qu(t),Ji):null,this.records.set(t,u)}if(null!=u)return this.hydrate(t,u)}return(r&V.Self?Ki():this.parent).get(t,n=r&V.Optional&&n===$r?null:n)}catch(a){if("NullInjectorError"===a.name){if((a[gi]=a[gi]||[]).unshift(ge(t)),i)throw a;return function hC(e,t,n,r){const o=e[gi];throw t[rf]&&o.unshift(t[rf]),e.message=function pC(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=ge(t);if(Array.isArray(t))o=t.map(ge).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):ge(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(uC,"\n ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[gi]=null,e}(a,t,"R3InjectorError",this.source)}throw a}finally{He(s),en(i)}}resolveInjectorInitializers(){const t=en(this),n=He(void 0);try{const o=this.get(Qi.multi,G,V.Self);for(const i of o)i()}finally{en(t),He(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(ge(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new C(205,!1)}processProvider(t){let n=An(t=A(t))?t:A(t&&t.provide);const r=function mb(e){return Wu(e)?hr(void 0,e.useValue):hr(bp(e),Ji)}(t);if(An(t)||!0!==t.multi)this.records.get(n);else{let o=this.records.get(n);o||(o=hr(void 0,Ji,!0),o.factory=()=>Ha(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===Ji&&(n.value=pb,n.value=n.factory()),"object"==typeof n.value&&n.value&&function vb(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=A(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function Qu(e){const t=fi(e),n=null!==t?t.factory:bn(e);if(null!==n)return n;if(e instanceof b)throw new C(204,!1);if(e instanceof Function)return function gb(e){const t=e.length;if(t>0)throw function ao(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}(t,"?"),new C(204,!1);const n=function oC(e){return e&&(e[pi]||e[Kd])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new C(204,!1)}function bp(e,t,n){let r;if(An(e)){const o=A(e);return bn(o)||Qu(o)}if(Wu(e))r=()=>A(e.useValue);else if(function wp(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Ha(e.deps||[]));else if(function Ep(e){return!(!e||!e.useExisting)}(e))r=()=>F(A(e.useExisting));else{const o=A(e&&(e.useClass||e.provide));if(!function yb(e){return!!e.deps}(e))return bn(o)||Qu(o);r=()=>new o(...Ha(e.deps))}return r}function hr(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Xu(e,t){for(const n of e)Array.isArray(n)?Xu(n,t):n&&Oa(n)?Xu(n.\u0275providers,t):t(n)}const es=new b("AppId",{providedIn:"root",factory:()=>_b}),_b="ng",Mp=new b("Platform Initializer"),Tn=new b("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Ip=new b("CSP nonce",{providedIn:"root",factory:()=>function cr(){if(void 0!==Lu)return Lu;if(typeof document<"u")return document;throw new C(210,!1)}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let Sp=(e,t,n)=>null;function il(e,t,n=!1){return Sp(e,t,n)}class Nb{}class Np{}class Ob{resolveComponentFactory(t){throw function xb(e){const t=Error(`No component factory found for ${ge(e)}.`);return t.ngComponent=e,t}(t)}}let ss=(()=>{class e{static#e=this.NULL=new Ob}return e})();function Pb(){return mr(Ee(),v())}function mr(e,t){return new ct(Ge(e,t))}let ct=(()=>{class e{constructor(n){this.nativeElement=n}static#e=this.__NG_ELEMENT_ID__=Pb}return e})();class Op{}let Nn=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function Rb(){const e=v(),n=Qe(Ee().index,e);return(Ue(n)?n:e)[N]}()}return e})(),kb=(()=>{class e{static#e=this.\u0275prov=$({token:e,providedIn:"root",factory:()=>null})}return e})();class as{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Lb=new as("16.2.12"),ul={};function kp(e,t=null,n=null,r){const o=Lp(e,t,n,r);return o.resolveInjectorInitializers(),o}function Lp(e,t=null,n=null,r,o=new Set){const i=[n||G,db(e)];return r=r||("object"==typeof e?void 0:ge(e)),new fr(i,t||Ki(),r||null,o)}let dt=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=$r;static#t=this.NULL=new Gu;static create(n,r){if(Array.isArray(n))return kp({name:""},r,n,"");{const o=n.name??"";return kp({name:o},n.parent,n.providers,o)}}static#n=this.\u0275prov=$({token:e,providedIn:"any",factory:()=>F(vp)});static#r=this.__NG_ELEMENT_ID__=-1}return e})();function cl(e){return e.ngOriginalError}class Gt{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&cl(t);for(;n&&cl(n);)n=cl(n);return n||null}}function dl(e){return t=>{setTimeout(e,void 0,t)}}const Se=class zb extends ai{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&"object"==typeof t){const u=t;o=u.next?.bind(u),i=u.error?.bind(u),s=u.complete?.bind(u)}this.__isAsync&&(i=dl(i),o&&(o=dl(o)),s&&(s=dl(s)));const a=super.subscribe({next:o,error:i,complete:s});return t instanceof mt&&t.add(a),a}};function jp(...e){}class ue{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Se(!1),this.onMicrotaskEmpty=new Se(!1),this.onStable=new Se(!1),this.onError=new Se(!1),typeof Zone>"u")throw new C(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function qb(){const e="function"==typeof J.requestAnimationFrame;let t=J[e?"requestAnimationFrame":"setTimeout"],n=J[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);const o=n[Zone.__symbol__("OriginalDelegate")];o&&(n=o)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function Yb(e){const t=()=>{!function Zb(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(J,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,hl(e),e.isCheckStableRunning=!0,fl(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),hl(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{if(function Xb(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(a))return n.invokeTask(o,i,s,a);try{return Bp(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),Hp(e)}},onInvoke:(n,r,o,i,s,a,u)=>{try{return Bp(e),n.invoke(o,i,s,a,u)}finally{e.shouldCoalesceRunChangeDetection&&t(),Hp(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,hl(e),fl(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!ue.isInAngularZone())throw new C(909,!1)}static assertNotInAngularZone(){if(ue.isInAngularZone())throw new C(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){const i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,Wb,jp,jp);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const Wb={};function fl(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 hl(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Bp(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Hp(e){e._nesting--,fl(e)}class Qb{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Se,this.onMicrotaskEmpty=new Se,this.onStable=new Se,this.onError=new Se}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}}const $p=new b("",{providedIn:"root",factory:Up});function Up(){const e=U(ue);let t=!0;return function Z0(...e){const t=zd(e),n=function H0(e,t){return"number"==typeof Sa(e)?e.pop():t}(e,1/0),r=e;return r.length?1===r.length?yt(r[0]):function L0(e=1/0){return ui(Ea,e)}(n)(li(r,t)):Gd}(new we(o=>{t=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{o.next(t),o.complete()})}),new we(o=>{let i;e.runOutsideAngular(()=>{i=e.onStable.subscribe(()=>{ue.assertNotInAngularZone(),queueMicrotask(()=>{!t&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(t=!0,o.next(!0))})})});const s=e.onUnstable.subscribe(()=>{ue.assertInAngularZone(),t&&(t=!1,e.runOutsideAngular(()=>{o.next(!1)}))});return()=>{i.unsubscribe(),s.unsubscribe()}}).pipe(Yd()))}function Gp(e){return e.ownerDocument}let pl=(()=>{class e{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}static#e=this.\u0275prov=$({token:e,providedIn:"root",factory:()=>new e})}return e})();function Do(e){for(;e;){e[P]|=64;const t=co(e);if(Wa(e)&&!t)return e;e=t}return null}const Yp=new b("",{providedIn:"root",factory:()=>!1});let cs=null;function Kp(e,t){return e[t]??ng()}function eg(e,t){const n=ng();n.producerNode?.length&&(e[t]=cs,n.lView=e,cs=tg())}const sM={...If,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{Do(e.lView)},lView:null};function tg(){return Object.create(sM)}function ng(){return cs??=tg(),cs}const O={};function Ae(e){rg(B(),v(),Fe()+e,!1)}function rg(e,t,n,r){if(!r)if(3==(3&t[P])){const i=e.preOrderCheckHooks;null!==i&&Si(t,i,n)}else{const i=e.preOrderHooks;null!==i&&Ai(t,i,0,n)}Mn(n)}function _(e,t=V.Default){const n=v();return null===n?F(e,t):yh(Ee(),n,A(e),t)}function ds(e,t,n,r,o,i,s,a,u,l,c){const d=t.blueprint.slice();return d[ae]=o,d[P]=140|r,(null!==l||e&&2048&e[P])&&(d[P]|=2048),qf(d),d[re]=d[Un]=e,d[ce]=n,d[$n]=s||e&&e[$n],d[N]=a||e&&e[N],d[tn]=u||e&&e[tn]||null,d[be]=i,d[Qr]=function fw(){return dw++}(),d[jt]=c,d[Ef]=l,d[de]=2==t.type?e[de]:d,d}function Dr(e,t,n,r,o){let i=e.data[t];if(null===i)i=function gl(e,t,n,r,o){const i=Jf(),s=tu(),u=e.data[t]=function gM(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return function Zn(){return null!==S.skipHydrationRootTNode}()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?i:i&&i.parent,n,t,r,o);return null===e.firstChild&&(e.firstChild=u),null!==i&&(s?null==i.child&&null!==u.parent&&(i.child=u):null===i.next&&(i.next=u,u.prev=i)),u}(e,t,n,r,o),function dE(){return S.lFrame.inI18n}()&&(i.flags|=32);else if(64&i.type){i.type=n,i.value=r,i.attrs=o;const s=function to(){const e=S.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();i.injectorIndex=null===s?-1:s.injectorIndex}return wt(i,!0),i}function _o(e,t,n,r){if(0===n)return-1;const o=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function og(e,t,n,r,o){const i=Kp(t,Xr),s=Fe(),a=2&r;try{Mn(-1),a&&t.length>k&&rg(e,t,k,!1),Et(a?2:0,o);const l=a?i:null,c=Ya(l);try{null!==l&&(l.dirty=!1),n(r,o)}finally{Qa(l,c)}}finally{a&&null===t[Xr]&&eg(t,Xr),Mn(s),Et(a?3:1,o)}}function ml(e,t,n){if(qa(t)){const r=tt(null);try{const i=t.directiveEnd;for(let s=t.directiveStart;s<i;s++){const a=e.data[s];a.contentQueries&&a.contentQueries(1,n[s],s)}}finally{tt(r)}}}function yl(e,t,n){Xf()&&(function EM(e,t,n,r){const o=n.directiveStart,i=n.directiveEnd;wn(n)&&function TM(e,t,n){const r=Ge(t,e),o=ig(n);let s=16;n.signals?s=4096:n.onPush&&(s=64);const a=fs(e,ds(e,o,null,s,r,t,null,e[$n].rendererFactory.createRenderer(r,n),null,null,null));e[t.index]=a}(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||Ni(n,t),Ie(r,t);const s=n.initialInputs;for(let a=o;a<i;a++){const u=e.data[a],l=In(t,e,a,n);Ie(l,t),null!==s&&NM(0,a-o,l,u,0,s),lt(u)&&(Qe(n.index,t)[ce]=In(t,e,a,n))}}(e,t,n,Ge(n,t)),64==(64&n.flags)&&cg(e,t,n))}function vl(e,t,n=Ge){const r=t.localNames;if(null!==r){let o=t.index+1;for(let i=0;i<r.length;i+=2){const s=r[i+1],a=-1===s?n(t,e):e[s];e[o++]=a}}}function ig(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Dl(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Dl(e,t,n,r,o,i,s,a,u,l,c){const d=k+r,f=d+o,h=function lM(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:O);return n}(d,f),p="function"==typeof l?l():l;return h[E]={type:e,blueprint:h,template:n,queries:null,viewQuery:a,declTNode:t,data:h.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:f,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof i?i():i,pipeRegistry:"function"==typeof s?s():s,firstChild:null,schemas:u,consts:p,incompleteFirstPass:!1,ssrId:c}}let sg=e=>null;function ag(e,t,n,r){for(let o in e)if(e.hasOwnProperty(o)){n=null===n?{}:n;const i=e[o];null===r?ug(n,t,o,i):r.hasOwnProperty(o)&&ug(n,t,r[o],i)}return n}function ug(e,t,n,r){e.hasOwnProperty(n)?e[n].push(t,r):e[n]=[t,r]}function Je(e,t,n,r,o,i,s,a){const u=Ge(t,n);let c,l=t.inputs;!a&&null!=l&&(c=l[r])?(bl(e,n,c,r,o),wn(t)&&function vM(e,t){const n=Qe(t,e);16&n[P]||(n[P]|=64)}(n,t.index)):3&t.type&&(r=function yM(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),o=null!=s?s(o,t.value||"",r):o,i.setProperty(u,r,o))}function _l(e,t,n,r){if(Xf()){const o=null===r?null:{"":-1},i=function bM(e,t){const n=e.directiveRegistry;let r=null,o=null;if(n)for(let i=0;i<n.length;i++){const s=n[i];if(gf(t,s.selectors,!1))if(r||(r=[]),lt(s))if(null!==s.findHostDirectiveDefs){const a=[];o=o||new Map,s.findHostDirectiveDefs(s,a,o),r.unshift(...a,s),Cl(e,t,a.length)}else r.unshift(s),Cl(e,t,0);else o=o||new Map,s.findHostDirectiveDefs?.(s,r,o),r.push(s)}return null===r?null:[r,o]}(e,n);let s,a;null===i?s=a=null:[s,a]=i,null!==s&&lg(e,t,n,s,o,a),o&&function MM(e,t,n){if(t){const r=e.localNames=[];for(let o=0;o<t.length;o+=2){const i=n[t[o+1]];if(null==i)throw new C(-301,!1);r.push(t[o],i)}}}(n,r,o)}n.mergedAttrs=zr(n.mergedAttrs,n.attrs)}function lg(e,t,n,r,o,i){for(let l=0;l<r.length;l++)hu(Ni(n,t),e,r[l].type);!function SM(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}(n,e.data.length,r.length);for(let l=0;l<r.length;l++){const c=r[l];c.providersResolver&&c.providersResolver(c)}let s=!1,a=!1,u=_o(e,t,r.length,null);for(let l=0;l<r.length;l++){const c=r[l];n.mergedAttrs=zr(n.mergedAttrs,c.hostAttrs),AM(e,n,t,u,c),IM(u,c,o),null!==c.contentQueries&&(n.flags|=4),(null!==c.hostBindings||null!==c.hostAttrs||0!==c.hostVars)&&(n.flags|=64);const d=c.type.prototype;!s&&(d.ngOnChanges||d.ngOnInit||d.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),s=!0),!a&&(d.ngOnChanges||d.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),a=!0),u++}!function mM(e,t,n){const o=t.directiveEnd,i=e.data,s=t.attrs,a=[];let u=null,l=null;for(let c=t.directiveStart;c<o;c++){const d=i[c],f=n?n.get(d):null,p=f?f.outputs:null;u=ag(d.inputs,c,u,f?f.inputs:null),l=ag(d.outputs,c,l,p);const g=null===u||null===s||pf(t)?null:xM(u,c,s);a.push(g)}null!==u&&(u.hasOwnProperty("class")&&(t.flags|=8),u.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=a,t.inputs=u,t.outputs=l}(e,n,i)}function cg(e,t,n){const r=n.directiveStart,o=n.directiveEnd,i=n.index,s=function hE(){return S.lFrame.currentDirectiveIndex}();try{Mn(i);for(let a=r;a<o;a++){const u=e.data[a],l=t[a];ru(a),(null!==u.hostBindings||0!==u.hostVars||null!==u.hostAttrs)&&wM(u,l)}}finally{Mn(-1),ru(s)}}function wM(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Cl(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function IM(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;lt(t)&&(n[""]=e)}}function AM(e,t,n,r,o){e.data[r]=o;const i=o.factory||(o.factory=bn(o.type)),s=new no(i,lt(o),_);e.blueprint[r]=s,n[r]=s,function _M(e,t,n,r,o){const i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;null===s&&(s=e.hostBindingOpCodes=[]);const a=~t.index;(function CM(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(s)!=a&&s.push(a),s.push(n,r,i)}}(e,t,r,_o(e,n,o.hostVars,O),o)}function NM(e,t,n,r,o,i){const s=i[t];if(null!==s)for(let a=0;a<s.length;)dg(r,n,s[a++],s[a++],s[a++])}function dg(e,t,n,r,o){const i=tt(null);try{const s=e.inputTransforms;null!==s&&s.hasOwnProperty(r)&&(o=s[r].call(t,o)),null!==e.setInput?e.setInput(t,o,n,r):t[r]=o}finally{tt(i)}}function xM(e,t,n){let r=null,o=0;for(;o<n.length;){const i=n[o];if(0!==i)if(5!==i){if("number"==typeof i)break;if(e.hasOwnProperty(i)){null===r&&(r=[]);const s=e[i];for(let a=0;a<s.length;a+=2)if(s[a]===t){r.push(i,s[a+1],n[o+1]);break}}o+=2}else o+=2;else o+=4}return r}function fg(e,t,n,r){return[e,!0,!1,t,null,0,r,n,null,null,null]}function hg(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const i=n[r+1];if(-1!==i){const s=e.data[i];iu(n[r]),s.contentQueries(2,t[i],i)}}}function fs(e,t){return e[Zr]?e[Cf][ut]=t:e[Zr]=t,e[Cf]=t,t}function wl(e,t,n){iu(0);const r=tt(null);try{t(e,n)}finally{tt(r)}}function yg(e,t){const n=e[tn],r=n?n.get(Gt,null):null;r&&r.handleError(t)}function bl(e,t,n,r,o){for(let i=0;i<n.length;){const s=n[i++],a=n[i++];dg(e.data[s],t[s],r,a,o)}}function qt(e,t,n){const r=bi(t,e);!function Wh(e,t,n){e.setValue(t,n)}(e[N],r,n)}function OM(e,t){const n=Qe(t,e),r=n[E];!function PM(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(r,n);const o=n[ae];null!==o&&null===n[jt]&&(n[jt]=il(o,n[tn])),Ml(r,n,n[ce])}function Ml(e,t,n){su(t);try{const r=e.viewQuery;null!==r&&wl(1,r,n);const o=e.template;null!==o&&og(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&hg(e,t),e.staticViewQueries&&wl(2,e.viewQuery,n);const i=e.components;null!==i&&function FM(e,t){for(let n=0;n<t.length;n++)OM(e,t[n])}(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[P]&=-5,au()}}let vg=(()=>{class e{constructor(){this.all=new Set,this.queue=new Map}create(n,r,o){const i=typeof Zone>"u"?null:Zone.current,s=function UC(e,t,n){const r=Object.create(GC);n&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=t;const o=s=>{r.cleanupFn=s};return r.ref={notify:()=>Nf(r),run:()=>{if(r.dirty=!1,r.hasRun&&!xf(r))return;r.hasRun=!0;const s=Ya(r);try{r.cleanupFn(),r.cleanupFn=jf,r.fn(o)}finally{Qa(r,s)}},cleanup:()=>r.cleanupFn()},r.ref}(n,l=>{this.all.has(l)&&this.queue.set(l,i)},o);let a;this.all.add(s),s.notify();const u=()=>{s.cleanup(),a?.(),this.all.delete(s),this.queue.delete(s)};return a=r?.onDestroy(u),{destroy:u}}flush(){if(0!==this.queue.size)for(const[n,r]of this.queue)this.queue.delete(n),r?r.run(()=>n.run()):n.run()}get isQueueEmpty(){return 0===this.queue.size}static#e=this.\u0275prov=$({token:e,providedIn:"root",factory:()=>new e})}return e})();function hs(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(null!==t)for(let s=0;s<t.length;s++){const a=t[s];"number"==typeof a?i=a:1==i?o=Na(o,a):2==i&&(r=Na(r,a+": "+t[++s]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function Co(e,t,n,r,o=!1){for(;null!==n;){const i=t[n.index];null!==i&&r.push(K(i)),Oe(i)&&Dg(i,r);const s=n.type;if(8&s)Co(e,t,n.child,r);else if(32&s){const a=Au(n,t);let u;for(;u=a();)r.push(u)}else if(16&s){const a=np(t,n);if(Array.isArray(a))r.push(...a);else{const u=co(t[de]);Co(u[E],u,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Dg(e,t){for(let n=_e;n<e.length;n++){const r=e[n],o=r[E].firstChild;null!==o&&Co(r[E],r,o,t)}e[Ct]!==e[ae]&&t.push(e[Ct])}function ps(e,t,n,r=!0){const o=t[$n],i=o.rendererFactory,s=o.afterRenderEventManager;i.begin?.(),s?.begin();try{_g(e,t,e.template,n)}catch(u){throw r&&yg(t,u),u}finally{i.end?.(),o.effectManager?.flush(),s?.end()}}function _g(e,t,n,r){const o=t[P];if(256!=(256&o)){t[$n].effectManager?.flush(),su(t);try{qf(t),function eh(e){return S.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&og(e,t,n,2,r);const s=3==(3&o);if(s){const l=e.preOrderCheckHooks;null!==l&&Si(t,l,null)}else{const l=e.preOrderHooks;null!==l&&Ai(t,l,0,null),uu(t,0)}if(function LM(e){for(let t=Gh(e);null!==t;t=zh(t)){if(!t[wf])continue;const n=t[zn];for(let r=0;r<n.length;r++){eE(n[r])}}}(t),Cg(t,2),null!==e.contentQueries&&hg(e,t),s){const l=e.contentCheckHooks;null!==l&&Si(t,l)}else{const l=e.contentHooks;null!==l&&Ai(t,l,1),uu(t,1)}!function uM(e,t){const n=e.hostBindingOpCodes;if(null===n)return;const r=Kp(t,Jr);try{for(let o=0;o<n.length;o++){const i=n[o];if(i<0)Mn(~i);else{const s=i,a=n[++o],u=n[++o];fE(a,s),r.dirty=!1;const l=Ya(r);try{u(2,t[s])}finally{Qa(r,l)}}}}finally{null===t[Jr]&&eg(t,Jr),Mn(-1)}}(e,t);const a=e.components;null!==a&&wg(t,a,0);const u=e.viewQuery;if(null!==u&&wl(2,u,r),s){const l=e.viewCheckHooks;null!==l&&Si(t,l)}else{const l=e.viewHooks;null!==l&&Ai(t,l,2),uu(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[P]&=-73,Wf(t)}finally{au()}}}function Cg(e,t){for(let n=Gh(e);null!==n;n=zh(n))for(let r=_e;r<n.length;r++)Eg(n[r],t)}function VM(e,t,n){Eg(Qe(t,e),n)}function Eg(e,t){if(!function JC(e){return 128==(128&e[P])}(e))return;const n=e[E],r=e[P];if(80&r&&0===t||1024&r||2===t)_g(n,e,n.template,e[ce]);else if(e[Wr]>0){Cg(e,1);const o=n.components;null!==o&&wg(e,o,1)}}function wg(e,t,n){for(let r=0;r<t.length;r++)VM(e,t[r],n)}class Eo{get rootNodes(){const t=this._lView,n=t[E];return Co(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[ce]}set context(t){this._lView[ce]=t}get destroyed(){return 256==(256&this._lView[P])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[re];if(Oe(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(Ui(t,r),Pi(n,r))}this._attachedToViewContainer=!1}Nu(this._lView[E],this._lView)}onDestroy(t){!function Yf(e,t){if(256==(256&e[P]))throw new C(911,!1);null===e[nn]&&(e[nn]=[]),e[nn].push(t)}(this._lView,t)}markForCheck(){Do(this._cdRefInjectingView||this._lView)}detach(){this._lView[P]&=-129}reattach(){this._lView[P]|=128}detectChanges(){ps(this._lView[E],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new C(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function Iw(e,t){ho(e,t,t[N],2,null,null)}(this._lView[E],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new C(902,!1);this._appRef=t}}class jM extends Eo{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;ps(t[E],t,t[ce],!1)}checkNoChanges(){}get context(){return null}}class bg extends ss{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=j(t);return new wo(n,this.ngModule)}}function Mg(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class HM{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=mi(r);const o=this.injector.get(t,ul,r);return o!==ul||n===ul?o:this.parentInjector.get(t,n,r)}}class wo extends Np{get inputs(){const t=this.componentDef,n=t.inputTransforms,r=Mg(t.inputs);if(null!==n)for(const o of r)n.hasOwnProperty(o.propName)&&(o.transform=n[o.propName]);return r}get outputs(){return Mg(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function bC(e){return e.map(wC).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,o){let i=(o=o||this.ngModule)instanceof Mt?o:o?.injector;i&&null!==this.componentDef.getStandaloneInjector&&(i=this.componentDef.getStandaloneInjector(i)||i);const s=i?new HM(t,i):t,a=s.get(Op,null);if(null===a)throw new C(407,!1);const d={rendererFactory:a,sanitizer:s.get(kb,null),effectManager:s.get(vg,null),afterRenderEventManager:s.get(pl,null)},f=a.createRenderer(null,this.componentDef),h=this.componentDef.selectors[0][0]||"div",p=r?function cM(e,t,n,r){const i=r.get(Yp,!1)||n===st.ShadowDom,s=e.selectRootElement(t,i);return function dM(e){sg(e)}(s),s}(f,r,this.componentDef.encapsulation,s):$i(f,h,function BM(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(h)),D=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let m=null;null!==p&&(m=il(p,s,!0));const w=Dl(0,null,null,1,0,null,null,null,null,null,null),M=ds(null,w,null,D,null,null,d,f,s,null,m);let R,ve;su(M);try{const Pt=this.componentDef;let jn,Cd=null;Pt.findHostDirectiveDefs?(jn=[],Cd=new Map,Pt.findHostDirectiveDefs(Pt,jn,Cd),jn.push(Pt)):jn=[Pt];const fF=function UM(e,t){const n=e[E],r=k;return e[r]=t,Dr(n,r,2,"#host",null)}(M,p),hF=function GM(e,t,n,r,o,i,s){const a=o[E];!function zM(e,t,n,r){for(const o of e)t.mergedAttrs=zr(t.mergedAttrs,o.hostAttrs);null!==t.mergedAttrs&&(hs(t,t.mergedAttrs,!0),null!==n&&sp(r,n,t))}(r,e,t,s);let u=null;null!==t&&(u=il(t,o[tn]));const l=i.rendererFactory.createRenderer(t,n);let c=16;n.signals?c=4096:n.onPush&&(c=64);const d=ds(o,ig(n),null,c,o[e.index],e,i,l,null,null,u);return a.firstCreatePass&&Cl(a,e,r.length-1),fs(o,d),o[e.index]=d}(fF,p,Pt,jn,M,d,f);ve=zf(w,k),p&&function WM(e,t,n,r){if(r)Ga(e,n,["ng-version",Lb.full]);else{const{attrs:o,classes:i}=function MC(e){const t=[],n=[];let r=1,o=2;for(;r<e.length;){let i=e[r];if("string"==typeof i)2===o?""!==i&&t.push(i,e[++r]):8===o&&n.push(i);else{if(!at(o))break;o=i}r++}return{attrs:t,classes:n}}(t.selectors[0]);o&&Ga(e,n,o),i&&i.length>0&&ip(e,n,i.join(" "))}}(f,Pt,p,r),void 0!==n&&function ZM(e,t,n){const r=e.projection=[];for(let o=0;o<t.length;o++){const i=n[o];r.push(null!=i?Array.from(i):null)}}(ve,this.ngContentSelectors,n),R=function qM(e,t,n,r,o,i){const s=Ee(),a=o[E],u=Ge(s,o);lg(a,o,s,n,null,r);for(let c=0;c<n.length;c++)Ie(In(o,a,s.directiveStart+c,s),o);cg(a,o,s),u&&Ie(u,o);const l=In(o,a,s.directiveStart+s.componentOffset,s);if(e[ce]=o[ce]=l,null!==i)for(const c of i)c(l,t);return ml(a,s,e),l}(hF,Pt,jn,Cd,M,[YM]),Ml(w,M,null)}finally{au()}return new $M(this.componentType,R,mr(ve,M),M,ve)}}class $M extends Nb{constructor(t,n,r,o,i){super(),this.location=r,this._rootLView=o,this._tNode=i,this.previousInputValues=null,this.instance=n,this.hostView=this.changeDetectorRef=new jM(o),this.componentType=t}setInput(t,n){const r=this._tNode.inputs;let o;if(null!==r&&(o=r[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;const i=this._rootLView;bl(i[E],i,o,t,n),this.previousInputValues.set(t,n),Do(Qe(this._tNode.index,i))}}get injector(){return new Re(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function YM(){const e=Ee();Ii(v()[E],e)}function Y(e){let t=function Ig(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let o;if(lt(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new C(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);const s=e;s.inputs=gs(e.inputs),s.inputTransforms=gs(e.inputTransforms),s.declaredInputs=gs(e.declaredInputs),s.outputs=gs(e.outputs);const a=o.hostBindings;a&&KM(e,a);const u=o.viewQuery,l=o.contentQueries;if(u&&XM(e,u),l&&JM(e,l),ci(e.inputs,o.inputs),ci(e.declaredInputs,o.declaredInputs),ci(e.outputs,o.outputs),null!==o.inputTransforms&&(null===s.inputTransforms&&(s.inputTransforms={}),ci(s.inputTransforms,o.inputTransforms)),lt(o)&&o.data.animation){const c=e.data;c.animation=(c.animation||[]).concat(o.data.animation)}}const i=o.features;if(i)for(let s=0;s<i.length;s++){const a=i[s];a&&a.ngInherit&&a(e),a===Y&&(n=!1)}}t=Object.getPrototypeOf(t)}!function QM(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=zr(o.hostAttrs,n=zr(n,o.hostAttrs))}}(r)}function gs(e){return e===Dt?{}:e===G?[]:e}function XM(e,t){const n=e.viewQuery;e.viewQuery=n?(r,o)=>{t(r,o),n(r,o)}:t}function JM(e,t){const n=e.contentQueries;e.contentQueries=n?(r,o,i)=>{t(r,o,i),n(r,o,i)}:t}function KM(e,t){const n=e.hostBindings;e.hostBindings=n?(r,o)=>{t(r,o),n(r,o)}:t}function ms(e){return!!Il(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Il(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Te(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Cr(e,t,n,r){return Te(e,Xn(),n)?t+T(n)+r:O}function Er(e,t,n,r,o,i){const a=function xn(e,t,n,r){const o=Te(e,t,n);return Te(e,t+1,r)||o}(e,function Ht(){return S.lFrame.bindingIndex}(),n,o);return $t(2),a?t+T(n)+r+T(o)+i:O}function Ol(e,t,n,r,o,i,s,a){const u=v(),l=B(),c=e+k,d=l.firstCreatePass?function MI(e,t,n,r,o,i,s,a,u){const l=t.consts,c=Dr(t,e,4,s||null,on(l,a));_l(t,n,c,on(l,u)),Ii(t,c);const d=c.tView=Dl(2,c,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,l,null);return null!==t.queries&&(t.queries.template(t,c),d.queries=t.queries.embeddedTView(c)),c}(c,l,u,t,n,r,o,i,s):l.data[c];wt(d,!1);const f=$g(l,u,d,e);Mi()&&zi(l,u,f,d),Ie(f,u),fs(u,u[c]=fg(f,u,f,d)),Ci(d)&&yl(l,u,d),null!=s&&vl(u,d,a)}let $g=function Ug(e,t,n,r){return sn(!0),t[N].createComment("")};function Tr(e){return function Wn(e,t){return e[t]}(function cE(){return S.lFrame.contextLView}(),k+e)}function ln(e,t,n){const r=v();return Te(r,Xn(),t)&&Je(B(),ie(),r,e,t,r[N],n,!1),ln}function Pl(e,t,n,r,o){const s=o?"class":"style";bl(e,n,t.inputs[s],s,r)}function L(e,t,n,r){const o=v(),i=B(),s=k+e,a=o[N],u=i.firstCreatePass?function TI(e,t,n,r,o,i){const s=t.consts,u=Dr(t,e,2,r,on(s,o));return _l(t,n,u,on(s,i)),null!==u.attrs&&hs(u,u.attrs,!1),null!==u.mergedAttrs&&hs(u,u.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,u),u}(s,i,o,t,n,r):i.data[s],l=Gg(i,o,u,a,t,e);o[s]=l;const c=Ci(u);return wt(u,!0),sp(a,l,u),32!=(32&u.flags)&&Mi()&&zi(i,o,l,u),0===function nE(){return S.lFrame.elementDepthCount}()&&Ie(l,o),function rE(){S.lFrame.elementDepthCount++}(),c&&(yl(i,o,u),ml(i,u,o)),null!==r&&vl(o,u),L}function H(){let e=Ee();tu()?function nu(){S.lFrame.isParent=!1}():(e=e.parent,wt(e,!1));const t=e;(function iE(e){return S.skipHydrationRootTNode===e})(t)&&function lE(){S.skipHydrationRootTNode=null}(),function oE(){S.lFrame.elementDepthCount--}();const n=B();return n.firstCreatePass&&(Ii(n,e),qa(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function bE(e){return 0!=(8&e.flags)}(t)&&Pl(n,t,v(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function ME(e){return 0!=(16&e.flags)}(t)&&Pl(n,t,v(),t.stylesWithoutHost,!1),H}function ke(e,t,n,r){return L(e,t,n,r),H(),ke}let Gg=(e,t,n,r,o,i)=>(sn(!0),$i(r,o,function uh(){return S.lFrame.currentNamespace}()));function kl(){return v()}function Cs(e){return!!e&&"function"==typeof e.then}function Wg(e){return!!e&&"function"==typeof e.subscribe}function he(e,t,n,r){const o=v(),i=B(),s=Ee();return function Yg(e,t,n,r,o,i,s){const a=Ci(r),l=e.firstCreatePass&&function gg(e){return e.cleanup||(e.cleanup=[])}(e),c=t[ce],d=function pg(e){return e[Hn]||(e[Hn]=[])}(t);let f=!0;if(3&r.type||s){const g=Ge(r,t),y=s?s(g):g,D=d.length,m=s?M=>s(K(M[r.index])):r.index;let w=null;if(!s&&a&&(w=function RI(e,t,n,r){const o=e.cleanup;if(null!=o)for(let i=0;i<o.length-1;i+=2){const s=o[i];if(s===n&&o[i+1]===r){const a=t[Hn],u=o[i+2];return a.length>u?a[u]:null}"string"==typeof s&&(i+=2)}return null}(e,t,o,r.index)),null!==w)(w.__ngLastListenerFn__||w).__ngNextListenerFn__=i,w.__ngLastListenerFn__=i,f=!1;else{i=Xg(r,t,c,i,!1);const M=n.listen(y,o,i);d.push(i,M),l&&l.push(o,m,D,D+1)}}else i=Xg(r,t,c,i,!1);const h=r.outputs;let p;if(f&&null!==h&&(p=h[o])){const g=p.length;if(g)for(let y=0;y<g;y+=2){const R=t[p[y]][p[y+1]].subscribe(i),ve=d.length;d.push(i,R),l&&l.push(o,r.index,ve,-(ve+1))}}}(i,o,o[N],s,e,t,r),he}function Qg(e,t,n,r){try{return Et(6,t,n),!1!==n(r)}catch(o){return yg(e,o),!1}finally{Et(7,t,n)}}function Xg(e,t,n,r,o){return function i(s){if(s===Function)return r;Do(e.componentOffset>-1?Qe(e.index,t):t);let u=Qg(t,n,r,s),l=i.__ngNextListenerFn__;for(;l;)u=Qg(t,n,l,s)&&u,l=l.__ngNextListenerFn__;return o&&!1===u&&s.preventDefault(),u}}function Es(e=1){return function gE(e){return(S.lFrame.contextLView=function mE(e,t){for(;e>0;)t=t[Un],e--;return t}(e,S.lFrame.contextLView))[ce]}(e)}function Ll(e,t,n){return Vl(e,"",t,"",n),Ll}function Vl(e,t,n,r,o){const i=v(),s=Cr(i,t,n,r);return s!==O&&Je(B(),ie(),i,e,s,i[N],o,!1),Vl}function ws(e,t){return e<<17|t<<2}function cn(e){return e>>17&32767}function jl(e){return 2|e}function On(e){return(131068&e)>>2}function Bl(e,t){return-131069&e|t<<2}function Hl(e){return 1|e}function sm(e,t,n,r,o){const i=e[n+1],s=null===t;let a=r?cn(i):On(i),u=!1;for(;0!==a&&(!1===u||s);){const c=e[a+1];GI(e[a],t)&&(u=!0,e[a+1]=r?Hl(c):jl(c)),a=r?cn(c):On(c)}u&&(e[n+1]=r?jl(i):Hl(i))}function GI(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&ir(e,t)>=0}const ye={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function am(e){return e.substring(ye.key,ye.keyEnd)}function um(e,t){const n=ye.textEnd;return n===t?-1:(t=ye.keyEnd=function ZI(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,ye.key=t,n),Nr(e,t,n))}function Nr(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function bs(e,t){return function ft(e,t,n,r){const o=v(),i=B(),s=$t(2);i.firstUpdatePass&&gm(i,e,s,r),t!==O&&Te(o,s,t)&&ym(i,i.data[Fe()],o,o[N],e,o[s+1]=function iS(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=ge(un(e)))),e}(t,n),r,s)}(e,t,null,!0),bs}function Ao(e){!function ht(e,t,n,r){const o=B(),i=$t(2);o.firstUpdatePass&&gm(o,null,i,r);const s=v();if(n!==O&&Te(s,i,n)){const a=o.data[Fe()];if(Dm(a,r)&&!pm(o,i)){let u=r?a.classesWithoutHost:a.stylesWithoutHost;null!==u&&(n=Na(u,n||"")),Pl(o,a,s,n,r)}else!function oS(e,t,n,r,o,i,s,a){o===O&&(o=G);let u=0,l=0,c=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;null!==c||null!==d;){const f=u<o.length?o[u+1]:void 0,h=l<i.length?i[l+1]:void 0;let g,p=null;c===d?(u+=2,l+=2,f!==h&&(p=d,g=h)):null===d||null!==c&&c<d?(u+=2,p=c):(l+=2,p=d,g=h),null!==p&&ym(e,t,n,r,p,g,s,a),c=u<o.length?o[u]:null,d=l<i.length?i[l]:null}}(o,a,s,s[N],s[i+1],s[i+1]=function nS(e,t,n){if(null==n||""===n)return G;const r=[],o=un(n);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if("object"==typeof o)for(const i in o)o.hasOwnProperty(i)&&e(r,i,o[i]);else"string"==typeof o&&t(r,o);return r}(e,t,n),r,i)}}(rS,Tt,e,!0)}function Tt(e,t){for(let n=function qI(e){return function cm(e){ye.key=0,ye.keyEnd=0,ye.value=0,ye.valueEnd=0,ye.textEnd=e.length}(e),um(e,Nr(e,0,ye.textEnd))}(t);n>=0;n=um(t,n))Xe(e,am(t),!0)}function pm(e,t){return t>=e.expandoStartIndex}function gm(e,t,n,r){const o=e.data;if(null===o[n+1]){const i=o[Fe()],s=pm(e,n);Dm(i,r)&&null===t&&!s&&(t=!1),t=function JI(e,t,n,r){const o=function ou(e){const t=S.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let i=r?t.residualClasses:t.residualStyles;if(null===o)0===(r?t.classBindings:t.styleBindings)&&(n=To(n=$l(null,e,t,n,r),t.attrs,r),i=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==o)if(n=$l(o,e,t,n,r),null===i){let u=function KI(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==On(r))return e[cn(r)]}(e,t,r);void 0!==u&&Array.isArray(u)&&(u=$l(null,e,t,u[1],r),u=To(u,t.attrs,r),function eS(e,t,n,r){e[cn(n?t.classBindings:t.styleBindings)]=r}(e,t,r,u))}else i=function tS(e,t,n){let r;const o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++)r=To(r,e[i].hostAttrs,n);return To(r,t.attrs,n)}(e,t,r)}return void 0!==i&&(r?t.residualClasses=i:t.residualStyles=i),n}(o,i,t,r),function $I(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=cn(s),u=On(s);e[r]=n;let c,l=!1;if(Array.isArray(n)?(c=n[1],(null===c||ir(n,c)>0)&&(l=!0)):c=n,o)if(0!==u){const f=cn(e[a+1]);e[r+1]=ws(f,a),0!==f&&(e[f+1]=Bl(e[f+1],r)),e[a+1]=function BI(e,t){return 131071&e|t<<17}(e[a+1],r)}else e[r+1]=ws(a,0),0!==a&&(e[a+1]=Bl(e[a+1],r)),a=r;else e[r+1]=ws(u,0),0===a?a=r:e[u+1]=Bl(e[u+1],r),u=r;l&&(e[r+1]=jl(e[r+1])),sm(e,c,r,!0),sm(e,c,r,!1),function UI(e,t,n,r,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&ir(i,t)>=0&&(n[r+1]=Hl(n[r+1]))}(t,c,e,r,i),s=ws(a,u),i?t.classBindings=s:t.styleBindings=s}(o,i,t,n,s,r)}}function $l(e,t,n,r,o){let i=null;const s=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a<s&&(i=t[a],r=To(r,i.hostAttrs,o),i!==e);)a++;return null!==e&&(n.directiveStylingLast=a),r}function To(e,t,n){const r=n?1:2;let o=-1;if(null!==t)for(let i=0;i<t.length;i++){const s=t[i];"number"==typeof s?o=s:o===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Xe(e,s,!!n||t[++i]))}return void 0===e?null:e}function rS(e,t,n){const r=String(t);""!==r&&!r.includes(" ")&&Xe(e,r,n)}function ym(e,t,n,r,o,i,s,a){if(!(3&t.type))return;const u=e.data,l=u[a+1],c=function HI(e){return 1==(1&e)}(l)?vm(u,t,n,o,On(l),s):void 0;Ms(c)||(Ms(i)||function jI(e){return 2==(2&e)}(l)&&(i=vm(u,null,n,o,a,s)),function kw(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=-1===r.indexOf("-")?void 0:an.DashCase;null==o?e.removeStyle(n,r,i):("string"==typeof o&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=an.Important),e.setStyle(n,r,o,i))}}(r,s,bi(Fe(),n),o,i))}function vm(e,t,n,r,o,i){const s=null===t;let a;for(;o>0;){const u=e[o],l=Array.isArray(u),c=l?u[1]:u,d=null===c;let f=n[o+1];f===O&&(f=d?G:void 0);let h=d?yu(f,r):c===r?f:void 0;if(l&&!Ms(h)&&(h=yu(u,r)),Ms(h)&&(a=h,s))return a;const p=e[o+1];o=s?cn(p):On(p)}if(null!==t){let u=i?t.residualClasses:t.residualStyles;null!=u&&(a=yu(u,r))}return a}function Ms(e){return void 0!==e}function Dm(e,t){return 0!=(e.flags&(t?8:16))}function se(e,t=""){const n=v(),r=B(),o=e+k,i=r.firstCreatePass?Dr(r,o,1,t,null):r.data[o],s=_m(r,n,i,t,e);n[o]=s,Mi()&&zi(r,n,s,i),wt(i,!1)}let _m=(e,t,n,r,o)=>(sn(!0),function Hi(e,t){return e.createText(t)}(t[N],r));function No(e){return Is("",e,""),No}function Is(e,t,n){const r=v(),o=Cr(r,e,t,n);return o!==O&&qt(r,Fe(),o),Is}function Ul(e,t,n,r,o){const i=v(),s=Er(i,e,t,n,r,o);return s!==O&&qt(i,Fe(),s),Ul}const Or="en-US";let Hm=Or;function ql(e,t,n,r,o){if(e=A(e),Array.isArray(e))for(let i=0;i<e.length;i++)ql(e[i],t,n,r,o);else{const i=B(),s=v(),a=Ee();let u=An(e)?e:A(e.provide);const l=bp(e),c=1048575&a.providerIndexes,d=a.directiveStart,f=a.providerIndexes>>20;if(An(e)||!e.multi){const h=new no(l,o,_),p=Zl(u,t,o?c:c+f,d);-1===p?(hu(Ni(a,s),i,u),Wl(i,e,t.length),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(h),s.push(h)):(n[p]=h,s[p]=h)}else{const h=Zl(u,t,c+f,d),p=Zl(u,t,c,c+f),y=p>=0&&n[p];if(o&&!y||!o&&!(h>=0&&n[h])){hu(Ni(a,s),i,u);const D=function IA(e,t,n,r,o){const i=new no(e,n,_);return i.multi=[],i.index=t,i.componentProviders=0,fy(i,o,r&&!n),i}(o?MA:bA,n.length,o,r,l);!o&&y&&(n[p].providerFactory=D),Wl(i,e,t.length,0),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(D),s.push(D)}else Wl(i,e,h>-1?h:p,fy(n[o?p:h],l,!o&&r));!o&&r&&y&&n[p].componentProviders++}}}function Wl(e,t,n,r){const o=An(t),i=function hb(e){return!!e.useClass}(t);if(o||i){const u=(i?A(t.useClass):t).prototype.ngOnDestroy;if(u){const l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const c=l.indexOf(n);-1===c?l.push(n,[r,u]):l[c+1].push(r,u)}else l.push(n,u)}}}function fy(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Zl(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function bA(e,t,n,r){return Yl(this.multi,[])}function MA(e,t,n,r){const o=this.multi;let i;if(this.providerFactory){const s=this.providerFactory.componentProviders,a=In(n,n[E],this.providerFactory.index,r);i=a.slice(0,s),Yl(o,i);for(let u=s;u<a.length;u++)i.push(a[u])}else i=[],Yl(o,i);return i}function Yl(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function oe(e,t=[]){return n=>{n.providersResolver=(r,o)=>function wA(e,t,n){const r=B();if(r.firstCreatePass){const o=lt(e);ql(n,r.data,r.blueprint,o,!0),ql(t,r.data,r.blueprint,o,!1)}}(r,o?o(e):e,t)}}class Fn{}class SA{}class Ql extends Fn{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new bg(this);const o=function Ye(e,t){const n=e[af]||null;if(!n&&!0===t)throw new Error(`Type ${ge(e)} does not have '\u0275mod' property.`);return n}(t);this._bootstrapComponents=function zt(e){return e instanceof Function?e():e}(o.bootstrap),this._r3Injector=Lp(t,n,[{provide:Fn,useValue:this},{provide:ss,useValue:this.componentFactoryResolver},...r],ge(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Xl extends SA{constructor(t){super(),this.moduleType=t}create(t){return new Ql(this.moduleType,t,[])}}function ko(e,t,n,r){return function _y(e,t,n,r,o,i){const s=t+n;return Te(e,s,o)?function St(e,t,n){return e[t]=n}(e,s+1,i?r.call(i,o):r(o)):function Lo(e,t){const n=e[t];return n===O?void 0:n}(e,s+1)}(v(),function Pe(){const e=S.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}(),e,t,n,r)}function iT(e,t,n,r=!0){const o=t[E];if(function Aw(e,t,n,r){const o=_e+r,i=n.length;r>0&&(n[o-1][ut]=t),r<i-_e?(t[ut]=n[o],wh(n,_e+r,t)):(n.push(t),t[ut]=null),t[re]=n;const s=t[Yr];null!==s&&n!==s&&function Tw(e,t){const n=e[zn];t[de]!==t[re][re][de]&&(e[wf]=!0),null===n?e[zn]=[t]:n.push(t)}(s,t);const a=t[_t];null!==a&&a.insertView(e),t[P]|=128}(o,t,e,n),r){const i=Fu(n,e),s=t[N],a=Gi(s,e[Ct]);null!==a&&function Mw(e,t,n,r,o,i){r[ae]=o,r[be]=t,ho(e,r,n,1,o,i)}(o,e[be],s,t,a,i)}}Symbol;let Zt=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=uT}return e})();const sT=Zt,aT=class extends sT{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){const o=function oT(e,t,n,r){const o=t.tView,a=ds(e,o,n,4096&e[P]?4096:16,null,t,null,null,null,r?.injector??null,r?.hydrationInfo??null);a[Yr]=e[t.index];const l=e[_t];return null!==l&&(a[_t]=l.createEmbeddedView(o)),Ml(o,a,n),a}(this._declarationLView,this._declarationTContainer,t,{injector:n,hydrationInfo:r});return new Eo(o)}};function uT(){return function xs(e,t){return 4&e.type?new aT(t,e,mr(e,t)):null}(Ee(),v())}let Nt=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=pT}return e})();function pT(){return function xy(e,t){let n;const r=t[e.index];return Oe(r)?n=r:(n=fg(r,t,null,e),t[e.index]=n,fs(t,n)),Oy(n,t,e,r),new Ty(n,e,t)}(Ee(),v())}const gT=Nt,Ty=class extends gT{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return mr(this._hostTNode,this._hostLView)}get injector(){return new Re(this._hostTNode,this._hostLView)}get parentInjector(){const t=xi(this._hostTNode,this._hostLView);if(cu(t)){const n=oo(t,this._hostLView),r=ro(t);return new Re(n[E].data[r+8],n)}return new Re(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Ny(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-_e}createEmbeddedView(t,n,r){let o,i;"number"==typeof r?o=r:null!=r&&(o=r.index,i=r.injector);const a=t.createEmbeddedViewImpl(n||{},i,null);return this.insertImpl(a,o,false),a}createComponent(t,n,r,o,i){const s=t&&!function so(e){return"function"==typeof e}(t);let a;if(s)a=n;else{const g=n||{};a=g.index,r=g.injector,o=g.projectableNodes,i=g.environmentInjector||g.ngModuleRef}const u=s?t:new wo(j(t)),l=r||this.parentInjector;if(!i&&null==u.ngModule){const y=(s?l:this.parentInjector).get(Mt,null);y&&(i=y)}j(u.componentType??{});const h=u.create(l,o,null,i);return this.insertImpl(h.hostView,a,false),h}insert(t,n){return this.insertImpl(t,n,!1)}insertImpl(t,n,r){const o=t._lView;if(function KC(e){return Oe(e[re])}(o)){const u=this.indexOf(t);if(-1!==u)this.detach(u);else{const l=o[re],c=new Ty(l,l[be],l[re]);c.detach(c.indexOf(t))}}const s=this._adjustIndex(n),a=this._lContainer;return iT(a,o,s,!r),t.attachToViewContainerRef(),wh(ec(a),s,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=Ny(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=Ui(this._lContainer,n);r&&(Pi(ec(this._lContainer),n),Nu(r[E],r))}detach(t){const n=this._adjustIndex(t,-1),r=Ui(this._lContainer,n);return r&&null!=Pi(ec(this._lContainer),n)?new Eo(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Ny(e){return e[8]}function ec(e){return e[8]||(e[8]=[])}let Oy=function Py(e,t,n,r){if(e[Ct])return;let o;o=8&n.type?K(r):function mT(e,t){const n=e[N],r=n.createComment(""),o=Ge(t,e);return Sn(n,Gi(n,o),r,function Pw(e,t){return e.nextSibling(t)}(n,o),!1),r}(t,n),e[Ct]=o};const QT=new b("Application Initializer");let cc=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=U(QT,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const o of this.appInits){const i=o();if(Cs(i))n.push(i);else if(Wg(i)){const s=new Promise((a,u)=>{i.subscribe({complete:a,error:u})});n.push(s)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),0===n.length&&r(),this.initialized=!0}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Yt=new b("LocaleId",{providedIn:"root",factory:()=>U(Yt,V.Optional|V.SkipSelf)||function JT(){return typeof $localize<"u"&&$localize.locale||Or}()});let dc=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Y0(!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)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const iv=new b(""),Rs=new b("");let mc,pc=(()=>{class e{constructor(n,r,o){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,mc||(function wN(e){mc=e}(o),o.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{ue.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(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:o})}whenStable(n,r,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,o){return[]}static#e=this.\u0275fac=function(r){return new(r||e)(F(ue),F(gc),F(Rs))};static#t=this.\u0275prov=$({token:e,factory:e.\u0275fac})}return e})(),gc=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return mc?.findTestabilityInTree(this,n,r)??null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),dn=null;const sv=new b("AllowMultipleToken"),yc=new b("PlatformDestroyListeners"),av=new b("appBootstrapListener");function cv(e,t,n=[]){const r=`Platform: ${t}`,o=new b(r);return(i=[])=>{let s=vc();if(!s||s.injector.get(sv,!1)){const a=[...n,...i,{provide:o,useValue:!0}];e?e(a):function IN(e){if(dn&&!dn.get(sv,!1))throw new C(400,!1);(function uv(){!function VC(e){Rf=e}(()=>{throw new C(600,!1)})})(),dn=e;const t=e.get(fv);(function lv(e){e.get(Mp,null)?.forEach(n=>n())})(e)}(function dv(e=[],t){return dt.create({name:t,providers:[{provide:Zu,useValue:"platform"},{provide:yc,useValue:new Set([()=>dn=null])},...e]})}(a,r))}return function AN(e){const t=vc();if(!t)throw new C(401,!1);return t}()}}function vc(){return dn?.get(fv)??null}let fv=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const o=function TN(e="zone.js",t){return"noop"===e?new Qb:"zone.js"===e?new ue(t):e}(r?.ngZone,function hv(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return o.run(()=>{const i=function TA(e,t,n){return new Ql(e,t,n)}(n.moduleType,this.injector,function vv(e){return[{provide:ue,useFactory:e},{provide:Qi,multi:!0,useFactory:()=>{const t=U(xN,{optional:!0});return()=>t.initialize()}},{provide:yv,useFactory:NN},{provide:$p,useFactory:Up}]}(()=>o)),s=i.injector.get(Gt,null);return o.runOutsideAngular(()=>{const a=o.onError.subscribe({next:u=>{s.handleError(u)}});i.onDestroy(()=>{ks(this._modules,i),a.unsubscribe()})}),function pv(e,t,n){try{const r=n();return Cs(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(s,o,()=>{const a=i.injector.get(cc);return a.runInitializers(),a.donePromise.then(()=>(function $m(e){et(e,"Expected localeId to be defined"),"string"==typeof e&&(Hm=e.toLowerCase().replace(/_/g,"-"))}(i.injector.get(Yt,Or)||Or),this._moduleDoBootstrap(i),i))})})}bootstrapModule(n,r=[]){const o=gv({},r);return function bN(e,t,n){const r=new Xl(n);return Promise.resolve(r)}(0,0,n).then(i=>this.bootstrapModuleFactory(i,o))}_moduleDoBootstrap(n){const r=n.injector.get(Ho);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new C(-403,!1);n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new C(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(yc,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(r){return new(r||e)(F(dt))};static#t=this.\u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function gv(e,t){return Array.isArray(t)?t.reduce(gv,e):{...e,...t}}let Ho=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=U(yv),this.zoneIsStable=U($p),this.componentTypes=[],this.components=[],this.isStable=U(dc).hasPendingTasks.pipe(Qd(n=>n?Aa(!1):this.zoneIsStable),function Q0(e,t=Ea){return e=e??X0,Ft((n,r)=>{let o,i=!0;n.subscribe(Rt(r,s=>{const a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}(),Yd()),this._injector=U(Mt)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const o=n instanceof Np;if(!this._injector.get(cc).done)throw!o&&function qr(e){const t=j(e)||De(e)||xe(e);return null!==t&&t.standalone}(n),new C(405,!1);let s;s=o?n:this._injector.get(ss).resolveComponentFactory(n),this.componentTypes.push(s.componentType);const a=function MN(e){return e.isBoundToModule}(s)?void 0:this._injector.get(Fn),l=s.create(dt.NULL,[],r||s.selector,a),c=l.location.nativeElement,d=l.injector.get(iv,null);return d?.registerApplication(c),l.onDestroy(()=>{this.detachView(l.hostView),ks(this.components,l),d?.unregisterApplication(c)}),this._loadComponent(l),l}tick(){if(this._runningTick)throw new C(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 r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;ks(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(av,[]);r.push(...this._bootstrapListeners),r.forEach(o=>o(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),()=>ks(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new C(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function ks(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const yv=new b("",{providedIn:"root",factory:()=>U(Gt).handleError.bind(void 0)});function NN(){const e=U(ue),t=U(Gt);return n=>e.runOutsideAngular(()=>t.handleError(n))}let xN=(()=>{class e{constructor(){this.zone=U(ue),this.applicationRef=U(Ho)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class bv{constructor(){}supports(t){return ms(t)}create(t){return new jN(t)}}const VN=(e,t)=>t;class jN{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||VN}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){const s=!r||n&&n.currentIndex<Iv(r,o,i)?n:r,a=Iv(s,o,i),u=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(n=n._next,null==s.previousIndex)o++;else{i||(i=[]);const l=a-o,c=u-o;if(l!=c){for(let f=0;f<l;f++){const h=f<i.length?i[f]:i[f]=0,p=h+f;c<=p&&p<l&&(i[f]=h+1)}i[s.previousIndex]=c-l}}a!==u&&t(s,a,u)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)t(n)}diff(t){if(null==t&&(t=[]),!ms(t))throw new C(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let o,i,s,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)i=t[a],s=this._trackByFn(a,i),null!==n&&Object.is(n.trackById,s)?(r&&(n=this._verifyReinsertion(n,i,s,a)),Object.is(n.item,i)||this._addIdentityChange(n,i)):(n=this._mismatch(n,i,s,a),r=!0),n=n._next}else o=0,function aI(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Symbol.iterator]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,a=>{s=this._trackByFn(o,a),null!==n&&Object.is(n.trackById,s)?(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)):(n=this._mismatch(n,a,s,o),r=!0),n=n._next,o++}),this.length=o;return this._truncate(n),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,n,r,o){let i;return null===t?i=this._itTail:(i=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,o))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new BN(n,r),i,o),t}_verifyReinsertion(t,n,r,o){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,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 n=t._next;this._addToRemovals(this._unlink(t)),t=n}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,n,r){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,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const o=null===n?this._itHead:n._next;return t._next=o,t._prev=n,null===o?this._itTail=t:o._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new Mv),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Mv),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,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class BN{constructor(t,n){this.item=t,this.trackById=n,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 HN{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,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class Mv{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new HN,this.map.set(n,r)),r.add(t)}get(t,n){const o=this.map.get(t);return o?o.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Iv(e,t,n){const r=e.previousIndex;if(null===r)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+t+o}class Sv{constructor(){}supports(t){return t instanceof Map||Il(t)}create(){return new $N}}class $N{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let n;for(n=this._mapHead;null!==n;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;null!==n;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;null!==n;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}diff(t){if(t){if(!(t instanceof Map||Il(t)))throw new C(900,!1)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const o=this._records.get(t);this._maybeAddToChanges(o,n);const i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}const r=new UN(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}}class UN{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function Av(){return new js([new bv])}let js=(()=>{class e{static#e=this.\u0275prov=$({token:e,providedIn:"root",factory:Av});constructor(n){this.factories=n}static create(n,r){if(null!=r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Av()),deps:[[e,new _u,new Du]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(null!=r)return r;throw new C(901,!1)}}return e})();function Tv(){return new $o([new Sv])}let $o=(()=>{class e{static#e=this.\u0275prov=$({token:e,providedIn:"root",factory:Tv});constructor(n){this.factories=n}static create(n,r){if(r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Tv()),deps:[[e,new _u,new Du]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(r)return r;throw new C(901,!1)}}return e})();const qN=cv(null,"core",[]);let WN=(()=>{class e{constructor(n){}static#e=this.\u0275fac=function(r){return new(r||e)(F(Ho))};static#t=this.\u0275mod=Vt({type:e});static#n=this.\u0275inj=vt({})}return e})(),Mc=null;function Uo(){return Mc}class sx{}const fn=new b("DocumentToken");function qv(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const r=n.indexOf("="),[o,i]=-1==r?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}class Zx{constructor(t,n,r,o){this.$implicit=t,this.ngForOf=n,this.index=r,this.count=o}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Yv=(()=>{class e{set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}constructor(n,r,o){this._viewContainer=n,this._template=r,this._differs=o,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 r=this._viewContainer;n.forEachOperation((o,i,s)=>{if(null==o.previousIndex)r.createEmbeddedView(this._template,new Zx(o.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)r.remove(null===i?void 0:i);else if(null!==i){const a=r.get(i);r.move(a,s),Qv(a,o)}});for(let o=0,i=r.length;o<i;o++){const a=r.get(o).context;a.index=o,a.count=i,a.ngForOf=this._ngForOf}n.forEachIdentityChange(o=>{Qv(r.get(o.currentIndex),o)})}static ngTemplateContextGuard(n,r){return!0}static#e=this.\u0275fac=function(r){return new(r||e)(_(Nt),_(Zt),_(js))};static#t=this.\u0275dir=x({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return e})();function Qv(e,t){e.context.$implicit=t.item}let Xv=(()=>{class e{constructor(n,r){this._viewContainer=n,this._context=new Yx,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){Jv("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){Jv("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(n,r){return!0}static#e=this.\u0275fac=function(r){return new(r||e)(_(Nt),_(Zt))};static#t=this.\u0275dir=x({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return e})();class Yx{constructor(){this.$implicit=null,this.ngIf=null}}function Jv(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${ge(t)}'.`)}let eD=(()=>{class e{constructor(n,r,o){this._ngEl=n,this._differs=r,this._renderer=o,this._ngStyle=null,this._differ=null}set ngStyle(n){this._ngStyle=n,!this._differ&&n&&(this._differ=this._differs.find(n).create())}ngDoCheck(){if(this._differ){const n=this._differ.diff(this._ngStyle);n&&this._applyChanges(n)}}_setStyle(n,r){const[o,i]=n.split("."),s=-1===o.indexOf("-")?void 0:an.DashCase;null!=r?this._renderer.setStyle(this._ngEl.nativeElement,o,i?`${r}${i}`:r,s):this._renderer.removeStyle(this._ngEl.nativeElement,o,s)}_applyChanges(n){n.forEachRemovedItem(r=>this._setStyle(r.key,null)),n.forEachAddedItem(r=>this._setStyle(r.key,r.currentValue)),n.forEachChangedItem(r=>this._setStyle(r.key,r.currentValue))}static#e=this.\u0275fac=function(r){return new(r||e)(_(ct),_($o),_(Nn))};static#t=this.\u0275dir=x({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return e})(),CO=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Vt({type:e});static#n=this.\u0275inj=vt({})}return e})();function rD(e){return"server"===e}class oD{}class ZO extends sx{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class $c extends ZO{static makeCurrent(){!function ix(e){Mc||(Mc=e)}(new $c)}onAndCancel(t,n,r){return t.addEventListener(n,r),()=>{t.removeEventListener(n,r)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,n){return(n=n||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return"window"===n?window:"document"===n?t:"body"===n?t.body:null}getBaseHref(t){const n=function YO(){return Wo=Wo||document.querySelector("base"),Wo?Wo.getAttribute("href"):null}();return null==n?null:function QO(e){Ks=Ks||document.createElement("a"),Ks.setAttribute("href",e);const t=Ks.pathname;return"/"===t.charAt(0)?t:`/${t}`}(n)}resetBaseElement(){Wo=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return qv(document.cookie,t)}}let Ks,Wo=null,JO=(()=>{class e{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=$({token:e,factory:e.\u0275fac})}return e})();const Uc=new b("EventManagerPlugins");let lD=(()=>{class e{constructor(n,r){this._zone=r,this._eventNameToPlugin=new Map,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,r,o){return this._findPluginFor(r).addEventListener(n,r,o)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(i=>i.supports(n)),!r)throw new C(5101,!1);return this._eventNameToPlugin.set(n,r),r}static#e=this.\u0275fac=function(r){return new(r||e)(F(Uc),F(ue))};static#t=this.\u0275prov=$({token:e,factory:e.\u0275fac})}return e})();class cD{constructor(t){this._doc=t}}const Gc="ng-app-id";let dD=(()=>{class e{constructor(n,r,o,i={}){this.doc=n,this.appId=r,this.nonce=o,this.platformId=i,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=rD(i),this.resetHostNodes()}addStyles(n){for(const r of n)1===this.changeUsageCount(r,1)&&this.onStyleAdded(r)}removeStyles(n){for(const r of n)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){const n=this.styleNodesInDOM;n&&(n.forEach(r=>r.remove()),n.clear());for(const r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(const r of this.getAllStyles())this.addStyleToHost(n,r)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(const r of this.hostNodes)this.addStyleToHost(r,n)}onStyleRemoved(n){const r=this.styleRef;r.get(n)?.elements?.forEach(o=>o.remove()),r.delete(n)}collectServerRenderedStyles(){const n=this.doc.head?.querySelectorAll(`style[${Gc}="${this.appId}"]`);if(n?.length){const r=new Map;return n.forEach(o=>{null!=o.textContent&&r.set(o.textContent,o)}),r}return null}changeUsageCount(n,r){const o=this.styleRef;if(o.has(n)){const i=o.get(n);return i.usage+=r,i.usage}return o.set(n,{usage:r,elements:[]}),r}getStyleElement(n,r){const o=this.styleNodesInDOM,i=o?.get(r);if(i?.parentNode===n)return o.delete(r),i.removeAttribute(Gc),i;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=r,this.platformIsServer&&s.setAttribute(Gc,this.appId),s}}addStyleToHost(n,r){const o=this.getStyleElement(n,r);n.appendChild(o);const i=this.styleRef,s=i.get(r)?.elements;s?s.push(o):i.set(r,{elements:[o],usage:1})}resetHostNodes(){const n=this.hostNodes;n.clear(),n.add(this.doc.head)}static#e=this.\u0275fac=function(r){return new(r||e)(F(fn),F(es),F(Ip,8),F(Tn))};static#t=this.\u0275prov=$({token:e,factory:e.\u0275fac})}return e})();const zc={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/"},qc=/%COMP%/g,n1=new b("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function hD(e,t){return t.map(n=>n.replace(qc,e))}let pD=(()=>{class e{constructor(n,r,o,i,s,a,u,l=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.platformId=a,this.ngZone=u,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=rD(a),this.defaultRenderer=new Wc(n,s,u,this.platformIsServer)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===st.ShadowDom&&(r={...r,encapsulation:st.Emulated});const o=this.getOrCreateRenderer(n,r);return o instanceof mD?o.applyToHost(n):o instanceof Zc&&o.applyStyles(),o}getOrCreateRenderer(n,r){const o=this.rendererByCompId;let i=o.get(r.id);if(!i){const s=this.doc,a=this.ngZone,u=this.eventManager,l=this.sharedStylesHost,c=this.removeStylesOnCompDestroy,d=this.platformIsServer;switch(r.encapsulation){case st.Emulated:i=new mD(u,l,r,this.appId,c,s,a,d);break;case st.ShadowDom:return new s1(u,l,n,r,s,a,this.nonce,d);default:i=new Zc(u,l,r,c,s,a,d)}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(r){return new(r||e)(F(lD),F(dD),F(es),F(n1),F(fn),F(Tn),F(ue),F(Ip))};static#t=this.\u0275prov=$({token:e,factory:e.\u0275fac})}return e})();class Wc{constructor(t,n,r,o){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=o,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,n){return n?this.doc.createElementNS(zc[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(gD(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(gD(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){t&&t.removeChild(n)}selectRootElement(t,n){let r="string"==typeof t?this.doc.querySelector(t):t;if(!r)throw new C(-5104,!1);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;const i=zc[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const o=zc[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){o&(an.DashCase|an.Important)?t.style.setProperty(n,r,o&an.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&an.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t[n]=r}setValue(t,n){t.nodeValue=n}listen(t,n,r){if("string"==typeof t&&!(t=Uo().getGlobalEventTarget(this.doc,t)))throw new Error(`Unsupported event target ${t} for event ${n}`);return this.eventManager.addEventListener(t,n,this.decoratePreventDefault(r))}decoratePreventDefault(t){return n=>{if("__ngUnwrap__"===n)return t;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>t(n)):t(n))&&n.preventDefault()}}}function gD(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class s1 extends Wc{constructor(t,n,r,o,i,s,a,u){super(t,i,s,u),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const l=hD(o.id,o.styles);for(const c of l){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,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(this.nodeOrShadowRoot(t),n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Zc extends Wc{constructor(t,n,r,o,i,s,a,u){super(t,i,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o,this.styles=u?hD(u,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class mD extends Zc{constructor(t,n,r,o,i,s,a,u){const l=o+"-"+r.id;super(t,n,r,i,s,a,u,l),this.contentAttr=function r1(e){return"_ngcontent-%COMP%".replace(qc,e)}(l),this.hostAttr=function o1(e){return"_nghost-%COMP%".replace(qc,e)}(l)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){const r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}}let a1=(()=>{class e extends cD{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o){return n.addEventListener(r,o,!1),()=>this.removeEventListener(n,r,o)}removeEventListener(n,r,o){return n.removeEventListener(r,o)}static#e=this.\u0275fac=function(r){return new(r||e)(F(fn))};static#t=this.\u0275prov=$({token:e,factory:e.\u0275fac})}return e})();const yD=["alt","control","meta","shift"],u1={"\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"},l1={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let c1=(()=>{class e extends cD{constructor(n){super(n)}supports(n){return null!=e.parseEventName(n)}addEventListener(n,r,o){const i=e.parseEventName(r),s=e.eventCallback(i.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Uo().onAndCancel(n,i.domEventName,s))}static parseEventName(n){const r=n.toLowerCase().split("."),o=r.shift();if(0===r.length||"keydown"!==o&&"keyup"!==o)return null;const i=e._normalizeKey(r.pop());let s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),yD.forEach(l=>{const c=r.indexOf(l);c>-1&&(r.splice(c,1),s+=l+".")}),s+=i,0!=r.length||0===i.length)return null;const u={};return u.domEventName=o,u.fullKey=s,u}static matchEventFullKeyCode(n,r){let o=u1[n.key]||n.key,i="";return r.indexOf("code.")>-1&&(o=n.code,i="code."),!(null==o||!o)&&(o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),yD.forEach(s=>{s!==o&&(0,l1[s])(n)&&(i+=s+".")}),i+=o,i===r)}static eventCallback(n,r,o){return i=>{e.matchEventFullKeyCode(i,n)&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return"esc"===n?"escape":n}static#e=this.\u0275fac=function(r){return new(r||e)(F(fn))};static#t=this.\u0275prov=$({token:e,factory:e.\u0275fac})}return e})();const p1=cv(qN,"browser",[{provide:Tn,useValue:"browser"},{provide:Mp,useValue:function d1(){$c.makeCurrent()},multi:!0},{provide:fn,useFactory:function h1(){return function Hw(e){Lu=e}(document),document},deps:[]}]),g1=new b(""),_D=[{provide:Rs,useClass:class XO{addToWindow(t){J.getAngularTestability=(r,o=!0)=>{const i=t.findTestabilityInTree(r,o);if(null==i)throw new C(5103,!1);return i},J.getAllAngularTestabilities=()=>t.getAllTestabilities(),J.getAllAngularRootElements=()=>t.getAllRootElements(),J.frameworkStabilizers||(J.frameworkStabilizers=[]),J.frameworkStabilizers.push(r=>{const o=J.getAllAngularTestabilities();let i=o.length,s=!1;const a=function(u){s=s||u,i--,0==i&&r(s)};o.forEach(u=>{u.whenStable(a)})})}findTestabilityInTree(t,n,r){return null==n?null:t.getTestability(n)??(r?Uo().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}},deps:[]},{provide:iv,useClass:pc,deps:[ue,gc,Rs]},{provide:pc,useClass:pc,deps:[ue,gc,Rs]}],CD=[{provide:Zu,useValue:"root"},{provide:Gt,useFactory:function f1(){return new Gt},deps:[]},{provide:Uc,useClass:a1,multi:!0,deps:[fn,ue,Tn]},{provide:Uc,useClass:c1,multi:!0,deps:[fn]},pD,dD,lD,{provide:Op,useExisting:pD},{provide:oD,useClass:JO,deps:[]},[]];let m1=(()=>{class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:es,useValue:n.appId}]}}static#e=this.\u0275fac=function(r){return new(r||e)(F(g1,12))};static#t=this.\u0275mod=Vt({type:e});static#n=this.\u0275inj=vt({providers:[...CD,..._D],imports:[CO,WN]})}return e})();typeof window<"u"&&window;const{isArray:w1}=Array,{getPrototypeOf:b1,prototype:M1,keys:I1}=Object;const{isArray:T1}=Array;function O1(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function P1(...e){const t=function B0(e){return ne(Sa(e))?e.pop():void 0}(e),{args:n,keys:r}=function S1(e){if(1===e.length){const t=e[0];if(w1(t))return{args:t,keys:null};if(function A1(e){return e&&"object"==typeof e&&b1(e)===M1}(t)){const n=I1(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}(e),o=new we(i=>{const{length:s}=n;if(!s)return void i.complete();const a=new Array(s);let u=s,l=s;for(let c=0;c<s;c++){let d=!1;yt(n[c]).subscribe(Rt(i,f=>{d||(d=!0,l--),a[c]=f},()=>u--,void 0,()=>{(!u||!d)&&(l||i.next(r?O1(r,a):a),i.complete())}))}});return t?o.pipe(function x1(e){return Cn(t=>function N1(e,t){return T1(t)?e(...t):e(t)}(e,t))}(t)):o}let MD=(()=>{class e{constructor(n,r){this._renderer=n,this._elementRef=r,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(n,r){this._renderer.setProperty(this._elementRef.nativeElement,n,r)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}static#e=this.\u0275fac=function(r){return new(r||e)(_(Nn),_(ct))};static#t=this.\u0275dir=x({type:e})}return e})(),kn=(()=>{class e extends MD{static#e=this.\u0275fac=function(){let n;return function(o){return(n||(n=function Me(e){return kt(()=>{const t=e.prototype.constructor,n=t[Lt]||pu(t),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const i=o[Lt]||pu(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}(e)))(o||e)}}();static#t=this.\u0275dir=x({type:e,features:[Y]})}return e})();const xt=new b("NgValueAccessor"),R1={provide:xt,useExisting:X(()=>ea),multi:!0},L1=new b("CompositionEventMode");let ea=(()=>{class e extends MD{constructor(n,r,o){super(n,r),this._compositionMode=o,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function k1(){const e=Uo()?Uo().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)}static#e=this.\u0275fac=function(r){return new(r||e)(_(Nn),_(ct),_(L1,8))};static#t=this.\u0275dir=x({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(r,o){1&r&&he("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:[oe([R1]),Y]})}return e})();function pn(e){return null==e||("string"==typeof e||Array.isArray(e))&&0===e.length}function SD(e){return null!=e&&"number"==typeof e.length}const Ne=new b("NgValidators"),gn=new b("NgAsyncValidators"),V1=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class Qc{static min(t){return function AD(e){return t=>{if(pn(t.value)||pn(e))return null;const n=parseFloat(t.value);return!isNaN(n)&&n<e?{min:{min:e,actual:t.value}}:null}}(t)}static max(t){return function TD(e){return t=>{if(pn(t.value)||pn(e))return null;const n=parseFloat(t.value);return!isNaN(n)&&n>e?{max:{max:e,actual:t.value}}:null}}(t)}static required(t){return function ND(e){return pn(e.value)?{required:!0}:null}(t)}static requiredTrue(t){return function xD(e){return!0===e.value?null:{required:!0}}(t)}static email(t){return function OD(e){return pn(e.value)||V1.test(e.value)?null:{email:!0}}(t)}static minLength(t){return function PD(e){return t=>pn(t.value)||!SD(t.value)?null:t.value.length<e?{minlength:{requiredLength:e,actualLength:t.value.length}}:null}(t)}static maxLength(t){return function FD(e){return t=>SD(t.value)&&t.value.length>e?{maxlength:{requiredLength:e,actualLength:t.value.length}}:null}(t)}static pattern(t){return function RD(e){if(!e)return ta;let t,n;return"string"==typeof e?(n="","^"!==e.charAt(0)&&(n+="^"),n+=e,"$"!==e.charAt(e.length-1)&&(n+="$"),t=new RegExp(n)):(n=e.toString(),t=e),r=>{if(pn(r.value))return null;const o=r.value;return t.test(o)?null:{pattern:{requiredPattern:n,actualValue:o}}}}(t)}static nullValidator(t){return null}static compose(t){return HD(t)}static composeAsync(t){return $D(t)}}function ta(e){return null}function kD(e){return null!=e}function LD(e){return Cs(e)?li(e):e}function VD(e){let t={};return e.forEach(n=>{t=null!=n?{...t,...n}:t}),0===Object.keys(t).length?null:t}function jD(e,t){return t.map(n=>n(e))}function BD(e){return e.map(t=>function j1(e){return!e.validate}(t)?t:n=>t.validate(n))}function HD(e){if(!e)return null;const t=e.filter(kD);return 0==t.length?null:function(n){return VD(jD(n,t))}}function Xc(e){return null!=e?HD(BD(e)):null}function $D(e){if(!e)return null;const t=e.filter(kD);return 0==t.length?null:function(n){return P1(jD(n,t).map(LD)).pipe(Cn(VD))}}function Jc(e){return null!=e?$D(BD(e)):null}function UD(e,t){return null===e?[t]:Array.isArray(e)?[...e,t]:[e,t]}function GD(e){return e._rawValidators}function zD(e){return e._rawAsyncValidators}function Kc(e){return e?Array.isArray(e)?e:[e]:[]}function na(e,t){return Array.isArray(e)?e.includes(t):e===t}function qD(e,t){const n=Kc(t);return Kc(e).forEach(o=>{na(n,o)||n.push(o)}),n}function WD(e,t){return Kc(t).filter(n=>!na(e,n))}class ZD{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=Xc(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=Jc(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,n){return!!this.control&&this.control.hasError(t,n)}getError(t,n){return this.control?this.control.getError(t,n):null}}class Be extends ZD{get formDirective(){return null}get path(){return null}}class mn extends ZD{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class YD{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 QD=(()=>{class e extends YD{constructor(n){super(n)}static#e=this.\u0275fac=function(r){return new(r||e)(_(mn,2))};static#t=this.\u0275dir=x({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,o){2&r&&bs("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:[Y]})}return e})(),XD=(()=>{class e extends YD{constructor(n){super(n)}static#e=this.\u0275fac=function(r){return new(r||e)(_(Be,10))};static#t=this.\u0275dir=x({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(r,o){2&r&&bs("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:[Y]})}return e})();const Zo="VALID",oa="INVALID",kr="PENDING",Yo="DISABLED";function nd(e){return(ia(e)?e.validators:e)||null}function rd(e,t){return(ia(t)?t.asyncValidators:e)||null}function ia(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function KD(e,t,n){const r=e.controls;if(!(t?Object.keys(r):r).length)throw new C(1e3,"");if(!r[n])throw new C(1001,"")}function e_(e,t,n){e._forEachChild((r,o)=>{if(void 0===n[o])throw new C(1002,"")})}class sa{constructor(t,n){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(t),this._assignAsyncValidators(n)}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===Zo}get invalid(){return this.status===oa}get pending(){return this.status==kr}get disabled(){return this.status===Yo}get enabled(){return this.status!==Yo}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(qD(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(qD(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(WD(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(WD(t,this._rawAsyncValidators))}hasValidator(t){return na(this._rawValidators,t)}hasAsyncValidator(t){return na(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(n=>{n.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(n=>{n.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=kr,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const n=this._parentMarkedDirty(t.onlySelf);this.status=Yo,this.errors=null,this._forEachChild(r=>{r.disable({...t,onlySelf:!0})}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...t,skipPristineCheck:n}),this._onDisabledChange.forEach(r=>r(!0))}enable(t={}){const n=this._parentMarkedDirty(t.onlySelf);this.status=Zo,this._forEachChild(r=>{r.enable({...t,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors({...t,skipPristineCheck:n}),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Zo||this.status===kr)&&this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(n=>n._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Yo:Zo}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=kr,this._hasOwnPendingAsyncValidator=!0;const n=LD(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(r=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(r,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,n={}){this.errors=t,this._updateControlsErrors(!1!==n.emitEvent)}get(t){let n=t;return null==n||(Array.isArray(n)||(n=n.split(".")),0===n.length)?null:n.reduce((r,o)=>r&&r._find(o),this)}getError(t,n){const r=n?this.get(n):this;return r&&r.errors?r.errors[t]:null}hasError(t,n){return!!this.getError(t,n)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new Se,this.statusChanges=new Se}_calculateStatus(){return this._allControlsDisabled()?Yo:this.errors?oa:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(kr)?kr:this._anyControlsHaveStatus(oa)?oa:Zo}_anyControlsHaveStatus(t){return this._anyControls(n=>n.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){ia(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 U1(e){return Array.isArray(e)?Xc(e):e||null}(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=function G1(e){return Array.isArray(e)?Jc(e):e||null}(this._rawAsyncValidators)}}class Qo extends sa{constructor(t,n,r){super(nd(n),rd(r,n)),this.controls=t,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,n){return this.controls[t]?this.controls[t]:(this.controls[t]=n,n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange),n)}addControl(t,n,r={}){this.registerControl(t,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(t,n={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}setControl(t,n,r={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],n&&this.registerControl(t,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,n={}){e_(this,0,t),Object.keys(t).forEach(r=>{KD(this,!0,r),this.controls[r].setValue(t[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(t,n={}){null!=t&&(Object.keys(t).forEach(r=>{const o=this.controls[r];o&&o.patchValue(t[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(t={},n={}){this._forEachChild((r,o)=>{r.reset(t?t[o]:null,{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n),this._updateTouched(n),this.updateValueAndValidity(n)}getRawValue(){return this._reduceChildren({},(t,n,r)=>(t[r]=n.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(n,r)=>!!r._syncPendingControls()||n);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(n=>{const r=this.controls[n];r&&t(r,n)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const[n,r]of Object.entries(this.controls))if(this.contains(n)&&t(r))return!0;return!1}_reduceValue(){return this._reduceChildren({},(n,r,o)=>((r.enabled||this.disabled)&&(n[o]=r.value),n))}_reduceChildren(t,n){let r=t;return this._forEachChild((o,i)=>{r=n(r,o,i)}),r}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}}class t_ extends Qo{}const Lr=new b("CallSetDisabledState",{providedIn:"root",factory:()=>aa}),aa="always";function Xo(e,t,n=aa){od(e,t),t.valueAccessor.writeValue(e.value),(e.disabled||"always"===n)&&t.valueAccessor.setDisabledState?.(e.disabled),function q1(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&n_(e,t)})}(e,t),function Z1(e,t){const n=(r,o)=>{t.valueAccessor.writeValue(r),o&&t.viewToModelUpdate(r)};e.registerOnChange(n),t._registerOnDestroy(()=>{e._unregisterOnChange(n)})}(e,t),function W1(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&n_(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),function z1(e,t){if(t.valueAccessor.setDisabledState){const n=r=>{t.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}(e,t)}function la(e,t,n=!0){const r=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(r),t.valueAccessor.registerOnTouched(r)),da(e,t),e&&(t._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}function ca(e,t){e.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(t)})}function od(e,t){const n=GD(e);null!==t.validator?e.setValidators(UD(n,t.validator)):"function"==typeof n&&e.setValidators([n]);const r=zD(e);null!==t.asyncValidator?e.setAsyncValidators(UD(r,t.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]);const o=()=>e.updateValueAndValidity();ca(t._rawValidators,o),ca(t._rawAsyncValidators,o)}function da(e,t){let n=!1;if(null!==e){if(null!==t.validator){const o=GD(e);if(Array.isArray(o)&&o.length>0){const i=o.filter(s=>s!==t.validator);i.length!==o.length&&(n=!0,e.setValidators(i))}}if(null!==t.asyncValidator){const o=zD(e);if(Array.isArray(o)&&o.length>0){const i=o.filter(s=>s!==t.asyncValidator);i.length!==o.length&&(n=!0,e.setAsyncValidators(i))}}}const r=()=>{};return ca(t._rawValidators,r),ca(t._rawAsyncValidators,r),n}function n_(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function i_(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function s_(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}const Ko=class extends sa{constructor(t=null,n,r){super(nd(n),rd(r,n)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(n),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),ia(n)&&(n.nonNullable||n.initialValueIsDefault)&&(this.defaultValue=s_(t)?t.value:t)}setValue(t,n={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==n.emitModelToViewChange&&this._onChange.forEach(r=>r(this.value,!1!==n.emitViewToModelChange)),this.updateValueAndValidity(n)}patchValue(t,n={}){this.setValue(t,n)}reset(t=this.defaultValue,n={}){this._applyFormState(t),this.markAsPristine(n),this.markAsUntouched(n),this.setValue(this.value,n),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){i_(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){i_(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){s_(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}};let f_=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Vt({type:e});static#n=this.\u0275inj=vt({})}return e})();const ld=new b("NgModelWithFormControlWarning"),lP={provide:Be,useExisting:X(()=>fa)};let fa=(()=>{class e extends Be{constructor(n,r,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new Se,this._setValidators(n),this._setAsyncValidators(r)}ngOnChanges(n){this._checkFormPresent(),n.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(da(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(n){const r=this.form.get(n.path);return Xo(r,n,this.callSetDisabledState),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(n),r}getControl(n){return this.form.get(n.path)}removeControl(n){la(n.control||null,n,!1),function J1(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}(this.directives,n)}addFormGroup(n){this._setUpFormContainer(n)}removeFormGroup(n){this._cleanUpFormContainer(n)}getFormGroup(n){return this.form.get(n.path)}addFormArray(n){this._setUpFormContainer(n)}removeFormArray(n){this._cleanUpFormContainer(n)}getFormArray(n){return this.form.get(n.path)}updateModel(n,r){this.form.get(n.path).setValue(r)}onSubmit(n){return this.submitted=!0,function o_(e,t){e._syncPendingControls(),t.forEach(n=>{const r=n.control;"submit"===r.updateOn&&r._pendingChange&&(n.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}(this.form,this.directives),this.ngSubmit.emit(n),"dialog"===n?.target?.method}onReset(){this.resetForm()}resetForm(n=void 0){this.form.reset(n),this.submitted=!1}_updateDomValue(){this.directives.forEach(n=>{const r=n.control,o=this.form.get(n.path);r!==o&&(la(r||null,n),(e=>e instanceof Ko)(o)&&(Xo(o,n,this.callSetDisabledState),n.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(n){const r=this.form.get(n.path);(function r_(e,t){od(e,t)})(r,n),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(n){if(this.form){const r=this.form.get(n.path);r&&function Y1(e,t){return da(e,t)}(r,n)&&r.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){od(this.form,this),this._oldForm&&da(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(r){return new(r||e)(_(Ne,10),_(gn,10),_(Lr,8))};static#t=this.\u0275dir=x({type:e,selectors:[["","formGroup",""]],hostBindings:function(r,o){1&r&&he("submit",function(s){return o.onSubmit(s)})("reset",function(){return o.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[oe([lP]),Y,Bt]})}return e})();const fP={provide:mn,useExisting:X(()=>fd)};let fd=(()=>{class e extends mn{set isDisabled(n){}static#e=this._ngModelWarningSentOnce=!1;constructor(n,r,o,i,s){super(),this._ngModelWarningConfig=s,this._added=!1,this.name=null,this.update=new Se,this._ngModelWarningSent=!1,this._parent=n,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=function ad(e,t){if(!t)return null;let n,r,o;return Array.isArray(t),t.forEach(i=>{i.constructor===ea?n=i:function X1(e){return Object.getPrototypeOf(e.constructor)===kn}(i)?r=i:o=i}),o||r||n||null}(0,i)}ngOnChanges(n){this._added||this._setUpControl(),function sd(e,t){if(!e.hasOwnProperty("model"))return!1;const n=e.model;return!!n.isFirstChange()||!Object.is(t,n.currentValue)}(n,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}get path(){return function ua(e,t){return[...t.path,e]}(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static#t=this.\u0275fac=function(r){return new(r||e)(_(Be,13),_(Ne,10),_(gn,10),_(xt,10),_(ld,8))};static#n=this.\u0275dir=x({type:e,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[oe([fP]),Y,Bt]})}return e})(),SP=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Vt({type:e});static#n=this.\u0275inj=vt({imports:[f_]})}return e})();class A_ extends sa{constructor(t,n,r){super(nd(n),rd(r,n)),this.controls=t,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(t){return this.controls[this._adjustIndex(t)]}push(t,n={}){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}insert(t,n,r={}){this.controls.splice(t,0,n),this._registerControl(n),this.updateValueAndValidity({emitEvent:r.emitEvent})}removeAt(t,n={}){let r=this._adjustIndex(t);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),this.updateValueAndValidity({emitEvent:n.emitEvent})}setControl(t,n,r={}){let o=this._adjustIndex(t);o<0&&(o=0),this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),this.controls.splice(o,1),n&&(this.controls.splice(o,0,n),this._registerControl(n)),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,n={}){e_(this,0,t),t.forEach((r,o)=>{KD(this,!1,o),this.at(o).setValue(r,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(t,n={}){null!=t&&(t.forEach((r,o)=>{this.at(o)&&this.at(o).patchValue(r,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(t=[],n={}){this._forEachChild((r,o)=>{r.reset(t[o],{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n),this._updateTouched(n),this.updateValueAndValidity(n)}getRawValue(){return this.controls.map(t=>t.getRawValue())}clear(t={}){this.controls.length<1||(this._forEachChild(n=>n._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:t.emitEvent}))}_adjustIndex(t){return t<0?t+this.length:t}_syncPendingControls(){let t=this.controls.reduce((n,r)=>!!r._syncPendingControls()||n,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){this.controls.forEach((n,r)=>{t(n,r)})}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value)}_anyControls(t){return this.controls.some(n=>n.enabled&&t(n))}_setUpControls(){this._forEachChild(t=>this._registerControl(t))}_allControlsDisabled(){for(const t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}_find(t){return this.at(t)??null}}function T_(e){return!!e&&(void 0!==e.asyncValidators||void 0!==e.validators||void 0!==e.updateOn)}let AP=(()=>{class e{constructor(){this.useNonNullable=!1}get nonNullable(){const n=new e;return n.useNonNullable=!0,n}group(n,r=null){const o=this._reduceControls(n);let i={};return T_(r)?i=r:null!==r&&(i.validators=r.validator,i.asyncValidators=r.asyncValidator),new Qo(o,i)}record(n,r=null){const o=this._reduceControls(n);return new t_(o,r)}control(n,r,o){let i={};return this.useNonNullable?(T_(r)?i=r:(i.validators=r,i.asyncValidators=o),new Ko(n,{...i,nonNullable:!0})):new Ko(n,r,o)}array(n,r,o){const i=n.map(s=>this._createControl(s));return new A_(i,r,o)}_reduceControls(n){const r={};return Object.keys(n).forEach(o=>{r[o]=this._createControl(n[o])}),r}_createControl(n){return n instanceof Ko||n instanceof sa?n:Array.isArray(n)?this.control(n[0],n.length>1?n[1]:null,n.length>2?n[2]:null):this.control(n)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),TP=(()=>{class e{static withConfig(n){return{ngModule:e,providers:[{provide:ld,useValue:n.warnOnNgModelWithFormControl??"always"},{provide:Lr,useValue:n.callSetDisabledState??aa}]}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Vt({type:e});static#n=this.\u0275inj=vt({imports:[SP]})}return e})();function N_(e){return Ft((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}class ha{}class pa{}class Ot{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?"string"==typeof t?this.lazyInit=()=>{this.headers=new Map,t.split("\n").forEach(n=>{const r=n.indexOf(":");if(r>0){const o=n.slice(0,r),i=o.toLowerCase(),s=n.slice(r+1).trim();this.maybeSetNormalizedName(o,i),this.headers.has(i)?this.headers.get(i).push(s):this.headers.set(i,[s])}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((n,r)=>{this.setHeaderEntries(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof Ot?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){const n=new Ot;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof Ot?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){const n=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if("string"==typeof r&&(r=[r]),0===r.length)return;this.maybeSetNormalizedName(t.name,n);const o=("a"===t.op?this.headers.get(n):void 0)||[];o.push(...r),this.headers.set(n,o);break;case"d":const i=t.value;if(i){let s=this.headers.get(n);if(!s)return;s=s.filter(a=>-1===i.indexOf(a)),0===s.length?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}else this.headers.delete(n),this.normalizedNames.delete(n)}}setHeaderEntries(t,n){const r=(Array.isArray(n)?n:[n]).map(i=>i.toString()),o=t.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(t,o)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}}class OP{encodeKey(t){return x_(t)}encodeValue(t){return x_(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const FP=/%(\d[a-f0-9])/gi,RP={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function x_(e){return encodeURIComponent(e).replace(FP,(t,n)=>RP[n]??t)}function ga(e){return`${e}`}class yn{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new OP,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function PP(e,t){const n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{const i=o.indexOf("="),[s,a]=-1==i?[t.decodeKey(o),""]:[t.decodeKey(o.slice(0,i)),t.decodeValue(o.slice(i+1))],u=n.get(s)||[];u.push(a),n.set(s,u)}),n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{const r=t.fromObject[n],o=Array.isArray(r)?r.map(ga):[ga(r)];this.map.set(n,o)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){const n=[];return Object.keys(t).forEach(r=>{const o=t[r];Array.isArray(o)?o.forEach(i=>{n.push({param:r,value:i,op:"a"})}):n.push({param:r,value:o,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const n=this.encoder.encodeKey(t);return this.map.get(t).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const n=new yn({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const n=("a"===t.op?this.map.get(t.param):void 0)||[];n.push(ga(t.value)),this.map.set(t.param,n);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let r=this.map.get(t.param)||[];const o=r.indexOf(ga(t.value));-1!==o&&r.splice(o,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class kP{constructor(){this.map=new Map}set(t,n){return this.map.set(t,n),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}}function O_(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function P_(e){return typeof Blob<"u"&&e instanceof Blob}function F_(e){return typeof FormData<"u"&&e instanceof FormData}class ei{constructor(t,n,r,o){let i;if(this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function LP(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||o?(this.body=void 0!==r?r:null,i=o):i=r,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params)),this.headers||(this.headers=new Ot),this.context||(this.context=new kP),this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=n;else{const a=n.indexOf("?");this.urlWithParams=n+(-1===a?"?":a<n.length-1?"&":"")+s}}else this.params=new yn,this.urlWithParams=n}serializeBody(){return null===this.body?null:O_(this.body)||P_(this.body)||F_(this.body)||function VP(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof yn?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||F_(this.body)?null:P_(this.body)?this.body.type||null:O_(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof yn?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(t={}){const n=t.method||this.method,r=t.url||this.url,o=t.responseType||this.responseType,i=void 0!==t.body?t.body:this.body,s=void 0!==t.withCredentials?t.withCredentials:this.withCredentials,a=void 0!==t.reportProgress?t.reportProgress:this.reportProgress;let u=t.headers||this.headers,l=t.params||this.params;const c=t.context??this.context;return void 0!==t.setHeaders&&(u=Object.keys(t.setHeaders).reduce((d,f)=>d.set(f,t.setHeaders[f]),u)),t.setParams&&(l=Object.keys(t.setParams).reduce((d,f)=>d.set(f,t.setParams[f]),l)),new ei(n,r,i,{params:l,headers:u,context:c,reportProgress:a,responseType:o,withCredentials:s})}}var Vr=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}(Vr||{});class md{constructor(t,n=200,r="OK"){this.headers=t.headers||new Ot,this.status=void 0!==t.status?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class yd extends md{constructor(t={}){super(t),this.type=Vr.ResponseHeader}clone(t={}){return new yd({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 jr extends md{constructor(t={}){super(t),this.type=Vr.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new jr({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 R_ extends md{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 vd(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 k_=(()=>{class e{constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof ei)i=n;else{let u,l;u=o.headers instanceof Ot?o.headers:new Ot(o.headers),o.params&&(l=o.params instanceof yn?o.params:new yn({fromObject:o.params})),i=new ei(n,r,void 0!==o.body?o.body:null,{headers:u,context:o.context,params:l,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials})}const s=Aa(i).pipe(function NP(e,t){return ne(t)?ui(e,t,1):ui(e,1)}(u=>this.handler.handle(u)));if(n instanceof ei||"events"===o.observe)return s;const a=s.pipe(function xP(e,t){return Ft((n,r)=>{let o=0;n.subscribe(Rt(r,i=>e.call(t,i,o++)&&r.next(i)))})}(u=>u instanceof jr));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(Cn(u=>{if(null!==u.body&&!(u.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return u.body}));case"blob":return a.pipe(Cn(u=>{if(null!==u.body&&!(u.body instanceof Blob))throw new Error("Response is not a Blob.");return u.body}));case"text":return a.pipe(Cn(u=>{if(null!==u.body&&"string"!=typeof u.body)throw new Error("Response is not a string.");return u.body}));default:return a.pipe(Cn(u=>u.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:(new yn).append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,o={}){return this.request("PATCH",n,vd(o,r))}post(n,r,o={}){return this.request("POST",n,vd(o,r))}put(n,r,o={}){return this.request("PUT",n,vd(o,r))}static#e=this.\u0275fac=function(r){return new(r||e)(F(ha))};static#t=this.\u0275prov=$({token:e,factory:e.\u0275fac})}return e})();function j_(e,t){return t(e)}function BP(e,t){return(n,r)=>t.intercept(n,{handle:o=>e(o,r)})}const $P=new b(""),ti=new b(""),B_=new b("");function UP(){let e=null;return(t,n)=>{null===e&&(e=(U($P,{optional:!0})??[]).reduceRight(BP,j_));const r=U(dc),o=r.add();return e(t,n).pipe(N_(()=>r.remove(o)))}}let H_=(()=>{class e extends ha{constructor(n,r){super(),this.backend=n,this.injector=r,this.chain=null,this.pendingTasks=U(dc)}handle(n){if(null===this.chain){const o=Array.from(new Set([...this.injector.get(ti),...this.injector.get(B_,[])]));this.chain=o.reduceRight((i,s)=>function HP(e,t,n){return(r,o)=>n.runInContext(()=>t(r,i=>e(i,o)))}(i,s,this.injector),j_)}const r=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(N_(()=>this.pendingTasks.remove(r)))}static#e=this.\u0275fac=function(r){return new(r||e)(F(pa),F(Mt))};static#t=this.\u0275prov=$({token:e,factory:e.\u0275fac})}return e})();const WP=/^\)\]\}',?\n/;let U_=(()=>{class e{constructor(n){this.xhrFactory=n}handle(n){if("JSONP"===n.method)throw new C(-2800,!1);const r=this.xhrFactory;return(r.\u0275loadImpl?li(r.\u0275loadImpl()):Aa(null)).pipe(Qd(()=>new we(i=>{const s=r.build();if(s.open(n.method,n.urlWithParams),n.withCredentials&&(s.withCredentials=!0),n.headers.forEach((g,y)=>s.setRequestHeader(g,y.join(","))),n.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){const g=n.detectContentTypeHeader();null!==g&&s.setRequestHeader("Content-Type",g)}if(n.responseType){const g=n.responseType.toLowerCase();s.responseType="json"!==g?g:"text"}const a=n.serializeBody();let u=null;const l=()=>{if(null!==u)return u;const g=s.statusText||"OK",y=new Ot(s.getAllResponseHeaders()),D=function ZP(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(s)||n.url;return u=new yd({headers:y,status:s.status,statusText:g,url:D}),u},c=()=>{let{headers:g,status:y,statusText:D,url:m}=l(),w=null;204!==y&&(w=typeof s.response>"u"?s.responseText:s.response),0===y&&(y=w?200:0);let M=y>=200&&y<300;if("json"===n.responseType&&"string"==typeof w){const R=w;w=w.replace(WP,"");try{w=""!==w?JSON.parse(w):null}catch(ve){w=R,M&&(M=!1,w={error:ve,text:w})}}M?(i.next(new jr({body:w,headers:g,status:y,statusText:D,url:m||void 0})),i.complete()):i.error(new R_({error:w,headers:g,status:y,statusText:D,url:m||void 0}))},d=g=>{const{url:y}=l(),D=new R_({error:g,status:s.status||0,statusText:s.statusText||"Unknown Error",url:y||void 0});i.error(D)};let f=!1;const h=g=>{f||(i.next(l()),f=!0);let y={type:Vr.DownloadProgress,loaded:g.loaded};g.lengthComputable&&(y.total=g.total),"text"===n.responseType&&s.responseText&&(y.partialText=s.responseText),i.next(y)},p=g=>{let y={type:Vr.UploadProgress,loaded:g.loaded};g.lengthComputable&&(y.total=g.total),i.next(y)};return s.addEventListener("load",c),s.addEventListener("error",d),s.addEventListener("timeout",d),s.addEventListener("abort",d),n.reportProgress&&(s.addEventListener("progress",h),null!==a&&s.upload&&s.upload.addEventListener("progress",p)),s.send(a),i.next({type:Vr.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",c),s.removeEventListener("timeout",d),n.reportProgress&&(s.removeEventListener("progress",h),null!==a&&s.upload&&s.upload.removeEventListener("progress",p)),s.readyState!==s.DONE&&s.abort()}})))}static#e=this.\u0275fac=function(r){return new(r||e)(F(oD))};static#t=this.\u0275prov=$({token:e,factory:e.\u0275fac})}return e})();const Dd=new b("XSRF_ENABLED"),G_=new b("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),z_=new b("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class q_{}let XP=(()=>{class e{constructor(n,r,o){this.doc=n,this.platform=r,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=qv(n,this.cookieName),this.lastCookieString=n),this.lastToken}static#e=this.\u0275fac=function(r){return new(r||e)(F(fn),F(Tn),F(G_))};static#t=this.\u0275prov=$({token:e,factory:e.\u0275fac})}return e})();function JP(e,t){const n=e.url.toLowerCase();if(!U(Dd)||"GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t(e);const r=U(q_).getToken(),o=U(z_);return null!=r&&!e.headers.has(o)&&(e=e.clone({headers:e.headers.set(o,r)})),t(e)}var vn=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}(vn||{});function KP(...e){const t=[k_,U_,H_,{provide:ha,useExisting:H_},{provide:pa,useExisting:U_},{provide:ti,useValue:JP,multi:!0},{provide:Dd,useValue:!0},{provide:q_,useClass:XP}];for(const n of e)t.push(...n.\u0275providers);return function zu(e){return{\u0275providers:e}}(t)}const W_=new b("LEGACY_INTERCEPTOR_FN");function eF(){return function Vn(e,t){return{\u0275kind:e,\u0275providers:t}}(vn.LegacyInterceptors,[{provide:W_,useFactory:UP},{provide:ti,useExisting:W_,multi:!0}])}let tF=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Vt({type:e});static#n=this.\u0275inj=vt({providers:[KP(eF())]})}return e})();function aF(e,t){if(1&e){const n=kl();L(0,"div",52)(1,"div",53),ke(2,"img",54),H(),L(3,"div",55)(4,"div",56),se(5),H(),L(6,"div",57),se(7),H(),L(8,"div",58)(9,"div",59)(10,"div",60),se(11),H(),L(12,"div",61),se(13),H()(),L(14,"button",62),he("click",function(){const i=Yn(n).$implicit,s=Es(),a=Tr(59);return Qn(s.scrollTo(a,i))}),se(15,"\u0417\u0430\u043a\u0430\u0437\u0430\u0442\u044c"),H()()()()}if(2&e){const n=t.$implicit,r=Es();Ae(2),Ll("src",n.image,Uu),Ae(3),No(n.title),Ae(2),Is(" ",n.text," "),Ae(4),Ul("",n.price," ",r.currency,""),Ae(2),No(n.weight)}}const uF=function(e){return{showed:e}};function lF(e,t){if(1&e&&(L(0,"div",63),ke(1,"lottie-player",64),H()),2&e){const n=Es();Ao(ko(2,uF,n.loaderShowed))}}const _d=function(e){return{error:e}};let cF=(()=>{class e{onMouseMove(n){this.mainImageStyle={transform:"translate("+.3*n.clientX/8+"px,"+.3*n.clientY/8+"px)"},this.orderImageStyle={transform:"translate(-"+.3*n.clientX/8+"px,-"+.3*n.clientY/8+"px)"}}constructor(n,r){this.fb=n,this.http=r,this.currency="$",this.loader=!0,this.loaderShowed=!0,this.form=this.fb.group({product:["",Qc.required],name:["",Qc.required],phone:["",Qc.required]})}ngOnInit(){setTimeout(()=>{this.loaderShowed=!1},2e3),setTimeout(()=>{this.loader=!1},3e3),this.http.get("https://testologia.ru/cookies").subscribe(n=>this.productsData=n)}scrollTo(n,r){n.scrollIntoView({behavior:"smooth"}),r&&this.form.patchValue({product:r.title+" ("+r.price+" "+this.currency+")"})}switchSugarFree(n){this.http.get("https://testologia.ru/cookies"+(n.currentTarget.checked?"?sugarfree":"")).subscribe(r=>this.productsData=r)}changeCurrency(){let n="$",r=1;"$"===this.currency?(n="\u20bd",r=90):"\u20bd"===this.currency?(n="BYN",r=3):"BYN"===this.currency?(n="\u20ac",r=.9):"\u20ac"===this.currency&&(n="\xa5",r=6.9),this.currency=n,this.productsData.forEach(o=>{o.price=+(o.basePrice*r).toFixed(1)})}confirmOrder(){this.form.valid&&this.http.post("https://testologia.ru/cookies-order",this.form.value).subscribe({next:n=>{alert(n.message),this.form.reset()},error:n=>{alert(n.error.message)}})}static#e=this.\u0275fac=function(r){return new(r||e)(_(AP),_(k_))};static#t=this.\u0275cmp=yf({type:e,selectors:[["app-root"]],hostBindings:function(r,o){1&r&&he("mousemove",function(s){return o.onMouseMove(s)},0,Gp)},decls:83,vars:19,consts:[[1,"main"],["title","\u0418\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u0432\u0430\u043b\u044e\u0442\u0443","id","change-currency",1,"currency",3,"click"],[1,"header"],[1,"container"],[1,"logo"],["src","./assets/images/logo.png","alt","logo"],[1,"menu"],[1,"menu-list"],[1,"menu-item"],[3,"click"],[1,"main-content"],["src","./assets/images/line1.png","alt","line",1,"line1"],[1,"main-info"],[1,"main-title"],[1,"main-text"],[1,"main-action"],["id","main-action-button",1,"button",3,"click"],["src","./assets/images/cookie.png","alt","Cookie",1,"main-image",3,"ngStyle"],["id","products",1,"products"],["products",""],["src","./assets/images/line2.png","alt","line",1,"line2"],[1,"common-title"],[1,"sugar-free"],["type","checkbox","id","switch",3,"change"],["for","switch"],[1,"products-items"],["class","products-item",4,"ngFor","ngForOf"],["id","love",1,"love"],["love",""],[1,"love-items"],[1,"love-item","love-item-white"],[1,"love-item-title"],[1,"love-item-text"],[1,"love-item","love-item-image"],["src","./assets/images/love.png","alt","cookies image"],["id","order",1,"order"],["order",""],["src","./assets/images/line3.png","alt","line",1,"line3"],["src","./assets/images/breadcrumbs.png","alt","breadcrumbs",1,"order-bg-image"],[1,"order-block"],[1,"order-form"],[1,"order-form-text"],[1,"order-form-inputs",3,"formGroup"],["type","text","placeholder","\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u043f\u0435\u0447\u0435\u043d\u044c\u0435","id","product","formControlName","product","readonly",""],["type","text","placeholder","\u0412\u0430\u0448\u0435 \u0438\u043c\u044f","id","name","formControlName","name"],["type","text","placeholder","\u0412\u0430\u0448 \u0442\u0435\u043b\u0435\u0444\u043e\u043d","id","phone","formControlName","phone"],["id","order-action",1,"button","violet-button",3,"disabled","click"],[1,"order-block-image"],["src","./assets/images/order.png","alt","cookies",1,"order-image",3,"ngStyle"],[1,"footer"],[1,"rights"],["class","loader",3,"class",4,"ngIf"],[1,"products-item"],[1,"products-item-image"],["alt","product",3,"src"],[1,"products-item-details"],[1,"products-item-title"],[1,"products-item-text"],[1,"products-item-extra"],[1,"products-item-info"],[1,"products-item-price"],[1,"products-item-weight"],[1,"button","violet-button",3,"click"],[1,"loader"],["src","./assets/cookie.json","background","transparent","speed","1.5","autoplay",""]],template:function(r,o){if(1&r){const i=kl();L(0,"main",0)(1,"div",1),he("click",function(){return o.changeCurrency()}),se(2),H(),L(3,"header",2)(4,"div",3)(5,"div",4),ke(6,"img",5),H(),L(7,"nav",6)(8,"ul",7)(9,"li",8)(10,"a",9),he("click",function(){Yn(i);const a=Tr(31);return Qn(o.scrollTo(a))}),se(11,"\u041a\u0430\u0442\u0430\u043b\u043e\u0433"),H()(),L(12,"li",8)(13,"a",9),he("click",function(){Yn(i);const a=Tr(46);return Qn(o.scrollTo(a))}),se(14,"\u041e \u043d\u0430\u0441"),H()(),L(15,"li",8)(16,"a",9),he("click",function(){Yn(i);const a=Tr(59);return Qn(o.scrollTo(a))}),se(17,"\u041e\u0444\u043e\u0440\u043c\u043b\u0435\u043d\u0438\u0435 \u0437\u0430\u043a\u0430\u0437\u0430"),H()()()()()(),L(18,"section",10)(19,"div",3),ke(20,"img",11),L(21,"div",12)(22,"h1",13),se(23,"\u041c\u0430\u0433\u0438\u044f \u0432\u043a\u0443\u0441\u0430 \u0432 \u043a\u0430\u0436\u0434\u043e\u0439 \u043a\u0440\u043e\u0448\u043a\u0435"),H(),L(24,"p",14),se(25,"\u041d\u0430\u0448\u0438 \u0440\u0435\u0446\u0435\u043f\u0442\u044b \u0432\u0434\u044b\u0445\u0430\u044e\u0442 \u0436\u0438\u0437\u043d\u044c \u0432 \u0438\u0437\u044b\u0441\u043a\u0430\u043d\u043d\u043e\u0441\u0442\u044c \u0438\u043d\u0433\u0440\u0435\u0434\u0438\u0435\u043d\u0442\u043e\u0432: \u0430\u0440\u043e\u043c\u0430\u0442\u043d\u043e\u0435 \u043d\u0430\u0442\u0443\u0440\u0430\u043b\u044c\u043d\u043e\u0435 \u043c\u0430\u0441\u043b\u043e, \u0441\u0432\u0435\u0436\u0438\u0435 \u0441\u043b\u0438\u0432\u043a\u0438, \u0447\u0438\u0441\u0442\u044b\u0439 \u043c\u0451\u0434 \u0438 \u043e\u0442\u0431\u043e\u0440\u043d\u0430\u044f \u043c\u0443\u043a\u0430. \u041c\u044b \u0442\u0449\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u043e\u0442\u0431\u0438\u0440\u0430\u0435\u043c \u043a\u0430\u0436\u0434\u044b\u0439 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442 \u043f\u0440\u0435\u043c\u0438\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u043f\u0435\u0447\u0435\u043d\u044c\u044f, \u0441\u0442\u0440\u0435\u043c\u044f\u0441\u044c \u043f\u043e\u0434\u0430\u0440\u0438\u0442\u044c \u0432\u0430\u043c \u0438\u0441\u0442\u0438\u043d\u043d\u043e\u0435 \u043a\u0443\u043b\u0438\u043d\u0430\u0440\u043d\u043e\u0435 \u043d\u0430\u0441\u043b\u0430\u0436\u0434\u0435\u043d\u0438\u0435."),H(),L(26,"div",15)(27,"button",16),he("click",function(){Yn(i);const a=Tr(31);return Qn(o.scrollTo(a))}),se(28,"\u0417\u0430\u043a\u0430\u0437\u0430\u0442\u044c"),H()()(),ke(29,"img",17),H()(),L(30,"section",18,19)(32,"div",3),ke(33,"img",20),L(34,"div",21),se(35,"\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u043f\u0435\u0447\u0435\u043d\u044c\u0435"),H(),L(36,"div",22)(37,"div"),se(38,"\u0412\u0441\u0435"),H(),L(39,"input",23),he("change",function(a){return o.switchSugarFree(a)}),H(),ke(40,"label",24),L(41,"div"),se(42,"\u0411\u0435\u0437 \u0441\u0430\u0445\u0430\u0440\u0430"),H()(),L(43,"div",25),Ol(44,aF,16,6,"div",26),H()()(),L(45,"section",27,28)(47,"div",3)(48,"div",21),se(49,"\u041f\u0435\u043a\u0430\u0440\u043d\u044f \u0441 \u043b\u044e\u0431\u043e\u0432\u044c\u044e"),H(),L(50,"div",29)(51,"div",30)(52,"div",31),se(53,"\u041f\u0440\u0438\u0433\u043e\u0442\u043e\u0432\u043b\u0435\u043d\u043e \u0441 \u0437\u0430\u0431\u043e\u0442\u043e\u0439, \u0447\u0442\u043e\u0431\u044b \u0440\u0430\u0434\u043e\u0432\u0430\u0442\u044c \u0432\u0430\u0441 \u043a\u0430\u0436\u0434\u044b\u0439 \u0434\u0435\u043d\u044c"),H(),L(54,"div",32),se(55,"\u041c\u044b \u0441 \u0433\u043e\u0440\u0434\u043e\u0441\u0442\u044c\u044e \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c \u043d\u0430\u0448\u0435 \u043f\u0435\u0447\u0435\u043d\u044c\u0435, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043c\u044b \u0432\u044b\u043f\u0435\u043a\u0430\u0435\u043c \u0432\u0440\u0443\u0447\u043d\u0443\u044e \u043a\u0430\u0436\u0434\u044b\u0439 \u0434\u0435\u043d\u044c \u0441 1995 \u0433\u043e\u0434\u0430, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u043b\u0443\u0447\u0448\u0438\u0435 \u0438\u043d\u0433\u0440\u0435\u0434\u0438\u0435\u043d\u0442\u044b. \u041f\u043e\u0433\u0440\u0443\u0437\u0438\u0442\u0435\u0441\u044c \u0432 \u043c\u0438\u0440 \u0438\u0437\u044b\u0441\u043a\u0430\u043d\u043d\u044b\u0445 \u043b\u0430\u043a\u043e\u043c\u0441\u0442\u0432, \u043f\u0440\u0438\u0433\u043e\u0442\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u0445 \u0441 \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u0435\u043c \u043f\u0435\u0440\u0435\u0434\u043e\u0432\u044b\u0445 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0439, \u0438 \u043d\u0430\u0441\u043b\u0430\u0434\u0438\u0442\u0435\u0441\u044c \u0438\u0445 \u043d\u0435\u043f\u043e\u0432\u0442\u043e\u0440\u0438\u043c\u044b\u043c \u0432\u043a\u0443\u0441\u043e\u043c. "),H()(),L(56,"div",33),ke(57,"img",34),H()()()(),L(58,"section",35,36),ke(60,"img",37),L(61,"div",3)(62,"div",21),se(63,"\u0417\u0430\u043a\u0430\u0436\u0438\u0442\u0435 \u043f\u0435\u0447\u0435\u043d\u044c\u0435"),H(),ke(64,"img",38),L(65,"div",39)(66,"div",40)(67,"div",41),se(68,"\u041e\u0442\u043a\u0440\u043e\u0439\u0442\u0435 \u0434\u043b\u044f \u0441\u0435\u0431\u044f \u0432\u043e\u043b\u0448\u0435\u0431\u0441\u0442\u0432\u043e \u0432\u043a\u0443\u0441\u0430 \u0441 \u043d\u0430\u0448\u0438\u043c \u043f\u0440\u0435\u043c\u0438\u0430\u043b\u044c\u043d\u044b\u043c \u043f\u0435\u0447\u0435\u043d\u044c\u0435\u043c! \u0417\u0430\u043a\u0430\u0436\u0438\u0442\u0435 \u043f\u0440\u044f\u043c\u043e \u0441\u0435\u0439\u0447\u0430\u0441 \u0438 \u043e\u043a\u0443\u043d\u0438\u0442\u0435\u0441\u044c \u0432 \u043c\u0438\u0440 \u0441\u043b\u0430\u0434\u043a\u0438\u0445 \u043d\u0430\u0441\u043b\u0430\u0436\u0434\u0435\u043d\u0438\u0439. "),H(),L(69,"div",42),ke(70,"input",43)(71,"input",44)(72,"input",45),L(73,"button",46),he("click",function(){return o.confirmOrder()}),se(74,"\u041e\u0444\u043e\u0440\u043c\u0438\u0442\u044c \u0437\u0430\u043a\u0430\u0437"),H()()(),L(75,"div",47),ke(76,"img",48),H()()()(),L(77,"footer",49)(78,"div",4),ke(79,"img",5),H(),L(80,"div",50),se(81,"\xab\u0412\u0441\u0435 \u043f\u0440\u0430\u0432\u0430 \u0437\u0430\u0449\u0438\u0449\u0435\u043d\u044b\xbb"),H()()(),Ol(82,lF,2,4,"div",51)}if(2&r){let i,s,a;Ae(2),No(o.currency),Ae(27),ln("ngStyle",o.mainImageStyle),Ae(15),ln("ngForOf",o.productsData),Ae(25),ln("formGroup",o.form),Ae(1),Ao(ko(13,_d,(null==(i=o.form.get("product"))?null:i.invalid)&&((null==(i=o.form.get("product"))?null:i.dirty)||(null==(i=o.form.get("product"))?null:i.touched)))),Ae(1),Ao(ko(15,_d,(null==(s=o.form.get("name"))?null:s.invalid)&&((null==(s=o.form.get("name"))?null:s.dirty)||(null==(s=o.form.get("name"))?null:s.touched)))),Ae(1),Ao(ko(17,_d,(null==(a=o.form.get("phone"))?null:a.invalid)&&((null==(a=o.form.get("phone"))?null:a.dirty)||(null==(a=o.form.get("phone"))?null:a.touched)))),Ae(1),ln("disabled",!o.form.valid),Ae(3),ln("ngStyle",o.orderImageStyle),Ae(6),ln("ngIf",o.loader)}},dependencies:[Yv,Xv,eD,ea,QD,XD,fa,fd],styles:['.main[_ngcontent-%COMP%]{position:relative;overflow:hidden}.currency[_ngcontent-%COMP%]{position:fixed;right:50px;bottom:50px;border:1px solid white;padding:5px 10px;height:25px;min-width:25px;border-radius:50px;text-align:center;cursor:pointer;line-height:28px;z-index:1;-webkit-user-select:none;user-select:none;transform:scale(1);animation:_ngcontent-%COMP%_pulse 2s infinite}@keyframes _ngcontent-%COMP%_pulse{0%{transform:scale(.9);box-shadow:0 0 #ffffff80}70%{transform:scale(1);box-shadow:0 0 0 10px #fff0}to{transform:scale(.9);box-shadow:0 0 #fff0}}.header[_ngcontent-%COMP%]{padding:40px 0}.header[_ngcontent-%COMP%] .container[_ngcontent-%COMP%]{display:flex;align-items:center}.logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{vert-align:bottom}.menu[_ngcontent-%COMP%]{margin-left:250px}.menu-list[_ngcontent-%COMP%]{list-style:none;display:flex;gap:50px}.menu-item[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-size:16px;line-height:130%;text-decoration:none;cursor:pointer;color:#fff}.menu-item[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{border-bottom:2px solid white}.main-content[_ngcontent-%COMP%]{padding-top:161px;padding-bottom:200px}.main-info[_ngcontent-%COMP%]{max-width:811px}.main-title[_ngcontent-%COMP%]{font-family:Steppe-ExtraBold,sans-serif;font-size:90px;line-height:100%;margin-bottom:20px}.main-text[_ngcontent-%COMP%]{max-width:697px;font-size:18px;line-height:130%;margin-bottom:40px}.main-image[_ngcontent-%COMP%]{position:absolute;top:0;right:0;z-index:-1}.products[_ngcontent-%COMP%]{padding:100px 0;position:relative}.products-items[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(3,384px);gap:90px 24px;margin-top:110px}.products-item[_ngcontent-%COMP%]{background-color:#fff;color:#5d3427}.products-item-image[_ngcontent-%COMP%]{height:202px;text-align:center}.products-item-image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:272px;top:-70px;position:relative;max-width:100%;transition:all .5s ease}.products-item-image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]:hover{transform:scale(1.1)}.products-item-details[_ngcontent-%COMP%]{padding:24px}.products-item-title[_ngcontent-%COMP%]{font-family:Steppe-ExtraBold,sans-serif;font-size:18px;margin-bottom:20px}.products-item-text[_ngcontent-%COMP%]{height:110px;font-size:14px;line-height:120%;margin-bottom:20px}.products-item-extra[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center}.products-item-price[_ngcontent-%COMP%]{font-family:Steppe-ExtraBold,sans-serif;color:#5243f4;font-size:24px;margin-bottom:10px}.products-item-weight[_ngcontent-%COMP%]{font-size:12px}.love[_ngcontent-%COMP%]{padding:64px 0 150px}.love-items[_ngcontent-%COMP%]{margin-top:40px;display:flex;gap:20px}.love-item[_ngcontent-%COMP%]{width:590px;height:453px}.love-item-white[_ngcontent-%COMP%]{background-color:#fff;padding:110px 80px;box-sizing:border-box;color:#5d3427}.love-item-title[_ngcontent-%COMP%]{font-family:Steppe-ExtraBold,sans-serif;font-size:24px;line-height:110%;margin-bottom:20px}.love-item-text[_ngcontent-%COMP%]{font-size:18px;line-height:130%}.order[_ngcontent-%COMP%]{padding-bottom:102px;position:relative}.order[_ngcontent-%COMP%] .container[_ngcontent-%COMP%]{position:relative}.order-block[_ngcontent-%COMP%]{margin-top:103px;background-color:#ffffff4d;-webkit-backdrop-filter:blur(50px);backdrop-filter:blur(50px);display:flex}.order-form[_ngcontent-%COMP%]{margin-left:200px;max-width:387px;padding:40px 0 44px;box-sizing:border-box}.order-form-text[_ngcontent-%COMP%]{font-family:Steppe-ExtraBold,sans-serif;font-size:18px;line-height:130%}.order-form-inputs[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin-top:20px}.order-form-inputs[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{border:1px solid white;border-radius:60px;margin-bottom:16px;padding:24px 22px;font-size:18px;width:385px;height:68px;background:transparent;box-sizing:border-box;outline:none;color:#fff}[_ngcontent-%COMP%]::placeholder{color:#fff6}.order-form-inputs[_ngcontent-%COMP%] .button.violet-button[_ngcontent-%COMP%]{width:387px;height:71px}.order-block-image[_ngcontent-%COMP%]{height:501px;margin-left:109px}.order-image[_ngcontent-%COMP%]{height:559px;top:-58px;position:relative}.order-bg-image[_ngcontent-%COMP%]{position:absolute;top:0;right:calc(100% - 810px);z-index:-1}.footer[_ngcontent-%COMP%]{padding:126px 0 50px;text-align:center}.rights[_ngcontent-%COMP%]{margin-top:14px;font-size:18px;line-height:130%}.line1[_ngcontent-%COMP%]{position:absolute;z-index:-1;top:0;left:calc(100% - 960px)}.line2[_ngcontent-%COMP%]{position:absolute;z-index:-1;top:-40px;left:0}.line3[_ngcontent-%COMP%]{position:absolute;z-index:-1;top:-920px;left:0}.order-form-inputs[_ngcontent-%COMP%] input.error[_ngcontent-%COMP%]{border-color:red}.sugar-free[_ngcontent-%COMP%]{margin:20px 0;font-size:0;display:flex;align-items:center;justify-content:center;gap:20px}.sugar-free[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{font-size:18px}.sugar-free[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{display:none}.sugar-free[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{cursor:pointer;width:80px;height:40px;border-radius:50px;position:relative;border:2px solid white}.sugar-free[_ngcontent-%COMP%] label[_ngcontent-%COMP%]:after{content:"";position:absolute;top:5px;left:5px;width:30px;height:30px;background:#fff;border-radius:45px;transition:.3s}.sugar-free[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%]:after{left:calc(100% - 5px);transform:translate(-100%)}.sugar-free[_ngcontent-%COMP%] label[_ngcontent-%COMP%]:active:after{width:50px}.loader[_ngcontent-%COMP%]{position:fixed;top:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;background-color:#191411;opacity:0;transition:opacity .3s ease-in-out}.loader.showed[_ngcontent-%COMP%]{opacity:1}.loader[_ngcontent-%COMP%] lottie-player[_ngcontent-%COMP%]{display:block;width:300px;height:300px}@media screen and (max-width: 1225px){.container[_ngcontent-%COMP%]{padding-left:15px;padding-right:15px}.header[_ngcontent-%COMP%] .container[_ngcontent-%COMP%]{justify-content:space-between;max-width:600px;margin:0}.menu[_ngcontent-%COMP%]{margin-left:0}.menu[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{gap:20px}.main-image[_ngcontent-%COMP%]{max-width:800px;top:200px}.main-text[_ngcontent-%COMP%]{max-width:500px}.products-items[_ngcontent-%COMP%]{grid-template-columns:repeat(auto-fill,minmax(290px,384px));justify-content:center}.love-items[_ngcontent-%COMP%]{flex-wrap:wrap;justify-content:center}.love-item[_ngcontent-%COMP%]{height:auto;text-align:center}.love-item[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:100%}.order-block[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto;max-width:426px;width:auto;padding:20px}.order-form[_ngcontent-%COMP%]{margin-left:0;max-width:100%;padding:0}.order-bg-image[_ngcontent-%COMP%]{right:0}.order-form-text[_ngcontent-%COMP%]{text-align:center}.order-form[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{max-width:100%;width:auto}.order-block-image[_ngcontent-%COMP%]{display:none}.order-form-inputs[_ngcontent-%COMP%] .button.violet-button[_ngcontent-%COMP%]{width:100%;margin:0 auto}.currency[_ngcontent-%COMP%]{background-color:#5243f4;right:20px;bottom:20px}}@media screen and (max-width: 767px){.main-image[_ngcontent-%COMP%]{max-width:500px;top:300px}.main-text[_ngcontent-%COMP%]{max-width:400px}.main-title[_ngcontent-%COMP%]{font-size:70px}}@media screen and (max-width: 570px){.header[_ngcontent-%COMP%] .container[_ngcontent-%COMP%]{flex-direction:column}.menu[_ngcontent-%COMP%]{margin-top:30px}.menu-item[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-size:14px}.main-content[_ngcontent-%COMP%]{padding-top:60px;padding-bottom:50px}.main-title[_ngcontent-%COMP%]{font-size:55px}.main-image[_ngcontent-%COMP%]{max-width:400px;top:500px}.common-title[_ngcontent-%COMP%]{font-size:46px}.love-item-white[_ngcontent-%COMP%]{padding:30px}.products-item-text[_ngcontent-%COMP%]{height:auto}}@media screen and (max-width: 399px){.main-image[_ngcontent-%COMP%]{max-width:300px;top:600px}.products-item-details[_ngcontent-%COMP%]{padding:15px}.button[_ngcontent-%COMP%]{width:150px}}']})}return e})(),dF=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Vt({type:e,bootstrap:[cF]});static#n=this.\u0275inj=vt({imports:[m1,TP,tF]})}return e})();p1().bootstrapModule(dF).catch(e=>console.error(e))}},ne=>{ne(ne.s=843)}]);