-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.e13ee19d28864c91.js
1 lines (1 loc) · 176 KB
/
main.e13ee19d28864c91.js
1
"use strict";(self.webpackChunkcars_app=self.webpackChunkcars_app||[]).push([[179],{2:()=>{function ne(e){return"function"==typeof e}function Mo(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 Io=Mo(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 _r(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class yt{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 Io?i.errors:[i]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const i of o)try{sc(i)}catch(s){t=t??[],s instanceof Io?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Io(t)}}add(t){var n;if(t&&t!==this)if(this.closed)sc(t);else{if(t instanceof yt){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)&&_r(n,t)}remove(t){const{_finalizers:n}=this;n&&_r(n,t),t instanceof yt&&t._removeParent(this)}}yt.EMPTY=(()=>{const e=new yt;return e.closed=!0,e})();const oc=yt.EMPTY;function ic(e){return e instanceof yt||e&&"closed"in e&&ne(e.remove)&&ne(e.add)&&ne(e.unsubscribe)}function sc(e){ne(e)?e():e.unsubscribe()}const ln={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},So={setTimeout(e,t,...n){const{delegate:r}=So;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=So;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function ac(e){So.setTimeout(()=>{const{onUnhandledError:t}=ln;if(!t)throw e;t(e)})}function uc(){}const ID=ms("C",void 0,void 0);function ms(e,t,n){return{kind:e,value:t,error:n}}let cn=null;function Ao(e){if(ln.useDeprecatedSynchronousErrorHandling){const t=!cn;if(t&&(cn={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=cn;if(cn=null,n)throw r}}else e()}class ys extends yt{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,ic(t)&&t.add(this)):this.destination=PD}static create(t,n,r){return new Cr(t,n,r)}next(t){this.isStopped?vs(function AD(e){return ms("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?vs(function SD(e){return ms("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?vs(ID,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 ND=Function.prototype.bind;function Ds(e,t){return ND.call(e,t)}class FD{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){To(r)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){To(r)}else To(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){To(n)}}}class Cr extends ys{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&&ln.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Ds(t.next,i),error:t.error&&Ds(t.error,i),complete:t.complete&&Ds(t.complete,i)}):o=t}this.destination=new FD(o)}}function To(e){ln.useDeprecatedSynchronousErrorHandling?function TD(e){ln.useDeprecatedSynchronousErrorHandling&&cn&&(cn.errorThrown=!0,cn.error=e)}(e):ac(e)}function vs(e,t){const{onStoppedNotification:n}=ln;n&&So.setTimeout(()=>n(e,t))}const PD={closed:!0,next:uc,error:function xD(e){throw e},complete:uc},_s="function"==typeof Symbol&&Symbol.observable||"@@observable";function lc(e){return e}let be=(()=>{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 RD(e){return e&&e instanceof ys||function OD(e){return e&&ne(e.next)&&ne(e.error)&&ne(e.complete)}(e)&&ic(e)}(n)?n:new Cr(n,r,o);return Ao(()=>{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=dc(r))((o,i)=>{const s=new Cr({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)}[_s](){return this}pipe(...n){return function cc(e){return 0===e.length?lc:1===e.length?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}(n)(this)}toPromise(n){return new(n=dc(n))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function dc(e){var t;return null!==(t=e??ln.Promise)&&void 0!==t?t:Promise}const kD=Mo(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let Cs=(()=>{class e extends be{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new fc(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new kD}next(n){Ao(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(n)}})}error(n){Ao(()=>{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(){Ao(()=>{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?oc:(this.currentObservers=null,i.push(n),new yt(()=>{this.currentObservers=null,_r(i,n)}))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){const n=new be;return n.source=this,n}}return e.create=(t,n)=>new fc(t,n),e})();class fc extends Cs{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:oc}}function Fn(e){return t=>{if(function LD(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 xn(e,t,n,r,o){return new VD(e,t,n,r,o)}class VD extends ys{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 dn(e,t){return Fn((n,r)=>{let o=0;n.subscribe(xn(r,i=>{r.next(e.call(t,i,o++))}))})}function fn(e){return this instanceof fn?(this.v=e,this):new fn(e)}function jD(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,r=n.apply(e,t||[]),i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(f){r[f]&&(o[f]=function(h){return new Promise(function(p,g){i.push([f,h,p,g])>1||a(f,h)})})}function a(f,h){try{!function u(f){f.value instanceof fn?Promise.resolve(f.value.v).then(l,c):d(i[0][2],f)}(r[f](h))}catch(p){d(i[0][3],p)}}function l(f){a("next",f)}function c(f){a("throw",f)}function d(f,h){f(h),i.shift(),i.length&&a(i[0][0],i[0][1])}}function $D(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 gc(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)})}}}const mc=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function yc(e){return ne(e?.then)}function Dc(e){return ne(e[_s])}function vc(e){return Symbol.asyncIterator&&ne(e?.[Symbol.asyncIterator])}function _c(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 Cc=function GD(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Ec(e){return ne(e?.[Cc])}function wc(e){return jD(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:r,done:o}=yield fn(n.read());if(o)return yield fn(void 0);yield yield fn(r)}}finally{n.releaseLock()}})}function bc(e){return ne(e?.getReader)}function Ft(e){if(e instanceof be)return e;if(null!=e){if(Dc(e))return function zD(e){return new be(t=>{const n=e[_s]();if(ne(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(mc(e))return function WD(e){return new be(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}(e);if(yc(e))return function qD(e){return new be(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,ac)})}(e);if(vc(e))return Mc(e);if(Ec(e))return function KD(e){return new be(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(bc(e))return function ZD(e){return Mc(wc(e))}(e)}throw _c(e)}function Mc(e){return new be(t=>{(function XD(e,t){var n,r,o,i;return function BD(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=$D(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 Zt(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 No(e,t,n=1/0){return ne(t)?No((r,o)=>dn((i,s)=>t(r,i,o,s))(Ft(e(r,o))),n):("number"==typeof t&&(n=t),Fn((r,o)=>function YD(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 v=!1;Ft(n(g,c++)).subscribe(xn(t,D=>{o?.(D),i?h(D):t.next(D)},()=>{v=!0},void 0,()=>{if(v)try{for(l--;u.length&&l<r;){const D=u.shift();s?Zt(t,s,()=>p(D)):p(D)}f()}catch(D){t.error(D)}}))};return e.subscribe(xn(t,h,()=>{d=!0,f()})),()=>{a?.()}}(r,o,e,n)))}const Ic=new be(e=>e.complete());function ws(e){return e[e.length-1]}function Sc(e){return function ev(e){return e&&ne(e.schedule)}(ws(e))?e.pop():void 0}function Ac(e,t=0){return Fn((n,r)=>{n.subscribe(xn(r,o=>Zt(r,e,()=>r.next(o),t),()=>Zt(r,e,()=>r.complete(),t),o=>Zt(r,e,()=>r.error(o),t)))})}function Tc(e,t=0){return Fn((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Nc(e,t){if(!e)throw new Error("Iterable cannot be null");return new be(n=>{Zt(n,t,()=>{const r=e[Symbol.asyncIterator]();Zt(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function bs(e,t){return t?function uv(e,t){if(null!=e){if(Dc(e))return function rv(e,t){return Ft(e).pipe(Tc(t),Ac(t))}(e,t);if(mc(e))return function iv(e,t){return new be(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if(yc(e))return function ov(e,t){return Ft(e).pipe(Tc(t),Ac(t))}(e,t);if(vc(e))return Nc(e,t);if(Ec(e))return function sv(e,t){return new be(n=>{let r;return Zt(n,t,()=>{r=e[Cc](),Zt(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(bc(e))return function av(e,t){return Nc(wc(e),t)}(e,t)}throw _c(e)}(e,t):Ft(e)}function Ms(e,t,...n){if(!0===t)return void e();if(!1===t)return;const r=new Cr({next:()=>{r.unsubscribe(),e()}});return Ft(t(...n)).subscribe(r)}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 Is(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function X(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(X).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 Ss(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const dv=Z({__forward_ref__:Z});function Q(e){return e.__forward_ref__=Q,e.toString=function(){return X(this())},e}function A(e){return As(e)?e():e}function As(e){return"function"==typeof e&&e.hasOwnProperty(dv)&&e.__forward_ref__===Q}function Ts(e){return e&&!!e.\u0275providers}const Fc="https://g.co/ng/security#xss";class C extends Error{constructor(t,n){super(function Fo(e,t){return`NG0${Math.abs(e)}${t?": "+t.trim():""}`}(t,n)),this.code=t}}function F(e){return"string"==typeof e?e:null==e?"":String(e)}function xo(e,t){throw new C(-201,!1)}function Je(e,t){null==e&&function z(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 Dt(e){return{providers:e.providers||[],imports:e.imports||[]}}function Po(e){return xc(e,Oo)||xc(e,Oc)}function xc(e,t){return e.hasOwnProperty(t)?e[t]:null}function Pc(e){return e&&(e.hasOwnProperty(Ns)||e.hasOwnProperty(vv))?e[Ns]:null}const Oo=Z({\u0275prov:Z}),Ns=Z({\u0275inj:Z}),Oc=Z({ngInjectableDef:Z}),vv=Z({ngInjectorDef:Z});var N=(()=>((N=N||{})[N.Default=0]="Default",N[N.Host=1]="Host",N[N.Self=2]="Self",N[N.SkipSelf=4]="SkipSelf",N[N.Optional=8]="Optional",N))();let Fs;function et(e){const t=Fs;return Fs=e,t}function Rc(e,t,n){const r=Po(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&N.Optional?null:void 0!==t?t:void xo(X(e))}const J=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Er={},xs="__NG_DI_FLAG__",Ro="ngTempTokenPath",Ev=/\n/gm,kc="__source";let wr;function Pn(e){const t=wr;return wr=e,t}function bv(e,t=N.Default){if(void 0===wr)throw new C(-203,!1);return null===wr?Rc(e,void 0,t):wr.get(e,t&N.Optional?null:void 0,t)}function V(e,t=N.Default){return(function _v(){return Fs}()||bv)(A(e),t)}function br(e,t=N.Default){return V(e,ko(t))}function ko(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Ps(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=N.Default;for(let s=0;s<r.length;s++){const a=r[s],u=Mv(a);"number"==typeof u?-1===u?o=a.token:i|=u:o=a}t.push(V(o,i))}else t.push(V(r))}return t}function Mr(e,t){return e[xs]=t,e.prototype[xs]=t,e}function Mv(e){return e[xs]}function Yt(e){return{toString:e}.toString()}var st=(()=>((st=st||{})[st.OnPush=0]="OnPush",st[st.Default=1]="Default",st))(),vt=(()=>{return(e=vt||(vt={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",vt;var e})();const xt={},U=[],Lo=Z({\u0275cmp:Z}),Os=Z({\u0275dir:Z}),Rs=Z({\u0275pipe:Z}),Vc=Z({\u0275mod:Z}),Pt=Z({\u0275fac:Z}),Ir=Z({__NG_ELEMENT_ID__:Z});let Av=0;function ks(e){return Yt(()=>{const n=!0===e.standalone,r={},o={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:r,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===st.OnPush,directiveDefs:null,pipeDefs:null,standalone:n,dependencies:n&&e.dependencies||null,getStandaloneInjector:null,selectors:e.selectors||U,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||vt.Emulated,id:"c"+Av++,styles:e.styles||U,_:null,setInput:null,schemas:e.schemas||null,tView:null,findHostDirectiveDefs:null,hostDirectives:null},i=e.dependencies,s=e.features;return o.inputs=jc(e.inputs,r),o.outputs=jc(e.outputs),s&&s.forEach(a=>a(o)),o.directiveDefs=i?()=>("function"==typeof i?i():i).map(Bc).filter(Hc):null,o.pipeDefs=i?()=>("function"==typeof i?i():i).map(Oe).filter(Hc):null,o})}function Bc(e){return W(e)||Me(e)}function Hc(e){return null!==e}function Ot(e){return Yt(()=>({type:e.type,bootstrap:e.bootstrap||U,declarations:e.declarations||U,imports:e.imports||U,exports:e.exports||U,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function jc(e,t){if(null==e)return xt;const n={};for(const r in e)if(e.hasOwnProperty(r)){let o=e[r],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),n[o]=r,t&&(t[o]=i)}return n}const x=ks;function W(e){return e[Lo]||null}function Me(e){return e[Os]||null}function Oe(e){return e[Rs]||null}const L=11;function qe(e){return Array.isArray(e)&&"object"==typeof e[1]}function ut(e){return Array.isArray(e)&&!0===e[1]}function Bs(e){return 0!=(4&e.flags)}function Fr(e){return e.componentOffset>-1}function $o(e){return 1==(1&e.flags)}function lt(e){return null!==e.template}function Fv(e){return 0!=(256&e[2])}function pn(e,t){return e.hasOwnProperty(Pt)?e[Pt]:null}class Ov{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function kt(){return qc}function qc(e){return e.type.prototype.ngOnChanges&&(e.setInput=kv),Rv}function Rv(){const e=Zc(this),t=e?.current;if(t){const n=e.previous;if(n===xt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function kv(e,t,n,r){const o=this.declaredInputs[n],i=Zc(e)||function Lv(e,t){return e[Kc]=t}(e,{previous:xt,current:null}),s=i.current||(i.current={}),a=i.previous,u=a[o];s[o]=new Ov(u&&u.currentValue,t,a===xt),e[r]=t}kt.ngInherit=!0;const Kc="__ngSimpleChanges__";function Zc(e){return e[Kc]||null}function Ce(e){for(;Array.isArray(e);)e=e[0];return e}function Uo(e,t){return Ce(t[e])}function Ke(e,t){return Ce(t[e.index])}function Qc(e,t){return e.data[t]}function Ze(e,t){const n=t[e];return qe(n)?n:n[0]}function Go(e){return 64==(64&e[2])}function Qt(e,t){return null==t?null:e[t]}function Jc(e){e[18]=0}function js(e,t){e[5]+=t;let n=e,r=e[3];for(;null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}const P={lFrame:ld(null),bindingsEnabled:!0};function td(){return P.bindingsEnabled}function y(){return P.lFrame.lView}function H(){return P.lFrame.tView}function $s(e){return P.lFrame.contextLView=e,e[8]}function Us(e){return P.lFrame.contextLView=null,e}function Ee(){let e=nd();for(;null!==e&&64===e.type;)e=e.parent;return e}function nd(){return P.lFrame.currentTNode}function Ct(e,t){const n=P.lFrame;n.currentTNode=e,n.isParent=t}function Gs(){return P.lFrame.isParent}function Bn(){return P.lFrame.bindingIndex++}function Xv(e,t){const n=P.lFrame;n.bindingIndex=n.bindingRootIndex=e,Ws(t)}function Ws(e){P.lFrame.currentDirectiveIndex=e}function Ks(e){P.lFrame.currentQueryIndex=e}function Qv(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function ad(e,t,n){if(n&N.SkipSelf){let o=t,i=e;for(;!(o=o.parent,null!==o||n&N.Host||(o=Qv(i),null===o||(i=i[15],10&o.type))););if(null===o)return!1;t=o,e=i}const r=P.lFrame=ud();return r.currentTNode=t,r.lView=e,!0}function Zs(e){const t=ud(),n=e[1];P.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function ud(){const e=P.lFrame,t=null===e?null:e.child;return null===t?ld(e):t}function ld(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 cd(){const e=P.lFrame;return P.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const dd=cd;function Xs(){const e=cd();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 Le(){return P.lFrame.selectedIndex}function gn(e){P.lFrame.selectedIndex=e}function oe(){const e=P.lFrame;return Qc(e.tView,e.selectedIndex)}function zo(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||(e.contentHooks=[])).push(-n,s),a&&((e.contentHooks||(e.contentHooks=[])).push(n,a),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,a)),u&&(e.viewHooks||(e.viewHooks=[])).push(-n,u),l&&((e.viewHooks||(e.viewHooks=[])).push(n,l),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,l)),null!=c&&(e.destroyHooks||(e.destroyHooks=[])).push(n,c)}}function Wo(e,t,n){fd(e,t,3,n)}function qo(e,t,n,r){(3&e[2])===n&&fd(e,t,n,r)}function Ys(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function fd(e,t,n,r){const i=r??-1,s=t.length-1;let a=0;for(let u=void 0!==r?65535&e[18]:0;u<s;u++)if("number"==typeof t[u+1]){if(a=t[u],null!=r&&a>=r)break}else t[u]<0&&(e[18]+=65536),(a<i||-1==i)&&(a_(e,n,t,u),e[18]=(4294901760&e[18])+u+2),u++}function a_(e,t,n,r){const o=n[r]<0,i=n[r+1],a=e[o?-n[r]:n[r]];if(o){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048;try{i.call(a)}finally{}}}else try{i.call(a)}finally{}}class Pr{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function Js(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];pd(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function hd(e){return 3===e||4===e||6===e}function pd(e){return 64===e.charCodeAt(0)}function Or(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||gd(e,n,o,null,-1===n||2===n?t[++r]:null)}}return e}function gd(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)}function md(e){return-1!==e}function Ko(e){return 32767&e}function Zo(e,t){let n=function d_(e){return e>>16}(e),r=t;for(;n>0;)r=r[15],n--;return r}let ea=!0;function Xo(e){const t=ea;return ea=e,t}let f_=0;const Et={};function Yo(e,t){const n=vd(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,ta(r.data,e),ta(t,null),ta(r.blueprint,null));const o=na(e,t),i=e.injectorIndex;if(md(o)){const s=Ko(o),a=Zo(o,t),u=a[1].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|u[s+l]}return t[i+8]=o,i}function ta(e,t){e.push(0,0,0,0,0,0,0,0,t)}function vd(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function na(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=Id(o),null===r)return-1;if(n++,o=o[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function ra(e,t,n){!function h_(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Ir)&&(r=n[Ir]),null==r&&(r=n[Ir]=f_++);const o=255&r;t.data[e+(o>>5)]|=1<<o}(e,t,n)}function _d(e,t,n){if(n&N.Optional||void 0!==e)return e;xo()}function Cd(e,t,n,r){if(n&N.Optional&&void 0===r&&(r=null),!(n&(N.Self|N.Host))){const o=e[9],i=et(void 0);try{return o?o.get(t,r,n&N.Optional):Rc(t,r,n&N.Optional)}finally{et(i)}}return _d(r,0,n)}function Ed(e,t,n,r=N.Default,o){if(null!==e){if(1024&t[2]){const s=function D_(e,t,n,r,o){let i=e,s=t;for(;null!==i&&null!==s&&1024&s[2]&&!(256&s[2]);){const a=wd(i,s,n,r|N.Self,Et);if(a!==Et)return a;let u=i.parent;if(!u){const l=s[21];if(l){const c=l.get(n,Et,r);if(c!==Et)return c}u=Id(s),s=s[15]}i=u}return o}(e,t,n,r,Et);if(s!==Et)return s}const i=wd(e,t,n,r,Et);if(i!==Et)return i}return Cd(t,n,r,o)}function wd(e,t,n,r,o){const i=function m_(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(Ir)?e[Ir]:void 0;return"number"==typeof t?t>=0?255&t:y_:t}(n);if("function"==typeof i){if(!ad(t,e,r))return r&N.Host?_d(o,0,r):Cd(t,n,r,o);try{const s=i(r);if(null!=s||r&N.Optional)return s;xo()}finally{dd()}}else if("number"==typeof i){let s=null,a=vd(e,t),u=-1,l=r&N.Host?t[16][6]:null;for((-1===a||r&N.SkipSelf)&&(u=-1===a?na(e,t):t[a+8],-1!==u&&Md(r,!1)?(s=t[1],a=Ko(u),t=Zo(u,t)):a=-1);-1!==a;){const c=t[1];if(bd(i,a,c.data)){const d=g_(a,t,n,s,r,l);if(d!==Et)return d}u=t[a+8],-1!==u&&Md(r,t[1].data[a+8]===l)&&bd(i,a,t)?(s=c,a=Ko(u),t=Zo(u,t)):a=-1}}return o}function g_(e,t,n,r,o,i){const s=t[1],a=s.data[e+8],c=function Qo(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?Fr(a)&&ea:r!=s&&0!=(3&a.type),o&N.Host&&i===a);return null!==c?mn(t,s,c,a):Et}function mn(e,t,n,r){let o=e[n];const i=t.data;if(function u_(e){return e instanceof Pr}(o)){const s=o;s.resolving&&function fv(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new C(-200,`Circular dependency in DI detected for ${e}${n}`)}(function G(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():F(e)}(i[n]));const a=Xo(s.canSeeViewProviders);s.resolving=!0;const u=s.injectImpl?et(s.injectImpl):null;ad(e,r,N.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function s_(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const s=qc(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,s)}o&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,o),i&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,i))}(n,i[n],t)}finally{null!==u&&et(u),Xo(a),s.resolving=!1,dd()}}return o}function bd(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function Md(e,t){return!(e&N.Self||e&N.Host&&t)}class jn{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Ed(this._tNode,this._lView,t,ko(r),n)}}function y_(){return new jn(Ee(),y())}function oa(e){return As(e)?()=>{const t=oa(A(e));return t&&t()}:pn(e)}function Id(e){const t=e[1],n=t.type;return 2===n?t.declTNode:1===n?e[6]:null}const Un="__parameters__";function zn(e,t,n){return Yt(()=>{const r=function sa(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(Un)?u[Un]:Object.defineProperty(u,Un,{value:[]})[Un];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})}class M{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}`}}function yn(e,t){e.forEach(n=>Array.isArray(n)?yn(n,t):t(n))}function Ad(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Jo(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Xe(e,t,n){let r=Wn(e,t);return r>=0?e[1|r]=n:(r=~r,function E_(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 ua(e,t){const n=Wn(e,t);if(n>=0)return e[1|n]}function Wn(e,t){return function Td(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 ti=Mr(zn("Optional"),8),ni=Mr(zn("SkipSelf"),4);var $e=(()=>(($e=$e||{})[$e.Important=1]="Important",$e[$e.DashCase=2]="DashCase",$e))();const pa=new Map;let G_=0;const ma="__ngContext__";function Te(e,t){qe(t)?(e[ma]=t[20],function W_(e){pa.set(e[20],e)}(t)):e[ma]=t}function Da(e,t){return undefined(e,t)}function jr(e){const t=e[3];return ut(t)?t[3]:t}function va(e){return Zd(e[13])}function _a(e){return Zd(e[4])}function Zd(e){for(;null!==e&&!ut(e);)e=e[4];return e}function Kn(e,t,n,r,o){if(null!=r){let i,s=!1;ut(r)?i=r:qe(r)&&(s=!0,r=r[0]);const a=Ce(r);0===e&&null!==n?null==o?tf(t,n,a):Dn(t,n,a,o||null,!0):1===e&&null!==n?Dn(t,n,a,o||null,!0):2===e?function Sa(e,t,n){const r=ii(e,t);r&&function fC(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,a,s):3===e&&t.destroyNode(a),null!=i&&function gC(e,t,n,r,o){const i=n[7];i!==Ce(n)&&Kn(t,e,r,i,o);for(let a=10;a<n.length;a++){const u=n[a];$r(u[1],u,e,t,r,i)}}(t,e,i,n,o)}}function Ea(e,t,n){return e.createElement(t,n)}function Yd(e,t){const n=e[9],r=n.indexOf(t),o=t[3];512&t[2]&&(t[2]&=-513,js(o,-1)),n.splice(r,1)}function wa(e,t){if(e.length<=10)return;const n=10+t,r=e[n];if(r){const o=r[17];null!==o&&o!==e&&Yd(o,r),t>0&&(e[n-1][4]=r[4]);const i=Jo(e,10+t);!function oC(e,t){$r(e,t,t[L],2,null,null),t[0]=null,t[6]=null}(r[1],r);const s=i[19];null!==s&&s.detachView(i[1]),r[3]=null,r[4]=null,r[2]&=-65}return r}function Qd(e,t){if(!(128&t[2])){const n=t[L];n.destroyNode&&$r(e,t,n,3,null,null),function aC(e){let t=e[13];if(!t)return ba(e[1],e);for(;t;){let n=null;if(qe(t))n=t[13];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)qe(t)&&ba(t[1],t),t=t[3];null===t&&(t=e),qe(t)&&ba(t[1],t),n=t&&t[4]}t=n}}(t)}}function ba(e,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function dC(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 Pr)){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];try{u.call(a)}finally{}}else try{i.call(o)}finally{}}}}(e,t),function cC(e,t){const n=e.cleanup,r=t[7];let o=-1;if(null!==n)for(let i=0;i<n.length-1;i+=2)if("string"==typeof n[i]){const s=n[i+3];s>=0?r[o=s]():r[o=-s].unsubscribe(),i+=2}else{const s=r[o=n[i+1]];n[i].call(s)}if(null!==r){for(let i=o+1;i<r.length;i++)(0,r[i])();t[7]=null}}(e,t),1===t[1].type&&t[L].destroy();const n=t[17];if(null!==n&&ut(t[3])){n!==t[3]&&Yd(n,t);const r=t[19];null!==r&&r.detachView(e)}!function q_(e){pa.delete(e[20])}(t)}}function Jd(e,t,n){return function ef(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[0];{const{componentOffset:o}=r;if(o>-1){const{encapsulation:i}=e.data[r.directiveStart+o];if(i===vt.None||i===vt.Emulated)return null}return Ke(r,n)}}(e,t.parent,n)}function Dn(e,t,n,r,o){e.insertBefore(t,n,r,o)}function tf(e,t,n){e.appendChild(t,n)}function nf(e,t,n,r,o){null!==r?Dn(e,t,n,r,o):tf(e,t,n)}function ii(e,t){return e.parentNode(t)}let Na,sf=function of(e,t,n){return 40&e.type?Ke(e,n):null};function si(e,t,n,r){const o=Jd(e,r,t),i=t[L],a=function rf(e,t,n){return sf(e,t,n)}(r.parent||t[6],r,t);if(null!=o)if(Array.isArray(n))for(let u=0;u<n.length;u++)nf(i,o,n[u],a,!1);else nf(i,o,n,a,!1)}function ai(e,t){if(null!==t){const n=t.type;if(3&n)return Ke(t,e);if(4&n)return Ia(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return ai(e,r);{const o=e[t.index];return ut(o)?Ia(-1,o):Ce(o)}}if(32&n)return Da(t,e)()||Ce(e[t.index]);{const r=uf(e,t);return null!==r?Array.isArray(r)?r[0]:ai(jr(e[16]),r):ai(e,t.next)}}return null}function uf(e,t){return null!==t?e[16][6].projection[t.projection]:null}function Ia(e,t){const n=10+e+1;if(n<t.length){const r=t[n],o=r[1].firstChild;if(null!==o)return ai(r,o)}return t[7]}function Aa(e,t,n,r,o,i,s){for(;null!=n;){const a=r[n.index],u=n.type;if(s&&0===t&&(a&&Te(Ce(a),r),n.flags|=2),32!=(32&n.flags))if(8&u)Aa(e,t,n.child,r,o,i,!1),Kn(t,e,o,a,i);else if(32&u){const l=Da(n,r);let c;for(;c=l();)Kn(t,e,o,c,i);Kn(t,e,o,a,i)}else 16&u?lf(e,t,r,n,o,i):Kn(t,e,o,a,i);n=s?n.projectionNext:n.next}}function $r(e,t,n,r,o,i){Aa(n,r,e.firstChild,t,o,i,!1)}function lf(e,t,n,r,o,i){const s=n[16],u=s[6].projection[r.projection];if(Array.isArray(u))for(let l=0;l<u.length;l++)Kn(t,e,o,u[l],i);else Aa(e,t,u,s[3],o,i,!0)}function cf(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function df(e,t,n){const{mergedAttrs:r,classes:o,styles:i}=n;null!==r&&Js(e,t,r),null!==o&&cf(e,t,o),null!==i&&function yC(e,t,n){e.setAttribute(t,"style",n)}(e,t,i)}class mf{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Fc})`}}function Jt(e){return e instanceof mf?e.changingThisBreaksApplicationSecurity:e}const FC=/^(?:(?:https?|mailto|data|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi;var he=(()=>((he=he||{})[he.NONE=0]="NONE",he[he.HTML=1]="HTML",he[he.STYLE=2]="STYLE",he[he.SCRIPT=3]="SCRIPT",he[he.URL=4]="URL",he[he.RESOURCE_URL=5]="RESOURCE_URL",he))();function ka(e){const t=function zr(){const e=y();return e&&e[12]}();return t?t.sanitize(he.URL,e)||"":function Ur(e,t){const n=function SC(e){return e instanceof mf&&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 ${Fc})`)}return n===t}(e,"URL")?Jt(e):function xa(e){return(e=String(e)).match(FC)?e:"unsafe:"+e}(F(e))}const bf=new M("ENVIRONMENT_INITIALIZER"),Mf=new M("INJECTOR",-1),If=new M("INJECTOR_DEF_TYPES");class Sf{get(t,n=Er){if(n===Er){const r=new Error(`NullInjectorError: No provider for ${X(t)}!`);throw r.name="NullInjectorError",r}return n}}function WC(...e){return{\u0275providers:Af(0,e),\u0275fromNgModule:!0}}function Af(e,...t){const n=[],r=new Set;let o;return yn(t,i=>{const s=i;La(s,n,[],r)&&(o||(o=[]),o.push(s))}),void 0!==o&&Tf(o,n),n}function Tf(e,t){for(let n=0;n<e.length;n++){const{providers:o}=e[n];Va(o,i=>{t.push(i)})}}function La(e,t,n,r){if(!(e=A(e)))return!1;let o=null,i=Pc(e);const s=!i&&W(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const u=e.ngModule;if(i=Pc(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)La(l,t,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!a){let l;r.add(o);try{yn(i.imports,c=>{La(c,t,n,r)&&(l||(l=[]),l.push(c))})}finally{}void 0!==l&&Tf(l,t)}if(!a){const l=pn(o)||(()=>new o);t.push({provide:o,useFactory:l,deps:U},{provide:If,useValue:o,multi:!0},{provide:bf,useValue:()=>V(o),multi:!0})}const u=i.providers;null==u||a||Va(u,c=>{t.push(c)})}}return o!==e&&void 0!==e.providers}function Va(e,t){for(let n of e)Ts(n)&&(n=n.\u0275providers),Array.isArray(n)?Va(n,t):t(n)}const qC=Z({provide:String,useValue:Z});function Ba(e){return null!==e&&"object"==typeof e&&qC in e}function _n(e){return"function"==typeof e}const Ha=new M("Set Injector scope."),di={},ZC={};let ja;function fi(){return void 0===ja&&(ja=new Sf),ja}class Cn{}class xf extends Cn{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,Ua(t,s=>this.processProvider(s)),this.records.set(Mf,Zn(void 0,this)),o.has("environment")&&this.records.set(Cn,Zn(void 0,this));const i=this.records.get(Ha);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(If.multi,U,N.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const n=Pn(this),r=et(void 0);try{return t()}finally{Pn(n),et(r)}}get(t,n=Er,r=N.Default){this.assertNotDestroyed(),r=ko(r);const o=Pn(this),i=et(void 0);try{if(!(r&N.SkipSelf)){let a=this.records.get(t);if(void 0===a){const u=function e0(e){return"function"==typeof e||"object"==typeof e&&e instanceof M}(t)&&Po(t);a=u&&this.injectableDefInScope(u)?Zn($a(t),di):null,this.records.set(t,a)}if(null!=a)return this.hydrate(t,a)}return(r&N.Self?fi():this.parent).get(t,n=r&N.Optional&&n===Er?null:n)}catch(s){if("NullInjectorError"===s.name){if((s[Ro]=s[Ro]||[]).unshift(X(t)),o)throw s;return function Iv(e,t,n,r){const o=e[Ro];throw t[kc]&&o.unshift(t[kc]),e.message=function Sv(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=X(t);if(Array.isArray(t))o=t.map(X).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):X(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(Ev,"\n ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[Ro]=null,e}(s,t,"R3InjectorError",this.source)}throw s}finally{et(i),Pn(o)}}resolveInjectorInitializers(){const t=Pn(this),n=et(void 0);try{const r=this.get(bf.multi,U,N.Self);for(const o of r)o()}finally{Pn(t),et(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(X(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new C(205,!1)}processProvider(t){let n=_n(t=A(t))?t:A(t&&t.provide);const r=function YC(e){return Ba(e)?Zn(void 0,e.useValue):Zn(Pf(e),di)}(t);if(_n(t)||!0!==t.multi)this.records.get(n);else{let o=this.records.get(n);o||(o=Zn(void 0,di,!0),o.factory=()=>Ps(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===di&&(n.value=ZC,n.value=n.factory()),"object"==typeof n.value&&n.value&&function JC(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)}}function $a(e){const t=Po(e),n=null!==t?t.factory:pn(e);if(null!==n)return n;if(e instanceof M)throw new C(204,!1);if(e instanceof Function)return function XC(e){const t=e.length;if(t>0)throw function Lr(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}(t,"?"),new C(204,!1);const n=function yv(e){const t=e&&(e[Oo]||e[Oc]);if(t){const n=function Dv(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),t}return null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new C(204,!1)}function Pf(e,t,n){let r;if(_n(e)){const o=A(e);return pn(o)||$a(o)}if(Ba(e))r=()=>A(e.useValue);else if(function Ff(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Ps(e.deps||[]));else if(function Nf(e){return!(!e||!e.useExisting)}(e))r=()=>V(A(e.useExisting));else{const o=A(e&&(e.useClass||e.provide));if(!function QC(e){return!!e.deps}(e))return pn(o)||$a(o);r=()=>new o(...Ps(e.deps))}return r}function Zn(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Ua(e,t){for(const n of e)Array.isArray(n)?Ua(n,t):n&&Ts(n)?Ua(n.\u0275providers,t):t(n)}class t0{}class Of{}class r0{resolveComponentFactory(t){throw function n0(e){const t=Error(`No component factory found for ${X(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let hi=(()=>{class e{}return e.NULL=new r0,e})();function o0(){return Xn(Ee(),y())}function Xn(e,t){return new ct(Ke(e,t))}let ct=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=o0,e})();class kf{}let En=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function a0(){const e=y(),n=Ze(Ee().index,e);return(qe(n)?n:e)[L]}(),e})(),u0=(()=>{class e{}return e.\u0275prov=$({token:e,providedIn:"root",factory:()=>null}),e})();class pi{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const l0=new pi("15.1.0"),Ga={};function Wa(e){return e.ngOriginalError}class Yn{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&&Wa(t);for(;n&&Wa(n);)n=Wa(n);return n||null}}function qa(e){return e.ownerDocument}function Vf(e,t,n){let r=e.length;for(;;){const o=e.indexOf(t,n);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}const Bf="ng-template";function v0(e,t,n){let r=0;for(;r<e.length;){let o=e[r++];if(n&&"class"===o){if(o=e[r],-1!==Vf(o.toLowerCase(),t,0))return!0}else if(1===o){for(;r<e.length&&"string"==typeof(o=e[r++]);)if(o.toLowerCase()===t)return!0;return!1}}return!1}function Hf(e){return 4===e.type&&e.value!==Bf}function _0(e,t,n){return t===(4!==e.type||n?e.value:Bf)}function C0(e,t,n){let r=4;const o=e.attrs||[],i=function b0(e){for(let t=0;t<e.length;t++)if(hd(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&&!_0(e,u,n)||""===u&&1===t.length){if(dt(r))return!1;s=!0}}else{const l=8&r?u:t[++a];if(8&r&&null!==e.attrs){if(!v0(e.attrs,l,n)){if(dt(r))return!1;s=!0}continue}const d=E0(8&r?"class":u,o,Hf(e),n);if(-1===d){if(dt(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!==Vf(h,l,0)||2&r&&l!==f){if(dt(r))return!1;s=!0}}}}else{if(!s&&!dt(r)&&!dt(u))return!1;if(s&&dt(u))continue;s=!1,r=u|1&r}}return dt(r)||s}function dt(e){return 0==(1&e)}function E0(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 M0(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 jf(e,t,n=!1){for(let r=0;r<t.length;r++)if(C0(e,t[r],n))return!0;return!1}function $f(e,t){return e?":not("+t.trim()+")":t}function S0(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&&!dt(s)&&(t+=$f(i,o),o=""),r=s,i=i||!dt(r);n++}return""!==o&&(t+=$f(i,o)),t}const O={};function Ye(e){Uf(H(),y(),Le()+e,!1)}function Uf(e,t,n,r){if(!r)if(3==(3&t[2])){const i=e.preOrderCheckHooks;null!==i&&Wo(t,i,n)}else{const i=e.preOrderHooks;null!==i&&qo(t,i,0,n)}gn(n)}function qf(e,t=null,n=null,r){const o=Kf(e,t,n,r);return o.resolveInjectorInitializers(),o}function Kf(e,t=null,n=null,r,o=new Set){const i=[n||U,WC(e)];return r=r||("object"==typeof e?void 0:X(e)),new xf(i,t||fi(),r||null,o)}let en=(()=>{class e{static create(n,r){if(Array.isArray(n))return qf({name:""},r,n,"");{const o=n.name??"";return qf({name:o},n.parent,n.providers,o)}}}return e.THROW_IF_NOT_FOUND=Er,e.NULL=new Sf,e.\u0275prov=$({token:e,providedIn:"any",factory:()=>V(Mf)}),e.__NG_ELEMENT_ID__=-1,e})();function _(e,t=N.Default){const n=y();return null===n?V(e,t):Ed(Ee(),n,A(e),t)}function th(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];Ks(n[r]),s.contentQueries(2,t[i],i)}}}function mi(e,t,n,r,o,i,s,a,u,l,c){const d=t.blueprint.slice();return d[0]=o,d[2]=76|r,(null!==c||e&&1024&e[2])&&(d[2]|=1024),Jc(d),d[3]=d[15]=e,d[8]=n,d[10]=s||e&&e[10],d[L]=a||e&&e[L],d[12]=u||e&&e[12]||null,d[9]=l||e&&e[9]||null,d[6]=i,d[20]=function z_(){return G_++}(),d[21]=c,d[16]=2==t.type?e[16]:d,d}function er(e,t,n,r,o){let i=e.data[t];if(null===i)i=function Qa(e,t,n,r,o){const i=nd(),s=Gs(),u=e.data[t]=function eE(e,t,n,r,o,i){return{type:n,index:r,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:0,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?i:i&&i.parent,n,t,r,o);return null===e.firstChild&&(e.firstChild=u),null!==i&&(s?null==i.child&&null!==u.parent&&(i.child=u):null===i.next&&(i.next=u)),u}(e,t,n,r,o),function Zv(){return P.lFrame.inI18n}()&&(i.flags|=32);else if(64&i.type){i.type=n,i.value=r,i.attrs=o;const s=function xr(){const e=P.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();i.injectorIndex=null===s?-1:s.injectorIndex}return Ct(i,!0),i}function Wr(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 Ja(e,t,n){Zs(t);try{const r=e.viewQuery;null!==r&&lu(1,r,n);const o=e.template;null!==o&&nh(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&th(e,t),e.staticViewQueries&&lu(2,e.viewQuery,n);const i=e.components;null!==i&&function Y0(e,t){for(let n=0;n<t.length;n++)vE(e,t[n])}(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[2]&=-5,Xs()}}function yi(e,t,n,r){const o=t[2];if(128!=(128&o)){Zs(t);try{Jc(t),function od(e){return P.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&nh(e,t,n,2,r);const s=3==(3&o);if(s){const l=e.preOrderCheckHooks;null!==l&&Wo(t,l,null)}else{const l=e.preOrderHooks;null!==l&&qo(t,l,0,null),Ys(t,0)}if(function yE(e){for(let t=va(e);null!==t;t=_a(t)){if(!t[2])continue;const n=t[9];for(let r=0;r<n.length;r++){const o=n[r];512&o[2]||js(o[3],1),o[2]|=512}}}(t),function mE(e){for(let t=va(e);null!==t;t=_a(t))for(let n=10;n<t.length;n++){const r=t[n],o=r[1];Go(r)&&yi(o,r,o.template,r[8])}}(t),null!==e.contentQueries&&th(e,t),s){const l=e.contentCheckHooks;null!==l&&Wo(t,l)}else{const l=e.contentHooks;null!==l&&qo(t,l,1),Ys(t,1)}!function Z0(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const o=n[r];if(o<0)gn(~o);else{const i=o,s=n[++r],a=n[++r];Xv(s,i),a(2,t[i])}}}finally{gn(-1)}}(e,t);const a=e.components;null!==a&&function X0(e,t){for(let n=0;n<t.length;n++)DE(e,t[n])}(t,a);const u=e.viewQuery;if(null!==u&&lu(2,u,r),s){const l=e.viewCheckHooks;null!==l&&Wo(t,l)}else{const l=e.viewHooks;null!==l&&qo(t,l,2),Ys(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[2]&=-41,512&t[2]&&(t[2]&=-513,js(t[3],-1))}finally{Xs()}}}function nh(e,t,n,r,o){const i=Le(),s=2&r;try{gn(-1),s&&t.length>22&&Uf(e,t,22,!1),n(r,o)}finally{gn(i)}}function eu(e,t,n){if(Bs(t)){const o=t.directiveEnd;for(let i=t.directiveStart;i<o;i++){const s=e.data[i];s.contentQueries&&s.contentQueries(1,n[i],i)}}}function tu(e,t,n){td()&&(function sE(e,t,n,r){const o=n.directiveStart,i=n.directiveEnd;Fr(n)&&function hE(e,t,n){const r=Ke(t,e),o=rh(n),i=e[10],s=Di(e,mi(e,o,null,n.onPush?32:16,r,t,i,i.createRenderer(r,n),null,null,null));e[t.index]=s}(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||Yo(n,t),Te(r,t);const s=n.initialInputs;for(let a=o;a<i;a++){const u=e.data[a],l=mn(t,e,a,n);Te(l,t),null!==s&&pE(0,a-o,l,u,0,s),lt(u)&&(Ze(n.index,t)[8]=mn(t,e,a,n))}}(e,t,n,Ke(n,t)),64==(64&n.flags)&&lh(e,t,n))}function nu(e,t,n=Ke){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 rh(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=ru(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function ru(e,t,n,r,o,i,s,a,u,l){const c=22+r,d=c+o,f=function Q0(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:O);return n}(c,d),h="function"==typeof l?l():l;return f[1]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,c),bindingStartIndex:c,expandoStartIndex:d,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof i?i():i,pipeRegistry:"function"==typeof s?s():s,firstChild:null,schemas:u,consts:h,incompleteFirstPass:!1}}function ih(e,t,n,r){for(let o in e)if(e.hasOwnProperty(o)){n=null===n?{}:n;const i=e[o];null===r?sh(n,t,o,i):r.hasOwnProperty(o)&&sh(n,t,r[o],i)}return n}function sh(e,t,n,r){e.hasOwnProperty(n)?e[n].push(t,r):e[n]=[t,r]}function Qe(e,t,n,r,o,i,s,a){const u=Ke(t,n);let c,l=t.inputs;!a&&null!=l&&(c=l[r])?(cu(e,n,c,r,o),Fr(t)&&ah(n,t.index)):3&t.type&&(r=function nE(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 ah(e,t){const n=Ze(t,e);16&n[2]||(n[2]|=32)}function ou(e,t,n,r){let o=!1;if(td()){const i=null===r?null:{"":-1},s=function uE(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(jf(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),iu(e,t,a.length)}else r.unshift(s),iu(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 a,u;null===s?a=u=null:[a,u]=s,null!==a&&(o=!0,uh(e,t,n,a,i,u)),i&&function lE(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,i)}return n.mergedAttrs=Or(n.mergedAttrs,n.attrs),o}function uh(e,t,n,r,o,i){for(let l=0;l<r.length;l++)ra(Yo(n,t),e,r[l].type);!function dE(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=Wr(e,t,r.length,null);for(let l=0;l<r.length;l++){const c=r[l];n.mergedAttrs=Or(n.mergedAttrs,c.hostAttrs),fE(e,n,t,u,c),cE(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||(e.preOrderHooks=[])).push(n.index),s=!0),!a&&(d.ngOnChanges||d.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),a=!0),u++}!function tE(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=ih(d.inputs,c,u,f?f.inputs:null),l=ih(d.outputs,c,l,p);const g=null===u||null===s||Hf(t)?null:gE(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 lh(e,t,n){const r=n.directiveStart,o=n.directiveEnd,i=n.index,s=function Yv(){return P.lFrame.currentDirectiveIndex}();try{gn(i);for(let a=r;a<o;a++){const u=e.data[a],l=t[a];Ws(a),(null!==u.hostBindings||0!==u.hostVars||null!==u.hostAttrs)&&aE(u,l)}}finally{gn(-1),Ws(s)}}function aE(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function iu(e,t,n){t.componentOffset=n,(e.components||(e.components=[])).push(t.index)}function cE(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 fE(e,t,n,r,o){e.data[r]=o;const i=o.factory||(o.factory=pn(o.type)),s=new Pr(i,lt(o),_);e.blueprint[r]=s,n[r]=s,function oE(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 iE(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,Wr(e,n,o.hostVars,O),o)}function pE(e,t,n,r,o,i){const s=i[t];if(null!==s){const a=r.setInput;for(let u=0;u<s.length;){const l=s[u++],c=s[u++],d=s[u++];null!==a?r.setInput(n,d,l,c):n[c]=d}}}function gE(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 ch(e,t,n,r){return[e,!0,!1,t,null,0,r,n,null,null]}function DE(e,t){const n=Ze(t,e);if(Go(n)){const r=n[1];48&n[2]?yi(r,n,r.template,n[8]):n[5]>0&&au(n)}}function au(e){for(let r=va(e);null!==r;r=_a(r))for(let o=10;o<r.length;o++){const i=r[o];if(Go(i))if(512&i[2]){const s=i[1];yi(s,i,s.template,i[8])}else i[5]>0&&au(i)}const n=e[1].components;if(null!==n)for(let r=0;r<n.length;r++){const o=Ze(n[r],e);Go(o)&&o[5]>0&&au(o)}}function vE(e,t){const n=Ze(t,e),r=n[1];(function _E(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])})(r,n),Ja(r,n,n[8])}function Di(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function uu(e){for(;e;){e[2]|=32;const t=jr(e);if(Fv(e)&&!t)return e;e=t}return null}function vi(e,t,n,r=!0){const o=t[10];o.begin&&o.begin();try{yi(e,t,e.template,n)}catch(s){throw r&&ph(t,s),s}finally{o.end&&o.end()}}function lu(e,t,n){Ks(0),t(e,n)}function dh(e){return e[7]||(e[7]=[])}function fh(e){return e.cleanup||(e.cleanup=[])}function ph(e,t){const n=e[9],r=n?n.get(Yn,null):null;r&&r.handleError(t)}function cu(e,t,n,r,o){for(let i=0;i<n.length;){const s=n[i++],a=n[i++],u=t[s],l=e.data[s];null!==l.setInput?l.setInput(u,o,r,a):u[a]=o}}function _i(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=Ss(o,a):2==i&&(r=Ss(r,a+": "+t[++s]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function Ci(e,t,n,r,o=!1){for(;null!==n;){const i=t[n.index];if(null!==i&&r.push(Ce(i)),ut(i))for(let a=10;a<i.length;a++){const u=i[a],l=u[1].firstChild;null!==l&&Ci(u[1],u,l,r)}const s=n.type;if(8&s)Ci(e,t,n.child,r);else if(32&s){const a=Da(n,t);let u;for(;u=a();)r.push(u)}else if(16&s){const a=uf(t,n);if(Array.isArray(a))r.push(...a);else{const u=jr(t[16]);Ci(u[1],u,a,r,!0)}}n=o?n.projectionNext:n.next}return r}class qr{get rootNodes(){const t=this._lView,n=t[1];return Ci(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return 128==(128&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(ut(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(wa(t,r),Jo(n,r))}this._attachedToViewContainer=!1}Qd(this._lView[1],this._lView)}onDestroy(t){!function oh(e,t,n,r){const o=dh(t);null===n?o.push(r):(o.push(n),e.firstCreatePass&&fh(e).push(r,o.length-1))}(this._lView[1],this._lView,null,t)}markForCheck(){uu(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){vi(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new C(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function sC(e,t){$r(e,t,t[L],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new C(902,!1);this._appRef=t}}class CE extends qr{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;vi(t[1],t,t[8],!1)}checkNoChanges(){}get context(){return null}}class gh extends hi{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=W(t);return new Kr(n,this.ngModule)}}function mh(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class wE{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=ko(r);const o=this.injector.get(t,Ga,r);return o!==Ga||n===Ga?o:this.parentInjector.get(t,n,r)}}class Kr extends Of{get inputs(){return mh(this.componentDef.inputs)}get outputs(){return mh(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function A0(e){return e.map(S0).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,o){let i=(o=o||this.ngModule)instanceof Cn?o:o?.injector;i&&null!==this.componentDef.getStandaloneInjector&&(i=this.componentDef.getStandaloneInjector(i)||i);const s=i?new wE(t,i):t,a=s.get(kf,null);if(null===a)throw new C(407,!1);const u=s.get(u0,null),l=a.createRenderer(null,this.componentDef),c=this.componentDef.selectors[0][0]||"div",d=r?function J0(e,t,n){return e.selectRootElement(t,n===vt.ShadowDom)}(l,r,this.componentDef.encapsulation):Ea(l,c,function EE(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(c)),f=this.componentDef.onPush?288:272,h=ru(0,null,null,1,0,null,null,null,null,null),p=mi(null,h,null,f,null,null,a,l,u,s,null);let g,v;Zs(p);try{const D=this.componentDef;let w,m=null;D.findHostDirectiveDefs?(w=[],m=new Map,D.findHostDirectiveDefs(D,w,m),w.push(D)):w=[D];const S=function ME(e,t){const n=e[1];return e[22]=t,er(n,22,2,"#host",null)}(p,d),Y=function IE(e,t,n,r,o,i,s,a){const u=o[1];!function SE(e,t,n,r){for(const o of e)t.mergedAttrs=Or(t.mergedAttrs,o.hostAttrs);null!==t.mergedAttrs&&(_i(t,t.mergedAttrs,!0),null!==n&&df(r,n,t))}(r,e,t,s);const l=i.createRenderer(t,n),c=mi(o,rh(n),null,n.onPush?32:16,o[e.index],e,i,l,a||null,null,null);return u.firstCreatePass&&iu(u,e,r.length-1),Di(o,c),o[e.index]=c}(S,d,D,w,p,a,l);v=Qc(h,22),d&&function TE(e,t,n,r){if(r)Js(e,n,["ng-version",l0.full]);else{const{attrs:o,classes:i}=function T0(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(!dt(o))break;o=i}r++}return{attrs:t,classes:n}}(t.selectors[0]);o&&Js(e,n,o),i&&i.length>0&&cf(e,n,i.join(" "))}}(l,D,d,r),void 0!==n&&function NE(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)}}(v,this.ngContentSelectors,n),g=function AE(e,t,n,r,o,i){const s=Ee(),a=o[1],u=Ke(s,o);uh(a,o,s,n,null,r);for(let c=0;c<n.length;c++)Te(mn(o,a,s.directiveStart+c,s),o);lh(a,o,s),u&&Te(u,o);const l=mn(o,a,s.directiveStart+s.componentOffset,s);if(e[8]=o[8]=l,null!==i)for(const c of i)c(l,t);return eu(a,s,e),l}(Y,D,w,m,p,[FE]),Ja(h,p,null)}finally{Xs()}return new bE(this.componentType,g,Xn(v,p),p,v)}}class bE extends t0{constructor(t,n,r,o,i){super(),this.location=r,this._rootLView=o,this._tNode=i,this.instance=n,this.hostView=this.changeDetectorRef=new CE(o),this.componentType=t}setInput(t,n){const r=this._tNode.inputs;let o;if(null!==r&&(o=r[t])){const i=this._rootLView;cu(i[1],i,o,t,n),ah(i,this._tNode.index)}}get injector(){return new jn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function FE(){const e=Ee();zo(y()[1],e)}function q(e){let t=function yh(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=du(e.inputs),s.declaredInputs=du(e.declaredInputs),s.outputs=du(e.outputs);const a=o.hostBindings;a&&RE(e,a);const u=o.viewQuery,l=o.contentQueries;if(u&&PE(e,u),l&&OE(e,l),Is(e.inputs,o.inputs),Is(e.declaredInputs,o.declaredInputs),Is(e.outputs,o.outputs),lt(o)&&o.data.animation){const c=e.data;c.animation=(c.animation||[]).concat(o.data.animation)}}const i=o.features;if(i)for(let s=0;s<i.length;s++){const a=i[s];a&&a.ngInherit&&a(e),a===q&&(n=!1)}}t=Object.getPrototypeOf(t)}!function xE(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=Or(o.hostAttrs,n=Or(n,o.hostAttrs))}}(r)}function du(e){return e===xt?{}:e===U?[]:e}function PE(e,t){const n=e.viewQuery;e.viewQuery=n?(r,o)=>{t(r,o),n(r,o)}:t}function OE(e,t){const n=e.contentQueries;e.contentQueries=n?(r,o,i)=>{t(r,o,i),n(r,o,i)}:t}function RE(e,t){const n=e.hostBindings;e.hostBindings=n?(r,o)=>{t(r,o),n(r,o)}:t}let Ei=null;function wn(){if(!Ei){const e=J.Symbol;if(e&&e.iterator)Ei=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let n=0;n<t.length;++n){const r=t[n];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(Ei=r)}}}return Ei}function Zr(e){return!!fu(e)&&(Array.isArray(e)||!(e instanceof Map)&&wn()in e)}function fu(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Ne(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function nr(e,t,n,r){return Ne(e,Bn(),n)?t+F(n)+r:O}function hu(e){return function Vn(e,t){return e[t]}(function Kv(){return P.lFrame.contextLView}(),22+e)}function Ut(e,t,n){const r=y();return Ne(r,Bn(),t)&&Qe(H(),oe(),r,e,t,r[L],n,!1),Ut}function pu(e,t,n,r,o){const s=o?"class":"style";cu(e,n,t.inputs[s],s,r)}function j(e,t,n,r){const o=y(),i=H(),s=22+e,a=o[L],u=o[s]=Ea(a,t,function i_(){return P.lFrame.currentNamespace}()),l=i.firstCreatePass?function qE(e,t,n,r,o,i,s){const a=t.consts,l=er(t,e,2,o,Qt(a,i));return ou(t,n,l,Qt(a,s)),null!==l.attrs&&_i(l,l.attrs,!1),null!==l.mergedAttrs&&_i(l,l.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,l),l}(s,i,o,0,t,n,r):i.data[s];return Ct(l,!0),df(a,u,l),32!=(32&l.flags)&&si(i,o,u,l),0===function Uv(){return P.lFrame.elementDepthCount}()&&Te(u,o),function Gv(){P.lFrame.elementDepthCount++}(),$o(l)&&(tu(i,o,l),eu(i,l,o)),null!==r&&nu(o,l),j}function K(){let e=Ee();Gs()?function zs(){P.lFrame.isParent=!1}():(e=e.parent,Ct(e,!1));const t=e;!function zv(){P.lFrame.elementDepthCount--}();const n=H();return n.firstCreatePass&&(zo(n,e),Bs(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function l_(e){return 0!=(8&e.flags)}(t)&&pu(n,t,y(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function c_(e){return 0!=(16&e.flags)}(t)&&pu(n,t,y(),t.stylesWithoutHost,!1),K}function Mt(e,t,n,r){return j(e,t,n,r),K(),Mt}function yu(){return y()}function bi(e){return!!e&&"function"==typeof e.then}const Ph=function xh(e){return!!e&&"function"==typeof e.subscribe};function we(e,t,n,r){const o=y(),i=H(),s=Ee();return function Rh(e,t,n,r,o,i,s){const a=$o(r),l=e.firstCreatePass&&fh(e),c=t[8],d=dh(t);let f=!0;if(3&r.type||s){const g=Ke(r,t),v=s?s(g):g,D=d.length,w=s?S=>s(Ce(S[r.index])):r.index;let m=null;if(!s&&a&&(m=function ZE(e,t,n,r){const o=e.cleanup;if(null!=o)for(let i=0;i<o.length-1;i+=2){const s=o[i];if(s===n&&o[i+1]===r){const a=t[7],u=o[i+2];return a.length>u?a[u]:null}"string"==typeof s&&(i+=2)}return null}(e,t,o,r.index)),null!==m)(m.__ngLastListenerFn__||m).__ngNextListenerFn__=i,m.__ngLastListenerFn__=i,f=!1;else{i=Lh(r,t,c,i,!1);const S=n.listen(v,o,i);d.push(i,S),l&&l.push(o,w,D,D+1)}}else i=Lh(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 v=0;v<g;v+=2){const Y=t[p[v]][p[v+1]].subscribe(i),fe=d.length;d.push(i,Y),l&&l.push(o,r.index,fe,-(fe+1))}}}(i,o,o[L],s,e,t,r),we}function kh(e,t,n,r){try{return!1!==n(r)}catch(o){return ph(e,o),!1}}function Lh(e,t,n,r,o){return function i(s){if(s===Function)return r;uu(e.componentOffset>-1?Ze(e.index,t):t);let u=kh(t,0,r,s),l=i.__ngNextListenerFn__;for(;l;)u=kh(t,0,l,s)&&u,l=l.__ngNextListenerFn__;return o&&!1===u&&(s.preventDefault(),s.returnValue=!1),u}}function Vh(e=1){return function Jv(e){return(P.lFrame.contextLView=function e_(e,t){for(;e>0;)t=t[15],e--;return t}(e,P.lFrame.contextLView))[8]}(e)}function Du(e,t,n){return vu(e,"",t,"",n),Du}function vu(e,t,n,r,o){const i=y(),s=nr(i,t,n,r);return s!==O&&Qe(H(),oe(),i,e,s,i[L],o,!1),vu}function Mi(e,t){return e<<17|t<<2}function tn(e){return e>>17&32767}function _u(e){return 2|e}function Mn(e){return(131068&e)>>2}function Cu(e,t){return-131069&e|t<<2}function Eu(e){return 1|e}function qh(e,t,n,r,o){const i=e[n+1],s=null===t;let a=r?tn(i):Mn(i),u=!1;for(;0!==a&&(!1===u||s);){const c=e[a+1];ow(e[a],t)&&(u=!0,e[a+1]=r?Eu(c):_u(c)),a=r?tn(c):Mn(c)}u&&(e[n+1]=r?_u(i):Eu(i))}function ow(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Wn(e,t)>=0}function Ii(e,t){return function ft(e,t,n,r){const o=y(),i=H(),s=function Vt(e){const t=P.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}(2);i.firstUpdatePass&&function np(e,t,n,r){const o=e.data;if(null===o[n+1]){const i=o[Le()],s=function tp(e,t){return t>=e.expandoStartIndex}(e,n);(function sp(e,t){return 0!=(e.flags&(t?8:16))})(i,r)&&null===t&&!s&&(t=!1),t=function hw(e,t,n,r){const o=function qs(e){const t=P.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=Yr(n=wu(null,e,t,n,r),t.attrs,r),i=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==o)if(n=wu(o,e,t,n,r),null===i){let u=function pw(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==Mn(r))return e[tn(r)]}(e,t,r);void 0!==u&&Array.isArray(u)&&(u=wu(null,e,t,u[1],r),u=Yr(u,t.attrs,r),function gw(e,t,n,r){e[tn(n?t.classBindings:t.styleBindings)]=r}(e,t,r,u))}else i=function mw(e,t,n){let r;const o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++)r=Yr(r,e[i].hostAttrs,n);return Yr(r,t.attrs,n)}(e,t,r)}return void 0!==i&&(r?t.residualClasses=i:t.residualStyles=i),n}(o,i,t,r),function nw(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=tn(s),u=Mn(s);e[r]=n;let c,l=!1;if(Array.isArray(n)?(c=n[1],(null===c||Wn(n,c)>0)&&(l=!0)):c=n,o)if(0!==u){const f=tn(e[a+1]);e[r+1]=Mi(f,a),0!==f&&(e[f+1]=Cu(e[f+1],r)),e[a+1]=function ew(e,t){return 131071&e|t<<17}(e[a+1],r)}else e[r+1]=Mi(a,0),0!==a&&(e[a+1]=Cu(e[a+1],r)),a=r;else e[r+1]=Mi(u,0),0===a?a=r:e[u+1]=Cu(e[u+1],r),u=r;l&&(e[r+1]=_u(e[r+1])),qh(e,c,r,!0),qh(e,c,r,!1),function rw(e,t,n,r,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&Wn(i,t)>=0&&(n[r+1]=Eu(n[r+1]))}(t,c,e,r,i),s=Mi(a,u),i?t.classBindings=s:t.styleBindings=s}(o,i,t,n,s,r)}}(i,e,s,r),t!==O&&Ne(o,s,t)&&function op(e,t,n,r,o,i,s,a){if(!(3&t.type))return;const u=e.data,l=u[a+1],c=function tw(e){return 1==(1&e)}(l)?ip(u,t,n,o,Mn(l),s):void 0;Si(c)||(Si(i)||function JE(e){return 2==(2&e)}(l)&&(i=ip(u,null,n,o,a,s)),function mC(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=-1===r.indexOf("-")?void 0:$e.DashCase;null==o?e.removeStyle(n,r,i):("string"==typeof o&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=$e.Important),e.setStyle(n,r,o,i))}}(r,s,Uo(Le(),n),o,i))}(i,i.data[Le()],o,o[L],e,o[s+1]=function vw(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=X(Jt(e)))),e}(t,n),r,s)}(e,t,null,!0),Ii}function wu(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=Yr(r,i.hostAttrs,o),i!==e);)a++;return null!==e&&(n.directiveStylingLast=a),r}function Yr(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 ip(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?U:void 0);let h=d?ua(f,r):c===r?f:void 0;if(l&&!Si(h)&&(h=ua(u,r)),Si(h)&&(a=h,s))return a;const p=e[o+1];o=s?tn(p):Mn(p)}if(null!==t){let u=i?t.residualClasses:t.residualStyles;null!=u&&(a=ua(u,r))}return a}function Si(e){return void 0!==e}function ae(e,t=""){const n=y(),r=H(),o=e+22,i=r.firstCreatePass?er(r,o,1,t,null):r.data[o],s=n[o]=function Ca(e,t){return e.createText(t)}(n[L],t);si(r,n,s,i),Ct(i,!1)}function Ai(e){return Qr("",e,""),Ai}function Qr(e,t,n){const r=y(),o=nr(r,e,t,n);return o!==O&&function jt(e,t,n){const r=Uo(t,e);!function Xd(e,t,n){e.setValue(t,n)}(e[L],r,n)}(r,Le(),o),Qr}const fr="en-US";let Ap=fr;function Iu(e,t,n,r,o){if(e=A(e),Array.isArray(e))for(let i=0;i<e.length;i++)Iu(e[i],t,n,r,o);else{const i=H(),s=y();let a=_n(e)?e:A(e.provide),u=Pf(e);const l=Ee(),c=1048575&l.providerIndexes,d=l.directiveStart,f=l.providerIndexes>>20;if(_n(e)||!e.multi){const h=new Pr(u,o,_),p=Au(a,t,o?c:c+f,d);-1===p?(ra(Yo(l,s),i,a),Su(i,e,t.length),t.push(a),l.directiveStart++,l.directiveEnd++,o&&(l.providerIndexes+=1048576),n.push(h),s.push(h)):(n[p]=h,s[p]=h)}else{const h=Au(a,t,c+f,d),p=Au(a,t,c,c+f),v=p>=0&&n[p];if(o&&!v||!o&&!(h>=0&&n[h])){ra(Yo(l,s),i,a);const D=function Lb(e,t,n,r,o){const i=new Pr(e,n,_);return i.multi=[],i.index=t,i.componentProviders=0,Jp(i,o,r&&!n),i}(o?kb:Rb,n.length,o,r,u);!o&&v&&(n[p].providerFactory=D),Su(i,e,t.length,0),t.push(a),l.directiveStart++,l.directiveEnd++,o&&(l.providerIndexes+=1048576),n.push(D),s.push(D)}else Su(i,e,h>-1?h:p,Jp(n[o?p:h],u,!o&&r));!o&&r&&v&&n[p].componentProviders++}}}function Su(e,t,n,r){const o=_n(t),i=function KC(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 Jp(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Au(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function Rb(e,t,n,r){return Tu(this.multi,[])}function kb(e,t,n,r){const o=this.multi;let i;if(this.providerFactory){const s=this.providerFactory.componentProviders,a=mn(n,n[1],this.providerFactory.index,r);i=a.slice(0,s),Tu(o,i);for(let u=s;u<a.length;u++)i.push(a[u])}else i=[],Tu(o,i);return i}function Tu(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function re(e,t=[]){return n=>{n.providersResolver=(r,o)=>function Ob(e,t,n){const r=H();if(r.firstCreatePass){const o=lt(e);Iu(n,r.data,r.blueprint,o,!0),Iu(t,r.data,r.blueprint,o,!1)}}(r,o?o(e):e,t)}}class hr{}class Vb{}class eg extends hr{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new gh(this);const r=function We(e,t){const n=e[Vc]||null;if(!n&&!0===t)throw new Error(`Type ${X(e)} does not have '\u0275mod' property.`);return n}(t);this._bootstrapComponents=function Ht(e){return e instanceof Function?e():e}(r.bootstrap),this._r3Injector=Kf(t,n,[{provide:hr,useValue:this},{provide:hi,useValue:this.componentFactoryResolver}],X(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 Nu extends Vb{constructor(t){super(),this.moduleType=t}create(t){return new eg(this.moduleType,t)}}function xu(e,t,n,r){return function ug(e,t,n,r,o,i){const s=t+n;return Ne(e,s,o)?function bt(e,t,n){return e[t]=n}(e,s+1,i?r.call(i,o):r(o)):function oo(e,t){const n=e[t];return n===O?void 0:n}(e,s+1)}(y(),function ke(){const e=P.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}(),e,t,n,r)}function Pu(e){return t=>{setTimeout(e,void 0,t)}}const Fe=class hM extends Cs{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=Pu(i),o&&(o=Pu(o)),s&&(s=Pu(s)));const a=super.subscribe({next:o,error:i,complete:s});return t instanceof yt&&t.add(a),a}};let Gt=(()=>{class e{}return e.__NG_ELEMENT_ID__=yM,e})();const gM=Gt,mM=class extends gM{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(t,n){const r=this._declarationTContainer.tViews,o=mi(this._declarationLView,r,t,16,null,r.declTNode,null,null,null,null,n||null);o[17]=this._declarationLView[this._declarationTContainer.index];const s=this._declarationLView[19];return null!==s&&(o[19]=s.createEmbeddedView(r)),Ja(r,o,t),new qr(o)}};function yM(){return function Pi(e,t){return 4&e.type?new mM(t,e,Xn(e,t)):null}(Ee(),y())}let At=(()=>{class e{}return e.__NG_ELEMENT_ID__=DM,e})();function DM(){return function gg(e,t){let n;const r=t[e.index];if(ut(r))n=r;else{let o;if(8&e.type)o=Ce(r);else{const i=t[L];o=i.createComment("");const s=Ke(e,t);Dn(i,ii(i,s),o,function hC(e,t){return e.nextSibling(t)}(i,s),!1)}t[e.index]=n=ch(r,t,o,e),Di(t,n)}return new hg(n,e,t)}(Ee(),y())}const vM=At,hg=class extends vM{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Xn(this._hostTNode,this._hostLView)}get injector(){return new jn(this._hostTNode,this._hostLView)}get parentInjector(){const t=na(this._hostTNode,this._hostLView);if(md(t)){const n=Zo(t,this._hostLView),r=Ko(t);return new jn(n[1].data[r+8],n)}return new jn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=pg(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,r){let o,i;"number"==typeof r?o=r:null!=r&&(o=r.index,i=r.injector);const s=t.createEmbeddedView(n||{},i);return this.insert(s,o),s}createComponent(t,n,r,o,i){const s=t&&!function kr(e){return"function"==typeof e}(t);let a;if(s)a=n;else{const d=n||{};a=d.index,r=d.injector,o=d.projectableNodes,i=d.environmentInjector||d.ngModuleRef}const u=s?t:new Kr(W(t)),l=r||this.parentInjector;if(!i&&null==u.ngModule){const f=(s?l:this.parentInjector).get(Cn,null);f&&(i=f)}const c=u.create(l,o,void 0,i);return this.insert(c.hostView,a),c}insert(t,n){const r=t._lView,o=r[1];if(function $v(e){return ut(e[3])}(r)){const c=this.indexOf(t);if(-1!==c)this.detach(c);else{const d=r[3],f=new hg(d,d[6],d[3]);f.detach(f.indexOf(t))}}const i=this._adjustIndex(n),s=this._lContainer;!function uC(e,t,n,r){const o=10+r,i=n.length;r>0&&(n[o-1][4]=t),r<i-10?(t[4]=n[o],Ad(n,10+r,t)):(n.push(t),t[4]=null),t[3]=n;const s=t[17];null!==s&&n!==s&&function lC(e,t){const n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(s,t);const a=t[19];null!==a&&a.insertView(e),t[2]|=64}(o,r,s,i);const a=Ia(i,s),u=r[L],l=ii(u,s[7]);return null!==l&&function iC(e,t,n,r,o,i){r[0]=o,r[6]=t,$r(e,r,n,1,o,i)}(o,s[6],u,r,l,a),t.attachToViewContainerRef(),Ad(Ru(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=pg(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=wa(this._lContainer,n);r&&(Jo(Ru(this._lContainer),n),Qd(r[1],r))}detach(t){const n=this._adjustIndex(t,-1),r=wa(this._lContainer,n);return r&&null!=Jo(Ru(this._lContainer),n)?new qr(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function pg(e){return e[8]}function Ru(e){return e[8]||(e[8]=[])}function Ri(...e){}const Bg=new M("Application Initializer");let ki=(()=>{class e{constructor(n){this.appInits=n,this.resolve=Ri,this.reject=Ri,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o})}runInitializers(){if(this.initialized)return;const n=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let o=0;o<this.appInits.length;o++){const i=this.appInits[o]();if(bi(i))n.push(i);else if(Ph(i)){const s=new Promise((a,u)=>{i.subscribe({complete:a,error:u})});n.push(s)}}Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),0===n.length&&r(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(V(Bg,8))},e.\u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const ao=new M("AppId",{providedIn:"root",factory:function Hg(){return`${zu()}${zu()}${zu()}`}});function zu(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const jg=new M("Platform Initializer"),Wu=new M("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),XM=new M("appBootstrapListener"),zt=new M("LocaleId",{providedIn:"root",factory:()=>br(zt,N.Optional|N.SkipSelf)||function YM(){return typeof $localize<"u"&&$localize.locale||fr}()}),nI=(()=>Promise.resolve(0))();function qu(e){typeof Zone>"u"?nI.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class xe{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Fe(!1),this.onMicrotaskEmpty=new Fe(!1),this.onStable=new Fe(!1),this.onError=new Fe(!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 rI(){let e=J.requestAnimationFrame,t=J.cancelAnimationFrame;if(typeof Zone<"u"&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function sI(e){const t=()=>{!function iI(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(J,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Zu(e),e.isCheckStableRunning=!0,Ku(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Zu(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{try{return Gg(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),zg(e)}},onInvoke:(n,r,o,i,s,a,u)=>{try{return Gg(e),n.invoke(o,i,s,a,u)}finally{e.shouldCoalesceRunChangeDetection&&t(),zg(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,Zu(e),Ku(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(!xe.isInAngularZone())throw new C(909,!1)}static assertNotInAngularZone(){if(xe.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,oI,Ri,Ri);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 oI={};function Ku(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 Zu(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Gg(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function zg(e){e._nesting--,Ku(e)}class aI{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Fe,this.onMicrotaskEmpty=new Fe,this.onStable=new Fe,this.onError=new Fe}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 Wg=new M(""),Li=new M("");let Qu,Xu=(()=>{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,Qu||(function uI(e){Qu=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:()=>{xe.assertNotInAngularZone(),qu(()=>{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())qu(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:o})}whenStable(n,r,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,o){return[]}}return e.\u0275fac=function(n){return new(n||e)(V(xe),V(Yu),V(Li))},e.\u0275prov=$({token:e,factory:e.\u0275fac}),e})(),Yu=(()=>{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 Qu?.findTestabilityInTree(this,n,r)??null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})(),nn=null;const qg=new M("AllowMultipleToken"),Ju=new M("PlatformDestroyListeners");function Zg(e,t,n=[]){const r=`Platform: ${t}`,o=new M(r);return(i=[])=>{let s=el();if(!s||s.injector.get(qg,!1)){const a=[...n,...i,{provide:o,useValue:!0}];e?e(a):function dI(e){if(nn&&!nn.get(qg,!1))throw new C(400,!1);nn=e;const t=e.get(Yg);(function Kg(e){const t=e.get(jg,null);t&&t.forEach(n=>n())})(e)}(function Xg(e=[],t){return en.create({name:t,providers:[{provide:Ha,useValue:"platform"},{provide:Ju,useValue:new Set([()=>nn=null])},...e]})}(a,r))}return function hI(e){const t=el();if(!t)throw new C(401,!1);return t}()}}function el(){return nn?.get(Yg)??null}let Yg=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const o=function Jg(e,t){let n;return n="noop"===e?new aI:("zone.js"===e?void 0:e)||new xe(t),n}(r?.ngZone,function Qg(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}(r)),i=[{provide:xe,useValue:o}];return o.run(()=>{const s=en.create({providers:i,parent:this.injector,name:n.moduleType.name}),a=n.create(s),u=a.injector.get(Yn,null);if(!u)throw new C(402,!1);return o.runOutsideAngular(()=>{const l=o.onError.subscribe({next:c=>{u.handleError(c)}});a.onDestroy(()=>{Vi(this._modules,a),l.unsubscribe()})}),function em(e,t,n){try{const r=n();return bi(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(u,o,()=>{const l=a.injector.get(ki);return l.runInitializers(),l.donePromise.then(()=>(function Tp(e){Je(e,"Expected localeId to be defined"),"string"==typeof e&&(Ap=e.toLowerCase().replace(/_/g,"-"))}(a.injector.get(zt,fr)||fr),this._moduleDoBootstrap(a),a))})})}bootstrapModule(n,r=[]){const o=tm({},r);return function lI(e,t,n){const r=new Nu(n);return Promise.resolve(r)}(0,0,n).then(i=>this.bootstrapModuleFactory(i,o))}_moduleDoBootstrap(n){const r=n.injector.get(tl);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(Ju,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(V(en))},e.\u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function tm(e,t){return Array.isArray(t)?t.reduce(tm,e):{...e,...t}}let tl=(()=>{class e{get destroyed(){return this._destroyed}get injector(){return this._injector}constructor(n,r,o){this._zone=n,this._injector=r,this._exceptionHandler=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const i=new be(a=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{a.next(this._stable),a.complete()})}),s=new be(a=>{let u;this._zone.runOutsideAngular(()=>{u=this._zone.onStable.subscribe(()=>{xe.assertNotInAngularZone(),qu(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,a.next(!0))})})});const l=this._zone.onUnstable.subscribe(()=>{xe.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{a.next(!1)}))});return()=>{u.unsubscribe(),l.unsubscribe()}});this.isStable=function lv(...e){const t=Sc(e),n=function nv(e,t){return"number"==typeof ws(e)?e.pop():t}(e,1/0),r=e;return r.length?1===r.length?Ft(r[0]):function QD(e=1/0){return No(lc,e)}(n)(bs(r,t)):Ic}(i,s.pipe(function cv(e={}){const{connector:t=(()=>new Cs),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 Fn((g,v)=>{l++,!d&&!c&&f();const D=u=u??t();v.add(()=>{l--,0===l&&!d&&!c&&(a=Ms(p,o))}),D.subscribe(v),!s&&l>0&&(s=new Cr({next:w=>D.next(w),error:w=>{d=!0,f(),a=Ms(h,n,w),D.error(w)},complete:()=>{c=!0,f(),a=Ms(h,r),D.complete()}}),Ft(g).subscribe(s))})(i)}}()))}bootstrap(n,r){const o=n instanceof Of;if(!this._injector.get(ki).done)throw!o&&function Sr(e){const t=W(e)||Me(e)||Oe(e);return null!==t&&t.standalone}(n),new C(405,false);let s;s=o?n:this._injector.get(hi).resolveComponentFactory(n),this.componentTypes.push(s.componentType);const a=function cI(e){return e.isBoundToModule}(s)?void 0:this._injector.get(hr),l=s.create(en.NULL,[],r||s.selector,a),c=l.location.nativeElement,d=l.injector.get(Wg,null);return d?.registerApplication(c),l.onDestroy(()=>{this.detachView(l.hostView),Vi(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._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;Vi(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(XM,[]);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()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Vi(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new C(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.\u0275fac=function(n){return new(n||e)(V(xe),V(Cn),V(Yn))},e.\u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Vi(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class am{constructor(){}supports(t){return Zr(t)}create(t){return new EI(t)}}const CI=(e,t)=>t;class EI{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||CI}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<lm(r,o,i)?n:r,a=lm(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=[]),!Zr(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 $E(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[wn()]();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 wI(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 um),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 um),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 wI{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 bI{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 um{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new bI,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 lm(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 cm{constructor(){}supports(t){return t instanceof Map||fu(t)}create(){return new MI}}class MI{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||fu(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 II(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 II{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 dm(){return new ji([new am])}let ji=(()=>{class e{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||dm()),deps:[[e,new ni,new ti]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(null!=r)return r;throw new C(901,!1)}}return e.\u0275prov=$({token:e,providedIn:"root",factory:dm}),e})();function fm(){return new uo([new cm])}let uo=(()=>{class e{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||fm()),deps:[[e,new ni,new ti]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(r)return r;throw new C(901,!1)}}return e.\u0275prov=$({token:e,providedIn:"root",factory:fm}),e})();const TI=Zg(null,"core",[]);let NI=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(V(tl))},e.\u0275mod=Ot({type:e}),e.\u0275inj=Dt({}),e})(),al=null;function An(){return al}class PI{}const Tt=new M("DocumentToken");function Em(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const r=n.indexOf("="),[o,i]=-1==r?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}let wm=(()=>{class e{constructor(n,r,o,i){this._iterableDiffers=n,this._keyValueDiffers=r,this._ngEl=o,this._renderer=i,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(n){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof n?n.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(n){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof n?n.split(/\s+/):n,this._rawClass&&(Zr(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const n=this._iterableDiffer.diff(this._rawClass);n&&this._applyIterableChanges(n)}else if(this._keyValueDiffer){const n=this._keyValueDiffer.diff(this._rawClass);n&&this._applyKeyValueChanges(n)}}_applyKeyValueChanges(n){n.forEachAddedItem(r=>this._toggleClass(r.key,r.currentValue)),n.forEachChangedItem(r=>this._toggleClass(r.key,r.currentValue)),n.forEachRemovedItem(r=>{r.previousValue&&this._toggleClass(r.key,!1)})}_applyIterableChanges(n){n.forEachAddedItem(r=>{if("string"!=typeof r.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${X(r.item)}`);this._toggleClass(r.item,!0)}),n.forEachRemovedItem(r=>this._toggleClass(r.item,!1))}_applyClasses(n){n&&(Array.isArray(n)||n instanceof Set?n.forEach(r=>this._toggleClass(r,!0)):Object.keys(n).forEach(r=>this._toggleClass(r,!!n[r])))}_removeClasses(n){n&&(Array.isArray(n)||n instanceof Set?n.forEach(r=>this._toggleClass(r,!1)):Object.keys(n).forEach(r=>this._toggleClass(r,!1)))}_toggleClass(n,r){(n=n.trim())&&n.split(/\s+/g).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}}return e.\u0275fac=function(n){return new(n||e)(_(ji),_(uo),_(ct),_(En))},e.\u0275dir=x({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),e})();class vS{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 Im=(()=>{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 vS(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),Sm(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=>{Sm(r.get(o.currentIndex),o)})}static ngTemplateContextGuard(n,r){return!0}}return e.\u0275fac=function(n){return new(n||e)(_(At),_(Gt),_(ji))},e.\u0275dir=x({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),e})();function Sm(e,t){e.context.$implicit=t.item}let Nm=(()=>{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:$e.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))}}return e.\u0275fac=function(n){return new(n||e)(_(ct),_(uo),_(En))},e.\u0275dir=x({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),e})(),KS=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ot({type:e}),e.\u0275inj=Dt({}),e})();class Om{}class MA extends PI{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class wl extends MA{static makeCurrent(){!function xI(e){al||(al=e)}(new wl)}onAndCancel(t,n,r){return t.addEventListener(n,r,!1),()=>{t.removeEventListener(n,r,!1)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,n){return(n=n||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return"window"===n?window:"document"===n?t:"body"===n?t.body:null}getBaseHref(t){const n=function IA(){return ho=ho||document.querySelector("base"),ho?ho.getAttribute("href"):null}();return null==n?null:function SA(e){Qi=Qi||document.createElement("a"),Qi.setAttribute("href",e);const t=Qi.pathname;return"/"===t.charAt(0)?t:`/${t}`}(n)}resetBaseElement(){ho=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return Em(document.cookie,t)}}let Qi,ho=null;const Hm=new M("TRANSITION_ID"),TA=[{provide:Bg,useFactory:function AA(e,t,n){return()=>{n.get(ki).donePromise.then(()=>{const r=An(),o=t.querySelectorAll(`style[ng-transition="${e}"]`);for(let i=0;i<o.length;i++)r.remove(o[i])})}},deps:[Hm,Tt,en],multi:!0}];let FA=(()=>{class e{build(){return new XMLHttpRequest}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=$({token:e,factory:e.\u0275fac}),e})();const Ji=new M("EventManagerPlugins");let es=(()=>{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)}addGlobalEventListener(n,r,o){return this._findPluginFor(r).addGlobalEventListener(n,r,o)}getZone(){return this._zone}_findPluginFor(n){const r=this._eventNameToPlugin.get(n);if(r)return r;const o=this._plugins;for(let i=0;i<o.length;i++){const s=o[i];if(s.supports(n))return this._eventNameToPlugin.set(n,s),s}throw new Error(`No event manager plugin found for event ${n}`)}}return e.\u0275fac=function(n){return new(n||e)(V(Ji),V(xe))},e.\u0275prov=$({token:e,factory:e.\u0275fac}),e})();class jm{constructor(t){this._doc=t}addGlobalEventListener(t,n,r){const o=An().getGlobalEventTarget(this._doc,t);if(!o)throw new Error(`Unsupported event target ${o} for event ${n}`);return this.addEventListener(o,n,r)}}let $m=(()=>{class e{constructor(){this._stylesSet=new Set}addStyles(n){const r=new Set;n.forEach(o=>{this._stylesSet.has(o)||(this._stylesSet.add(o),r.add(o))}),this.onStylesAdded(r)}onStylesAdded(n){}getAllStyles(){return Array.from(this._stylesSet)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=$({token:e,factory:e.\u0275fac}),e})(),po=(()=>{class e extends $m{constructor(n){super(),this._doc=n,this._hostNodes=new Map,this._hostNodes.set(n.head,[])}_addStylesToHost(n,r,o){n.forEach(i=>{const s=this._doc.createElement("style");s.textContent=i,o.push(r.appendChild(s))})}addHost(n){const r=[];this._addStylesToHost(this._stylesSet,n,r),this._hostNodes.set(n,r)}removeHost(n){const r=this._hostNodes.get(n);r&&r.forEach(Um),this._hostNodes.delete(n)}onStylesAdded(n){this._hostNodes.forEach((r,o)=>{this._addStylesToHost(n,o,r)})}ngOnDestroy(){this._hostNodes.forEach(n=>n.forEach(Um))}}return e.\u0275fac=function(n){return new(n||e)(V(Tt))},e.\u0275prov=$({token:e,factory:e.\u0275fac}),e})();function Um(e){An().remove(e)}const bl={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/"},Ml=/%COMP%/g;function Il(e,t){return t.flat(100).map(n=>n.replace(Ml,e))}function Wm(e){return t=>{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}let Sl=(()=>{class e{constructor(n,r,o){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.rendererByCompId=new Map,this.defaultRenderer=new Al(n)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;switch(r.encapsulation){case vt.Emulated:{let o=this.rendererByCompId.get(r.id);return o||(o=new LA(this.eventManager,this.sharedStylesHost,r,this.appId),this.rendererByCompId.set(r.id,o)),o.applyToHost(n),o}case vt.ShadowDom:return new VA(this.eventManager,this.sharedStylesHost,n,r);default:if(!this.rendererByCompId.has(r.id)){const o=Il(r.id,r.styles);this.sharedStylesHost.addStyles(o),this.rendererByCompId.set(r.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return e.\u0275fac=function(n){return new(n||e)(V(es),V(po),V(ao))},e.\u0275prov=$({token:e,factory:e.\u0275fac}),e})();class Al{constructor(t){this.eventManager=t,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,n){return n?document.createElementNS(bl[n]||n,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,n){(Km(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(Km(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){t&&t.removeChild(n)}selectRootElement(t,n){let r="string"==typeof t?document.querySelector(t):t;if(!r)throw new Error(`The selector "${t}" did not match any elements`);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;const i=bl[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const o=bl[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&($e.DashCase|$e.Important)?t.style.setProperty(n,r,o&$e.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&$e.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t[n]=r}setValue(t,n){t.nodeValue=n}listen(t,n,r){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,n,Wm(r)):this.eventManager.addEventListener(t,n,Wm(r))}}function Km(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class LA extends Al{constructor(t,n,r,o){super(t),this.component=r;const i=Il(o+"-"+r.id,r.styles);n.addStyles(i),this.contentAttr=function OA(e){return"_ngcontent-%COMP%".replace(Ml,e)}(o+"-"+r.id),this.hostAttr=function RA(e){return"_nghost-%COMP%".replace(Ml,e)}(o+"-"+r.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,n){const r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}}class VA extends Al{constructor(t,n,r,o){super(t),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const i=Il(o.id,o.styles);for(let s=0;s<i.length;s++){const a=document.createElement("style");a.textContent=i[s],this.shadowRoot.appendChild(a)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(this.nodeOrShadowRoot(t),n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}}let BA=(()=>{class e extends jm{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o){return n.addEventListener(r,o,!1),()=>this.removeEventListener(n,r,o)}removeEventListener(n,r,o){return n.removeEventListener(r,o)}}return e.\u0275fac=function(n){return new(n||e)(V(Tt))},e.\u0275prov=$({token:e,factory:e.\u0275fac}),e})();const Zm=["alt","control","meta","shift"],HA={"\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"},jA={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let $A=(()=>{class e extends jm{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(()=>An().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."),Zm.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=HA[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"),Zm.forEach(s=>{s!==o&&(0,jA[s])(n)&&(i+=s+".")}),i+=o,i===r)}static eventCallback(n,r,o){return i=>{e.matchEventFullKeyCode(i,n)&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return"esc"===n?"escape":n}}return e.\u0275fac=function(n){return new(n||e)(V(Tt))},e.\u0275prov=$({token:e,factory:e.\u0275fac}),e})();const WA=Zg(TI,"browser",[{provide:Wu,useValue:"browser"},{provide:jg,useValue:function UA(){wl.makeCurrent()},multi:!0},{provide:Tt,useFactory:function zA(){return function CC(e){Na=e}(document),document},deps:[]}]),Qm=new M(""),Jm=[{provide:Li,useClass:class NA{addToWindow(t){J.getAngularTestability=(r,o=!0)=>{const i=t.findTestabilityInTree(r,o);if(null==i)throw new Error("Could not find testability for element.");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(function(u){u.whenStable(a)})})}findTestabilityInTree(t,n,r){return null==n?null:t.getTestability(n)??(r?An().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}},deps:[]},{provide:Wg,useClass:Xu,deps:[xe,Yu,Li]},{provide:Xu,useClass:Xu,deps:[xe,Yu,Li]}],ey=[{provide:Ha,useValue:"root"},{provide:Yn,useFactory:function GA(){return new Yn},deps:[]},{provide:Ji,useClass:BA,multi:!0,deps:[Tt,xe,Wu]},{provide:Ji,useClass:$A,multi:!0,deps:[Tt]},{provide:Sl,useClass:Sl,deps:[es,po,ao]},{provide:kf,useExisting:Sl},{provide:$m,useExisting:po},{provide:po,useClass:po,deps:[Tt]},{provide:es,useClass:es,deps:[Ji,xe]},{provide:Om,useClass:FA,deps:[]},[]];let qA=(()=>{class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:ao,useValue:n.appId},{provide:Hm,useExisting:ao},TA]}}}return e.\u0275fac=function(n){return new(n||e)(V(Qm,12))},e.\u0275mod=Ot({type:e}),e.\u0275inj=Dt({providers:[...ey,...Jm],imports:[KS,NI]}),e})();typeof window<"u"&&window;const{isArray:rT}=Array,{getPrototypeOf:oT,prototype:iT,keys:sT}=Object;const{isArray:lT}=Array;function fT(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function hT(...e){const t=function tv(e){return ne(ws(e))?e.pop():void 0}(e),{args:n,keys:r}=function aT(e){if(1===e.length){const t=e[0];if(rT(t))return{args:t,keys:null};if(function uT(e){return e&&"object"==typeof e&&oT(e)===iT}(t)){const n=sT(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}(e),o=new be(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;Ft(n[c]).subscribe(xn(i,f=>{d||(d=!0,l--),a[c]=f},()=>u--,void 0,()=>{(!u||!d)&&(l||i.next(r?fT(r,a):a),i.complete())}))}});return t?o.pipe(function dT(e){return dn(t=>function cT(e,t){return lT(t)?e(...t):e(t)}(e,t))}(t)):o}let ry=(()=>{class e{constructor(n,r){this._renderer=n,this._elementRef=r,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(n,r){this._renderer.setProperty(this._elementRef.nativeElement,n,r)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}}return e.\u0275fac=function(n){return new(n||e)(_(En),_(ct))},e.\u0275dir=x({type:e}),e})(),Tn=(()=>{class e extends ry{}return e.\u0275fac=function(){let t;return function(r){return(t||(t=function Ae(e){return Yt(()=>{const t=e.prototype.constructor,n=t[Pt]||oa(t),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const i=o[Pt]||oa(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}(e)))(r||e)}}(),e.\u0275dir=x({type:e,features:[q]}),e})();const Nt=new M("NgValueAccessor"),gT={provide:Nt,useExisting:Q(()=>ts),multi:!0},yT=new M("CompositionEventMode");let ts=(()=>{class e extends ry{constructor(n,r,o){super(n,r),this._compositionMode=o,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function mT(){const e=An()?An().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(n){this.setProperty("value",n??"")}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}}return e.\u0275fac=function(n){return new(n||e)(_(En),_(ct),_(yT,8))},e.\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(n,r){1&n&&we("input",function(i){return r._handleInput(i.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(i){return r._compositionEnd(i.target.value)})},features:[re([gT]),q]}),e})();function on(e){return null==e||("string"==typeof e||Array.isArray(e))&&0===e.length}function iy(e){return null!=e&&"number"==typeof e.length}const Pe=new M("NgValidators"),sn=new M("NgAsyncValidators"),vT=/^(?=.{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 Fl{static min(t){return function sy(e){return t=>{if(on(t.value)||on(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 ay(e){return t=>{if(on(t.value)||on(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 uy(e){return on(e.value)?{required:!0}:null}(t)}static requiredTrue(t){return function ly(e){return!0===e.value?null:{required:!0}}(t)}static email(t){return function cy(e){return on(e.value)||vT.test(e.value)?null:{email:!0}}(t)}static minLength(t){return function dy(e){return t=>on(t.value)||!iy(t.value)?null:t.value.length<e?{minlength:{requiredLength:e,actualLength:t.value.length}}:null}(t)}static maxLength(t){return function fy(e){return t=>iy(t.value)&&t.value.length>e?{maxlength:{requiredLength:e,actualLength:t.value.length}}:null}(t)}static pattern(t){return function hy(e){if(!e)return ns;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(on(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 vy(t)}static composeAsync(t){return _y(t)}}function ns(e){return null}function py(e){return null!=e}function gy(e){return bi(e)?bs(e):e}function my(e){let t={};return e.forEach(n=>{t=null!=n?{...t,...n}:t}),0===Object.keys(t).length?null:t}function yy(e,t){return t.map(n=>n(e))}function Dy(e){return e.map(t=>function _T(e){return!e.validate}(t)?t:n=>t.validate(n))}function vy(e){if(!e)return null;const t=e.filter(py);return 0==t.length?null:function(n){return my(yy(n,t))}}function xl(e){return null!=e?vy(Dy(e)):null}function _y(e){if(!e)return null;const t=e.filter(py);return 0==t.length?null:function(n){return hT(yy(n,t).map(gy)).pipe(dn(my))}}function Pl(e){return null!=e?_y(Dy(e)):null}function Cy(e,t){return null===e?[t]:Array.isArray(e)?[...e,t]:[e,t]}function Ey(e){return e._rawValidators}function wy(e){return e._rawAsyncValidators}function Ol(e){return e?Array.isArray(e)?e:[e]:[]}function rs(e,t){return Array.isArray(e)?e.includes(t):e===t}function by(e,t){const n=Ol(t);return Ol(e).forEach(o=>{rs(n,o)||n.push(o)}),n}function My(e,t){return Ol(t).filter(n=>!rs(e,n))}class Iy{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=xl(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=Pl(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t){this.control&&this.control.reset(t)}hasError(t,n){return!!this.control&&this.control.hasError(t,n)}getError(t,n){return this.control?this.control.getError(t,n):null}}class He extends Iy{get formDirective(){return null}get path(){return null}}class an extends Iy{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Sy{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 Ay=(()=>{class e extends Sy{constructor(n){super(n)}}return e.\u0275fac=function(n){return new(n||e)(_(an,2))},e.\u0275dir=x({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(n,r){2&n&&Ii("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},features:[q]}),e})(),Ty=(()=>{class e extends Sy{constructor(n){super(n)}}return e.\u0275fac=function(n){return new(n||e)(_(He,10))},e.\u0275dir=x({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(n,r){2&n&&Ii("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)("ng-submitted",r.isSubmitted)},features:[q]}),e})();const go="VALID",is="INVALID",mr="PENDING",mo="DISABLED";function Vl(e){return(ss(e)?e.validators:e)||null}function Bl(e,t){return(ss(t)?t.asyncValidators:e)||null}function ss(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function Fy(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 xy(e,t,n){e._forEachChild((r,o)=>{if(void 0===n[o])throw new C(1002,"")})}class as{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===go}get invalid(){return this.status===is}get pending(){return this.status==mr}get disabled(){return this.status===mo}get enabled(){return this.status!==mo}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(by(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(by(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(My(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(My(t,this._rawAsyncValidators))}hasValidator(t){return rs(this._rawValidators,t)}hasAsyncValidator(t){return rs(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=mr,!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=mo,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=go,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===go||this.status===mr)&&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()?mo:go}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=mr,this._hasOwnPendingAsyncValidator=!0;const n=gy(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 Fe,this.statusChanges=new Fe}_calculateStatus(){return this._allControlsDisabled()?mo:this.errors?is:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(mr)?mr:this._anyControlsHaveStatus(is)?is:go}_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){ss(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 ST(e){return Array.isArray(e)?xl(e):e||null}(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=function AT(e){return Array.isArray(e)?Pl(e):e||null}(this._rawAsyncValidators)}}class yo extends as{constructor(t,n,r){super(Vl(n),Bl(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={}){xy(this,0,t),Object.keys(t).forEach(r=>{Fy(this,!0,r),this.controls[r].setValue(t[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(t,n={}){null!=t&&(Object.keys(t).forEach(r=>{const o=this.controls[r];o&&o.patchValue(t[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(t={},n={}){this._forEachChild((r,o)=>{r.reset(t[o],{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n),this._updateTouched(n),this.updateValueAndValidity(n)}getRawValue(){return this._reduceChildren({},(t,n,r)=>(t[r]=n.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(n,r)=>!!r._syncPendingControls()||n);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(n=>{const r=this.controls[n];r&&t(r,n)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const[n,r]of Object.entries(this.controls))if(this.contains(n)&&t(r))return!0;return!1}_reduceValue(){return this._reduceChildren({},(n,r,o)=>((r.enabled||this.disabled)&&(n[o]=r.value),n))}_reduceChildren(t,n){let r=t;return this._forEachChild((o,i)=>{r=n(r,o,i)}),r}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}}class Py extends yo{}const Do=new M("CallSetDisabledState",{providedIn:"root",factory:()=>Hl}),Hl="always";function vo(e,t,n=Hl){jl(e,t),t.valueAccessor.writeValue(e.value),(e.disabled||"always"===n)&&t.valueAccessor.setDisabledState?.(e.disabled),function NT(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&Oy(e,t)})}(e,t),function xT(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 FT(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&Oy(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),function TT(e,t){if(t.valueAccessor.setDisabledState){const n=r=>{t.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}(e,t)}function ls(e,t,n=!0){const r=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(r),t.valueAccessor.registerOnTouched(r)),ds(e,t),e&&(t._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}function cs(e,t){e.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(t)})}function jl(e,t){const n=Ey(e);null!==t.validator?e.setValidators(Cy(n,t.validator)):"function"==typeof n&&e.setValidators([n]);const r=wy(e);null!==t.asyncValidator?e.setAsyncValidators(Cy(r,t.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]);const o=()=>e.updateValueAndValidity();cs(t._rawValidators,o),cs(t._rawAsyncValidators,o)}function ds(e,t){let n=!1;if(null!==e){if(null!==t.validator){const o=Ey(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=wy(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 cs(t._rawValidators,r),cs(t._rawAsyncValidators,r),n}function Oy(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function Ly(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function Vy(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}const Co=class extends as{constructor(t=null,n,r){super(Vl(n),Bl(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}),ss(n)&&(n.nonNullable||n.initialValueIsDefault)&&(this.defaultValue=Vy(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){Ly(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){Ly(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){Vy(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 Uy=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=x({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),e})(),zy=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ot({type:e}),e.\u0275inj=Dt({}),e})();const Wl=new M("NgModelWithFormControlWarning"),WT={provide:He,useExisting:Q(()=>fs)};let fs=(()=>{class e extends He{constructor(n,r,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new Fe,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&&(ds(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 vo(r,n,this.callSetDisabledState),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(n),r}getControl(n){return this.form.get(n.path)}removeControl(n){ls(n.control||null,n,!1),function kT(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 ky(e,t){e._syncPendingControls(),t.forEach(n=>{const r=n.control;"submit"===r.updateOn&&r._pendingChange&&(n.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}(this.form,this.directives),this.ngSubmit.emit(n),"dialog"===n?.target?.method}onReset(){this.resetForm()}resetForm(n){this.form.reset(n),this.submitted=!1}_updateDomValue(){this.directives.forEach(n=>{const r=n.control,o=this.form.get(n.path);r!==o&&(ls(r||null,n),(e=>e instanceof Co)(o)&&(vo(o,n,this.callSetDisabledState),n.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(n){const r=this.form.get(n.path);(function Ry(e,t){jl(e,t)})(r,n),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(n){if(this.form){const r=this.form.get(n.path);r&&function PT(e,t){return ds(e,t)}(r,n)&&r.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){jl(this.form,this),this._oldForm&&ds(this._oldForm,this)}_checkFormPresent(){}}return e.\u0275fac=function(n){return new(n||e)(_(Pe,10),_(sn,10),_(Do,8))},e.\u0275dir=x({type:e,selectors:[["","formGroup",""]],hostBindings:function(n,r){1&n&&we("submit",function(i){return r.onSubmit(i)})("reset",function(){return r.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[re([WT]),q,kt]}),e})();const ZT={provide:an,useExisting:Q(()=>Zl)};let Zl=(()=>{class e extends an{set isDisabled(n){}constructor(n,r,o,i,s){super(),this._ngModelWarningConfig=s,this._added=!1,this.update=new Fe,this._ngModelWarningSent=!1,this._parent=n,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=function Gl(e,t){if(!t)return null;let n,r,o;return Array.isArray(t),t.forEach(i=>{i.constructor===ts?n=i:function RT(e){return Object.getPrototypeOf(e.constructor)===Tn}(i)?r=i:o=i}),o||r||n||null}(0,i)}ngOnChanges(n){this._added||this._setUpControl(),function Ul(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 us(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}}return e._ngModelWarningSentOnce=!1,e.\u0275fac=function(n){return new(n||e)(_(He,13),_(Pe,10),_(sn,10),_(Nt,10),_(Wl,8))},e.\u0275dir=x({type:e,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[re([ZT]),q,kt]}),e})(),cN=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ot({type:e}),e.\u0275inj=Dt({imports:[zy]}),e})();class aD extends as{constructor(t,n,r){super(Vl(n),Bl(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={}){xy(this,0,t),t.forEach((r,o)=>{Fy(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 uD(e){return!!e&&(void 0!==e.asyncValidators||void 0!==e.validators||void 0!==e.updateOn)}let dN=(()=>{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 uD(r)?i=r:null!==r&&(i.validators=r.validator,i.asyncValidators=r.asyncValidator),new yo(o,i)}record(n,r=null){const o=this._reduceControls(n);return new Py(o,r)}control(n,r,o){let i={};return this.useNonNullable?(uD(r)?i=r:(i.validators=r,i.asyncValidators=o),new Co(n,{...i,nonNullable:!0})):new Co(n,r,o)}array(n,r,o){const i=n.map(s=>this._createControl(s));return new aD(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 Co||n instanceof as?n:Array.isArray(n)?this.control(n[0],n.length>1?n[1]:null,n.length>2?n[2]:null):this.control(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),fN=(()=>{class e{static withConfig(n){return{ngModule:e,providers:[{provide:Wl,useValue:n.warnOnNgModelWithFormControl??"always"},{provide:Do,useValue:n.callSetDisabledState??Hl}]}}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ot({type:e}),e.\u0275inj=Dt({imports:[cN]}),e})();class hs{}class Jl{}class Kt{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(n=>{const r=n.indexOf(":");if(r>0){const o=n.slice(0,r),i=o.toLowerCase(),s=n.slice(r+1).trim();this.maybeSetNormalizedName(o,i),this.headers.has(i)?this.headers.get(i).push(s):this.headers.set(i,[s])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(n=>{let r=t[n];const o=n.toLowerCase();"string"==typeof r&&(r=[r]),r.length>0&&(this.headers.set(o,r),this.maybeSetNormalizedName(n,o))})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof Kt?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 Kt;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof Kt?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){const n=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if("string"==typeof r&&(r=[r]),0===r.length)return;this.maybeSetNormalizedName(t.name,n);const o=("a"===t.op?this.headers.get(n):void 0)||[];o.push(...r),this.headers.set(n,o);break;case"d":const i=t.value;if(i){let s=this.headers.get(n);if(!s)return;s=s.filter(a=>-1===i.indexOf(a)),0===s.length?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}else this.headers.delete(n),this.normalizedNames.delete(n)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}}class mN{encodeKey(t){return lD(t)}encodeValue(t){return lD(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const DN=/%(\d[a-f0-9])/gi,vN={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function lD(e){return encodeURIComponent(e).replace(DN,(t,n)=>vN[n]??t)}function ps(e){return`${e}`}class un{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new mN,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function yN(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(ps):[ps(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 un({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(ps(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(ps(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 _N{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 cD(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function dD(e){return typeof Blob<"u"&&e instanceof Blob}function fD(e){return typeof FormData<"u"&&e instanceof FormData}class Eo{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 CN(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 Kt),this.context||(this.context=new _N),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 un,this.urlWithParams=n}serializeBody(){return null===this.body?null:cD(this.body)||dD(this.body)||fD(this.body)||function EN(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof un?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||fD(this.body)?null:dD(this.body)?this.body.type||null:cD(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof un?"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 Eo(n,r,i,{params:l,headers:u,context:c,reportProgress:a,responseType:o,withCredentials:s})}}var me=(()=>((me=me||{})[me.Sent=0]="Sent",me[me.UploadProgress=1]="UploadProgress",me[me.ResponseHeader=2]="ResponseHeader",me[me.DownloadProgress=3]="DownloadProgress",me[me.Response=4]="Response",me[me.User=5]="User",me))();class ec{constructor(t,n=200,r="OK"){this.headers=t.headers||new Kt,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 tc extends ec{constructor(t={}){super(t),this.type=me.ResponseHeader}clone(t={}){return new tc({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 gs extends ec{constructor(t={}){super(t),this.type=me.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new gs({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 hD extends ec{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 nc(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 pD=(()=>{class e{constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof Eo)i=n;else{let u,l;u=o.headers instanceof Kt?o.headers:new Kt(o.headers),o.params&&(l=o.params instanceof un?o.params:new un({fromObject:o.params})),i=new Eo(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=function hN(...e){return bs(e,Sc(e))}(i).pipe(function pN(e,t){return ne(t)?No(e,t,1):No(e,1)}(u=>this.handler.handle(u)));if(n instanceof Eo||"events"===o.observe)return s;const a=s.pipe(function gN(e,t){return Fn((n,r)=>{let o=0;n.subscribe(xn(r,i=>e.call(t,i,o++)&&r.next(i)))})}(u=>u instanceof gs));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(dn(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(dn(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(dn(u=>{if(null!==u.body&&"string"!=typeof u.body)throw new Error("Response is not a string.");return u.body}));default:return a.pipe(dn(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 un).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,nc(o,r))}post(n,r,o={}){return this.request("POST",n,nc(o,r))}put(n,r,o={}){return this.request("PUT",n,nc(o,r))}}return e.\u0275fac=function(n){return new(n||e)(V(hs))},e.\u0275prov=$({token:e,factory:e.\u0275fac}),e})();function gD(e,t){return t(e)}function wN(e,t){return(n,r)=>t.intercept(n,{handle:o=>e(o,r)})}const MN=new M("HTTP_INTERCEPTORS"),wo=new M("HTTP_INTERCEPTOR_FNS");function IN(){let e=null;return(t,n)=>(null===e&&(e=(br(MN,{optional:!0})??[]).reduceRight(wN,gD)),e(t,n))}let mD=(()=>{class e extends hs{constructor(n,r){super(),this.backend=n,this.injector=r,this.chain=null}handle(n){if(null===this.chain){const r=Array.from(new Set(this.injector.get(wo)));this.chain=r.reduceRight((o,i)=>function bN(e,t,n){return(r,o)=>n.runInContext(()=>t(r,i=>e(i,o)))}(o,i,this.injector),gD)}return this.chain(n,r=>this.backend.handle(r))}}return e.\u0275fac=function(n){return new(n||e)(V(Jl),V(Cn))},e.\u0275prov=$({token:e,factory:e.\u0275fac}),e})();const NN=/^\)\]\}',?\n/;let DD=(()=>{class e{constructor(n){this.xhrFactory=n}handle(n){if("JSONP"===n.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new be(r=>{const o=this.xhrFactory.build();if(o.open(n.method,n.urlWithParams),n.withCredentials&&(o.withCredentials=!0),n.headers.forEach((h,p)=>o.setRequestHeader(h,p.join(","))),n.headers.has("Accept")||o.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){const h=n.detectContentTypeHeader();null!==h&&o.setRequestHeader("Content-Type",h)}if(n.responseType){const h=n.responseType.toLowerCase();o.responseType="json"!==h?h:"text"}const i=n.serializeBody();let s=null;const a=()=>{if(null!==s)return s;const h=o.statusText||"OK",p=new Kt(o.getAllResponseHeaders()),g=function FN(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(o)||n.url;return s=new tc({headers:p,status:o.status,statusText:h,url:g}),s},u=()=>{let{headers:h,status:p,statusText:g,url:v}=a(),D=null;204!==p&&(D=typeof o.response>"u"?o.responseText:o.response),0===p&&(p=D?200:0);let w=p>=200&&p<300;if("json"===n.responseType&&"string"==typeof D){const m=D;D=D.replace(NN,"");try{D=""!==D?JSON.parse(D):null}catch(S){D=m,w&&(w=!1,D={error:S,text:D})}}w?(r.next(new gs({body:D,headers:h,status:p,statusText:g,url:v||void 0})),r.complete()):r.error(new hD({error:D,headers:h,status:p,statusText:g,url:v||void 0}))},l=h=>{const{url:p}=a(),g=new hD({error:h,status:o.status||0,statusText:o.statusText||"Unknown Error",url:p||void 0});r.error(g)};let c=!1;const d=h=>{c||(r.next(a()),c=!0);let p={type:me.DownloadProgress,loaded:h.loaded};h.lengthComputable&&(p.total=h.total),"text"===n.responseType&&o.responseText&&(p.partialText=o.responseText),r.next(p)},f=h=>{let p={type:me.UploadProgress,loaded:h.loaded};h.lengthComputable&&(p.total=h.total),r.next(p)};return o.addEventListener("load",u),o.addEventListener("error",l),o.addEventListener("timeout",l),o.addEventListener("abort",l),n.reportProgress&&(o.addEventListener("progress",d),null!==i&&o.upload&&o.upload.addEventListener("progress",f)),o.send(i),r.next({type:me.Sent}),()=>{o.removeEventListener("error",l),o.removeEventListener("abort",l),o.removeEventListener("load",u),o.removeEventListener("timeout",l),n.reportProgress&&(o.removeEventListener("progress",d),null!==i&&o.upload&&o.upload.removeEventListener("progress",f)),o.readyState!==o.DONE&&o.abort()}})}}return e.\u0275fac=function(n){return new(n||e)(V(Om))},e.\u0275prov=$({token:e,factory:e.\u0275fac}),e})();const rc=new M("XSRF_ENABLED"),vD="XSRF-TOKEN",_D=new M("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>vD}),CD="X-XSRF-TOKEN",ED=new M("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>CD});class wD{}let xN=(()=>{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=Em(n,this.cookieName),this.lastCookieString=n),this.lastToken}}return e.\u0275fac=function(n){return new(n||e)(V(Tt),V(Wu),V(_D))},e.\u0275prov=$({token:e,factory:e.\u0275fac}),e})();function PN(e,t){const n=e.url.toLowerCase();if(!br(rc)||"GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t(e);const r=br(wD).getToken(),o=br(ED);return null!=r&&!e.headers.has(o)&&(e=e.clone({headers:e.headers.set(o,r)})),t(e)}var de=(()=>((de=de||{})[de.Interceptors=0]="Interceptors",de[de.LegacyInterceptors=1]="LegacyInterceptors",de[de.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",de[de.NoXsrfProtection=3]="NoXsrfProtection",de[de.JsonpSupport=4]="JsonpSupport",de[de.RequestsMadeViaParent=5]="RequestsMadeViaParent",de))();function yr(e,t){return{\u0275kind:e,\u0275providers:t}}function ON(...e){const t=[pD,DD,mD,{provide:hs,useExisting:mD},{provide:Jl,useExisting:DD},{provide:wo,useValue:PN,multi:!0},{provide:rc,useValue:!0},{provide:wD,useClass:xN}];for(const n of e)t.push(...n.\u0275providers);return function zC(e){return{\u0275providers:e}}(t)}const bD=new M("LEGACY_INTERCEPTOR_FN");function kN({cookieName:e,headerName:t}){const n=[];return void 0!==e&&n.push({provide:_D,useValue:e}),void 0!==t&&n.push({provide:ED,useValue:t}),yr(de.CustomXsrfConfiguration,n)}let LN=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ot({type:e}),e.\u0275inj=Dt({providers:[ON(yr(de.LegacyInterceptors,[{provide:bD,useFactory:IN},{provide:wo,useExisting:bD,multi:!0}]),kN({cookieName:vD,headerName:CD}))]}),e})();class Dr{constructor(t){this.http=t}sendQuery(t){return this.http.post("https://testologia.site/intensive-price",t)}getData(t){return this.http.get("https://testologia.site/intensive-data",{params:{category:t}})}}function VN(e,t){if(1&e){const n=yu();j(0,"div",33)(1,"div",34),Mt(2,"img",35),K(),j(3,"div",36),ae(4),K(),j(5,"div",37)(6,"div",38),Mt(7,"img",39),j(8,"div"),ae(9,"\u041f\u0440\u0438\u0432\u043e\u0434"),K(),j(10,"div"),ae(11),K()(),j(12,"div",38),Mt(13,"img",40),j(14,"div"),ae(15,"\u0414\u0432\u0438\u0433\u0430\u0442\u0435\u043b\u044c"),K(),j(16,"div"),ae(17),K()(),j(18,"div",38),Mt(19,"img",41),j(20,"div"),ae(21,"\u041a\u043e\u043b-\u0432\u043e \u043c\u0435\u0441\u0442"),K(),j(22,"div"),ae(23),K()()(),j(24,"div",42)(25,"button",43),we("click",function(){const i=$s(n).$implicit,s=Vh(),a=hu(38);return Us(s.goScroll(a,i))}),ae(26,"\u0417\u0430\u0431\u0440\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u0442\u044c"),K()()()}if(2&e){const n=t.$implicit;Ye(2),Du("src",n.image,ka),Ye(2),Qr(" ",n.name," "),Ye(7),Ai(n.gear),Ye(6),Qr("",n.engine," \u043b.\u0441."),Ye(6),Ai(n.places)}}Dr.\u0275fac=function(t){return new(t||Dr)(V(pD))},Dr.\u0275prov=$({token:Dr,factory:Dr.\u0275fac,providedIn:"root"});const MD=function(e){return{active:e}};class bo{constructor(t,n){this.fb=t,this.appService=n,this.priceForm=this.fb.group({name:["",Fl.required],phone:["",Fl.required],car:["",Fl.required]}),this.category="sport"}ngOnInit(){this.appService.getData(this.category).subscribe(t=>this.carsData=t)}goScroll(t,n){t.scrollIntoView({behavior:"smooth"}),n&&this.priceForm.patchValue({car:n.name})}onMouseMove(t){this.trans={transform:"translate3d("+.3*t.clientX/8+"px,"+.3*t.clientY/8+"px,0px)"}}onScroll(){this.bgPos={backgroundPositionX:"0"+.3*window.scrollY+"px"}}toggleCategory(t){this.category=t,this.ngOnInit()}onSubmit(){this.priceForm.valid&&this.appService.sendQuery(this.priceForm.value).subscribe({next:t=>{alert(t.message),this.priceForm.reset()},error:t=>{alert(t.error.message)}})}}bo.\u0275fac=function(t){return new(t||bo)(_(dN),_(Dr))},bo.\u0275cmp=ks({type:bo,selectors:[["app-root"]],hostBindings:function(t,n){1&t&&we("mousemove",function(o){return n.onMouseMove(o)},0,qa)("scroll",function(o){return n.onScroll(o)},!1,qa)},decls:57,vars:11,consts:[[1,"header"],[1,"container"],[1,"logo"],["src","assets/images/logo.png","alt","logo"],[1,"menu"],[1,"menu-item"],["href","#"],["href","#cars"],["href","#price"],[1,"main",3,"ngStyle"],[1,"main-info"],[1,"main-title"],[1,"main-text"],[1,"main-action"],["id","main-action",1,"button",3,"click"],["id","cars",1,"car"],["cars",""],[1,"sub-title"],[1,"car-toggle"],[3,"ngClass","click"],[1,"car-items"],["class","car-item",4,"ngFor","ngForOf"],["id","price",1,"price"],["price",""],[1,"price-text"],["action","",1,"price-form",3,"formGroup"],["type","text","id","name","placeholder","\u0412\u0430\u0448\u0435 \u0438\u043c\u044f","formControlName","name",1,"price-form-input"],["type","text","id","phone","placeholder","\u0412\u0430\u0448 \u0442\u0435\u043b\u0435\u0444\u043e\u043d","formControlName","phone",1,"price-form-input"],["type","text","id","car","placeholder","\u0410\u0432\u0442\u043e\u043c\u043e\u0431\u0438\u043b\u044c, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u0430\u0441 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0443\u0435\u0442","formControlName","car",1,"price-form-input"],["id","price-action","type","button",1,"button",3,"disabled","click"],["src","assets/images/rolls.png","alt","Rolls",1,"price-image",3,"ngStyle"],[1,"footer"],[1,"rights"],[1,"car-item"],[1,"car-item-image"],["alt","Image",3,"src"],[1,"car-item-title"],[1,"car-item-info"],[1,"car-item-info-point"],["src","assets/images/gear.png","alt","Gear"],["src","assets/images/wheel.png","alt","Wheel"],["src","assets/images/belt.png","alt","Belt"],[1,"car-item-action"],[1,"button","car-button",3,"click"]],template:function(t,n){if(1&t){const r=yu();j(0,"header",0)(1,"div",1)(2,"div",2),Mt(3,"img",3),K(),j(4,"nav",4)(5,"ul")(6,"li",5)(7,"a",6),ae(8,"\u0413\u043b\u0430\u0432\u043d\u0430\u044f"),K()(),j(9,"li",5)(10,"a",7),ae(11,"\u0410\u0432\u0442\u043e\u043c\u043e\u0431\u0438\u043b\u0438"),K()(),j(12,"li",5)(13,"a",8),ae(14,"\u0411\u0440\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0430\u0432\u0442\u043e"),K()()()()()(),j(15,"section",9)(16,"div",1)(17,"div",10)(18,"h1",11),ae(19,"\u0410\u0440\u0435\u043d\u0434\u0430 \u043f\u0440\u0435\u043c\u0438\u0430\u043b\u044c\u043d\u044b\u0445 \u0430\u0432\u0442\u043e\u043c\u043e\u0431\u0438\u043b\u0435\u0439"),K(),j(20,"div",12),ae(21,"\u0412 \u043d\u0430\u0448\u0435\u043c \u043a\u043b\u0443\u0431\u0435 \u0438\u043c\u0435\u0435\u0442\u0441\u044f \u0441\u043e\u043b\u0438\u0434\u043d\u0430\u044f \u043a\u043e\u043b\u043b\u0435\u043a\u0446\u0438\u044f \u0441\u043f\u043e\u0440\u0442\u0438\u0432\u043d\u044b\u0445 \u0430\u0432\u0442\u043e\u043c\u043e\u0431\u0438\u043b\u0435\u0439 \u2014 \u043e\u0442 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0435\u043d\u043d\u044b\u0445 \u0441\u0435\u0440\u0438\u0439\u043d\u044b\u0445 \u043c\u0430\u0448\u0438\u043d \u0434\u043e \u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0435\u0433\u043e \u0433\u043e\u043d\u043e\u0447\u043d\u043e\u0433\u043e \u044d\u043a\u0441\u043a\u043b\u044e\u0437\u0438\u0432\u0430. \u0412\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435\u0441\u044c \u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u043e\u0439 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c\u044e \u043f\u043e\u0431\u044b\u0432\u0430\u0442\u044c \u0437\u0430 \u0440\u0443\u043b\u0435\u043c \u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0435\u0439 \u043b\u0435\u0433\u0435\u043d\u0434\u044b \u0438 \u0443\u0437\u043d\u0430\u0442\u044c, \u043d\u0430 \u0447\u0442\u043e \u043e\u043d\u0430 \u0441\u043f\u043e\u0441\u043e\u0431\u043d\u0430 \u0437\u0430 \u043f\u0440\u0435\u0434\u0435\u043b\u0430\u043c\u0438 \u0433\u043e\u043d\u043e\u0447\u043d\u043e\u0439 \u0442\u0440\u0430\u0441\u0441\u044b! "),K(),j(22,"div",13)(23,"button",14),we("click",function(){$s(r);const i=hu(26);return Us(n.goScroll(i))}),ae(24," \u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0430\u0432\u0442\u043e\u043c\u043e\u0431\u0438\u043b\u0438 "),K()()()()(),j(25,"section",15,16)(27,"div",1)(28,"h2",17),ae(29,"\u041d\u0430\u0448 \u0430\u0432\u0442\u043e\u043f\u0430\u0440\u043a"),K(),j(30,"div",18)(31,"div",19),we("click",function(){return n.toggleCategory("sport")}),ae(32,"Sport"),K(),j(33,"div",19),we("click",function(){return n.toggleCategory("luxury")}),ae(34,"Luxury"),K()(),j(35,"div",20),function Nh(e,t,n,r,o,i,s,a){const u=y(),l=H(),c=e+22,d=l.firstCreatePass?function zE(e,t,n,r,o,i,s,a,u){const l=t.consts,c=er(t,e,4,s||null,Qt(l,a));ou(t,n,c,Qt(l,u)),zo(t,c);const d=c.tViews=ru(2,c,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,l);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];Ct(d,!1);const f=u[L].createComment("");si(l,u,f,d),Te(f,u),Di(u,u[c]=ch(f,u,f,d)),$o(d)&&tu(l,u,d),null!=s&&nu(u,d,a)}(36,VN,27,5,"div",21),K()()(),j(37,"section",22,23)(39,"div",1)(40,"h2",17),ae(41,"\u0423\u0437\u043d\u0430\u0442\u044c \u0446\u0435\u043d\u0443 \u0438 \u0437\u0430\u0431\u0440\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u0442\u044c"),K(),j(42,"div",24),ae(43,"\u0417\u0430\u043f\u043e\u043b\u043d\u0438\u0442\u0435 \u0434\u0430\u043d\u043d\u044b\u0435, \u0438 \u043c\u044b \u043f\u0435\u0440\u0435\u0437\u0432\u043e\u043d\u0438\u043c \u0432\u0430\u043c \u0434\u043b\u044f \u0443\u0442\u043e\u0447\u043d\u0435\u043d\u0438\u044f \u0432\u0441\u0435\u0445 \u0434\u0435\u0442\u0430\u043b\u0435\u0439 \u0431\u0440\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f"),K(),j(44,"form",25),Mt(45,"input",26)(46,"input",27)(47,"input",28),j(48,"button",29),we("click",function(){return n.onSubmit()}),ae(49,"\u0423\u0437\u043d\u0430\u0442\u044c \u0446\u0435\u043d\u0443"),K()(),Mt(50,"img",30),K()(),j(51,"footer",31)(52,"div",1)(53,"div",2),Mt(54,"img",3),K(),j(55,"div",32),ae(56,"\u0412\u0441\u0435 \u043f\u0440\u0430\u0432\u0430 \u0437\u0430\u0449\u0438\u0449\u0435\u043d\u044b"),K()()()}2&t&&(Ye(15),Ut("ngStyle",n.bgPos),Ye(16),Ut("ngClass",xu(7,MD,"sport"===n.category)),Ye(2),Ut("ngClass",xu(9,MD,"luxury"===n.category)),Ye(3),Ut("ngForOf",n.carsData),Ye(8),Ut("formGroup",n.priceForm),Ye(4),Ut("disabled",!n.priceForm.valid),Ye(2),Ut("ngStyle",n.trans))},dependencies:[wm,Im,Nm,Uy,ts,Ay,Ty,fs,Zl],styles:[".header[_ngcontent-%COMP%]{border-bottom:1px solid #E5E5E5;padding:25px 0}.container[_ngcontent-%COMP%]{max-width:1200px;margin:0 auto}.header[_ngcontent-%COMP%] .container[_ngcontent-%COMP%]{display:flex;align-items:center}.logo[_ngcontent-%COMP%]{vertical-align:bottom}.menu[_ngcontent-%COMP%]{margin-left:244px}.menu[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style:none;display:flex}.menu-item[_ngcontent-%COMP%]{margin-right:115px}.menu-item[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-size:15px;color:#030305;text-decoration:none}.menu-item[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{border-bottom:2px solid black}.main[_ngcontent-%COMP%]{background-image:url(/cars-hw/background.04bd50c66ae58c63.png);background-position:center;background-size:cover;padding:104px 0 154px}.main-info[_ngcontent-%COMP%]{max-width:855px}.main-title[_ngcontent-%COMP%]{font-weight:700;font-size:80px;line-height:110%;color:#030305;margin-bottom:40px}.main-text[_ngcontent-%COMP%]{font-size:16px;line-height:130%;color:#030305;margin-bottom:40px;max-width:502px}.button[_ngcontent-%COMP%]{padding:20px;width:334px;height:64px;background:#030305;border:0;box-sizing:border-box;text-align:center;font-weight:700;font-size:16px;letter-spacing:.02em;text-transform:uppercase;color:#fff;transition:background-color .5s}.button[_ngcontent-%COMP%]:hover:not(:disabled){cursor:pointer;background:#575757}.button[_ngcontent-%COMP%]:disabled{cursor:not-allowed;color:gray;background-color:#343434}.car[_ngcontent-%COMP%]{padding:100px 0}.sub-title[_ngcontent-%COMP%]{font-weight:700;font-size:60px;line-height:70px;color:#030305}.car-items[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between}.car-item[_ngcontent-%COMP%]{max-width:384px;text-align:center;margin-top:40px}.car-item-image[_ngcontent-%COMP%]:hover img[_ngcontent-%COMP%]{transform:scale(1.1)}.car-item-image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{vertical-align:bottom;transition:all .3s}.car-item-title[_ngcontent-%COMP%]{font-weight:700;font-size:24px;line-height:150%;letter-spacing:.02em;color:#030305;padding:15px 0 17px}.car-item-info[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center}.car-item-info-point[_ngcontent-%COMP%]{width:110px;height:92px;margin:0 7.5px}.car-item-info-point[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{margin-bottom:11px}.car-item-action[_ngcontent-%COMP%]{margin-top:15px}.car-item-action[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]{width:100%;padding:15px;height:54px}.car-item-info-point[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){font-weight:700}.price[_ngcontent-%COMP%]{overflow:hidden}.price[_ngcontent-%COMP%] .container[_ngcontent-%COMP%]{position:relative;padding-bottom:121px}.price[_ngcontent-%COMP%] .sub-title[_ngcontent-%COMP%]{margin-bottom:20px}.price-text[_ngcontent-%COMP%]{font-size:16px;line-height:130%;color:#5d5d5f;margin-bottom:60px}.price-form[_ngcontent-%COMP%]{max-width:344px}.price-form-input[_ngcontent-%COMP%]{padding:22px 18px;width:344px;height:65px;background:#FFFFFF;border:1px solid #5D5D5F;box-sizing:border-box;font-size:16px;color:#000;outline:none;margin-bottom:15px}.price-form-input[_ngcontent-%COMP%]::placeholder{color:#5d5d5f}.price[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]{width:100%}.price-image[_ngcontent-%COMP%]{position:absolute;bottom:0;left:401px}.footer[_ngcontent-%COMP%]{border-top:1px solid #E5E5E5;padding:25px 0}.footer[_ngcontent-%COMP%] .container[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between}.rights[_ngcontent-%COMP%]{font-size:15px;text-align:right;color:#030305}.price-form-input.ng-touched.ng-valid[_ngcontent-%COMP%]{border:1px solid #5D5D5F}.price-form-input.ng-touched.ng-invalid[_ngcontent-%COMP%]{border:1px solid red}.car-toggle[_ngcontent-%COMP%]{display:flex;width:194px;border:1px solid gray;margin:20px 0}.car-toggle[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{padding:20px;background:white;box-sizing:border-box;text-align:center;font-weight:700;font-size:16px;letter-spacing:.02em;text-transform:uppercase;color:#000;transition:background-color .5s;cursor:pointer}.car-toggle[_ngcontent-%COMP%] div.active[_ngcontent-%COMP%]{background:#030305;color:#fff}.car[_ngcontent-%COMP%] .container[_ngcontent-%COMP%]{display:flex;justify-content:space-between;flex-wrap:wrap}"]});class vr{}vr.\u0275fac=function(t){return new(t||vr)},vr.\u0275mod=Ot({type:vr,bootstrap:[bo]}),vr.\u0275inj=Dt({imports:[qA,fN,LN]}),WA().bootstrapModule(vr).catch(e=>console.error(e))}},ne=>{ne(ne.s=2)}]);