-
Notifications
You must be signed in to change notification settings - Fork 0
/
main-TSJNHXMU.js
8 lines (8 loc) · 188 KB
/
main-TSJNHXMU.js
1
2
3
4
5
6
7
8
var Pd=Object.defineProperty,Rd=Object.defineProperties;var kd=Object.getOwnPropertyDescriptors;var Gs=Object.getOwnPropertySymbols;var Ld=Object.prototype.hasOwnProperty,Vd=Object.prototype.propertyIsEnumerable;var zs=(t,e,n)=>e in t?Pd(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,V=(t,e)=>{for(var n in e||={})Ld.call(e,n)&&zs(t,n,e[n]);if(Gs)for(var n of Gs(e))Vd.call(e,n)&&zs(t,n,e[n]);return t},q=(t,e)=>Rd(t,kd(e));var Ws=null;var co=1;function J(t){let e=Ws;return Ws=t,e}var qs={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function jd(t){if(!(ho(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===co)){if(!t.producerMustRecompute(t)&&!lo(t)){t.dirty=!1,t.lastCleanEpoch=co;return}t.producerRecomputeValue(t),t.dirty=!1,t.lastCleanEpoch=co}}function Zs(t){return t&&(t.nextProducerIndex=0),J(t)}function Ys(t,e){if(J(e),!(!t||t.producerNode===void 0||t.producerIndexOfThis===void 0||t.producerLastReadVersion===void 0)){if(ho(t))for(let n=t.nextProducerIndex;n<t.producerNode.length;n++)fo(t.producerNode[n],t.producerIndexOfThis[n]);for(;t.producerNode.length>t.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function lo(t){In(t);for(let e=0;e<t.producerNode.length;e++){let n=t.producerNode[e],r=t.producerLastReadVersion[e];if(r!==n.version||(jd(n),r!==n.version))return!0}return!1}function Qs(t){if(In(t),ho(t))for(let e=0;e<t.producerNode.length;e++)fo(t.producerNode[e],t.producerIndexOfThis[e]);t.producerNode.length=t.producerLastReadVersion.length=t.producerIndexOfThis.length=0,t.liveConsumerNode&&(t.liveConsumerNode.length=t.liveConsumerIndexOfThis.length=0)}function fo(t,e){if(Bd(t),In(t),t.liveConsumerNode.length===1)for(let r=0;r<t.producerNode.length;r++)fo(t.producerNode[r],t.producerIndexOfThis[r]);let n=t.liveConsumerNode.length-1;if(t.liveConsumerNode[e]=t.liveConsumerNode[n],t.liveConsumerIndexOfThis[e]=t.liveConsumerIndexOfThis[n],t.liveConsumerNode.length--,t.liveConsumerIndexOfThis.length--,e<t.liveConsumerNode.length){let r=t.liveConsumerIndexOfThis[e],o=t.liveConsumerNode[e];In(o),o.producerIndexOfThis[r]=e}}function ho(t){return t.consumerIsAlwaysLive||(t?.liveConsumerNode?.length??0)>0}function In(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function Bd(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function Hd(){throw new Error}var $d=Hd;function Ks(t){$d=t}function _(t){return typeof t=="function"}function _n(t){let n=t(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var Mn=_n(t=>function(n){t(this),this.message=n?`${n.length} errors occurred during unsubscription:
${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
`)}`:"",this.name="UnsubscriptionError",this.errors=n});function Bt(t,e){if(t){let n=t.indexOf(e);0<=n&&t.splice(n,1)}}var X=class t{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let e;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(_(r))try{r()}catch(i){e=i instanceof Mn?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Js(i)}catch(s){e=e??[],s instanceof Mn?e=[...e,...s.errors]:e.push(s)}}if(e)throw new Mn(e)}}add(e){var n;if(e&&e!==this)if(this.closed)Js(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(e)}}_hasParent(e){let{_parentage:n}=this;return n===e||Array.isArray(n)&&n.includes(e)}_addParent(e){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(e),n):n?[n,e]:e}_removeParent(e){let{_parentage:n}=this;n===e?this._parentage=null:Array.isArray(n)&&Bt(n,e)}remove(e){let{_finalizers:n}=this;n&&Bt(n,e),e instanceof t&&e._removeParent(this)}};X.EMPTY=(()=>{let t=new X;return t.closed=!0,t})();var po=X.EMPTY;function xn(t){return t instanceof X||t&&"closed"in t&&_(t.remove)&&_(t.add)&&_(t.unsubscribe)}function Js(t){_(t)?t():t.unsubscribe()}var de={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var st={setTimeout(t,e,...n){let{delegate:r}=st;return r?.setTimeout?r.setTimeout(t,e,...n):setTimeout(t,e,...n)},clearTimeout(t){let{delegate:e}=st;return(e?.clearTimeout||clearTimeout)(t)},delegate:void 0};function Sn(t){st.setTimeout(()=>{let{onUnhandledError:e}=de;if(e)e(t);else throw t})}function go(){}var Xs=(()=>mo("C",void 0,void 0))();function ea(t){return mo("E",void 0,t)}function ta(t){return mo("N",t,void 0)}function mo(t,e,n){return{kind:t,value:e,error:n}}var Ge=null;function at(t){if(de.useDeprecatedSynchronousErrorHandling){let e=!Ge;if(e&&(Ge={errorThrown:!1,error:null}),t(),e){let{errorThrown:n,error:r}=Ge;if(Ge=null,n)throw r}}else t()}function na(t){de.useDeprecatedSynchronousErrorHandling&&Ge&&(Ge.errorThrown=!0,Ge.error=t)}var ze=class extends X{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,xn(e)&&e.add(this)):this.destination=zd}static create(e,n,r){return new xe(e,n,r)}next(e){this.isStopped?vo(ta(e),this):this._next(e)}error(e){this.isStopped?vo(ea(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?vo(Xs,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(e){this.destination.next(e)}_error(e){try{this.destination.error(e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},Ud=Function.prototype.bind;function yo(t,e){return Ud.call(t,e)}var Do=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:n}=this;if(n.next)try{n.next(e)}catch(r){Tn(r)}}error(e){let{partialObserver:n}=this;if(n.error)try{n.error(e)}catch(r){Tn(r)}else Tn(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(n){Tn(n)}}},xe=class extends ze{constructor(e,n,r){super();let o;if(_(e)||!e)o={next:e??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&de.useDeprecatedNextContext?(i=Object.create(e),i.unsubscribe=()=>this.unsubscribe(),o={next:e.next&&yo(e.next,i),error:e.error&&yo(e.error,i),complete:e.complete&&yo(e.complete,i)}):o=e}this.destination=new Do(o)}};function Tn(t){de.useDeprecatedSynchronousErrorHandling?na(t):Sn(t)}function Gd(t){throw t}function vo(t,e){let{onStoppedNotification:n}=de;n&&st.setTimeout(()=>n(t,e))}var zd={closed:!0,next:go,error:Gd,complete:go};var ut=(()=>typeof Symbol=="function"&&Symbol.observable||"@@observable")();function ct(t){return t}function ra(t){return t.length===0?ct:t.length===1?t[0]:function(n){return t.reduce((r,o)=>o(r),n)}}var A=(()=>{class t{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new t;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=qd(n)?n:new xe(n,r,o);return at(()=>{let{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 r=oa(r),new r((o,i)=>{let s=new xe({next:a=>{try{n(a)}catch(u){i(u),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[ut](){return this}pipe(...n){return ra(n)(this)}toPromise(n){return n=oa(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return t.create=e=>new t(e),t})();function oa(t){var e;return(e=t??de.Promise)!==null&&e!==void 0?e:Promise}function Wd(t){return t&&_(t.next)&&_(t.error)&&_(t.complete)}function qd(t){return t&&t instanceof ze||Wd(t)&&xn(t)}function Zd(t){return _(t?.lift)}function $(t){return e=>{if(Zd(e))return e.lift(function(n){try{return t(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function G(t,e,n,r,o){return new Co(t,e,n,r,o)}var Co=class extends ze{constructor(e,n,r,o,i,s){super(e),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(u){e.error(u)}}:super._next,this._error=o?function(a){try{o(a)}catch(u){e.error(u)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){e.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((e=this.onFinalize)===null||e===void 0||e.call(this))}}};var ia=_n(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var ke=(()=>{class t extends A{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new An(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new ia}next(n){at(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){at(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){at(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{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((n=this.observers)===null||n===void 0?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){let{hasError:r,isStopped:o,observers:i}=this;return r||o?po:(this.currentObservers=null,i.push(n),new X(()=>{this.currentObservers=null,Bt(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new A;return n.source=this,n}}return t.create=(e,n)=>new An(e,n),t})(),An=class extends ke{constructor(e,n){super(),this.destination=e,this.source=n}next(e){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,e)}error(e){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,e)}complete(){var e,n;(n=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||n===void 0||n.call(e)}_subscribe(e){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(e))!==null&&r!==void 0?r:po}};var Ht=class extends ke{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){let n=super._subscribe(e);return!n.closed&&e.next(this._value),n}getValue(){let{hasError:e,thrownError:n,_value:r}=this;if(e)throw n;return this._throwIfClosed(),r}next(e){super.next(this._value=e)}};var sa=new A(t=>t.complete());function aa(t){return t&&_(t.schedule)}function Eo(t){return t[t.length-1]}function ua(t){return _(Eo(t))?t.pop():void 0}function Nn(t){return aa(Eo(t))?t.pop():void 0}function ca(t,e){return typeof Eo(t)=="number"?t.pop():e}function da(t,e,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(l){try{c(r.next(l))}catch(d){s(d)}}function u(l){try{c(r.throw(l))}catch(d){s(d)}}function c(l){l.done?i(l.value):o(l.value).then(a,u)}c((r=r.apply(t,e||[])).next())})}function la(t){var e=typeof Symbol=="function"&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function We(t){return this instanceof We?(this.v=t,this):new We(t)}function fa(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(t,e||[]),o,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,I){i.push([f,h,p,I])>1||a(f,h)})})}function a(f,h){try{u(r[f](h))}catch(p){d(i[0][3],p)}}function u(f){f.value instanceof We?Promise.resolve(f.value.v).then(c,l):d(i[0][2],f)}function c(f){a("next",f)}function l(f){a("throw",f)}function d(f,h){f(h),i.shift(),i.length&&a(i[0][0],i[0][1])}}function ha(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],n;return e?e.call(t):(t=typeof la=="function"?la(t):t[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=t[i]&&function(s){return new Promise(function(a,u){s=t[i](s),o(a,u,s.done,s.value)})}}function o(i,s,a,u){Promise.resolve(u).then(function(c){i({value:c,done:a})},s)}}var On=t=>t&&typeof t.length=="number"&&typeof t!="function";function Fn(t){return _(t?.then)}function Pn(t){return _(t[ut])}function Rn(t){return Symbol.asyncIterator&&_(t?.[Symbol.asyncIterator])}function kn(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function Yd(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Ln=Yd();function Vn(t){return _(t?.[Ln])}function jn(t){return fa(this,arguments,function*(){let n=t.getReader();try{for(;;){let{value:r,done:o}=yield We(n.read());if(o)return yield We(void 0);yield yield We(r)}}finally{n.releaseLock()}})}function Bn(t){return _(t?.getReader)}function j(t){if(t instanceof A)return t;if(t!=null){if(Pn(t))return Qd(t);if(On(t))return Kd(t);if(Fn(t))return Jd(t);if(Rn(t))return pa(t);if(Vn(t))return Xd(t);if(Bn(t))return ef(t)}throw kn(t)}function Qd(t){return new A(e=>{let n=t[ut]();if(_(n.subscribe))return n.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Kd(t){return new A(e=>{for(let n=0;n<t.length&&!e.closed;n++)e.next(t[n]);e.complete()})}function Jd(t){return new A(e=>{t.then(n=>{e.closed||(e.next(n),e.complete())},n=>e.error(n)).then(null,Sn)})}function Xd(t){return new A(e=>{for(let n of t)if(e.next(n),e.closed)return;e.complete()})}function pa(t){return new A(e=>{tf(t,e).catch(n=>e.error(n))})}function ef(t){return pa(jn(t))}function tf(t,e){var n,r,o,i;return da(this,void 0,void 0,function*(){try{for(n=ha(t);r=yield n.next(),!r.done;){let s=r.value;if(e.next(s),e.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}}e.complete()})}function oe(t,e,n,r=0,o=!1){let i=e.schedule(function(){n(),o?t.add(this.schedule(null,r)):this.unsubscribe()},r);if(t.add(i),!o)return i}function Hn(t,e=0){return $((n,r)=>{n.subscribe(G(r,o=>oe(r,t,()=>r.next(o),e),()=>oe(r,t,()=>r.complete(),e),o=>oe(r,t,()=>r.error(o),e)))})}function $n(t,e=0){return $((n,r)=>{r.add(t.schedule(()=>n.subscribe(r),e))})}function ga(t,e){return j(t).pipe($n(e),Hn(e))}function ma(t,e){return j(t).pipe($n(e),Hn(e))}function ya(t,e){return new A(n=>{let r=0;return e.schedule(function(){r===t.length?n.complete():(n.next(t[r++]),n.closed||this.schedule())})})}function va(t,e){return new A(n=>{let r;return oe(n,e,()=>{r=t[Ln](),oe(n,e,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>_(r?.return)&&r.return()})}function Un(t,e){if(!t)throw new Error("Iterable cannot be null");return new A(n=>{oe(n,e,()=>{let r=t[Symbol.asyncIterator]();oe(n,e,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Da(t,e){return Un(jn(t),e)}function Ca(t,e){if(t!=null){if(Pn(t))return ga(t,e);if(On(t))return ya(t,e);if(Fn(t))return ma(t,e);if(Rn(t))return Un(t,e);if(Vn(t))return va(t,e);if(Bn(t))return Da(t,e)}throw kn(t)}function Se(t,e){return e?Ca(t,e):j(t)}function lt(...t){let e=Nn(t);return Se(t,e)}function ie(t,e){return $((n,r)=>{let o=0;n.subscribe(G(r,i=>{r.next(t.call(e,i,o++))}))})}var{isArray:nf}=Array;function rf(t,e){return nf(e)?t(...e):t(e)}function Ea(t){return ie(e=>rf(t,e))}var{isArray:of}=Array,{getPrototypeOf:sf,prototype:af,keys:uf}=Object;function wa(t){if(t.length===1){let e=t[0];if(of(e))return{args:e,keys:null};if(cf(e)){let n=uf(e);return{args:n.map(r=>e[r]),keys:n}}}return{args:t,keys:null}}function cf(t){return t&&typeof t=="object"&&sf(t)===af}function ba(t,e){return t.reduce((n,r,o)=>(n[r]=e[o],n),{})}function Ia(t,e,n,r,o,i,s,a){let u=[],c=0,l=0,d=!1,f=()=>{d&&!u.length&&!c&&e.complete()},h=I=>c<r?p(I):u.push(I),p=I=>{i&&e.next(I),c++;let C=!1;j(n(I,l++)).subscribe(G(e,g=>{o?.(g),i?h(g):e.next(g)},()=>{C=!0},void 0,()=>{if(C)try{for(c--;u.length&&c<r;){let g=u.shift();s?oe(e,s,()=>p(g)):p(g)}f()}catch(g){e.error(g)}}))};return t.subscribe(G(e,h,()=>{d=!0,f()})),()=>{a?.()}}function dt(t,e,n=1/0){return _(e)?dt((r,o)=>ie((i,s)=>e(r,i,o,s))(j(t(r,o))),n):(typeof e=="number"&&(n=e),$((r,o)=>Ia(r,o,t,n)))}function _a(t=1/0){return dt(ct,t)}function wo(...t){let e=ua(t),{args:n,keys:r}=wa(t),o=new A(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),u=s,c=s;for(let l=0;l<s;l++){let d=!1;j(n[l]).subscribe(G(i,f=>{d||(d=!0,c--),a[l]=f},()=>u--,void 0,()=>{(!u||!d)&&(c||i.next(r?ba(r,a):a),i.complete())}))}});return e?o.pipe(Ea(e)):o}function bo(...t){let e=Nn(t),n=ca(t,1/0),r=t;return r.length?r.length===1?j(r[0]):_a(n)(Se(r,e)):sa}function Io(t,e){return $((n,r)=>{let o=0;n.subscribe(G(r,i=>t.call(e,i,o++)&&r.next(i)))})}function _o(t,e){return _(e)?dt(t,e,1):dt(t,1)}function Mo(t,e=ct){return t=t??lf,$((n,r)=>{let o,i=!0;n.subscribe(G(r,s=>{let a=e(s);(i||!t(o,a))&&(i=!1,o=a,r.next(s))}))})}function lf(t,e){return t===e}function Gn(t){return $((e,n)=>{try{e.subscribe(n)}finally{n.add(t)}})}function zn(t={}){let{connector:e=()=>new ke,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=t;return i=>{let s,a,u,c=0,l=!1,d=!1,f=()=>{a?.unsubscribe(),a=void 0},h=()=>{f(),s=u=void 0,l=d=!1},p=()=>{let I=s;h(),I?.unsubscribe()};return $((I,C)=>{c++,!d&&!l&&f();let g=u=u??e();C.add(()=>{c--,c===0&&!d&&!l&&(a=xo(p,o))}),g.subscribe(C),!s&&c>0&&(s=new xe({next:L=>g.next(L),error:L=>{d=!0,f(),a=xo(h,n,L),g.error(L)},complete:()=>{l=!0,f(),a=xo(h,r),g.complete()}}),j(I).subscribe(s))})(i)}}function xo(t,e,...n){if(e===!0){t();return}if(e===!1)return;let r=new xe({next:()=>{r.unsubscribe(),t()}});return j(e(...n)).subscribe(r)}function $t(t,e){return $((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(G(r,u=>{o?.unsubscribe();let c=0,l=i++;j(t(u,l)).subscribe(o=G(r,d=>r.next(e?e(u,d,l,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function T(t){for(let e in t)if(t[e]===T)return e;throw Error("Could not find renamed property on target object.")}function Wn(t,e){for(let n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function W(t){if(typeof t=="string")return t;if(Array.isArray(t))return"["+t.map(W).join(", ")+"]";if(t==null)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;let e=t.toString();if(e==null)return""+e;let n=e.indexOf(`
`);return n===-1?e:e.substring(0,n)}function $o(t,e){return t==null||t===""?e===null?"":e:e==null||e===""?t:t+" "+e}var df=T({__forward_ref__:T});function St(t){return t.__forward_ref__=St,t.toString=function(){return W(this())},t}function z(t){return au(t)?t():t}function au(t){return typeof t=="function"&&t.hasOwnProperty(df)&&t.__forward_ref__===St}function uu(t){return t&&!!t.\u0275providers}var cu="https://g.co/ng/security#xss",D=class extends Error{constructor(e,n){super(wr(e,n)),this.code=e}};function wr(t,e){return`${`NG0${Math.abs(t)}`}${e?": "+e:""}`}var ff=T({\u0275cmp:T}),hf=T({\u0275dir:T}),pf=T({\u0275pipe:T}),gf=T({\u0275mod:T}),nr=T({\u0275fac:T}),Ut=T({__NG_ELEMENT_ID__:T}),Ma=T({__NG_ENV_ID__:T});function qt(t){return typeof t=="string"?t:t==null?"":String(t)}function mf(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():qt(t)}function yf(t,e){let n=e?`. Dependency path: ${e.join(" > ")} > ${t}`:"";throw new D(-200,`Circular dependency in DI detected for ${t}${n}`)}function Si(t,e){let n=e?` in ${e}`:"";throw new D(-201,!1)}function vf(t,e){t==null&&Df(e,t,null,"!=")}function Df(t,e,n,r){throw new Error(`ASSERTION ERROR: ${t}`+(r==null?"":` [Expected=> ${n} ${r} ${e} <=Actual]`))}function S(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function te(t){return{providers:t.providers||[],imports:t.imports||[]}}function Ti(t){return xa(t,lu)||xa(t,du)}function xa(t,e){return t.hasOwnProperty(e)?t[e]:null}function Cf(t){let e=t&&(t[lu]||t[du]);return e||null}function Sa(t){return t&&(t.hasOwnProperty(Ta)||t.hasOwnProperty(Ef))?t[Ta]:null}var lu=T({\u0275prov:T}),Ta=T({\u0275inj:T}),du=T({ngInjectableDef:T}),Ef=T({ngInjectorDef:T}),x=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(x||{}),Uo;function wf(){return Uo}function Ce(t){let e=Uo;return Uo=t,e}function fu(t,e,n){let r=Ti(t);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&x.Optional)return null;if(e!==void 0)return e;Si(W(t),"Injector")}var ee=globalThis;var m=class{constructor(e,n){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=S({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};var bf={},Zt=bf,Go="__NG_DI_FLAG__",rr="ngTempTokenPath",If="ngTokenPath",_f=/\n/gm,Mf="\u0275",Aa="__source",Gt;function ft(t){let e=Gt;return Gt=t,e}function xf(t,e=x.Default){if(Gt===void 0)throw new D(-203,!1);return Gt===null?fu(t,void 0,e):Gt.get(t,e&x.Optional?null:void 0,e)}function v(t,e=x.Default){return(wf()||xf)(z(t),e)}function P(t,e=x.Default){return v(t,br(e))}function br(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function zo(t){let e=[];for(let n=0;n<t.length;n++){let r=z(t[n]);if(Array.isArray(r)){if(r.length===0)throw new D(900,!1);let o,i=x.Default;for(let s=0;s<r.length;s++){let a=r[s],u=Sf(a);typeof u=="number"?u===-1?o=a.token:i|=u:o=a}e.push(v(o,i))}else e.push(v(r))}return e}function hu(t,e){return t[Go]=e,t.prototype[Go]=e,t}function Sf(t){return t[Go]}function Tf(t,e,n,r){let o=t[rr];throw e[Aa]&&o.unshift(e[Aa]),t.message=Af(`
`+t.message,o,n,r),t[If]=o,t[rr]=null,t}function Af(t,e,n,r=null){t=t&&t.charAt(0)===`
`&&t.charAt(1)==Mf?t.slice(2):t;let o=W(e);if(Array.isArray(e))o=e.map(W).join(" -> ");else if(typeof e=="object"){let i=[];for(let s in e)if(e.hasOwnProperty(s)){let a=e[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):W(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${t.replace(_f,`
`)}`}function nn(t){return{toString:t}.toString()}var pu=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(pu||{}),be=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(be||{}),yt={},Z=[];function gu(t,e,n){let r=t.length;for(;;){let o=t.indexOf(e,n);if(o===-1)return o;if(o===0||t.charCodeAt(o-1)<=32){let i=e.length;if(o+i===r||t.charCodeAt(o+i)<=32)return o}n=o+1}}function Wo(t,e,n){let r=0;for(;r<n.length;){let o=n[r];if(typeof o=="number"){if(o!==0)break;r++;let i=n[r++],s=n[r++],a=n[r++];t.setAttribute(e,s,a,i)}else{let i=o,s=n[++r];Of(i)?t.setProperty(e,i,s):t.setAttribute(e,i,s),r++}}return r}function Nf(t){return t===3||t===4||t===6}function Of(t){return t.charCodeAt(0)===64}function Yt(t,e){if(!(e===null||e.length===0))if(t===null||t.length===0)t=e.slice();else{let n=-1;for(let r=0;r<e.length;r++){let o=e[r];typeof o=="number"?n=o:n===0||(n===-1||n===2?Na(t,n,o,null,e[++r]):Na(t,n,o,null,null))}}return t}function Na(t,e,n,r,o){let i=0,s=t.length;if(e===-1)s=-1;else for(;i<t.length;){let a=t[i++];if(typeof a=="number"){if(a===e){s=-1;break}else if(a>e){s=i-1;break}}}for(;i<t.length;){let a=t[i];if(typeof a=="number")break;if(a===n){if(r===null){o!==null&&(t[i+1]=o);return}else if(r===t[i+1]){t[i+2]=o;return}}i++,r!==null&&i++,o!==null&&i++}s!==-1&&(t.splice(s,0,e),i=s+1),t.splice(i++,0,n),r!==null&&t.splice(i++,0,r),o!==null&&t.splice(i++,0,o)}var mu="ng-template";function Ff(t,e,n){let r=0,o=!0;for(;r<t.length;){let i=t[r++];if(typeof i=="string"&&o){let s=t[r++];if(n&&i==="class"&&gu(s.toLowerCase(),e,0)!==-1)return!0}else if(i===1){for(;r<t.length&&typeof(i=t[r++])=="string";)if(i.toLowerCase()===e)return!0;return!1}else typeof i=="number"&&(o=!1)}return!1}function yu(t){return t.type===4&&t.value!==mu}function Pf(t,e,n){let r=t.type===4&&!n?mu:t.value;return e===r}function Rf(t,e,n){let r=4,o=t.attrs||[],i=Vf(o),s=!1;for(let a=0;a<e.length;a++){let u=e[a];if(typeof u=="number"){if(!s&&!fe(r)&&!fe(u))return!1;if(s&&fe(u))continue;s=!1,r=u|r&1;continue}if(!s)if(r&4){if(r=2|r&1,u!==""&&!Pf(t,u,n)||u===""&&e.length===1){if(fe(r))return!1;s=!0}}else{let c=r&8?u:e[++a];if(r&8&&t.attrs!==null){if(!Ff(t.attrs,c,n)){if(fe(r))return!1;s=!0}continue}let l=r&8?"class":u,d=kf(l,o,yu(t),n);if(d===-1){if(fe(r))return!1;s=!0;continue}if(c!==""){let f;d>i?f="":f=o[d+1].toLowerCase();let h=r&8?f:null;if(h&&gu(h,c,0)!==-1||r&2&&c!==f){if(fe(r))return!1;s=!0}}}}return fe(r)||s}function fe(t){return(t&1)===0}function kf(t,e,n,r){if(e===null)return-1;let o=0;if(r||!n){let i=!1;for(;o<e.length;){let s=e[o];if(s===t)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=e[++o];for(;typeof a=="string";)a=e[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return jf(e,t)}function Lf(t,e,n=!1){for(let r=0;r<e.length;r++)if(Rf(t,e[r],n))return!0;return!1}function Vf(t){for(let e=0;e<t.length;e++){let n=t[e];if(Nf(n))return e}return t.length}function jf(t,e){let n=t.indexOf(4);if(n>-1)for(n++;n<t.length;){let r=t[n];if(typeof r=="number")return-1;if(r===e)return n;n++}return-1}function Oa(t,e){return t?":not("+e.trim()+")":e}function Bf(t){let e=t[0],n=1,r=2,o="",i=!1;for(;n<t.length;){let s=t[n];if(typeof s=="string")if(r&2){let a=t[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!fe(s)&&(e+=Oa(i,o),o=""),r=s,i=i||!fe(r);n++}return o!==""&&(e+=Oa(i,o)),e}function Hf(t){return t.map(Bf).join(",")}function $f(t){let e=[],n=[],r=1,o=2;for(;r<t.length;){let i=t[r];if(typeof i=="string")o===2?i!==""&&e.push(i,t[++r]):o===8&&n.push(i);else{if(!fe(o))break;o=i}r++}return{attrs:e,classes:n}}function vu(t){return nn(()=>{let e=Eu(t),n=q(V({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===pu.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||be.Emulated,styles:t.styles||Z,_:null,schemas:t.schemas||null,tView:null,id:""});wu(n);let r=t.dependencies;return n.directiveDefs=Pa(r,!1),n.pipeDefs=Pa(r,!0),n.id=qf(n),n})}function Uf(t){return vt(t)||Du(t)}function Gf(t){return t!==null}function ne(t){return nn(()=>({type:t.type,bootstrap:t.bootstrap||Z,declarations:t.declarations||Z,imports:t.imports||Z,exports:t.exports||Z,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function Fa(t,e){if(t==null)return yt;let n={};for(let r in t)if(t.hasOwnProperty(r)){let o=t[r],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),n[o]=r,e&&(e[o]=i)}return n}function _e(t){return nn(()=>{let e=Eu(t);return wu(e),e})}function vt(t){return t[ff]||null}function Du(t){return t[hf]||null}function Cu(t){return t[pf]||null}function zf(t){let e=vt(t)||Du(t)||Cu(t);return e!==null?e.standalone:!1}function Wf(t,e){let n=t[gf]||null;if(!n&&e===!0)throw new Error(`Type ${W(t)} does not have '\u0275mod' property.`);return n}function Eu(t){let e={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputTransforms:null,inputConfig:t.inputs||yt,exportAs:t.exportAs||null,standalone:t.standalone===!0,signals:t.signals===!0,selectors:t.selectors||Z,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Fa(t.inputs,e),outputs:Fa(t.outputs),debugInfo:null}}function wu(t){t.features?.forEach(e=>e(t))}function Pa(t,e){if(!t)return null;let n=e?Cu:Uf;return()=>(typeof t=="function"?t():t).map(r=>n(r)).filter(Gf)}function qf(t){let e=0,n=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(let o of n)e=Math.imul(31,e)+o.charCodeAt(0)<<0;return e+=2147483647+1,"c"+e}var Pe=0,M=1,y=2,B=3,pe=4,me=5,qo=6,Qt=7,ae=8,Dt=9,Ct=10,H=11,Kt=12,Ra=13,Tt=14,Te=15,Ir=16,ht=17,Jt=18,_r=19,bu=20,zt=21,So=22,Ze=23,Ae=25,Iu=1;var Ye=7,or=8,ir=9,se=10,Et=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t[t.HasChildViewsToRefresh=4]="HasChildViewsToRefresh",t}(Et||{});function Le(t){return Array.isArray(t)&&typeof t[Iu]=="object"}function ge(t){return Array.isArray(t)&&t[Iu]===!0}function _u(t){return(t.flags&4)!==0}function Ai(t){return t.componentOffset>-1}function Ni(t){return(t.flags&1)===1}function Ve(t){return!!t.template}function Zf(t){return(t[y]&512)!==0}function wt(t,e){let n=t.hasOwnProperty(nr);return n?t[nr]:null}var Zo=class{constructor(e,n,r){this.previousValue=e,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function rn(){return Mu}function Mu(t){return t.type.prototype.ngOnChanges&&(t.setInput=Qf),Yf}rn.ngInherit=!0;function Yf(){let t=Su(this),e=t?.current;if(e){let n=t.previous;if(n===yt)t.previous=e;else for(let r in e)n[r]=e[r];t.current=null,this.ngOnChanges(e)}}function Qf(t,e,n,r){let o=this.declaredInputs[n],i=Su(t)||Kf(t,{previous:yt,current:null}),s=i.current||(i.current={}),a=i.previous,u=a[o];s[o]=new Zo(u&&u.currentValue,e,a===yt),t[r]=e}var xu="__ngSimpleChanges__";function Su(t){return t[xu]||null}function Kf(t,e){return t[xu]=e}var ka=null;var Ee=function(t,e,n){ka?.(t,e,n)},Tu="svg",Jf="math";function Ie(t){for(;Array.isArray(t);)t=t[Pe];return t}function Au(t,e){return Ie(e[t])}function ye(t,e){return Ie(e[t.index])}function Nu(t,e){return t.data[e]}function Xf(t,e){return t[e]}function tt(t,e){let n=e[t];return Le(n)?n:n[Pe]}function Oi(t){return(t[y]&128)===128}function eh(t){return ge(t[B])}function sr(t,e){return e==null?null:t[e]}function Ou(t){t[ht]=0}function th(t){t[y]&1024||(t[y]|=1024,Oi(t)&&Mr(t))}function nh(t,e){for(;t>0;)e=e[Tt],t--;return e}function Fu(t){t[y]&9216&&Mr(t)}function Mr(t){let e=t[B];for(;e!==null&&!(ge(e)&&e[y]&Et.HasChildViewsToRefresh||Le(e)&&e[y]&8192);){if(ge(e))e[y]|=Et.HasChildViewsToRefresh;else if(e[y]|=8192,!Oi(e))break;e=e[B]}}function rh(t,e){if((t[y]&256)===256)throw new D(911,!1);t[zt]===null&&(t[zt]=[]),t[zt].push(e)}var w={lFrame:Hu(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function oh(){return w.lFrame.elementDepthCount}function ih(){w.lFrame.elementDepthCount++}function sh(){w.lFrame.elementDepthCount--}function Pu(){return w.bindingsEnabled}function ah(){return w.skipHydrationRootTNode!==null}function uh(t){return w.skipHydrationRootTNode===t}function ch(){w.skipHydrationRootTNode=null}function R(){return w.lFrame.lView}function ue(){return w.lFrame.tView}function At(t){return w.lFrame.contextLView=t,t[ae]}function Nt(t){return w.lFrame.contextLView=null,t}function ve(){let t=Ru();for(;t!==null&&t.type===64;)t=t.parent;return t}function Ru(){return w.lFrame.currentTNode}function lh(){let t=w.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function on(t,e){let n=w.lFrame;n.currentTNode=t,n.isParent=e}function ku(){return w.lFrame.isParent}function dh(){w.lFrame.isParent=!1}function fh(){return w.lFrame.contextLView}function hh(){let t=w.lFrame,e=t.bindingRootIndex;return e===-1&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function ph(){return w.lFrame.bindingIndex}function gh(t){return w.lFrame.bindingIndex=t}function Lu(){return w.lFrame.bindingIndex++}function Fi(t){let e=w.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function mh(){return w.lFrame.inI18n}function yh(t,e){let n=w.lFrame;n.bindingIndex=n.bindingRootIndex=t,Yo(e)}function vh(){return w.lFrame.currentDirectiveIndex}function Yo(t){w.lFrame.currentDirectiveIndex=t}function Dh(t){let e=w.lFrame.currentDirectiveIndex;return e===-1?null:t[e]}function Vu(t){w.lFrame.currentQueryIndex=t}function Ch(t){let e=t[M];return e.type===2?e.declTNode:e.type===1?t[me]:null}function ju(t,e,n){if(n&x.SkipSelf){let o=e,i=t;for(;o=o.parent,o===null&&!(n&x.Host);)if(o=Ch(i),o===null||(i=i[Tt],o.type&10))break;if(o===null)return!1;e=o,t=i}let r=w.lFrame=Bu();return r.currentTNode=e,r.lView=t,!0}function Pi(t){let e=Bu(),n=t[M];w.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function Bu(){let t=w.lFrame,e=t===null?null:t.child;return e===null?Hu(t):e}function Hu(t){let e={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:t,child:null,inI18n:!1};return t!==null&&(t.child=e),e}function $u(){let t=w.lFrame;return w.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var Uu=$u;function Ri(){let t=$u();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function Eh(t){return(w.lFrame.contextLView=nh(t,w.lFrame.contextLView))[ae]}function je(){return w.lFrame.selectedIndex}function Qe(t){w.lFrame.selectedIndex=t}function Gu(){let t=w.lFrame;return Nu(t.tView,t.selectedIndex)}function zu(){w.lFrame.currentNamespace=Tu}function wh(){return w.lFrame.currentNamespace}var Wu=!0;function ki(){return Wu}function Li(t){Wu=t}function bh(t,e,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=e.type.prototype;if(r){let s=Mu(e);(n.preOrderHooks??=[]).push(t,s),(n.preOrderCheckHooks??=[]).push(t,s)}o&&(n.preOrderHooks??=[]).push(0-t,o),i&&((n.preOrderHooks??=[]).push(t,i),(n.preOrderCheckHooks??=[]).push(t,i))}function Vi(t,e){for(let n=e.directiveStart,r=e.directiveEnd;n<r;n++){let i=t.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:u,ngAfterViewChecked:c,ngOnDestroy:l}=i;s&&(t.contentHooks??=[]).push(-n,s),a&&((t.contentHooks??=[]).push(n,a),(t.contentCheckHooks??=[]).push(n,a)),u&&(t.viewHooks??=[]).push(-n,u),c&&((t.viewHooks??=[]).push(n,c),(t.viewCheckHooks??=[]).push(n,c)),l!=null&&(t.destroyHooks??=[]).push(n,l)}}function Kn(t,e,n){qu(t,e,3,n)}function Jn(t,e,n,r){(t[y]&3)===n&&qu(t,e,n,r)}function To(t,e){let n=t[y];(n&3)===e&&(n&=16383,n+=1,t[y]=n)}function qu(t,e,n,r){let o=r!==void 0?t[ht]&65535:0,i=r??-1,s=e.length-1,a=0;for(let u=o;u<s;u++)if(typeof e[u+1]=="number"){if(a=e[u],r!=null&&a>=r)break}else e[u]<0&&(t[ht]+=65536),(a<i||i==-1)&&(Ih(t,n,e,u),t[ht]=(t[ht]&4294901760)+u+2),u++}function La(t,e){Ee(4,t,e);let n=J(null);try{e.call(t)}finally{J(n),Ee(5,t,e)}}function Ih(t,e,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=t[s];o?t[y]>>14<t[ht]>>16&&(t[y]&3)===e&&(t[y]+=16384,La(a,i)):La(a,i)}var mt=-1,Ke=class{constructor(e,n,r){this.factory=e,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}};function _h(t){return t instanceof Ke}function Mh(t){return(t.flags&8)!==0}function xh(t){return(t.flags&16)!==0}function Zu(t){return t!==mt}function ar(t){let e=t&32767;return t&32767}function Sh(t){return t>>16}function ur(t,e){let n=Sh(t),r=e;for(;n>0;)r=r[Tt],n--;return r}var Qo=!0;function Va(t){let e=Qo;return Qo=t,e}var Th=256,Yu=Th-1,Qu=5,Ah=0,we={};function Nh(t,e,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Ut)&&(r=n[Ut]),r==null&&(r=n[Ut]=Ah++);let o=r&Yu,i=1<<o;e.data[t+(o>>Qu)]|=i}function cr(t,e){let n=Ku(t,e);if(n!==-1)return n;let r=e[M];r.firstCreatePass&&(t.injectorIndex=e.length,Ao(r.data,t),Ao(e,null),Ao(r.blueprint,null));let o=ji(t,e),i=t.injectorIndex;if(Zu(o)){let s=ar(o),a=ur(o,e),u=a[M].data;for(let c=0;c<8;c++)e[i+c]=a[s+c]|u[s+c]}return e[i+8]=o,i}function Ao(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Ku(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function ji(t,e){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let n=0,r=null,o=e;for(;o!==null;){if(r=rc(o),r===null)return mt;if(n++,o=o[Tt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return mt}function Ko(t,e,n){Nh(t,e,n)}function Ju(t,e,n){if(n&x.Optional||t!==void 0)return t;Si(e,"NodeInjector")}function Xu(t,e,n,r){if(n&x.Optional&&r===void 0&&(r=null),!(n&(x.Self|x.Host))){let o=t[Dt],i=Ce(void 0);try{return o?o.get(e,r,n&x.Optional):fu(e,r,n&x.Optional)}finally{Ce(i)}}return Ju(r,e,n)}function ec(t,e,n,r=x.Default,o){if(t!==null){if(e[y]&2048&&!(r&x.Self)){let s=kh(t,e,n,r,we);if(s!==we)return s}let i=tc(t,e,n,r,we);if(i!==we)return i}return Xu(e,n,r,o)}function tc(t,e,n,r,o){let i=Ph(n);if(typeof i=="function"){if(!ju(e,t,r))return r&x.Host?Ju(o,n,r):Xu(e,n,r,o);try{let s;if(s=i(r),s==null&&!(r&x.Optional))Si(n);else return s}finally{Uu()}}else if(typeof i=="number"){let s=null,a=Ku(t,e),u=mt,c=r&x.Host?e[Te][me]:null;for((a===-1||r&x.SkipSelf)&&(u=a===-1?ji(t,e):e[a+8],u===mt||!Ba(r,!1)?a=-1:(s=e[M],a=ar(u),e=ur(u,e)));a!==-1;){let l=e[M];if(ja(i,a,l.data)){let d=Oh(a,e,n,s,r,c);if(d!==we)return d}u=e[a+8],u!==mt&&Ba(r,e[M].data[a+8]===c)&&ja(i,a,e)?(s=l,a=ar(u),e=ur(u,e)):a=-1}}return o}function Oh(t,e,n,r,o,i){let s=e[M],a=s.data[t+8],u=r==null?Ai(a)&&Qo:r!=s&&(a.type&3)!==0,c=o&x.Host&&i===a,l=Fh(a,s,n,u,c);return l!==null?bt(e,s,l,a):we}function Fh(t,e,n,r,o){let i=t.providerIndexes,s=e.data,a=i&1048575,u=t.directiveStart,c=t.directiveEnd,l=i>>20,d=r?a:a+l,f=o?a+l:c;for(let h=d;h<f;h++){let p=s[h];if(h<u&&n===p||h>=u&&p.type===n)return h}if(o){let h=s[u];if(h&&Ve(h)&&h.type===n)return u}return null}function bt(t,e,n,r){let o=t[n],i=e.data;if(_h(o)){let s=o;s.resolving&&yf(mf(i[n]));let a=Va(s.canSeeViewProviders);s.resolving=!0;let u,c=s.injectImpl?Ce(s.injectImpl):null,l=ju(t,r,x.Default);try{o=t[n]=s.factory(void 0,i,t,r),e.firstCreatePass&&n>=r.directiveStart&&bh(n,i[n],e)}finally{c!==null&&Ce(c),Va(a),s.resolving=!1,Uu()}}return o}function Ph(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(Ut)?t[Ut]:void 0;return typeof e=="number"?e>=0?e&Yu:Rh:e}function ja(t,e,n){let r=1<<t;return!!(n[e+(t>>Qu)]&r)}function Ba(t,e){return!(t&x.Self)&&!(t&x.Host&&e)}var qe=class{constructor(e,n){this._tNode=e,this._lView=n}get(e,n,r){return ec(this._tNode,this._lView,e,br(r),n)}};function Rh(){return new qe(ve(),R())}function nc(t){return nn(()=>{let e=t.prototype.constructor,n=e[nr]||Jo(e),r=Object.prototype,o=Object.getPrototypeOf(t.prototype).constructor;for(;o&&o!==r;){let i=o[nr]||Jo(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Jo(t){return au(t)?()=>{let e=Jo(z(t));return e&&e()}:wt(t)}function kh(t,e,n,r,o){let i=t,s=e;for(;i!==null&&s!==null&&s[y]&2048&&!(s[y]&512);){let a=tc(i,s,n,r|x.Self,we);if(a!==we)return a;let u=i.parent;if(!u){let c=s[bu];if(c){let l=c.get(n,we,r);if(l!==we)return l}u=rc(s),s=s[Tt]}i=u}return o}function rc(t){let e=t[M],n=e.type;return n===2?e.declTNode:n===1?t[me]:null}var qn="__parameters__";function Lh(t){return function(...n){if(t){let r=t(...n);for(let o in r)this[o]=r[o]}}}function oc(t,e,n){return nn(()=>{let r=Lh(e);function o(...i){if(this instanceof o)return r.apply(this,i),this;let s=new o(...i);return a.annotation=s,a;function a(u,c,l){let d=u.hasOwnProperty(qn)?u[qn]:Object.defineProperty(u,qn,{value:[]})[qn];for(;d.length<=l;)d.push(null);return(d[l]=d[l]||[]).push(s),u}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=t,o.annotationCls=o,o})}function Vh(t){let e=ee.ng;if(e&&e.\u0275compilerFacade)return e.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function jh(t){return typeof t=="function"}function Bi(t,e){t.forEach(n=>Array.isArray(n)?Bi(n,e):e(n))}function ic(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function lr(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function Bh(t,e){let n=[];for(let r=0;r<t;r++)n.push(e);return n}function Hh(t,e,n,r){let o=t.length;if(o==e)t.push(n,r);else if(o===1)t.push(r,t[0]),t[0]=n;else{for(o--,t.push(t[o-1],t[o]);o>e;){let i=o-2;t[o]=t[i],o--}t[e]=n,t[e+1]=r}}function Hi(t,e,n){let r=sn(t,e);return r>=0?t[r|1]=n:(r=~r,Hh(t,r,e,n)),r}function No(t,e){let n=sn(t,e);if(n>=0)return t[n|1]}function sn(t,e){return $h(t,e,1)}function $h(t,e,n){let r=0,o=t.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=t[i<<n];if(e===s)return i<<n;s>e?o=i:r=i+1}return~(o<<n)}var sc=hu(oc("Optional"),8);var Uh=hu(oc("SkipSelf"),4);function Gh(t){let e=[],n=new Map;function r(o){let i=n.get(o);if(!i){let s=t(o);n.set(o,i=s.then(Zh))}return i}return dr.forEach((o,i)=>{let s=[];o.templateUrl&&s.push(r(o.templateUrl).then(c=>{o.template=c}));let a=typeof o.styles=="string"?[o.styles]:o.styles||[];if(o.styles=a,o.styleUrl&&o.styleUrls?.length)throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");if(o.styleUrls?.length){let c=o.styles.length,l=o.styleUrls;o.styleUrls.forEach((d,f)=>{a.push(""),s.push(r(d).then(h=>{a[c+f]=h,l.splice(l.indexOf(d),1),l.length==0&&(o.styleUrls=void 0)}))})}else o.styleUrl&&s.push(r(o.styleUrl).then(c=>{a.push(c),o.styleUrl=void 0}));let u=Promise.all(s).then(()=>Yh(i));e.push(u)}),Wh(),Promise.all(e).then(()=>{})}var dr=new Map,zh=new Set;function Wh(){let t=dr;return dr=new Map,t}function qh(){return dr.size===0}function Zh(t){return typeof t=="string"?t:t.text()}function Yh(t){zh.delete(t)}var xr=new m("ENVIRONMENT_INITIALIZER"),ac=new m("INJECTOR",-1),uc=new m("INJECTOR_DEF_TYPES"),fr=class{get(e,n=Zt){if(n===Zt){let r=new Error(`NullInjectorError: No provider for ${W(e)}!`);throw r.name="NullInjectorError",r}return n}};function $i(t){return{\u0275providers:t}}function Qh(...t){return{\u0275providers:Kh(!0,t),\u0275fromNgModule:!0}}function Kh(t,...e){let n=[],r=new Set,o,i=s=>{n.push(s)};return Bi(e,s=>{let a=s;Xo(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&cc(o,i),n}function cc(t,e){for(let n=0;n<t.length;n++){let{ngModule:r,providers:o}=t[n];Ui(o,i=>{e(i,r)})}}function Xo(t,e,n,r){if(t=z(t),!t)return!1;let o=null,i=Sa(t),s=!i&&vt(t);if(!i&&!s){let u=t.ngModule;if(i=Sa(u),i)o=u;else return!1}else{if(s&&!s.standalone)return!1;o=t}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let u=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of u)Xo(c,e,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let c;try{Bi(i.imports,l=>{Xo(l,e,n,r)&&(c||=[],c.push(l))})}finally{}c!==void 0&&cc(c,e)}if(!a){let c=wt(o)||(()=>new o);e({provide:o,useFactory:c,deps:Z},o),e({provide:uc,useValue:o,multi:!0},o),e({provide:xr,useValue:()=>v(o),multi:!0},o)}let u=i.providers;if(u!=null&&!a){let c=t;Ui(u,l=>{e(l,c)})}}else return!1;return o!==t&&t.providers!==void 0}function Ui(t,e){for(let n of t)uu(n)&&(n=n.\u0275providers),Array.isArray(n)?Ui(n,e):e(n)}var Jh=T({provide:String,useValue:T});function lc(t){return t!==null&&typeof t=="object"&&Jh in t}function Xh(t){return!!(t&&t.useExisting)}function ep(t){return!!(t&&t.useFactory)}function It(t){return typeof t=="function"}function tp(t){return!!t.useClass}var Sr=new m("Set Injector scope."),Xn={},np={},Oo;function dc(){return Oo===void 0&&(Oo=new fr),Oo}var Ne=class{},ei=class extends Ne{get destroyed(){return this._destroyed}constructor(e,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,ni(e,s=>this.processProvider(s)),this.records.set(ac,pt(void 0,this)),o.has("environment")&&this.records.set(Ne,pt(void 0,this));let i=this.records.get(Sr);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(uc,Z,x.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let e=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of e)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(e){return this.assertNotDestroyed(),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){this.assertNotDestroyed();let n=ft(this),r=Ce(void 0),o;try{return e()}finally{ft(n),Ce(r)}}get(e,n=Zt,r=x.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(Ma))return e[Ma](this);r=br(r);let o,i=ft(this),s=Ce(void 0);try{if(!(r&x.SkipSelf)){let u=this.records.get(e);if(u===void 0){let c=ap(e)&&Ti(e);c&&this.injectableDefInScope(c)?u=pt(ti(e),Xn):u=null,this.records.set(e,u)}if(u!=null)return this.hydrate(e,u)}let a=r&x.Self?dc():this.parent;return n=r&x.Optional&&n===Zt?null:n,a.get(e,n)}catch(a){if(a.name==="NullInjectorError"){if((a[rr]=a[rr]||[]).unshift(W(e)),i)throw a;return Tf(a,e,"R3InjectorError",this.source)}else throw a}finally{Ce(s),ft(i)}}resolveInjectorInitializers(){let e=ft(this),n=Ce(void 0),r;try{let o=this.get(xr,Z,x.Self);for(let i of o)i()}finally{ft(e),Ce(n)}}toString(){let e=[],n=this.records;for(let r of n.keys())e.push(W(r));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new D(205,!1)}processProvider(e){e=z(e);let n=It(e)?e:z(e&&e.provide),r=op(e);if(!It(e)&&e.multi===!0){let o=this.records.get(n);o||(o=pt(void 0,Xn,!0),o.factory=()=>zo(o.multi),this.records.set(n,o)),n=e,o.multi.push(e)}else{let o=this.records.get(n)}this.records.set(n,r)}hydrate(e,n){return n.value===Xn&&(n.value=np,n.value=n.factory()),typeof n.value=="object"&&n.value&&sp(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(e){if(!e.providedIn)return!1;let n=z(e.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(e){let n=this._onDestroyHooks.indexOf(e);n!==-1&&this._onDestroyHooks.splice(n,1)}};function ti(t){let e=Ti(t),n=e!==null?e.factory:wt(t);if(n!==null)return n;if(t instanceof m)throw new D(204,!1);if(t instanceof Function)return rp(t);throw new D(204,!1)}function rp(t){let e=t.length;if(e>0){let r=Bh(e,"?");throw new D(204,!1)}let n=Cf(t);return n!==null?()=>n.factory(t):()=>new t}function op(t){if(lc(t))return pt(void 0,t.useValue);{let e=fc(t);return pt(e,Xn)}}function fc(t,e,n){let r;if(It(t)){let o=z(t);return wt(o)||ti(o)}else if(lc(t))r=()=>z(t.useValue);else if(ep(t))r=()=>t.useFactory(...zo(t.deps||[]));else if(Xh(t))r=()=>v(z(t.useExisting));else{let o=z(t&&(t.useClass||t.provide));if(ip(t))r=()=>new o(...zo(t.deps));else return wt(o)||ti(o)}return r}function pt(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function ip(t){return!!t.deps}function sp(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function ap(t){return typeof t=="function"||typeof t=="object"&&t instanceof m}function ni(t,e){for(let n of t)Array.isArray(n)?ni(n,e):n&&uu(n)?ni(n.\u0275providers,e):e(n)}function Ha(t,e=null,n=null,r){let o=hc(t,e,n,r);return o.resolveInjectorInitializers(),o}function hc(t,e=null,n=null,r,o=new Set){let i=[n||Z,Qh(t)];return r=r||(typeof t=="object"?void 0:W(t)),new ei(i,e||dc(),r||null,o)}var nt=(()=>{let e=class e{static create(r,o){if(Array.isArray(r))return Ha({name:""},o,r,"");{let i=r.name??"";return Ha({name:i},r.parent,r.providers,i)}}};e.THROW_IF_NOT_FOUND=Zt,e.NULL=new fr,e.\u0275prov=S({token:e,providedIn:"any",factory:()=>v(ac)}),e.__NG_ELEMENT_ID__=-1;let t=e;return t})();var ri;function pc(t){ri=t}function up(){if(ri!==void 0)return ri;if(typeof document<"u")return document;throw new D(210,!1)}var Tr=new m("AppId",{providedIn:"root",factory:()=>cp}),cp="ng",Gi=new m("Platform Initializer"),Be=new m("Platform ID",{providedIn:"platform",factory:()=>"unknown"});var zi=new m("CSP nonce",{providedIn:"root",factory:()=>up().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function lp(t){return t instanceof Function?t():t}function gc(t){return(t.flags&128)===128}var Oe=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(Oe||{});var mc=new Map,dp=0;function fp(){return dp++}function hp(t){mc.set(t[_r],t)}function pp(t){mc.delete(t[_r])}var $a="__ngContext__";function Je(t,e){Le(e)?(t[$a]=e[_r],hp(e)):t[$a]=e}var gp;function Wi(t,e){return gp(t,e)}function qi(t){let e=t[B];return ge(e)?e[B]:e}function yc(t){return Dc(t[Kt])}function vc(t){return Dc(t[pe])}function Dc(t){for(;t!==null&&!ge(t);)t=t[pe];return t}function gt(t,e,n,r,o){if(r!=null){let i,s=!1;ge(r)?i=r:Le(r)&&(s=!0,r=r[Pe]);let a=Ie(r);t===0&&n!==null?o==null?bc(e,n,a):hr(e,n,a,o||null,!0):t===1&&n!==null?hr(e,n,a,o||null,!0):t===2?Fp(e,a,s):t===3&&e.destroyNode(a),i!=null&&Rp(e,t,i,n,o)}}function mp(t,e){return t.createText(e)}function yp(t,e,n){t.setValue(e,n)}function Cc(t,e,n){return t.createElement(e,n)}function vp(t,e){let n=e[H];an(t,e,n,2,null,null),e[Pe]=null,e[me]=null}function Dp(t,e,n,r,o,i){r[Pe]=o,r[me]=e,an(t,r,n,1,o,i)}function Cp(t,e){an(t,e,e[H],2,null,null)}function Ep(t){let e=t[Kt];if(!e)return Fo(t[M],t);for(;e;){let n=null;if(Le(e))n=e[Kt];else{let r=e[se];r&&(n=r)}if(!n){for(;e&&!e[pe]&&e!==t;)Le(e)&&Fo(e[M],e),e=e[B];e===null&&(e=t),Le(e)&&Fo(e[M],e),n=e&&e[pe]}e=n}}function wp(t,e,n,r){let o=se+r,i=n.length;r>0&&(n[o-1][pe]=e),r<i-se?(e[pe]=n[o],ic(n,se+r,e)):(n.push(e),e[pe]=null),e[B]=n;let s=e[Ir];s!==null&&n!==s&&bp(s,e);let a=e[Jt];a!==null&&a.insertView(t),Fu(e),e[y]|=128}function bp(t,e){let n=t[ir],o=e[B][B][Te];e[Te]!==o&&(t[y]|=Et.HasTransplantedViews),n===null?t[ir]=[e]:n.push(e)}function Ec(t,e){let n=t[ir],r=n.indexOf(e),o=e[B];n.splice(r,1)}function oi(t,e){if(t.length<=se)return;let n=se+e,r=t[n];if(r){let o=r[Ir];o!==null&&o!==t&&Ec(o,r),e>0&&(t[n-1][pe]=r[pe]);let i=lr(t,se+e);vp(r[M],r);let s=i[Jt];s!==null&&s.detachView(i[M]),r[B]=null,r[pe]=null,r[y]&=-129}return r}function wc(t,e){if(!(e[y]&256)){let n=e[H];e[Ze]&&Qs(e[Ze]),n.destroyNode&&an(t,e,n,3,null,null),Ep(e)}}function Fo(t,e){if(!(e[y]&256)){e[y]&=-129,e[y]|=256,_p(t,e),Ip(t,e),e[M].type===1&&e[H].destroy();let n=e[Ir];if(n!==null&&ge(e[B])){n!==e[B]&&Ec(n,e);let r=e[Jt];r!==null&&r.detachView(t)}pp(e)}}function Ip(t,e){let n=t.cleanup,r=e[Qt];if(n!==null)for(let i=0;i<n.length-1;i+=2)if(typeof n[i]=="string"){let s=n[i+3];s>=0?r[s]():r[-s].unsubscribe(),i+=2}else{let s=r[n[i+1]];n[i].call(s)}r!==null&&(e[Qt]=null);let o=e[zt];if(o!==null){e[zt]=null;for(let i=0;i<o.length;i++){let s=o[i];s()}}}function _p(t,e){let n;if(t!=null&&(n=t.destroyHooks)!=null)for(let r=0;r<n.length;r+=2){let o=e[n[r]];if(!(o instanceof Ke)){let i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],u=i[s+1];Ee(4,a,u);try{u.call(a)}finally{Ee(5,a,u)}}else{Ee(4,o,i);try{i.call(o)}finally{Ee(5,o,i)}}}}}function Mp(t,e,n){return xp(t,e.parent,n)}function xp(t,e,n){let r=e;for(;r!==null&&r.type&40;)e=r,r=e.parent;if(r===null)return n[Pe];{let{componentOffset:o}=r;if(o>-1){let{encapsulation:i}=t.data[r.directiveStart+o];if(i===be.None||i===be.Emulated)return null}return ye(r,n)}}function hr(t,e,n,r,o){t.insertBefore(e,n,r,o)}function bc(t,e,n){t.appendChild(e,n)}function Ua(t,e,n,r,o){r!==null?hr(t,e,n,r,o):bc(t,e,n)}function Sp(t,e,n,r){t.removeChild(e,n,r)}function Zi(t,e){return t.parentNode(e)}function Tp(t,e){return t.nextSibling(e)}function Ap(t,e,n){return Op(t,e,n)}function Np(t,e,n){return t.type&40?ye(t,n):null}var Op=Np,Ga;function Yi(t,e,n,r){let o=Mp(t,r,e),i=e[H],s=r.parent||e[me],a=Ap(s,r,e);if(o!=null)if(Array.isArray(n))for(let u=0;u<n.length;u++)Ua(i,o,n[u],a,!1);else Ua(i,o,n,a,!1);Ga!==void 0&&Ga(i,r,e,n,o)}function er(t,e){if(e!==null){let n=e.type;if(n&3)return ye(e,t);if(n&4)return ii(-1,t[e.index]);if(n&8){let r=e.child;if(r!==null)return er(t,r);{let o=t[e.index];return ge(o)?ii(-1,o):Ie(o)}}else{if(n&32)return Wi(e,t)()||Ie(t[e.index]);{let r=Ic(t,e);if(r!==null){if(Array.isArray(r))return r[0];let o=qi(t[Te]);return er(o,r)}else return er(t,e.next)}}}return null}function Ic(t,e){if(e!==null){let r=t[Te][me],o=e.projection;return r.projection[o]}return null}function ii(t,e){let n=se+t+1;if(n<e.length){let r=e[n],o=r[M].firstChild;if(o!==null)return er(r,o)}return e[Ye]}function Fp(t,e,n){let r=Zi(t,e);r&&Sp(t,r,e,n)}function Qi(t,e,n,r,o,i,s){for(;n!=null;){let a=r[n.index],u=n.type;if(s&&e===0&&(a&&Je(Ie(a),r),n.flags|=2),(n.flags&32)!==32)if(u&8)Qi(t,e,n.child,r,o,i,!1),gt(e,t,o,a,i);else if(u&32){let c=Wi(n,r),l;for(;l=c();)gt(e,t,o,l,i);gt(e,t,o,a,i)}else u&16?Pp(t,e,r,n,o,i):gt(e,t,o,a,i);n=s?n.projectionNext:n.next}}function an(t,e,n,r,o,i){Qi(n,r,t.firstChild,e,o,i,!1)}function Pp(t,e,n,r,o,i){let s=n[Te],u=s[me].projection[r.projection];if(Array.isArray(u))for(let c=0;c<u.length;c++){let l=u[c];gt(e,t,o,l,i)}else{let c=u,l=s[B];gc(r)&&(c.flags|=128),Qi(t,e,c,l,o,i,!0)}}function Rp(t,e,n,r,o){let i=n[Ye],s=Ie(n);i!==s&>(e,t,r,i,o);for(let a=se;a<n.length;a++){let u=n[a];an(u[M],u,t,e,r,i)}}function kp(t,e,n,r,o){if(e)o?t.addClass(n,r):t.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:Oe.DashCase;o==null?t.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Oe.Important),t.setStyle(n,r,o,i))}}function Lp(t,e,n){t.setAttribute(e,"style",n)}function _c(t,e,n){n===""?t.removeAttribute(e,"class"):t.setAttribute(e,"class",n)}function Mc(t,e,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&Wo(t,e,r),o!==null&&_c(t,e,o),i!==null&&Lp(t,e,i)}var pr=class{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${cu})`}};function un(t){return t instanceof pr?t.changingThisBreaksApplicationSecurity:t}function xc(t,e){let n=Vp(t);if(n!=null&&n!==e){if(n==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${n} (see ${cu})`)}return n===e}function Vp(t){return t instanceof pr&&t.getTypeName()||null}var jp=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Sc(t){return t=String(t),t.match(jp)?t:"unsafe:"+t}var Ki=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(Ki||{});function Tc(t){let e=Bp();return e?e.sanitize(Ki.URL,t)||"":xc(t,"URL")?un(t):Sc(qt(t))}function Bp(){let t=R();return t&&t[Ct].sanitizer}var Hp="h",$p="b";var Up=(t,e,n)=>null;function Ji(t,e,n=!1){return Up(t,e,n)}var si=class{},gr=class{};function Gp(t){let e=Error(`No component factory found for ${W(t)}.`);return e[zp]=t,e}var zp="ngComponent";var ai=class{resolveComponentFactory(e){throw Gp(e)}},Xi=(()=>{let e=class e{};e.NULL=new ai;let t=e;return t})();function Wp(){return Ar(ve(),R())}function Ar(t,e){return new Ot(ye(t,e))}var Ot=(()=>{let e=class e{constructor(r){this.nativeElement=r}};e.__NG_ELEMENT_ID__=Wp;let t=e;return t})();var Xt=class{},cn=(()=>{let e=class e{constructor(){this.destroyNode=null}};e.__NG_ELEMENT_ID__=()=>qp();let t=e;return t})();function qp(){let t=R(),e=ve(),n=tt(e.index,t);return(Le(n)?n:t)[H]}var Zp=(()=>{let e=class e{};e.\u0275prov=S({token:e,providedIn:"root",factory:()=>null});let t=e;return t})(),_t=class{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}},Yp=new _t("17.0.3"),Po={};function Ac(t){return Kp(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function Qp(t,e){if(Array.isArray(t))for(let n=0;n<t.length;n++)e(t[n]);else{let n=t[Symbol.iterator](),r;for(;!(r=n.next()).done;)e(r.value)}}function Kp(t){return t!==null&&(typeof t=="function"||typeof t=="object")}var ui=class{constructor(){}supports(e){return Ac(e)}create(e){return new ci(e)}},Jp=(t,e)=>e,ci=class{constructor(e){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=e||Jp}forEachItem(e){let n;for(n=this._itHead;n!==null;n=n._next)e(n)}forEachOperation(e){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){let s=!r||n&&n.currentIndex<za(r,o,i)?n:r,a=za(s,o,i),u=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(n=n._next,s.previousIndex==null)o++;else{i||(i=[]);let c=a-o,l=u-o;if(c!=l){for(let f=0;f<c;f++){let h=f<i.length?i[f]:i[f]=0,p=h+f;l<=p&&p<c&&(i[f]=h+1)}let d=s.previousIndex;i[d]=l-c}}a!==u&&e(s,a,u)}}forEachPreviousItem(e){let n;for(n=this._previousItHead;n!==null;n=n._nextPrevious)e(n)}forEachAddedItem(e){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)e(n)}forEachMovedItem(e){let n;for(n=this._movesHead;n!==null;n=n._nextMoved)e(n)}forEachRemovedItem(e){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)e(n)}forEachIdentityChange(e){let n;for(n=this._identityChangesHead;n!==null;n=n._nextIdentityChange)e(n)}diff(e){if(e==null&&(e=[]),!Ac(e))throw new D(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let n=this._itHead,r=!1,o,i,s;if(Array.isArray(e)){this.length=e.length;for(let a=0;a<this.length;a++)i=e[a],s=this._trackByFn(a,i),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,i,s,a),r=!0):(r&&(n=this._verifyReinsertion(n,i,s,a)),Object.is(n.item,i)||this._addIdentityChange(n,i)),n=n._next}else o=0,Qp(e,a=>{s=this._trackByFn(o,a),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,a,s,o),r=!0):(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=e,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;e!==null;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;e!==null;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,n,r,o){let i;return e===null?i=this._itTail:(i=e._prev,this._remove(e)),e=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),e!==null?(Object.is(e.item,n)||this._addIdentityChange(e,n),this._reinsertAfter(e,i,o)):(e=this._linkedRecords===null?null:this._linkedRecords.get(r,o),e!==null?(Object.is(e.item,n)||this._addIdentityChange(e,n),this._moveAfter(e,i,o)):e=this._addAfter(new li(n,r),i,o)),e}_verifyReinsertion(e,n,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?e=this._reinsertAfter(i,e._prev,o):e.currentIndex!=o&&(e.currentIndex=o,this._addToMoves(e,o)),e}_truncate(e){for(;e!==null;){let n=e._next;this._addToRemovals(this._unlink(e)),e=n}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,n,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(e);let o=e._prevRemoved,i=e._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(e,n,r),this._addToMoves(e,r),e}_moveAfter(e,n,r){return this._unlink(e),this._insertAfter(e,n,r),this._addToMoves(e,r),e}_addAfter(e,n,r){return this._insertAfter(e,n,r),this._additionsTail===null?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e}_insertAfter(e,n,r){let o=n===null?this._itHead:n._next;return e._next=o,e._prev=n,o===null?this._itTail=e:o._prev=e,n===null?this._itHead=e:n._next=e,this._linkedRecords===null&&(this._linkedRecords=new mr),this._linkedRecords.put(e),e.currentIndex=r,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){this._linkedRecords!==null&&this._linkedRecords.remove(e);let n=e._prev,r=e._next;return n===null?this._itHead=r:n._next=r,r===null?this._itTail=n:r._prev=n,e}_addToMoves(e,n){return e.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e),e}_addToRemovals(e){return this._unlinkedRecords===null&&(this._unlinkedRecords=new mr),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,n){return e.item=n,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=e:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=e,e}},li=class{constructor(e,n){this.item=e,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}},di=class{constructor(){this._head=null,this._tail=null}add(e){this._head===null?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,n){let r;for(r=this._head;r!==null;r=r._nextDup)if((n===null||n<=r.currentIndex)&&Object.is(r.trackById,e))return r;return null}remove(e){let n=e._prevDup,r=e._nextDup;return n===null?this._head=r:n._nextDup=r,r===null?this._tail=n:r._prevDup=n,this._head===null}},mr=class{constructor(){this.map=new Map}put(e){let n=e.trackById,r=this.map.get(n);r||(r=new di,this.map.set(n,r)),r.add(e)}get(e,n){let r=e,o=this.map.get(r);return o?o.get(e,n):null}remove(e){let n=e.trackById;return this.map.get(n).remove(e)&&this.map.delete(n),e}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function za(t,e,n){let r=t.previousIndex;if(r===null)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+e+o}function Wa(){return new es([new ui])}var es=(()=>{let e=class e{constructor(r){this.factories=r}static create(r,o){if(o!=null){let i=o.factories.slice();r=r.concat(i)}return new e(r)}static extend(r){return{provide:e,useFactory:o=>e.create(r,o||Wa()),deps:[[e,new Uh,new sc]]}}find(r){let o=this.factories.find(i=>i.supports(r));if(o!=null)return o;throw new D(901,!1)}};e.\u0275prov=S({token:e,providedIn:"root",factory:Wa});let t=e;return t})();function yr(t,e,n,r,o=!1){for(;n!==null;){let i=e[n.index];i!==null&&r.push(Ie(i)),ge(i)&&Xp(i,r);let s=n.type;if(s&8)yr(t,e,n.child,r);else if(s&32){let a=Wi(n,e),u;for(;u=a();)r.push(u)}else if(s&16){let a=Ic(e,n);if(Array.isArray(a))r.push(...a);else{let u=qi(e[Te]);yr(u[M],u,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Xp(t,e){for(let n=se;n<t.length;n++){let r=t[n],o=r[M].firstChild;o!==null&&yr(r[M],r,o,e)}t[Ye]!==t[Pe]&&e.push(t[Ye])}var Nc=[];function eg(t){return t[Ze]??tg(t)}function tg(t){let e=Nc.pop()??Object.create(rg);return e.lView=t,e}function ng(t){t.lView[Ze]!==t&&(t.lView=null,Nc.push(t))}var rg=q(V({},qs),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{Mr(t.lView)},consumerOnSignalRead(){this.lView[Ze]=this}}),og="ngOriginalError";function Ro(t){return t[og]}var Fe=class{constructor(){this._console=console}handleError(e){let n=this._findOriginalError(e);this._console.error("ERROR",e),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(e){let n=e&&Ro(e);for(;n&&Ro(n);)n=Ro(n);return n||null}};var Oc=!1,ig=new m("",{providedIn:"root",factory:()=>Oc});var ce={};function re(t){Fc(ue(),R(),je()+t,!1)}function Fc(t,e,n,r){if(!r)if((e[y]&3)===3){let i=t.preOrderCheckHooks;i!==null&&Kn(e,i,n)}else{let i=t.preOrderHooks;i!==null&&Jn(e,i,0,n)}Qe(n)}function N(t,e=x.Default){let n=R();if(n===null)return v(t,e);let r=ve();return ec(r,n,z(t),e)}function sg(t,e){let n=t.hostBindingOpCodes;if(n!==null)try{for(let r=0;r<n.length;r++){let o=n[r];if(o<0)Qe(~o);else{let i=o,s=n[++r],a=n[++r];yh(s,i);let u=e[i];a(2,u)}}}finally{Qe(-1)}}function Nr(t,e,n,r,o,i,s,a,u,c,l){let d=e.blueprint.slice();return d[Pe]=o,d[y]=r|4|128|8,(c!==null||t&&t[y]&2048)&&(d[y]|=2048),Ou(d),d[B]=d[Tt]=t,d[ae]=n,d[Ct]=s||t&&t[Ct],d[H]=a||t&&t[H],d[Dt]=u||t&&t[Dt]||null,d[me]=i,d[_r]=fp(),d[qo]=l,d[bu]=c,d[Te]=e.type==2?t[Te]:d,d}function Or(t,e,n,r,o){let i=t.data[e];if(i===null)i=ag(t,e,n,r,o),mh()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=lh();i.injectorIndex=s===null?-1:s.injectorIndex}return on(i,!0),i}function ag(t,e,n,r,o){let i=Ru(),s=ku(),a=s?i:i&&i.parent,u=t.data[e]=fg(t,a,n,e,r,o);return t.firstChild===null&&(t.firstChild=u),i!==null&&(s?i.child==null&&u.parent!==null&&(i.child=u):i.next===null&&(i.next=u,u.prev=i)),u}function Pc(t,e,n,r){if(n===0)return-1;let o=e.length;for(let i=0;i<n;i++)e.push(r),t.blueprint.push(r),t.data.push(null);return o}function Rc(t,e,n,r,o){let i=je(),s=r&2;try{Qe(-1),s&&e.length>Ae&&Fc(t,e,Ae,!1),Ee(s?2:0,o),n(r,o)}finally{Qe(i),Ee(s?3:1,o)}}function kc(t,e,n){if(_u(e)){let r=J(null);try{let o=e.directiveStart,i=e.directiveEnd;for(let s=o;s<i;s++){let a=t.data[s];a.contentQueries&&a.contentQueries(1,n[s],s)}}finally{J(r)}}}function Lc(t,e,n){Pu()&&(vg(t,e,n,ye(n,e)),(n.flags&64)===64&&Uc(t,e,n))}function Vc(t,e,n=ye){let r=e.localNames;if(r!==null){let o=e.index+1;for(let i=0;i<r.length;i+=2){let s=r[i+1],a=s===-1?n(e,t):t[s];t[o++]=a}}}function jc(t){let e=t.tView;return e===null||e.incompleteFirstPass?t.tView=ts(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):e}function ts(t,e,n,r,o,i,s,a,u,c,l){let d=Ae+r,f=d+o,h=ug(d,f),p=typeof c=="function"?c():c;return h[M]={type:t,blueprint:h,template:n,queries:null,viewQuery:a,declTNode:e,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:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:u,consts:p,incompleteFirstPass:!1,ssrId:l}}function ug(t,e){let n=[];for(let r=0;r<e;r++)n.push(r<t?null:ce);return n}function cg(t,e,n,r){let i=r.get(ig,Oc)||n===be.ShadowDom,s=t.selectRootElement(e,i);return lg(s),s}function lg(t){dg(t)}var dg=t=>null;function fg(t,e,n,r,o,i){let s=e?e.injectorIndex:-1,a=0;return ah()&&(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:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function qa(t,e,n,r){for(let o in t)if(t.hasOwnProperty(o)){n=n===null?{}:n;let i=t[o];r===null?Za(n,e,o,i):r.hasOwnProperty(o)&&Za(n,e,r[o],i)}return n}function Za(t,e,n,r){t.hasOwnProperty(n)?t[n].push(e,r):t[n]=[e,r]}function hg(t,e,n){let r=e.directiveStart,o=e.directiveEnd,i=t.data,s=e.attrs,a=[],u=null,c=null;for(let l=r;l<o;l++){let d=i[l],f=n?n.get(d):null,h=f?f.inputs:null,p=f?f.outputs:null;u=qa(d.inputs,l,u,h),c=qa(d.outputs,l,c,p);let I=u!==null&&s!==null&&!yu(e)?xg(u,l,s):null;a.push(I)}u!==null&&(u.hasOwnProperty("class")&&(e.flags|=8),u.hasOwnProperty("style")&&(e.flags|=16)),e.initialInputs=a,e.inputs=u,e.outputs=c}function pg(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}function Bc(t,e,n,r,o,i,s,a){let u=ye(e,n),c=e.inputs,l;!a&&c!=null&&(l=c[r])?(ns(t,n,l,r,o),Ai(e)&&gg(n,e.index)):e.type&3?(r=pg(r),o=s!=null?s(o,e.value||"",r):o,i.setProperty(u,r,o)):e.type&12}function gg(t,e){let n=tt(e,t);n[y]&16||(n[y]|=64)}function Hc(t,e,n,r){if(Pu()){let o=r===null?null:{"":-1},i=Cg(t,n),s,a;i===null?s=a=null:[s,a]=i,s!==null&&$c(t,e,n,s,o,a),o&&Eg(n,r,o)}n.mergedAttrs=Yt(n.mergedAttrs,n.attrs)}function $c(t,e,n,r,o,i){for(let c=0;c<r.length;c++)Ko(cr(n,e),t,r[c].type);bg(n,t.data.length,r.length);for(let c=0;c<r.length;c++){let l=r[c];l.providersResolver&&l.providersResolver(l)}let s=!1,a=!1,u=Pc(t,e,r.length,null);for(let c=0;c<r.length;c++){let l=r[c];n.mergedAttrs=Yt(n.mergedAttrs,l.hostAttrs),Ig(t,n,e,u,l),wg(u,l,o),l.contentQueries!==null&&(n.flags|=4),(l.hostBindings!==null||l.hostAttrs!==null||l.hostVars!==0)&&(n.flags|=64);let d=l.type.prototype;!s&&(d.ngOnChanges||d.ngOnInit||d.ngDoCheck)&&((t.preOrderHooks??=[]).push(n.index),s=!0),!a&&(d.ngOnChanges||d.ngDoCheck)&&((t.preOrderCheckHooks??=[]).push(n.index),a=!0),u++}hg(t,n,i)}function mg(t,e,n,r,o){let i=o.hostBindings;if(i){let s=t.hostBindingOpCodes;s===null&&(s=t.hostBindingOpCodes=[]);let a=~e.index;yg(s)!=a&&s.push(a),s.push(n,r,i)}}function yg(t){let e=t.length;for(;e>0;){let n=t[--e];if(typeof n=="number"&&n<0)return n}return 0}function vg(t,e,n,r){let o=n.directiveStart,i=n.directiveEnd;Ai(n)&&_g(e,n,t.data[o+n.componentOffset]),t.firstCreatePass||cr(n,e),Je(r,e);let s=n.initialInputs;for(let a=o;a<i;a++){let u=t.data[a],c=bt(e,t,a,n);if(Je(c,e),s!==null&&Mg(e,a-o,c,u,n,s),Ve(u)){let l=tt(n.index,e);l[ae]=bt(e,t,a,n)}}}function Uc(t,e,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=vh();try{Qe(i);for(let a=r;a<o;a++){let u=t.data[a],c=e[a];Yo(a),(u.hostBindings!==null||u.hostVars!==0||u.hostAttrs!==null)&&Dg(u,c)}}finally{Qe(-1),Yo(s)}}function Dg(t,e){t.hostBindings!==null&&t.hostBindings(1,e)}function Cg(t,e){let n=t.directiveRegistry,r=null,o=null;if(n)for(let i=0;i<n.length;i++){let s=n[i];if(Lf(e,s.selectors,!1))if(r||(r=[]),Ve(s))if(s.findHostDirectiveDefs!==null){let a=[];o=o||new Map,s.findHostDirectiveDefs(s,a,o),r.unshift(...a,s);let u=a.length;fi(t,e,u)}else r.unshift(s),fi(t,e,0);else o=o||new Map,s.findHostDirectiveDefs?.(s,r,o),r.push(s)}return r===null?null:[r,o]}function fi(t,e,n){e.componentOffset=n,(t.components??=[]).push(e.index)}function Eg(t,e,n){if(e){let r=t.localNames=[];for(let o=0;o<e.length;o+=2){let i=n[e[o+1]];if(i==null)throw new D(-301,!1);r.push(e[o],i)}}}function wg(t,e,n){if(n){if(e.exportAs)for(let r=0;r<e.exportAs.length;r++)n[e.exportAs[r]]=t;Ve(e)&&(n[""]=t)}}function bg(t,e,n){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+n,t.providerIndexes=e}function Ig(t,e,n,r,o){t.data[r]=o;let i=o.factory||(o.factory=wt(o.type,!0)),s=new Ke(i,Ve(o),N);t.blueprint[r]=s,n[r]=s,mg(t,e,r,Pc(t,n,o.hostVars,ce),o)}function _g(t,e,n){let r=ye(e,t),o=jc(n),i=t[Ct].rendererFactory,s=16;n.signals?s=4096:n.onPush&&(s=64);let a=Fr(t,Nr(t,o,null,s,r,e,null,i.createRenderer(r,n),null,null,null));t[e.index]=a}function Mg(t,e,n,r,o,i){let s=i[e];if(s!==null)for(let a=0;a<s.length;){let u=s[a++],c=s[a++],l=s[a++];Gc(r,n,u,c,l)}}function Gc(t,e,n,r,o){let i=J(null);try{let s=t.inputTransforms;s!==null&&s.hasOwnProperty(r)&&(o=s[r].call(e,o)),t.setInput!==null?t.setInput(e,o,n,r):e[r]=o}finally{J(i)}}function xg(t,e,n){let r=null,o=0;for(;o<n.length;){let i=n[o];if(i===0){o+=4;continue}else if(i===5){o+=2;continue}if(typeof i=="number")break;if(t.hasOwnProperty(i)){r===null&&(r=[]);let s=t[i];for(let a=0;a<s.length;a+=2)if(s[a]===e){r.push(i,s[a+1],n[o+1]);break}}o+=2}return r}function zc(t,e,n,r){return[t,!0,0,e,null,r,null,n,null,null]}function Wc(t,e){let n=t.contentQueries;if(n!==null){let r=J(null);try{for(let o=0;o<n.length;o+=2){let i=n[o],s=n[o+1];if(s!==-1){let a=t.data[s];Vu(i),a.contentQueries(2,e[s],s)}}}finally{J(r)}}}function Fr(t,e){return t[Kt]?t[Ra][pe]=e:t[Kt]=e,t[Ra]=e,e}function hi(t,e,n){Vu(0);let r=J(null);try{e(t,n)}finally{J(r)}}function Sg(t){return t[Qt]||(t[Qt]=[])}function Tg(t){return t.cleanup||(t.cleanup=[])}function qc(t,e){let n=t[Dt],r=n?n.get(Fe,null):null;r&&r.handleError(e)}function ns(t,e,n,r,o){for(let i=0;i<n.length;){let s=n[i++],a=n[i++],u=e[s],c=t.data[s];Gc(c,u,r,a,o)}}function Zc(t,e,n){let r=Au(e,t);yp(t[H],r,n)}var Ag=100;function Ng(t,e=!0){let n=t[Ct],r=n.rendererFactory,o=n.afterRenderEventManager,i=!1;i||(r.begin?.(),o?.begin());try{let s=t[M],a=t[ae];Yc(s,t,s.template,a),Og(t)}catch(s){throw e&&qc(t,s),s}finally{i||(r.end?.(),n.inlineEffectRunner?.flush(),o?.end())}}function Og(t){let e=0;for(;t[y]&9216||t[Ze]?.dirty;){if(e===Ag)throw new D(103,!1);e++,Jc(t,1)}}function Yc(t,e,n,r){let o=e[y];if((o&256)===256)return;let i=!1;!i&&e[Ct].inlineEffectRunner?.flush(),Pi(e);let s=null,a=null;!i&&Fg(t)&&(a=eg(e),s=Zs(a));try{Ou(e),gh(t.bindingStartIndex),n!==null&&Rc(t,e,n,2,r);let u=(o&3)===3;if(!i)if(u){let d=t.preOrderCheckHooks;d!==null&&Kn(e,d,null)}else{let d=t.preOrderHooks;d!==null&&Jn(e,d,0,null),To(e,0)}if(Pg(e),Qc(e,0),t.contentQueries!==null&&Wc(t,e),!i)if(u){let d=t.contentCheckHooks;d!==null&&Kn(e,d)}else{let d=t.contentHooks;d!==null&&Jn(e,d,1),To(e,1)}sg(t,e);let c=t.components;c!==null&&Xc(e,c,0);let l=t.viewQuery;if(l!==null&&hi(2,l,r),!i)if(u){let d=t.viewCheckHooks;d!==null&&Kn(e,d)}else{let d=t.viewHooks;d!==null&&Jn(e,d,2),To(e,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),e[So]){for(let d of e[So])d();e[So]=null}i||(e[y]&=-73)}catch(u){throw Mr(e),u}finally{a!==null&&(Ys(a,s),ng(a)),Ri()}}function Fg(t){return t.type!==2}function Qc(t,e){for(let n=yc(t);n!==null;n=vc(n)){n[y]&=~Et.HasChildViewsToRefresh;for(let r=se;r<n.length;r++){let o=n[r];Kc(o,e)}}}function Pg(t){for(let e=yc(t);e!==null;e=vc(e)){if(!(e[y]&Et.HasTransplantedViews))continue;let n=e[ir];for(let r=0;r<n.length;r++){let o=n[r],i=o[B];th(o)}}}function Rg(t,e,n){let r=tt(e,t);Kc(r,n)}function Kc(t,e){Oi(t)&&Jc(t,e)}function Jc(t,e){let r=t[M],o=t[y],i=t[Ze],s=!!(e===0&&o&16);if(s||=!!(o&64&&e===0),s||=!!(o&1024),s||=!!(i?.dirty&&lo(i)),i&&(i.dirty=!1),t[y]&=-9217,s)Yc(r,t,r.template,t[ae]);else if(o&8192){Qc(t,1);let a=r.components;a!==null&&Xc(t,a,1)}}function Xc(t,e,n){for(let r=0;r<e.length;r++)Rg(t,e[r],n)}function rs(t){for(;t;){t[y]|=64;let e=qi(t);if(Zf(t)&&!e)return t;t=e}return null}var en=class{get rootNodes(){let e=this._lView,n=e[M];return yr(n,e,n.firstChild,[])}constructor(e,n,r=!0){this._lView=e,this._cdRefInjectingView=n,this.notifyErrorHandler=r,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[ae]}set context(e){this._lView[ae]=e}get destroyed(){return(this._lView[y]&256)===256}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let e=this._lView[B];if(ge(e)){let n=e[or],r=n?n.indexOf(this):-1;r>-1&&(oi(e,r),lr(n,r))}this._attachedToViewContainer=!1}wc(this._lView[M],this._lView)}onDestroy(e){rh(this._lView,e)}markForCheck(){rs(this._cdRefInjectingView||this._lView)}detach(){this._lView[y]&=-129}reattach(){Fu(this._lView),this._lView[y]|=128}detectChanges(){Ng(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new D(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,Cp(this._lView[M],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new D(902,!1);this._appRef=e}};var pi=class extends ke{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,n,r){let o=e,i=n||(()=>null),s=r;if(e&&typeof e=="object"){let u=e;o=u.next?.bind(u),i=u.error?.bind(u),s=u.complete?.bind(u)}this.__isAsync&&(i=ko(i),o&&(o=ko(o)),s&&(s=ko(s)));let a=super.subscribe({next:o,error:i,complete:s});return e instanceof X&&e.add(a),a}};function ko(t){return e=>{setTimeout(t,void 0,e)}}var Y=pi;function Ya(...t){}function kg(){let t=typeof ee.requestAnimationFrame=="function",e=ee[t?"requestAnimationFrame":"setTimeout"],n=ee[t?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&e&&n){let r=e[Zone.__symbol__("OriginalDelegate")];r&&(e=r);let o=n[Zone.__symbol__("OriginalDelegate")];o&&(n=o)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:n}}var k=class t{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Y(!1),this.onMicrotaskEmpty=new Y(!1),this.onStable=new Y(!1),this.onError=new Y(!1),typeof Zone>"u")throw new D(908,!1);Zone.assertZonePatched();let o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=kg().nativeRequestAnimationFrame,jg(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new D(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new D(909,!1)}run(e,n,r){return this._inner.run(e,n,r)}runTask(e,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,e,Lg,Ya,Ya);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(e,n,r){return this._inner.runGuarded(e,n,r)}runOutsideAngular(e){return this._outer.run(e)}},Lg={};function os(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function Vg(t){t.isCheckStableRunning||t.lastRequestAnimationFrameId!==-1||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(ee,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,gi(t),t.isCheckStableRunning=!0,os(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),gi(t))}function jg(t){let e=()=>{Vg(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{if(Bg(a))return n.invokeTask(o,i,s,a);try{return Qa(t),n.invokeTask(o,i,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&i.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),Ka(t)}},onInvoke:(n,r,o,i,s,a,u)=>{try{return Qa(t),n.invoke(o,i,s,a,u)}finally{t.shouldCoalesceRunChangeDetection&&e(),Ka(t)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&(i.change=="microTask"?(t._hasPendingMicrotasks=i.microTask,gi(t),os(t)):i.change=="macroTask"&&(t.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),t.runOutsideAngular(()=>t.onError.emit(i)),!1)})}function gi(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.lastRequestAnimationFrameId!==-1?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function Qa(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Ka(t){t._nesting--,os(t)}var mi=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Y,this.onMicrotaskEmpty=new Y,this.onStable=new Y,this.onError=new Y}run(e,n,r){return e.apply(n,r)}runGuarded(e,n,r){return e.apply(n,r)}runOutsideAngular(e){return e()}runTask(e,n,r,o){return e.apply(n,r)}},el=new m("",{providedIn:"root",factory:tl});function tl(){let t=P(k),e=!0,n=new A(o=>{e=t.isStable&&!t.hasPendingMacrotasks&&!t.hasPendingMicrotasks,t.runOutsideAngular(()=>{o.next(e),o.complete()})}),r=new A(o=>{let i;t.runOutsideAngular(()=>{i=t.onStable.subscribe(()=>{k.assertNotInAngularZone(),queueMicrotask(()=>{!e&&!t.hasPendingMacrotasks&&!t.hasPendingMicrotasks&&(e=!0,o.next(!0))})})});let s=t.onUnstable.subscribe(()=>{k.assertInAngularZone(),e&&(e=!1,t.runOutsideAngular(()=>{o.next(!1)}))});return()=>{i.unsubscribe(),s.unsubscribe()}});return bo(n,r.pipe(zn()))}function Bg(t){return!Array.isArray(t)||t.length!==1?!1:t[0].data?.__ignore_ng_zone__===!0}var Hg=(()=>{let e=class e{constructor(){this.renderDepth=0,this.handler=null,this.internalCallbacks=[]}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){if(this.renderDepth--,this.renderDepth===0){for(let r of this.internalCallbacks)r();this.internalCallbacks.length=0,this.handler?.execute()}}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};e.\u0275prov=S({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})();function $g(t,e){let n=tt(e,t),r=n[M];Ug(r,n);let o=n[Pe];o!==null&&n[qo]===null&&(n[qo]=Ji(o,n[Dt])),is(r,n,n[ae])}function Ug(t,e){for(let n=e.length;n<t.blueprint.length;n++)e.push(t.blueprint[n])}function is(t,e,n){Pi(e);try{let r=t.viewQuery;r!==null&&hi(1,r,n);let o=t.template;o!==null&&Rc(t,e,o,1,n),t.firstCreatePass&&(t.firstCreatePass=!1),t.staticContentQueries&&Wc(t,e),t.staticViewQueries&&hi(2,t.viewQuery,n);let i=t.components;i!==null&&Gg(e,i)}catch(r){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),r}finally{e[y]&=-5,Ri()}}function Gg(t,e){for(let n=0;n<e.length;n++)$g(t,e[n])}function yi(t,e,n){let r=n?t.styles:null,o=n?t.classes:null,i=0;if(e!==null)for(let s=0;s<e.length;s++){let a=e[s];if(typeof a=="number")i=a;else if(i==1)o=$o(o,a);else if(i==2){let u=a,c=e[++s];r=$o(r,u+": "+c+";")}}n?t.styles=r:t.stylesWithoutHost=r,n?t.classes=o:t.classesWithoutHost=o}var vi=class extends Xi{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){let n=vt(e);return new vr(n,this.ngModule)}};function Ja(t){let e=[];for(let n in t)if(t.hasOwnProperty(n)){let r=t[n];e.push({propName:r,templateName:n})}return e}function zg(t){let e=t.toLowerCase();return e==="svg"?Tu:e==="math"?Jf:null}var Di=class{constructor(e,n){this.injector=e,this.parentInjector=n}get(e,n,r){r=br(r);let o=this.injector.get(e,Po,r);return o!==Po||n===Po?o:this.parentInjector.get(e,n,r)}},vr=class extends gr{get inputs(){let e=this.componentDef,n=e.inputTransforms,r=Ja(e.inputs);if(n!==null)for(let o of r)n.hasOwnProperty(o.propName)&&(o.transform=n[o.propName]);return r}get outputs(){return Ja(this.componentDef.outputs)}constructor(e,n){super(),this.componentDef=e,this.ngModule=n,this.componentType=e.type,this.selector=Hf(e.selectors),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!n}create(e,n,r,o){o=o||this.ngModule;let i=o instanceof Ne?o:o?.injector;i&&this.componentDef.getStandaloneInjector!==null&&(i=this.componentDef.getStandaloneInjector(i)||i);let s=i?new Di(e,i):e,a=s.get(Xt,null);if(a===null)throw new D(407,!1);let u=s.get(Zp,null),c=s.get(Hg,null),l={rendererFactory:a,sanitizer:u,inlineEffectRunner:null,afterRenderEventManager:c},d=a.createRenderer(null,this.componentDef),f=this.componentDef.selectors[0][0]||"div",h=r?cg(d,r,this.componentDef.encapsulation,s):Cc(d,f,zg(f)),p=4608,I=this.componentDef.onPush?576:528,C=this.componentDef.signals?p:I,g=null;h!==null&&(g=Ji(h,s,!0));let L=ts(0,null,null,1,0,null,null,null,null,null,null),U=Nr(null,L,null,C,null,null,l,d,s,null,g);Pi(U);let F,De;try{let K=this.componentDef,Re,uo=null;K.findHostDirectiveDefs?(Re=[],uo=new Map,K.findHostDirectiveDefs(K,Re,uo),Re.push(K)):Re=[K];let Od=Wg(U,h),Fd=qg(Od,h,K,Re,U,l,d);De=Nu(L,Ae),h&&Qg(d,K,h,r),n!==void 0&&Kg(De,this.ngContentSelectors,n),F=Yg(Fd,K,Re,uo,U,[Jg]),is(L,U,null)}finally{Ri()}return new Ci(this.componentType,F,Ar(De,U),U,De)}},Ci=class extends si{constructor(e,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 en(o,void 0,!1),this.componentType=e}setInput(e,n){let r=this._tNode.inputs,o;if(r!==null&&(o=r[e])){if(this.previousInputValues??=new Map,this.previousInputValues.has(e)&&Object.is(this.previousInputValues.get(e),n))return;let i=this._rootLView;ns(i[M],i,o,e,n),this.previousInputValues.set(e,n);let s=tt(this._tNode.index,i);rs(s)}}get injector(){return new qe(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}};function Wg(t,e){let n=t[M],r=Ae;return t[r]=e,Or(n,r,2,"#host",null)}function qg(t,e,n,r,o,i,s){let a=o[M];Zg(r,t,e,s);let u=null;e!==null&&(u=Ji(e,o[Dt]));let c=i.rendererFactory.createRenderer(e,n),l=16;n.signals?l=4096:n.onPush&&(l=64);let d=Nr(o,jc(n),null,l,o[t.index],t,i,c,null,null,u);return a.firstCreatePass&&fi(a,t,r.length-1),Fr(o,d),o[t.index]=d}function Zg(t,e,n,r){for(let o of t)e.mergedAttrs=Yt(e.mergedAttrs,o.hostAttrs);e.mergedAttrs!==null&&(yi(e,e.mergedAttrs,!0),n!==null&&Mc(r,n,e))}function Yg(t,e,n,r,o,i){let s=ve(),a=o[M],u=ye(s,o);$c(a,o,s,n,null,r);for(let l=0;l<n.length;l++){let d=s.directiveStart+l,f=bt(o,a,d,s);Je(f,o)}Uc(a,o,s),u&&Je(u,o);let c=bt(o,a,s.directiveStart+s.componentOffset,s);if(t[ae]=o[ae]=c,i!==null)for(let l of i)l(c,e);return kc(a,s,t),c}function Qg(t,e,n,r){if(r)Wo(t,n,["ng-version",Yp.full]);else{let{attrs:o,classes:i}=$f(e.selectors[0]);o&&Wo(t,n,o),i&&i.length>0&&_c(t,n,i.join(" "))}}function Kg(t,e,n){let r=t.projection=[];for(let o=0;o<e.length;o++){let i=n[o];r.push(i!=null?Array.from(i):null)}}function Jg(){let t=ve();Vi(R()[M],t)}function Xg(t){return Object.getPrototypeOf(t.prototype).constructor}function He(t){let e=Xg(t.type),n=!0,r=[t];for(;e;){let o;if(Ve(t))o=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new D(903,!1);o=e.\u0275dir}if(o){if(n){r.push(o);let s=t;s.inputs=Zn(t.inputs),s.inputTransforms=Zn(t.inputTransforms),s.declaredInputs=Zn(t.declaredInputs),s.outputs=Zn(t.outputs);let a=o.hostBindings;a&&rm(t,a);let u=o.viewQuery,c=o.contentQueries;if(u&&tm(t,u),c&&nm(t,c),Wn(t.inputs,o.inputs),Wn(t.declaredInputs,o.declaredInputs),Wn(t.outputs,o.outputs),o.inputTransforms!==null&&(s.inputTransforms===null&&(s.inputTransforms={}),Wn(s.inputTransforms,o.inputTransforms)),Ve(o)&&o.data.animation){let l=t.data;l.animation=(l.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s<i.length;s++){let a=i[s];a&&a.ngInherit&&a(t),a===He&&(n=!1)}}e=Object.getPrototypeOf(e)}em(r)}function em(t){let e=0,n=null;for(let r=t.length-1;r>=0;r--){let o=t[r];o.hostVars=e+=o.hostVars,o.hostAttrs=Yt(o.hostAttrs,n=Yt(n,o.hostAttrs))}}function Zn(t){return t===yt?{}:t===Z?[]:t}function tm(t,e){let n=t.viewQuery;n?t.viewQuery=(r,o)=>{e(r,o),n(r,o)}:t.viewQuery=e}function nm(t,e){let n=t.contentQueries;n?t.contentQueries=(r,o,i)=>{e(r,o,i),n(r,o,i)}:t.contentQueries=e}function rm(t,e){let n=t.hostBindings;n?t.hostBindings=(r,o)=>{e(r,o),n(r,o)}:t.hostBindings=e}function om(t,e,n){return t[e]=n}function Xe(t,e,n){let r=t[e];return Object.is(r,n)?!1:(t[e]=n,!0)}function im(t,e,n,r){let o=Xe(t,e,n);return Xe(t,e+1,r)||o}function nl(t,e,n,r){return Xe(t,Lu(),n)?e+qt(n)+r:ce}function sm(t,e,n,r,o,i){let s=ph(),a=im(t,s,n,o);return Fi(2),a?e+qt(n)+r+qt(o)+i:ce}function Yn(t,e){return t<<17|e<<2}function et(t){return t>>17&32767}function am(t){return(t&2)==2}function um(t,e){return t&131071|e<<17}function Ei(t){return t|2}function Mt(t){return(t&131068)>>2}function Lo(t,e){return t&-131069|e<<2}function cm(t){return(t&1)===1}function wi(t){return t|1}function lm(t,e,n,r,o,i){let s=i?e.classBindings:e.styleBindings,a=et(s),u=Mt(s);t[r]=n;let c=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||sn(d,l)>0)&&(c=!0)}else l=n;if(o)if(u!==0){let f=et(t[a+1]);t[r+1]=Yn(f,a),f!==0&&(t[f+1]=Lo(t[f+1],r)),t[a+1]=um(t[a+1],r)}else t[r+1]=Yn(a,0),a!==0&&(t[a+1]=Lo(t[a+1],r)),a=r;else t[r+1]=Yn(u,0),a===0?a=r:t[u+1]=Lo(t[u+1],r),u=r;c&&(t[r+1]=Ei(t[r+1])),Xa(t,l,r,!0,i),Xa(t,l,r,!1,i),dm(e,l,t,r,i),s=Yn(a,u),i?e.classBindings=s:e.styleBindings=s}function dm(t,e,n,r,o){let i=o?t.residualClasses:t.residualStyles;i!=null&&typeof e=="string"&&sn(i,e)>=0&&(n[r+1]=wi(n[r+1]))}function Xa(t,e,n,r,o){let i=t[n+1],s=e===null,a=r?et(i):Mt(i),u=!1;for(;a!==0&&(u===!1||s);){let c=t[a],l=t[a+1];fm(c,e)&&(u=!0,t[a+1]=r?wi(l):Ei(l)),a=r?et(l):Mt(l)}u&&(t[n+1]=r?Ei(i):wi(i))}function fm(t,e){return t===null||e==null||(Array.isArray(t)?t[1]:t)===e?!0:Array.isArray(t)&&typeof e=="string"?sn(t,e)>=0:!1}var he={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function hm(t){return t.substring(he.key,he.keyEnd)}function pm(t){return gm(t),rl(t,ol(t,0,he.textEnd))}function rl(t,e){let n=he.textEnd;return n===e?-1:(e=he.keyEnd=mm(t,he.key=e,n),ol(t,e,n))}function gm(t){he.key=0,he.keyEnd=0,he.value=0,he.valueEnd=0,he.textEnd=t.length}function ol(t,e,n){for(;e<n&&t.charCodeAt(e)<=32;)e++;return e}function mm(t,e,n){for(;e<n&&t.charCodeAt(e)>32;)e++;return e}function ln(t,e,n){let r=R(),o=Lu();if(Xe(r,o,e)){let i=ue(),s=Gu();Bc(i,s,r,t,e,r[H],n,!1)}return ln}function bi(t,e,n,r,o){let i=e.inputs,s=o?"class":"style";ns(t,n,i[s],s,r)}function Pr(t,e){return vm(t,e,null,!0),Pr}function Rr(t){Dm(_m,ym,t,!0)}function ym(t,e){for(let n=pm(e);n>=0;n=rl(e,n))Hi(t,hm(e),!0)}function vm(t,e,n,r){let o=R(),i=ue(),s=Fi(2);if(i.firstUpdatePass&&sl(i,t,s,r),e!==ce&&Xe(o,s,e)){let a=i.data[je()];al(i,a,o,o[H],t,o[s+1]=xm(e,n),r,s)}}function Dm(t,e,n,r){let o=ue(),i=Fi(2);o.firstUpdatePass&&sl(o,null,i,r);let s=R();if(n!==ce&&Xe(s,i,n)){let a=o.data[je()];if(ul(a,r)&&!il(o,i)){let u=r?a.classesWithoutHost:a.stylesWithoutHost;u!==null&&(n=$o(u,n||"")),bi(o,a,s,n,r)}else Mm(o,a,s,s[H],s[i+1],s[i+1]=Im(t,e,n),r,i)}}function il(t,e){return e>=t.expandoStartIndex}function sl(t,e,n,r){let o=t.data;if(o[n+1]===null){let i=o[je()],s=il(t,n);ul(i,r)&&e===null&&!s&&(e=!1),e=Cm(o,i,e,r),lm(o,i,e,n,s,r)}}function Cm(t,e,n,r){let o=Dh(t),i=r?e.residualClasses:e.residualStyles;if(o===null)(r?e.classBindings:e.styleBindings)===0&&(n=Vo(null,t,e,n,r),n=tn(n,e.attrs,r),i=null);else{let s=e.directiveStylingLast;if(s===-1||t[s]!==o)if(n=Vo(o,t,e,n,r),i===null){let u=Em(t,e,r);u!==void 0&&Array.isArray(u)&&(u=Vo(null,t,e,u[1],r),u=tn(u,e.attrs,r),wm(t,e,r,u))}else i=bm(t,e,r)}return i!==void 0&&(r?e.residualClasses=i:e.residualStyles=i),n}function Em(t,e,n){let r=n?e.classBindings:e.styleBindings;if(Mt(r)!==0)return t[et(r)]}function wm(t,e,n,r){let o=n?e.classBindings:e.styleBindings;t[et(o)]=r}function bm(t,e,n){let r,o=e.directiveEnd;for(let i=1+e.directiveStylingLast;i<o;i++){let s=t[i].hostAttrs;r=tn(r,s,n)}return tn(r,e.attrs,n)}function Vo(t,e,n,r,o){let i=null,s=n.directiveEnd,a=n.directiveStylingLast;for(a===-1?a=n.directiveStart:a++;a<s&&(i=e[a],r=tn(r,i.hostAttrs,o),i!==t);)a++;return t!==null&&(n.directiveStylingLast=a),r}function tn(t,e,n){let r=n?1:2,o=-1;if(e!==null)for(let i=0;i<e.length;i++){let s=e[i];typeof s=="number"?o=s:o===r&&(Array.isArray(t)||(t=t===void 0?[]:["",t]),Hi(t,s,n?!0:e[++i]))}return t===void 0?null:t}function Im(t,e,n){if(n==null||n==="")return Z;let r=[],o=un(n);if(Array.isArray(o))for(let i=0;i<o.length;i++)t(r,o[i],!0);else if(typeof o=="object")for(let i in o)o.hasOwnProperty(i)&&t(r,i,o[i]);else typeof o=="string"&&e(r,o);return r}function _m(t,e,n){let r=String(e);r!==""&&!r.includes(" ")&&Hi(t,r,n)}function Mm(t,e,n,r,o,i,s,a){o===ce&&(o=Z);let u=0,c=0,l=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;l!==null||d!==null;){let f=u<o.length?o[u+1]:void 0,h=c<i.length?i[c+1]:void 0,p=null,I;l===d?(u+=2,c+=2,f!==h&&(p=d,I=h)):d===null||l!==null&&l<d?(u+=2,p=l):(c+=2,p=d,I=h),p!==null&&al(t,e,n,r,p,I,s,a),l=u<o.length?o[u]:null,d=c<i.length?i[c]:null}}function al(t,e,n,r,o,i,s,a){if(!(e.type&3))return;let u=t.data,c=u[a+1],l=cm(c)?eu(u,e,n,o,Mt(c),s):void 0;if(!Dr(l)){Dr(i)||am(c)&&(i=eu(u,null,n,o,a,s));let d=Au(je(),n);kp(r,s,d,o,i)}}function eu(t,e,n,r,o,i){let s=e===null,a;for(;o>0;){let u=t[o],c=Array.isArray(u),l=c?u[1]:u,d=l===null,f=n[o+1];f===ce&&(f=d?Z:void 0);let h=d?No(f,r):l===r?f:void 0;if(c&&!Dr(h)&&(h=No(u,r)),Dr(h)&&(a=h,s))return a;let p=t[o+1];o=s?et(p):Mt(p)}if(e!==null){let u=i?e.residualClasses:e.residualStyles;u!=null&&(a=No(u,r))}return a}function Dr(t){return t!==void 0}function xm(t,e){return t==null||t===""||(typeof e=="string"?t=t+e:typeof t=="object"&&(t=W(un(t)))),t}function ul(t,e){return(t.flags&(e?8:16))!==0}var hw=new RegExp(`^(\\d+)*(${$p}|${Hp})*(.*)`);var Sm=(t,e)=>null;function tu(t,e){return Sm(t,e)}function Tm(t,e,n,r){let o=e.tView,s=t[y]&4096?4096:16,a=Nr(t,o,n,s,null,e,null,null,null,r?.injector??null,r?.dehydratedView??null),u=t[e.index];a[Ir]=u;let c=t[Jt];return c!==null&&(a[Jt]=c.createEmbeddedView(o)),is(o,a,n),a}function nu(t,e){return!e||gc(t)}function Am(t,e,n,r=!0){let o=e[M];if(wp(o,e,t,n),r){let i=ii(n,t),s=e[H],a=Zi(s,t[Ye]);a!==null&&Dp(o,t[me],s,e,a,i)}}var ss=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=Nm;let t=e;return t})();function Nm(){let t=ve();return Fm(t,R())}var Om=ss,cl=class extends Om{constructor(e,n,r){super(),this._lContainer=e,this._hostTNode=n,this._hostLView=r}get element(){return Ar(this._hostTNode,this._hostLView)}get injector(){return new qe(this._hostTNode,this._hostLView)}get parentInjector(){let e=ji(this._hostTNode,this._hostLView);if(Zu(e)){let n=ur(e,this._hostLView),r=ar(e),o=n[M].data[r+8];return new qe(o,n)}else return new qe(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let n=ru(this._lContainer);return n!==null&&n[e]||null}get length(){return this._lContainer.length-se}createEmbeddedView(e,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=tu(this._lContainer,e.ssrId),a=e.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,nu(this._hostTNode,s)),a}createComponent(e,n,r,o,i){let s=e&&!jh(e),a;if(s)a=n;else{let p=n||{};a=p.index,r=p.injector,o=p.projectableNodes,i=p.environmentInjector||p.ngModuleRef}let u=s?e:new vr(vt(e)),c=r||this.parentInjector;if(!i&&u.ngModule==null){let I=(s?c:this.parentInjector).get(Ne,null);I&&(i=I)}let l=vt(u.componentType??{}),d=tu(this._lContainer,l?.id??null),f=d?.firstChild??null,h=u.create(c,o,f,i);return this.insertImpl(h.hostView,a,nu(this._hostTNode,d)),h}insert(e,n){return this.insertImpl(e,n,!0)}insertImpl(e,n,r){let o=e._lView;if(eh(o)){let a=this.indexOf(e);if(a!==-1)this.detach(a);else{let u=o[B],c=new cl(u,u[me],u[B]);c.detach(c.indexOf(e))}}let i=this._adjustIndex(n),s=this._lContainer;return Am(s,o,i,r),e.attachToViewContainerRef(),ic(jo(s),i,e),e}move(e,n){return this.insert(e,n)}indexOf(e){let n=ru(this._lContainer);return n!==null?n.indexOf(e):-1}remove(e){let n=this._adjustIndex(e,-1),r=oi(this._lContainer,n);r&&(lr(jo(this._lContainer),n),wc(r[M],r))}detach(e){let n=this._adjustIndex(e,-1),r=oi(this._lContainer,n);return r&&lr(jo(this._lContainer),n)!=null?new en(r):null}_adjustIndex(e,n=0){return e??this.length+n}};function ru(t){return t[or]}function jo(t){return t[or]||(t[or]=[])}function Fm(t,e){let n,r=e[t.index];return ge(r)?n=r:(n=zc(r,e,null,t),e[t.index]=n,Fr(e,n)),Rm(n,e,t,r),new cl(n,t,e)}function Pm(t,e){let n=t[H],r=n.createComment(""),o=ye(e,t),i=Zi(n,o);return hr(n,i,r,Tp(n,o),!1),r}var Rm=Vm,km=(t,e,n)=>!1;function Lm(t,e,n){return km(t,e,n)}function Vm(t,e,n,r){if(t[Ye])return;let o;n.type&8?o=Ie(r):o=Pm(e,n),t[Ye]=o}function jm(t,e,n,r,o,i,s,a,u){let c=e.consts,l=Or(e,t,4,s||null,sr(c,a));Hc(e,n,l,sr(c,u)),Vi(e,l);let d=l.tView=ts(2,l,r,o,i,e.directiveRegistry,e.pipeRegistry,null,e.schemas,c,null);return e.queries!==null&&(e.queries.template(e,l),d.queries=e.queries.embeddedTView(l)),l}function as(t,e,n,r,o,i,s,a){let u=R(),c=ue(),l=t+Ae,d=c.firstCreatePass?jm(l,c,u,e,n,r,o,i,s):c.data[l];on(d,!1);let f=Bm(c,u,d,t);ki()&&Yi(c,u,f,d),Je(f,u);let h=zc(f,u,f,d);return u[l]=h,Fr(u,h),Lm(h,d,u),Ni(d)&&Lc(c,u,d),s!=null&&Vc(u,d,a),as}var Bm=Hm;function Hm(t,e,n,r){return Li(!0),e[H].createComment("")}function $m(t,e,n,r,o,i){let s=e.consts,a=sr(s,o),u=Or(e,t,2,r,a);return Hc(e,n,u,sr(s,i)),u.attrs!==null&&yi(u,u.attrs,!1),u.mergedAttrs!==null&&yi(u,u.mergedAttrs,!0),e.queries!==null&&e.queries.elementStart(e,u),u}function E(t,e,n,r){let o=R(),i=ue(),s=Ae+t,a=o[H],u=i.firstCreatePass?$m(s,i,o,e,n,r):i.data[s],c=Um(i,o,u,a,e,t);o[s]=c;let l=Ni(u);return on(u,!0),Mc(a,c,u),(u.flags&32)!==32&&ki()&&Yi(i,o,c,u),oh()===0&&Je(c,o),ih(),l&&(Lc(i,o,u),kc(i,u,o)),r!==null&&Vc(o,u),E}function b(){let t=ve();ku()?dh():(t=t.parent,on(t,!1));let e=t;uh(e)&&ch(),sh();let n=ue();return n.firstCreatePass&&(Vi(n,t),_u(t)&&n.queries.elementEnd(t)),e.classesWithoutHost!=null&&Mh(e)&&bi(n,e,R(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&xh(e)&&bi(n,e,R(),e.stylesWithoutHost,!1),b}function Q(t,e,n,r){return E(t,e,n,r),b(),Q}var Um=(t,e,n,r,o,i)=>(Li(!0),Cc(r,o,wh()));function us(){return R()}var Cr="en-US";var Gm=Cr;function zm(t){vf(t,"Expected localeId to be defined"),typeof t=="string"&&(Gm=t.toLowerCase().replace(/_/g,"-"))}function dn(t){return!!t&&typeof t.then=="function"}function ll(t){return!!t&&typeof t.subscribe=="function"}function le(t,e,n,r){let o=R(),i=ue(),s=ve();return qm(i,o,o[H],s,t,e,r),le}function Wm(t,e,n,r){let o=t.cleanup;if(o!=null)for(let i=0;i<o.length-1;i+=2){let s=o[i];if(s===n&&o[i+1]===r){let a=e[Qt],u=o[i+2];return a.length>u?a[u]:null}typeof s=="string"&&(i+=2)}return null}function qm(t,e,n,r,o,i,s){let a=Ni(r),c=t.firstCreatePass&&Tg(t),l=e[ae],d=Sg(e),f=!0;if(r.type&3||s){let I=ye(r,e),C=s?s(I):I,g=d.length,L=s?F=>s(Ie(F[r.index])):r.index,U=null;if(!s&&a&&(U=Wm(t,e,o,r.index)),U!==null){let F=U.__ngLastListenerFn__||U;F.__ngNextListenerFn__=i,U.__ngLastListenerFn__=i,f=!1}else{i=iu(r,e,l,i,!1);let F=n.listen(C,o,i);d.push(i,F),c&&c.push(o,L,g,g+1)}}else i=iu(r,e,l,i,!1);let h=r.outputs,p;if(f&&h!==null&&(p=h[o])){let I=p.length;if(I)for(let C=0;C<I;C+=2){let g=p[C],L=p[C+1],De=e[g][L].subscribe(i),K=d.length;d.push(i,De),c&&c.push(o,r.index,K,-(K+1))}}}function ou(t,e,n,r){try{return Ee(6,e,n),n(r)!==!1}catch(o){return qc(t,o),!1}finally{Ee(7,e,n)}}function iu(t,e,n,r,o){return function i(s){if(s===Function)return r;let a=t.componentOffset>-1?tt(t.index,e):e;rs(a);let u=ou(e,n,r,s),c=i.__ngNextListenerFn__;for(;c;)u=ou(e,n,c,s)&&u,c=c.__ngNextListenerFn__;return o&&u===!1&&s.preventDefault(),u}}function cs(t=1){return Eh(t)}function ls(t,e,n){return dl(t,"",e,"",n),ls}function dl(t,e,n,r,o){let i=R(),s=nl(i,e,n,r);if(s!==ce){let a=ue(),u=Gu();Bc(a,u,i,t,s,i[H],o,!1)}return dl}function Ft(t){let e=fh();return Xf(e,Ae+t)}function O(t,e=""){let n=R(),r=ue(),o=t+Ae,i=r.firstCreatePass?Or(r,o,1,e,null):r.data[o],s=Zm(r,n,i,e,t);n[o]=s,ki()&&Yi(r,n,s,i),on(i,!1)}var Zm=(t,e,n,r,o)=>(Li(!0),mp(e[H],r));function kr(t){return fn("",t,""),kr}function fn(t,e,n){let r=R(),o=nl(r,t,e,n);return o!==ce&&Zc(r,je(),o),fn}function ds(t,e,n,r,o){let i=R(),s=sm(i,t,e,n,r,o);return s!==ce&&Zc(i,je(),s),ds}function Ym(t,e,n){let r=ue();if(r.firstCreatePass){let o=Ve(t);Ii(n,r.data,r.blueprint,o,!0),Ii(e,r.data,r.blueprint,o,!1)}}function Ii(t,e,n,r,o){if(t=z(t),Array.isArray(t))for(let i=0;i<t.length;i++)Ii(t[i],e,n,r,o);else{let i=ue(),s=R(),a=ve(),u=It(t)?t:z(t.provide),c=fc(t),l=a.providerIndexes&1048575,d=a.directiveStart,f=a.providerIndexes>>20;if(It(t)||!t.multi){let h=new Ke(c,o,N),p=Ho(u,e,o?l:l+f,d);p===-1?(Ko(cr(a,s),i,u),Bo(i,t,e.length),e.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(h),s.push(h)):(n[p]=h,s[p]=h)}else{let h=Ho(u,e,l+f,d),p=Ho(u,e,l,l+f),I=h>=0&&n[h],C=p>=0&&n[p];if(o&&!C||!o&&!I){Ko(cr(a,s),i,u);let g=Jm(o?Km:Qm,n.length,o,r,c);!o&&C&&(n[p].providerFactory=g),Bo(i,t,e.length,0),e.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(g),s.push(g)}else{let g=fl(n[o?p:h],c,!o&&r);Bo(i,t,h>-1?h:p,g)}!o&&r&&C&&n[p].componentProviders++}}}function Bo(t,e,n,r){let o=It(e),i=tp(e);if(o||i){let u=(i?z(e.useClass):e).prototype.ngOnDestroy;if(u){let c=t.destroyHooks||(t.destroyHooks=[]);if(!o&&e.multi){let l=c.indexOf(n);l===-1?c.push(n,[r,u]):c[l+1].push(r,u)}else c.push(n,u)}}}function fl(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function Ho(t,e,n,r){for(let o=n;o<r;o++)if(e[o]===t)return o;return-1}function Qm(t,e,n,r){return _i(this.multi,[])}function Km(t,e,n,r){let o=this.multi,i;if(this.providerFactory){let s=this.providerFactory.componentProviders,a=bt(n,n[M],this.providerFactory.index,r);i=a.slice(0,s),_i(o,i);for(let u=s;u<a.length;u++)i.push(a[u])}else i=[],_i(o,i);return i}function _i(t,e){for(let n=0;n<t.length;n++){let r=t[n];e.push(r())}return e}function Jm(t,e,n,r,o){let i=new Ke(t,n,N);return i.multi=[],i.index=e,i.componentProviders=0,fl(i,o,r&&!n),i}function Lr(t,e=[]){return n=>{n.providersResolver=(r,o)=>Ym(r,o?o(t):t,e)}}var xt=class{},Mi=class{};var Er=class extends xt{constructor(e,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new vi(this);let o=Wf(e);this._bootstrapComponents=lp(o.bootstrap),this._r3Injector=hc(e,n,[{provide:xt,useValue:this},{provide:Xi,useValue:this.componentFactoryResolver},...r],W(e),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(e)}get injector(){return this._r3Injector}destroy(){let e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}},xi=class extends Mi{constructor(e){super(),this.moduleType=e}create(e){return new Er(this.moduleType,e,[])}};function Xm(t,e,n){return new Er(t,e,n)}function Vr(t,e,n,r){return ty(R(),hh(),t,e,n,r)}function ey(t,e){let n=t[e];return n===ce?void 0:n}function ty(t,e,n,r,o,i){let s=e+n;return Xe(t,s,o)?om(t,s+1,i?r.call(i,o):r(o)):ey(t,s+1)}var fs=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=oy;let t=e;return t})(),ny=fs,ry=class extends ny{constructor(e,n,r){super(),this._declarationLView=e,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,n){return this.createEmbeddedViewImpl(e,n)}createEmbeddedViewImpl(e,n,r){let o=Tm(this._declarationLView,this._declarationTContainer,e,{injector:n,dehydratedView:r});return new en(o)}};function oy(){return iy(ve(),R())}function iy(t,e){return t.type&4?new ry(e,t,Ar(t,e)):null}var Qn=null;function sy(t){Qn!==null&&(t.defaultEncapsulation!==Qn.defaultEncapsulation||t.preserveWhitespaces!==Qn.preserveWhitespaces)||(Qn=t)}var ay=new m("Application Initializer"),hl=(()=>{let e=class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o}),this.appInits=P(ay,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let r=[];for(let i of this.appInits){let s=i();if(dn(s))r.push(s);else if(ll(s)){let a=new Promise((u,c)=>{s.subscribe({complete:u,error:c})});r.push(a)}}let o=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{o()}).catch(i=>{this.reject(i)}),r.length===0&&o(),this.initialized=!0}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function uy(){return typeof $localize<"u"&&$localize.locale||Cr}var hs=new m("LocaleId",{providedIn:"root",factory:()=>P(hs,x.Optional|x.SkipSelf)||uy()});var jr=(()=>{let e=class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Ht(!1)}add(){this.hasPendingTasks.next(!0);let r=this.taskId++;return this.pendingTasks.add(r),r}remove(r){this.pendingTasks.delete(r),this.pendingTasks.size===0&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var cy=new m("compilerOptions");var ps=new m(""),hn=new m(""),Br=(()=>{let e=class e{constructor(r,o,i){this._ngZone=r,this.registry=o,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,gs||(ly(i),i.addToWindow(o)),this._watchAngularEvents(),r.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:()=>{k.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&&this._pendingCount===0&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let r=this._callbacks.pop();clearTimeout(r.timeoutId),r.doneCb(this._didWork)}this._didWork=!1});else{let r=this.getPendingTasks();this._callbacks=this._callbacks.filter(o=>o.updateCb&&o.updateCb(r)?(clearTimeout(o.timeoutId),!1):!0),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(r=>({source:r.source,creationLocation:r.creationLocation,data:r.data})):[]}addCallback(r,o,i){let s=-1;o&&o>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==s),r(this._didWork,this.getPendingTasks())},o)),this._callbacks.push({doneCb:r,timeoutId:s,updateCb:i})}whenStable(r,o,i){if(i&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(r,o,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(r){this.registry.registerApplication(r,this)}unregisterApplication(r){this.registry.unregisterApplication(r)}findProviders(r,o,i){return[]}};e.\u0275fac=function(o){return new(o||e)(v(k),v(Hr),v(hn))},e.\u0275prov=S({token:e,factory:e.\u0275fac});let t=e;return t})(),Hr=(()=>{let e=class e{constructor(){this._applications=new Map}registerApplication(r,o){this._applications.set(r,o)}unregisterApplication(r){this._applications.delete(r)}unregisterAllApplications(){this._applications.clear()}getTestability(r){return this._applications.get(r)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(r,o=!0){return gs?.findTestabilityInTree(this,r,o)??null}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})();function ly(t){gs=t}var gs,Wt=null,pl=new m("AllowMultipleToken"),gl=new m("PlatformDestroyListeners"),ml=new m("appBootstrapListener");function dy(t,e,n){let r=new xi(n);return Promise.resolve(r)}function fy(){Ks(()=>{throw new D(600,!1)})}function hy(t){return t.isBoundToModule}function py(t){if(Wt&&!Wt.get(pl,!1))throw new D(400,!1);fy(),Wt=t;let e=t.get(vl);return gy(t),e}function gy(t){t.get(Gi,null)?.forEach(n=>n())}function ms(t,e,n=[]){let r=`Platform: ${e}`,o=new m(r);return(i=[])=>{let s=yl();if(!s||s.injector.get(pl,!1)){let a=[...n,...i,{provide:o,useValue:!0}];t?t(a):py(yy(a,r))}return my(o)}}function my(t){let e=yl();if(!e)throw new D(401,!1);return e}function yy(t=[],e){return nt.create({name:e,providers:[{provide:Sr,useValue:"platform"},{provide:gl,useValue:new Set([()=>Wt=null])},...t]})}function yl(){return Wt?.get(vl)??null}var vl=(()=>{let e=class e{constructor(r){this._injector=r,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(r,o){let i=Dy(o?.ngZone,vy({eventCoalescing:o?.ngZoneEventCoalescing,runCoalescing:o?.ngZoneRunCoalescing}));return i.run(()=>{let s=Xm(r.moduleType,this.injector,by(()=>i)),a=s.injector.get(Fe,null);return i.runOutsideAngular(()=>{let u=i.onError.subscribe({next:c=>{a.handleError(c)}});s.onDestroy(()=>{tr(this._modules,s),u.unsubscribe()})}),Cy(a,i,()=>{let u=s.injector.get(hl);return u.runInitializers(),u.donePromise.then(()=>{let c=s.injector.get(hs,Cr);return zm(c||Cr),this._moduleDoBootstrap(s),s})})})}bootstrapModule(r,o=[]){let i=Dl({},o);return dy(this.injector,i,r).then(s=>this.bootstrapModuleFactory(s,i))}_moduleDoBootstrap(r){let o=r.injector.get(pn);if(r._bootstrapComponents.length>0)r._bootstrapComponents.forEach(i=>o.bootstrap(i));else if(r.instance.ngDoBootstrap)r.instance.ngDoBootstrap(o);else throw new D(-403,!1);this._modules.push(r)}onDestroy(r){this._destroyListeners.push(r)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new D(404,!1);this._modules.slice().forEach(o=>o.destroy()),this._destroyListeners.forEach(o=>o());let r=this._injector.get(gl,null);r&&(r.forEach(o=>o()),r.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}};e.\u0275fac=function(o){return new(o||e)(v(nt))},e.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})();function vy(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}function Dy(t="zone.js",e){return t==="noop"?new mi:t==="zone.js"?new k(e):t}function Cy(t,e,n){try{let r=n();return dn(r)?r.catch(o=>{throw e.runOutsideAngular(()=>t.handleError(o)),o}):r}catch(r){throw e.runOutsideAngular(()=>t.handleError(r)),r}}function Dl(t,e){return Array.isArray(e)?e.reduce(Dl,t):V(V({},t),e)}var pn=(()=>{let e=class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=P(Cl),this.zoneIsStable=P(el),this.componentTypes=[],this.components=[],this.isStable=P(jr).hasPendingTasks.pipe($t(r=>r?lt(!1):this.zoneIsStable),Mo(),zn()),this._injector=P(Ne)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(r,o){let i=r instanceof gr;if(!this._injector.get(hl).done){let p="Cannot bootstrap as there are still asynchronous initializers running."+(!i&&zf(r)?"":" Bootstrap components in the `ngDoBootstrap` method of the root module.");throw new D(405,!1)}let a;i?a=r:a=this._injector.get(Xi).resolveComponentFactory(r),this.componentTypes.push(a.componentType);let u=hy(a)?void 0:this._injector.get(xt),c=o||a.selector,l=a.create(nt.NULL,[],c,u),d=l.location.nativeElement,f=l.injector.get(ps,null);return f?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),tr(this.components,l),f?.unregisterApplication(d)}),this._loadComponent(l),l}tick(){if(this._runningTick)throw new D(101,!1);try{this._runningTick=!0;for(let r of this._views)r.detectChanges()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1}}attachView(r){let o=r;this._views.push(o),o.attachToAppRef(this)}detachView(r){let o=r;tr(this._views,o),o.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);let o=this._injector.get(ml,[]);[...this._bootstrapListeners,...o].forEach(i=>i(r))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(r=>r()),this._views.slice().forEach(r=>r.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(r){return this._destroyListeners.push(r),()=>tr(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new D(406,!1);let r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function tr(t,e){let n=t.indexOf(e);n>-1&&t.splice(n,1)}function su(t){for(let e=t.length-1;e>=0;e--)if(t[e]!==void 0)return t[e]}var Cl=new m("",{providedIn:"root",factory:()=>P(Fe).handleError.bind(void 0)});function Ey(){let t=P(k),e=P(Fe);return n=>t.runOutsideAngular(()=>e.handleError(n))}var wy=(()=>{let e=class e{constructor(){this.zone=P(k),this.applicationRef=P(pn)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function by(t){return[{provide:k,useFactory:t},{provide:xr,multi:!0,useFactory:()=>{let e=P(wy,{optional:!0});return()=>e.initialize()}},{provide:Cl,useFactory:Ey},{provide:el,useFactory:tl}]}var El=ms(null,"core",[]),wl=(()=>{let e=class e{constructor(r){}};e.\u0275fac=function(o){return new(o||e)(v(pn))},e.\u0275mod=ne({type:e}),e.\u0275inj=te({});let t=e;return t})();var ys=null;function ot(){return ys}function Il(t){ys||(ys=t)}var $r=class{},Me=new m("DocumentToken");function Ur(t,e){e=encodeURIComponent(e);for(let n of t.split(";")){let r=n.indexOf("="),[o,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===e)return decodeURIComponent(i)}return null}var vs=class{constructor(e,n,r,o){this.$implicit=e,this.ngForOf=n,this.index=r,this.count=o}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},_l=(()=>{let e=class e{set ngForOf(r){this._ngForOf=r,this._ngForOfDirty=!0}set ngForTrackBy(r){this._trackByFn=r}get ngForTrackBy(){return this._trackByFn}constructor(r,o,i){this._viewContainer=r,this._template=o,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(r){r&&(this._template=r)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let r=this._ngForOf;if(!this._differ&&r)if(!1)try{}catch{}else this._differ=this._differs.find(r).create(this.ngForTrackBy)}if(this._differ){let r=this._differ.diff(this._ngForOf);r&&this._applyChanges(r)}}_applyChanges(r){let o=this._viewContainer;r.forEachOperation((i,s,a)=>{if(i.previousIndex==null)o.createEmbeddedView(this._template,new vs(i.item,this._ngForOf,-1,-1),a===null?void 0:a);else if(a==null)o.remove(s===null?void 0:s);else if(s!==null){let u=o.get(s);o.move(u,a),bl(u,i)}});for(let i=0,s=o.length;i<s;i++){let u=o.get(i).context;u.index=i,u.count=s,u.ngForOf=this._ngForOf}r.forEachIdentityChange(i=>{let s=o.get(i.currentIndex);bl(s,i)})}static ngTemplateContextGuard(r,o){return!0}};e.\u0275fac=function(o){return new(o||e)(N(ss),N(fs),N(es))},e.\u0275dir=_e({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});let t=e;return t})();function bl(t,e){t.context.$implicit=e.item}var Ml=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=ne({type:e}),e.\u0275inj=te({});let t=e;return t})(),xl="browser",xy="server";function Ds(t){return t===xy}var Pt=class{};var mn=class{},zr=class{},it=class t{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?typeof e=="string"?this.lazyInit=()=>{this.headers=new Map,e.split(`
`).forEach(n=>{let r=n.indexOf(":");if(r>0){let 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"&&e instanceof Headers?(this.headers=new Map,e.forEach((n,r)=>{this.setHeaderEntries(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();let n=this.headers.get(e.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,n){return this.clone({name:e,value:n,op:"a"})}set(e,n){return this.clone({name:e,value:n,op:"s"})}delete(e,n){return this.clone({name:e,value:n,op:"d"})}maybeSetNormalizedName(e,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,e)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(n=>{this.headers.set(n,e.headers.get(n)),this.normalizedNames.set(n,e.normalizedNames.get(n))})}clone(e){let n=new t;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([e]),n}applyUpdate(e){let n=e.name.toLowerCase();switch(e.op){case"a":case"s":let r=e.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(e.name,n);let o=(e.op==="a"?this.headers.get(n):void 0)||[];o.push(...r),this.headers.set(n,o);break;case"d":let i=e.value;if(!i)this.headers.delete(n),this.normalizedNames.delete(n);else{let s=this.headers.get(n);if(!s)return;s=s.filter(a=>i.indexOf(a)===-1),s.length===0?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}break}}setHeaderEntries(e,n){let r=(Array.isArray(n)?n:[n]).map(i=>i.toString()),o=e.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(e,o)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>e(this.normalizedNames.get(n),this.headers.get(n)))}};var Es=class{encodeKey(e){return Tl(e)}encodeValue(e){return Tl(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function Ay(t,e){let n=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(o=>{let i=o.indexOf("="),[s,a]=i==-1?[e.decodeKey(o),""]:[e.decodeKey(o.slice(0,i)),e.decodeValue(o.slice(i+1))],u=n.get(s)||[];u.push(a),n.set(s,u)}),n}var Ny=/%(\d[a-f0-9])/gi,Oy={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Tl(t){return encodeURIComponent(t).replace(Ny,(e,n)=>Oy[n]??e)}function Gr(t){return`${t}`}var $e=class t{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new Es,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=Ay(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(n=>{let r=e.fromObject[n],o=Array.isArray(r)?r.map(Gr):[Gr(r)];this.map.set(n,o)})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();let n=this.map.get(e);return n?n[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,n){return this.clone({param:e,value:n,op:"a"})}appendAll(e){let n=[];return Object.keys(e).forEach(r=>{let o=e[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(e,n){return this.clone({param:e,value:n,op:"s"})}delete(e,n){return this.clone({param:e,value:n,op:"d"})}toString(){return this.init(),this.keys().map(e=>{let n=this.encoder.encodeKey(e);return this.map.get(e).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(e=>e!=="").join("&")}clone(e){let n=new t({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(e),n}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":let n=(e.op==="a"?this.map.get(e.param):void 0)||[];n.push(Gr(e.value)),this.map.set(e.param,n);break;case"d":if(e.value!==void 0){let r=this.map.get(e.param)||[],o=r.indexOf(Gr(e.value));o!==-1&&r.splice(o,1),r.length>0?this.map.set(e.param,r):this.map.delete(e.param)}else{this.map.delete(e.param);break}}}),this.cloneFrom=this.updates=null)}};var ws=class{constructor(){this.map=new Map}set(e,n){return this.map.set(e,n),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}};function Fy(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Al(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function Nl(t){return typeof Blob<"u"&&t instanceof Blob}function Ol(t){return typeof FormData<"u"&&t instanceof FormData}function Py(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var gn=class t{constructor(e,n,r,o){this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase();let i;if(Fy(this.method)||o?(this.body=r!==void 0?r:null,i=o):i=r,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),this.transferCache=i.transferCache),this.headers||(this.headers=new it),this.context||(this.context=new ws),!this.params)this.params=new $e,this.urlWithParams=n;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=n;else{let a=n.indexOf("?"),u=a===-1?"?":a<n.length-1?"&":"";this.urlWithParams=n+u+s}}}serializeBody(){return this.body===null?null:Al(this.body)||Nl(this.body)||Ol(this.body)||Py(this.body)||typeof this.body=="string"?this.body:this.body instanceof $e?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||Ol(this.body)?null:Nl(this.body)?this.body.type||null:Al(this.body)?null:typeof this.body=="string"?"text/plain":this.body instanceof $e?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?"application/json":null}clone(e={}){let n=e.method||this.method,r=e.url||this.url,o=e.responseType||this.responseType,i=e.body!==void 0?e.body:this.body,s=e.withCredentials!==void 0?e.withCredentials:this.withCredentials,a=e.reportProgress!==void 0?e.reportProgress:this.reportProgress,u=e.headers||this.headers,c=e.params||this.params,l=e.context??this.context;return e.setHeaders!==void 0&&(u=Object.keys(e.setHeaders).reduce((d,f)=>d.set(f,e.setHeaders[f]),u)),e.setParams&&(c=Object.keys(e.setParams).reduce((d,f)=>d.set(f,e.setParams[f]),c)),new t(n,r,i,{params:c,headers:u,context:l,reportProgress:a,responseType:o,withCredentials:s})}},Rt=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}(Rt||{}),yn=class{constructor(e,n=200,r="OK"){this.headers=e.headers||new it,this.status=e.status!==void 0?e.status:n,this.statusText=e.statusText||r,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}},bs=class t extends yn{constructor(e={}){super(e),this.type=Rt.ResponseHeader}clone(e={}){return new t({headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},Wr=class t extends yn{constructor(e={}){super(e),this.type=Rt.Response,this.body=e.body!==void 0?e.body:null}clone(e={}){return new t({body:e.body!==void 0?e.body:this.body,headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},qr=class extends yn{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${e.url||"(unknown url)"}`:this.message=`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}};function Cs(t,e){return{body:e,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,transferCache:t.transferCache}}var Is=(()=>{let e=class e{constructor(r){this.handler=r}request(r,o,i={}){let s;if(r instanceof gn)s=r;else{let c;i.headers instanceof it?c=i.headers:c=new it(i.headers);let l;i.params&&(i.params instanceof $e?l=i.params:l=new $e({fromObject:i.params})),s=new gn(r,o,i.body!==void 0?i.body:null,{headers:c,context:i.context,params:l,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials,transferCache:i.transferCache})}let a=lt(s).pipe(_o(c=>this.handler.handle(c)));if(r instanceof gn||i.observe==="events")return a;let u=a.pipe(Io(c=>c instanceof Wr));switch(i.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return u.pipe(ie(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return c.body}));case"blob":return u.pipe(ie(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new Error("Response is not a Blob.");return c.body}));case"text":return u.pipe(ie(c=>{if(c.body!==null&&typeof c.body!="string")throw new Error("Response is not a string.");return c.body}));case"json":default:return u.pipe(ie(c=>c.body))}case"response":return u;default:throw new Error(`Unreachable: unhandled observe type ${i.observe}}`)}}delete(r,o={}){return this.request("DELETE",r,o)}get(r,o={}){return this.request("GET",r,o)}head(r,o={}){return this.request("HEAD",r,o)}jsonp(r,o){return this.request("JSONP",r,{params:new $e().append(o,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(r,o={}){return this.request("OPTIONS",r,o)}patch(r,o,i={}){return this.request("PATCH",r,Cs(i,o))}post(r,o,i={}){return this.request("POST",r,Cs(i,o))}put(r,o,i={}){return this.request("PUT",r,Cs(i,o))}};e.\u0275fac=function(o){return new(o||e)(v(mn))},e.\u0275prov=S({token:e,factory:e.\u0275fac});let t=e;return t})();function kl(t,e){return e(t)}function Ry(t,e){return(n,r)=>e.intercept(n,{handle:o=>t(o,r)})}function ky(t,e,n){return(r,o)=>n.runInContext(()=>e(r,i=>t(i,o)))}var Ly=new m(""),_s=new m(""),Vy=new m(""),jy=new m("");function By(){let t=null;return(e,n)=>{t===null&&(t=(P(Ly,{optional:!0})??[]).reduceRight(Ry,kl));let r=P(jr),o=r.add();return t(e,n).pipe(Gn(()=>r.remove(o)))}}var Fl=(()=>{let e=class e extends mn{constructor(r,o){super(),this.backend=r,this.injector=o,this.chain=null,this.pendingTasks=P(jr);let i=P(jy,{optional:!0});this.backend=i??r}handle(r){if(this.chain===null){let i=Array.from(new Set([...this.injector.get(_s),...this.injector.get(Vy,[])]));this.chain=i.reduceRight((s,a)=>ky(s,a,this.injector),kl)}let o=this.pendingTasks.add();return this.chain(r,i=>this.backend.handle(i)).pipe(Gn(()=>this.pendingTasks.remove(o)))}};e.\u0275fac=function(o){return new(o||e)(v(zr),v(Ne))},e.\u0275prov=S({token:e,factory:e.\u0275fac});let t=e;return t})();var Hy=/^\)\]\}',?\n/;function $y(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}var Pl=(()=>{let e=class e{constructor(r){this.xhrFactory=r}handle(r){if(r.method==="JSONP")throw new D(-2800,!1);let o=this.xhrFactory;return(o.\u0275loadImpl?Se(o.\u0275loadImpl()):lt(null)).pipe($t(()=>new A(s=>{let a=o.build();if(a.open(r.method,r.urlWithParams),r.withCredentials&&(a.withCredentials=!0),r.headers.forEach((C,g)=>a.setRequestHeader(C,g.join(","))),r.headers.has("Accept")||a.setRequestHeader("Accept","application/json, text/plain, */*"),!r.headers.has("Content-Type")){let C=r.detectContentTypeHeader();C!==null&&a.setRequestHeader("Content-Type",C)}if(r.responseType){let C=r.responseType.toLowerCase();a.responseType=C!=="json"?C:"text"}let u=r.serializeBody(),c=null,l=()=>{if(c!==null)return c;let C=a.statusText||"OK",g=new it(a.getAllResponseHeaders()),L=$y(a)||r.url;return c=new bs({headers:g,status:a.status,statusText:C,url:L}),c},d=()=>{let{headers:C,status:g,statusText:L,url:U}=l(),F=null;g!==204&&(F=typeof a.response>"u"?a.responseText:a.response),g===0&&(g=F?200:0);let De=g>=200&&g<300;if(r.responseType==="json"&&typeof F=="string"){let K=F;F=F.replace(Hy,"");try{F=F!==""?JSON.parse(F):null}catch(Re){F=K,De&&(De=!1,F={error:Re,text:F})}}De?(s.next(new Wr({body:F,headers:C,status:g,statusText:L,url:U||void 0})),s.complete()):s.error(new qr({error:F,headers:C,status:g,statusText:L,url:U||void 0}))},f=C=>{let{url:g}=l(),L=new qr({error:C,status:a.status||0,statusText:a.statusText||"Unknown Error",url:g||void 0});s.error(L)},h=!1,p=C=>{h||(s.next(l()),h=!0);let g={type:Rt.DownloadProgress,loaded:C.loaded};C.lengthComputable&&(g.total=C.total),r.responseType==="text"&&a.responseText&&(g.partialText=a.responseText),s.next(g)},I=C=>{let g={type:Rt.UploadProgress,loaded:C.loaded};C.lengthComputable&&(g.total=C.total),s.next(g)};return a.addEventListener("load",d),a.addEventListener("error",f),a.addEventListener("timeout",f),a.addEventListener("abort",f),r.reportProgress&&(a.addEventListener("progress",p),u!==null&&a.upload&&a.upload.addEventListener("progress",I)),a.send(u),s.next({type:Rt.Sent}),()=>{a.removeEventListener("error",f),a.removeEventListener("abort",f),a.removeEventListener("load",d),a.removeEventListener("timeout",f),r.reportProgress&&(a.removeEventListener("progress",p),u!==null&&a.upload&&a.upload.removeEventListener("progress",I)),a.readyState!==a.DONE&&a.abort()}})))}};e.\u0275fac=function(o){return new(o||e)(v(Pt))},e.\u0275prov=S({token:e,factory:e.\u0275fac});let t=e;return t})(),Ll=new m("XSRF_ENABLED"),Uy="XSRF-TOKEN",Gy=new m("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>Uy}),zy="X-XSRF-TOKEN",Wy=new m("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>zy}),Zr=class{},qy=(()=>{let e=class e{constructor(r,o,i){this.doc=r,this.platform=o,this.cookieName=i,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let r=this.doc.cookie||"";return r!==this.lastCookieString&&(this.parseCount++,this.lastToken=Ur(r,this.cookieName),this.lastCookieString=r),this.lastToken}};e.\u0275fac=function(o){return new(o||e)(v(Me),v(Be),v(Gy))},e.\u0275prov=S({token:e,factory:e.\u0275fac});let t=e;return t})();function Zy(t,e){let n=t.url.toLowerCase();if(!P(Ll)||t.method==="GET"||t.method==="HEAD"||n.startsWith("http://")||n.startsWith("https://"))return e(t);let r=P(Zr).getToken(),o=P(Wy);return r!=null&&!t.headers.has(o)&&(t=t.clone({headers:t.headers.set(o,r)})),e(t)}var Vl=function(t){return t[t.Interceptors=0]="Interceptors",t[t.LegacyInterceptors=1]="LegacyInterceptors",t[t.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",t[t.NoXsrfProtection=3]="NoXsrfProtection",t[t.JsonpSupport=4]="JsonpSupport",t[t.RequestsMadeViaParent=5]="RequestsMadeViaParent",t[t.Fetch=6]="Fetch",t}(Vl||{});function Yy(t,e){return{\u0275kind:t,\u0275providers:e}}function Qy(...t){let e=[Is,Pl,Fl,{provide:mn,useExisting:Fl},{provide:zr,useExisting:Pl},{provide:_s,useValue:Zy,multi:!0},{provide:Ll,useValue:!0},{provide:Zr,useClass:qy}];for(let n of t)e.push(...n.\u0275providers);return $i(e)}var Rl=new m("LEGACY_INTERCEPTOR_FN");function Ky(){return Yy(Vl.LegacyInterceptors,[{provide:Rl,useFactory:By},{provide:_s,useExisting:Rl,multi:!0}])}var jl=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=ne({type:e}),e.\u0275inj=te({providers:[Qy(Ky())]});let t=e;return t})();var Ss=class extends $r{constructor(){super(...arguments),this.supportsDOMEvents=!0}},Ts=class t extends Ss{static makeCurrent(){Il(new t)}onAndCancel(e,n,r){return e.addEventListener(n,r),()=>{e.removeEventListener(n,r)}}dispatchEvent(e,n){e.dispatchEvent(n)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,n){return n=n||this.getDefaultDocument(),n.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,n){return n==="window"?window:n==="document"?e:n==="body"?e.body:null}getBaseHref(e){let n=ev();return n==null?null:tv(n)}resetBaseElement(){vn=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return Ur(document.cookie,e)}},vn=null;function ev(){return vn=vn||document.querySelector("base"),vn?vn.getAttribute("href"):null}var Yr;function tv(t){Yr=Yr||document.createElement("a"),Yr.setAttribute("href",t);let e=Yr.pathname;return e.charAt(0)==="/"?e:`/${e}`}var As=class{addToWindow(e){ee.getAngularTestability=(r,o=!0)=>{let i=e.findTestabilityInTree(r,o);if(i==null)throw new D(5103,!1);return i},ee.getAllAngularTestabilities=()=>e.getAllTestabilities(),ee.getAllAngularRootElements=()=>e.getAllRootElements();let n=r=>{let o=ee.getAllAngularTestabilities(),i=o.length,s=!1,a=function(u){s=s||u,i--,i==0&&r(s)};o.forEach(u=>{u.whenStable(a)})};ee.frameworkStabilizers||(ee.frameworkStabilizers=[]),ee.frameworkStabilizers.push(n)}findTestabilityInTree(e,n,r){if(n==null)return null;let o=e.getTestability(n);return o??(r?ot().isShadowRoot(n)?this.findTestabilityInTree(e,n.host,!0):this.findTestabilityInTree(e,n.parentElement,!0):null)}},nv=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=S({token:e,factory:e.\u0275fac});let t=e;return t})(),Ns=new m("EventManagerPlugins"),Ul=(()=>{let e=class e{constructor(r,o){this._zone=o,this._eventNameToPlugin=new Map,r.forEach(i=>{i.manager=this}),this._plugins=r.slice().reverse()}addEventListener(r,o,i){return this._findPluginFor(o).addEventListener(r,o,i)}getZone(){return this._zone}_findPluginFor(r){let o=this._eventNameToPlugin.get(r);if(o)return o;if(o=this._plugins.find(s=>s.supports(r)),!o)throw new D(5101,!1);return this._eventNameToPlugin.set(r,o),o}};e.\u0275fac=function(o){return new(o||e)(v(Ns),v(k))},e.\u0275prov=S({token:e,factory:e.\u0275fac});let t=e;return t})(),Qr=class{constructor(e){this._doc=e}},Ms="ng-app-id",Gl=(()=>{let e=class e{constructor(r,o,i,s={}){this.doc=r,this.appId=o,this.nonce=i,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Ds(s),this.resetHostNodes()}addStyles(r){for(let o of r)this.changeUsageCount(o,1)===1&&this.onStyleAdded(o)}removeStyles(r){for(let o of r)this.changeUsageCount(o,-1)<=0&&this.onStyleRemoved(o)}ngOnDestroy(){let r=this.styleNodesInDOM;r&&(r.forEach(o=>o.remove()),r.clear());for(let o of this.getAllStyles())this.onStyleRemoved(o);this.resetHostNodes()}addHost(r){this.hostNodes.add(r);for(let o of this.getAllStyles())this.addStyleToHost(r,o)}removeHost(r){this.hostNodes.delete(r)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(r){for(let o of this.hostNodes)this.addStyleToHost(o,r)}onStyleRemoved(r){let o=this.styleRef;o.get(r)?.elements?.forEach(i=>i.remove()),o.delete(r)}collectServerRenderedStyles(){let r=this.doc.head?.querySelectorAll(`style[${Ms}="${this.appId}"]`);if(r?.length){let o=new Map;return r.forEach(i=>{i.textContent!=null&&o.set(i.textContent,i)}),o}return null}changeUsageCount(r,o){let i=this.styleRef;if(i.has(r)){let s=i.get(r);return s.usage+=o,s.usage}return i.set(r,{usage:o,elements:[]}),o}getStyleElement(r,o){let i=this.styleNodesInDOM,s=i?.get(o);if(s?.parentNode===r)return i.delete(o),s.removeAttribute(Ms),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=o,this.platformIsServer&&a.setAttribute(Ms,this.appId),r.appendChild(a),a}}addStyleToHost(r,o){let i=this.getStyleElement(r,o),s=this.styleRef,a=s.get(o)?.elements;a?a.push(i):s.set(o,{elements:[i],usage:1})}resetHostNodes(){let r=this.hostNodes;r.clear(),r.add(this.doc.head)}};e.\u0275fac=function(o){return new(o||e)(v(Me),v(Tr),v(zi,8),v(Be))},e.\u0275prov=S({token:e,factory:e.\u0275fac});let t=e;return t})(),xs={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/"},Fs=/%COMP%/g,zl="%COMP%",rv=`_nghost-${zl}`,ov=`_ngcontent-${zl}`,iv=!0,sv=new m("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>iv});function av(t){return ov.replace(Fs,t)}function uv(t){return rv.replace(Fs,t)}function Wl(t,e){return e.map(n=>n.replace(Fs,t))}var Bl=(()=>{let e=class e{constructor(r,o,i,s,a,u,c,l=null){this.eventManager=r,this.sharedStylesHost=o,this.appId=i,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=u,this.ngZone=c,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=Ds(u),this.defaultRenderer=new Dn(r,a,c,this.platformIsServer)}createRenderer(r,o){if(!r||!o)return this.defaultRenderer;this.platformIsServer&&o.encapsulation===be.ShadowDom&&(o=q(V({},o),{encapsulation:be.Emulated}));let i=this.getOrCreateRenderer(r,o);return i instanceof Kr?i.applyToHost(r):i instanceof Cn&&i.applyStyles(),i}getOrCreateRenderer(r,o){let i=this.rendererByCompId,s=i.get(o.id);if(!s){let a=this.doc,u=this.ngZone,c=this.eventManager,l=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,f=this.platformIsServer;switch(o.encapsulation){case be.Emulated:s=new Kr(c,l,o,this.appId,d,a,u,f);break;case be.ShadowDom:return new Os(c,l,r,o,a,u,this.nonce,f);default:s=new Cn(c,l,o,d,a,u,f);break}i.set(o.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(o){return new(o||e)(v(Ul),v(Gl),v(Tr),v(sv),v(Me),v(Be),v(k),v(zi))},e.\u0275prov=S({token:e,factory:e.\u0275fac});let t=e;return t})(),Dn=class{constructor(e,n,r,o){this.eventManager=e,this.doc=n,this.ngZone=r,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,n){return n?this.doc.createElementNS(xs[n]||n,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,n){(Hl(e)?e.content:e).appendChild(n)}insertBefore(e,n,r){e&&(Hl(e)?e.content:e).insertBefore(n,r)}removeChild(e,n){e&&e.removeChild(n)}selectRootElement(e,n){let r=typeof e=="string"?this.doc.querySelector(e):e;if(!r)throw new D(-5104,!1);return n||(r.textContent=""),r}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,n,r,o){if(o){n=o+":"+n;let i=xs[o];i?e.setAttributeNS(i,n,r):e.setAttribute(n,r)}else e.setAttribute(n,r)}removeAttribute(e,n,r){if(r){let o=xs[r];o?e.removeAttributeNS(o,n):e.removeAttribute(`${r}:${n}`)}else e.removeAttribute(n)}addClass(e,n){e.classList.add(n)}removeClass(e,n){e.classList.remove(n)}setStyle(e,n,r,o){o&(Oe.DashCase|Oe.Important)?e.style.setProperty(n,r,o&Oe.Important?"important":""):e.style[n]=r}removeStyle(e,n,r){r&Oe.DashCase?e.style.removeProperty(n):e.style[n]=""}setProperty(e,n,r){e!=null&&(e[n]=r)}setValue(e,n){e.nodeValue=n}listen(e,n,r){if(typeof e=="string"&&(e=ot().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${n}`);return this.eventManager.addEventListener(e,n,this.decoratePreventDefault(r))}decoratePreventDefault(e){return n=>{if(n==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(n)):e(n))===!1&&n.preventDefault()}}};function Hl(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var Os=class extends Dn{constructor(e,n,r,o,i,s,a,u){super(e,i,s,u),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let c=Wl(o.id,o.styles);for(let l of c){let d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=l,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,n){return super.appendChild(this.nodeOrShadowRoot(e),n)}insertBefore(e,n,r){return super.insertBefore(this.nodeOrShadowRoot(e),n,r)}removeChild(e,n){return super.removeChild(this.nodeOrShadowRoot(e),n)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Cn=class extends Dn{constructor(e,n,r,o,i,s,a,u){super(e,i,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o,this.styles=u?Wl(u,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},Kr=class extends Cn{constructor(e,n,r,o,i,s,a,u){let c=o+"-"+r.id;super(e,n,r,i,s,a,u,c),this.contentAttr=av(c),this.hostAttr=uv(c)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,n){let r=super.createElement(e,n);return super.setAttribute(r,this.contentAttr,""),r}},cv=(()=>{let e=class e extends Qr{constructor(r){super(r)}supports(r){return!0}addEventListener(r,o,i){return r.addEventListener(o,i,!1),()=>this.removeEventListener(r,o,i)}removeEventListener(r,o,i){return r.removeEventListener(o,i)}};e.\u0275fac=function(o){return new(o||e)(v(Me))},e.\u0275prov=S({token:e,factory:e.\u0275fac});let t=e;return t})(),$l=["alt","control","meta","shift"],lv={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},dv={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},fv=(()=>{let e=class e extends Qr{constructor(r){super(r)}supports(r){return e.parseEventName(r)!=null}addEventListener(r,o,i){let s=e.parseEventName(o),a=e.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>ot().onAndCancel(r,s.domEventName,a))}static parseEventName(r){let o=r.toLowerCase().split("."),i=o.shift();if(o.length===0||!(i==="keydown"||i==="keyup"))return null;let s=e._normalizeKey(o.pop()),a="",u=o.indexOf("code");if(u>-1&&(o.splice(u,1),a="code."),$l.forEach(l=>{let d=o.indexOf(l);d>-1&&(o.splice(d,1),a+=l+".")}),a+=s,o.length!=0||s.length===0)return null;let c={};return c.domEventName=i,c.fullKey=a,c}static matchEventFullKeyCode(r,o){let i=lv[r.key]||r.key,s="";return o.indexOf("code.")>-1&&(i=r.code,s="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),$l.forEach(a=>{if(a!==i){let u=dv[a];u(r)&&(s+=a+".")}}),s+=i,s===o)}static eventCallback(r,o,i){return s=>{e.matchEventFullKeyCode(s,r)&&i.runGuarded(()=>o(s))}}static _normalizeKey(r){return r==="esc"?"escape":r}};e.\u0275fac=function(o){return new(o||e)(v(Me))},e.\u0275prov=S({token:e,factory:e.\u0275fac});let t=e;return t})();function hv(){Ts.makeCurrent()}function pv(){return new Fe}function gv(){return pc(document),document}var mv=[{provide:Be,useValue:xl},{provide:Gi,useValue:hv,multi:!0},{provide:Me,useFactory:gv,deps:[]}],ql=ms(El,"browser",mv),yv=new m(""),vv=[{provide:hn,useClass:As,deps:[]},{provide:ps,useClass:Br,deps:[k,Hr,hn]},{provide:Br,useClass:Br,deps:[k,Hr,hn]}],Dv=[{provide:Sr,useValue:"root"},{provide:Fe,useFactory:pv,deps:[]},{provide:Ns,useClass:cv,multi:!0,deps:[Me,k,Be]},{provide:Ns,useClass:fv,multi:!0,deps:[Me]},Bl,Gl,Ul,{provide:Xt,useExisting:Bl},{provide:Pt,useClass:nv,deps:[]},[]],Zl=(()=>{let e=class e{constructor(r){}static withServerTransition(r){return{ngModule:e,providers:[{provide:Tr,useValue:r.appId}]}}};e.\u0275fac=function(o){return new(o||e)(v(yv,12))},e.\u0275mod=ne({type:e}),e.\u0275inj=te({providers:[...Dv,...vv],imports:[Ml,wl]});let t=e;return t})();var rd=(()=>{let e=class e{constructor(r,o){this._renderer=r,this._elementRef=o,this.onChange=i=>{},this.onTouched=()=>{}}setProperty(r,o){this._renderer.setProperty(this._elementRef.nativeElement,r,o)}registerOnTouched(r){this.onTouched=r}registerOnChange(r){this.onChange=r}setDisabledState(r){this.setProperty("disabled",r)}};e.\u0275fac=function(o){return new(o||e)(N(cn),N(Ot))},e.\u0275dir=_e({type:e});let t=e;return t})(),Ev=(()=>{let e=class e extends rd{};e.\u0275fac=(()=>{let r;return function(i){return(r||(r=nc(e)))(i||e)}})(),e.\u0275dir=_e({type:e,features:[He]});let t=e;return t})(),od=new m("NgValueAccessor");var wv={provide:od,useExisting:St(()=>so),multi:!0};function bv(){let t=ot()?ot().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var Iv=new m("CompositionEventMode"),so=(()=>{let e=class e extends rd{constructor(r,o,i){super(r,o),this._compositionMode=i,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!bv())}writeValue(r){let o=r??"";this.setProperty("value",o)}_handleInput(r){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(r)}_compositionStart(){this._composing=!0}_compositionEnd(r){this._composing=!1,this._compositionMode&&this.onChange(r)}};e.\u0275fac=function(o){return new(o||e)(N(cn),N(Ot),N(Iv,8))},e.\u0275dir=_e({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(o,i){o&1&&le("input",function(a){return i._handleInput(a.target.value)})("blur",function(){return i.onTouched()})("compositionstart",function(){return i._compositionStart()})("compositionend",function(a){return i._compositionEnd(a.target.value)})},features:[Lr([wv]),He]});let t=e;return t})();function Ue(t){return t==null||(typeof t=="string"||Array.isArray(t))&&t.length===0}function id(t){return t!=null&&typeof t.length=="number"}var sd=new m("NgValidators"),ad=new m("NgAsyncValidators"),_v=/^(?=.{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])?)*$/,Lt=class{static min(e){return Mv(e)}static max(e){return xv(e)}static required(e){return Sv(e)}static requiredTrue(e){return Tv(e)}static email(e){return Av(e)}static minLength(e){return Nv(e)}static maxLength(e){return Ov(e)}static pattern(e){return Fv(e)}static nullValidator(e){return ud(e)}static compose(e){return pd(e)}static composeAsync(e){return md(e)}};function Mv(t){return e=>{if(Ue(e.value)||Ue(t))return null;let n=parseFloat(e.value);return!isNaN(n)&&n<t?{min:{min:t,actual:e.value}}:null}}function xv(t){return e=>{if(Ue(e.value)||Ue(t))return null;let n=parseFloat(e.value);return!isNaN(n)&&n>t?{max:{max:t,actual:e.value}}:null}}function Sv(t){return Ue(t.value)?{required:!0}:null}function Tv(t){return t.value===!0?null:{required:!0}}function Av(t){return Ue(t.value)||_v.test(t.value)?null:{email:!0}}function Nv(t){return e=>Ue(e.value)||!id(e.value)?null:e.value.length<t?{minlength:{requiredLength:t,actualLength:e.value.length}}:null}function Ov(t){return e=>id(e.value)&&e.value.length>t?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null}function Fv(t){if(!t)return ud;let e,n;return typeof t=="string"?(n="",t.charAt(0)!=="^"&&(n+="^"),n+=t,t.charAt(t.length-1)!=="$"&&(n+="$"),e=new RegExp(n)):(n=t.toString(),e=t),r=>{if(Ue(r.value))return null;let o=r.value;return e.test(o)?null:{pattern:{requiredPattern:n,actualValue:o}}}}function ud(t){return null}function cd(t){return t!=null}function ld(t){return dn(t)?Se(t):t}function dd(t){let e={};return t.forEach(n=>{e=n!=null?V(V({},e),n):e}),Object.keys(e).length===0?null:e}function fd(t,e){return e.map(n=>n(t))}function Pv(t){return!t.validate}function hd(t){return t.map(e=>Pv(e)?e:n=>e.validate(n))}function pd(t){if(!t)return null;let e=t.filter(cd);return e.length==0?null:function(n){return dd(fd(n,e))}}function gd(t){return t!=null?pd(hd(t)):null}function md(t){if(!t)return null;let e=t.filter(cd);return e.length==0?null:function(n){let r=fd(n,e).map(ld);return wo(r).pipe(ie(dd))}}function yd(t){return t!=null?md(hd(t)):null}function Yl(t,e){return t===null?[e]:Array.isArray(t)?[...t,e]:[t,e]}function vd(t){return t._rawValidators}function Dd(t){return t._rawAsyncValidators}function Ps(t){return t?Array.isArray(t)?t:[t]:[]}function eo(t,e){return Array.isArray(t)?t.includes(e):t===e}function Ql(t,e){let n=Ps(e);return Ps(t).forEach(o=>{eo(n,o)||n.push(o)}),n}function Kl(t,e){return Ps(e).filter(n=>!eo(t,n))}var to=class{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(e){this._rawValidators=e||[],this._composedValidatorFn=gd(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=yd(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e=void 0){this.control&&this.control.reset(e)}hasError(e,n){return this.control?this.control.hasError(e,n):!1}getError(e,n){return this.control?this.control.getError(e,n):null}},Vt=class extends to{get formDirective(){return null}get path(){return null}},bn=class extends to{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},no=class{constructor(e){this._cd=e}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}},Rv={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},Vb=q(V({},Rv),{"[class.ng-submitted]":"isSubmitted"}),Cd=(()=>{let e=class e extends no{constructor(r){super(r)}};e.\u0275fac=function(o){return new(o||e)(N(bn,2))},e.\u0275dir=_e({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(o,i){o&2&&Pr("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)},features:[He]});let t=e;return t})(),Ed=(()=>{let e=class e extends no{constructor(r){super(r)}};e.\u0275fac=function(o){return new(o||e)(N(Vt,10))},e.\u0275dir=_e({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(o,i){o&2&&Pr("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)("ng-submitted",i.isSubmitted)},features:[He]});let t=e;return t})();var En="VALID",Jr="INVALID",kt="PENDING",wn="DISABLED";function Ls(t){return(ao(t)?t.validators:t)||null}function kv(t){return Array.isArray(t)?gd(t):t||null}function Vs(t,e){return(ao(e)?e.asyncValidators:t)||null}function Lv(t){return Array.isArray(t)?yd(t):t||null}function ao(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function wd(t,e,n){let r=t.controls;if(!(e?Object.keys(r):r).length)throw new D(1e3,"");if(!r[n])throw new D(1001,"")}function bd(t,e,n){t._forEachChild((r,o)=>{if(n[o]===void 0)throw new D(1002,"")})}var jt=class{constructor(e,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(e),this._assignAsyncValidators(n)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get valid(){return this.status===En}get invalid(){return this.status===Jr}get pending(){return this.status==kt}get disabled(){return this.status===wn}get enabled(){return this.status!==wn}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators(Ql(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(Ql(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(Kl(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(Kl(e,this._rawAsyncValidators))}hasValidator(e){return eo(this._rawValidators,e)}hasAsyncValidator(e){return eo(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(e=>e.markAllAsTouched())}markAsUntouched(e={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(n=>{n.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}markAsDirty(e={}){this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}markAsPristine(e={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(n=>{n.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}markAsPending(e={}){this.status=kt,e.emitEvent!==!1&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){let n=this._parentMarkedDirty(e.onlySelf);this.status=wn,this.errors=null,this._forEachChild(r=>{r.disable(q(V({},e),{onlySelf:!0}))}),this._updateValue(),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(q(V({},e),{skipPristineCheck:n})),this._onDisabledChange.forEach(r=>r(!0))}enable(e={}){let n=this._parentMarkedDirty(e.onlySelf);this.status=En,this._forEachChild(r=>{r.enable(q(V({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(q(V({},e),{skipPristineCheck:n})),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===En||this.status===kt)&&this._runAsyncValidator(e.emitEvent)),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(n=>n._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?wn:En}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status=kt,this._hasOwnPendingAsyncValidator=!0;let n=ld(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(r=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(r,{emitEvent:e})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(e,n={}){this.errors=e,this._updateControlsErrors(n.emitEvent!==!1)}get(e){let n=e;return n==null||(Array.isArray(n)||(n=n.split(".")),n.length===0)?null:n.reduce((r,o)=>r&&r._find(o),this)}getError(e,n){let r=n?this.get(n):this;return r&&r.errors?r.errors[e]:null}hasError(e,n){return!!this.getError(e,n)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}_initObservables(){this.valueChanges=new Y,this.statusChanges=new Y}_calculateStatus(){return this._allControlsDisabled()?wn:this.errors?Jr:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(kt)?kt:this._anyControlsHaveStatus(Jr)?Jr:En}_anyControlsHaveStatus(e){return this._anyControls(n=>n.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e={}){this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}_updateTouched(e={}){this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){ao(e)&&e.updateOn!=null&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){let n=this._parent&&this._parent.dirty;return!e&&!!n&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=kv(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=Lv(this._rawAsyncValidators)}},ro=class extends jt{constructor(e,n,r){super(Ls(n),Vs(r,n)),this.controls=e,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(e,n){return this.controls[e]?this.controls[e]:(this.controls[e]=n,n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange),n)}addControl(e,n,r={}){this.registerControl(e,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(e,n={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}setControl(e,n,r={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],n&&this.registerControl(e,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,n={}){bd(this,!0,e),Object.keys(e).forEach(r=>{wd(this,!0,r),this.controls[r].setValue(e[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(e,n={}){e!=null&&(Object.keys(e).forEach(r=>{let o=this.controls[r];o&&o.patchValue(e[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(e={},n={}){this._forEachChild((r,o)=>{r.reset(e?e[o]:null,{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n),this._updateTouched(n),this.updateValueAndValidity(n)}getRawValue(){return this._reduceChildren({},(e,n,r)=>(e[r]=n.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(n,r)=>r._syncPendingControls()?!0:n);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){Object.keys(this.controls).forEach(n=>{let r=this.controls[n];r&&e(r,n)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(let[n,r]of Object.entries(this.controls))if(this.contains(n)&&e(r))return!0;return!1}_reduceValue(){let e={};return this._reduceChildren(e,(n,r,o)=>((r.enabled||this.disabled)&&(n[o]=r.value),n))}_reduceChildren(e,n){let r=e;return this._forEachChild((o,i)=>{r=n(r,o,i)}),r}_allControlsDisabled(){for(let e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(e){return this.controls.hasOwnProperty(e)?this.controls[e]:null}};var Rs=class extends ro{};var Id=new m("CallSetDisabledState",{providedIn:"root",factory:()=>js}),js="always";function Vv(t,e){return[...e.path,t]}function Jl(t,e,n=js){Bs(t,e),e.valueAccessor.writeValue(t.value),(t.disabled||n==="always")&&e.valueAccessor.setDisabledState?.(t.disabled),Bv(t,e),$v(t,e),Hv(t,e),jv(t,e)}function Xl(t,e,n=!0){let r=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(r),e.valueAccessor.registerOnTouched(r)),io(t,e),t&&(e._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function oo(t,e){t.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(e)})}function jv(t,e){if(e.valueAccessor.setDisabledState){let n=r=>{e.valueAccessor.setDisabledState(r)};t.registerOnDisabledChange(n),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(n)})}}function Bs(t,e){let n=vd(t);e.validator!==null?t.setValidators(Yl(n,e.validator)):typeof n=="function"&&t.setValidators([n]);let r=Dd(t);e.asyncValidator!==null?t.setAsyncValidators(Yl(r,e.asyncValidator)):typeof r=="function"&&t.setAsyncValidators([r]);let o=()=>t.updateValueAndValidity();oo(e._rawValidators,o),oo(e._rawAsyncValidators,o)}function io(t,e){let n=!1;if(t!==null){if(e.validator!==null){let o=vd(t);if(Array.isArray(o)&&o.length>0){let i=o.filter(s=>s!==e.validator);i.length!==o.length&&(n=!0,t.setValidators(i))}}if(e.asyncValidator!==null){let o=Dd(t);if(Array.isArray(o)&&o.length>0){let i=o.filter(s=>s!==e.asyncValidator);i.length!==o.length&&(n=!0,t.setAsyncValidators(i))}}}let r=()=>{};return oo(e._rawValidators,r),oo(e._rawAsyncValidators,r),n}function Bv(t,e){e.valueAccessor.registerOnChange(n=>{t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&_d(t,e)})}function Hv(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&_d(t,e),t.updateOn!=="submit"&&t.markAsTouched()})}function _d(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function $v(t,e){let n=(r,o)=>{e.valueAccessor.writeValue(r),o&&e.viewToModelUpdate(r)};t.registerOnChange(n),e._registerOnDestroy(()=>{t._unregisterOnChange(n)})}function Uv(t,e){t==null,Bs(t,e)}function Gv(t,e){return io(t,e)}function zv(t,e){if(!t.hasOwnProperty("model"))return!1;let n=t.model;return n.isFirstChange()?!0:!Object.is(e,n.currentValue)}function Wv(t){return Object.getPrototypeOf(t.constructor)===Ev}function qv(t,e){t._syncPendingControls(),e.forEach(n=>{let r=n.control;r.updateOn==="submit"&&r._pendingChange&&(n.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}function Zv(t,e){if(!e)return null;Array.isArray(e);let n,r,o;return e.forEach(i=>{i.constructor===so?n=i:Wv(i)?r=i:o=i}),o||r||n||null}function Yv(t,e){let n=t.indexOf(e);n>-1&&t.splice(n,1)}function ed(t,e){let n=t.indexOf(e);n>-1&&t.splice(n,1)}function td(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var Xr=class extends jt{constructor(e=null,n,r){super(Ls(n),Vs(r,n)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(e),this._setUpdateStrategy(n),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),ao(n)&&(n.nonNullable||n.initialValueIsDefault)&&(td(e)?this.defaultValue=e.value:this.defaultValue=e)}setValue(e,n={}){this.value=this._pendingValue=e,this._onChange.length&&n.emitModelToViewChange!==!1&&this._onChange.forEach(r=>r(this.value,n.emitViewToModelChange!==!1)),this.updateValueAndValidity(n)}patchValue(e,n={}){this.setValue(e,n)}reset(e=this.defaultValue,n={}){this._applyFormState(e),this.markAsPristine(n),this.markAsUntouched(n),this.setValue(this.value,n),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){ed(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){ed(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(e){td(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}};var Qv=t=>t instanceof Xr;var Kv=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=ne({type:e}),e.\u0275inj=te({});let t=e;return t})();var Md=new m("NgModelWithFormControlWarning");var Jv={provide:Vt,useExisting:St(()=>Hs)},Hs=(()=>{let e=class e extends Vt{constructor(r,o,i){super(),this.callSetDisabledState=i,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new Y,this._setValidators(r),this._setAsyncValidators(o)}ngOnChanges(r){this._checkFormPresent(),r.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(io(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(r){let o=this.form.get(r.path);return Jl(o,r,this.callSetDisabledState),o.updateValueAndValidity({emitEvent:!1}),this.directives.push(r),o}getControl(r){return this.form.get(r.path)}removeControl(r){Xl(r.control||null,r,!1),Yv(this.directives,r)}addFormGroup(r){this._setUpFormContainer(r)}removeFormGroup(r){this._cleanUpFormContainer(r)}getFormGroup(r){return this.form.get(r.path)}addFormArray(r){this._setUpFormContainer(r)}removeFormArray(r){this._cleanUpFormContainer(r)}getFormArray(r){return this.form.get(r.path)}updateModel(r,o){this.form.get(r.path).setValue(o)}onSubmit(r){return this.submitted=!0,qv(this.form,this.directives),this.ngSubmit.emit(r),r?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(r=void 0){this.form.reset(r),this.submitted=!1}_updateDomValue(){this.directives.forEach(r=>{let o=r.control,i=this.form.get(r.path);o!==i&&(Xl(o||null,r),Qv(i)&&(Jl(i,r,this.callSetDisabledState),r.control=i))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(r){let o=this.form.get(r.path);Uv(o,r),o.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(r){if(this.form){let o=this.form.get(r.path);o&&Gv(o,r)&&o.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Bs(this.form,this),this._oldForm&&io(this._oldForm,this)}_checkFormPresent(){this.form}};e.\u0275fac=function(o){return new(o||e)(N(sd,10),N(ad,10),N(Id,8))},e.\u0275dir=_e({type:e,selectors:[["","formGroup",""]],hostBindings:function(o,i){o&1&&le("submit",function(a){return i.onSubmit(a)})("reset",function(){return i.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Lr([Jv]),He,rn]});let t=e;return t})();var Xv={provide:bn,useExisting:St(()=>$s)},$s=(()=>{let e=class e extends bn{set isDisabled(r){}constructor(r,o,i,s,a){super(),this._ngModelWarningConfig=a,this._added=!1,this.name=null,this.update=new Y,this._ngModelWarningSent=!1,this._parent=r,this._setValidators(o),this._setAsyncValidators(i),this.valueAccessor=Zv(this,s)}ngOnChanges(r){this._added||this._setUpControl(),zv(r,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(r){this.viewModel=r,this.update.emit(r)}get path(){return Vv(this.name==null?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}};e._ngModelWarningSentOnce=!1,e.\u0275fac=function(o){return new(o||e)(N(Vt,13),N(sd,10),N(ad,10),N(od,10),N(Md,8))},e.\u0275dir=_e({type:e,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[Lr([Xv]),He,rn]});let t=e;return t})();var e0=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=ne({type:e}),e.\u0275inj=te({imports:[Kv]});let t=e;return t})(),ks=class extends jt{constructor(e,n,r){super(Ls(n),Vs(r,n)),this.controls=e,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(e){return this.controls[this._adjustIndex(e)]}push(e,n={}){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}insert(e,n,r={}){this.controls.splice(e,0,n),this._registerControl(n),this.updateValueAndValidity({emitEvent:r.emitEvent})}removeAt(e,n={}){let r=this._adjustIndex(e);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),this.updateValueAndValidity({emitEvent:n.emitEvent})}setControl(e,n,r={}){let o=this._adjustIndex(e);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(e,n={}){bd(this,!1,e),e.forEach((r,o)=>{wd(this,!1,o),this.at(o).setValue(r,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(e,n={}){e!=null&&(e.forEach((r,o)=>{this.at(o)&&this.at(o).patchValue(r,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(e=[],n={}){this._forEachChild((r,o)=>{r.reset(e[o],{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n),this._updateTouched(n),this.updateValueAndValidity(n)}getRawValue(){return this.controls.map(e=>e.getRawValue())}clear(e={}){this.controls.length<1||(this._forEachChild(n=>n._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:e.emitEvent}))}_adjustIndex(e){return e<0?e+this.length:e}_syncPendingControls(){let e=this.controls.reduce((n,r)=>r._syncPendingControls()?!0:n,!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){this.controls.forEach((n,r)=>{e(n,r)})}_updateValue(){this.value=this.controls.filter(e=>e.enabled||this.disabled).map(e=>e.value)}_anyControls(e){return this.controls.some(n=>n.enabled&&e(n))}_setUpControls(){this._forEachChild(e=>this._registerControl(e))}_allControlsDisabled(){for(let e of this.controls)if(e.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)}_find(e){return this.at(e)??null}};function nd(t){return!!t&&(t.asyncValidators!==void 0||t.validators!==void 0||t.updateOn!==void 0)}var xd=(()=>{let e=class e{constructor(){this.useNonNullable=!1}get nonNullable(){let r=new e;return r.useNonNullable=!0,r}group(r,o=null){let i=this._reduceControls(r),s={};return nd(o)?s=o:o!==null&&(s.validators=o.validator,s.asyncValidators=o.asyncValidator),new ro(i,s)}record(r,o=null){let i=this._reduceControls(r);return new Rs(i,o)}control(r,o,i){let s={};return this.useNonNullable?(nd(o)?s=o:(s.validators=o,s.asyncValidators=i),new Xr(r,q(V({},s),{nonNullable:!0}))):new Xr(r,o,i)}array(r,o,i){let s=r.map(a=>this._createControl(a));return new ks(s,o,i)}_reduceControls(r){let o={};return Object.keys(r).forEach(i=>{o[i]=this._createControl(r[i])}),o}_createControl(r){if(r instanceof Xr)return r;if(r instanceof jt)return r;if(Array.isArray(r)){let o=r[0],i=r.length>1?r[1]:null,s=r.length>2?r[2]:null;return this.control(o,i,s)}else return this.control(r)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var Sd=(()=>{let e=class e{static withConfig(r){return{ngModule:e,providers:[{provide:Md,useValue:r.warnOnNgModelWithFormControl??"always"},{provide:Id,useValue:r.callSetDisabledState??js}]}}};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=ne({type:e}),e.\u0275inj=te({imports:[e0]});let t=e;return t})();var Td=(()=>{let e=class e{constructor(r){this.http=r}sendOrder(r){return this.http.post("https://testologia.site/burgers-order",r)}getData(){return this.http.get("https://testologia.site/burgers-data?extra=black")}};e.\u0275fac=function(o){return new(o||e)(v(Is))},e.\u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function r0(t,e){if(t&1){let n=us();E(0,"div",47)(1,"div",48),Q(2,"img",49),b(),E(3,"div",50),O(4),b(),E(5,"div",51),O(6),b(),E(7,"div",52)(8,"div",53)(9,"div",54),O(10),b(),E(11,"div",55),O(12),b()(),E(13,"div",56)(14,"button",57),le("click",function(){let i=At(n).$implicit,s=cs(),a=Ft(63);return Nt(s.scrollTo(a,i))}),E(15,"span"),O(16,"\u0412\u044B\u0431\u0440\u0430\u0442\u044C"),b(),E(17,"span"),zu(),E(18,"svg",58),Q(19,"path",59),b()()()()()()}if(t&2){let n=e.$implicit,r=cs();re(2),ls("src",n.image,Tc),re(2),kr(n.title),re(2),fn(" ",n.text," "),re(4),ds("",n.price," ",r.currency,""),re(2),fn("",n.grams," \u0433\u0440")}}var Us=t=>({error:t}),Ad=(()=>{let e=class e{constructor(r,o){this.fb=r,this.appService=o,this.currency="$",this.form=this.fb.group({order:["",Lt.required],name:["",Lt.required],phone:["",Lt.required]})}ngOnInit(){this.appService.getData().subscribe(r=>this.productsData=r)}scrollTo(r,o){r.scrollIntoView({behavior:"smooth"}),o&&this.form.patchValue({order:o.title+" ("+o.price+" "+this.currency+")"})}confirmOrder(){this.form.valid&&this.appService.sendOrder(this.form.value).subscribe({next:r=>{alert(r.message),this.form.reset()},error:r=>{alert(r.error.message)}})}changeCurrency(){let r="$",o=1;this.currency==="$"?(r="\u20BD",o=80):this.currency==="\u20BD"?(r="BYN",o=3):this.currency==="BYN"?(r="\u20AC",o=.9):this.currency==="\u20AC"&&(r="\xA5",o=6.9),this.currency=r,this.productsData.forEach(i=>{i.price=+(i.basePrice*o).toFixed(1)})}};e.\u0275fac=function(o){return new(o||e)(N(xd),N(Td))},e.\u0275cmp=vu({type:e,selectors:[["app-root"]],decls:86,vars:16,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-images"],["id","why",1,"why"],["why",""],[1,"why-title","common-title"],[1,"why-items"],[1,"why-item"],["src","./assets/images/burger.png","alt","burger",1,"why-item-image"],[1,"why-item-title"],[1,"why-item-text"],["src","./assets/images/meat.png","alt","meat",1,"why-item-image"],["src","./assets/images/food_truck.png","alt","food truck",1,"why-item-image"],["id","products",1,"products"],["products",""],[1,"products-title","common-title"],[1,"products-items"],["class","products-item",4,"ngFor","ngForOf"],["id","order",1,"order"],["order",""],[1,"order-title","common-title"],["src","./assets/images/order_image.png","alt","Burger in the box",1,"order-images"],[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"],[1,"products-item"],[1,"products-item-image"],["alt","Burger",3,"src"],[1,"products-item-title"],[1,"products-item-text"],[1,"products-item-extra"],[1,"products-item-info"],[1,"products-item-price"],[1,"products-item-weight"],[1,"products-item-action"],[1,"button","product-button",3,"click"],["xmlns","http://www.w3.org/2000/svg","width","24","height","25","viewBox","0 0 24 25","fill","none"],["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"]],template:function(o,i){if(o&1){let s=us();E(0,"section",0)(1,"header",1)(2,"div",2)(3,"div",3),Q(4,"img",4),b(),E(5,"nav",5)(6,"ul",6)(7,"li",7)(8,"a",8),le("click",function(){At(s);let u=Ft(32);return Nt(i.scrollTo(u))}),O(9,"\u041F\u043E\u0447\u0435\u043C\u0443 \u0443 \u043D\u0430\u0441"),b()(),E(10,"li",7)(11,"a",8),le("click",function(){At(s);let u=Ft(56);return Nt(i.scrollTo(u))}),O(12,"\u041C\u0435\u043D\u044E \u0431\u0443\u0440\u0433\u0435\u0440\u043E\u0432"),b()(),E(13,"li",7)(14,"a",8),le("click",function(){At(s);let u=Ft(63);return Nt(i.scrollTo(u))}),O(15,"\u041E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u0435 \u0437\u0430\u043A\u0430\u0437\u0430"),b()()()(),E(16,"div",9),le("click",function(){return i.changeCurrency()}),O(17),b()()(),E(18,"section",10)(19,"div",2)(20,"div",11)(21,"span",12),O(22,"\u041D\u043E\u0432\u043E\u0435 \u043C\u0435\u043D\u044E"),b(),E(23,"h1",13),O(24,"\u0411\u0443\u0440\u0433\u0435\u0440 \u0447\u0435\u0434\u0434\u0435\u0440"),b(),E(25,"p",14),O(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. "),b(),E(27,"div",15)(28,"button",16),le("click",function(){At(s);let u=Ft(56);return Nt(i.scrollTo(u))}),O(29,"\u0421\u043C\u043E\u0442\u0440\u0435\u0442\u044C \u043C\u0435\u043D\u044E"),b()()(),Q(30,"img",17),b()()(),E(31,"section",18,19)(33,"div",2)(34,"div",20),O(35,"\u043F\u043E\u0447\u0435\u043C\u0443 \u043D\u0430\u0441 \u0432\u044B\u0431\u0438\u0440\u0430\u044E\u0442?"),b(),E(36,"div",21)(37,"div",22),Q(38,"img",23),E(39,"div",24),O(40,"\u0410\u0432\u0442\u043E\u0440\u0441\u043A\u0438\u0435 \u0440\u0435\u0446\u0435\u043F\u0442\u044B"),b(),E(41,"div",25),O(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\xA0\u043D\u0435\xA0\u043F\u043E\u0445\u043E\u0436\u0438 \u043D\u0438\xA0\u043D\u0430\xA0\u043A\u0430\u043A\u0438\u0435 \u0434\u0440\u0443\u0433\u0438\u0435. \u041C\u044B\xA0\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\xA0\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. "),b()(),E(43,"div",22),Q(44,"img",26),E(45,"div",24),O(46,"\u041C\u0440\u0430\u043C\u043E\u0440\u043D\u0430\u044F \u0433\u043E\u0432\u044F\u0434\u0438\u043D\u0430"),b(),E(47,"div",25),O(48," \u0414\u043B\u044F \u043D\u0430\u0448\u0438\u0445 \u0431\u0443\u0440\u0433\u0435\u0440\u043E\u0432 \u043C\u044B\xA0\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\xA0\u0444\u0435\u0440\u043C\u0435\u0440\u043E\u0432. \u041C\u044B\xA0\u0443\u0432\u0435\u0440\u0435\u043D\u044B \u0432\xA0\u043A\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043D\u0430\u0448\u0435\u0433\u043E \u043C\u044F\u0441\u0430. "),b()(),E(49,"div",22),Q(50,"img",27),E(51,"div",24),O(52,"\u0411\u044B\u0441\u0442\u0440\u0430\u044F \u0434\u043E\u0441\u0442\u0430\u0432\u043A\u0430"),b(),E(53,"div",25),O(54," \u041C\u044B\xA0\u0434\u043E\u0441\u0442\u0430\u0432\u043B\u044F\u0435\u043C \u0432\xA0\u043F\u0440\u0435\u0434\u0435\u043B\u0430\u0445 \u041C\u041A\u0410\u0414 \u0437\u0430\xA030\xA0\u043C\u0438\u043D\u0443\u0442, \u0430\xA0\u0435\u0441\u043B\u0438 \u043D\u0435\xA0\u0443\u0441\u043F\u0435\u0435\u043C\xA0\u2014 \u0434\u043E\u0441\u0442\u0430\u0432\u043A\u0430 \u0431\u0435\u0441\u043F\u043B\u0430\u0442\u043D\u043E. \u041C\u044B\xA0\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\xA0\u0434\u043E\u0440\u043E\u0433\u0435 \u043E\u043D\u0438 \u043D\u0435\xA0\u043E\u0441\u0442\u044B\u043B\u0438. "),b()()()()(),E(55,"section",28,29)(57,"div",2)(58,"div",30),O(59,"\u0432\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0441\u0432\u043E\u0439 \u0431\u0443\u0440\u0433\u0435\u0440"),b(),E(60,"div",31),as(61,r0,20,6,"div",32),b()()(),E(62,"section",33,34)(64,"div",2)(65,"div",35),O(66,"\u043E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u0435 \u0437\u0430\u043A\u0430\u0437\u0430"),b(),Q(67,"img",36),E(68,"div",37)(69,"div",38),O(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 "),b(),E(71,"div",39)(72,"div",40),Q(73,"input",41),b(),E(74,"div",40),Q(75,"input",42),b(),E(76,"div",40),Q(77,"input",43),b(),E(78,"button",44),le("click",function(){return i.confirmOrder()}),O(79,"\u041E\u0444\u043E\u0440\u043C\u0438\u0442\u044C \u0437\u0430\u043A\u0430\u0437"),b()()()()(),E(80,"footer",45)(81,"div",2)(82,"div",3),Q(83,"img",4),b(),E(84,"div",46),O(85,"\u0412\u0441\u0435 \u043F\u0440\u0430\u0432\u0430 \u0437\u0430\u0449\u0438\u0449\u0435\u043D\u044B"),b()()()}if(o&2){let s,a,u;re(17),kr(i.currency),re(44),ln("ngForOf",i.productsData),re(10),ln("formGroup",i.form),re(1),Rr(Vr(10,Us,((s=i.form.get("order"))==null?null:s.invalid)&&(((s=i.form.get("order"))==null?null:s.dirty)||((s=i.form.get("order"))==null?null:s.touched)))),re(2),Rr(Vr(12,Us,((a=i.form.get("name"))==null?null:a.invalid)&&(((a=i.form.get("name"))==null?null:a.dirty)||((a=i.form.get("name"))==null?null:a.touched)))),re(2),Rr(Vr(14,Us,((u=i.form.get("phone"))==null?null:u.invalid)&&(((u=i.form.get("phone"))==null?null:u.dirty)||((u=i.form.get("phone"))==null?null:u.touched)))),re(2),ln("disabled",!i.form.valid)}},dependencies:[_l,so,Cd,Ed,Hs,$s],styles:['.main[_ngcontent-%COMP%]{background-image:url("./media/main_bg-G27ERTNA.png");background-position:top center;overflow:hidden}.header[_ngcontent-%COMP%]{padding:40px 0}.header[_ngcontent-%COMP%] .container[_ngcontent-%COMP%]{display:flex;align-items:center}.logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{vertical-align:bottom}.menu[_ngcontent-%COMP%]{margin-left:191px}.menu-list[_ngcontent-%COMP%]{list-style:none;display:flex}.menu-item[_ngcontent-%COMP%]{margin-right:88px}.menu-item[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff;font-size:18px;text-decoration:none;cursor:pointer}.menu-item[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{border-bottom:2px solid white}.currency[_ngcontent-%COMP%]{border:2px solid white;border-radius:5px;width:45px;height:45px;text-align:center;cursor:pointer;margin-left:auto;font-size:18px;-webkit-user-select:none;user-select:none;padding:11px 0;box-sizing:border-box}.main-content[_ngcontent-%COMP%]{padding:103px 0 199px}.main-content[_ngcontent-%COMP%] .container[_ngcontent-%COMP%]{position:relative}.main-info[_ngcontent-%COMP%]{max-width:608px}.main-small-info[_ngcontent-%COMP%]{display:inline-block;background:#D3320F;border-radius:100px;padding:12px 16px;font-size:18px}.main-title[_ngcontent-%COMP%]{font-size:120px;font-family:Merriweather,sans-serif;line-height:156px;letter-spacing:3.6px;text-transform:uppercase;margin-bottom:56px}.main-text[_ngcontent-%COMP%]{font-size:24px;line-height:29px;margin-bottom:56px}.main-images[_ngcontent-%COMP%]{position:absolute;top:-123px;left:calc(100% - 991px)}.why[_ngcontent-%COMP%]{background-image:url("./media/whybg-OCZSIUBV.png");background-position:top center;background-size:initial;padding-bottom:180px}.why-items[_ngcontent-%COMP%]{margin-top:60px;display:grid;gap:100px;grid-template-columns:repeat(3,312px);justify-content:center}.why-item[_ngcontent-%COMP%]{text-align:center}.why-item-title[_ngcontent-%COMP%]{font-size:24px;line-height:29px;padding:24px 0}.why-item-text[_ngcontent-%COMP%]{font-size:16px;line-height:140%}.products[_ngcontent-%COMP%]{background-image:url("./media/burgers_bg-53VAL4V2.png");background-position:top center;background-size:1400px;padding-bottom:180px}.products-items[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(3,384px);gap:24px;margin-top:60px}.products-item[_ngcontent-%COMP%]{padding:30px;background:#211A16;border-radius:16px;border:1px solid #353535}.products-item-image[_ngcontent-%COMP%]{height:250px}.products-item-image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:100%}.products-item-title[_ngcontent-%COMP%]{font-size:24px;line-height:29px;margin:24px 0}.products-item-text[_ngcontent-%COMP%]{font-size:16px;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%]{font-size:16px;line-height:18px;color:#757575}.button.product-button[_ngcontent-%COMP%]{display:flex;justify-content:center;width:182px;height:62px}.button[_ngcontent-%COMP%] .product-button[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:first-child{margin-right:10px}.order[_ngcontent-%COMP%]{background-image:url("./media/order_bg-AXNCMWSR.png");background-position:top center;background-repeat:no-repeat;padding-bottom:180px;overflow:hidden}.order[_ngcontent-%COMP%] .container[_ngcontent-%COMP%]{position:relative}.order-images[_ngcontent-%COMP%]{position:absolute;top:0;right:calc(100% - 764px);z-index:-1}.order-form[_ngcontent-%COMP%]{border-radius:16px;border:1px solid #353535;background:#211A16;margin-top:60px;width:426px;padding:60px 40px;box-sizing:border-box;margin-left:674px}.order-form-text[_ngcontent-%COMP%]{font-size:24px;line-height:29px;text-align:center}.order-form-inputs[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin-top:40px}.order-form-input[_ngcontent-%COMP%]{width:344px;height:62px;background:linear-gradient(95.61deg,#DA8023 0%,#E2B438 100%);border-radius:8px;margin-bottom:20px;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:16px 10px;background:#211A16;border-radius:8px;color:#fff;width:342px;height:60px;box-sizing:border-box;outline:none;border:1px solid transparent}.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;align-items:center;justify-content:space-between}.rights[_ngcontent-%COMP%]{font-size:16px;line-height:20px}']});let t=e;return t})();var Nd=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=ne({type:e,bootstrap:[Ad]}),e.\u0275inj=te({imports:[Zl,Sd,jl]});let t=e;return t})();ql().bootstrapModule(Nd).catch(t=>console.error(t));