globalThis.$localize=Object.assign(globalThis.$localize || {},{locale:"en"}); "use strict";(function(global,_global$ng,_global$ng2,_global$ng2$common,_global$ng$common,_global$ng$common$loc){(_global$ng=global.ng)!==null&&_global$ng!==void 0?_global$ng:global.ng={};(_global$ng2$common=(_global$ng2=global.ng).common)!==null&&_global$ng2$common!==void 0?_global$ng2$common:_global$ng2.common={};(_global$ng$common$loc=(_global$ng$common=global.ng.common).locales)!==null&&_global$ng$common$loc!==void 0?_global$ng$common$loc:_global$ng$common.locales={};const u=undefined;function plural(val){const n=val,i=Math.floor(Math.abs(val)),v=val.toString().replace(/^[^.]*\.?/,"").length;if(i===1&&v===0)return 1;return 5}global.ng.common.locales["en"]=["en",[["a","p"],["AM","PM"],u],[["AM","PM"],u,u],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],u,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],u,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",u,"{1} 'at' {0}",u],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",plural,[[["mi","n","in the morning","in the afternoon","in the evening","at night"],["midnight","noon","in the morning","in the afternoon","in the evening","at night"],u],[["midnight","noon","morning","afternoon","evening","night"],u,u],["00:00","12:00",["06:00","12:00"],["12:00","18:00"],["18:00","21:00"],["21:00","06:00"]]]]})(globalThis);; "use strict";(self.webpackChunkwebshop_price_tag=self.webpackChunkwebshop_price_tag||[]).push([[590],{760:(vl,Jf,Kf)=>{function Gi(e,t,n,r,o,i,s){try{var a=e[i](s),l=a.value}catch(c){return void n(c)}a.done?t(l):Promise.resolve(l).then(r,o)}let De=null,Yi=1;const Nn=Symbol("SIGNAL");function ue(e){const t=De;return De=e,t}function eh(e){if((!Do(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==Yi)){if(!e.producerMustRecompute(e)&&!Dl(e))return e.dirty=!1,void(e.lastCleanEpoch=Yi);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=Yi}}function Dl(e){cr(e);for(let t=0;t0}function cr(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let ch=null;function J(e){return"function"==typeof e}function fh(e){const n=e(r=>{Error.call(r),r.stack=(new Error).stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}const El=fh(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((r,o)=>`${o+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=n});function Qi(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class Be{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(const i of n)i.remove(this);else n.remove(this);const{initialTeardown:r}=this;if(J(r))try{r()}catch(i){t=i instanceof El?i.errors:[i]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const i of o)try{gh(i)}catch(s){t=t??[],s instanceof El?t=[...t,...s.errors]:t.push(s)}}if(t)throw new El(t)}}add(t){var n;if(t&&t!==this)if(this.closed)gh(t);else{if(t instanceof Be){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}}_hasParent(t){const{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){const{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){const{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&Qi(n,t)}remove(t){const{_finalizers:n}=this;n&&Qi(n,t),t instanceof Be&&t._removeParent(this)}}Be.EMPTY=(()=>{const e=new Be;return e.closed=!0,e})();const hh=Be.EMPTY;function ph(e){return e instanceof Be||e&&"closed"in e&&J(e.remove)&&J(e.add)&&J(e.unsubscribe)}function gh(e){J(e)?e():e.unsubscribe()}const xn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Zi={setTimeout(e,t,...n){const{delegate:r}=Zi;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=Zi;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function mh(e){Zi.setTimeout(()=>{const{onUnhandledError:t}=xn;if(!t)throw e;t(e)})}function Co(){}const SE=bl("C",void 0,void 0);function bl(e,t,n){return{kind:e,value:t,error:n}}let An=null;function Xi(e){if(xn.useDeprecatedSynchronousErrorHandling){const t=!An;if(t&&(An={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=An;if(An=null,n)throw r}}else e()}class Ml extends Be{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,ph(t)&&t.add(this)):this.destination=PE}static create(t,n,r){return new Sl(t,n,r)}next(t){this.isStopped?Tl(function NE(e){return bl("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?Tl(function TE(e){return bl("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Tl(SE,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const AE=Function.prototype.bind;function Il(e,t){return AE.call(e,t)}class OE{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Ji(r)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Ji(r)}else Ji(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Ji(n)}}}class Sl extends Ml{constructor(t,n,r){let o;if(super(),J(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&xn.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Il(t.next,i),error:t.error&&Il(t.error,i),complete:t.complete&&Il(t.complete,i)}):o=t}this.destination=new OE(o)}}function Ji(e){xn.useDeprecatedSynchronousErrorHandling?function xE(e){xn.useDeprecatedSynchronousErrorHandling&&An&&(An.errorThrown=!0,An.error=e)}(e):mh(e)}function Tl(e,t){const{onStoppedNotification:n}=xn;n&&Zi.setTimeout(()=>n(e,t))}const PE={closed:!0,next:Co,error:function RE(e){throw e},complete:Co},Nl="function"==typeof Symbol&&Symbol.observable||"@@observable";function Eo(e){return e}let ye=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){const r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){const i=function kE(e){return e&&e instanceof Ml||function LE(e){return e&&J(e.next)&&J(e.error)&&J(e.complete)}(e)&&ph(e)}(n)?n:new Sl(n,r,o);return Xi(()=>{const{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return new(r=_h(r))((o,i)=>{const s=new Sl({next:a=>{try{n(a)}catch(l){i(l),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(n)}[Nl](){return this}pipe(...n){return function yh(e){return 0===e.length?Eo:1===e.length?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}(n)(this)}toPromise(n){return new(n=_h(n))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function _h(e){var t;return null!==(t=e??xn.Promise)&&void 0!==t?t:Promise}const FE=fh(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let We=(()=>{class e extends ye{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new vh(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new FE}next(n){Xi(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(n)}})}error(n){Xi(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;const{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){Xi(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return(null===(n=this.observers)||void 0===n?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){const{hasError:r,isStopped:o,observers:i}=this;return r||o?hh:(this.currentObservers=null,i.push(n),new Be(()=>{this.currentObservers=null,Qi(i,n)}))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){const n=new ye;return n.source=this,n}}return e.create=(t,n)=>new vh(t,n),e})();class vh extends We{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.next)||void 0===r||r.call(n,t)}error(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.error)||void 0===r||r.call(n,t)}complete(){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===n||n.call(t)}_subscribe(t){var n,r;return null!==(r=null===(n=this.source)||void 0===n?void 0:n.subscribe(t))&&void 0!==r?r:hh}}class wh extends We{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){const{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}}function Ye(e){return t=>{if(function jE(e){return J(e?.lift)}(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function xe(e,t,n,r,o){return new VE(e,t,n,r,o)}class VE extends Ml{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(l){t.error(l)}}:super._next,this._error=o?function(a){try{o(a)}catch(l){t.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:n}=this;super.unsubscribe(),!n&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function qe(e,t){return Ye((n,r)=>{let o=0;n.subscribe(xe(r,i=>{r.next(e.call(t,i,o++))}))})}const Dh="https://g.co/ng/security#xss";class C extends Error{constructor(t,n){super(function ur(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function xl(e){return t=>{setTimeout(e,void 0,t)}}const ut=class BE extends We{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&"object"==typeof t){const l=t;o=l.next?.bind(l),i=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(i=xl(i),o&&(o=xl(o)),s&&(s=xl(s)));const a=super.subscribe({next:o,error:i,complete:s});return t instanceof Be&&t.add(a),a}};var $=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}($||{});function Ce(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Ce).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function Al(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}function un(e,t,n){e!=t&&function x(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(n,e,t,"==")}var es=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(es||{}),yt=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(yt||{});function Qt(e){return{toString:e}.toString()}const Q=globalThis,Pt={},U=[];function Z(e){for(let t in e)if(e[t]===Z)return t;throw Error("Could not find renamed property on target object.")}function UE(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}const bo=Z({\u0275cmp:Z}),Ol=Z({\u0275dir:Z}),Rl=Z({\u0275pipe:Z}),bh=Z({\u0275mod:Z}),Zt=Z({\u0275fac:Z}),Mo=Z({__NG_ELEMENT_ID__:Z}),Mh=Z({__NG_ENV_ID__:Z});var dt=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(dt||{});function Ih(e,t,n){let r=e.length;for(;;){const o=e.indexOf(t,n);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}function Pl(e,t,n){let r=0;for(;rt){s=i-1;break}}}for(;ii?"":o[d+1].toLowerCase();const h=8&r?f:null;if(h&&-1!==Ih(h,c,0)||2&r&&c!==f){if(_t(r))return!1;s=!0}}}}else{if(!s&&!_t(r)&&!_t(l))return!1;if(s&&_t(l))continue;s=!1,r=l|1&r}}return _t(r)||s}function _t(e){return 0==(1&e)}function qE(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+a+'"':"")+"]"}else 8&r?o+="."+s:4&r&&(o+=" "+s);else""!==o&&!_t(s)&&(t+=Rh(i,o),o=""),r=s,i=i||!_t(r);n++}return""!==o&&(t+=Rh(i,o)),t}function Ph(e){return Qt(()=>{const t=kh(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===es.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||yt.Emulated,styles:e.styles||U,_:null,schemas:e.schemas||null,tView:null,id:""};Fh(n);const r=e.dependencies;return n.directiveDefs=ts(r,!1),n.pipeDefs=ts(r,!0),n.id=function ib(e){let t=0;const n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(n),n})}function nb(e){return V(e)||Ee(e)}function rb(e){return null!==e}function vt(e){return Qt(()=>({type:e.type,bootstrap:e.bootstrap||U,declarations:e.declarations||U,imports:e.imports||U,exports:e.exports||U,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Lh(e,t){if(null==e)return Pt;const n={};for(const r in e)if(e.hasOwnProperty(r)){const o=e[r];let i,s,a=dt.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==dt.None?[r,a]:r,t[i]=s):n[i]=r}return n}function rt(e){return Qt(()=>{const t=kh(e);return Fh(t),t})}function Qe(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function V(e){return e[bo]||null}function Ee(e){return e[Ol]||null}function Te(e){return e[Rl]||null}function kh(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||Pt,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||U,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Lh(e.inputs,t),outputs:Lh(e.outputs),debugInfo:null}}function Fh(e){e.features?.forEach(t=>t(e))}function ts(e,t){if(!e)return null;const n=t?Te:nb;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(rb)}const le=0,w=1,I=2,de=3,wt=4,Oe=5,Dt=6,dr=7,te=8,Ne=9,Xt=10,P=11,So=12,jh=13,fr=14,ce=15,To=16,hr=17,Jt=18,No=19,Vh=20,dn=21,ns=22,Rn=23,L=25,Ll=1,Lt=7,pr=9,fe=10;var kl=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(kl||{});function Re(e){return Array.isArray(e)&&"object"==typeof e[Ll]}function Pe(e){return Array.isArray(e)&&!0===e[Ll]}function Fl(e){return 0!=(4&e.flags)}function Pn(e){return e.componentOffset>-1}function os(e){return 1==(1&e.flags)}function Ct(e){return!!e.template}function jl(e){return 0!=(512&e[I])}let Gh=!1;function K(e){for(;Array.isArray(e);)e=e[le];return e}function Ao(e,t){return K(t[e])}function He(e,t){return K(t[e.index])}function Oo(e,t){return e.data[t]}function gr(e,t){return e[t]}function ot(e,t){const n=t[e];return Re(n)?n:n[le]}function $l(e){return 128==(128&e[I])}function kt(e,t){return null==t?null:e[t]}function Wh(e){e[hr]=0}function hb(e){1024&e[I]||(e[I]|=1024,$l(e)&&Ro(e))}function zl(e){return!!(9216&e[I]||e[Rn]?.dirty)}function Ul(e){zl(e)?Ro(e):64&e[I]&&(function cb(){return Gh}()?(e[I]|=1024,Ro(e)):e[Xt].changeDetectionScheduler?.notify())}function Ro(e){e[Xt].changeDetectionScheduler?.notify();let t=Ln(e);for(;null!==t&&!(8192&t[I])&&(t[I]|=8192,$l(t));)t=Ln(t)}function Ln(e){const t=e[de];return Pe(t)?t[de]:t}const R={lFrame:np(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Qh(){return R.bindingsEnabled}function mr(){return null!==R.skipHydrationRootTNode}function _(){return R.lFrame.lView}function H(){return R.lFrame.tView}function Wl(e){return R.lFrame.contextLView=e,e[te]}function Yl(e){return R.lFrame.contextLView=null,e}function X(){let e=Zh();for(;null!==e&&64===e.type;)e=e.parent;return e}function Zh(){return R.lFrame.currentTNode}function Po(){const e=R.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Ft(e,t){const n=R.lFrame;n.currentTNode=e,n.isParent=t}function ql(){return R.lFrame.isParent}function Ql(){R.lFrame.isParent=!1}function $e(){const e=R.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Et(){return R.lFrame.bindingIndex++}function en(e){const t=R.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Kh(e){R.lFrame.inI18n=e}function bb(e,t){const n=R.lFrame;n.bindingIndex=n.bindingRootIndex=e,Zl(t)}function Zl(e){R.lFrame.currentDirectiveIndex=e}function Jl(){return R.lFrame.currentQueryIndex}function ss(e){R.lFrame.currentQueryIndex=e}function Ib(e){const t=e[w];return 2===t.type?t.declTNode:1===t.type?e[Oe]:null}function ep(e,t,n){if(n&$.SkipSelf){let o=t,i=e;for(;!(o=o.parent,null!==o||n&$.Host||(o=Ib(i),null===o||(i=i[fr],10&o.type))););if(null===o)return!1;t=o,e=i}const r=R.lFrame=tp();return r.currentTNode=t,r.lView=e,!0}function Kl(e){const t=tp(),n=e[w];R.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function tp(){const e=R.lFrame,t=null===e?null:e.child;return null===t?np(e):t}function np(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function rp(){const e=R.lFrame;return R.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const op=rp;function ec(){const e=rp();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Le(){return R.lFrame.selectedIndex}function kn(e){R.lFrame.selectedIndex=e}function ne(){const e=R.lFrame;return Oo(e.tView,e.selectedIndex)}let lp=!0;function as(){return lp}function fn(e){lp=e}function xb(){return yr(X(),_())}function yr(e,t){return new jt(He(e,t))}let oc,jt=(()=>{class e{constructor(n){this.nativeElement=n}static#e=this.__NG_ELEMENT_ID__=xb}return e})();function cp(e){return e instanceof jt?e.nativeElement:e}function _r(e,t){e.forEach(n=>Array.isArray(n)?_r(n,t):t(n))}function up(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function ls(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function it(e,t,n){let r=vr(e,t);return r>=0?e[1|r]=n:(r=~r,function dp(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(1===o)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function nc(e,t){const n=vr(e,t);if(n>=0)return e[1|n]}function vr(e,t){return function fp(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){const i=r+(o-r>>1),s=e[i<t?o=i:r=i+1}return~(o<Fb}),Fb="ng",yp=new M(""),pn=new M("",{providedIn:"platform",factory:()=>"unknown"}),jb=new M(""),_p=new M("",{providedIn:"root",factory:()=>hn().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),Hb=Z({__forward_ref__:Z});function sc(e){return e.__forward_ref__=sc,e.toString=function(){return Ce(this())},e}function A(e){return function ms(e){return"function"==typeof e&&e.hasOwnProperty(Hb)&&e.__forward_ref__===sc}(e)?e():e}function dc(e){return e&&!!e.\u0275providers}function k(e){return"string"==typeof e?e:null==e?"":String(e)}function fc(e,t){throw new C(-201,!1)}let hc;function Xe(e){const t=hc;return hc=e,t}function Dp(e,t,n){const r=fs(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&$.Optional?null:void 0!==t?t:void fc()}const ko={},pc="__NG_DI_FLAG__",ys="ngTempTokenPath",Yb=/\n/gm,Cp="__source";let wr;function gn(e){const t=wr;return wr=e,t}function Zb(e,t=$.Default){if(void 0===wr)throw new C(-203,!1);return null===wr?Dp(e,void 0,t):wr.get(e,t&$.Optional?null:void 0,t)}function D(e,t=$.Default){return(function wp(){return hc}()||Zb)(A(e),t)}function T(e,t=$.Default){return D(e,_s(t))}function _s(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function gc(e){const t=[];for(let n=0;nnull;function Ec(e,t,n=!1){return bp(e,t,n)}function Fn(e,t){return e.hasOwnProperty(Zt)?e[Zt]:null}const Tr=new M(""),xp=new M("",-1),xc=new M("");class bs{get(t,n=ko){if(n===ko){const r=new Error(`NullInjectorError: No provider for ${Ce(t)}!`);throw r.name="NullInjectorError",r}return n}}function dM(...e){return{\u0275providers:Ac(0,e),\u0275fromNgModule:!0}}function Ac(e,...t){const n=[],r=new Set;let o;const i=s=>{n.push(s)};return _r(t,s=>{const a=s;Is(a,i,[],r)&&(o||=[],o.push(a))}),void 0!==o&&Ap(o,i),n}function Ap(e,t){for(let n=0;n{t(i,r)})}}function Is(e,t,n,r){if(!(e=A(e)))return!1;let o=null,i=hs(e);const s=!i&&V(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const l=e.ngModule;if(i=hs(l),!i)return!1;o=l}const a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const c of l)Is(c,t,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!a){let c;r.add(o);try{_r(i.imports,u=>{Is(u,t,n,r)&&(c||=[],c.push(u))})}finally{}void 0!==c&&Ap(c,t)}if(!a){const c=Fn(o)||(()=>new o);t({provide:o,useFactory:c,deps:U},o),t({provide:xc,useValue:o,multi:!0},o),t({provide:Tr,useValue:()=>D(o),multi:!0},o)}const l=i.providers;if(null!=l&&!a){const c=e;Oc(l,u=>{t(u,c)})}}}return o!==e&&void 0!==e.providers}function Oc(e,t){for(let n of e)dc(n)&&(n=n.\u0275providers),Array.isArray(n)?Oc(n,t):t(n)}const fM=Z({provide:String,useValue:Z});function Rc(e){return null!==e&&"object"==typeof e&&fM in e}function jn(e){return"function"==typeof e}const Pc=new M(""),Ss={},pM={};let Lc;function Ts(){return void 0===Lc&&(Lc=new bs),Lc}class bt{}class Nr extends bt{get destroyed(){return this._destroyed}constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Fc(t,s=>this.processProvider(s)),this.records.set(xp,xr(void 0,this)),o.has("environment")&&this.records.set(bt,xr(void 0,this));const i=this.records.get(Pc);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(xc,U,$.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const n of this._ngOnDestroyHooks)n.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const n of t)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=gn(this),r=Xe(void 0);try{return t()}finally{gn(n),Xe(r)}}get(t,n=ko,r=$.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Mh))return t[Mh](this);r=_s(r);const i=gn(this),s=Xe(void 0);try{if(!(r&$.SkipSelf)){let l=this.records.get(t);if(void 0===l){const c=function vM(e){return"function"==typeof e||"object"==typeof e&&e instanceof M}(t)&&fs(t);l=c&&this.injectableDefInScope(c)?xr(kc(t),Ss):null,this.records.set(t,l)}if(null!=l)return this.hydrate(t,l)}return(r&$.Self?Ts():this.parent).get(t,n=r&$.Optional&&n===ko?null:n)}catch(a){if("NullInjectorError"===a.name){if((a[ys]=a[ys]||[]).unshift(Ce(t)),i)throw a;return function Jb(e,t,n,r){const o=e[ys];throw t[Cp]&&o.unshift(t[Cp]),e.message=function Kb(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=Ce(t);if(Array.isArray(t))o=t.map(Ce).join(" -> ");else if("object"==typeof t){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+("string"==typeof a?JSON.stringify(a):Ce(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(Yb,"\n ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[ys]=null,e}(a,t,"R3InjectorError",this.source)}throw a}finally{Xe(s),gn(i)}}resolveInjectorInitializers(){const t=gn(this),n=Xe(void 0);try{const o=this.get(Tr,U,$.Self);for(const i of o)i()}finally{gn(t),Xe(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(Ce(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new C(205,!1)}processProvider(t){let n=jn(t=A(t))?t:A(t&&t.provide);const r=function mM(e){return Rc(e)?xr(void 0,e.useValue):xr(Pp(e),Ss)}(t);if(!jn(t)&&!0===t.multi){let o=this.records.get(n);o||(o=xr(void 0,Ss,!0),o.factory=()=>gc(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===Ss&&(n.value=pM,n.value=n.factory()),"object"==typeof n.value&&n.value&&function _M(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=A(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function kc(e){const t=fs(e),n=null!==t?t.factory:Fn(e);if(null!==n)return n;if(e instanceof M)throw new C(204,!1);if(e instanceof Function)return function gM(e){if(e.length>0)throw new C(204,!1);const n=function Lb(e){return e&&(e[ps]||e[mp])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new C(204,!1)}function Pp(e,t,n){let r;if(jn(e)){const o=A(e);return Fn(o)||kc(o)}if(Rc(e))r=()=>A(e.useValue);else if(function Rp(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...gc(e.deps||[]));else if(function Op(e){return!(!e||!e.useExisting)}(e))r=()=>D(A(e.useExisting));else{const o=A(e&&(e.useClass||e.provide));if(!function yM(e){return!!e.deps}(e))return Fn(o)||kc(o);r=()=>new o(...gc(e.deps))}return r}function xr(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Fc(e,t){for(const n of e)Array.isArray(n)?Fc(n,t):n&&dc(n)?Fc(n.\u0275providers,t):t(n)}class kp{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Fp(e,t,n,r){null!==t?t.applyValueToInputSignal(t,r):e[n]=r}function jp(e){return e.type.prototype.ngOnChanges&&(e.setInput=AM),xM}function xM(){const e=Bp(this),t=e?.current;if(t){const n=e.previous;if(n===Pt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function AM(e,t,n,r,o){const i=this.declaredInputs[r],s=Bp(e)||function OM(e,t){return e[Vp]=t}(e,{previous:Pt,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[i];a[i]=new kp(c&&c.currentValue,n,l===Pt),Fp(e,t,o,n)}const Vp="__ngSimpleChanges__";function Bp(e){return e[Vp]||null}const Vt=function(e,t,n){};function Os(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[l]<0&&(e[hr]+=65536),(a>14>16&&(3&e[I])===t&&(e[I]+=16384,$p(a,i)):$p(a,i)}const Or=-1;class $o{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function $c(e){return e!==Or}function zo(e){return 32767&e}function Uo(e,t){let n=function BM(e){return e>>16}(e),r=t;for(;n>0;)r=r[fr],n--;return r}let zc=!0;function Ls(e){const t=zc;return zc=e,t}const zp=255,Up=5;let HM=0;const Bt={};function ks(e,t){const n=Gp(e,t);if(-1!==n)return n;const r=t[w];r.firstCreatePass&&(e.injectorIndex=t.length,Uc(r.data,e),Uc(t,null),Uc(r.blueprint,null));const o=Fs(e,t),i=e.injectorIndex;if($c(o)){const s=zo(o),a=Uo(o,t),l=a[w].data;for(let c=0;c<8;c++)t[i+c]=a[s+c]|l[s+c]}return t[i+8]=o,i}function Uc(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Gp(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Fs(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;null!==o;){if(r=Jp(o),null===r)return Or;if(n++,o=o[fr],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return Or}function Gc(e,t,n){!function $M(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Mo)&&(r=n[Mo]),null==r&&(r=n[Mo]=HM++);const o=r&zp;t.data[e+(o>>Up)]|=1<=0?t&zp:WM:t}(n);if("function"==typeof i){if(!ep(t,e,r))return r&$.Host?Wp(o,0,r):Yp(t,n,r,o);try{let s;if(s=i(r),null!=s||r&$.Optional)return s;fc()}finally{op()}}else if("number"==typeof i){let s=null,a=Gp(e,t),l=Or,c=r&$.Host?t[ce][Oe]:null;for((-1===a||r&$.SkipSelf)&&(l=-1===a?Fs(e,t):t[a+8],l!==Or&&Xp(r,!1)?(s=t[w],a=zo(l),t=Uo(l,t)):a=-1);-1!==a;){const u=t[w];if(Zp(i,a,u.data)){const d=UM(a,t,n,s,r,c);if(d!==Bt)return d}l=t[a+8],l!==Or&&Xp(r,t[w].data[a+8]===c)&&Zp(i,a,t)?(s=u,a=zo(l),t=Uo(l,t)):a=-1}}return o}function UM(e,t,n,r,o,i){const s=t[w],a=s.data[e+8],u=js(a,s,n,null==r?Pn(a)&&zc:r!=s&&0!=(3&a.type),o&$.Host&&i===a);return null!==u?Vn(t,s,u,a):Bt}function js(e,t,n,r,o){const i=e.providerIndexes,s=t.data,a=1048575&i,l=e.directiveStart,u=i>>20,f=o?a+u:e.directiveEnd;for(let h=r?a:a+u;h=l&&p.type===n)return h}if(o){const h=s[l];if(h&&Ct(h)&&h.type===n)return l}return null}function Vn(e,t,n,r){let o=e[n];const i=t.data;if(function kM(e){return e instanceof $o}(o)){const s=o;s.resolving&&function Ub(e,t){throw t&&t.join(" > "),new C(-200,e)}(function W(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():k(e)}(i[n]));const a=Ls(s.canSeeViewProviders);s.resolving=!0;const c=s.injectImpl?Xe(s.injectImpl):null;ep(e,r,$.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function PM(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const s=jp(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}(n,i[n],t)}finally{null!==c&&Xe(c),Ls(a),s.resolving=!1,op()}}return o}function Zp(e,t,n){return!!(n[t+(e>>Up)]&1<{class e{static#e=this.THROW_IF_NOT_FOUND=ko;static#t=this.NULL=new bs;static create(n,r){if(Array.isArray(n))return rg({name:""},r,n,"");{const o=n.name??"";return rg({name:o},n.parent,n.providers,o)}}static#n=this.\u0275prov=b({token:e,providedIn:"any",factory:()=>D(xp)});static#r=this.__NG_ELEMENT_ID__=-1}return e})();function Qc(e){return e.ngOriginalError}class tn{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Qc(t);for(;n&&Qc(n);)n=Qc(n);return n||null}}const sg=new M("",{providedIn:"root",factory:()=>T(tn).handleError.bind(void 0)}),lg=new M("",{providedIn:"root",factory:()=>!1});let Hs;function Lr(e){return function Zc(){if(void 0===Hs&&(Hs=null,Q.trustedTypes))try{Hs=Q.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Hs}()?.createHTML(e)||e}class fg{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Dh})`}}function mn(e){return e instanceof fg?e.changingThisBreaksApplicationSecurity:e}class uI{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const n=(new window.DOMParser).parseFromString(Lr(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class dI{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=Lr(t),n}}const hI=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Jc(e){return(e=String(e)).match(hI)?e:"unsafe:"+e}function nn(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function Wo(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const pg=nn("area,br,col,hr,img,wbr"),gg=nn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),mg=nn("rp,rt"),Kc=Wo(pg,Wo(gg,nn("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Wo(mg,nn("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Wo(mg,gg)),eu=nn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),yg=Wo(eu,nn("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),nn("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"));var kr=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(kr||{});function Us(e){const t=function Yo(){const e=_();return e&&e[Xt].sanitizer}();return t?t.sanitize(kr.URL,e)||"":function Go(e,t){const n=function cI(e){return e instanceof fg&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Dh})`)}return n===t}(e,"URL")?mn(e):Jc(k(e))}const SI=/^>|^->||--!>|)/g,NI="\u200b$1\u200b";const nu=new Map;let PI=0;const ou="__ngContext__";function Fe(e,t){Re(t)?(e[ou]=t[No],function kI(e){nu.set(e[No],e)}(t)):e[ou]=t}var _n=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(_n||{});let lu;function cu(e,t){return lu(e,t)}function jr(e,t,n,r,o){if(null!=r){let i,s=!1;Pe(r)?i=r:Re(r)&&(s=!0,r=r[le]);const a=K(r);0===e&&null!==n?null==o?jg(t,n,a):Bn(t,n,a,o||null,!0):1===e&&null!==n?Bn(t,n,a,o||null,!0):2===e?Js(t,a,s):3===e&&t.destroyNode(a),null!=i&&function l0(e,t,n,r,o){const i=n[Lt];i!==K(n)&&jr(t,e,r,i,o);for(let a=fe;at.replace(TI,NI))}(t))}function qs(e,t,n){return e.createElement(t,n)}function Lg(e,t){Ks(e,t,t[P],2,null,null)}function kg(e,t){const n=e[pr],r=n.indexOf(t);n.splice(r,1)}function Qo(e,t){if(e.length<=fe)return;const n=fe+t,r=e[n];if(r){const o=r[To];null!==o&&o!==e&&kg(o,r),t>0&&(e[n-1][wt]=r[wt]);const i=ls(e,fe+t);!function XI(e,t){Lg(e,t),t[le]=null,t[Oe]=null}(r[w],r);const s=i[Jt];null!==s&&s.detachView(i[w]),r[de]=null,r[wt]=null,r[I]&=-129}return r}function Qs(e,t){if(!(256&t[I])){const n=t[P];n.destroyNode&&Ks(e,t,n,3,null,null),function KI(e){let t=e[So];if(!t)return du(e[w],e);for(;t;){let n=null;if(Re(t))n=t[So];else{const r=t[fe];r&&(n=r)}if(!n){for(;t&&!t[wt]&&t!==e;)Re(t)&&du(t[w],t),t=t[de];null===t&&(t=e),Re(t)&&du(t[w],t),n=t&&t[wt]}t=n}}(t)}}function du(e,t){if(!(256&t[I])){t[I]&=-129,t[I]|=256,t[Rn]&&function sh(e){if(cr(e),Do(e))for(let t=0;t=0?r[s]():r[-s].unsubscribe(),i+=2}else n[i].call(r[n[i+1]]);null!==r&&(t[dr]=null);const o=t[dn];if(null!==o){t[dn]=null;for(let i=0;i-1){const{encapsulation:i}=e.data[r.directiveStart+o];if(i===yt.None||i===yt.Emulated)return null}return He(r,n)}}function Bn(e,t,n,r,o){e.insertBefore(t,n,r,o)}function jg(e,t,n){e.appendChild(t,n)}function Vg(e,t,n,r,o){null!==r?Bn(e,t,n,r,o):jg(e,t,n)}function Zs(e,t){return e.parentNode(t)}function Bg(e,t,n){return $g(e,t,n)}function Hg(e,t,n){return 40&e.type?He(e,n):null}let hu,$g=Hg;function zg(e,t){$g=e,hu=t}function Xs(e,t,n,r){const o=fu(e,r,t),i=t[P],a=Bg(r.parent||t[Oe],r,t);if(null!=o)if(Array.isArray(n))for(let l=0;lL&&Qg(e,t,L,!1),Vt(s?2:0,o),n(r,o)}finally{kn(i),Vt(s?3:1,o)}}function yu(e,t,n){if(Fl(t)){const r=ue(null);try{const i=t.directiveEnd;for(let s=t.directiveStart;snull;function em(e,t,n,r,o){for(let i in t){if(!t.hasOwnProperty(i))continue;const s=t[i];if(void 0===s)continue;r??={};let a,l=dt.None;Array.isArray(s)?(a=s[0],l=s[1]):a=s;let c=i;if(null!==o){if(!o.hasOwnProperty(i))continue;c=o[i]}0===e?tm(r,n,c,a,l):tm(r,n,c,a)}return r}function tm(e,t,n,r,o){let i;e.hasOwnProperty(n)?(i=e[n]).push(t,r):i=e[n]=[t,r],void 0!==o&&i.push(o)}function Ke(e,t,n,r,o,i,s,a){const l=He(t,n);let u,c=t.inputs;!a&&null!=c&&(u=c[r])?(Mu(e,n,u,r,o),Pn(t)&&function C0(e,t){const n=ot(t,e);16&n[I]||(n[I]|=64)}(n,t.index)):3&t.type&&(r=function D0(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),o=null!=s?s(o,t.value||"",r):o,i.setProperty(l,r,o))}function Du(e,t,n,r){if(Qh()){const o=null===r?null:{"":-1},i=function T0(e,t){const n=e.directiveRegistry;let r=null,o=null;if(n)for(let i=0;i0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(s)!=a&&s.push(a),s.push(n,r,i)}}(e,t,r,Xo(e,n,o.hostVars,F),o)}function Eu(e,t,n,r,o,i,s){if(null==i)e.removeAttribute(t,o,n);else{const a=null==s?k(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function P0(e,t,n,r,o,i){const s=i[t];if(null!==s)for(let a=0;a0&&(n[o-1][wt]=t),r!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{},consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{Ro(e.lView)},consumerOnSignalRead(){this.lView[Rn]=this}};function fm(e){return pm(e[So])}function hm(e){return pm(e[wt])}function pm(e){for(;null!==e&&!Pe(e);)e=e[wt];return e}function ra(e,t=!0,n=0){const r=e[Xt],o=r.rendererFactory;o.begin?.();try{!function G0(e,t){Tu(e,t);let n=0;for(;zl(e);){if(100===n)throw new C(103,!1);n++,Tu(e,1)}}(e,n)}catch(s){throw t&&na(e,s),s}finally{o.end?.(),r.inlineEffectRunner?.flush()}}function W0(e,t,n,r){const o=t[I];if(256==(256&o))return;t[Xt].inlineEffectRunner?.flush(),Kl(t);let s=null,a=null;(function Y0(e){return 2!==e.type})(e)&&(a=function V0(e){return e[Rn]??function B0(e){const t=dm.pop()??Object.create($0);return t.lView=e,t}(e)}(t),s=function oh(e){return e&&(e.nextProducerIndex=0),ue(e)}(a));try{Wh(t),function Jh(e){return R.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&Xg(e,t,n,2,r);const l=3==(3&o);if(l){const d=e.preOrderCheckHooks;null!==d&&Rs(t,d,null)}else{const d=e.preOrderHooks;null!==d&&Ps(t,d,0,null),Bc(t,0)}if(function q0(e){for(let t=fm(e);null!==t;t=hm(t)){if(!(t[I]&kl.HasTransplantedViews))continue;const n=t[pr];for(let r=0;re.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}(a,s),function H0(e){e.lView[Rn]!==e&&(e.lView=null,dm.push(e))}(a)),ec()}}function mm(e,t){for(let n=fm(e);null!==n;n=hm(n))for(let r=fe;r-1&&(Qo(t,r),ls(n,r))}this._attachedToViewContainer=!1}Qs(this._lView[w],this._lView)}onDestroy(t){!function is(e,t){if(256==(256&e[I]))throw new C(911,!1);null===e[dn]&&(e[dn]=[]),e[dn].push(t)}(this._lView,t)}markForCheck(){ti(this._cdRefInjectingView||this._lView)}detach(){this._lView[I]&=-129}reattach(){Ul(this._lView),this._lView[I]|=128}detectChanges(){this._lView[I]|=1024,ra(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new C(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,Lg(this._lView[w],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new C(902,!1);this._appRef=t,Ul(this._lView)}}let on=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=J0}return e})();const Z0=on,X0=class extends Z0{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){const o=function Jo(e,t,n,r){const o=t.tView,a=ea(e,o,n,4096&e[I]?4096:16,null,t,null,null,null,r?.injector??null,r?.dehydratedView??null);a[To]=e[t.index];const c=e[Jt];return null!==c&&(a[Jt]=c.createEmbeddedView(o)),Iu(o,a,n),a}(this._declarationLView,this._declarationTContainer,t,{injector:n,dehydratedView:r});return new ni(o)}};function J0(){return oa(X(),_())}function oa(e,t){return 4&e.type?new X0(t,e,yr(e,t)):null}class Mm{}class wS{}class Im{}class CS{resolveComponentFactory(t){throw function DS(e){const t=Error(`No component factory found for ${Ce(e)}.`);return t.ngComponent=e,t}(t)}}let Hn=(()=>{class e{static#e=this.NULL=new CS}return e})();class Tm{}let Pu=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function ES(){const e=_(),n=ot(X().index,e);return(Re(n)?n:e)[P]}()}return e})(),bS=(()=>{class e{static#e=this.\u0275prov=b({token:e,providedIn:"root",factory:()=>null})}return e})();const Lu={};function Om(e){const t=ue(null);try{return e()}finally{ue(t)}}let ju=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=kS}return e})();function kS(e){return function FS(e,t,n){if(Pn(e)&&!n){const r=ot(e.index,t);return new ni(r,r)}return 47&e.type?new ni(t[ce],t):null}(X(),_(),16==(16&e))}function Vm(...e){}class G{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ut(!1),this.onMicrotaskEmpty=new ut(!1),this.onStable=new ut(!1),this.onError=new ut(!1),typeof Zone>"u")throw new C(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function YS(){const e="function"==typeof Q.requestAnimationFrame;let t=Q[e?"requestAnimationFrame":"setTimeout"],n=Q[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);const o=n[Zone.__symbol__("OriginalDelegate")];o&&(n=o)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function ZS(e){const t=()=>{!function QS(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Q,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Bu(e),e.isCheckStableRunning=!0,Vu(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Bu(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{if(function XS(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(a))return n.invokeTask(o,i,s,a);try{return Bm(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),Hm(e)}},onInvoke:(n,r,o,i,s,a,l)=>{try{return Bm(e),n.invoke(o,i,s,a,l)}finally{e.shouldCoalesceRunChangeDetection&&t(),Hm(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,Bu(e),Vu(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!G.isInAngularZone())throw new C(909,!1)}static assertNotInAngularZone(){if(G.isInAngularZone())throw new C(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){const i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,qS,Vm,Vm);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const qS={};function Vu(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Bu(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Bm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Hm(e){e._nesting--,Vu(e)}class $m{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ut,this.onMicrotaskEmpty=new ut,this.onStable=new ut,this.onError=new ut}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}}let ai=(()=>{class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){const n=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const r of n)r()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=b({token:e,providedIn:"root",factory:()=>new e})}return e})();function ha(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(null!==t)for(let s=0;s0&&Yg(e,n,i.join(" "))}}(f,N,p,r),void 0!==n&&function dT(e,t,n){const r=e.projection=[];for(let o=0;o{class e{static#e=this.__NG_ELEMENT_ID__=hT}return e})();function hT(){return Jm(X(),_())}const pT=Mt,Zm=class extends pT{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return yr(this._hostTNode,this._hostLView)}get injector(){return new Me(this._hostTNode,this._hostLView)}get parentInjector(){const t=Fs(this._hostTNode,this._hostLView);if($c(t)){const n=Uo(t,this._hostLView),r=zo(t);return new Me(n[w].data[r+8],n)}return new Me(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Xm(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-fe}createEmbeddedView(t,n,r){let o,i;"number"==typeof r?o=r:null!=r&&(o=r.index,i=r.injector);const a=t.createEmbeddedViewImpl(n||{},i,null);return this.insertImpl(a,o,Br(this._hostTNode,null)),a}createComponent(t,n,r,o,i){const s=t&&!function Ho(e){return"function"==typeof e}(t);let a;if(s)a=n;else{const p=n||{};a=p.index,r=p.injector,o=p.projectableNodes,i=p.environmentInjector||p.ngModuleRef}const l=s?t:new ui(V(t)),c=r||this.parentInjector;if(!i&&null==l.ngModule){const g=(s?c:this.parentInjector).get(bt,null);g&&(i=g)}V(l.componentType??{});const h=l.create(c,o,null,i);return this.insertImpl(h.hostView,a,Br(this._hostTNode,null)),h}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){const o=t._lView;if(function fb(e){return Pe(e[de])}(o)){const a=this.indexOf(t);if(-1!==a)this.detach(a);else{const l=o[de],c=new Zm(l,l[Oe],l[de]);c.detach(c.indexOf(t))}}const i=this._adjustIndex(n),s=this._lContainer;return Ko(s,o,i,r),t.attachToViewContainerRef(),up(Uu(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=Xm(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=Qo(this._lContainer,n);r&&(ls(Uu(this._lContainer),n),Qs(r[w],r))}detach(t){const n=this._adjustIndex(t,-1),r=Qo(this._lContainer,n);return r&&null!=ls(Uu(this._lContainer),n)?new ni(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Xm(e){return e[8]}function Uu(e){return e[8]||(e[8]=[])}function Jm(e,t){let n;const r=t[e.index];return Pe(r)?n=r:(n=om(r,t,null,e),t[e.index]=n,ta(t,n)),Km(n,t,e,r),new Zm(n,e,t)}let Km=function ty(e,t,n,r){if(e[Lt])return;let o;o=8&n.type?K(r):function gT(e,t){const n=e[P],r=n.createComment(""),o=He(t,e);return Bn(n,Zs(n,o),r,function s0(e,t){return e.nextSibling(t)}(n,o),!1),r}(t,n),e[Lt]=o},Gu=()=>!1;class Wu{constructor(t){this.queryList=t,this.matches=null}clone(){return new Wu(this.queryList)}setDirty(){this.queryList.setDirty()}}class Yu{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,o=[];for(let i=0;it.trim())}(t):t}}class qu{constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r0)r.push(s[a/2]);else{const c=i[a+1],u=t[-l];for(let d=fe;d=0;r--){const o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=Io(o.hostAttrs,n=Io(n,o.hostAttrs))}}(r)}function PT(e,t){for(const n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;const r=t.inputs[n];if(void 0!==r&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n],null!==t.inputTransforms)){const o=Array.isArray(r)?r[0]:r;if(!t.inputTransforms.hasOwnProperty(o))continue;e.inputTransforms??={},e.inputTransforms[o]=t.inputTransforms[o]}}}function ga(e){return e===Pt?{}:e===U?[]:e}function kT(e,t){const n=e.viewQuery;e.viewQuery=n?(r,o)=>{t(r,o),n(r,o)}:t}function FT(e,t){const n=e.contentQueries;e.contentQueries=n?(r,o,i)=>{t(r,o,i),n(r,o,i)}:t}function jT(e,t){const n=e.hostBindings;e.hostBindings=n?(r,o)=>{t(r,o),n(r,o)}:t}class Un{}class GT{}class td extends Un{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new qm(this);const o=function Ae(e,t){const n=e[bh]||null;if(!n&&!0===t)throw new Error(`Type ${Ce(e)} does not have '\u0275mod' property.`);return n}(t);this._bootstrapComponents=function st(e){return e instanceof Function?e():e}(o.bootstrap),this._r3Injector=og(t,n,[{provide:Un,useValue:this},{provide:Hn,useValue:this.componentFactoryResolver},...r],Ce(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class nd extends GT{constructor(t){super(),this.moduleType=t}create(t){return new td(this.moduleType,t,[])}}let zr=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new wh(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function zt(e,t,n){return e[t]=n}function he(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Gn(e,t,n,r){const o=he(e,t,n);return he(e,t+1,r)||o}function It(e,t,n,r,o,i,s,a){const l=_(),c=H(),u=e+L,d=c.firstCreatePass?function ZT(e,t,n,r,o,i,s,a,l){const c=t.consts,u=Vr(t,e,4,s||null,kt(c,a));Du(t,n,u,kt(c,l)),Os(t,u);const d=u.tView=wu(2,u,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,c,null);return null!==t.queries&&(t.queries.template(t,u),d.queries=t.queries.embeddedTView(u)),u}(u,c,l,t,n,r,o,i,s):c.data[u];Ft(d,!1);const f=My(c,l,d,e);as()&&Xs(c,l,f,d),Fe(f,l);const h=om(f,l,f,d);return l[u]=h,ta(l,h),function ey(e,t,n){return Gu(e,t,n)}(h,d,l),os(d)&&_u(c,l,d),null!=s&&vu(l,d,a),It}let My=function Iy(e,t,n,r){return fn(!0),t[P].createComment("")};function Ea(e,t){return e<<17|t<<2}function Dn(e){return e>>17&32767}function fd(e){return 2|e}function Yn(e){return(131068&e)>>2}function hd(e,t){return-131069&e|t<<2}function pd(e){return 1|e}function o_(e,t,n,r){const o=e[n+1],i=null===t;let s=r?Dn(o):Yn(o),a=!1;for(;0!==s&&(!1===a||i);){const c=e[s+1];PN(e[s],t)&&(a=!0,e[s+1]=r?pd(c):fd(c)),s=r?Dn(c):Yn(c)}a&&(e[n+1]=r?fd(o):pd(o))}function PN(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&vr(e,t)>=0}const Ie={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function i_(e){return e.substring(Ie.key,Ie.keyEnd)}function s_(e,t){const n=Ie.textEnd;return n===t?-1:(t=Ie.keyEnd=function jN(e,t,n){for(;t32;)t++;return t}(e,Ie.key=t,n),io(e,t,n))}function io(e,t,n){for(;t=0;n=s_(t,n))it(e,i_(t),!0)}function h_(e,t){return t>=e.expandoStartIndex}function p_(e,t,n,r){const o=e.data;if(null===o[n+1]){const i=o[Le()],s=h_(e,n);__(i,r)&&null===t&&!s&&(t=!1),t=function $N(e,t,n,r){const o=function Xl(e){const t=R.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let i=r?t.residualClasses:t.residualStyles;if(null===o)0===(r?t.classBindings:t.styleBindings)&&(n=mi(n=yd(null,e,t,n,r),t.attrs,r),i=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==o)if(n=yd(o,e,t,n,r),null===i){let l=function zN(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==Yn(r))return e[Dn(r)]}(e,t,r);void 0!==l&&Array.isArray(l)&&(l=yd(null,e,t,l[1],r),l=mi(l,t.attrs,r),function UN(e,t,n,r){e[Dn(n?t.classBindings:t.styleBindings)]=r}(e,t,r,l))}else i=function GN(e,t,n){let r;const o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0)&&(c=!0)):u=n,o)if(0!==l){const f=Dn(e[a+1]);e[r+1]=Ea(f,a),0!==f&&(e[f+1]=hd(e[f+1],r)),e[a+1]=function xN(e,t){return 131071&e|t<<17}(e[a+1],r)}else e[r+1]=Ea(a,0),0!==a&&(e[a+1]=hd(e[a+1],r)),a=r;else e[r+1]=Ea(l,0),0===a?a=r:e[l+1]=hd(e[l+1],r),l=r;c&&(e[r+1]=fd(e[r+1])),o_(e,u,r,!0),o_(e,u,r,!1),function RN(e,t,n,r,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&vr(i,t)>=0&&(n[r+1]=pd(n[r+1]))}(t,u,e,r,i),s=Ea(a,l),i?t.classBindings=s:t.styleBindings=s}(o,i,t,n,s,r)}}function yd(e,t,n,r,o){let i=null;const s=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a0;){const l=e[o],c=Array.isArray(l),u=c?l[1]:l,d=null===u;let f=n[o+1];f===F&&(f=d?U:void 0);let h=d?nc(f,r):u===r?f:void 0;if(c&&!ba(h)&&(h=nc(l,r)),ba(h)&&(a=h,s))return a;const p=e[o+1];o=s?Dn(p):Yn(p)}if(null!==t){let l=i?t.residualClasses:t.residualStyles;null!=l&&(a=nc(l,r))}return a}function ba(e){return void 0!==e}function __(e,t){return 0!=(e.flags&(t?8:16))}function B(e,t,n,r){const o=_(),i=H(),s=L+e,a=o[P],l=i.firstCreatePass?function _x(e,t,n,r,o,i){const s=t.consts,l=Vr(t,e,2,r,kt(s,o));return Du(t,n,l,kt(s,i)),null!==l.attrs&&ha(l,l.attrs,!1),null!==l.mergedAttrs&&ha(l,l.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,l),l}(s,i,o,t,n,r):i.data[s],c=C_(i,o,l,a,t,e);o[s]=c;const u=os(l);return Ft(l,!0),qg(a,c,l),32!=(32&l.flags)&&as()&&Xs(i,o,c,l),0===function pb(){return R.lFrame.elementDepthCount}()&&Fe(c,o),function gb(){R.lFrame.elementDepthCount++}(),u&&(_u(i,o,l),yu(i,l,o)),null!==r&&vu(o,l),B}function z(){let e=X();ql()?Ql():(e=e.parent,Ft(e,!1));const t=e;(function yb(e){return R.skipHydrationRootTNode===e})(t)&&function Db(){R.skipHydrationRootTNode=null}(),function mb(){R.lFrame.elementDepthCount--}();const n=H();return n.firstCreatePass&&(Os(n,e),Fl(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function jM(e){return 0!=(8&e.flags)}(t)&&gd(n,t,_(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function VM(e){return 0!=(16&e.flags)}(t)&&gd(n,t,_(),t.stylesWithoutHost,!1),z}function Wt(e,t,n,r){return B(e,t,n,r),z(),Wt}let C_=(e,t,n,r,o,i)=>(fn(!0),qs(r,o,function ap(){return R.lFrame.currentNamespace}()));function qn(e,t,n){const r=_(),o=H(),i=e+L,s=o.firstCreatePass?function Dx(e,t,n,r,o){const i=t.consts,s=kt(i,r),a=Vr(t,e,8,"ng-container",s);return null!==s&&ha(a,s,!0),Du(t,n,a,kt(i,o)),null!==t.queries&&t.queries.elementStart(t,a),a}(i,o,r,t,n):o.data[i];Ft(s,!0);const a=b_(o,r,s,e);return r[i]=a,as()&&Xs(o,r,a,s),Fe(a,r),os(s)&&(_u(o,r,s),yu(o,s,r)),null!=n&&vu(r,s),qn}function Qn(){let e=X();const t=H();return ql()?Ql():(e=e.parent,Ft(e,!1)),t.firstCreatePass&&(Os(t,e),Fl(e)&&t.queries.elementEnd(e)),Qn}let b_=(e,t,n,r)=>(fn(!0),uu(t[P],""));function Cd(){return _()}function Ed(e,t,n){const r=_();return he(r,Et(),t)&&Ke(H(),ne(),r,e,t,r[P],n,!0),Ed}const Zn=void 0;var Mx=["en",[["a","p"],["AM","PM"],Zn],[["AM","PM"],Zn,Zn],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Zn,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Zn,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Zn,"{1} 'at' {0}",Zn],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function bx(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let so={};function ze(e){const t=function Sx(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=S_(t);if(n)return n;const r=t.split("-")[0];if(n=S_(r),n)return n;if("en"===r)return Mx;throw new C(701,!1)}function S_(e){return e in so||(so[e]=Q.ng&&Q.ng.common&&Q.ng.common.locales&&Q.ng.common.locales[e]),so[e]}var re=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(re||{});const Tx=["zero","one","two","few","many"],ao="en-US",Ma={marker:"element"},Ia={marker:"ICU"};var et=function(e){return e[e.SHIFT=2]="SHIFT",e[e.APPEND_EAGERLY=1]="APPEND_EAGERLY",e[e.COMMENT=2]="COMMENT",e}(et||{});let T_=ao;function x_(e,t,n){const r=t.insertBeforeIndex,o=Array.isArray(r)?r[0]:r;return null===o?Hg(e,0,n):K(n[o])}function A_(e,t,n,r,o){const i=t.insertBeforeIndex;if(Array.isArray(i)){let s=r,a=null;if(3&t.type||(a=s,s=o),null!==s&&-1===t.componentOffset)for(let l=1;l1)for(let n=e.length-2;n>=0;n--){const r=e[n];R_(r)||Ox(r,t)&&null===Rx(r)&&Px(r,t.index)}}function R_(e){return!(64&e.type)}function Ox(e,t){return R_(t)||e.index>t.index}function Rx(e){const t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function Px(e,t){const n=e.insertBeforeIndex;Array.isArray(n)?n[0]=t:(zg(x_,A_),e.insertBeforeIndex=t)}function yi(e,t){const n=e.data[t];return null===n||"string"==typeof n?null:n.hasOwnProperty("currentCaseLViewIndex")?n:n.value}function Fx(e,t,n){const r=mu(e,n,64,null,null);return O_(t,r),r}function Sa(e,t){const n=t[e.currentCaseLViewIndex];return null===n?n:n<0?~n:n}function P_(e){return e>>>17}function L_(e){return(131070&e)>>>1}let _i=0,vi=0;function F_(e,t,n,r){const o=n[P];let s,i=null;for(let a=0;a>>1,n),null,null,h,p,null)}else switch(l){case Ia:const c=t[++a],u=t[++a];null===n[u]&&Fe(n[u]=uu(o,c),n);break;case Ma:const d=t[++a],f=t[++a];null===n[f]&&Fe(n[f]=qs(o,d,null),n)}}}function j_(e,t,n,r,o){for(let i=0;i>>2;switch(3&u){case 1:const f=n[++c],h=n[++c],p=e.data[d];"string"==typeof p?Eu(t[P],t[d],null,p,f,l,h):Ke(e,p,t,f,l,t[P],h,!1);break;case 0:const g=t[d];null!==g&&Pg(t[P],g,l);break;case 2:$x(e,yi(e,d),t,l);break;case 3:V_(e,yi(e,d),r,t)}}}}else{const l=n[i+1];if(l>0&&3==(3&l)){const u=yi(e,l>>>2);t[u.currentCaseLViewIndex]<0&&V_(e,u,r,t)}}i+=a}}function V_(e,t,n,r){let o=r[t.currentCaseLViewIndex];if(null!==o){let i=_i;o<0&&(o=r[t.currentCaseLViewIndex]=~o,i=-1),j_(e,r,t.update[o],n,i)}}function $x(e,t,n,r){const o=function zx(e,t){let n=e.cases.indexOf(t);if(-1===n)switch(e.type){case 1:{const r=function Nx(e,t){const n=function I_(e){return ze(e)[re.PluralCase]}(t)(parseInt(e,10)),r=Tx[n];return void 0!==r?r:"other"}(t,function Ax(){return T_}());n=e.cases.indexOf(r),-1===n&&"other"!==r&&(n=e.cases.indexOf("other"));break}case 0:n=e.cases.indexOf("other")}return-1===n?null:n}(t,r);if(Sa(t,n)!==o&&(B_(e,t,n),n[t.currentCaseLViewIndex]=null===o?null:~o,null!==o)){const s=n[t.anchorIdx];s&&F_(e,t.create[o],n,s)}}function B_(e,t,n){let r=Sa(t,n);if(null!==r){const o=t.remove[r];for(let i=0;i0){const a=Ao(s,n);null!==a&&Js(n[P],a)}else B_(e,yi(e,~s),n)}}}function Ux(){const e=[];let n,r,t=-1;function i(a,l){t=0;const c=Sa(a,l);r=null!==c?a.remove[c]:U}function s(){if(t0?n[a]:(e.push(t,r),i(n[w].data[~a],n),s())}return 0===e.length?null:(r=e.pop(),t=e.pop(),s())}return function o(a,l){for(n=l;e.length;)e.pop();return i(a.value,l),s}}const Ta=/\ufffd(\d+):?\d*\ufffd/gi,Wx=/\ufffd(\d+)\ufffd/,$_=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,wi="\ufffd",Yx=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,qx=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,Qx=/\uE500/g;function z_(e,t,n,r,o,i,s){const a=Xo(e,r,1,null);let l=a<n.length&&n.push(l)}return{type:r,mainBinding:o,cases:t,values:n}}function bd(e){if(!e)return[];let t=0;const n=[],r=[],o=/[{}]/g;let i;for(o.lastIndex=0;i=o.exec(e);){const a=i.index;if("}"==i[0]){if(n.pop(),0==n.length){const l=e.substring(t,a);$_.test(l)?r.push(rA(l)):r.push(l),t=a+1}}else{if(0==n.length){const l=e.substring(t,a);r.push(l),t=a+1}n.push("{")}}const s=e.substring(t);return r.push(s),r}function oA(e,t,n,r,o,i,s,a){const l=[],c=[],u=[];t.cases.push(i),t.create.push(l),t.remove.push(c),t.update.push(u);const f=function hg(e){const t=new dI(e);return function fI(){try{return!!(new window.DOMParser).parseFromString(Lr(""),"text/html")}catch{return!1}}()?new uI(t):t}(hn()).getInertBodyElement(s),h=function tu(e){return"content"in e&&function vI(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}(f)||f;return h?Y_(e,t,n,r,l,c,u,h,o,a,0):0}function Y_(e,t,n,r,o,i,s,a,l,c,u){let d=0,f=a.firstChild;for(;f;){const h=Xo(e,n,1,null);switch(f.nodeType){case Node.ELEMENT_NODE:const p=f,g=p.tagName.toLowerCase();if(Kc.hasOwnProperty(g)){Md(o,Ma,g,l,h),e.data[h]=g;const E=p.attributes;for(let S=0;S>>et.SHIFT;let d=e[u];null===d&&(d=e[u]=(s&et.COMMENT)===et.COMMENT?o.createComment(a):Ys(o,a)),c&&null!==n&&Bn(o,n,d,r,!1)}})(o,l.create,u,a&&8&a.type?o[a.index]:null),Kh(!0)}function _e(e,t,n){Z_(e,t,n),function X_(){Kh(!1)}()}function Cn(e){return function Vx(e){e&&(_i|=1<0){const r=e.data[n];j_(e,t,Array.isArray(r)?r:r.update,function Kt(){return R.lFrame.bindingIndex}()-vi-1,_i)}_i=0,vi=0}(H(),_(),e+L)}function Na(e,t,n,r){const o=_(),i=H(),s=X();return function Id(e,t,n,r,o,i,s){const a=os(r),c=e.firstCreatePass&&am(e),u=t[te],d=sm(t);let f=!0;if(3&r.type||s){const g=He(r,t),m=s?s(g):g,v=d.length,y=s?S=>s(K(S[r.index])):r.index;let E=null;if(!s&&a&&(E=function vA(e,t,n,r){const o=e.cleanup;if(null!=o)for(let i=0;il?a[l]:null}"string"==typeof s&&(i+=2)}return null}(e,t,o,r.index)),null!==E)(E.__ngLastListenerFn__||E).__ngNextListenerFn__=i,E.__ngLastListenerFn__=i,f=!1;else{i=ev(r,t,u,i,!1);const S=n.listen(m,o,i);d.push(i,S),c&&c.push(o,y,v,v+1)}}else i=ev(r,t,u,i,!1);const h=r.outputs;let p;if(f&&null!==h&&(p=h[o])){const g=p.length;if(g)for(let m=0;m-1?ot(e.index,t):t);let l=K_(t,n,r,s),c=i.__ngNextListenerFn__;for(;c;)l=K_(t,n,c,s)&&l,c=c.__ngNextListenerFn__;return o&&!1===l&&s.preventDefault(),l}}function Nt(e=1){return function Sb(e){return(R.lFrame.contextLView=function Yh(e,t){for(;e>0;)t=t[fr],e--;return t}(e,R.lFrame.contextLView))[te]}(e)}function wA(e,t){let n=null;const r=function QE(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(!(1&n))return t[n+1]}return null}(e);for(let o=0;o(fn(!0),Ys(t[P],r));function Ci(e){return Td("",e,""),Ci}function Td(e,t,n){const r=_(),o=function Xr(e,t,n,r){return he(e,Et(),n)?t+k(n)+r:F}(r,e,t,n);return o!==F&&function rn(e,t,n){const r=Ao(t,e);Pg(e[P],r,n)}(r,Le(),o),Td}function Nd(e,t,n,r,o){if(e=A(e),Array.isArray(e))for(let i=0;i>20;if(jn(e)||!e.multi){const h=new $o(c,o,j),p=Ad(l,t,o?u:u+f,d);-1===p?(Gc(ks(a,s),i,l),xd(i,e,t.length),t.push(l),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(h),s.push(h)):(n[p]=h,s[p]=h)}else{const h=Ad(l,t,u+f,d),p=Ad(l,t,u,u+f),m=p>=0&&n[p];if(o&&!m||!o&&!(h>=0&&n[h])){Gc(ks(a,s),i,l);const v=function HA(e,t,n,r,o){const i=new $o(e,n,j);return i.multi=[],i.index=t,i.componentProviders=0,kv(i,o,r&&!n),i}(o?BA:VA,n.length,o,r,c);!o&&m&&(n[p].providerFactory=v),xd(i,e,t.length,0),t.push(l),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(v),s.push(v)}else xd(i,e,h>-1?h:p,kv(n[o?p:h],c,!o&&r));!o&&r&&m&&n[p].componentProviders++}}}function xd(e,t,n,r){const o=jn(t),i=function hM(e){return!!e.useClass}(t);if(o||i){const l=(i?A(t.useClass):t).prototype.ngOnDestroy;if(l){const c=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const u=c.indexOf(n);-1===u?c.push(n,[r,l]):c[u+1].push(r,l)}else c.push(n,l)}}}function kv(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Ad(e,t,n,r){for(let o=n;o{n.providersResolver=(r,o)=>function jA(e,t,n){const r=H();if(r.firstCreatePass){const o=Ct(e);Nd(n,r.data,r.blueprint,o,!0),Nd(t,r.data,r.blueprint,o,!1)}}(r,o?o(e):e,t)}}function lo(e,t,n,r,o,i){return function qv(e,t,n,r,o,i,s,a){const l=t+n;return function ya(e,t,n,r,o){const i=Gn(e,t,n,r);return he(e,t+2,o)||i}(e,l,o,i,s)?zt(e,l+3,a?r.call(a,o,i,s):r(o,i,s)):Ei(e,l+3)}(_(),$e(),e,t,n,r,o,i)}function Ei(e,t){const n=e[t];return n===F?void 0:n}function Yt(e,t){const n=H();let r;const o=e+L;n.firstCreatePass?(r=function lO(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}}(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];const i=r.factory||(r.factory=Fn(r.type)),a=Xe(j);try{const l=Ls(!1),c=i();return Ls(l),function MA(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,_(),o,c),c}finally{Xe(a)}}function Xv(e,t,n){const r=e+L,o=_(),i=gr(o,r);return bi(o,r)?function Wv(e,t,n,r,o,i){const s=t+n;return he(e,s,o)?zt(e,s+1,i?r.call(i,o):r(o)):Ei(e,s+1)}(o,$e(),t,i.transform,n,i):i.transform(n)}function Aa(e,t,n,r){const o=e+L,i=_(),s=gr(i,o);return bi(i,o)?function Yv(e,t,n,r,o,i,s){const a=t+n;return Gn(e,a,o,i)?zt(e,a+2,s?r.call(s,o,i):r(o,i)):Ei(e,a+2)}(i,$e(),t,s.transform,n,r,s):s.transform(n,r)}function co(e,t,n){const r=e+L,o=_(),i=gr(o,r);return bi(o,r)?function Zv(e,t,n,r,o,i){let s=t+n,a=!1;for(let l=0;l{class e{constructor(n,r,o){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,Hd||(function oR(e){Hd=e}(o),o.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{G.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),n()},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:o})}whenStable(n,r,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,o){return[]}static#e=this.\u0275fac=function(r){return new(r||e)(D(G),D(Bd),D(La))};static#t=this.\u0275prov=b({token:e,factory:e.\u0275fac})}return e})(),Bd=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return Hd?.findTestabilityInTree(this,n,r)??null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function $d(e){return!!e&&"function"==typeof e.then}function vw(e){return!!e&&"function"==typeof e.subscribe}const iR=new M("");let zd=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=T(iR,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const o of this.appInits){const i=o();if($d(i))n.push(i);else if(vw(i)){const s=new Promise((a,l)=>{i.subscribe({complete:a,error:l})});n.push(s)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),0===n.length&&r(),this.initialized=!0}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const ww=new M("");function Ew(e,t){return Array.isArray(t)?t.reduce(Ew,e):{...e,...t}}let sn=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=T(sg),this.afterRenderEffectManager=T(ai),this.componentTypes=[],this.components=[],this.isStable=T(zr).hasPendingTasks.pipe(qe(n=>!n)),this._injector=T(bt)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const o=n instanceof Im;if(!this._injector.get(zd).done)throw!o&&function On(e){const t=V(e)||Ee(e)||Te(e);return null!==t&&t.standalone}(n),new C(405,!1);let s;s=o?n:this._injector.get(Hn).resolveComponentFactory(n),this.componentTypes.push(s.componentType);const a=function sR(e){return e.isBoundToModule}(s)?void 0:this._injector.get(Un),c=s.create(ke.NULL,[],r||s.selector,a),u=c.location.nativeElement,d=c.injector.get(_w,null);return d?.registerApplication(u),c.onDestroy(()=>{this.detachView(c.hostView),ka(this.components,c),d?.unregisterApplication(u)}),this._loadComponent(c),c}tick(){if(this._runningTick)throw new C(101,!1);try{this._runningTick=!0,this.detectChangesInAttachedViews()}catch(n){this.internalErrorHandler(n)}finally{this._runningTick=!1}}detectChangesInAttachedViews(){let n=0;const r=this.afterRenderEffectManager;for(;;){if(100===n)throw new C(103,!1);const o=0===n;for(let{_lView:i,notifyErrorHandler:s}of this._views)!o&&!Ud(i)||this.detectChangesInView(i,s,o);if(n++,r.executeInternalCallbacks(),!this._views.some(({_lView:i})=>Ud(i))&&(r.execute(),!this._views.some(({_lView:i})=>Ud(i))))break}}detectChangesInView(n,r,o){let i;o?(i=0,n[I]|=1024):i=64&n[I]?0:1,ra(n,r,i)}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;ka(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(ww,[]);[...this._bootstrapListeners,...r].forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>ka(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new C(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function ka(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function Ud(e){return zl(e)}let dR=(()=>{class e{constructor(){this.zone=T(G),this.applicationRef=T(sn)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function fR(){const e=T(G),t=T(tn);return n=>e.runOutsideAngular(()=>t.handleError(n))}let pR=(()=>{class e{constructor(){this.subscription=new Be,this.initialized=!1,this.zone=T(G),this.pendingTasks=T(zr)}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{G.assertNotInAngularZone(),queueMicrotask(()=>{null!==n&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{G.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const xt=new M("",{providedIn:"root",factory:()=>T(xt,$.Optional|$.SkipSelf)||function gR(){return typeof $localize<"u"&&$localize.locale||ao}()}),mR=new M("",{providedIn:"root",factory:()=>"USD"}),Gd=new M("");let Sw=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const o=function JS(e="zone.js",t){return"noop"===e?new $m:"zone.js"===e?new G(t):e}(r?.ngZone,function Iw(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return o.run(()=>{const i=function YT(e,t,n){return new td(e,t,n)}(n.moduleType,this.injector,function Mw(e){return[{provide:G,useFactory:e},{provide:Tr,multi:!0,useFactory:()=>{const t=T(dR,{optional:!0});return()=>t.initialize()}},{provide:Tr,multi:!0,useFactory:()=>{const t=T(pR);return()=>{t.initialize()}}},{provide:sg,useFactory:fR}]}(()=>o)),s=i.injector.get(tn,null);return o.runOutsideAngular(()=>{const a=o.onError.subscribe({next:l=>{s.handleError(l)}});i.onDestroy(()=>{ka(this._modules,i),a.unsubscribe()})}),function Cw(e,t,n){try{const r=n();return $d(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(s,o,()=>{const a=i.injector.get(zd);return a.runInitializers(),a.donePromise.then(()=>(function N_(e){"string"==typeof e&&(T_=e.toLowerCase().replace(/_/g,"-"))}(i.injector.get(xt,ao)||ao),this._moduleDoBootstrap(i),i))})})}bootstrapModule(n,r=[]){const o=Ew({},r);return function uR(e,t,n){const r=new nd(n);return Promise.resolve(r)}(0,0,n).then(i=>this.bootstrapModuleFactory(i,o))}_moduleDoBootstrap(n){const r=n.injector.get(sn);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new C(-403,!1);n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new C(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(Gd,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(r){return new(r||e)(D(ke))};static#t=this.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),En=null;const Tw=new M("");function Nw(e,t,n=[]){const r=`Platform: ${t}`,o=new M(r);return(i=[])=>{let s=Wd();if(!s||s.injector.get(Tw,!1)){const a=[...n,...i,{provide:o,useValue:!0}];e?e(a):function _R(e){if(En&&!En.get(Tw,!1))throw new C(400,!1);(function Dw(){!function CE(e){ch=e}(()=>{throw new C(600,!1)})})(),En=e;const t=e.get(Sw);(function Aw(e){e.get(yp,null)?.forEach(n=>n())})(e)}(function xw(e=[],t){return ke.create({name:t,providers:[{provide:Pc,useValue:"platform"},{provide:Gd,useValue:new Set([()=>En=null])},...e]})}(a,r))}return function vR(e){const t=Wd();if(!t)throw new C(401,!1);return t}()}}function Wd(){return En?.get(Sw)??null}const bR=Nw(null,"core",[]);let MR=(()=>{class e{constructor(n){}static#e=this.\u0275fac=function(r){return new(r||e)(D(sn))};static#t=this.\u0275mod=vt({type:e});static#n=this.\u0275inj=ft({})}return e})(),nD=null;function po(){return nD}class tP{}const me=new M("");let rD=(()=>{class e{historyGo(n){throw new Error("")}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=b({token:e,factory:()=>T(nP),providedIn:"platform"})}return e})(),nP=(()=>{class e extends rD{constructor(){super(),this._doc=T(me),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return po().getBaseHref(this._doc)}onPopState(n){const r=po().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){const r=po().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,r,o){this._history.pushState(n,r,o)}replaceState(n,r,o){this._history.replaceState(n,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=b({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function oD(e,t){if(0==e.length)return t;if(0==t.length)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t}function iD(e){const t=e.match(/#|\?|$/),n=t&&t.index||e.length;return e.slice(0,n-("/"===e[n-1]?1:0))+e.slice(n)}function er(e){return e&&"?"!==e[0]?"?"+e:e}let Kd=(()=>{class e{historyGo(n){throw new Error("")}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=b({token:e,factory:()=>T(oP),providedIn:"root"})}return e})();const rP=new M("");let oP=(()=>{class e extends Kd{constructor(n,r){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??T(me).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return oD(this._baseHref,n)}path(n=!1){const r=this._platformLocation.pathname+er(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){const s=this.prepareExternalUrl(o+er(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){const s=this.prepareExternalUrl(o+er(i));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static#e=this.\u0275fac=function(r){return new(r||e)(D(rD),D(rP,8))};static#t=this.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),sD=(()=>{class e{constructor(n){this._subject=new ut,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;const r=this._locationStrategy.getBaseHref();this._basePath=function aP(e){if(new RegExp("^(https?:)?//").test(e)){const[,n]=e.split(/\/\/[^\/]+/);return n}return e}(iD(aD(r))),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+er(r))}normalize(n){return e.stripTrailingSlash(function sP(e,t){if(!e||!t.startsWith(e))return t;const n=t.substring(e.length);return""===n||["/",";","?","#"].includes(n[0])?n:t}(this._basePath,aD(n)))}prepareExternalUrl(n){return n&&"/"!==n[0]&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",o=null){this._locationStrategy.pushState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+er(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+er(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{const r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r,complete:o})}static#e=this.normalizeQueryParams=er;static#t=this.joinWithSlash=oD;static#n=this.stripTrailingSlash=iD;static#r=this.\u0275fac=function(r){return new(r||e)(D(Kd))};static#o=this.\u0275prov=b({token:e,factory:()=>function iP(){return new sD(D(Kd))}(),providedIn:"root"})}return e})();function aD(e){return e.replace(/\/index.html$/,"")}const lD={ADP:[void 0,void 0,0],AFN:[void 0,"\u060b",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058f",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20bc"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GHS:[void 0,"GH\u20b5"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202fCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var Ni=function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e}(Ni||{}),ae=function(e){return e[e.Decimal=0]="Decimal",e[e.Group=1]="Group",e[e.List=2]="List",e[e.PercentSign=3]="PercentSign",e[e.PlusSign=4]="PlusSign",e[e.MinusSign=5]="MinusSign",e[e.Exponential=6]="Exponential",e[e.SuperscriptingExponent=7]="SuperscriptingExponent",e[e.PerMille=8]="PerMille",e[e.Infinity=9]="Infinity",e[e.NaN=10]="NaN",e[e.TimeSeparator=11]="TimeSeparator",e[e.CurrencyDecimal=12]="CurrencyDecimal",e[e.CurrencyGroup=13]="CurrencyGroup",e}(ae||{});function Ve(e,t){const n=ze(e),r=n[re.NumberSymbols][t];if(typeof r>"u"){if(t===ae.CurrencyDecimal)return n[re.NumberSymbols][ae.Decimal];if(t===ae.CurrencyGroup)return n[re.NumberSymbols][ae.Group]}return r}function qa(e,t){return ze(e)[re.NumberFormats][t]}const PP=/^(\d+)?\.((\d+)(-(\d+))?)?$/,hD=22,tl=".",xi="0",LP=";",kP=",",rf="#";function sf(e,t,n,r,o,i,s=!1){let a="",l=!1;if(isFinite(e)){let c=function $P(e){let r,o,i,s,a,t=Math.abs(e)+"",n=0;for((o=t.indexOf(tl))>-1&&(t=t.replace(tl,"")),(i=t.search(/e/i))>0?(o<0&&(o=i),o+=+t.slice(i+1),t=t.substring(0,i)):o<0&&(o=t.length),i=0;t.charAt(i)===xi;i++);if(i===(a=t.length))r=[0],o=1;else{for(a--;t.charAt(a)===xi;)a--;for(o-=i,r=[],s=0;i<=a;i++,s++)r[s]=Number(t.charAt(i))}return o>hD&&(r=r.splice(0,hD-1),n=o-1,o=1),{digits:r,exponent:n,integerLen:o}}(e);s&&(c=function HP(e){if(0===e.digits[0])return e;const t=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(0===t?e.digits.push(0,0):1===t&&e.digits.push(0),e.integerLen+=2),e}(c));let u=t.minInt,d=t.minFrac,f=t.maxFrac;if(i){const y=i.match(PP);if(null===y)throw new Error(`${i} is not a valid digit info`);const E=y[1],S=y[3],N=y[5];null!=E&&(u=lf(E)),null!=S&&(d=lf(S)),null!=N?f=lf(N):null!=S&&d>f&&(f=d)}!function zP(e,t,n){if(t>n)throw new Error(`The minimum number of digits after fraction (${t}) is higher than the maximum (${n}).`);let r=e.digits,o=r.length-e.integerLen;const i=Math.min(Math.max(t,o),n);let s=i+e.integerLen,a=r[s];if(s>0){r.splice(Math.max(e.integerLen,s));for(let d=s;d=5)if(s-1<0){for(let d=0;d>s;d--)r.unshift(0),e.integerLen++;r.unshift(1),e.integerLen++}else r[s-1]++;for(;o=c?p.pop():l=!1),f>=10?1:0},0);u&&(r.unshift(u),e.integerLen++)}(c,d,f);let h=c.digits,p=c.integerLen;const g=c.exponent;let m=[];for(l=h.every(y=>!y);p0?m=h.splice(p,h.length):(m=h,h=[0]);const v=[];for(h.length>=t.lgSize&&v.unshift(h.splice(-t.lgSize,h.length).join(""));h.length>t.gSize;)v.unshift(h.splice(-t.gSize,h.length).join(""));h.length&&v.unshift(h.join("")),a=v.join(Ve(n,r)),m.length&&(a+=Ve(n,o)+m.join("")),g&&(a+=Ve(n,ae.Exponential)+"+"+g)}else a=Ve(n,ae.Infinity);return a=e<0&&!l?t.negPre+a+t.negSuf:t.posPre+a+t.posSuf,a}function af(e,t="-"){const n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=e.split(LP),o=r[0],i=r[1],s=-1!==o.indexOf(tl)?o.split(tl):[o.substring(0,o.lastIndexOf(xi)+1),o.substring(o.lastIndexOf(xi)+1)],a=s[0],l=s[1]||"";n.posPre=a.substring(0,a.indexOf(rf));for(let u=0;u{class e{constructor(n,r){this._viewContainer=n,this._context=new ZP,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){DD("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){DD("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(n,r){return!0}static#e=this.\u0275fac=function(r){return new(r||e)(j(Mt),j(on))};static#t=this.\u0275dir=rt({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return e})();class ZP{constructor(){this.$implicit=null,this.ngIf=null}}function DD(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${Ce(t)}'.`)}class df{constructor(t,n){this._viewContainerRef=t,this._templateRef=n,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()}}let nl=(()=>{class e{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(n){this._ngSwitch=n,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(n){this._defaultViews.push(n)}_matchCase(n){const r=n===this._ngSwitch;return this._lastCasesMatched||=r,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),r}_updateDefaultCases(n){if(this._defaultViews.length>0&&n!==this._defaultUsed){this._defaultUsed=n;for(const r of this._defaultViews)r.enforceState(n)}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275dir=rt({type:e,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}return e})(),CD=(()=>{class e{constructor(n,r,o){this.ngSwitch=o,o._addCase(),this._view=new df(n,r)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static#e=this.\u0275fac=function(r){return new(r||e)(j(Mt),j(on),j(nl,9))};static#t=this.\u0275dir=rt({type:e,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}return e})();function Ot(e,t){return new C(2100,!1)}class KP{createSubscription(t,n){return Om(()=>t.subscribe({next:n,error:r=>{throw r}}))}dispose(t){Om(()=>t.unsubscribe())}}class eL{createSubscription(t,n){return t.then(n,r=>{throw r})}dispose(t){}}const tL=new eL,nL=new KP;let bD=(()=>{class e{constructor(n){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=n}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(n){if(!this._obj){if(n)try{this.markForCheckOnValueUpdate=!1,this._subscribe(n)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return n!==this._obj?(this._dispose(),this.transform(n)):this._latestValue}_subscribe(n){this._obj=n,this._strategy=this._selectStrategy(n),this._subscription=this._strategy.createSubscription(n,r=>this._updateLatestValue(n,r))}_selectStrategy(n){if($d(n))return tL;if(vw(n))return nL;throw Ot()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(n,r){n===this._obj&&(this._latestValue=r,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static#e=this.\u0275fac=function(r){return new(r||e)(j(ju,16))};static#t=this.\u0275pipe=Qe({name:"async",type:e,pure:!1,standalone:!0})}return e})(),ID=(()=>{class e{constructor(n){this._locale=n}transform(n,r,o){if(!hf(n))return null;o||=this._locale;try{return function BP(e,t,n){return sf(e,af(qa(t,Ni.Decimal),Ve(t,ae.MinusSign)),t,ae.Group,ae.Decimal,n)}(pf(n),o,r)}catch(i){throw Ot()}}static#e=this.\u0275fac=function(r){return new(r||e)(j(xt,16))};static#t=this.\u0275pipe=Qe({name:"number",type:e,pure:!0,standalone:!0})}return e})(),ff=(()=>{class e{constructor(n,r="USD"){this._locale=n,this._defaultCurrencyCode=r}transform(n,r=this._defaultCurrencyCode,o="symbol",i,s){if(!hf(n))return null;s||=this._locale,"boolean"==typeof o&&(o=o?"symbol":"code");let a=r||this._defaultCurrencyCode;"code"!==o&&(a="symbol"===o||"symbol-narrow"===o?function _P(e,t,n="en"){const r=function pP(e){return ze(e)[re.Currencies]}(n)[e]||lD[e]||[],o=r[1];return"narrow"===t&&"string"==typeof o?o:r[0]||e}(a,"symbol"===o?"wide":"narrow",s):o);try{return function jP(e,t,n,r,o){const s=af(qa(t,Ni.Currency),Ve(t,ae.MinusSign));return s.minFrac=function wP(e){let t;const n=lD[e];return n&&(t=n[2]),"number"==typeof t?t:2}(r),s.maxFrac=s.minFrac,sf(e,s,t,ae.CurrencyGroup,ae.CurrencyDecimal,o).replace("\xa4",n).replace("\xa4","").trim()}(pf(n),s,a,r,i)}catch(l){throw Ot()}}static#e=this.\u0275fac=function(r){return new(r||e)(j(xt,16),j(mR,16))};static#t=this.\u0275pipe=Qe({name:"currency",type:e,pure:!0,standalone:!0})}return e})();function hf(e){return!(null==e||""===e||e!=e)}function pf(e){if("string"==typeof e&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if("number"!=typeof e)throw new Error(`${e} is not a number`);return e}let _L=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=vt({type:e});static#n=this.\u0275inj=ft({})}return e})();const SD="browser";function TD(e){return"server"===e}class ND{}class XL extends tP{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class mf extends XL{static makeCurrent(){!function eP(e){nD??=e}(new mf)}onAndCancel(t,n,r){return t.addEventListener(n,r),()=>{t.removeEventListener(n,r)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,n){return(n=n||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return"window"===n?window:"document"===n?t:"body"===n?t.body:null}getBaseHref(t){const n=function JL(){return Ri=Ri||document.querySelector("base"),Ri?Ri.getAttribute("href"):null}();return null==n?null:function KL(e){return new URL(e,document.baseURI).pathname}(n)}resetBaseElement(){Ri=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return mD(document.cookie,t)}}let Ri=null,t1=(()=>{class e{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=b({token:e,factory:e.\u0275fac})}return e})();const yf=new M("");let jD=(()=>{class e{constructor(n,r){this._zone=r,this._eventNameToPlugin=new Map,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,r,o){return this._findPluginFor(r).addEventListener(n,r,o)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(i=>i.supports(n)),!r)throw new C(5101,!1);return this._eventNameToPlugin.set(n,r),r}static#e=this.\u0275fac=function(r){return new(r||e)(D(yf),D(G))};static#t=this.\u0275prov=b({token:e,factory:e.\u0275fac})}return e})();class VD{constructor(t){this._doc=t}}const _f="ng-app-id";let BD=(()=>{class e{constructor(n,r,o,i={}){this.doc=n,this.appId=r,this.nonce=o,this.platformId=i,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=TD(i),this.resetHostNodes()}addStyles(n){for(const r of n)1===this.changeUsageCount(r,1)&&this.onStyleAdded(r)}removeStyles(n){for(const r of n)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){const n=this.styleNodesInDOM;n&&(n.forEach(r=>r.remove()),n.clear());for(const r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(const r of this.getAllStyles())this.addStyleToHost(n,r)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(const r of this.hostNodes)this.addStyleToHost(r,n)}onStyleRemoved(n){const r=this.styleRef;r.get(n)?.elements?.forEach(o=>o.remove()),r.delete(n)}collectServerRenderedStyles(){const n=this.doc.head?.querySelectorAll(`style[${_f}="${this.appId}"]`);if(n?.length){const r=new Map;return n.forEach(o=>{null!=o.textContent&&r.set(o.textContent,o)}),r}return null}changeUsageCount(n,r){const o=this.styleRef;if(o.has(n)){const i=o.get(n);return i.usage+=r,i.usage}return o.set(n,{usage:r,elements:[]}),r}getStyleElement(n,r){const o=this.styleNodesInDOM,i=o?.get(r);if(i?.parentNode===n)return o.delete(r),i.removeAttribute(_f),i;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=r,this.platformIsServer&&s.setAttribute(_f,this.appId),n.appendChild(s),s}}addStyleToHost(n,r){const o=this.getStyleElement(n,r),i=this.styleRef,s=i.get(r)?.elements;s?s.push(o):i.set(r,{elements:[o],usage:1})}resetHostNodes(){const n=this.hostNodes;n.clear(),n.add(this.doc.head)}static#e=this.\u0275fac=function(r){return new(r||e)(D(me),D(gs),D(_p,8),D(pn))};static#t=this.\u0275prov=b({token:e,factory:e.\u0275fac})}return e})();const vf={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/"},wf=/%COMP%/g,i1=new M("",{providedIn:"root",factory:()=>!0});function $D(e,t){return t.map(n=>n.replace(wf,e))}let zD=(()=>{class e{constructor(n,r,o,i,s,a,l,c=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.platformId=a,this.ngZone=l,this.nonce=c,this.rendererByCompId=new Map,this.platformIsServer=TD(a),this.defaultRenderer=new Df(n,s,l,this.platformIsServer)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===yt.ShadowDom&&(r={...r,encapsulation:yt.Emulated});const o=this.getOrCreateRenderer(n,r);return o instanceof GD?o.applyToHost(n):o instanceof Cf&&o.applyStyles(),o}getOrCreateRenderer(n,r){const o=this.rendererByCompId;let i=o.get(r.id);if(!i){const s=this.doc,a=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,d=this.platformIsServer;switch(r.encapsulation){case yt.Emulated:i=new GD(l,c,r,this.appId,u,s,a,d);break;case yt.ShadowDom:return new c1(l,c,n,r,s,a,this.nonce,d);default:i=new Cf(l,c,r,u,s,a,d)}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(r){return new(r||e)(D(jD),D(BD),D(gs),D(i1),D(me),D(pn),D(G),D(_p))};static#t=this.\u0275prov=b({token:e,factory:e.\u0275fac})}return e})();class Df{constructor(t,n,r,o){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(t,n){return n?this.doc.createElementNS(vf[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(UD(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(UD(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){t&&t.removeChild(n)}selectRootElement(t,n){let r="string"==typeof t?this.doc.querySelector(t):t;if(!r)throw new C(-5104,!1);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;const i=vf[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const o=vf[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){o&(_n.DashCase|_n.Important)?t.style.setProperty(n,r,o&_n.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&_n.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){null!=t&&(t[n]=r)}setValue(t,n){t.nodeValue=n}listen(t,n,r){if("string"==typeof t&&!(t=po().getGlobalEventTarget(this.doc,t)))throw new Error(`Unsupported event target ${t} for event ${n}`);return this.eventManager.addEventListener(t,n,this.decoratePreventDefault(r))}decoratePreventDefault(t){return n=>{if("__ngUnwrap__"===n)return t;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>t(n)):t(n))&&n.preventDefault()}}}function UD(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class c1 extends Df{constructor(t,n,r,o,i,s,a,l){super(t,i,s,l),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const c=$D(o.id,o.styles);for(const u of c){const d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=u,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(this.nodeOrShadowRoot(t),n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Cf extends Df{constructor(t,n,r,o,i,s,a,l){super(t,i,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o,this.styles=l?$D(l,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class GD extends Cf{constructor(t,n,r,o,i,s,a,l){const c=o+"-"+r.id;super(t,n,r,i,s,a,l,c),this.contentAttr=function s1(e){return"_ngcontent-%COMP%".replace(wf,e)}(c),this.hostAttr=function a1(e){return"_nghost-%COMP%".replace(wf,e)}(c)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){const r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}}let u1=(()=>{class e extends VD{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o){return n.addEventListener(r,o,!1),()=>this.removeEventListener(n,r,o)}removeEventListener(n,r,o){return n.removeEventListener(r,o)}static#e=this.\u0275fac=function(r){return new(r||e)(D(me))};static#t=this.\u0275prov=b({token:e,factory:e.\u0275fac})}return e})();const WD=["alt","control","meta","shift"],d1={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},f1={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let h1=(()=>{class e extends VD{constructor(n){super(n)}supports(n){return null!=e.parseEventName(n)}addEventListener(n,r,o){const i=e.parseEventName(r),s=e.eventCallback(i.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>po().onAndCancel(n,i.domEventName,s))}static parseEventName(n){const r=n.toLowerCase().split("."),o=r.shift();if(0===r.length||"keydown"!==o&&"keyup"!==o)return null;const i=e._normalizeKey(r.pop());let s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),WD.forEach(c=>{const u=r.indexOf(c);u>-1&&(r.splice(u,1),s+=c+".")}),s+=i,0!=r.length||0===i.length)return null;const l={};return l.domEventName=o,l.fullKey=s,l}static matchEventFullKeyCode(n,r){let o=d1[n.key]||n.key,i="";return r.indexOf("code.")>-1&&(o=n.code,i="code."),!(null==o||!o)&&(o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),WD.forEach(s=>{s!==o&&(0,f1[s])(n)&&(i+=s+".")}),i+=o,i===r)}static eventCallback(n,r,o){return i=>{e.matchEventFullKeyCode(i,n)&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return"esc"===n?"escape":n}static#e=this.\u0275fac=function(r){return new(r||e)(D(me))};static#t=this.\u0275prov=b({token:e,factory:e.\u0275fac})}return e})();const y1=Nw(bR,"browser",[{provide:pn,useValue:SD},{provide:yp,useValue:function p1(){mf.makeCurrent()},multi:!0},{provide:me,useFactory:function m1(){return function Pb(e){oc=e}(document),document},deps:[]}]),_1=new M(""),QD=[{provide:La,useClass:class e1{addToWindow(t){Q.getAngularTestability=(r,o=!0)=>{const i=t.findTestabilityInTree(r,o);if(null==i)throw new C(5103,!1);return i},Q.getAllAngularTestabilities=()=>t.getAllTestabilities(),Q.getAllAngularRootElements=()=>t.getAllRootElements(),Q.frameworkStabilizers||(Q.frameworkStabilizers=[]),Q.frameworkStabilizers.push(r=>{const o=Q.getAllAngularTestabilities();let i=o.length;const s=function(){i--,0==i&&r()};o.forEach(a=>{a.whenStable(s)})})}findTestabilityInTree(t,n,r){return null==n?null:t.getTestability(n)??(r?po().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}},deps:[]},{provide:_w,useClass:Vd,deps:[G,Bd,La]},{provide:Vd,useClass:Vd,deps:[G,Bd,La]}],ZD=[{provide:Pc,useValue:"root"},{provide:tn,useFactory:function g1(){return new tn},deps:[]},{provide:yf,useClass:u1,multi:!0,deps:[me,G,pn]},{provide:yf,useClass:h1,multi:!0,deps:[me]},zD,BD,jD,{provide:Tm,useExisting:zD},{provide:ND,useClass:t1,deps:[]},[]];let v1=(()=>{class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:gs,useValue:n.appId}]}}static#e=this.\u0275fac=function(r){return new(r||e)(D(_1,12))};static#t=this.\u0275mod=vt({type:e});static#n=this.\u0275inj=ft({providers:[...ZD,...QD],imports:[_L,MR]})}return e})();var b1=Kf.t(JSON.parse('{"ckeditorLicense":"ETYPME234.GTL514TCO770","sentryUrl":"https://055692dd96b545f9a5a6287694cd14b2@o1177741.ingest.sentry.io/6725188","matomoContainerUrl":"https://cdn.matomo.cloud/anyday.matomo.cloud/container_Dv9yazIC.js","enableCookieConsent":"true","seonJsFile":"https://cdn.seondf.com/js/v5/agent.js","marqetaJsFile":"","rudderstackWriteKey":"2TVM1zsBEweZuSBlZJHvYMElTNj","rudderstackDataPlaneUrl":"https://rudderstack.yadyna.xyz/"}'),2);const tr={host:"",basePath:"/api/v1/internal/",basePathV2:"/api/v2/internal/",production:!0,lazyTimeMs:0,ckeditorLicense:b1.ckeditorLicense,sentryUrl:b1.sentryUrl,matomoContainerUrl:b1.matomoContainerUrl,enableCookieConsent:"true"===b1.enableCookieConsent,storytellerApi:"8414e416-8684-4a36-89dc-8ab4b5acb1d5",seonJsFile:b1.seonJsFile,marqetaJsFile:b1.marqetaJsFile,rudderstackDataPlaneUrl:b1.rudderstackDataPlaneUrl,rudderstackWriteKey:b1.rudderstackWriteKey};function eC(e,t=0){return function M1(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}(e)?Number(e):t}function tC(e){return Array.isArray(e)?e:[e]}function we(e){return null==e?"":"string"==typeof e?e:`${e}px`}function nC(e){return e instanceof jt?e.nativeElement:e}class Ef{attach(t){return this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;null!=t&&(this._attachedHost=null,t.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(t){this._attachedHost=t}}class I1 extends Ef{constructor(t,n,r,o,i){super(),this.component=t,this.viewContainerRef=n,this.injector=r,this.componentFactoryResolver=o,this.projectableNodes=i}}class rC extends Ef{constructor(t,n,r,o){super(),this.templateRef=t,this.viewContainerRef=n,this.context=r,this.injector=o}get origin(){return this.templateRef.elementRef}attach(t,n=this.context){return this.context=n,super.attach(t)}detach(){return this.context=void 0,super.detach()}}class S1 extends Ef{constructor(t){super(),this.element=t instanceof jt?t.nativeElement:t}}class T1{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){return t instanceof I1?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof rC?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof S1?(this._attachedPortal=t,this.attachDomPortal(t)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class N1 extends T1{constructor(t,n,r,o,i){super(),this.outletElement=t,this._componentFactoryResolver=n,this._appRef=r,this._defaultInjector=o,this.attachDomPortal=s=>{const a=s.element,l=this._document.createComment("dom-portal");a.parentNode.insertBefore(l,a),this.outletElement.appendChild(a),this._attachedPortal=s,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(a,l)})},this._document=i}attachComponentPortal(t){const r=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component);let o;return t.viewContainerRef?(o=t.viewContainerRef.createComponent(r,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector,t.projectableNodes||void 0),this.setDisposeFn(()=>o.destroy())):(o=r.create(t.injector||this._defaultInjector||ke.NULL),this._appRef.attachView(o.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(o.hostView),o.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(o)),this._attachedPortal=t,o}attachTemplatePortal(t){let n=t.viewContainerRef,r=n.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return r.rootNodes.forEach(o=>this.outletElement.appendChild(o)),r.detectChanges(),this.setDisposeFn(()=>{let o=n.indexOf(r);-1!==o&&n.remove(o)}),this._attachedPortal=t,r}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(t){return t.hostView.rootNodes[0]}}let x1=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=vt({type:e});static#n=this.\u0275inj=ft({})}return e})();function Mn(e){return this instanceof Mn?(this.v=e,this):new Mn(e)}function aC(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,t=e[Symbol.asyncIterator];return t?t.call(e):(e=function Sf(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,l){!function o(i,s,a,l){Promise.resolve(l).then(function(c){i({value:c,done:a})},s)}(a,l,(s=e[i](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const Tf=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function lC(e){return J(e?.then)}function cC(e){return J(e[Nl])}function uC(e){return Symbol.asyncIterator&&J(e?.[Symbol.asyncIterator])}function dC(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const fC=function J1(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function hC(e){return J(e?.[fC])}function pC(e){return function sC(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,r=n.apply(e,t||[]),i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(f){r[f]&&(o[f]=function(h){return new Promise(function(p,g){i.push([f,h,p,g])>1||a(f,h)})})}function a(f,h){try{!function l(f){f.value instanceof Mn?Promise.resolve(f.value.v).then(c,u):d(i[0][2],f)}(r[f](h))}catch(p){d(i[0][3],p)}}function c(f){a("next",f)}function u(f){a("throw",f)}function d(f,h){f(h),i.shift(),i.length&&a(i[0][0],i[0][1])}}(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:r,done:o}=yield Mn(n.read());if(o)return yield Mn(void 0);yield yield Mn(r)}}finally{n.releaseLock()}})}function gC(e){return J(e?.getReader)}function Rt(e){if(e instanceof ye)return e;if(null!=e){if(cC(e))return function K1(e){return new ye(t=>{const n=e[Nl]();if(J(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Tf(e))return function ek(e){return new ye(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,mh)})}(e);if(uC(e))return mC(e);if(hC(e))return function nk(e){return new ye(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(gC(e))return function rk(e){return mC(pC(e))}(e)}throw dC(e)}function mC(e){return new ye(t=>{(function ok(e,t){var n,r,o,i;return function oC(e,t,n,r){return new(n||(n=Promise))(function(i,s){function a(u){try{c(r.next(u))}catch(d){s(d)}}function l(u){try{c(r.throw(u))}catch(d){s(d)}}function c(u){u.done?i(u.value):function o(i){return i instanceof n?i:new n(function(s){s(i)})}(u.value).then(a,l)}c((r=r.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=aC(e);!(r=yield n.next()).done;)if(t.next(r.value),t.closed)return}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})})(e,t).catch(n=>t.error(n))})}function Nf(e){return Ye((t,n)=>{Rt(e).subscribe(xe(n,()=>n.complete(),Co)),!n.closed&&t.subscribe(n)})}let yC=(()=>{class e{get $onDestroy(){return this._onDestroySubject.asObservable()}takeUntilDestroyed(){return Nf(this.$onDestroy)}constructor(){this._onDestroySubject=new We}ngOnDestroy(){this._onDestroySubject.next(),this._onDestroySubject.complete()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275dir=rt({type:e})}return e})();const xf={now:()=>(xf.delegate||Date).now(),delegate:void 0};class nr extends We{constructor(t=1/0,n=1/0,r=xf){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){const{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();const n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s{n.subscribe(xe(r,o=>cn(r,e,()=>r.next(o),t),()=>cn(r,e,()=>r.complete(),t),o=>cn(r,e,()=>r.error(o),t)))})}function vC(e,t=0){return Ye((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function wC(e,t){if(!e)throw new Error("Iterable cannot be null");return new ye(n=>{cn(n,t,()=>{const r=e[Symbol.asyncIterator]();cn(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function mo(e,t){return t?function mk(e,t){if(null!=e){if(cC(e))return function dk(e,t){return Rt(e).pipe(vC(t),_C(t))}(e,t);if(Tf(e))return function hk(e,t){return new ye(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if(lC(e))return function fk(e,t){return Rt(e).pipe(vC(t),_C(t))}(e,t);if(uC(e))return wC(e,t);if(hC(e))return function pk(e,t){return new ye(n=>{let r;return cn(n,t,()=>{r=e[fC](),cn(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){return void n.error(s)}i?n.complete():n.next(o)},0,!0)}),()=>J(r?.return)&&r.return()})}(e,t);if(gC(e))return function gk(e,t){return wC(pC(e),t)}(e,t)}throw dC(e)}(e,t):Rt(e)}const{isArray:yk}=Array;function DC(e){return qe(t=>function _k(e,t){return yk(t)?e(...t):e(t)}(e,t))}function CC(e){return e&&J(e.schedule)}function Af(e){return e[e.length-1]}function Li(e){return CC(Af(e))?e.pop():void 0}function Of(...e){const t=Li(e),n=function vk(e){return J(Af(e))?e.pop():void 0}(e),{args:r,keys:o}=function ck(e){if(1===e.length){const t=e[0];if(ik(t))return{args:t,keys:null};if(function uk(e){return e&&"object"==typeof e&&sk(e)===ak}(t)){const n=lk(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}(e);if(0===r.length)return mo([],t);const i=new ye(function Ck(e,t,n=Eo){return r=>{EC(t,()=>{const{length:o}=e,i=new Array(o);let s=o,a=o;for(let l=0;l{const c=mo(e[l],t);let u=!1;c.subscribe(xe(r,d=>{i[l]=d,u||(u=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}(r,t,o?s=>function Dk(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}(o,s):Eo));return n?i.pipe(DC(n)):i}function EC(e,t,n){e?cn(n,e,t):t()}class Ek extends Be{constructor(t,n){super()}schedule(t,n=0){return this}}const il={setInterval(e,t,...n){const{delegate:r}=il;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){const{delegate:t}=il;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};class Rf extends Ek{constructor(t,n){super(t,n),this.scheduler=t,this.work=n,this.pending=!1}schedule(t,n=0){var r;if(this.closed)return this;this.state=t;const o=this.id,i=this.scheduler;return null!=o&&(this.id=this.recycleAsyncId(i,o,n)),this.pending=!0,this.delay=n,this.id=null!==(r=this.id)&&void 0!==r?r:this.requestAsyncId(i,this.id,n),this}requestAsyncId(t,n,r=0){return il.setInterval(t.flush.bind(t,this),r)}recycleAsyncId(t,n,r=0){if(null!=r&&this.delay===r&&!1===this.pending)return n;null!=n&&il.clearInterval(n)}execute(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const r=this._execute(t,n);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,n){let o,r=!1;try{this.work(t)}catch(i){r=!0,o=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){const{id:t,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,Qi(r,this),null!=t&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}}class ki{constructor(t,n=ki.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,r){return new this.schedulerActionCtor(this,t).schedule(r,n)}}ki.now=xf.now;class Pf extends ki{constructor(t,n=ki.now){super(t,n),this.actions=[],this._active=!1}flush(t){const{actions:n}=this;if(this._active)return void n.push(t);let r;this._active=!0;do{if(r=t.execute(t.state,t.delay))break}while(t=n.shift());if(this._active=!1,r){for(;t=n.shift();)t.unsubscribe();throw r}}}const Lf=new Pf(Rf),bk=Lf;function kf(e=0,t,n=bk){let r=-1;return null!=t&&(CC(t)?n=t:r=t),new ye(o=>{let i=function Mk(e){return e instanceof Date&&!isNaN(e)}(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function Fi(e,t,n=1/0){return J(t)?Fi((r,o)=>qe((i,s)=>t(r,i,o,s))(Rt(e(r,o))),n):("number"==typeof t&&(n=t),Ye((r,o)=>function Ik(e,t,n,r,o,i,s,a){const l=[];let c=0,u=0,d=!1;const f=()=>{d&&!l.length&&!c&&t.complete()},h=g=>c{i&&t.next(g),c++;let m=!1;Rt(n(g,u++)).subscribe(xe(t,v=>{o?.(v),i?h(v):t.next(v)},()=>{m=!0},void 0,()=>{if(m)try{for(c--;l.length&&cp(v)):p(v)}f()}catch(v){t.error(v)}}))};return e.subscribe(xe(t,h,()=>{d=!0,f()})),()=>{a?.()}}(r,o,e,n)))}function bC(e=1/0){return Fi(Eo,e)}function MC(...e){return function Sk(){return bC(1)}()(mo(e,Li(e)))}function gt(...e){const t=Li(e);return Ye((n,r)=>{(t?MC(e,n,t):MC(e,n)).subscribe(r)})}function IC(e){return Ye((t,n)=>{let r=!1,o=null;t.subscribe(xe(n,i=>{r=!0,o=i})),Rt(e).subscribe(xe(n,()=>{if(r){r=!1;const i=o;o=null,n.next(i)}},Co))})}const Ff=new ye(e=>e.complete());function sl(e){return e<=0?()=>Ff:Ye((t,n)=>{let r=0;t.subscribe(xe(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function rr(e,t){return Ye((n,r)=>{let o=null,i=0,s=!1;const a=()=>s&&!o&&r.complete();n.subscribe(xe(r,l=>{o?.unsubscribe();let c=0;const u=i++;Rt(e(l,u)).subscribe(o=xe(r,d=>r.next(t?t(l,d,u,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}const SC=new ye(Co);function al(e,t=Lf){return Ye((n,r)=>{let o=null,i=null,s=null;const a=()=>{if(o){o.unsubscribe(),o=null;const c=i;i=null,r.next(c)}};function l(){const c=s+e,u=t.now();if(u{i=c,s=t.now(),o||(o=t.schedule(l,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function yo(e,t){return Ye((n,r)=>{let o=0;n.subscribe(xe(r,i=>e.call(t,i,o++)&&r.next(i)))})}function xk(e,t){return e===t}let Ok=(()=>{class e{create(n){return typeof MutationObserver>"u"?null:new MutationObserver(n)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Rk=(()=>{class e{constructor(n){this._mutationObserverFactory=n,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((n,r)=>this._cleanupObserver(r))}observe(n){const r=nC(n);return new ye(o=>{const s=this._observeElement(r).subscribe(o);return()=>{s.unsubscribe(),this._unobserveElement(r)}})}_observeElement(n){if(this._observedElements.has(n))this._observedElements.get(n).count++;else{const r=new We,o=this._mutationObserverFactory.create(i=>r.next(i));o&&o.observe(n,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(n,{observer:o,stream:r,count:1})}return this._observedElements.get(n).stream}_unobserveElement(n){this._observedElements.has(n)&&(this._observedElements.get(n).count--,this._observedElements.get(n).count||this._cleanupObserver(n))}_cleanupObserver(n){if(this._observedElements.has(n)){const{observer:r,stream:o}=this._observedElements.get(n);r&&r.disconnect(),o.complete(),this._observedElements.delete(n)}}static#e=this.\u0275fac=function(r){return new(r||e)(D(Ok))};static#t=this.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),TC=(()=>{class e extends yC{static#e=this.priceMatcher=/(\d[\d,.\s]+\d|\d{1,2})/;constructor(n,r,o,i){super(),this.contentObserver=n,this.priceTag=r,this.document=o,this.localeId=i}watchSelector$(n,r){return Of([n,r.pipe(gt(this.localeId))]).pipe(al(1),rr(([o,i])=>this.watchPriceElement(o,i)),yo(o=>!!o),function Nk(e,t=Eo){return e=e??xk,Ye((n,r)=>{let o,i=!0;n.subscribe(xe(r,s=>{const a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}(),this.takeUntilDestroyed())}watchPriceElement(n,r){let i,o=e.findCommonParent(n,this.priceTag.nativeElement);return i=o?this.observe(o):this.observe(this.document.body).pipe(al(1),qe(()=>e.findCommonParent(n,this.priceTag.nativeElement)),yo(s=>!!s),sl(1),rr(s=>this.observe(s))),i.pipe(qe(s=>e.findElement(n,s)),rr(s=>this.observe(s)),al(1),qe(s=>e.getPriceFromElement(s,r)))}observe(n){return n?this.contentObserver.observe(n).pipe(gt(void 0),function Ak(e){return qe(()=>e)}(n)):SC}static findCommonParent(n,r){let i,o=r;do{o=o?.parentElement,i=this.findElement(n,o)}while(o&&!i);return o}static findElement(n,r){return r?.querySelector(n)??null}static getPriceFromElement(n,r){return this.getPriceFromText(n.innerText,r)}static getPriceFromText(n,r){let o=this.getCleanedPriceText(n);if(null!==o)return this.validateFormat(o,r),o=this.replaceLocaleGroupWithBlank(o,r),o=this.replaceLocaleDecimalWithPeriod(o,r),parseFloat(o);console.error("Anyday-Price-Tag found a valid 'price-tag-selector' element but could not find a valid number '"+n+"'")}static getCleanedPriceText(n){const r=this.priceMatcher.exec(n);return r&&r[1]||null}static validateFormat(n,r){if(!this.isFormatValid(n,r)){let i=qa(r,Ni.Currency);console.error("Anyday-Price-Tag the format of the price '"+n+"' did not match the locale '"+r+"'. Expected format for locale '"+r+"' is '"+i+"'")}}static isFormatValid(n,r){let o=Ve(r,ae.CurrencyDecimal),i=Ve(r,ae.CurrencyGroup);"."===o?o="\\.":"."===i&&(i="\\.");let l=new RegExp("^(\\d{1,3})(["+i+"\\s]{1}\\d{3})*("+o+"\\d+)?$|^(\\d+)?("+o+"\\d+)?$").exec(n);return!(!l||!l[1])}static replaceLocaleDecimalWithPeriod(n,r){let o=Ve(r,ae.CurrencyDecimal);return n.replace(new RegExp(this.escapeRegExp(o),"g"),".")}static replaceLocaleGroupWithBlank(n,r){let o=Ve(r,ae.CurrencyGroup),i=this.escapeRegExp(o);return n.replace(new RegExp(i,"g"),"")}static escapeRegExp(n){return n.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&").replace(/\s/g,"\\s")}static#t=this.\u0275fac=function(r){return new(r||e)(D(Rk),D(jt),D(me),D(xt))};static#n=this.\u0275prov=b({token:e,factory:e.\u0275fac})}return e})();var or=function(e){return e[e.Fine=0]="Fine",e[e.MerchantDeactivated=1]="MerchantDeactivated",e[e.WebShopNotfound=2]="WebShopNotfound",e[e.WebShopHostNotAllowed=3]="WebShopHostNotAllowed",e[e.CannotConnectToAPI=4]="CannotConnectToAPI",e[e.Unknown=5]="Unknown",e}(or||{});let Pk=(()=>{class e{static getLocale(n,r){return{DKK:"da",USD:"en"}[n]||r}static format(n,r,o=2){n||(n=0),r||(r="DKK");const i=this.getLocale(r,"da"),s=`1.${o}-${o}`;return new ff(i,r).transform(n,r,"symbol-narrow",s,i)||String(n)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Lk=(()=>{class e{calculateEstimatedPrice(n){var r=this;return function Wi(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function s(l){Gi(i,r,o,s,a,"next",l)}function a(l){Gi(i,r,o,s,a,"throw",l)}s(void 0)})}}(function*(){const o={totalPrice:parseFloat(eC(n.totalPrice,0).toFixed(2)),currency:n.currency},i={error:or.Fine};try{i.estimate={currency:o.currency,totalPrice:o.totalPrice,splitCount:4,splitPercent:25,monthlyPayment:r.bankersRounding(o.totalPrice/4,2)}}catch{i.error=or.Unknown,console.error("Price tag unknown error, please contact Anyday support")}return i})()}bankersRounding(n,r){let o=r||0,i=Math.pow(10,o),s=+(o?n*i:n).toFixed(8),a=Math.floor(s),l=s-a,u=l>.5-1e-8&&l<.5+1e-8?a%2==0?a:a+1:Math.round(s);return o?u/i:u}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),kk=(()=>{class e{constructor(n){this.priceEstimateService=n}watchPrice(n,r,o){const i=Of([o.pipe(gt(void 0)),r.pipe(gt(void 0)),n.pipe(gt(void 0))]).pipe(qe(([a,l,c])=>({priceTagToken:a,currency:l,totalPrice:c}))),s=i.pipe(yo(a=>void 0!==a.currency&&void 0!==a.totalPrice&&void 0!==a.priceTagToken));return i.pipe(IC(kf(3e3)),sl(1),Nf(s)).subscribe(a=>{this.checkQuery(a)}),s.pipe(al(1e3),rr(a=>this.priceEstimateService.calculateEstimatedPrice(a)))}checkQuery(n){const r=[];if(void 0===n.totalPrice&&r.push("Total price could not be resolved. If there are no other validation errors or warnings in the log this is likely because the 'price-tag-selector' could not be located."),void 0===n.priceTagToken&&r.push("Price tag token not set, did you forget to specify the 'price-tag-token' attribute?"),void 0===n.currency&&r.push("Currency not set, did you forget to specify the 'currency' attribute"),r.length>0)throw new Error("Anyday price tag error: "+r.join(", "))}static#e=this.\u0275fac=function(r){return new(r||e)(D(Lk))};static#t=this.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function jf(...e){return mo(e,Li(e))}const Fk=["addListener","removeListener"],jk=["addEventListener","removeEventListener"],Vk=["on","off"];function Vf(e,t,n,r){if(J(n)&&(r=n,n=void 0),r)return Vf(e,t,n).pipe(DC(r));const[o,i]=function $k(e){return J(e.addEventListener)&&J(e.removeEventListener)}(e)?jk.map(s=>a=>e[s](t,a,n)):function Bk(e){return J(e.addListener)&&J(e.removeListener)}(e)?Fk.map(NC(e,t)):function Hk(e){return J(e.on)&&J(e.off)}(e)?Vk.map(NC(e,t)):[];if(!o&&Tf(e))return Fi(s=>Vf(s,t,n))(Rt(e));if(!o)throw new TypeError("Invalid event target");return new ye(s=>{const a=(...l)=>s.next(1i(a)})}function NC(e,t){return n=>r=>e[n](t,r)}const ji={schedule(e){let t=requestAnimationFrame,n=cancelAnimationFrame;const{delegate:r}=ji;r&&(t=r.requestAnimationFrame,n=r.cancelAnimationFrame);const o=t(i=>{n=void 0,e(i)});return new Be(()=>n?.(o))},requestAnimationFrame(...e){const{delegate:t}=ji;return(t?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){const{delegate:t}=ji;return(t?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0};new class Uk extends Pf{flush(t){this._active=!0;const n=this._scheduled;this._scheduled=void 0;const{actions:r}=this;let o;t=t||r.shift();do{if(o=t.execute(t.state,t.delay))break}while((t=r[0])&&t.id===n&&r.shift());if(this._active=!1,o){for(;(t=r[0])&&t.id===n&&r.shift();)t.unsubscribe();throw o}}}(class zk extends Rf{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}requestAsyncId(t,n,r=0){return null!==r&&r>0?super.requestAsyncId(t,n,r):(t.actions.push(this),t._scheduled||(t._scheduled=ji.requestAnimationFrame(()=>t.flush(void 0))))}recycleAsyncId(t,n,r=0){var o;if(null!=r?r>0:this.delay>0)return super.recycleAsyncId(t,n,r);const{actions:i}=t;null!=n&&(null===(o=i[i.length-1])||void 0===o?void 0:o.id)!==n&&(ji.cancelAnimationFrame(n),t._scheduled=void 0)}});let Bf,Wk=1;const ll={};function xC(e){return e in ll&&(delete ll[e],!0)}const Yk={setImmediate(e){const t=Wk++;return ll[t]=!0,Bf||(Bf=Promise.resolve()),Bf.then(()=>xC(t)&&e()),t},clearImmediate(e){xC(e)}},{setImmediate:qk,clearImmediate:Qk}=Yk,cl={setImmediate(...e){const{delegate:t}=cl;return(t?.setImmediate||qk)(...e)},clearImmediate(e){const{delegate:t}=cl;return(t?.clearImmediate||Qk)(e)},delegate:void 0};new class Xk extends Pf{flush(t){this._active=!0;const n=this._scheduled;this._scheduled=void 0;const{actions:r}=this;let o;t=t||r.shift();do{if(o=t.execute(t.state,t.delay))break}while((t=r[0])&&t.id===n&&r.shift());if(this._active=!1,o){for(;(t=r[0])&&t.id===n&&r.shift();)t.unsubscribe();throw o}}}(class Zk extends Rf{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}requestAsyncId(t,n,r=0){return null!==r&&r>0?super.requestAsyncId(t,n,r):(t.actions.push(this),t._scheduled||(t._scheduled=cl.setImmediate(t.flush.bind(t,void 0))))}recycleAsyncId(t,n,r=0){var o;if(null!=r?r>0:this.delay>0)return super.recycleAsyncId(t,n,r);const{actions:i}=t;null!=n&&(null===(o=i[i.length-1])||void 0===o?void 0:o.id)!==n&&(cl.clearImmediate(n),t._scheduled===n&&(t._scheduled=void 0))}});function AC(e,t=Lf){return function Kk(e){return Ye((t,n)=>{let r=!1,o=null,i=null,s=!1;const a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;const c=o;o=null,n.next(c)}s&&n.complete()},l=()=>{i=null,s&&n.complete()};t.subscribe(xe(n,c=>{r=!0,o=c,i||Rt(e(c)).subscribe(i=xe(n,a,l))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}(()=>kf(e,t))}let Hf;try{Hf=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Hf=!1}let ir,Vi=(()=>{class e{constructor(n){this._platformId=n,this.isBrowser=this._platformId?function CL(e){return e===SD}(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!Hf)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}static#e=this.\u0275fac=function(r){return new(r||e)(D(pn))};static#t=this.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function tF(){if(null==ir){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return ir=!1,ir;if("scrollBehavior"in document.documentElement.style)ir=!0;else{const e=Element.prototype.scrollTo;ir=!!e&&!/\{\s*\[native code\]\s*\}/.test(e.toString())}}return ir}function RC(e){return e.composedPath?e.composedPath()[0]:e.target}function PC(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}const rF=new M("cdk-dir-doc",{providedIn:"root",factory:function oF(){return T(me)}}),iF=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let aF=(()=>{class e{constructor(n){this.value="ltr",this.change=new ut,n&&(this.value=function sF(e){const t=e?.toLowerCase()||"";return"auto"===t&&typeof navigator<"u"&&navigator?.language?iF.test(navigator.language)?"rtl":"ltr":"rtl"===t?"rtl":"ltr"}((n.body?n.body.dir:null)||(n.documentElement?n.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static#e=this.\u0275fac=function(r){return new(r||e)(D(rF,8))};static#t=this.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),zf=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=vt({type:e});static#n=this.\u0275inj=ft({})}return e})(),cF=(()=>{class e{constructor(n,r,o){this._ngZone=n,this._platform=r,this._scrolled=new We,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=o}register(n){this.scrollContainers.has(n)||this.scrollContainers.set(n,n.elementScrolled().subscribe(()=>this._scrolled.next(n)))}deregister(n){const r=this.scrollContainers.get(n);r&&(r.unsubscribe(),this.scrollContainers.delete(n))}scrolled(n=20){return this._platform.isBrowser?new ye(r=>{this._globalSubscription||this._addGlobalListener();const o=n>0?this._scrolled.pipe(AC(n)).subscribe(r):this._scrolled.subscribe(r);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):jf()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((n,r)=>this.deregister(r)),this._scrolled.complete()}ancestorScrolled(n,r){const o=this.getAncestorScrollContainers(n);return this.scrolled(r).pipe(yo(i=>!i||o.indexOf(i)>-1))}getAncestorScrollContainers(n){const r=[];return this.scrollContainers.forEach((o,i)=>{this._scrollableContainsElement(i,n)&&r.push(i)}),r}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(n,r){let o=nC(r),i=n.getElementRef().nativeElement;do{if(o==i)return!0}while(o=o.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>Vf(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static#e=this.\u0275fac=function(r){return new(r||e)(D(G),D(Vi),D(me,8))};static#t=this.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),LC=(()=>{class e{constructor(n,r,o){this._platform=n,this._change=new We,this._changeListener=i=>{this._change.next(i)},this._document=o,r.runOutsideAngular(()=>{if(n.isBrowser){const i=this._getWindow();i.addEventListener("resize",this._changeListener),i.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const n=this._getWindow();n.removeEventListener("resize",this._changeListener),n.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const n={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),n}getViewportRect(){const n=this.getViewportScrollPosition(),{width:r,height:o}=this.getViewportSize();return{top:n.top,left:n.left,bottom:n.top+o,right:n.left+r,height:o,width:r}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const n=this._document,r=this._getWindow(),o=n.documentElement,i=o.getBoundingClientRect();return{top:-i.top||n.body.scrollTop||r.scrollY||o.scrollTop||0,left:-i.left||n.body.scrollLeft||r.scrollX||o.scrollLeft||0}}change(n=20){return n>0?this._change.pipe(AC(n)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const n=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:n.innerWidth,height:n.innerHeight}:{width:0,height:0}}static#e=this.\u0275fac=function(r){return new(r||e)(D(Vi),D(G),D(me,8))};static#t=this.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),kC=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=vt({type:e});static#n=this.\u0275inj=ft({})}return e})(),FC=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=vt({type:e});static#n=this.\u0275inj=ft({imports:[zf,kC,zf,kC]})}return e})();function jC(...e){const t=Li(e),n=function wk(e,t){return"number"==typeof Af(e)?e.pop():t}(e,1/0),r=e;return r.length?1===r.length?Rt(r[0]):bC(n)(mo(r,t)):Ff}const VC=tF();class dF{constructor(t,n){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=n}attach(){}enable(){if(this._canBeEnabled()){const t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=we(-this._previousScrollPosition.left),t.style.top=we(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const t=this._document.documentElement,r=t.style,o=this._document.body.style,i=r.scrollBehavior||"",s=o.scrollBehavior||"";this._isEnabled=!1,r.left=this._previousHTMLStyles.left,r.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),VC&&(r.scrollBehavior=o.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),VC&&(r.scrollBehavior=i,o.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const n=this._document.body,r=this._viewportRuler.getViewportSize();return n.scrollHeight>r.height||n.scrollWidth>r.width}}class fF{constructor(t,n,r,o){this._scrollDispatcher=t,this._ngZone=n,this._viewportRuler=r,this._config=o,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(t){this._overlayRef=t}enable(){if(this._scrollSubscription)return;const t=this._scrollDispatcher.scrolled(0).pipe(yo(n=>!n||!this._overlayRef.overlayElement.contains(n.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{const n=this._viewportRuler.getViewportScrollPosition().top;Math.abs(n-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class BC{enable(){}disable(){}attach(){}}function Uf(e,t){return t.some(n=>e.bottomn.bottom||e.rightn.right)}function HC(e,t){return t.some(n=>e.topn.bottom||e.leftn.right)}class hF{constructor(t,n,r,o){this._scrollDispatcher=t,this._viewportRuler=n,this._ngZone=r,this._config=o,this._scrollSubscription=null}attach(t){this._overlayRef=t}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const n=this._overlayRef.overlayElement.getBoundingClientRect(),{width:r,height:o}=this._viewportRuler.getViewportSize();Uf(n,[{width:r,height:o,bottom:o,right:r,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let pF=(()=>{class e{constructor(n,r,o,i){this._scrollDispatcher=n,this._viewportRuler=r,this._ngZone=o,this.noop=()=>new BC,this.close=s=>new fF(this._scrollDispatcher,this._ngZone,this._viewportRuler,s),this.block=()=>new dF(this._viewportRuler,this._document),this.reposition=s=>new hF(this._scrollDispatcher,this._viewportRuler,this._ngZone,s),this._document=i}static#e=this.\u0275fac=function(r){return new(r||e)(D(cF),D(LC),D(G),D(me))};static#t=this.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class gF{constructor(t){if(this.scrollStrategy=new BC,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){const n=Object.keys(t);for(const r of n)void 0!==t[r]&&(this[r]=t[r])}}}class mF{constructor(t,n){this.connectionPair=t,this.scrollableViewProperties=n}}let $C=(()=>{class e{constructor(n){this._attachedOverlays=[],this._document=n}ngOnDestroy(){this.detach()}add(n){this.remove(n),this._attachedOverlays.push(n)}remove(n){const r=this._attachedOverlays.indexOf(n);r>-1&&this._attachedOverlays.splice(r,1),0===this._attachedOverlays.length&&this.detach()}static#e=this.\u0275fac=function(r){return new(r||e)(D(me))};static#t=this.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),yF=(()=>{class e extends $C{constructor(n,r){super(n),this._ngZone=r,this._keydownListener=o=>{const i=this._attachedOverlays;for(let s=i.length-1;s>-1;s--)if(i[s]._keydownEvents.observers.length>0){const a=i[s]._keydownEvents;this._ngZone?this._ngZone.run(()=>a.next(o)):a.next(o);break}}}add(n){super.add(n),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}static#e=this.\u0275fac=function(r){return new(r||e)(D(me),D(G,8))};static#t=this.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),_F=(()=>{class e extends $C{constructor(n,r,o){super(n),this._platform=r,this._ngZone=o,this._cursorStyleIsSet=!1,this._pointerDownListener=i=>{this._pointerDownEventTarget=RC(i)},this._clickListener=i=>{const s=RC(i),a="click"===i.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:s;this._pointerDownEventTarget=null;const l=this._attachedOverlays.slice();for(let c=l.length-1;c>-1;c--){const u=l[c];if(u._outsidePointerEvents.observers.length<1||!u.hasAttached())continue;if(u.overlayElement.contains(s)||u.overlayElement.contains(a))break;const d=u._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>d.next(i)):d.next(i)}}}add(n){if(super.add(n),!this._isAttached){const r=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(r)):this._addEventListeners(r),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=r.style.cursor,r.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const n=this._document.body;n.removeEventListener("pointerdown",this._pointerDownListener,!0),n.removeEventListener("click",this._clickListener,!0),n.removeEventListener("auxclick",this._clickListener,!0),n.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(n.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(n){n.addEventListener("pointerdown",this._pointerDownListener,!0),n.addEventListener("click",this._clickListener,!0),n.addEventListener("auxclick",this._clickListener,!0),n.addEventListener("contextmenu",this._clickListener,!0)}static#e=this.\u0275fac=function(r){return new(r||e)(D(me),D(Vi),D(G,8))};static#t=this.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),zC=(()=>{class e{constructor(n,r){this._platform=r,this._document=n}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const n="cdk-overlay-container";if(this._platform.isBrowser||PC()){const o=this._document.querySelectorAll(`.${n}[platform="server"], .${n}[platform="test"]`);for(let i=0;ithis._backdropClick.next(d),this._backdropTransitionendHandler=d=>{this._disposeBackdrop(d.target)},this._keydownEvents=new We,this._outsidePointerEvents=new We,o.scrollStrategy&&(this._scrollStrategy=o.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=o.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(t){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const n=this._portalOutlet.attach(t);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(sl(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof n?.onDestroy&&n.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),n}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),t}dispose(){const t=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,t&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config={...this._config,...t},this._updateElementSize()}setDirection(t){this._config={...this._config,direction:t},this._updateElementDirection()}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!0)}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!1)}getDirection(){const t=this._config.direction;return t?"string"==typeof t?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const t=this._pane.style;t.width=we(this._config.width),t.height=we(this._config.height),t.minWidth=we(this._config.minWidth),t.minHeight=we(this._config.minHeight),t.maxWidth=we(this._config.maxWidth),t.maxHeight=we(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"":"none"}_attachBackdrop(){const t="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(t)})}):this._backdropElement.classList.add(t)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const t=this._backdropElement;if(t){if(this._animationsDisabled)return void this._disposeBackdrop(t);t.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{t.addEventListener("transitionend",this._backdropTransitionendHandler)}),t.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(t)},500))}}_toggleClasses(t,n,r){const o=tC(n||[]).filter(i=>!!i);o.length&&(r?t.classList.add(...o):t.classList.remove(...o))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const t=this._ngZone.onStable.pipe(Nf(jC(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),t.unsubscribe())})})}_disposeScrollStrategy(){const t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}_disposeBackdrop(t){t&&(t.removeEventListener("click",this._backdropClickHandler),t.removeEventListener("transitionend",this._backdropTransitionendHandler),t.remove(),this._backdropElement===t&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const UC="cdk-overlay-connected-position-bounding-box",wF=/([A-Za-z%]+)$/;class DF{get positions(){return this._preferredPositions}constructor(t,n,r,o,i){this._viewportRuler=n,this._document=r,this._platform=o,this._overlayContainer=i,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new We,this._resizeSubscription=Be.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(t)}attach(t){this._validatePositions(),t.hostElement.classList.add(UC),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const t=this._originRect,n=this._overlayRect,r=this._viewportRect,o=this._containerRect,i=[];let s;for(let a of this._preferredPositions){let l=this._getOriginPoint(t,o,a),c=this._getOverlayPoint(l,n,a),u=this._getOverlayFit(c,n,r,a);if(u.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(a,l);this._canFitWithFlexibleDimensions(u,c,r)?i.push({position:a,origin:l,overlayRect:n,boundingBoxRect:this._calculateBoundingBoxRect(l,a)}):(!s||s.overlayFit.visibleAreal&&(l=u,a=c)}return this._isPushed=!1,void this._applyPosition(a.position,a.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(s.position,s.originPoint);this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&sr(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(UC),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const t=this._lastPosition;if(t){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const n=this._getOriginPoint(this._originRect,this._containerRect,t);this._applyPosition(t,n)}else this.apply()}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}_getOriginPoint(t,n,r){let o,i;if("center"==r.originX)o=t.left+t.width/2;else{const s=this._isRtl()?t.right:t.left,a=this._isRtl()?t.left:t.right;o="start"==r.originX?s:a}return n.left<0&&(o-=n.left),i="center"==r.originY?t.top+t.height/2:"top"==r.originY?t.top:t.bottom,n.top<0&&(i-=n.top),{x:o,y:i}}_getOverlayPoint(t,n,r){let o,i;return o="center"==r.overlayX?-n.width/2:"start"===r.overlayX?this._isRtl()?-n.width:0:this._isRtl()?0:-n.width,i="center"==r.overlayY?-n.height/2:"top"==r.overlayY?0:-n.height,{x:t.x+o,y:t.y+i}}_getOverlayFit(t,n,r,o){const i=WC(n);let{x:s,y:a}=t,l=this._getOffset(o,"x"),c=this._getOffset(o,"y");l&&(s+=l),c&&(a+=c);let f=0-a,h=a+i.height-r.height,p=this._subtractOverflows(i.width,0-s,s+i.width-r.width),g=this._subtractOverflows(i.height,f,h),m=p*g;return{visibleArea:m,isCompletelyWithinViewport:i.width*i.height===m,fitsInViewportVertically:g===i.height,fitsInViewportHorizontally:p==i.width}}_canFitWithFlexibleDimensions(t,n,r){if(this._hasFlexibleDimensions){const o=r.bottom-n.y,i=r.right-n.x,s=GC(this._overlayRef.getConfig().minHeight),a=GC(this._overlayRef.getConfig().minWidth);return(t.fitsInViewportVertically||null!=s&&s<=o)&&(t.fitsInViewportHorizontally||null!=a&&a<=i)}return!1}_pushOverlayOnScreen(t,n,r){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};const o=WC(n),i=this._viewportRect,s=Math.max(t.x+o.width-i.width,0),a=Math.max(t.y+o.height-i.height,0),l=Math.max(i.top-r.top-t.y,0),c=Math.max(i.left-r.left-t.x,0);let u=0,d=0;return u=o.width<=i.width?c||-s:t.xp&&!this._isInitialRender&&!this._growAfterOpen&&(s=t.y-p/2)}if("end"===n.overlayX&&!o||"start"===n.overlayX&&o)f=r.width-t.x+this._viewportMargin,u=t.x-this._viewportMargin;else if("start"===n.overlayX&&!o||"end"===n.overlayX&&o)d=t.x,u=r.right-t.x;else{const h=Math.min(r.right-t.x+r.left,t.x),p=this._lastBoundingBoxSize.width;u=2*h,d=t.x-h,u>p&&!this._isInitialRender&&!this._growAfterOpen&&(d=t.x-p/2)}return{top:s,left:d,bottom:a,right:f,width:u,height:i}}_setBoundingBoxStyles(t,n){const r=this._calculateBoundingBoxRect(t,n);!this._isInitialRender&&!this._growAfterOpen&&(r.height=Math.min(r.height,this._lastBoundingBoxSize.height),r.width=Math.min(r.width,this._lastBoundingBoxSize.width));const o={};if(this._hasExactPosition())o.top=o.left="0",o.bottom=o.right=o.maxHeight=o.maxWidth="",o.width=o.height="100%";else{const i=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;o.height=we(r.height),o.top=we(r.top),o.bottom=we(r.bottom),o.width=we(r.width),o.left=we(r.left),o.right=we(r.right),o.alignItems="center"===n.overlayX?"center":"end"===n.overlayX?"flex-end":"flex-start",o.justifyContent="center"===n.overlayY?"center":"bottom"===n.overlayY?"flex-end":"flex-start",i&&(o.maxHeight=we(i)),s&&(o.maxWidth=we(s))}this._lastBoundingBoxSize=r,sr(this._boundingBox.style,o)}_resetBoundingBoxStyles(){sr(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){sr(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,n){const r={},o=this._hasExactPosition(),i=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(o){const u=this._viewportRuler.getViewportScrollPosition();sr(r,this._getExactOverlayY(n,t,u)),sr(r,this._getExactOverlayX(n,t,u))}else r.position="static";let a="",l=this._getOffset(n,"x"),c=this._getOffset(n,"y");l&&(a+=`translateX(${l}px) `),c&&(a+=`translateY(${c}px)`),r.transform=a.trim(),s.maxHeight&&(o?r.maxHeight=we(s.maxHeight):i&&(r.maxHeight="")),s.maxWidth&&(o?r.maxWidth=we(s.maxWidth):i&&(r.maxWidth="")),sr(this._pane.style,r)}_getExactOverlayY(t,n,r){let o={top:"",bottom:""},i=this._getOverlayPoint(n,this._overlayRect,t);return this._isPushed&&(i=this._pushOverlayOnScreen(i,this._overlayRect,r)),"bottom"===t.overlayY?o.bottom=this._document.documentElement.clientHeight-(i.y+this._overlayRect.height)+"px":o.top=we(i.y),o}_getExactOverlayX(t,n,r){let s,o={left:"",right:""},i=this._getOverlayPoint(n,this._overlayRect,t);return this._isPushed&&(i=this._pushOverlayOnScreen(i,this._overlayRect,r)),s=this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left","right"===s?o.right=this._document.documentElement.clientWidth-(i.x+this._overlayRect.width)+"px":o.left=we(i.x),o}_getScrollVisibility(){const t=this._getOriginRect(),n=this._pane.getBoundingClientRect(),r=this._scrollables.map(o=>o.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:HC(t,r),isOriginOutsideView:Uf(t,r),isOverlayClipped:HC(n,r),isOverlayOutsideView:Uf(n,r)}}_subtractOverflows(t,...n){return n.reduce((r,o)=>r-Math.max(o,0),t)}_getNarrowedViewportRect(){const t=this._document.documentElement.clientWidth,n=this._document.documentElement.clientHeight,r=this._viewportRuler.getViewportScrollPosition();return{top:r.top+this._viewportMargin,left:r.left+this._viewportMargin,right:r.left+t-this._viewportMargin,bottom:r.top+n-this._viewportMargin,width:t-2*this._viewportMargin,height:n-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,n){return"x"===n?null==t.offsetX?this._offsetX:t.offsetX:null==t.offsetY?this._offsetY:t.offsetY}_validatePositions(){}_addPanelClasses(t){this._pane&&tC(t).forEach(n=>{""!==n&&-1===this._appliedPanelClasses.indexOf(n)&&(this._appliedPanelClasses.push(n),this._pane.classList.add(n))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){const t=this._origin;if(t instanceof jt)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();const n=t.width||0,r=t.height||0;return{top:t.y,bottom:t.y+r,left:t.x,right:t.x+n,height:r,width:n}}}function sr(e,t){for(let n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function GC(e){if("number"!=typeof e&&null!=e){const[t,n]=e.split(wF);return n&&"px"!==n?null:parseFloat(t)}return e||null}function WC(e){return{top:Math.floor(e.top),right:Math.floor(e.right),bottom:Math.floor(e.bottom),left:Math.floor(e.left),width:Math.floor(e.width),height:Math.floor(e.height)}}const YC="cdk-global-overlay-wrapper";class EF{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(t){const n=t.getConfig();this._overlayRef=t,this._width&&!n.width&&t.updateSize({width:this._width}),this._height&&!n.height&&t.updateSize({height:this._height}),t.hostElement.classList.add(YC),this._isDisposed=!1}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._xOffset=t,this._xPosition="left",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._xOffset=t,this._xPosition="right",this}start(t=""){return this._xOffset=t,this._xPosition="start",this}end(t=""){return this._xOffset=t,this._xPosition="end",this}width(t=""){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}height(t=""){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}centerHorizontally(t=""){return this.left(t),this._xPosition="center",this}centerVertically(t=""){return this.top(t),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const t=this._overlayRef.overlayElement.style,n=this._overlayRef.hostElement.style,r=this._overlayRef.getConfig(),{width:o,height:i,maxWidth:s,maxHeight:a}=r,l=!("100%"!==o&&"100vw"!==o||s&&"100%"!==s&&"100vw"!==s),c=!("100%"!==i&&"100vh"!==i||a&&"100%"!==a&&"100vh"!==a),u=this._xPosition,d=this._xOffset,f="rtl"===this._overlayRef.getConfig().direction;let h="",p="",g="";l?g="flex-start":"center"===u?(g="center",f?p=d:h=d):f?"left"===u||"end"===u?(g="flex-end",h=d):("right"===u||"start"===u)&&(g="flex-start",p=d):"left"===u||"start"===u?(g="flex-start",h=d):("right"===u||"end"===u)&&(g="flex-end",p=d),t.position=this._cssPosition,t.marginLeft=l?"0":h,t.marginTop=c?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=l?"0":p,n.justifyContent=g,n.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const t=this._overlayRef.overlayElement.style,n=this._overlayRef.hostElement,r=n.style;n.classList.remove(YC),r.justifyContent=r.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}let bF=(()=>{class e{constructor(n,r,o,i){this._viewportRuler=n,this._document=r,this._platform=o,this._overlayContainer=i}global(){return new EF}flexibleConnectedTo(n){return new DF(n,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static#e=this.\u0275fac=function(r){return new(r||e)(D(LC),D(me),D(Vi),D(zC))};static#t=this.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),MF=0,dl=(()=>{class e{constructor(n,r,o,i,s,a,l,c,u,d,f,h){this.scrollStrategies=n,this._overlayContainer=r,this._componentFactoryResolver=o,this._positionBuilder=i,this._keyboardDispatcher=s,this._injector=a,this._ngZone=l,this._document=c,this._directionality=u,this._location=d,this._outsideClickDispatcher=f,this._animationsModuleType=h}create(n){const r=this._createHostElement(),o=this._createPaneElement(r),i=this._createPortalOutlet(o),s=new gF(n);return s.direction=s.direction||this._directionality.value,new vF(i,r,o,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(n){const r=this._document.createElement("div");return r.id="cdk-overlay-"+MF++,r.classList.add("cdk-overlay-pane"),n.appendChild(r),r}_createHostElement(){const n=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(n),n}_createPortalOutlet(n){return this._appRef||(this._appRef=this._injector.get(sn)),new N1(n,this._componentFactoryResolver,this._appRef,this._injector,this._document)}static#e=this.\u0275fac=function(r){return new(r||e)(D(pF),D(zC),D(Hn),D(bF),D(yF),D(ke),D(G),D(me),D(aF),D(sD),D(_F),D(jb,8))};static#t=this.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const TF={provide:new M("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{const e=T(dl);return()=>e.scrollStrategies.reposition()}}),deps:[dl],useFactory:function SF(e){return()=>e.scrollStrategies.reposition()}};let NF=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=vt({type:e});static#n=this.\u0275inj=ft({providers:[dl,TF],imports:[zf,x1,FC,FC]})}return e})();const xF=["linkElement"],Gf=(e,t,n)=>[e,t,"symbol-narrow","1.2-2",n];function AF(e,t){if(1&e&&(B(0,"span",24),_e(1,25),Yt(2,"currency"),Yt(3,"number"),z()),2&e){const n=Nt();se(3),Cn(co(2,2,lo(11,Gf,null==n.model?null:n.model.monthlyPayment,null==n.model?null:n.model.currency,n.currencyLocale)))(Aa(3,8,null==n.model?null:n.model.splitCount,"0.0-0")),Xn(1)}}const qC=(e,t,n)=>[e,t,"symbol-narrow","1.0-0",n];function OF(e,t){if(1&e&&(B(0,"span",24),_e(1,26),Yt(2,"currency"),z()),2&e){const n=Nt();se(2),Cn(co(2,1,lo(7,qC,n.minimumPrice,null==n.model?null:n.model.currency,n.currencyLocale))),Xn(1)}}function RF(e,t){1&e&&(B(0,"span",31),_e(1,32),z())}function PF(e,t){if(1&e&&(B(0,"span",31),_e(1,33),Yt(2,"async"),z()),2&e){const n=Nt(2);se(2),Cn(Xv(2,1,n.priceTagToken$)||"N/A"),Xn(1)}}function LF(e,t){if(1&e&&(B(0,"span",31),_e(1,34),z()),2&e){const n=Nt(2);se(),Cn(n.origin),Xn(1)}}function kF(e,t){1&e&&(B(0,"span",31),_e(1,35),z())}function FF(e,t){1&e&&(B(0,"span",31),_e(1,36),z())}function jF(e,t){if(1&e&&(B(0,"div",27)(1,"div",28),Wt(2,"i",29),It(3,RF,2,0,"span",30)(4,PF,3,3,"span",30)(5,LF,2,1,"span",30)(6,kF,2,0,"span",30)(7,FF,2,0,"span",30),z()()),2&e){const n=Nt();se(),je("ngSwitch",n.currentError),se(2),je("ngSwitchCase",n.ErrorTypes.MerchantDeactivated),se(),je("ngSwitchCase",n.ErrorTypes.WebShopNotfound),se(),je("ngSwitchCase",n.ErrorTypes.WebShopHostNotAllowed),se(),je("ngSwitchCase",n.ErrorTypes.CannotConnectToAPI),se(),je("ngSwitchCase",n.ErrorTypes.Unknown)}}function VF(e,t){if(1&e&&(B(0,"div",78)(1,"h2",79),_e(2,80),z(),B(3,"span"),Jn(4),Yt(5,"currency"),z(),B(6,"span",81),Jn(7,"x"),z(),B(8,"span"),Jn(9),z(),B(10,"span"),Jn(11,"\xa0"),z(),B(12,"span",81),Jn(13,"="),z(),B(14,"span"),Jn(15),Yt(16,"currency"),z()()),2&e){const n=Nt(3);se(4),Ci(co(5,3,lo(15,Gf,n.model.monthlyPayment,n.model.currency,n.currencyLocale))),se(5),Ci(n.model.splitCount),se(6),Ci(co(16,9,lo(19,Gf,n.model.totalPrice,n.model.currency,n.currencyLocale)))}}function BF(e,t){if(1&e&&(B(0,"div",78)(1,"h2",79),_e(2,82),Yt(3,"currency"),z()()),2&e){const n=Nt(3);se(3),Cn(co(3,2,lo(8,qC,n.minimumPrice,n.model.currency,n.currencyLocale)))(n.model.splitCount),Xn(2)}}function HF(e,t){if(1&e){const n=Cd();B(0,"div",39)(1,"div",40)(2,"div",41)(3,"div",42)(4,"i",43),Na("click",function(){return Wl(n),Yl(Nt(2).closeTemplateModal())}),z()(),B(5,"div",44)(6,"div",45)(7,"div",2)(8,"div",46)(9,"div",47),Wt(10,"img",48),z(),B(11,"div",49),It(12,VF,17,23,"div",50)(13,BF,4,12,"div",50),B(14,"div",51)(15,"a",52),qn(16),_e(17,53),Qn(),Wt(18,"i",54),z(),B(19,"span",31),_e(20,55),z()(),B(21,"div",56)(22,"a",57),_e(23,58),z()()()()()()(),B(24,"div",59)(25,"div",60)(26,"div",61)(27,"div",62)(28,"div",63)(29,"div",64),Wt(30,"i",65),qn(31),_e(32,66),Qn(),z(),B(33,"div",67)(34,"p"),_e(35,68),z()()()(),B(36,"div",62)(37,"div",63)(38,"div",64),Wt(39,"i",69),qn(40),_e(41,70),Qn(),z(),B(42,"div",67)(43,"p"),_e(44,71),z()()()(),B(45,"div",62)(46,"div",63)(47,"div",64),Wt(48,"i",72),qn(49),_e(50,73),Qn(),z(),B(51,"div",67)(52,"p"),_e(53,74),Yt(54,"number"),Yt(55,"number"),z()()()()()(),B(56,"div",75)(57,"div",76)(58,"p"),_e(59,77),z()()()()()()()}if(2&e){const n=Nt(2);se(10),je("src",n.logoPath,Us),se(2),je("ngIf",!n.lessThanMinimum),se(),je("ngIf",n.lessThanMinimum),se(2),je("href",n.signUpUrl,Us),se(40),Cn(Aa(54,6,n.model.splitCount,"0.0-0"))(Aa(55,9,n.model.splitPercent,"0.0-0")),Xn(53)}}function $F(e,t){if(1&e&&(B(0,"span",20)(1,"div",37),It(2,HF,60,12,"div",38),z()()),2&e){const n=Nt();se(2),je("ngIf",n.model&&n.currentError===n.ErrorTypes.Fine)}}const zF=["*"];let UF=(()=>{class e extends yC{get hide(){return this.currentError===or.CannotConnectToAPI||this.currentError===or.Unknown}set totalPrice(n){this._totalPrice$.next(n)}set environment(n){this._environment$.next(n)}set totalPriceSelector(n){this._totalPriceSelector$.next(n)}set priceFormatLocale(n){this._priceFormatLocale$.next(n)}set currency(n){this._currency$.next(n)}set priceTagToken(n){this.priceTagToken$.next(n)}set linkElement(n){this._linkElement$.next(n.nativeElement)}get logoPath(){return`${tr.host}/assets/img/anyday-logo-black.svg`}get signUpUrl(){return`${tr.host}/${this.localeId}/shopper`}constructor(n,r,o,i,s,a){super(),this.priceService=n,this.watcherService=r,this.render=o,this.localeId=i,this.viewContainerRef=s,this.overlay=a,this.componentClass="anyday-split",this._totalPrice$=new nr(1),this._totalPriceSelector$=new nr(1),this._priceFormatLocale$=new nr(1),this._currency$=new nr(1),this._environment$=new wh("production"),this.priceTagToken$=new nr(1),this._linkElement$=new nr(1),this.currentError=or.Unknown,this.ErrorTypes=or,this.isReady=!1,this.origin=window.location.origin,this.formatLocale=i,this.overlayRef=this.overlay.create({hasBackdrop:!0,positionStrategy:this.overlay.position().global().centerHorizontally().centerVertically()}),this.overlayRef.backdropClick().subscribe(()=>this.closeTemplateModal())}get hidePriceTag(){return!this.model||!this.isReady||this.currentError!==this.ErrorTypes.Fine||!this.model||this.model?.totalPrice>this.maximumPrice}get lessThanMinimum(){return!this.model||!this.isReady||this.currentError!==this.ErrorTypes.Fine||!this.model||this.model?.totalPricethis.formatLocale=n),this.watcherService.watchSelector$(this._totalPriceSelector$,this._priceFormatLocale$).subscribe(n=>{this.totalPrice=n}),this.priceService.watchPrice(this._totalPrice$,this._currency$,this.priceTagToken$).subscribe(n=>{this.model=n.estimate,this.currentError=n.error,this.isReady=!0}),Of([this._totalPrice$.pipe(gt(void 0)),this._environment$.pipe(gt(void 0)),this._totalPriceSelector$.pipe(gt(void 0)),this._priceFormatLocale$.pipe(gt(void 0)),this._currency$.pipe(gt(void 0)),this.priceTagToken$.pipe(gt(void 0)),this._linkElement$.pipe(gt(void 0))]).pipe(qe(([n,r,o,i,s,a,l])=>({totalPrice:n,environment:r,totalPriceSelector:o,priceFormatLocale:i,currency:s,priceTagToken:a,linkElement:l})),IC(kf(2500)),sl(1)).subscribe(n=>{this.validateInputs(n)})}validateInputs(n){let{priceTagToken:r,...o}=n;n.totalPrice?(n.totalPriceSelector&&console.warn("Anyday-Price-Tag was provided with both a 'total-price' and a 'total-price-selector'. Using both is not supported and may not work as expected.",o),n.priceFormatLocale&&console.warn("Anyday-Price-Tag was provided with both a 'total-price' and a 'price-format-locale'. The locale format is only needed when using the 'total-price-selector'.",o),0===eC(n.totalPrice,0)&&"0"!==n.totalPrice&&console.error("Anyday-Price-Tag was provided with a 'total-price', but value could not be read. The only supported format for 'total-price' is 0000.00",o)):n.totalPriceSelector||console.error("Anyday-Price-Tag was provided with neither a 'total-price' nor a 'total-price-selector'.",o)}showTemplateModal(n){const r=new rC(n,this.viewContainerRef);this.overlayRef.attach(r)}closeTemplateModal(){this.overlayRef.detach()}setupEnvironment(){this._environment$.pipe(this.takeUntilDestroyed()).subscribe(n=>{switch(n){case"test":tr.host="https://anyday-acceptance.yadyna.xyz";break;case"staging":tr.host="https://anyday-staging.yadyna.xyz";break;case"dev":tr.host="https://localhost:56747";break;default:tr.host="https://my.anyday.io"}})}setupLinkElement(){this._linkElement$.pipe(rr(n=>this.watcherService.observe(n)),this.takeUntilDestroyed()).subscribe(n=>{this.render.setAttribute(n,"data-content",n.innerText)})}static#e=this.\u0275fac=function(r){return new(r||e)(j(kk),j(TC),j(Pu),j(xt),j(Mt),j(dl))};static#t=this.\u0275cmp=Ph({type:e,selectors:[["anyday-price-tag"]],viewQuery:function(r,o){if(1&r&&function fv(e,t,n){iy(e,t,n)}(xF,5),2&r){let i;(function hv(e){const t=_(),n=H(),r=Jl();ss(r+1);const o=Ju(n,r);if(e.dirty&&function db(e){return 4==(4&e[I])}(t)===(2==(2&o.metadata.flags))){if(null===o.matches)e.reset([]);else{const i=ly(t,r);e.reset(i,cp),e.notifyOnChanges()}return!0}return!1})(i=pv())&&(o.linkElement=i.first)}},hostVars:3,hostBindings:function(r,o){2&r&&(Ed("hidden",o.hide),f_(o.componentClass))},inputs:{totalPrice:[dt.None,"total-price","totalPrice"],environment:"environment",totalPriceSelector:[dt.None,"total-price-selector","totalPriceSelector"],priceFormatLocale:[dt.None,"price-format-locale","priceFormatLocale"],currency:"currency",priceTagToken:[dt.None,"price-tag-token","priceTagToken"]},features:[Fv([TC]),ed],ngContentSelectors:zF,decls:28,vars:7,consts:()=>{let n,r,o,i,s,a,l,c,u,d,f,h,p,g,m,v,y,E,S,N;return n="Pay " + "\ufffd0\ufffd" + " x " + "\ufffd1\ufffd" + " ",r="Buy for " + "\ufffd0\ufffd" + " and split your payment with",o=" Merchant account has been deactivated, please contact Anyday Support. ",i=" Price tag token " + "\ufffd0\ufffd" + " invalid. ",s=" Price Tag not allowed on " + "\ufffd0\ufffd" + ". ",a=" Cannot connect to Anyday, please contact Anyday Support. ",l=" Unknown error, please contact Anyday Support. ",c="Anyday Logo",u=" Sign up for ANYDAY ",d="It's quick and easy",f="See terms here",h="0% interest or fees",p=" You only pay the purchase price, as long as you pay the installments. ",g="No waiting time",m=" Instant approval means your order is shipped at soon as other payment methods. ",v="Easy, automatic payments ",y=" The " + "\ufffd0\ufffd" + " installments will be automatically deducted from your card. The first installment of " + "\ufffd1\ufffd" + "% will be deducted immediately. ",E=" Just select Anyday at checkout ",S=" Split this into smaller payments ",N=" Buy for " + "\ufffd0\ufffd" + " and split your payment over " + "\ufffd1\ufffd" + " payments ",[[1,"inherit-font-styles",".dont-inherit"],[1,"webshop-detail-box"],[1,"payment-wrapper"],[1,"price-wrapper"],[1,"number-wrapper"],[1,"number",3,"click"],[1,"webshop-modal-link"],["linkElement",""],["class","webshop-detail-text",4,"ngIf"],[1,"webshop-detail-wrapper"],["viewBox","0 0 572 149","fill","currentColor","xmlns","http://www.w3.org/2000/svg"],["clip-path","url(#AnyClip1)"],["d","M438.354 113.236C448.301 113.236 456.411 109.104 461.461 103.136V109.706C461.461 110.81 462.357 111.706 463.461 111.706H482.426V35.193H463.461C462.357 35.193 461.461 36.0884 461.461 37.193V42.6912C456.411 37.3353 448.607 33.6627 438.66 33.6627C421.369 33.6627 401.475 46.3638 401.475 73.4493C401.475 100.382 422.134 113.236 438.354 113.236ZM442.486 93.9546C430.856 93.9546 421.981 85.0792 421.981 73.2962C421.981 61.5133 430.856 52.7909 442.486 52.7909C453.81 52.7909 462.073 61.9724 462.073 73.2962C462.073 84.6201 453.81 93.9546 442.486 93.9546Z"],["d","M348.99 113.241C358.937 113.241 367.047 109.11 372.097 103.142V109.711C372.097 110.816 372.992 111.711 374.097 111.711H393.061V0.00268555H372.097V42.6967C367.047 37.3408 359.243 33.6682 349.296 33.6682C332.004 33.6682 312.111 46.3693 312.111 73.4547C312.111 100.387 332.769 113.241 348.99 113.241ZM353.122 93.9601C341.492 93.9601 332.616 85.0846 332.616 73.3017C332.616 61.5188 341.492 52.7963 353.122 52.7963C364.446 52.7963 372.709 61.9779 372.709 73.3017C372.709 84.6256 364.446 93.9601 353.122 93.9601Z"],["d","M195.652 32.1367C183.563 32.1367 174.381 37.3827 169.332 43.5037V37.163C169.332 36.0584 168.436 35.163 167.332 35.163H150.51V111.71H172.086V71.4642C172.086 57.8449 178.513 49.8876 189.684 49.8876C200.549 49.8876 205.599 56.9268 205.599 70.24V111.71H227.175V69.0158C227.175 40.4001 211.72 32.1367 195.652 32.1367Z"],["fill-rule","evenodd","clip-rule","evenodd","d","M62.9218 111.708H40.7332L53.1917 76.5934C41.5814 67.5817 24.8056 68.4076 14.1421 79.0711L0 64.9289C16.2895 48.6394 41.0908 46.0494 60.087 57.1588L80.3667 0H101.79L141.424 111.708H119.235L111.454 89.2307C98.531 95.0519 83.6252 95.0538 70.7005 89.2364L62.9218 111.708ZM77.2884 70.202C78.5676 70.8754 79.8858 71.4487 81.2314 71.9218C87.5876 74.1567 94.5545 74.1567 100.911 71.9218C102.261 71.4472 103.583 70.8717 104.866 70.1955L91.0784 30.299L77.2884 70.202Z"],["d","M244.832 148.949H262.808C264.858 148.949 266.7 147.698 267.456 145.793L311.444 34.9127H289.292L271.352 82.9607L252.164 34.9127H229.7L260.744 109.481L244.832 148.949Z"],["d","M505.402 149.149H523.379C525.429 149.149 527.271 147.898 528.026 145.992L572.014 35.1127H549.862L531.922 83.1607L512.734 35.1127H490.27L521.314 109.681L505.402 149.149Z"],["id","AnyClip1"],["width","572","height","149","fill","white"],[1,"dont-inherit-revert"],[1,"warning-box"],["class","anyday-split-warning",4,"ngIf"],["tpr",""],[1,"webshop-detail-text"],n,r,[1,"anyday-split-warning"],[1,"content-alert",3,"ngSwitch"],[1,"ad-icn-exclamation"],["class","text",4,"ngSwitchCase"],[1,"text"],o,i,s,a,l,[1,"anyday-modal"],["class","anyday-modal-dialog anyday-modal-lg",4,"ngIf"],[1,"anyday-modal-dialog","anyday-modal-lg"],[1,"anyday-modal-wrapper"],[1,"anyday-modal-content","payment-black-version"],[1,"anyday-modal-header"],["aria-label","Close",1,"ad-icn-close",3,"click"],[1,"anyday-modal-body"],[1,"order-summary"],[1,"payment-type"],[1,"payment-logo"],["alt",c,2,"width","220px",3,"src"],[1,"payment-content"],["class","summary-payment",4,"ngIf"],[1,"link-payment"],["target","_blank",1,"link-button",3,"href"],u,[1,"ad-icn-arrow-right","ad-icns"],d,[1,"link-terms"],["href","https://www.anyday.io/da/terms-conditions-shopper/","target","_blank",1,"terms-link"],f,[1,"anyday-modal-footer"],[1,"ad-icn-teaser-wrapper"],[1,"anyday-row"],[1,"anyday-col-md-4"],[1,"ad-icn-teaser-item"],[1,"ad-icn-teaser-title"],[1,"ad-icn-teaser","ad-icn-interest"],h,[1,"ad-icn-teaser-content"],p,[1,"ad-icn-teaser","ad-icn-waiting-time"],g,m,[1,"ad-icn-teaser","ad-icn-credit-card"],v,y,[1,"payment-text-footer"],[1,"footer-bar"],E,[1,"summary-payment"],[1,"payment-title"],S,[1,"symbol"],N]},template:function(r,o){if(1&r){const i=Cd();(function tv(e){const t=_()[ce][Oe];if(!t.projection){const r=t.projection=function cs(e,t){const n=[];for(let r=0;rclearTimeout(n)},scheduleBeforeRender(e){if(typeof window>"u")return fl.schedule(e,0);if(typeof window.requestAnimationFrame>"u")return fl.schedule(e,16);const t=window.requestAnimationFrame(e);return()=>window.cancelAnimationFrame(t)}};let Wf;function KF(e,t,n){let r=n;return function WF(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}(e)&&t.some((o,i)=>!("*"===o||!function qF(e,t){if(!Wf){const n=Element.prototype;Wf=n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE&&Wf.call(e,t)}(e,o)||(r=i,0))),r}class tj{constructor(t,n){this.componentFactory=n.get(Hn).resolveComponentFactory(t)}create(t){return new nj(this.componentFactory,t)}}class nj{constructor(t,n){this.componentFactory=t,this.injector=n,this.eventEmitters=new nr(1),this.events=this.eventEmitters.pipe(rr(r=>jC(...r))),this.componentRef=null,this.viewChangeDetectorRef=null,this.inputChanges=null,this.hasInputChanges=!1,this.implementsOnChanges=!1,this.scheduledChangeDetectionFn=null,this.scheduledDestroyFn=null,this.initialInputValues=new Map,this.unchangedInputs=new Set(this.componentFactory.inputs.map(({propName:r})=>r)),this.ngZone=this.injector.get(G),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(t){this.runInZone(()=>{if(null!==this.scheduledDestroyFn)return this.scheduledDestroyFn(),void(this.scheduledDestroyFn=null);null===this.componentRef&&this.initializeComponent(t)})}disconnect(){this.runInZone(()=>{null===this.componentRef||null!==this.scheduledDestroyFn||(this.scheduledDestroyFn=fl.schedule(()=>{null!==this.componentRef&&(this.componentRef.destroy(),this.componentRef=null,this.viewChangeDetectorRef=null)},10))})}getInputValue(t){return this.runInZone(()=>null===this.componentRef?this.initialInputValues.get(t):this.componentRef.instance[t])}setInputValue(t,n,r){this.runInZone(()=>{r&&(n=r.call(this.componentRef?.instance,n)),null!==this.componentRef?function QF(e,t){return e===t||e!=e&&t!=t}(n,this.getInputValue(t))&&(void 0!==n||!this.unchangedInputs.has(t))||(this.recordInputChange(t,n),this.unchangedInputs.delete(t),this.hasInputChanges=!0,this.componentRef.instance[t]=n,this.scheduleDetectChanges()):this.initialInputValues.set(t,n)})}initializeComponent(t){const n=ke.create({providers:[],parent:this.injector}),r=function JF(e,t){const n=e.childNodes,r=t.map(()=>[]);let o=-1;t.some((i,s)=>"*"===i&&(o=s,!0));for(let i=0,s=n.length;i{this.initialInputValues.has(t)&&this.setInputValue(t,this.initialInputValues.get(t),n)}),this.initialInputValues.clear()}initializeOutputs(t){const n=this.componentFactory.outputs.map(({propName:r,templateName:o})=>t.instance[r].pipe(qe(s=>({name:o,value:s}))));this.eventEmitters.next(n)}callNgOnChanges(t){if(!this.implementsOnChanges||null===this.inputChanges)return;const n=this.inputChanges;this.inputChanges=null,t.instance.ngOnChanges(n)}markViewForCheck(t){this.hasInputChanges&&(this.hasInputChanges=!1,t.markForCheck())}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=fl.scheduleBeforeRender(()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()}))}recordInputChange(t,n){if(!this.implementsOnChanges)return;null===this.inputChanges&&(this.inputChanges={});const r=this.inputChanges[t];if(r)return void(r.currentValue=n);const o=this.unchangedInputs.has(t),i=o?void 0:this.getInputValue(t);this.inputChanges[t]=new kp(i,n,o)}detectChanges(){null!==this.componentRef&&(this.callNgOnChanges(this.componentRef),this.markViewForCheck(this.viewChangeDetectorRef),this.componentRef.changeDetectorRef.detectChanges())}runInZone(t){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(t):t()}}class rj extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}}function QC(e){return Ye((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}class hl{}class pl{}class mt{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?"string"==typeof t?this.lazyInit=()=>{this.headers=new Map,t.split("\n").forEach(n=>{const r=n.indexOf(":");if(r>0){const o=n.slice(0,r),i=o.toLowerCase(),s=n.slice(r+1).trim();this.maybeSetNormalizedName(o,i),this.headers.has(i)?this.headers.get(i).push(s):this.headers.set(i,[s])}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((n,r)=>{this.setHeaderEntries(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof mt?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){const n=new mt;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof mt?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){const n=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if("string"==typeof r&&(r=[r]),0===r.length)return;this.maybeSetNormalizedName(t.name,n);const o=("a"===t.op?this.headers.get(n):void 0)||[];o.push(...r),this.headers.set(n,o);break;case"d":const i=t.value;if(i){let s=this.headers.get(n);if(!s)return;s=s.filter(a=>-1===i.indexOf(a)),0===s.length?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}else this.headers.delete(n),this.normalizedNames.delete(n)}}setHeaderEntries(t,n){const r=(Array.isArray(n)?n:[n]).map(i=>i.toString()),o=t.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(t,o)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}}class sj{encodeKey(t){return ZC(t)}encodeValue(t){return ZC(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const lj=/%(\d[a-f0-9])/gi,cj={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function ZC(e){return encodeURIComponent(e).replace(lj,(t,n)=>cj[n]??t)}function gl(e){return`${e}`}class In{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new sj,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function aj(e,t){const n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{const i=o.indexOf("="),[s,a]=-1==i?[t.decodeKey(o),""]:[t.decodeKey(o.slice(0,i)),t.decodeValue(o.slice(i+1))],l=n.get(s)||[];l.push(a),n.set(s,l)}),n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{const r=t.fromObject[n],o=Array.isArray(r)?r.map(gl):[gl(r)];this.map.set(n,o)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){const n=[];return Object.keys(t).forEach(r=>{const o=t[r];Array.isArray(o)?o.forEach(i=>{n.push({param:r,value:i,op:"a"})}):n.push({param:r,value:o,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const n=this.encoder.encodeKey(t);return this.map.get(t).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const n=new In({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const n=("a"===t.op?this.map.get(t.param):void 0)||[];n.push(gl(t.value)),this.map.set(t.param,n);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let r=this.map.get(t.param)||[];const o=r.indexOf(gl(t.value));-1!==o&&r.splice(o,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class uj{constructor(){this.map=new Map}set(t,n){return this.map.set(t,n),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}}function XC(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function JC(e){return typeof Blob<"u"&&e instanceof Blob}function KC(e){return typeof FormData<"u"&&e instanceof FormData}class $i{constructor(t,n,r,o){let i;if(this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function dj(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||o?(this.body=void 0!==r?r:null,i=o):i=r,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),this.transferCache=i.transferCache),this.headers??=new mt,this.context??=new uj,this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=n;else{const a=n.indexOf("?");this.urlWithParams=n+(-1===a?"?":ad.set(f,t.setHeaders[f]),l)),t.setParams&&(c=Object.keys(t.setParams).reduce((d,f)=>d.set(f,t.setParams[f]),c)),new $i(n,r,i,{params:c,headers:l,context:u,reportProgress:a,responseType:o,withCredentials:s})}}var Sn=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}(Sn||{});class Yf{constructor(t,n=zi.Ok,r="OK"){this.headers=t.headers||new mt,this.status=void 0!==t.status?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class ml extends Yf{constructor(t={}){super(t),this.type=Sn.ResponseHeader}clone(t={}){return new ml({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class ar extends Yf{constructor(t={}){super(t),this.type=Sn.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new ar({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class vo extends Yf{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||"(unknown url)"}`:`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}var zi=function(e){return e[e.Continue=100]="Continue",e[e.SwitchingProtocols=101]="SwitchingProtocols",e[e.Processing=102]="Processing",e[e.EarlyHints=103]="EarlyHints",e[e.Ok=200]="Ok",e[e.Created=201]="Created",e[e.Accepted=202]="Accepted",e[e.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",e[e.NoContent=204]="NoContent",e[e.ResetContent=205]="ResetContent",e[e.PartialContent=206]="PartialContent",e[e.MultiStatus=207]="MultiStatus",e[e.AlreadyReported=208]="AlreadyReported",e[e.ImUsed=226]="ImUsed",e[e.MultipleChoices=300]="MultipleChoices",e[e.MovedPermanently=301]="MovedPermanently",e[e.Found=302]="Found",e[e.SeeOther=303]="SeeOther",e[e.NotModified=304]="NotModified",e[e.UseProxy=305]="UseProxy",e[e.Unused=306]="Unused",e[e.TemporaryRedirect=307]="TemporaryRedirect",e[e.PermanentRedirect=308]="PermanentRedirect",e[e.BadRequest=400]="BadRequest",e[e.Unauthorized=401]="Unauthorized",e[e.PaymentRequired=402]="PaymentRequired",e[e.Forbidden=403]="Forbidden",e[e.NotFound=404]="NotFound",e[e.MethodNotAllowed=405]="MethodNotAllowed",e[e.NotAcceptable=406]="NotAcceptable",e[e.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",e[e.RequestTimeout=408]="RequestTimeout",e[e.Conflict=409]="Conflict",e[e.Gone=410]="Gone",e[e.LengthRequired=411]="LengthRequired",e[e.PreconditionFailed=412]="PreconditionFailed",e[e.PayloadTooLarge=413]="PayloadTooLarge",e[e.UriTooLong=414]="UriTooLong",e[e.UnsupportedMediaType=415]="UnsupportedMediaType",e[e.RangeNotSatisfiable=416]="RangeNotSatisfiable",e[e.ExpectationFailed=417]="ExpectationFailed",e[e.ImATeapot=418]="ImATeapot",e[e.MisdirectedRequest=421]="MisdirectedRequest",e[e.UnprocessableEntity=422]="UnprocessableEntity",e[e.Locked=423]="Locked",e[e.FailedDependency=424]="FailedDependency",e[e.TooEarly=425]="TooEarly",e[e.UpgradeRequired=426]="UpgradeRequired",e[e.PreconditionRequired=428]="PreconditionRequired",e[e.TooManyRequests=429]="TooManyRequests",e[e.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",e[e.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",e[e.InternalServerError=500]="InternalServerError",e[e.NotImplemented=501]="NotImplemented",e[e.BadGateway=502]="BadGateway",e[e.ServiceUnavailable=503]="ServiceUnavailable",e[e.GatewayTimeout=504]="GatewayTimeout",e[e.HttpVersionNotSupported=505]="HttpVersionNotSupported",e[e.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",e[e.InsufficientStorage=507]="InsufficientStorage",e[e.LoopDetected=508]="LoopDetected",e[e.NotExtended=510]="NotExtended",e[e.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",e}(zi||{});function qf(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,transferCache:e.transferCache}}let hj=(()=>{class e{constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof $i)i=n;else{let l,c;l=o.headers instanceof mt?o.headers:new mt(o.headers),o.params&&(c=o.params instanceof In?o.params:new In({fromObject:o.params})),i=new $i(n,r,void 0!==o.body?o.body:null,{headers:l,context:o.context,params:c,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}const s=jf(i).pipe(function ij(e,t){return J(t)?Fi(e,t,1):Fi(e,1)}(l=>this.handler.handle(l)));if(n instanceof $i||"events"===o.observe)return s;const a=s.pipe(yo(l=>l instanceof ar));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(qe(l=>{if(null!==l.body&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return a.pipe(qe(l=>{if(null!==l.body&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return a.pipe(qe(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new Error("Response is not a string.");return l.body}));default:return a.pipe(qe(l=>l.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:(new In).append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,o={}){return this.request("PATCH",n,qf(o,r))}post(n,r,o={}){return this.request("POST",n,qf(o,r))}put(n,r,o={}){return this.request("PUT",n,qf(o,r))}static#e=this.\u0275fac=function(r){return new(r||e)(D(hl))};static#t=this.\u0275prov=b({token:e,factory:e.\u0275fac})}return e})();function tE(e,t){return t(e)}function _j(e,t){return(n,r)=>t.intercept(n,{handle:o=>e(o,r)})}const wj=new M(""),Ui=new M(""),nE=new M(""),rE=new M("");function Dj(){let e=null;return(t,n)=>{null===e&&(e=(T(wj,{optional:!0})??[]).reduceRight(_j,tE));const r=T(zr),o=r.add();return e(t,n).pipe(QC(()=>r.remove(o)))}}let oE=(()=>{class e extends hl{constructor(n,r){super(),this.backend=n,this.injector=r,this.chain=null,this.pendingTasks=T(zr);const o=T(rE,{optional:!0});this.backend=o??n}handle(n){if(null===this.chain){const o=Array.from(new Set([...this.injector.get(Ui),...this.injector.get(nE,[])]));this.chain=o.reduceRight((i,s)=>function vj(e,t,n){return(r,o)=>function wM(e,t){e instanceof Nr&&e.assertNotDestroyed();const r=gn(e),o=Xe(void 0);try{return t()}finally{gn(r),Xe(o)}}(n,()=>t(r,i=>e(i,o)))}(i,s,this.injector),tE)}const r=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(QC(()=>this.pendingTasks.remove(r)))}static#e=this.\u0275fac=function(r){return new(r||e)(D(pl),D(bt))};static#t=this.\u0275prov=b({token:e,factory:e.\u0275fac})}return e})();const Ij=/^\)\]\}',?\n/;let sE=(()=>{class e{constructor(n){this.xhrFactory=n}handle(n){if("JSONP"===n.method)throw new C(-2800,!1);const r=this.xhrFactory;return(r.\u0275loadImpl?mo(r.\u0275loadImpl()):jf(null)).pipe(rr(()=>new ye(i=>{const s=r.build();if(s.open(n.method,n.urlWithParams),n.withCredentials&&(s.withCredentials=!0),n.headers.forEach((g,m)=>s.setRequestHeader(g,m.join(","))),n.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){const g=n.detectContentTypeHeader();null!==g&&s.setRequestHeader("Content-Type",g)}if(n.responseType){const g=n.responseType.toLowerCase();s.responseType="json"!==g?g:"text"}const a=n.serializeBody();let l=null;const c=()=>{if(null!==l)return l;const g=s.statusText||"OK",m=new mt(s.getAllResponseHeaders()),v=function Sj(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(s)||n.url;return l=new ml({headers:m,status:s.status,statusText:g,url:v}),l},u=()=>{let{headers:g,status:m,statusText:v,url:y}=c(),E=null;m!==zi.NoContent&&(E=typeof s.response>"u"?s.responseText:s.response),0===m&&(m=E?zi.Ok:0);let S=m>=200&&m<300;if("json"===n.responseType&&"string"==typeof E){const N=E;E=E.replace(Ij,"");try{E=""!==E?JSON.parse(E):null}catch(O){E=N,S&&(S=!1,E={error:O,text:E})}}S?(i.next(new ar({body:E,headers:g,status:m,statusText:v,url:y||void 0})),i.complete()):i.error(new vo({error:E,headers:g,status:m,statusText:v,url:y||void 0}))},d=g=>{const{url:m}=c(),v=new vo({error:g,status:s.status||0,statusText:s.statusText||"Unknown Error",url:m||void 0});i.error(v)};let f=!1;const h=g=>{f||(i.next(c()),f=!0);let m={type:Sn.DownloadProgress,loaded:g.loaded};g.lengthComputable&&(m.total=g.total),"text"===n.responseType&&s.responseText&&(m.partialText=s.responseText),i.next(m)},p=g=>{let m={type:Sn.UploadProgress,loaded:g.loaded};g.lengthComputable&&(m.total=g.total),i.next(m)};return s.addEventListener("load",u),s.addEventListener("error",d),s.addEventListener("timeout",d),s.addEventListener("abort",d),n.reportProgress&&(s.addEventListener("progress",h),null!==a&&s.upload&&s.upload.addEventListener("progress",p)),s.send(a),i.next({type:Sn.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",u),s.removeEventListener("timeout",d),n.reportProgress&&(s.removeEventListener("progress",h),null!==a&&s.upload&&s.upload.removeEventListener("progress",p)),s.readyState!==s.DONE&&s.abort()}})))}static#e=this.\u0275fac=function(r){return new(r||e)(D(ND))};static#t=this.\u0275prov=b({token:e,factory:e.\u0275fac})}return e})();const Xf=new M(""),aE=new M("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),lE=new M("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class cE{}let xj=(()=>{class e{constructor(n,r,o){this.doc=n,this.platform=r,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=mD(n,this.cookieName),this.lastCookieString=n),this.lastToken}static#e=this.\u0275fac=function(r){return new(r||e)(D(me),D(pn),D(aE))};static#t=this.\u0275prov=b({token:e,factory:e.\u0275fac})}return e})();function Aj(e,t){const n=e.url.toLowerCase();if(!T(Xf)||"GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t(e);const r=T(cE).getToken(),o=T(lE);return null!=r&&!e.headers.has(o)&&(e=e.clone({headers:e.headers.set(o,r)})),t(e)}var Tn=function(e){return e[e.Interceptors=0]="Interceptors",e[e.LegacyInterceptors=1]="LegacyInterceptors",e[e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",e[e.NoXsrfProtection=3]="NoXsrfProtection",e[e.JsonpSupport=4]="JsonpSupport",e[e.RequestsMadeViaParent=5]="RequestsMadeViaParent",e[e.Fetch=6]="Fetch",e}(Tn||{});function Oj(...e){const t=[hj,sE,oE,{provide:hl,useExisting:oE},{provide:pl,useExisting:sE},{provide:Ui,useValue:Aj,multi:!0},{provide:Xf,useValue:!0},{provide:cE,useClass:xj}];for(const n of e)t.push(...n.\u0275providers);return function Ms(e){return{\u0275providers:e}}(t)}const uE=new M("");function Rj(){return function lr(e,t){return{\u0275kind:e,\u0275providers:t}}(Tn.LegacyInterceptors,[{provide:uE,useFactory:Dj},{provide:Ui,useExisting:uE,multi:!0}])}let Pj=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=vt({type:e});static#n=this.\u0275inj=ft({providers:[Oj(Rj())]})}return e})(),Bj=(()=>{class e{constructor(n){this.injector=n}ngDoBootstrap(n){const r=function oj(e,t){const n=function XF(e,t){return t.get(Hn).resolveComponentFactory(e).inputs}(e,t.injector),r=t.strategyFactory||new tj(e,t.injector),o=function ZF(e){const t={};return e.forEach(({propName:n,templateName:r,transform:o})=>{t[function GF(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}(r)]=[n,o]}),t}(n);class i extends rj{static#e=this.observedAttributes=Object.keys(o);get ngElementStrategy(){if(!this._ngElementStrategy){const a=this._ngElementStrategy=r.create(this.injector||t.injector);n.forEach(({propName:l,transform:c})=>{if(!this.hasOwnProperty(l))return;const u=this[l];delete this[l],a.setInputValue(l,u,c)})}return this._ngElementStrategy}constructor(a){super(),this.injector=a}attributeChangedCallback(a,l,c,u){const[d,f]=o[a];this.ngElementStrategy.setInputValue(d,c,f)}connectedCallback(){let a=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),a=!0),this.ngElementStrategy.connect(this),a||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(a=>{const l=new CustomEvent(a.name,{detail:a.value});this.dispatchEvent(l)})}}return n.forEach(({propName:s,transform:a})=>{Object.defineProperty(i.prototype,s,{get(){return this.ngElementStrategy.getInputValue(s)},set(l){this.ngElementStrategy.setInputValue(s,l,a)},configurable:!0,enumerable:!0})}),i}(UF,{injector:this.injector});customElements.define("anyday-price-tag",r)}static#e=this.\u0275fac=function(r){return new(r||e)(D(ke))};static#t=this.\u0275mod=vt({type:e});static#n=this.\u0275inj=ft({imports:[v1,Pj,NF]})}return e})();const ct=void 0;(function GP(e,t,n){(function Ix(e,t,n){"string"!=typeof t&&(n=t,t=e[re.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),so[t]=e,n&&(so[t][re.ExtraData]=n)})(e,t,n)})(["da",[["a","p"],["AM","PM"],ct],[["AM","PM"],ct,ct],[["S","M","T","O","T","F","L"],["s\xf8n.","man.","tir.","ons.","tor.","fre.","l\xf8r."],["s\xf8ndag","mandag","tirsdag","onsdag","torsdag","fredag","l\xf8rdag"],["s\xf8","ma","ti","on","to","fr","l\xf8"]],[["S","M","T","O","T","F","L"],["s\xf8n","man","tir","ons","tor","fre","l\xf8r"],["s\xf8ndag","mandag","tirsdag","onsdag","torsdag","fredag","l\xf8rdag"],["s\xf8","ma","ti","on","to","fr","l\xf8"]],[["J","F","M","A","M","J","J","A","S","O","N","D"],["jan.","feb.","mar.","apr.","maj","jun.","jul.","aug.","sep.","okt.","nov.","dec."],["januar","februar","marts","april","maj","juni","juli","august","september","oktober","november","december"]],ct,[["fKr","eKr"],["f.Kr.","e.Kr."],ct],1,[6,0],["dd.MM.y","d. MMM y","d. MMMM y","EEEE 'den' d. MMMM y"],["HH.mm","HH.mm.ss","HH.mm.ss z","HH.mm.ss zzzz"],["{1} {0}",ct,"{1} 'kl'. {0}",ct],[",",".",";","%","+","-","E","\xd7","\u2030","\u221e","NaN","."],["#,##0.###","#,##0\xa0%","#,##0.00\xa0\xa4","#E0"],"DKK","kr.","dansk krone",{AUD:["AU$","$"],BYN:[ct,"Br."],DKK:["kr."],ISK:[ct,"kr."],JPY:["JP\xa5","\xa5"],NOK:[ct,"kr."],PHP:[ct,"\u20b1"],RON:[ct,"L"],SEK:[ct,"kr."],THB:["\u0e3f"],TWD:["NT$"],USD:["US$","$"]},"ltr",function Hj(e){const t=e,n=Math.floor(Math.abs(e)),r=parseInt(e.toString().replace(/^[^.]*\.?|0+$/g,""),10)||0;return 1===t||0!==r&&(0===n||1===n)?1:5}],"da"),y1().bootstrapModule(Bj).catch(e=>console.error(e))}},vl=>{vl(vl.s=760)}]); (self.webpackChunkwebshop_price_tag=self.webpackChunkwebshop_price_tag||[]).push([[260],{940:(K,we,Ne)=>{"use strict";if(Ne(496),Ne(728),Ne(219),!(typeof Prototype>"u")){if("1.7"!==Prototype.Version&&"1.7.1"!==Prototype.Version&&"1.7.2"!==Prototype.Version)throw new Error("prototypejs version "+Prototype.Version+" is not supported");typeof Array.prototype._reverse<"u"&&(Array.prototype.reverse=Array.prototype._reverse),Array.from=function(){var de;try{de=Symbol.iterator?Symbol.iterator:"Symbol(Symbol.iterator)"}catch{de="Symbol(Symbol.iterator)"}var fe=Object.prototype.toString,He=function(z){return"function"==typeof z||"[object Function]"===fe.call(z)},Je=Math.pow(2,53)-1;return function(me){var Re=Object(me),je=He(Re[de]);if(null==me&&!je)throw new TypeError("Array.from requires an array-like object or iterator - not null or undefined");var De,ke=arguments.length>1?arguments[1]:void 0;if(typeof ke<"u"){if(!He(ke))throw new TypeError("Array.from: when provided, the second argument must be a function");arguments.length>2&&(De=arguments[2])}var D=function(z){var me=function(z){var me=Number(z);return isNaN(me)?0:0!==me&&isFinite(me)?(me>0?1:-1)*Math.floor(Math.abs(me)):me}(z);return Math.min(Math.max(me,0),Je)}(Re.length);return function(me,ve,Re,je,ke,De){for(var D=0;D"u"?De(qe,D):De.call(me,qe,D):qe,D+=1}if(ke)throw new TypeError("Array.from: provided arrayLike or iterator has length more then 2 ** 52 - 1");return ve.length=Re,ve}(De,He(this)?Object(new this(D)):new Array(D),D,function(me,ve){var Re=me&&ve[de]();return function(ke){return me?Re.next():ve[ke]}}(je,Re),je,ke)}}(),String.prototype.startsWith=function(de,fe){var He=fe>0?0|fe:0;return this.substring(He,He+de.length)===de},String.prototype.endsWith=function(de,fe){return(void 0===fe||fe>this.length)&&(fe=this.length),this.substring(fe-de.length,fe)===de}}},219:()=>{!function(K,we){"use strict";function Ne(){var n=it.splice(0,it.length);for(R=0;n.length;)n.shift().call(null,n.shift())}function Ke(n,o){for(var u=0,f=n.length;u1)&&je(this)}}}),re(w,Fe,{value:function(F){-1>0,xe="__"+Xe+Et,Le="addEventListener",Ue="attached",Te="Callback",Ae="detached",ot="extends",Fe="attributeChanged"+Te,Tt=Ue+Te,pt="connected"+Te,dt="disconnected"+Te,ct="created"+Te,yt=Ae+Te,lt="ADDITION",ht="REMOVAL",Be="DOMAttrModified",_t="DOMContentLoaded",gt="DOMSubtreeModified",Ye="<",Ge="=",vt=/^[A-Z][._A-Z0-9]*-[-._A-Z0-9]*$/,bt=["ANNOTATION-XML","COLOR-PROFILE","FONT-FACE","FONT-FACE-SRC","FONT-FACE-URI","FONT-FACE-FORMAT","FONT-FACE-NAME","MISSING-GLYPH"],et=[],e=[],r="",c=D.documentElement,i=et.indexOf||function(n){for(var o=this.length;o--&&this[o]!==n;);return o},l=Ee.prototype,h=l.hasOwnProperty,g=l.isPrototypeOf,_=Ee.defineProperty,N=[],P=Ee.getOwnPropertyDescriptor,k=Ee.getOwnPropertyNames,W=Ee.getPrototypeOf,V=Ee.setPrototypeOf,x=!!Ee.__proto__,q="__dreCEv1",se=K.customElements,te=!/^force/.test(we.type)&&!!(se&&se.define&&se.get&&se.whenDefined),S=Ee.create||Ee,v=K.Map||function(){var n,o=[],u=[];return{get:function(f){return u[i.call(o,f)]},set:function(f,T){(n=i.call(o,f))<0?u[o.push(f)-1]=T:u[n]=T}}},_e=K.Promise||function(n){function o(w){for(f=!0;u.length;)u.shift()(w)}var u=[],f=!1,T={catch:function(){return T},then:function(w){return u.push(w),f&&setTimeout(o,1),T}};return n(o),T},Y=!1,ie=S(null),U=S(null),y=new v,$=function(n){return n.toLowerCase()},p=Ee.create||function n(o){return o?(n.prototype=o,new n):this},B=V||(x?function(n,o){return n.__proto__=o,n}:k&&P?function(){function n(o,u){for(var f,T=k(u),w=0,C=T.length;w
",new O(function(n,o){if(n[0]&&"childList"==n[0].type&&!n[0].removedNodes[0].childNodes.length){var u=(Ve=P(ee,"innerHTML"))&&Ve.set;u&&_(ee,"innerHTML",{set:function(f){for(;this.lastChild;)this.removeChild(this.lastChild);u.call(this,f)}})}o.disconnect(),Ve=null}).observe(Ve,{childList:!0,subtree:!0}),Ve.innerHTML=""),M||(V||x?(ft=function(n,o){g.call(o,n)||Je(n,o)},Pe=Je):(ft=function(n,o){n[xe]||(n[xe]=Ee(!0),Je(n,o))},Pe=ft),ne?(A=!1,n=P(ee,Le),o=n.value,u=function(w){var C=new CustomEvent(Be,{bubbles:!0});C.attrName=w,C.prevValue=s.call(this,w),C.newValue=null,C[ht]=C.attrChange=2,I.call(this,w),t.call(this,C)},f=function(w,C){var le=H.call(this,w),F=le&&s.call(this,w),ae=new CustomEvent(Be,{bubbles:!0});pe.call(this,w,C),ae.attrName=w,ae.prevValue=le?F:null,ae.newValue=C,le?ae.MODIFICATION=ae.attrChange=1:ae[lt]=ae.attrChange=0,t.call(this,ae)},T=function(w){var C,le=w.currentTarget,F=le[xe],ae=w.propertyName;F.hasOwnProperty(ae)&&(F=F[ae],(C=new CustomEvent(Be,{bubbles:!0})).attrName=F.name,C.prevValue=F.value||null,C.newValue=F.value=le[ae]||null,null==C.prevValue?C[lt]=C.attrChange=0:C.MODIFICATION=C.attrChange=1,t.call(le,C))},n.value=function(w,C,le){w===Be&&this[Fe]&&this.setAttribute!==f&&(this[xe]={className:{name:"class",value:this.className}},this.setAttribute=f,this.removeAttribute=u,o.call(this,"propertychange",T)),o.call(this,w,C,le)},_(ee,Le,n)):O||(c[Le](Be,L),c.setAttribute(xe,1),c.removeAttribute(xe),A&&(ut=function(n){var o,u,f,T=this;if(T===n.target){for(f in o=T[xe],T[xe]=u=Ce(T),u){if(!(f in o))return at(0,T,f,o[f],u[f],lt);if(u[f]!==o[f])return at(1,T,f,o[f],u[f],"MODIFICATION")}for(f in o)if(!(f in u))return at(2,T,f,o[f],u[f],ht)}},at=function(n,o,u,f,T,w){var C={attrChange:n,currentTarget:o,attrName:u,prevValue:f,newValue:T};C[w]=n,st(C)},Ce=function(n){for(var o,u,f={},T=n.attributes,w=0,C=T.length;w$");if(o[ot]="a",(n.prototype=p(be.prototype)).constructor=n,K.customElements.define(u,n,o),!f.test(D.createElement("a",{is:u}).outerHTML)||!f.test((new n).outerHTML))throw o}(function n(){return Reflect.construct(be,[],n)},{},"document-register-element-a"+Et)}catch{De()}if(!we.noBuiltIn)try{if(d.call(D,"a","a").outerHTML.indexOf("is")<0)throw{}}catch{$=function(o){return{is:o.toLowerCase()}}}}(window)},728:()=>{"use strict";!function(e){const r=e.performance;function c(G){r&&r.mark&&r.mark(G)}function i(G,b){r&&r.measure&&r.measure(G,b)}c("Zone");const l=e.__Zone_symbol_prefix||"__zone_symbol__";function h(G){return l+G}const g=!0===e[h("forceDuplicateZoneCheck")];if(e.Zone){if(g||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}let _=(()=>{class G{static#e=this.__symbol__=h;static assertZonePatched(){if(e.Promise!==ee.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let t=G.current;for(;t.parent;)t=t.parent;return t}static get current(){return re.zone}static get currentTask(){return Ie}static __load_patch(t,s,H=!1){if(ee.hasOwnProperty(t)){if(!H&&g)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){const I="Zone:"+t;c(I),ee[t]=s(e,G,ne),i(I,I)}}get parent(){return this._parent}get name(){return this._name}constructor(t,s){this._parent=t,this._name=s?s.name||"unnamed":"",this._properties=s&&s.properties||{},this._zoneDelegate=new P(this,this._parent&&this._parent._zoneDelegate,s)}get(t){const s=this.getZoneWith(t);if(s)return s._properties[t]}getZoneWith(t){let s=this;for(;s;){if(s._properties.hasOwnProperty(t))return s;s=s._parent}return null}fork(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}wrap(t,s){if("function"!=typeof t)throw new Error("Expecting function got: "+t);const H=this._zoneDelegate.intercept(this,t,s),I=this;return function(){return I.runGuarded(H,this,arguments,s)}}run(t,s,H,I){re={parent:re,zone:this};try{return this._zoneDelegate.invoke(this,t,s,H,I)}finally{re=re.parent}}runGuarded(t,s=null,H,I){re={parent:re,zone:this};try{try{return this._zoneDelegate.invoke(this,t,s,H,I)}catch(pe){if(this._zoneDelegate.handleError(this,pe))throw pe}}finally{re=re.parent}}runTask(t,s,H){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||_e).name+"; Execution: "+this.name+")");if(t.state===Y&&(t.type===be||t.type===O))return;const I=t.state!=y;I&&t._transitionTo(y,U),t.runCount++;const pe=Ie;Ie=t,re={parent:re,zone:this};try{t.type==O&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,s,H)}catch(d){if(this._zoneDelegate.handleError(this,d))throw d}}finally{t.state!==Y&&t.state!==p&&(t.type==be||t.data&&t.data.isPeriodic?I&&t._transitionTo(U,y):(t.runCount=0,this._updateTaskCount(t,-1),I&&t._transitionTo(Y,y,Y))),re=re.parent,Ie=pe}}scheduleTask(t){if(t.zone&&t.zone!==this){let H=this;for(;H;){if(H===t.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${t.zone.name}`);H=H.parent}}t._transitionTo(ie,Y);const s=[];t._zoneDelegates=s,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(H){throw t._transitionTo(p,ie,Y),this._zoneDelegate.handleError(this,H),H}return t._zoneDelegates===s&&this._updateTaskCount(t,1),t.state==ie&&t._transitionTo(U,ie),t}scheduleMicroTask(t,s,H,I){return this.scheduleTask(new k(B,t,s,H,I,void 0))}scheduleMacroTask(t,s,H,I,pe){return this.scheduleTask(new k(O,t,s,H,I,pe))}scheduleEventTask(t,s,H,I,pe){return this.scheduleTask(new k(be,t,s,H,I,pe))}cancelTask(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||_e).name+"; Execution: "+this.name+")");if(t.state===U||t.state===y){t._transitionTo($,U,y);try{this._zoneDelegate.cancelTask(this,t)}catch(s){throw t._transitionTo(p,$),this._zoneDelegate.handleError(this,s),s}return this._updateTaskCount(t,-1),t._transitionTo(Y,$),t.runCount=0,t}}_updateTaskCount(t,s){const H=t._zoneDelegates;-1==s&&(t._zoneDelegates=null);for(let I=0;IG.hasTask(t,s),onScheduleTask:(G,b,t,s)=>G.scheduleTask(t,s),onInvokeTask:(G,b,t,s,H,I)=>G.invokeTask(t,s,H,I),onCancelTask:(G,b,t,s)=>G.cancelTask(t,s)};class P{constructor(b,t,s){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=b,this._parentDelegate=t,this._forkZS=s&&(s&&s.onFork?s:t._forkZS),this._forkDlgt=s&&(s.onFork?t:t._forkDlgt),this._forkCurrZone=s&&(s.onFork?this.zone:t._forkCurrZone),this._interceptZS=s&&(s.onIntercept?s:t._interceptZS),this._interceptDlgt=s&&(s.onIntercept?t:t._interceptDlgt),this._interceptCurrZone=s&&(s.onIntercept?this.zone:t._interceptCurrZone),this._invokeZS=s&&(s.onInvoke?s:t._invokeZS),this._invokeDlgt=s&&(s.onInvoke?t:t._invokeDlgt),this._invokeCurrZone=s&&(s.onInvoke?this.zone:t._invokeCurrZone),this._handleErrorZS=s&&(s.onHandleError?s:t._handleErrorZS),this._handleErrorDlgt=s&&(s.onHandleError?t:t._handleErrorDlgt),this._handleErrorCurrZone=s&&(s.onHandleError?this.zone:t._handleErrorCurrZone),this._scheduleTaskZS=s&&(s.onScheduleTask?s:t._scheduleTaskZS),this._scheduleTaskDlgt=s&&(s.onScheduleTask?t:t._scheduleTaskDlgt),this._scheduleTaskCurrZone=s&&(s.onScheduleTask?this.zone:t._scheduleTaskCurrZone),this._invokeTaskZS=s&&(s.onInvokeTask?s:t._invokeTaskZS),this._invokeTaskDlgt=s&&(s.onInvokeTask?t:t._invokeTaskDlgt),this._invokeTaskCurrZone=s&&(s.onInvokeTask?this.zone:t._invokeTaskCurrZone),this._cancelTaskZS=s&&(s.onCancelTask?s:t._cancelTaskZS),this._cancelTaskDlgt=s&&(s.onCancelTask?t:t._cancelTaskDlgt),this._cancelTaskCurrZone=s&&(s.onCancelTask?this.zone:t._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const H=s&&s.onHasTask;(H||t&&t._hasTaskZS)&&(this._hasTaskZS=H?s:N,this._hasTaskDlgt=t,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=b,s.onScheduleTask||(this._scheduleTaskZS=N,this._scheduleTaskDlgt=t,this._scheduleTaskCurrZone=this.zone),s.onInvokeTask||(this._invokeTaskZS=N,this._invokeTaskDlgt=t,this._invokeTaskCurrZone=this.zone),s.onCancelTask||(this._cancelTaskZS=N,this._cancelTaskDlgt=t,this._cancelTaskCurrZone=this.zone))}fork(b,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,b,t):new _(b,t)}intercept(b,t,s){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,b,t,s):t}invoke(b,t,s,H,I){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,b,t,s,H,I):t.apply(s,H)}handleError(b,t){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,b,t)}scheduleTask(b,t){let s=t;if(this._scheduleTaskZS)this._hasTaskZS&&s._zoneDelegates.push(this._hasTaskDlgtOwner),s=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,b,t),s||(s=t);else if(t.scheduleFn)t.scheduleFn(t);else{if(t.type!=B)throw new Error("Task is missing scheduleFn.");S(t)}return s}invokeTask(b,t,s,H){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,b,t,s,H):t.callback.apply(s,H)}cancelTask(b,t){let s;if(this._cancelTaskZS)s=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,b,t);else{if(!t.cancelFn)throw Error("Task is not cancelable");s=t.cancelFn(t)}return s}hasTask(b,t){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,b,t)}catch(s){this.handleError(b,s)}}_updateTaskCount(b,t){const s=this._taskCounts,H=s[b],I=s[b]=H+t;if(I<0)throw new Error("More tasks executed then were scheduled.");0!=H&&0!=I||this.hasTask(this.zone,{microTask:s.microTask>0,macroTask:s.macroTask>0,eventTask:s.eventTask>0,change:b})}}class k{constructor(b,t,s,H,I,pe){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=b,this.source=t,this.data=H,this.scheduleFn=I,this.cancelFn=pe,!s)throw new Error("callback is not defined");this.callback=s;const d=this;this.invoke=b===be&&H&&H.useG?k.invokeTask:function(){return k.invokeTask.call(e,d,this,arguments)}}static invokeTask(b,t,s){b||(b=this),ye++;try{return b.runCount++,b.zone.runTask(b,t,s)}finally{1==ye&&v(),ye--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(Y,ie)}_transitionTo(b,t,s){if(this._state!==t&&this._state!==s)throw new Error(`${this.type} '${this.source}': can not transition to '${b}', expecting state '${t}'${s?" or '"+s+"'":""}, was '${this._state}'.`);this._state=b,b==Y&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const W=h("setTimeout"),V=h("Promise"),x=h("then");let se,oe=[],q=!1;function te(G){if(se||e[V]&&(se=e[V].resolve(0)),se){let b=se[x];b||(b=se.then),b.call(se,G)}else e[W](G,0)}function S(G){0===ye&&0===oe.length&&te(v),G&&oe.push(G)}function v(){if(!q){for(q=!0;oe.length;){const G=oe;oe=[];for(let b=0;bre,onUnhandledError:ce,microtaskDrainDone:ce,scheduleMicroTask:S,showUncaughtError:()=>!_[h("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:ce,patchMethod:()=>ce,bindArguments:()=>[],patchThen:()=>ce,patchMacroTask:()=>ce,patchEventPrototype:()=>ce,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>ce,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>ce,wrapWithCurrentZone:()=>ce,filterProperties:()=>[],attachOriginToPatched:()=>ce,_redefineProperty:()=>ce,patchCallbacks:()=>ce,nativeScheduleMicroTask:te};let re={parent:null,zone:new _(null,null)},Ie=null,ye=0;function ce(){}i("Zone","Zone"),e.Zone=_}(globalThis);const K=Object.getOwnPropertyDescriptor,we=Object.defineProperty,Ne=Object.getPrototypeOf,Ke=Object.create,mt=Array.prototype.slice,$e="addEventListener",tt="removeEventListener",nt=Zone.__symbol__($e),st=Zone.__symbol__(tt),de="true",fe="false",He=Zone.__symbol__("");function rt(e,r){return Zone.current.wrap(e,r)}function Je(e,r,c,i,l){return Zone.current.scheduleMacroTask(e,r,c,i,l)}const X=Zone.__symbol__,Qe=typeof window<"u",Ze=Qe?window:void 0,z=Qe&&Ze||globalThis,me="removeAttribute";function ve(e,r){for(let c=e.length-1;c>=0;c--)"function"==typeof e[c]&&(e[c]=rt(e[c],r+"_"+c));return e}function je(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&typeof e.set>"u")}const ke=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,De=!("nw"in z)&&typeof z.process<"u"&&"[object process]"==={}.toString.call(z.process),D=!De&&!ke&&!(!Qe||!Ze.HTMLElement),Ee=typeof z.process<"u"&&"[object process]"==={}.toString.call(z.process)&&!ke&&!(!Qe||!Ze.HTMLElement),qe={},it=function(e){if(!(e=e||z.event))return;let r=qe[e.type];r||(r=qe[e.type]=X("ON_PROPERTY"+e.type));const c=this||e.target||z,i=c[r];let l;return D&&c===Ze&&"error"===e.type?(l=i&&i.call(this,e.message,e.filename,e.lineno,e.colno,e.error),!0===l&&e.preventDefault()):(l=i&&i.apply(this,arguments),null!=l&&!l&&e.preventDefault()),l};function ut(e,r,c){let i=K(e,r);if(!i&&c&&K(c,r)&&(i={enumerable:!0,configurable:!0}),!i||!i.configurable)return;const l=X("on"+r+"patched");if(e.hasOwnProperty(l)&&e[l])return;delete i.writable,delete i.value;const h=i.get,g=i.set,_=r.slice(2);let N=qe[_];N||(N=qe[_]=X("ON_PROPERTY"+_)),i.set=function(P){let k=this;!k&&e===z&&(k=z),k&&("function"==typeof k[N]&&k.removeEventListener(_,it),g&&g.call(k,null),k[N]=P,"function"==typeof P&&k.addEventListener(_,it,!1))},i.get=function(){let P=this;if(!P&&e===z&&(P=z),!P)return null;const k=P[N];if(k)return k;if(h){let W=h.call(this);if(W)return i.set.call(this,W),"function"==typeof P[me]&&P.removeAttribute(r),W}return null},we(e,r,i),e[l]=!0}function at(e,r,c){if(r)for(let i=0;ifunction(g,_){const N=c(g,_);return N.cbIdx>=0&&"function"==typeof _[N.cbIdx]?Je(N.name,_[N.cbIdx],N,l):h.apply(g,_)})}function Pe(e,r){e[X("OriginalDelegate")]=r}let Ve=!1,Xe=!1;function xe(){if(Ve)return Xe;Ve=!0;try{const e=Ze.navigator.userAgent;(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/"))&&(Xe=!0)}catch{}return Xe}Zone.__load_patch("ZoneAwarePromise",(e,r,c)=>{const i=Object.getOwnPropertyDescriptor,l=Object.defineProperty,g=c.symbol,_=[],N=!1!==e[g("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],P=g("Promise"),k=g("then"),W="__creationTrace__";c.onUnhandledError=d=>{if(c.showUncaughtError()){const m=d&&d.rejection;m?console.error("Unhandled Promise rejection:",m instanceof Error?m.message:m,"; Zone:",d.zone.name,"; Task:",d.task&&d.task.source,"; Value:",m,m instanceof Error?m.stack:void 0):console.error(d)}},c.microtaskDrainDone=()=>{for(;_.length;){const d=_.shift();try{d.zone.runGuarded(()=>{throw d.throwOriginal?d.rejection:d})}catch(m){x(m)}}};const V=g("unhandledPromiseRejectionHandler");function x(d){c.onUnhandledError(d);try{const m=r[V];"function"==typeof m&&m.call(this,d)}catch{}}function oe(d){return d&&d.then}function q(d){return d}function se(d){return t.reject(d)}const te=g("state"),S=g("value"),v=g("finally"),_e=g("parentPromiseValue"),Y=g("parentPromiseState"),ie="Promise.then",U=null,y=!0,$=!1,p=0;function B(d,m){return a=>{try{ne(d,m,a)}catch(E){ne(d,!1,E)}}}const O=function(){let d=!1;return function(a){return function(){d||(d=!0,a.apply(null,arguments))}}},be="Promise resolved with itself",ee=g("currentTaskTrace");function ne(d,m,a){const E=O();if(d===a)throw new TypeError(be);if(d[te]===U){let L=null;try{("object"==typeof a||"function"==typeof a)&&(L=a&&a.then)}catch(R){return E(()=>{ne(d,!1,R)})(),d}if(m!==$&&a instanceof t&&a.hasOwnProperty(te)&&a.hasOwnProperty(S)&&a[te]!==U)Ie(a),ne(d,a[te],a[S]);else if(m!==$&&"function"==typeof L)try{L.call(a,E(B(d,m)),E(B(d,!1)))}catch(R){E(()=>{ne(d,!1,R)})()}else{d[te]=m;const R=d[S];if(d[S]=a,d[v]===v&&m===y&&(d[te]=d[Y],d[S]=d[_e]),m===$&&a instanceof Error){const M=r.currentTask&&r.currentTask.data&&r.currentTask.data[W];M&&l(a,ee,{configurable:!0,enumerable:!1,writable:!0,value:M})}for(let M=0;M{try{const Z=d[S],j=!!a&&v===a[v];j&&(a[_e]=Z,a[Y]=R);const A=m.run(M,void 0,j&&M!==se&&M!==q?[]:[Z]);ne(a,!0,A)}catch(Z){ne(a,!1,Z)}},a)}const G=function(){},b=e.AggregateError;class t{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(m){return m instanceof t?m:ne(new this(null),y,m)}static reject(m){return ne(new this(null),$,m)}static withResolvers(){const m={};return m.promise=new t((a,E)=>{m.resolve=a,m.reject=E}),m}static any(m){if(!m||"function"!=typeof m[Symbol.iterator])return Promise.reject(new b([],"All promises were rejected"));const a=[];let E=0;try{for(let M of m)E++,a.push(t.resolve(M))}catch{return Promise.reject(new b([],"All promises were rejected"))}if(0===E)return Promise.reject(new b([],"All promises were rejected"));let L=!1;const R=[];return new t((M,Z)=>{for(let j=0;j{L||(L=!0,M(A))},A=>{R.push(A),E--,0===E&&(L=!0,Z(new b(R,"All promises were rejected")))})})}static race(m){let a,E,L=new this((Z,j)=>{a=Z,E=j});function R(Z){a(Z)}function M(Z){E(Z)}for(let Z of m)oe(Z)||(Z=this.resolve(Z)),Z.then(R,M);return L}static all(m){return t.allWithCallback(m)}static allSettled(m){return(this&&this.prototype instanceof t?this:t).allWithCallback(m,{thenCallback:E=>({status:"fulfilled",value:E}),errorCallback:E=>({status:"rejected",reason:E})})}static allWithCallback(m,a){let E,L,R=new this((A,Q)=>{E=A,L=Q}),M=2,Z=0;const j=[];for(let A of m){oe(A)||(A=this.resolve(A));const Q=Z;try{A.then(J=>{j[Q]=a?a.thenCallback(J):J,M--,0===M&&E(j)},J=>{a?(j[Q]=a.errorCallback(J),M--,0===M&&E(j)):L(J)})}catch(J){L(J)}M++,Z++}return M-=2,0===M&&E(j),R}constructor(m){const a=this;if(!(a instanceof t))throw new Error("Must be an instanceof Promise.");a[te]=U,a[S]=[];try{const E=O();m&&m(E(B(a,y)),E(B(a,$)))}catch(E){ne(a,!1,E)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return t}then(m,a){let E=this.constructor?.[Symbol.species];(!E||"function"!=typeof E)&&(E=this.constructor||t);const L=new E(G),R=r.current;return this[te]==U?this[S].push(R,L,m,a):ye(this,R,L,m,a),L}catch(m){return this.then(null,m)}finally(m){let a=this.constructor?.[Symbol.species];(!a||"function"!=typeof a)&&(a=t);const E=new a(G);E[v]=v;const L=r.current;return this[te]==U?this[S].push(L,E,m,m):ye(this,L,E,m,m),E}}t.resolve=t.resolve,t.reject=t.reject,t.race=t.race,t.all=t.all;const s=e[P]=e.Promise;e.Promise=t;const H=g("thenPatched");function I(d){const m=d.prototype,a=i(m,"then");if(a&&(!1===a.writable||!a.configurable))return;const E=m.then;m[k]=E,d.prototype.then=function(L,R){return new t((Z,j)=>{E.call(this,Z,j)}).then(L,R)},d[H]=!0}return c.patchThen=I,s&&(I(s),Se(e,"fetch",d=>function pe(d){return function(m,a){let E=d.apply(m,a);if(E instanceof t)return E;let L=E.constructor;return L[H]||I(L),E}}(d))),Promise[r.__symbol__("uncaughtPromiseErrors")]=_,t}),Zone.__load_patch("toString",e=>{const r=Function.prototype.toString,c=X("OriginalDelegate"),i=X("Promise"),l=X("Error"),h=function(){if("function"==typeof this){const P=this[c];if(P)return"function"==typeof P?r.call(P):Object.prototype.toString.call(P);if(this===Promise){const k=e[i];if(k)return r.call(k)}if(this===Error){const k=e[l];if(k)return r.call(k)}}return r.call(this)};h[c]=r,Function.prototype.toString=h;const g=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":g.call(this)}});let Le=!1;if(typeof window<"u")try{const e=Object.defineProperty({},"passive",{get:function(){Le=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{Le=!1}const Ue={useG:!0},Te={},Ae={},ot=new RegExp("^"+He+"(\\w+)(true|false)$"),Fe=X("propagationStopped");function Tt(e,r){const c=(r?r(e):e)+fe,i=(r?r(e):e)+de,l=He+c,h=He+i;Te[e]={},Te[e][fe]=l,Te[e][de]=h}function pt(e,r,c,i){const l=i&&i.add||$e,h=i&&i.rm||tt,g=i&&i.listeners||"eventListeners",_=i&&i.rmAll||"removeAllListeners",N=X(l),P="."+l+":",k="prependListener",W="."+k+":",V=function(S,v,_e){if(S.isRemoved)return;const Y=S.callback;let ie;"object"==typeof Y&&Y.handleEvent&&(S.callback=y=>Y.handleEvent(y),S.originalDelegate=Y);try{S.invoke(S,v,[_e])}catch(y){ie=y}const U=S.options;return U&&"object"==typeof U&&U.once&&v[h].call(v,_e.type,S.originalDelegate?S.originalDelegate:S.callback,U),ie};function x(S,v,_e){if(!(v=v||e.event))return;const Y=S||v.target||e,ie=Y[Te[v.type][_e?de:fe]];if(ie){const U=[];if(1===ie.length){const y=V(ie[0],Y,v);y&&U.push(y)}else{const y=ie.slice();for(let $=0;${throw $})}}}const oe=function(S){return x(this,S,!1)},q=function(S){return x(this,S,!0)};function se(S,v){if(!S)return!1;let _e=!0;v&&void 0!==v.useG&&(_e=v.useG);const Y=v&&v.vh;let ie=!0;v&&void 0!==v.chkDup&&(ie=v.chkDup);let U=!1;v&&void 0!==v.rt&&(U=v.rt);let y=S;for(;y&&!y.hasOwnProperty(l);)y=Ne(y);if(!y&&S[l]&&(y=S),!y||y[N])return!1;const $=v&&v.eventNameToString,p={},B=y[N]=y[l],O=y[X(h)]=y[h],be=y[X(g)]=y[g],ee=y[X(_)]=y[_];let ne;v&&v.prepend&&(ne=y[X(v.prepend)]=y[v.prepend]);const t=_e?function(a){if(!p.isExisting)return B.call(p.target,p.eventName,p.capture?q:oe,p.options)}:function(a){return B.call(p.target,p.eventName,a.invoke,p.options)},s=_e?function(a){if(!a.isRemoved){const E=Te[a.eventName];let L;E&&(L=E[a.capture?de:fe]);const R=L&&a.target[L];if(R)for(let M=0;M{Oe.zone.cancelTask(Oe)},{once:!0})),p.target=null,Me&&(Me.taskData=null),T&&(o.once=!0),!Le&&"boolean"==typeof Oe.options||(Oe.options=o),Oe.target=j,Oe.capture=f,Oe.eventName=A,J&&(Oe.originalDelegate=Q),Z?F.unshift(Oe):F.push(Oe),M?j:void 0}};return y[l]=m(B,P,t,s,U),ne&&(y[k]=m(ne,W,function(a){return ne.call(p.target,p.eventName,a.invoke,p.options)},s,U,!0)),y[h]=function(){const a=this||e;let E=arguments[0];v&&v.transferEventName&&(E=v.transferEventName(E));const L=arguments[2],R=!!L&&("boolean"==typeof L||L.capture),M=arguments[1];if(!M)return O.apply(this,arguments);if(Y&&!Y(O,M,a,arguments))return;const Z=Te[E];let j;Z&&(j=Z[R?de:fe]);const A=j&&a[j];if(A)for(let Q=0;Qfunction(l,h){l[Fe]=!0,i&&i.apply(l,h)})}function yt(e,r,c,i,l){const h=Zone.__symbol__(i);if(r[h])return;const g=r[h]=r[i];r[i]=function(_,N,P){return N&&N.prototype&&l.forEach(function(k){const W=`${c}.${i}::`+k,V=N.prototype;try{if(V.hasOwnProperty(k)){const x=e.ObjectGetOwnPropertyDescriptor(V,k);x&&x.value?(x.value=e.wrapWithCurrentZone(x.value,W),e._redefineProperty(N.prototype,k,x)):V[k]&&(V[k]=e.wrapWithCurrentZone(V[k],W))}else V[k]&&(V[k]=e.wrapWithCurrentZone(V[k],W))}catch{}}),g.call(r,_,N,P)},e.attachOriginToPatched(r[i],g)}function lt(e,r,c){if(!c||0===c.length)return r;const i=c.filter(h=>h.target===e);if(!i||0===i.length)return r;const l=i[0].ignoreProperties;return r.filter(h=>-1===l.indexOf(h))}function ht(e,r,c,i){e&&at(e,lt(e,r,c),i)}function Be(e){return Object.getOwnPropertyNames(e).filter(r=>r.startsWith("on")&&r.length>2).map(r=>r.substring(2))}Zone.__load_patch("util",(e,r,c)=>{const i=Be(e);c.patchOnProperties=at,c.patchMethod=Se,c.bindArguments=ve,c.patchMacroTask=ft;const l=r.__symbol__("BLACK_LISTED_EVENTS"),h=r.__symbol__("UNPATCHED_EVENTS");e[h]&&(e[l]=e[h]),e[l]&&(r[l]=r[h]=e[l]),c.patchEventPrototype=ct,c.patchEventTarget=pt,c.isIEOrEdge=xe,c.ObjectDefineProperty=we,c.ObjectGetOwnPropertyDescriptor=K,c.ObjectCreate=Ke,c.ArraySlice=mt,c.patchClass=ze,c.wrapWithCurrentZone=rt,c.filterProperties=lt,c.attachOriginToPatched=Pe,c._redefineProperty=Object.defineProperty,c.patchCallbacks=yt,c.getGlobalObjects=()=>({globalSources:Ae,zoneSymbolEventNames:Te,eventNames:i,isBrowser:D,isMix:Ee,isNode:De,TRUE_STR:de,FALSE_STR:fe,ZONE_SYMBOL_PREFIX:He,ADD_EVENT_LISTENER_STR:$e,REMOVE_EVENT_LISTENER_STR:tt})});const Ye=X("zoneTask");function Ge(e,r,c,i){let l=null,h=null;c+=i;const g={};function _(P){const k=P.data;return k.args[0]=function(){return P.invoke.apply(this,arguments)},k.handleId=l.apply(e,k.args),P}function N(P){return h.call(e,P.data.handleId)}l=Se(e,r+=i,P=>function(k,W){if("function"==typeof W[0]){const V={isPeriodic:"Interval"===i,delay:"Timeout"===i||"Interval"===i?W[1]||0:void 0,args:W},x=W[0];W[0]=function(){try{return x.apply(this,arguments)}finally{V.isPeriodic||("number"==typeof V.handleId?delete g[V.handleId]:V.handleId&&(V.handleId[Ye]=null))}};const oe=Je(r,W[0],V,_,N);if(!oe)return oe;const q=oe.data.handleId;return"number"==typeof q?g[q]=oe:q&&(q[Ye]=oe),q&&q.ref&&q.unref&&"function"==typeof q.ref&&"function"==typeof q.unref&&(oe.ref=q.ref.bind(q),oe.unref=q.unref.bind(q)),"number"==typeof q||q?q:oe}return P.apply(e,W)}),h=Se(e,c,P=>function(k,W){const V=W[0];let x;"number"==typeof V?x=g[V]:(x=V&&V[Ye],x||(x=V)),x&&"string"==typeof x.type?"notScheduled"!==x.state&&(x.cancelFn&&x.data.isPeriodic||0===x.runCount)&&("number"==typeof V?delete g[V]:V&&(V[Ye]=null),x.zone.cancelTask(x)):P.apply(e,W)})}Zone.__load_patch("legacy",e=>{const r=e[Zone.__symbol__("legacyPatch")];r&&r()}),Zone.__load_patch("timers",e=>{const r="set",c="clear";Ge(e,r,c,"Timeout"),Ge(e,r,c,"Interval"),Ge(e,r,c,"Immediate")}),Zone.__load_patch("requestAnimationFrame",e=>{Ge(e,"request","cancel","AnimationFrame"),Ge(e,"mozRequest","mozCancel","AnimationFrame"),Ge(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(e,r)=>{const c=["alert","prompt","confirm"];for(let i=0;ifunction(N,P){return r.current.run(h,e,P,_)})}),Zone.__load_patch("EventTarget",(e,r,c)=>{(function et(e,r){r.patchEventPrototype(e,r)})(e,c),function bt(e,r){if(Zone[r.symbol("patchEventTarget")])return;const{eventNames:c,zoneSymbolEventNames:i,TRUE_STR:l,FALSE_STR:h,ZONE_SYMBOL_PREFIX:g}=r.getGlobalObjects();for(let N=0;N{ze("MutationObserver"),ze("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(e,r,c)=>{ze("IntersectionObserver")}),Zone.__load_patch("FileReader",(e,r,c)=>{ze("FileReader")}),Zone.__load_patch("on_property",(e,r,c)=>{!function _t(e,r){if(De&&!Ee||Zone[e.symbol("patchEvents")])return;const c=r.__Zone_ignore_on_properties;let i=[];if(D){const l=window;i=i.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const h=function Et(){try{const e=Ze.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:l,ignoreProperties:["error"]}]:[];ht(l,Be(l),c&&c.concat(h),Ne(l))}i=i.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let l=0;l{!function vt(e,r){const{isBrowser:c,isMix:i}=r.getGlobalObjects();(c||i)&&e.customElements&&"customElements"in e&&r.patchCallbacks(r,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(e,c)}),Zone.__load_patch("XHR",(e,r)=>{!function N(P){const k=P.XMLHttpRequest;if(!k)return;const W=k.prototype;let x=W[nt],oe=W[st];if(!x){const p=P.XMLHttpRequestEventTarget;if(p){const B=p.prototype;x=B[nt],oe=B[st]}}const q="readystatechange",se="scheduled";function te(p){const B=p.data,O=B.target;O[h]=!1,O[_]=!1;const be=O[l];x||(x=O[nt],oe=O[st]),be&&oe.call(O,q,be);const ee=O[l]=()=>{if(O.readyState===O.DONE)if(!B.aborted&&O[h]&&p.state===se){const re=O[r.__symbol__("loadfalse")];if(0!==O.status&&re&&re.length>0){const Ie=p.invoke;p.invoke=function(){const ye=O[r.__symbol__("loadfalse")];for(let ce=0;cefunction(p,B){return p[i]=0==B[2],p[g]=B[1],_e.apply(p,B)}),ie=X("fetchTaskAborting"),U=X("fetchTaskScheduling"),y=Se(W,"send",()=>function(p,B){if(!0===r.current[U]||p[i])return y.apply(p,B);{const O={target:p,url:p[g],isPeriodic:!1,args:B,aborted:!1},be=Je("XMLHttpRequest.send",S,O,te,v);p&&!0===p[_]&&!O.aborted&&be.state===se&&be.invoke()}}),$=Se(W,"abort",()=>function(p,B){const O=function V(p){return p[c]}(p);if(O&&"string"==typeof O.type){if(null==O.cancelFn||O.data&&O.data.aborted)return;O.zone.cancelTask(O)}else if(!0===r.current[ie])return $.apply(p,B)})}(e);const c=X("xhrTask"),i=X("xhrSync"),l=X("xhrListener"),h=X("xhrScheduled"),g=X("xhrURL"),_=X("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&function Re(e,r){const c=e.constructor.name;for(let i=0;i{const N=function(){return _.apply(this,ve(arguments,c+"."+l))};return Pe(N,_),N})(h)}}}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,r)=>{function c(i){return function(l){dt(e,i).forEach(g=>{const _=e.PromiseRejectionEvent;if(_){const N=new _(i,{promise:l.promise,reason:l.rejection});g.invoke(N)}})}}e.PromiseRejectionEvent&&(r[X("unhandledPromiseRejectionHandler")]=c("unhandledrejection"),r[X("rejectionHandledHandler")]=c("rejectionhandled"))}),Zone.__load_patch("queueMicrotask",(e,r,c)=>{!function gt(e,r){r.patchMethod(e,"queueMicrotask",c=>function(i,l){Zone.current.scheduleMicroTask("queueMicrotask",l[0])})}(e,c)})},496:()=>{}},K=>{K(K.s=940)}]); (()=>{"use strict";var e,b={},l={};function f(e){var t=l[e];if(void 0!==t)return t.exports;var r=l[e]={exports:{}};return b[e](r,r.exports,f),r.exports}f.m=b,e=[],f.O=(t,r,a,n)=>{if(!r){var c=1/0;for(o=0;o=n)&&Object.keys(f.O).every(h=>f.O[h](r[i]))?r.splice(i--,1):(_=!1,n0&&e[o-1][2]>n;o--)e[o]=e[o-1];e[o]=[r,a,n]},f.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return f.d(t,{a:t}),t},(()=>{var t,e=Object.getPrototypeOf?r=>Object.getPrototypeOf(r):r=>r.__proto__;f.t=function(r,a){if(1&a&&(r=this(r)),8&a||"object"==typeof r&&r&&(4&a&&r.__esModule||16&a&&"function"==typeof r.then))return r;var n=Object.create(null);f.r(n);var o={};t=t||[null,e({}),e([]),e(e)];for(var c=2&a&&r;"object"==typeof c&&!~t.indexOf(c);c=e(c))Object.getOwnPropertyNames(c).forEach(_=>o[_]=()=>r[_]);return o.default=()=>r,f.d(n,o),n}})(),f.d=(e,t)=>{for(var r in t)f.o(t,r)&&!f.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},f.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),f.r=e=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={688:0};f.O.j=a=>0===e[a];var t=(a,n)=>{var i,p,[o,c,_]=n,s=0;if(o.some(d=>0!==e[d])){for(i in c)f.o(c,i)&&(f.m[i]=c[i]);if(_)var u=_(f)}for(a&&a(n);s{function Gi(e,t,n,r,o,i,s){try{var a=e[i](s),l=a.value}catch(c){return void n(c)}a.done?t(l):Promise.resolve(l).then(r,o)}let De=null,Yi=1;const Nn=Symbol("SIGNAL");function ue(e){const t=De;return De=e,t}function eh(e){if((!Do(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==Yi)){if(!e.producerMustRecompute(e)&&!Dl(e))return e.dirty=!1,void(e.lastCleanEpoch=Yi);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=Yi}}function Dl(e){cr(e);for(let t=0;t0}function cr(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let ch=null;function J(e){return"function"==typeof e}function fh(e){const n=e(r=>{Error.call(r),r.stack=(new Error).stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}const El=fh(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((r,o)=>`${o+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=n});function Qi(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class Be{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(const i of n)i.remove(this);else n.remove(this);const{initialTeardown:r}=this;if(J(r))try{r()}catch(i){t=i instanceof El?i.errors:[i]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const i of o)try{gh(i)}catch(s){t=t??[],s instanceof El?t=[...t,...s.errors]:t.push(s)}}if(t)throw new El(t)}}add(t){var n;if(t&&t!==this)if(this.closed)gh(t);else{if(t instanceof Be){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}}_hasParent(t){const{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){const{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){const{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&Qi(n,t)}remove(t){const{_finalizers:n}=this;n&&Qi(n,t),t instanceof Be&&t._removeParent(this)}}Be.EMPTY=(()=>{const e=new Be;return e.closed=!0,e})();const hh=Be.EMPTY;function ph(e){return e instanceof Be||e&&"closed"in e&&J(e.remove)&&J(e.add)&&J(e.unsubscribe)}function gh(e){J(e)?e():e.unsubscribe()}const xn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Zi={setTimeout(e,t,...n){const{delegate:r}=Zi;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=Zi;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function mh(e){Zi.setTimeout(()=>{const{onUnhandledError:t}=xn;if(!t)throw e;t(e)})}function Co(){}const SE=bl("C",void 0,void 0);function bl(e,t,n){return{kind:e,value:t,error:n}}let An=null;function Xi(e){if(xn.useDeprecatedSynchronousErrorHandling){const t=!An;if(t&&(An={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=An;if(An=null,n)throw r}}else e()}class Ml extends Be{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,ph(t)&&t.add(this)):this.destination=PE}static create(t,n,r){return new Sl(t,n,r)}next(t){this.isStopped?Tl(function NE(e){return bl("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?Tl(function TE(e){return bl("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Tl(SE,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const AE=Function.prototype.bind;function Il(e,t){return AE.call(e,t)}class OE{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Ji(r)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Ji(r)}else Ji(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Ji(n)}}}class Sl extends Ml{constructor(t,n,r){let o;if(super(),J(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&xn.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Il(t.next,i),error:t.error&&Il(t.error,i),complete:t.complete&&Il(t.complete,i)}):o=t}this.destination=new OE(o)}}function Ji(e){xn.useDeprecatedSynchronousErrorHandling?function xE(e){xn.useDeprecatedSynchronousErrorHandling&&An&&(An.errorThrown=!0,An.error=e)}(e):mh(e)}function Tl(e,t){const{onStoppedNotification:n}=xn;n&&Zi.setTimeout(()=>n(e,t))}const PE={closed:!0,next:Co,error:function RE(e){throw e},complete:Co},Nl="function"==typeof Symbol&&Symbol.observable||"@@observable";function Eo(e){return e}let ye=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){const r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){const i=function kE(e){return e&&e instanceof Ml||function LE(e){return e&&J(e.next)&&J(e.error)&&J(e.complete)}(e)&&ph(e)}(n)?n:new Sl(n,r,o);return Xi(()=>{const{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return new(r=_h(r))((o,i)=>{const s=new Sl({next:a=>{try{n(a)}catch(l){i(l),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(n)}[Nl](){return this}pipe(...n){return function yh(e){return 0===e.length?Eo:1===e.length?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}(n)(this)}toPromise(n){return new(n=_h(n))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function _h(e){var t;return null!==(t=e??xn.Promise)&&void 0!==t?t:Promise}const FE=fh(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let We=(()=>{class e extends ye{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new vh(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new FE}next(n){Xi(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(n)}})}error(n){Xi(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;const{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){Xi(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return(null===(n=this.observers)||void 0===n?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){const{hasError:r,isStopped:o,observers:i}=this;return r||o?hh:(this.currentObservers=null,i.push(n),new Be(()=>{this.currentObservers=null,Qi(i,n)}))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){const n=new ye;return n.source=this,n}}return e.create=(t,n)=>new vh(t,n),e})();class vh extends We{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.next)||void 0===r||r.call(n,t)}error(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.error)||void 0===r||r.call(n,t)}complete(){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===n||n.call(t)}_subscribe(t){var n,r;return null!==(r=null===(n=this.source)||void 0===n?void 0:n.subscribe(t))&&void 0!==r?r:hh}}class wh extends We{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){const{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}}function Ye(e){return t=>{if(function jE(e){return J(e?.lift)}(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function xe(e,t,n,r,o){return new VE(e,t,n,r,o)}class VE extends Ml{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(l){t.error(l)}}:super._next,this._error=o?function(a){try{o(a)}catch(l){t.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:n}=this;super.unsubscribe(),!n&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function qe(e,t){return Ye((n,r)=>{let o=0;n.subscribe(xe(r,i=>{r.next(e.call(t,i,o++))}))})}const Dh="https://g.co/ng/security#xss";class C extends Error{constructor(t,n){super(function ur(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function xl(e){return t=>{setTimeout(e,void 0,t)}}const ut=class BE extends We{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&"object"==typeof t){const l=t;o=l.next?.bind(l),i=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(i=xl(i),o&&(o=xl(o)),s&&(s=xl(s)));const a=super.subscribe({next:o,error:i,complete:s});return t instanceof Be&&t.add(a),a}};var $=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}($||{});function Ce(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Ce).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function Al(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}function un(e,t,n){e!=t&&function x(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(n,e,t,"==")}var es=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(es||{}),yt=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(yt||{});function Qt(e){return{toString:e}.toString()}const Q=globalThis,Pt={},U=[];function Z(e){for(let t in e)if(e[t]===Z)return t;throw Error("Could not find renamed property on target object.")}function UE(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}const bo=Z({\u0275cmp:Z}),Ol=Z({\u0275dir:Z}),Rl=Z({\u0275pipe:Z}),bh=Z({\u0275mod:Z}),Zt=Z({\u0275fac:Z}),Mo=Z({__NG_ELEMENT_ID__:Z}),Mh=Z({__NG_ENV_ID__:Z});var dt=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(dt||{});function Ih(e,t,n){let r=e.length;for(;;){const o=e.indexOf(t,n);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}function Pl(e,t,n){let r=0;for(;rt){s=i-1;break}}}for(;ii?"":o[d+1].toLowerCase();const h=8&r?f:null;if(h&&-1!==Ih(h,c,0)||2&r&&c!==f){if(_t(r))return!1;s=!0}}}}else{if(!s&&!_t(r)&&!_t(l))return!1;if(s&&_t(l))continue;s=!1,r=l|1&r}}return _t(r)||s}function _t(e){return 0==(1&e)}function qE(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+a+'"':"")+"]"}else 8&r?o+="."+s:4&r&&(o+=" "+s);else""!==o&&!_t(s)&&(t+=Rh(i,o),o=""),r=s,i=i||!_t(r);n++}return""!==o&&(t+=Rh(i,o)),t}function Ph(e){return Qt(()=>{const t=kh(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===es.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||yt.Emulated,styles:e.styles||U,_:null,schemas:e.schemas||null,tView:null,id:""};Fh(n);const r=e.dependencies;return n.directiveDefs=ts(r,!1),n.pipeDefs=ts(r,!0),n.id=function ib(e){let t=0;const n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(n),n})}function nb(e){return V(e)||Ee(e)}function rb(e){return null!==e}function vt(e){return Qt(()=>({type:e.type,bootstrap:e.bootstrap||U,declarations:e.declarations||U,imports:e.imports||U,exports:e.exports||U,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Lh(e,t){if(null==e)return Pt;const n={};for(const r in e)if(e.hasOwnProperty(r)){const o=e[r];let i,s,a=dt.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==dt.None?[r,a]:r,t[i]=s):n[i]=r}return n}function rt(e){return Qt(()=>{const t=kh(e);return Fh(t),t})}function Qe(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function V(e){return e[bo]||null}function Ee(e){return e[Ol]||null}function Te(e){return e[Rl]||null}function kh(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||Pt,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||U,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Lh(e.inputs,t),outputs:Lh(e.outputs),debugInfo:null}}function Fh(e){e.features?.forEach(t=>t(e))}function ts(e,t){if(!e)return null;const n=t?Te:nb;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(rb)}const le=0,w=1,I=2,de=3,wt=4,Oe=5,Dt=6,dr=7,te=8,Ne=9,Xt=10,P=11,So=12,jh=13,fr=14,ce=15,To=16,hr=17,Jt=18,No=19,Vh=20,dn=21,ns=22,Rn=23,L=25,Ll=1,Lt=7,pr=9,fe=10;var kl=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(kl||{});function Re(e){return Array.isArray(e)&&"object"==typeof e[Ll]}function Pe(e){return Array.isArray(e)&&!0===e[Ll]}function Fl(e){return 0!=(4&e.flags)}function Pn(e){return e.componentOffset>-1}function os(e){return 1==(1&e.flags)}function Ct(e){return!!e.template}function jl(e){return 0!=(512&e[I])}let Gh=!1;function K(e){for(;Array.isArray(e);)e=e[le];return e}function Ao(e,t){return K(t[e])}function He(e,t){return K(t[e.index])}function Oo(e,t){return e.data[t]}function gr(e,t){return e[t]}function ot(e,t){const n=t[e];return Re(n)?n:n[le]}function $l(e){return 128==(128&e[I])}function kt(e,t){return null==t?null:e[t]}function Wh(e){e[hr]=0}function hb(e){1024&e[I]||(e[I]|=1024,$l(e)&&Ro(e))}function zl(e){return!!(9216&e[I]||e[Rn]?.dirty)}function Ul(e){zl(e)?Ro(e):64&e[I]&&(function cb(){return Gh}()?(e[I]|=1024,Ro(e)):e[Xt].changeDetectionScheduler?.notify())}function Ro(e){e[Xt].changeDetectionScheduler?.notify();let t=Ln(e);for(;null!==t&&!(8192&t[I])&&(t[I]|=8192,$l(t));)t=Ln(t)}function Ln(e){const t=e[de];return Pe(t)?t[de]:t}const R={lFrame:np(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Qh(){return R.bindingsEnabled}function mr(){return null!==R.skipHydrationRootTNode}function _(){return R.lFrame.lView}function H(){return R.lFrame.tView}function Wl(e){return R.lFrame.contextLView=e,e[te]}function Yl(e){return R.lFrame.contextLView=null,e}function X(){let e=Zh();for(;null!==e&&64===e.type;)e=e.parent;return e}function Zh(){return R.lFrame.currentTNode}function Po(){const e=R.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Ft(e,t){const n=R.lFrame;n.currentTNode=e,n.isParent=t}function ql(){return R.lFrame.isParent}function Ql(){R.lFrame.isParent=!1}function $e(){const e=R.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Et(){return R.lFrame.bindingIndex++}function en(e){const t=R.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Kh(e){R.lFrame.inI18n=e}function bb(e,t){const n=R.lFrame;n.bindingIndex=n.bindingRootIndex=e,Zl(t)}function Zl(e){R.lFrame.currentDirectiveIndex=e}function Jl(){return R.lFrame.currentQueryIndex}function ss(e){R.lFrame.currentQueryIndex=e}function Ib(e){const t=e[w];return 2===t.type?t.declTNode:1===t.type?e[Oe]:null}function ep(e,t,n){if(n&$.SkipSelf){let o=t,i=e;for(;!(o=o.parent,null!==o||n&$.Host||(o=Ib(i),null===o||(i=i[fr],10&o.type))););if(null===o)return!1;t=o,e=i}const r=R.lFrame=tp();return r.currentTNode=t,r.lView=e,!0}function Kl(e){const t=tp(),n=e[w];R.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function tp(){const e=R.lFrame,t=null===e?null:e.child;return null===t?np(e):t}function np(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function rp(){const e=R.lFrame;return R.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const op=rp;function ec(){const e=rp();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Le(){return R.lFrame.selectedIndex}function kn(e){R.lFrame.selectedIndex=e}function ne(){const e=R.lFrame;return Oo(e.tView,e.selectedIndex)}let lp=!0;function as(){return lp}function fn(e){lp=e}function xb(){return yr(X(),_())}function yr(e,t){return new jt(He(e,t))}let oc,jt=(()=>{class e{constructor(n){this.nativeElement=n}static#e=this.__NG_ELEMENT_ID__=xb}return e})();function cp(e){return e instanceof jt?e.nativeElement:e}function _r(e,t){e.forEach(n=>Array.isArray(n)?_r(n,t):t(n))}function up(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function ls(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function it(e,t,n){let r=vr(e,t);return r>=0?e[1|r]=n:(r=~r,function dp(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(1===o)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function nc(e,t){const n=vr(e,t);if(n>=0)return e[1|n]}function vr(e,t){return function fp(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){const i=r+(o-r>>1),s=e[i<t?o=i:r=i+1}return~(o<Fb}),Fb="ng",yp=new M(""),pn=new M("",{providedIn:"platform",factory:()=>"unknown"}),jb=new M(""),_p=new M("",{providedIn:"root",factory:()=>hn().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),Hb=Z({__forward_ref__:Z});function sc(e){return e.__forward_ref__=sc,e.toString=function(){return Ce(this())},e}function A(e){return function ms(e){return"function"==typeof e&&e.hasOwnProperty(Hb)&&e.__forward_ref__===sc}(e)?e():e}function dc(e){return e&&!!e.\u0275providers}function k(e){return"string"==typeof e?e:null==e?"":String(e)}function fc(e,t){throw new C(-201,!1)}let hc;function Xe(e){const t=hc;return hc=e,t}function Dp(e,t,n){const r=fs(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&$.Optional?null:void 0!==t?t:void fc()}const ko={},pc="__NG_DI_FLAG__",ys="ngTempTokenPath",Yb=/\n/gm,Cp="__source";let wr;function gn(e){const t=wr;return wr=e,t}function Zb(e,t=$.Default){if(void 0===wr)throw new C(-203,!1);return null===wr?Dp(e,void 0,t):wr.get(e,t&$.Optional?null:void 0,t)}function D(e,t=$.Default){return(function wp(){return hc}()||Zb)(A(e),t)}function T(e,t=$.Default){return D(e,_s(t))}function _s(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function gc(e){const t=[];for(let n=0;nnull;function Ec(e,t,n=!1){return bp(e,t,n)}function Fn(e,t){return e.hasOwnProperty(Zt)?e[Zt]:null}const Tr=new M(""),xp=new M("",-1),xc=new M("");class bs{get(t,n=ko){if(n===ko){const r=new Error(`NullInjectorError: No provider for ${Ce(t)}!`);throw r.name="NullInjectorError",r}return n}}function dM(...e){return{\u0275providers:Ac(0,e),\u0275fromNgModule:!0}}function Ac(e,...t){const n=[],r=new Set;let o;const i=s=>{n.push(s)};return _r(t,s=>{const a=s;Is(a,i,[],r)&&(o||=[],o.push(a))}),void 0!==o&&Ap(o,i),n}function Ap(e,t){for(let n=0;n{t(i,r)})}}function Is(e,t,n,r){if(!(e=A(e)))return!1;let o=null,i=hs(e);const s=!i&&V(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const l=e.ngModule;if(i=hs(l),!i)return!1;o=l}const a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const c of l)Is(c,t,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!a){let c;r.add(o);try{_r(i.imports,u=>{Is(u,t,n,r)&&(c||=[],c.push(u))})}finally{}void 0!==c&&Ap(c,t)}if(!a){const c=Fn(o)||(()=>new o);t({provide:o,useFactory:c,deps:U},o),t({provide:xc,useValue:o,multi:!0},o),t({provide:Tr,useValue:()=>D(o),multi:!0},o)}const l=i.providers;if(null!=l&&!a){const c=e;Oc(l,u=>{t(u,c)})}}}return o!==e&&void 0!==e.providers}function Oc(e,t){for(let n of e)dc(n)&&(n=n.\u0275providers),Array.isArray(n)?Oc(n,t):t(n)}const fM=Z({provide:String,useValue:Z});function Rc(e){return null!==e&&"object"==typeof e&&fM in e}function jn(e){return"function"==typeof e}const Pc=new M(""),Ss={},pM={};let Lc;function Ts(){return void 0===Lc&&(Lc=new bs),Lc}class bt{}class Nr extends bt{get destroyed(){return this._destroyed}constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Fc(t,s=>this.processProvider(s)),this.records.set(xp,xr(void 0,this)),o.has("environment")&&this.records.set(bt,xr(void 0,this));const i=this.records.get(Pc);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(xc,U,$.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const n of this._ngOnDestroyHooks)n.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const n of t)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=gn(this),r=Xe(void 0);try{return t()}finally{gn(n),Xe(r)}}get(t,n=ko,r=$.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Mh))return t[Mh](this);r=_s(r);const i=gn(this),s=Xe(void 0);try{if(!(r&$.SkipSelf)){let l=this.records.get(t);if(void 0===l){const c=function vM(e){return"function"==typeof e||"object"==typeof e&&e instanceof M}(t)&&fs(t);l=c&&this.injectableDefInScope(c)?xr(kc(t),Ss):null,this.records.set(t,l)}if(null!=l)return this.hydrate(t,l)}return(r&$.Self?Ts():this.parent).get(t,n=r&$.Optional&&n===ko?null:n)}catch(a){if("NullInjectorError"===a.name){if((a[ys]=a[ys]||[]).unshift(Ce(t)),i)throw a;return function Jb(e,t,n,r){const o=e[ys];throw t[Cp]&&o.unshift(t[Cp]),e.message=function Kb(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=Ce(t);if(Array.isArray(t))o=t.map(Ce).join(" -> ");else if("object"==typeof t){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+("string"==typeof a?JSON.stringify(a):Ce(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(Yb,"\n ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[ys]=null,e}(a,t,"R3InjectorError",this.source)}throw a}finally{Xe(s),gn(i)}}resolveInjectorInitializers(){const t=gn(this),n=Xe(void 0);try{const o=this.get(Tr,U,$.Self);for(const i of o)i()}finally{gn(t),Xe(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(Ce(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new C(205,!1)}processProvider(t){let n=jn(t=A(t))?t:A(t&&t.provide);const r=function mM(e){return Rc(e)?xr(void 0,e.useValue):xr(Pp(e),Ss)}(t);if(!jn(t)&&!0===t.multi){let o=this.records.get(n);o||(o=xr(void 0,Ss,!0),o.factory=()=>gc(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===Ss&&(n.value=pM,n.value=n.factory()),"object"==typeof n.value&&n.value&&function _M(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=A(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function kc(e){const t=fs(e),n=null!==t?t.factory:Fn(e);if(null!==n)return n;if(e instanceof M)throw new C(204,!1);if(e instanceof Function)return function gM(e){if(e.length>0)throw new C(204,!1);const n=function Lb(e){return e&&(e[ps]||e[mp])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new C(204,!1)}function Pp(e,t,n){let r;if(jn(e)){const o=A(e);return Fn(o)||kc(o)}if(Rc(e))r=()=>A(e.useValue);else if(function Rp(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...gc(e.deps||[]));else if(function Op(e){return!(!e||!e.useExisting)}(e))r=()=>D(A(e.useExisting));else{const o=A(e&&(e.useClass||e.provide));if(!function yM(e){return!!e.deps}(e))return Fn(o)||kc(o);r=()=>new o(...gc(e.deps))}return r}function xr(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Fc(e,t){for(const n of e)Array.isArray(n)?Fc(n,t):n&&dc(n)?Fc(n.\u0275providers,t):t(n)}class kp{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Fp(e,t,n,r){null!==t?t.applyValueToInputSignal(t,r):e[n]=r}function jp(e){return e.type.prototype.ngOnChanges&&(e.setInput=AM),xM}function xM(){const e=Bp(this),t=e?.current;if(t){const n=e.previous;if(n===Pt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function AM(e,t,n,r,o){const i=this.declaredInputs[r],s=Bp(e)||function OM(e,t){return e[Vp]=t}(e,{previous:Pt,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[i];a[i]=new kp(c&&c.currentValue,n,l===Pt),Fp(e,t,o,n)}const Vp="__ngSimpleChanges__";function Bp(e){return e[Vp]||null}const Vt=function(e,t,n){};function Os(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[l]<0&&(e[hr]+=65536),(a>14>16&&(3&e[I])===t&&(e[I]+=16384,$p(a,i)):$p(a,i)}const Or=-1;class $o{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function $c(e){return e!==Or}function zo(e){return 32767&e}function Uo(e,t){let n=function BM(e){return e>>16}(e),r=t;for(;n>0;)r=r[fr],n--;return r}let zc=!0;function Ls(e){const t=zc;return zc=e,t}const zp=255,Up=5;let HM=0;const Bt={};function ks(e,t){const n=Gp(e,t);if(-1!==n)return n;const r=t[w];r.firstCreatePass&&(e.injectorIndex=t.length,Uc(r.data,e),Uc(t,null),Uc(r.blueprint,null));const o=Fs(e,t),i=e.injectorIndex;if($c(o)){const s=zo(o),a=Uo(o,t),l=a[w].data;for(let c=0;c<8;c++)t[i+c]=a[s+c]|l[s+c]}return t[i+8]=o,i}function Uc(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Gp(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Fs(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;null!==o;){if(r=Jp(o),null===r)return Or;if(n++,o=o[fr],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return Or}function Gc(e,t,n){!function $M(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Mo)&&(r=n[Mo]),null==r&&(r=n[Mo]=HM++);const o=r&zp;t.data[e+(o>>Up)]|=1<=0?t&zp:WM:t}(n);if("function"==typeof i){if(!ep(t,e,r))return r&$.Host?Wp(o,0,r):Yp(t,n,r,o);try{let s;if(s=i(r),null!=s||r&$.Optional)return s;fc()}finally{op()}}else if("number"==typeof i){let s=null,a=Gp(e,t),l=Or,c=r&$.Host?t[ce][Oe]:null;for((-1===a||r&$.SkipSelf)&&(l=-1===a?Fs(e,t):t[a+8],l!==Or&&Xp(r,!1)?(s=t[w],a=zo(l),t=Uo(l,t)):a=-1);-1!==a;){const u=t[w];if(Zp(i,a,u.data)){const d=UM(a,t,n,s,r,c);if(d!==Bt)return d}l=t[a+8],l!==Or&&Xp(r,t[w].data[a+8]===c)&&Zp(i,a,t)?(s=u,a=zo(l),t=Uo(l,t)):a=-1}}return o}function UM(e,t,n,r,o,i){const s=t[w],a=s.data[e+8],u=js(a,s,n,null==r?Pn(a)&&zc:r!=s&&0!=(3&a.type),o&$.Host&&i===a);return null!==u?Vn(t,s,u,a):Bt}function js(e,t,n,r,o){const i=e.providerIndexes,s=t.data,a=1048575&i,l=e.directiveStart,u=i>>20,f=o?a+u:e.directiveEnd;for(let h=r?a:a+u;h=l&&p.type===n)return h}if(o){const h=s[l];if(h&&Ct(h)&&h.type===n)return l}return null}function Vn(e,t,n,r){let o=e[n];const i=t.data;if(function kM(e){return e instanceof $o}(o)){const s=o;s.resolving&&function Ub(e,t){throw t&&t.join(" > "),new C(-200,e)}(function W(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():k(e)}(i[n]));const a=Ls(s.canSeeViewProviders);s.resolving=!0;const c=s.injectImpl?Xe(s.injectImpl):null;ep(e,r,$.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function PM(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const s=jp(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}(n,i[n],t)}finally{null!==c&&Xe(c),Ls(a),s.resolving=!1,op()}}return o}function Zp(e,t,n){return!!(n[t+(e>>Up)]&1<{class e{static#e=this.THROW_IF_NOT_FOUND=ko;static#t=this.NULL=new bs;static create(n,r){if(Array.isArray(n))return rg({name:""},r,n,"");{const o=n.name??"";return rg({name:o},n.parent,n.providers,o)}}static#n=this.\u0275prov=b({token:e,providedIn:"any",factory:()=>D(xp)});static#r=this.__NG_ELEMENT_ID__=-1}return e})();function Qc(e){return e.ngOriginalError}class tn{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Qc(t);for(;n&&Qc(n);)n=Qc(n);return n||null}}const sg=new M("",{providedIn:"root",factory:()=>T(tn).handleError.bind(void 0)}),lg=new M("",{providedIn:"root",factory:()=>!1});let Hs;function Lr(e){return function Zc(){if(void 0===Hs&&(Hs=null,Q.trustedTypes))try{Hs=Q.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Hs}()?.createHTML(e)||e}class fg{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Dh})`}}function mn(e){return e instanceof fg?e.changingThisBreaksApplicationSecurity:e}class uI{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const n=(new window.DOMParser).parseFromString(Lr(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class dI{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=Lr(t),n}}const hI=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Jc(e){return(e=String(e)).match(hI)?e:"unsafe:"+e}function nn(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function Wo(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const pg=nn("area,br,col,hr,img,wbr"),gg=nn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),mg=nn("rp,rt"),Kc=Wo(pg,Wo(gg,nn("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Wo(mg,nn("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Wo(mg,gg)),eu=nn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),yg=Wo(eu,nn("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),nn("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"));var kr=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(kr||{});function Us(e){const t=function Yo(){const e=_();return e&&e[Xt].sanitizer}();return t?t.sanitize(kr.URL,e)||"":function Go(e,t){const n=function cI(e){return e instanceof fg&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Dh})`)}return n===t}(e,"URL")?mn(e):Jc(k(e))}const SI=/^>|^->||--!>|)/g,NI="\u200b$1\u200b";const nu=new Map;let PI=0;const ou="__ngContext__";function Fe(e,t){Re(t)?(e[ou]=t[No],function kI(e){nu.set(e[No],e)}(t)):e[ou]=t}var _n=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(_n||{});let lu;function cu(e,t){return lu(e,t)}function jr(e,t,n,r,o){if(null!=r){let i,s=!1;Pe(r)?i=r:Re(r)&&(s=!0,r=r[le]);const a=K(r);0===e&&null!==n?null==o?jg(t,n,a):Bn(t,n,a,o||null,!0):1===e&&null!==n?Bn(t,n,a,o||null,!0):2===e?Js(t,a,s):3===e&&t.destroyNode(a),null!=i&&function l0(e,t,n,r,o){const i=n[Lt];i!==K(n)&&jr(t,e,r,i,o);for(let a=fe;at.replace(TI,NI))}(t))}function qs(e,t,n){return e.createElement(t,n)}function Lg(e,t){Ks(e,t,t[P],2,null,null)}function kg(e,t){const n=e[pr],r=n.indexOf(t);n.splice(r,1)}function Qo(e,t){if(e.length<=fe)return;const n=fe+t,r=e[n];if(r){const o=r[To];null!==o&&o!==e&&kg(o,r),t>0&&(e[n-1][wt]=r[wt]);const i=ls(e,fe+t);!function XI(e,t){Lg(e,t),t[le]=null,t[Oe]=null}(r[w],r);const s=i[Jt];null!==s&&s.detachView(i[w]),r[de]=null,r[wt]=null,r[I]&=-129}return r}function Qs(e,t){if(!(256&t[I])){const n=t[P];n.destroyNode&&Ks(e,t,n,3,null,null),function KI(e){let t=e[So];if(!t)return du(e[w],e);for(;t;){let n=null;if(Re(t))n=t[So];else{const r=t[fe];r&&(n=r)}if(!n){for(;t&&!t[wt]&&t!==e;)Re(t)&&du(t[w],t),t=t[de];null===t&&(t=e),Re(t)&&du(t[w],t),n=t&&t[wt]}t=n}}(t)}}function du(e,t){if(!(256&t[I])){t[I]&=-129,t[I]|=256,t[Rn]&&function sh(e){if(cr(e),Do(e))for(let t=0;t=0?r[s]():r[-s].unsubscribe(),i+=2}else n[i].call(r[n[i+1]]);null!==r&&(t[dr]=null);const o=t[dn];if(null!==o){t[dn]=null;for(let i=0;i-1){const{encapsulation:i}=e.data[r.directiveStart+o];if(i===yt.None||i===yt.Emulated)return null}return He(r,n)}}function Bn(e,t,n,r,o){e.insertBefore(t,n,r,o)}function jg(e,t,n){e.appendChild(t,n)}function Vg(e,t,n,r,o){null!==r?Bn(e,t,n,r,o):jg(e,t,n)}function Zs(e,t){return e.parentNode(t)}function Bg(e,t,n){return $g(e,t,n)}function Hg(e,t,n){return 40&e.type?He(e,n):null}let hu,$g=Hg;function zg(e,t){$g=e,hu=t}function Xs(e,t,n,r){const o=fu(e,r,t),i=t[P],a=Bg(r.parent||t[Oe],r,t);if(null!=o)if(Array.isArray(n))for(let l=0;lL&&Qg(e,t,L,!1),Vt(s?2:0,o),n(r,o)}finally{kn(i),Vt(s?3:1,o)}}function yu(e,t,n){if(Fl(t)){const r=ue(null);try{const i=t.directiveEnd;for(let s=t.directiveStart;snull;function em(e,t,n,r,o){for(let i in t){if(!t.hasOwnProperty(i))continue;const s=t[i];if(void 0===s)continue;r??={};let a,l=dt.None;Array.isArray(s)?(a=s[0],l=s[1]):a=s;let c=i;if(null!==o){if(!o.hasOwnProperty(i))continue;c=o[i]}0===e?tm(r,n,c,a,l):tm(r,n,c,a)}return r}function tm(e,t,n,r,o){let i;e.hasOwnProperty(n)?(i=e[n]).push(t,r):i=e[n]=[t,r],void 0!==o&&i.push(o)}function Ke(e,t,n,r,o,i,s,a){const l=He(t,n);let u,c=t.inputs;!a&&null!=c&&(u=c[r])?(Mu(e,n,u,r,o),Pn(t)&&function C0(e,t){const n=ot(t,e);16&n[I]||(n[I]|=64)}(n,t.index)):3&t.type&&(r=function D0(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),o=null!=s?s(o,t.value||"",r):o,i.setProperty(l,r,o))}function Du(e,t,n,r){if(Qh()){const o=null===r?null:{"":-1},i=function T0(e,t){const n=e.directiveRegistry;let r=null,o=null;if(n)for(let i=0;i0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(s)!=a&&s.push(a),s.push(n,r,i)}}(e,t,r,Xo(e,n,o.hostVars,F),o)}function Eu(e,t,n,r,o,i,s){if(null==i)e.removeAttribute(t,o,n);else{const a=null==s?k(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function P0(e,t,n,r,o,i){const s=i[t];if(null!==s)for(let a=0;a0&&(n[o-1][wt]=t),r!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{},consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{Ro(e.lView)},consumerOnSignalRead(){this.lView[Rn]=this}};function fm(e){return pm(e[So])}function hm(e){return pm(e[wt])}function pm(e){for(;null!==e&&!Pe(e);)e=e[wt];return e}function ra(e,t=!0,n=0){const r=e[Xt],o=r.rendererFactory;o.begin?.();try{!function G0(e,t){Tu(e,t);let n=0;for(;zl(e);){if(100===n)throw new C(103,!1);n++,Tu(e,1)}}(e,n)}catch(s){throw t&&na(e,s),s}finally{o.end?.(),r.inlineEffectRunner?.flush()}}function W0(e,t,n,r){const o=t[I];if(256==(256&o))return;t[Xt].inlineEffectRunner?.flush(),Kl(t);let s=null,a=null;(function Y0(e){return 2!==e.type})(e)&&(a=function V0(e){return e[Rn]??function B0(e){const t=dm.pop()??Object.create($0);return t.lView=e,t}(e)}(t),s=function oh(e){return e&&(e.nextProducerIndex=0),ue(e)}(a));try{Wh(t),function Jh(e){return R.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&Xg(e,t,n,2,r);const l=3==(3&o);if(l){const d=e.preOrderCheckHooks;null!==d&&Rs(t,d,null)}else{const d=e.preOrderHooks;null!==d&&Ps(t,d,0,null),Bc(t,0)}if(function q0(e){for(let t=fm(e);null!==t;t=hm(t)){if(!(t[I]&kl.HasTransplantedViews))continue;const n=t[pr];for(let r=0;re.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}(a,s),function H0(e){e.lView[Rn]!==e&&(e.lView=null,dm.push(e))}(a)),ec()}}function mm(e,t){for(let n=fm(e);null!==n;n=hm(n))for(let r=fe;r-1&&(Qo(t,r),ls(n,r))}this._attachedToViewContainer=!1}Qs(this._lView[w],this._lView)}onDestroy(t){!function is(e,t){if(256==(256&e[I]))throw new C(911,!1);null===e[dn]&&(e[dn]=[]),e[dn].push(t)}(this._lView,t)}markForCheck(){ti(this._cdRefInjectingView||this._lView)}detach(){this._lView[I]&=-129}reattach(){Ul(this._lView),this._lView[I]|=128}detectChanges(){this._lView[I]|=1024,ra(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new C(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,Lg(this._lView[w],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new C(902,!1);this._appRef=t,Ul(this._lView)}}let on=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=J0}return e})();const Z0=on,X0=class extends Z0{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){const o=function Jo(e,t,n,r){const o=t.tView,a=ea(e,o,n,4096&e[I]?4096:16,null,t,null,null,null,r?.injector??null,r?.dehydratedView??null);a[To]=e[t.index];const c=e[Jt];return null!==c&&(a[Jt]=c.createEmbeddedView(o)),Iu(o,a,n),a}(this._declarationLView,this._declarationTContainer,t,{injector:n,dehydratedView:r});return new ni(o)}};function J0(){return oa(X(),_())}function oa(e,t){return 4&e.type?new X0(t,e,yr(e,t)):null}class Mm{}class wS{}class Im{}class CS{resolveComponentFactory(t){throw function DS(e){const t=Error(`No component factory found for ${Ce(e)}.`);return t.ngComponent=e,t}(t)}}let Hn=(()=>{class e{static#e=this.NULL=new CS}return e})();class Tm{}let Pu=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function ES(){const e=_(),n=ot(X().index,e);return(Re(n)?n:e)[P]}()}return e})(),bS=(()=>{class e{static#e=this.\u0275prov=b({token:e,providedIn:"root",factory:()=>null})}return e})();const Lu={};function Om(e){const t=ue(null);try{return e()}finally{ue(t)}}let ju=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=kS}return e})();function kS(e){return function FS(e,t,n){if(Pn(e)&&!n){const r=ot(e.index,t);return new ni(r,r)}return 47&e.type?new ni(t[ce],t):null}(X(),_(),16==(16&e))}function Vm(...e){}class G{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ut(!1),this.onMicrotaskEmpty=new ut(!1),this.onStable=new ut(!1),this.onError=new ut(!1),typeof Zone>"u")throw new C(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function YS(){const e="function"==typeof Q.requestAnimationFrame;let t=Q[e?"requestAnimationFrame":"setTimeout"],n=Q[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);const o=n[Zone.__symbol__("OriginalDelegate")];o&&(n=o)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function ZS(e){const t=()=>{!function QS(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Q,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Bu(e),e.isCheckStableRunning=!0,Vu(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Bu(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{if(function XS(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(a))return n.invokeTask(o,i,s,a);try{return Bm(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),Hm(e)}},onInvoke:(n,r,o,i,s,a,l)=>{try{return Bm(e),n.invoke(o,i,s,a,l)}finally{e.shouldCoalesceRunChangeDetection&&t(),Hm(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,Bu(e),Vu(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!G.isInAngularZone())throw new C(909,!1)}static assertNotInAngularZone(){if(G.isInAngularZone())throw new C(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){const i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,qS,Vm,Vm);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const qS={};function Vu(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Bu(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Bm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Hm(e){e._nesting--,Vu(e)}class $m{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ut,this.onMicrotaskEmpty=new ut,this.onStable=new ut,this.onError=new ut}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}}let ai=(()=>{class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){const n=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const r of n)r()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=b({token:e,providedIn:"root",factory:()=>new e})}return e})();function ha(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(null!==t)for(let s=0;s0&&Yg(e,n,i.join(" "))}}(f,N,p,r),void 0!==n&&function dT(e,t,n){const r=e.projection=[];for(let o=0;o{class e{static#e=this.__NG_ELEMENT_ID__=hT}return e})();function hT(){return Jm(X(),_())}const pT=Mt,Zm=class extends pT{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return yr(this._hostTNode,this._hostLView)}get injector(){return new Me(this._hostTNode,this._hostLView)}get parentInjector(){const t=Fs(this._hostTNode,this._hostLView);if($c(t)){const n=Uo(t,this._hostLView),r=zo(t);return new Me(n[w].data[r+8],n)}return new Me(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Xm(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-fe}createEmbeddedView(t,n,r){let o,i;"number"==typeof r?o=r:null!=r&&(o=r.index,i=r.injector);const a=t.createEmbeddedViewImpl(n||{},i,null);return this.insertImpl(a,o,Br(this._hostTNode,null)),a}createComponent(t,n,r,o,i){const s=t&&!function Ho(e){return"function"==typeof e}(t);let a;if(s)a=n;else{const p=n||{};a=p.index,r=p.injector,o=p.projectableNodes,i=p.environmentInjector||p.ngModuleRef}const l=s?t:new ui(V(t)),c=r||this.parentInjector;if(!i&&null==l.ngModule){const g=(s?c:this.parentInjector).get(bt,null);g&&(i=g)}V(l.componentType??{});const h=l.create(c,o,null,i);return this.insertImpl(h.hostView,a,Br(this._hostTNode,null)),h}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){const o=t._lView;if(function fb(e){return Pe(e[de])}(o)){const a=this.indexOf(t);if(-1!==a)this.detach(a);else{const l=o[de],c=new Zm(l,l[Oe],l[de]);c.detach(c.indexOf(t))}}const i=this._adjustIndex(n),s=this._lContainer;return Ko(s,o,i,r),t.attachToViewContainerRef(),up(Uu(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=Xm(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=Qo(this._lContainer,n);r&&(ls(Uu(this._lContainer),n),Qs(r[w],r))}detach(t){const n=this._adjustIndex(t,-1),r=Qo(this._lContainer,n);return r&&null!=ls(Uu(this._lContainer),n)?new ni(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Xm(e){return e[8]}function Uu(e){return e[8]||(e[8]=[])}function Jm(e,t){let n;const r=t[e.index];return Pe(r)?n=r:(n=om(r,t,null,e),t[e.index]=n,ta(t,n)),Km(n,t,e,r),new Zm(n,e,t)}let Km=function ty(e,t,n,r){if(e[Lt])return;let o;o=8&n.type?K(r):function gT(e,t){const n=e[P],r=n.createComment(""),o=He(t,e);return Bn(n,Zs(n,o),r,function s0(e,t){return e.nextSibling(t)}(n,o),!1),r}(t,n),e[Lt]=o},Gu=()=>!1;class Wu{constructor(t){this.queryList=t,this.matches=null}clone(){return new Wu(this.queryList)}setDirty(){this.queryList.setDirty()}}class Yu{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,o=[];for(let i=0;it.trim())}(t):t}}class qu{constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r0)r.push(s[a/2]);else{const c=i[a+1],u=t[-l];for(let d=fe;d=0;r--){const o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=Io(o.hostAttrs,n=Io(n,o.hostAttrs))}}(r)}function PT(e,t){for(const n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;const r=t.inputs[n];if(void 0!==r&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n],null!==t.inputTransforms)){const o=Array.isArray(r)?r[0]:r;if(!t.inputTransforms.hasOwnProperty(o))continue;e.inputTransforms??={},e.inputTransforms[o]=t.inputTransforms[o]}}}function ga(e){return e===Pt?{}:e===U?[]:e}function kT(e,t){const n=e.viewQuery;e.viewQuery=n?(r,o)=>{t(r,o),n(r,o)}:t}function FT(e,t){const n=e.contentQueries;e.contentQueries=n?(r,o,i)=>{t(r,o,i),n(r,o,i)}:t}function jT(e,t){const n=e.hostBindings;e.hostBindings=n?(r,o)=>{t(r,o),n(r,o)}:t}class Un{}class GT{}class td extends Un{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new qm(this);const o=function Ae(e,t){const n=e[bh]||null;if(!n&&!0===t)throw new Error(`Type ${Ce(e)} does not have '\u0275mod' property.`);return n}(t);this._bootstrapComponents=function st(e){return e instanceof Function?e():e}(o.bootstrap),this._r3Injector=og(t,n,[{provide:Un,useValue:this},{provide:Hn,useValue:this.componentFactoryResolver},...r],Ce(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class nd extends GT{constructor(t){super(),this.moduleType=t}create(t){return new td(this.moduleType,t,[])}}let zr=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new wh(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function zt(e,t,n){return e[t]=n}function he(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Gn(e,t,n,r){const o=he(e,t,n);return he(e,t+1,r)||o}function It(e,t,n,r,o,i,s,a){const l=_(),c=H(),u=e+L,d=c.firstCreatePass?function ZT(e,t,n,r,o,i,s,a,l){const c=t.consts,u=Vr(t,e,4,s||null,kt(c,a));Du(t,n,u,kt(c,l)),Os(t,u);const d=u.tView=wu(2,u,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,c,null);return null!==t.queries&&(t.queries.template(t,u),d.queries=t.queries.embeddedTView(u)),u}(u,c,l,t,n,r,o,i,s):c.data[u];Ft(d,!1);const f=My(c,l,d,e);as()&&Xs(c,l,f,d),Fe(f,l);const h=om(f,l,f,d);return l[u]=h,ta(l,h),function ey(e,t,n){return Gu(e,t,n)}(h,d,l),os(d)&&_u(c,l,d),null!=s&&vu(l,d,a),It}let My=function Iy(e,t,n,r){return fn(!0),t[P].createComment("")};function Ea(e,t){return e<<17|t<<2}function Dn(e){return e>>17&32767}function fd(e){return 2|e}function Yn(e){return(131068&e)>>2}function hd(e,t){return-131069&e|t<<2}function pd(e){return 1|e}function o_(e,t,n,r){const o=e[n+1],i=null===t;let s=r?Dn(o):Yn(o),a=!1;for(;0!==s&&(!1===a||i);){const c=e[s+1];PN(e[s],t)&&(a=!0,e[s+1]=r?pd(c):fd(c)),s=r?Dn(c):Yn(c)}a&&(e[n+1]=r?fd(o):pd(o))}function PN(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&vr(e,t)>=0}const Ie={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function i_(e){return e.substring(Ie.key,Ie.keyEnd)}function s_(e,t){const n=Ie.textEnd;return n===t?-1:(t=Ie.keyEnd=function jN(e,t,n){for(;t32;)t++;return t}(e,Ie.key=t,n),io(e,t,n))}function io(e,t,n){for(;t=0;n=s_(t,n))it(e,i_(t),!0)}function h_(e,t){return t>=e.expandoStartIndex}function p_(e,t,n,r){const o=e.data;if(null===o[n+1]){const i=o[Le()],s=h_(e,n);__(i,r)&&null===t&&!s&&(t=!1),t=function $N(e,t,n,r){const o=function Xl(e){const t=R.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let i=r?t.residualClasses:t.residualStyles;if(null===o)0===(r?t.classBindings:t.styleBindings)&&(n=mi(n=yd(null,e,t,n,r),t.attrs,r),i=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==o)if(n=yd(o,e,t,n,r),null===i){let l=function zN(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==Yn(r))return e[Dn(r)]}(e,t,r);void 0!==l&&Array.isArray(l)&&(l=yd(null,e,t,l[1],r),l=mi(l,t.attrs,r),function UN(e,t,n,r){e[Dn(n?t.classBindings:t.styleBindings)]=r}(e,t,r,l))}else i=function GN(e,t,n){let r;const o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0)&&(c=!0)):u=n,o)if(0!==l){const f=Dn(e[a+1]);e[r+1]=Ea(f,a),0!==f&&(e[f+1]=hd(e[f+1],r)),e[a+1]=function xN(e,t){return 131071&e|t<<17}(e[a+1],r)}else e[r+1]=Ea(a,0),0!==a&&(e[a+1]=hd(e[a+1],r)),a=r;else e[r+1]=Ea(l,0),0===a?a=r:e[l+1]=hd(e[l+1],r),l=r;c&&(e[r+1]=fd(e[r+1])),o_(e,u,r,!0),o_(e,u,r,!1),function RN(e,t,n,r,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&vr(i,t)>=0&&(n[r+1]=pd(n[r+1]))}(t,u,e,r,i),s=Ea(a,l),i?t.classBindings=s:t.styleBindings=s}(o,i,t,n,s,r)}}function yd(e,t,n,r,o){let i=null;const s=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a0;){const l=e[o],c=Array.isArray(l),u=c?l[1]:l,d=null===u;let f=n[o+1];f===F&&(f=d?U:void 0);let h=d?nc(f,r):u===r?f:void 0;if(c&&!ba(h)&&(h=nc(l,r)),ba(h)&&(a=h,s))return a;const p=e[o+1];o=s?Dn(p):Yn(p)}if(null!==t){let l=i?t.residualClasses:t.residualStyles;null!=l&&(a=nc(l,r))}return a}function ba(e){return void 0!==e}function __(e,t){return 0!=(e.flags&(t?8:16))}function B(e,t,n,r){const o=_(),i=H(),s=L+e,a=o[P],l=i.firstCreatePass?function _x(e,t,n,r,o,i){const s=t.consts,l=Vr(t,e,2,r,kt(s,o));return Du(t,n,l,kt(s,i)),null!==l.attrs&&ha(l,l.attrs,!1),null!==l.mergedAttrs&&ha(l,l.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,l),l}(s,i,o,t,n,r):i.data[s],c=C_(i,o,l,a,t,e);o[s]=c;const u=os(l);return Ft(l,!0),qg(a,c,l),32!=(32&l.flags)&&as()&&Xs(i,o,c,l),0===function pb(){return R.lFrame.elementDepthCount}()&&Fe(c,o),function gb(){R.lFrame.elementDepthCount++}(),u&&(_u(i,o,l),yu(i,l,o)),null!==r&&vu(o,l),B}function z(){let e=X();ql()?Ql():(e=e.parent,Ft(e,!1));const t=e;(function yb(e){return R.skipHydrationRootTNode===e})(t)&&function Db(){R.skipHydrationRootTNode=null}(),function mb(){R.lFrame.elementDepthCount--}();const n=H();return n.firstCreatePass&&(Os(n,e),Fl(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function jM(e){return 0!=(8&e.flags)}(t)&&gd(n,t,_(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function VM(e){return 0!=(16&e.flags)}(t)&&gd(n,t,_(),t.stylesWithoutHost,!1),z}function Wt(e,t,n,r){return B(e,t,n,r),z(),Wt}let C_=(e,t,n,r,o,i)=>(fn(!0),qs(r,o,function ap(){return R.lFrame.currentNamespace}()));function qn(e,t,n){const r=_(),o=H(),i=e+L,s=o.firstCreatePass?function Dx(e,t,n,r,o){const i=t.consts,s=kt(i,r),a=Vr(t,e,8,"ng-container",s);return null!==s&&ha(a,s,!0),Du(t,n,a,kt(i,o)),null!==t.queries&&t.queries.elementStart(t,a),a}(i,o,r,t,n):o.data[i];Ft(s,!0);const a=b_(o,r,s,e);return r[i]=a,as()&&Xs(o,r,a,s),Fe(a,r),os(s)&&(_u(o,r,s),yu(o,s,r)),null!=n&&vu(r,s),qn}function Qn(){let e=X();const t=H();return ql()?Ql():(e=e.parent,Ft(e,!1)),t.firstCreatePass&&(Os(t,e),Fl(e)&&t.queries.elementEnd(e)),Qn}let b_=(e,t,n,r)=>(fn(!0),uu(t[P],""));function Cd(){return _()}function Ed(e,t,n){const r=_();return he(r,Et(),t)&&Ke(H(),ne(),r,e,t,r[P],n,!0),Ed}const Zn=void 0;var Mx=["en",[["a","p"],["AM","PM"],Zn],[["AM","PM"],Zn,Zn],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Zn,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Zn,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Zn,"{1} 'at' {0}",Zn],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function bx(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let so={};function ze(e){const t=function Sx(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=S_(t);if(n)return n;const r=t.split("-")[0];if(n=S_(r),n)return n;if("en"===r)return Mx;throw new C(701,!1)}function S_(e){return e in so||(so[e]=Q.ng&&Q.ng.common&&Q.ng.common.locales&&Q.ng.common.locales[e]),so[e]}var re=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(re||{});const Tx=["zero","one","two","few","many"],ao="en-US",Ma={marker:"element"},Ia={marker:"ICU"};var et=function(e){return e[e.SHIFT=2]="SHIFT",e[e.APPEND_EAGERLY=1]="APPEND_EAGERLY",e[e.COMMENT=2]="COMMENT",e}(et||{});let T_=ao;function x_(e,t,n){const r=t.insertBeforeIndex,o=Array.isArray(r)?r[0]:r;return null===o?Hg(e,0,n):K(n[o])}function A_(e,t,n,r,o){const i=t.insertBeforeIndex;if(Array.isArray(i)){let s=r,a=null;if(3&t.type||(a=s,s=o),null!==s&&-1===t.componentOffset)for(let l=1;l1)for(let n=e.length-2;n>=0;n--){const r=e[n];R_(r)||Ox(r,t)&&null===Rx(r)&&Px(r,t.index)}}function R_(e){return!(64&e.type)}function Ox(e,t){return R_(t)||e.index>t.index}function Rx(e){const t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function Px(e,t){const n=e.insertBeforeIndex;Array.isArray(n)?n[0]=t:(zg(x_,A_),e.insertBeforeIndex=t)}function yi(e,t){const n=e.data[t];return null===n||"string"==typeof n?null:n.hasOwnProperty("currentCaseLViewIndex")?n:n.value}function Fx(e,t,n){const r=mu(e,n,64,null,null);return O_(t,r),r}function Sa(e,t){const n=t[e.currentCaseLViewIndex];return null===n?n:n<0?~n:n}function P_(e){return e>>>17}function L_(e){return(131070&e)>>>1}let _i=0,vi=0;function F_(e,t,n,r){const o=n[P];let s,i=null;for(let a=0;a>>1,n),null,null,h,p,null)}else switch(l){case Ia:const c=t[++a],u=t[++a];null===n[u]&&Fe(n[u]=uu(o,c),n);break;case Ma:const d=t[++a],f=t[++a];null===n[f]&&Fe(n[f]=qs(o,d,null),n)}}}function j_(e,t,n,r,o){for(let i=0;i>>2;switch(3&u){case 1:const f=n[++c],h=n[++c],p=e.data[d];"string"==typeof p?Eu(t[P],t[d],null,p,f,l,h):Ke(e,p,t,f,l,t[P],h,!1);break;case 0:const g=t[d];null!==g&&Pg(t[P],g,l);break;case 2:$x(e,yi(e,d),t,l);break;case 3:V_(e,yi(e,d),r,t)}}}}else{const l=n[i+1];if(l>0&&3==(3&l)){const u=yi(e,l>>>2);t[u.currentCaseLViewIndex]<0&&V_(e,u,r,t)}}i+=a}}function V_(e,t,n,r){let o=r[t.currentCaseLViewIndex];if(null!==o){let i=_i;o<0&&(o=r[t.currentCaseLViewIndex]=~o,i=-1),j_(e,r,t.update[o],n,i)}}function $x(e,t,n,r){const o=function zx(e,t){let n=e.cases.indexOf(t);if(-1===n)switch(e.type){case 1:{const r=function Nx(e,t){const n=function I_(e){return ze(e)[re.PluralCase]}(t)(parseInt(e,10)),r=Tx[n];return void 0!==r?r:"other"}(t,function Ax(){return T_}());n=e.cases.indexOf(r),-1===n&&"other"!==r&&(n=e.cases.indexOf("other"));break}case 0:n=e.cases.indexOf("other")}return-1===n?null:n}(t,r);if(Sa(t,n)!==o&&(B_(e,t,n),n[t.currentCaseLViewIndex]=null===o?null:~o,null!==o)){const s=n[t.anchorIdx];s&&F_(e,t.create[o],n,s)}}function B_(e,t,n){let r=Sa(t,n);if(null!==r){const o=t.remove[r];for(let i=0;i0){const a=Ao(s,n);null!==a&&Js(n[P],a)}else B_(e,yi(e,~s),n)}}}function Ux(){const e=[];let n,r,t=-1;function i(a,l){t=0;const c=Sa(a,l);r=null!==c?a.remove[c]:U}function s(){if(t0?n[a]:(e.push(t,r),i(n[w].data[~a],n),s())}return 0===e.length?null:(r=e.pop(),t=e.pop(),s())}return function o(a,l){for(n=l;e.length;)e.pop();return i(a.value,l),s}}const Ta=/\ufffd(\d+):?\d*\ufffd/gi,Wx=/\ufffd(\d+)\ufffd/,$_=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,wi="\ufffd",Yx=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,qx=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,Qx=/\uE500/g;function z_(e,t,n,r,o,i,s){const a=Xo(e,r,1,null);let l=a<n.length&&n.push(l)}return{type:r,mainBinding:o,cases:t,values:n}}function bd(e){if(!e)return[];let t=0;const n=[],r=[],o=/[{}]/g;let i;for(o.lastIndex=0;i=o.exec(e);){const a=i.index;if("}"==i[0]){if(n.pop(),0==n.length){const l=e.substring(t,a);$_.test(l)?r.push(rA(l)):r.push(l),t=a+1}}else{if(0==n.length){const l=e.substring(t,a);r.push(l),t=a+1}n.push("{")}}const s=e.substring(t);return r.push(s),r}function oA(e,t,n,r,o,i,s,a){const l=[],c=[],u=[];t.cases.push(i),t.create.push(l),t.remove.push(c),t.update.push(u);const f=function hg(e){const t=new dI(e);return function fI(){try{return!!(new window.DOMParser).parseFromString(Lr(""),"text/html")}catch{return!1}}()?new uI(t):t}(hn()).getInertBodyElement(s),h=function tu(e){return"content"in e&&function vI(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}(f)||f;return h?Y_(e,t,n,r,l,c,u,h,o,a,0):0}function Y_(e,t,n,r,o,i,s,a,l,c,u){let d=0,f=a.firstChild;for(;f;){const h=Xo(e,n,1,null);switch(f.nodeType){case Node.ELEMENT_NODE:const p=f,g=p.tagName.toLowerCase();if(Kc.hasOwnProperty(g)){Md(o,Ma,g,l,h),e.data[h]=g;const E=p.attributes;for(let S=0;S>>et.SHIFT;let d=e[u];null===d&&(d=e[u]=(s&et.COMMENT)===et.COMMENT?o.createComment(a):Ys(o,a)),c&&null!==n&&Bn(o,n,d,r,!1)}})(o,l.create,u,a&&8&a.type?o[a.index]:null),Kh(!0)}function _e(e,t,n){Z_(e,t,n),function X_(){Kh(!1)}()}function Cn(e){return function Vx(e){e&&(_i|=1<0){const r=e.data[n];j_(e,t,Array.isArray(r)?r:r.update,function Kt(){return R.lFrame.bindingIndex}()-vi-1,_i)}_i=0,vi=0}(H(),_(),e+L)}function Na(e,t,n,r){const o=_(),i=H(),s=X();return function Id(e,t,n,r,o,i,s){const a=os(r),c=e.firstCreatePass&&am(e),u=t[te],d=sm(t);let f=!0;if(3&r.type||s){const g=He(r,t),m=s?s(g):g,v=d.length,y=s?S=>s(K(S[r.index])):r.index;let E=null;if(!s&&a&&(E=function vA(e,t,n,r){const o=e.cleanup;if(null!=o)for(let i=0;il?a[l]:null}"string"==typeof s&&(i+=2)}return null}(e,t,o,r.index)),null!==E)(E.__ngLastListenerFn__||E).__ngNextListenerFn__=i,E.__ngLastListenerFn__=i,f=!1;else{i=ev(r,t,u,i,!1);const S=n.listen(m,o,i);d.push(i,S),c&&c.push(o,y,v,v+1)}}else i=ev(r,t,u,i,!1);const h=r.outputs;let p;if(f&&null!==h&&(p=h[o])){const g=p.length;if(g)for(let m=0;m-1?ot(e.index,t):t);let l=K_(t,n,r,s),c=i.__ngNextListenerFn__;for(;c;)l=K_(t,n,c,s)&&l,c=c.__ngNextListenerFn__;return o&&!1===l&&s.preventDefault(),l}}function Nt(e=1){return function Sb(e){return(R.lFrame.contextLView=function Yh(e,t){for(;e>0;)t=t[fr],e--;return t}(e,R.lFrame.contextLView))[te]}(e)}function wA(e,t){let n=null;const r=function QE(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(!(1&n))return t[n+1]}return null}(e);for(let o=0;o(fn(!0),Ys(t[P],r));function Ci(e){return Td("",e,""),Ci}function Td(e,t,n){const r=_(),o=function Xr(e,t,n,r){return he(e,Et(),n)?t+k(n)+r:F}(r,e,t,n);return o!==F&&function rn(e,t,n){const r=Ao(t,e);Pg(e[P],r,n)}(r,Le(),o),Td}function Nd(e,t,n,r,o){if(e=A(e),Array.isArray(e))for(let i=0;i>20;if(jn(e)||!e.multi){const h=new $o(c,o,j),p=Ad(l,t,o?u:u+f,d);-1===p?(Gc(ks(a,s),i,l),xd(i,e,t.length),t.push(l),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(h),s.push(h)):(n[p]=h,s[p]=h)}else{const h=Ad(l,t,u+f,d),p=Ad(l,t,u,u+f),m=p>=0&&n[p];if(o&&!m||!o&&!(h>=0&&n[h])){Gc(ks(a,s),i,l);const v=function HA(e,t,n,r,o){const i=new $o(e,n,j);return i.multi=[],i.index=t,i.componentProviders=0,kv(i,o,r&&!n),i}(o?BA:VA,n.length,o,r,c);!o&&m&&(n[p].providerFactory=v),xd(i,e,t.length,0),t.push(l),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(v),s.push(v)}else xd(i,e,h>-1?h:p,kv(n[o?p:h],c,!o&&r));!o&&r&&m&&n[p].componentProviders++}}}function xd(e,t,n,r){const o=jn(t),i=function hM(e){return!!e.useClass}(t);if(o||i){const l=(i?A(t.useClass):t).prototype.ngOnDestroy;if(l){const c=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const u=c.indexOf(n);-1===u?c.push(n,[r,l]):c[u+1].push(r,l)}else c.push(n,l)}}}function kv(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Ad(e,t,n,r){for(let o=n;o{n.providersResolver=(r,o)=>function jA(e,t,n){const r=H();if(r.firstCreatePass){const o=Ct(e);Nd(n,r.data,r.blueprint,o,!0),Nd(t,r.data,r.blueprint,o,!1)}}(r,o?o(e):e,t)}}function lo(e,t,n,r,o,i){return function qv(e,t,n,r,o,i,s,a){const l=t+n;return function ya(e,t,n,r,o){const i=Gn(e,t,n,r);return he(e,t+2,o)||i}(e,l,o,i,s)?zt(e,l+3,a?r.call(a,o,i,s):r(o,i,s)):Ei(e,l+3)}(_(),$e(),e,t,n,r,o,i)}function Ei(e,t){const n=e[t];return n===F?void 0:n}function Yt(e,t){const n=H();let r;const o=e+L;n.firstCreatePass?(r=function lO(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}}(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];const i=r.factory||(r.factory=Fn(r.type)),a=Xe(j);try{const l=Ls(!1),c=i();return Ls(l),function MA(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,_(),o,c),c}finally{Xe(a)}}function Xv(e,t,n){const r=e+L,o=_(),i=gr(o,r);return bi(o,r)?function Wv(e,t,n,r,o,i){const s=t+n;return he(e,s,o)?zt(e,s+1,i?r.call(i,o):r(o)):Ei(e,s+1)}(o,$e(),t,i.transform,n,i):i.transform(n)}function Aa(e,t,n,r){const o=e+L,i=_(),s=gr(i,o);return bi(i,o)?function Yv(e,t,n,r,o,i,s){const a=t+n;return Gn(e,a,o,i)?zt(e,a+2,s?r.call(s,o,i):r(o,i)):Ei(e,a+2)}(i,$e(),t,s.transform,n,r,s):s.transform(n,r)}function co(e,t,n){const r=e+L,o=_(),i=gr(o,r);return bi(o,r)?function Zv(e,t,n,r,o,i){let s=t+n,a=!1;for(let l=0;l{class e{constructor(n,r,o){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,Hd||(function oR(e){Hd=e}(o),o.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{G.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),n()},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:o})}whenStable(n,r,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,o){return[]}static#e=this.\u0275fac=function(r){return new(r||e)(D(G),D(Bd),D(La))};static#t=this.\u0275prov=b({token:e,factory:e.\u0275fac})}return e})(),Bd=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return Hd?.findTestabilityInTree(this,n,r)??null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function $d(e){return!!e&&"function"==typeof e.then}function vw(e){return!!e&&"function"==typeof e.subscribe}const iR=new M("");let zd=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=T(iR,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const o of this.appInits){const i=o();if($d(i))n.push(i);else if(vw(i)){const s=new Promise((a,l)=>{i.subscribe({complete:a,error:l})});n.push(s)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),0===n.length&&r(),this.initialized=!0}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const ww=new M("");function Ew(e,t){return Array.isArray(t)?t.reduce(Ew,e):{...e,...t}}let sn=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=T(sg),this.afterRenderEffectManager=T(ai),this.componentTypes=[],this.components=[],this.isStable=T(zr).hasPendingTasks.pipe(qe(n=>!n)),this._injector=T(bt)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const o=n instanceof Im;if(!this._injector.get(zd).done)throw!o&&function On(e){const t=V(e)||Ee(e)||Te(e);return null!==t&&t.standalone}(n),new C(405,!1);let s;s=o?n:this._injector.get(Hn).resolveComponentFactory(n),this.componentTypes.push(s.componentType);const a=function sR(e){return e.isBoundToModule}(s)?void 0:this._injector.get(Un),c=s.create(ke.NULL,[],r||s.selector,a),u=c.location.nativeElement,d=c.injector.get(_w,null);return d?.registerApplication(u),c.onDestroy(()=>{this.detachView(c.hostView),ka(this.components,c),d?.unregisterApplication(u)}),this._loadComponent(c),c}tick(){if(this._runningTick)throw new C(101,!1);try{this._runningTick=!0,this.detectChangesInAttachedViews()}catch(n){this.internalErrorHandler(n)}finally{this._runningTick=!1}}detectChangesInAttachedViews(){let n=0;const r=this.afterRenderEffectManager;for(;;){if(100===n)throw new C(103,!1);const o=0===n;for(let{_lView:i,notifyErrorHandler:s}of this._views)!o&&!Ud(i)||this.detectChangesInView(i,s,o);if(n++,r.executeInternalCallbacks(),!this._views.some(({_lView:i})=>Ud(i))&&(r.execute(),!this._views.some(({_lView:i})=>Ud(i))))break}}detectChangesInView(n,r,o){let i;o?(i=0,n[I]|=1024):i=64&n[I]?0:1,ra(n,r,i)}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;ka(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(ww,[]);[...this._bootstrapListeners,...r].forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>ka(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new C(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function ka(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function Ud(e){return zl(e)}let dR=(()=>{class e{constructor(){this.zone=T(G),this.applicationRef=T(sn)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function fR(){const e=T(G),t=T(tn);return n=>e.runOutsideAngular(()=>t.handleError(n))}let pR=(()=>{class e{constructor(){this.subscription=new Be,this.initialized=!1,this.zone=T(G),this.pendingTasks=T(zr)}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{G.assertNotInAngularZone(),queueMicrotask(()=>{null!==n&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{G.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const xt=new M("",{providedIn:"root",factory:()=>T(xt,$.Optional|$.SkipSelf)||function gR(){return typeof $localize<"u"&&$localize.locale||ao}()}),mR=new M("",{providedIn:"root",factory:()=>"USD"}),Gd=new M("");let Sw=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const o=function JS(e="zone.js",t){return"noop"===e?new $m:"zone.js"===e?new G(t):e}(r?.ngZone,function Iw(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return o.run(()=>{const i=function YT(e,t,n){return new td(e,t,n)}(n.moduleType,this.injector,function Mw(e){return[{provide:G,useFactory:e},{provide:Tr,multi:!0,useFactory:()=>{const t=T(dR,{optional:!0});return()=>t.initialize()}},{provide:Tr,multi:!0,useFactory:()=>{const t=T(pR);return()=>{t.initialize()}}},{provide:sg,useFactory:fR}]}(()=>o)),s=i.injector.get(tn,null);return o.runOutsideAngular(()=>{const a=o.onError.subscribe({next:l=>{s.handleError(l)}});i.onDestroy(()=>{ka(this._modules,i),a.unsubscribe()})}),function Cw(e,t,n){try{const r=n();return $d(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(s,o,()=>{const a=i.injector.get(zd);return a.runInitializers(),a.donePromise.then(()=>(function N_(e){"string"==typeof e&&(T_=e.toLowerCase().replace(/_/g,"-"))}(i.injector.get(xt,ao)||ao),this._moduleDoBootstrap(i),i))})})}bootstrapModule(n,r=[]){const o=Ew({},r);return function uR(e,t,n){const r=new nd(n);return Promise.resolve(r)}(0,0,n).then(i=>this.bootstrapModuleFactory(i,o))}_moduleDoBootstrap(n){const r=n.injector.get(sn);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new C(-403,!1);n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new C(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(Gd,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(r){return new(r||e)(D(ke))};static#t=this.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),En=null;const Tw=new M("");function Nw(e,t,n=[]){const r=`Platform: ${t}`,o=new M(r);return(i=[])=>{let s=Wd();if(!s||s.injector.get(Tw,!1)){const a=[...n,...i,{provide:o,useValue:!0}];e?e(a):function _R(e){if(En&&!En.get(Tw,!1))throw new C(400,!1);(function Dw(){!function CE(e){ch=e}(()=>{throw new C(600,!1)})})(),En=e;const t=e.get(Sw);(function Aw(e){e.get(yp,null)?.forEach(n=>n())})(e)}(function xw(e=[],t){return ke.create({name:t,providers:[{provide:Pc,useValue:"platform"},{provide:Gd,useValue:new Set([()=>En=null])},...e]})}(a,r))}return function vR(e){const t=Wd();if(!t)throw new C(401,!1);return t}()}}function Wd(){return En?.get(Sw)??null}const bR=Nw(null,"core",[]);let MR=(()=>{class e{constructor(n){}static#e=this.\u0275fac=function(r){return new(r||e)(D(sn))};static#t=this.\u0275mod=vt({type:e});static#n=this.\u0275inj=ft({})}return e})(),nD=null;function po(){return nD}class tP{}const me=new M("");let rD=(()=>{class e{historyGo(n){throw new Error("")}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=b({token:e,factory:()=>T(nP),providedIn:"platform"})}return e})(),nP=(()=>{class e extends rD{constructor(){super(),this._doc=T(me),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return po().getBaseHref(this._doc)}onPopState(n){const r=po().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){const r=po().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,r,o){this._history.pushState(n,r,o)}replaceState(n,r,o){this._history.replaceState(n,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=b({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function oD(e,t){if(0==e.length)return t;if(0==t.length)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t}function iD(e){const t=e.match(/#|\?|$/),n=t&&t.index||e.length;return e.slice(0,n-("/"===e[n-1]?1:0))+e.slice(n)}function er(e){return e&&"?"!==e[0]?"?"+e:e}let Kd=(()=>{class e{historyGo(n){throw new Error("")}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=b({token:e,factory:()=>T(oP),providedIn:"root"})}return e})();const rP=new M("");let oP=(()=>{class e extends Kd{constructor(n,r){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??T(me).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return oD(this._baseHref,n)}path(n=!1){const r=this._platformLocation.pathname+er(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){const s=this.prepareExternalUrl(o+er(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){const s=this.prepareExternalUrl(o+er(i));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static#e=this.\u0275fac=function(r){return new(r||e)(D(rD),D(rP,8))};static#t=this.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),sD=(()=>{class e{constructor(n){this._subject=new ut,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;const r=this._locationStrategy.getBaseHref();this._basePath=function aP(e){if(new RegExp("^(https?:)?//").test(e)){const[,n]=e.split(/\/\/[^\/]+/);return n}return e}(iD(aD(r))),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+er(r))}normalize(n){return e.stripTrailingSlash(function sP(e,t){if(!e||!t.startsWith(e))return t;const n=t.substring(e.length);return""===n||["/",";","?","#"].includes(n[0])?n:t}(this._basePath,aD(n)))}prepareExternalUrl(n){return n&&"/"!==n[0]&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",o=null){this._locationStrategy.pushState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+er(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+er(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{const r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r,complete:o})}static#e=this.normalizeQueryParams=er;static#t=this.joinWithSlash=oD;static#n=this.stripTrailingSlash=iD;static#r=this.\u0275fac=function(r){return new(r||e)(D(Kd))};static#o=this.\u0275prov=b({token:e,factory:()=>function iP(){return new sD(D(Kd))}(),providedIn:"root"})}return e})();function aD(e){return e.replace(/\/index.html$/,"")}const lD={ADP:[void 0,void 0,0],AFN:[void 0,"\u060b",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058f",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20bc"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GHS:[void 0,"GH\u20b5"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202fCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var Ni=function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e}(Ni||{}),ae=function(e){return e[e.Decimal=0]="Decimal",e[e.Group=1]="Group",e[e.List=2]="List",e[e.PercentSign=3]="PercentSign",e[e.PlusSign=4]="PlusSign",e[e.MinusSign=5]="MinusSign",e[e.Exponential=6]="Exponential",e[e.SuperscriptingExponent=7]="SuperscriptingExponent",e[e.PerMille=8]="PerMille",e[e.Infinity=9]="Infinity",e[e.NaN=10]="NaN",e[e.TimeSeparator=11]="TimeSeparator",e[e.CurrencyDecimal=12]="CurrencyDecimal",e[e.CurrencyGroup=13]="CurrencyGroup",e}(ae||{});function Ve(e,t){const n=ze(e),r=n[re.NumberSymbols][t];if(typeof r>"u"){if(t===ae.CurrencyDecimal)return n[re.NumberSymbols][ae.Decimal];if(t===ae.CurrencyGroup)return n[re.NumberSymbols][ae.Group]}return r}function qa(e,t){return ze(e)[re.NumberFormats][t]}const PP=/^(\d+)?\.((\d+)(-(\d+))?)?$/,hD=22,tl=".",xi="0",LP=";",kP=",",rf="#";function sf(e,t,n,r,o,i,s=!1){let a="",l=!1;if(isFinite(e)){let c=function $P(e){let r,o,i,s,a,t=Math.abs(e)+"",n=0;for((o=t.indexOf(tl))>-1&&(t=t.replace(tl,"")),(i=t.search(/e/i))>0?(o<0&&(o=i),o+=+t.slice(i+1),t=t.substring(0,i)):o<0&&(o=t.length),i=0;t.charAt(i)===xi;i++);if(i===(a=t.length))r=[0],o=1;else{for(a--;t.charAt(a)===xi;)a--;for(o-=i,r=[],s=0;i<=a;i++,s++)r[s]=Number(t.charAt(i))}return o>hD&&(r=r.splice(0,hD-1),n=o-1,o=1),{digits:r,exponent:n,integerLen:o}}(e);s&&(c=function HP(e){if(0===e.digits[0])return e;const t=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(0===t?e.digits.push(0,0):1===t&&e.digits.push(0),e.integerLen+=2),e}(c));let u=t.minInt,d=t.minFrac,f=t.maxFrac;if(i){const y=i.match(PP);if(null===y)throw new Error(`${i} is not a valid digit info`);const E=y[1],S=y[3],N=y[5];null!=E&&(u=lf(E)),null!=S&&(d=lf(S)),null!=N?f=lf(N):null!=S&&d>f&&(f=d)}!function zP(e,t,n){if(t>n)throw new Error(`The minimum number of digits after fraction (${t}) is higher than the maximum (${n}).`);let r=e.digits,o=r.length-e.integerLen;const i=Math.min(Math.max(t,o),n);let s=i+e.integerLen,a=r[s];if(s>0){r.splice(Math.max(e.integerLen,s));for(let d=s;d=5)if(s-1<0){for(let d=0;d>s;d--)r.unshift(0),e.integerLen++;r.unshift(1),e.integerLen++}else r[s-1]++;for(;o=c?p.pop():l=!1),f>=10?1:0},0);u&&(r.unshift(u),e.integerLen++)}(c,d,f);let h=c.digits,p=c.integerLen;const g=c.exponent;let m=[];for(l=h.every(y=>!y);p0?m=h.splice(p,h.length):(m=h,h=[0]);const v=[];for(h.length>=t.lgSize&&v.unshift(h.splice(-t.lgSize,h.length).join(""));h.length>t.gSize;)v.unshift(h.splice(-t.gSize,h.length).join(""));h.length&&v.unshift(h.join("")),a=v.join(Ve(n,r)),m.length&&(a+=Ve(n,o)+m.join("")),g&&(a+=Ve(n,ae.Exponential)+"+"+g)}else a=Ve(n,ae.Infinity);return a=e<0&&!l?t.negPre+a+t.negSuf:t.posPre+a+t.posSuf,a}function af(e,t="-"){const n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=e.split(LP),o=r[0],i=r[1],s=-1!==o.indexOf(tl)?o.split(tl):[o.substring(0,o.lastIndexOf(xi)+1),o.substring(o.lastIndexOf(xi)+1)],a=s[0],l=s[1]||"";n.posPre=a.substring(0,a.indexOf(rf));for(let u=0;u{class e{constructor(n,r){this._viewContainer=n,this._context=new ZP,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){DD("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){DD("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(n,r){return!0}static#e=this.\u0275fac=function(r){return new(r||e)(j(Mt),j(on))};static#t=this.\u0275dir=rt({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return e})();class ZP{constructor(){this.$implicit=null,this.ngIf=null}}function DD(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${Ce(t)}'.`)}class df{constructor(t,n){this._viewContainerRef=t,this._templateRef=n,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()}}let nl=(()=>{class e{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(n){this._ngSwitch=n,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(n){this._defaultViews.push(n)}_matchCase(n){const r=n===this._ngSwitch;return this._lastCasesMatched||=r,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),r}_updateDefaultCases(n){if(this._defaultViews.length>0&&n!==this._defaultUsed){this._defaultUsed=n;for(const r of this._defaultViews)r.enforceState(n)}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275dir=rt({type:e,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}return e})(),CD=(()=>{class e{constructor(n,r,o){this.ngSwitch=o,o._addCase(),this._view=new df(n,r)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static#e=this.\u0275fac=function(r){return new(r||e)(j(Mt),j(on),j(nl,9))};static#t=this.\u0275dir=rt({type:e,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}return e})();function Ot(e,t){return new C(2100,!1)}class KP{createSubscription(t,n){return Om(()=>t.subscribe({next:n,error:r=>{throw r}}))}dispose(t){Om(()=>t.unsubscribe())}}class eL{createSubscription(t,n){return t.then(n,r=>{throw r})}dispose(t){}}const tL=new eL,nL=new KP;let bD=(()=>{class e{constructor(n){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=n}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(n){if(!this._obj){if(n)try{this.markForCheckOnValueUpdate=!1,this._subscribe(n)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return n!==this._obj?(this._dispose(),this.transform(n)):this._latestValue}_subscribe(n){this._obj=n,this._strategy=this._selectStrategy(n),this._subscription=this._strategy.createSubscription(n,r=>this._updateLatestValue(n,r))}_selectStrategy(n){if($d(n))return tL;if(vw(n))return nL;throw Ot()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(n,r){n===this._obj&&(this._latestValue=r,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static#e=this.\u0275fac=function(r){return new(r||e)(j(ju,16))};static#t=this.\u0275pipe=Qe({name:"async",type:e,pure:!1,standalone:!0})}return e})(),ID=(()=>{class e{constructor(n){this._locale=n}transform(n,r,o){if(!hf(n))return null;o||=this._locale;try{return function BP(e,t,n){return sf(e,af(qa(t,Ni.Decimal),Ve(t,ae.MinusSign)),t,ae.Group,ae.Decimal,n)}(pf(n),o,r)}catch(i){throw Ot()}}static#e=this.\u0275fac=function(r){return new(r||e)(j(xt,16))};static#t=this.\u0275pipe=Qe({name:"number",type:e,pure:!0,standalone:!0})}return e})(),ff=(()=>{class e{constructor(n,r="USD"){this._locale=n,this._defaultCurrencyCode=r}transform(n,r=this._defaultCurrencyCode,o="symbol",i,s){if(!hf(n))return null;s||=this._locale,"boolean"==typeof o&&(o=o?"symbol":"code");let a=r||this._defaultCurrencyCode;"code"!==o&&(a="symbol"===o||"symbol-narrow"===o?function _P(e,t,n="en"){const r=function pP(e){return ze(e)[re.Currencies]}(n)[e]||lD[e]||[],o=r[1];return"narrow"===t&&"string"==typeof o?o:r[0]||e}(a,"symbol"===o?"wide":"narrow",s):o);try{return function jP(e,t,n,r,o){const s=af(qa(t,Ni.Currency),Ve(t,ae.MinusSign));return s.minFrac=function wP(e){let t;const n=lD[e];return n&&(t=n[2]),"number"==typeof t?t:2}(r),s.maxFrac=s.minFrac,sf(e,s,t,ae.CurrencyGroup,ae.CurrencyDecimal,o).replace("\xa4",n).replace("\xa4","").trim()}(pf(n),s,a,r,i)}catch(l){throw Ot()}}static#e=this.\u0275fac=function(r){return new(r||e)(j(xt,16),j(mR,16))};static#t=this.\u0275pipe=Qe({name:"currency",type:e,pure:!0,standalone:!0})}return e})();function hf(e){return!(null==e||""===e||e!=e)}function pf(e){if("string"==typeof e&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if("number"!=typeof e)throw new Error(`${e} is not a number`);return e}let _L=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=vt({type:e});static#n=this.\u0275inj=ft({})}return e})();const SD="browser";function TD(e){return"server"===e}class ND{}class XL extends tP{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class mf extends XL{static makeCurrent(){!function eP(e){nD??=e}(new mf)}onAndCancel(t,n,r){return t.addEventListener(n,r),()=>{t.removeEventListener(n,r)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,n){return(n=n||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return"window"===n?window:"document"===n?t:"body"===n?t.body:null}getBaseHref(t){const n=function JL(){return Ri=Ri||document.querySelector("base"),Ri?Ri.getAttribute("href"):null}();return null==n?null:function KL(e){return new URL(e,document.baseURI).pathname}(n)}resetBaseElement(){Ri=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return mD(document.cookie,t)}}let Ri=null,t1=(()=>{class e{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=b({token:e,factory:e.\u0275fac})}return e})();const yf=new M("");let jD=(()=>{class e{constructor(n,r){this._zone=r,this._eventNameToPlugin=new Map,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,r,o){return this._findPluginFor(r).addEventListener(n,r,o)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(i=>i.supports(n)),!r)throw new C(5101,!1);return this._eventNameToPlugin.set(n,r),r}static#e=this.\u0275fac=function(r){return new(r||e)(D(yf),D(G))};static#t=this.\u0275prov=b({token:e,factory:e.\u0275fac})}return e})();class VD{constructor(t){this._doc=t}}const _f="ng-app-id";let BD=(()=>{class e{constructor(n,r,o,i={}){this.doc=n,this.appId=r,this.nonce=o,this.platformId=i,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=TD(i),this.resetHostNodes()}addStyles(n){for(const r of n)1===this.changeUsageCount(r,1)&&this.onStyleAdded(r)}removeStyles(n){for(const r of n)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){const n=this.styleNodesInDOM;n&&(n.forEach(r=>r.remove()),n.clear());for(const r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(const r of this.getAllStyles())this.addStyleToHost(n,r)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(const r of this.hostNodes)this.addStyleToHost(r,n)}onStyleRemoved(n){const r=this.styleRef;r.get(n)?.elements?.forEach(o=>o.remove()),r.delete(n)}collectServerRenderedStyles(){const n=this.doc.head?.querySelectorAll(`style[${_f}="${this.appId}"]`);if(n?.length){const r=new Map;return n.forEach(o=>{null!=o.textContent&&r.set(o.textContent,o)}),r}return null}changeUsageCount(n,r){const o=this.styleRef;if(o.has(n)){const i=o.get(n);return i.usage+=r,i.usage}return o.set(n,{usage:r,elements:[]}),r}getStyleElement(n,r){const o=this.styleNodesInDOM,i=o?.get(r);if(i?.parentNode===n)return o.delete(r),i.removeAttribute(_f),i;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=r,this.platformIsServer&&s.setAttribute(_f,this.appId),n.appendChild(s),s}}addStyleToHost(n,r){const o=this.getStyleElement(n,r),i=this.styleRef,s=i.get(r)?.elements;s?s.push(o):i.set(r,{elements:[o],usage:1})}resetHostNodes(){const n=this.hostNodes;n.clear(),n.add(this.doc.head)}static#e=this.\u0275fac=function(r){return new(r||e)(D(me),D(gs),D(_p,8),D(pn))};static#t=this.\u0275prov=b({token:e,factory:e.\u0275fac})}return e})();const vf={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/"},wf=/%COMP%/g,i1=new M("",{providedIn:"root",factory:()=>!0});function $D(e,t){return t.map(n=>n.replace(wf,e))}let zD=(()=>{class e{constructor(n,r,o,i,s,a,l,c=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.platformId=a,this.ngZone=l,this.nonce=c,this.rendererByCompId=new Map,this.platformIsServer=TD(a),this.defaultRenderer=new Df(n,s,l,this.platformIsServer)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===yt.ShadowDom&&(r={...r,encapsulation:yt.Emulated});const o=this.getOrCreateRenderer(n,r);return o instanceof GD?o.applyToHost(n):o instanceof Cf&&o.applyStyles(),o}getOrCreateRenderer(n,r){const o=this.rendererByCompId;let i=o.get(r.id);if(!i){const s=this.doc,a=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,d=this.platformIsServer;switch(r.encapsulation){case yt.Emulated:i=new GD(l,c,r,this.appId,u,s,a,d);break;case yt.ShadowDom:return new c1(l,c,n,r,s,a,this.nonce,d);default:i=new Cf(l,c,r,u,s,a,d)}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(r){return new(r||e)(D(jD),D(BD),D(gs),D(i1),D(me),D(pn),D(G),D(_p))};static#t=this.\u0275prov=b({token:e,factory:e.\u0275fac})}return e})();class Df{constructor(t,n,r,o){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(t,n){return n?this.doc.createElementNS(vf[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(UD(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(UD(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){t&&t.removeChild(n)}selectRootElement(t,n){let r="string"==typeof t?this.doc.querySelector(t):t;if(!r)throw new C(-5104,!1);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;const i=vf[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const o=vf[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){o&(_n.DashCase|_n.Important)?t.style.setProperty(n,r,o&_n.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&_n.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){null!=t&&(t[n]=r)}setValue(t,n){t.nodeValue=n}listen(t,n,r){if("string"==typeof t&&!(t=po().getGlobalEventTarget(this.doc,t)))throw new Error(`Unsupported event target ${t} for event ${n}`);return this.eventManager.addEventListener(t,n,this.decoratePreventDefault(r))}decoratePreventDefault(t){return n=>{if("__ngUnwrap__"===n)return t;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>t(n)):t(n))&&n.preventDefault()}}}function UD(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class c1 extends Df{constructor(t,n,r,o,i,s,a,l){super(t,i,s,l),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const c=$D(o.id,o.styles);for(const u of c){const d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=u,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(this.nodeOrShadowRoot(t),n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Cf extends Df{constructor(t,n,r,o,i,s,a,l){super(t,i,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o,this.styles=l?$D(l,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class GD extends Cf{constructor(t,n,r,o,i,s,a,l){const c=o+"-"+r.id;super(t,n,r,i,s,a,l,c),this.contentAttr=function s1(e){return"_ngcontent-%COMP%".replace(wf,e)}(c),this.hostAttr=function a1(e){return"_nghost-%COMP%".replace(wf,e)}(c)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){const r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}}let u1=(()=>{class e extends VD{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o){return n.addEventListener(r,o,!1),()=>this.removeEventListener(n,r,o)}removeEventListener(n,r,o){return n.removeEventListener(r,o)}static#e=this.\u0275fac=function(r){return new(r||e)(D(me))};static#t=this.\u0275prov=b({token:e,factory:e.\u0275fac})}return e})();const WD=["alt","control","meta","shift"],d1={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},f1={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let h1=(()=>{class e extends VD{constructor(n){super(n)}supports(n){return null!=e.parseEventName(n)}addEventListener(n,r,o){const i=e.parseEventName(r),s=e.eventCallback(i.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>po().onAndCancel(n,i.domEventName,s))}static parseEventName(n){const r=n.toLowerCase().split("."),o=r.shift();if(0===r.length||"keydown"!==o&&"keyup"!==o)return null;const i=e._normalizeKey(r.pop());let s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),WD.forEach(c=>{const u=r.indexOf(c);u>-1&&(r.splice(u,1),s+=c+".")}),s+=i,0!=r.length||0===i.length)return null;const l={};return l.domEventName=o,l.fullKey=s,l}static matchEventFullKeyCode(n,r){let o=d1[n.key]||n.key,i="";return r.indexOf("code.")>-1&&(o=n.code,i="code."),!(null==o||!o)&&(o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),WD.forEach(s=>{s!==o&&(0,f1[s])(n)&&(i+=s+".")}),i+=o,i===r)}static eventCallback(n,r,o){return i=>{e.matchEventFullKeyCode(i,n)&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return"esc"===n?"escape":n}static#e=this.\u0275fac=function(r){return new(r||e)(D(me))};static#t=this.\u0275prov=b({token:e,factory:e.\u0275fac})}return e})();const y1=Nw(bR,"browser",[{provide:pn,useValue:SD},{provide:yp,useValue:function p1(){mf.makeCurrent()},multi:!0},{provide:me,useFactory:function m1(){return function Pb(e){oc=e}(document),document},deps:[]}]),_1=new M(""),QD=[{provide:La,useClass:class e1{addToWindow(t){Q.getAngularTestability=(r,o=!0)=>{const i=t.findTestabilityInTree(r,o);if(null==i)throw new C(5103,!1);return i},Q.getAllAngularTestabilities=()=>t.getAllTestabilities(),Q.getAllAngularRootElements=()=>t.getAllRootElements(),Q.frameworkStabilizers||(Q.frameworkStabilizers=[]),Q.frameworkStabilizers.push(r=>{const o=Q.getAllAngularTestabilities();let i=o.length;const s=function(){i--,0==i&&r()};o.forEach(a=>{a.whenStable(s)})})}findTestabilityInTree(t,n,r){return null==n?null:t.getTestability(n)??(r?po().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}},deps:[]},{provide:_w,useClass:Vd,deps:[G,Bd,La]},{provide:Vd,useClass:Vd,deps:[G,Bd,La]}],ZD=[{provide:Pc,useValue:"root"},{provide:tn,useFactory:function g1(){return new tn},deps:[]},{provide:yf,useClass:u1,multi:!0,deps:[me,G,pn]},{provide:yf,useClass:h1,multi:!0,deps:[me]},zD,BD,jD,{provide:Tm,useExisting:zD},{provide:ND,useClass:t1,deps:[]},[]];let v1=(()=>{class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:gs,useValue:n.appId}]}}static#e=this.\u0275fac=function(r){return new(r||e)(D(_1,12))};static#t=this.\u0275mod=vt({type:e});static#n=this.\u0275inj=ft({providers:[...ZD,...QD],imports:[_L,MR]})}return e})();var b1=Kf.t(JSON.parse('{"ckeditorLicense":"ETYPME234.GTL514TCO770","sentryUrl":"https://055692dd96b545f9a5a6287694cd14b2@o1177741.ingest.sentry.io/6725188","matomoContainerUrl":"https://cdn.matomo.cloud/anyday.matomo.cloud/container_Dv9yazIC.js","enableCookieConsent":"true","seonJsFile":"https://cdn.seondf.com/js/v5/agent.js","marqetaJsFile":"","rudderstackWriteKey":"2TVM1zsBEweZuSBlZJHvYMElTNj","rudderstackDataPlaneUrl":"https://rudderstack.yadyna.xyz/"}'),2);const tr={host:"",basePath:"/api/v1/internal/",basePathV2:"/api/v2/internal/",production:!0,lazyTimeMs:0,ckeditorLicense:b1.ckeditorLicense,sentryUrl:b1.sentryUrl,matomoContainerUrl:b1.matomoContainerUrl,enableCookieConsent:"true"===b1.enableCookieConsent,storytellerApi:"8414e416-8684-4a36-89dc-8ab4b5acb1d5",seonJsFile:b1.seonJsFile,marqetaJsFile:b1.marqetaJsFile,rudderstackDataPlaneUrl:b1.rudderstackDataPlaneUrl,rudderstackWriteKey:b1.rudderstackWriteKey};function eC(e,t=0){return function M1(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}(e)?Number(e):t}function tC(e){return Array.isArray(e)?e:[e]}function we(e){return null==e?"":"string"==typeof e?e:`${e}px`}function nC(e){return e instanceof jt?e.nativeElement:e}class Ef{attach(t){return this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;null!=t&&(this._attachedHost=null,t.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(t){this._attachedHost=t}}class I1 extends Ef{constructor(t,n,r,o,i){super(),this.component=t,this.viewContainerRef=n,this.injector=r,this.componentFactoryResolver=o,this.projectableNodes=i}}class rC extends Ef{constructor(t,n,r,o){super(),this.templateRef=t,this.viewContainerRef=n,this.context=r,this.injector=o}get origin(){return this.templateRef.elementRef}attach(t,n=this.context){return this.context=n,super.attach(t)}detach(){return this.context=void 0,super.detach()}}class S1 extends Ef{constructor(t){super(),this.element=t instanceof jt?t.nativeElement:t}}class T1{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){return t instanceof I1?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof rC?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof S1?(this._attachedPortal=t,this.attachDomPortal(t)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class N1 extends T1{constructor(t,n,r,o,i){super(),this.outletElement=t,this._componentFactoryResolver=n,this._appRef=r,this._defaultInjector=o,this.attachDomPortal=s=>{const a=s.element,l=this._document.createComment("dom-portal");a.parentNode.insertBefore(l,a),this.outletElement.appendChild(a),this._attachedPortal=s,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(a,l)})},this._document=i}attachComponentPortal(t){const r=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component);let o;return t.viewContainerRef?(o=t.viewContainerRef.createComponent(r,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector,t.projectableNodes||void 0),this.setDisposeFn(()=>o.destroy())):(o=r.create(t.injector||this._defaultInjector||ke.NULL),this._appRef.attachView(o.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(o.hostView),o.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(o)),this._attachedPortal=t,o}attachTemplatePortal(t){let n=t.viewContainerRef,r=n.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return r.rootNodes.forEach(o=>this.outletElement.appendChild(o)),r.detectChanges(),this.setDisposeFn(()=>{let o=n.indexOf(r);-1!==o&&n.remove(o)}),this._attachedPortal=t,r}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(t){return t.hostView.rootNodes[0]}}let x1=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=vt({type:e});static#n=this.\u0275inj=ft({})}return e})();function Mn(e){return this instanceof Mn?(this.v=e,this):new Mn(e)}function aC(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,t=e[Symbol.asyncIterator];return t?t.call(e):(e=function Sf(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,l){!function o(i,s,a,l){Promise.resolve(l).then(function(c){i({value:c,done:a})},s)}(a,l,(s=e[i](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const Tf=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function lC(e){return J(e?.then)}function cC(e){return J(e[Nl])}function uC(e){return Symbol.asyncIterator&&J(e?.[Symbol.asyncIterator])}function dC(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const fC=function J1(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function hC(e){return J(e?.[fC])}function pC(e){return function sC(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,r=n.apply(e,t||[]),i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(f){r[f]&&(o[f]=function(h){return new Promise(function(p,g){i.push([f,h,p,g])>1||a(f,h)})})}function a(f,h){try{!function l(f){f.value instanceof Mn?Promise.resolve(f.value.v).then(c,u):d(i[0][2],f)}(r[f](h))}catch(p){d(i[0][3],p)}}function c(f){a("next",f)}function u(f){a("throw",f)}function d(f,h){f(h),i.shift(),i.length&&a(i[0][0],i[0][1])}}(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:r,done:o}=yield Mn(n.read());if(o)return yield Mn(void 0);yield yield Mn(r)}}finally{n.releaseLock()}})}function gC(e){return J(e?.getReader)}function Rt(e){if(e instanceof ye)return e;if(null!=e){if(cC(e))return function K1(e){return new ye(t=>{const n=e[Nl]();if(J(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Tf(e))return function ek(e){return new ye(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,mh)})}(e);if(uC(e))return mC(e);if(hC(e))return function nk(e){return new ye(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(gC(e))return function rk(e){return mC(pC(e))}(e)}throw dC(e)}function mC(e){return new ye(t=>{(function ok(e,t){var n,r,o,i;return function oC(e,t,n,r){return new(n||(n=Promise))(function(i,s){function a(u){try{c(r.next(u))}catch(d){s(d)}}function l(u){try{c(r.throw(u))}catch(d){s(d)}}function c(u){u.done?i(u.value):function o(i){return i instanceof n?i:new n(function(s){s(i)})}(u.value).then(a,l)}c((r=r.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=aC(e);!(r=yield n.next()).done;)if(t.next(r.value),t.closed)return}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})})(e,t).catch(n=>t.error(n))})}function Nf(e){return Ye((t,n)=>{Rt(e).subscribe(xe(n,()=>n.complete(),Co)),!n.closed&&t.subscribe(n)})}let yC=(()=>{class e{get $onDestroy(){return this._onDestroySubject.asObservable()}takeUntilDestroyed(){return Nf(this.$onDestroy)}constructor(){this._onDestroySubject=new We}ngOnDestroy(){this._onDestroySubject.next(),this._onDestroySubject.complete()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275dir=rt({type:e})}return e})();const xf={now:()=>(xf.delegate||Date).now(),delegate:void 0};class nr extends We{constructor(t=1/0,n=1/0,r=xf){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){const{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();const n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s{n.subscribe(xe(r,o=>cn(r,e,()=>r.next(o),t),()=>cn(r,e,()=>r.complete(),t),o=>cn(r,e,()=>r.error(o),t)))})}function vC(e,t=0){return Ye((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function wC(e,t){if(!e)throw new Error("Iterable cannot be null");return new ye(n=>{cn(n,t,()=>{const r=e[Symbol.asyncIterator]();cn(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function mo(e,t){return t?function mk(e,t){if(null!=e){if(cC(e))return function dk(e,t){return Rt(e).pipe(vC(t),_C(t))}(e,t);if(Tf(e))return function hk(e,t){return new ye(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if(lC(e))return function fk(e,t){return Rt(e).pipe(vC(t),_C(t))}(e,t);if(uC(e))return wC(e,t);if(hC(e))return function pk(e,t){return new ye(n=>{let r;return cn(n,t,()=>{r=e[fC](),cn(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){return void n.error(s)}i?n.complete():n.next(o)},0,!0)}),()=>J(r?.return)&&r.return()})}(e,t);if(gC(e))return function gk(e,t){return wC(pC(e),t)}(e,t)}throw dC(e)}(e,t):Rt(e)}const{isArray:yk}=Array;function DC(e){return qe(t=>function _k(e,t){return yk(t)?e(...t):e(t)}(e,t))}function CC(e){return e&&J(e.schedule)}function Af(e){return e[e.length-1]}function Li(e){return CC(Af(e))?e.pop():void 0}function Of(...e){const t=Li(e),n=function vk(e){return J(Af(e))?e.pop():void 0}(e),{args:r,keys:o}=function ck(e){if(1===e.length){const t=e[0];if(ik(t))return{args:t,keys:null};if(function uk(e){return e&&"object"==typeof e&&sk(e)===ak}(t)){const n=lk(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}(e);if(0===r.length)return mo([],t);const i=new ye(function Ck(e,t,n=Eo){return r=>{EC(t,()=>{const{length:o}=e,i=new Array(o);let s=o,a=o;for(let l=0;l{const c=mo(e[l],t);let u=!1;c.subscribe(xe(r,d=>{i[l]=d,u||(u=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}(r,t,o?s=>function Dk(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}(o,s):Eo));return n?i.pipe(DC(n)):i}function EC(e,t,n){e?cn(n,e,t):t()}class Ek extends Be{constructor(t,n){super()}schedule(t,n=0){return this}}const il={setInterval(e,t,...n){const{delegate:r}=il;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){const{delegate:t}=il;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};class Rf extends Ek{constructor(t,n){super(t,n),this.scheduler=t,this.work=n,this.pending=!1}schedule(t,n=0){var r;if(this.closed)return this;this.state=t;const o=this.id,i=this.scheduler;return null!=o&&(this.id=this.recycleAsyncId(i,o,n)),this.pending=!0,this.delay=n,this.id=null!==(r=this.id)&&void 0!==r?r:this.requestAsyncId(i,this.id,n),this}requestAsyncId(t,n,r=0){return il.setInterval(t.flush.bind(t,this),r)}recycleAsyncId(t,n,r=0){if(null!=r&&this.delay===r&&!1===this.pending)return n;null!=n&&il.clearInterval(n)}execute(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const r=this._execute(t,n);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,n){let o,r=!1;try{this.work(t)}catch(i){r=!0,o=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){const{id:t,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,Qi(r,this),null!=t&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}}class ki{constructor(t,n=ki.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,r){return new this.schedulerActionCtor(this,t).schedule(r,n)}}ki.now=xf.now;class Pf extends ki{constructor(t,n=ki.now){super(t,n),this.actions=[],this._active=!1}flush(t){const{actions:n}=this;if(this._active)return void n.push(t);let r;this._active=!0;do{if(r=t.execute(t.state,t.delay))break}while(t=n.shift());if(this._active=!1,r){for(;t=n.shift();)t.unsubscribe();throw r}}}const Lf=new Pf(Rf),bk=Lf;function kf(e=0,t,n=bk){let r=-1;return null!=t&&(CC(t)?n=t:r=t),new ye(o=>{let i=function Mk(e){return e instanceof Date&&!isNaN(e)}(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function Fi(e,t,n=1/0){return J(t)?Fi((r,o)=>qe((i,s)=>t(r,i,o,s))(Rt(e(r,o))),n):("number"==typeof t&&(n=t),Ye((r,o)=>function Ik(e,t,n,r,o,i,s,a){const l=[];let c=0,u=0,d=!1;const f=()=>{d&&!l.length&&!c&&t.complete()},h=g=>c{i&&t.next(g),c++;let m=!1;Rt(n(g,u++)).subscribe(xe(t,v=>{o?.(v),i?h(v):t.next(v)},()=>{m=!0},void 0,()=>{if(m)try{for(c--;l.length&&cp(v)):p(v)}f()}catch(v){t.error(v)}}))};return e.subscribe(xe(t,h,()=>{d=!0,f()})),()=>{a?.()}}(r,o,e,n)))}function bC(e=1/0){return Fi(Eo,e)}function MC(...e){return function Sk(){return bC(1)}()(mo(e,Li(e)))}function gt(...e){const t=Li(e);return Ye((n,r)=>{(t?MC(e,n,t):MC(e,n)).subscribe(r)})}function IC(e){return Ye((t,n)=>{let r=!1,o=null;t.subscribe(xe(n,i=>{r=!0,o=i})),Rt(e).subscribe(xe(n,()=>{if(r){r=!1;const i=o;o=null,n.next(i)}},Co))})}const Ff=new ye(e=>e.complete());function sl(e){return e<=0?()=>Ff:Ye((t,n)=>{let r=0;t.subscribe(xe(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function rr(e,t){return Ye((n,r)=>{let o=null,i=0,s=!1;const a=()=>s&&!o&&r.complete();n.subscribe(xe(r,l=>{o?.unsubscribe();let c=0;const u=i++;Rt(e(l,u)).subscribe(o=xe(r,d=>r.next(t?t(l,d,u,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}const SC=new ye(Co);function al(e,t=Lf){return Ye((n,r)=>{let o=null,i=null,s=null;const a=()=>{if(o){o.unsubscribe(),o=null;const c=i;i=null,r.next(c)}};function l(){const c=s+e,u=t.now();if(u{i=c,s=t.now(),o||(o=t.schedule(l,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function yo(e,t){return Ye((n,r)=>{let o=0;n.subscribe(xe(r,i=>e.call(t,i,o++)&&r.next(i)))})}function xk(e,t){return e===t}let Ok=(()=>{class e{create(n){return typeof MutationObserver>"u"?null:new MutationObserver(n)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Rk=(()=>{class e{constructor(n){this._mutationObserverFactory=n,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((n,r)=>this._cleanupObserver(r))}observe(n){const r=nC(n);return new ye(o=>{const s=this._observeElement(r).subscribe(o);return()=>{s.unsubscribe(),this._unobserveElement(r)}})}_observeElement(n){if(this._observedElements.has(n))this._observedElements.get(n).count++;else{const r=new We,o=this._mutationObserverFactory.create(i=>r.next(i));o&&o.observe(n,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(n,{observer:o,stream:r,count:1})}return this._observedElements.get(n).stream}_unobserveElement(n){this._observedElements.has(n)&&(this._observedElements.get(n).count--,this._observedElements.get(n).count||this._cleanupObserver(n))}_cleanupObserver(n){if(this._observedElements.has(n)){const{observer:r,stream:o}=this._observedElements.get(n);r&&r.disconnect(),o.complete(),this._observedElements.delete(n)}}static#e=this.\u0275fac=function(r){return new(r||e)(D(Ok))};static#t=this.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),TC=(()=>{class e extends yC{static#e=this.priceMatcher=/(\d[\d,.\s]+\d|\d{1,2})/;constructor(n,r,o,i){super(),this.contentObserver=n,this.priceTag=r,this.document=o,this.localeId=i}watchSelector$(n,r){return Of([n,r.pipe(gt(this.localeId))]).pipe(al(1),rr(([o,i])=>this.watchPriceElement(o,i)),yo(o=>!!o),function Nk(e,t=Eo){return e=e??xk,Ye((n,r)=>{let o,i=!0;n.subscribe(xe(r,s=>{const a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}(),this.takeUntilDestroyed())}watchPriceElement(n,r){let i,o=e.findCommonParent(n,this.priceTag.nativeElement);return i=o?this.observe(o):this.observe(this.document.body).pipe(al(1),qe(()=>e.findCommonParent(n,this.priceTag.nativeElement)),yo(s=>!!s),sl(1),rr(s=>this.observe(s))),i.pipe(qe(s=>e.findElement(n,s)),rr(s=>this.observe(s)),al(1),qe(s=>e.getPriceFromElement(s,r)))}observe(n){return n?this.contentObserver.observe(n).pipe(gt(void 0),function Ak(e){return qe(()=>e)}(n)):SC}static findCommonParent(n,r){let i,o=r;do{o=o?.parentElement,i=this.findElement(n,o)}while(o&&!i);return o}static findElement(n,r){return r?.querySelector(n)??null}static getPriceFromElement(n,r){return this.getPriceFromText(n.innerText,r)}static getPriceFromText(n,r){let o=this.getCleanedPriceText(n);if(null!==o)return this.validateFormat(o,r),o=this.replaceLocaleGroupWithBlank(o,r),o=this.replaceLocaleDecimalWithPeriod(o,r),parseFloat(o);console.error("Anyday-Price-Tag found a valid 'price-tag-selector' element but could not find a valid number '"+n+"'")}static getCleanedPriceText(n){const r=this.priceMatcher.exec(n);return r&&r[1]||null}static validateFormat(n,r){if(!this.isFormatValid(n,r)){let i=qa(r,Ni.Currency);console.error("Anyday-Price-Tag the format of the price '"+n+"' did not match the locale '"+r+"'. Expected format for locale '"+r+"' is '"+i+"'")}}static isFormatValid(n,r){let o=Ve(r,ae.CurrencyDecimal),i=Ve(r,ae.CurrencyGroup);"."===o?o="\\.":"."===i&&(i="\\.");let l=new RegExp("^(\\d{1,3})(["+i+"\\s]{1}\\d{3})*("+o+"\\d+)?$|^(\\d+)?("+o+"\\d+)?$").exec(n);return!(!l||!l[1])}static replaceLocaleDecimalWithPeriod(n,r){let o=Ve(r,ae.CurrencyDecimal);return n.replace(new RegExp(this.escapeRegExp(o),"g"),".")}static replaceLocaleGroupWithBlank(n,r){let o=Ve(r,ae.CurrencyGroup),i=this.escapeRegExp(o);return n.replace(new RegExp(i,"g"),"")}static escapeRegExp(n){return n.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&").replace(/\s/g,"\\s")}static#t=this.\u0275fac=function(r){return new(r||e)(D(Rk),D(jt),D(me),D(xt))};static#n=this.\u0275prov=b({token:e,factory:e.\u0275fac})}return e})();var or=function(e){return e[e.Fine=0]="Fine",e[e.MerchantDeactivated=1]="MerchantDeactivated",e[e.WebShopNotfound=2]="WebShopNotfound",e[e.WebShopHostNotAllowed=3]="WebShopHostNotAllowed",e[e.CannotConnectToAPI=4]="CannotConnectToAPI",e[e.Unknown=5]="Unknown",e}(or||{});let Pk=(()=>{class e{static getLocale(n,r){return{DKK:"da",USD:"en"}[n]||r}static format(n,r,o=2){n||(n=0),r||(r="DKK");const i=this.getLocale(r,"da"),s=`1.${o}-${o}`;return new ff(i,r).transform(n,r,"symbol-narrow",s,i)||String(n)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Lk=(()=>{class e{calculateEstimatedPrice(n){var r=this;return function Wi(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function s(l){Gi(i,r,o,s,a,"next",l)}function a(l){Gi(i,r,o,s,a,"throw",l)}s(void 0)})}}(function*(){const o={totalPrice:parseFloat(eC(n.totalPrice,0).toFixed(2)),currency:n.currency},i={error:or.Fine};try{i.estimate={currency:o.currency,totalPrice:o.totalPrice,splitCount:4,splitPercent:25,monthlyPayment:r.bankersRounding(o.totalPrice/4,2)}}catch{i.error=or.Unknown,console.error("Price tag unknown error, please contact Anyday support")}return i})()}bankersRounding(n,r){let o=r||0,i=Math.pow(10,o),s=+(o?n*i:n).toFixed(8),a=Math.floor(s),l=s-a,u=l>.5-1e-8&&l<.5+1e-8?a%2==0?a:a+1:Math.round(s);return o?u/i:u}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),kk=(()=>{class e{constructor(n){this.priceEstimateService=n}watchPrice(n,r,o){const i=Of([o.pipe(gt(void 0)),r.pipe(gt(void 0)),n.pipe(gt(void 0))]).pipe(qe(([a,l,c])=>({priceTagToken:a,currency:l,totalPrice:c}))),s=i.pipe(yo(a=>void 0!==a.currency&&void 0!==a.totalPrice&&void 0!==a.priceTagToken));return i.pipe(IC(kf(3e3)),sl(1),Nf(s)).subscribe(a=>{this.checkQuery(a)}),s.pipe(al(1e3),rr(a=>this.priceEstimateService.calculateEstimatedPrice(a)))}checkQuery(n){const r=[];if(void 0===n.totalPrice&&r.push("Total price could not be resolved. If there are no other validation errors or warnings in the log this is likely because the 'price-tag-selector' could not be located."),void 0===n.priceTagToken&&r.push("Price tag token not set, did you forget to specify the 'price-tag-token' attribute?"),void 0===n.currency&&r.push("Currency not set, did you forget to specify the 'currency' attribute"),r.length>0)throw new Error("Anyday price tag error: "+r.join(", "))}static#e=this.\u0275fac=function(r){return new(r||e)(D(Lk))};static#t=this.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function jf(...e){return mo(e,Li(e))}const Fk=["addListener","removeListener"],jk=["addEventListener","removeEventListener"],Vk=["on","off"];function Vf(e,t,n,r){if(J(n)&&(r=n,n=void 0),r)return Vf(e,t,n).pipe(DC(r));const[o,i]=function $k(e){return J(e.addEventListener)&&J(e.removeEventListener)}(e)?jk.map(s=>a=>e[s](t,a,n)):function Bk(e){return J(e.addListener)&&J(e.removeListener)}(e)?Fk.map(NC(e,t)):function Hk(e){return J(e.on)&&J(e.off)}(e)?Vk.map(NC(e,t)):[];if(!o&&Tf(e))return Fi(s=>Vf(s,t,n))(Rt(e));if(!o)throw new TypeError("Invalid event target");return new ye(s=>{const a=(...l)=>s.next(1i(a)})}function NC(e,t){return n=>r=>e[n](t,r)}const ji={schedule(e){let t=requestAnimationFrame,n=cancelAnimationFrame;const{delegate:r}=ji;r&&(t=r.requestAnimationFrame,n=r.cancelAnimationFrame);const o=t(i=>{n=void 0,e(i)});return new Be(()=>n?.(o))},requestAnimationFrame(...e){const{delegate:t}=ji;return(t?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){const{delegate:t}=ji;return(t?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0};new class Uk extends Pf{flush(t){this._active=!0;const n=this._scheduled;this._scheduled=void 0;const{actions:r}=this;let o;t=t||r.shift();do{if(o=t.execute(t.state,t.delay))break}while((t=r[0])&&t.id===n&&r.shift());if(this._active=!1,o){for(;(t=r[0])&&t.id===n&&r.shift();)t.unsubscribe();throw o}}}(class zk extends Rf{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}requestAsyncId(t,n,r=0){return null!==r&&r>0?super.requestAsyncId(t,n,r):(t.actions.push(this),t._scheduled||(t._scheduled=ji.requestAnimationFrame(()=>t.flush(void 0))))}recycleAsyncId(t,n,r=0){var o;if(null!=r?r>0:this.delay>0)return super.recycleAsyncId(t,n,r);const{actions:i}=t;null!=n&&(null===(o=i[i.length-1])||void 0===o?void 0:o.id)!==n&&(ji.cancelAnimationFrame(n),t._scheduled=void 0)}});let Bf,Wk=1;const ll={};function xC(e){return e in ll&&(delete ll[e],!0)}const Yk={setImmediate(e){const t=Wk++;return ll[t]=!0,Bf||(Bf=Promise.resolve()),Bf.then(()=>xC(t)&&e()),t},clearImmediate(e){xC(e)}},{setImmediate:qk,clearImmediate:Qk}=Yk,cl={setImmediate(...e){const{delegate:t}=cl;return(t?.setImmediate||qk)(...e)},clearImmediate(e){const{delegate:t}=cl;return(t?.clearImmediate||Qk)(e)},delegate:void 0};new class Xk extends Pf{flush(t){this._active=!0;const n=this._scheduled;this._scheduled=void 0;const{actions:r}=this;let o;t=t||r.shift();do{if(o=t.execute(t.state,t.delay))break}while((t=r[0])&&t.id===n&&r.shift());if(this._active=!1,o){for(;(t=r[0])&&t.id===n&&r.shift();)t.unsubscribe();throw o}}}(class Zk extends Rf{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}requestAsyncId(t,n,r=0){return null!==r&&r>0?super.requestAsyncId(t,n,r):(t.actions.push(this),t._scheduled||(t._scheduled=cl.setImmediate(t.flush.bind(t,void 0))))}recycleAsyncId(t,n,r=0){var o;if(null!=r?r>0:this.delay>0)return super.recycleAsyncId(t,n,r);const{actions:i}=t;null!=n&&(null===(o=i[i.length-1])||void 0===o?void 0:o.id)!==n&&(cl.clearImmediate(n),t._scheduled===n&&(t._scheduled=void 0))}});function AC(e,t=Lf){return function Kk(e){return Ye((t,n)=>{let r=!1,o=null,i=null,s=!1;const a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;const c=o;o=null,n.next(c)}s&&n.complete()},l=()=>{i=null,s&&n.complete()};t.subscribe(xe(n,c=>{r=!0,o=c,i||Rt(e(c)).subscribe(i=xe(n,a,l))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}(()=>kf(e,t))}let Hf;try{Hf=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Hf=!1}let ir,Vi=(()=>{class e{constructor(n){this._platformId=n,this.isBrowser=this._platformId?function CL(e){return e===SD}(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!Hf)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}static#e=this.\u0275fac=function(r){return new(r||e)(D(pn))};static#t=this.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function tF(){if(null==ir){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return ir=!1,ir;if("scrollBehavior"in document.documentElement.style)ir=!0;else{const e=Element.prototype.scrollTo;ir=!!e&&!/\{\s*\[native code\]\s*\}/.test(e.toString())}}return ir}function RC(e){return e.composedPath?e.composedPath()[0]:e.target}function PC(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}const rF=new M("cdk-dir-doc",{providedIn:"root",factory:function oF(){return T(me)}}),iF=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let aF=(()=>{class e{constructor(n){this.value="ltr",this.change=new ut,n&&(this.value=function sF(e){const t=e?.toLowerCase()||"";return"auto"===t&&typeof navigator<"u"&&navigator?.language?iF.test(navigator.language)?"rtl":"ltr":"rtl"===t?"rtl":"ltr"}((n.body?n.body.dir:null)||(n.documentElement?n.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static#e=this.\u0275fac=function(r){return new(r||e)(D(rF,8))};static#t=this.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),zf=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=vt({type:e});static#n=this.\u0275inj=ft({})}return e})(),cF=(()=>{class e{constructor(n,r,o){this._ngZone=n,this._platform=r,this._scrolled=new We,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=o}register(n){this.scrollContainers.has(n)||this.scrollContainers.set(n,n.elementScrolled().subscribe(()=>this._scrolled.next(n)))}deregister(n){const r=this.scrollContainers.get(n);r&&(r.unsubscribe(),this.scrollContainers.delete(n))}scrolled(n=20){return this._platform.isBrowser?new ye(r=>{this._globalSubscription||this._addGlobalListener();const o=n>0?this._scrolled.pipe(AC(n)).subscribe(r):this._scrolled.subscribe(r);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):jf()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((n,r)=>this.deregister(r)),this._scrolled.complete()}ancestorScrolled(n,r){const o=this.getAncestorScrollContainers(n);return this.scrolled(r).pipe(yo(i=>!i||o.indexOf(i)>-1))}getAncestorScrollContainers(n){const r=[];return this.scrollContainers.forEach((o,i)=>{this._scrollableContainsElement(i,n)&&r.push(i)}),r}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(n,r){let o=nC(r),i=n.getElementRef().nativeElement;do{if(o==i)return!0}while(o=o.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>Vf(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static#e=this.\u0275fac=function(r){return new(r||e)(D(G),D(Vi),D(me,8))};static#t=this.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),LC=(()=>{class e{constructor(n,r,o){this._platform=n,this._change=new We,this._changeListener=i=>{this._change.next(i)},this._document=o,r.runOutsideAngular(()=>{if(n.isBrowser){const i=this._getWindow();i.addEventListener("resize",this._changeListener),i.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const n=this._getWindow();n.removeEventListener("resize",this._changeListener),n.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const n={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),n}getViewportRect(){const n=this.getViewportScrollPosition(),{width:r,height:o}=this.getViewportSize();return{top:n.top,left:n.left,bottom:n.top+o,right:n.left+r,height:o,width:r}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const n=this._document,r=this._getWindow(),o=n.documentElement,i=o.getBoundingClientRect();return{top:-i.top||n.body.scrollTop||r.scrollY||o.scrollTop||0,left:-i.left||n.body.scrollLeft||r.scrollX||o.scrollLeft||0}}change(n=20){return n>0?this._change.pipe(AC(n)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const n=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:n.innerWidth,height:n.innerHeight}:{width:0,height:0}}static#e=this.\u0275fac=function(r){return new(r||e)(D(Vi),D(G),D(me,8))};static#t=this.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),kC=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=vt({type:e});static#n=this.\u0275inj=ft({})}return e})(),FC=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=vt({type:e});static#n=this.\u0275inj=ft({imports:[zf,kC,zf,kC]})}return e})();function jC(...e){const t=Li(e),n=function wk(e,t){return"number"==typeof Af(e)?e.pop():t}(e,1/0),r=e;return r.length?1===r.length?Rt(r[0]):bC(n)(mo(r,t)):Ff}const VC=tF();class dF{constructor(t,n){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=n}attach(){}enable(){if(this._canBeEnabled()){const t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=we(-this._previousScrollPosition.left),t.style.top=we(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const t=this._document.documentElement,r=t.style,o=this._document.body.style,i=r.scrollBehavior||"",s=o.scrollBehavior||"";this._isEnabled=!1,r.left=this._previousHTMLStyles.left,r.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),VC&&(r.scrollBehavior=o.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),VC&&(r.scrollBehavior=i,o.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const n=this._document.body,r=this._viewportRuler.getViewportSize();return n.scrollHeight>r.height||n.scrollWidth>r.width}}class fF{constructor(t,n,r,o){this._scrollDispatcher=t,this._ngZone=n,this._viewportRuler=r,this._config=o,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(t){this._overlayRef=t}enable(){if(this._scrollSubscription)return;const t=this._scrollDispatcher.scrolled(0).pipe(yo(n=>!n||!this._overlayRef.overlayElement.contains(n.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{const n=this._viewportRuler.getViewportScrollPosition().top;Math.abs(n-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class BC{enable(){}disable(){}attach(){}}function Uf(e,t){return t.some(n=>e.bottomn.bottom||e.rightn.right)}function HC(e,t){return t.some(n=>e.topn.bottom||e.leftn.right)}class hF{constructor(t,n,r,o){this._scrollDispatcher=t,this._viewportRuler=n,this._ngZone=r,this._config=o,this._scrollSubscription=null}attach(t){this._overlayRef=t}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const n=this._overlayRef.overlayElement.getBoundingClientRect(),{width:r,height:o}=this._viewportRuler.getViewportSize();Uf(n,[{width:r,height:o,bottom:o,right:r,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let pF=(()=>{class e{constructor(n,r,o,i){this._scrollDispatcher=n,this._viewportRuler=r,this._ngZone=o,this.noop=()=>new BC,this.close=s=>new fF(this._scrollDispatcher,this._ngZone,this._viewportRuler,s),this.block=()=>new dF(this._viewportRuler,this._document),this.reposition=s=>new hF(this._scrollDispatcher,this._viewportRuler,this._ngZone,s),this._document=i}static#e=this.\u0275fac=function(r){return new(r||e)(D(cF),D(LC),D(G),D(me))};static#t=this.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class gF{constructor(t){if(this.scrollStrategy=new BC,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){const n=Object.keys(t);for(const r of n)void 0!==t[r]&&(this[r]=t[r])}}}class mF{constructor(t,n){this.connectionPair=t,this.scrollableViewProperties=n}}let $C=(()=>{class e{constructor(n){this._attachedOverlays=[],this._document=n}ngOnDestroy(){this.detach()}add(n){this.remove(n),this._attachedOverlays.push(n)}remove(n){const r=this._attachedOverlays.indexOf(n);r>-1&&this._attachedOverlays.splice(r,1),0===this._attachedOverlays.length&&this.detach()}static#e=this.\u0275fac=function(r){return new(r||e)(D(me))};static#t=this.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),yF=(()=>{class e extends $C{constructor(n,r){super(n),this._ngZone=r,this._keydownListener=o=>{const i=this._attachedOverlays;for(let s=i.length-1;s>-1;s--)if(i[s]._keydownEvents.observers.length>0){const a=i[s]._keydownEvents;this._ngZone?this._ngZone.run(()=>a.next(o)):a.next(o);break}}}add(n){super.add(n),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}static#e=this.\u0275fac=function(r){return new(r||e)(D(me),D(G,8))};static#t=this.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),_F=(()=>{class e extends $C{constructor(n,r,o){super(n),this._platform=r,this._ngZone=o,this._cursorStyleIsSet=!1,this._pointerDownListener=i=>{this._pointerDownEventTarget=RC(i)},this._clickListener=i=>{const s=RC(i),a="click"===i.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:s;this._pointerDownEventTarget=null;const l=this._attachedOverlays.slice();for(let c=l.length-1;c>-1;c--){const u=l[c];if(u._outsidePointerEvents.observers.length<1||!u.hasAttached())continue;if(u.overlayElement.contains(s)||u.overlayElement.contains(a))break;const d=u._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>d.next(i)):d.next(i)}}}add(n){if(super.add(n),!this._isAttached){const r=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(r)):this._addEventListeners(r),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=r.style.cursor,r.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const n=this._document.body;n.removeEventListener("pointerdown",this._pointerDownListener,!0),n.removeEventListener("click",this._clickListener,!0),n.removeEventListener("auxclick",this._clickListener,!0),n.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(n.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(n){n.addEventListener("pointerdown",this._pointerDownListener,!0),n.addEventListener("click",this._clickListener,!0),n.addEventListener("auxclick",this._clickListener,!0),n.addEventListener("contextmenu",this._clickListener,!0)}static#e=this.\u0275fac=function(r){return new(r||e)(D(me),D(Vi),D(G,8))};static#t=this.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),zC=(()=>{class e{constructor(n,r){this._platform=r,this._document=n}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const n="cdk-overlay-container";if(this._platform.isBrowser||PC()){const o=this._document.querySelectorAll(`.${n}[platform="server"], .${n}[platform="test"]`);for(let i=0;ithis._backdropClick.next(d),this._backdropTransitionendHandler=d=>{this._disposeBackdrop(d.target)},this._keydownEvents=new We,this._outsidePointerEvents=new We,o.scrollStrategy&&(this._scrollStrategy=o.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=o.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(t){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const n=this._portalOutlet.attach(t);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(sl(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof n?.onDestroy&&n.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),n}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),t}dispose(){const t=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,t&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config={...this._config,...t},this._updateElementSize()}setDirection(t){this._config={...this._config,direction:t},this._updateElementDirection()}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!0)}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!1)}getDirection(){const t=this._config.direction;return t?"string"==typeof t?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const t=this._pane.style;t.width=we(this._config.width),t.height=we(this._config.height),t.minWidth=we(this._config.minWidth),t.minHeight=we(this._config.minHeight),t.maxWidth=we(this._config.maxWidth),t.maxHeight=we(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"":"none"}_attachBackdrop(){const t="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(t)})}):this._backdropElement.classList.add(t)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const t=this._backdropElement;if(t){if(this._animationsDisabled)return void this._disposeBackdrop(t);t.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{t.addEventListener("transitionend",this._backdropTransitionendHandler)}),t.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(t)},500))}}_toggleClasses(t,n,r){const o=tC(n||[]).filter(i=>!!i);o.length&&(r?t.classList.add(...o):t.classList.remove(...o))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const t=this._ngZone.onStable.pipe(Nf(jC(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),t.unsubscribe())})})}_disposeScrollStrategy(){const t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}_disposeBackdrop(t){t&&(t.removeEventListener("click",this._backdropClickHandler),t.removeEventListener("transitionend",this._backdropTransitionendHandler),t.remove(),this._backdropElement===t&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const UC="cdk-overlay-connected-position-bounding-box",wF=/([A-Za-z%]+)$/;class DF{get positions(){return this._preferredPositions}constructor(t,n,r,o,i){this._viewportRuler=n,this._document=r,this._platform=o,this._overlayContainer=i,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new We,this._resizeSubscription=Be.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(t)}attach(t){this._validatePositions(),t.hostElement.classList.add(UC),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const t=this._originRect,n=this._overlayRect,r=this._viewportRect,o=this._containerRect,i=[];let s;for(let a of this._preferredPositions){let l=this._getOriginPoint(t,o,a),c=this._getOverlayPoint(l,n,a),u=this._getOverlayFit(c,n,r,a);if(u.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(a,l);this._canFitWithFlexibleDimensions(u,c,r)?i.push({position:a,origin:l,overlayRect:n,boundingBoxRect:this._calculateBoundingBoxRect(l,a)}):(!s||s.overlayFit.visibleAreal&&(l=u,a=c)}return this._isPushed=!1,void this._applyPosition(a.position,a.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(s.position,s.originPoint);this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&sr(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(UC),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const t=this._lastPosition;if(t){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const n=this._getOriginPoint(this._originRect,this._containerRect,t);this._applyPosition(t,n)}else this.apply()}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}_getOriginPoint(t,n,r){let o,i;if("center"==r.originX)o=t.left+t.width/2;else{const s=this._isRtl()?t.right:t.left,a=this._isRtl()?t.left:t.right;o="start"==r.originX?s:a}return n.left<0&&(o-=n.left),i="center"==r.originY?t.top+t.height/2:"top"==r.originY?t.top:t.bottom,n.top<0&&(i-=n.top),{x:o,y:i}}_getOverlayPoint(t,n,r){let o,i;return o="center"==r.overlayX?-n.width/2:"start"===r.overlayX?this._isRtl()?-n.width:0:this._isRtl()?0:-n.width,i="center"==r.overlayY?-n.height/2:"top"==r.overlayY?0:-n.height,{x:t.x+o,y:t.y+i}}_getOverlayFit(t,n,r,o){const i=WC(n);let{x:s,y:a}=t,l=this._getOffset(o,"x"),c=this._getOffset(o,"y");l&&(s+=l),c&&(a+=c);let f=0-a,h=a+i.height-r.height,p=this._subtractOverflows(i.width,0-s,s+i.width-r.width),g=this._subtractOverflows(i.height,f,h),m=p*g;return{visibleArea:m,isCompletelyWithinViewport:i.width*i.height===m,fitsInViewportVertically:g===i.height,fitsInViewportHorizontally:p==i.width}}_canFitWithFlexibleDimensions(t,n,r){if(this._hasFlexibleDimensions){const o=r.bottom-n.y,i=r.right-n.x,s=GC(this._overlayRef.getConfig().minHeight),a=GC(this._overlayRef.getConfig().minWidth);return(t.fitsInViewportVertically||null!=s&&s<=o)&&(t.fitsInViewportHorizontally||null!=a&&a<=i)}return!1}_pushOverlayOnScreen(t,n,r){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};const o=WC(n),i=this._viewportRect,s=Math.max(t.x+o.width-i.width,0),a=Math.max(t.y+o.height-i.height,0),l=Math.max(i.top-r.top-t.y,0),c=Math.max(i.left-r.left-t.x,0);let u=0,d=0;return u=o.width<=i.width?c||-s:t.xp&&!this._isInitialRender&&!this._growAfterOpen&&(s=t.y-p/2)}if("end"===n.overlayX&&!o||"start"===n.overlayX&&o)f=r.width-t.x+this._viewportMargin,u=t.x-this._viewportMargin;else if("start"===n.overlayX&&!o||"end"===n.overlayX&&o)d=t.x,u=r.right-t.x;else{const h=Math.min(r.right-t.x+r.left,t.x),p=this._lastBoundingBoxSize.width;u=2*h,d=t.x-h,u>p&&!this._isInitialRender&&!this._growAfterOpen&&(d=t.x-p/2)}return{top:s,left:d,bottom:a,right:f,width:u,height:i}}_setBoundingBoxStyles(t,n){const r=this._calculateBoundingBoxRect(t,n);!this._isInitialRender&&!this._growAfterOpen&&(r.height=Math.min(r.height,this._lastBoundingBoxSize.height),r.width=Math.min(r.width,this._lastBoundingBoxSize.width));const o={};if(this._hasExactPosition())o.top=o.left="0",o.bottom=o.right=o.maxHeight=o.maxWidth="",o.width=o.height="100%";else{const i=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;o.height=we(r.height),o.top=we(r.top),o.bottom=we(r.bottom),o.width=we(r.width),o.left=we(r.left),o.right=we(r.right),o.alignItems="center"===n.overlayX?"center":"end"===n.overlayX?"flex-end":"flex-start",o.justifyContent="center"===n.overlayY?"center":"bottom"===n.overlayY?"flex-end":"flex-start",i&&(o.maxHeight=we(i)),s&&(o.maxWidth=we(s))}this._lastBoundingBoxSize=r,sr(this._boundingBox.style,o)}_resetBoundingBoxStyles(){sr(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){sr(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,n){const r={},o=this._hasExactPosition(),i=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(o){const u=this._viewportRuler.getViewportScrollPosition();sr(r,this._getExactOverlayY(n,t,u)),sr(r,this._getExactOverlayX(n,t,u))}else r.position="static";let a="",l=this._getOffset(n,"x"),c=this._getOffset(n,"y");l&&(a+=`translateX(${l}px) `),c&&(a+=`translateY(${c}px)`),r.transform=a.trim(),s.maxHeight&&(o?r.maxHeight=we(s.maxHeight):i&&(r.maxHeight="")),s.maxWidth&&(o?r.maxWidth=we(s.maxWidth):i&&(r.maxWidth="")),sr(this._pane.style,r)}_getExactOverlayY(t,n,r){let o={top:"",bottom:""},i=this._getOverlayPoint(n,this._overlayRect,t);return this._isPushed&&(i=this._pushOverlayOnScreen(i,this._overlayRect,r)),"bottom"===t.overlayY?o.bottom=this._document.documentElement.clientHeight-(i.y+this._overlayRect.height)+"px":o.top=we(i.y),o}_getExactOverlayX(t,n,r){let s,o={left:"",right:""},i=this._getOverlayPoint(n,this._overlayRect,t);return this._isPushed&&(i=this._pushOverlayOnScreen(i,this._overlayRect,r)),s=this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left","right"===s?o.right=this._document.documentElement.clientWidth-(i.x+this._overlayRect.width)+"px":o.left=we(i.x),o}_getScrollVisibility(){const t=this._getOriginRect(),n=this._pane.getBoundingClientRect(),r=this._scrollables.map(o=>o.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:HC(t,r),isOriginOutsideView:Uf(t,r),isOverlayClipped:HC(n,r),isOverlayOutsideView:Uf(n,r)}}_subtractOverflows(t,...n){return n.reduce((r,o)=>r-Math.max(o,0),t)}_getNarrowedViewportRect(){const t=this._document.documentElement.clientWidth,n=this._document.documentElement.clientHeight,r=this._viewportRuler.getViewportScrollPosition();return{top:r.top+this._viewportMargin,left:r.left+this._viewportMargin,right:r.left+t-this._viewportMargin,bottom:r.top+n-this._viewportMargin,width:t-2*this._viewportMargin,height:n-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,n){return"x"===n?null==t.offsetX?this._offsetX:t.offsetX:null==t.offsetY?this._offsetY:t.offsetY}_validatePositions(){}_addPanelClasses(t){this._pane&&tC(t).forEach(n=>{""!==n&&-1===this._appliedPanelClasses.indexOf(n)&&(this._appliedPanelClasses.push(n),this._pane.classList.add(n))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){const t=this._origin;if(t instanceof jt)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();const n=t.width||0,r=t.height||0;return{top:t.y,bottom:t.y+r,left:t.x,right:t.x+n,height:r,width:n}}}function sr(e,t){for(let n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function GC(e){if("number"!=typeof e&&null!=e){const[t,n]=e.split(wF);return n&&"px"!==n?null:parseFloat(t)}return e||null}function WC(e){return{top:Math.floor(e.top),right:Math.floor(e.right),bottom:Math.floor(e.bottom),left:Math.floor(e.left),width:Math.floor(e.width),height:Math.floor(e.height)}}const YC="cdk-global-overlay-wrapper";class EF{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(t){const n=t.getConfig();this._overlayRef=t,this._width&&!n.width&&t.updateSize({width:this._width}),this._height&&!n.height&&t.updateSize({height:this._height}),t.hostElement.classList.add(YC),this._isDisposed=!1}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._xOffset=t,this._xPosition="left",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._xOffset=t,this._xPosition="right",this}start(t=""){return this._xOffset=t,this._xPosition="start",this}end(t=""){return this._xOffset=t,this._xPosition="end",this}width(t=""){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}height(t=""){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}centerHorizontally(t=""){return this.left(t),this._xPosition="center",this}centerVertically(t=""){return this.top(t),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const t=this._overlayRef.overlayElement.style,n=this._overlayRef.hostElement.style,r=this._overlayRef.getConfig(),{width:o,height:i,maxWidth:s,maxHeight:a}=r,l=!("100%"!==o&&"100vw"!==o||s&&"100%"!==s&&"100vw"!==s),c=!("100%"!==i&&"100vh"!==i||a&&"100%"!==a&&"100vh"!==a),u=this._xPosition,d=this._xOffset,f="rtl"===this._overlayRef.getConfig().direction;let h="",p="",g="";l?g="flex-start":"center"===u?(g="center",f?p=d:h=d):f?"left"===u||"end"===u?(g="flex-end",h=d):("right"===u||"start"===u)&&(g="flex-start",p=d):"left"===u||"start"===u?(g="flex-start",h=d):("right"===u||"end"===u)&&(g="flex-end",p=d),t.position=this._cssPosition,t.marginLeft=l?"0":h,t.marginTop=c?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=l?"0":p,n.justifyContent=g,n.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const t=this._overlayRef.overlayElement.style,n=this._overlayRef.hostElement,r=n.style;n.classList.remove(YC),r.justifyContent=r.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}let bF=(()=>{class e{constructor(n,r,o,i){this._viewportRuler=n,this._document=r,this._platform=o,this._overlayContainer=i}global(){return new EF}flexibleConnectedTo(n){return new DF(n,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static#e=this.\u0275fac=function(r){return new(r||e)(D(LC),D(me),D(Vi),D(zC))};static#t=this.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),MF=0,dl=(()=>{class e{constructor(n,r,o,i,s,a,l,c,u,d,f,h){this.scrollStrategies=n,this._overlayContainer=r,this._componentFactoryResolver=o,this._positionBuilder=i,this._keyboardDispatcher=s,this._injector=a,this._ngZone=l,this._document=c,this._directionality=u,this._location=d,this._outsideClickDispatcher=f,this._animationsModuleType=h}create(n){const r=this._createHostElement(),o=this._createPaneElement(r),i=this._createPortalOutlet(o),s=new gF(n);return s.direction=s.direction||this._directionality.value,new vF(i,r,o,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(n){const r=this._document.createElement("div");return r.id="cdk-overlay-"+MF++,r.classList.add("cdk-overlay-pane"),n.appendChild(r),r}_createHostElement(){const n=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(n),n}_createPortalOutlet(n){return this._appRef||(this._appRef=this._injector.get(sn)),new N1(n,this._componentFactoryResolver,this._appRef,this._injector,this._document)}static#e=this.\u0275fac=function(r){return new(r||e)(D(pF),D(zC),D(Hn),D(bF),D(yF),D(ke),D(G),D(me),D(aF),D(sD),D(_F),D(jb,8))};static#t=this.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const TF={provide:new M("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{const e=T(dl);return()=>e.scrollStrategies.reposition()}}),deps:[dl],useFactory:function SF(e){return()=>e.scrollStrategies.reposition()}};let NF=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=vt({type:e});static#n=this.\u0275inj=ft({providers:[dl,TF],imports:[zf,x1,FC,FC]})}return e})();const xF=["linkElement"],Gf=(e,t,n)=>[e,t,"symbol-narrow","1.2-2",n];function AF(e,t){if(1&e&&(B(0,"span",24),_e(1,25),Yt(2,"currency"),Yt(3,"number"),z()),2&e){const n=Nt();se(3),Cn(co(2,2,lo(11,Gf,null==n.model?null:n.model.monthlyPayment,null==n.model?null:n.model.currency,n.currencyLocale)))(Aa(3,8,null==n.model?null:n.model.splitCount,"0.0-0")),Xn(1)}}const qC=(e,t,n)=>[e,t,"symbol-narrow","1.0-0",n];function OF(e,t){if(1&e&&(B(0,"span",24),_e(1,26),Yt(2,"currency"),z()),2&e){const n=Nt();se(2),Cn(co(2,1,lo(7,qC,n.minimumPrice,null==n.model?null:n.model.currency,n.currencyLocale))),Xn(1)}}function RF(e,t){1&e&&(B(0,"span",31),_e(1,32),z())}function PF(e,t){if(1&e&&(B(0,"span",31),_e(1,33),Yt(2,"async"),z()),2&e){const n=Nt(2);se(2),Cn(Xv(2,1,n.priceTagToken$)||"N/A"),Xn(1)}}function LF(e,t){if(1&e&&(B(0,"span",31),_e(1,34),z()),2&e){const n=Nt(2);se(),Cn(n.origin),Xn(1)}}function kF(e,t){1&e&&(B(0,"span",31),_e(1,35),z())}function FF(e,t){1&e&&(B(0,"span",31),_e(1,36),z())}function jF(e,t){if(1&e&&(B(0,"div",27)(1,"div",28),Wt(2,"i",29),It(3,RF,2,0,"span",30)(4,PF,3,3,"span",30)(5,LF,2,1,"span",30)(6,kF,2,0,"span",30)(7,FF,2,0,"span",30),z()()),2&e){const n=Nt();se(),je("ngSwitch",n.currentError),se(2),je("ngSwitchCase",n.ErrorTypes.MerchantDeactivated),se(),je("ngSwitchCase",n.ErrorTypes.WebShopNotfound),se(),je("ngSwitchCase",n.ErrorTypes.WebShopHostNotAllowed),se(),je("ngSwitchCase",n.ErrorTypes.CannotConnectToAPI),se(),je("ngSwitchCase",n.ErrorTypes.Unknown)}}function VF(e,t){if(1&e&&(B(0,"div",78)(1,"h2",79),_e(2,80),z(),B(3,"span"),Jn(4),Yt(5,"currency"),z(),B(6,"span",81),Jn(7,"x"),z(),B(8,"span"),Jn(9),z(),B(10,"span"),Jn(11,"\xa0"),z(),B(12,"span",81),Jn(13,"="),z(),B(14,"span"),Jn(15),Yt(16,"currency"),z()()),2&e){const n=Nt(3);se(4),Ci(co(5,3,lo(15,Gf,n.model.monthlyPayment,n.model.currency,n.currencyLocale))),se(5),Ci(n.model.splitCount),se(6),Ci(co(16,9,lo(19,Gf,n.model.totalPrice,n.model.currency,n.currencyLocale)))}}function BF(e,t){if(1&e&&(B(0,"div",78)(1,"h2",79),_e(2,82),Yt(3,"currency"),z()()),2&e){const n=Nt(3);se(3),Cn(co(3,2,lo(8,qC,n.minimumPrice,n.model.currency,n.currencyLocale)))(n.model.splitCount),Xn(2)}}function HF(e,t){if(1&e){const n=Cd();B(0,"div",39)(1,"div",40)(2,"div",41)(3,"div",42)(4,"i",43),Na("click",function(){return Wl(n),Yl(Nt(2).closeTemplateModal())}),z()(),B(5,"div",44)(6,"div",45)(7,"div",2)(8,"div",46)(9,"div",47),Wt(10,"img",48),z(),B(11,"div",49),It(12,VF,17,23,"div",50)(13,BF,4,12,"div",50),B(14,"div",51)(15,"a",52),qn(16),_e(17,53),Qn(),Wt(18,"i",54),z(),B(19,"span",31),_e(20,55),z()(),B(21,"div",56)(22,"a",57),_e(23,58),z()()()()()()(),B(24,"div",59)(25,"div",60)(26,"div",61)(27,"div",62)(28,"div",63)(29,"div",64),Wt(30,"i",65),qn(31),_e(32,66),Qn(),z(),B(33,"div",67)(34,"p"),_e(35,68),z()()()(),B(36,"div",62)(37,"div",63)(38,"div",64),Wt(39,"i",69),qn(40),_e(41,70),Qn(),z(),B(42,"div",67)(43,"p"),_e(44,71),z()()()(),B(45,"div",62)(46,"div",63)(47,"div",64),Wt(48,"i",72),qn(49),_e(50,73),Qn(),z(),B(51,"div",67)(52,"p"),_e(53,74),Yt(54,"number"),Yt(55,"number"),z()()()()()(),B(56,"div",75)(57,"div",76)(58,"p"),_e(59,77),z()()()()()()()}if(2&e){const n=Nt(2);se(10),je("src",n.logoPath,Us),se(2),je("ngIf",!n.lessThanMinimum),se(),je("ngIf",n.lessThanMinimum),se(2),je("href",n.signUpUrl,Us),se(40),Cn(Aa(54,6,n.model.splitCount,"0.0-0"))(Aa(55,9,n.model.splitPercent,"0.0-0")),Xn(53)}}function $F(e,t){if(1&e&&(B(0,"span",20)(1,"div",37),It(2,HF,60,12,"div",38),z()()),2&e){const n=Nt();se(2),je("ngIf",n.model&&n.currentError===n.ErrorTypes.Fine)}}const zF=["*"];let UF=(()=>{class e extends yC{get hide(){return this.currentError===or.CannotConnectToAPI||this.currentError===or.Unknown}set totalPrice(n){this._totalPrice$.next(n)}set environment(n){this._environment$.next(n)}set totalPriceSelector(n){this._totalPriceSelector$.next(n)}set priceFormatLocale(n){this._priceFormatLocale$.next(n)}set currency(n){this._currency$.next(n)}set priceTagToken(n){this.priceTagToken$.next(n)}set linkElement(n){this._linkElement$.next(n.nativeElement)}get logoPath(){return`${tr.host}/assets/img/anyday-logo-black.svg`}get signUpUrl(){return`${tr.host}/${this.localeId}/shopper`}constructor(n,r,o,i,s,a){super(),this.priceService=n,this.watcherService=r,this.render=o,this.localeId=i,this.viewContainerRef=s,this.overlay=a,this.componentClass="anyday-split",this._totalPrice$=new nr(1),this._totalPriceSelector$=new nr(1),this._priceFormatLocale$=new nr(1),this._currency$=new nr(1),this._environment$=new wh("production"),this.priceTagToken$=new nr(1),this._linkElement$=new nr(1),this.currentError=or.Unknown,this.ErrorTypes=or,this.isReady=!1,this.origin=window.location.origin,this.formatLocale=i,this.overlayRef=this.overlay.create({hasBackdrop:!0,positionStrategy:this.overlay.position().global().centerHorizontally().centerVertically()}),this.overlayRef.backdropClick().subscribe(()=>this.closeTemplateModal())}get hidePriceTag(){return!this.model||!this.isReady||this.currentError!==this.ErrorTypes.Fine||!this.model||this.model?.totalPrice>this.maximumPrice}get lessThanMinimum(){return!this.model||!this.isReady||this.currentError!==this.ErrorTypes.Fine||!this.model||this.model?.totalPricethis.formatLocale=n),this.watcherService.watchSelector$(this._totalPriceSelector$,this._priceFormatLocale$).subscribe(n=>{this.totalPrice=n}),this.priceService.watchPrice(this._totalPrice$,this._currency$,this.priceTagToken$).subscribe(n=>{this.model=n.estimate,this.currentError=n.error,this.isReady=!0}),Of([this._totalPrice$.pipe(gt(void 0)),this._environment$.pipe(gt(void 0)),this._totalPriceSelector$.pipe(gt(void 0)),this._priceFormatLocale$.pipe(gt(void 0)),this._currency$.pipe(gt(void 0)),this.priceTagToken$.pipe(gt(void 0)),this._linkElement$.pipe(gt(void 0))]).pipe(qe(([n,r,o,i,s,a,l])=>({totalPrice:n,environment:r,totalPriceSelector:o,priceFormatLocale:i,currency:s,priceTagToken:a,linkElement:l})),IC(kf(2500)),sl(1)).subscribe(n=>{this.validateInputs(n)})}validateInputs(n){let{priceTagToken:r,...o}=n;n.totalPrice?(n.totalPriceSelector&&console.warn("Anyday-Price-Tag was provided with both a 'total-price' and a 'total-price-selector'. Using both is not supported and may not work as expected.",o),n.priceFormatLocale&&console.warn("Anyday-Price-Tag was provided with both a 'total-price' and a 'price-format-locale'. The locale format is only needed when using the 'total-price-selector'.",o),0===eC(n.totalPrice,0)&&"0"!==n.totalPrice&&console.error("Anyday-Price-Tag was provided with a 'total-price', but value could not be read. The only supported format for 'total-price' is 0000.00",o)):n.totalPriceSelector||console.error("Anyday-Price-Tag was provided with neither a 'total-price' nor a 'total-price-selector'.",o)}showTemplateModal(n){const r=new rC(n,this.viewContainerRef);this.overlayRef.attach(r)}closeTemplateModal(){this.overlayRef.detach()}setupEnvironment(){this._environment$.pipe(this.takeUntilDestroyed()).subscribe(n=>{switch(n){case"test":tr.host="https://anyday-acceptance.yadyna.xyz";break;case"staging":tr.host="https://anyday-staging.yadyna.xyz";break;case"dev":tr.host="https://localhost:56747";break;default:tr.host="https://my.anyday.io"}})}setupLinkElement(){this._linkElement$.pipe(rr(n=>this.watcherService.observe(n)),this.takeUntilDestroyed()).subscribe(n=>{this.render.setAttribute(n,"data-content",n.innerText)})}static#e=this.\u0275fac=function(r){return new(r||e)(j(kk),j(TC),j(Pu),j(xt),j(Mt),j(dl))};static#t=this.\u0275cmp=Ph({type:e,selectors:[["anyday-price-tag"]],viewQuery:function(r,o){if(1&r&&function fv(e,t,n){iy(e,t,n)}(xF,5),2&r){let i;(function hv(e){const t=_(),n=H(),r=Jl();ss(r+1);const o=Ju(n,r);if(e.dirty&&function db(e){return 4==(4&e[I])}(t)===(2==(2&o.metadata.flags))){if(null===o.matches)e.reset([]);else{const i=ly(t,r);e.reset(i,cp),e.notifyOnChanges()}return!0}return!1})(i=pv())&&(o.linkElement=i.first)}},hostVars:3,hostBindings:function(r,o){2&r&&(Ed("hidden",o.hide),f_(o.componentClass))},inputs:{totalPrice:[dt.None,"total-price","totalPrice"],environment:"environment",totalPriceSelector:[dt.None,"total-price-selector","totalPriceSelector"],priceFormatLocale:[dt.None,"price-format-locale","priceFormatLocale"],currency:"currency",priceTagToken:[dt.None,"price-tag-token","priceTagToken"]},features:[Fv([TC]),ed],ngContentSelectors:zF,decls:28,vars:7,consts:()=>{let n,r,o,i,s,a,l,c,u,d,f,h,p,g,m,v,y,E,S,N;return n="Betal " + "\ufffd0\ufffd" + " x " + "\ufffd1\ufffd" + "",r="K\xF8b for " + "\ufffd0\ufffd" + " og del din betaling op med",o="Forhandlerkonto er blevet deaktiveret. Kontakt venligst Anyday Support.",i="Prism\xE6rke-token " + "\ufffd0\ufffd" + " er ugyldig.",s="Prism\xE6rke er ikke tilladt den " + "\ufffd0\ufffd" + ".",a="Ukendt fejl. Kontakt venligst Anyday Support.",l="Ukendt fejl, kontakt venligst Anyday Support.",c="Anyday logo",u="Tilmeld dig ANYDAY",d="Det er hurtigt, nemt og sikkert!",f="Se vilk\xE5r her",h="Ingen renter eller gebyrer",p="Du betaler kun produktets bel\xF8b, s\xE5l\xE6nge du betaler til tiden. Anyday er en fair og transparent delbetalingsl\xF8sning.",g="Hurtig godkendelse",m="Dit k\xF8b vil blive godkendt eller afvist med samme hastighed, som n\xE5r du normalt betaler online. Anyday er 100% sikkert.",v="Nem automatisk betaling",y="De " + "\ufffd0\ufffd" + " rater vil automatisk blive trukket p\xE5 dit kort. Den f\xF8rste rate p\xE5 " + "\ufffd1\ufffd" + "% vil blive trukket med det samme.",E="TILF\xD8J DINE VARER TIL KURVEN OG V\xC6LG ANYDAY SOM BETALING",S="Opdel dit k\xF8b i mindre betalinger",N=" K\xF8b for " + "\ufffd0\ufffd" + " og del din betaling i " + "\ufffd1\ufffd" + " betalinger",[[1,"inherit-font-styles",".dont-inherit"],[1,"webshop-detail-box"],[1,"payment-wrapper"],[1,"price-wrapper"],[1,"number-wrapper"],[1,"number",3,"click"],[1,"webshop-modal-link"],["linkElement",""],["class","webshop-detail-text",4,"ngIf"],[1,"webshop-detail-wrapper"],["viewBox","0 0 572 149","fill","currentColor","xmlns","http://www.w3.org/2000/svg"],["clip-path","url(#AnyClip1)"],["d","M438.354 113.236C448.301 113.236 456.411 109.104 461.461 103.136V109.706C461.461 110.81 462.357 111.706 463.461 111.706H482.426V35.193H463.461C462.357 35.193 461.461 36.0884 461.461 37.193V42.6912C456.411 37.3353 448.607 33.6627 438.66 33.6627C421.369 33.6627 401.475 46.3638 401.475 73.4493C401.475 100.382 422.134 113.236 438.354 113.236ZM442.486 93.9546C430.856 93.9546 421.981 85.0792 421.981 73.2962C421.981 61.5133 430.856 52.7909 442.486 52.7909C453.81 52.7909 462.073 61.9724 462.073 73.2962C462.073 84.6201 453.81 93.9546 442.486 93.9546Z"],["d","M348.99 113.241C358.937 113.241 367.047 109.11 372.097 103.142V109.711C372.097 110.816 372.992 111.711 374.097 111.711H393.061V0.00268555H372.097V42.6967C367.047 37.3408 359.243 33.6682 349.296 33.6682C332.004 33.6682 312.111 46.3693 312.111 73.4547C312.111 100.387 332.769 113.241 348.99 113.241ZM353.122 93.9601C341.492 93.9601 332.616 85.0846 332.616 73.3017C332.616 61.5188 341.492 52.7963 353.122 52.7963C364.446 52.7963 372.709 61.9779 372.709 73.3017C372.709 84.6256 364.446 93.9601 353.122 93.9601Z"],["d","M195.652 32.1367C183.563 32.1367 174.381 37.3827 169.332 43.5037V37.163C169.332 36.0584 168.436 35.163 167.332 35.163H150.51V111.71H172.086V71.4642C172.086 57.8449 178.513 49.8876 189.684 49.8876C200.549 49.8876 205.599 56.9268 205.599 70.24V111.71H227.175V69.0158C227.175 40.4001 211.72 32.1367 195.652 32.1367Z"],["fill-rule","evenodd","clip-rule","evenodd","d","M62.9218 111.708H40.7332L53.1917 76.5934C41.5814 67.5817 24.8056 68.4076 14.1421 79.0711L0 64.9289C16.2895 48.6394 41.0908 46.0494 60.087 57.1588L80.3667 0H101.79L141.424 111.708H119.235L111.454 89.2307C98.531 95.0519 83.6252 95.0538 70.7005 89.2364L62.9218 111.708ZM77.2884 70.202C78.5676 70.8754 79.8858 71.4487 81.2314 71.9218C87.5876 74.1567 94.5545 74.1567 100.911 71.9218C102.261 71.4472 103.583 70.8717 104.866 70.1955L91.0784 30.299L77.2884 70.202Z"],["d","M244.832 148.949H262.808C264.858 148.949 266.7 147.698 267.456 145.793L311.444 34.9127H289.292L271.352 82.9607L252.164 34.9127H229.7L260.744 109.481L244.832 148.949Z"],["d","M505.402 149.149H523.379C525.429 149.149 527.271 147.898 528.026 145.992L572.014 35.1127H549.862L531.922 83.1607L512.734 35.1127H490.27L521.314 109.681L505.402 149.149Z"],["id","AnyClip1"],["width","572","height","149","fill","white"],[1,"dont-inherit-revert"],[1,"warning-box"],["class","anyday-split-warning",4,"ngIf"],["tpr",""],[1,"webshop-detail-text"],n,r,[1,"anyday-split-warning"],[1,"content-alert",3,"ngSwitch"],[1,"ad-icn-exclamation"],["class","text",4,"ngSwitchCase"],[1,"text"],o,i,s,a,l,[1,"anyday-modal"],["class","anyday-modal-dialog anyday-modal-lg",4,"ngIf"],[1,"anyday-modal-dialog","anyday-modal-lg"],[1,"anyday-modal-wrapper"],[1,"anyday-modal-content","payment-black-version"],[1,"anyday-modal-header"],["aria-label","Close",1,"ad-icn-close",3,"click"],[1,"anyday-modal-body"],[1,"order-summary"],[1,"payment-type"],[1,"payment-logo"],["alt",c,2,"width","220px",3,"src"],[1,"payment-content"],["class","summary-payment",4,"ngIf"],[1,"link-payment"],["target","_blank",1,"link-button",3,"href"],u,[1,"ad-icn-arrow-right","ad-icns"],d,[1,"link-terms"],["href","https://www.anyday.io/da/terms-conditions-shopper/","target","_blank",1,"terms-link"],f,[1,"anyday-modal-footer"],[1,"ad-icn-teaser-wrapper"],[1,"anyday-row"],[1,"anyday-col-md-4"],[1,"ad-icn-teaser-item"],[1,"ad-icn-teaser-title"],[1,"ad-icn-teaser","ad-icn-interest"],h,[1,"ad-icn-teaser-content"],p,[1,"ad-icn-teaser","ad-icn-waiting-time"],g,m,[1,"ad-icn-teaser","ad-icn-credit-card"],v,y,[1,"payment-text-footer"],[1,"footer-bar"],E,[1,"summary-payment"],[1,"payment-title"],S,[1,"symbol"],N]},template:function(r,o){if(1&r){const i=Cd();(function tv(e){const t=_()[ce][Oe];if(!t.projection){const r=t.projection=function cs(e,t){const n=[];for(let r=0;rclearTimeout(n)},scheduleBeforeRender(e){if(typeof window>"u")return fl.schedule(e,0);if(typeof window.requestAnimationFrame>"u")return fl.schedule(e,16);const t=window.requestAnimationFrame(e);return()=>window.cancelAnimationFrame(t)}};let Wf;function KF(e,t,n){let r=n;return function WF(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}(e)&&t.some((o,i)=>!("*"===o||!function qF(e,t){if(!Wf){const n=Element.prototype;Wf=n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE&&Wf.call(e,t)}(e,o)||(r=i,0))),r}class tj{constructor(t,n){this.componentFactory=n.get(Hn).resolveComponentFactory(t)}create(t){return new nj(this.componentFactory,t)}}class nj{constructor(t,n){this.componentFactory=t,this.injector=n,this.eventEmitters=new nr(1),this.events=this.eventEmitters.pipe(rr(r=>jC(...r))),this.componentRef=null,this.viewChangeDetectorRef=null,this.inputChanges=null,this.hasInputChanges=!1,this.implementsOnChanges=!1,this.scheduledChangeDetectionFn=null,this.scheduledDestroyFn=null,this.initialInputValues=new Map,this.unchangedInputs=new Set(this.componentFactory.inputs.map(({propName:r})=>r)),this.ngZone=this.injector.get(G),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(t){this.runInZone(()=>{if(null!==this.scheduledDestroyFn)return this.scheduledDestroyFn(),void(this.scheduledDestroyFn=null);null===this.componentRef&&this.initializeComponent(t)})}disconnect(){this.runInZone(()=>{null===this.componentRef||null!==this.scheduledDestroyFn||(this.scheduledDestroyFn=fl.schedule(()=>{null!==this.componentRef&&(this.componentRef.destroy(),this.componentRef=null,this.viewChangeDetectorRef=null)},10))})}getInputValue(t){return this.runInZone(()=>null===this.componentRef?this.initialInputValues.get(t):this.componentRef.instance[t])}setInputValue(t,n,r){this.runInZone(()=>{r&&(n=r.call(this.componentRef?.instance,n)),null!==this.componentRef?function QF(e,t){return e===t||e!=e&&t!=t}(n,this.getInputValue(t))&&(void 0!==n||!this.unchangedInputs.has(t))||(this.recordInputChange(t,n),this.unchangedInputs.delete(t),this.hasInputChanges=!0,this.componentRef.instance[t]=n,this.scheduleDetectChanges()):this.initialInputValues.set(t,n)})}initializeComponent(t){const n=ke.create({providers:[],parent:this.injector}),r=function JF(e,t){const n=e.childNodes,r=t.map(()=>[]);let o=-1;t.some((i,s)=>"*"===i&&(o=s,!0));for(let i=0,s=n.length;i{this.initialInputValues.has(t)&&this.setInputValue(t,this.initialInputValues.get(t),n)}),this.initialInputValues.clear()}initializeOutputs(t){const n=this.componentFactory.outputs.map(({propName:r,templateName:o})=>t.instance[r].pipe(qe(s=>({name:o,value:s}))));this.eventEmitters.next(n)}callNgOnChanges(t){if(!this.implementsOnChanges||null===this.inputChanges)return;const n=this.inputChanges;this.inputChanges=null,t.instance.ngOnChanges(n)}markViewForCheck(t){this.hasInputChanges&&(this.hasInputChanges=!1,t.markForCheck())}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=fl.scheduleBeforeRender(()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()}))}recordInputChange(t,n){if(!this.implementsOnChanges)return;null===this.inputChanges&&(this.inputChanges={});const r=this.inputChanges[t];if(r)return void(r.currentValue=n);const o=this.unchangedInputs.has(t),i=o?void 0:this.getInputValue(t);this.inputChanges[t]=new kp(i,n,o)}detectChanges(){null!==this.componentRef&&(this.callNgOnChanges(this.componentRef),this.markViewForCheck(this.viewChangeDetectorRef),this.componentRef.changeDetectorRef.detectChanges())}runInZone(t){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(t):t()}}class rj extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}}function QC(e){return Ye((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}class hl{}class pl{}class mt{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?"string"==typeof t?this.lazyInit=()=>{this.headers=new Map,t.split("\n").forEach(n=>{const r=n.indexOf(":");if(r>0){const o=n.slice(0,r),i=o.toLowerCase(),s=n.slice(r+1).trim();this.maybeSetNormalizedName(o,i),this.headers.has(i)?this.headers.get(i).push(s):this.headers.set(i,[s])}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((n,r)=>{this.setHeaderEntries(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof mt?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){const n=new mt;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof mt?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){const n=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if("string"==typeof r&&(r=[r]),0===r.length)return;this.maybeSetNormalizedName(t.name,n);const o=("a"===t.op?this.headers.get(n):void 0)||[];o.push(...r),this.headers.set(n,o);break;case"d":const i=t.value;if(i){let s=this.headers.get(n);if(!s)return;s=s.filter(a=>-1===i.indexOf(a)),0===s.length?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}else this.headers.delete(n),this.normalizedNames.delete(n)}}setHeaderEntries(t,n){const r=(Array.isArray(n)?n:[n]).map(i=>i.toString()),o=t.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(t,o)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}}class sj{encodeKey(t){return ZC(t)}encodeValue(t){return ZC(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const lj=/%(\d[a-f0-9])/gi,cj={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function ZC(e){return encodeURIComponent(e).replace(lj,(t,n)=>cj[n]??t)}function gl(e){return`${e}`}class In{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new sj,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function aj(e,t){const n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{const i=o.indexOf("="),[s,a]=-1==i?[t.decodeKey(o),""]:[t.decodeKey(o.slice(0,i)),t.decodeValue(o.slice(i+1))],l=n.get(s)||[];l.push(a),n.set(s,l)}),n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{const r=t.fromObject[n],o=Array.isArray(r)?r.map(gl):[gl(r)];this.map.set(n,o)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){const n=[];return Object.keys(t).forEach(r=>{const o=t[r];Array.isArray(o)?o.forEach(i=>{n.push({param:r,value:i,op:"a"})}):n.push({param:r,value:o,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const n=this.encoder.encodeKey(t);return this.map.get(t).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const n=new In({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const n=("a"===t.op?this.map.get(t.param):void 0)||[];n.push(gl(t.value)),this.map.set(t.param,n);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let r=this.map.get(t.param)||[];const o=r.indexOf(gl(t.value));-1!==o&&r.splice(o,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class uj{constructor(){this.map=new Map}set(t,n){return this.map.set(t,n),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}}function XC(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function JC(e){return typeof Blob<"u"&&e instanceof Blob}function KC(e){return typeof FormData<"u"&&e instanceof FormData}class $i{constructor(t,n,r,o){let i;if(this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function dj(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||o?(this.body=void 0!==r?r:null,i=o):i=r,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),this.transferCache=i.transferCache),this.headers??=new mt,this.context??=new uj,this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=n;else{const a=n.indexOf("?");this.urlWithParams=n+(-1===a?"?":ad.set(f,t.setHeaders[f]),l)),t.setParams&&(c=Object.keys(t.setParams).reduce((d,f)=>d.set(f,t.setParams[f]),c)),new $i(n,r,i,{params:c,headers:l,context:u,reportProgress:a,responseType:o,withCredentials:s})}}var Sn=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}(Sn||{});class Yf{constructor(t,n=zi.Ok,r="OK"){this.headers=t.headers||new mt,this.status=void 0!==t.status?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class ml extends Yf{constructor(t={}){super(t),this.type=Sn.ResponseHeader}clone(t={}){return new ml({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class ar extends Yf{constructor(t={}){super(t),this.type=Sn.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new ar({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class vo extends Yf{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||"(unknown url)"}`:`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}var zi=function(e){return e[e.Continue=100]="Continue",e[e.SwitchingProtocols=101]="SwitchingProtocols",e[e.Processing=102]="Processing",e[e.EarlyHints=103]="EarlyHints",e[e.Ok=200]="Ok",e[e.Created=201]="Created",e[e.Accepted=202]="Accepted",e[e.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",e[e.NoContent=204]="NoContent",e[e.ResetContent=205]="ResetContent",e[e.PartialContent=206]="PartialContent",e[e.MultiStatus=207]="MultiStatus",e[e.AlreadyReported=208]="AlreadyReported",e[e.ImUsed=226]="ImUsed",e[e.MultipleChoices=300]="MultipleChoices",e[e.MovedPermanently=301]="MovedPermanently",e[e.Found=302]="Found",e[e.SeeOther=303]="SeeOther",e[e.NotModified=304]="NotModified",e[e.UseProxy=305]="UseProxy",e[e.Unused=306]="Unused",e[e.TemporaryRedirect=307]="TemporaryRedirect",e[e.PermanentRedirect=308]="PermanentRedirect",e[e.BadRequest=400]="BadRequest",e[e.Unauthorized=401]="Unauthorized",e[e.PaymentRequired=402]="PaymentRequired",e[e.Forbidden=403]="Forbidden",e[e.NotFound=404]="NotFound",e[e.MethodNotAllowed=405]="MethodNotAllowed",e[e.NotAcceptable=406]="NotAcceptable",e[e.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",e[e.RequestTimeout=408]="RequestTimeout",e[e.Conflict=409]="Conflict",e[e.Gone=410]="Gone",e[e.LengthRequired=411]="LengthRequired",e[e.PreconditionFailed=412]="PreconditionFailed",e[e.PayloadTooLarge=413]="PayloadTooLarge",e[e.UriTooLong=414]="UriTooLong",e[e.UnsupportedMediaType=415]="UnsupportedMediaType",e[e.RangeNotSatisfiable=416]="RangeNotSatisfiable",e[e.ExpectationFailed=417]="ExpectationFailed",e[e.ImATeapot=418]="ImATeapot",e[e.MisdirectedRequest=421]="MisdirectedRequest",e[e.UnprocessableEntity=422]="UnprocessableEntity",e[e.Locked=423]="Locked",e[e.FailedDependency=424]="FailedDependency",e[e.TooEarly=425]="TooEarly",e[e.UpgradeRequired=426]="UpgradeRequired",e[e.PreconditionRequired=428]="PreconditionRequired",e[e.TooManyRequests=429]="TooManyRequests",e[e.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",e[e.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",e[e.InternalServerError=500]="InternalServerError",e[e.NotImplemented=501]="NotImplemented",e[e.BadGateway=502]="BadGateway",e[e.ServiceUnavailable=503]="ServiceUnavailable",e[e.GatewayTimeout=504]="GatewayTimeout",e[e.HttpVersionNotSupported=505]="HttpVersionNotSupported",e[e.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",e[e.InsufficientStorage=507]="InsufficientStorage",e[e.LoopDetected=508]="LoopDetected",e[e.NotExtended=510]="NotExtended",e[e.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",e}(zi||{});function qf(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,transferCache:e.transferCache}}let hj=(()=>{class e{constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof $i)i=n;else{let l,c;l=o.headers instanceof mt?o.headers:new mt(o.headers),o.params&&(c=o.params instanceof In?o.params:new In({fromObject:o.params})),i=new $i(n,r,void 0!==o.body?o.body:null,{headers:l,context:o.context,params:c,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}const s=jf(i).pipe(function ij(e,t){return J(t)?Fi(e,t,1):Fi(e,1)}(l=>this.handler.handle(l)));if(n instanceof $i||"events"===o.observe)return s;const a=s.pipe(yo(l=>l instanceof ar));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(qe(l=>{if(null!==l.body&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return a.pipe(qe(l=>{if(null!==l.body&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return a.pipe(qe(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new Error("Response is not a string.");return l.body}));default:return a.pipe(qe(l=>l.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:(new In).append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,o={}){return this.request("PATCH",n,qf(o,r))}post(n,r,o={}){return this.request("POST",n,qf(o,r))}put(n,r,o={}){return this.request("PUT",n,qf(o,r))}static#e=this.\u0275fac=function(r){return new(r||e)(D(hl))};static#t=this.\u0275prov=b({token:e,factory:e.\u0275fac})}return e})();function tE(e,t){return t(e)}function _j(e,t){return(n,r)=>t.intercept(n,{handle:o=>e(o,r)})}const wj=new M(""),Ui=new M(""),nE=new M(""),rE=new M("");function Dj(){let e=null;return(t,n)=>{null===e&&(e=(T(wj,{optional:!0})??[]).reduceRight(_j,tE));const r=T(zr),o=r.add();return e(t,n).pipe(QC(()=>r.remove(o)))}}let oE=(()=>{class e extends hl{constructor(n,r){super(),this.backend=n,this.injector=r,this.chain=null,this.pendingTasks=T(zr);const o=T(rE,{optional:!0});this.backend=o??n}handle(n){if(null===this.chain){const o=Array.from(new Set([...this.injector.get(Ui),...this.injector.get(nE,[])]));this.chain=o.reduceRight((i,s)=>function vj(e,t,n){return(r,o)=>function wM(e,t){e instanceof Nr&&e.assertNotDestroyed();const r=gn(e),o=Xe(void 0);try{return t()}finally{gn(r),Xe(o)}}(n,()=>t(r,i=>e(i,o)))}(i,s,this.injector),tE)}const r=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(QC(()=>this.pendingTasks.remove(r)))}static#e=this.\u0275fac=function(r){return new(r||e)(D(pl),D(bt))};static#t=this.\u0275prov=b({token:e,factory:e.\u0275fac})}return e})();const Ij=/^\)\]\}',?\n/;let sE=(()=>{class e{constructor(n){this.xhrFactory=n}handle(n){if("JSONP"===n.method)throw new C(-2800,!1);const r=this.xhrFactory;return(r.\u0275loadImpl?mo(r.\u0275loadImpl()):jf(null)).pipe(rr(()=>new ye(i=>{const s=r.build();if(s.open(n.method,n.urlWithParams),n.withCredentials&&(s.withCredentials=!0),n.headers.forEach((g,m)=>s.setRequestHeader(g,m.join(","))),n.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){const g=n.detectContentTypeHeader();null!==g&&s.setRequestHeader("Content-Type",g)}if(n.responseType){const g=n.responseType.toLowerCase();s.responseType="json"!==g?g:"text"}const a=n.serializeBody();let l=null;const c=()=>{if(null!==l)return l;const g=s.statusText||"OK",m=new mt(s.getAllResponseHeaders()),v=function Sj(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(s)||n.url;return l=new ml({headers:m,status:s.status,statusText:g,url:v}),l},u=()=>{let{headers:g,status:m,statusText:v,url:y}=c(),E=null;m!==zi.NoContent&&(E=typeof s.response>"u"?s.responseText:s.response),0===m&&(m=E?zi.Ok:0);let S=m>=200&&m<300;if("json"===n.responseType&&"string"==typeof E){const N=E;E=E.replace(Ij,"");try{E=""!==E?JSON.parse(E):null}catch(O){E=N,S&&(S=!1,E={error:O,text:E})}}S?(i.next(new ar({body:E,headers:g,status:m,statusText:v,url:y||void 0})),i.complete()):i.error(new vo({error:E,headers:g,status:m,statusText:v,url:y||void 0}))},d=g=>{const{url:m}=c(),v=new vo({error:g,status:s.status||0,statusText:s.statusText||"Unknown Error",url:m||void 0});i.error(v)};let f=!1;const h=g=>{f||(i.next(c()),f=!0);let m={type:Sn.DownloadProgress,loaded:g.loaded};g.lengthComputable&&(m.total=g.total),"text"===n.responseType&&s.responseText&&(m.partialText=s.responseText),i.next(m)},p=g=>{let m={type:Sn.UploadProgress,loaded:g.loaded};g.lengthComputable&&(m.total=g.total),i.next(m)};return s.addEventListener("load",u),s.addEventListener("error",d),s.addEventListener("timeout",d),s.addEventListener("abort",d),n.reportProgress&&(s.addEventListener("progress",h),null!==a&&s.upload&&s.upload.addEventListener("progress",p)),s.send(a),i.next({type:Sn.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",u),s.removeEventListener("timeout",d),n.reportProgress&&(s.removeEventListener("progress",h),null!==a&&s.upload&&s.upload.removeEventListener("progress",p)),s.readyState!==s.DONE&&s.abort()}})))}static#e=this.\u0275fac=function(r){return new(r||e)(D(ND))};static#t=this.\u0275prov=b({token:e,factory:e.\u0275fac})}return e})();const Xf=new M(""),aE=new M("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),lE=new M("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class cE{}let xj=(()=>{class e{constructor(n,r,o){this.doc=n,this.platform=r,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=mD(n,this.cookieName),this.lastCookieString=n),this.lastToken}static#e=this.\u0275fac=function(r){return new(r||e)(D(me),D(pn),D(aE))};static#t=this.\u0275prov=b({token:e,factory:e.\u0275fac})}return e})();function Aj(e,t){const n=e.url.toLowerCase();if(!T(Xf)||"GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t(e);const r=T(cE).getToken(),o=T(lE);return null!=r&&!e.headers.has(o)&&(e=e.clone({headers:e.headers.set(o,r)})),t(e)}var Tn=function(e){return e[e.Interceptors=0]="Interceptors",e[e.LegacyInterceptors=1]="LegacyInterceptors",e[e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",e[e.NoXsrfProtection=3]="NoXsrfProtection",e[e.JsonpSupport=4]="JsonpSupport",e[e.RequestsMadeViaParent=5]="RequestsMadeViaParent",e[e.Fetch=6]="Fetch",e}(Tn||{});function Oj(...e){const t=[hj,sE,oE,{provide:hl,useExisting:oE},{provide:pl,useExisting:sE},{provide:Ui,useValue:Aj,multi:!0},{provide:Xf,useValue:!0},{provide:cE,useClass:xj}];for(const n of e)t.push(...n.\u0275providers);return function Ms(e){return{\u0275providers:e}}(t)}const uE=new M("");function Rj(){return function lr(e,t){return{\u0275kind:e,\u0275providers:t}}(Tn.LegacyInterceptors,[{provide:uE,useFactory:Dj},{provide:Ui,useExisting:uE,multi:!0}])}let Pj=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=vt({type:e});static#n=this.\u0275inj=ft({providers:[Oj(Rj())]})}return e})(),Bj=(()=>{class e{constructor(n){this.injector=n}ngDoBootstrap(n){const r=function oj(e,t){const n=function XF(e,t){return t.get(Hn).resolveComponentFactory(e).inputs}(e,t.injector),r=t.strategyFactory||new tj(e,t.injector),o=function ZF(e){const t={};return e.forEach(({propName:n,templateName:r,transform:o})=>{t[function GF(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}(r)]=[n,o]}),t}(n);class i extends rj{static#e=this.observedAttributes=Object.keys(o);get ngElementStrategy(){if(!this._ngElementStrategy){const a=this._ngElementStrategy=r.create(this.injector||t.injector);n.forEach(({propName:l,transform:c})=>{if(!this.hasOwnProperty(l))return;const u=this[l];delete this[l],a.setInputValue(l,u,c)})}return this._ngElementStrategy}constructor(a){super(),this.injector=a}attributeChangedCallback(a,l,c,u){const[d,f]=o[a];this.ngElementStrategy.setInputValue(d,c,f)}connectedCallback(){let a=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),a=!0),this.ngElementStrategy.connect(this),a||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(a=>{const l=new CustomEvent(a.name,{detail:a.value});this.dispatchEvent(l)})}}return n.forEach(({propName:s,transform:a})=>{Object.defineProperty(i.prototype,s,{get(){return this.ngElementStrategy.getInputValue(s)},set(l){this.ngElementStrategy.setInputValue(s,l,a)},configurable:!0,enumerable:!0})}),i}(UF,{injector:this.injector});customElements.define("anyday-price-tag",r)}static#e=this.\u0275fac=function(r){return new(r||e)(D(ke))};static#t=this.\u0275mod=vt({type:e});static#n=this.\u0275inj=ft({imports:[v1,Pj,NF]})}return e})();const ct=void 0;(function GP(e,t,n){(function Ix(e,t,n){"string"!=typeof t&&(n=t,t=e[re.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),so[t]=e,n&&(so[t][re.ExtraData]=n)})(e,t,n)})(["da",[["a","p"],["AM","PM"],ct],[["AM","PM"],ct,ct],[["S","M","T","O","T","F","L"],["s\xf8n.","man.","tir.","ons.","tor.","fre.","l\xf8r."],["s\xf8ndag","mandag","tirsdag","onsdag","torsdag","fredag","l\xf8rdag"],["s\xf8","ma","ti","on","to","fr","l\xf8"]],[["S","M","T","O","T","F","L"],["s\xf8n","man","tir","ons","tor","fre","l\xf8r"],["s\xf8ndag","mandag","tirsdag","onsdag","torsdag","fredag","l\xf8rdag"],["s\xf8","ma","ti","on","to","fr","l\xf8"]],[["J","F","M","A","M","J","J","A","S","O","N","D"],["jan.","feb.","mar.","apr.","maj","jun.","jul.","aug.","sep.","okt.","nov.","dec."],["januar","februar","marts","april","maj","juni","juli","august","september","oktober","november","december"]],ct,[["fKr","eKr"],["f.Kr.","e.Kr."],ct],1,[6,0],["dd.MM.y","d. MMM y","d. MMMM y","EEEE 'den' d. MMMM y"],["HH.mm","HH.mm.ss","HH.mm.ss z","HH.mm.ss zzzz"],["{1} {0}",ct,"{1} 'kl'. {0}",ct],[",",".",";","%","+","-","E","\xd7","\u2030","\u221e","NaN","."],["#,##0.###","#,##0\xa0%","#,##0.00\xa0\xa4","#E0"],"DKK","kr.","dansk krone",{AUD:["AU$","$"],BYN:[ct,"Br."],DKK:["kr."],ISK:[ct,"kr."],JPY:["JP\xa5","\xa5"],NOK:[ct,"kr."],PHP:[ct,"\u20b1"],RON:[ct,"L"],SEK:[ct,"kr."],THB:["\u0e3f"],TWD:["NT$"],USD:["US$","$"]},"ltr",function Hj(e){const t=e,n=Math.floor(Math.abs(e)),r=parseInt(e.toString().replace(/^[^.]*\.?|0+$/g,""),10)||0;return 1===t||0!==r&&(0===n||1===n)?1:5}],"da"),y1().bootstrapModule(Bj).catch(e=>console.error(e))}},vl=>{vl(vl.s=760)}]); (self.webpackChunkwebshop_price_tag=self.webpackChunkwebshop_price_tag||[]).push([[260],{940:(K,we,Ne)=>{"use strict";if(Ne(496),Ne(728),Ne(219),!(typeof Prototype>"u")){if("1.7"!==Prototype.Version&&"1.7.1"!==Prototype.Version&&"1.7.2"!==Prototype.Version)throw new Error("prototypejs version "+Prototype.Version+" is not supported");typeof Array.prototype._reverse<"u"&&(Array.prototype.reverse=Array.prototype._reverse),Array.from=function(){var de;try{de=Symbol.iterator?Symbol.iterator:"Symbol(Symbol.iterator)"}catch{de="Symbol(Symbol.iterator)"}var fe=Object.prototype.toString,He=function(z){return"function"==typeof z||"[object Function]"===fe.call(z)},Je=Math.pow(2,53)-1;return function(me){var Re=Object(me),je=He(Re[de]);if(null==me&&!je)throw new TypeError("Array.from requires an array-like object or iterator - not null or undefined");var De,ke=arguments.length>1?arguments[1]:void 0;if(typeof ke<"u"){if(!He(ke))throw new TypeError("Array.from: when provided, the second argument must be a function");arguments.length>2&&(De=arguments[2])}var D=function(z){var me=function(z){var me=Number(z);return isNaN(me)?0:0!==me&&isFinite(me)?(me>0?1:-1)*Math.floor(Math.abs(me)):me}(z);return Math.min(Math.max(me,0),Je)}(Re.length);return function(me,ve,Re,je,ke,De){for(var D=0;D"u"?De(qe,D):De.call(me,qe,D):qe,D+=1}if(ke)throw new TypeError("Array.from: provided arrayLike or iterator has length more then 2 ** 52 - 1");return ve.length=Re,ve}(De,He(this)?Object(new this(D)):new Array(D),D,function(me,ve){var Re=me&&ve[de]();return function(ke){return me?Re.next():ve[ke]}}(je,Re),je,ke)}}(),String.prototype.startsWith=function(de,fe){var He=fe>0?0|fe:0;return this.substring(He,He+de.length)===de},String.prototype.endsWith=function(de,fe){return(void 0===fe||fe>this.length)&&(fe=this.length),this.substring(fe-de.length,fe)===de}}},219:()=>{!function(K,we){"use strict";function Ne(){var n=it.splice(0,it.length);for(R=0;n.length;)n.shift().call(null,n.shift())}function Ke(n,o){for(var u=0,f=n.length;u1)&&je(this)}}}),re(w,Fe,{value:function(F){-1>0,xe="__"+Xe+Et,Le="addEventListener",Ue="attached",Te="Callback",Ae="detached",ot="extends",Fe="attributeChanged"+Te,Tt=Ue+Te,pt="connected"+Te,dt="disconnected"+Te,ct="created"+Te,yt=Ae+Te,lt="ADDITION",ht="REMOVAL",Be="DOMAttrModified",_t="DOMContentLoaded",gt="DOMSubtreeModified",Ye="<",Ge="=",vt=/^[A-Z][._A-Z0-9]*-[-._A-Z0-9]*$/,bt=["ANNOTATION-XML","COLOR-PROFILE","FONT-FACE","FONT-FACE-SRC","FONT-FACE-URI","FONT-FACE-FORMAT","FONT-FACE-NAME","MISSING-GLYPH"],et=[],e=[],r="",c=D.documentElement,i=et.indexOf||function(n){for(var o=this.length;o--&&this[o]!==n;);return o},l=Ee.prototype,h=l.hasOwnProperty,g=l.isPrototypeOf,_=Ee.defineProperty,N=[],P=Ee.getOwnPropertyDescriptor,k=Ee.getOwnPropertyNames,W=Ee.getPrototypeOf,V=Ee.setPrototypeOf,x=!!Ee.__proto__,q="__dreCEv1",se=K.customElements,te=!/^force/.test(we.type)&&!!(se&&se.define&&se.get&&se.whenDefined),S=Ee.create||Ee,v=K.Map||function(){var n,o=[],u=[];return{get:function(f){return u[i.call(o,f)]},set:function(f,T){(n=i.call(o,f))<0?u[o.push(f)-1]=T:u[n]=T}}},_e=K.Promise||function(n){function o(w){for(f=!0;u.length;)u.shift()(w)}var u=[],f=!1,T={catch:function(){return T},then:function(w){return u.push(w),f&&setTimeout(o,1),T}};return n(o),T},Y=!1,ie=S(null),U=S(null),y=new v,$=function(n){return n.toLowerCase()},p=Ee.create||function n(o){return o?(n.prototype=o,new n):this},B=V||(x?function(n,o){return n.__proto__=o,n}:k&&P?function(){function n(o,u){for(var f,T=k(u),w=0,C=T.length;w
",new O(function(n,o){if(n[0]&&"childList"==n[0].type&&!n[0].removedNodes[0].childNodes.length){var u=(Ve=P(ee,"innerHTML"))&&Ve.set;u&&_(ee,"innerHTML",{set:function(f){for(;this.lastChild;)this.removeChild(this.lastChild);u.call(this,f)}})}o.disconnect(),Ve=null}).observe(Ve,{childList:!0,subtree:!0}),Ve.innerHTML=""),M||(V||x?(ft=function(n,o){g.call(o,n)||Je(n,o)},Pe=Je):(ft=function(n,o){n[xe]||(n[xe]=Ee(!0),Je(n,o))},Pe=ft),ne?(A=!1,n=P(ee,Le),o=n.value,u=function(w){var C=new CustomEvent(Be,{bubbles:!0});C.attrName=w,C.prevValue=s.call(this,w),C.newValue=null,C[ht]=C.attrChange=2,I.call(this,w),t.call(this,C)},f=function(w,C){var le=H.call(this,w),F=le&&s.call(this,w),ae=new CustomEvent(Be,{bubbles:!0});pe.call(this,w,C),ae.attrName=w,ae.prevValue=le?F:null,ae.newValue=C,le?ae.MODIFICATION=ae.attrChange=1:ae[lt]=ae.attrChange=0,t.call(this,ae)},T=function(w){var C,le=w.currentTarget,F=le[xe],ae=w.propertyName;F.hasOwnProperty(ae)&&(F=F[ae],(C=new CustomEvent(Be,{bubbles:!0})).attrName=F.name,C.prevValue=F.value||null,C.newValue=F.value=le[ae]||null,null==C.prevValue?C[lt]=C.attrChange=0:C.MODIFICATION=C.attrChange=1,t.call(le,C))},n.value=function(w,C,le){w===Be&&this[Fe]&&this.setAttribute!==f&&(this[xe]={className:{name:"class",value:this.className}},this.setAttribute=f,this.removeAttribute=u,o.call(this,"propertychange",T)),o.call(this,w,C,le)},_(ee,Le,n)):O||(c[Le](Be,L),c.setAttribute(xe,1),c.removeAttribute(xe),A&&(ut=function(n){var o,u,f,T=this;if(T===n.target){for(f in o=T[xe],T[xe]=u=Ce(T),u){if(!(f in o))return at(0,T,f,o[f],u[f],lt);if(u[f]!==o[f])return at(1,T,f,o[f],u[f],"MODIFICATION")}for(f in o)if(!(f in u))return at(2,T,f,o[f],u[f],ht)}},at=function(n,o,u,f,T,w){var C={attrChange:n,currentTarget:o,attrName:u,prevValue:f,newValue:T};C[w]=n,st(C)},Ce=function(n){for(var o,u,f={},T=n.attributes,w=0,C=T.length;w$");if(o[ot]="a",(n.prototype=p(be.prototype)).constructor=n,K.customElements.define(u,n,o),!f.test(D.createElement("a",{is:u}).outerHTML)||!f.test((new n).outerHTML))throw o}(function n(){return Reflect.construct(be,[],n)},{},"document-register-element-a"+Et)}catch{De()}if(!we.noBuiltIn)try{if(d.call(D,"a","a").outerHTML.indexOf("is")<0)throw{}}catch{$=function(o){return{is:o.toLowerCase()}}}}(window)},728:()=>{"use strict";!function(e){const r=e.performance;function c(G){r&&r.mark&&r.mark(G)}function i(G,b){r&&r.measure&&r.measure(G,b)}c("Zone");const l=e.__Zone_symbol_prefix||"__zone_symbol__";function h(G){return l+G}const g=!0===e[h("forceDuplicateZoneCheck")];if(e.Zone){if(g||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}let _=(()=>{class G{static#e=this.__symbol__=h;static assertZonePatched(){if(e.Promise!==ee.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let t=G.current;for(;t.parent;)t=t.parent;return t}static get current(){return re.zone}static get currentTask(){return Ie}static __load_patch(t,s,H=!1){if(ee.hasOwnProperty(t)){if(!H&&g)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){const I="Zone:"+t;c(I),ee[t]=s(e,G,ne),i(I,I)}}get parent(){return this._parent}get name(){return this._name}constructor(t,s){this._parent=t,this._name=s?s.name||"unnamed":"",this._properties=s&&s.properties||{},this._zoneDelegate=new P(this,this._parent&&this._parent._zoneDelegate,s)}get(t){const s=this.getZoneWith(t);if(s)return s._properties[t]}getZoneWith(t){let s=this;for(;s;){if(s._properties.hasOwnProperty(t))return s;s=s._parent}return null}fork(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}wrap(t,s){if("function"!=typeof t)throw new Error("Expecting function got: "+t);const H=this._zoneDelegate.intercept(this,t,s),I=this;return function(){return I.runGuarded(H,this,arguments,s)}}run(t,s,H,I){re={parent:re,zone:this};try{return this._zoneDelegate.invoke(this,t,s,H,I)}finally{re=re.parent}}runGuarded(t,s=null,H,I){re={parent:re,zone:this};try{try{return this._zoneDelegate.invoke(this,t,s,H,I)}catch(pe){if(this._zoneDelegate.handleError(this,pe))throw pe}}finally{re=re.parent}}runTask(t,s,H){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||_e).name+"; Execution: "+this.name+")");if(t.state===Y&&(t.type===be||t.type===O))return;const I=t.state!=y;I&&t._transitionTo(y,U),t.runCount++;const pe=Ie;Ie=t,re={parent:re,zone:this};try{t.type==O&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,s,H)}catch(d){if(this._zoneDelegate.handleError(this,d))throw d}}finally{t.state!==Y&&t.state!==p&&(t.type==be||t.data&&t.data.isPeriodic?I&&t._transitionTo(U,y):(t.runCount=0,this._updateTaskCount(t,-1),I&&t._transitionTo(Y,y,Y))),re=re.parent,Ie=pe}}scheduleTask(t){if(t.zone&&t.zone!==this){let H=this;for(;H;){if(H===t.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${t.zone.name}`);H=H.parent}}t._transitionTo(ie,Y);const s=[];t._zoneDelegates=s,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(H){throw t._transitionTo(p,ie,Y),this._zoneDelegate.handleError(this,H),H}return t._zoneDelegates===s&&this._updateTaskCount(t,1),t.state==ie&&t._transitionTo(U,ie),t}scheduleMicroTask(t,s,H,I){return this.scheduleTask(new k(B,t,s,H,I,void 0))}scheduleMacroTask(t,s,H,I,pe){return this.scheduleTask(new k(O,t,s,H,I,pe))}scheduleEventTask(t,s,H,I,pe){return this.scheduleTask(new k(be,t,s,H,I,pe))}cancelTask(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||_e).name+"; Execution: "+this.name+")");if(t.state===U||t.state===y){t._transitionTo($,U,y);try{this._zoneDelegate.cancelTask(this,t)}catch(s){throw t._transitionTo(p,$),this._zoneDelegate.handleError(this,s),s}return this._updateTaskCount(t,-1),t._transitionTo(Y,$),t.runCount=0,t}}_updateTaskCount(t,s){const H=t._zoneDelegates;-1==s&&(t._zoneDelegates=null);for(let I=0;IG.hasTask(t,s),onScheduleTask:(G,b,t,s)=>G.scheduleTask(t,s),onInvokeTask:(G,b,t,s,H,I)=>G.invokeTask(t,s,H,I),onCancelTask:(G,b,t,s)=>G.cancelTask(t,s)};class P{constructor(b,t,s){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=b,this._parentDelegate=t,this._forkZS=s&&(s&&s.onFork?s:t._forkZS),this._forkDlgt=s&&(s.onFork?t:t._forkDlgt),this._forkCurrZone=s&&(s.onFork?this.zone:t._forkCurrZone),this._interceptZS=s&&(s.onIntercept?s:t._interceptZS),this._interceptDlgt=s&&(s.onIntercept?t:t._interceptDlgt),this._interceptCurrZone=s&&(s.onIntercept?this.zone:t._interceptCurrZone),this._invokeZS=s&&(s.onInvoke?s:t._invokeZS),this._invokeDlgt=s&&(s.onInvoke?t:t._invokeDlgt),this._invokeCurrZone=s&&(s.onInvoke?this.zone:t._invokeCurrZone),this._handleErrorZS=s&&(s.onHandleError?s:t._handleErrorZS),this._handleErrorDlgt=s&&(s.onHandleError?t:t._handleErrorDlgt),this._handleErrorCurrZone=s&&(s.onHandleError?this.zone:t._handleErrorCurrZone),this._scheduleTaskZS=s&&(s.onScheduleTask?s:t._scheduleTaskZS),this._scheduleTaskDlgt=s&&(s.onScheduleTask?t:t._scheduleTaskDlgt),this._scheduleTaskCurrZone=s&&(s.onScheduleTask?this.zone:t._scheduleTaskCurrZone),this._invokeTaskZS=s&&(s.onInvokeTask?s:t._invokeTaskZS),this._invokeTaskDlgt=s&&(s.onInvokeTask?t:t._invokeTaskDlgt),this._invokeTaskCurrZone=s&&(s.onInvokeTask?this.zone:t._invokeTaskCurrZone),this._cancelTaskZS=s&&(s.onCancelTask?s:t._cancelTaskZS),this._cancelTaskDlgt=s&&(s.onCancelTask?t:t._cancelTaskDlgt),this._cancelTaskCurrZone=s&&(s.onCancelTask?this.zone:t._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const H=s&&s.onHasTask;(H||t&&t._hasTaskZS)&&(this._hasTaskZS=H?s:N,this._hasTaskDlgt=t,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=b,s.onScheduleTask||(this._scheduleTaskZS=N,this._scheduleTaskDlgt=t,this._scheduleTaskCurrZone=this.zone),s.onInvokeTask||(this._invokeTaskZS=N,this._invokeTaskDlgt=t,this._invokeTaskCurrZone=this.zone),s.onCancelTask||(this._cancelTaskZS=N,this._cancelTaskDlgt=t,this._cancelTaskCurrZone=this.zone))}fork(b,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,b,t):new _(b,t)}intercept(b,t,s){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,b,t,s):t}invoke(b,t,s,H,I){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,b,t,s,H,I):t.apply(s,H)}handleError(b,t){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,b,t)}scheduleTask(b,t){let s=t;if(this._scheduleTaskZS)this._hasTaskZS&&s._zoneDelegates.push(this._hasTaskDlgtOwner),s=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,b,t),s||(s=t);else if(t.scheduleFn)t.scheduleFn(t);else{if(t.type!=B)throw new Error("Task is missing scheduleFn.");S(t)}return s}invokeTask(b,t,s,H){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,b,t,s,H):t.callback.apply(s,H)}cancelTask(b,t){let s;if(this._cancelTaskZS)s=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,b,t);else{if(!t.cancelFn)throw Error("Task is not cancelable");s=t.cancelFn(t)}return s}hasTask(b,t){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,b,t)}catch(s){this.handleError(b,s)}}_updateTaskCount(b,t){const s=this._taskCounts,H=s[b],I=s[b]=H+t;if(I<0)throw new Error("More tasks executed then were scheduled.");0!=H&&0!=I||this.hasTask(this.zone,{microTask:s.microTask>0,macroTask:s.macroTask>0,eventTask:s.eventTask>0,change:b})}}class k{constructor(b,t,s,H,I,pe){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=b,this.source=t,this.data=H,this.scheduleFn=I,this.cancelFn=pe,!s)throw new Error("callback is not defined");this.callback=s;const d=this;this.invoke=b===be&&H&&H.useG?k.invokeTask:function(){return k.invokeTask.call(e,d,this,arguments)}}static invokeTask(b,t,s){b||(b=this),ye++;try{return b.runCount++,b.zone.runTask(b,t,s)}finally{1==ye&&v(),ye--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(Y,ie)}_transitionTo(b,t,s){if(this._state!==t&&this._state!==s)throw new Error(`${this.type} '${this.source}': can not transition to '${b}', expecting state '${t}'${s?" or '"+s+"'":""}, was '${this._state}'.`);this._state=b,b==Y&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const W=h("setTimeout"),V=h("Promise"),x=h("then");let se,oe=[],q=!1;function te(G){if(se||e[V]&&(se=e[V].resolve(0)),se){let b=se[x];b||(b=se.then),b.call(se,G)}else e[W](G,0)}function S(G){0===ye&&0===oe.length&&te(v),G&&oe.push(G)}function v(){if(!q){for(q=!0;oe.length;){const G=oe;oe=[];for(let b=0;bre,onUnhandledError:ce,microtaskDrainDone:ce,scheduleMicroTask:S,showUncaughtError:()=>!_[h("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:ce,patchMethod:()=>ce,bindArguments:()=>[],patchThen:()=>ce,patchMacroTask:()=>ce,patchEventPrototype:()=>ce,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>ce,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>ce,wrapWithCurrentZone:()=>ce,filterProperties:()=>[],attachOriginToPatched:()=>ce,_redefineProperty:()=>ce,patchCallbacks:()=>ce,nativeScheduleMicroTask:te};let re={parent:null,zone:new _(null,null)},Ie=null,ye=0;function ce(){}i("Zone","Zone"),e.Zone=_}(globalThis);const K=Object.getOwnPropertyDescriptor,we=Object.defineProperty,Ne=Object.getPrototypeOf,Ke=Object.create,mt=Array.prototype.slice,$e="addEventListener",tt="removeEventListener",nt=Zone.__symbol__($e),st=Zone.__symbol__(tt),de="true",fe="false",He=Zone.__symbol__("");function rt(e,r){return Zone.current.wrap(e,r)}function Je(e,r,c,i,l){return Zone.current.scheduleMacroTask(e,r,c,i,l)}const X=Zone.__symbol__,Qe=typeof window<"u",Ze=Qe?window:void 0,z=Qe&&Ze||globalThis,me="removeAttribute";function ve(e,r){for(let c=e.length-1;c>=0;c--)"function"==typeof e[c]&&(e[c]=rt(e[c],r+"_"+c));return e}function je(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&typeof e.set>"u")}const ke=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,De=!("nw"in z)&&typeof z.process<"u"&&"[object process]"==={}.toString.call(z.process),D=!De&&!ke&&!(!Qe||!Ze.HTMLElement),Ee=typeof z.process<"u"&&"[object process]"==={}.toString.call(z.process)&&!ke&&!(!Qe||!Ze.HTMLElement),qe={},it=function(e){if(!(e=e||z.event))return;let r=qe[e.type];r||(r=qe[e.type]=X("ON_PROPERTY"+e.type));const c=this||e.target||z,i=c[r];let l;return D&&c===Ze&&"error"===e.type?(l=i&&i.call(this,e.message,e.filename,e.lineno,e.colno,e.error),!0===l&&e.preventDefault()):(l=i&&i.apply(this,arguments),null!=l&&!l&&e.preventDefault()),l};function ut(e,r,c){let i=K(e,r);if(!i&&c&&K(c,r)&&(i={enumerable:!0,configurable:!0}),!i||!i.configurable)return;const l=X("on"+r+"patched");if(e.hasOwnProperty(l)&&e[l])return;delete i.writable,delete i.value;const h=i.get,g=i.set,_=r.slice(2);let N=qe[_];N||(N=qe[_]=X("ON_PROPERTY"+_)),i.set=function(P){let k=this;!k&&e===z&&(k=z),k&&("function"==typeof k[N]&&k.removeEventListener(_,it),g&&g.call(k,null),k[N]=P,"function"==typeof P&&k.addEventListener(_,it,!1))},i.get=function(){let P=this;if(!P&&e===z&&(P=z),!P)return null;const k=P[N];if(k)return k;if(h){let W=h.call(this);if(W)return i.set.call(this,W),"function"==typeof P[me]&&P.removeAttribute(r),W}return null},we(e,r,i),e[l]=!0}function at(e,r,c){if(r)for(let i=0;ifunction(g,_){const N=c(g,_);return N.cbIdx>=0&&"function"==typeof _[N.cbIdx]?Je(N.name,_[N.cbIdx],N,l):h.apply(g,_)})}function Pe(e,r){e[X("OriginalDelegate")]=r}let Ve=!1,Xe=!1;function xe(){if(Ve)return Xe;Ve=!0;try{const e=Ze.navigator.userAgent;(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/"))&&(Xe=!0)}catch{}return Xe}Zone.__load_patch("ZoneAwarePromise",(e,r,c)=>{const i=Object.getOwnPropertyDescriptor,l=Object.defineProperty,g=c.symbol,_=[],N=!1!==e[g("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],P=g("Promise"),k=g("then"),W="__creationTrace__";c.onUnhandledError=d=>{if(c.showUncaughtError()){const m=d&&d.rejection;m?console.error("Unhandled Promise rejection:",m instanceof Error?m.message:m,"; Zone:",d.zone.name,"; Task:",d.task&&d.task.source,"; Value:",m,m instanceof Error?m.stack:void 0):console.error(d)}},c.microtaskDrainDone=()=>{for(;_.length;){const d=_.shift();try{d.zone.runGuarded(()=>{throw d.throwOriginal?d.rejection:d})}catch(m){x(m)}}};const V=g("unhandledPromiseRejectionHandler");function x(d){c.onUnhandledError(d);try{const m=r[V];"function"==typeof m&&m.call(this,d)}catch{}}function oe(d){return d&&d.then}function q(d){return d}function se(d){return t.reject(d)}const te=g("state"),S=g("value"),v=g("finally"),_e=g("parentPromiseValue"),Y=g("parentPromiseState"),ie="Promise.then",U=null,y=!0,$=!1,p=0;function B(d,m){return a=>{try{ne(d,m,a)}catch(E){ne(d,!1,E)}}}const O=function(){let d=!1;return function(a){return function(){d||(d=!0,a.apply(null,arguments))}}},be="Promise resolved with itself",ee=g("currentTaskTrace");function ne(d,m,a){const E=O();if(d===a)throw new TypeError(be);if(d[te]===U){let L=null;try{("object"==typeof a||"function"==typeof a)&&(L=a&&a.then)}catch(R){return E(()=>{ne(d,!1,R)})(),d}if(m!==$&&a instanceof t&&a.hasOwnProperty(te)&&a.hasOwnProperty(S)&&a[te]!==U)Ie(a),ne(d,a[te],a[S]);else if(m!==$&&"function"==typeof L)try{L.call(a,E(B(d,m)),E(B(d,!1)))}catch(R){E(()=>{ne(d,!1,R)})()}else{d[te]=m;const R=d[S];if(d[S]=a,d[v]===v&&m===y&&(d[te]=d[Y],d[S]=d[_e]),m===$&&a instanceof Error){const M=r.currentTask&&r.currentTask.data&&r.currentTask.data[W];M&&l(a,ee,{configurable:!0,enumerable:!1,writable:!0,value:M})}for(let M=0;M{try{const Z=d[S],j=!!a&&v===a[v];j&&(a[_e]=Z,a[Y]=R);const A=m.run(M,void 0,j&&M!==se&&M!==q?[]:[Z]);ne(a,!0,A)}catch(Z){ne(a,!1,Z)}},a)}const G=function(){},b=e.AggregateError;class t{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(m){return m instanceof t?m:ne(new this(null),y,m)}static reject(m){return ne(new this(null),$,m)}static withResolvers(){const m={};return m.promise=new t((a,E)=>{m.resolve=a,m.reject=E}),m}static any(m){if(!m||"function"!=typeof m[Symbol.iterator])return Promise.reject(new b([],"All promises were rejected"));const a=[];let E=0;try{for(let M of m)E++,a.push(t.resolve(M))}catch{return Promise.reject(new b([],"All promises were rejected"))}if(0===E)return Promise.reject(new b([],"All promises were rejected"));let L=!1;const R=[];return new t((M,Z)=>{for(let j=0;j{L||(L=!0,M(A))},A=>{R.push(A),E--,0===E&&(L=!0,Z(new b(R,"All promises were rejected")))})})}static race(m){let a,E,L=new this((Z,j)=>{a=Z,E=j});function R(Z){a(Z)}function M(Z){E(Z)}for(let Z of m)oe(Z)||(Z=this.resolve(Z)),Z.then(R,M);return L}static all(m){return t.allWithCallback(m)}static allSettled(m){return(this&&this.prototype instanceof t?this:t).allWithCallback(m,{thenCallback:E=>({status:"fulfilled",value:E}),errorCallback:E=>({status:"rejected",reason:E})})}static allWithCallback(m,a){let E,L,R=new this((A,Q)=>{E=A,L=Q}),M=2,Z=0;const j=[];for(let A of m){oe(A)||(A=this.resolve(A));const Q=Z;try{A.then(J=>{j[Q]=a?a.thenCallback(J):J,M--,0===M&&E(j)},J=>{a?(j[Q]=a.errorCallback(J),M--,0===M&&E(j)):L(J)})}catch(J){L(J)}M++,Z++}return M-=2,0===M&&E(j),R}constructor(m){const a=this;if(!(a instanceof t))throw new Error("Must be an instanceof Promise.");a[te]=U,a[S]=[];try{const E=O();m&&m(E(B(a,y)),E(B(a,$)))}catch(E){ne(a,!1,E)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return t}then(m,a){let E=this.constructor?.[Symbol.species];(!E||"function"!=typeof E)&&(E=this.constructor||t);const L=new E(G),R=r.current;return this[te]==U?this[S].push(R,L,m,a):ye(this,R,L,m,a),L}catch(m){return this.then(null,m)}finally(m){let a=this.constructor?.[Symbol.species];(!a||"function"!=typeof a)&&(a=t);const E=new a(G);E[v]=v;const L=r.current;return this[te]==U?this[S].push(L,E,m,m):ye(this,L,E,m,m),E}}t.resolve=t.resolve,t.reject=t.reject,t.race=t.race,t.all=t.all;const s=e[P]=e.Promise;e.Promise=t;const H=g("thenPatched");function I(d){const m=d.prototype,a=i(m,"then");if(a&&(!1===a.writable||!a.configurable))return;const E=m.then;m[k]=E,d.prototype.then=function(L,R){return new t((Z,j)=>{E.call(this,Z,j)}).then(L,R)},d[H]=!0}return c.patchThen=I,s&&(I(s),Se(e,"fetch",d=>function pe(d){return function(m,a){let E=d.apply(m,a);if(E instanceof t)return E;let L=E.constructor;return L[H]||I(L),E}}(d))),Promise[r.__symbol__("uncaughtPromiseErrors")]=_,t}),Zone.__load_patch("toString",e=>{const r=Function.prototype.toString,c=X("OriginalDelegate"),i=X("Promise"),l=X("Error"),h=function(){if("function"==typeof this){const P=this[c];if(P)return"function"==typeof P?r.call(P):Object.prototype.toString.call(P);if(this===Promise){const k=e[i];if(k)return r.call(k)}if(this===Error){const k=e[l];if(k)return r.call(k)}}return r.call(this)};h[c]=r,Function.prototype.toString=h;const g=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":g.call(this)}});let Le=!1;if(typeof window<"u")try{const e=Object.defineProperty({},"passive",{get:function(){Le=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{Le=!1}const Ue={useG:!0},Te={},Ae={},ot=new RegExp("^"+He+"(\\w+)(true|false)$"),Fe=X("propagationStopped");function Tt(e,r){const c=(r?r(e):e)+fe,i=(r?r(e):e)+de,l=He+c,h=He+i;Te[e]={},Te[e][fe]=l,Te[e][de]=h}function pt(e,r,c,i){const l=i&&i.add||$e,h=i&&i.rm||tt,g=i&&i.listeners||"eventListeners",_=i&&i.rmAll||"removeAllListeners",N=X(l),P="."+l+":",k="prependListener",W="."+k+":",V=function(S,v,_e){if(S.isRemoved)return;const Y=S.callback;let ie;"object"==typeof Y&&Y.handleEvent&&(S.callback=y=>Y.handleEvent(y),S.originalDelegate=Y);try{S.invoke(S,v,[_e])}catch(y){ie=y}const U=S.options;return U&&"object"==typeof U&&U.once&&v[h].call(v,_e.type,S.originalDelegate?S.originalDelegate:S.callback,U),ie};function x(S,v,_e){if(!(v=v||e.event))return;const Y=S||v.target||e,ie=Y[Te[v.type][_e?de:fe]];if(ie){const U=[];if(1===ie.length){const y=V(ie[0],Y,v);y&&U.push(y)}else{const y=ie.slice();for(let $=0;${throw $})}}}const oe=function(S){return x(this,S,!1)},q=function(S){return x(this,S,!0)};function se(S,v){if(!S)return!1;let _e=!0;v&&void 0!==v.useG&&(_e=v.useG);const Y=v&&v.vh;let ie=!0;v&&void 0!==v.chkDup&&(ie=v.chkDup);let U=!1;v&&void 0!==v.rt&&(U=v.rt);let y=S;for(;y&&!y.hasOwnProperty(l);)y=Ne(y);if(!y&&S[l]&&(y=S),!y||y[N])return!1;const $=v&&v.eventNameToString,p={},B=y[N]=y[l],O=y[X(h)]=y[h],be=y[X(g)]=y[g],ee=y[X(_)]=y[_];let ne;v&&v.prepend&&(ne=y[X(v.prepend)]=y[v.prepend]);const t=_e?function(a){if(!p.isExisting)return B.call(p.target,p.eventName,p.capture?q:oe,p.options)}:function(a){return B.call(p.target,p.eventName,a.invoke,p.options)},s=_e?function(a){if(!a.isRemoved){const E=Te[a.eventName];let L;E&&(L=E[a.capture?de:fe]);const R=L&&a.target[L];if(R)for(let M=0;M{Oe.zone.cancelTask(Oe)},{once:!0})),p.target=null,Me&&(Me.taskData=null),T&&(o.once=!0),!Le&&"boolean"==typeof Oe.options||(Oe.options=o),Oe.target=j,Oe.capture=f,Oe.eventName=A,J&&(Oe.originalDelegate=Q),Z?F.unshift(Oe):F.push(Oe),M?j:void 0}};return y[l]=m(B,P,t,s,U),ne&&(y[k]=m(ne,W,function(a){return ne.call(p.target,p.eventName,a.invoke,p.options)},s,U,!0)),y[h]=function(){const a=this||e;let E=arguments[0];v&&v.transferEventName&&(E=v.transferEventName(E));const L=arguments[2],R=!!L&&("boolean"==typeof L||L.capture),M=arguments[1];if(!M)return O.apply(this,arguments);if(Y&&!Y(O,M,a,arguments))return;const Z=Te[E];let j;Z&&(j=Z[R?de:fe]);const A=j&&a[j];if(A)for(let Q=0;Qfunction(l,h){l[Fe]=!0,i&&i.apply(l,h)})}function yt(e,r,c,i,l){const h=Zone.__symbol__(i);if(r[h])return;const g=r[h]=r[i];r[i]=function(_,N,P){return N&&N.prototype&&l.forEach(function(k){const W=`${c}.${i}::`+k,V=N.prototype;try{if(V.hasOwnProperty(k)){const x=e.ObjectGetOwnPropertyDescriptor(V,k);x&&x.value?(x.value=e.wrapWithCurrentZone(x.value,W),e._redefineProperty(N.prototype,k,x)):V[k]&&(V[k]=e.wrapWithCurrentZone(V[k],W))}else V[k]&&(V[k]=e.wrapWithCurrentZone(V[k],W))}catch{}}),g.call(r,_,N,P)},e.attachOriginToPatched(r[i],g)}function lt(e,r,c){if(!c||0===c.length)return r;const i=c.filter(h=>h.target===e);if(!i||0===i.length)return r;const l=i[0].ignoreProperties;return r.filter(h=>-1===l.indexOf(h))}function ht(e,r,c,i){e&&at(e,lt(e,r,c),i)}function Be(e){return Object.getOwnPropertyNames(e).filter(r=>r.startsWith("on")&&r.length>2).map(r=>r.substring(2))}Zone.__load_patch("util",(e,r,c)=>{const i=Be(e);c.patchOnProperties=at,c.patchMethod=Se,c.bindArguments=ve,c.patchMacroTask=ft;const l=r.__symbol__("BLACK_LISTED_EVENTS"),h=r.__symbol__("UNPATCHED_EVENTS");e[h]&&(e[l]=e[h]),e[l]&&(r[l]=r[h]=e[l]),c.patchEventPrototype=ct,c.patchEventTarget=pt,c.isIEOrEdge=xe,c.ObjectDefineProperty=we,c.ObjectGetOwnPropertyDescriptor=K,c.ObjectCreate=Ke,c.ArraySlice=mt,c.patchClass=ze,c.wrapWithCurrentZone=rt,c.filterProperties=lt,c.attachOriginToPatched=Pe,c._redefineProperty=Object.defineProperty,c.patchCallbacks=yt,c.getGlobalObjects=()=>({globalSources:Ae,zoneSymbolEventNames:Te,eventNames:i,isBrowser:D,isMix:Ee,isNode:De,TRUE_STR:de,FALSE_STR:fe,ZONE_SYMBOL_PREFIX:He,ADD_EVENT_LISTENER_STR:$e,REMOVE_EVENT_LISTENER_STR:tt})});const Ye=X("zoneTask");function Ge(e,r,c,i){let l=null,h=null;c+=i;const g={};function _(P){const k=P.data;return k.args[0]=function(){return P.invoke.apply(this,arguments)},k.handleId=l.apply(e,k.args),P}function N(P){return h.call(e,P.data.handleId)}l=Se(e,r+=i,P=>function(k,W){if("function"==typeof W[0]){const V={isPeriodic:"Interval"===i,delay:"Timeout"===i||"Interval"===i?W[1]||0:void 0,args:W},x=W[0];W[0]=function(){try{return x.apply(this,arguments)}finally{V.isPeriodic||("number"==typeof V.handleId?delete g[V.handleId]:V.handleId&&(V.handleId[Ye]=null))}};const oe=Je(r,W[0],V,_,N);if(!oe)return oe;const q=oe.data.handleId;return"number"==typeof q?g[q]=oe:q&&(q[Ye]=oe),q&&q.ref&&q.unref&&"function"==typeof q.ref&&"function"==typeof q.unref&&(oe.ref=q.ref.bind(q),oe.unref=q.unref.bind(q)),"number"==typeof q||q?q:oe}return P.apply(e,W)}),h=Se(e,c,P=>function(k,W){const V=W[0];let x;"number"==typeof V?x=g[V]:(x=V&&V[Ye],x||(x=V)),x&&"string"==typeof x.type?"notScheduled"!==x.state&&(x.cancelFn&&x.data.isPeriodic||0===x.runCount)&&("number"==typeof V?delete g[V]:V&&(V[Ye]=null),x.zone.cancelTask(x)):P.apply(e,W)})}Zone.__load_patch("legacy",e=>{const r=e[Zone.__symbol__("legacyPatch")];r&&r()}),Zone.__load_patch("timers",e=>{const r="set",c="clear";Ge(e,r,c,"Timeout"),Ge(e,r,c,"Interval"),Ge(e,r,c,"Immediate")}),Zone.__load_patch("requestAnimationFrame",e=>{Ge(e,"request","cancel","AnimationFrame"),Ge(e,"mozRequest","mozCancel","AnimationFrame"),Ge(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(e,r)=>{const c=["alert","prompt","confirm"];for(let i=0;ifunction(N,P){return r.current.run(h,e,P,_)})}),Zone.__load_patch("EventTarget",(e,r,c)=>{(function et(e,r){r.patchEventPrototype(e,r)})(e,c),function bt(e,r){if(Zone[r.symbol("patchEventTarget")])return;const{eventNames:c,zoneSymbolEventNames:i,TRUE_STR:l,FALSE_STR:h,ZONE_SYMBOL_PREFIX:g}=r.getGlobalObjects();for(let N=0;N{ze("MutationObserver"),ze("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(e,r,c)=>{ze("IntersectionObserver")}),Zone.__load_patch("FileReader",(e,r,c)=>{ze("FileReader")}),Zone.__load_patch("on_property",(e,r,c)=>{!function _t(e,r){if(De&&!Ee||Zone[e.symbol("patchEvents")])return;const c=r.__Zone_ignore_on_properties;let i=[];if(D){const l=window;i=i.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const h=function Et(){try{const e=Ze.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:l,ignoreProperties:["error"]}]:[];ht(l,Be(l),c&&c.concat(h),Ne(l))}i=i.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let l=0;l{!function vt(e,r){const{isBrowser:c,isMix:i}=r.getGlobalObjects();(c||i)&&e.customElements&&"customElements"in e&&r.patchCallbacks(r,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(e,c)}),Zone.__load_patch("XHR",(e,r)=>{!function N(P){const k=P.XMLHttpRequest;if(!k)return;const W=k.prototype;let x=W[nt],oe=W[st];if(!x){const p=P.XMLHttpRequestEventTarget;if(p){const B=p.prototype;x=B[nt],oe=B[st]}}const q="readystatechange",se="scheduled";function te(p){const B=p.data,O=B.target;O[h]=!1,O[_]=!1;const be=O[l];x||(x=O[nt],oe=O[st]),be&&oe.call(O,q,be);const ee=O[l]=()=>{if(O.readyState===O.DONE)if(!B.aborted&&O[h]&&p.state===se){const re=O[r.__symbol__("loadfalse")];if(0!==O.status&&re&&re.length>0){const Ie=p.invoke;p.invoke=function(){const ye=O[r.__symbol__("loadfalse")];for(let ce=0;cefunction(p,B){return p[i]=0==B[2],p[g]=B[1],_e.apply(p,B)}),ie=X("fetchTaskAborting"),U=X("fetchTaskScheduling"),y=Se(W,"send",()=>function(p,B){if(!0===r.current[U]||p[i])return y.apply(p,B);{const O={target:p,url:p[g],isPeriodic:!1,args:B,aborted:!1},be=Je("XMLHttpRequest.send",S,O,te,v);p&&!0===p[_]&&!O.aborted&&be.state===se&&be.invoke()}}),$=Se(W,"abort",()=>function(p,B){const O=function V(p){return p[c]}(p);if(O&&"string"==typeof O.type){if(null==O.cancelFn||O.data&&O.data.aborted)return;O.zone.cancelTask(O)}else if(!0===r.current[ie])return $.apply(p,B)})}(e);const c=X("xhrTask"),i=X("xhrSync"),l=X("xhrListener"),h=X("xhrScheduled"),g=X("xhrURL"),_=X("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&function Re(e,r){const c=e.constructor.name;for(let i=0;i{const N=function(){return _.apply(this,ve(arguments,c+"."+l))};return Pe(N,_),N})(h)}}}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,r)=>{function c(i){return function(l){dt(e,i).forEach(g=>{const _=e.PromiseRejectionEvent;if(_){const N=new _(i,{promise:l.promise,reason:l.rejection});g.invoke(N)}})}}e.PromiseRejectionEvent&&(r[X("unhandledPromiseRejectionHandler")]=c("unhandledrejection"),r[X("rejectionHandledHandler")]=c("rejectionhandled"))}),Zone.__load_patch("queueMicrotask",(e,r,c)=>{!function gt(e,r){r.patchMethod(e,"queueMicrotask",c=>function(i,l){Zone.current.scheduleMicroTask("queueMicrotask",l[0])})}(e,c)})},496:()=>{}},K=>{K(K.s=940)}]); (()=>{"use strict";var e,b={},l={};function f(e){var t=l[e];if(void 0!==t)return t.exports;var r=l[e]={exports:{}};return b[e](r,r.exports,f),r.exports}f.m=b,e=[],f.O=(t,r,a,n)=>{if(!r){var c=1/0;for(o=0;o=n)&&Object.keys(f.O).every(h=>f.O[h](r[i]))?r.splice(i--,1):(_=!1,n0&&e[o-1][2]>n;o--)e[o]=e[o-1];e[o]=[r,a,n]},f.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return f.d(t,{a:t}),t},(()=>{var t,e=Object.getPrototypeOf?r=>Object.getPrototypeOf(r):r=>r.__proto__;f.t=function(r,a){if(1&a&&(r=this(r)),8&a||"object"==typeof r&&r&&(4&a&&r.__esModule||16&a&&"function"==typeof r.then))return r;var n=Object.create(null);f.r(n);var o={};t=t||[null,e({}),e([]),e(e)];for(var c=2&a&&r;"object"==typeof c&&!~t.indexOf(c);c=e(c))Object.getOwnPropertyNames(c).forEach(_=>o[_]=()=>r[_]);return o.default=()=>r,f.d(n,o),n}})(),f.d=(e,t)=>{for(var r in t)f.o(t,r)&&!f.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},f.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),f.r=e=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={688:0};f.O.j=a=>0===e[a];var t=(a,n)=>{var i,p,[o,c,_]=n,s=0;if(o.some(d=>0!==e[d])){for(i in c)f.o(c,i)&&(f.m[i]=c[i]);if(_)var u=_(f)}for(a&&a(n);s Deltaco - Trådløs optisk mus, 3 knapper med scroll - glatte sider (Rød) (1200 dpi)
1-2 dages levering
Prisgaranti på alt

Deltaco – Trådløs optisk mus, 3 knapper med scroll – glatte sider (Rød) (1200 dpi)

Deltaco
Tilgængelighed:

På lager


kr. 59,00

På lager


30 dages returret
Prisgaranti på alt
1-2 dages levering
Vi bytter med et :)
Sammenlign

DELTACO trådløs optisk mus 2,4 GHz, 3 knapper med scroll, 1.200 DPI, USB nano-modtager, rød. Trådløs optisk mus. Musen forbindes til computeren med en diskret USB-modtager, der er meget lille og derfor velegnet til bærbare computere. Du behøver ikke installere nogen drivere. Bare sæt modtageren i computeren og 2 AAA batterier i musen, så er du klar!

• 1.200 DPI
• 3 knapper og scroll
• Op til 10 meters rækkevidde
• USB nano-modtager 2.0
• Kompatibel med Windows 7 eller senere, OS 10.8 eller senere eller Chrome OS

Pakken indeholder: Mus og USB nano-modtager 2.0. Bruger 2 x AAA batterier, som ikke medfølger.

Varenummer (SKU): Del701-7-1200 Kategorier: ,
Vægt90 g
Brand

Farve

Rød

EAN

7333048023698

Hylde_nr

91

Dpi

1200 dpi

SKU

Del701-7-1200

Baseret på 0 bedømmelser

0.0 total
0
0
0
0
0

Bliv den første til at give en bedømmelse af “Deltaco – Trådløs optisk mus, 3 knapper med scroll – glatte sider (Rød) (1200 dpi)”

Der er ingen bedømmelser endnu.