@letscooee/web-sdk 9.4.0 → 9.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,7 +4,7 @@ ${e.map((n,r)=>`${r+1}) ${n.toString()}`).join(`
4
4
  `);return r>=0?n.slice(0,r):n}function _s(t,e){return t?e?`${t} ${e}`:t:e||""}var gm=kt({__forward_ref__:kt});function Wf(t){return t.__forward_ref__=Wf,t.toString=function(){return xe(this())},t}function Ie(t){return ym(t)?t():t}function ym(t){return typeof t=="function"&&t.hasOwnProperty(gm)&&t.__forward_ref__===Wf}function zt(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function Da(t){return yl(t,Zf)||yl(t,Yf)}function yl(t,e){return t.hasOwnProperty(e)?t[e]:null}function mm(t){return t&&(t[Zf]||t[Yf])||null}function ml(t){return t&&(t.hasOwnProperty(vl)||t.hasOwnProperty(vm))?t[vl]:null}var Zf=kt({\u0275prov:kt}),vl=kt({\u0275inj:kt}),Yf=kt({ngInjectableDef:kt}),vm=kt({ngInjectorDef:kt}),Ct=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,e){this._desc=t,this.\u0275prov=void 0,typeof e=="number"?this.__NG_ELEMENT_ID__=e:e!==void 0&&(this.\u0275prov=zt({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Jf(t){return t&&!!t.\u0275providers}var bm=kt({\u0275cmp:kt}),_m=kt({\u0275dir:kt}),wm=kt({\u0275pipe:kt}),bl=kt({\u0275fac:kt}),Cr=kt({__NG_ELEMENT_ID__:kt}),_l=kt({__NG_ENV_ID__:kt});function fo(t){return typeof t=="string"?t:t==null?"":String(t)}function Em(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():fo(t)}function Sm(t,e){throw new _t(-200,t)}function La(t,e){throw new _t(-201,!1)}var lt=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(lt||{}),ws;function Kf(){return ws}function oe(t){let e=ws;return ws=t,e}function Qf(t,e,n){let r=Da(t);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&lt.Optional)return null;if(e!==void 0)return e;La(t,"Injector")}var Im={},Dr=Im,Nm="__NG_DI_FLAG__",Hi="ngTempTokenPath",xm="ngTokenPath",Om=/\n/gm,Tm="\u0275",wl="__source",Qn;function Cm(){return Qn}function Xe(t){let e=Qn;return Qn=t,e}function Am(t,e=lt.Default){if(Qn===void 0)throw new _t(-203,!1);return Qn===null?Qf(t,void 0,e):Qn.get(t,e&lt.Optional?null:void 0,e)}function xt(t,e=lt.Default){return(Kf()||Am)(Ie(t),e)}function St(t,e=lt.Default){return xt(t,ho(e))}function ho(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function Es(t){let e=[];for(let n=0;n<t.length;n++){let r=Ie(t[n]);if(Array.isArray(r)){if(r.length===0)throw new _t(900,!1);let i,o=lt.Default;for(let s=0;s<r.length;s++){let a=r[s],u=Rm(a);typeof u=="number"?u===-1?i=a.token:o|=u:i=a}e.push(xt(i,o))}else e.push(xt(r))}return e}function Rm(t){return t[Nm]}function km(t,e,n,r){let i=t[Hi];throw e[wl]&&i.unshift(e[wl]),t.message=Dm(`
5
5
  `+t.message,i,n,r),t[xm]=i,t[Hi]=null,t}function Dm(t,e,n,r=null){t=t&&t.charAt(0)===`
6
6
  `&&t.charAt(1)==Tm?t.slice(2):t;let i=xe(e);if(Array.isArray(e))i=e.map(xe).join(" -> ");else if(typeof e=="object"){let o=[];for(let s in e)if(e.hasOwnProperty(s)){let a=e[s];o.push(s+":"+(typeof a=="string"?JSON.stringify(a):xe(a)))}i=`{${o.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${t.replace(Om,`
7
- `)}`}function rr(t,e){return t.hasOwnProperty(bl)?t[bl]:null}function Ma(t,e){t.forEach(n=>Array.isArray(n)?Ma(n,e):e(n))}function Lm(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function Xf(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function Mm(t,e,n,r){let i=t.length;if(i==e)t.push(n,r);else if(i===1)t.push(r,t[0]),t[0]=n;else{for(i--,t.push(t[i-1],t[i]);i>e;){let o=i-2;t[i]=t[o],i--}t[e]=n,t[e+1]=r}}function th(t,e,n){let r=Kr(t,e);return r>=0?t[r|1]=n:(r=~r,Mm(t,r,e,n)),r}function Wo(t,e){let n=Kr(t,e);if(n>=0)return t[n|1]}function Kr(t,e){return Pm(t,e,1)}function Pm(t,e,n){let r=0,i=t.length>>n;for(;i!==r;){let o=r+(i-r>>1),s=t[o<<n];if(e===s)return o<<n;s>e?i=o:r=o+1}return~(i<<n)}var ir={},ze=[],zi=new Ct(""),eh=new Ct("",-1),nh=new Ct(""),rh=class{get(t,e=Dr){if(e===Dr){let n=new Error(`NullInjectorError: No provider for ${xe(t)}!`);throw n.name="NullInjectorError",n}return e}};function po(t){return t[bm]||null}function ih(t){return t[_m]||null}function oh(t){return t[wm]||null}function jm(t){let e=po(t)||ih(t)||oh(t);return e!==null&&e.standalone}function Um(t){return{\u0275providers:t}}function Bm(...t){return{\u0275providers:sh(!0,t),\u0275fromNgModule:!0}}function sh(t,...e){let n=[],r=new Set,i,o=s=>{n.push(s)};return Ma(e,s=>{let a=s;Ss(a,o,[],r)&&(i||=[],i.push(a))}),i!==void 0&&ah(i,o),n}function ah(t,e){for(let n=0;n<t.length;n++){let{ngModule:r,providers:i}=t[n];Pa(i,o=>{e(o,r)})}}function Ss(t,e,n,r){if(t=Ie(t),!t)return!1;let i=null,o=ml(t),s=!o&&po(t);if(!o&&!s){let u=t.ngModule;if(o=ml(u),o)i=u;else return!1}else{if(s&&!s.standalone)return!1;i=t}let a=r.has(i);if(s){if(a)return!1;if(r.add(i),s.dependencies){let u=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let f of u)Ss(f,e,n,r)}}else if(o){if(o.imports!=null&&!a){r.add(i);let f;try{Ma(o.imports,h=>{Ss(h,e,n,r)&&(f||=[],f.push(h))})}finally{}f!==void 0&&ah(f,e)}if(!a){let f=rr(i)||(()=>new i);e({provide:i,useFactory:f,deps:ze},i),e({provide:nh,useValue:i,multi:!0},i),e({provide:zi,useValue:()=>xt(i),multi:!0},i)}let u=o.providers;if(u!=null&&!a){let f=t;Pa(u,h=>{e(h,f)})}}else return!1;return i!==t&&t.providers!==void 0}function Pa(t,e){for(let n of t)Jf(n)&&(n=n.\u0275providers),Array.isArray(n)?Pa(n,e):e(n)}var Vm=kt({provide:String,useValue:kt});function uh(t){return t!==null&&typeof t=="object"&&Vm in t}function Fm(t){return!!(t&&t.useExisting)}function $m(t){return!!(t&&t.useFactory)}function Is(t){return typeof t=="function"}var ja=new Ct(""),ki={},Hm={},Zo;function Ua(){return Zo===void 0&&(Zo=new rh),Zo}var Lr=class{},Ba=class extends Lr{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,e,n,r){super(),this.parent=e,this.source=n,this.scopes=r,xs(t,o=>this.processProvider(o)),this.records.set(eh,Gn(void 0,this)),r.has("environment")&&this.records.set(Lr,Gn(void 0,this));let i=this.records.get(ja);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(nh,ze,lt.Self))}destroy(){Ir(this),this._destroyed=!0;let t=dt(null);try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let e=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of e)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),dt(t)}}onDestroy(t){return Ir(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Ir(this);let e=Xe(this),n=oe(void 0),r;try{return t()}finally{Xe(e),oe(n)}}get(t,e=Dr,n=lt.Default){if(Ir(this),t.hasOwnProperty(_l))return t[_l](this);n=ho(n);let r,i=Xe(this),o=oe(void 0);try{if(!(n&lt.SkipSelf)){let a=this.records.get(t);if(a===void 0){let u=Ym(t)&&Da(t);u&&this.injectableDefInScope(u)?a=Gn(Ns(t),ki):a=null,this.records.set(t,a)}if(a!=null)return this.hydrate(t,a)}let s=n&lt.Self?Ua():this.parent;return e=n&lt.Optional&&e===Dr?null:e,s.get(t,e)}catch(s){if(s.name==="NullInjectorError"){if((s[Hi]=s[Hi]||[]).unshift(xe(t)),i)throw s;return km(s,t,"R3InjectorError",this.source)}else throw s}finally{oe(o),Xe(i)}}resolveInjectorInitializers(){let t=dt(null),e=Xe(this),n=oe(void 0),r;try{let i=this.get(zi,ze,lt.Self);for(let o of i)o()}finally{Xe(e),oe(n),dt(t)}}toString(){let t=[],e=this.records;for(let n of e.keys())t.push(xe(n));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=Ie(t);let e=Is(t)?t:Ie(t&&t.provide),n=qm(t);if(!Is(t)&&t.multi===!0){let r=this.records.get(e);r||(r=Gn(void 0,ki,!0),r.factory=()=>Es(r.multi),this.records.set(e,r)),e=t,r.multi.push(t)}this.records.set(e,n)}hydrate(t,e){let n=dt(null);try{return e.value===ki&&(e.value=Hm,e.value=e.factory()),typeof e.value=="object"&&e.value&&Zm(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}finally{dt(n)}}injectableDefInScope(t){if(!t.providedIn)return!1;let e=Ie(t.providedIn);return typeof e=="string"?e==="any"||this.scopes.has(e):this.injectorDefTypes.has(e)}removeOnDestroy(t){let e=this._onDestroyHooks.indexOf(t);e!==-1&&this._onDestroyHooks.splice(e,1)}};function Ns(t){let e=Da(t),n=e!==null?e.factory:rr(t);if(n!==null)return n;if(t instanceof Ct)throw new _t(204,!1);if(t instanceof Function)return zm(t);throw new _t(204,!1)}function zm(t){if(t.length>0)throw new _t(204,!1);let e=mm(t);return e!==null?()=>e.factory(t):()=>new t}function qm(t){if(uh(t))return Gn(void 0,t.useValue);{let e=Gm(t);return Gn(e,ki)}}function Gm(t,e,n){let r;if(Is(t)){let i=Ie(t);return rr(i)||Ns(i)}else if(uh(t))r=()=>Ie(t.useValue);else if($m(t))r=()=>t.useFactory(...Es(t.deps||[]));else if(Fm(t))r=()=>xt(Ie(t.useExisting));else{let i=Ie(t&&(t.useClass||t.provide));if(Wm(t))r=()=>new i(...Es(t.deps));else return rr(i)||Ns(i)}return r}function Ir(t){if(t.destroyed)throw new _t(205,!1)}function Gn(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function Wm(t){return!!t.deps}function Zm(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function Ym(t){return typeof t=="function"||typeof t=="object"&&t instanceof Ct}function xs(t,e){for(let n of t)Array.isArray(n)?xs(n,e):n&&Jf(n)?xs(n.\u0275providers,e):e(n)}function lh(t,e){t instanceof Ba&&Ir(t);let n,r=Xe(t),i=oe(void 0);try{return e()}finally{Xe(r),oe(i)}}function Jm(){return Kf()!==void 0||Cm()!=null}var Ye=0,ct=1,tt=2,_e=3,Oe=4,je=5,Mr=6,qi=7,Zt=8,Pr=9,qe=10,te=11,jr=12,El=13,pr=14,Pe=15,or=16,Wn=17,sr=18,go=19,ch=20,sn=21,Yo=22,Gi=23,ue=24,Jo=25,ee=26,fh=1,Ur=7,Km=8,Wi=9,se=10;function Sn(t){return Array.isArray(t)&&typeof t[fh]=="object"}function jn(t){return Array.isArray(t)&&t[fh]===!0}function hh(t){return(t.flags&4)!==0}function Qr(t){return t.componentOffset>-1}function Va(t){return(t.flags&1)===1}function Un(t){return!!t.template}function Zi(t){return(t[tt]&512)!==0}function Xr(t){return(t[tt]&256)===256}var Qm=class{previousValue;currentValue;firstChange;constructor(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}};function dh(t,e,n,r){e!==null?e.applyValueToInputSignal(e,r):t[n]=r}function Xm(t){return t.type.prototype.ngOnChanges&&(t.setInput=ev),tv}function tv(){let t=gh(this),e=t?.current;if(e){let n=t.previous;if(n===ir)t.previous=e;else for(let r in e)n[r]=e[r];t.current=null,this.ngOnChanges(e)}}function ev(t,e,n,r,i){let o=this.declaredInputs[r],s=gh(t)||nv(t,{previous:ir,current:null}),a=s.current||(s.current={}),u=s.previous,f=u[o];a[o]=new Qm(f&&f.currentValue,n,u===ir),dh(t,e,i,n)}var ph="__ngSimpleChanges__";function gh(t){return t[ph]||null}function nv(t,e){return t[ph]=e}var rv=null,Tt=function(t,e=null,n){rv?.(t,e,n)},iv="svg",ov="math";function Ge(t){for(;Array.isArray(t);)t=t[Ye];return t}function yh(t,e){return Ge(e[t])}function dn(t,e){return Ge(e[t.index])}function Fa(t,e){return t.data[e]}function mh(t,e){return t[e]}function un(t,e){let n=e[t];return Sn(n)?n:n[Ye]}function $a(t){return(t[tt]&128)===128}function ar(t,e){return e==null?null:t[e]}function vh(t){t[Wn]=0}function Ha(t){t[tt]&1024||(t[tt]|=1024,$a(t)&&mo(t))}function sv(t,e){for(;t>0;)e=e[pr],t--;return e}function yo(t){return!!(t[tt]&9216||t[ue]?.dirty)}function Os(t){t[qe].changeDetectionScheduler?.notify(8),t[tt]&64&&(t[tt]|=1024),yo(t)&&mo(t)}function mo(t){t[qe].changeDetectionScheduler?.notify(0);let e=On(t);for(;e!==null&&!(e[tt]&8192||(e[tt]|=8192,!$a(e)));)e=On(e)}function bh(t,e){if(Xr(t))throw new _t(911,!1);t[sn]===null&&(t[sn]=[]),t[sn].push(e)}function av(t,e){if(t[sn]===null)return;let n=t[sn].indexOf(e);n!==-1&&t[sn].splice(n,1)}function On(t){let e=t[_e];return jn(e)?e[_e]:e}function uv(t){return t[qi]??=[]}function lv(t){return t.cleanup??=[]}var ut={lFrame:Th(null),bindingsEnabled:!0,skipHydrationRootTNode:null},Ts=!1;function cv(){return ut.lFrame.elementDepthCount}function fv(){ut.lFrame.elementDepthCount++}function hv(){ut.lFrame.elementDepthCount--}function _h(){return ut.bindingsEnabled}function dv(){return ut.skipHydrationRootTNode!==null}function pv(t){return ut.skipHydrationRootTNode===t}function gv(){ut.skipHydrationRootTNode=null}function Ot(){return ut.lFrame.lView}function fe(){return ut.lFrame.tView}function yi(t){return ut.lFrame.contextLView=t,t[Zt]}function mi(t){return ut.lFrame.contextLView=null,t}function gr(){let t=wh();for(;t!==null&&t.type===64;)t=t.parent;return t}function wh(){return ut.lFrame.currentTNode}function yv(){let t=ut.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function yr(t,e){let n=ut.lFrame;n.currentTNode=t,n.isParent=e}function Eh(){return ut.lFrame.isParent}function mv(){ut.lFrame.isParent=!1}function Sh(){return Ts}function Sl(t){let e=Ts;return Ts=t,e}function za(){let t=ut.lFrame,e=t.bindingRootIndex;return e===-1&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function vv(t){return ut.lFrame.bindingIndex=t}function vo(){return ut.lFrame.bindingIndex++}function Ih(t){let e=ut.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function bv(){return ut.lFrame.inI18n}function _v(t,e){let n=ut.lFrame;n.bindingIndex=n.bindingRootIndex=t,Cs(e)}function wv(){return ut.lFrame.currentDirectiveIndex}function Cs(t){ut.lFrame.currentDirectiveIndex=t}function Ev(t){let e=ut.lFrame.currentDirectiveIndex;return e===-1?null:t[e]}function Nh(t){ut.lFrame.currentQueryIndex=t}function Sv(t){let e=t[ct];return e.type===2?e.declTNode:e.type===1?t[je]:null}function xh(t,e,n){if(n&lt.SkipSelf){let i=e,o=t;for(;(i=i.parent,i===null&&!(n&lt.Host))&&(i=Sv(o),!(i===null||(o=o[pr],i.type&10))););if(i===null)return!1;e=i,t=o}let r=ut.lFrame=Oh();return r.currentTNode=e,r.lView=t,!0}function qa(t){let e=Oh(),n=t[ct];ut.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function Oh(){let t=ut.lFrame,e=t===null?null:t.child;return e===null?Th(t):e}function Th(t){let e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return t!==null&&(t.child=e),e}function Ch(){let t=ut.lFrame;return ut.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var Ah=Ch;function Ga(){let t=Ch();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function Iv(t){return(ut.lFrame.contextLView=sv(t,ut.lFrame.contextLView))[Zt]}function pn(){return ut.lFrame.selectedIndex}function Tn(t){ut.lFrame.selectedIndex=t}function Rh(){let t=ut.lFrame;return Fa(t.tView,t.selectedIndex)}function Nv(){return ut.lFrame.currentNamespace}var kh=!0;function Wa(){return kh}function Za(t){kh=t}function xv(t,e,n){let{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=e.type.prototype;if(r){let s=Xm(e);(n.preOrderHooks??=[]).push(t,s),(n.preOrderCheckHooks??=[]).push(t,s)}i&&(n.preOrderHooks??=[]).push(0-t,i),o&&((n.preOrderHooks??=[]).push(t,o),(n.preOrderCheckHooks??=[]).push(t,o))}function Dh(t,e){for(let n=e.directiveStart,r=e.directiveEnd;n<r;n++){let i=t.data[n].type.prototype,{ngAfterContentInit:o,ngAfterContentChecked:s,ngAfterViewInit:a,ngAfterViewChecked:u,ngOnDestroy:f}=i;o&&(t.contentHooks??=[]).push(-n,o),s&&((t.contentHooks??=[]).push(n,s),(t.contentCheckHooks??=[]).push(n,s)),a&&(t.viewHooks??=[]).push(-n,a),u&&((t.viewHooks??=[]).push(n,u),(t.viewCheckHooks??=[]).push(n,u)),f!=null&&(t.destroyHooks??=[]).push(n,f)}}function Di(t,e,n){Lh(t,e,3,n)}function Li(t,e,n,r){(t[tt]&3)===n&&Lh(t,e,n,r)}function Ko(t,e){let n=t[tt];(n&3)===e&&(n&=16383,n+=1,t[tt]=n)}function Lh(t,e,n,r){let i=r!==void 0?t[Wn]&65535:0,o=r??-1,s=e.length-1,a=0;for(let u=i;u<s;u++)if(typeof e[u+1]=="number"){if(a=e[u],r!=null&&a>=r)break}else e[u]<0&&(t[Wn]+=65536),(a<o||o==-1)&&(Ov(t,n,e,u),t[Wn]=(t[Wn]&4294901760)+u+2),u++}function Il(t,e){Tt(4,t,e);let n=dt(null);try{e.call(t)}finally{dt(n),Tt(5,t,e)}}function Ov(t,e,n,r){let i=n[r]<0,o=n[r+1],s=i?-n[r]:n[r],a=t[s];i?t[tt]>>14<t[Wn]>>16&&(t[tt]&3)===e&&(t[tt]+=16384,Il(a,o)):Il(a,o)}var Xn=-1,Ya=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,e,n){this.factory=t,this.canSeeViewProviders=e,this.injectImpl=n}};function Tv(t){return t instanceof Ya}function Cv(t){return(t.flags&8)!==0}function Av(t){return(t.flags&16)!==0}function Rv(t,e,n){let r=0;for(;r<n.length;){let i=n[r];if(typeof i=="number"){if(i!==0)break;r++;let o=n[r++],s=n[r++],a=n[r++];t.setAttribute(e,s,a,o)}else{let o=i,s=n[++r];Dv(o)?t.setProperty(e,o,s):t.setAttribute(e,o,s),r++}}return r}function kv(t){return t===3||t===4||t===6}function Dv(t){return t.charCodeAt(0)===64}function Ja(t,e){if(!(e===null||e.length===0))if(t===null||t.length===0)t=e.slice();else{let n=-1;for(let r=0;r<e.length;r++){let i=e[r];typeof i=="number"?n=i:n===0||(n===-1||n===2?Nl(t,n,i,null,e[++r]):Nl(t,n,i,null,null))}}return t}function Nl(t,e,n,r,i){let o=0,s=t.length;if(e===-1)s=-1;else for(;o<t.length;){let a=t[o++];if(typeof a=="number"){if(a===e){s=-1;break}else if(a>e){s=o-1;break}}}for(;o<t.length;){let a=t[o];if(typeof a=="number")break;if(a===n){if(r===null){i!==null&&(t[o+1]=i);return}else if(r===t[o+1]){t[o+2]=i;return}}o++,r!==null&&o++,i!==null&&o++}s!==-1&&(t.splice(s,0,e),o=s+1),t.splice(o++,0,n),r!==null&&t.splice(o++,0,r),i!==null&&t.splice(o++,0,i)}var Qo={},Lv=class{injector;parentInjector;constructor(t,e){this.injector=t,this.parentInjector=e}get(t,e,n){n=ho(n);let r=this.injector.get(t,Qo,n);return r!==Qo||e===Qo?r:this.parentInjector.get(t,e,n)}};function Mv(t){return t!==Xn}function As(t){return t&32767}function Pv(t){return t>>16}function Rs(t,e){let n=Pv(t),r=e;for(;n>0;)r=r[pr],n--;return r}var ks=!0;function Yi(t){let e=ks;return ks=t,e}var jv=256,Mh=jv-1,Ph=5,Uv=0,Le={};function Bv(t,e,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Cr)&&(r=n[Cr]),r==null&&(r=n[Cr]=Uv++);let i=r&Mh,o=1<<i;e.data[t+(i>>Ph)]|=o}function jh(t,e){let n=Uh(t,e);if(n!==-1)return n;let r=e[ct];r.firstCreatePass&&(t.injectorIndex=e.length,Xo(r.data,t),Xo(e,null),Xo(r.blueprint,null));let i=Bh(t,e),o=t.injectorIndex;if(Mv(i)){let s=As(i),a=Rs(i,e),u=a[ct].data;for(let f=0;f<8;f++)e[o+f]=a[s+f]|u[s+f]}return e[o+8]=i,o}function Xo(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Uh(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function Bh(t,e){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let n=0,r=null,i=e;for(;i!==null;){if(r=qh(i),r===null)return Xn;if(n++,i=i[pr],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Xn}function Vv(t,e,n){Bv(t,e,n)}function Vh(t,e,n){if(n&lt.Optional||t!==void 0)return t;La(e,"NodeInjector")}function Fh(t,e,n,r){if(n&lt.Optional&&r===void 0&&(r=null),(n&(lt.Self|lt.Host))===0){let i=t[Pr],o=oe(void 0);try{return i?i.get(e,r,n&lt.Optional):Qf(e,r,n&lt.Optional)}finally{oe(o)}}return Vh(r,e,n)}function $h(t,e,n,r=lt.Default,i){if(t!==null){if(e[tt]&2048&&!(r&lt.Self)){let s=qv(t,e,n,r,Le);if(s!==Le)return s}let o=Hh(t,e,n,r,Le);if(o!==Le)return o}return Fh(e,n,r,i)}function Hh(t,e,n,r,i){let o=Hv(n);if(typeof o=="function"){if(!xh(e,t,r))return r&lt.Host?Vh(i,n,r):Fh(e,n,r,i);try{let s;if(s=o(r),s==null&&!(r&lt.Optional))La(n);else return s}finally{Ah()}}else if(typeof o=="number"){let s=null,a=Uh(t,e),u=Xn,f=r&lt.Host?e[Pe][je]:null;for((a===-1||r&lt.SkipSelf)&&(u=a===-1?Bh(t,e):e[a+8],u===Xn||!Ol(r,!1)?a=-1:(s=e[ct],a=As(u),e=Rs(u,e)));a!==-1;){let h=e[ct];if(xl(o,a,h.data)){let d=Fv(a,e,n,s,r,f);if(d!==Le)return d}u=e[a+8],u!==Xn&&Ol(r,e[ct].data[a+8]===f)&&xl(o,a,e)?(s=h,a=As(u),e=Rs(u,e)):a=-1}}return i}function Fv(t,e,n,r,i,o){let s=e[ct],a=s.data[t+8],u=r==null?Qr(a)&&ks:r!=s&&(a.type&3)!==0,f=i&lt.Host&&o===a,h=$v(a,s,n,u,f);return h!==null?Ds(e,s,h,a):Le}function $v(t,e,n,r,i){let o=t.providerIndexes,s=e.data,a=o&1048575,u=t.directiveStart,f=t.directiveEnd,h=o>>20,d=r?a:a+h,b=i?a+h:f;for(let _=d;_<b;_++){let w=s[_];if(_<u&&n===w||_>=u&&w.type===n)return _}if(i){let _=s[u];if(_&&Un(_)&&_.type===n)return u}return null}function Ds(t,e,n,r){let i=t[n],o=e.data;if(Tv(i)){let s=i;s.resolving&&Sm(Em(o[n]));let a=Yi(s.canSeeViewProviders);s.resolving=!0;let u,f=s.injectImpl?oe(s.injectImpl):null,h=xh(t,r,lt.Default);try{i=t[n]=s.factory(void 0,o,t,r),e.firstCreatePass&&n>=r.directiveStart&&xv(n,o[n],e)}finally{f!==null&&oe(f),Yi(a),s.resolving=!1,Ah()}}return i}function Hv(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(Cr)?t[Cr]:void 0;return typeof e=="number"?e>=0?e&Mh:zv:e}function xl(t,e,n){let r=1<<t;return!!(n[e+(t>>Ph)]&r)}function Ol(t,e){return!(t&lt.Self)&&!(t&lt.Host&&e)}var zh=class{_tNode;_lView;constructor(t,e){this._tNode=t,this._lView=e}get(t,e,n){return $h(this._tNode,this._lView,t,ho(n),e)}};function zv(){return new zh(gr(),Ot())}function qv(t,e,n,r,i){let o=t,s=e;for(;o!==null&&s!==null&&s[tt]&2048&&!Zi(s);){let a=Hh(o,s,n,r|lt.Self,Le);if(a!==Le)return a;let u=o.parent;if(!u){let f=s[ch];if(f){let h=f.get(n,Le,r);if(h!==Le)return h}u=qh(s),s=s[pr]}o=u}return i}function qh(t){let e=t[ct],n=e.type;return n===2?e.declTNode:n===1?t[je]:null}function Tl(t,e=null,n=null,r){let i=Gv(t,e,n,r);return i.resolveInjectorInitializers(),i}function Gv(t,e=null,n=null,r,i=new Set){let o=[n||ze,Bm(t)];return r=r||(typeof t=="object"?void 0:xe(t)),new Ba(o,e||Ua(),r||null,i)}var bo=class Gh{static THROW_IF_NOT_FOUND=Dr;static NULL=new rh;static create(e,n){if(Array.isArray(e))return Tl({name:""},n,e,"");{let r=e.name??"";return Tl({name:r},e.parent,e.providers,r)}}static \u0275prov=zt({token:Gh,providedIn:"any",factory:()=>xt(eh)});static __NG_ELEMENT_ID__=-1},Wv=new Ct("");Wv.__NG_ELEMENT_ID__=t=>{let e=gr();if(e===null)throw new _t(204,!1);if(e.type&2)return e.value;if(t&lt.Optional)return null;throw new _t(204,!1)};var Wh=!1,Zh=(()=>{class t{static __NG_ELEMENT_ID__=Yv;static __NG_ENV_ID__=n=>n}return t})(),Zv=class extends Zh{_lView;constructor(t){super(),this._lView=t}onDestroy(t){return bh(this._lView,t),()=>av(this._lView,t)}};function Yv(){return new Zv(Ot())}var ti=class{},Ka=new Ct("",{providedIn:"root",factory:()=>!1}),Yh=new Ct(""),Qa=new Ct(""),_o=(()=>{class t{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new Vy(!1);add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static \u0275prov=zt({token:t,providedIn:"root",factory:()=>new t})}return t})(),Jv=class extends Jr{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,Jm()&&(this.destroyRef=St(Zh,{optional:!0})??void 0,this.pendingTasks=St(_o,{optional:!0})??void 0)}emit(t){let e=dt(null);try{super.next(t)}finally{dt(e)}}subscribe(t,e,n){let r=t,i=e||(()=>null),o=n;if(t&&typeof t=="object"){let a=t;r=a.next?.bind(a),i=a.error?.bind(a),o=a.complete?.bind(a)}this.__isAsync&&(i=this.wrapInTimeout(i),r&&(r=this.wrapInTimeout(r)),o&&(o=this.wrapInTimeout(o)));let s=super.subscribe({next:r,error:i,complete:o});return t instanceof He&&t.add(s),s}wrapInTimeout(t){return e=>{let n=this.pendingTasks?.add();setTimeout(()=>{t(e),n!==void 0&&this.pendingTasks?.remove(n)})}}},Me=Jv;function Ji(...t){}function Jh(t){let e,n;function r(){t=Ji;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),e!==void 0&&clearTimeout(e)}catch{}}return e=setTimeout(()=>{t(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{t(),r()})),()=>r()}function Cl(t){return queueMicrotask(()=>t()),()=>{t=Ji}}var Xa="isAngularZone",Ki=Xa+"_ID",Kv=0,le=class Ls{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Me(!1);onMicrotaskEmpty=new Me(!1);onStable=new Me(!1);onError=new Me(!1);constructor(e){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:i=!1,scheduleInRootZone:o=Wh}=e;if(typeof Zone>"u")throw new _t(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!i&&r,s.shouldCoalesceRunChangeDetection=i,s.callbackScheduled=!1,s.scheduleInRootZone=o,t0(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Xa)===!0}static assertInAngularZone(){if(!Ls.isInAngularZone())throw new _t(909,!1)}static assertNotInAngularZone(){if(Ls.isInAngularZone())throw new _t(909,!1)}run(e,n,r){return this._inner.run(e,n,r)}runTask(e,n,r,i){let o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,e,Qv,Ji,Ji);try{return o.runTask(s,n,r)}finally{o.cancelTask(s)}}runGuarded(e,n,r){return this._inner.runGuarded(e,n,r)}runOutsideAngular(e){return this._outer.run(e)}},Qv={};function tu(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function Xv(t){if(t.isCheckStableRunning||t.callbackScheduled)return;t.callbackScheduled=!0;function e(){Jh(()=>{t.callbackScheduled=!1,Ms(t),t.isCheckStableRunning=!0,tu(t),t.isCheckStableRunning=!1})}t.scheduleInRootZone?Zone.root.run(()=>{e()}):t._outer.run(()=>{e()}),Ms(t)}function t0(t){let e=()=>{Xv(t)},n=Kv++;t._inner=t._inner.fork({name:"angular",properties:{[Xa]:!0,[Ki]:n,[Ki+n]:!0},onInvokeTask:(r,i,o,s,a,u)=>{if(e0(u))return r.invokeTask(o,s,a,u);try{return Al(t),r.invokeTask(o,s,a,u)}finally{(t.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),Rl(t)}},onInvoke:(r,i,o,s,a,u,f)=>{try{return Al(t),r.invoke(o,s,a,u,f)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!n0(u)&&e(),Rl(t)}},onHasTask:(r,i,o,s)=>{r.hasTask(o,s),i===o&&(s.change=="microTask"?(t._hasPendingMicrotasks=s.microTask,Ms(t),tu(t)):s.change=="macroTask"&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,i,o,s)=>(r.handleError(o,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}function Ms(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function Al(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Rl(t){t._nesting--,tu(t)}var Kh=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Me;onMicrotaskEmpty=new Me;onStable=new Me;onError=new Me;run(t,e,n){return t.apply(e,n)}runGuarded(t,e,n){return t.apply(e,n)}runOutsideAngular(t){return t()}runTask(t,e,n,r){return t.apply(e,n)}};function e0(t){return Qh(t,"__ignore_ng_zone__")}function n0(t){return Qh(t,"__scheduler_tick__")}function Qh(t,e){return!Array.isArray(t)||t.length!==1?!1:t[0]?.data?.[e]===!0}var ei=class{_console=console;handleError(t){this._console.error("ERROR",t)}},r0=new Ct("",{providedIn:"root",factory:()=>{let t=St(le),e=St(ei);return n=>t.runOutsideAngular(()=>e.handleError(n))}});function i0(){return Xh(gr(),Ot())}function Xh(t,e){return new td(dn(t,e))}var td=(()=>{class t{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=i0}return t})();function Mi(t,e){let n=Ey(t),r=n[rn];return e?.equal&&(r.equal=e.equal),n.set=i=>Sf(r,i),n.update=i=>Sy(r,i),n.asReadonly=o0.bind(n),n}function o0(){let t=this[rn];if(t.readonlyFn===void 0){let e=()=>this();e[rn]=t,t.readonlyFn=e}return t.readonlyFn}function ed(t){return(t.flags&128)===128}var nd=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(nd||{}),rd=new Map,s0=0;function a0(){return s0++}function u0(t){rd.set(t[go],t)}function Ps(t){rd.delete(t[go])}var kl="__ngContext__";function ni(t,e){Sn(e)?(t[kl]=e[go],u0(e)):t[kl]=e}function id(t){return sd(t[jr])}function od(t){return sd(t[Oe])}function sd(t){for(;t!==null&&!jn(t);)t=t[Oe];return t}var js;function l0(t){js=t}function ad(){if(js!==void 0)return js;if(typeof document<"u")return document;throw new _t(210,!1)}var ud=new Ct("",{providedIn:"root",factory:()=>c0}),c0="ng",ld=new Ct(""),eu=new Ct("",{providedIn:"platform",factory:()=>"unknown"}),cd=new Ct("",{providedIn:"root",factory:()=>ad().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),f0="h",h0="b",fd=!1,d0=new Ct("",{providedIn:"root",factory:()=>fd}),hd=function(t){return t[t.CHANGE_DETECTION=0]="CHANGE_DETECTION",t[t.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",t}(hd||{}),nu=new Ct(""),Dl=new Set;function wo(t){Dl.has(t)||(Dl.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}var p0=(()=>{class t{impl=null;execute(){this.impl?.execute()}static \u0275prov=zt({token:t,providedIn:"root",factory:()=>new t})}return t})(),g0=()=>null;function dd(t,e,n=!1){return g0(t,e,n)}function pd(t,e){let n=t.contentQueries;if(n!==null){let r=dt(null);try{for(let i=0;i<n.length;i+=2){let o=n[i],s=n[i+1];if(s!==-1){let a=t.data[s];Nh(o),a.contentQueries(2,e[s],s)}}}finally{dt(r)}}}function Us(t,e,n){Nh(0);let r=dt(null);try{e(t,n)}finally{dt(r)}}function gd(t,e,n){if(hh(e)){let r=dt(null);try{let i=e.directiveStart,o=e.directiveEnd;for(let s=i;s<o;s++){let a=t.data[s];if(a.contentQueries){let u=n[s];a.contentQueries(1,u,s)}}}finally{dt(r)}}}var Fe=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(Fe||{}),vi;function y0(){if(vi===void 0&&(vi=null,$i.trustedTypes))try{vi=$i.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return vi}function Eo(t){return y0()?.createHTML(t)||t}var bi;function m0(){if(bi===void 0&&(bi=null,$i.trustedTypes))try{bi=$i.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return bi}function Ll(t){return m0()?.createHTML(t)||t}var Bn=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Gf})`}},v0=class extends Bn{getTypeName(){return"HTML"}},b0=class extends Bn{getTypeName(){return"Style"}},_0=class extends Bn{getTypeName(){return"Script"}},w0=class extends Bn{getTypeName(){return"URL"}},E0=class extends Bn{getTypeName(){return"ResourceURL"}};function Re(t){return t instanceof Bn?t.changingThisBreaksApplicationSecurity:t}function bn(t,e){let n=S0(t);if(n!=null&&n!==e){if(n==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${n} (see ${Gf})`)}return n===e}function S0(t){return t instanceof Bn&&t.getTypeName()||null}function I0(t){return new v0(t)}function N0(t){return new b0(t)}function x0(t){return new _0(t)}function O0(t){return new w0(t)}function T0(t){return new E0(t)}function C0(t){let e=new R0(t);return k0()?new A0(e):e}var A0=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let e=new window.DOMParser().parseFromString(Eo(t),"text/html").body;return e===null?this.inertDocumentHelper.getInertBodyElement(t):(e.firstChild?.remove(),e)}catch{return null}}},R0=class{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let e=this.inertDocument.createElement("template");return e.innerHTML=Eo(t),e}};function k0(){try{return!!new window.DOMParser().parseFromString(Eo(""),"text/html")}catch{return!1}}var D0=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function ru(t){return t=String(t),t.match(D0)?t:"unsafe:"+t}function Je(t){let e={};for(let n of t.split(","))e[n]=!0;return e}function ri(...t){let e={};for(let n of t)for(let r in n)n.hasOwnProperty(r)&&(e[r]=!0);return e}var yd=Je("area,br,col,hr,img,wbr"),md=Je("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),vd=Je("rp,rt"),L0=ri(vd,md),M0=ri(md,Je("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")),P0=ri(vd,Je("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")),Ml=ri(yd,M0,P0,L0),bd=Je("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),j0=Je("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"),U0=Je("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"),B0=ri(bd,j0,U0),V0=Je("script,style,template"),F0=class{sanitizedSomething=!1;buf=[];sanitizeChildren(t){let e=t.firstChild,n=!0,r=[];for(;e;){if(e.nodeType===Node.ELEMENT_NODE?n=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,n&&e.firstChild){r.push(e),e=z0(e);continue}for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let i=H0(e);if(i){e=i;break}e=r.pop()}}return this.buf.join("")}startElement(t){let e=Pl(t).toLowerCase();if(!Ml.hasOwnProperty(e))return this.sanitizedSomething=!0,!V0.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);let n=t.attributes;for(let r=0;r<n.length;r++){let i=n.item(r),o=i.name,s=o.toLowerCase();if(!B0.hasOwnProperty(s)){this.sanitizedSomething=!0;continue}let a=i.value;bd[s]&&(a=ru(a)),this.buf.push(" ",o,'="',jl(a),'"')}return this.buf.push(">"),!0}endElement(t){let e=Pl(t).toLowerCase();Ml.hasOwnProperty(e)&&!yd.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(t){this.buf.push(jl(t))}};function $0(t,e){return(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function H0(t){let e=t.nextSibling;if(e&&t!==e.previousSibling)throw _d(e);return e}function z0(t){let e=t.firstChild;if(e&&$0(t,e))throw _d(e);return e}function Pl(t){let e=t.nodeName;return typeof e=="string"?e:"FORM"}function _d(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}var q0=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,G0=/([^\#-~ |!])/g;function jl(t){return t.replace(/&/g,"&amp;").replace(q0,function(e){let n=e.charCodeAt(0),r=e.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(G0,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var _i;function wd(t,e){let n=null;try{_i=_i||C0(t);let r=e?String(e):"";n=_i.getInertBodyElement(r);let i=5,o=r;do{if(i===0)throw new Error("Failed to sanitize html because the input is unstable");i--,r=o,o=n.innerHTML,n=_i.getInertBodyElement(r)}while(r!==o);let s=new F0().sanitizeChildren(Ul(n)||n);return Eo(s)}finally{if(n){let r=Ul(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function Ul(t){return"content"in t&&W0(t)?t.content:null}function W0(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}var Ve=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(Ve||{});function Ed(t){let e=Sd();return e?Ll(e.sanitize(Ve.HTML,t)||""):bn(t,"HTML")?Ll(Re(t)):wd(ad(),fo(t))}function wn(t){let e=Sd();return e?e.sanitize(Ve.URL,t)||"":bn(t,"URL")?Re(t):ru(fo(t))}function Sd(){let t=Ot();return t&&t[qe].sanitizer}function Z0(t,e,n){let r=t.length;for(;;){let i=t.indexOf(e,n);if(i===-1)return i;if(i===0||t.charCodeAt(i-1)<=32){let o=e.length;if(i+o===r||t.charCodeAt(i+o)<=32)return i}n=i+1}}var Id="ng-template";function Y0(t,e,n,r){let i=0;if(r){for(;i<e.length&&typeof e[i]=="string";i+=2)if(e[i]==="class"&&Z0(e[i+1].toLowerCase(),n,0)!==-1)return!0}else if(iu(t))return!1;if(i=e.indexOf(1,i),i>-1){let o;for(;++i<e.length&&typeof(o=e[i])=="string";)if(o.toLowerCase()===n)return!0}return!1}function iu(t){return t.type===4&&t.value!==Id}function J0(t,e,n){let r=t.type===4&&!n?Id:t.value;return e===r}function K0(t,e,n){let r=4,i=t.attrs,o=i!==null?tb(i):0,s=!1;for(let a=0;a<e.length;a++){let u=e[a];if(typeof u=="number"){if(!s&&!Se(r)&&!Se(u))return!1;if(s&&Se(u))continue;s=!1,r=u|r&1;continue}if(!s)if(r&4){if(r=2|r&1,u!==""&&!J0(t,u,n)||u===""&&e.length===1){if(Se(r))return!1;s=!0}}else if(r&8){if(i===null||!Y0(t,i,u,n)){if(Se(r))return!1;s=!0}}else{let f=e[++a],h=Q0(u,i,iu(t),n);if(h===-1){if(Se(r))return!1;s=!0;continue}if(f!==""){let d;if(h>o?d="":d=i[h+1].toLowerCase(),r&2&&f!==d){if(Se(r))return!1;s=!0}}}}return Se(r)||s}function Se(t){return(t&1)===0}function Q0(t,e,n,r){if(e===null)return-1;let i=0;if(r||!n){let o=!1;for(;i<e.length;){let s=e[i];if(s===t)return i;if(s===3||s===6)o=!0;else if(s===1||s===2){let a=e[++i];for(;typeof a=="string";)a=e[++i];continue}else{if(s===4)break;if(s===0){i+=4;continue}}i+=o?1:2}return-1}else return eb(e,t)}function X0(t,e,n=!1){for(let r=0;r<e.length;r++)if(K0(t,e[r],n))return!0;return!1}function tb(t){for(let e=0;e<t.length;e++){let n=t[e];if(kv(n))return e}return t.length}function eb(t,e){let n=t.indexOf(4);if(n>-1)for(n++;n<t.length;){let r=t[n];if(typeof r=="number")return-1;if(r===e)return n;n++}return-1}function Bl(t,e){return t?":not("+e.trim()+")":e}function nb(t){let e=t[0],n=1,r=2,i="",o=!1;for(;n<t.length;){let s=t[n];if(typeof s=="string")if(r&2){let a=t[++n];i+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?i+="."+s:r&4&&(i+=" "+s);else i!==""&&!Se(s)&&(e+=Bl(o,i),i=""),r=s,o=o||!Se(r);n++}return i!==""&&(e+=Bl(o,i)),e}function rb(t){return t.map(nb).join(",")}function ib(t){let e=[],n=[],r=1,i=2;for(;r<t.length;){let o=t[r];if(typeof o=="string")i===2?o!==""&&e.push(o,t[++r]):i===8&&n.push(o);else{if(!Se(i))break;i=o}r++}return n.length&&e.push(1,...n),e}var Ee={};function ob(t,e){return t.createText(e)}function sb(t,e,n){t.setValue(e,n)}function Nd(t,e,n){return t.createElement(e,n)}function Bs(t,e,n,r,i){t.insertBefore(e,n,r,i)}function xd(t,e,n){t.appendChild(e,n)}function Vl(t,e,n,r,i){r!==null?Bs(t,e,n,r,i):xd(t,e,n)}function ab(t,e,n){t.removeChild(null,e,n)}function ub(t,e,n){t.setAttribute(e,"style",n)}function lb(t,e,n){n===""?t.removeAttribute(e,"class"):t.setAttribute(e,"class",n)}function Od(t,e,n){let{mergedAttrs:r,classes:i,styles:o}=n;r!==null&&Rv(t,e,r),i!==null&&lb(t,e,i),o!==null&&ub(t,e,o)}function ou(t,e,n,r,i,o,s,a,u,f,h){let d=ee+r,b=d+i,_=cb(d,b),w=typeof f=="function"?f():f;return _[ct]={type:t,blueprint:_,template:n,queries:null,viewQuery:a,declTNode:e,data:_.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:b,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof o=="function"?o():o,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:u,consts:w,incompleteFirstPass:!1,ssrId:h}}function cb(t,e){let n=[];for(let r=0;r<e;r++)n.push(r<t?null:Ee);return n}function fb(t){let e=t.tView;return e===null||e.incompleteFirstPass?t.tView=ou(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):e}function su(t,e,n,r,i,o,s,a,u,f,h){let d=e.blueprint.slice();return d[Ye]=i,d[tt]=r|4|128|8|64|1024,(f!==null||t&&t[tt]&2048)&&(d[tt]|=2048),vh(d),d[_e]=d[pr]=t,d[Zt]=n,d[qe]=s||t&&t[qe],d[te]=a||t&&t[te],d[Pr]=u||t&&t[Pr]||null,d[je]=o,d[go]=a0(),d[Mr]=h,d[ch]=f,d[Pe]=e.type==2?t[Pe]:d,d}function hb(t,e,n){let r=dn(e,t),i=fb(n),o=t[qe].rendererFactory,s=Ad(t,su(t,i,null,Td(n),r,e,null,o.createRenderer(r,n),null,null,null));return t[e.index]=s}function Td(t){let e=16;return t.signals?e=4096:t.onPush&&(e=64),e}function Cd(t,e,n,r){if(n===0)return-1;let i=e.length;for(let o=0;o<n;o++)e.push(r),t.blueprint.push(r),t.data.push(null);return i}function Ad(t,e){return t[jr]?t[El][Oe]=e:t[jr]=e,t[El]=e,e}function ne(t=1){Rd(fe(),Ot(),pn()+t,!1)}function Rd(t,e,n,r){if(!r)if((e[tt]&3)===3){let i=t.preOrderCheckHooks;i!==null&&Di(e,i,n)}else{let i=t.preOrderHooks;i!==null&&Li(e,i,0,n)}Tn(n)}var So=function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t}(So||{});function Vs(t,e,n,r){let i=dt(null);try{let[o,s,a]=t.inputs[n],u=null;(s&So.SignalBased)!==0&&(u=e[o][rn]),u!==null&&u.transformFn!==void 0?r=u.transformFn(r):a!==null&&(r=a.call(e,r)),t.setInput!==null?t.setInput(e,u,r,n,o):dh(e,u,o,r)}finally{dt(i)}}function kd(t,e,n,r,i){let o=pn(),s=r&2;try{Tn(-1),s&&e.length>ee&&Rd(t,e,ee,!1),Tt(s?2:0,i),n(r,i)}finally{Tn(o),Tt(s?3:1,i)}}function au(t,e,n){vb(t,e,n),(n.flags&64)===64&&bb(t,e,n)}function Dd(t,e,n=dn){let r=e.localNames;if(r!==null){let i=e.index+1;for(let o=0;o<r.length;o+=2){let s=r[o+1],a=s===-1?n(e,t):t[s];t[i++]=a}}}function db(t,e,n,r){let i=r.get(d0,fd)||n===Fe.ShadowDom,o=t.selectRootElement(e,i);return pb(o),o}function pb(t){gb(t)}var gb=()=>null;function yb(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}function Ld(t,e,n,r,i,o,s,a){if(!a&&uu(e,t,n,r,i)){Qr(e)&&mb(n,e.index);return}if(e.type&3){let u=dn(e,n);r=yb(r),i=s!=null?s(i,e.value||"",r):i,o.setProperty(u,r,i)}else e.type&12}function mb(t,e){let n=un(e,t);n[tt]&16||(n[tt]|=64)}function vb(t,e,n){let r=n.directiveStart,i=n.directiveEnd;Qr(n)&&hb(e,n,t.data[r+n.componentOffset]),t.firstCreatePass||jh(n,e);let o=n.initialInputs;for(let s=r;s<i;s++){let a=t.data[s],u=Ds(e,t,s,n);if(ni(u,e),o!==null&&wb(e,s-r,u,a,n,o),Un(a)){let f=un(n.index,e);f[Zt]=Ds(e,t,s,n)}}}function bb(t,e,n){let r=n.directiveStart,i=n.directiveEnd,o=n.index,s=wv();try{Tn(o);for(let a=r;a<i;a++){let u=t.data[a],f=e[a];Cs(a),(u.hostBindings!==null||u.hostVars!==0||u.hostAttrs!==null)&&_b(u,f)}}finally{Tn(-1),Cs(s)}}function _b(t,e){t.hostBindings!==null&&t.hostBindings(1,e)}function Md(t,e){let n=t.directiveRegistry,r=null;if(n)for(let i=0;i<n.length;i++){let o=n[i];X0(e,o.selectors,!1)&&(r??=[],Un(o)?r.unshift(o):r.push(o))}return r}function wb(t,e,n,r,i,o){let s=o[e];if(s!==null)for(let a=0;a<s.length;a+=2){let u=s[a],f=s[a+1];Vs(r,n,u,f)}}function Pd(t,e){let n=t[Pr],r=n?n.get(ei,null):null;r&&r.handleError(e)}function uu(t,e,n,r,i){let o=t.inputs?.[r],s=t.hostDirectiveInputs?.[r],a=!1;if(s)for(let u=0;u<s.length;u+=2){let f=s[u],h=s[u+1],d=e.data[f];Vs(d,n[f],h,i),a=!0}if(o)for(let u of o){let f=n[u],h=e.data[u];Vs(h,f,r,i),a=!0}return a}function Eb(t,e){let n=un(e,t),r=n[ct];Sb(r,n);let i=n[Ye];i!==null&&n[Mr]===null&&(n[Mr]=dd(i,n[Pr])),Tt(18),lu(r,n,n[Zt]),Tt(19,n[Zt])}function Sb(t,e){for(let n=e.length;n<t.blueprint.length;n++)e.push(t.blueprint[n])}function lu(t,e,n){qa(e);try{let r=t.viewQuery;r!==null&&Us(1,r,n);let i=t.template;i!==null&&kd(t,e,i,1,n),t.firstCreatePass&&(t.firstCreatePass=!1),e[sr]?.finishViewCreation(t),t.staticContentQueries&&pd(t,e),t.staticViewQueries&&Us(2,t.viewQuery,n);let o=t.components;o!==null&&Ib(e,o)}catch(r){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),r}finally{e[tt]&=-5,Ga()}}function Ib(t,e){for(let n=0;n<e.length;n++)Eb(t,e[n])}function cu(t,e,n,r){let i=dt(null);try{let o=e.tView,s=t[tt]&4096?4096:16,a=su(t,o,n,s,null,e,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),u=t[e.index];a[or]=u;let f=t[sr];return f!==null&&(a[sr]=f.createEmbeddedView(o)),lu(o,a,n),a}finally{dt(i)}}function fu(t,e){return!e||e.firstChild===null||ed(t)}var Nb;function hu(t,e){return Nb(t,e)}var En=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(En||{});function jd(t){return(t.flags&32)===32}function Zn(t,e,n,r,i){if(r!=null){let o,s=!1;jn(r)?o=r:Sn(r)&&(s=!0,r=r[Ye]);let a=Ge(r);t===0&&n!==null?i==null?xd(e,n,a):Bs(e,n,a,i||null,!0):t===1&&n!==null?Bs(e,n,a,i||null,!0):t===2?ab(e,a,s):t===3&&e.destroyNode(a),o!=null&&jb(e,t,o,n,i)}}function xb(t,e){Ud(t,e),e[Ye]=null,e[je]=null}function Ob(t,e,n,r,i,o){r[Ye]=i,r[je]=e,Io(t,r,n,1,i,o)}function Ud(t,e){e[qe].changeDetectionScheduler?.notify(9),Io(t,e,e[te],2,null,null)}function Tb(t){let e=t[jr];if(!e)return ts(t[ct],t);for(;e;){let n=null;if(Sn(e))n=e[jr];else{let r=e[se];r&&(n=r)}if(!n){for(;e&&!e[Oe]&&e!==t;)Sn(e)&&ts(e[ct],e),e=e[_e];e===null&&(e=t),Sn(e)&&ts(e[ct],e),n=e&&e[Oe]}e=n}}function du(t,e){let n=t[Wi],r=n.indexOf(e);n.splice(r,1)}function pu(t,e){if(Xr(e))return;let n=e[te];n.destroyNode&&Io(t,e,n,3,null,null),Tb(e)}function ts(t,e){if(Xr(e))return;let n=dt(null);try{e[tt]&=-129,e[tt]|=256,e[ue]&&mf(e[ue]),Ab(t,e),Cb(t,e),e[ct].type===1&&e[te].destroy();let r=e[or];if(r!==null&&jn(e[_e])){r!==e[_e]&&du(r,e);let i=e[sr];i!==null&&i.detachView(t)}Ps(e)}finally{dt(n)}}function Cb(t,e){let n=t.cleanup,r=e[qi];if(n!==null)for(let s=0;s<n.length-1;s+=2)if(typeof n[s]=="string"){let a=n[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[n[s+1]];n[s].call(a)}r!==null&&(e[qi]=null);let i=e[sn];if(i!==null){e[sn]=null;for(let s=0;s<i.length;s++){let a=i[s];a()}}let o=e[Gi];if(o!==null){e[Gi]=null;for(let s of o)s.destroy()}}function Ab(t,e){let n;if(t!=null&&(n=t.destroyHooks)!=null)for(let r=0;r<n.length;r+=2){let i=e[n[r]];if(!(i instanceof Ya)){let o=n[r+1];if(Array.isArray(o))for(let s=0;s<o.length;s+=2){let a=i[o[s]],u=o[s+1];Tt(4,a,u);try{u.call(a)}finally{Tt(5,a,u)}}else{Tt(4,i,o);try{o.call(i)}finally{Tt(5,i,o)}}}}}function Rb(t,e,n){return kb(t,e.parent,n)}function kb(t,e,n){let r=e;for(;r!==null&&r.type&168;)e=r,r=e.parent;if(r===null)return n[Ye];if(Qr(r)){let{encapsulation:i}=t.data[r.directiveStart+r.componentOffset];if(i===Fe.None||i===Fe.Emulated)return null}return dn(r,n)}function Db(t,e,n){return Mb(t,e,n)}function Lb(t,e,n){return t.type&40?dn(t,n):null}var Mb=Lb,Fl;function gu(t,e,n,r){let i=Rb(t,r,e),o=e[te],s=r.parent||e[je],a=Db(s,r,e);if(i!=null)if(Array.isArray(n))for(let u=0;u<n.length;u++)Vl(o,i,n[u],a,!1);else Vl(o,i,n,a,!1);Fl!==void 0&&Fl(o,r,e,n,i)}function Nr(t,e){if(e!==null){let n=e.type;if(n&3)return dn(e,t);if(n&4)return Fs(-1,t[e.index]);if(n&8){let r=e.child;if(r!==null)return Nr(t,r);{let i=t[e.index];return jn(i)?Fs(-1,i):Ge(i)}}else{if(n&128)return Nr(t,e.next);if(n&32)return hu(e,t)()||Ge(t[e.index]);{let r=Bd(t,e);if(r!==null){if(Array.isArray(r))return r[0];let i=On(t[Pe]);return Nr(i,r)}else return Nr(t,e.next)}}}return null}function Bd(t,e){if(e!==null){let n=t[Pe][je],r=e.projection;return n.projection[r]}return null}function Fs(t,e){let n=se+t+1;if(n<e.length){let r=e[n],i=r[ct].firstChild;if(i!==null)return Nr(r,i)}return e[Ur]}function yu(t,e,n,r,i,o,s){for(;n!=null;){if(n.type===128){n=n.next;continue}let a=r[n.index],u=n.type;if(s&&e===0&&(a&&ni(Ge(a),r),n.flags|=2),!jd(n))if(u&8)yu(t,e,n.child,r,i,o,!1),Zn(e,t,i,a,o);else if(u&32){let f=hu(n,r),h;for(;h=f();)Zn(e,t,i,h,o);Zn(e,t,i,a,o)}else u&16?Pb(t,e,r,n,i,o):Zn(e,t,i,a,o);n=s?n.projectionNext:n.next}}function Io(t,e,n,r,i,o){yu(n,r,t.firstChild,e,i,o,!1)}function Pb(t,e,n,r,i,o){let s=n[Pe],a=s[je].projection[r.projection];if(Array.isArray(a))for(let u=0;u<a.length;u++){let f=a[u];Zn(e,t,i,f,o)}else{let u=a,f=s[_e];ed(r)&&(u.flags|=128),yu(t,e,u,f,i,o,!0)}}function jb(t,e,n,r,i){let o=n[Ur],s=Ge(n);o!==s&&Zn(e,t,r,o,i);for(let a=se;a<n.length;a++){let u=n[a];Io(u[ct],u,t,e,r,o)}}function Ub(t,e,n,r,i){if(e)i?t.addClass(n,r):t.removeClass(n,r);else{let o=r.indexOf("-")===-1?void 0:En.DashCase;i==null?t.removeStyle(n,r,o):(typeof i=="string"&&i.endsWith("!important")&&(i=i.slice(0,-10),o|=En.Important),t.setStyle(n,r,i,o))}}function Qi(t,e,n,r,i=!1){for(;n!==null;){if(n.type===128){n=i?n.projectionNext:n.next;continue}let o=e[n.index];o!==null&&r.push(Ge(o)),jn(o)&&Bb(o,r);let s=n.type;if(s&8)Qi(t,e,n.child,r);else if(s&32){let a=hu(n,e),u;for(;u=a();)r.push(u)}else if(s&16){let a=Bd(e,n);if(Array.isArray(a))r.push(...a);else{let u=On(e[Pe]);Qi(u[ct],u,a,r,!0)}}n=i?n.projectionNext:n.next}return r}function Bb(t,e){for(let n=se;n<t.length;n++){let r=t[n],i=r[ct].firstChild;i!==null&&Qi(r[ct],r,i,e)}t[Ur]!==t[Ye]&&e.push(t[Ur])}function Vd(t){if(t[Jo]!==null){for(let e of t[Jo])e.impl.addSequence(e);t[Jo].length=0}}var Fd=[];function Vb(t){return t[ue]??Fb(t)}function Fb(t){let e=Fd.pop()??Object.create(Hb);return e.lView=t,e}function $b(t){t.lView[ue]!==t&&(t.lView=null,Fd.push(t))}var Hb=Dt(k({},Ca),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{mo(t.lView)},consumerOnSignalRead(){this.lView[ue]=this}});function zb(t){let e=t[ue]??Object.create(qb);return e.lView=t,e}var qb=Dt(k({},Ca),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{let e=On(t.lView);for(;e&&!$d(e[ct]);)e=On(e);e&&Ha(e)},consumerOnSignalRead(){this.lView[ue]=this}});function $d(t){return t.type!==2}function Hd(t){if(t[Gi]===null)return;let e=!0;for(;e;){let n=!1;for(let r of t[Gi])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));e=n&&!!(t[tt]&8192)}}var Gb=100;function zd(t,e=!0,n=0){let r=t[qe].rendererFactory,i=!1;i||r.begin?.();try{Wb(t,n)}catch(o){throw e&&Pd(t,o),o}finally{i||r.end?.()}}function Wb(t,e){let n=Sh();try{Sl(!0),$s(t,e);let r=0;for(;yo(t);){if(r===Gb)throw new _t(103,!1);r++,$s(t,1)}}finally{Sl(n)}}function Zb(t,e,n,r){if(Xr(e))return;let i=e[tt],o=!1,s=!1;qa(e);let a=!0,u=null,f=null;o||($d(t)?(f=Vb(e),u=cl(f)):dy()===null?(a=!1,f=zb(e),u=cl(f)):e[ue]&&(mf(e[ue]),e[ue]=null));try{vh(e),vv(t.bindingStartIndex),n!==null&&kd(t,e,n,2,r);let h=(i&3)===3;if(!o)if(h){let _=t.preOrderCheckHooks;_!==null&&Di(e,_,null)}else{let _=t.preOrderHooks;_!==null&&Li(e,_,0,null),Ko(e,0)}if(s||Yb(e),Hd(e),qd(e,0),t.contentQueries!==null&&pd(t,e),!o)if(h){let _=t.contentCheckHooks;_!==null&&Di(e,_)}else{let _=t.contentHooks;_!==null&&Li(e,_,1),Ko(e,1)}Kb(t,e);let d=t.components;d!==null&&Wd(e,d,0);let b=t.viewQuery;if(b!==null&&Us(2,b,r),!o)if(h){let _=t.viewCheckHooks;_!==null&&Di(e,_)}else{let _=t.viewHooks;_!==null&&Li(e,_,2),Ko(e,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),e[Yo]){for(let _ of e[Yo])_();e[Yo]=null}o||(Vd(e),e[tt]&=-73)}catch(h){throw o||mo(e),h}finally{f!==null&&(vy(f,u),a&&$b(f)),Ga()}}function qd(t,e){for(let n=id(t);n!==null;n=od(n))for(let r=se;r<n.length;r++){let i=n[r];Gd(i,e)}}function Yb(t){for(let e=id(t);e!==null;e=od(e)){if(!(e[tt]&2))continue;let n=e[Wi];for(let r=0;r<n.length;r++){let i=n[r];Ha(i)}}}function Jb(t,e,n){Tt(18);let r=un(e,t);Gd(r,n),Tt(19,r[Zt])}function Gd(t,e){$a(t)&&$s(t,e)}function $s(t,e){let n=t[ct],r=t[tt],i=t[ue],o=!!(e===0&&r&16);if(o||=!!(r&64&&e===0),o||=!!(r&1024),o||=!!(i?.dirty&&yf(i)),o||=!1,i&&(i.dirty=!1),t[tt]&=-9217,o)Zb(n,t,n.template,t[Zt]);else if(r&8192){Hd(t),qd(t,1);let s=n.components;s!==null&&Wd(t,s,1),Vd(t)}}function Wd(t,e,n){for(let r=0;r<e.length;r++)Jb(t,e[r],n)}function Kb(t,e){let n=t.hostBindingOpCodes;if(n!==null)try{for(let r=0;r<n.length;r++){let i=n[r];if(i<0)Tn(~i);else{let o=i,s=n[++r],a=n[++r];_v(s,o);let u=e[o];Tt(24,u),a(2,u),Tt(25,u)}}}finally{Tn(-1)}}function mu(t,e){let n=Sh()?64:1088;for(t[qe].changeDetectionScheduler?.notify(e);t;){t[tt]|=n;let r=On(t);if(Zi(t)&&!r)return t;t=r}return null}function Qb(t,e,n,r){return[t,!0,0,e,null,r,null,n,null,null]}function Zd(t,e){let n=se+e;if(n<t.length)return t[n]}function vu(t,e,n,r=!0){let i=e[ct];if(Xb(i,e,t,n),r){let s=Fs(n,t),a=e[te],u=a.parentNode(t[Ur]);u!==null&&Ob(i,t[je],a,e,u,s)}let o=e[Mr];o!==null&&o.firstChild!==null&&(o.firstChild=null)}function Yd(t,e){let n=bu(t,e);return n!==void 0&&pu(n[ct],n),n}function bu(t,e){if(t.length<=se)return;let n=se+e,r=t[n];if(r){let i=r[or];i!==null&&i!==t&&du(i,r),e>0&&(t[n-1][Oe]=r[Oe]);let o=Xf(t,se+e);xb(r[ct],r);let s=o[sr];s!==null&&s.detachView(o[ct]),r[_e]=null,r[Oe]=null,r[tt]&=-129}return r}function Xb(t,e,n,r){let i=se+r,o=n.length;r>0&&(n[i-1][Oe]=e),r<o-se?(e[Oe]=n[i],Lm(n,se+r,e)):(n.push(e),e[Oe]=null),e[_e]=n;let s=e[or];s!==null&&n!==s&&Jd(s,e);let a=e[sr];a!==null&&a.insertView(t),Os(e),e[tt]|=128}function Jd(t,e){let n=t[Wi],r=e[_e];if(Sn(r))t[tt]|=2;else{let i=r[_e][Pe];e[Pe]!==i&&(t[tt]|=2)}n===null?t[Wi]=[e]:n.push(e)}var t_=class{_lView;_cdRefInjectingView;notifyErrorHandler;_appRef=null;_attachedToViewContainer=!1;get rootNodes(){let t=this._lView,e=t[ct];return Qi(e,t,e.firstChild,[])}constructor(t,e,n=!0){this._lView=t,this._cdRefInjectingView=e,this.notifyErrorHandler=n}get context(){return this._lView[Zt]}get dirty(){return!!(this._lView[tt]&9280)||!!this._lView[ue]?.dirty}set context(t){this._lView[Zt]=t}get destroyed(){return Xr(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[_e];if(jn(t)){let e=t[Km],n=e?e.indexOf(this):-1;n>-1&&(bu(t,n),Xf(e,n))}this._attachedToViewContainer=!1}pu(this._lView[ct],this._lView)}onDestroy(t){bh(this._lView,t)}markForCheck(){mu(this._cdRefInjectingView||this._lView,4)}markForRefresh(){Ha(this._cdRefInjectingView||this._lView)}detach(){this._lView[tt]&=-129}reattach(){Os(this._lView),this._lView[tt]|=128}detectChanges(){this._lView[tt]|=1024,zd(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new _t(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=Zi(this._lView),e=this._lView[or];e!==null&&!t&&du(e,this._lView),Ud(this._lView[ct],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new _t(902,!1);this._appRef=t;let e=Zi(this._lView),n=this._lView[or];n!==null&&!e&&Jd(n,this._lView),Os(this._lView)}};function No(t,e,n,r,i){let o=t.data[e];if(o===null)o=e_(t,e,n,r,i),bv()&&(o.flags|=32);else if(o.type&64){o.type=n,o.value=r,o.attrs=i;let s=yv();o.injectorIndex=s===null?-1:s.injectorIndex}return yr(o,!0),o}function e_(t,e,n,r,i){let o=wh(),s=Eh(),a=s?o:o&&o.parent,u=t.data[e]=r_(t,a,n,e,r,i);return n_(t,u,o,s),u}function n_(t,e,n,r){t.firstChild===null&&(t.firstChild=e),n!==null&&(r?n.child==null&&e.parent!==null&&(n.child=e):n.next===null&&(n.next=e,e.prev=n))}function r_(t,e,n,r,i,o){let s=e?e.injectorIndex:-1,a=0;return dv()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var DO=new RegExp(`^(\\d+)*(${h0}|${f0})*(.*)`),i_=()=>null;function _u(t,e){return i_(t,e)}var o_=class{},Kd=class{},s_=class{resolveComponentFactory(t){throw Error(`No component factory found for ${xe(t)}.`)}},ii=class{static NULL=new s_},wu=class{},a_=(()=>{class t{static \u0275prov=zt({token:t,providedIn:"root",factory:()=>null})}return t})();function $l(t,e,n){let r=n?t.styles:null,i=n?t.classes:null,o=0;if(e!==null)for(let s=0;s<e.length;s++){let a=e[s];if(typeof a=="number")o=a;else if(o==1)i=_s(i,a);else if(o==2){let u=a,f=e[++s];r=_s(r,u+": "+f+";")}}n?t.styles=r:t.stylesWithoutHost=r,n?t.classes=i:t.classesWithoutHost=i}function xo(t,e=lt.Default){let n=Ot();if(n===null)return xt(t,e);let r=gr();return $h(r,n,Ie(t),e)}function Qd(t,e,n,r,i){let o=r===null?null:{"":-1},s=i(t,n);if(s!==null){let a,u=null,f=null,h=l_(s);h===null?a=s:[a,u,f]=h,h_(t,e,n,a,o,u,f)}o!==null&&r!==null&&u_(n,r,o)}function u_(t,e,n){let r=t.localNames=[];for(let i=0;i<e.length;i+=2){let o=n[e[i+1]];if(o==null)throw new _t(-301,!1);r.push(e[i],o)}}function l_(t){let e=null,n=!1;for(let s=0;s<t.length;s++){let a=t[s];if(s===0&&Un(a)&&(e=a),a.findHostDirectiveDefs!==null){n=!0;break}}if(!n)return null;let r=null,i=null,o=null;for(let s of t)s.findHostDirectiveDefs!==null&&(r??=[],i??=new Map,o??=new Map,c_(s,r,o,i)),s===e&&(r??=[],r.push(s));return r!==null?(r.push(...e===null?t:t.slice(1)),[r,i,o]):null}function c_(t,e,n,r){let i=e.length;t.findHostDirectiveDefs(t,e,r),n.set(t,[i,e.length-1])}function f_(t,e,n){e.componentOffset=n,(t.components??=[]).push(e.index)}function h_(t,e,n,r,i,o,s){let a=r.length,u=!1;for(let b=0;b<a;b++){let _=r[b];!u&&Un(_)&&(u=!0,f_(t,n,b)),Vv(jh(n,e),t,_.type)}v_(n,t.data.length,a);for(let b=0;b<a;b++){let _=r[b];_.providersResolver&&_.providersResolver(_)}let f=!1,h=!1,d=Cd(t,e,a,null);a>0&&(n.directiveToIndex=new Map);for(let b=0;b<a;b++){let _=r[b];if(n.mergedAttrs=Ja(n.mergedAttrs,_.hostAttrs),p_(t,n,e,d,_),m_(d,_,i),s!==null&&s.has(_)){let[T,D]=s.get(_);n.directiveToIndex.set(_.type,[d,T+n.directiveStart,D+n.directiveStart])}else(o===null||!o.has(_))&&n.directiveToIndex.set(_.type,d);_.contentQueries!==null&&(n.flags|=4),(_.hostBindings!==null||_.hostAttrs!==null||_.hostVars!==0)&&(n.flags|=64);let w=_.type.prototype;!f&&(w.ngOnChanges||w.ngOnInit||w.ngDoCheck)&&((t.preOrderHooks??=[]).push(n.index),f=!0),!h&&(w.ngOnChanges||w.ngDoCheck)&&((t.preOrderCheckHooks??=[]).push(n.index),h=!0),d++}d_(t,n,o)}function d_(t,e,n){for(let r=e.directiveStart;r<e.directiveEnd;r++){let i=t.data[r];if(n===null||!n.has(i))Hl(0,e,i,r),Hl(1,e,i,r),ql(e,r,!1);else{let o=n.get(i);zl(0,e,o,r),zl(1,e,o,r),ql(e,r,!0)}}}function Hl(t,e,n,r){let i=t===0?n.inputs:n.outputs;for(let o in i)if(i.hasOwnProperty(o)){let s;t===0?s=e.inputs??={}:s=e.outputs??={},s[o]??=[],s[o].push(r),Xd(e,o)}}function zl(t,e,n,r){let i=t===0?n.inputs:n.outputs;for(let o in i)if(i.hasOwnProperty(o)){let s=i[o],a;t===0?a=e.hostDirectiveInputs??={}:a=e.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,o),Xd(e,s)}}function Xd(t,e){e==="class"?t.flags|=8:e==="style"&&(t.flags|=16)}function ql(t,e,n){let{attrs:r,inputs:i,hostDirectiveInputs:o}=t;if(r===null||!n&&i===null||n&&o===null||iu(t)){t.initialInputs??=[],t.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let u=r[a];if(u===0){a+=4;continue}else if(u===5){a+=2;continue}else if(typeof u=="number")break;if(!n&&i.hasOwnProperty(u)){let f=i[u];for(let h of f)if(h===e){s??=[],s.push(u,r[a+1]);break}}else if(n&&o.hasOwnProperty(u)){let f=o[u];for(let h=0;h<f.length;h+=2)if(f[h]===e){s??=[],s.push(f[h+1],r[a+1]);break}}a+=2}t.initialInputs??=[],t.initialInputs.push(s)}function p_(t,e,n,r,i){t.data[r]=i;let o=i.factory||(i.factory=rr(i.type,!0)),s=new Ya(o,Un(i),xo);t.blueprint[r]=s,n[r]=s,g_(t,e,r,Cd(t,n,i.hostVars,Ee),i)}function g_(t,e,n,r,i){let o=i.hostBindings;if(o){let s=t.hostBindingOpCodes;s===null&&(s=t.hostBindingOpCodes=[]);let a=~e.index;y_(s)!=a&&s.push(a),s.push(n,r,o)}}function y_(t){let e=t.length;for(;e>0;){let n=t[--e];if(typeof n=="number"&&n<0)return n}return 0}function m_(t,e,n){if(n){if(e.exportAs)for(let r=0;r<e.exportAs.length;r++)n[e.exportAs[r]]=t;Un(e)&&(n[""]=t)}}function v_(t,e,n){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+n,t.providerIndexes=e}function tp(t,e,n,r,i,o,s,a){let u=e.consts,f=ar(u,s),h=No(e,t,2,r,f);return o&&Qd(e,n,h,ar(u,a),i),h.mergedAttrs=Ja(h.mergedAttrs,h.attrs),h.attrs!==null&&$l(h,h.attrs,!1),h.mergedAttrs!==null&&$l(h,h.mergedAttrs,!0),e.queries!==null&&e.queries.elementStart(e,h),h}function ep(t,e){Dh(t,e),hh(e)&&t.queries.elementEnd(e)}var b_=class extends ii{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let e=po(t);return new N_(e,this.ngModule)}};function __(t){return Object.keys(t).map(e=>{let[n,r,i]=t[e],o={propName:n,templateName:e,isSignal:(r&So.SignalBased)!==0};return i&&(o.transform=i),o})}function w_(t){return Object.keys(t).map(e=>({propName:t[e],templateName:e}))}function E_(t,e,n){let r=e instanceof Lr?e:e?.injector;return r&&t.getStandaloneInjector!==null&&(r=t.getStandaloneInjector(r)||r),r?new Lv(n,r):n}function S_(t){let e=t.get(wu,null);if(e===null)throw new _t(407,!1);let n=t.get(a_,null),r=t.get(ti,null);return{rendererFactory:e,sanitizer:n,changeDetectionScheduler:r}}function I_(t,e){let n=(t.selectors[0][0]||"div").toLowerCase();return Nd(e,n,n==="svg"?iv:n==="math"?ov:null)}var N_=class extends Kd{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;get inputs(){return __(this.componentDef.inputs)}get outputs(){return w_(this.componentDef.outputs)}constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=rb(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!e}create(t,e,n,r){Tt(22);let i=dt(null);try{let o=this.componentDef,s=n?["ng-version","19.2.0"]:ib(this.componentDef.selectors[0]),a=ou(0,null,null,1,0,null,null,null,null,[s],null),u=E_(o,r||this.ngModule,t),f=S_(u),h=f.rendererFactory.createRenderer(null,o),d=n?db(h,n,o.encapsulation,u):I_(o,h),b=su(null,a,null,512|Td(o),null,null,f,h,u,null,dd(d,u,!0));b[ee]=d,qa(b);let _=null;try{let w=tp(ee,a,b,"#host",()=>[this.componentDef],!0,0);d&&(Od(h,d,w),ni(d,b)),au(a,b,w),gd(a,w,b),ep(a,w),e!==void 0&&O_(w,this.ngContentSelectors,e),_=un(w.index,b),b[Zt]=_[Zt],lu(a,b,null)}catch(w){throw _!==null&&Ps(_),Ps(b),w}finally{Tt(23),Ga()}return new x_(this.componentType,b)}finally{dt(i)}}},x_=class extends o_{_rootLView;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,e){super(),this._rootLView=e,this._tNode=Fa(e[ct],ee),this.location=Xh(this._tNode,e),this.instance=un(this._tNode.index,e)[Zt],this.hostView=this.changeDetectorRef=new t_(e,void 0,!1),this.componentType=t}setInput(t,e){let n=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),e))return;let r=this._rootLView,i=uu(n,r[ct],r,t,e);this.previousInputValues.set(t,e);let o=un(n.index,r);mu(o,1)}get injector(){return new zh(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function O_(t,e,n){let r=t.projection=[];for(let i=0;i<e.length;i++){let o=n[i];r.push(o!=null&&o.length?Array.from(o):null)}}var T_=()=>!1;function C_(t,e,n){return T_(t,e,n)}var Hs=class{},np=class extends Hs{injector;componentFactoryResolver=new b_(this);instance=null;constructor(t){super();let e=new Ba([...t.providers,{provide:Hs,useValue:this},{provide:ii,useValue:this.componentFactoryResolver}],t.parent||Ua(),t.debugName,new Set(["environment"]));this.injector=e,t.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function A_(t,e,n=null){return new np({providers:t,parent:e,debugName:n,runEnvironmentInitializers:!0}).injector}var R_=(()=>{class t{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=sh(!1,n.type),i=r.length>0?A_([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,i)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=zt({token:t,providedIn:"environment",factory:()=>new t(xt(Lr))})}return t})();function rp(t){return pm(()=>{let e=P_(t),n=Dt(k({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===nd.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:e.standalone?i=>i.get(R_).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||Fe.Emulated,styles:t.styles||ze,_:null,schemas:t.schemas||null,tView:null,id:""});e.standalone&&wo("NgStandalone"),j_(n);let r=t.dependencies;return n.directiveDefs=Gl(r,!1),n.pipeDefs=Gl(r,!0),n.id=U_(n),n})}function k_(t){return po(t)||ih(t)}function D_(t){return t!==null}function L_(t,e){if(t==null)return ir;let n={};for(let r in t)if(t.hasOwnProperty(r)){let i=t[r],o,s,a,u;Array.isArray(i)?(a=i[0],o=i[1],s=i[2]??o,u=i[3]||null):(o=i,s=i,a=So.None,u=null),n[o]=[r,a,u],e[o]=s}return n}function M_(t){if(t==null)return ir;let e={};for(let n in t)t.hasOwnProperty(n)&&(e[t[n]]=n);return e}function Eu(t){return{type:t.type,name:t.name,factory:null,pure:t.pure!==!1,standalone:t.standalone??!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function P_(t){let e={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputConfig:t.inputs||ir,exportAs:t.exportAs||null,standalone:t.standalone??!0,signals:t.signals===!0,selectors:t.selectors||ze,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:L_(t.inputs,e),outputs:M_(t.outputs),debugInfo:null}}function j_(t){t.features?.forEach(e=>e(t))}function Gl(t,e){if(!t)return null;let n=e?oh:k_;return()=>(typeof t=="function"?t():t).map(r=>n(r)).filter(D_)}function U_(t){let e=0,n=typeof t.consts=="function"?"":t.consts,r=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,n,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery];for(let i of r.join("|"))e=Math.imul(31,e)+i.charCodeAt(0)<<0;return e+=2147483648,"c"+e}function Su(t,e,n){return t[e]=n}function B_(t,e){return t[e]}function We(t,e,n){let r=t[e];return Object.is(r,n)?!1:(t[e]=n,!0)}function V_(t,e,n,r){let i=We(t,e,n);return We(t,e+1,r)||i}function F_(t,e,n,r,i,o,s,a,u){let f=e.consts,h=No(e,t,4,s||null,a||null);_h()&&Qd(e,n,h,ar(f,u),Md),h.mergedAttrs=Ja(h.mergedAttrs,h.attrs),Dh(e,h);let d=h.tView=ou(2,h,r,i,o,e.directiveRegistry,e.pipeRegistry,null,e.schemas,f,null);return e.queries!==null&&(e.queries.template(e,h),d.queries=e.queries.embeddedTView(h)),h}function zs(t,e,n,r,i,o,s,a,u,f){let h=n+ee,d=e.firstCreatePass?F_(h,e,t,r,i,o,s,a,u):e.data[h];yr(d,!1);let b=$_(e,t,d,n);Wa()&&gu(e,t,b,d),ni(b,t);let _=Qb(b,t,b,d);return t[h]=_,Ad(t,_),C_(_,d,t),Va(d)&&au(e,t,d),u!=null&&Dd(t,d,f),d}function ip(t,e,n,r,i,o,s,a){let u=Ot(),f=fe(),h=ar(f.consts,o);return zs(u,f,t,e,n,r,i,h,s,a),ip}var $_=H_;function H_(t,e,n,r){return Za(!0),e[te].createComment("")}var z_=new Ct(""),q_=(()=>{class t{static \u0275prov=zt({token:t,providedIn:"root",factory:()=>new G_})}return t})(),G_=class{queuedEffectCount=0;queues=new Map;schedule(t){this.enqueue(t)}remove(t){let e=t.zone,n=this.queues.get(e);n.has(t)&&(n.delete(t),this.queuedEffectCount--)}enqueue(t){let e=t.zone;this.queues.has(e)||this.queues.set(e,new Set);let n=this.queues.get(e);n.has(t)||(this.queuedEffectCount++,n.add(t))}flush(){for(;this.queuedEffectCount>0;)for(let[t,e]of this.queues)t===null?this.flushQueue(e):t.run(()=>this.flushQueue(e))}flushQueue(t){for(let e of t)t.delete(e),this.queuedEffectCount--,e.run()}};function op(t){return!!t&&typeof t.then=="function"}function W_(t){return!!t&&typeof t.subscribe=="function"}var Z_=new Ct(""),sp=(()=>{class t{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=St(Z_,{optional:!0})??[];injector=St(bo);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let i of this.appInits){let o=lh(this.injector,i);if(op(o))n.push(o);else if(W_(o)){let s=new Promise((a,u)=>{o.subscribe({complete:a,error:u})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(i=>{this.reject(i)}),n.length===0&&r(),this.initialized=!0}static \u0275fac=function(n){return new(n||t)};static \u0275prov=zt({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Y_=new Ct("");function J_(){_y(()=>{throw new _t(600,!1)})}function K_(t){return t.isBoundToModule}var Q_=10,ur=(()=>{class t{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=St(r0);afterRenderManager=St(p0);zonelessEnabled=St(Ka);rootEffectScheduler=St(q_);dirtyFlags=0;tracingSnapshot=null;externalTestViews=new Set;afterTick=new Jr;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=St(_o).hasPendingTasks.pipe(zf(n=>!n));constructor(){St(nu,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:i=>{i&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=St(Lr);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){Tt(10);let i=n instanceof Kd;if(!this._injector.get(sp).done){let d=!i&&jm(n),b=!1;throw new _t(405,b)}let o;i?o=n:o=this._injector.get(ii).resolveComponentFactory(n),this.componentTypes.push(o.componentType);let s=K_(o)?void 0:this._injector.get(Hs),a=r||o.selector,u=o.create(bo.NULL,[],a,s),f=u.location.nativeElement,h=u.injector.get(z_,null);return h?.registerApplication(f),u.onDestroy(()=>{this.detachView(u.hostView),Pi(this.components,u),h?.unregisterApplication(f)}),this._loadComponent(u),Tt(11,u),u}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){Tt(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(hd.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new _t(101,!1);let n=dt(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,dt(n),this.afterTick.next(),Tt(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(wu,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<Q_;)Tt(14),this.synchronizeOnce(),Tt(15)}synchronizeOnce(){if(this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush()),this.dirtyFlags&7){let n=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:r,notifyErrorHandler:i}of this.allViews)X_(r,i,n,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}else this._rendererFactory?.begin?.(),this._rendererFactory?.end?.();this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>yo(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;Pi(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(Y_,[]).forEach(r=>r(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._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Pi(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new _t(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(n){return new(n||t)};static \u0275prov=zt({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Pi(t,e){let n=t.indexOf(e);n>-1&&t.splice(n,1)}function X_(t,e,n,r){!n&&!yo(t)||zd(t,e,n&&!r?0:1)}function ap(t,e,n,r){return We(t,vo(),n)?e+fo(n)+r:Ee}function wi(t,e){return t<<17|e<<2}function Cn(t){return t>>17&32767}function t1(t){return(t&2)==2}function e1(t,e){return t&131071|e<<17}function qs(t){return t|2}function lr(t){return(t&131068)>>2}function es(t,e){return t&-131069|e<<2}function n1(t){return(t&1)===1}function Gs(t){return t|1}function r1(t,e,n,r,i,o){let s=o?e.classBindings:e.styleBindings,a=Cn(s),u=lr(s);t[r]=n;let f=!1,h;if(Array.isArray(n)){let d=n;h=d[1],(h===null||Kr(d,h)>0)&&(f=!0)}else h=n;if(i)if(u!==0){let d=Cn(t[a+1]);t[r+1]=wi(d,a),d!==0&&(t[d+1]=es(t[d+1],r)),t[a+1]=e1(t[a+1],r)}else t[r+1]=wi(a,0),a!==0&&(t[a+1]=es(t[a+1],r)),a=r;else t[r+1]=wi(u,0),a===0?a=r:t[u+1]=es(t[u+1],r),u=r;f&&(t[r+1]=qs(t[r+1])),Wl(t,h,r,!0),Wl(t,h,r,!1),i1(e,h,t,r,o),s=wi(a,u),o?e.classBindings=s:e.styleBindings=s}function i1(t,e,n,r,i){let o=i?t.residualClasses:t.residualStyles;o!=null&&typeof e=="string"&&Kr(o,e)>=0&&(n[r+1]=Gs(n[r+1]))}function Wl(t,e,n,r){let i=t[n+1],o=e===null,s=r?Cn(i):lr(i),a=!1;for(;s!==0&&(a===!1||o);){let u=t[s],f=t[s+1];o1(u,e)&&(a=!0,t[s+1]=r?Gs(f):qs(f)),s=r?Cn(f):lr(f)}a&&(t[n+1]=r?qs(i):Gs(i))}function o1(t,e){return t===null||e==null||(Array.isArray(t)?t[1]:t)===e?!0:Array.isArray(t)&&typeof e=="string"?Kr(t,e)>=0:!1}var re={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function s1(t){return t.substring(re.key,re.keyEnd)}function a1(t){return t.substring(re.value,re.valueEnd)}function u1(t){return l1(t),up(t,Xi(t,0,re.textEnd))}function up(t,e){let n=re.textEnd,r=re.key=Xi(t,e,n);return n===r?-1:(r=re.keyEnd=c1(t,r,n),r=Zl(t,r,n,58),r=re.value=Xi(t,r,n),r=re.valueEnd=f1(t,r,n),Zl(t,r,n,59))}function l1(t){re.key=0,re.keyEnd=0,re.value=0,re.valueEnd=0,re.textEnd=t.length}function Xi(t,e,n){for(;e<n&&t.charCodeAt(e)<=32;)e++;return e}function c1(t,e,n){let r;for(;e<n&&((r=t.charCodeAt(e))===45||r===95||(r&-33)>=65&&(r&-33)<=90||r>=48&&r<=57);)e++;return e}function Zl(t,e,n,r){return e=Xi(t,e,n),e<n&&e++,e}function f1(t,e,n){let r=-1,i=-1,o=-1,s=e,a=s;for(;s<n;){let u=t.charCodeAt(s++);if(u===59)return a;u===34||u===39?a=s=Yl(t,u,s,n):e===s-4&&o===85&&i===82&&r===76&&u===40?a=s=Yl(t,41,s,n):u>32&&(a=s),o=i,i=r,r=u&-33}return a}function Yl(t,e,n,r){let i=-1,o=n;for(;o<r;){let s=t.charCodeAt(o++);if(s==e&&i!==92)return o;s==92&&i===92?i=0:i=s}throw new Error}function ln(t,e,n){let r=Ot(),i=vo();if(We(r,i,e)){let o=fe(),s=Rh();Ld(o,s,r,t,e,r[te],n,!1)}return ln}function Ws(t,e,n,r,i){uu(e,t,n,i?"class":"style",r)}function Iu(t,e,n){return p1(t,e,n,!1),Iu}function h1(t){g1(fp,d1,t,!1)}function d1(t,e){for(let n=u1(e);n>=0;n=up(e,n))fp(t,s1(e),a1(e))}function p1(t,e,n,r){let i=Ot(),o=fe(),s=Ih(2);if(o.firstUpdatePass&&cp(o,t,s,r),e!==Ee&&We(i,s,e)){let a=o.data[pn()];hp(o,a,i,i[te],t,i[s+1]=E1(e,n),r,s)}}function g1(t,e,n,r){let i=fe(),o=Ih(2);i.firstUpdatePass&&cp(i,null,o,r);let s=Ot();if(n!==Ee&&We(s,o,n)){let a=i.data[pn()];if(dp(a,r)&&!lp(i,o)){let u=r?a.classesWithoutHost:a.stylesWithoutHost;u!==null&&(n=_s(u,n||"")),Ws(i,a,s,n,r)}else w1(i,a,s,s[te],s[o+1],s[o+1]=_1(t,e,n),r,o)}}function lp(t,e){return e>=t.expandoStartIndex}function cp(t,e,n,r){let i=t.data;if(i[n+1]===null){let o=i[pn()],s=lp(t,n);dp(o,r)&&e===null&&!s&&(e=!1),e=y1(i,o,e,r),r1(i,o,e,n,s,r)}}function y1(t,e,n,r){let i=Ev(t),o=r?e.residualClasses:e.residualStyles;if(i===null)(r?e.classBindings:e.styleBindings)===0&&(n=ns(null,t,e,n,r),n=Br(n,e.attrs,r),o=null);else{let s=e.directiveStylingLast;if(s===-1||t[s]!==i)if(n=ns(i,t,e,n,r),o===null){let a=m1(t,e,r);a!==void 0&&Array.isArray(a)&&(a=ns(null,t,e,a[1],r),a=Br(a,e.attrs,r),v1(t,e,r,a))}else o=b1(t,e,r)}return o!==void 0&&(r?e.residualClasses=o:e.residualStyles=o),n}function m1(t,e,n){let r=n?e.classBindings:e.styleBindings;if(lr(r)!==0)return t[Cn(r)]}function v1(t,e,n,r){let i=n?e.classBindings:e.styleBindings;t[Cn(i)]=r}function b1(t,e,n){let r,i=e.directiveEnd;for(let o=1+e.directiveStylingLast;o<i;o++){let s=t[o].hostAttrs;r=Br(r,s,n)}return Br(r,e.attrs,n)}function ns(t,e,n,r,i){let o=null,s=n.directiveEnd,a=n.directiveStylingLast;for(a===-1?a=n.directiveStart:a++;a<s&&(o=e[a],r=Br(r,o.hostAttrs,i),o!==t);)a++;return t!==null&&(n.directiveStylingLast=a),r}function Br(t,e,n){let r=n?1:2,i=-1;if(e!==null)for(let o=0;o<e.length;o++){let s=e[o];typeof s=="number"?i=s:i===r&&(Array.isArray(t)||(t=t===void 0?[]:["",t]),th(t,s,n?!0:e[++o]))}return t===void 0?null:t}function _1(t,e,n){if(n==null||n==="")return ze;let r=[],i=Re(n);if(Array.isArray(i))for(let o=0;o<i.length;o++)t(r,i[o],!0);else if(typeof i=="object")for(let o in i)i.hasOwnProperty(o)&&t(r,o,i[o]);else typeof i=="string"&&e(r,i);return r}function fp(t,e,n){th(t,e,Re(n))}function w1(t,e,n,r,i,o,s,a){i===Ee&&(i=ze);let u=0,f=0,h=0<i.length?i[0]:null,d=0<o.length?o[0]:null;for(;h!==null||d!==null;){let b=u<i.length?i[u+1]:void 0,_=f<o.length?o[f+1]:void 0,w=null,T;h===d?(u+=2,f+=2,b!==_&&(w=d,T=_)):d===null||h!==null&&h<d?(u+=2,w=h):(f+=2,w=d,T=_),w!==null&&hp(t,e,n,r,w,T,s,a),h=u<i.length?i[u]:null,d=f<o.length?o[f]:null}}function hp(t,e,n,r,i,o,s,a){if(!(e.type&3))return;let u=t.data,f=u[a+1],h=n1(f)?Jl(u,e,n,i,lr(f),s):void 0;if(!to(h)){to(o)||t1(f)&&(o=Jl(u,null,n,i,a,s));let d=yh(pn(),n);Ub(r,s,d,i,o)}}function Jl(t,e,n,r,i,o){let s=e===null,a;for(;i>0;){let u=t[i],f=Array.isArray(u),h=f?u[1]:u,d=h===null,b=n[i+1];b===Ee&&(b=d?ze:void 0);let _=d?Wo(b,r):h===r?b:void 0;if(f&&!to(_)&&(_=Wo(u,r)),to(_)&&(a=_,s))return a;let w=t[i+1];i=s?Cn(w):lr(w)}if(e!==null){let u=o?e.residualClasses:e.residualStyles;u!=null&&(a=Wo(u,r))}return a}function to(t){return t!==void 0}function E1(t,e){return t==null||t===""||(typeof e=="string"?t=t+e:typeof t=="object"&&(t=xe(Re(t)))),t}function dp(t,e){return(t.flags&(e?8:16))!==0}var S1=class{destroy(t){}updateValue(t,e){}swap(t,e){let n=Math.min(t,e),r=Math.max(t,e),i=this.detach(r);if(r-n>1){let o=this.detach(n);this.attach(n,i),this.attach(r,o)}else this.attach(n,i)}move(t,e){this.attach(e,this.detach(t))}};function rs(t,e,n,r,i){return t===n&&Object.is(e,r)?1:Object.is(i(t,e),i(n,r))?-1:0}function I1(t,e,n){let r,i,o=0,s=t.length-1,a;if(Array.isArray(e)){let u=e.length-1;for(;o<=s&&o<=u;){let f=t.at(o),h=e[o],d=rs(o,f,o,h,n);if(d!==0){d<0&&t.updateValue(o,h),o++;continue}let b=t.at(s),_=e[u],w=rs(s,b,u,_,n);if(w!==0){w<0&&t.updateValue(s,_),s--,u--;continue}let T=n(o,f),D=n(s,b),M=n(o,h);if(Object.is(M,D)){let H=n(u,_);Object.is(H,T)?(t.swap(o,s),t.updateValue(s,_),u--,s--):t.move(s,o),t.updateValue(o,h),o++;continue}if(r??=new Xl,i??=Ql(t,o,s,n),Zs(t,r,o,M))t.updateValue(o,h),o++,s++;else if(i.has(M))r.set(T,t.detach(o)),s--;else{let H=t.create(o,e[o]);t.attach(o,H),o++,s++}}for(;o<=u;)Kl(t,r,n,o,e[o]),o++}else if(e!=null){let u=e[Symbol.iterator](),f=u.next();for(;!f.done&&o<=s;){let h=t.at(o),d=f.value,b=rs(o,h,o,d,n);if(b!==0)b<0&&t.updateValue(o,d),o++,f=u.next();else{r??=new Xl,i??=Ql(t,o,s,n);let _=n(o,d);if(Zs(t,r,o,_))t.updateValue(o,d),o++,s++,f=u.next();else if(!i.has(_))t.attach(o,t.create(o,d)),o++,s++,f=u.next();else{let w=n(o,h);r.set(w,t.detach(o)),s--}}}for(;!f.done;)Kl(t,r,n,t.length,f.value),f=u.next()}for(;o<=s;)t.destroy(t.detach(s--));r?.forEach(u=>{t.destroy(u)})}function Zs(t,e,n,r){return e!==void 0&&e.has(r)?(t.attach(n,e.get(r)),e.delete(r),!0):!1}function Kl(t,e,n,r,i){if(Zs(t,e,r,n(r,i)))t.updateValue(r,i);else{let o=t.create(r,i);t.attach(r,o)}}function Ql(t,e,n,r){let i=new Set;for(let o=e;o<=n;o++)i.add(r(o,t.at(o)));return i}var Xl=class{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let e=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(e)?(this.kvMap.set(t,this._vMap.get(e)),this._vMap.delete(e)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,e){if(this.kvMap.has(t)){let n=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let r=this._vMap;for(;r.has(n);)n=r.get(n);r.set(n,e)}else this.kvMap.set(t,e)}forEach(t){for(let[e,n]of this.kvMap)if(t(n,e),this._vMap!==void 0){let r=this._vMap;for(;r.has(n);)n=r.get(n),t(n,e)}}};function N1(t,e){wo("NgControlFlow");let n=Ot(),r=vo(),i=n[r]!==Ee?n[r]:-1,o=i!==-1?eo(n,ee+i):void 0,s=0;if(We(n,r,t)){let a=dt(null);try{if(o!==void 0&&Yd(o,s),t!==-1){let u=ee+t,f=eo(n,u),h=Ys(n[ct],u),d=_u(f,h.tView.ssrId),b=cu(n,h,e,{dehydratedView:d});vu(f,b,s,fu(h,d))}}finally{dt(a)}}else if(o!==void 0){let a=Zd(o,s);a!==void 0&&(a[Zt]=e)}}var x1=class{lContainer;$implicit;$index;constructor(t,e,n){this.lContainer=t,this.$implicit=e,this.$index=n}get $count(){return this.lContainer.length-se}};function O1(t,e){return e}var T1=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,e,n){this.hasEmptyBlock=t,this.trackByFn=e,this.liveCollection=n}};function Vr(t,e,n,r,i,o,s,a,u,f,h,d,b){wo("NgControlFlow");let _=Ot(),w=fe(),T=u!==void 0,D=Ot(),M=a?s.bind(D[Pe][Zt]):s,H=new T1(T,M);D[ee+t]=H,zs(_,w,t+1,e,n,r,i,ar(w.consts,o)),T&&zs(_,w,t+2,u,f,h,d,ar(w.consts,b))}var C1=class extends S1{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,e,n){super(),this.lContainer=t,this.hostLView=e,this.templateTNode=n}get length(){return this.lContainer.length-se}at(t){return this.getLView(t)[Zt].$implicit}attach(t,e){let n=e[Mr];this.needsIndexUpdate||=t!==this.length,vu(this.lContainer,e,t,fu(this.templateTNode,n))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,A1(this.lContainer,t)}create(t,e){let n=_u(this.lContainer,this.templateTNode.tView.ssrId),r=cu(this.hostLView,this.templateTNode,new x1(this.lContainer,e,t),{dehydratedView:n});return this.operationsCounter?.recordCreate(),r}destroy(t){pu(t[ct],t),this.operationsCounter?.recordDestroy()}updateValue(t,e){this.getLView(t)[Zt].$implicit=e}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[Zt].$index=t}getLView(t){return R1(this.lContainer,t)}};function Fr(t){let e=dt(null),n=pn();try{let r=Ot(),i=r[ct],o=r[n],s=n+1,a=eo(r,s);if(o.liveCollection===void 0){let f=Ys(i,s);o.liveCollection=new C1(a,r,f)}else o.liveCollection.reset();let u=o.liveCollection;if(I1(u,t,o.trackByFn),u.updateIndexes(),o.hasEmptyBlock){let f=vo(),h=u.length===0;if(We(r,f,h)){let d=n+2,b=eo(r,d);if(h){let _=Ys(i,d),w=_u(b,_.tView.ssrId),T=cu(r,_,void 0,{dehydratedView:w});vu(b,T,0,fu(_,w))}else Yd(b,0)}}}finally{dt(e)}}function eo(t,e){return t[e]}function A1(t,e){return bu(t,e)}function R1(t,e){return Zd(t,e)}function Ys(t,e){return Fa(t,e)}function Qt(t,e,n,r){let i=Ot(),o=fe(),s=ee+t,a=i[te],u=o.firstCreatePass?tp(s,o,i,e,Md,_h(),n,r):o.data[s],f=k1(o,i,u,a,e,t);i[s]=f;let h=Va(u);return yr(u,!0),Od(a,f,u),!jd(u)&&Wa()&&gu(o,i,f,u),(cv()===0||h)&&ni(f,i),fv(),h&&(au(o,i,u),gd(o,u,i)),r!==null&&Dd(i,u),Qt}function ve(){let t=gr();Eh()?mv():(t=t.parent,yr(t,!1));let e=t;pv(e)&&gv(),hv();let n=fe();return n.firstCreatePass&&ep(n,e),e.classesWithoutHost!=null&&Cv(e)&&Ws(n,e,Ot(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&Av(e)&&Ws(n,e,Ot(),e.stylesWithoutHost,!1),ve}function cn(t,e,n,r){return Qt(t,e,n,r),ve(),cn}var k1=(t,e,n,r,i,o)=>(Za(!0),Nd(r,i,Nv()));function D1(){return Ot()}var no="en-US",L1=no;function M1(t){typeof t=="string"&&(L1=t.toLowerCase().replace(/_/g,"-"))}var P1=(t,e,n)=>{};function xr(t,e,n,r){let i=Ot(),o=fe(),s=gr();return U1(o,i,i[te],s,t,e,r),xr}function j1(t,e,n,r){let i=t.cleanup;if(i!=null)for(let o=0;o<i.length-1;o+=2){let s=i[o];if(s===n&&i[o+1]===r){let a=e[qi],u=i[o+2];return a.length>u?a[u]:null}typeof s=="string"&&(o+=2)}return null}function U1(t,e,n,r,i,o,s){let a=Va(r),u=t.firstCreatePass?lv(t):null,f=e[Zt],h=uv(e),d=!0;if(r.type&3||s){let b=dn(r,e),_=s?s(b):b,w=h.length,T=s?M=>s(Ge(M[r.index])):r.index,D=null;if(!s&&a&&(D=j1(t,e,i,r.index)),D!==null){let M=D.__ngLastListenerFn__||D;M.__ngNextListenerFn__=o,D.__ngLastListenerFn__=o,d=!1}else{o=nc(r,e,f,o),P1(b,i,o);let M=n.listen(_,i,o);h.push(o,M),u&&u.push(i,T,w,w+1)}}else o=nc(r,e,f,o);if(d){let b=r.outputs?.[i],_=r.hostDirectiveOutputs?.[i];if(_&&_.length)for(let w=0;w<_.length;w+=2){let T=_[w],D=_[w+1];tc(r,t,e,T,D,i,o,h,u)}if(b&&b.length)for(let w of b)tc(r,t,e,w,i,i,o,h,u)}}function tc(t,e,n,r,i,o,s,a,u){let f=n[r],h=e.data[r].outputs[i],d=f[h].subscribe(s),b=a.length;a.push(s,d),u&&u.push(o,t.index,b,-(b+1))}function ec(t,e,n,r){let i=dt(null);try{return Tt(6,e,n),n(r)!==!1}catch(o){return Pd(t,o),!1}finally{Tt(7,e,n),dt(i)}}function nc(t,e,n,r){return function i(o){if(o===Function)return r;let s=Qr(t)?un(t.index,e):e;mu(s,5);let a=ec(e,n,r,o),u=i.__ngNextListenerFn__;for(;u;)a=ec(e,n,u,o)&&a,u=u.__ngNextListenerFn__;return a}}function ye(t=1){return Iv(t)}function tr(t,e,n){return Nu(t,"",e,"",n),tr}function Nu(t,e,n,r,i){let o=Ot(),s=ap(o,e,n,r);if(s!==Ee){let a=fe(),u=Rh();Ld(a,u,o,t,s,o[te],i,!1)}return Nu}function pp(t,e,n,r){n>=t.data.length&&(t.data[n]=null,t.blueprint[n]=null),e[n]=r}function Ar(t,e=""){let n=Ot(),r=fe(),i=t+ee,o=r.firstCreatePass?No(r,i,1,e,null):r.data[i],s=B1(r,n,o,e,t);n[i]=s,Wa()&&gu(r,n,s,o),yr(o,!1)}var B1=(t,e,n,r,i)=>(Za(!0),ob(e[te],r));function xu(t){return Ou("",t,""),xu}function Ou(t,e,n){let r=Ot(),i=ap(r,t,e,n);return i!==Ee&&V1(r,pn(),i),Ou}function V1(t,e,n){let r=yh(e,t);sb(t[te],r,n)}var F1={};function Tu(t){let e=fe(),n=Ot(),r=t+ee,i=No(e,r,128,null,null);return yr(i,!1),pp(e,n,r,F1),Tu}function $1(t,e,n){let r=za()+t,i=Ot();return i[r]===Ee?Su(i,r,n?e.call(n):e()):B_(i,r)}function gp(t,e){let n=t[e];return n===Ee?void 0:n}function H1(t,e,n,r,i,o){let s=e+n;return We(t,s,i)?Su(t,s+1,o?r.call(o,i):r(i)):gp(t,s+1)}function z1(t,e,n,r,i,o,s){let a=e+n;return V_(t,a,i,o)?Su(t,a+2,s?r.call(s,i,o):r(i,o)):gp(t,a+2)}function $r(t,e){let n=fe(),r,i=t+ee;n.firstCreatePass?(r=q1(e,n.pipeRegistry),n.data[i]=r,r.onDestroy&&(n.destroyHooks??=[]).push(i,r.onDestroy)):r=n.data[i];let o=r.factory||(r.factory=rr(r.type,!0)),s,a=oe(xo);try{let u=Yi(!1),f=o();return Yi(u),pp(n,Ot(),i,f),f}finally{oe(a)}}function q1(t,e){if(e)for(let n=e.length-1;n>=0;n--){let r=e[n];if(t===r.name)return r}}function ro(t,e,n){let r=t+ee,i=Ot(),o=mh(i,r);return yp(i,r)?H1(i,za(),e,o.transform,n,o):o.transform(n)}function G1(t,e,n,r){let i=t+ee,o=Ot(),s=mh(o,i);return yp(o,i)?z1(o,za(),e,s.transform,n,r,s):s.transform(n,r)}function yp(t,e){return t[ct].data[e].pure}var W1=(()=>{class t{zone=St(le);changeDetectionScheduler=St(ti);applicationRef=St(ur);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(n){return new(n||t)};static \u0275prov=zt({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Z1({ngZoneFactory:t,ignoreChangesOutsideZone:e,scheduleInRootZone:n}){return t??=()=>new le(Dt(k({},Y1()),{scheduleInRootZone:n})),[{provide:le,useFactory:t},{provide:zi,multi:!0,useFactory:()=>{let r=St(W1,{optional:!0});return()=>r.initialize()}},{provide:zi,multi:!0,useFactory:()=>{let r=St(J1);return()=>{r.initialize()}}},e===!0?{provide:Yh,useValue:!0}:[],{provide:Qa,useValue:n??Wh}]}function Y1(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var J1=(()=>{class t{subscription=new He;initialized=!1;zone=St(le);pendingTasks=St(_o);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(()=>{le.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{le.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(n){return new(n||t)};static \u0275prov=zt({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),mp=(()=>{class t{appRef=St(ur);taskService=St(_o);ngZone=St(le);zonelessEnabled=St(Ka);tracing=St(nu,{optional:!0});disableScheduling=St(Yh,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new He;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Ki):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(St(Qa,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Kh||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;let r=!1;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2,r=!0;break}case 12:{this.appRef.dirtyFlags|=16,r=!0;break}case 13:{this.appRef.dirtyFlags|=2,r=!0;break}case 11:{r=!0;break}case 9:case 8:case 7:case 10:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(r))return;let i=this.useMicrotaskScheduler?Cl:Jh;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>i(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>i(()=>this.tick()))}shouldScheduleTick(n){return!(this.disableScheduling&&!n||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Ki+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(n),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Cl(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(n){return new(n||t)};static \u0275prov=zt({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function K1(){return wo("NgZoneless"),Um([{provide:ti,useExisting:mp},{provide:le,useClass:Kh},{provide:Ka,useValue:!0},{provide:Qa,useValue:!1},[]])}function Q1(){return typeof $localize<"u"&&$localize.locale||no}var vp=new Ct("",{providedIn:"root",factory:()=>St(vp,lt.Optional|lt.SkipSelf)||Q1()}),Js=new Ct(""),X1=new Ct("");function wr(t){return!t.moduleRef}function tw(t){let e=wr(t)?t.r3Injector:t.moduleRef.injector,n=e.get(le);return n.run(()=>{wr(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();let r=e.get(ei,null),i;if(n.runOutsideAngular(()=>{i=n.onError.subscribe({next:o=>{r.handleError(o)}})}),wr(t)){let o=()=>e.destroy(),s=t.platformInjector.get(Js);s.add(o),e.onDestroy(()=>{i.unsubscribe(),s.delete(o)})}else{let o=()=>t.moduleRef.destroy(),s=t.platformInjector.get(Js);s.add(o),t.moduleRef.onDestroy(()=>{Pi(t.allPlatformModules,t.moduleRef),i.unsubscribe(),s.delete(o)})}return nw(r,n,()=>{let o=e.get(sp);return o.runInitializers(),o.donePromise.then(()=>{let s=e.get(vp,no);if(M1(s||no),!e.get(X1,!0))return wr(t)?e.get(ur):(t.allPlatformModules.push(t.moduleRef),t.moduleRef);if(wr(t)){let a=e.get(ur);return t.rootComponent!==void 0&&a.bootstrap(t.rootComponent),a}else return ew(t.moduleRef,t.allPlatformModules),t.moduleRef})})})}function ew(t,e){let n=t.injector.get(ur);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(t.instance.ngDoBootstrap)t.instance.ngDoBootstrap(n);else throw new _t(-403,!1);e.push(t)}function nw(t,e,n){try{let r=n();return op(r)?r.catch(i=>{throw e.runOutsideAngular(()=>t.handleError(i)),i}):r}catch(r){throw e.runOutsideAngular(()=>t.handleError(r)),r}}var ji=null;function rw(t=[],e){return bo.create({name:e,providers:[{provide:ja,useValue:"platform"},{provide:Js,useValue:new Set([()=>ji=null])},...t]})}function iw(t=[]){if(ji)return ji;let e=rw(t);return ji=e,J_(),ow(e),e}function ow(t){let e=t.get(ld,null);lh(t,()=>{e?.forEach(n=>n())})}function sw(t){Tt(8);try{let{rootComponent:e,appProviders:n,platformProviders:r}=t,i=iw(r),o=[Z1({}),{provide:ti,useExisting:mp},...n||[]],s=new np({providers:o,parent:i,debugName:"",runEnvironmentInitializers:!1});return tw({r3Injector:s.injector,platformInjector:i,rootComponent:e})}catch(e){return Promise.reject(e)}finally{Tt(9)}}var LO=class{[rn];constructor(t){this[rn]=t}destroy(){this[rn].destroy()}},aw={schedule(t,e){let n=setTimeout(t,e);return()=>clearTimeout(n)}};function uw(t){return t.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}function lw(t){return!!t&&t.nodeType===Node.ELEMENT_NODE}var is;function cw(t,e){if(!is){let n=Element.prototype;is=n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}return t.nodeType===Node.ELEMENT_NODE?is.call(t,e):!1}function fw(t){let e={};return t.forEach(({propName:n,templateName:r,transform:i})=>{e[uw(r)]=[n,i]}),e}function hw(t,e){return e.get(ii).resolveComponentFactory(t).inputs}function dw(t,e){let n=t.childNodes,r=e.map(()=>[]),i=-1;e.some((o,s)=>o==="*"?(i=s,!0):!1);for(let o=0,s=n.length;o<s;++o){let a=n[o],u=pw(a,e,i);u!==-1&&r[u].push(a)}return r}function pw(t,e,n){let r=n;return lw(t)&&e.some((i,o)=>i!=="*"&&cw(t,i)?(r=o,!0):!1),r}var gw=10,yw=class{componentFactory;inputMap=new Map;constructor(t,e){this.componentFactory=e.get(ii).resolveComponentFactory(t);for(let n of this.componentFactory.inputs)this.inputMap.set(n.propName,n.templateName)}create(t){return new mw(this.componentFactory,t,this.inputMap)}},mw=class{componentFactory;injector;inputMap;eventEmitters=new Fy(1);events=this.eventEmitters.pipe(hm(t=>fm(...t)));componentRef=null;scheduledDestroyFn=null;initialInputValues=new Map;ngZone;elementZone;appRef;cdScheduler;constructor(t,e,n){this.componentFactory=t,this.injector=e,this.inputMap=n,this.ngZone=this.injector.get(le),this.appRef=this.injector.get(ur),this.cdScheduler=e.get(ti),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(t){this.runInZone(()=>{if(this.scheduledDestroyFn!==null){this.scheduledDestroyFn(),this.scheduledDestroyFn=null;return}this.componentRef===null&&this.initializeComponent(t)})}disconnect(){this.runInZone(()=>{this.componentRef===null||this.scheduledDestroyFn!==null||(this.scheduledDestroyFn=aw.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null)},gw))})}getInputValue(t){return this.runInZone(()=>this.componentRef===null?this.initialInputValues.get(t):this.componentRef.instance[t])}setInputValue(t,e){if(this.componentRef===null){this.initialInputValues.set(t,e);return}this.runInZone(()=>{this.componentRef.setInput(this.inputMap.get(t)??t,e),this.componentRef.hostView.dirty&&(this.componentRef.changeDetectorRef.markForRefresh(),this.cdScheduler.notify(6))})}initializeComponent(t){let e=bo.create({providers:[],parent:this.injector}),n=dw(t,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(e,n,t),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.appRef.attachView(this.componentRef.hostView),this.componentRef.hostView.detectChanges()}initializeInputs(){for(let[t,e]of this.initialInputValues)this.setInputValue(t,e);this.initialInputValues.clear()}initializeOutputs(t){let e=this.componentFactory.outputs.map(({propName:n,templateName:r})=>{let i=t.instance[n];return new ce(o=>{let s=i.subscribe(a=>o.next({name:r,value:a}));return()=>s.unsubscribe()})});this.eventEmitters.next(e)}runInZone(t){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(t):t()}},vw=class extends HTMLElement{ngElementEventsSubscription=null};function bw(t,e){let n=hw(t,e.injector),r=e.strategyFactory||new yw(t,e.injector),i=fw(n);class o extends vw{injector;static observedAttributes=Object.keys(i);get ngElementStrategy(){if(!this._ngElementStrategy){let a=this._ngElementStrategy=r.create(this.injector||e.injector);n.forEach(({propName:u,transform:f})=>{if(!this.hasOwnProperty(u))return;let h=this[u];delete this[u],a.setInputValue(u,h,f)})}return this._ngElementStrategy}_ngElementStrategy;constructor(a){super(),this.injector=a}attributeChangedCallback(a,u,f,h){let[d,b]=i[a];this.ngElementStrategy.setInputValue(d,f,b)}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=>{let u=new CustomEvent(a.name,{detail:a.value});this.dispatchEvent(u)})}}return n.forEach(({propName:s,transform:a})=>{Object.defineProperty(o.prototype,s,{get(){return this.ngElementStrategy.getInputValue(s)},set(u){this.ngElementStrategy.setInputValue(s,u,a)},configurable:!0,enumerable:!0})}),o}var bp=null;function _p(){return bp}function _w(t){bp??=t}var ww=class{},fn=new Ct("");function Ew(t,e){e=encodeURIComponent(e);for(let n of t.split(";")){let r=n.indexOf("="),[i,o]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(i.trim()===e)return decodeURIComponent(o)}return null}var Sw="browser",Iw="server";function wp(t){return t===Iw}var Nw=class{},xw=class extends ww{supportsDOMEvents=!0},Ow=class Ep extends xw{static makeCurrent(){_w(new Ep)}onAndCancel(e,n,r,i){return e.addEventListener(n,r,i),()=>{e.removeEventListener(n,r,i)}}dispatchEvent(e,n){e.dispatchEvent(n)}remove(e){e.remove()}createElement(e,n){return n=n||this.getDefaultDocument(),n.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,n){return n==="window"?window:n==="document"?e:n==="body"?e.body:null}getBaseHref(e){let n=Tw();return n==null?null:Cw(n)}resetBaseElement(){Or=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return Ew(document.cookie,e)}},Or=null;function Tw(){return Or=Or||document.querySelector("base"),Or?Or.getAttribute("href"):null}function Cw(t){return new URL(t,document.baseURI).pathname}var Aw=(()=>{class t{build(){return new XMLHttpRequest}static \u0275fac=function(n){return new(n||t)};static \u0275prov=zt({token:t,factory:t.\u0275fac})}return t})(),Ks=new Ct(""),Sp=(()=>{class t{_zone;_plugins;_eventNameToPlugin=new Map;constructor(n,r){this._zone=r,n.forEach(i=>{i.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,r,i,o){return this._findPluginFor(r).addEventListener(n,r,i,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 _t(5101,!1);return this._eventNameToPlugin.set(n,r),r}static \u0275fac=function(n){return new(n||t)(xt(Ks),xt(le))};static \u0275prov=zt({token:t,factory:t.\u0275fac})}return t})(),Ip=class{_doc;constructor(t){this._doc=t}manager},Ui="ng-app-id";function rc(t){for(let e of t)e.remove()}function ic(t,e){let n=e.createElement("style");return n.textContent=t,n}function Rw(t,e,n,r){let i=t.head?.querySelectorAll(`style[${Ui}="${e}"],link[${Ui}="${e}"]`);if(i)for(let o of i)o.removeAttribute(Ui),o instanceof HTMLLinkElement?r.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&n.set(o.textContent,{usage:0,elements:[o]})}function Qs(t,e){let n=e.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",t),n}var Np=(()=>{class t{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;isServer;constructor(n,r,i,o={}){this.doc=n,this.appId=r,this.nonce=i,this.isServer=wp(o),Rw(n,r,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,r){for(let i of n)this.addUsage(i,this.inline,ic);r?.forEach(i=>this.addUsage(i,this.external,Qs))}removeStyles(n,r){for(let i of n)this.removeUsage(i,this.inline);r?.forEach(i=>this.removeUsage(i,this.external))}addUsage(n,r,i){let o=r.get(n);o?o.usage++:r.set(n,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,i(n,this.doc)))})}removeUsage(n,r){let i=r.get(n);i&&(i.usage--,i.usage<=0&&(rc(i.elements),r.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])rc(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[r,{elements:i}]of this.inline)i.push(this.addElement(n,ic(r,this.doc)));for(let[r,{elements:i}]of this.external)i.push(this.addElement(n,Qs(r,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,r){return this.nonce&&r.setAttribute("nonce",this.nonce),this.isServer&&r.setAttribute(Ui,this.appId),n.appendChild(r)}static \u0275fac=function(n){return new(n||t)(xt(fn),xt(ud),xt(cd,8),xt(eu))};static \u0275prov=zt({token:t,factory:t.\u0275fac})}return t})(),os={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/Math/MathML"},Cu=/%COMP%/g,xp="%COMP%",kw=`_nghost-${xp}`,Dw=`_ngcontent-${xp}`,Lw=!0,Mw=new Ct("",{providedIn:"root",factory:()=>Lw});function Pw(t){return Dw.replace(Cu,t)}function jw(t){return kw.replace(Cu,t)}function Op(t,e){return e.map(n=>n.replace(Cu,t))}var oc=(()=>{class t{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(n,r,i,o,s,a,u,f=null,h=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=i,this.removeStylesOnCompDestroy=o,this.doc=s,this.platformId=a,this.ngZone=u,this.nonce=f,this.tracingService=h,this.platformIsServer=wp(a),this.defaultRenderer=new Au(n,s,u,this.platformIsServer,this.tracingService)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===Fe.ShadowDom&&(r=Dt(k({},r),{encapsulation:Fe.Emulated}));let i=this.getOrCreateRenderer(n,r);return i instanceof ac?i.applyToHost(n):i instanceof Xs&&i.applyStyles(),i}getOrCreateRenderer(n,r){let i=this.rendererByCompId,o=i.get(r.id);if(!o){let s=this.doc,a=this.ngZone,u=this.eventManager,f=this.sharedStylesHost,h=this.removeStylesOnCompDestroy,d=this.platformIsServer,b=this.tracingService;switch(r.encapsulation){case Fe.Emulated:o=new ac(u,f,r,this.appId,h,s,a,d,b);break;case Fe.ShadowDom:return new Uw(u,f,n,r,s,a,this.nonce,d,b);default:o=new Xs(u,f,r,h,s,a,d,b);break}i.set(r.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(n){this.rendererByCompId.delete(n)}static \u0275fac=function(n){return new(n||t)(xt(Sp),xt(Np),xt(ud),xt(Mw),xt(fn),xt(eu),xt(le),xt(cd),xt(nu,8))};static \u0275prov=zt({token:t,factory:t.\u0275fac})}return t})(),Au=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(t,e,n,r,i){this.eventManager=t,this.doc=e,this.ngZone=n,this.platformIsServer=r,this.tracingService=i}destroy(){}destroyNode=null;createElement(t,e){return e?this.doc.createElementNS(os[e]||e,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,e){(sc(t)?t.content:t).appendChild(e)}insertBefore(t,e,n){t&&(sc(t)?t.content:t).insertBefore(e,n)}removeChild(t,e){e.remove()}selectRootElement(t,e){let n=typeof t=="string"?this.doc.querySelector(t):t;if(!n)throw new _t(-5104,!1);return e||(n.textContent=""),n}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,n,r){if(r){e=r+":"+e;let i=os[r];i?t.setAttributeNS(i,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){let r=os[n];r?t.removeAttributeNS(r,e):t.removeAttribute(`${n}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,n,r){r&(En.DashCase|En.Important)?t.style.setProperty(e,n,r&En.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&En.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,n){t!=null&&(t[e]=n)}setValue(t,e){t.nodeValue=e}listen(t,e,n,r){if(typeof t=="string"&&(t=_p().getGlobalEventTarget(this.doc,t),!t))throw new Error(`Unsupported event target ${t} for event ${e}`);let i=this.decoratePreventDefault(n);return this.tracingService!==null&&this.tracingService.wrapEventListener&&(i=this.tracingService.wrapEventListener(t,e,i)),this.eventManager.addEventListener(t,e,i,r)}decoratePreventDefault(t){return e=>{if(e==="__ngUnwrap__")return t;(this.platformIsServer?this.ngZone.runGuarded(()=>t(e)):t(e))===!1&&e.preventDefault()}}};function sc(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var Uw=class extends Au{sharedStylesHost;hostEl;shadowRoot;constructor(t,e,n,r,i,o,s,a,u){super(t,i,o,a,u),this.sharedStylesHost=e,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let f=r.styles;f=Op(r.id,f);for(let d of f){let b=document.createElement("style");s&&b.setAttribute("nonce",s),b.textContent=d,this.shadowRoot.appendChild(b)}let h=r.getExternalStyles?.();if(h)for(let d of h){let b=Qs(d,i);s&&b.setAttribute("nonce",s),this.shadowRoot.appendChild(b)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,e){return super.appendChild(this.nodeOrShadowRoot(t),e)}insertBefore(t,e,n){return super.insertBefore(this.nodeOrShadowRoot(t),e,n)}removeChild(t,e){return super.removeChild(null,e)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Xs=class extends Au{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(t,e,n,r,i,o,s,a,u){super(t,i,o,s,a),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=r;let f=n.styles;this.styles=u?Op(u,f):f,this.styleUrls=n.getExternalStyles?.(u)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},ac=class extends Xs{contentAttr;hostAttr;constructor(t,e,n,r,i,o,s,a,u){let f=r+"-"+n.id;super(t,e,n,i,o,s,a,u,f),this.contentAttr=Pw(f),this.hostAttr=jw(f)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,e){let n=super.createElement(t,e);return super.setAttribute(n,this.contentAttr,""),n}},Bw=(()=>{class t extends Ip{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,i,o){return n.addEventListener(r,i,o),()=>this.removeEventListener(n,r,i,o)}removeEventListener(n,r,i,o){return n.removeEventListener(r,i,o)}static \u0275fac=function(n){return new(n||t)(xt(fn))};static \u0275prov=zt({token:t,factory:t.\u0275fac})}return t})(),uc=["alt","control","meta","shift"],Vw={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Fw={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},$w=(()=>{class t extends Ip{constructor(n){super(n)}supports(n){return t.parseEventName(n)!=null}addEventListener(n,r,i,o){let s=t.parseEventName(r),a=t.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>_p().onAndCancel(n,s.domEventName,a,o))}static parseEventName(n){let r=n.toLowerCase().split("."),i=r.shift();if(r.length===0||!(i==="keydown"||i==="keyup"))return null;let o=t._normalizeKey(r.pop()),s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),uc.forEach(f=>{let h=r.indexOf(f);h>-1&&(r.splice(h,1),s+=f+".")}),s+=o,r.length!=0||o.length===0)return null;let u={};return u.domEventName=i,u.fullKey=s,u}static matchEventFullKeyCode(n,r){let i=Vw[n.key]||n.key,o="";return r.indexOf("code.")>-1&&(i=n.code,o="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),uc.forEach(s=>{if(s!==i){let a=Fw[s];a(n)&&(o+=s+".")}}),o+=i,o===r)}static eventCallback(n,r,i){return o=>{t.matchEventFullKeyCode(o,n)&&i.runGuarded(()=>r(o))}}static _normalizeKey(n){return n==="esc"?"escape":n}static \u0275fac=function(n){return new(n||t)(xt(fn))};static \u0275prov=zt({token:t,factory:t.\u0275fac})}return t})();function Hw(t){return sw(zw(t))}function zw(t){return{appProviders:[...Yw,...t?.providers??[]],platformProviders:Zw}}function qw(){Ow.makeCurrent()}function Gw(){return new ei}function Ww(){return l0(document),document}var Zw=[{provide:eu,useValue:Sw},{provide:ld,useValue:qw,multi:!0},{provide:fn,useFactory:Ww,deps:[]}],Yw=[{provide:ja,useValue:"root"},{provide:ei,useFactory:Gw,deps:[]},{provide:Ks,useClass:Bw,multi:!0,deps:[fn]},{provide:Ks,useClass:$w,multi:!0,deps:[fn]},oc,Np,Sp,{provide:wu,useExisting:oc},{provide:Nw,useClass:Aw,deps:[]},[]],Tp=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=zt({token:t,factory:function(n){let r=null;return n?r=new(n||t):r=xt(Jw),r},providedIn:"root"})}return t})(),Jw=(()=>{class t extends Tp{_doc;constructor(n){super(),this._doc=n}sanitize(n,r){if(r==null)return null;switch(n){case Ve.NONE:return r;case Ve.HTML:return bn(r,"HTML")?Re(r):wd(this._doc,String(r)).toString();case Ve.STYLE:return bn(r,"Style")?Re(r):r;case Ve.SCRIPT:if(bn(r,"Script"))return Re(r);throw new _t(5200,!1);case Ve.URL:return bn(r,"URL")?Re(r):ru(String(r));case Ve.RESOURCE_URL:if(bn(r,"ResourceURL"))return Re(r);throw new _t(5201,!1);default:throw new _t(5202,!1)}}bypassSecurityTrustHtml(n){return I0(n)}bypassSecurityTrustStyle(n){return N0(n)}bypassSecurityTrustScript(n){return x0(n)}bypassSecurityTrustUrl(n){return O0(n)}bypassSecurityTrustResourceUrl(n){return T0(n)}static \u0275fac=function(n){return new(n||t)(xt(fn))};static \u0275prov=zt({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),ta={apiURL:"http://localhost:3003",debug:!0,mode:"local",styleURL:"http://localhost:8002/styles.css",widgetURL:"http://localhost:8002/main.js"},pe=Zr(ay()),Kw="9.4.0",Rr=class ea{static SDK_VERSION=Kw;static SDK_VERSION_CODE;static SDK="WEB";static LOG_PREFIX="CooeeSDK";static COOEE="cooee";static SESSION_STORAGE_SCROLL_ID="sleid";static IDLE_TIME_IN_SECONDS=30*60;static IN_APP_WRAPPER_NAME="cooee-wrapper";static IN_APP_CONTAINER_NAME="cooee-container";static IN_APP_DEFAULT_PADDING=15;static EVENT_SCREEN_VIEW="CE Screen View";static EVENT_APP_BACKGROUND="CE App Background";static EVENT_TRIGGER_DISPLAYED="CE Trigger Displayed";static EVENT_CAMPAIGN_HOLDOUT="CE Campaign Holdout";static EVENT_CAMPAIGN_REJECTED="CE Campaign Rejected";static EVENT_CAMPAIGN_FAILED="CE Campaign Failed";static EVENT_TRIGGER_CLOSED="CE Trigger Closed";static EVENT_SCROLL="CE Scroll";static EVENT_TRIGGER_CLICKED="CE Trigger Clicked";static EVENT_FORM_SUBMITTED="CE Form Submitted";static EVENT_ADD_TO_CART="Add To Cart";static EVENT_REMOVE_FROM_CART="Remove From Cart";static EVENT_VIEW_ITEM="View Item";static EVENT_VIEW_CART="View Cart";static EVENT_VIEW_COLLECTION="View Collection";static EVENT_BUY_NOW_CLICKED="Buy Now Clicked";static EVENT_CHECKOUT_STARTED="Checkout Started";static EVENT_REVIEW_CLICKED="Review Clicked";static EVENT_ITEM_THUMBNAIL_CLICKED="Item Thumbnail Clicked";static JS_LOAD_WHITELIST_EVENTS=[this.EVENT_VIEW_ITEM,this.EVENT_VIEW_CART,this.EVENT_VIEW_COLLECTION];static HASH_INITIATE_CHECKOUT="initiate-checkout";static HASH_OPEN_CART_DRAWER="open-cart-drawer";static CTA_EVENT="letscooee:outbound:cta";static ADD_BUNDLE_CTA_INBOUND_EVENT="letscooee:inbound:cta:add-bundle";static CTA_OPEN_CART_EVENT="letscooee:outbound:open-cart";static CTA_AFTER_REFRESH_UI="letscooee:outbound:refresh-ui";static POPUP_ACTIVITY_EVENT="letscooee:outbound:popup-activities";static THIRD_PARTY_CHECKOUT_EVENT="letscooee:outbound:third-party-initiate-checkout";static CAMPAIGN_DISPLAYED_ACTIVITY="DISPLAYED";static CAMPAIGN_CLICKED_ACTIVITY="CLICKED";static CAMPAIGN_CLOSED_ACTIVITY="CLOSED";static BLACKLISTED_PAGE_NAMES=["collection","product","cart"];static API_CALL_MAX_ATTEMPTS=3;static API_CALL_RETRY_DELAY=1e3;static PLACEHOLDER_IMAGE="https://cdn.global.letscooee.com/images/placeholders/product.png";static CART_UPDATE_BROADCAST="CART_UPDATE";static GRAPHQL_VERSION="2024-10";static GRAPHQL_API_PATH=`/api/${this.GRAPHQL_VERSION}/graphql.json`;static SHADOW_SPLITTER=":shadow";static CAMPAIGN_ATTRIBUTE="_letscooee_campaign";static CONTENT_ATTRIBUTE="_letscooee_content";static VIA="_via";static PAYMENT_MODAL_DETAILS=[{identifier:"#flo-checkout-wrapper",gateway:"Shopflow"},{identifier:"#fastrr-main-container",gateway:"Shiprocket"},{identifier:"#gokwik-modal-wrapper",gateway:"Gokwik"},{identifier:"#zecpe",gateway:"Ecom 360"}];static{let e=ea.SDK_VERSION.split(".").map(n=>n.padStart(2,"0")).join("");ea.SDK_VERSION_CODE=parseInt(e,10)}},be=class{static log(...t){pe.default.info(...t)}static debug(...t){pe.default.debug(...t)}static error(...t){pe.default.error(...t)}static warn(...t){pe.default.warn(...t)}static info(...t){pe.default.info(...t)}static trace(...t){pe.default.trace(...t)}static configure(t=Rr.LOG_PREFIX){pe.default.useDefaults({formatter:function(n){n.unshift(`${t} (v${Rr.SDK_VERSION}):`)}});let e=this.getDebugParam();(e==="1"||e==="on")&&(localStorage.cooeeLogLevel="TRACE"),localStorage.cooeeLogLevel?pe.default.setLevel(pe.default[localStorage.cooeeLogLevel]):pe.default.setLevel(ta.debug?pe.default.TRACE:pe.default.OFF)}static getDebugParam(){return new URL(location.href).searchParams?.get("cooee-debug")}static logBrand(){let t=`
7
+ `)}`}function rr(t,e){return t.hasOwnProperty(bl)?t[bl]:null}function Ma(t,e){t.forEach(n=>Array.isArray(n)?Ma(n,e):e(n))}function Lm(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function Xf(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function Mm(t,e,n,r){let i=t.length;if(i==e)t.push(n,r);else if(i===1)t.push(r,t[0]),t[0]=n;else{for(i--,t.push(t[i-1],t[i]);i>e;){let o=i-2;t[i]=t[o],i--}t[e]=n,t[e+1]=r}}function th(t,e,n){let r=Kr(t,e);return r>=0?t[r|1]=n:(r=~r,Mm(t,r,e,n)),r}function Wo(t,e){let n=Kr(t,e);if(n>=0)return t[n|1]}function Kr(t,e){return Pm(t,e,1)}function Pm(t,e,n){let r=0,i=t.length>>n;for(;i!==r;){let o=r+(i-r>>1),s=t[o<<n];if(e===s)return o<<n;s>e?i=o:r=o+1}return~(i<<n)}var ir={},ze=[],zi=new Ct(""),eh=new Ct("",-1),nh=new Ct(""),rh=class{get(t,e=Dr){if(e===Dr){let n=new Error(`NullInjectorError: No provider for ${xe(t)}!`);throw n.name="NullInjectorError",n}return e}};function po(t){return t[bm]||null}function ih(t){return t[_m]||null}function oh(t){return t[wm]||null}function jm(t){let e=po(t)||ih(t)||oh(t);return e!==null&&e.standalone}function Um(t){return{\u0275providers:t}}function Bm(...t){return{\u0275providers:sh(!0,t),\u0275fromNgModule:!0}}function sh(t,...e){let n=[],r=new Set,i,o=s=>{n.push(s)};return Ma(e,s=>{let a=s;Ss(a,o,[],r)&&(i||=[],i.push(a))}),i!==void 0&&ah(i,o),n}function ah(t,e){for(let n=0;n<t.length;n++){let{ngModule:r,providers:i}=t[n];Pa(i,o=>{e(o,r)})}}function Ss(t,e,n,r){if(t=Ie(t),!t)return!1;let i=null,o=ml(t),s=!o&&po(t);if(!o&&!s){let u=t.ngModule;if(o=ml(u),o)i=u;else return!1}else{if(s&&!s.standalone)return!1;i=t}let a=r.has(i);if(s){if(a)return!1;if(r.add(i),s.dependencies){let u=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let f of u)Ss(f,e,n,r)}}else if(o){if(o.imports!=null&&!a){r.add(i);let f;try{Ma(o.imports,h=>{Ss(h,e,n,r)&&(f||=[],f.push(h))})}finally{}f!==void 0&&ah(f,e)}if(!a){let f=rr(i)||(()=>new i);e({provide:i,useFactory:f,deps:ze},i),e({provide:nh,useValue:i,multi:!0},i),e({provide:zi,useValue:()=>xt(i),multi:!0},i)}let u=o.providers;if(u!=null&&!a){let f=t;Pa(u,h=>{e(h,f)})}}else return!1;return i!==t&&t.providers!==void 0}function Pa(t,e){for(let n of t)Jf(n)&&(n=n.\u0275providers),Array.isArray(n)?Pa(n,e):e(n)}var Vm=kt({provide:String,useValue:kt});function uh(t){return t!==null&&typeof t=="object"&&Vm in t}function Fm(t){return!!(t&&t.useExisting)}function $m(t){return!!(t&&t.useFactory)}function Is(t){return typeof t=="function"}var ja=new Ct(""),ki={},Hm={},Zo;function Ua(){return Zo===void 0&&(Zo=new rh),Zo}var Lr=class{},Ba=class extends Lr{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,e,n,r){super(),this.parent=e,this.source=n,this.scopes=r,xs(t,o=>this.processProvider(o)),this.records.set(eh,Gn(void 0,this)),r.has("environment")&&this.records.set(Lr,Gn(void 0,this));let i=this.records.get(ja);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(nh,ze,lt.Self))}destroy(){Ir(this),this._destroyed=!0;let t=dt(null);try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let e=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of e)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),dt(t)}}onDestroy(t){return Ir(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Ir(this);let e=Xe(this),n=oe(void 0),r;try{return t()}finally{Xe(e),oe(n)}}get(t,e=Dr,n=lt.Default){if(Ir(this),t.hasOwnProperty(_l))return t[_l](this);n=ho(n);let r,i=Xe(this),o=oe(void 0);try{if(!(n&lt.SkipSelf)){let a=this.records.get(t);if(a===void 0){let u=Ym(t)&&Da(t);u&&this.injectableDefInScope(u)?a=Gn(Ns(t),ki):a=null,this.records.set(t,a)}if(a!=null)return this.hydrate(t,a)}let s=n&lt.Self?Ua():this.parent;return e=n&lt.Optional&&e===Dr?null:e,s.get(t,e)}catch(s){if(s.name==="NullInjectorError"){if((s[Hi]=s[Hi]||[]).unshift(xe(t)),i)throw s;return km(s,t,"R3InjectorError",this.source)}else throw s}finally{oe(o),Xe(i)}}resolveInjectorInitializers(){let t=dt(null),e=Xe(this),n=oe(void 0),r;try{let i=this.get(zi,ze,lt.Self);for(let o of i)o()}finally{Xe(e),oe(n),dt(t)}}toString(){let t=[],e=this.records;for(let n of e.keys())t.push(xe(n));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=Ie(t);let e=Is(t)?t:Ie(t&&t.provide),n=qm(t);if(!Is(t)&&t.multi===!0){let r=this.records.get(e);r||(r=Gn(void 0,ki,!0),r.factory=()=>Es(r.multi),this.records.set(e,r)),e=t,r.multi.push(t)}this.records.set(e,n)}hydrate(t,e){let n=dt(null);try{return e.value===ki&&(e.value=Hm,e.value=e.factory()),typeof e.value=="object"&&e.value&&Zm(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}finally{dt(n)}}injectableDefInScope(t){if(!t.providedIn)return!1;let e=Ie(t.providedIn);return typeof e=="string"?e==="any"||this.scopes.has(e):this.injectorDefTypes.has(e)}removeOnDestroy(t){let e=this._onDestroyHooks.indexOf(t);e!==-1&&this._onDestroyHooks.splice(e,1)}};function Ns(t){let e=Da(t),n=e!==null?e.factory:rr(t);if(n!==null)return n;if(t instanceof Ct)throw new _t(204,!1);if(t instanceof Function)return zm(t);throw new _t(204,!1)}function zm(t){if(t.length>0)throw new _t(204,!1);let e=mm(t);return e!==null?()=>e.factory(t):()=>new t}function qm(t){if(uh(t))return Gn(void 0,t.useValue);{let e=Gm(t);return Gn(e,ki)}}function Gm(t,e,n){let r;if(Is(t)){let i=Ie(t);return rr(i)||Ns(i)}else if(uh(t))r=()=>Ie(t.useValue);else if($m(t))r=()=>t.useFactory(...Es(t.deps||[]));else if(Fm(t))r=()=>xt(Ie(t.useExisting));else{let i=Ie(t&&(t.useClass||t.provide));if(Wm(t))r=()=>new i(...Es(t.deps));else return rr(i)||Ns(i)}return r}function Ir(t){if(t.destroyed)throw new _t(205,!1)}function Gn(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function Wm(t){return!!t.deps}function Zm(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function Ym(t){return typeof t=="function"||typeof t=="object"&&t instanceof Ct}function xs(t,e){for(let n of t)Array.isArray(n)?xs(n,e):n&&Jf(n)?xs(n.\u0275providers,e):e(n)}function lh(t,e){t instanceof Ba&&Ir(t);let n,r=Xe(t),i=oe(void 0);try{return e()}finally{Xe(r),oe(i)}}function Jm(){return Kf()!==void 0||Cm()!=null}var Ye=0,ct=1,tt=2,_e=3,Oe=4,je=5,Mr=6,qi=7,Zt=8,Pr=9,qe=10,te=11,jr=12,El=13,pr=14,Pe=15,or=16,Wn=17,sr=18,go=19,ch=20,sn=21,Yo=22,Gi=23,ue=24,Jo=25,ee=26,fh=1,Ur=7,Km=8,Wi=9,se=10;function Sn(t){return Array.isArray(t)&&typeof t[fh]=="object"}function jn(t){return Array.isArray(t)&&t[fh]===!0}function hh(t){return(t.flags&4)!==0}function Qr(t){return t.componentOffset>-1}function Va(t){return(t.flags&1)===1}function Un(t){return!!t.template}function Zi(t){return(t[tt]&512)!==0}function Xr(t){return(t[tt]&256)===256}var Qm=class{previousValue;currentValue;firstChange;constructor(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}};function dh(t,e,n,r){e!==null?e.applyValueToInputSignal(e,r):t[n]=r}function Xm(t){return t.type.prototype.ngOnChanges&&(t.setInput=ev),tv}function tv(){let t=gh(this),e=t?.current;if(e){let n=t.previous;if(n===ir)t.previous=e;else for(let r in e)n[r]=e[r];t.current=null,this.ngOnChanges(e)}}function ev(t,e,n,r,i){let o=this.declaredInputs[r],s=gh(t)||nv(t,{previous:ir,current:null}),a=s.current||(s.current={}),u=s.previous,f=u[o];a[o]=new Qm(f&&f.currentValue,n,u===ir),dh(t,e,i,n)}var ph="__ngSimpleChanges__";function gh(t){return t[ph]||null}function nv(t,e){return t[ph]=e}var rv=null,Tt=function(t,e=null,n){rv?.(t,e,n)},iv="svg",ov="math";function Ge(t){for(;Array.isArray(t);)t=t[Ye];return t}function yh(t,e){return Ge(e[t])}function dn(t,e){return Ge(e[t.index])}function Fa(t,e){return t.data[e]}function mh(t,e){return t[e]}function un(t,e){let n=e[t];return Sn(n)?n:n[Ye]}function $a(t){return(t[tt]&128)===128}function ar(t,e){return e==null?null:t[e]}function vh(t){t[Wn]=0}function Ha(t){t[tt]&1024||(t[tt]|=1024,$a(t)&&mo(t))}function sv(t,e){for(;t>0;)e=e[pr],t--;return e}function yo(t){return!!(t[tt]&9216||t[ue]?.dirty)}function Os(t){t[qe].changeDetectionScheduler?.notify(8),t[tt]&64&&(t[tt]|=1024),yo(t)&&mo(t)}function mo(t){t[qe].changeDetectionScheduler?.notify(0);let e=On(t);for(;e!==null&&!(e[tt]&8192||(e[tt]|=8192,!$a(e)));)e=On(e)}function bh(t,e){if(Xr(t))throw new _t(911,!1);t[sn]===null&&(t[sn]=[]),t[sn].push(e)}function av(t,e){if(t[sn]===null)return;let n=t[sn].indexOf(e);n!==-1&&t[sn].splice(n,1)}function On(t){let e=t[_e];return jn(e)?e[_e]:e}function uv(t){return t[qi]??=[]}function lv(t){return t.cleanup??=[]}var ut={lFrame:Th(null),bindingsEnabled:!0,skipHydrationRootTNode:null},Ts=!1;function cv(){return ut.lFrame.elementDepthCount}function fv(){ut.lFrame.elementDepthCount++}function hv(){ut.lFrame.elementDepthCount--}function _h(){return ut.bindingsEnabled}function dv(){return ut.skipHydrationRootTNode!==null}function pv(t){return ut.skipHydrationRootTNode===t}function gv(){ut.skipHydrationRootTNode=null}function Ot(){return ut.lFrame.lView}function fe(){return ut.lFrame.tView}function yi(t){return ut.lFrame.contextLView=t,t[Zt]}function mi(t){return ut.lFrame.contextLView=null,t}function gr(){let t=wh();for(;t!==null&&t.type===64;)t=t.parent;return t}function wh(){return ut.lFrame.currentTNode}function yv(){let t=ut.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function yr(t,e){let n=ut.lFrame;n.currentTNode=t,n.isParent=e}function Eh(){return ut.lFrame.isParent}function mv(){ut.lFrame.isParent=!1}function Sh(){return Ts}function Sl(t){let e=Ts;return Ts=t,e}function za(){let t=ut.lFrame,e=t.bindingRootIndex;return e===-1&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function vv(t){return ut.lFrame.bindingIndex=t}function vo(){return ut.lFrame.bindingIndex++}function Ih(t){let e=ut.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function bv(){return ut.lFrame.inI18n}function _v(t,e){let n=ut.lFrame;n.bindingIndex=n.bindingRootIndex=t,Cs(e)}function wv(){return ut.lFrame.currentDirectiveIndex}function Cs(t){ut.lFrame.currentDirectiveIndex=t}function Ev(t){let e=ut.lFrame.currentDirectiveIndex;return e===-1?null:t[e]}function Nh(t){ut.lFrame.currentQueryIndex=t}function Sv(t){let e=t[ct];return e.type===2?e.declTNode:e.type===1?t[je]:null}function xh(t,e,n){if(n&lt.SkipSelf){let i=e,o=t;for(;(i=i.parent,i===null&&!(n&lt.Host))&&(i=Sv(o),!(i===null||(o=o[pr],i.type&10))););if(i===null)return!1;e=i,t=o}let r=ut.lFrame=Oh();return r.currentTNode=e,r.lView=t,!0}function qa(t){let e=Oh(),n=t[ct];ut.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function Oh(){let t=ut.lFrame,e=t===null?null:t.child;return e===null?Th(t):e}function Th(t){let e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return t!==null&&(t.child=e),e}function Ch(){let t=ut.lFrame;return ut.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var Ah=Ch;function Ga(){let t=Ch();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function Iv(t){return(ut.lFrame.contextLView=sv(t,ut.lFrame.contextLView))[Zt]}function pn(){return ut.lFrame.selectedIndex}function Tn(t){ut.lFrame.selectedIndex=t}function Rh(){let t=ut.lFrame;return Fa(t.tView,t.selectedIndex)}function Nv(){return ut.lFrame.currentNamespace}var kh=!0;function Wa(){return kh}function Za(t){kh=t}function xv(t,e,n){let{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=e.type.prototype;if(r){let s=Xm(e);(n.preOrderHooks??=[]).push(t,s),(n.preOrderCheckHooks??=[]).push(t,s)}i&&(n.preOrderHooks??=[]).push(0-t,i),o&&((n.preOrderHooks??=[]).push(t,o),(n.preOrderCheckHooks??=[]).push(t,o))}function Dh(t,e){for(let n=e.directiveStart,r=e.directiveEnd;n<r;n++){let i=t.data[n].type.prototype,{ngAfterContentInit:o,ngAfterContentChecked:s,ngAfterViewInit:a,ngAfterViewChecked:u,ngOnDestroy:f}=i;o&&(t.contentHooks??=[]).push(-n,o),s&&((t.contentHooks??=[]).push(n,s),(t.contentCheckHooks??=[]).push(n,s)),a&&(t.viewHooks??=[]).push(-n,a),u&&((t.viewHooks??=[]).push(n,u),(t.viewCheckHooks??=[]).push(n,u)),f!=null&&(t.destroyHooks??=[]).push(n,f)}}function Di(t,e,n){Lh(t,e,3,n)}function Li(t,e,n,r){(t[tt]&3)===n&&Lh(t,e,n,r)}function Ko(t,e){let n=t[tt];(n&3)===e&&(n&=16383,n+=1,t[tt]=n)}function Lh(t,e,n,r){let i=r!==void 0?t[Wn]&65535:0,o=r??-1,s=e.length-1,a=0;for(let u=i;u<s;u++)if(typeof e[u+1]=="number"){if(a=e[u],r!=null&&a>=r)break}else e[u]<0&&(t[Wn]+=65536),(a<o||o==-1)&&(Ov(t,n,e,u),t[Wn]=(t[Wn]&4294901760)+u+2),u++}function Il(t,e){Tt(4,t,e);let n=dt(null);try{e.call(t)}finally{dt(n),Tt(5,t,e)}}function Ov(t,e,n,r){let i=n[r]<0,o=n[r+1],s=i?-n[r]:n[r],a=t[s];i?t[tt]>>14<t[Wn]>>16&&(t[tt]&3)===e&&(t[tt]+=16384,Il(a,o)):Il(a,o)}var Xn=-1,Ya=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,e,n){this.factory=t,this.canSeeViewProviders=e,this.injectImpl=n}};function Tv(t){return t instanceof Ya}function Cv(t){return(t.flags&8)!==0}function Av(t){return(t.flags&16)!==0}function Rv(t,e,n){let r=0;for(;r<n.length;){let i=n[r];if(typeof i=="number"){if(i!==0)break;r++;let o=n[r++],s=n[r++],a=n[r++];t.setAttribute(e,s,a,o)}else{let o=i,s=n[++r];Dv(o)?t.setProperty(e,o,s):t.setAttribute(e,o,s),r++}}return r}function kv(t){return t===3||t===4||t===6}function Dv(t){return t.charCodeAt(0)===64}function Ja(t,e){if(!(e===null||e.length===0))if(t===null||t.length===0)t=e.slice();else{let n=-1;for(let r=0;r<e.length;r++){let i=e[r];typeof i=="number"?n=i:n===0||(n===-1||n===2?Nl(t,n,i,null,e[++r]):Nl(t,n,i,null,null))}}return t}function Nl(t,e,n,r,i){let o=0,s=t.length;if(e===-1)s=-1;else for(;o<t.length;){let a=t[o++];if(typeof a=="number"){if(a===e){s=-1;break}else if(a>e){s=o-1;break}}}for(;o<t.length;){let a=t[o];if(typeof a=="number")break;if(a===n){if(r===null){i!==null&&(t[o+1]=i);return}else if(r===t[o+1]){t[o+2]=i;return}}o++,r!==null&&o++,i!==null&&o++}s!==-1&&(t.splice(s,0,e),o=s+1),t.splice(o++,0,n),r!==null&&t.splice(o++,0,r),i!==null&&t.splice(o++,0,i)}var Qo={},Lv=class{injector;parentInjector;constructor(t,e){this.injector=t,this.parentInjector=e}get(t,e,n){n=ho(n);let r=this.injector.get(t,Qo,n);return r!==Qo||e===Qo?r:this.parentInjector.get(t,e,n)}};function Mv(t){return t!==Xn}function As(t){return t&32767}function Pv(t){return t>>16}function Rs(t,e){let n=Pv(t),r=e;for(;n>0;)r=r[pr],n--;return r}var ks=!0;function Yi(t){let e=ks;return ks=t,e}var jv=256,Mh=jv-1,Ph=5,Uv=0,Le={};function Bv(t,e,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Cr)&&(r=n[Cr]),r==null&&(r=n[Cr]=Uv++);let i=r&Mh,o=1<<i;e.data[t+(i>>Ph)]|=o}function jh(t,e){let n=Uh(t,e);if(n!==-1)return n;let r=e[ct];r.firstCreatePass&&(t.injectorIndex=e.length,Xo(r.data,t),Xo(e,null),Xo(r.blueprint,null));let i=Bh(t,e),o=t.injectorIndex;if(Mv(i)){let s=As(i),a=Rs(i,e),u=a[ct].data;for(let f=0;f<8;f++)e[o+f]=a[s+f]|u[s+f]}return e[o+8]=i,o}function Xo(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Uh(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function Bh(t,e){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let n=0,r=null,i=e;for(;i!==null;){if(r=qh(i),r===null)return Xn;if(n++,i=i[pr],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Xn}function Vv(t,e,n){Bv(t,e,n)}function Vh(t,e,n){if(n&lt.Optional||t!==void 0)return t;La(e,"NodeInjector")}function Fh(t,e,n,r){if(n&lt.Optional&&r===void 0&&(r=null),(n&(lt.Self|lt.Host))===0){let i=t[Pr],o=oe(void 0);try{return i?i.get(e,r,n&lt.Optional):Qf(e,r,n&lt.Optional)}finally{oe(o)}}return Vh(r,e,n)}function $h(t,e,n,r=lt.Default,i){if(t!==null){if(e[tt]&2048&&!(r&lt.Self)){let s=qv(t,e,n,r,Le);if(s!==Le)return s}let o=Hh(t,e,n,r,Le);if(o!==Le)return o}return Fh(e,n,r,i)}function Hh(t,e,n,r,i){let o=Hv(n);if(typeof o=="function"){if(!xh(e,t,r))return r&lt.Host?Vh(i,n,r):Fh(e,n,r,i);try{let s;if(s=o(r),s==null&&!(r&lt.Optional))La(n);else return s}finally{Ah()}}else if(typeof o=="number"){let s=null,a=Uh(t,e),u=Xn,f=r&lt.Host?e[Pe][je]:null;for((a===-1||r&lt.SkipSelf)&&(u=a===-1?Bh(t,e):e[a+8],u===Xn||!Ol(r,!1)?a=-1:(s=e[ct],a=As(u),e=Rs(u,e)));a!==-1;){let h=e[ct];if(xl(o,a,h.data)){let d=Fv(a,e,n,s,r,f);if(d!==Le)return d}u=e[a+8],u!==Xn&&Ol(r,e[ct].data[a+8]===f)&&xl(o,a,e)?(s=h,a=As(u),e=Rs(u,e)):a=-1}}return i}function Fv(t,e,n,r,i,o){let s=e[ct],a=s.data[t+8],u=r==null?Qr(a)&&ks:r!=s&&(a.type&3)!==0,f=i&lt.Host&&o===a,h=$v(a,s,n,u,f);return h!==null?Ds(e,s,h,a):Le}function $v(t,e,n,r,i){let o=t.providerIndexes,s=e.data,a=o&1048575,u=t.directiveStart,f=t.directiveEnd,h=o>>20,d=r?a:a+h,b=i?a+h:f;for(let _=d;_<b;_++){let w=s[_];if(_<u&&n===w||_>=u&&w.type===n)return _}if(i){let _=s[u];if(_&&Un(_)&&_.type===n)return u}return null}function Ds(t,e,n,r){let i=t[n],o=e.data;if(Tv(i)){let s=i;s.resolving&&Sm(Em(o[n]));let a=Yi(s.canSeeViewProviders);s.resolving=!0;let u,f=s.injectImpl?oe(s.injectImpl):null,h=xh(t,r,lt.Default);try{i=t[n]=s.factory(void 0,o,t,r),e.firstCreatePass&&n>=r.directiveStart&&xv(n,o[n],e)}finally{f!==null&&oe(f),Yi(a),s.resolving=!1,Ah()}}return i}function Hv(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(Cr)?t[Cr]:void 0;return typeof e=="number"?e>=0?e&Mh:zv:e}function xl(t,e,n){let r=1<<t;return!!(n[e+(t>>Ph)]&r)}function Ol(t,e){return!(t&lt.Self)&&!(t&lt.Host&&e)}var zh=class{_tNode;_lView;constructor(t,e){this._tNode=t,this._lView=e}get(t,e,n){return $h(this._tNode,this._lView,t,ho(n),e)}};function zv(){return new zh(gr(),Ot())}function qv(t,e,n,r,i){let o=t,s=e;for(;o!==null&&s!==null&&s[tt]&2048&&!Zi(s);){let a=Hh(o,s,n,r|lt.Self,Le);if(a!==Le)return a;let u=o.parent;if(!u){let f=s[ch];if(f){let h=f.get(n,Le,r);if(h!==Le)return h}u=qh(s),s=s[pr]}o=u}return i}function qh(t){let e=t[ct],n=e.type;return n===2?e.declTNode:n===1?t[je]:null}function Tl(t,e=null,n=null,r){let i=Gv(t,e,n,r);return i.resolveInjectorInitializers(),i}function Gv(t,e=null,n=null,r,i=new Set){let o=[n||ze,Bm(t)];return r=r||(typeof t=="object"?void 0:xe(t)),new Ba(o,e||Ua(),r||null,i)}var bo=class Gh{static THROW_IF_NOT_FOUND=Dr;static NULL=new rh;static create(e,n){if(Array.isArray(e))return Tl({name:""},n,e,"");{let r=e.name??"";return Tl({name:r},e.parent,e.providers,r)}}static \u0275prov=zt({token:Gh,providedIn:"any",factory:()=>xt(eh)});static __NG_ELEMENT_ID__=-1},Wv=new Ct("");Wv.__NG_ELEMENT_ID__=t=>{let e=gr();if(e===null)throw new _t(204,!1);if(e.type&2)return e.value;if(t&lt.Optional)return null;throw new _t(204,!1)};var Wh=!1,Zh=(()=>{class t{static __NG_ELEMENT_ID__=Yv;static __NG_ENV_ID__=n=>n}return t})(),Zv=class extends Zh{_lView;constructor(t){super(),this._lView=t}onDestroy(t){return bh(this._lView,t),()=>av(this._lView,t)}};function Yv(){return new Zv(Ot())}var ti=class{},Ka=new Ct("",{providedIn:"root",factory:()=>!1}),Yh=new Ct(""),Qa=new Ct(""),_o=(()=>{class t{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new Vy(!1);add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static \u0275prov=zt({token:t,providedIn:"root",factory:()=>new t})}return t})(),Jv=class extends Jr{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,Jm()&&(this.destroyRef=St(Zh,{optional:!0})??void 0,this.pendingTasks=St(_o,{optional:!0})??void 0)}emit(t){let e=dt(null);try{super.next(t)}finally{dt(e)}}subscribe(t,e,n){let r=t,i=e||(()=>null),o=n;if(t&&typeof t=="object"){let a=t;r=a.next?.bind(a),i=a.error?.bind(a),o=a.complete?.bind(a)}this.__isAsync&&(i=this.wrapInTimeout(i),r&&(r=this.wrapInTimeout(r)),o&&(o=this.wrapInTimeout(o)));let s=super.subscribe({next:r,error:i,complete:o});return t instanceof He&&t.add(s),s}wrapInTimeout(t){return e=>{let n=this.pendingTasks?.add();setTimeout(()=>{t(e),n!==void 0&&this.pendingTasks?.remove(n)})}}},Me=Jv;function Ji(...t){}function Jh(t){let e,n;function r(){t=Ji;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),e!==void 0&&clearTimeout(e)}catch{}}return e=setTimeout(()=>{t(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{t(),r()})),()=>r()}function Cl(t){return queueMicrotask(()=>t()),()=>{t=Ji}}var Xa="isAngularZone",Ki=Xa+"_ID",Kv=0,le=class Ls{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Me(!1);onMicrotaskEmpty=new Me(!1);onStable=new Me(!1);onError=new Me(!1);constructor(e){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:i=!1,scheduleInRootZone:o=Wh}=e;if(typeof Zone>"u")throw new _t(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!i&&r,s.shouldCoalesceRunChangeDetection=i,s.callbackScheduled=!1,s.scheduleInRootZone=o,t0(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Xa)===!0}static assertInAngularZone(){if(!Ls.isInAngularZone())throw new _t(909,!1)}static assertNotInAngularZone(){if(Ls.isInAngularZone())throw new _t(909,!1)}run(e,n,r){return this._inner.run(e,n,r)}runTask(e,n,r,i){let o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,e,Qv,Ji,Ji);try{return o.runTask(s,n,r)}finally{o.cancelTask(s)}}runGuarded(e,n,r){return this._inner.runGuarded(e,n,r)}runOutsideAngular(e){return this._outer.run(e)}},Qv={};function tu(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function Xv(t){if(t.isCheckStableRunning||t.callbackScheduled)return;t.callbackScheduled=!0;function e(){Jh(()=>{t.callbackScheduled=!1,Ms(t),t.isCheckStableRunning=!0,tu(t),t.isCheckStableRunning=!1})}t.scheduleInRootZone?Zone.root.run(()=>{e()}):t._outer.run(()=>{e()}),Ms(t)}function t0(t){let e=()=>{Xv(t)},n=Kv++;t._inner=t._inner.fork({name:"angular",properties:{[Xa]:!0,[Ki]:n,[Ki+n]:!0},onInvokeTask:(r,i,o,s,a,u)=>{if(e0(u))return r.invokeTask(o,s,a,u);try{return Al(t),r.invokeTask(o,s,a,u)}finally{(t.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),Rl(t)}},onInvoke:(r,i,o,s,a,u,f)=>{try{return Al(t),r.invoke(o,s,a,u,f)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!n0(u)&&e(),Rl(t)}},onHasTask:(r,i,o,s)=>{r.hasTask(o,s),i===o&&(s.change=="microTask"?(t._hasPendingMicrotasks=s.microTask,Ms(t),tu(t)):s.change=="macroTask"&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,i,o,s)=>(r.handleError(o,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}function Ms(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function Al(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Rl(t){t._nesting--,tu(t)}var Kh=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Me;onMicrotaskEmpty=new Me;onStable=new Me;onError=new Me;run(t,e,n){return t.apply(e,n)}runGuarded(t,e,n){return t.apply(e,n)}runOutsideAngular(t){return t()}runTask(t,e,n,r){return t.apply(e,n)}};function e0(t){return Qh(t,"__ignore_ng_zone__")}function n0(t){return Qh(t,"__scheduler_tick__")}function Qh(t,e){return!Array.isArray(t)||t.length!==1?!1:t[0]?.data?.[e]===!0}var ei=class{_console=console;handleError(t){this._console.error("ERROR",t)}},r0=new Ct("",{providedIn:"root",factory:()=>{let t=St(le),e=St(ei);return n=>t.runOutsideAngular(()=>e.handleError(n))}});function i0(){return Xh(gr(),Ot())}function Xh(t,e){return new td(dn(t,e))}var td=(()=>{class t{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=i0}return t})();function Mi(t,e){let n=Ey(t),r=n[rn];return e?.equal&&(r.equal=e.equal),n.set=i=>Sf(r,i),n.update=i=>Sy(r,i),n.asReadonly=o0.bind(n),n}function o0(){let t=this[rn];if(t.readonlyFn===void 0){let e=()=>this();e[rn]=t,t.readonlyFn=e}return t.readonlyFn}function ed(t){return(t.flags&128)===128}var nd=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(nd||{}),rd=new Map,s0=0;function a0(){return s0++}function u0(t){rd.set(t[go],t)}function Ps(t){rd.delete(t[go])}var kl="__ngContext__";function ni(t,e){Sn(e)?(t[kl]=e[go],u0(e)):t[kl]=e}function id(t){return sd(t[jr])}function od(t){return sd(t[Oe])}function sd(t){for(;t!==null&&!jn(t);)t=t[Oe];return t}var js;function l0(t){js=t}function ad(){if(js!==void 0)return js;if(typeof document<"u")return document;throw new _t(210,!1)}var ud=new Ct("",{providedIn:"root",factory:()=>c0}),c0="ng",ld=new Ct(""),eu=new Ct("",{providedIn:"platform",factory:()=>"unknown"}),cd=new Ct("",{providedIn:"root",factory:()=>ad().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),f0="h",h0="b",fd=!1,d0=new Ct("",{providedIn:"root",factory:()=>fd}),hd=function(t){return t[t.CHANGE_DETECTION=0]="CHANGE_DETECTION",t[t.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",t}(hd||{}),nu=new Ct(""),Dl=new Set;function wo(t){Dl.has(t)||(Dl.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}var p0=(()=>{class t{impl=null;execute(){this.impl?.execute()}static \u0275prov=zt({token:t,providedIn:"root",factory:()=>new t})}return t})(),g0=()=>null;function dd(t,e,n=!1){return g0(t,e,n)}function pd(t,e){let n=t.contentQueries;if(n!==null){let r=dt(null);try{for(let i=0;i<n.length;i+=2){let o=n[i],s=n[i+1];if(s!==-1){let a=t.data[s];Nh(o),a.contentQueries(2,e[s],s)}}}finally{dt(r)}}}function Us(t,e,n){Nh(0);let r=dt(null);try{e(t,n)}finally{dt(r)}}function gd(t,e,n){if(hh(e)){let r=dt(null);try{let i=e.directiveStart,o=e.directiveEnd;for(let s=i;s<o;s++){let a=t.data[s];if(a.contentQueries){let u=n[s];a.contentQueries(1,u,s)}}}finally{dt(r)}}}var Fe=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(Fe||{}),vi;function y0(){if(vi===void 0&&(vi=null,$i.trustedTypes))try{vi=$i.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return vi}function Eo(t){return y0()?.createHTML(t)||t}var bi;function m0(){if(bi===void 0&&(bi=null,$i.trustedTypes))try{bi=$i.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return bi}function Ll(t){return m0()?.createHTML(t)||t}var Bn=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Gf})`}},v0=class extends Bn{getTypeName(){return"HTML"}},b0=class extends Bn{getTypeName(){return"Style"}},_0=class extends Bn{getTypeName(){return"Script"}},w0=class extends Bn{getTypeName(){return"URL"}},E0=class extends Bn{getTypeName(){return"ResourceURL"}};function Re(t){return t instanceof Bn?t.changingThisBreaksApplicationSecurity:t}function bn(t,e){let n=S0(t);if(n!=null&&n!==e){if(n==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${n} (see ${Gf})`)}return n===e}function S0(t){return t instanceof Bn&&t.getTypeName()||null}function I0(t){return new v0(t)}function N0(t){return new b0(t)}function x0(t){return new _0(t)}function O0(t){return new w0(t)}function T0(t){return new E0(t)}function C0(t){let e=new R0(t);return k0()?new A0(e):e}var A0=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let e=new window.DOMParser().parseFromString(Eo(t),"text/html").body;return e===null?this.inertDocumentHelper.getInertBodyElement(t):(e.firstChild?.remove(),e)}catch{return null}}},R0=class{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let e=this.inertDocument.createElement("template");return e.innerHTML=Eo(t),e}};function k0(){try{return!!new window.DOMParser().parseFromString(Eo(""),"text/html")}catch{return!1}}var D0=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function ru(t){return t=String(t),t.match(D0)?t:"unsafe:"+t}function Je(t){let e={};for(let n of t.split(","))e[n]=!0;return e}function ri(...t){let e={};for(let n of t)for(let r in n)n.hasOwnProperty(r)&&(e[r]=!0);return e}var yd=Je("area,br,col,hr,img,wbr"),md=Je("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),vd=Je("rp,rt"),L0=ri(vd,md),M0=ri(md,Je("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")),P0=ri(vd,Je("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")),Ml=ri(yd,M0,P0,L0),bd=Je("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),j0=Je("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"),U0=Je("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"),B0=ri(bd,j0,U0),V0=Je("script,style,template"),F0=class{sanitizedSomething=!1;buf=[];sanitizeChildren(t){let e=t.firstChild,n=!0,r=[];for(;e;){if(e.nodeType===Node.ELEMENT_NODE?n=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,n&&e.firstChild){r.push(e),e=z0(e);continue}for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let i=H0(e);if(i){e=i;break}e=r.pop()}}return this.buf.join("")}startElement(t){let e=Pl(t).toLowerCase();if(!Ml.hasOwnProperty(e))return this.sanitizedSomething=!0,!V0.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);let n=t.attributes;for(let r=0;r<n.length;r++){let i=n.item(r),o=i.name,s=o.toLowerCase();if(!B0.hasOwnProperty(s)){this.sanitizedSomething=!0;continue}let a=i.value;bd[s]&&(a=ru(a)),this.buf.push(" ",o,'="',jl(a),'"')}return this.buf.push(">"),!0}endElement(t){let e=Pl(t).toLowerCase();Ml.hasOwnProperty(e)&&!yd.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(t){this.buf.push(jl(t))}};function $0(t,e){return(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function H0(t){let e=t.nextSibling;if(e&&t!==e.previousSibling)throw _d(e);return e}function z0(t){let e=t.firstChild;if(e&&$0(t,e))throw _d(e);return e}function Pl(t){let e=t.nodeName;return typeof e=="string"?e:"FORM"}function _d(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}var q0=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,G0=/([^\#-~ |!])/g;function jl(t){return t.replace(/&/g,"&amp;").replace(q0,function(e){let n=e.charCodeAt(0),r=e.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(G0,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var _i;function wd(t,e){let n=null;try{_i=_i||C0(t);let r=e?String(e):"";n=_i.getInertBodyElement(r);let i=5,o=r;do{if(i===0)throw new Error("Failed to sanitize html because the input is unstable");i--,r=o,o=n.innerHTML,n=_i.getInertBodyElement(r)}while(r!==o);let s=new F0().sanitizeChildren(Ul(n)||n);return Eo(s)}finally{if(n){let r=Ul(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function Ul(t){return"content"in t&&W0(t)?t.content:null}function W0(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}var Ve=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(Ve||{});function Ed(t){let e=Sd();return e?Ll(e.sanitize(Ve.HTML,t)||""):bn(t,"HTML")?Ll(Re(t)):wd(ad(),fo(t))}function wn(t){let e=Sd();return e?e.sanitize(Ve.URL,t)||"":bn(t,"URL")?Re(t):ru(fo(t))}function Sd(){let t=Ot();return t&&t[qe].sanitizer}function Z0(t,e,n){let r=t.length;for(;;){let i=t.indexOf(e,n);if(i===-1)return i;if(i===0||t.charCodeAt(i-1)<=32){let o=e.length;if(i+o===r||t.charCodeAt(i+o)<=32)return i}n=i+1}}var Id="ng-template";function Y0(t,e,n,r){let i=0;if(r){for(;i<e.length&&typeof e[i]=="string";i+=2)if(e[i]==="class"&&Z0(e[i+1].toLowerCase(),n,0)!==-1)return!0}else if(iu(t))return!1;if(i=e.indexOf(1,i),i>-1){let o;for(;++i<e.length&&typeof(o=e[i])=="string";)if(o.toLowerCase()===n)return!0}return!1}function iu(t){return t.type===4&&t.value!==Id}function J0(t,e,n){let r=t.type===4&&!n?Id:t.value;return e===r}function K0(t,e,n){let r=4,i=t.attrs,o=i!==null?tb(i):0,s=!1;for(let a=0;a<e.length;a++){let u=e[a];if(typeof u=="number"){if(!s&&!Se(r)&&!Se(u))return!1;if(s&&Se(u))continue;s=!1,r=u|r&1;continue}if(!s)if(r&4){if(r=2|r&1,u!==""&&!J0(t,u,n)||u===""&&e.length===1){if(Se(r))return!1;s=!0}}else if(r&8){if(i===null||!Y0(t,i,u,n)){if(Se(r))return!1;s=!0}}else{let f=e[++a],h=Q0(u,i,iu(t),n);if(h===-1){if(Se(r))return!1;s=!0;continue}if(f!==""){let d;if(h>o?d="":d=i[h+1].toLowerCase(),r&2&&f!==d){if(Se(r))return!1;s=!0}}}}return Se(r)||s}function Se(t){return(t&1)===0}function Q0(t,e,n,r){if(e===null)return-1;let i=0;if(r||!n){let o=!1;for(;i<e.length;){let s=e[i];if(s===t)return i;if(s===3||s===6)o=!0;else if(s===1||s===2){let a=e[++i];for(;typeof a=="string";)a=e[++i];continue}else{if(s===4)break;if(s===0){i+=4;continue}}i+=o?1:2}return-1}else return eb(e,t)}function X0(t,e,n=!1){for(let r=0;r<e.length;r++)if(K0(t,e[r],n))return!0;return!1}function tb(t){for(let e=0;e<t.length;e++){let n=t[e];if(kv(n))return e}return t.length}function eb(t,e){let n=t.indexOf(4);if(n>-1)for(n++;n<t.length;){let r=t[n];if(typeof r=="number")return-1;if(r===e)return n;n++}return-1}function Bl(t,e){return t?":not("+e.trim()+")":e}function nb(t){let e=t[0],n=1,r=2,i="",o=!1;for(;n<t.length;){let s=t[n];if(typeof s=="string")if(r&2){let a=t[++n];i+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?i+="."+s:r&4&&(i+=" "+s);else i!==""&&!Se(s)&&(e+=Bl(o,i),i=""),r=s,o=o||!Se(r);n++}return i!==""&&(e+=Bl(o,i)),e}function rb(t){return t.map(nb).join(",")}function ib(t){let e=[],n=[],r=1,i=2;for(;r<t.length;){let o=t[r];if(typeof o=="string")i===2?o!==""&&e.push(o,t[++r]):i===8&&n.push(o);else{if(!Se(i))break;i=o}r++}return n.length&&e.push(1,...n),e}var Ee={};function ob(t,e){return t.createText(e)}function sb(t,e,n){t.setValue(e,n)}function Nd(t,e,n){return t.createElement(e,n)}function Bs(t,e,n,r,i){t.insertBefore(e,n,r,i)}function xd(t,e,n){t.appendChild(e,n)}function Vl(t,e,n,r,i){r!==null?Bs(t,e,n,r,i):xd(t,e,n)}function ab(t,e,n){t.removeChild(null,e,n)}function ub(t,e,n){t.setAttribute(e,"style",n)}function lb(t,e,n){n===""?t.removeAttribute(e,"class"):t.setAttribute(e,"class",n)}function Od(t,e,n){let{mergedAttrs:r,classes:i,styles:o}=n;r!==null&&Rv(t,e,r),i!==null&&lb(t,e,i),o!==null&&ub(t,e,o)}function ou(t,e,n,r,i,o,s,a,u,f,h){let d=ee+r,b=d+i,_=cb(d,b),w=typeof f=="function"?f():f;return _[ct]={type:t,blueprint:_,template:n,queries:null,viewQuery:a,declTNode:e,data:_.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:b,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof o=="function"?o():o,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:u,consts:w,incompleteFirstPass:!1,ssrId:h}}function cb(t,e){let n=[];for(let r=0;r<e;r++)n.push(r<t?null:Ee);return n}function fb(t){let e=t.tView;return e===null||e.incompleteFirstPass?t.tView=ou(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):e}function su(t,e,n,r,i,o,s,a,u,f,h){let d=e.blueprint.slice();return d[Ye]=i,d[tt]=r|4|128|8|64|1024,(f!==null||t&&t[tt]&2048)&&(d[tt]|=2048),vh(d),d[_e]=d[pr]=t,d[Zt]=n,d[qe]=s||t&&t[qe],d[te]=a||t&&t[te],d[Pr]=u||t&&t[Pr]||null,d[je]=o,d[go]=a0(),d[Mr]=h,d[ch]=f,d[Pe]=e.type==2?t[Pe]:d,d}function hb(t,e,n){let r=dn(e,t),i=fb(n),o=t[qe].rendererFactory,s=Ad(t,su(t,i,null,Td(n),r,e,null,o.createRenderer(r,n),null,null,null));return t[e.index]=s}function Td(t){let e=16;return t.signals?e=4096:t.onPush&&(e=64),e}function Cd(t,e,n,r){if(n===0)return-1;let i=e.length;for(let o=0;o<n;o++)e.push(r),t.blueprint.push(r),t.data.push(null);return i}function Ad(t,e){return t[jr]?t[El][Oe]=e:t[jr]=e,t[El]=e,e}function ne(t=1){Rd(fe(),Ot(),pn()+t,!1)}function Rd(t,e,n,r){if(!r)if((e[tt]&3)===3){let i=t.preOrderCheckHooks;i!==null&&Di(e,i,n)}else{let i=t.preOrderHooks;i!==null&&Li(e,i,0,n)}Tn(n)}var So=function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t}(So||{});function Vs(t,e,n,r){let i=dt(null);try{let[o,s,a]=t.inputs[n],u=null;(s&So.SignalBased)!==0&&(u=e[o][rn]),u!==null&&u.transformFn!==void 0?r=u.transformFn(r):a!==null&&(r=a.call(e,r)),t.setInput!==null?t.setInput(e,u,r,n,o):dh(e,u,o,r)}finally{dt(i)}}function kd(t,e,n,r,i){let o=pn(),s=r&2;try{Tn(-1),s&&e.length>ee&&Rd(t,e,ee,!1),Tt(s?2:0,i),n(r,i)}finally{Tn(o),Tt(s?3:1,i)}}function au(t,e,n){vb(t,e,n),(n.flags&64)===64&&bb(t,e,n)}function Dd(t,e,n=dn){let r=e.localNames;if(r!==null){let i=e.index+1;for(let o=0;o<r.length;o+=2){let s=r[o+1],a=s===-1?n(e,t):t[s];t[i++]=a}}}function db(t,e,n,r){let i=r.get(d0,fd)||n===Fe.ShadowDom,o=t.selectRootElement(e,i);return pb(o),o}function pb(t){gb(t)}var gb=()=>null;function yb(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}function Ld(t,e,n,r,i,o,s,a){if(!a&&uu(e,t,n,r,i)){Qr(e)&&mb(n,e.index);return}if(e.type&3){let u=dn(e,n);r=yb(r),i=s!=null?s(i,e.value||"",r):i,o.setProperty(u,r,i)}else e.type&12}function mb(t,e){let n=un(e,t);n[tt]&16||(n[tt]|=64)}function vb(t,e,n){let r=n.directiveStart,i=n.directiveEnd;Qr(n)&&hb(e,n,t.data[r+n.componentOffset]),t.firstCreatePass||jh(n,e);let o=n.initialInputs;for(let s=r;s<i;s++){let a=t.data[s],u=Ds(e,t,s,n);if(ni(u,e),o!==null&&wb(e,s-r,u,a,n,o),Un(a)){let f=un(n.index,e);f[Zt]=Ds(e,t,s,n)}}}function bb(t,e,n){let r=n.directiveStart,i=n.directiveEnd,o=n.index,s=wv();try{Tn(o);for(let a=r;a<i;a++){let u=t.data[a],f=e[a];Cs(a),(u.hostBindings!==null||u.hostVars!==0||u.hostAttrs!==null)&&_b(u,f)}}finally{Tn(-1),Cs(s)}}function _b(t,e){t.hostBindings!==null&&t.hostBindings(1,e)}function Md(t,e){let n=t.directiveRegistry,r=null;if(n)for(let i=0;i<n.length;i++){let o=n[i];X0(e,o.selectors,!1)&&(r??=[],Un(o)?r.unshift(o):r.push(o))}return r}function wb(t,e,n,r,i,o){let s=o[e];if(s!==null)for(let a=0;a<s.length;a+=2){let u=s[a],f=s[a+1];Vs(r,n,u,f)}}function Pd(t,e){let n=t[Pr],r=n?n.get(ei,null):null;r&&r.handleError(e)}function uu(t,e,n,r,i){let o=t.inputs?.[r],s=t.hostDirectiveInputs?.[r],a=!1;if(s)for(let u=0;u<s.length;u+=2){let f=s[u],h=s[u+1],d=e.data[f];Vs(d,n[f],h,i),a=!0}if(o)for(let u of o){let f=n[u],h=e.data[u];Vs(h,f,r,i),a=!0}return a}function Eb(t,e){let n=un(e,t),r=n[ct];Sb(r,n);let i=n[Ye];i!==null&&n[Mr]===null&&(n[Mr]=dd(i,n[Pr])),Tt(18),lu(r,n,n[Zt]),Tt(19,n[Zt])}function Sb(t,e){for(let n=e.length;n<t.blueprint.length;n++)e.push(t.blueprint[n])}function lu(t,e,n){qa(e);try{let r=t.viewQuery;r!==null&&Us(1,r,n);let i=t.template;i!==null&&kd(t,e,i,1,n),t.firstCreatePass&&(t.firstCreatePass=!1),e[sr]?.finishViewCreation(t),t.staticContentQueries&&pd(t,e),t.staticViewQueries&&Us(2,t.viewQuery,n);let o=t.components;o!==null&&Ib(e,o)}catch(r){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),r}finally{e[tt]&=-5,Ga()}}function Ib(t,e){for(let n=0;n<e.length;n++)Eb(t,e[n])}function cu(t,e,n,r){let i=dt(null);try{let o=e.tView,s=t[tt]&4096?4096:16,a=su(t,o,n,s,null,e,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),u=t[e.index];a[or]=u;let f=t[sr];return f!==null&&(a[sr]=f.createEmbeddedView(o)),lu(o,a,n),a}finally{dt(i)}}function fu(t,e){return!e||e.firstChild===null||ed(t)}var Nb;function hu(t,e){return Nb(t,e)}var En=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(En||{});function jd(t){return(t.flags&32)===32}function Zn(t,e,n,r,i){if(r!=null){let o,s=!1;jn(r)?o=r:Sn(r)&&(s=!0,r=r[Ye]);let a=Ge(r);t===0&&n!==null?i==null?xd(e,n,a):Bs(e,n,a,i||null,!0):t===1&&n!==null?Bs(e,n,a,i||null,!0):t===2?ab(e,a,s):t===3&&e.destroyNode(a),o!=null&&jb(e,t,o,n,i)}}function xb(t,e){Ud(t,e),e[Ye]=null,e[je]=null}function Ob(t,e,n,r,i,o){r[Ye]=i,r[je]=e,Io(t,r,n,1,i,o)}function Ud(t,e){e[qe].changeDetectionScheduler?.notify(9),Io(t,e,e[te],2,null,null)}function Tb(t){let e=t[jr];if(!e)return ts(t[ct],t);for(;e;){let n=null;if(Sn(e))n=e[jr];else{let r=e[se];r&&(n=r)}if(!n){for(;e&&!e[Oe]&&e!==t;)Sn(e)&&ts(e[ct],e),e=e[_e];e===null&&(e=t),Sn(e)&&ts(e[ct],e),n=e&&e[Oe]}e=n}}function du(t,e){let n=t[Wi],r=n.indexOf(e);n.splice(r,1)}function pu(t,e){if(Xr(e))return;let n=e[te];n.destroyNode&&Io(t,e,n,3,null,null),Tb(e)}function ts(t,e){if(Xr(e))return;let n=dt(null);try{e[tt]&=-129,e[tt]|=256,e[ue]&&mf(e[ue]),Ab(t,e),Cb(t,e),e[ct].type===1&&e[te].destroy();let r=e[or];if(r!==null&&jn(e[_e])){r!==e[_e]&&du(r,e);let i=e[sr];i!==null&&i.detachView(t)}Ps(e)}finally{dt(n)}}function Cb(t,e){let n=t.cleanup,r=e[qi];if(n!==null)for(let s=0;s<n.length-1;s+=2)if(typeof n[s]=="string"){let a=n[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[n[s+1]];n[s].call(a)}r!==null&&(e[qi]=null);let i=e[sn];if(i!==null){e[sn]=null;for(let s=0;s<i.length;s++){let a=i[s];a()}}let o=e[Gi];if(o!==null){e[Gi]=null;for(let s of o)s.destroy()}}function Ab(t,e){let n;if(t!=null&&(n=t.destroyHooks)!=null)for(let r=0;r<n.length;r+=2){let i=e[n[r]];if(!(i instanceof Ya)){let o=n[r+1];if(Array.isArray(o))for(let s=0;s<o.length;s+=2){let a=i[o[s]],u=o[s+1];Tt(4,a,u);try{u.call(a)}finally{Tt(5,a,u)}}else{Tt(4,i,o);try{o.call(i)}finally{Tt(5,i,o)}}}}}function Rb(t,e,n){return kb(t,e.parent,n)}function kb(t,e,n){let r=e;for(;r!==null&&r.type&168;)e=r,r=e.parent;if(r===null)return n[Ye];if(Qr(r)){let{encapsulation:i}=t.data[r.directiveStart+r.componentOffset];if(i===Fe.None||i===Fe.Emulated)return null}return dn(r,n)}function Db(t,e,n){return Mb(t,e,n)}function Lb(t,e,n){return t.type&40?dn(t,n):null}var Mb=Lb,Fl;function gu(t,e,n,r){let i=Rb(t,r,e),o=e[te],s=r.parent||e[je],a=Db(s,r,e);if(i!=null)if(Array.isArray(n))for(let u=0;u<n.length;u++)Vl(o,i,n[u],a,!1);else Vl(o,i,n,a,!1);Fl!==void 0&&Fl(o,r,e,n,i)}function Nr(t,e){if(e!==null){let n=e.type;if(n&3)return dn(e,t);if(n&4)return Fs(-1,t[e.index]);if(n&8){let r=e.child;if(r!==null)return Nr(t,r);{let i=t[e.index];return jn(i)?Fs(-1,i):Ge(i)}}else{if(n&128)return Nr(t,e.next);if(n&32)return hu(e,t)()||Ge(t[e.index]);{let r=Bd(t,e);if(r!==null){if(Array.isArray(r))return r[0];let i=On(t[Pe]);return Nr(i,r)}else return Nr(t,e.next)}}}return null}function Bd(t,e){if(e!==null){let n=t[Pe][je],r=e.projection;return n.projection[r]}return null}function Fs(t,e){let n=se+t+1;if(n<e.length){let r=e[n],i=r[ct].firstChild;if(i!==null)return Nr(r,i)}return e[Ur]}function yu(t,e,n,r,i,o,s){for(;n!=null;){if(n.type===128){n=n.next;continue}let a=r[n.index],u=n.type;if(s&&e===0&&(a&&ni(Ge(a),r),n.flags|=2),!jd(n))if(u&8)yu(t,e,n.child,r,i,o,!1),Zn(e,t,i,a,o);else if(u&32){let f=hu(n,r),h;for(;h=f();)Zn(e,t,i,h,o);Zn(e,t,i,a,o)}else u&16?Pb(t,e,r,n,i,o):Zn(e,t,i,a,o);n=s?n.projectionNext:n.next}}function Io(t,e,n,r,i,o){yu(n,r,t.firstChild,e,i,o,!1)}function Pb(t,e,n,r,i,o){let s=n[Pe],a=s[je].projection[r.projection];if(Array.isArray(a))for(let u=0;u<a.length;u++){let f=a[u];Zn(e,t,i,f,o)}else{let u=a,f=s[_e];ed(r)&&(u.flags|=128),yu(t,e,u,f,i,o,!0)}}function jb(t,e,n,r,i){let o=n[Ur],s=Ge(n);o!==s&&Zn(e,t,r,o,i);for(let a=se;a<n.length;a++){let u=n[a];Io(u[ct],u,t,e,r,o)}}function Ub(t,e,n,r,i){if(e)i?t.addClass(n,r):t.removeClass(n,r);else{let o=r.indexOf("-")===-1?void 0:En.DashCase;i==null?t.removeStyle(n,r,o):(typeof i=="string"&&i.endsWith("!important")&&(i=i.slice(0,-10),o|=En.Important),t.setStyle(n,r,i,o))}}function Qi(t,e,n,r,i=!1){for(;n!==null;){if(n.type===128){n=i?n.projectionNext:n.next;continue}let o=e[n.index];o!==null&&r.push(Ge(o)),jn(o)&&Bb(o,r);let s=n.type;if(s&8)Qi(t,e,n.child,r);else if(s&32){let a=hu(n,e),u;for(;u=a();)r.push(u)}else if(s&16){let a=Bd(e,n);if(Array.isArray(a))r.push(...a);else{let u=On(e[Pe]);Qi(u[ct],u,a,r,!0)}}n=i?n.projectionNext:n.next}return r}function Bb(t,e){for(let n=se;n<t.length;n++){let r=t[n],i=r[ct].firstChild;i!==null&&Qi(r[ct],r,i,e)}t[Ur]!==t[Ye]&&e.push(t[Ur])}function Vd(t){if(t[Jo]!==null){for(let e of t[Jo])e.impl.addSequence(e);t[Jo].length=0}}var Fd=[];function Vb(t){return t[ue]??Fb(t)}function Fb(t){let e=Fd.pop()??Object.create(Hb);return e.lView=t,e}function $b(t){t.lView[ue]!==t&&(t.lView=null,Fd.push(t))}var Hb=Dt(k({},Ca),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{mo(t.lView)},consumerOnSignalRead(){this.lView[ue]=this}});function zb(t){let e=t[ue]??Object.create(qb);return e.lView=t,e}var qb=Dt(k({},Ca),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{let e=On(t.lView);for(;e&&!$d(e[ct]);)e=On(e);e&&Ha(e)},consumerOnSignalRead(){this.lView[ue]=this}});function $d(t){return t.type!==2}function Hd(t){if(t[Gi]===null)return;let e=!0;for(;e;){let n=!1;for(let r of t[Gi])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));e=n&&!!(t[tt]&8192)}}var Gb=100;function zd(t,e=!0,n=0){let r=t[qe].rendererFactory,i=!1;i||r.begin?.();try{Wb(t,n)}catch(o){throw e&&Pd(t,o),o}finally{i||r.end?.()}}function Wb(t,e){let n=Sh();try{Sl(!0),$s(t,e);let r=0;for(;yo(t);){if(r===Gb)throw new _t(103,!1);r++,$s(t,1)}}finally{Sl(n)}}function Zb(t,e,n,r){if(Xr(e))return;let i=e[tt],o=!1,s=!1;qa(e);let a=!0,u=null,f=null;o||($d(t)?(f=Vb(e),u=cl(f)):dy()===null?(a=!1,f=zb(e),u=cl(f)):e[ue]&&(mf(e[ue]),e[ue]=null));try{vh(e),vv(t.bindingStartIndex),n!==null&&kd(t,e,n,2,r);let h=(i&3)===3;if(!o)if(h){let _=t.preOrderCheckHooks;_!==null&&Di(e,_,null)}else{let _=t.preOrderHooks;_!==null&&Li(e,_,0,null),Ko(e,0)}if(s||Yb(e),Hd(e),qd(e,0),t.contentQueries!==null&&pd(t,e),!o)if(h){let _=t.contentCheckHooks;_!==null&&Di(e,_)}else{let _=t.contentHooks;_!==null&&Li(e,_,1),Ko(e,1)}Kb(t,e);let d=t.components;d!==null&&Wd(e,d,0);let b=t.viewQuery;if(b!==null&&Us(2,b,r),!o)if(h){let _=t.viewCheckHooks;_!==null&&Di(e,_)}else{let _=t.viewHooks;_!==null&&Li(e,_,2),Ko(e,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),e[Yo]){for(let _ of e[Yo])_();e[Yo]=null}o||(Vd(e),e[tt]&=-73)}catch(h){throw o||mo(e),h}finally{f!==null&&(vy(f,u),a&&$b(f)),Ga()}}function qd(t,e){for(let n=id(t);n!==null;n=od(n))for(let r=se;r<n.length;r++){let i=n[r];Gd(i,e)}}function Yb(t){for(let e=id(t);e!==null;e=od(e)){if(!(e[tt]&2))continue;let n=e[Wi];for(let r=0;r<n.length;r++){let i=n[r];Ha(i)}}}function Jb(t,e,n){Tt(18);let r=un(e,t);Gd(r,n),Tt(19,r[Zt])}function Gd(t,e){$a(t)&&$s(t,e)}function $s(t,e){let n=t[ct],r=t[tt],i=t[ue],o=!!(e===0&&r&16);if(o||=!!(r&64&&e===0),o||=!!(r&1024),o||=!!(i?.dirty&&yf(i)),o||=!1,i&&(i.dirty=!1),t[tt]&=-9217,o)Zb(n,t,n.template,t[Zt]);else if(r&8192){Hd(t),qd(t,1);let s=n.components;s!==null&&Wd(t,s,1),Vd(t)}}function Wd(t,e,n){for(let r=0;r<e.length;r++)Jb(t,e[r],n)}function Kb(t,e){let n=t.hostBindingOpCodes;if(n!==null)try{for(let r=0;r<n.length;r++){let i=n[r];if(i<0)Tn(~i);else{let o=i,s=n[++r],a=n[++r];_v(s,o);let u=e[o];Tt(24,u),a(2,u),Tt(25,u)}}}finally{Tn(-1)}}function mu(t,e){let n=Sh()?64:1088;for(t[qe].changeDetectionScheduler?.notify(e);t;){t[tt]|=n;let r=On(t);if(Zi(t)&&!r)return t;t=r}return null}function Qb(t,e,n,r){return[t,!0,0,e,null,r,null,n,null,null]}function Zd(t,e){let n=se+e;if(n<t.length)return t[n]}function vu(t,e,n,r=!0){let i=e[ct];if(Xb(i,e,t,n),r){let s=Fs(n,t),a=e[te],u=a.parentNode(t[Ur]);u!==null&&Ob(i,t[je],a,e,u,s)}let o=e[Mr];o!==null&&o.firstChild!==null&&(o.firstChild=null)}function Yd(t,e){let n=bu(t,e);return n!==void 0&&pu(n[ct],n),n}function bu(t,e){if(t.length<=se)return;let n=se+e,r=t[n];if(r){let i=r[or];i!==null&&i!==t&&du(i,r),e>0&&(t[n-1][Oe]=r[Oe]);let o=Xf(t,se+e);xb(r[ct],r);let s=o[sr];s!==null&&s.detachView(o[ct]),r[_e]=null,r[Oe]=null,r[tt]&=-129}return r}function Xb(t,e,n,r){let i=se+r,o=n.length;r>0&&(n[i-1][Oe]=e),r<o-se?(e[Oe]=n[i],Lm(n,se+r,e)):(n.push(e),e[Oe]=null),e[_e]=n;let s=e[or];s!==null&&n!==s&&Jd(s,e);let a=e[sr];a!==null&&a.insertView(t),Os(e),e[tt]|=128}function Jd(t,e){let n=t[Wi],r=e[_e];if(Sn(r))t[tt]|=2;else{let i=r[_e][Pe];e[Pe]!==i&&(t[tt]|=2)}n===null?t[Wi]=[e]:n.push(e)}var t_=class{_lView;_cdRefInjectingView;notifyErrorHandler;_appRef=null;_attachedToViewContainer=!1;get rootNodes(){let t=this._lView,e=t[ct];return Qi(e,t,e.firstChild,[])}constructor(t,e,n=!0){this._lView=t,this._cdRefInjectingView=e,this.notifyErrorHandler=n}get context(){return this._lView[Zt]}get dirty(){return!!(this._lView[tt]&9280)||!!this._lView[ue]?.dirty}set context(t){this._lView[Zt]=t}get destroyed(){return Xr(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[_e];if(jn(t)){let e=t[Km],n=e?e.indexOf(this):-1;n>-1&&(bu(t,n),Xf(e,n))}this._attachedToViewContainer=!1}pu(this._lView[ct],this._lView)}onDestroy(t){bh(this._lView,t)}markForCheck(){mu(this._cdRefInjectingView||this._lView,4)}markForRefresh(){Ha(this._cdRefInjectingView||this._lView)}detach(){this._lView[tt]&=-129}reattach(){Os(this._lView),this._lView[tt]|=128}detectChanges(){this._lView[tt]|=1024,zd(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new _t(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=Zi(this._lView),e=this._lView[or];e!==null&&!t&&du(e,this._lView),Ud(this._lView[ct],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new _t(902,!1);this._appRef=t;let e=Zi(this._lView),n=this._lView[or];n!==null&&!e&&Jd(n,this._lView),Os(this._lView)}};function No(t,e,n,r,i){let o=t.data[e];if(o===null)o=e_(t,e,n,r,i),bv()&&(o.flags|=32);else if(o.type&64){o.type=n,o.value=r,o.attrs=i;let s=yv();o.injectorIndex=s===null?-1:s.injectorIndex}return yr(o,!0),o}function e_(t,e,n,r,i){let o=wh(),s=Eh(),a=s?o:o&&o.parent,u=t.data[e]=r_(t,a,n,e,r,i);return n_(t,u,o,s),u}function n_(t,e,n,r){t.firstChild===null&&(t.firstChild=e),n!==null&&(r?n.child==null&&e.parent!==null&&(n.child=e):n.next===null&&(n.next=e,e.prev=n))}function r_(t,e,n,r,i,o){let s=e?e.injectorIndex:-1,a=0;return dv()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var DO=new RegExp(`^(\\d+)*(${h0}|${f0})*(.*)`),i_=()=>null;function _u(t,e){return i_(t,e)}var o_=class{},Kd=class{},s_=class{resolveComponentFactory(t){throw Error(`No component factory found for ${xe(t)}.`)}},ii=class{static NULL=new s_},wu=class{},a_=(()=>{class t{static \u0275prov=zt({token:t,providedIn:"root",factory:()=>null})}return t})();function $l(t,e,n){let r=n?t.styles:null,i=n?t.classes:null,o=0;if(e!==null)for(let s=0;s<e.length;s++){let a=e[s];if(typeof a=="number")o=a;else if(o==1)i=_s(i,a);else if(o==2){let u=a,f=e[++s];r=_s(r,u+": "+f+";")}}n?t.styles=r:t.stylesWithoutHost=r,n?t.classes=i:t.classesWithoutHost=i}function xo(t,e=lt.Default){let n=Ot();if(n===null)return xt(t,e);let r=gr();return $h(r,n,Ie(t),e)}function Qd(t,e,n,r,i){let o=r===null?null:{"":-1},s=i(t,n);if(s!==null){let a,u=null,f=null,h=l_(s);h===null?a=s:[a,u,f]=h,h_(t,e,n,a,o,u,f)}o!==null&&r!==null&&u_(n,r,o)}function u_(t,e,n){let r=t.localNames=[];for(let i=0;i<e.length;i+=2){let o=n[e[i+1]];if(o==null)throw new _t(-301,!1);r.push(e[i],o)}}function l_(t){let e=null,n=!1;for(let s=0;s<t.length;s++){let a=t[s];if(s===0&&Un(a)&&(e=a),a.findHostDirectiveDefs!==null){n=!0;break}}if(!n)return null;let r=null,i=null,o=null;for(let s of t)s.findHostDirectiveDefs!==null&&(r??=[],i??=new Map,o??=new Map,c_(s,r,o,i)),s===e&&(r??=[],r.push(s));return r!==null?(r.push(...e===null?t:t.slice(1)),[r,i,o]):null}function c_(t,e,n,r){let i=e.length;t.findHostDirectiveDefs(t,e,r),n.set(t,[i,e.length-1])}function f_(t,e,n){e.componentOffset=n,(t.components??=[]).push(e.index)}function h_(t,e,n,r,i,o,s){let a=r.length,u=!1;for(let b=0;b<a;b++){let _=r[b];!u&&Un(_)&&(u=!0,f_(t,n,b)),Vv(jh(n,e),t,_.type)}v_(n,t.data.length,a);for(let b=0;b<a;b++){let _=r[b];_.providersResolver&&_.providersResolver(_)}let f=!1,h=!1,d=Cd(t,e,a,null);a>0&&(n.directiveToIndex=new Map);for(let b=0;b<a;b++){let _=r[b];if(n.mergedAttrs=Ja(n.mergedAttrs,_.hostAttrs),p_(t,n,e,d,_),m_(d,_,i),s!==null&&s.has(_)){let[T,D]=s.get(_);n.directiveToIndex.set(_.type,[d,T+n.directiveStart,D+n.directiveStart])}else(o===null||!o.has(_))&&n.directiveToIndex.set(_.type,d);_.contentQueries!==null&&(n.flags|=4),(_.hostBindings!==null||_.hostAttrs!==null||_.hostVars!==0)&&(n.flags|=64);let w=_.type.prototype;!f&&(w.ngOnChanges||w.ngOnInit||w.ngDoCheck)&&((t.preOrderHooks??=[]).push(n.index),f=!0),!h&&(w.ngOnChanges||w.ngDoCheck)&&((t.preOrderCheckHooks??=[]).push(n.index),h=!0),d++}d_(t,n,o)}function d_(t,e,n){for(let r=e.directiveStart;r<e.directiveEnd;r++){let i=t.data[r];if(n===null||!n.has(i))Hl(0,e,i,r),Hl(1,e,i,r),ql(e,r,!1);else{let o=n.get(i);zl(0,e,o,r),zl(1,e,o,r),ql(e,r,!0)}}}function Hl(t,e,n,r){let i=t===0?n.inputs:n.outputs;for(let o in i)if(i.hasOwnProperty(o)){let s;t===0?s=e.inputs??={}:s=e.outputs??={},s[o]??=[],s[o].push(r),Xd(e,o)}}function zl(t,e,n,r){let i=t===0?n.inputs:n.outputs;for(let o in i)if(i.hasOwnProperty(o)){let s=i[o],a;t===0?a=e.hostDirectiveInputs??={}:a=e.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,o),Xd(e,s)}}function Xd(t,e){e==="class"?t.flags|=8:e==="style"&&(t.flags|=16)}function ql(t,e,n){let{attrs:r,inputs:i,hostDirectiveInputs:o}=t;if(r===null||!n&&i===null||n&&o===null||iu(t)){t.initialInputs??=[],t.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let u=r[a];if(u===0){a+=4;continue}else if(u===5){a+=2;continue}else if(typeof u=="number")break;if(!n&&i.hasOwnProperty(u)){let f=i[u];for(let h of f)if(h===e){s??=[],s.push(u,r[a+1]);break}}else if(n&&o.hasOwnProperty(u)){let f=o[u];for(let h=0;h<f.length;h+=2)if(f[h]===e){s??=[],s.push(f[h+1],r[a+1]);break}}a+=2}t.initialInputs??=[],t.initialInputs.push(s)}function p_(t,e,n,r,i){t.data[r]=i;let o=i.factory||(i.factory=rr(i.type,!0)),s=new Ya(o,Un(i),xo);t.blueprint[r]=s,n[r]=s,g_(t,e,r,Cd(t,n,i.hostVars,Ee),i)}function g_(t,e,n,r,i){let o=i.hostBindings;if(o){let s=t.hostBindingOpCodes;s===null&&(s=t.hostBindingOpCodes=[]);let a=~e.index;y_(s)!=a&&s.push(a),s.push(n,r,o)}}function y_(t){let e=t.length;for(;e>0;){let n=t[--e];if(typeof n=="number"&&n<0)return n}return 0}function m_(t,e,n){if(n){if(e.exportAs)for(let r=0;r<e.exportAs.length;r++)n[e.exportAs[r]]=t;Un(e)&&(n[""]=t)}}function v_(t,e,n){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+n,t.providerIndexes=e}function tp(t,e,n,r,i,o,s,a){let u=e.consts,f=ar(u,s),h=No(e,t,2,r,f);return o&&Qd(e,n,h,ar(u,a),i),h.mergedAttrs=Ja(h.mergedAttrs,h.attrs),h.attrs!==null&&$l(h,h.attrs,!1),h.mergedAttrs!==null&&$l(h,h.mergedAttrs,!0),e.queries!==null&&e.queries.elementStart(e,h),h}function ep(t,e){Dh(t,e),hh(e)&&t.queries.elementEnd(e)}var b_=class extends ii{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let e=po(t);return new N_(e,this.ngModule)}};function __(t){return Object.keys(t).map(e=>{let[n,r,i]=t[e],o={propName:n,templateName:e,isSignal:(r&So.SignalBased)!==0};return i&&(o.transform=i),o})}function w_(t){return Object.keys(t).map(e=>({propName:t[e],templateName:e}))}function E_(t,e,n){let r=e instanceof Lr?e:e?.injector;return r&&t.getStandaloneInjector!==null&&(r=t.getStandaloneInjector(r)||r),r?new Lv(n,r):n}function S_(t){let e=t.get(wu,null);if(e===null)throw new _t(407,!1);let n=t.get(a_,null),r=t.get(ti,null);return{rendererFactory:e,sanitizer:n,changeDetectionScheduler:r}}function I_(t,e){let n=(t.selectors[0][0]||"div").toLowerCase();return Nd(e,n,n==="svg"?iv:n==="math"?ov:null)}var N_=class extends Kd{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;get inputs(){return __(this.componentDef.inputs)}get outputs(){return w_(this.componentDef.outputs)}constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=rb(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!e}create(t,e,n,r){Tt(22);let i=dt(null);try{let o=this.componentDef,s=n?["ng-version","19.2.0"]:ib(this.componentDef.selectors[0]),a=ou(0,null,null,1,0,null,null,null,null,[s],null),u=E_(o,r||this.ngModule,t),f=S_(u),h=f.rendererFactory.createRenderer(null,o),d=n?db(h,n,o.encapsulation,u):I_(o,h),b=su(null,a,null,512|Td(o),null,null,f,h,u,null,dd(d,u,!0));b[ee]=d,qa(b);let _=null;try{let w=tp(ee,a,b,"#host",()=>[this.componentDef],!0,0);d&&(Od(h,d,w),ni(d,b)),au(a,b,w),gd(a,w,b),ep(a,w),e!==void 0&&O_(w,this.ngContentSelectors,e),_=un(w.index,b),b[Zt]=_[Zt],lu(a,b,null)}catch(w){throw _!==null&&Ps(_),Ps(b),w}finally{Tt(23),Ga()}return new x_(this.componentType,b)}finally{dt(i)}}},x_=class extends o_{_rootLView;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,e){super(),this._rootLView=e,this._tNode=Fa(e[ct],ee),this.location=Xh(this._tNode,e),this.instance=un(this._tNode.index,e)[Zt],this.hostView=this.changeDetectorRef=new t_(e,void 0,!1),this.componentType=t}setInput(t,e){let n=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),e))return;let r=this._rootLView,i=uu(n,r[ct],r,t,e);this.previousInputValues.set(t,e);let o=un(n.index,r);mu(o,1)}get injector(){return new zh(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function O_(t,e,n){let r=t.projection=[];for(let i=0;i<e.length;i++){let o=n[i];r.push(o!=null&&o.length?Array.from(o):null)}}var T_=()=>!1;function C_(t,e,n){return T_(t,e,n)}var Hs=class{},np=class extends Hs{injector;componentFactoryResolver=new b_(this);instance=null;constructor(t){super();let e=new Ba([...t.providers,{provide:Hs,useValue:this},{provide:ii,useValue:this.componentFactoryResolver}],t.parent||Ua(),t.debugName,new Set(["environment"]));this.injector=e,t.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function A_(t,e,n=null){return new np({providers:t,parent:e,debugName:n,runEnvironmentInitializers:!0}).injector}var R_=(()=>{class t{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=sh(!1,n.type),i=r.length>0?A_([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,i)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=zt({token:t,providedIn:"environment",factory:()=>new t(xt(Lr))})}return t})();function rp(t){return pm(()=>{let e=P_(t),n=Dt(k({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===nd.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:e.standalone?i=>i.get(R_).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||Fe.Emulated,styles:t.styles||ze,_:null,schemas:t.schemas||null,tView:null,id:""});e.standalone&&wo("NgStandalone"),j_(n);let r=t.dependencies;return n.directiveDefs=Gl(r,!1),n.pipeDefs=Gl(r,!0),n.id=U_(n),n})}function k_(t){return po(t)||ih(t)}function D_(t){return t!==null}function L_(t,e){if(t==null)return ir;let n={};for(let r in t)if(t.hasOwnProperty(r)){let i=t[r],o,s,a,u;Array.isArray(i)?(a=i[0],o=i[1],s=i[2]??o,u=i[3]||null):(o=i,s=i,a=So.None,u=null),n[o]=[r,a,u],e[o]=s}return n}function M_(t){if(t==null)return ir;let e={};for(let n in t)t.hasOwnProperty(n)&&(e[t[n]]=n);return e}function Eu(t){return{type:t.type,name:t.name,factory:null,pure:t.pure!==!1,standalone:t.standalone??!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function P_(t){let e={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputConfig:t.inputs||ir,exportAs:t.exportAs||null,standalone:t.standalone??!0,signals:t.signals===!0,selectors:t.selectors||ze,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:L_(t.inputs,e),outputs:M_(t.outputs),debugInfo:null}}function j_(t){t.features?.forEach(e=>e(t))}function Gl(t,e){if(!t)return null;let n=e?oh:k_;return()=>(typeof t=="function"?t():t).map(r=>n(r)).filter(D_)}function U_(t){let e=0,n=typeof t.consts=="function"?"":t.consts,r=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,n,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery];for(let i of r.join("|"))e=Math.imul(31,e)+i.charCodeAt(0)<<0;return e+=2147483648,"c"+e}function Su(t,e,n){return t[e]=n}function B_(t,e){return t[e]}function We(t,e,n){let r=t[e];return Object.is(r,n)?!1:(t[e]=n,!0)}function V_(t,e,n,r){let i=We(t,e,n);return We(t,e+1,r)||i}function F_(t,e,n,r,i,o,s,a,u){let f=e.consts,h=No(e,t,4,s||null,a||null);_h()&&Qd(e,n,h,ar(f,u),Md),h.mergedAttrs=Ja(h.mergedAttrs,h.attrs),Dh(e,h);let d=h.tView=ou(2,h,r,i,o,e.directiveRegistry,e.pipeRegistry,null,e.schemas,f,null);return e.queries!==null&&(e.queries.template(e,h),d.queries=e.queries.embeddedTView(h)),h}function zs(t,e,n,r,i,o,s,a,u,f){let h=n+ee,d=e.firstCreatePass?F_(h,e,t,r,i,o,s,a,u):e.data[h];yr(d,!1);let b=$_(e,t,d,n);Wa()&&gu(e,t,b,d),ni(b,t);let _=Qb(b,t,b,d);return t[h]=_,Ad(t,_),C_(_,d,t),Va(d)&&au(e,t,d),u!=null&&Dd(t,d,f),d}function ip(t,e,n,r,i,o,s,a){let u=Ot(),f=fe(),h=ar(f.consts,o);return zs(u,f,t,e,n,r,i,h,s,a),ip}var $_=H_;function H_(t,e,n,r){return Za(!0),e[te].createComment("")}var z_=new Ct(""),q_=(()=>{class t{static \u0275prov=zt({token:t,providedIn:"root",factory:()=>new G_})}return t})(),G_=class{queuedEffectCount=0;queues=new Map;schedule(t){this.enqueue(t)}remove(t){let e=t.zone,n=this.queues.get(e);n.has(t)&&(n.delete(t),this.queuedEffectCount--)}enqueue(t){let e=t.zone;this.queues.has(e)||this.queues.set(e,new Set);let n=this.queues.get(e);n.has(t)||(this.queuedEffectCount++,n.add(t))}flush(){for(;this.queuedEffectCount>0;)for(let[t,e]of this.queues)t===null?this.flushQueue(e):t.run(()=>this.flushQueue(e))}flushQueue(t){for(let e of t)t.delete(e),this.queuedEffectCount--,e.run()}};function op(t){return!!t&&typeof t.then=="function"}function W_(t){return!!t&&typeof t.subscribe=="function"}var Z_=new Ct(""),sp=(()=>{class t{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=St(Z_,{optional:!0})??[];injector=St(bo);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let i of this.appInits){let o=lh(this.injector,i);if(op(o))n.push(o);else if(W_(o)){let s=new Promise((a,u)=>{o.subscribe({complete:a,error:u})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(i=>{this.reject(i)}),n.length===0&&r(),this.initialized=!0}static \u0275fac=function(n){return new(n||t)};static \u0275prov=zt({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Y_=new Ct("");function J_(){_y(()=>{throw new _t(600,!1)})}function K_(t){return t.isBoundToModule}var Q_=10,ur=(()=>{class t{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=St(r0);afterRenderManager=St(p0);zonelessEnabled=St(Ka);rootEffectScheduler=St(q_);dirtyFlags=0;tracingSnapshot=null;externalTestViews=new Set;afterTick=new Jr;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=St(_o).hasPendingTasks.pipe(zf(n=>!n));constructor(){St(nu,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:i=>{i&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=St(Lr);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){Tt(10);let i=n instanceof Kd;if(!this._injector.get(sp).done){let d=!i&&jm(n),b=!1;throw new _t(405,b)}let o;i?o=n:o=this._injector.get(ii).resolveComponentFactory(n),this.componentTypes.push(o.componentType);let s=K_(o)?void 0:this._injector.get(Hs),a=r||o.selector,u=o.create(bo.NULL,[],a,s),f=u.location.nativeElement,h=u.injector.get(z_,null);return h?.registerApplication(f),u.onDestroy(()=>{this.detachView(u.hostView),Pi(this.components,u),h?.unregisterApplication(f)}),this._loadComponent(u),Tt(11,u),u}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){Tt(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(hd.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new _t(101,!1);let n=dt(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,dt(n),this.afterTick.next(),Tt(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(wu,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<Q_;)Tt(14),this.synchronizeOnce(),Tt(15)}synchronizeOnce(){if(this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush()),this.dirtyFlags&7){let n=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:r,notifyErrorHandler:i}of this.allViews)X_(r,i,n,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}else this._rendererFactory?.begin?.(),this._rendererFactory?.end?.();this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>yo(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;Pi(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(Y_,[]).forEach(r=>r(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._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Pi(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new _t(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(n){return new(n||t)};static \u0275prov=zt({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Pi(t,e){let n=t.indexOf(e);n>-1&&t.splice(n,1)}function X_(t,e,n,r){!n&&!yo(t)||zd(t,e,n&&!r?0:1)}function ap(t,e,n,r){return We(t,vo(),n)?e+fo(n)+r:Ee}function wi(t,e){return t<<17|e<<2}function Cn(t){return t>>17&32767}function t1(t){return(t&2)==2}function e1(t,e){return t&131071|e<<17}function qs(t){return t|2}function lr(t){return(t&131068)>>2}function es(t,e){return t&-131069|e<<2}function n1(t){return(t&1)===1}function Gs(t){return t|1}function r1(t,e,n,r,i,o){let s=o?e.classBindings:e.styleBindings,a=Cn(s),u=lr(s);t[r]=n;let f=!1,h;if(Array.isArray(n)){let d=n;h=d[1],(h===null||Kr(d,h)>0)&&(f=!0)}else h=n;if(i)if(u!==0){let d=Cn(t[a+1]);t[r+1]=wi(d,a),d!==0&&(t[d+1]=es(t[d+1],r)),t[a+1]=e1(t[a+1],r)}else t[r+1]=wi(a,0),a!==0&&(t[a+1]=es(t[a+1],r)),a=r;else t[r+1]=wi(u,0),a===0?a=r:t[u+1]=es(t[u+1],r),u=r;f&&(t[r+1]=qs(t[r+1])),Wl(t,h,r,!0),Wl(t,h,r,!1),i1(e,h,t,r,o),s=wi(a,u),o?e.classBindings=s:e.styleBindings=s}function i1(t,e,n,r,i){let o=i?t.residualClasses:t.residualStyles;o!=null&&typeof e=="string"&&Kr(o,e)>=0&&(n[r+1]=Gs(n[r+1]))}function Wl(t,e,n,r){let i=t[n+1],o=e===null,s=r?Cn(i):lr(i),a=!1;for(;s!==0&&(a===!1||o);){let u=t[s],f=t[s+1];o1(u,e)&&(a=!0,t[s+1]=r?Gs(f):qs(f)),s=r?Cn(f):lr(f)}a&&(t[n+1]=r?qs(i):Gs(i))}function o1(t,e){return t===null||e==null||(Array.isArray(t)?t[1]:t)===e?!0:Array.isArray(t)&&typeof e=="string"?Kr(t,e)>=0:!1}var re={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function s1(t){return t.substring(re.key,re.keyEnd)}function a1(t){return t.substring(re.value,re.valueEnd)}function u1(t){return l1(t),up(t,Xi(t,0,re.textEnd))}function up(t,e){let n=re.textEnd,r=re.key=Xi(t,e,n);return n===r?-1:(r=re.keyEnd=c1(t,r,n),r=Zl(t,r,n,58),r=re.value=Xi(t,r,n),r=re.valueEnd=f1(t,r,n),Zl(t,r,n,59))}function l1(t){re.key=0,re.keyEnd=0,re.value=0,re.valueEnd=0,re.textEnd=t.length}function Xi(t,e,n){for(;e<n&&t.charCodeAt(e)<=32;)e++;return e}function c1(t,e,n){let r;for(;e<n&&((r=t.charCodeAt(e))===45||r===95||(r&-33)>=65&&(r&-33)<=90||r>=48&&r<=57);)e++;return e}function Zl(t,e,n,r){return e=Xi(t,e,n),e<n&&e++,e}function f1(t,e,n){let r=-1,i=-1,o=-1,s=e,a=s;for(;s<n;){let u=t.charCodeAt(s++);if(u===59)return a;u===34||u===39?a=s=Yl(t,u,s,n):e===s-4&&o===85&&i===82&&r===76&&u===40?a=s=Yl(t,41,s,n):u>32&&(a=s),o=i,i=r,r=u&-33}return a}function Yl(t,e,n,r){let i=-1,o=n;for(;o<r;){let s=t.charCodeAt(o++);if(s==e&&i!==92)return o;s==92&&i===92?i=0:i=s}throw new Error}function ln(t,e,n){let r=Ot(),i=vo();if(We(r,i,e)){let o=fe(),s=Rh();Ld(o,s,r,t,e,r[te],n,!1)}return ln}function Ws(t,e,n,r,i){uu(e,t,n,i?"class":"style",r)}function Iu(t,e,n){return p1(t,e,n,!1),Iu}function h1(t){g1(fp,d1,t,!1)}function d1(t,e){for(let n=u1(e);n>=0;n=up(e,n))fp(t,s1(e),a1(e))}function p1(t,e,n,r){let i=Ot(),o=fe(),s=Ih(2);if(o.firstUpdatePass&&cp(o,t,s,r),e!==Ee&&We(i,s,e)){let a=o.data[pn()];hp(o,a,i,i[te],t,i[s+1]=E1(e,n),r,s)}}function g1(t,e,n,r){let i=fe(),o=Ih(2);i.firstUpdatePass&&cp(i,null,o,r);let s=Ot();if(n!==Ee&&We(s,o,n)){let a=i.data[pn()];if(dp(a,r)&&!lp(i,o)){let u=r?a.classesWithoutHost:a.stylesWithoutHost;u!==null&&(n=_s(u,n||"")),Ws(i,a,s,n,r)}else w1(i,a,s,s[te],s[o+1],s[o+1]=_1(t,e,n),r,o)}}function lp(t,e){return e>=t.expandoStartIndex}function cp(t,e,n,r){let i=t.data;if(i[n+1]===null){let o=i[pn()],s=lp(t,n);dp(o,r)&&e===null&&!s&&(e=!1),e=y1(i,o,e,r),r1(i,o,e,n,s,r)}}function y1(t,e,n,r){let i=Ev(t),o=r?e.residualClasses:e.residualStyles;if(i===null)(r?e.classBindings:e.styleBindings)===0&&(n=ns(null,t,e,n,r),n=Br(n,e.attrs,r),o=null);else{let s=e.directiveStylingLast;if(s===-1||t[s]!==i)if(n=ns(i,t,e,n,r),o===null){let a=m1(t,e,r);a!==void 0&&Array.isArray(a)&&(a=ns(null,t,e,a[1],r),a=Br(a,e.attrs,r),v1(t,e,r,a))}else o=b1(t,e,r)}return o!==void 0&&(r?e.residualClasses=o:e.residualStyles=o),n}function m1(t,e,n){let r=n?e.classBindings:e.styleBindings;if(lr(r)!==0)return t[Cn(r)]}function v1(t,e,n,r){let i=n?e.classBindings:e.styleBindings;t[Cn(i)]=r}function b1(t,e,n){let r,i=e.directiveEnd;for(let o=1+e.directiveStylingLast;o<i;o++){let s=t[o].hostAttrs;r=Br(r,s,n)}return Br(r,e.attrs,n)}function ns(t,e,n,r,i){let o=null,s=n.directiveEnd,a=n.directiveStylingLast;for(a===-1?a=n.directiveStart:a++;a<s&&(o=e[a],r=Br(r,o.hostAttrs,i),o!==t);)a++;return t!==null&&(n.directiveStylingLast=a),r}function Br(t,e,n){let r=n?1:2,i=-1;if(e!==null)for(let o=0;o<e.length;o++){let s=e[o];typeof s=="number"?i=s:i===r&&(Array.isArray(t)||(t=t===void 0?[]:["",t]),th(t,s,n?!0:e[++o]))}return t===void 0?null:t}function _1(t,e,n){if(n==null||n==="")return ze;let r=[],i=Re(n);if(Array.isArray(i))for(let o=0;o<i.length;o++)t(r,i[o],!0);else if(typeof i=="object")for(let o in i)i.hasOwnProperty(o)&&t(r,o,i[o]);else typeof i=="string"&&e(r,i);return r}function fp(t,e,n){th(t,e,Re(n))}function w1(t,e,n,r,i,o,s,a){i===Ee&&(i=ze);let u=0,f=0,h=0<i.length?i[0]:null,d=0<o.length?o[0]:null;for(;h!==null||d!==null;){let b=u<i.length?i[u+1]:void 0,_=f<o.length?o[f+1]:void 0,w=null,T;h===d?(u+=2,f+=2,b!==_&&(w=d,T=_)):d===null||h!==null&&h<d?(u+=2,w=h):(f+=2,w=d,T=_),w!==null&&hp(t,e,n,r,w,T,s,a),h=u<i.length?i[u]:null,d=f<o.length?o[f]:null}}function hp(t,e,n,r,i,o,s,a){if(!(e.type&3))return;let u=t.data,f=u[a+1],h=n1(f)?Jl(u,e,n,i,lr(f),s):void 0;if(!to(h)){to(o)||t1(f)&&(o=Jl(u,null,n,i,a,s));let d=yh(pn(),n);Ub(r,s,d,i,o)}}function Jl(t,e,n,r,i,o){let s=e===null,a;for(;i>0;){let u=t[i],f=Array.isArray(u),h=f?u[1]:u,d=h===null,b=n[i+1];b===Ee&&(b=d?ze:void 0);let _=d?Wo(b,r):h===r?b:void 0;if(f&&!to(_)&&(_=Wo(u,r)),to(_)&&(a=_,s))return a;let w=t[i+1];i=s?Cn(w):lr(w)}if(e!==null){let u=o?e.residualClasses:e.residualStyles;u!=null&&(a=Wo(u,r))}return a}function to(t){return t!==void 0}function E1(t,e){return t==null||t===""||(typeof e=="string"?t=t+e:typeof t=="object"&&(t=xe(Re(t)))),t}function dp(t,e){return(t.flags&(e?8:16))!==0}var S1=class{destroy(t){}updateValue(t,e){}swap(t,e){let n=Math.min(t,e),r=Math.max(t,e),i=this.detach(r);if(r-n>1){let o=this.detach(n);this.attach(n,i),this.attach(r,o)}else this.attach(n,i)}move(t,e){this.attach(e,this.detach(t))}};function rs(t,e,n,r,i){return t===n&&Object.is(e,r)?1:Object.is(i(t,e),i(n,r))?-1:0}function I1(t,e,n){let r,i,o=0,s=t.length-1,a;if(Array.isArray(e)){let u=e.length-1;for(;o<=s&&o<=u;){let f=t.at(o),h=e[o],d=rs(o,f,o,h,n);if(d!==0){d<0&&t.updateValue(o,h),o++;continue}let b=t.at(s),_=e[u],w=rs(s,b,u,_,n);if(w!==0){w<0&&t.updateValue(s,_),s--,u--;continue}let T=n(o,f),D=n(s,b),M=n(o,h);if(Object.is(M,D)){let H=n(u,_);Object.is(H,T)?(t.swap(o,s),t.updateValue(s,_),u--,s--):t.move(s,o),t.updateValue(o,h),o++;continue}if(r??=new Xl,i??=Ql(t,o,s,n),Zs(t,r,o,M))t.updateValue(o,h),o++,s++;else if(i.has(M))r.set(T,t.detach(o)),s--;else{let H=t.create(o,e[o]);t.attach(o,H),o++,s++}}for(;o<=u;)Kl(t,r,n,o,e[o]),o++}else if(e!=null){let u=e[Symbol.iterator](),f=u.next();for(;!f.done&&o<=s;){let h=t.at(o),d=f.value,b=rs(o,h,o,d,n);if(b!==0)b<0&&t.updateValue(o,d),o++,f=u.next();else{r??=new Xl,i??=Ql(t,o,s,n);let _=n(o,d);if(Zs(t,r,o,_))t.updateValue(o,d),o++,s++,f=u.next();else if(!i.has(_))t.attach(o,t.create(o,d)),o++,s++,f=u.next();else{let w=n(o,h);r.set(w,t.detach(o)),s--}}}for(;!f.done;)Kl(t,r,n,t.length,f.value),f=u.next()}for(;o<=s;)t.destroy(t.detach(s--));r?.forEach(u=>{t.destroy(u)})}function Zs(t,e,n,r){return e!==void 0&&e.has(r)?(t.attach(n,e.get(r)),e.delete(r),!0):!1}function Kl(t,e,n,r,i){if(Zs(t,e,r,n(r,i)))t.updateValue(r,i);else{let o=t.create(r,i);t.attach(r,o)}}function Ql(t,e,n,r){let i=new Set;for(let o=e;o<=n;o++)i.add(r(o,t.at(o)));return i}var Xl=class{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let e=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(e)?(this.kvMap.set(t,this._vMap.get(e)),this._vMap.delete(e)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,e){if(this.kvMap.has(t)){let n=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let r=this._vMap;for(;r.has(n);)n=r.get(n);r.set(n,e)}else this.kvMap.set(t,e)}forEach(t){for(let[e,n]of this.kvMap)if(t(n,e),this._vMap!==void 0){let r=this._vMap;for(;r.has(n);)n=r.get(n),t(n,e)}}};function N1(t,e){wo("NgControlFlow");let n=Ot(),r=vo(),i=n[r]!==Ee?n[r]:-1,o=i!==-1?eo(n,ee+i):void 0,s=0;if(We(n,r,t)){let a=dt(null);try{if(o!==void 0&&Yd(o,s),t!==-1){let u=ee+t,f=eo(n,u),h=Ys(n[ct],u),d=_u(f,h.tView.ssrId),b=cu(n,h,e,{dehydratedView:d});vu(f,b,s,fu(h,d))}}finally{dt(a)}}else if(o!==void 0){let a=Zd(o,s);a!==void 0&&(a[Zt]=e)}}var x1=class{lContainer;$implicit;$index;constructor(t,e,n){this.lContainer=t,this.$implicit=e,this.$index=n}get $count(){return this.lContainer.length-se}};function O1(t,e){return e}var T1=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,e,n){this.hasEmptyBlock=t,this.trackByFn=e,this.liveCollection=n}};function Vr(t,e,n,r,i,o,s,a,u,f,h,d,b){wo("NgControlFlow");let _=Ot(),w=fe(),T=u!==void 0,D=Ot(),M=a?s.bind(D[Pe][Zt]):s,H=new T1(T,M);D[ee+t]=H,zs(_,w,t+1,e,n,r,i,ar(w.consts,o)),T&&zs(_,w,t+2,u,f,h,d,ar(w.consts,b))}var C1=class extends S1{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,e,n){super(),this.lContainer=t,this.hostLView=e,this.templateTNode=n}get length(){return this.lContainer.length-se}at(t){return this.getLView(t)[Zt].$implicit}attach(t,e){let n=e[Mr];this.needsIndexUpdate||=t!==this.length,vu(this.lContainer,e,t,fu(this.templateTNode,n))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,A1(this.lContainer,t)}create(t,e){let n=_u(this.lContainer,this.templateTNode.tView.ssrId),r=cu(this.hostLView,this.templateTNode,new x1(this.lContainer,e,t),{dehydratedView:n});return this.operationsCounter?.recordCreate(),r}destroy(t){pu(t[ct],t),this.operationsCounter?.recordDestroy()}updateValue(t,e){this.getLView(t)[Zt].$implicit=e}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[Zt].$index=t}getLView(t){return R1(this.lContainer,t)}};function Fr(t){let e=dt(null),n=pn();try{let r=Ot(),i=r[ct],o=r[n],s=n+1,a=eo(r,s);if(o.liveCollection===void 0){let f=Ys(i,s);o.liveCollection=new C1(a,r,f)}else o.liveCollection.reset();let u=o.liveCollection;if(I1(u,t,o.trackByFn),u.updateIndexes(),o.hasEmptyBlock){let f=vo(),h=u.length===0;if(We(r,f,h)){let d=n+2,b=eo(r,d);if(h){let _=Ys(i,d),w=_u(b,_.tView.ssrId),T=cu(r,_,void 0,{dehydratedView:w});vu(b,T,0,fu(_,w))}else Yd(b,0)}}}finally{dt(e)}}function eo(t,e){return t[e]}function A1(t,e){return bu(t,e)}function R1(t,e){return Zd(t,e)}function Ys(t,e){return Fa(t,e)}function Qt(t,e,n,r){let i=Ot(),o=fe(),s=ee+t,a=i[te],u=o.firstCreatePass?tp(s,o,i,e,Md,_h(),n,r):o.data[s],f=k1(o,i,u,a,e,t);i[s]=f;let h=Va(u);return yr(u,!0),Od(a,f,u),!jd(u)&&Wa()&&gu(o,i,f,u),(cv()===0||h)&&ni(f,i),fv(),h&&(au(o,i,u),gd(o,u,i)),r!==null&&Dd(i,u),Qt}function ve(){let t=gr();Eh()?mv():(t=t.parent,yr(t,!1));let e=t;pv(e)&&gv(),hv();let n=fe();return n.firstCreatePass&&ep(n,e),e.classesWithoutHost!=null&&Cv(e)&&Ws(n,e,Ot(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&Av(e)&&Ws(n,e,Ot(),e.stylesWithoutHost,!1),ve}function cn(t,e,n,r){return Qt(t,e,n,r),ve(),cn}var k1=(t,e,n,r,i,o)=>(Za(!0),Nd(r,i,Nv()));function D1(){return Ot()}var no="en-US",L1=no;function M1(t){typeof t=="string"&&(L1=t.toLowerCase().replace(/_/g,"-"))}var P1=(t,e,n)=>{};function xr(t,e,n,r){let i=Ot(),o=fe(),s=gr();return U1(o,i,i[te],s,t,e,r),xr}function j1(t,e,n,r){let i=t.cleanup;if(i!=null)for(let o=0;o<i.length-1;o+=2){let s=i[o];if(s===n&&i[o+1]===r){let a=e[qi],u=i[o+2];return a.length>u?a[u]:null}typeof s=="string"&&(o+=2)}return null}function U1(t,e,n,r,i,o,s){let a=Va(r),u=t.firstCreatePass?lv(t):null,f=e[Zt],h=uv(e),d=!0;if(r.type&3||s){let b=dn(r,e),_=s?s(b):b,w=h.length,T=s?M=>s(Ge(M[r.index])):r.index,D=null;if(!s&&a&&(D=j1(t,e,i,r.index)),D!==null){let M=D.__ngLastListenerFn__||D;M.__ngNextListenerFn__=o,D.__ngLastListenerFn__=o,d=!1}else{o=nc(r,e,f,o),P1(b,i,o);let M=n.listen(_,i,o);h.push(o,M),u&&u.push(i,T,w,w+1)}}else o=nc(r,e,f,o);if(d){let b=r.outputs?.[i],_=r.hostDirectiveOutputs?.[i];if(_&&_.length)for(let w=0;w<_.length;w+=2){let T=_[w],D=_[w+1];tc(r,t,e,T,D,i,o,h,u)}if(b&&b.length)for(let w of b)tc(r,t,e,w,i,i,o,h,u)}}function tc(t,e,n,r,i,o,s,a,u){let f=n[r],h=e.data[r].outputs[i],d=f[h].subscribe(s),b=a.length;a.push(s,d),u&&u.push(o,t.index,b,-(b+1))}function ec(t,e,n,r){let i=dt(null);try{return Tt(6,e,n),n(r)!==!1}catch(o){return Pd(t,o),!1}finally{Tt(7,e,n),dt(i)}}function nc(t,e,n,r){return function i(o){if(o===Function)return r;let s=Qr(t)?un(t.index,e):e;mu(s,5);let a=ec(e,n,r,o),u=i.__ngNextListenerFn__;for(;u;)a=ec(e,n,u,o)&&a,u=u.__ngNextListenerFn__;return a}}function ye(t=1){return Iv(t)}function tr(t,e,n){return Nu(t,"",e,"",n),tr}function Nu(t,e,n,r,i){let o=Ot(),s=ap(o,e,n,r);if(s!==Ee){let a=fe(),u=Rh();Ld(a,u,o,t,s,o[te],i,!1)}return Nu}function pp(t,e,n,r){n>=t.data.length&&(t.data[n]=null,t.blueprint[n]=null),e[n]=r}function Ar(t,e=""){let n=Ot(),r=fe(),i=t+ee,o=r.firstCreatePass?No(r,i,1,e,null):r.data[i],s=B1(r,n,o,e,t);n[i]=s,Wa()&&gu(r,n,s,o),yr(o,!1)}var B1=(t,e,n,r,i)=>(Za(!0),ob(e[te],r));function xu(t){return Ou("",t,""),xu}function Ou(t,e,n){let r=Ot(),i=ap(r,t,e,n);return i!==Ee&&V1(r,pn(),i),Ou}function V1(t,e,n){let r=yh(e,t);sb(t[te],r,n)}var F1={};function Tu(t){let e=fe(),n=Ot(),r=t+ee,i=No(e,r,128,null,null);return yr(i,!1),pp(e,n,r,F1),Tu}function $1(t,e,n){let r=za()+t,i=Ot();return i[r]===Ee?Su(i,r,n?e.call(n):e()):B_(i,r)}function gp(t,e){let n=t[e];return n===Ee?void 0:n}function H1(t,e,n,r,i,o){let s=e+n;return We(t,s,i)?Su(t,s+1,o?r.call(o,i):r(i)):gp(t,s+1)}function z1(t,e,n,r,i,o,s){let a=e+n;return V_(t,a,i,o)?Su(t,a+2,s?r.call(s,i,o):r(i,o)):gp(t,a+2)}function $r(t,e){let n=fe(),r,i=t+ee;n.firstCreatePass?(r=q1(e,n.pipeRegistry),n.data[i]=r,r.onDestroy&&(n.destroyHooks??=[]).push(i,r.onDestroy)):r=n.data[i];let o=r.factory||(r.factory=rr(r.type,!0)),s,a=oe(xo);try{let u=Yi(!1),f=o();return Yi(u),pp(n,Ot(),i,f),f}finally{oe(a)}}function q1(t,e){if(e)for(let n=e.length-1;n>=0;n--){let r=e[n];if(t===r.name)return r}}function ro(t,e,n){let r=t+ee,i=Ot(),o=mh(i,r);return yp(i,r)?H1(i,za(),e,o.transform,n,o):o.transform(n)}function G1(t,e,n,r){let i=t+ee,o=Ot(),s=mh(o,i);return yp(o,i)?z1(o,za(),e,s.transform,n,r,s):s.transform(n,r)}function yp(t,e){return t[ct].data[e].pure}var W1=(()=>{class t{zone=St(le);changeDetectionScheduler=St(ti);applicationRef=St(ur);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(n){return new(n||t)};static \u0275prov=zt({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Z1({ngZoneFactory:t,ignoreChangesOutsideZone:e,scheduleInRootZone:n}){return t??=()=>new le(Dt(k({},Y1()),{scheduleInRootZone:n})),[{provide:le,useFactory:t},{provide:zi,multi:!0,useFactory:()=>{let r=St(W1,{optional:!0});return()=>r.initialize()}},{provide:zi,multi:!0,useFactory:()=>{let r=St(J1);return()=>{r.initialize()}}},e===!0?{provide:Yh,useValue:!0}:[],{provide:Qa,useValue:n??Wh}]}function Y1(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var J1=(()=>{class t{subscription=new He;initialized=!1;zone=St(le);pendingTasks=St(_o);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(()=>{le.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{le.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(n){return new(n||t)};static \u0275prov=zt({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),mp=(()=>{class t{appRef=St(ur);taskService=St(_o);ngZone=St(le);zonelessEnabled=St(Ka);tracing=St(nu,{optional:!0});disableScheduling=St(Yh,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new He;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Ki):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(St(Qa,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Kh||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;let r=!1;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2,r=!0;break}case 12:{this.appRef.dirtyFlags|=16,r=!0;break}case 13:{this.appRef.dirtyFlags|=2,r=!0;break}case 11:{r=!0;break}case 9:case 8:case 7:case 10:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(r))return;let i=this.useMicrotaskScheduler?Cl:Jh;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>i(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>i(()=>this.tick()))}shouldScheduleTick(n){return!(this.disableScheduling&&!n||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Ki+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(n),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Cl(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(n){return new(n||t)};static \u0275prov=zt({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function K1(){return wo("NgZoneless"),Um([{provide:ti,useExisting:mp},{provide:le,useClass:Kh},{provide:Ka,useValue:!0},{provide:Qa,useValue:!1},[]])}function Q1(){return typeof $localize<"u"&&$localize.locale||no}var vp=new Ct("",{providedIn:"root",factory:()=>St(vp,lt.Optional|lt.SkipSelf)||Q1()}),Js=new Ct(""),X1=new Ct("");function wr(t){return!t.moduleRef}function tw(t){let e=wr(t)?t.r3Injector:t.moduleRef.injector,n=e.get(le);return n.run(()=>{wr(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();let r=e.get(ei,null),i;if(n.runOutsideAngular(()=>{i=n.onError.subscribe({next:o=>{r.handleError(o)}})}),wr(t)){let o=()=>e.destroy(),s=t.platformInjector.get(Js);s.add(o),e.onDestroy(()=>{i.unsubscribe(),s.delete(o)})}else{let o=()=>t.moduleRef.destroy(),s=t.platformInjector.get(Js);s.add(o),t.moduleRef.onDestroy(()=>{Pi(t.allPlatformModules,t.moduleRef),i.unsubscribe(),s.delete(o)})}return nw(r,n,()=>{let o=e.get(sp);return o.runInitializers(),o.donePromise.then(()=>{let s=e.get(vp,no);if(M1(s||no),!e.get(X1,!0))return wr(t)?e.get(ur):(t.allPlatformModules.push(t.moduleRef),t.moduleRef);if(wr(t)){let a=e.get(ur);return t.rootComponent!==void 0&&a.bootstrap(t.rootComponent),a}else return ew(t.moduleRef,t.allPlatformModules),t.moduleRef})})})}function ew(t,e){let n=t.injector.get(ur);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(t.instance.ngDoBootstrap)t.instance.ngDoBootstrap(n);else throw new _t(-403,!1);e.push(t)}function nw(t,e,n){try{let r=n();return op(r)?r.catch(i=>{throw e.runOutsideAngular(()=>t.handleError(i)),i}):r}catch(r){throw e.runOutsideAngular(()=>t.handleError(r)),r}}var ji=null;function rw(t=[],e){return bo.create({name:e,providers:[{provide:ja,useValue:"platform"},{provide:Js,useValue:new Set([()=>ji=null])},...t]})}function iw(t=[]){if(ji)return ji;let e=rw(t);return ji=e,J_(),ow(e),e}function ow(t){let e=t.get(ld,null);lh(t,()=>{e?.forEach(n=>n())})}function sw(t){Tt(8);try{let{rootComponent:e,appProviders:n,platformProviders:r}=t,i=iw(r),o=[Z1({}),{provide:ti,useExisting:mp},...n||[]],s=new np({providers:o,parent:i,debugName:"",runEnvironmentInitializers:!1});return tw({r3Injector:s.injector,platformInjector:i,rootComponent:e})}catch(e){return Promise.reject(e)}finally{Tt(9)}}var LO=class{[rn];constructor(t){this[rn]=t}destroy(){this[rn].destroy()}},aw={schedule(t,e){let n=setTimeout(t,e);return()=>clearTimeout(n)}};function uw(t){return t.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}function lw(t){return!!t&&t.nodeType===Node.ELEMENT_NODE}var is;function cw(t,e){if(!is){let n=Element.prototype;is=n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}return t.nodeType===Node.ELEMENT_NODE?is.call(t,e):!1}function fw(t){let e={};return t.forEach(({propName:n,templateName:r,transform:i})=>{e[uw(r)]=[n,i]}),e}function hw(t,e){return e.get(ii).resolveComponentFactory(t).inputs}function dw(t,e){let n=t.childNodes,r=e.map(()=>[]),i=-1;e.some((o,s)=>o==="*"?(i=s,!0):!1);for(let o=0,s=n.length;o<s;++o){let a=n[o],u=pw(a,e,i);u!==-1&&r[u].push(a)}return r}function pw(t,e,n){let r=n;return lw(t)&&e.some((i,o)=>i!=="*"&&cw(t,i)?(r=o,!0):!1),r}var gw=10,yw=class{componentFactory;inputMap=new Map;constructor(t,e){this.componentFactory=e.get(ii).resolveComponentFactory(t);for(let n of this.componentFactory.inputs)this.inputMap.set(n.propName,n.templateName)}create(t){return new mw(this.componentFactory,t,this.inputMap)}},mw=class{componentFactory;injector;inputMap;eventEmitters=new Fy(1);events=this.eventEmitters.pipe(hm(t=>fm(...t)));componentRef=null;scheduledDestroyFn=null;initialInputValues=new Map;ngZone;elementZone;appRef;cdScheduler;constructor(t,e,n){this.componentFactory=t,this.injector=e,this.inputMap=n,this.ngZone=this.injector.get(le),this.appRef=this.injector.get(ur),this.cdScheduler=e.get(ti),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(t){this.runInZone(()=>{if(this.scheduledDestroyFn!==null){this.scheduledDestroyFn(),this.scheduledDestroyFn=null;return}this.componentRef===null&&this.initializeComponent(t)})}disconnect(){this.runInZone(()=>{this.componentRef===null||this.scheduledDestroyFn!==null||(this.scheduledDestroyFn=aw.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null)},gw))})}getInputValue(t){return this.runInZone(()=>this.componentRef===null?this.initialInputValues.get(t):this.componentRef.instance[t])}setInputValue(t,e){if(this.componentRef===null){this.initialInputValues.set(t,e);return}this.runInZone(()=>{this.componentRef.setInput(this.inputMap.get(t)??t,e),this.componentRef.hostView.dirty&&(this.componentRef.changeDetectorRef.markForRefresh(),this.cdScheduler.notify(6))})}initializeComponent(t){let e=bo.create({providers:[],parent:this.injector}),n=dw(t,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(e,n,t),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.appRef.attachView(this.componentRef.hostView),this.componentRef.hostView.detectChanges()}initializeInputs(){for(let[t,e]of this.initialInputValues)this.setInputValue(t,e);this.initialInputValues.clear()}initializeOutputs(t){let e=this.componentFactory.outputs.map(({propName:n,templateName:r})=>{let i=t.instance[n];return new ce(o=>{let s=i.subscribe(a=>o.next({name:r,value:a}));return()=>s.unsubscribe()})});this.eventEmitters.next(e)}runInZone(t){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(t):t()}},vw=class extends HTMLElement{ngElementEventsSubscription=null};function bw(t,e){let n=hw(t,e.injector),r=e.strategyFactory||new yw(t,e.injector),i=fw(n);class o extends vw{injector;static observedAttributes=Object.keys(i);get ngElementStrategy(){if(!this._ngElementStrategy){let a=this._ngElementStrategy=r.create(this.injector||e.injector);n.forEach(({propName:u,transform:f})=>{if(!this.hasOwnProperty(u))return;let h=this[u];delete this[u],a.setInputValue(u,h,f)})}return this._ngElementStrategy}_ngElementStrategy;constructor(a){super(),this.injector=a}attributeChangedCallback(a,u,f,h){let[d,b]=i[a];this.ngElementStrategy.setInputValue(d,f,b)}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=>{let u=new CustomEvent(a.name,{detail:a.value});this.dispatchEvent(u)})}}return n.forEach(({propName:s,transform:a})=>{Object.defineProperty(o.prototype,s,{get(){return this.ngElementStrategy.getInputValue(s)},set(u){this.ngElementStrategy.setInputValue(s,u,a)},configurable:!0,enumerable:!0})}),o}var bp=null;function _p(){return bp}function _w(t){bp??=t}var ww=class{},fn=new Ct("");function Ew(t,e){e=encodeURIComponent(e);for(let n of t.split(";")){let r=n.indexOf("="),[i,o]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(i.trim()===e)return decodeURIComponent(o)}return null}var Sw="browser",Iw="server";function wp(t){return t===Iw}var Nw=class{},xw=class extends ww{supportsDOMEvents=!0},Ow=class Ep extends xw{static makeCurrent(){_w(new Ep)}onAndCancel(e,n,r,i){return e.addEventListener(n,r,i),()=>{e.removeEventListener(n,r,i)}}dispatchEvent(e,n){e.dispatchEvent(n)}remove(e){e.remove()}createElement(e,n){return n=n||this.getDefaultDocument(),n.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,n){return n==="window"?window:n==="document"?e:n==="body"?e.body:null}getBaseHref(e){let n=Tw();return n==null?null:Cw(n)}resetBaseElement(){Or=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return Ew(document.cookie,e)}},Or=null;function Tw(){return Or=Or||document.querySelector("base"),Or?Or.getAttribute("href"):null}function Cw(t){return new URL(t,document.baseURI).pathname}var Aw=(()=>{class t{build(){return new XMLHttpRequest}static \u0275fac=function(n){return new(n||t)};static \u0275prov=zt({token:t,factory:t.\u0275fac})}return t})(),Ks=new Ct(""),Sp=(()=>{class t{_zone;_plugins;_eventNameToPlugin=new Map;constructor(n,r){this._zone=r,n.forEach(i=>{i.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,r,i,o){return this._findPluginFor(r).addEventListener(n,r,i,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 _t(5101,!1);return this._eventNameToPlugin.set(n,r),r}static \u0275fac=function(n){return new(n||t)(xt(Ks),xt(le))};static \u0275prov=zt({token:t,factory:t.\u0275fac})}return t})(),Ip=class{_doc;constructor(t){this._doc=t}manager},Ui="ng-app-id";function rc(t){for(let e of t)e.remove()}function ic(t,e){let n=e.createElement("style");return n.textContent=t,n}function Rw(t,e,n,r){let i=t.head?.querySelectorAll(`style[${Ui}="${e}"],link[${Ui}="${e}"]`);if(i)for(let o of i)o.removeAttribute(Ui),o instanceof HTMLLinkElement?r.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&n.set(o.textContent,{usage:0,elements:[o]})}function Qs(t,e){let n=e.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",t),n}var Np=(()=>{class t{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;isServer;constructor(n,r,i,o={}){this.doc=n,this.appId=r,this.nonce=i,this.isServer=wp(o),Rw(n,r,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,r){for(let i of n)this.addUsage(i,this.inline,ic);r?.forEach(i=>this.addUsage(i,this.external,Qs))}removeStyles(n,r){for(let i of n)this.removeUsage(i,this.inline);r?.forEach(i=>this.removeUsage(i,this.external))}addUsage(n,r,i){let o=r.get(n);o?o.usage++:r.set(n,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,i(n,this.doc)))})}removeUsage(n,r){let i=r.get(n);i&&(i.usage--,i.usage<=0&&(rc(i.elements),r.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])rc(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[r,{elements:i}]of this.inline)i.push(this.addElement(n,ic(r,this.doc)));for(let[r,{elements:i}]of this.external)i.push(this.addElement(n,Qs(r,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,r){return this.nonce&&r.setAttribute("nonce",this.nonce),this.isServer&&r.setAttribute(Ui,this.appId),n.appendChild(r)}static \u0275fac=function(n){return new(n||t)(xt(fn),xt(ud),xt(cd,8),xt(eu))};static \u0275prov=zt({token:t,factory:t.\u0275fac})}return t})(),os={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/Math/MathML"},Cu=/%COMP%/g,xp="%COMP%",kw=`_nghost-${xp}`,Dw=`_ngcontent-${xp}`,Lw=!0,Mw=new Ct("",{providedIn:"root",factory:()=>Lw});function Pw(t){return Dw.replace(Cu,t)}function jw(t){return kw.replace(Cu,t)}function Op(t,e){return e.map(n=>n.replace(Cu,t))}var oc=(()=>{class t{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(n,r,i,o,s,a,u,f=null,h=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=i,this.removeStylesOnCompDestroy=o,this.doc=s,this.platformId=a,this.ngZone=u,this.nonce=f,this.tracingService=h,this.platformIsServer=wp(a),this.defaultRenderer=new Au(n,s,u,this.platformIsServer,this.tracingService)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===Fe.ShadowDom&&(r=Dt(k({},r),{encapsulation:Fe.Emulated}));let i=this.getOrCreateRenderer(n,r);return i instanceof ac?i.applyToHost(n):i instanceof Xs&&i.applyStyles(),i}getOrCreateRenderer(n,r){let i=this.rendererByCompId,o=i.get(r.id);if(!o){let s=this.doc,a=this.ngZone,u=this.eventManager,f=this.sharedStylesHost,h=this.removeStylesOnCompDestroy,d=this.platformIsServer,b=this.tracingService;switch(r.encapsulation){case Fe.Emulated:o=new ac(u,f,r,this.appId,h,s,a,d,b);break;case Fe.ShadowDom:return new Uw(u,f,n,r,s,a,this.nonce,d,b);default:o=new Xs(u,f,r,h,s,a,d,b);break}i.set(r.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(n){this.rendererByCompId.delete(n)}static \u0275fac=function(n){return new(n||t)(xt(Sp),xt(Np),xt(ud),xt(Mw),xt(fn),xt(eu),xt(le),xt(cd),xt(nu,8))};static \u0275prov=zt({token:t,factory:t.\u0275fac})}return t})(),Au=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(t,e,n,r,i){this.eventManager=t,this.doc=e,this.ngZone=n,this.platformIsServer=r,this.tracingService=i}destroy(){}destroyNode=null;createElement(t,e){return e?this.doc.createElementNS(os[e]||e,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,e){(sc(t)?t.content:t).appendChild(e)}insertBefore(t,e,n){t&&(sc(t)?t.content:t).insertBefore(e,n)}removeChild(t,e){e.remove()}selectRootElement(t,e){let n=typeof t=="string"?this.doc.querySelector(t):t;if(!n)throw new _t(-5104,!1);return e||(n.textContent=""),n}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,n,r){if(r){e=r+":"+e;let i=os[r];i?t.setAttributeNS(i,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){let r=os[n];r?t.removeAttributeNS(r,e):t.removeAttribute(`${n}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,n,r){r&(En.DashCase|En.Important)?t.style.setProperty(e,n,r&En.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&En.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,n){t!=null&&(t[e]=n)}setValue(t,e){t.nodeValue=e}listen(t,e,n,r){if(typeof t=="string"&&(t=_p().getGlobalEventTarget(this.doc,t),!t))throw new Error(`Unsupported event target ${t} for event ${e}`);let i=this.decoratePreventDefault(n);return this.tracingService!==null&&this.tracingService.wrapEventListener&&(i=this.tracingService.wrapEventListener(t,e,i)),this.eventManager.addEventListener(t,e,i,r)}decoratePreventDefault(t){return e=>{if(e==="__ngUnwrap__")return t;(this.platformIsServer?this.ngZone.runGuarded(()=>t(e)):t(e))===!1&&e.preventDefault()}}};function sc(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var Uw=class extends Au{sharedStylesHost;hostEl;shadowRoot;constructor(t,e,n,r,i,o,s,a,u){super(t,i,o,a,u),this.sharedStylesHost=e,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let f=r.styles;f=Op(r.id,f);for(let d of f){let b=document.createElement("style");s&&b.setAttribute("nonce",s),b.textContent=d,this.shadowRoot.appendChild(b)}let h=r.getExternalStyles?.();if(h)for(let d of h){let b=Qs(d,i);s&&b.setAttribute("nonce",s),this.shadowRoot.appendChild(b)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,e){return super.appendChild(this.nodeOrShadowRoot(t),e)}insertBefore(t,e,n){return super.insertBefore(this.nodeOrShadowRoot(t),e,n)}removeChild(t,e){return super.removeChild(null,e)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Xs=class extends Au{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(t,e,n,r,i,o,s,a,u){super(t,i,o,s,a),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=r;let f=n.styles;this.styles=u?Op(u,f):f,this.styleUrls=n.getExternalStyles?.(u)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},ac=class extends Xs{contentAttr;hostAttr;constructor(t,e,n,r,i,o,s,a,u){let f=r+"-"+n.id;super(t,e,n,i,o,s,a,u,f),this.contentAttr=Pw(f),this.hostAttr=jw(f)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,e){let n=super.createElement(t,e);return super.setAttribute(n,this.contentAttr,""),n}},Bw=(()=>{class t extends Ip{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,i,o){return n.addEventListener(r,i,o),()=>this.removeEventListener(n,r,i,o)}removeEventListener(n,r,i,o){return n.removeEventListener(r,i,o)}static \u0275fac=function(n){return new(n||t)(xt(fn))};static \u0275prov=zt({token:t,factory:t.\u0275fac})}return t})(),uc=["alt","control","meta","shift"],Vw={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Fw={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},$w=(()=>{class t extends Ip{constructor(n){super(n)}supports(n){return t.parseEventName(n)!=null}addEventListener(n,r,i,o){let s=t.parseEventName(r),a=t.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>_p().onAndCancel(n,s.domEventName,a,o))}static parseEventName(n){let r=n.toLowerCase().split("."),i=r.shift();if(r.length===0||!(i==="keydown"||i==="keyup"))return null;let o=t._normalizeKey(r.pop()),s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),uc.forEach(f=>{let h=r.indexOf(f);h>-1&&(r.splice(h,1),s+=f+".")}),s+=o,r.length!=0||o.length===0)return null;let u={};return u.domEventName=i,u.fullKey=s,u}static matchEventFullKeyCode(n,r){let i=Vw[n.key]||n.key,o="";return r.indexOf("code.")>-1&&(i=n.code,o="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),uc.forEach(s=>{if(s!==i){let a=Fw[s];a(n)&&(o+=s+".")}}),o+=i,o===r)}static eventCallback(n,r,i){return o=>{t.matchEventFullKeyCode(o,n)&&i.runGuarded(()=>r(o))}}static _normalizeKey(n){return n==="esc"?"escape":n}static \u0275fac=function(n){return new(n||t)(xt(fn))};static \u0275prov=zt({token:t,factory:t.\u0275fac})}return t})();function Hw(t){return sw(zw(t))}function zw(t){return{appProviders:[...Yw,...t?.providers??[]],platformProviders:Zw}}function qw(){Ow.makeCurrent()}function Gw(){return new ei}function Ww(){return l0(document),document}var Zw=[{provide:eu,useValue:Sw},{provide:ld,useValue:qw,multi:!0},{provide:fn,useFactory:Ww,deps:[]}],Yw=[{provide:ja,useValue:"root"},{provide:ei,useFactory:Gw,deps:[]},{provide:Ks,useClass:Bw,multi:!0,deps:[fn]},{provide:Ks,useClass:$w,multi:!0,deps:[fn]},oc,Np,Sp,{provide:wu,useExisting:oc},{provide:Nw,useClass:Aw,deps:[]},[]],Tp=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=zt({token:t,factory:function(n){let r=null;return n?r=new(n||t):r=xt(Jw),r},providedIn:"root"})}return t})(),Jw=(()=>{class t extends Tp{_doc;constructor(n){super(),this._doc=n}sanitize(n,r){if(r==null)return null;switch(n){case Ve.NONE:return r;case Ve.HTML:return bn(r,"HTML")?Re(r):wd(this._doc,String(r)).toString();case Ve.STYLE:return bn(r,"Style")?Re(r):r;case Ve.SCRIPT:if(bn(r,"Script"))return Re(r);throw new _t(5200,!1);case Ve.URL:return bn(r,"URL")?Re(r):ru(String(r));case Ve.RESOURCE_URL:if(bn(r,"ResourceURL"))return Re(r);throw new _t(5201,!1);default:throw new _t(5202,!1)}}bypassSecurityTrustHtml(n){return I0(n)}bypassSecurityTrustStyle(n){return N0(n)}bypassSecurityTrustScript(n){return x0(n)}bypassSecurityTrustUrl(n){return O0(n)}bypassSecurityTrustResourceUrl(n){return T0(n)}static \u0275fac=function(n){return new(n||t)(xt(fn))};static \u0275prov=zt({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),ta={apiURL:"http://localhost:3003",debug:!0,mode:"local",styleURL:"http://localhost:8002/styles.css",widgetURL:"http://localhost:8002/main.js"},pe=Zr(ay()),Kw="9.4.1",Rr=class ea{static SDK_VERSION=Kw;static SDK_VERSION_CODE;static SDK="WEB";static LOG_PREFIX="CooeeSDK";static COOEE="cooee";static SESSION_STORAGE_SCROLL_ID="sleid";static IDLE_TIME_IN_SECONDS=30*60;static IN_APP_WRAPPER_NAME="cooee-wrapper";static IN_APP_CONTAINER_NAME="cooee-container";static IN_APP_DEFAULT_PADDING=15;static EVENT_SCREEN_VIEW="CE Screen View";static EVENT_APP_BACKGROUND="CE App Background";static EVENT_TRIGGER_DISPLAYED="CE Trigger Displayed";static EVENT_CAMPAIGN_HOLDOUT="CE Campaign Holdout";static EVENT_CAMPAIGN_REJECTED="CE Campaign Rejected";static EVENT_CAMPAIGN_FAILED="CE Campaign Failed";static EVENT_TRIGGER_CLOSED="CE Trigger Closed";static EVENT_SCROLL="CE Scroll";static EVENT_TRIGGER_CLICKED="CE Trigger Clicked";static EVENT_FORM_SUBMITTED="CE Form Submitted";static EVENT_ADD_TO_CART="Add To Cart";static EVENT_REMOVE_FROM_CART="Remove From Cart";static EVENT_VIEW_ITEM="View Item";static EVENT_VIEW_CART="View Cart";static EVENT_VIEW_COLLECTION="View Collection";static EVENT_BUY_NOW_CLICKED="Buy Now Clicked";static EVENT_CHECKOUT_STARTED="Checkout Started";static EVENT_REVIEW_CLICKED="Review Clicked";static EVENT_ITEM_THUMBNAIL_CLICKED="Item Thumbnail Clicked";static JS_LOAD_WHITELIST_EVENTS=[this.EVENT_VIEW_ITEM,this.EVENT_VIEW_CART,this.EVENT_VIEW_COLLECTION];static HASH_INITIATE_CHECKOUT="initiate-checkout";static HASH_OPEN_CART_DRAWER="open-cart-drawer";static CTA_EVENT="letscooee:outbound:cta";static ADD_BUNDLE_CTA_INBOUND_EVENT="letscooee:inbound:cta:add-bundle";static CTA_OPEN_CART_EVENT="letscooee:outbound:open-cart";static CTA_AFTER_REFRESH_UI="letscooee:outbound:refresh-ui";static POPUP_ACTIVITY_EVENT="letscooee:outbound:popup-activities";static THIRD_PARTY_CHECKOUT_EVENT="letscooee:outbound:third-party-initiate-checkout";static CAMPAIGN_DISPLAYED_ACTIVITY="DISPLAYED";static CAMPAIGN_CLICKED_ACTIVITY="CLICKED";static CAMPAIGN_CLOSED_ACTIVITY="CLOSED";static BLACKLISTED_PAGE_NAMES=["collection","product","cart"];static API_CALL_MAX_ATTEMPTS=3;static API_CALL_RETRY_DELAY=1e3;static PLACEHOLDER_IMAGE="https://cdn.global.letscooee.com/images/placeholders/product.png";static CART_UPDATE_BROADCAST="CART_UPDATE";static GRAPHQL_VERSION="2024-10";static GRAPHQL_API_PATH=`/api/${this.GRAPHQL_VERSION}/graphql.json`;static SHADOW_SPLITTER=":shadow";static CAMPAIGN_ATTRIBUTE="_letscooee_campaign";static CONTENT_ATTRIBUTE="_letscooee_content";static VIA="_via";static PAYMENT_MODAL_DETAILS=[{identifier:"#flo-checkout-wrapper",gateway:"Shopflow"},{identifier:"#fastrr-main-container",gateway:"Shiprocket"},{identifier:"#gokwik-modal-wrapper",gateway:"Gokwik"},{identifier:"#zecpe",gateway:"Ecom 360"}];static{let e=ea.SDK_VERSION.split(".").map(n=>n.padStart(2,"0")).join("");ea.SDK_VERSION_CODE=parseInt(e,10)}},be=class{static log(...t){pe.default.info(...t)}static debug(...t){pe.default.debug(...t)}static error(...t){pe.default.error(...t)}static warn(...t){pe.default.warn(...t)}static info(...t){pe.default.info(...t)}static trace(...t){pe.default.trace(...t)}static configure(t=Rr.LOG_PREFIX){pe.default.useDefaults({formatter:function(n){n.unshift(`${t} (v${Rr.SDK_VERSION}):`)}});let e=this.getDebugParam();(e==="1"||e==="on")&&(localStorage.cooeeLogLevel="TRACE"),localStorage.cooeeLogLevel?pe.default.setLevel(pe.default[localStorage.cooeeLogLevel]):pe.default.setLevel(ta.debug?pe.default.TRACE:pe.default.OFF)}static getDebugParam(){return new URL(location.href).searchParams?.get("cooee-debug")}static logBrand(){let t=`
8
8
  display: inline-block;
9
9
  font-size: 14px;
10
10
  background: linear-gradient(90deg, #d52dc8 25%, #2179e2 82%);