-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.bf83f34c258e6dba.js
1 lines (1 loc) · 193 KB
/
main.bf83f34c258e6dba.js
1
"use strict";(self.webpackChunkburgers=self.webpackChunkburgers||[]).push([[179],{497:()=>{function oe(e){return"function"==typeof e}function Go(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 zo=Go(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 xr(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class _t{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(oe(r))try{r()}catch(i){t=i instanceof zo?i.errors:[i]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const i of o)try{ed(i)}catch(s){t=t??[],s instanceof zo?t=[...t,...s.errors]:t.push(s)}}if(t)throw new zo(t)}}add(t){var n;if(t&&t!==this)if(this.closed)ed(t);else{if(t instanceof _t){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)&&xr(n,t)}remove(t){const{_finalizers:n}=this;n&&xr(n,t),t instanceof _t&&t._removeParent(this)}}_t.EMPTY=(()=>{const e=new _t;return e.closed=!0,e})();const Qc=_t.EMPTY;function Jc(e){return e instanceof _t||e&&"closed"in e&&oe(e.remove)&&oe(e.add)&&oe(e.unsubscribe)}function ed(e){oe(e)?e():e.unsubscribe()}const Dn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Wo={setTimeout(e,t,...n){const{delegate:r}=Wo;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=Wo;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function td(e){Wo.setTimeout(()=>{const{onUnhandledError:t}=Dn;if(!t)throw e;t(e)})}function nd(){}const g_=na("C",void 0,void 0);function na(e,t,n){return{kind:e,value:t,error:n}}let vn=null;function qo(e){if(Dn.useDeprecatedSynchronousErrorHandling){const t=!vn;if(t&&(vn={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=vn;if(vn=null,n)throw r}}else e()}class ra extends _t{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Jc(t)&&t.add(this)):this.destination=E_}static create(t,n,r){return new Fr(t,n,r)}next(t){this.isStopped?ia(function y_(e){return na("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?ia(function m_(e){return na("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?ia(g_,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 v_=Function.prototype.bind;function oa(e,t){return v_.call(e,t)}class __{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Zo(r)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Zo(r)}else Zo(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Zo(n)}}}class Fr extends ra{constructor(t,n,r){let o;if(super(),oe(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&Dn.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&oa(t.next,i),error:t.error&&oa(t.error,i),complete:t.complete&&oa(t.complete,i)}):o=t}this.destination=new __(o)}}function Zo(e){Dn.useDeprecatedSynchronousErrorHandling?function D_(e){Dn.useDeprecatedSynchronousErrorHandling&&vn&&(vn.errorThrown=!0,vn.error=e)}(e):td(e)}function ia(e,t){const{onStoppedNotification:n}=Dn;n&&Wo.setTimeout(()=>n(e,t))}const E_={closed:!0,next:nd,error:function C_(e){throw e},complete:nd},sa="function"==typeof Symbol&&Symbol.observable||"@@observable";function aa(e){return e}let Te=(()=>{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 b_(e){return e&&e instanceof ra||function w_(e){return e&&oe(e.next)&&oe(e.error)&&oe(e.complete)}(e)&&Jc(e)}(n)?n:new Fr(n,r,o);return qo(()=>{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=od(r))((o,i)=>{const s=new Fr({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)}[sa](){return this}pipe(...n){return function rd(e){return 0===e.length?aa:1===e.length?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}(n)(this)}toPromise(n){return new(n=od(n))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function od(e){var t;return null!==(t=e??Dn.Promise)&&void 0!==t?t:Promise}const M_=Go(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let Yo=(()=>{class e extends Te{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new id(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new M_}next(n){qo(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(n)}})}error(n){qo(()=>{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(){qo(()=>{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?Qc:(this.currentObservers=null,i.push(n),new _t(()=>{this.currentObservers=null,xr(i,n)}))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){const n=new Te;return n.source=this,n}}return e.create=(t,n)=>new id(t,n),e})();class id extends Yo{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:Qc}}class I_ extends Yo{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){const{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}}function Vt(e){return t=>{if(function S_(e){return oe(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 Ht(e,t,n,r,o){return new A_(e,t,n,r,o)}class A_ extends ra{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 _n(e,t){return Vt((n,r)=>{let o=0;n.subscribe(Ht(r,i=>{r.next(e.call(t,i,o++))}))})}function en(e){return this instanceof en?(this.v=e,this):new en(e)}function ld(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 da(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,u){!function o(i,s,a,u){Promise.resolve(u).then(function(l){i({value:l,done:a})},s)}(a,u,(s=e[i](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const cd=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function dd(e){return oe(e?.then)}function fd(e){return oe(e[sa])}function hd(e){return Symbol.asyncIterator&&oe(e?.[Symbol.asyncIterator])}function pd(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 gd=function X_(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function md(e){return oe(e?.[gd])}function yd(e){return function ud(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 en?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])}}(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:r,done:o}=yield en(n.read());if(o)return yield en(void 0);yield yield en(r)}}finally{n.releaseLock()}})}function Dd(e){return oe(e?.getReader)}function Ct(e){if(e instanceof Te)return e;if(null!=e){if(fd(e))return function K_(e){return new Te(t=>{const n=e[sa]();if(oe(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(cd(e))return function Q_(e){return new Te(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}(e);if(dd(e))return function J_(e){return new Te(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,td)})}(e);if(hd(e))return vd(e);if(md(e))return function e0(e){return new Te(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(Dd(e))return function t0(e){return vd(yd(e))}(e)}throw pd(e)}function vd(e){return new Te(t=>{(function n0(e,t){var n,r,o,i;return function sd(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=ld(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 tn(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 Xo(e,t,n=1/0){return oe(t)?Xo((r,o)=>_n((i,s)=>t(r,i,o,s))(Ct(e(r,o))),n):("number"==typeof t&&(n=t),Vt((r,o)=>function r0(e,t,n,r,o,i,s,a){const u=[];let l=0,c=0,d=!1;const f=()=>{d&&!u.length&&!l&&t.complete()},h=g=>l<r?p(g):u.push(g),p=g=>{i&&t.next(g),l++;let y=!1;Ct(n(g,c++)).subscribe(Ht(t,v=>{o?.(v),i?h(v):t.next(v)},()=>{y=!0},void 0,()=>{if(y)try{for(l--;u.length&&l<r;){const v=u.shift();s?tn(t,s,()=>p(v)):p(v)}f()}catch(v){t.error(v)}}))};return e.subscribe(Ht(t,h,()=>{d=!0,f()})),()=>{a?.()}}(r,o,e,n)))}const _d=new Te(e=>e.complete());function fa(e){return e[e.length-1]}function Cd(e){return function a0(e){return e&&oe(e.schedule)}(fa(e))?e.pop():void 0}function Ed(e,t=0){return Vt((n,r)=>{n.subscribe(Ht(r,o=>tn(r,e,()=>r.next(o),t),()=>tn(r,e,()=>r.complete(),t),o=>tn(r,e,()=>r.error(o),t)))})}function wd(e,t=0){return Vt((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function bd(e,t){if(!e)throw new Error("Iterable cannot be null");return new Te(n=>{tn(n,t,()=>{const r=e[Symbol.asyncIterator]();tn(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Ko(e,t){return t?function g0(e,t){if(null!=e){if(fd(e))return function c0(e,t){return Ct(e).pipe(wd(t),Ed(t))}(e,t);if(cd(e))return function f0(e,t){return new Te(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if(dd(e))return function d0(e,t){return Ct(e).pipe(wd(t),Ed(t))}(e,t);if(hd(e))return bd(e,t);if(md(e))return function h0(e,t){return new Te(n=>{let r;return tn(n,t,()=>{r=e[gd](),tn(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)}),()=>oe(r?.return)&&r.return()})}(e,t);if(Dd(e))return function p0(e,t){return bd(yd(e),t)}(e,t)}throw pd(e)}(e,t):Ct(e)}function ha(...e){return Ko(e,Cd(e))}function Md(e={}){const{connector:t=(()=>new Yo),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 Vt((g,y)=>{l++,!d&&!c&&f();const v=u=u??t();y.add(()=>{l--,0===l&&!d&&!c&&(a=pa(p,o))}),v.subscribe(y),!s&&l>0&&(s=new Fr({next:m=>v.next(m),error:m=>{d=!0,f(),a=pa(h,n,m),v.error(m)},complete:()=>{c=!0,f(),a=pa(h,r),v.complete()}}),Ct(g).subscribe(s))})(i)}}function pa(e,t,...n){if(!0===t)return void e();if(!1===t)return;const r=new Fr({next:()=>{r.unsubscribe(),e()}});return Ct(t(...n)).subscribe(r)}function Id(e,t){return Vt((n,r)=>{let o=null,i=0,s=!1;const a=()=>s&&!o&&r.complete();n.subscribe(Ht(r,u=>{o?.unsubscribe();let l=0;const c=i++;Ct(e(u,c)).subscribe(o=Ht(r,d=>r.next(t?t(u,d,c,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function D0(e,t){return e===t}function K(e){for(let t in e)if(e[t]===K)return t;throw Error("Could not find renamed property on target object.")}function Qo(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function ve(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(ve).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 ga(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const v0=K({__forward_ref__:K});function ee(e){return e.__forward_ref__=ee,e.toString=function(){return ve(this())},e}function x(e){return ma(e)?e():e}function ma(e){return"function"==typeof e&&e.hasOwnProperty(v0)&&e.__forward_ref__===ee}function ya(e){return e&&!!e.\u0275providers}const Sd="https://g.co/ng/security#xss";class C extends Error{constructor(t,n){super(function Jo(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function O(e){return"string"==typeof e?e:null==e?"":String(e)}function ei(e,t){throw new C(-201,!1)}function st(e,t){null==e&&function q(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function z(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Et(e){return{providers:e.providers||[],imports:e.imports||[]}}function ti(e){return Ad(e,ni)||Ad(e,Nd)}function Ad(e,t){return e.hasOwnProperty(t)?e[t]:null}function Td(e){return e&&(e.hasOwnProperty(Da)||e.hasOwnProperty(I0))?e[Da]:null}const ni=K({\u0275prov:K}),Da=K({\u0275inj:K}),Nd=K({ngInjectableDef:K}),I0=K({ngInjectorDef:K});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 va;function ze(e){const t=va;return va=e,t}function Fd(e,t,n){const r=ti(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 ei(ve(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)(),Or={},_a="__NG_DI_FLAG__",ri="ngTempTokenPath",A0=/\n/gm,Od="__source";let Bn;function nn(e){const t=Bn;return Bn=e,t}function x0(e,t=N.Default){if(void 0===Bn)throw new C(-203,!1);return null===Bn?Fd(e,void 0,t):Bn.get(e,t&N.Optional?null:void 0,t)}function V(e,t=N.Default){return(function xd(){return va}()||x0)(x(e),t)}function Z(e,t=N.Default){return V(e,oi(t))}function oi(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Ca(e){const t=[];for(let n=0;n<e.length;n++){const r=x(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=F0(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 Pr(e,t){return e[_a]=t,e.prototype[_a]=t,e}function F0(e){return e[_a]}function Bt(e){return{toString:e}.toString()}var wt=(()=>((wt=wt||{})[wt.OnPush=0]="OnPush",wt[wt.Default=1]="Default",wt))(),et=(()=>{return(e=et||(et={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",et;var e})();const bt={},W=[],ii=K({\u0275cmp:K}),Ea=K({\u0275dir:K}),wa=K({\u0275pipe:K}),Rd=K({\u0275mod:K}),jt=K({\u0275fac:K}),Rr=K({__NG_ELEMENT_ID__:K}),kd=K({__NG_ENV_ID__:K});function Ld(e,t,n){let r=e.length;for(;;){const o=e.indexOf(t,n);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}function ba(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];Hd(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function Vd(e){return 3===e||4===e||6===e}function Hd(e){return 64===e.charCodeAt(0)}function kr(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||Bd(e,n,o,null,-1===n||2===n?t[++r]:null)}}return e}function Bd(e,t,n,r,o){let i=0,s=e.length;if(-1===t)s=-1;else for(;i<e.length;){const a=e[i++];if("number"==typeof a){if(a===t){s=-1;break}if(a>t){s=i-1;break}}}for(;i<e.length;){const a=e[i];if("number"==typeof a)break;if(a===n){if(null===r)return void(null!==o&&(e[i+1]=o));if(r===e[i+1])return void(e[i+2]=o)}i++,null!==r&&i++,null!==o&&i++}-1!==s&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),null!==r&&e.splice(i++,0,r),null!==o&&e.splice(i++,0,o)}const jd="ng-template";function R0(e,t,n){let r=0,o=!0;for(;r<e.length;){let i=e[r++];if("string"==typeof i&&o){const s=e[r++];if(n&&"class"===i&&-1!==Ld(s.toLowerCase(),t,0))return!0}else{if(1===i){for(;r<e.length&&"string"==typeof(i=e[r++]);)if(i.toLowerCase()===t)return!0;return!1}"number"==typeof i&&(o=!1)}}return!1}function $d(e){return 4===e.type&&e.value!==jd}function k0(e,t,n){return t===(4!==e.type||n?e.value:jd)}function L0(e,t,n){let r=4;const o=e.attrs||[],i=function B0(e){for(let t=0;t<e.length;t++)if(Vd(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&&!k0(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(!R0(e.attrs,l,n)){if(dt(r))return!1;s=!0}continue}const d=V0(8&r?"class":u,o,$d(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!==Ld(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 V0(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 j0(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 Ud(e,t,n=!1){for(let r=0;r<t.length;r++)if(L0(e,t[r],n))return!0;return!1}function Gd(e,t){return e?":not("+t.trim()+")":t}function U0(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+=Gd(i,o),o=""),r=s,i=i||!dt(r);n++}return""!==o&&(t+=Gd(i,o)),t}function zd(e){return Bt(()=>{const t=qd(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===wt.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||et.Emulated,styles:e.styles||W,_:null,schemas:e.schemas||null,tView:null,id:""};Zd(n);const r=e.dependencies;return n.directiveDefs=si(r,!1),n.pipeDefs=si(r,!0),n.id=function K0(e){let t=0;const n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(n),n})}function q0(e){return Y(e)||Ne(e)}function Z0(e){return null!==e}function $t(e){return Bt(()=>({type:e.type,bootstrap:e.bootstrap||W,declarations:e.declarations||W,imports:e.imports||W,exports:e.exports||W,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Wd(e,t){if(null==e)return bt;const n={};for(const r in e)if(e.hasOwnProperty(r)){let o=e[r],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),n[o]=r,t&&(t[o]=i)}return n}function P(e){return Bt(()=>{const t=qd(e);return Zd(t),t})}function Y(e){return e[ii]||null}function Ne(e){return e[Ea]||null}function qe(e){return e[wa]||null}function qd(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||bt,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||W,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Wd(e.inputs,t),outputs:Wd(e.outputs)}}function Zd(e){e.features?.forEach(t=>t(e))}function si(e,t){if(!e)return null;const n=t?qe:q0;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(Z0)}const _e=0,w=1,R=2,ae=3,ft=4,Vr=5,xe=6,jn=7,de=8,$n=9,En=10,k=11,Hr=12,Yd=13,Un=14,fe=15,Br=16,Gn=17,Mt=18,jr=19,Xd=20,rn=21,Ut=22,ai=23,ui=24,$=25,Ma=1,Kd=2,It=7,zn=9,Fe=11;function nt(e){return Array.isArray(e)&&"object"==typeof e[Ma]}function Ze(e){return Array.isArray(e)&&!0===e[Ma]}function Ia(e){return 0!=(4&e.flags)}function wn(e){return e.componentOffset>-1}function ci(e){return 1==(1&e.flags)}function ht(e){return!!e.template}function Sa(e){return 0!=(512&e[R])}function bn(e,t){return e.hasOwnProperty(jt)?e[jt]:null}let rC=J.WeakRef??class nC{constructor(t){this.ref=t}deref(){return this.ref}},iC=0,St=null,di=!1;function Se(e){const t=St;return St=e,t}class nf{constructor(){this.id=iC++,this.ref=function oC(e){return new rC(e)}(this),this.producers=new Map,this.consumers=new Map,this.trackingVersion=0,this.valueVersion=0}consumerPollProducersForChange(){for(const[t,n]of this.producers){const r=n.producerNode.deref();if(null!=r&&n.atTrackingVersion===this.trackingVersion){if(r.producerPollStatus(n.seenValueVersion))return!0}else this.producers.delete(t),r?.consumers.delete(this.id)}return!1}producerMayHaveChanged(){const t=di;di=!0;try{for(const[n,r]of this.consumers){const o=r.consumerNode.deref();null!=o&&o.trackingVersion===r.atTrackingVersion?o.onConsumerDependencyMayHaveChanged():(this.consumers.delete(n),o?.producers.delete(this.id))}}finally{di=t}}producerAccessed(){if(di)throw new Error("");if(null===St)return;let t=St.producers.get(this.id);void 0===t?(t={consumerNode:St.ref,producerNode:this.ref,seenValueVersion:this.valueVersion,atTrackingVersion:St.trackingVersion},St.producers.set(this.id,t),this.consumers.set(St.id,t)):(t.seenValueVersion=this.valueVersion,t.atTrackingVersion=St.trackingVersion)}get hasProducers(){return this.producers.size>0}get producerUpdatesAllowed(){return!1!==St?.consumerAllowSignalWrites}producerPollStatus(t){return this.valueVersion!==t||(this.onProducerUpdateValueVersion(),this.valueVersion!==t)}}let rf=null;const af=()=>{};class lC extends nf{constructor(t,n,r){super(),this.watch=t,this.schedule=n,this.dirty=!1,this.cleanupFn=af,this.registerOnCleanup=o=>{this.cleanupFn=o},this.consumerAllowSignalWrites=r}notify(){this.dirty||this.schedule(this),this.dirty=!0}onConsumerDependencyMayHaveChanged(){this.notify()}onProducerUpdateValueVersion(){}run(){if(this.dirty=!1,0!==this.trackingVersion&&!this.consumerPollProducersForChange())return;const t=Se(this);this.trackingVersion++;try{this.cleanupFn(),this.cleanupFn=af,this.watch(this.registerOnCleanup)}finally{Se(t)}}cleanup(){this.cleanupFn()}}class cC{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Gt(){return uf}function uf(e){return e.type.prototype.ngOnChanges&&(e.setInput=fC),dC}function dC(){const e=cf(this),t=e?.current;if(t){const n=e.previous;if(n===bt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function fC(e,t,n,r){const o=this.declaredInputs[n],i=cf(e)||function hC(e,t){return e[lf]=t}(e,{previous:bt,current:null}),s=i.current||(i.current={}),a=i.previous,u=a[o];s[o]=new cC(u&&u.currentValue,t,a===bt),e[r]=t}Gt.ngInherit=!0;const lf="__ngSimpleChanges__";function cf(e){return e[lf]||null}const At=function(e,t,n){},df="svg";function re(e){for(;Array.isArray(e);)e=e[_e];return e}function pi(e,t){return re(t[e])}function Ye(e,t){return re(t[e.index])}function hf(e,t){return e.data[t]}function rt(e,t){const n=t[e];return nt(n)?n:n[_e]}function on(e,t){return null==t?null:e[t]}function pf(e){e[Gn]=0}function _C(e){1024&e[R]||(e[R]|=1024,mf(e,1))}function gf(e){1024&e[R]&&(e[R]&=-1025,mf(e,-1))}function mf(e,t){let n=e[ae];if(null===n)return;n[Vr]+=t;let r=n;for(n=n[ae];null!==n&&(1===t&&1===r[Vr]||-1===t&&0===r[Vr]);)n[Vr]+=t,r=n,n=n[ae]}const T={lFrame:Sf(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function vf(){return T.bindingsEnabled}function D(){return T.lFrame.lView}function G(){return T.lFrame.tView}function Zn(e){return T.lFrame.contextLView=e,e[de]}function Yn(e){return T.lFrame.contextLView=null,e}function Ae(){let e=_f();for(;null!==e&&64===e.type;)e=e.parent;return e}function _f(){return T.lFrame.currentTNode}function Tt(e,t){const n=T.lFrame;n.currentTNode=e,n.isParent=t}function Oa(){return T.lFrame.isParent}function Xn(){return T.lFrame.bindingIndex++}function Wt(e){const t=T.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function FC(e,t){const n=T.lFrame;n.bindingIndex=n.bindingRootIndex=e,Ra(t)}function Ra(e){T.lFrame.currentDirectiveIndex=e}function La(e){T.lFrame.currentQueryIndex=e}function PC(e){const t=e[w];return 2===t.type?t.declTNode:1===t.type?e[xe]:null}function Mf(e,t,n){if(n&N.SkipSelf){let o=t,i=e;for(;!(o=o.parent,null!==o||n&N.Host||(o=PC(i),null===o||(i=i[Un],10&o.type))););if(null===o)return!1;t=o,e=i}const r=T.lFrame=If();return r.currentTNode=t,r.lView=e,!0}function Va(e){const t=If(),n=e[w];T.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function If(){const e=T.lFrame,t=null===e?null:e.child;return null===t?Sf(e):t}function Sf(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 Af(){const e=T.lFrame;return T.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Tf=Af;function Ha(){const e=Af();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 Be(){return T.lFrame.selectedIndex}function Mn(e){T.lFrame.selectedIndex=e}function ue(){const e=T.lFrame;return hf(e.tView,e.selectedIndex)}let Ff=!0;function gi(){return Ff}function sn(e){Ff=e}function mi(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:u,ngAfterViewChecked:l,ngOnDestroy:c}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),u&&(e.viewHooks??=[]).push(-n,u),l&&((e.viewHooks??=[]).push(n,l),(e.viewCheckHooks??=[]).push(n,l)),null!=c&&(e.destroyHooks??=[]).push(n,c)}}function yi(e,t,n){Of(e,t,3,n)}function Di(e,t,n,r){(3&e[R])===n&&Of(e,t,n,r)}function Ba(e,t){let n=e[R];(3&n)===t&&(n&=8191,n+=1,e[R]=n)}function Of(e,t,n,r){const i=r??-1,s=t.length-1;let a=0;for(let u=void 0!==r?65535&e[Gn]:0;u<s;u++)if("number"==typeof t[u+1]){if(a=t[u],null!=r&&a>=r)break}else t[u]<0&&(e[Gn]+=65536),(a<i||-1==i)&&(jC(e,n,t,u),e[Gn]=(4294901760&e[Gn])+u+2),u++}function Pf(e,t){At(4,e,t);const n=Se(null);try{t.call(e)}finally{Se(n),At(5,e,t)}}function jC(e,t,n,r){const o=n[r]<0,i=n[r+1],a=e[o?-n[r]:n[r]];o?e[R]>>13<e[Gn]>>16&&(3&e[R])===t&&(e[R]+=8192,Pf(a,i)):Pf(a,i)}const Kn=-1;class Gr{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function Rf(e){return e!==Kn}function vi(e){return 32767&e}function _i(e,t){let n=function zC(e){return e>>16}(e),r=t;for(;n>0;)r=r[Un],n--;return r}let $a=!0;function Ci(e){const t=$a;return $a=e,t}const kf=255,Lf=5;let WC=0;const Nt={};function Ei(e,t){const n=Vf(e,t);if(-1!==n)return n;const r=t[w];r.firstCreatePass&&(e.injectorIndex=t.length,Ua(r.data,e),Ua(t,null),Ua(r.blueprint,null));const o=Ga(e,t),i=e.injectorIndex;if(Rf(o)){const s=vi(o),a=_i(o,t),u=a[w].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|u[s+l]}return t[i+8]=o,i}function Ua(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Vf(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Ga(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=zf(o),null===r)return Kn;if(n++,o=o[Un],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return Kn}function za(e,t,n){!function qC(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Rr)&&(r=n[Rr]),null==r&&(r=n[Rr]=WC++);const o=r&kf;t.data[e+(o>>Lf)]|=1<<o}(e,t,n)}function Hf(e,t,n){if(n&N.Optional||void 0!==e)return e;ei()}function Bf(e,t,n,r){if(n&N.Optional&&void 0===r&&(r=null),!(n&(N.Self|N.Host))){const o=e[$n],i=ze(void 0);try{return o?o.get(t,r,n&N.Optional):Fd(t,r,n&N.Optional)}finally{ze(i)}}return Hf(r,0,n)}function jf(e,t,n,r=N.Default,o){if(null!==e){if(2048&t[R]&&!(r&N.Self)){const s=function QC(e,t,n,r,o){let i=e,s=t;for(;null!==i&&null!==s&&2048&s[R]&&!(512&s[R]);){const a=$f(i,s,n,r|N.Self,Nt);if(a!==Nt)return a;let u=i.parent;if(!u){const l=s[Xd];if(l){const c=l.get(n,Nt,r);if(c!==Nt)return c}u=zf(s),s=s[Un]}i=u}return o}(e,t,n,r,Nt);if(s!==Nt)return s}const i=$f(e,t,n,r,Nt);if(i!==Nt)return i}return Bf(t,n,r,o)}function $f(e,t,n,r,o){const i=function XC(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(Rr)?e[Rr]:void 0;return"number"==typeof t?t>=0?t&kf:KC:t}(n);if("function"==typeof i){if(!Mf(t,e,r))return r&N.Host?Hf(o,0,r):Bf(t,n,r,o);try{const s=i(r);if(null!=s||r&N.Optional)return s;ei()}finally{Tf()}}else if("number"==typeof i){let s=null,a=Vf(e,t),u=Kn,l=r&N.Host?t[fe][xe]:null;for((-1===a||r&N.SkipSelf)&&(u=-1===a?Ga(e,t):t[a+8],u!==Kn&&Gf(r,!1)?(s=t[w],a=vi(u),t=_i(u,t)):a=-1);-1!==a;){const c=t[w];if(Uf(i,a,c.data)){const d=YC(a,t,n,s,r,l);if(d!==Nt)return d}u=t[a+8],u!==Kn&&Gf(r,t[w].data[a+8]===l)&&Uf(i,a,t)?(s=c,a=vi(u),t=_i(u,t)):a=-1}}return o}function YC(e,t,n,r,o,i){const s=t[w],a=s.data[e+8],c=function wi(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&&ht(h)&&h.type===n)return u}return null}(a,s,n,null==r?wn(a)&&$a:r!=s&&0!=(3&a.type),o&N.Host&&i===a);return null!==c?In(t,s,c,a):Nt}function In(e,t,n,r){let o=e[n];const i=t.data;if(function $C(e){return e instanceof Gr}(o)){const s=o;s.resolving&&function _0(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new C(-200,`Circular dependency in DI detected for ${e}${n}`)}(function X(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():O(e)}(i[n]));const a=Ci(s.canSeeViewProviders);s.resolving=!0;const u=s.injectImpl?ze(s.injectImpl):null;Mf(e,r,N.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function BC(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const s=uf(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}(n,i[n],t)}finally{null!==u&&ze(u),Ci(a),s.resolving=!1,Tf()}}return o}function Uf(e,t,n){return!!(n[t+(e>>Lf)]&1<<e)}function Gf(e,t){return!(e&N.Self||e&N.Host&&t)}class Qn{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return jf(this._tNode,this._lView,t,oi(r),n)}}function KC(){return new Qn(Ae(),D())}function Wa(e){return ma(e)?()=>{const t=Wa(x(e));return t&&t()}:bn(e)}function zf(e){const t=e[w],n=t.type;return 2===n?t.declTNode:1===n?e[xe]:null}const er="__parameters__";function nr(e,t,n){return Bt(()=>{const r=function Za(e){return function(...n){if(e){const r=e(...n);for(const o in r)this[o]=r[o]}}}(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;const s=new o(...i);return a.annotation=s,a;function a(u,l,c){const d=u.hasOwnProperty(er)?u[er]:Object.defineProperty(u,er,{value:[]})[er];for(;d.length<=c;)d.push(null);return(d[c]=d[c]||[]).push(s),u}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}function qr(e,t){e.forEach(n=>Array.isArray(n)?qr(n,t):t(n))}function qf(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function bi(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function ot(e,t,n){let r=rr(e,t);return r>=0?e[1|r]=n:(r=~r,function rE(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 Ya(e,t){const n=rr(e,t);if(n>=0)return e[1|n]}function rr(e,t){return function Zf(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 Ka=Pr(nr("Optional"),8),Qa=Pr(nr("SkipSelf"),4);function Ni(e){return 128==(128&e.flags)}var Xe=(()=>((Xe=Xe||{})[Xe.Important=1]="Important",Xe[Xe.DashCase=2]="DashCase",Xe))();const nu=new Map;let SE=0;const ou="__ngContext__";function Pe(e,t){nt(t)?(e[ou]=t[jr],function TE(e){nu.set(e[jr],e)}(t)):e[ou]=t}let iu;function su(e,t){return iu(e,t)}function Kr(e){const t=e[ae];return Ze(t)?t[ae]:t}function ph(e){return mh(e[Hr])}function gh(e){return mh(e[ft])}function mh(e){for(;null!==e&&!Ze(e);)e=e[ft];return e}function sr(e,t,n,r,o){if(null!=r){let i,s=!1;Ze(r)?i=r:nt(r)&&(s=!0,r=r[_e]);const a=re(r);0===e&&null!==n?null==o?Ch(t,n,a):Sn(t,n,a,o||null,!0):1===e&&null!==n?Sn(t,n,a,o||null,!0):2===e?function ki(e,t,n){const r=Pi(e,t);r&&function ZE(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,a,s):3===e&&t.destroyNode(a),null!=i&&function KE(e,t,n,r,o){const i=n[It];i!==re(n)&&sr(t,e,r,i,o);for(let a=Fe;a<n.length;a++){const u=n[a];Jr(u[w],u,e,t,r,i)}}(t,e,i,n,o)}}function Oi(e,t,n){return e.createElement(t,n)}function Dh(e,t){const n=e[zn],r=n.indexOf(t);gf(t),n.splice(r,1)}function uu(e,t){if(e.length<=Fe)return;const n=Fe+t,r=e[n];if(r){const o=r[Br];null!==o&&o!==e&&Dh(o,r),t>0&&(e[n-1][ft]=r[ft]);const i=bi(e,Fe+t);!function BE(e,t){Jr(e,t,t[k],2,null,null),t[_e]=null,t[xe]=null}(r[w],r);const s=i[Mt];null!==s&&s.detachView(i[w]),r[ae]=null,r[ft]=null,r[R]&=-129}return r}function vh(e,t){if(!(256&t[R])){const n=t[k];t[ai]?.destroy(),t[ui]?.destroy(),n.destroyNode&&Jr(e,t,n,3,null,null),function UE(e){let t=e[Hr];if(!t)return lu(e[w],e);for(;t;){let n=null;if(nt(t))n=t[Hr];else{const r=t[Fe];r&&(n=r)}if(!n){for(;t&&!t[ft]&&t!==e;)nt(t)&&lu(t[w],t),t=t[ae];null===t&&(t=e),nt(t)&&lu(t[w],t),n=t&&t[ft]}t=n}}(t)}}function lu(e,t){if(!(256&t[R])){t[R]&=-129,t[R]|=256,function qE(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 Gr)){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];At(4,a,u);try{u.call(a)}finally{At(5,a,u)}}else{At(4,o,i);try{i.call(o)}finally{At(5,o,i)}}}}}(e,t),function WE(e,t){const n=e.cleanup,r=t[jn];if(null!==n)for(let i=0;i<n.length-1;i+=2)if("string"==typeof n[i]){const s=n[i+3];s>=0?r[s]():r[-s].unsubscribe(),i+=2}else n[i].call(r[n[i+1]]);null!==r&&(t[jn]=null);const o=t[rn];if(null!==o){t[rn]=null;for(let i=0;i<o.length;i++)(0,o[i])()}}(e,t),1===t[w].type&&t[k].destroy();const n=t[Br];if(null!==n&&Ze(t[ae])){n!==t[ae]&&Dh(n,t);const r=t[Mt];null!==r&&r.detachView(e)}!function NE(e){nu.delete(e[jr])}(t)}}function cu(e,t,n){return function _h(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[_e];{const{componentOffset:o}=r;if(o>-1){const{encapsulation:i}=e.data[r.directiveStart+o];if(i===et.None||i===et.Emulated)return null}return Ye(r,n)}}(e,t.parent,n)}function Sn(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Ch(e,t,n){e.appendChild(t,n)}function Eh(e,t,n,r,o){null!==r?Sn(e,t,n,r,o):Ch(e,t,n)}function Pi(e,t){return e.parentNode(t)}let du,gu,Mh=function bh(e,t,n){return 40&e.type?Ye(e,n):null};function Ri(e,t,n,r){const o=cu(e,r,t),i=t[k],a=function wh(e,t,n){return Mh(e,t,n)}(r.parent||t[xe],r,t);if(null!=o)if(Array.isArray(n))for(let u=0;u<n.length;u++)Eh(i,o,n[u],a,!1);else Eh(i,o,n,a,!1);void 0!==du&&du(i,r,t,n,o)}function Qr(e,t){if(null!==t){const n=t.type;if(3&n)return Ye(t,e);if(4&n)return fu(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return Qr(e,r);{const o=e[t.index];return Ze(o)?fu(-1,o):re(o)}}if(32&n)return su(t,e)()||re(e[t.index]);{const r=Sh(e,t);return null!==r?Array.isArray(r)?r[0]:Qr(Kr(e[fe]),r):Qr(e,t.next)}}return null}function Sh(e,t){return null!==t?e[fe][xe].projection[t.projection]:null}function fu(e,t){const n=Fe+e+1;if(n<t.length){const r=t[n],o=r[w].firstChild;if(null!==o)return Qr(r,o)}return t[It]}function hu(e,t,n,r,o,i,s){for(;null!=n;){const a=r[n.index],u=n.type;if(s&&0===t&&(a&&Pe(re(a),r),n.flags|=2),32!=(32&n.flags))if(8&u)hu(e,t,n.child,r,o,i,!1),sr(t,e,o,a,i);else if(32&u){const l=su(n,r);let c;for(;c=l();)sr(t,e,o,c,i);sr(t,e,o,a,i)}else 16&u?Th(e,t,r,n,o,i):sr(t,e,o,a,i);n=s?n.projectionNext:n.next}}function Jr(e,t,n,r,o,i){hu(n,r,e.firstChild,t,o,i,!1)}function Th(e,t,n,r,o,i){const s=n[fe],u=s[xe].projection[r.projection];if(Array.isArray(u))for(let l=0;l<u.length;l++)sr(t,e,o,u[l],i);else{let l=u;const c=s[ae];Ni(r)&&(l.flags|=128),hu(e,t,l,c,o,i,!0)}}function Nh(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function xh(e,t,n){const{mergedAttrs:r,classes:o,styles:i}=n;null!==r&&ba(e,t,r),null!==o&&Nh(e,t,o),null!==i&&function JE(e,t,n){e.setAttribute(t,"style",n)}(e,t,i)}class Rh{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Sd})`}}function an(e){return e instanceof Rh?e.changingThisBreaksApplicationSecurity:e}const hw=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;var ge=(()=>((ge=ge||{})[ge.NONE=0]="NONE",ge[ge.HTML=1]="HTML",ge[ge.STYLE=2]="STYLE",ge[ge.SCRIPT=3]="SCRIPT",ge[ge.URL=4]="URL",ge[ge.RESOURCE_URL=5]="RESOURCE_URL",ge))();function Cu(e){const t=function ro(){const e=D();return e&&e[En].sanitizer}();return t?t.sanitize(ge.URL,e)||"":function to(e,t){const n=function lw(e){return e instanceof Rh&&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 ${Sd})`)}return n===t}(e,"URL")?an(e):function yu(e){return(e=String(e)).match(hw)?e:"unsafe:"+e}(O(e))}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=z({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const Bi=new M("ENVIRONMENT_INITIALIZER"),Uh=new M("INJECTOR",-1),Gh=new M("INJECTOR_DEF_TYPES");class zh{get(t,n=Or){if(n===Or){const r=new Error(`NullInjectorError: No provider for ${ve(t)}!`);throw r.name="NullInjectorError",r}return n}}function Sw(...e){return{\u0275providers:Wh(0,e),\u0275fromNgModule:!0}}function Wh(e,...t){const n=[],r=new Set;let o;return qr(t,i=>{const s=i;wu(s,n,[],r)&&(o||=[],o.push(s))}),void 0!==o&&qh(o,n),n}function qh(e,t){for(let n=0;n<e.length;n++){const{providers:o}=e[n];bu(o,i=>{t.push(i)})}}function wu(e,t,n,r){if(!(e=x(e)))return!1;let o=null,i=Td(e);const s=!i&&Y(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const u=e.ngModule;if(i=Td(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)wu(l,t,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!a){let l;r.add(o);try{qr(i.imports,c=>{wu(c,t,n,r)&&(l||=[],l.push(c))})}finally{}void 0!==l&&qh(l,t)}if(!a){const l=bn(o)||(()=>new o);t.push({provide:o,useFactory:l,deps:W},{provide:Gh,useValue:o,multi:!0},{provide:Bi,useValue:()=>V(o),multi:!0})}const u=i.providers;null==u||a||bu(u,c=>{t.push(c)})}}return o!==e&&void 0!==e.providers}function bu(e,t){for(let n of e)ya(n)&&(n=n.\u0275providers),Array.isArray(n)?bu(n,t):t(n)}const Aw=K({provide:String,useValue:K});function Mu(e){return null!==e&&"object"==typeof e&&Aw in e}function An(e){return"function"==typeof e}const Iu=new M("Set Injector scope."),ji={},Nw={};let Su;function $i(){return void 0===Su&&(Su=new zh),Su}class Tn{}class Au extends Tn{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,Nu(t,s=>this.processProvider(s)),this.records.set(Uh,ur(void 0,this)),o.has("environment")&&this.records.set(Tn,ur(void 0,this));const i=this.records.get(Iu);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Gh.multi,W,N.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const n of this._ngOnDestroyHooks)n.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const n of t)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=nn(this),r=ze(void 0);try{return t()}finally{nn(n),ze(r)}}get(t,n=Or,r=N.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(kd))return t[kd](this);r=oi(r);const o=nn(this),i=ze(void 0);try{if(!(r&N.SkipSelf)){let a=this.records.get(t);if(void 0===a){const u=function Rw(e){return"function"==typeof e||"object"==typeof e&&e instanceof M}(t)&&ti(t);a=u&&this.injectableDefInScope(u)?ur(Tu(t),ji):null,this.records.set(t,a)}if(null!=a)return this.hydrate(t,a)}return(r&N.Self?$i():this.parent).get(t,n=r&N.Optional&&n===Or?null:n)}catch(s){if("NullInjectorError"===s.name){if((s[ri]=s[ri]||[]).unshift(ve(t)),o)throw s;return function O0(e,t,n,r){const o=e[ri];throw t[Od]&&o.unshift(t[Od]),e.message=function P0(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=ve(t);if(Array.isArray(t))o=t.map(ve).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):ve(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(A0,"\n ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[ri]=null,e}(s,t,"R3InjectorError",this.source)}throw s}finally{ze(i),nn(o)}}resolveInjectorInitializers(){const t=nn(this),n=ze(void 0);try{const r=this.get(Bi.multi,W,N.Self);for(const o of r)o()}finally{nn(t),ze(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(ve(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new C(205,!1)}processProvider(t){let n=An(t=x(t))?t:x(t&&t.provide);const r=function Fw(e){return Mu(e)?ur(void 0,e.useValue):ur(Xh(e),ji)}(t);if(An(t)||!0!==t.multi)this.records.get(n);else{let o=this.records.get(n);o||(o=ur(void 0,ji,!0),o.factory=()=>Ca(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===ji&&(n.value=Nw,n.value=n.factory()),"object"==typeof n.value&&n.value&&function Pw(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=x(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function Tu(e){const t=ti(e),n=null!==t?t.factory:bn(e);if(null!==n)return n;if(e instanceof M)throw new C(204,!1);if(e instanceof Function)return function xw(e){const t=e.length;if(t>0)throw function Zr(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}(t,"?"),new C(204,!1);const n=function M0(e){return e&&(e[ni]||e[Nd])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new C(204,!1)}function Xh(e,t,n){let r;if(An(e)){const o=x(e);return bn(o)||Tu(o)}if(Mu(e))r=()=>x(e.useValue);else if(function Yh(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Ca(e.deps||[]));else if(function Zh(e){return!(!e||!e.useExisting)}(e))r=()=>V(x(e.useExisting));else{const o=x(e&&(e.useClass||e.provide));if(!function Ow(e){return!!e.deps}(e))return bn(o)||Tu(o);r=()=>new o(...Ca(e.deps))}return r}function ur(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Nu(e,t){for(const n of e)Array.isArray(n)?Nu(n,t):n&&ya(n)?Nu(n.\u0275providers,t):t(n)}const Ui=new M("AppId",{providedIn:"root",factory:()=>kw}),kw="ng",Kh=new M("Platform Initializer"),Nn=new M("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Qh=new M("CSP nonce",{providedIn:"root",factory:()=>function eo(){if(void 0!==gu)return gu;if(typeof document<"u")return document;throw new C(210,!1)}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let ep=(e,t)=>null;function tp(e,t){return ep(e,t)}class zw{}class op{}class qw{resolveComponentFactory(t){throw function Ww(e){const t=Error(`No component factory found for ${ve(e)}.`);return t.ngComponent=e,t}(t)}}let Zi=(()=>{class e{}return e.NULL=new qw,e})();function Zw(){return lr(Ae(),D())}function lr(e,t){return new pt(Ye(e,t))}let pt=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=Zw,e})();class sp{}let xn=(()=>{class e{constructor(){this.destroyNode=null}}return e.__NG_ELEMENT_ID__=()=>function Xw(){const e=D(),n=rt(Ae().index,e);return(nt(n)?n:e)[k]}(),e})(),Kw=(()=>{class e{}return e.\u0275prov=z({token:e,providedIn:"root",factory:()=>null}),e})();class Yi{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Qw=new Yi("16.1.5"),ju={};function ao(e){for(;e;){e[R]|=64;const t=Kr(e);if(Sa(e)&&!t)return e;e=t}return null}function $u(e){return e.ngOriginalError}class Fn{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&&$u(t);for(;n&&$u(n);)n=$u(n);return n||null}}const lp=new M("",{providedIn:"root",factory:()=>!1});function cp(e){return e.ownerDocument}class gp extends nf{constructor(){super(...arguments),this.consumerAllowSignalWrites=!1,this._lView=null}set lView(t){this._lView=t}onConsumerDependencyMayHaveChanged(){ao(this._lView)}onProducerUpdateValueVersion(){}get hasReadASignal(){return this.hasProducers}runInContext(t,n,r){const o=Se(this);this.trackingVersion++;try{t(n,r)}finally{Se(o)}}destroy(){this.trackingVersion++}}let Ki=null;function mp(){return Ki??=new gp,Ki}function yp(e,t){return e[t]??mp()}function Dp(e,t){const n=mp();n.hasReadASignal&&(e[t]=Ki,n.lView=e,Ki=new gp)}const L={};function Re(e){vp(G(),D(),Be()+e,!1)}function vp(e,t,n,r){if(!r)if(3==(3&t[R])){const i=e.preOrderCheckHooks;null!==i&&yi(t,i,n)}else{const i=e.preOrderHooks;null!==i&&Di(t,i,0,n)}Mn(n)}function wp(e,t=null,n=null,r){const o=bp(e,t,n,r);return o.resolveInjectorInitializers(),o}function bp(e,t=null,n=null,r,o=new Set){const i=[n||W,Sw(e)];return r=r||("object"==typeof e?void 0:ve(e)),new Au(i,t||$i(),r||null,o)}let un=(()=>{class e{static create(n,r){if(Array.isArray(n))return wp({name:""},r,n,"");{const o=n.name??"";return wp({name:o},n.parent,n.providers,o)}}}return e.THROW_IF_NOT_FOUND=Or,e.NULL=new zh,e.\u0275prov=z({token:e,providedIn:"any",factory:()=>V(Uh)}),e.__NG_ELEMENT_ID__=-1,e})();function _(e,t=N.Default){const n=D();return null===n?V(e,t):jf(Ae(),n,x(e),t)}function Qi(e,t,n,r,o,i,s,a,u,l,c){const d=t.blueprint.slice();return d[_e]=o,d[R]=140|r,(null!==l||e&&2048&e[R])&&(d[R]|=2048),pf(d),d[ae]=d[Un]=e,d[de]=n,d[En]=s||e&&e[En],d[k]=a||e&&e[k],d[$n]=u||e&&e[$n]||null,d[xe]=i,d[jr]=function AE(){return SE++}(),d[Ut]=c,d[Xd]=l,d[fe]=2==t.type?e[fe]:d,d}function dr(e,t,n,r,o){let i=e.data[t];if(null===i)i=function Uu(e,t,n,r,o){const i=_f(),s=Oa(),u=e.data[t]=function vb(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return function qn(){return null!==T.skipHydrationRootTNode}()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?i:i&&i.parent,n,t,r,o);return null===e.firstChild&&(e.firstChild=u),null!==i&&(s?null==i.child&&null!==u.parent&&(i.child=u):null===i.next&&(i.next=u,u.prev=i)),u}(e,t,n,r,o),function xC(){return T.lFrame.inI18n}()&&(i.flags|=32);else if(64&i.type){i.type=n,i.value=r,i.attrs=o;const s=function Ur(){const e=T.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();i.injectorIndex=null===s?-1:s.injectorIndex}return Tt(i,!0),i}function uo(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 Mp(e,t,n,r,o){const i=yp(t,ai),s=Be(),a=2&r;try{if(Mn(-1),a&&t.length>$&&vp(e,t,$,!1),At(a?2:0,o),a)i.runInContext(n,r,o);else{const l=Se(null);try{n(r,o)}finally{Se(l)}}}finally{a&&null===t[ai]&&Dp(t,ai),Mn(s),At(a?3:1,o)}}function Gu(e,t,n){if(Ia(t)){const r=Se(null);try{const i=t.directiveEnd;for(let s=t.directiveStart;s<i;s++){const a=e.data[s];a.contentQueries&&a.contentQueries(1,n[s],s)}}finally{Se(r)}}}function zu(e,t,n){vf()&&(function Ib(e,t,n,r){const o=n.directiveStart,i=n.directiveEnd;wn(n)&&function Ob(e,t,n){const r=Ye(t,e),o=Ip(n);let s=16;n.signals?s=4096:n.onPush&&(s=64);const a=Ji(e,Qi(e,o,null,s,r,t,null,e[En].rendererFactory.createRenderer(r,n),null,null,null));e[t.index]=a}(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||Ei(n,t),Pe(r,t);const s=n.initialInputs;for(let a=o;a<i;a++){const u=e.data[a],l=In(t,e,a,n);Pe(l,t),null!==s&&Pb(0,a-o,l,u,0,s),ht(u)&&(rt(n.index,t)[de]=In(t,e,a,n))}}(e,t,n,Ye(n,t)),64==(64&n.flags)&&xp(e,t,n))}function Wu(e,t,n=Ye){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 Ip(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=qu(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function qu(e,t,n,r,o,i,s,a,u,l,c){const d=$+r,f=d+o,h=function hb(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:L);return n}(d,f),p="function"==typeof l?l():l;return h[w]={type:e,blueprint:h,template:n,queries:null,viewQuery:a,declTNode:t,data:h.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:f,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof i?i():i,pipeRegistry:"function"==typeof s?s():s,firstChild:null,schemas:u,consts:p,incompleteFirstPass:!1,ssrId:c}}let Sp=e=>null;function Ap(e,t,n,r){for(let o in e)if(e.hasOwnProperty(o)){n=null===n?{}:n;const i=e[o];null===r?Tp(n,t,o,i):r.hasOwnProperty(o)&&Tp(n,t,r[o],i)}return n}function Tp(e,t,n,r){e.hasOwnProperty(n)?e[n].push(t,r):e[n]=[t,r]}function it(e,t,n,r,o,i,s,a){const u=Ye(t,n);let c,l=t.inputs;!a&&null!=l&&(c=l[r])?(Qu(e,n,c,r,o),wn(t)&&function Eb(e,t){const n=rt(t,e);16&n[R]||(n[R]|=64)}(n,t.index)):3&t.type&&(r=function Cb(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 Zu(e,t,n,r){if(vf()){const o=null===r?null:{"":-1},i=function Ab(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(Ud(t,s.selectors,!1))if(r||(r=[]),ht(s))if(null!==s.findHostDirectiveDefs){const a=[];o=o||new Map,s.findHostDirectiveDefs(s,a,o),r.unshift(...a,s),Yu(e,t,a.length)}else r.unshift(s),Yu(e,t,0);else o=o||new Map,s.findHostDirectiveDefs?.(s,r,o),r.push(s)}return null===r?null:[r,o]}(e,n);let s,a;null===i?s=a=null:[s,a]=i,null!==s&&Np(e,t,n,s,o,a),o&&function Tb(e,t,n){if(t){const r=e.localNames=[];for(let o=0;o<t.length;o+=2){const i=n[t[o+1]];if(null==i)throw new C(-301,!1);r.push(t[o],i)}}}(n,r,o)}n.mergedAttrs=kr(n.mergedAttrs,n.attrs)}function Np(e,t,n,r,o,i){for(let l=0;l<r.length;l++)za(Ei(n,t),e,r[l].type);!function xb(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=uo(e,t,r.length,null);for(let l=0;l<r.length;l++){const c=r[l];n.mergedAttrs=kr(n.mergedAttrs,c.hostAttrs),Fb(e,n,t,u,c),Nb(u,c,o),null!==c.contentQueries&&(n.flags|=4),(null!==c.hostBindings||null!==c.hostAttrs||0!==c.hostVars)&&(n.flags|=64);const d=c.type.prototype;!s&&(d.ngOnChanges||d.ngOnInit||d.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),s=!0),!a&&(d.ngOnChanges||d.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),a=!0),u++}!function _b(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=Ap(d.inputs,c,u,f?f.inputs:null),l=Ap(d.outputs,c,l,p);const g=null===u||null===s||$d(t)?null:Rb(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 xp(e,t,n){const r=n.directiveStart,o=n.directiveEnd,i=n.index,s=function OC(){return T.lFrame.currentDirectiveIndex}();try{Mn(i);for(let a=r;a<o;a++){const u=e.data[a],l=t[a];Ra(a),(null!==u.hostBindings||0!==u.hostVars||null!==u.hostAttrs)&&Sb(u,l)}}finally{Mn(-1),Ra(s)}}function Sb(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Yu(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function Nb(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;ht(t)&&(n[""]=e)}}function Fb(e,t,n,r,o){e.data[r]=o;const i=o.factory||(o.factory=bn(o.type)),s=new Gr(i,ht(o),_);e.blueprint[r]=s,n[r]=s,function bb(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 Mb(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,uo(e,n,o.hostVars,L),o)}function Pb(e,t,n,r,o,i){const s=i[t];if(null!==s)for(let a=0;a<s.length;)Fp(r,n,s[a++],s[a++],s[a++])}function Fp(e,t,n,r,o){const i=Se(null);try{const s=e.inputTransforms;null!==s&&s.hasOwnProperty(r)&&(o=s[r].call(t,o)),null!==e.setInput?e.setInput(t,o,n,r):t[r]=o}finally{Se(i)}}function Rb(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 Op(e,t,n,r){return[e,!0,!1,t,null,0,r,n,null,null,null]}function Pp(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];La(n[r]),s.contentQueries(2,t[i],i)}}}function Ji(e,t){return e[Hr]?e[Yd][ft]=t:e[Hr]=t,e[Yd]=t,t}function Ku(e,t,n){La(0);const r=Se(null);try{t(e,n)}finally{Se(r)}}function Vp(e,t){const n=e[$n],r=n?n.get(Fn,null):null;r&&r.handleError(t)}function Qu(e,t,n,r,o){for(let i=0;i<n.length;){const s=n[i++],a=n[i++];Fp(e.data[s],t[s],r,a,o)}}function Yt(e,t,n){const r=pi(t,e);!function yh(e,t,n){e.setValue(t,n)}(e[k],r,n)}function kb(e,t){const n=rt(t,e),r=n[w];!function Lb(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(r,n);const o=n[_e];null!==o&&null===n[Ut]&&(n[Ut]=tp(o,n[$n])),Ju(r,n,n[de])}function Ju(e,t,n){Va(t);try{const r=e.viewQuery;null!==r&&Ku(1,r,n);const o=e.template;null!==o&&Mp(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Pp(e,t),e.staticViewQueries&&Ku(2,e.viewQuery,n);const i=e.components;null!==i&&function Vb(e,t){for(let n=0;n<t.length;n++)kb(e,t[n])}(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[R]&=-5,Ha()}}let Hp=(()=>{class e{constructor(){this.all=new Set,this.queue=new Map}create(n,r,o){const i=typeof Zone>"u"?null:Zone.current,s=new lC(n,l=>{this.all.has(l)&&this.queue.set(l,i)},o);let a;this.all.add(s),s.notify();const u=()=>{s.cleanup(),a?.(),this.all.delete(s),this.queue.delete(s)};return a=r?.onDestroy(u),{destroy:u}}flush(){if(0!==this.queue.size)for(const[n,r]of this.queue)this.queue.delete(n),r?r.run(()=>n.run()):n.run()}get isQueueEmpty(){return 0===this.queue.size}}return e.\u0275prov=z({token:e,providedIn:"root",factory:()=>new e}),e})();function es(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=ga(o,a):2==i&&(r=ga(r,a+": "+t[++s]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function lo(e,t,n,r,o=!1){for(;null!==n;){const i=t[n.index];if(null!==i&&r.push(re(i)),Ze(i)){for(let a=Fe;a<i.length;a++){const u=i[a],l=u[w].firstChild;null!==l&&lo(u[w],u,l,r)}i[It]!==i[_e]&&r.push(i[It])}const s=n.type;if(8&s)lo(e,t,n.child,r);else if(32&s){const a=su(n,t);let u;for(;u=a();)r.push(u)}else if(16&s){const a=Sh(t,n);if(Array.isArray(a))r.push(...a);else{const u=Kr(t[fe]);lo(u[w],u,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function ts(e,t,n,r=!0){const o=t[En].rendererFactory;o.begin&&o.begin();try{Bp(e,t,e.template,n)}catch(s){throw r&&Vp(t,s),s}finally{o.end&&o.end(),t[En].effectManager?.flush()}}function Bp(e,t,n,r){const o=t[R];if(256!=(256&o)){t[En].effectManager?.flush(),Va(t);try{pf(t),function Ef(e){return T.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&Mp(e,t,n,2,r);const s=3==(3&o);if(s){const l=e.preOrderCheckHooks;null!==l&&yi(t,l,null)}else{const l=e.preOrderHooks;null!==l&&Di(t,l,0,null),Ba(t,0)}if(function Ub(e){for(let t=ph(e);null!==t;t=gh(t)){if(!t[Kd])continue;const n=t[zn];for(let r=0;r<n.length;r++){_C(n[r])}}}(t),jp(t,2),null!==e.contentQueries&&Pp(e,t),s){const l=e.contentCheckHooks;null!==l&&yi(t,l)}else{const l=e.contentHooks;null!==l&&Di(t,l,1),Ba(t,1)}!function fb(e,t){const n=e.hostBindingOpCodes;if(null===n)return;const r=yp(t,ui);try{for(let o=0;o<n.length;o++){const i=n[o];if(i<0)Mn(~i);else{const s=i,a=n[++o],u=n[++o];FC(a,s),r.runInContext(u,2,t[s])}}}finally{null===t[ui]&&Dp(t,ui),Mn(-1)}}(e,t);const a=e.components;null!==a&&Up(t,a,0);const u=e.viewQuery;if(null!==u&&Ku(2,u,r),s){const l=e.viewCheckHooks;null!==l&&yi(t,l)}else{const l=e.viewHooks;null!==l&&Di(t,l,2),Ba(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[R]&=-73,gf(t)}finally{Ha()}}}function jp(e,t){for(let n=ph(e);null!==n;n=gh(n))for(let r=Fe;r<n.length;r++)$p(n[r],t)}function Gb(e,t,n){$p(rt(t,e),n)}function $p(e,t){if(!function DC(e){return 128==(128&e[R])}(e))return;const n=e[w];if(80&e[R]&&0===t||1024&e[R]||2===t)Bp(n,e,n.template,e[de]);else if(e[Vr]>0){jp(e,1);const o=e[w].components;null!==o&&Up(e,o,1)}}function Up(e,t,n){for(let r=0;r<t.length;r++)Gb(e,t[r],n)}class co{get rootNodes(){const t=this._lView,n=t[w];return lo(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[de]}set context(t){this._lView[de]=t}get destroyed(){return 256==(256&this._lView[R])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[ae];if(Ze(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(uu(t,r),bi(n,r))}this._attachedToViewContainer=!1}vh(this._lView[w],this._lView)}onDestroy(t){!function yf(e,t){if(256==(256&e[R]))throw new C(911,!1);null===e[rn]&&(e[rn]=[]),e[rn].push(t)}(this._lView,t)}markForCheck(){ao(this._cdRefInjectingView||this._lView)}detach(){this._lView[R]&=-129}reattach(){this._lView[R]|=128}detectChanges(){ts(this._lView[w],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new C(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function $E(e,t){Jr(e,t,t[k],2,null,null)}(this._lView[w],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new C(902,!1);this._appRef=t}}class zb extends co{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;ts(t[w],t,t[de],!1)}checkNoChanges(){}get context(){return null}}class Gp extends Zi{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=Y(t);return new fo(n,this.ngModule)}}function zp(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class qb{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=oi(r);const o=this.injector.get(t,ju,r);return o!==ju||n===ju?o:this.parentInjector.get(t,n,r)}}class fo extends op{get inputs(){const t=this.componentDef,n=t.inputTransforms,r=zp(t.inputs);if(null!==n)for(const o of r)n.hasOwnProperty(o.propName)&&(o.transform=n[o.propName]);return r}get outputs(){return zp(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function G0(e){return e.map(U0).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,o){let i=(o=o||this.ngModule)instanceof Tn?o:o?.injector;i&&null!==this.componentDef.getStandaloneInjector&&(i=this.componentDef.getStandaloneInjector(i)||i);const s=i?new qb(t,i):t,a=s.get(sp,null);if(null===a)throw new C(407,!1);const c={rendererFactory:a,sanitizer:s.get(Kw,null),effectManager:s.get(Hp,null)},d=a.createRenderer(null,this.componentDef),f=this.componentDef.selectors[0][0]||"div",h=r?function pb(e,t,n,r){const i=r.get(lp,!1)||n===et.ShadowDom,s=e.selectRootElement(t,i);return function gb(e){Sp(e)}(s),s}(d,r,this.componentDef.encapsulation,s):Oi(d,f,function Wb(e){const t=e.toLowerCase();return"svg"===t?df:"math"===t?"math":null}(f)),y=this.componentDef.signals?4608:this.componentDef.onPush?576:528,v=qu(0,null,null,1,0,null,null,null,null,null,null),m=Qi(null,v,null,y,null,null,c,d,s,null,null);let b,S;Va(m);try{const F=this.componentDef;let Ie,ta=null;F.findHostDirectiveDefs?(Ie=[],ta=new Map,F.findHostDirectiveDefs(F,Ie,ta),Ie.push(F)):Ie=[F];const tO=function Yb(e,t){const n=e[w],r=$;return e[r]=t,dr(n,r,2,"#host",null)}(m,h),nO=function Xb(e,t,n,r,o,i,s){const a=o[w];!function Kb(e,t,n,r){for(const o of e)t.mergedAttrs=kr(t.mergedAttrs,o.hostAttrs);null!==t.mergedAttrs&&(es(t,t.mergedAttrs,!0),null!==n&&xh(r,n,t))}(r,e,t,s);let u=null;null!==t&&(u=tp(t,o[$n]));const l=i.rendererFactory.createRenderer(t,n);let c=16;n.signals?c=4096:n.onPush&&(c=64);const d=Qi(o,Ip(n),null,c,o[e.index],e,i,l,null,null,u);return a.firstCreatePass&&Yu(a,e,r.length-1),Ji(o,d),o[e.index]=d}(tO,h,F,Ie,m,c,d);S=hf(v,$),h&&function Jb(e,t,n,r){if(r)ba(e,n,["ng-version",Qw.full]);else{const{attrs:o,classes:i}=function z0(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&&ba(e,n,o),i&&i.length>0&&Nh(e,n,i.join(" "))}}(d,F,h,r),void 0!==n&&function eM(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)}}(S,this.ngContentSelectors,n),b=function Qb(e,t,n,r,o,i){const s=Ae(),a=o[w],u=Ye(s,o);Np(a,o,s,n,null,r);for(let c=0;c<n.length;c++)Pe(In(o,a,s.directiveStart+c,s),o);xp(a,o,s),u&&Pe(u,o);const l=In(o,a,s.directiveStart+s.componentOffset,s);if(e[de]=o[de]=l,null!==i)for(const c of i)c(l,t);return Gu(a,s,e),l}(nO,F,Ie,ta,m,[tM]),Ju(v,m,null)}finally{Ha()}return new Zb(this.componentType,b,lr(S,m),m,S)}}class Zb extends zw{constructor(t,n,r,o,i){super(),this.location=r,this._rootLView=o,this._tNode=i,this.previousInputValues=null,this.instance=n,this.hostView=this.changeDetectorRef=new zb(o),this.componentType=t}setInput(t,n){const r=this._tNode.inputs;let o;if(null!==r&&(o=r[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;const i=this._rootLView;Qu(i[w],i,o,t,n),this.previousInputValues.set(t,n),ao(rt(this._tNode.index,i))}}get injector(){return new Qn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function tM(){const e=Ae();mi(D()[w],e)}function Q(e){let t=function Wp(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let o;if(ht(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=ns(e.inputs),s.inputTransforms=ns(e.inputTransforms),s.declaredInputs=ns(e.declaredInputs),s.outputs=ns(e.outputs);const a=o.hostBindings;a&&iM(e,a);const u=o.viewQuery,l=o.contentQueries;if(u&&rM(e,u),l&&oM(e,l),Qo(e.inputs,o.inputs),Qo(e.declaredInputs,o.declaredInputs),Qo(e.outputs,o.outputs),null!==o.inputTransforms&&(null===s.inputTransforms&&(s.inputTransforms={}),Qo(s.inputTransforms,o.inputTransforms)),ht(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 nM(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=kr(o.hostAttrs,n=kr(n,o.hostAttrs))}}(r)}function ns(e){return e===bt?{}:e===W?[]:e}function rM(e,t){const n=e.viewQuery;e.viewQuery=n?(r,o)=>{t(r,o),n(r,o)}:t}function oM(e,t){const n=e.contentQueries;e.contentQueries=n?(r,o,i)=>{t(r,o,i),n(r,o,i)}:t}function iM(e,t){const n=e.hostBindings;e.hostBindings=n?(r,o)=>{t(r,o),n(r,o)}:t}function rs(e){return!!el(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function el(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function ke(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function hr(e,t,n,r){return ke(e,Xn(),n)?t+O(n)+r:L}function pr(e,t,n,r,o,i){const a=function On(e,t,n,r){const o=ke(e,t,n);return ke(e,t+1,r)||o}(e,function zt(){return T.lFrame.bindingIndex}(),n,o);return Wt(2),a?t+O(n)+r+O(o)+i:L}function sl(e,t,n,r,o,i,s,a){const u=D(),l=G(),c=e+$,d=l.firstCreatePass?function xM(e,t,n,r,o,i,s,a,u){const l=t.consts,c=dr(t,e,4,s||null,on(l,a));Zu(t,n,c,on(l,u)),mi(t,c);const d=c.tView=qu(2,c,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,l,null);return null!==t.queries&&(t.queries.template(t,c),d.queries=t.queries.embeddedTView(c)),c}(c,l,u,t,n,r,o,i,s):l.data[c];Tt(d,!1);const f=ug(l,u,d,e);gi()&&Ri(l,u,f,d),Pe(f,u),Ji(u,u[c]=Op(f,u,f,d)),ci(d)&&zu(l,u,d),null!=s&&Wu(u,d,a)}let ug=function lg(e,t,n,r){return sn(!0),t[k].createComment("")};function Cr(e){return function Wn(e,t){return e[t]}(function NC(){return T.lFrame.contextLView}(),$+e)}function ln(e,t,n){const r=D();return ke(r,Xn(),t)&&it(G(),ue(),r,e,t,r[k],n,!1),ln}function al(e,t,n,r,o){const s=o?"class":"style";Qu(e,n,t.inputs[s],s,r)}function H(e,t,n,r){const o=D(),i=G(),s=$+e,a=o[k],u=i.firstCreatePass?function RM(e,t,n,r,o,i){const s=t.consts,u=dr(t,e,2,r,on(s,o));return Zu(t,n,u,on(s,i)),null!==u.attrs&&es(u,u.attrs,!1),null!==u.mergedAttrs&&es(u,u.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,u),u}(s,i,o,t,n,r):i.data[s],l=cg(i,o,u,a,t,e);o[s]=l;const c=ci(u);return Tt(u,!0),xh(a,l,u),32!=(32&u.flags)&&gi()&&Ri(i,o,l,u),0===function EC(){return T.lFrame.elementDepthCount}()&&Pe(l,o),function wC(){T.lFrame.elementDepthCount++}(),c&&(zu(i,o,u),Gu(i,u,o)),null!==r&&Wu(o,u),H}function j(){let e=Ae();Oa()?function Pa(){T.lFrame.isParent=!1}():(e=e.parent,Tt(e,!1));const t=e;(function MC(e){return T.skipHydrationRootTNode===e})(t)&&function TC(){T.skipHydrationRootTNode=null}(),function bC(){T.lFrame.elementDepthCount--}();const n=G();return n.firstCreatePass&&(mi(n,e),Ia(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function UC(e){return 0!=(8&e.flags)}(t)&&al(n,t,D(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function GC(e){return 0!=(16&e.flags)}(t)&&al(n,t,D(),t.stylesWithoutHost,!1),j}function je(e,t,n,r){return H(e,t,n,r),j(),je}let cg=(e,t,n,r,o,i)=>(sn(!0),Oi(r,o,function xf(){return T.lFrame.currentNamespace}()));function cl(){return D()}function us(e){return!!e&&"function"==typeof e.then}function hg(e){return!!e&&"function"==typeof e.subscribe}function Ee(e,t,n,r){const o=D(),i=G(),s=Ae();return function gg(e,t,n,r,o,i,s){const a=ci(r),l=e.firstCreatePass&&function kp(e){return e.cleanup||(e.cleanup=[])}(e),c=t[de],d=function Rp(e){return e[jn]||(e[jn]=[])}(t);let f=!0;if(3&r.type||s){const g=Ye(r,t),y=s?s(g):g,v=d.length,m=s?S=>s(re(S[r.index])):r.index;let b=null;if(!s&&a&&(b=function jM(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[jn],u=o[i+2];return a.length>u?a[u]:null}"string"==typeof s&&(i+=2)}return null}(e,t,o,r.index)),null!==b)(b.__ngLastListenerFn__||b).__ngNextListenerFn__=i,b.__ngLastListenerFn__=i,f=!1;else{i=yg(r,t,c,i,!1);const S=n.listen(y,o,i);d.push(i,S),l&&l.push(o,m,v,v+1)}}else i=yg(r,t,c,i,!1);const h=r.outputs;let p;if(f&&null!==h&&(p=h[o])){const g=p.length;if(g)for(let y=0;y<g;y+=2){const F=t[p[y]][p[y+1]].subscribe(i),Ie=d.length;d.push(i,F),l&&l.push(o,r.index,Ie,-(Ie+1))}}}(i,o,o[k],s,e,t,r),Ee}function mg(e,t,n,r){try{return At(6,t,n),!1!==n(r)}catch(o){return Vp(e,o),!1}finally{At(7,t,n)}}function yg(e,t,n,r,o){return function i(s){if(s===Function)return r;ao(e.componentOffset>-1?rt(e.index,t):t);let u=mg(t,n,r,s),l=i.__ngNextListenerFn__;for(;l;)u=mg(t,n,l,s)&&u,l=l.__ngNextListenerFn__;return o&&!1===u&&s.preventDefault(),u}}function ls(e=1){return function RC(e){return(T.lFrame.contextLView=function kC(e,t){for(;e>0;)t=t[Un],e--;return t}(e,T.lFrame.contextLView))[de]}(e)}function dl(e,t,n){return fl(e,"",t,"",n),dl}function fl(e,t,n,r,o){const i=D(),s=hr(i,t,n,r);return s!==L&&it(G(),ue(),i,e,s,i[k],o,!1),fl}function cs(e,t){return e<<17|t<<2}function cn(e){return e>>17&32767}function hl(e){return 2|e}function Pn(e){return(131068&e)>>2}function pl(e,t){return-131069&e|t<<2}function gl(e){return 1|e}function Ig(e,t,n,r,o){const i=e[n+1],s=null===t;let a=r?cn(i):Pn(i),u=!1;for(;0!==a&&(!1===u||s);){const c=e[a+1];XM(e[a],t)&&(u=!0,e[a+1]=r?gl(c):hl(c)),a=r?cn(c):Pn(c)}u&&(e[n+1]=r?hl(i):gl(i))}function XM(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&rr(e,t)>=0}const we={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Sg(e){return e.substring(we.key,we.keyEnd)}function Ag(e,t){const n=we.textEnd;return n===t?-1:(t=we.keyEnd=function eI(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,we.key=t,n),Er(e,t,n))}function Er(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function ds(e,t){return function gt(e,t,n,r){const o=D(),i=G(),s=Wt(2);i.firstUpdatePass&&Rg(i,e,s,r),t!==L&&ke(o,s,t)&&Lg(i,i.data[Be()],o,o[k],e,o[s+1]=function dI(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=ve(an(e)))),e}(t,n),r,s)}(e,t,null,!0),ds}function yo(e){!function mt(e,t,n,r){const o=G(),i=Wt(2);o.firstUpdatePass&&Rg(o,null,i,r);const s=D();if(n!==L&&ke(s,i,n)){const a=o.data[Be()];if(Hg(a,r)&&!Pg(o,i)){let u=r?a.classesWithoutHost:a.stylesWithoutHost;null!==u&&(n=ga(u,n||"")),al(o,a,s,n,r)}else!function cI(e,t,n,r,o,i,s,a){o===L&&(o=W);let u=0,l=0,c=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;null!==c||null!==d;){const f=u<o.length?o[u+1]:void 0,h=l<i.length?i[l+1]:void 0;let g,p=null;c===d?(u+=2,l+=2,f!==h&&(p=d,g=h)):null===d||null!==c&&c<d?(u+=2,p=c):(l+=2,p=d,g=h),null!==p&&Lg(e,t,n,r,p,g,s,a),c=u<o.length?o[u]:null,d=l<i.length?i[l]:null}}(o,a,s,s[k],s[i+1],s[i+1]=function uI(e,t,n){if(null==n||""===n)return W;const r=[],o=an(n);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if("object"==typeof o)for(const i in o)o.hasOwnProperty(i)&&e(r,i,o[i]);else"string"==typeof o&&t(r,o);return r}(e,t,n),r,i)}}(lI,Pt,e,!0)}function Pt(e,t){for(let n=function QM(e){return function Ng(e){we.key=0,we.keyEnd=0,we.value=0,we.valueEnd=0,we.textEnd=e.length}(e),Ag(e,Er(e,0,we.textEnd))}(t);n>=0;n=Ag(t,n))ot(e,Sg(t),!0)}function Pg(e,t){return t>=e.expandoStartIndex}function Rg(e,t,n,r){const o=e.data;if(null===o[n+1]){const i=o[Be()],s=Pg(e,n);Hg(i,r)&&null===t&&!s&&(t=!1),t=function oI(e,t,n,r){const o=function ka(e){const t=T.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=Do(n=ml(null,e,t,n,r),t.attrs,r),i=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==o)if(n=ml(o,e,t,n,r),null===i){let u=function iI(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==Pn(r))return e[cn(r)]}(e,t,r);void 0!==u&&Array.isArray(u)&&(u=ml(null,e,t,u[1],r),u=Do(u,t.attrs,r),function sI(e,t,n,r){e[cn(n?t.classBindings:t.styleBindings)]=r}(e,t,r,u))}else i=function aI(e,t,n){let r;const o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++)r=Do(r,e[i].hostAttrs,n);return Do(r,t.attrs,n)}(e,t,r)}return void 0!==i&&(r?t.residualClasses=i:t.residualStyles=i),n}(o,i,t,r),function ZM(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=cn(s),u=Pn(s);e[r]=n;let c,l=!1;if(Array.isArray(n)?(c=n[1],(null===c||rr(n,c)>0)&&(l=!0)):c=n,o)if(0!==u){const f=cn(e[a+1]);e[r+1]=cs(f,a),0!==f&&(e[f+1]=pl(e[f+1],r)),e[a+1]=function WM(e,t){return 131071&e|t<<17}(e[a+1],r)}else e[r+1]=cs(a,0),0!==a&&(e[a+1]=pl(e[a+1],r)),a=r;else e[r+1]=cs(u,0),0===a?a=r:e[u+1]=pl(e[u+1],r),u=r;l&&(e[r+1]=hl(e[r+1])),Ig(e,c,r,!0),Ig(e,c,r,!1),function YM(e,t,n,r,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&rr(i,t)>=0&&(n[r+1]=gl(n[r+1]))}(t,c,e,r,i),s=cs(a,u),i?t.classBindings=s:t.styleBindings=s}(o,i,t,n,s,r)}}function ml(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=Do(r,i.hostAttrs,o),i!==e);)a++;return null!==e&&(n.directiveStylingLast=a),r}function Do(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]),ot(e,s,!!n||t[++i]))}return void 0===e?null:e}function lI(e,t,n){const r=String(t);""!==r&&!r.includes(" ")&&ot(e,r,n)}function Lg(e,t,n,r,o,i,s,a){if(!(3&t.type))return;const u=e.data,l=u[a+1],c=function qM(e){return 1==(1&e)}(l)?Vg(u,t,n,o,Pn(l),s):void 0;fs(c)||(fs(i)||function zM(e){return 2==(2&e)}(l)&&(i=Vg(u,null,n,o,a,s)),function QE(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=-1===r.indexOf("-")?void 0:Xe.DashCase;null==o?e.removeStyle(n,r,i):("string"==typeof o&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Xe.Important),e.setStyle(n,r,o,i))}}(r,s,pi(Be(),n),o,i))}function Vg(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===L&&(f=d?W:void 0);let h=d?Ya(f,r):c===r?f:void 0;if(l&&!fs(h)&&(h=Ya(u,r)),fs(h)&&(a=h,s))return a;const p=e[o+1];o=s?cn(p):Pn(p)}if(null!==t){let u=i?t.residualClasses:t.residualStyles;null!=u&&(a=Ya(u,r))}return a}function fs(e){return void 0!==e}function Hg(e,t){return 0!=(e.flags&(t?8:16))}function te(e,t=""){const n=D(),r=G(),o=e+$,i=r.firstCreatePass?dr(r,o,1,t,null):r.data[o],s=Bg(r,n,i,t,e);n[o]=s,gi()&&Ri(r,n,s,i),Tt(i,!1)}let Bg=(e,t,n,r,o)=>(sn(!0),function Fi(e,t){return e.createText(t)}(t[k],r));function vo(e){return hs("",e,""),vo}function hs(e,t,n){const r=D(),o=hr(r,e,t,n);return o!==L&&Yt(r,Be(),o),hs}function yl(e,t,n,r,o){const i=D(),s=pr(i,e,t,n,r,o);return s!==L&&Yt(i,Be(),s),yl}const br="en-US";let am=br;function _l(e,t,n,r,o){if(e=x(e),Array.isArray(e))for(let i=0;i<e.length;i++)_l(e[i],t,n,r,o);else{const i=G(),s=D();let a=An(e)?e:x(e.provide),u=Xh(e);const l=Ae(),c=1048575&l.providerIndexes,d=l.directiveStart,f=l.providerIndexes>>20;if(An(e)||!e.multi){const h=new Gr(u,o,_),p=El(a,t,o?c:c+f,d);-1===p?(za(Ei(l,s),i,a),Cl(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=El(a,t,c+f,d),p=El(a,t,c,c+f),y=p>=0&&n[p];if(o&&!y||!o&&!(h>=0&&n[h])){za(Ei(l,s),i,a);const v=function xS(e,t,n,r,o){const i=new Gr(e,n,_);return i.multi=[],i.index=t,i.componentProviders=0,Fm(i,o,r&&!n),i}(o?NS:TS,n.length,o,r,u);!o&&y&&(n[p].providerFactory=v),Cl(i,e,t.length,0),t.push(a),l.directiveStart++,l.directiveEnd++,o&&(l.providerIndexes+=1048576),n.push(v),s.push(v)}else Cl(i,e,h>-1?h:p,Fm(n[o?p:h],u,!o&&r));!o&&r&&y&&n[p].componentProviders++}}}function Cl(e,t,n,r){const o=An(t),i=function Tw(e){return!!e.useClass}(t);if(o||i){const u=(i?x(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 Fm(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function El(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function TS(e,t,n,r){return wl(this.multi,[])}function NS(e,t,n,r){const o=this.multi;let i;if(this.providerFactory){const s=this.providerFactory.componentProviders,a=In(n,n[w],this.providerFactory.index,r);i=a.slice(0,s),wl(o,i);for(let u=s;u<a.length;u++)i.push(a[u])}else i=[],wl(o,i);return i}function wl(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function ie(e,t=[]){return n=>{n.providersResolver=(r,o)=>function AS(e,t,n){const r=G();if(r.firstCreatePass){const o=ht(e);_l(n,r.data,r.blueprint,o,!0),_l(t,r.data,r.blueprint,o,!1)}}(r,o?o(e):e,t)}}class Mr{}class FS{}class bl extends Mr{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Gp(this);const o=function tt(e,t){const n=e[Rd]||null;if(!n&&!0===t)throw new Error(`Type ${ve(e)} does not have '\u0275mod' property.`);return n}(t);this._bootstrapComponents=function Zt(e){return e instanceof Function?e():e}(o.bootstrap),this._r3Injector=bp(t,n,[{provide:Mr,useValue:this},{provide:Zi,useValue:this.componentFactoryResolver},...r],ve(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 Ml extends FS{constructor(t){super(),this.moduleType=t}create(t){return new bl(this.moduleType,t,[])}}function Mo(e,t,n,r){return function Bm(e,t,n,r,o,i){const s=t+n;return ke(e,s,o)?function Ft(e,t,n){return e[t]=n}(e,s+1,i?r.call(i,o):r(o)):function Io(e,t){const n=e[t];return n===L?void 0:n}(e,s+1)}(D(),function He(){const e=T.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}(),e,t,n,r)}function Sl(e){return t=>{setTimeout(e,void 0,t)}}const Le=class uA extends Yo{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=Sl(i),o&&(o=Sl(o)),s&&(s=Sl(s)));const a=super.subscribe({next:o,error:i,complete:s});return t instanceof _t&&t.add(a),a}};let Kt=(()=>{class e{}return e.__NG_ELEMENT_ID__=fA,e})();const cA=Kt,dA=class extends cA{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n,null)}createEmbeddedViewImpl(t,n,r){const s=this._declarationTContainer.tView,a=Qi(this._declarationLView,s,t,4096&this._declarationLView[R]?4096:16,null,s.declTNode,null,null,null,n||null,r||null);a[Br]=this._declarationLView[this._declarationTContainer.index];const l=this._declarationLView[Mt];return null!==l&&(a[Mt]=l.createEmbeddedView(s)),Ju(s,a,t),new co(a)}};function fA(){return function Ds(e,t){return 4&e.type?new dA(t,e,lr(e,t)):null}(Ae(),D())}let Rt=(()=>{class e{}return e.__NG_ELEMENT_ID__=vA,e})();function vA(){return function Xm(e,t){let n;const r=t[e.index];return Ze(r)?n=r:(n=Op(r,t,null,e),t[e.index]=n,Ji(t,n)),Km(n,t,e,r),new Zm(n,e,t)}(Ae(),D())}const _A=Rt,Zm=class extends _A{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return lr(this._hostTNode,this._hostLView)}get injector(){return new Qn(this._hostTNode,this._hostLView)}get parentInjector(){const t=Ga(this._hostTNode,this._hostLView);if(Rf(t)){const n=_i(t,this._hostLView),r=vi(t);return new Qn(n[w].data[r+8],n)}return new Qn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Ym(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-Fe}createEmbeddedView(t,n,r){let o,i;"number"==typeof r?o=r:null!=r&&(o=r.index,i=r.injector);const a=t.createEmbeddedViewImpl(n||{},i,null);return this.insertImpl(a,o,false),a}createComponent(t,n,r,o,i){const s=t&&!function Wr(e){return"function"==typeof e}(t);let a;if(s)a=n;else{const g=n||{};a=g.index,r=g.injector,o=g.projectableNodes,i=g.environmentInjector||g.ngModuleRef}const u=s?t:new fo(Y(t)),l=r||this.parentInjector;if(!i&&null==u.ngModule){const y=(s?l:this.parentInjector).get(Tn,null);y&&(i=y)}Y(u.componentType??{});const h=u.create(l,o,null,i);return this.insertImpl(h.hostView,a,false),h}insert(t,n){return this.insertImpl(t,n,!1)}insertImpl(t,n,r){const o=t._lView,i=o[w];if(function vC(e){return Ze(e[ae])}(o)){const u=this.indexOf(t);if(-1!==u)this.detach(u);else{const l=o[ae],c=new Zm(l,l[xe],l[ae]);c.detach(c.indexOf(t))}}const s=this._adjustIndex(n),a=this._lContainer;if(function GE(e,t,n,r){const o=Fe+r,i=n.length;r>0&&(n[o-1][ft]=t),r<i-Fe?(t[ft]=n[o],qf(n,Fe+r,t)):(n.push(t),t[ft]=null),t[ae]=n;const s=t[Br];null!==s&&n!==s&&function zE(e,t){const n=e[zn];t[fe]!==t[ae][ae][fe]&&(e[Kd]=!0),null===n?e[zn]=[t]:n.push(t)}(s,t);const a=t[Mt];null!==a&&a.insertView(e),t[R]|=128}(i,o,a,s),!r){const u=fu(s,a),l=o[k],c=Pi(l,a[It]);null!==c&&function jE(e,t,n,r,o,i){r[_e]=o,r[xe]=t,Jr(e,r,n,1,o,i)}(i,a[xe],l,o,c,u)}return t.attachToViewContainerRef(),qf(Nl(a),s,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=Ym(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=uu(this._lContainer,n);r&&(bi(Nl(this._lContainer),n),vh(r[w],r))}detach(t){const n=this._adjustIndex(t,-1),r=uu(this._lContainer,n);return r&&null!=bi(Nl(this._lContainer),n)?new co(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Ym(e){return e[8]}function Nl(e){return e[8]||(e[8]=[])}let Km=function Qm(e,t,n,r){if(e[It])return;let o;o=8&n.type?re(r):function CA(e,t){const n=e[k],r=n.createComment(""),o=Ye(t,e);return Sn(n,Pi(n,o),r,function YE(e,t){return e.nextSibling(t)}(n,o),!1),r}(t,n),e[It]=o};const tT=new M("Application Initializer");let Bl=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=Z(tT,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const o of this.appInits){const i=o();if(us(i))n.push(i);else if(hg(i)){const s=new Promise((a,u)=>{i.subscribe({complete:a,error:u})});n.push(s)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),0===n.length&&r(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=z({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Qt=new M("LocaleId",{providedIn:"root",factory:()=>Z(Qt,N.Optional|N.SkipSelf)||function rT(){return typeof $localize<"u"&&$localize.locale||br}()});let jl=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new I_(!1)}add(){this.hasPendingTasks.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=z({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function wy(...e){}class be{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Le(!1),this.onMicrotaskEmpty=new Le(!1),this.onStable=new Le(!1),this.onError=new Le(!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 uT(){const e="function"==typeof J.requestAnimationFrame;let t=J[e?"requestAnimationFrame":"setTimeout"],n=J[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);const o=n[Zone.__symbol__("OriginalDelegate")];o&&(n=o)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function dT(e){const t=()=>{!function cT(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(J,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Ul(e),e.isCheckStableRunning=!0,$l(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Ul(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{try{return by(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),My(e)}},onInvoke:(n,r,o,i,s,a,u)=>{try{return by(e),n.invoke(o,i,s,a,u)}finally{e.shouldCoalesceRunChangeDetection&&t(),My(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,Ul(e),$l(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(!be.isInAngularZone())throw new C(909,!1)}static assertNotInAngularZone(){if(be.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,lT,wy,wy);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 lT={};function $l(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 Ul(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function by(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function My(e){e._nesting--,$l(e)}class fT{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Le,this.onMicrotaskEmpty=new Le,this.onStable=new Le,this.onError=new Le}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 Iy=new M("",{providedIn:"root",factory:Sy});function Sy(){const e=Z(be);let t=!0;return function m0(...e){const t=Cd(e),n=function l0(e,t){return"number"==typeof fa(e)?e.pop():t}(e,1/0),r=e;return r.length?1===r.length?Ct(r[0]):function o0(e=1/0){return Xo(aa,e)}(n)(Ko(r,t)):_d}(new Te(o=>{t=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{o.next(t),o.complete()})}),new Te(o=>{let i;e.runOutsideAngular(()=>{i=e.onStable.subscribe(()=>{be.assertNotInAngularZone(),queueMicrotask(()=>{!t&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(t=!0,o.next(!0))})})});const s=e.onUnstable.subscribe(()=>{be.assertInAngularZone(),t&&(t=!1,e.runOutsideAngular(()=>{o.next(!1)}))});return()=>{i.unsubscribe(),s.unsubscribe()}}).pipe(Md()))}const Ay=new M(""),_s=new M("");let Wl,Gl=(()=>{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,Wl||(function hT(e){Wl=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:()=>{be.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:o})}whenStable(n,r,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,o){return[]}}return e.\u0275fac=function(n){return new(n||e)(V(be),V(zl),V(_s))},e.\u0275prov=z({token:e,factory:e.\u0275fac}),e})(),zl=(()=>{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 Wl?.findTestabilityInTree(this,n,r)??null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=z({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})(),dn=null;const Ty=new M("AllowMultipleToken"),ql=new M("PlatformDestroyListeners"),Ny=new M("appBootstrapListener");function Oy(e,t,n=[]){const r=`Platform: ${t}`,o=new M(r);return(i=[])=>{let s=Zl();if(!s||s.injector.get(Ty,!1)){const a=[...n,...i,{provide:o,useValue:!0}];e?e(a):function mT(e){if(dn&&!dn.get(Ty,!1))throw new C(400,!1);(function xy(){!function aC(e){rf=e}(()=>{throw new C(600,!1)})})(),dn=e;const t=e.get(Ry);(function Fy(e){e.get(Kh,null)?.forEach(n=>n())})(e)}(function Py(e=[],t){return un.create({name:t,providers:[{provide:Iu,useValue:"platform"},{provide:ql,useValue:new Set([()=>dn=null])},...e]})}(a,r))}return function DT(e){const t=Zl();if(!t)throw new C(401,!1);return t}()}}function Zl(){return dn?.get(Ry)??null}let Ry=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const o=function vT(e="zone.js",t){return"noop"===e?new fT:"zone.js"===e?new be(t):e}(r?.ngZone,function ky(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return o.run(()=>{const i=function PS(e,t,n){return new bl(e,t,n)}(n.moduleType,this.injector,function jy(e){return[{provide:be,useFactory:e},{provide:Bi,multi:!0,useFactory:()=>{const t=Z(CT,{optional:!0});return()=>t.initialize()}},{provide:By,useFactory:_T},{provide:Iy,useFactory:Sy}]}(()=>o)),s=i.injector.get(Fn,null);return o.runOutsideAngular(()=>{const a=o.onError.subscribe({next:u=>{s.handleError(u)}});i.onDestroy(()=>{Cs(this._modules,i),a.unsubscribe()})}),function Ly(e,t,n){try{const r=n();return us(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(s,o,()=>{const a=i.injector.get(Bl);return a.runInitializers(),a.donePromise.then(()=>(function um(e){st(e,"Expected localeId to be defined"),"string"==typeof e&&(am=e.toLowerCase().replace(/_/g,"-"))}(i.injector.get(Qt,br)||br),this._moduleDoBootstrap(i),i))})})}bootstrapModule(n,r=[]){const o=Vy({},r);return function pT(e,t,n){const r=new Ml(n);return Promise.resolve(r)}(0,0,n).then(i=>this.bootstrapModuleFactory(i,o))}_moduleDoBootstrap(n){const r=n.injector.get(To);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(ql,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(un))},e.\u0275prov=z({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function Vy(e,t){return Array.isArray(t)?t.reduce(Vy,e):{...e,...t}}let To=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=Z(By),this.zoneIsStable=Z(Iy),this.componentTypes=[],this.components=[],this.isStable=Z(jl).hasPendingTasks.pipe(Id(n=>n?ha(!1):this.zoneIsStable),function y0(e,t=aa){return e=e??D0,Vt((n,r)=>{let o,i=!0;n.subscribe(Ht(r,s=>{const a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}(),Md()),this._injector=Z(Tn)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const o=n instanceof op;if(!this._injector.get(Bl).done)throw!o&&function Lr(e){const t=Y(e)||Ne(e)||qe(e);return null!==t&&t.standalone}(n),new C(405,!1);let s;s=o?n:this._injector.get(Zi).resolveComponentFactory(n),this.componentTypes.push(s.componentType);const a=function gT(e){return e.isBoundToModule}(s)?void 0:this._injector.get(Mr),l=s.create(un.NULL,[],r||s.selector,a),c=l.location.nativeElement,d=l.injector.get(Ay,null);return d?.registerApplication(c),l.onDestroy(()=>{this.detachView(l.hostView),Cs(this.components,l),d?.unregisterApplication(c)}),this._loadComponent(l),l}tick(){if(this._runningTick)throw new C(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this.internalErrorHandler(n)}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;Cs(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(Ny,[]);r.push(...this._bootstrapListeners),r.forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Cs(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)},e.\u0275prov=z({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Cs(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const By=new M("",{providedIn:"root",factory:()=>Z(Fn).handleError.bind(void 0)});function _T(){const e=Z(be),t=Z(Fn);return n=>e.runOutsideAngular(()=>t.handleError(n))}let CT=(()=>{class e{constructor(){this.zone=Z(be),this.applicationRef=Z(To)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=z({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();class Wy{constructor(){}supports(t){return rs(t)}create(t){return new NT(t)}}const TT=(e,t)=>t;class NT{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||TT}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<Zy(r,o,i)?n:r,a=Zy(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=[]),!rs(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 hM(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Symbol.iterator]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,a=>{s=this._trackByFn(o,a),null!==n&&Object.is(n.trackById,s)?(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)):(n=this._mismatch(n,a,s,o),r=!0),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return null===t?i=this._itTail:(i=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,o))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new xT(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 qy),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 qy),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 xT{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 FT{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 qy{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new FT,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 Zy(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 Yy{constructor(){}supports(t){return t instanceof Map||el(t)}create(){return new OT}}class OT{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||el(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 PT(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 PT{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 Xy(){return new bs([new Wy])}let bs=(()=>{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||Xy()),deps:[[e,new Qa,new Ka]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(null!=r)return r;throw new C(901,!1)}}return e.\u0275prov=z({token:e,providedIn:"root",factory:Xy}),e})();function Ky(){return new No([new Yy])}let No=(()=>{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||Ky()),deps:[[e,new Qa,new Ka]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(r)return r;throw new C(901,!1)}}return e.\u0275prov=z({token:e,providedIn:"root",factory:Ky}),e})();const LT=Oy(null,"core",[]);let VT=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(V(To))},e.\u0275mod=$t({type:e}),e.\u0275inj=Et({}),e})(),nc=null;function xo(){return nc}class YT{}const fn=new M("DocumentToken");function fD(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const r=n.indexOf("="),[o,i]=-1==r?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}class kN{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 gD=(()=>{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 kN(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),mD(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=>{mD(r.get(o.currentIndex),o)})}static ngTemplateContextGuard(n,r){return!0}}return e.\u0275fac=function(n){return new(n||e)(_(Rt),_(Kt),_(bs))},e.\u0275dir=P({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),e})();function mD(e,t){e.context.$implicit=t.item}let yD=(()=>{class e{constructor(n,r){this._viewContainer=n,this._context=new LN,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){DD("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){DD("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(n,r){return!0}}return e.\u0275fac=function(n){return new(n||e)(_(Rt),_(Kt))},e.\u0275dir=P({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),e})();class LN{constructor(){this.$implicit=null,this.ngIf=null}}function DD(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${ve(t)}'.`)}let _D=(()=>{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:Xe.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)(_(pt),_(No),_(xn))},e.\u0275dir=P({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),e})(),l1=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=$t({type:e}),e.\u0275inj=Et({}),e})();function wD(e){return"server"===e}class MD{}class k1 extends YT{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class vc extends k1{static makeCurrent(){!function ZT(e){nc||(nc=e)}(new vc)}onAndCancel(t,n,r){return t.addEventListener(n,r),()=>{t.removeEventListener(n,r)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,n){return(n=n||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return"window"===n?window:"document"===n?t:"body"===n?t.body:null}getBaseHref(t){const n=function L1(){return Ro=Ro||document.querySelector("base"),Ro?Ro.getAttribute("href"):null}();return null==n?null:function V1(e){Ls=Ls||document.createElement("a"),Ls.setAttribute("href",e);const t=Ls.pathname;return"/"===t.charAt(0)?t:`/${t}`}(n)}resetBaseElement(){Ro=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return fD(document.cookie,t)}}let Ls,Ro=null,B1=(()=>{class e{build(){return new XMLHttpRequest}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=z({token:e,factory:e.\u0275fac}),e})();const _c=new M("EventManagerPlugins");let ND=(()=>{class e{constructor(n,r){this._zone=r,this._eventNameToPlugin=new Map,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,r,o){return this._findPluginFor(r).addEventListener(n,r,o)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(i=>i.supports(n)),!r)throw new C(5101,!1);return this._eventNameToPlugin.set(n,r),r}}return e.\u0275fac=function(n){return new(n||e)(V(_c),V(be))},e.\u0275prov=z({token:e,factory:e.\u0275fac}),e})();class xD{constructor(t){this._doc=t}}const Cc="ng-app-id";let FD=(()=>{class e{constructor(n,r,o,i={}){this.doc=n,this.appId=r,this.nonce=o,this.platformId=i,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=wD(i),this.resetHostNodes()}addStyles(n){for(const r of n)1===this.changeUsageCount(r,1)&&this.onStyleAdded(r)}removeStyles(n){for(const r of n)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){const n=this.styleNodesInDOM;n&&(n.forEach(r=>r.remove()),n.clear());for(const r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(const r of this.getAllStyles())this.addStyleToHost(n,r)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(const r of this.hostNodes)this.addStyleToHost(r,n)}onStyleRemoved(n){const r=this.styleRef;r.get(n)?.elements?.forEach(o=>o.remove()),r.delete(n)}collectServerRenderedStyles(){const n=this.doc.head?.querySelectorAll(`style[${Cc}="${this.appId}"]`);if(n?.length){const r=new Map;return n.forEach(o=>{null!=o.textContent&&r.set(o.textContent,o)}),r}return null}changeUsageCount(n,r){const o=this.styleRef;if(o.has(n)){const i=o.get(n);return i.usage+=r,i.usage}return o.set(n,{usage:r,elements:[]}),r}getStyleElement(n,r){const o=this.styleNodesInDOM,i=o?.get(r);if(i?.parentNode===n)return o.delete(r),i.removeAttribute(Cc),i;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=r,this.platformIsServer&&s.setAttribute(Cc,this.appId),s}}addStyleToHost(n,r){const o=this.getStyleElement(n,r);n.appendChild(o);const i=this.styleRef,s=i.get(r)?.elements;s?s.push(o):i.set(r,{elements:[o],usage:1})}resetHostNodes(){const n=this.hostNodes;n.clear(),n.add(this.doc.head)}}return e.\u0275fac=function(n){return new(n||e)(V(fn),V(Ui),V(Qh,8),V(Nn))},e.\u0275prov=z({token:e,factory:e.\u0275fac}),e})();const Ec={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/"},wc=/%COMP%/g,G1=new M("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function PD(e,t){return t.map(n=>n.replace(wc,e))}let RD=(()=>{class e{constructor(n,r,o,i,s,a,u,l=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.platformId=a,this.ngZone=u,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=wD(a),this.defaultRenderer=new bc(n,s,u,this.platformIsServer)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===et.ShadowDom&&(r={...r,encapsulation:et.Emulated});const o=this.getOrCreateRenderer(n,r);return o instanceof LD?o.applyToHost(n):o instanceof Mc&&o.applyStyles(),o}getOrCreateRenderer(n,r){const o=this.rendererByCompId;let i=o.get(r.id);if(!i){const s=this.doc,a=this.ngZone,u=this.eventManager,l=this.sharedStylesHost,c=this.removeStylesOnCompDestroy,d=this.platformIsServer;switch(r.encapsulation){case et.Emulated:i=new LD(u,l,r,this.appId,c,s,a,d);break;case et.ShadowDom:return new Z1(u,l,n,r,s,a,this.nonce,d);default:i=new Mc(u,l,r,c,s,a,d)}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}}return e.\u0275fac=function(n){return new(n||e)(V(ND),V(FD),V(Ui),V(G1),V(fn),V(Nn),V(be),V(Qh))},e.\u0275prov=z({token:e,factory:e.\u0275fac}),e})();class bc{constructor(t,n,r,o){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=o,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,n){return n?this.doc.createElementNS(Ec[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(kD(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(kD(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){t&&t.removeChild(n)}selectRootElement(t,n){let r="string"==typeof t?this.doc.querySelector(t):t;if(!r)throw new C(-5104,!1);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;const i=Ec[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const o=Ec[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&(Xe.DashCase|Xe.Important)?t.style.setProperty(n,r,o&Xe.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&Xe.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t[n]=r}setValue(t,n){t.nodeValue=n}listen(t,n,r){if("string"==typeof t&&!(t=xo().getGlobalEventTarget(this.doc,t)))throw new Error(`Unsupported event target ${t} for event ${n}`);return this.eventManager.addEventListener(t,n,this.decoratePreventDefault(r))}decoratePreventDefault(t){return n=>{if("__ngUnwrap__"===n)return t;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>t(n)):t(n))&&n.preventDefault()}}}function kD(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class Z1 extends bc{constructor(t,n,r,o,i,s,a,u){super(t,i,s,u),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const l=PD(o.id,o.styles);for(const c of l){const d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=c,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(this.nodeOrShadowRoot(t),n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Mc extends bc{constructor(t,n,r,o,i,s,a,u){super(t,i,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o,this.styles=u?PD(u,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class LD extends Mc{constructor(t,n,r,o,i,s,a,u){const l=o+"-"+r.id;super(t,n,r,i,s,a,u,l),this.contentAttr=function z1(e){return"_ngcontent-%COMP%".replace(wc,e)}(l),this.hostAttr=function W1(e){return"_nghost-%COMP%".replace(wc,e)}(l)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){const r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}}let Y1=(()=>{class e extends xD{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(fn))},e.\u0275prov=z({token:e,factory:e.\u0275fac}),e})();const VD=["alt","control","meta","shift"],X1={"\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"},K1={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let Q1=(()=>{class e extends xD{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(()=>xo().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."),VD.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=X1[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"),VD.forEach(s=>{s!==o&&(0,K1[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(fn))},e.\u0275prov=z({token:e,factory:e.\u0275fac}),e})();const nx=Oy(LT,"browser",[{provide:Nn,useValue:"browser"},{provide:Kh,useValue:function J1(){vc.makeCurrent()},multi:!0},{provide:fn,useFactory:function tx(){return function rw(e){gu=e}(document),document},deps:[]}]),rx=new M(""),jD=[{provide:_s,useClass:class H1{addToWindow(t){J.getAngularTestability=(r,o=!0)=>{const i=t.findTestabilityInTree(r,o);if(null==i)throw new C(5103,!1);return i},J.getAllAngularTestabilities=()=>t.getAllTestabilities(),J.getAllAngularRootElements=()=>t.getAllRootElements(),J.frameworkStabilizers||(J.frameworkStabilizers=[]),J.frameworkStabilizers.push(r=>{const o=J.getAllAngularTestabilities();let i=o.length,s=!1;const a=function(u){s=s||u,i--,0==i&&r(s)};o.forEach(u=>{u.whenStable(a)})})}findTestabilityInTree(t,n,r){return null==n?null:t.getTestability(n)??(r?xo().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}},deps:[]},{provide:Ay,useClass:Gl,deps:[be,zl,_s]},{provide:Gl,useClass:Gl,deps:[be,zl,_s]}],$D=[{provide:Iu,useValue:"root"},{provide:Fn,useFactory:function ex(){return new Fn},deps:[]},{provide:_c,useClass:Y1,multi:!0,deps:[fn,be,Nn]},{provide:_c,useClass:Q1,multi:!0,deps:[fn]},RD,FD,ND,{provide:sp,useExisting:RD},{provide:MD,useClass:B1,deps:[]},[]];let ox=(()=>{class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:Ui,useValue:n.appId}]}}}return e.\u0275fac=function(n){return new(n||e)(V(rx,12))},e.\u0275mod=$t({type:e}),e.\u0275inj=Et({providers:[...$D,...jD],imports:[l1,VT]}),e})();typeof window<"u"&&window;const{isArray:dx}=Array,{getPrototypeOf:fx,prototype:hx,keys:px}=Object;const{isArray:yx}=Array;function _x(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Cx(...e){const t=function u0(e){return oe(fa(e))?e.pop():void 0}(e),{args:n,keys:r}=function gx(e){if(1===e.length){const t=e[0];if(dx(t))return{args:t,keys:null};if(function mx(e){return e&&"object"==typeof e&&fx(e)===hx}(t)){const n=px(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}(e),o=new Te(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;Ct(n[c]).subscribe(Ht(i,f=>{d||(d=!0,l--),a[c]=f},()=>u--,void 0,()=>{(!u||!d)&&(l||i.next(r?_x(r,a):a),i.complete())}))}});return t?o.pipe(function vx(e){return _n(t=>function Dx(e,t){return yx(t)?e(...t):e(t)}(e,t))}(t)):o}let WD=(()=>{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)(_(xn),_(pt))},e.\u0275dir=P({type:e}),e})(),Ln=(()=>{class e extends WD{}return e.\u0275fac=function(){let t;return function(r){return(t||(t=function Oe(e){return Bt(()=>{const t=e.prototype.constructor,n=t[jt]||Wa(t),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const i=o[jt]||Wa(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}(e)))(r||e)}}(),e.\u0275dir=P({type:e,features:[Q]}),e})();const kt=new M("NgValueAccessor"),wx={provide:kt,useExisting:ee(()=>Vs),multi:!0},Mx=new M("CompositionEventMode");let Vs=(()=>{class e extends WD{constructor(n,r,o){super(n,r),this._compositionMode=o,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function bx(){const e=xo()?xo().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)(_(xn),_(pt),_(Mx,8))},e.\u0275dir=P({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&&Ee("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:[ie([wx]),Q]}),e})();function pn(e){return null==e||("string"==typeof e||Array.isArray(e))&&0===e.length}function ZD(e){return null!=e&&"number"==typeof e.length}const Ve=new M("NgValidators"),gn=new M("NgAsyncValidators"),Ix=/^(?=.{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 Sc{static min(t){return function YD(e){return t=>{if(pn(t.value)||pn(e))return null;const n=parseFloat(t.value);return!isNaN(n)&&n<e?{min:{min:e,actual:t.value}}:null}}(t)}static max(t){return function XD(e){return t=>{if(pn(t.value)||pn(e))return null;const n=parseFloat(t.value);return!isNaN(n)&&n>e?{max:{max:e,actual:t.value}}:null}}(t)}static required(t){return function KD(e){return pn(e.value)?{required:!0}:null}(t)}static requiredTrue(t){return function QD(e){return!0===e.value?null:{required:!0}}(t)}static email(t){return function JD(e){return pn(e.value)||Ix.test(e.value)?null:{email:!0}}(t)}static minLength(t){return function ev(e){return t=>pn(t.value)||!ZD(t.value)?null:t.value.length<e?{minlength:{requiredLength:e,actualLength:t.value.length}}:null}(t)}static maxLength(t){return function tv(e){return t=>ZD(t.value)&&t.value.length>e?{maxlength:{requiredLength:e,actualLength:t.value.length}}:null}(t)}static pattern(t){return function nv(e){if(!e)return Hs;let t,n;return"string"==typeof e?(n="","^"!==e.charAt(0)&&(n+="^"),n+=e,"$"!==e.charAt(e.length-1)&&(n+="$"),t=new RegExp(n)):(n=e.toString(),t=e),r=>{if(pn(r.value))return null;const o=r.value;return t.test(o)?null:{pattern:{requiredPattern:n,actualValue:o}}}}(t)}static nullValidator(t){return null}static compose(t){return uv(t)}static composeAsync(t){return lv(t)}}function Hs(e){return null}function rv(e){return null!=e}function ov(e){return us(e)?Ko(e):e}function iv(e){let t={};return e.forEach(n=>{t=null!=n?{...t,...n}:t}),0===Object.keys(t).length?null:t}function sv(e,t){return t.map(n=>n(e))}function av(e){return e.map(t=>function Sx(e){return!e.validate}(t)?t:n=>t.validate(n))}function uv(e){if(!e)return null;const t=e.filter(rv);return 0==t.length?null:function(n){return iv(sv(n,t))}}function Ac(e){return null!=e?uv(av(e)):null}function lv(e){if(!e)return null;const t=e.filter(rv);return 0==t.length?null:function(n){return Cx(sv(n,t).map(ov)).pipe(_n(iv))}}function Tc(e){return null!=e?lv(av(e)):null}function cv(e,t){return null===e?[t]:Array.isArray(e)?[...e,t]:[e,t]}function dv(e){return e._rawValidators}function fv(e){return e._rawAsyncValidators}function Nc(e){return e?Array.isArray(e)?e:[e]:[]}function Bs(e,t){return Array.isArray(e)?e.includes(t):e===t}function hv(e,t){const n=Nc(t);return Nc(e).forEach(o=>{Bs(n,o)||n.push(o)}),n}function pv(e,t){return Nc(t).filter(n=>!Bs(e,n))}class gv{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=Ac(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=Tc(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t=void 0){this.control&&this.control.reset(t)}hasError(t,n){return!!this.control&&this.control.hasError(t,n)}getError(t,n){return this.control?this.control.getError(t,n):null}}class Ge extends gv{get formDirective(){return null}get path(){return null}}class mn extends gv{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class mv{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 yv=(()=>{class e extends mv{constructor(n){super(n)}}return e.\u0275fac=function(n){return new(n||e)(_(mn,2))},e.\u0275dir=P({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(n,r){2&n&&ds("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})(),Dv=(()=>{class e extends mv{constructor(n){super(n)}}return e.\u0275fac=function(n){return new(n||e)(_(Ge,10))},e.\u0275dir=P({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(n,r){2&n&&ds("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 ko="VALID",$s="INVALID",Ar="PENDING",Lo="DISABLED";function Oc(e){return(Us(e)?e.validators:e)||null}function Pc(e,t){return(Us(t)?t.asyncValidators:e)||null}function Us(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function _v(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 Cv(e,t,n){e._forEachChild((r,o)=>{if(void 0===n[o])throw new C(1002,"")})}class Gs{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===ko}get invalid(){return this.status===$s}get pending(){return this.status==Ar}get disabled(){return this.status===Lo}get enabled(){return this.status!==Lo}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(hv(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(hv(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(pv(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(pv(t,this._rawAsyncValidators))}hasValidator(t){return Bs(this._rawValidators,t)}hasAsyncValidator(t){return Bs(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=Ar,!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=Lo,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=ko,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===ko||this.status===Ar)&&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()?Lo:ko}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=Ar,this._hasOwnPendingAsyncValidator=!0;const n=ov(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 Le,this.statusChanges=new Le}_calculateStatus(){return this._allControlsDisabled()?Lo:this.errors?$s:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Ar)?Ar:this._anyControlsHaveStatus($s)?$s:ko}_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){Us(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 xx(e){return Array.isArray(e)?Ac(e):e||null}(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=function Fx(e){return Array.isArray(e)?Tc(e):e||null}(this._rawAsyncValidators)}}class Vo extends Gs{constructor(t,n,r){super(Oc(n),Pc(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={}){Cv(this,0,t),Object.keys(t).forEach(r=>{_v(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 Ev extends Vo{}const Tr=new M("CallSetDisabledState",{providedIn:"root",factory:()=>zs}),zs="always";function Ho(e,t,n=zs){Rc(e,t),t.valueAccessor.writeValue(e.value),(e.disabled||"always"===n)&&t.valueAccessor.setDisabledState?.(e.disabled),function Px(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&wv(e,t)})}(e,t),function kx(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 Rx(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&wv(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),function Ox(e,t){if(t.valueAccessor.setDisabledState){const n=r=>{t.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}(e,t)}function qs(e,t,n=!0){const r=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(r),t.valueAccessor.registerOnTouched(r)),Ys(e,t),e&&(t._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}function Zs(e,t){e.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(t)})}function Rc(e,t){const n=dv(e);null!==t.validator?e.setValidators(cv(n,t.validator)):"function"==typeof n&&e.setValidators([n]);const r=fv(e);null!==t.asyncValidator?e.setAsyncValidators(cv(r,t.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]);const o=()=>e.updateValueAndValidity();Zs(t._rawValidators,o),Zs(t._rawAsyncValidators,o)}function Ys(e,t){let n=!1;if(null!==e){if(null!==t.validator){const o=dv(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=fv(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 Zs(t._rawValidators,r),Zs(t._rawAsyncValidators,r),n}function wv(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function Iv(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function Sv(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}const jo=class extends Gs{constructor(t=null,n,r){super(Oc(n),Pc(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}),Us(n)&&(n.nonNullable||n.initialValueIsDefault)&&(this.defaultValue=Sv(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){Iv(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){Iv(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){Sv(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 Ov=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=$t({type:e}),e.\u0275inj=Et({}),e})();const Bc=new M("NgModelWithFormControlWarning"),Kx={provide:Ge,useExisting:ee(()=>Xs)};let Xs=(()=>{class e extends Ge{constructor(n,r,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new Le,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&&(Ys(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 Ho(r,n,this.callSetDisabledState),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(n),r}getControl(n){return this.form.get(n.path)}removeControl(n){qs(n.control||null,n,!1),function Bx(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 Mv(e,t){e._syncPendingControls(),t.forEach(n=>{const r=n.control;"submit"===r.updateOn&&r._pendingChange&&(n.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}(this.form,this.directives),this.ngSubmit.emit(n),"dialog"===n?.target?.method}onReset(){this.resetForm()}resetForm(n=void 0){this.form.reset(n),this.submitted=!1}_updateDomValue(){this.directives.forEach(n=>{const r=n.control,o=this.form.get(n.path);r!==o&&(qs(r||null,n),(e=>e instanceof jo)(o)&&(Ho(o,n,this.callSetDisabledState),n.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(n){const r=this.form.get(n.path);(function bv(e,t){Rc(e,t)})(r,n),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(n){if(this.form){const r=this.form.get(n.path);r&&function Lx(e,t){return Ys(e,t)}(r,n)&&r.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Rc(this.form,this),this._oldForm&&Ys(this._oldForm,this)}_checkFormPresent(){}}return e.\u0275fac=function(n){return new(n||e)(_(Ve,10),_(gn,10),_(Tr,8))},e.\u0275dir=P({type:e,selectors:[["","formGroup",""]],hostBindings:function(n,r){1&n&&Ee("submit",function(i){return r.onSubmit(i)})("reset",function(){return r.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[ie([Kx]),Q,Gt]}),e})();const eF={provide:mn,useExisting:ee(()=>Uc)};let Uc=(()=>{class e extends mn{set isDisabled(n){}constructor(n,r,o,i,s){super(),this._ngModelWarningConfig=s,this._added=!1,this.name=null,this.update=new Le,this._ngModelWarningSent=!1,this._parent=n,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=function Vc(e,t){if(!t)return null;let n,r,o;return Array.isArray(t),t.forEach(i=>{i.constructor===Vs?n=i:function Hx(e){return Object.getPrototypeOf(e.constructor)===Ln}(i)?r=i:o=i}),o||r||n||null}(0,i)}ngOnChanges(n){this._added||this._setUpControl(),function Lc(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 Ws(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)(_(Ge,13),_(Ve,10),_(gn,10),_(kt,10),_(Bc,8))},e.\u0275dir=P({type:e,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[ie([eF]),Q,Gt]}),e})(),gF=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=$t({type:e}),e.\u0275inj=Et({imports:[Ov]}),e})();class Yv extends Gs{constructor(t,n,r){super(Oc(n),Pc(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={}){Cv(this,0,t),t.forEach((r,o)=>{_v(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 Xv(e){return!!e&&(void 0!==e.asyncValidators||void 0!==e.validators||void 0!==e.updateOn)}let mF=(()=>{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 Xv(r)?i=r:null!==r&&(i.validators=r.validator,i.asyncValidators=r.asyncValidator),new Vo(o,i)}record(n,r=null){const o=this._reduceControls(n);return new Ev(o,r)}control(n,r,o){let i={};return this.useNonNullable?(Xv(r)?i=r:(i.validators=r,i.asyncValidators=o),new jo(n,{...i,nonNullable:!0})):new jo(n,r,o)}array(n,r,o){const i=n.map(s=>this._createControl(s));return new Yv(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 jo||n instanceof Gs?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=z({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),yF=(()=>{class e{static withConfig(n){return{ngModule:e,providers:[{provide:Bc,useValue:n.warnOnNgModelWithFormControl??"always"},{provide:Tr,useValue:n.callSetDisabledState??zs}]}}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=$t({type:e}),e.\u0275inj=Et({imports:[gF]}),e})();function Kv(e){return Vt((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}class Ks{}class Qs{}class Lt{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?"string"==typeof t?this.lazyInit=()=>{this.headers=new Map,t.split("\n").forEach(n=>{const r=n.indexOf(":");if(r>0){const o=n.slice(0,r),i=o.toLowerCase(),s=n.slice(r+1).trim();this.maybeSetNormalizedName(o,i),this.headers.has(i)?this.headers.get(i).push(s):this.headers.set(i,[s])}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((n,r)=>{this.setHeaderEntries(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof Lt?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 Lt;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof Lt?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){const n=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if("string"==typeof r&&(r=[r]),0===r.length)return;this.maybeSetNormalizedName(t.name,n);const o=("a"===t.op?this.headers.get(n):void 0)||[];o.push(...r),this.headers.set(n,o);break;case"d":const i=t.value;if(i){let s=this.headers.get(n);if(!s)return;s=s.filter(a=>-1===i.indexOf(a)),0===s.length?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}else this.headers.delete(n),this.normalizedNames.delete(n)}}setHeaderEntries(t,n){const r=(Array.isArray(n)?n:[n]).map(i=>i.toString()),o=t.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(t,o)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}}class _F{encodeKey(t){return Qv(t)}encodeValue(t){return Qv(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const EF=/%(\d[a-f0-9])/gi,wF={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Qv(e){return encodeURIComponent(e).replace(EF,(t,n)=>wF[n]??t)}function Js(e){return`${e}`}class yn{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new _F,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function CF(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(Js):[Js(r)];this.map.set(n,o)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){const n=[];return Object.keys(t).forEach(r=>{const o=t[r];Array.isArray(o)?o.forEach(i=>{n.push({param:r,value:i,op:"a"})}):n.push({param:r,value:o,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const n=this.encoder.encodeKey(t);return this.map.get(t).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const n=new yn({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const n=("a"===t.op?this.map.get(t.param):void 0)||[];n.push(Js(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(Js(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 bF{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 Jv(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function e_(e){return typeof Blob<"u"&&e instanceof Blob}function t_(e){return typeof FormData<"u"&&e instanceof FormData}class $o{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 MF(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 Lt),this.context||(this.context=new bF),this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=n;else{const a=n.indexOf("?");this.urlWithParams=n+(-1===a?"?":a<n.length-1?"&":"")+s}}else this.params=new yn,this.urlWithParams=n}serializeBody(){return null===this.body?null:Jv(this.body)||e_(this.body)||t_(this.body)||function IF(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof yn?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||t_(this.body)?null:e_(this.body)?this.body.type||null:Jv(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof yn?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(t={}){const n=t.method||this.method,r=t.url||this.url,o=t.responseType||this.responseType,i=void 0!==t.body?t.body:this.body,s=void 0!==t.withCredentials?t.withCredentials:this.withCredentials,a=void 0!==t.reportProgress?t.reportProgress:this.reportProgress;let u=t.headers||this.headers,l=t.params||this.params;const c=t.context??this.context;return void 0!==t.setHeaders&&(u=Object.keys(t.setHeaders).reduce((d,f)=>d.set(f,t.setHeaders[f]),u)),t.setParams&&(l=Object.keys(t.setParams).reduce((d,f)=>d.set(f,t.setParams[f]),l)),new $o(n,r,i,{params:l,headers:u,context:c,reportProgress:a,responseType:o,withCredentials:s})}}var De=(()=>((De=De||{})[De.Sent=0]="Sent",De[De.UploadProgress=1]="UploadProgress",De[De.ResponseHeader=2]="ResponseHeader",De[De.DownloadProgress=3]="DownloadProgress",De[De.Response=4]="Response",De[De.User=5]="User",De))();class qc{constructor(t,n=200,r="OK"){this.headers=t.headers||new Lt,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 Zc extends qc{constructor(t={}){super(t),this.type=De.ResponseHeader}clone(t={}){return new Zc({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 Nr extends qc{constructor(t={}){super(t),this.type=De.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new Nr({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 n_ extends qc{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 Yc(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 r_=(()=>{class e{constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof $o)i=n;else{let u,l;u=o.headers instanceof Lt?o.headers:new Lt(o.headers),o.params&&(l=o.params instanceof yn?o.params:new yn({fromObject:o.params})),i=new $o(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=ha(i).pipe(function DF(e,t){return oe(t)?Xo(e,t,1):Xo(e,1)}(u=>this.handler.handle(u)));if(n instanceof $o||"events"===o.observe)return s;const a=s.pipe(function vF(e,t){return Vt((n,r)=>{let o=0;n.subscribe(Ht(r,i=>e.call(t,i,o++)&&r.next(i)))})}(u=>u instanceof Nr));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(_n(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(_n(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(_n(u=>{if(null!==u.body&&"string"!=typeof u.body)throw new Error("Response is not a string.");return u.body}));default:return a.pipe(_n(u=>u.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:(new yn).append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,o={}){return this.request("PATCH",n,Yc(o,r))}post(n,r,o={}){return this.request("POST",n,Yc(o,r))}put(n,r,o={}){return this.request("PUT",n,Yc(o,r))}}return e.\u0275fac=function(n){return new(n||e)(V(Ks))},e.\u0275prov=z({token:e,factory:e.\u0275fac}),e})();function s_(e,t){return t(e)}function AF(e,t){return(n,r)=>t.intercept(n,{handle:o=>e(o,r)})}const NF=new M(""),Uo=new M(""),a_=new M("");function xF(){let e=null;return(t,n)=>{null===e&&(e=(Z(NF,{optional:!0})??[]).reduceRight(AF,s_));const r=Z(jl),o=r.add();return e(t,n).pipe(Kv(()=>r.remove(o)))}}let u_=(()=>{class e extends Ks{constructor(n,r){super(),this.backend=n,this.injector=r,this.chain=null,this.pendingTasks=Z(jl)}handle(n){if(null===this.chain){const o=Array.from(new Set([...this.injector.get(Uo),...this.injector.get(a_,[])]));this.chain=o.reduceRight((i,s)=>function TF(e,t,n){return(r,o)=>n.runInContext(()=>t(r,i=>e(i,o)))}(i,s,this.injector),s_)}const r=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(Kv(()=>this.pendingTasks.remove(r)))}}return e.\u0275fac=function(n){return new(n||e)(V(Qs),V(Tn))},e.\u0275prov=z({token:e,factory:e.\u0275fac}),e})();const RF=/^\)\]\}',?\n/;let c_=(()=>{class e{constructor(n){this.xhrFactory=n}handle(n){if("JSONP"===n.method)throw new C(-2800,!1);const r=this.xhrFactory;return(r.\u0275loadImpl?Ko(r.\u0275loadImpl()):ha(null)).pipe(Id(()=>new Te(i=>{const s=r.build();if(s.open(n.method,n.urlWithParams),n.withCredentials&&(s.withCredentials=!0),n.headers.forEach((g,y)=>s.setRequestHeader(g,y.join(","))),n.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){const g=n.detectContentTypeHeader();null!==g&&s.setRequestHeader("Content-Type",g)}if(n.responseType){const g=n.responseType.toLowerCase();s.responseType="json"!==g?g:"text"}const a=n.serializeBody();let u=null;const l=()=>{if(null!==u)return u;const g=s.statusText||"OK",y=new Lt(s.getAllResponseHeaders()),v=function kF(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(s)||n.url;return u=new Zc({headers:y,status:s.status,statusText:g,url:v}),u},c=()=>{let{headers:g,status:y,statusText:v,url:m}=l(),b=null;204!==y&&(b=typeof s.response>"u"?s.responseText:s.response),0===y&&(y=b?200:0);let S=y>=200&&y<300;if("json"===n.responseType&&"string"==typeof b){const F=b;b=b.replace(RF,"");try{b=""!==b?JSON.parse(b):null}catch(Ie){b=F,S&&(S=!1,b={error:Ie,text:b})}}S?(i.next(new Nr({body:b,headers:g,status:y,statusText:v,url:m||void 0})),i.complete()):i.error(new n_({error:b,headers:g,status:y,statusText:v,url:m||void 0}))},d=g=>{const{url:y}=l(),v=new n_({error:g,status:s.status||0,statusText:s.statusText||"Unknown Error",url:y||void 0});i.error(v)};let f=!1;const h=g=>{f||(i.next(l()),f=!0);let y={type:De.DownloadProgress,loaded:g.loaded};g.lengthComputable&&(y.total=g.total),"text"===n.responseType&&s.responseText&&(y.partialText=s.responseText),i.next(y)},p=g=>{let y={type:De.UploadProgress,loaded:g.loaded};g.lengthComputable&&(y.total=g.total),i.next(y)};return s.addEventListener("load",c),s.addEventListener("error",d),s.addEventListener("timeout",d),s.addEventListener("abort",d),n.reportProgress&&(s.addEventListener("progress",h),null!==a&&s.upload&&s.upload.addEventListener("progress",p)),s.send(a),i.next({type:De.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",c),s.removeEventListener("timeout",d),n.reportProgress&&(s.removeEventListener("progress",h),null!==a&&s.upload&&s.upload.removeEventListener("progress",p)),s.readyState!==s.DONE&&s.abort()}})))}}return e.\u0275fac=function(n){return new(n||e)(V(MD))},e.\u0275prov=z({token:e,factory:e.\u0275fac}),e})();const Xc=new M("XSRF_ENABLED"),d_=new M("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),f_=new M("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class h_{}let HF=(()=>{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=fD(n,this.cookieName),this.lastCookieString=n),this.lastToken}}return e.\u0275fac=function(n){return new(n||e)(V(fn),V(Nn),V(d_))},e.\u0275prov=z({token:e,factory:e.\u0275fac}),e})();function BF(e,t){const n=e.url.toLowerCase();if(!Z(Xc)||"GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t(e);const r=Z(h_).getToken(),o=Z(f_);return null!=r&&!e.headers.has(o)&&(e=e.clone({headers:e.headers.set(o,r)})),t(e)}var se=(()=>((se=se||{})[se.Interceptors=0]="Interceptors",se[se.LegacyInterceptors=1]="LegacyInterceptors",se[se.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",se[se.NoXsrfProtection=3]="NoXsrfProtection",se[se.JsonpSupport=4]="JsonpSupport",se[se.RequestsMadeViaParent=5]="RequestsMadeViaParent",se[se.Fetch=6]="Fetch",se))();function Hn(e,t){return{\u0275kind:e,\u0275providers:t}}function jF(...e){const t=[r_,c_,u_,{provide:Ks,useExisting:u_},{provide:Qs,useExisting:c_},{provide:Uo,useValue:BF,multi:!0},{provide:Xc,useValue:!0},{provide:h_,useClass:HF}];for(const n of e)t.push(...n.\u0275providers);return function Eu(e){return{\u0275providers:e}}(t)}const p_=new M("LEGACY_INTERCEPTOR_FN");let UF=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=$t({type:e}),e.\u0275inj=Et({providers:[jF(Hn(se.LegacyInterceptors,[{provide:p_,useFactory:xF},{provide:Uo,useExisting:p_,multi:!0}]))]}),e})(),YF=(()=>{class e{constructor(n){this.http=n}sendOrder(n){return this.http.post("https://testologia.site/burgers-order",n)}getData(){return this.http.get("https://testologia.site/burgers-data?extra=black")}}return e.\u0275fac=function(n){return new(n||e)(V(r_))},e.\u0275prov=z({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function XF(e,t){if(1&e){const n=cl();H(0,"div",48)(1,"div",49),je(2,"img",50),j(),H(3,"h2",51),te(4),j(),H(5,"p",52),te(6),j(),H(7,"div",53)(8,"div",54)(9,"p",55),te(10),j(),H(11,"p",56),te(12),j()(),H(13,"div",57)(14,"button",58),Ee("click",function(){const i=Zn(n).$implicit,s=ls(),a=Cr(63);return Yn(s.scrollTo(a,i))}),H(15,"span"),te(16,"\u0417\u0430\u043a\u0430\u0437\u0430\u0442\u044c"),j(),H(17,"span"),function Nf(){T.lFrame.currentNamespace=df}(),H(18,"svg",59),je(19,"path",60),j()()()()()()}if(2&e){const n=t.$implicit,r=ls();Re(2),dl("src",n.image,Cu),Re(2),vo(n.title),Re(2),vo(n.text),Re(4),yl("",n.price," ",r.currency,""),Re(2),hs("",n.grams," \u0433\u0440")}}const KF=function(e){return{showed:e}};function QF(e,t){if(1&e&&(H(0,"div",61),je(1,"lottie-player",62),j()),2&e){const n=ls();yo(Mo(2,KF,n.loaderShowed))}}const Kc=function(e){return{error:e}};let JF=(()=>{class e{constructor(n,r){this.fb=n,this.appService=r,this.currency="$",this.loaderShowed=!0,this.loader=!0,this.form=this.fb.group({order:["",Sc.required],name:["",Sc.required],phone:["",Sc.required]})}onMouseMove(n){this.orderImageStyle={transform:"translate(-"+.3*n.clientX/8+"px,-"+.3*n.clientY/8+"px)"},this.mainImageStyle={transform:"translate(-"+.3*n.clientX/8+"px,-"+.3*n.clientY/8+"px)"}}ngOnInit(){setTimeout(()=>{this.loaderShowed=!1},3e3),setTimeout(()=>{this.loader=!1},4e3),this.appService.getData().subscribe(n=>this.productsData=n)}scrollTo(n,r){n.scrollIntoView({behavior:"smooth"}),r&&this.form.patchValue({order:r.title+" ("+r.price+" "+this.currency+")"})}confirmOrder(){this.form.valid&&this.appService.sendOrder(this.form.value).subscribe({next:n=>{alert(n.message),this.form.reset()},error:n=>{alert(n.error.message)}})}changeCurrency(){let n="$",r=1;"$"===this.currency?(n="\u20bd",r=80):"\u20bd"===this.currency?(n="BYN",r=3):"BYN"===this.currency?(n="\u20ac",r=.9):"\u20ac"===this.currency&&(n="\xa5",r=6.9),this.currency=n,this.productsData.forEach(o=>{o.price=+(o.basePrice*r).toFixed(1)})}}return e.\u0275fac=function(n){return new(n||e)(_(mF),_(YF))},e.\u0275cmp=zd({type:e,selectors:[["app-root"]],hostBindings:function(n,r){1&n&&Ee("mousemove",function(i){return r.onMouseMove(i)},0,cp)},decls:87,vars:19,consts:[[1,"main"],[1,"header"],[1,"container"],[1,"logo"],["src","./assets/images/logo.png","alt","logo"],[1,"menu"],[1,"menu-list"],[1,"menu-item"],[3,"click"],["title","\u0418\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u0432\u0430\u043b\u044e\u0442\u0443","id","change-currency",1,"currency",3,"click"],[1,"main-content"],[1,"main-info"],[1,"main-small-info"],[1,"main-title"],[1,"main-text"],[1,"main-action"],["id","main-action-button",1,"button",3,"click"],["src","./assets/images/main-burger.png","alt","big burger",1,"main-image",3,"ngStyle"],["id","why",1,"why"],["why",""],[1,"why-title","section-title"],[1,"why-items"],[1,"why-item"],["src","./assets/images/why-img-1.png","alt","burger",1,"why-item-img"],[1,"why-item-title"],[1,"why-item-text"],["src","./assets/images/why-img-2.png","alt","meat",1,"why-item-img"],["src","./assets/images/why-img-3.png","alt","delivery car",1,"why-item-img"],["id","products",1,"products"],["products",""],[1,"products-title","section-title"],[1,"products-items"],["class","products-item",4,"ngFor","ngForOf"],["id","order",1,"order"],["order",""],[1,"order-title","section-title"],["src","./assets/images/order-image.png","alt","burger in the box",1,"order-image",3,"ngStyle"],[1,"order-form"],[1,"order-form-text"],[1,"order-form-inputs",3,"formGroup"],[1,"order-form-input"],["type","text","placeholder","\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0442\u043e\u0432\u0430\u0440 \u0432 \u0441\u043f\u0438\u0441\u043a\u0435","id","burger","formControlName","order","readonly",""],["type","text","placeholder","\u0412\u0430\u0448\u0435 \u0438\u043c\u044f","id","name","formControlName","name"],["type","text","placeholder","\u0412\u0430\u0448 \u0442\u0435\u043b\u0435\u0444\u043e\u043d","id","phone","formControlName","phone"],["id","order-action",1,"button",3,"disabled","click"],[1,"footer"],[1,"rights"],["class","loader",3,"class",4,"ngIf"],[1,"products-item"],[1,"products-item-img"],["alt","burger",3,"src"],[1,"products-item-title"],[1,"products-item-text"],[1,"products-item-extra"],[1,"products-items-info"],[1,"products-item-price"],[1,"products-item-weight"],[1,"products-item-action"],[1,"button","product-button",3,"click"],["width","24","height","25","viewBox","0 0 24 25","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M17 18.5C17.5304 18.5 18.0391 18.7107 18.4142 19.0858C18.7893 19.4609 19 19.9696 19 20.5C19 21.0304 18.7893 21.5391 18.4142 21.9142C18.0391 22.2893 17.5304 22.5 17 22.5C16.4696 22.5 15.9609 22.2893 15.5858 21.9142C15.2107 21.5391 15 21.0304 15 20.5C15 19.39 15.89 18.5 17 18.5ZM1 2.5H4.27L5.21 4.5H20C20.2652 4.5 20.5196 4.60536 20.7071 4.79289C20.8946 4.98043 21 5.23478 21 5.5C21 5.67 20.95 5.84 20.88 6L17.3 12.47C16.96 13.08 16.3 13.5 15.55 13.5H8.1L7.2 15.13L7.17 15.25C7.17 15.3163 7.19634 15.3799 7.24322 15.4268C7.29011 15.4737 7.3537 15.5 7.42 15.5H19V17.5H7C6.46957 17.5 5.96086 17.2893 5.58579 16.9142C5.21071 16.5391 5 16.0304 5 15.5C5 15.15 5.09 14.82 5.24 14.54L6.6 12.09L3 4.5H1V2.5ZM7 18.5C7.53043 18.5 8.03914 18.7107 8.41421 19.0858C8.78929 19.4609 9 19.9696 9 20.5C9 21.0304 8.78929 21.5391 8.41421 21.9142C8.03914 22.2893 7.53043 22.5 7 22.5C6.46957 22.5 5.96086 22.2893 5.58579 21.9142C5.21071 21.5391 5 21.0304 5 20.5C5 19.39 5.89 18.5 7 18.5ZM16 11.5L18.78 6.5H6.14L8.5 11.5H16Z","fill","#191411"],[1,"loader"],["src","./assets/burger.json","background","transparent","speed","1.5","autoplay",""]],template:function(n,r){if(1&n){const o=cl();H(0,"section",0)(1,"header",1)(2,"div",2)(3,"div",3),je(4,"img",4),j(),H(5,"nav",5)(6,"ul",6)(7,"li",7)(8,"a",8),Ee("click",function(){Zn(o);const s=Cr(32);return Yn(r.scrollTo(s))}),te(9,"\u041f\u043e\u0447\u0435\u043c\u0443 \u0443 \u043d\u0430\u0441"),j()(),H(10,"li",7)(11,"a",8),Ee("click",function(){Zn(o);const s=Cr(56);return Yn(r.scrollTo(s))}),te(12,"\u041c\u0435\u043d\u044e \u0431\u0443\u0440\u0433\u0435\u0440\u043e\u0432"),j()(),H(13,"li",7)(14,"a",8),Ee("click",function(){Zn(o);const s=Cr(63);return Yn(r.scrollTo(s))}),te(15,"\u041e\u0444\u043e\u0440\u043c\u043b\u0435\u043d\u0438\u0435 \u0437\u0430\u043a\u0430\u0437\u0430"),j()()()(),H(16,"div",9),Ee("click",function(){return r.changeCurrency()}),te(17),j()()(),H(18,"section",10)(19,"div",2)(20,"div",11)(21,"span",12),te(22,"\u041d\u043e\u0432\u043e\u0435 \u043c\u0435\u043d\u044e"),j(),H(23,"h1",13),te(24,"\u0431\u0443\u0440\u0433\u0435\u0440 \u0447\u0435\u0434\u0434\u0435\u0440"),j(),H(25,"p",14),te(26," \u041c\u044b \u043e\u0431\u043d\u043e\u0432\u0438\u043b\u0438 \u043d\u0430\u0448\u0435 \u043c\u0435\u043d\u044e, \u0441\u043f\u0435\u0448\u0438\u0442\u0435 \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u0441\u0435\u0437\u043e\u043d\u043d\u044b\u0435 \u043d\u043e\u0432\u0438\u043d\u043a\u0438 \u0438 \u043d\u0430\u0441\u043b\u0430\u0434\u0438\u0442\u044c\u0441\u044f \u043e\u0442\u043b\u0438\u0447\u043d\u044b\u043c \u0432\u043a\u0443\u0441\u043e\u043c \u043d\u0430\u0448\u0438\u0445 \u0431\u0443\u0440\u0433\u0435\u0440\u043e\u0432. \u0413\u043e\u0442\u043e\u0432\u0438\u043c \u0434\u043b\u044f \u0432\u0430\u0441 \u043b\u0443\u0447\u0448\u0438\u0435 \u0431\u0443\u0440\u0433\u0435\u0440\u044b \u0432 \u0433\u043e\u0440\u043e\u0434\u0435 \u0438\u0437 \u043e\u0442\u0431\u043e\u0440\u043d\u043e\u0439 \u043c\u0440\u0430\u043c\u043e\u0440\u043d\u043e\u0439 \u0433\u043e\u0432\u044f\u0434\u0438\u043d\u044b. "),j(),H(27,"div",15)(28,"button",16),Ee("click",function(){Zn(o);const s=Cr(56);return Yn(r.scrollTo(s))}),te(29,"\u0421\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043c\u0435\u043d\u044e"),j()()(),je(30,"img",17),j()()(),H(31,"section",18,19)(33,"div",2)(34,"h1",20),te(35,"\u041f\u043e\u0447\u0435\u043c\u0443 \u043d\u0430\u0441 \u0432\u044b\u0431\u0438\u0440\u0430\u044e\u0442?"),j(),H(36,"div",21)(37,"div",22),je(38,"img",23),H(39,"h2",24),te(40,"\u0410\u0432\u0442\u043e\u0440\u0441\u043a\u0438\u0435 \u0440\u0435\u0446\u0435\u043f\u0442\u044b"),j(),H(41,"p",25),te(42,"\u041d\u0430\u0448\u0438 \u0431\u0443\u0440\u0433\u0435\u0440\u044b \u043e\u0431\u043b\u0430\u0434\u0430\u044e\u0442 \u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u044b\u043c \u0441\u043e\u0447\u0435\u0442\u0430\u043d\u0438\u0435\u043c \u0432\u043a\u0443\u0441\u043e\u0432 \u0438 \u043d\u0435 \u043f\u043e\u0445\u043e\u0436\u0438 \u043d\u0438 \u043d\u0430 \u043a\u0430\u043a\u0438\u0435 \u0434\u0440\u0443\u0433\u0438\u0435. \u041c\u044b \u0442\u0449\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u043e\u0442\u0431\u0438\u0440\u0430\u0435\u043c \u043b\u0443\u0447\u0448\u0438\u0435 \u0438\u043d\u0433\u0440\u0435\u0434\u0438\u0435\u043d\u0442\u044b \u0438 \u0441\u043e\u0447\u0435\u0442\u0430\u043d\u0438\u044f \u0432\u043a\u0443\u0441\u043e\u0432 \u0434\u043b\u044f \u043d\u0430\u0448\u0435\u0433\u043e \u043c\u0435\u043d\u044e."),j()(),H(43,"div",22),je(44,"img",26),H(45,"h2",24),te(46,"\u041c\u0440\u0430\u043c\u043e\u0440\u043d\u0430\u044f \u0433\u043e\u0432\u044f\u0434\u0438\u043d\u0430"),j(),H(47,"p",25),te(48,"\u0414\u043b\u044f \u043d\u0430\u0448\u0438\u0445 \u0431\u0443\u0440\u0433\u0435\u0440\u043e\u0432 \u043c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u043e\u0442\u0431\u043e\u0440\u043d\u0443\u044e 100% \u043c\u0440\u0430\u043c\u043e\u0440\u043d\u0443\u044e \u0433\u043e\u0432\u044f\u0434\u0438\u043d\u0443, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u0437\u0430\u043a\u0443\u043f\u0430\u0435\u043c \u0438\u0441\u043a\u043b\u044e\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0443 \u0444\u0435\u0440\u043c\u0435\u0440\u043e\u0432. \u041c\u044b \u0443\u0432\u0435\u0440\u0435\u043d\u044b \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043d\u0430\u0448\u0435\u0433\u043e \u043c\u044f\u0441\u0430."),j()(),H(49,"div",22),je(50,"img",27),H(51,"h2",24),te(52,"\u0411\u044b\u0441\u0442\u0440\u0430\u044f \u0434\u043e\u0441\u0442\u0430\u0432\u043a\u0430"),j(),H(53,"p",25),te(54,"\u041c\u044b \u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c \u0432 \u043f\u0440\u0435\u0434\u0435\u043b\u0430\u0445 \u041c\u041a\u0410\u0414 \u0437\u0430 30 \u043c\u0438\u043d\u0443\u0442, \u0430 \u0435\u0441\u043b\u0438 \u043d\u0435 \u0443\u0441\u043f\u0435\u0435\u043c \u2014 \u0434\u043e\u0441\u0442\u0430\u0432\u043a\u0430 \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e. \u041c\u044b \u0442\u0449\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0443\u043f\u0430\u043a\u043e\u0432\u044b\u0432\u0430\u0435\u043c \u043d\u0430\u0448\u0438 \u0431\u0443\u0440\u0433\u0435\u0440\u044b, \u0447\u0442\u043e\u0431\u044b \u043f\u043e \u0434\u043e\u0440\u043e\u0433\u0435 \u043e\u043d\u0438 \u043d\u0435 \u043e\u0441\u0442\u044b\u043b\u0438."),j()()()()(),H(55,"section",28,29)(57,"div",2)(58,"h1",30),te(59,"\u0432\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0441\u0432\u043e\u0439 \u0431\u0443\u0440\u0433\u0435\u0440"),j(),H(60,"div",31),sl(61,XF,20,6,"div",32),j()()(),H(62,"section",33,34)(64,"div",2)(65,"h1",35),te(66,"\u041e\u0444\u043e\u0440\u043c\u043b\u0435\u043d\u0438\u0435 \u0437\u0430\u043a\u0430\u0437\u0430"),j(),je(67,"img",36),H(68,"div",37)(69,"p",38),te(70,"\u0417\u0430\u043f\u043e\u043b\u043d\u0438\u0442\u0435 \u0432\u0441\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0438 \u043d\u0430\u0448 \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440 \u0441\u0432\u044f\u0436\u0435\u0442\u0441\u044f \u0441 \u0432\u0430\u043c\u0438 \u0434\u043b\u044f \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u044f \u0437\u0430\u043a\u0430\u0437\u0430"),j(),H(71,"div",39)(72,"div",40),je(73,"input",41),j(),H(74,"div",40),je(75,"input",42),j(),H(76,"div",40),je(77,"input",43),j(),H(78,"button",44),Ee("click",function(){return r.confirmOrder()}),te(79,"\u041e\u0444\u043e\u0440\u043c\u0438\u0442\u044c \u0437\u0430\u043a\u0430\u0437"),j()()()()(),H(80,"footer",45)(81,"div",2)(82,"div",3),je(83,"img",4),j(),H(84,"p",46),te(85,"\u0412\u0441\u0435 \u043f\u0440\u0430\u0432\u0430 \u0437\u0430\u0449\u0438\u0435\u043d\u044b"),j()()(),sl(86,QF,2,4,"div",47)}if(2&n){let o,i,s;Re(17),vo(r.currency),Re(13),ln("ngStyle",r.mainImageStyle),Re(31),ln("ngForOf",r.productsData),Re(6),ln("ngStyle",r.orderImageStyle),Re(4),ln("formGroup",r.form),Re(1),yo(Mo(13,Kc,(null==(o=r.form.get("order"))?null:o.invalid)&&((null==(o=r.form.get("order"))?null:o.dirty)||(null==(o=r.form.get("order"))?null:o.touched)))),Re(2),yo(Mo(15,Kc,(null==(i=r.form.get("name"))?null:i.invalid)&&((null==(i=r.form.get("name"))?null:i.dirty)||(null==(i=r.form.get("name"))?null:i.touched)))),Re(2),yo(Mo(17,Kc,(null==(s=r.form.get("phone"))?null:s.invalid)&&((null==(s=r.form.get("phone"))?null:s.dirty)||(null==(s=r.form.get("phone"))?null:s.touched)))),Re(2),ln("disabled",!r.form.valid),Re(8),ln("ngIf",r.loader)}},dependencies:[gD,yD,_D,Vs,yv,Dv,Xs,Uc],styles:['.main[_ngcontent-%COMP%]{overflow:hidden;background-image:url(main-bg.23ff7c40cc38e261.png);background-size:contain;background-repeat:no-repeat;background-position:top center}.header[_ngcontent-%COMP%]{padding:40px 0}.header[_ngcontent-%COMP%] .container[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between}.logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{vertical-align:bottom}.menu-list[_ngcontent-%COMP%]{list-style:none;display:flex;gap:88px}.menu-item[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-size:18px;color:#fff;text-decoration:none;position:relative;cursor:pointer}.menu-item[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:after{content:"";position:absolute;top:20px;left:0;display:inline-block;width:100%;height:2px;background-color:#fff;opacity:0;visibility:hidden;transition:opacity,visibility,.3s}.menu-item[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover:after{opacity:1;visibility:visible}.currency[_ngcontent-%COMP%]{border:1px solid #fff;border-radius:5px;width:45px;height:45px;padding:6px;box-sizing:border-box;text-align:center;cursor:pointer;line-height:32px;-webkit-user-select:none;user-select:none}.main-content[_ngcontent-%COMP%]{padding-top:103px;padding-bottom:199px}.main-content[_ngcontent-%COMP%] .container[_ngcontent-%COMP%]{position:relative}.main-info[_ngcontent-%COMP%]{max-width:608px}.main-small-info[_ngcontent-%COMP%]{background:#d3320f;border-radius:100px;padding:12px 16px;display:inline-block;font-size:18px}.main-title[_ngcontent-%COMP%]{font-family:Merriweather,sans-serif;font-size:120px;line-height:130%;letter-spacing:.03em;text-transform:uppercase;margin-bottom:56px}.main-text[_ngcontent-%COMP%]{font-size:24px;line-height:29px;margin-bottom:56px}.main-image[_ngcontent-%COMP%]{position:absolute;top:-123px;left:calc(100% - 991px)}.why[_ngcontent-%COMP%]{background-image:url(why-bg.4726c15747c4e065.png);background-repeat:no-repeat;background-position:top center;background-size:initial;padding-bottom:180px}.why-items[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(3,1fr);gap:100px}.why-item[_ngcontent-%COMP%]{text-align:center}.why-item-img[_ngcontent-%COMP%]{margin-bottom:24px}.why-item-title[_ngcontent-%COMP%]{margin-bottom:24px;font-size:24px;line-height:29px}.why-item-text[_ngcontent-%COMP%]{line-height:140%}.products[_ngcontent-%COMP%]{background-image:url(burgers-bg.083072741e45d27d.png);background-position:top center;padding-bottom:180px;background-size:1400px}.products-items[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.products-item[_ngcontent-%COMP%]{padding:30px;background:#211a16;border:1px solid #353535;border-radius:16px;transition:.3s}.products-item[_ngcontent-%COMP%]:hover{transform:translateY(-10px);background:#40250c}.products-item-img[_ngcontent-%COMP%]{height:250px}.products-item-img[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:100%;transition:all .5s ease}.products-item-img[_ngcontent-%COMP%] img[_ngcontent-%COMP%]:hover{transform:scale(1.1)}.products-item-title[_ngcontent-%COMP%]{font-size:24px;line-height:29px;padding:24px 0}.products-item-text[_ngcontent-%COMP%]{line-height:140%;margin-bottom:24px}.products-item-extra[_ngcontent-%COMP%]{display:flex;justify-content:space-between}.products-item-price[_ngcontent-%COMP%]{font-size:32px;line-height:39px;margin-bottom:8px}.products-item-weight[_ngcontent-%COMP%]{line-height:18px;color:#757575}.button.product-button[_ngcontent-%COMP%]{display:flex;gap:10px;align-items:center;justify-content:center;width:182px;height:62px}.order[_ngcontent-%COMP%]{background-image:url(order-bg.59eb9899be7eb3c9.png);background-position:top center;background-repeat:no-repeat;padding-bottom:180px;overflow:hidden}.order[_ngcontent-%COMP%] .container[_ngcontent-%COMP%]{position:relative}.order-title[_ngcontent-%COMP%]{margin-bottom:60px}.order-image[_ngcontent-%COMP%]{position:absolute;top:0;right:calc(100% - 764px);z-index:-1}.order-form[_ngcontent-%COMP%]{background:#211a16;border:1px solid #353535;border-radius:16px;max-width:426px;box-sizing:border-box;padding:60px 40px;margin-left:674px}.order-form-text[_ngcontent-%COMP%]{font-size:24px;line-height:29px;text-align:center;margin-bottom:40px}.order-form-inputs[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:20px}.order-form-input[_ngcontent-%COMP%]{background:linear-gradient(95.61deg,#da8023 0%,#e2b438 100%);width:344px;height:62px;border-radius:8px;display:flex;align-items:center;justify-content:center}.order-form-input.error[_ngcontent-%COMP%]{background:red}.order-form-input[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{padding:20px 10px;background:#211a16;border-radius:8px;width:342px;height:60px;box-sizing:border-box;outline:none;border:1px solid transparent;color:#fff}.order-form-inputs[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]{width:344px;height:62px}.footer[_ngcontent-%COMP%]{padding:60px 0}.footer[_ngcontent-%COMP%] .container[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center}.rights[_ngcontent-%COMP%]{line-height:20px}.loader[_ngcontent-%COMP%]{top:0;width:100%;height:100%;background:#191411;position:fixed;z-index:50;display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity .3s ease-in-out}.loader[_ngcontent-%COMP%] lottie-player[_ngcontent-%COMP%]{display:block;width:300px;height:300px}.loader.showed[_ngcontent-%COMP%]{opacity:1}@media screen and (max-width: 1225px){.main[_ngcontent-%COMP%], .products[_ngcontent-%COMP%], .order[_ngcontent-%COMP%]{background:none}.container[_ngcontent-%COMP%]{padding-left:15px;padding-right:15px}.header[_ngcontent-%COMP%] .container[_ngcontent-%COMP%]{flex-wrap:wrap}.header[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{order:1}.menu[_ngcontent-%COMP%]{margin:20px 0;order:3;flex-basis:100%}.menu[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{justify-content:space-between}.menu-item[_ngcontent-%COMP%]{text-align:center}.currency[_ngcontent-%COMP%]{order:2}.main-image[_ngcontent-%COMP%]{z-index:-1;opacity:.4}.why-items[_ngcontent-%COMP%]{grid-template-columns:auto;max-width:500px;margin-left:auto;margin-right:auto}.products-items[_ngcontent-%COMP%]{grid-template-columns:repeat(auto-fill,minmax(290px,384px));justify-content:center}.products-item[_ngcontent-%COMP%]{padding:15px}.products-item-image[_ngcontent-%COMP%]{height:auto}.order[_ngcontent-%COMP%]{padding-bottom:20px}.order-image[_ngcontent-%COMP%]{width:800px}.order-form[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto;max-width:426px;width:auto;padding:20px}.order-form-input[_ngcontent-%COMP%]{max-width:100%;width:auto}.order-form-input[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{width:calc(100% - 2px)}.order-form-inputs[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]{width:100%;margin:0 auto}}@media screen and (max-width: 570px){.menu-list[_ngcontent-%COMP%]{gap:5px}.main-info[_ngcontent-%COMP%]{display:flex;flex-direction:column}.main-small-info[_ngcontent-%COMP%]{align-self:center}.main-title[_ngcontent-%COMP%]{font-size:65px;margin-top:20px;text-align:center}.main-text[_ngcontent-%COMP%]{text-align:center}.main-action[_ngcontent-%COMP%]{align-self:center}.section-title[_ngcontent-%COMP%]{font-size:36px;line-height:46px}.footer[_ngcontent-%COMP%] .container[_ngcontent-%COMP%]{flex-direction:column;justify-content:center}.rights[_ngcontent-%COMP%]{margin-top:20px}}']}),e})(),eO=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=$t({type:e,bootstrap:[JF]}),e.\u0275inj=Et({imports:[ox,yF,UF]}),e})();nx().bootstrapModule(eO).catch(e=>console.error(e))}},oe=>{oe(oe.s=497)}]);